CN112001707A - Business workflow generation method and system based on business data - Google Patents

Business workflow generation method and system based on business data Download PDF

Info

Publication number
CN112001707A
CN112001707A CN202010908021.9A CN202010908021A CN112001707A CN 112001707 A CN112001707 A CN 112001707A CN 202010908021 A CN202010908021 A CN 202010908021A CN 112001707 A CN112001707 A CN 112001707A
Authority
CN
China
Prior art keywords
working node
node
service
identifier
workflow
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010908021.9A
Other languages
Chinese (zh)
Inventor
高雪
凌剑
陈杰
陆小莹
鄢伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Pension Insurance Corp
Original Assignee
Ping An Pension Insurance Corp
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 Ping An Pension Insurance Corp filed Critical Ping An Pension Insurance Corp
Priority to CN202010908021.9A priority Critical patent/CN112001707A/en
Publication of CN112001707A publication Critical patent/CN112001707A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance

Abstract

The embodiment of the invention provides a service workflow generation method based on service data, which is applied to a micro service system, wherein the micro service system comprises a plurality of micro service subsystems, different micro service subsystems correspond to different services, and the method comprises the following steps: receiving a service workflow configuration request, and acquiring an original workflow, wherein the original workflow comprises a plurality of first working nodes; receiving service data, and generating an adjustment request for the original workflow according to the service data, wherein the adjustment request carries a working node state identifier, a working node name identifier and a working node position identifier; and adjusting the original service workflow according to the working node state identifier, the working node name identifier and the working node position identifier to generate a service workflow corresponding to the service data. And generating a corresponding business processing workflow according to the business data, thereby improving the expandability and maintainability of the workflow.

Description

Business workflow generation method and system based on business data
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a method, a system, equipment and a medium for generating a business workflow based on business data.
Background
With the development of internet technology, an online insurance platform (also called as a third-party network insurance platform) built by interfacing with a traditional insurance company is also developed. The online insurance platform is widely applied due to the advantages of high efficiency, convenience and the like. However, the existing online insurance application processes are all fixed processes, when a new processing process needs to be added to the original online insurance application process, only codes can be rewritten or the new processing process can be prevented from being added to the original online process through hard coding, or an insurance company cooperates with other mechanisms, for example, when the insurance company cooperates with a bank, because the existing insurance is butted with numerous cooperation mechanisms, different cooperation mechanisms have different work flow requirements; in order to make the business workflow meet the workflow requirements of each cooperation mechanism, the insurance company needs to develop the business workflow for each cooperation mechanism; the process nodes for realizing the same work flow among different cooperation mechanisms have the phenomena of repeated development and repeated operation, and have poor expandability and maintainability.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, a system, a computer device, and a computer-readable storage medium for generating a service workflow based on service data, so as to solve the problems of poor expandability and maintainability.
The embodiment of the invention solves the technical problems through the following technical scheme:
a business workflow generating method based on business data comprises the following steps:
receiving a service workflow configuration request, and acquiring an original workflow, wherein the original workflow comprises a plurality of first working nodes;
receiving service data, and generating an adjustment request for the original workflow according to the service data, wherein the adjustment request carries a working node state identifier, a working node name identifier and a working node position identifier;
and adjusting the original service workflow according to the working node state identifier, the working node name identifier and the working node position identifier to generate a service workflow corresponding to the service data, wherein the service workflow comprises a plurality of working nodes, the working nodes comprise a first working node and a second working node, and each of the first working node and the second working node corresponds to a micro-service subsystem.
Further, the different service data correspond to different service data identifiers, the receiving service processing data and generating an adjustment request for the service workflow according to the service data, where the adjustment request carries a working node state identifier, a working node name identifier, and a working node position identifier, and includes:
acquiring a service data task flow corresponding to the service data identifier according to the service data identifier, wherein the service data task flow comprises a plurality of task nodes, and each task node is provided with a corresponding working node;
determining a working node state identifier, a working node name identifier and a working node position identifier according to the task node;
and generating the adjustment request according to the working node state identifier, the working node name identifier and the working node position identifier.
Further, the determining, according to the task node, a working node state identifier, a working node name identifier, and a working node location identifier includes:
when the sequence of the first working node is consistent with that of the task node, judging whether the task node has a corresponding first working node;
when the task node does not have a corresponding first working node, acquiring a second working node corresponding to the task node from a working node database according to the task node;
and determining the state identifier of the second working node, the name identifier of the second working node and the position identifier of the second working node according to the second working node and the task node.
Further, the determining, according to the task node, a working node state identifier, a working node name identifier, and a working node location identifier includes:
when the sequence of the first working node is consistent with that of the task node, judging whether the first working node has a corresponding task node;
when the first working node does not have the corresponding task node, determining the first working node without the corresponding task node as a redundant first working node;
and determining the redundant first working node state identification, the redundant first working node name identification and the redundant first working node position identification according to the redundant first working node and the task node.
Further, determining the working node state identifier, the working node name identifier, and the working node location identifier according to the task node further includes:
and when the sequence of the first working node is inconsistent with that of the task node, determining the state identifier of the first working node, the name identifier of the first working node and the position identifier of the first working node by taking the sequence of the task node as a standard.
Further, after the original service workflow is adjusted according to the working node state identifier, the working node name identifier, and the working node location identifier, and a service workflow corresponding to the service data is generated, the method further includes:
and receiving a task processing upper limit configuration request for the working node in the service workflow, and configuring the task processing upper limit of the working node in the service workflow.
Further, after the original service workflow is adjusted according to the working node state identifier, the working node name identifier, and the working node location identifier, and a service workflow corresponding to the service data is generated, the method further includes:
and displaying the business workflow on a work interface in a topological graph mode so as to display the interaction between the micro service subsystems.
In order to achieve the above object, an embodiment of the present invention further provides a system for generating a service workflow based on service data, including:
an original workflow acquisition module: receiving a service workflow configuration request, and acquiring an original workflow, wherein the original workflow comprises a plurality of first working nodes;
an adjustment request generation module, configured to receive service processing data, and generate an adjustment request for the original workflow according to the service data, where the adjustment request carries a working node state identifier, a working node name identifier, and a working node position identifier;
and the service workflow generating module is used for adjusting the original service workflow according to the working node state identifier, the working node name identifier and the working node position identifier to generate a service workflow corresponding to the service data, wherein the service workflow comprises a plurality of working nodes, the plurality of working nodes comprise a first working node and a second working node, and each of the first working node and the second working node corresponds to a micro-service subsystem.
In order to achieve the above object, an embodiment of the present invention further provides a computer device, where the computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor, when executing the computer program, implements the steps of the business workflow generation method based on business data as described above.
In order to achieve the above object, an embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, where the computer program is executable by at least one processor, so as to cause the at least one processor to execute the steps of the business workflow generation method based on business data as described above.
The business workflow generation method, the business workflow generation system, the computer equipment and the computer readable storage medium based on the business data provided by the embodiment of the invention generate the corresponding business processing workflow according to the business data, thereby improving the expandability and maintainability of the workflow.
The invention is described in detail below with reference to the drawings and specific examples, but the invention is not limited thereto.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for generating a business workflow based on business data according to an embodiment of the present invention;
fig. 2 is a flowchart of a step of receiving service processing data and generating an adjustment request for the service workflow according to the service data, where the adjustment request carries a working node status identifier, a working node name identifier, and a working node location identifier;
fig. 3 is a flowchart illustrating steps of determining an implementation manner of a working node status identifier, a working node name identifier, and a working node location identifier according to the task node according to the first embodiment of the present invention;
fig. 4 is a flowchart illustrating steps of a method for determining another implementation manner of the status identifier, the name identifier, and the location identifier of the work node according to the task node according to the first embodiment of the present invention;
fig. 5 is a schematic diagram of a program module of a business workflow generation system based on business data according to a second embodiment of the present invention;
fig. 6 is a schematic hardware structure diagram of a computer device according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Technical solutions between various embodiments may be combined with each other, but must be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
Example one
Referring to fig. 1, a flowchart illustrating steps of a business workflow generation method based on business data according to an embodiment of the present invention is shown. It is to be understood that the flow charts in the embodiments of the present method are not intended to limit the order in which the steps are performed. The following description is given by taking a computer device as an execution subject, specifically as follows:
as shown in fig. 1, the method for generating a service workflow based on service data may be applied to a micro service system, where the micro service system includes a plurality of micro service subsystems, and different micro service subsystems correspond to different services, and the method for generating a service workflow based on service data includes the following steps:
step S100: receiving a business workflow configuration request, and acquiring an original workflow, wherein the original workflow comprises a plurality of first working nodes.
Specifically, a workflow is a flow for processing data, and the workflow includes a plurality of work nodes. In an exemplary embodiment, an original workflow is pre-written and stored on a server, the original workflow including a plurality of first worker nodes.
Step S200: and receiving service processing data, and generating an adjustment request for the original workflow according to the service data, wherein the adjustment request carries a working node state identifier, a working node name identifier and a working node position identifier.
Specifically, different business data have different processing flows and different corresponding workflows, and therefore, a workflow corresponding to the business processing data needs to be generated according to the business processing data. In an exemplary embodiment, the adjustment is performed on the basis of the original workflow, and a service workflow corresponding to the service data is obtained. And generating an original workflow adjusting request according to the service data, and adjusting the original workflow according to the adjusting request. The working node state identifier refers to the current state of the working node, including opening and closing, the working node name identifier refers to the name of the working node, for example, when the service data of the insurance service is processed, the node name identifier may be an "underwriting working node" or an "underwriting working node", and the working position identifier refers to the sequence or position of the working node in the workflow, for example, in the insurance service, the service data task flow corresponding to the application process is "acquiring application information-underwriting", and the node position identifier of the working node corresponding to "acquiring application information" is "1".
In an exemplary embodiment, different service data correspond to different service data identifiers, as shown in fig. 2, step S200 includes:
step S201: and acquiring a service data task flow corresponding to the service data identifier according to the service data identifier, wherein the service data task flow comprises a plurality of task nodes, and each task node is provided with a corresponding working node.
Specifically, the service data includes various types, for example, in the financial industry, the service data includes investment service data, insurance service data, trust service data, and the like, and each service data is given a different service data identifier in advance and stored. The service data task flow refers to processing steps for processing a certain type of service when processing certain type of service data, and each processing step corresponds to a task node. In an exemplary embodiment, the business data task stream exists in the form of a configuration file by which the server identifies the task nodes.
Step S202: and determining a working node state identifier, a working node name identifier and a working node position identifier according to the task node.
In an exemplary embodiment, as shown in fig. 3, step S202 may further include:
step S2021A: when the sequence of the first working node is consistent with that of the task node, judging whether the task node has a corresponding first working node;
step S2022A: when the task node does not have a corresponding first working node, acquiring a second working node corresponding to the task node from a working node database according to the task node;
step S2023A: and determining the state identifier of the second working node, the name identifier of the second working node and the position identifier of the second working node according to the second working node and the task node.
Specifically, when the first working node in the original workflow is consistent with the task node sequence corresponding to the service data, namely, judging whether each task node has a corresponding working node when the existing first working node is the same as the task node corresponding to the service data, when the first worker node in the original workflow does not have a first worker node corresponding to a task node, it means that the workflow lacks a data processing step corresponding to the task node, and therefore, the missing work node needs to be added to the original workflow, in an exemplary embodiment, the second worker node is retrieved from the worker node database by the task node identification, and identifying the obtained working state of the second working node as starting, identifying the node name of the second working node as the node name of the corresponding task node, and determining the position of the second working node in the original workflow according to the task node.
In an exemplary embodiment, as shown in fig. 4, step S202 may further include:
step S2021B: when the sequence of the first working node is consistent with that of the task node, judging whether the first working node has a corresponding task node;
step S2022B: when the first working node does not have the corresponding task node, determining the first working node without the corresponding task node as a redundant first working node;
step S2023B: and determining the redundant first working node state identification, the redundant first working node name identification and the redundant first working node position identification according to the redundant first working node and the task node.
Specifically, when a first working node in an original workflow is consistent with a task node sequence corresponding to service data, that is, when the existing first working node is the same as a task node corresponding to the service data, it is determined whether each first working node has a task node corresponding thereto, and when the first working node in the original workflow does not correspond to any task node, it indicates that the workflow has a corresponding data processing step corresponding to the first working node, and therefore, the redundant first working node needs to be deleted.
In an exemplary embodiment, step S202 may further include:
and when the sequence of the first working node is inconsistent with that of the task node, determining the redundant first working node state identification, the redundant first working node name identification and the redundant first working node position identification by taking the sequence of the task node as a standard.
Step S203: and generating the adjustment request according to the working node state identifier, the working node name identifier and the working node position identifier.
Specifically, after the working node state identifier, the working node name identifier, and the working node position identifier are obtained, the working node state identifier, the working node name identifier, and the working node position identifier may be filled in a pre-written and stored adjustment request template to generate an adjustment request.
Step S300: and adjusting the original service workflow according to the working node state identifier, the working node name identifier and the working node position identifier to generate a service workflow corresponding to the service data, wherein the service workflow comprises a plurality of working nodes, the working nodes comprise a first working node and a second working node, and each of the first working node and the second working node corresponds to a micro-service subsystem.
Specifically, after the adjustment request is generated, the server receives the adjustment request, and adjusts the original workflow, for example, inserting a second work node into the original workflow, changing a state of a first work node in the original workflow, for example, turning on or off the first work node, and adjusting a sequence of the first work node in the original workflow.
In an exemplary embodiment, after the adjusting the original service workflow according to the adjustment request to generate a service workflow corresponding to the service data, the method further includes:
and receiving a task processing upper limit configuration request for the working node in the service workflow, and configuring the task processing upper limit of the working node in the service workflow.
Specifically, the task processing upper limit of the working node refers to the maximum number of requests that a certain node can complete, and dynamic capacity expansion can be performed according to client data and a real-time scene, for example, the number of tasks of a certain working node service configuration is 500, when a service scene is special, if sales promotion activities exist, instantaneous concurrency is large, at this time, the node tasks of the working node are improved to be on-line, dynamic capacity expansion is supported, and blocking is avoided.
In an exemplary embodiment, after the adjusting the original service workflow according to the adjustment request to generate a service workflow corresponding to the service data, the method further includes:
and displaying the business workflow on a work interface in a topological graph mode so as to display the interaction between the micro service subsystems.
Specifically, the generated workflow is displayed on the work interface in a topological graph mode, so that a developer can check the generated workflow and adjust the task processing upper limit of the work node on the work interface.
The method comprises the steps of obtaining an original workflow by receiving a business workflow configuration request, wherein the original workflow comprises a plurality of first working nodes; receiving service data, and generating an adjustment request for the original workflow according to the service data, wherein the adjustment request carries a working node state identifier, a working node name identifier and a working node position identifier; and adjusting the original service workflow according to the working node state identifier, the working node name identifier and the working node position identifier to generate a service workflow corresponding to the service data, wherein the service workflow comprises a plurality of working nodes, the working nodes comprise a first working node and a second working node, and each of the first working node and the second working node corresponds to a micro-service subsystem. Generating the service workflow according to the service, thereby reducing the difficulty of the workflow, improving the processing efficiency of service data and improving the expandability and maintainability of the service workflow; different working nodes are set for different micro-service subsystems, services provided by the micro-service subsystems are set as independent working nodes in an interactive network, and the nodes are displayed on an interface, so that interaction among the micro-service subsystems is more visual, and development is more concise.
Example two
With continued reference to fig. 5, a schematic diagram of program modules of the business data-based business workflow generation system of the present invention is shown. In this embodiment, the business data-based business workflow generating system 20 may include or be divided into one or more program modules, and the one or more program modules are stored in a storage medium and executed by one or more processors to implement the present invention and implement the business data-based business workflow generating method described above. The program module referred to in the embodiments of the present invention refers to a series of computer program instruction segments capable of performing specific functions, and is more suitable for describing the execution process of the business workflow generating system 20 based on business data in a storage medium than the program itself. The following description will specifically describe the functions of the program modules of the present embodiment:
original workflow acquisition module 200: receiving a business workflow configuration request, and acquiring an original workflow, wherein the original workflow comprises a plurality of first working nodes.
An adjustment request generating module 202, configured to receive service data, and generate an adjustment request for the original workflow according to the service data, where the adjustment request carries a working node state identifier, a working node name identifier, and a working node position identifier.
Further, the adjustment request generation module 202 is further configured to:
acquiring a service data task flow corresponding to the service data identifier according to the service data identifier, wherein the service data task flow comprises a plurality of task nodes, and each task node is provided with a corresponding working node;
determining a working node state identifier, a working node name identifier and a working node position identifier according to the task node;
and generating the adjustment request according to the working node state identifier, the working node name identifier and the working node position identifier.
Further, the adjustment request generation module 202 is further configured to:
when the sequence of the first working node is consistent with that of the task node, judging whether the task node has a corresponding first working node;
when the task node does not have a corresponding first working node, acquiring a second working node corresponding to the task node from a working node database according to the task node;
and determining the state identifier of the second working node, the name identifier of the second working node and the position identifier of the second working node according to the second working node and the task node.
Further, the adjustment request generation module 202 is further configured to:
when the sequence of the first working node is consistent with that of the task node, judging whether the first working node has a corresponding task node;
when the first working node does not have the corresponding task node, determining the first working node without the corresponding task node as a redundant first working node;
and determining the redundant first working node state identification, the redundant first working node name identification and the redundant first working node position identification according to the redundant first working node and the task node.
Further, the adjustment request generation module 202 is further configured to:
and when the sequence of the first working node is inconsistent with that of the task node, determining the state identifier of the first working node, the name identifier of the first working node and the position identifier of the first working node by taking the sequence of the task node as a standard.
A service workflow generating module 204, configured to adjust the original service workflow according to the working node state identifier, the working node name identifier, and the working node position identifier, and generate a service workflow corresponding to the service data, where the service workflow includes a plurality of working nodes, the plurality of working nodes include the first working node and the second working node, and each of the first working node and the second working node corresponds to a micro-service subsystem.
Further, the business workflow generating module 204 is further configured to:
and receiving a task processing upper limit configuration request for the working node in the service workflow, and configuring the task processing upper limit of the working node in the service workflow.
Further, the business workflow generating module 204 is further configured to:
and displaying the business workflow on a work interface in a topological graph mode so as to display the interaction between the micro service subsystems.
EXAMPLE III
Fig. 6 is a schematic diagram of a hardware architecture of a computer device according to a second embodiment of the present invention. In the present embodiment, the computer device 2 is a device capable of automatically performing numerical calculation and/or information processing in accordance with a preset or stored instruction. The computer device 2 may be a rack server, a blade server, a tower server or a rack server (including an independent server or a server cluster composed of a plurality of servers), and the like. As shown in fig. 6, the computer device 2 includes, but is not limited to, at least a memory 21, a processor 22, a network interface 23, and a business data-based business workflow generating system 20, which are communicatively connected to each other through a system bus. Wherein:
in this embodiment, the memory 21 includes at least one type of computer-readable storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the storage 21 may be an internal storage unit of the computer device 2, such as a hard disk or a memory of the computer device 2. In other embodiments, the memory 21 may also be an external storage device of the computer device 2, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like provided on the computer device 2. Of course, the memory 21 may also comprise both internal and external memory units of the computer device 2. In this embodiment, the memory 21 is generally used for storing an operating system installed in the computer device 2 and various types of application software, such as the program codes of the business data-based business workflow generating system 20 of the above-mentioned embodiment. Further, the memory 21 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 22 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 22 is typically used to control the overall operation of the computer device 2. In this embodiment, the processor 22 is configured to run the program code stored in the memory 21 or process data, for example, run the business workflow generation system 20 based on business data, so as to implement the business workflow generation method based on business data according to the above embodiment.
The network interface 23 may comprise a wireless network interface or a wired network interface, and the network interface 23 is generally used for establishing communication connection between the computer device 2 and other electronic apparatuses. For example, the network interface 23 is used to connect the computer device 2 to an external terminal through a network, establish a data transmission channel and a communication connection between the computer device 2 and the external terminal, and the like. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth (Bluetooth), Wi-Fi, and the like.
It is noted that fig. 6 only shows the computer device 2 with components 20-23, but it is to be understood that not all shown components are required to be implemented, and that more or less components may be implemented instead.
In this embodiment, the business data-based business workflow generating system 20 stored in the memory 21 can be further divided into one or more program modules, and the one or more program modules are stored in the memory 21 and executed by one or more processors (in this embodiment, the processor 22) to complete the present invention.
For example, fig. 5 is a schematic diagram of program modules of a second embodiment implementing the business data-based business workflow generation system 20, in this embodiment, the business data-based business workflow generation system 20 may be divided into an original workflow acquisition module 200, an adjustment request generation module 202, and a business workflow generation module 204. The program module referred to in the present invention refers to a series of computer program instruction segments capable of performing specific functions, and is more suitable than a program for describing the execution process of the business workflow generation system 20 based on business data in the computer device 2. The specific functions of the program module original workflow obtaining module 200 and the service workflow generating module 204 have been described in detail in embodiment two, and are not described herein again.
Example four
The present embodiment also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc., on which a computer program is stored, which when executed by a processor implements corresponding functions. The computer-readable storage medium of the present embodiment is used for storing the business workflow generation system 20 based on business data, and when being executed by a processor, the business workflow generation method based on business data of the above-mentioned embodiment is implemented.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for generating business workflow based on business data is characterized in that the method is applied to a micro-service system, the micro-service system comprises a plurality of micro-service subsystems, different micro-service subsystems correspond to different services, and the method comprises the following steps:
receiving a service workflow configuration request, and acquiring an original workflow, wherein the original workflow comprises a plurality of first working nodes;
receiving service data, and generating an adjustment request for the original workflow according to the service data, wherein the adjustment request carries a working node state identifier, a working node name identifier and a working node position identifier;
and adjusting the original service workflow according to the working node state identifier, the working node name identifier and the working node position identifier to generate a service workflow corresponding to the service data, wherein the service workflow comprises a plurality of working nodes, the working nodes comprise a first working node and a second working node, and each of the first working node and the second working node corresponds to a micro-service subsystem.
2. The method according to claim 1, wherein the different service data correspond to different service data identifiers, the receiving service processing data generates an adjustment request for the service workflow according to the service data, and the adjustment request carries a working node status identifier, a working node name identifier, and a working node location identifier, and includes:
acquiring a service data task flow corresponding to the service data identifier according to the service data identifier, wherein the service data task flow comprises a plurality of task nodes, and each task node is provided with a corresponding working node;
determining a working node state identifier, a working node name identifier and a working node position identifier according to the task node;
and generating the adjustment request according to the working node state identifier, the working node name identifier and the working node position identifier.
3. The method for generating a service workflow based on service data according to claim 2, wherein the determining a working node status identifier, a working node name identifier and a working node location identifier according to the task node comprises:
when the sequence of the first working node is consistent with that of the task node, judging whether the task node has a corresponding first working node;
when the task node does not have a corresponding first working node, acquiring a second working node corresponding to the task node from a working node database according to the task node;
and determining the state identifier of the second working node, the name identifier of the second working node and the position identifier of the second working node according to the second working node and the task node.
4. The method of claim 3, wherein determining the working node status identifier, the working node name identifier, and the working node location identifier according to the task node comprises:
when the sequence of the first working node is consistent with that of the task node, judging whether the first working node has a corresponding task node;
when the first working node does not have the corresponding task node, determining the first working node without the corresponding task node as a redundant first working node;
and determining the redundant first working node state identification, the redundant first working node name identification and the redundant first working node position identification according to the redundant first working node and the task node.
5. The method for generating a service workflow based on service data according to claim 4, wherein the determining a working node status identifier, a working node name identifier and a working node location identifier according to the task node further comprises:
and when the sequence of the first working node is inconsistent with that of the task node, determining the state identifier of the first working node, the name identifier of the first working node and the position identifier of the first working node by taking the sequence of the task node as a standard.
6. The method according to claim 5, wherein the original service workflow is adjusted according to the working node status identifier, the working node name identifier, and the working node location identifier, and after the service workflow corresponding to the service data is generated, the method further comprises:
and receiving a task processing upper limit configuration request for the working node in the service workflow, and configuring the task processing upper limit of the working node in the service workflow.
7. The method according to claim 6, wherein the original service workflow is adjusted according to the working node status identifier, the working node name identifier, and the working node location identifier, and after the service workflow corresponding to the service data is generated, the method further comprises:
and displaying the business workflow on a work interface in a topological graph mode so as to display the interaction between the micro service subsystems.
8. A business workflow generation system based on business data, comprising:
an original workflow acquisition module: receiving a service workflow configuration request, and acquiring an original workflow, wherein the original workflow comprises a plurality of first working nodes;
an adjustment request generation module, configured to receive service processing data, and generate an adjustment request for the original workflow according to the service data, where the adjustment request carries a working node state identifier, a working node name identifier, and a working node position identifier;
and the service workflow generating module is used for adjusting the original service workflow according to the working node state identifier, the working node name identifier and the working node position identifier to generate a service workflow corresponding to the service data, wherein the service workflow comprises a plurality of working nodes, the plurality of working nodes comprise a first working node and a second working node, and each of the first working node and the second working node corresponds to a micro-service subsystem.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the business data based business workflow generation method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored, which computer program is executable by at least one processor to cause the at least one processor to perform the steps of the business data based business workflow generation method according to any one of claims 1 to 7.
CN202010908021.9A 2020-09-02 2020-09-02 Business workflow generation method and system based on business data Pending CN112001707A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010908021.9A CN112001707A (en) 2020-09-02 2020-09-02 Business workflow generation method and system based on business data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010908021.9A CN112001707A (en) 2020-09-02 2020-09-02 Business workflow generation method and system based on business data

Publications (1)

Publication Number Publication Date
CN112001707A true CN112001707A (en) 2020-11-27

Family

ID=73465945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010908021.9A Pending CN112001707A (en) 2020-09-02 2020-09-02 Business workflow generation method and system based on business data

Country Status (1)

Country Link
CN (1) CN112001707A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113344548A (en) * 2021-06-30 2021-09-03 深圳前海微众银行股份有限公司 Workflow generation method, device, equipment and storage medium
CN116010239A (en) * 2022-10-25 2023-04-25 汇通达网络股份有限公司 Automatic test method based on assembly line

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110245914A (en) * 2019-05-22 2019-09-17 深圳壹账通智能科技有限公司 A kind of cross-system business handling method, apparatus, computer equipment and storage medium
CN110689232A (en) * 2019-09-03 2020-01-14 深圳壹账通智能科技有限公司 Workflow configuration optimization processing method and device and computer equipment
CN110738389A (en) * 2019-09-03 2020-01-31 深圳壹账通智能科技有限公司 Workflow processing method and device, computer equipment and storage medium
CN111445206A (en) * 2020-03-26 2020-07-24 深圳壹账通智能科技有限公司 Workflow control method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110245914A (en) * 2019-05-22 2019-09-17 深圳壹账通智能科技有限公司 A kind of cross-system business handling method, apparatus, computer equipment and storage medium
CN110689232A (en) * 2019-09-03 2020-01-14 深圳壹账通智能科技有限公司 Workflow configuration optimization processing method and device and computer equipment
CN110738389A (en) * 2019-09-03 2020-01-31 深圳壹账通智能科技有限公司 Workflow processing method and device, computer equipment and storage medium
CN111445206A (en) * 2020-03-26 2020-07-24 深圳壹账通智能科技有限公司 Workflow control method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113344548A (en) * 2021-06-30 2021-09-03 深圳前海微众银行股份有限公司 Workflow generation method, device, equipment and storage medium
CN116010239A (en) * 2022-10-25 2023-04-25 汇通达网络股份有限公司 Automatic test method based on assembly line
CN116010239B (en) * 2022-10-25 2023-12-08 汇通达网络股份有限公司 Automatic test method based on assembly line

Similar Documents

Publication Publication Date Title
CN107844634B (en) Modeling method of multivariate general model platform, electronic equipment and computer readable storage medium
CN111414391A (en) Method and system for accessing multiple data sources
CN108492005B (en) Project data processing method and device, computer equipment and storage medium
CN111258900A (en) Interface test script generation method, system, equipment and storage medium
CN111722947A (en) Service calling method and system
CN110928802A (en) Test method, device, equipment and storage medium based on automatic generation of case
CN112001707A (en) Business workflow generation method and system based on business data
CN111737227A (en) Data modification method and system
CN112631911A (en) Automatic testing method and device, computer equipment and storage medium
CN112422450A (en) Computer equipment, and flow control method and device for service request
CN111241803A (en) Method and device for generating text file, computer equipment and readable storage medium
CN113094125B (en) Business process processing method, device, server and storage medium
CN112559363A (en) Test case generation method, system, equipment and medium based on full link marking
CN114841678B (en) Post data exchange method, data exchange system, server and storage medium
CN112181836A (en) Test case generation method, system, device and storage medium
CN111651494A (en) Data processing method, device, equipment and computer readable storage medium
CN116450165A (en) Method, system, terminal and storage medium for quickly building environment and deploying program
CN114443294B (en) Big data service component deployment method, system, terminal and storage medium
CN110837500A (en) Data screening method and device based on local embedded window and computer equipment
CN113467782B (en) Method, device and equipment for determining business process
CN114553859A (en) BMC configuration management method and device, electronic equipment and storage medium
CN114186976A (en) Workflow transfer method and device, computer equipment and storage medium
CN110765610B (en) PDM integration method, PDM integration device, computer equipment and storage medium
CN108566293B (en) Electronic device, zk node information notification method, and storage medium
CN114637672A (en) Automatic data testing method and device, computer equipment and storage medium

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