CN114595919A - Business process arranging method and device, computer equipment and storage medium - Google Patents

Business process arranging method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114595919A
CN114595919A CN202111623122.2A CN202111623122A CN114595919A CN 114595919 A CN114595919 A CN 114595919A CN 202111623122 A CN202111623122 A CN 202111623122A CN 114595919 A CN114595919 A CN 114595919A
Authority
CN
China
Prior art keywords
node
flow
business
configuration data
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.)
Pending
Application number
CN202111623122.2A
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.)
Nanjing Xingyun Digital Technology Co Ltd
Original Assignee
Nanjing Xingyun Digital Technology Co Ltd
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 Nanjing Xingyun Digital Technology Co Ltd filed Critical Nanjing Xingyun Digital Technology Co Ltd
Priority to CN202111623122.2A priority Critical patent/CN114595919A/en
Publication of CN114595919A publication Critical patent/CN114595919A/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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • 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/06Asset management; Financial planning or analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • General Business, Economics & Management (AREA)
  • Game Theory and Decision Science (AREA)
  • Accounting & Taxation (AREA)
  • Technology Law (AREA)
  • Educational Administration (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Stored Programmes (AREA)

Abstract

The application relates to a business process arranging method, a business process arranging device, computer equipment and a storage medium. The method comprises the following steps: providing a business process editor for a user, and acquiring a flow chart which is arranged for the business process of the software product by the user through the business process editor; generating business process configuration data corresponding to the flow chart; the flow chart comprises a plurality of flow nodes, and the business flow configuration data comprises configuration data of each flow node in the flow chart and node connection configuration data for describing the incidence relation among the flow nodes. The method and the device for arranging the business process of the software product can improve the business process arranging efficiency of the software product.

Description

Business process arranging method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technology and software engineering, and in particular, to a method and an apparatus for arranging a business process, a computer device, and a storage medium.
Background
In the financial field, the business flow of software products such as customer personal loans is complex. With the development of internet finance and the establishment of financial technology platform, a platform side can access more and more upstream and downstream business partners.
In the past, a business process is arranged for a software product in a mode of writing codes by developers, however, the mode of manually writing the codes to arrange the business process has high error rate and is inconvenient for managing and controlling the arranged business process, and the efficiency of the current business process arranging mode is lower and lower along with more and more software products accessed by a platform.
Disclosure of Invention
The present application provides a business process arrangement method, apparatus, computer device and storage medium for overcoming the above disadvantages or shortcomings.
The present application provides a business process orchestration method according to a first aspect, and in one embodiment, the method includes:
providing a business process editor for a user, and acquiring a flow chart which is arranged for the business process of the software product by the user through the business process editor;
generating business process configuration data corresponding to the flow chart; the flow chart comprises a plurality of flow nodes, and the business flow configuration data comprises configuration data of each flow node in the flow chart and node connection configuration data for describing the incidence relation among the flow nodes.
In one embodiment, the method further comprises:
and receiving the change editing operation performed by the user aiming at the specified flow chart through the business flow editor, and updating the business flow configuration data corresponding to the specified flow chart in response to the change editing operation.
In one embodiment, the method further comprises:
receiving a service request;
acquiring corresponding target business process configuration data according to an interface code carried by the business request;
and responding the service request according to the request data of the service request and the target service flow configuration data.
In one embodiment, responding to the service request according to the request data of the service request and the target service flow configuration data comprises:
taking request data of the service request as input, and taking a target interface node in the target service flow configuration data as a starting point to execute the service flow;
generating a service request result when executing to a return node in the target service flow configuration data;
and responding the service request according to the service request result.
In one embodiment, executing the business process includes the steps of:
executing the target interface node;
determining a target interface node as a target node;
checking whether the target node has an associated exit connection line;
if the target node has the associated exit connecting line, determining the target exit connecting line from all exit connecting lines associated with the target node, executing a downstream process node associated with the target exit connecting line, determining the downstream process node as the target node, and executing the step of checking whether the target node has the associated exit connecting line; the target exit connecting line refers to an exit connecting line of which the corresponding judgment expression is true;
if no relevant outlet connection line exists, the target node is a return node, and the service flow is ended.
In one embodiment, obtaining a flow chart that a user orchestrates for a business process of a software product through a business process editor comprises:
determining each flow node for constructing the flow chart according to a node selection instruction triggered by a user;
establishing an association relation among all process nodes in the flow chart according to a node association instruction triggered by a user;
and acquiring configuration data of each flow node in the flow chart according to the node configuration instruction triggered by the user.
In one embodiment, the types of the process nodes comprise an interface node, a calling node, a judging node, a script node, a sub-process node, a returning node and an abnormal node;
the script node is a predefined flow node for executing the engine script;
the calling node is a predefined flow node for initiating the calling of the downstream business service;
the judgment node is a predefined flow node for judging the logic branch;
the script node is a predefined flow node for executing the engine script;
a sub-process node is a predefined process node for performing a nested process
The return node is a predefined flow node for assembling a service message structure responding to the service request;
the exception node is a flow node which is predefined and is used for exception processing of flow branches which are not explicitly configured in the flow chart.
According to a second aspect, the present application provides a business process orchestration apparatus, which in one embodiment comprises:
the flow chart arranging module is used for providing a business flow editor for a user and obtaining a flow chart of business flow arrangement of the user for the software product through the business flow editor;
the configuration data generation module is used for generating business process configuration data corresponding to the flow chart; the flow chart comprises a plurality of flow nodes, and the business flow configuration data comprises configuration data of each flow node in the flow chart and node connection configuration data for describing the incidence relation among the flow nodes.
According to a third aspect, the present application provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of an embodiment of any of the methods described above when executing the computer program.
The present application provides according to a fourth aspect a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the embodiments of the method of any of the above.
In the embodiment of the application, a flow chart of the business process arrangement of the software product by the user through the business process editor is obtained by providing the business process editor for the user; the business process configuration data corresponding to the flow chart is generated, the business process arrangement efficiency of the software product can be improved, business type personnel can complete arrangement and modification of the business process of the software product under the condition of no support of technicians, and the production and research cost is effectively reduced. Further, compared with a traditional software development implementation mode of code packaging release, the adoption of the embodiment can reduce the working hours required by the business process change of the software product by more than 30%. In addition, the embodiment can also enable the background business process management of the online software product to be more agile and efficient, and can effectively improve the service quality and response efficiency facing the client on the whole.
Drawings
FIG. 1 is a diagram of an application environment of a business process orchestration method according to one embodiment;
FIG. 2 is a block diagram that illustrates the modular design of the process orchestration engine in one embodiment;
FIG. 3 is a flow diagram illustrating a business process orchestration method according to one embodiment;
FIG. 4 is a diagram of a standard business process layer in one embodiment;
FIG. 5 is a schematic diagram of a user-configured flowchart in one embodiment;
FIG. 6 is a flow diagram illustrating a response to a service request in one embodiment;
FIG. 7 is a schematic diagram illustrating the execution of a business process in one embodiment;
FIG. 8 is a block diagram of an apparatus for orchestrating a business process according to one embodiment;
FIG. 9 is a diagram of an internal structure of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application 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 present application and are not intended to limit the present application.
The application provides a business process arrangement method. In this embodiment, the business process arrangement method may be applied to the application environment shown in fig. 1, where 10 is a user side, 20 is a process arrangement engine, and 31-33 are business systems providing various functions, and it should be noted that the number of business systems shown in fig. 1 is only an example, and the number of business systems may be flexibly adjusted according to a specific application scenario. The process layout engine provides a business process editor for a user, the user lays out a process diagram for a business process of a software product through the user side at the business process editor, configuration data (i.e., business process configuration data) of the laid out process diagram is stored in the process layout engine, the user needs to lay out a corresponding process diagram for each software product, and further, each software product can also correspond to different process diagrams, for example, a certain software product can further distinguish different business channels, and the user needs to lay out a corresponding business process for each business channel. When the process arrangement engine receives a service request sent by a software product user, service process configuration data corresponding to the service request is obtained, and then a corresponding service system is called according to the service process configuration data to execute a corresponding service process so as to respond to the service request.
The user side may include, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, desktop computers, and the like, and each service system may be implemented by an independent server or a server cluster formed by a plurality of servers. It should be noted that the process arrangement engine may be one of the business systems in which the process arrangement engine function package is embedded.
Further, the process layout engine can be designed into two major modules according to functions, namely, as shown in fig. 2, the process layout engine comprises a process layout management background and a process layout SDK. The process arrangement management background is used for providing a service process editor for a user, obtaining a process diagram of the service process arrangement of the user as a software product and obtaining configuration data (namely service process configuration data) corresponding to the process diagram through the service process editor, and sending the configuration data of the process diagram arranged by the user to the process arrangement SDK; the process arrangement SDK is embedded in a service system, which is used to respond to service requests according to the configuration data of the flow diagram.
The business process arrangement method provided in this embodiment includes the steps shown in fig. 3, and the following description will take the example that the method is applied to the process arrangement engine in fig. 1 as an example.
S110: and providing a business process editor for the user, and obtaining a flow chart which is arranged for the business process of the software product by the user through the business process editor.
S120: and generating business process configuration data corresponding to the flow chart.
The embodiment provides a standardized technical solution, provides a method for packaging, extracting, displaying and managing background business processes, and visualizes the original business processes which can only be coded and controlled by program developers to a foreground UI (user interface) interface so as to meet the requirements of business product teams on more real-time and deep process control of the business processes. As shown in fig. 4, in this embodiment, based on the modeling concept in the original field, the method for implementing software functions in the field is further refined, and common problems are summarized and extracted from the service modules implemented by the software developers, so as to construct a standard service flow layer, where the standard service flow layer is responsible for processing service requests, and calls the corresponding function modules in the service system to execute service flows based on the service requests. The standard business process layer can effectively reduce the workload required by the realization of the traditional coding, reduce the development complexity, accelerate the delivery speed of the software, improve the reusability of business functions, reduce the unnecessary fragmentation phenomenon of the functions and optimize the overall quality of the software.
Specifically, the process arrangement engine is located in the standard business process layer.
The flow arrangement engine provides a business flow editor for a user, when the user needs to arrange the business flow, the flow chart can be conveniently arranged for the business flow of the software product through the business flow editor, the flow arrangement engine can automatically generate business flow configuration data corresponding to the flow chart, and therefore the business flow arrangement efficiency of the software product can be improved. In addition, the embodiment can also enable the background business process management of the online software product to be more agile and efficient, and can effectively improve the service quality and the response efficiency facing the client on the whole.
The present embodiment will be described in detail below.
In this embodiment, the user does not refer to a user of the software product but refers to a developer, a service person, and the like of the software product. The business process editor (hereinafter, abbreviated as editor) is a graphical human-computer interaction portal and can be an operation interface on the web.
The flow chart comprises a plurality of flow nodes, and the service flow configuration data comprises configuration data of each flow node in the flow chart and node connection configuration data for describing the association relationship among the flow nodes. The types of the flow nodes for constructing the flow chart comprise interface nodes, calling nodes, judging nodes, script nodes, sub-flow nodes, returning nodes and abnormal nodes.
The interface node is a predefined flow node for providing business service, the node is used as a calling inlet of the flow chart, when a calling end requests to enter the flow arrangement engine, the interface node is positioned to the corresponding flow chart according to the interface code, and the subsequent engine function is executed.
The calling node is a predefined process node for initiating calling of a downstream service, and is responsible for connecting an execution process of a service request to a service system except for an engine (referred to as a process arrangement engine), wherein an external downstream system can be called through a network Protocol, such as HTTP (Hyper Text Transfer Protocol), or a local function module of the service system where a process arrangement engine function package is invoked, wherein the invocation can be realized through a Java reflection system.
The judgment node is a predefined flow node for logic branch judgment, and the node can execute subsequent different branch flows according to condition judgment.
The script node is a predefined process node for executing the engine script, and the node can process low-level business process which is not suitable for being expressed in the form of a flow chart, so as to simplify the complexity of the whole flow chart and avoid overlarge basic business detail processing (such as adding two money amounts) in the flow chart. The flow orchestration engine supports execution of the Groovy scripting language. By providing script nodes for users, the users can add customized and personalized processes when arranging the business processes, and the whole business process is more flexible.
The sub-process nodes are predefined process nodes for executing the nested process, and the nodes can realize the circular execution of a section of sub-process and are used for processing the service data of an array type.
The return node is a predefined process node for exiting the process diagram, and the node is responsible for assembling a service message structure finally used for responding to the service request.
The abnormal node is a predefined flow node for performing exception processing (or called bottom-entry processing) on a flow branch not explicitly configured in the flow diagram, for example, when the judgment node fails to hit any one judgment condition, the business flow will flow to the abnormal node for bottom-entry processing.
The user can select corresponding process nodes in the editor according to actual needs, configure corresponding configuration data for the process nodes, and configure association relations for some process nodes. The association relationship between the process nodes can be displayed as a connection relationship on an editor, and the connection relationship comprises synchronous execution connection and asynchronous execution connection. With regard to the synchronous execution connection, the nodes of this kind of connection will execute under the synchronous process to the end, before which the service request end is in a waiting state; with regard to asynchronously executing connections, the nodes of the kind of connection will start executing asynchronously, the service requester will not wait for the execution of the connection later, and the final result of the asynchronous execution is not known to the service requester. The user can configure an expression for the connection, specifically can implement the JUEL expression standard, can implement the judgment function of complex conditions, and the execution result of the expression is used as the basis for judging whether the connection is executed by the path or not.
In one embodiment, obtaining a flow chart that a user orchestrates for a business process of a software product through a business process editor comprises:
determining each flow node for constructing the flow chart according to a node selection instruction triggered by a user;
establishing an association relation among all process nodes in the flow chart according to a node association instruction triggered by a user;
and obtaining configuration data of each flow node in the flow chart according to a node configuration instruction triggered by a user.
In this embodiment, the user can use editing instructions to compose the flowchart in the editor, wherein the editing instructions include three types of instructions, namely, a node selection instruction, a node association instruction, and a node configuration instruction. The user can trigger a node selection instruction to select a process node required for arranging a business process, can trigger a node association instruction to establish an association relationship between two process nodes, and can trigger a node configuration instruction to configure corresponding configuration data for the process node.
Illustratively, a user-configured flow chart may be as shown in fig. 5. The user can visually see the business process programmed for the software product from the editor.
In one embodiment, the method further comprises: and receiving the change editing operation performed by the user aiming at the specified flow chart through the business flow editor, and updating the business flow configuration data corresponding to the specified flow chart in response to the change editing operation.
In the embodiment, a user can flexibly adjust the programmed flow chart according to requirements, and compared with a traditional software development implementation mode of encoding, packaging and releasing, the working hours required by the service flow change of a software product can be reduced by more than 30% by adopting the embodiment.
In one embodiment, the method further comprises:
receiving a service request;
acquiring corresponding target business process configuration data according to an interface code carried by the business request;
and responding the service request according to the request data of the service request and the target service flow configuration data.
In this embodiment, different business channels of the same software product may have different business processes, an independent flow chart is arranged for each business channel, workload is increased, and a user can arrange corresponding business processes for different business channels in the same flow chart, so as to reduce workload.
Since one service flow chart may include a plurality of interface nodes, a unique interface code needs to be allocated to each interface node for this purpose, after receiving a service request, the flow arrangement engine searches target service flow configuration data, that is, service flow configuration data corresponding to the interface code carried in the service request, according to the interface code carried in the service request, and then executes a corresponding service flow according to the target service flow configuration data to respond to the service request.
In one embodiment, as shown in fig. 6, responding to the service request according to the request data of the service request and the target service flow configuration data includes:
s210: taking request data of the service request as input, taking a target interface node in the target service process configuration data as a starting point, and executing the service process;
s220: generating a service request result when executing to a return node in the target service flow configuration data;
s230: and responding the service request according to the service request result.
When the business process is executed, the method specifically comprises the following steps:
executing the target interface node;
determining a target interface node as a target node;
checking whether the target node has an associated exit connection line;
if the target node has the associated exit connecting line, determining the target exit connecting line from all exit connecting lines associated with the target node, executing a downstream process node associated with the target exit connecting line, determining the downstream process node as the target node, and executing the step of checking whether the target node has the associated exit connecting line; the target exit connecting line refers to an exit connecting line of which the corresponding judgment expression is true;
if no relevant outlet connection line exists, the target node is a return node, and the service flow is ended.
In this embodiment, as shown in fig. 7, the service process may be executed from the target interface node until the return node in the flowchart is reached, the execution return node may generate a service request result, and the process orchestration engine may respond to the received service request according to the service request result.
Fig. 3 and fig. 6 are schematic flow diagrams of a business process arrangement method in an embodiment. It should be understood that, although the steps in the flowcharts of fig. 3 and 6 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least some of the steps in fig. 3 and 6 may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
Based on the same inventive concept, the application also provides a business process arrangement device. In this embodiment, as shown in fig. 8, the business process orchestration device includes the following modules:
the flow chart arranging module 110 is used for providing a business flow editor for a user and obtaining a flow chart of business flow arrangement of the user for the software product through the business flow editor;
a configuration data generating module 120, configured to generate business process configuration data corresponding to the flowchart; the flow chart comprises a plurality of flow nodes, and the business flow configuration data comprises configuration data of each flow node in the flow chart and node connection configuration data for describing the incidence relation among the flow nodes.
In one embodiment, the apparatus further comprises a configuration data change module.
And the configuration data changing module is used for receiving the changing and editing operation of the user aiming at the specified flow chart through the business flow editor and responding to the changing and editing operation to update the business flow configuration data corresponding to the specified flow chart.
In one embodiment, the apparatus further comprises:
a request receiving module, configured to receive a service request;
the configuration data acquisition module is used for acquiring corresponding target business process configuration data according to the interface codes carried by the business requests;
and the request response module is used for responding the service request according to the request data of the service request and the target service flow configuration data.
In one embodiment, a request response module includes:
the flow execution sub-module is used for executing the business flow by taking the request data of the business request as input and taking the target interface node in the target business flow configuration data as a starting point;
the request result generation submodule is used for generating a service request result when the request result is executed to a return node in the target service process configuration data;
and the response submodule is used for responding the service request according to the service request result.
In one embodiment, the flow execution submodule includes the following elements:
an execution unit for executing the target interface node;
a target node determining unit, configured to determine a target interface node as a target node;
the first checking unit is used for checking whether the target node is provided with an associated exit connecting line or not;
the execution unit is further used for determining a target outlet connecting line from all outlet connecting lines associated with the target node when the associated outlet connecting line exists, executing a downstream process node associated with the target outlet connecting line, determining the downstream process node as the target node, and executing the step of checking whether the target node has the associated outlet connecting line; the target exit connecting line refers to an exit connecting line of which the corresponding judgment expression is true;
and the flow ending unit is used for ending the service flow when no associated outlet connection line exists.
In one embodiment, the apparatus further comprises:
the flow node determining module is used for determining each flow node for constructing the flow chart according to a node selection instruction triggered by a user;
the association relation establishing module is used for establishing association relation among all the process nodes in the flow chart according to a node association instruction triggered by a user;
and the configuration data acquisition module is used for acquiring configuration data of each flow node in the flow chart according to the node configuration instruction triggered by the user.
In one embodiment, the types of flow nodes include interface nodes, call nodes, decision nodes, script nodes, sub-flow nodes, return nodes, and exception nodes. Wherein,
the script node is a predefined flow node for executing the engine script;
the calling node is a predefined flow node for initiating the calling of the downstream business service;
the judgment node is a predefined flow node for judging the logic branch;
the script node is a predefined flow node for executing the engine script;
a sub-process node is a predefined process node for performing a nested process
The return node is a predefined flow node for assembling a service message structure responding to the service request;
the exception node is a flow node which is predefined and is used for exception processing of flow branches which are not explicitly configured in the flow chart.
For specific limitations of the business process scheduling apparatus, reference may be made to the above limitations of the business process scheduling method, which are not described herein again. All or part of the modules in the business process arrangement device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, the internal structure of which may be as shown in FIG. 9.
The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The database of the computer device is used for storing data such as configuration data of the flow chart, and the specific stored data can also be referred to as the definition in the above method embodiment. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a business process orchestration method.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The present embodiment also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the following steps:
providing a business process editor for a user, and acquiring a flow chart which is arranged for the business process of the software product by the user through the business process editor; generating business process configuration data corresponding to the flow chart; the flow chart comprises a plurality of flow nodes, and the business flow configuration data comprises configuration data of each flow node in the flow chart and node connection configuration data for describing the incidence relation among the flow nodes.
In one embodiment, the processor executes the computer program and further performs the steps of:
and receiving the change editing operation performed by the user aiming at the specified flow chart through the business flow editor, and updating the business flow configuration data corresponding to the specified flow chart in response to the change editing operation.
In one embodiment, the processor executes the computer program and further performs the steps of:
receiving a service request; acquiring corresponding target business process configuration data according to an interface code carried by the business request; and responding the service request according to the request data of the service request and the target service flow configuration data.
In one embodiment, when the processor executes the computer program to respond to the service request according to the request data of the service request and the target service flow configuration data, the following steps are also implemented:
taking request data of the service request as input, and taking a target interface node in the target service flow configuration data as a starting point to execute the service flow; generating a service request result when executing to a return node in the target service flow configuration data; and responding the service request according to the service request result.
In one embodiment, when the processor executes the computer program to implement the execution of the business process, the following steps are also implemented:
executing the target interface node; determining a target interface node as a target node; checking whether the target node has an associated exit connection line; if the target node has the associated exit connecting line, determining the target exit connecting line from all exit connecting lines associated with the target node, executing a downstream process node associated with the target exit connecting line, determining the downstream process node as the target node, and executing the step of checking whether the target node has the associated exit connecting line; the target exit connecting line refers to an exit connecting line of which the corresponding judgment expression is true; if no relevant outlet connection line exists, the target node is a return node, and the service flow is ended.
In one embodiment, before the processor executes the computer program to obtain the flowchart that is arranged for the business process of the software product by the user through the business process editor, the following steps are also implemented:
determining each flow node for constructing the flow chart according to a node selection instruction triggered by a user; establishing an association relation among all process nodes in the flow chart according to a node association instruction triggered by a user; and acquiring configuration data of each flow node in the flow chart according to the node configuration instruction triggered by the user.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
providing a business process editor for a user, and acquiring a flow chart which is arranged for the business process of the software product by the user through the business process editor; generating business process configuration data corresponding to the flow chart; the flow chart comprises a plurality of flow nodes, and the business flow configuration data comprises configuration data of each flow node in the flow chart and node connection configuration data for describing the incidence relation among the flow nodes.
In one embodiment, the computer program is executed by a processor and further implements the steps of:
and receiving the change editing operation performed by the user aiming at the specified flow chart through the business flow editor, and updating the business flow configuration data corresponding to the specified flow chart in response to the change editing operation.
In one embodiment, the computer program is executed by a processor and further implements the steps of:
receiving a service request; acquiring corresponding target business process configuration data according to an interface code carried by the business request; and responding the service request according to the request data of the service request and the target service flow configuration data.
In one embodiment, the computer program is executed by a processor, and when responding to a service request according to request data of the service request and target service flow configuration data, further implements the following steps:
taking request data of the service request as input, and taking a target interface node in the target service flow configuration data as a starting point to execute the service flow; generating a service request result when executing to a return node in the target service flow configuration data; and responding the service request according to the service request result.
In one embodiment, the computer program is executed by a processor, and when executing the business process, further implements the following steps:
executing the target interface node; determining a target interface node as a target node; checking whether the target node has an associated exit connection line; if the target node has the associated exit connecting line, determining the target exit connecting line from all exit connecting lines associated with the target node, executing a downstream process node associated with the target exit connecting line, determining the downstream process node as the target node, and executing the step of checking whether the target node has the associated exit connecting line; the target exit connecting line refers to an exit connecting line of which the corresponding judgment expression is true; if no relevant exit connecting line exists, the target node is a return node, and the service flow is ended.
In one embodiment, the computer program is executed by a processor to perform the following steps before obtaining a flowchart that is compiled by a user for a business process of a software product via a business process editor:
determining each flow node for constructing the flow chart according to a node selection instruction triggered by a user; establishing an association relation among all process nodes in the flow chart according to a node association instruction triggered by a user; and acquiring configuration data of each flow node in the flow chart according to the node configuration instruction triggered by the user.
It will be understood by those skilled in the art that all or part of the processes of the embodiments of the methods described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the computer program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for orchestrating a business process, the method comprising:
providing a business process editor for a user, and acquiring a flow chart which is edited for the business process of a software product by the user through the business process editor;
generating business process configuration data corresponding to the flow chart; the flow chart comprises a plurality of flow nodes, and the business flow configuration data comprises configuration data of each flow node in the flow chart and node connection configuration data for describing the incidence relation among the flow nodes.
2. The method of claim 1, wherein the method further comprises:
and receiving the change editing operation of a user aiming at the specified flow chart through the business flow editor, and responding to the change editing operation to update the business flow configuration data corresponding to the specified flow chart.
3. The method of claim 1 or 2, further comprising:
receiving a service request;
acquiring corresponding target business process configuration data according to the interface codes carried by the business requests;
and responding the service request according to the request data of the service request and the target service flow configuration data.
4. The method of claim 3, wherein said responding to said service request based on said service request data and said target business process configuration data comprises:
taking the request data of the service request as input, and taking a target interface node in the target service flow configuration data as a starting point, and executing a service flow;
generating a service request result when executing to a return node in the target service flow configuration data;
and responding the service request according to the service request result.
5. The method of claim 4, wherein said performing a business process comprises the steps of:
executing the target interface node;
determining the target interface node as a target node;
checking whether the target node has an associated exit connection line;
if there is an associated exit connection line, determining a target exit connection line from all exit connection lines associated with the target node, executing a downstream process node associated with the target exit connection line, determining the downstream process node as a target node, and executing the step of checking whether the target node has the associated exit connection line; the target outlet connecting line refers to an outlet connecting line of which the corresponding judgment expression is true;
if no associated exit connection line exists, the target node is a return node, and the service flow is ended.
6. The method of claim 1, wherein obtaining the flow chart that the user orchestrates for the business process of the software product through the business process editor comprises:
determining each flow node for constructing the flow chart according to a node selection instruction triggered by a user;
establishing an association relation between each flow node in the flow chart according to a node association instruction triggered by a user;
and acquiring configuration data of each process node in the flow chart according to a node configuration instruction triggered by a user.
7. The method of claim 1, wherein the types of flow nodes include interface nodes, call nodes, judge nodes, script nodes, sub-flow nodes, return nodes, and exception nodes;
the script node is a predefined process node for executing the engine script;
the calling node is a predefined flow node for initiating calling of downstream business service;
the judging node is a predefined flow node for judging the logic branch;
the script node is a predefined process node for executing the engine script;
the sub-process nodes are predefined process nodes for executing the nested process
The return node is a predefined flow node for assembling a service message structure responding to the service request;
the abnormal node is a flow node which is defined in advance and is used for performing abnormal processing on flow branches which are not configured explicitly in the flow chart.
8. A business process arrangement device is characterized in that,
the flow chart arranging module is used for providing a business flow editor for a user and obtaining a flow chart of business flow arrangement of the user for the software product through the business flow editor;
the configuration data generation module is used for generating business process configuration data corresponding to the flow chart; the flow chart comprises a plurality of flow nodes, and the business flow configuration data comprises configuration data of each flow node in the flow chart and node connection configuration data for describing the incidence relation among the flow nodes.
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 steps of the method of any of claims 1 to 7 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202111623122.2A 2021-12-28 2021-12-28 Business process arranging method and device, computer equipment and storage medium Pending CN114595919A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111623122.2A CN114595919A (en) 2021-12-28 2021-12-28 Business process arranging method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111623122.2A CN114595919A (en) 2021-12-28 2021-12-28 Business process arranging method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114595919A true CN114595919A (en) 2022-06-07

Family

ID=81814625

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111623122.2A Pending CN114595919A (en) 2021-12-28 2021-12-28 Business process arranging method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114595919A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115564322A (en) * 2022-12-06 2023-01-03 连连(杭州)信息技术有限公司 Business processing method and device, electronic equipment and storage medium
CN115629990A (en) * 2022-11-15 2023-01-20 四川无限智达科技有限公司 Service testing method and device, electronic equipment and storage medium
CN116185425A (en) * 2023-03-23 2023-05-30 苏州峰之鼎信息科技有限公司 Event flow arrangement method, device, equipment and medium based on node combination
CN117252559A (en) * 2023-11-20 2023-12-19 迈为技术(珠海)有限公司 Business process processing method, device, computer equipment and storage medium
CN118014334A (en) * 2024-04-08 2024-05-10 微神马科技(大连)有限公司 Service recording method and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115629990A (en) * 2022-11-15 2023-01-20 四川无限智达科技有限公司 Service testing method and device, electronic equipment and storage medium
CN115629990B (en) * 2022-11-15 2023-04-07 四川无限智达科技有限公司 Service testing method and device, electronic equipment and storage medium
CN115564322A (en) * 2022-12-06 2023-01-03 连连(杭州)信息技术有限公司 Business processing method and device, electronic equipment and storage medium
CN115564322B (en) * 2022-12-06 2023-09-19 连连(杭州)信息技术有限公司 Service processing method and device, electronic equipment and storage medium
CN116185425A (en) * 2023-03-23 2023-05-30 苏州峰之鼎信息科技有限公司 Event flow arrangement method, device, equipment and medium based on node combination
CN116185425B (en) * 2023-03-23 2024-02-23 苏州峰之鼎信息科技有限公司 Event flow arrangement method, device, equipment and medium based on node combination
CN117252559A (en) * 2023-11-20 2023-12-19 迈为技术(珠海)有限公司 Business process processing method, device, computer equipment and storage medium
CN118014334A (en) * 2024-04-08 2024-05-10 微神马科技(大连)有限公司 Service recording method and system

Similar Documents

Publication Publication Date Title
CN114595919A (en) Business process arranging method and device, computer equipment and storage medium
US10015315B2 (en) Call center builder platform
US10359923B2 (en) Application builder platform
EP3281395B1 (en) Visual interactive voice response system
CN109039751A (en) Configure method, apparatus, computer equipment and the storage medium of routing
CN111208992A (en) System scheduling workflow generation method and system
CN111142933A (en) Workflow generation method and device, computer equipment and storage medium
AU2014323444B2 (en) Multi-channel delivery platform
CN112035110A (en) Parameter adjusting method, device, client and storage medium
CN114035978A (en) Service arrangement processing method and device based on micro-service architecture
CN116911588A (en) Business process execution method, device, equipment and storage medium
CN113010561B (en) Data acquisition method and device based on super account book and computer system
CN114115967A (en) Service data processing method and device, computer equipment and storage medium
CN113191889A (en) Wind control configuration method, configuration system, electronic device and readable storage medium
CN116185425B (en) Event flow arrangement method, device, equipment and medium based on node combination
CN110263932B (en) Multi-agent simulation system graphical combination construction method and device
CN115629743A (en) Service component arranging method, service scheduling method and device, electronic equipment and storage medium
CN115525445A (en) Intelligent message distribution processing method, system, device, equipment and medium
CN115480775A (en) Cloud and primary container platform integration method and system
CN114936152A (en) Application testing method and device
CN113032118A (en) Asynchronous operation processing method for computer application program and corresponding system
CN109711809A (en) Trade company's property setting method, device, computer equipment and storage medium
CN109766047A (en) Calculation formula implementation method, device, computer equipment and storage medium in document
CN117234512B (en) Method, system, electronic equipment and storage medium for rapidly developing business
CN113535277A (en) RPA process automation construction method and system based on data driving

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