CN116400913A - Business process generation method and device - Google Patents

Business process generation method and device Download PDF

Info

Publication number
CN116400913A
CN116400913A CN202310503409.4A CN202310503409A CN116400913A CN 116400913 A CN116400913 A CN 116400913A CN 202310503409 A CN202310503409 A CN 202310503409A CN 116400913 A CN116400913 A CN 116400913A
Authority
CN
China
Prior art keywords
node
target
expansion
service
business process
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
CN202310503409.4A
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.)
Zhejiang eCommerce Bank Co Ltd
Original Assignee
Zhejiang eCommerce Bank 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 Zhejiang eCommerce Bank Co Ltd filed Critical Zhejiang eCommerce Bank Co Ltd
Priority to CN202310503409.4A priority Critical patent/CN116400913A/en
Publication of CN116400913A publication Critical patent/CN116400913A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the specification provides a method and a device for generating a business process, wherein the method for generating the business process comprises the following steps: receiving a creation request of a service flow, rendering a functional node corresponding to the service identity and an expansion node under the functional node according to the service identity carried in the creation request, performing user-defined editing operation on each displayed node by a user, determining an updated target functional node and a target expansion node corresponding to the target functional node according to the node editing operation, and then automatically generating the service flow corresponding to the service identity based on the target functional node and the target expansion node. Therefore, the corresponding business process can be customized dynamically according to different business identities, the business identities are associated with the business process, and the user can customize and generate the corresponding business process by only editing the displayed nodes, so that the operation process is simple, and the development efficiency and the online efficiency of the business process are improved.

Description

Business process generation method and device
Technical Field
The embodiment of the specification relates to the technical field of computers, in particular to a method and a device for generating a business process.
Background
With the rapid development of computer technology, internet technology and economy, the number of online users is rapidly increased, more and more services are involved, different services and service flows with different functions under the same service may not be the same, and the generation and management of the service flows are more and more complex. In the prior art, the service flow needs to be written by a developer to generate codes, and is too dependent on the developer, so that the service flow is difficult to change rapidly in the service activities with high updating speed and frequent change, and the generation period of the service flow is long, and the development efficiency and the online efficiency are low. And a simpler and more convenient method is needed to perform the generating operation or processing of the business process.
Disclosure of Invention
In view of this, the embodiment of the present specification provides a method for generating a business process. One or more embodiments of the present specification relate to a business process generating apparatus, a computing device, a computer readable storage medium, and a computer program, which solve the technical drawbacks of the prior art.
According to a first aspect of embodiments of the present disclosure, there is provided a method for generating a business process, including:
Receiving a creation request of a service flow, wherein the creation request carries a service identity;
determining and rendering a function node corresponding to the service identity and an expansion node under the function node;
receiving node editing operation, and determining an updated target function node and a target expansion node corresponding to the target function node according to the node editing operation;
and generating a service flow corresponding to the service identity according to the target function node and the target extension node.
Optionally, at least two service policy points are further included under the extension node of the set type; determining and rendering a function node corresponding to the service identity and an extension node under the function node, including:
determining a function node corresponding to the service identity and each expansion node under the function node;
determining at least two service strategy points corresponding to the set type of expansion nodes in each expansion node;
and rendering and generating a corresponding service function diagram according to the function node corresponding to the service identity, each expansion node under the function node and each service strategy point corresponding to the expansion node of the set type.
Optionally, determining the updated target function node and the target extension node corresponding to the target function node according to the node editing operation includes:
Determining a target function node, a target expansion node corresponding to the target function node and a target service policy point corresponding to the target expansion node according to node editing operation;
correspondingly, generating a service flow corresponding to the service identity according to the target function node and the target extension node, including:
and generating a service flow corresponding to the service identity according to the target function node, the target extension node and the target service strategy point.
Optionally, the node editing operation includes a selection operation; determining the updated target function node and the target expansion node corresponding to the target function node according to the node editing operation, including:
taking the function node indicated by the selection operation as a target function node;
and determining the target extension node according to each extension node under the target function node.
Optionally, the node editing operation further includes an increase or decrease operation; determining a target extension node according to each extension node under the target function node, including:
when the increasing and decreasing operation is the increasing operation, determining newly increased expansion nodes indicated by the increasing and decreasing operation, and taking the newly increased expansion nodes and the expansion nodes under the target function nodes as target expansion nodes;
When the increase/decrease operation is a pruning operation, a pruning expansion node indicated by the increase/decrease operation is specified, and a node other than the pruning expansion node among the expansion nodes under the target function node is defined as the target expansion node.
Optionally, before receiving the creation request of the business process, the method further includes:
creating at least one functional node;
writing extension nodes under each function node, and adding annotation labels for the extension nodes, wherein the annotation labels are used for indicating service strategy points corresponding to the extension nodes;
and updating the containers of the functional nodes in the server according to the functional nodes and the expansion nodes under the functional nodes.
Optionally, generating a service flow corresponding to the service identity according to the target function node and the target extension node includes:
and generating corresponding business processes according to business logic of the target function node and the target expansion node, and storing the business processes into a database.
Optionally, after storing the business flow chart in the database, the method further includes:
acquiring a target business process from a server, and rendering the target business process, wherein the target business process is a business process obtained by analyzing a polling database of the server;
Acquiring test data, and testing a target business process according to the test data;
and under the condition that the test passes, issuing a target business flow.
Optionally, after the target business process is published, the method further comprises:
in the execution process of the target business process, inquiring the execution progress of the target business process through a database;
and displaying the execution progress in the target business process of rendering display.
According to a second aspect of embodiments of the present specification, there is provided a generating device for a business process, including:
the receiving module is configured to receive a creation request of a service flow, wherein the creation request carries a service identity;
the rendering module is configured to determine and render the function node corresponding to the service identity and the extension node under the function node;
the determining module is configured to receive node editing operation and determine updated target function nodes and target expansion nodes corresponding to the target function nodes according to the node editing operation;
the generating module is configured to generate a service flow corresponding to the service identity according to the target function node and the target extension node.
Optionally, at least two service policy points are further included under the extension node of the set type; a rendering module, further configured to:
Determining a function node corresponding to the service identity and each expansion node under the function node;
determining at least two service strategy points corresponding to the set type of expansion nodes in each expansion node;
and rendering and generating a corresponding service function diagram according to the function node corresponding to the service identity, each expansion node under the function node and each service strategy point corresponding to the expansion node of the set type.
Optionally, the determining module is further configured to:
determining a target function node, a target expansion node corresponding to the target function node and a target service policy point corresponding to the target expansion node according to node editing operation;
accordingly, the generation module is further configured to:
and generating a service flow corresponding to the service identity according to the target function node, the target extension node and the target service strategy point.
Optionally, the node editing operation includes a selection operation; a determination module further configured to:
taking the function node indicated by the selection operation as a target function node;
and determining the target extension node according to each extension node under the target function node.
Optionally, the node editing operation further includes an increase or decrease operation; a determination module further configured to:
When the increasing and decreasing operation is the increasing operation, determining newly increased expansion nodes indicated by the increasing and decreasing operation, and taking the newly increased expansion nodes and the expansion nodes under the target function nodes as target expansion nodes;
when the increase/decrease operation is a pruning operation, a pruning expansion node indicated by the increase/decrease operation is specified, and a node other than the pruning expansion node among the expansion nodes under the target function node is defined as the target expansion node.
Optionally, the apparatus further comprises a creation module configured to:
creating at least one functional node;
writing extension nodes under each function node, and adding annotation labels for the extension nodes, wherein the annotation labels are used for indicating service strategy points corresponding to the extension nodes;
and updating the containers of the functional nodes in the server according to the functional nodes and the expansion nodes under the functional nodes.
Optionally, the generating module is further configured to:
and generating corresponding business processes according to business logic of the target function node and the target expansion node, and storing the business processes into a database.
Optionally, the apparatus further comprises a test module configured to:
acquiring a target business process from a server, and rendering the target business process, wherein the target business process is a business process obtained by analyzing a polling database of the server;
Acquiring test data, and testing a target business process according to the test data;
and under the condition that the test passes, issuing a target business flow.
Optionally, the apparatus further comprises a query module configured to:
in the execution process of the target business process, inquiring the execution progress of the target business process through a database;
and displaying the execution progress in the target business process of rendering display.
According to a third aspect of embodiments of the present specification, there is provided a computing device comprising:
a memory and a processor;
the memory is configured to store computer-executable instructions that, when executed by the processor, perform the steps of the method of generating a business process described above.
According to a fourth aspect of embodiments of the present specification, there is provided a computer-readable storage medium storing computer-executable instructions which, when executed by a processor, implement the steps of the method of generating a business process described above.
According to a fifth aspect of embodiments of the present specification, there is provided a computer program, wherein the computer program, when executed in a computer, causes the computer to perform the steps of the method of generating a business process as described above.
The embodiment of the specification provides a method for generating a service flow, which can receive a creation request of the service flow, wherein the creation request carries a service identity; determining and rendering a function node corresponding to the service identity and an expansion node under the function node; receiving node editing operation, and determining an updated target function node and a target expansion node corresponding to the target function node according to the node editing operation; and generating a service flow corresponding to the service identity according to the target function node and the target extension node.
In this case, when a creation request of a service flow is received, a functional node corresponding to the service identity and an expansion node under the functional node may be rendered according to the service identity carried in the creation request, a user may perform a custom editing operation for each displayed node, and according to the node editing operation, an updated target functional node and a target expansion node corresponding to the target functional node may be determined, and then the service flow corresponding to the service identity may be automatically generated based on the target functional node and the target expansion node. Therefore, the corresponding functional nodes and the expansion nodes under the functional nodes can be automatically displayed to the user according to the service identity carried in the creation request, so that the corresponding service flow can be dynamically customized according to different service identities, the service identity is associated with the service flow, the user can customize and generate the corresponding service flow only by editing the displayed nodes, the operation process is simple, the required service flow can be quickly customized and generated in the service activities with high updating speed and frequent change, the code writing is not needed one by one, the generation period of the service flow is shortened, and the development efficiency and the online efficiency of the service flow are improved.
Drawings
FIG. 1 is a flow chart of a method for generating a business process according to one embodiment of the present disclosure;
FIG. 2a is a schematic diagram of a process creation interface of a process orchestration platform according to one embodiment of the present disclosure;
FIG. 2b is a schematic diagram of a container of a functional node according to one embodiment of the present disclosure;
FIG. 2c is a schematic diagram of a business function diagram provided by one embodiment of the present disclosure;
FIG. 3 is a process flow diagram of a method for generating business processes for use in credit business provided by one embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a business process generating device according to an embodiment of the present disclosure;
FIG. 5 is a block diagram of a computing device provided in one embodiment of the present description.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present description. This description may be embodied in many other forms than described herein and similarly generalized by those skilled in the art to whom this disclosure pertains without departing from the spirit of the disclosure and, therefore, this disclosure is not limited by the specific implementations disclosed below.
The terminology used in the one or more embodiments of the specification is for the purpose of describing particular embodiments only and is not intended to be limiting of the one or more embodiments of the specification. As used in this specification, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that, although the terms first, second, etc. may be used in one or more embodiments of this specification to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first may also be referred to as a second, and similarly, a second may also be referred to as a first, without departing from the scope of one or more embodiments of the present description. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
Furthermore, it should be noted that, user information (including, but not limited to, user equipment information, user personal information, etc.) and data (including, but not limited to, data for analysis, stored data, presented data, etc.) according to one or more embodiments of the present disclosure are information and data authorized by a user or sufficiently authorized by each party, and the collection, use, and processing of relevant data is required to comply with relevant laws and regulations and standards of relevant countries and regions, and is provided with corresponding operation entries for the user to select authorization or denial.
First, terms related to one or more embodiments of the present specification will be explained.
Credit service: the credit business is an important asset business of commercial banks, and benefits are obtained by paying money to withdraw principal and interest and deducting cost, so that the credit is a main profit means of the commercial banks. Including credit services, loan services, guarantee services, etc.
BPMN (business process modeling and labeling): an open standard symbology based on flow chart technology can use a series of business components defined by the open standard symbology to form a business flow chart. The criteria are used to model business processes and are widely used for business process management because they are easily understood by business users while also providing technical users with the ability to represent and implement complex processes.
BPMN2.0: BPMN version 2.0 BPMN2.0 is used to build business process model flow diagrams that are easy to follow, as with other business process modeling tools, BPMN2.0 helps stakeholders understand the process better through a commonly understood language. Visual representation of the steps involved in a business process allows business users to easily understand the manner in which the process works. At the technical level, BPMN2.0 provides enough detail to implement a flow.
Service identity: business products, also called business scenarios, such as 3C leases, monthly payments in credit business.
Functional node: abstract concepts in business such as payouts, etc. in credit business.
Expansion node: the concept of finer functionality, such as multiple extension nodes under the credit service's payoff function, such as application, audit, subscription payoff, notification mechanism, blockchain uplink, etc. In addition, the expansion node can be concrete or abstract, and the concrete expansion node is applied for and audited by standard business logic; abstract extension nodes such as subscription funding.
Extending node type: different business strategies under the expansion node, such as signing and paying in the credit field, can be bill core, loan core and direct property exchange, which correspond to a plurality of expansion point types. One functional node may comprise a plurality of extension nodes and one extension node may comprise at least one extension node type, i.e. service policy point.
The process is defined as follows: the specific executable flow, the service identity + the function node + the flow version number can determine a function flow, which is equivalent to a flow "class", following the BPMN specification.
The flow node: each load-bearing function node, or extension node, in the flow performs a logical node.
It should be noted that, taking credit service as an example, it is taken as a main profit means of online banking, including credit service, loan service, and guarantee service. For the implementation of credit business flow needs to be designed based on BPMN2.0 specification, the embodiment of the specification provides a platform credit business flow arrangement scheme based on BPMN2.0, a platform product is created, node expansion points and expansion point types of the credit business flow can be displayed for different business identities, a flow chart can be dynamically assembled and arranged and generated, the flow chart is called through a platform interface, customization processing is carried out, and the credit business flow obtained through customization complies with the BPMN2.0 specification.
In the present specification, a method for generating a business process is provided, and the present specification relates to a device for generating a business process, a computing device, and a computer-readable storage medium, which are described in detail in the following embodiments one by one.
Referring to fig. 1, fig. 1 shows a flowchart of a method for generating a business process according to an embodiment of the present disclosure, which specifically includes the following steps 102-108.
Step 102: and receiving a creation request of the business process, wherein the creation request carries the business identity.
Specifically, the business process refers to a process that a business can execute to implement corresponding business processing. The service identity is a service function scenario, and is used for indicating in which service scenario a service flow is applied, such as a service scenario of leasing and paying in a month in the credit field.
It should be noted that, the method for generating a business process provided in the embodiment of the present disclosure may be applied to a process scheduling platform, where the process scheduling platform may be a terminal or a server. The process arranging platform can provide a process creating interface for a user, a plurality of service identities to be selected are displayed in the process creating interface, the service identities are provided with corresponding process nodes, the user can select a required service identity from the plurality of service identities provided by the process creating interface, after the selection is finished, a creating request of a service process corresponding to the service identity can be initiated, the creating request carries a service identity mark, and the service identity mark is used for indicating a service scene selected by the user.
Of course, in practical application, the user can also input the service identity by himself, the process arrangement platform queries whether the service identity input by the user is compliant or not from the server, that is, whether the corresponding process node is preconfigured or not, and if not, the user can be prompted to input again.
For example, fig. 2a is a schematic diagram of a process creation interface of a process arrangement platform according to an embodiment of the present disclosure, as shown in fig. 2a, where a process selection box is shown in a process creation interface provided by a process arrangement platform for a user, after the user clicks a drop-down button beside the process selection box, a plurality of service identities that can be selected, such as service identity 1, service identity 2, service identity 3, service identity 4, service identity 5, etc., are shown, the user can select a required service identity, and assume service identity 1, and then click a confirmation control, and initiate a creation request of a service process, where the creation request carries service identity 1.
When creating the business process, the user can select the needed business identity based on the actual requirement, and then initiate the corresponding creation request, and then create the business process corresponding to the business identity, and associate the business identity with the business process, so that the corresponding business process can be dynamically customized according to different business identities.
In an optional implementation manner of this embodiment, before the user creates the corresponding service flow through the flow arrangement platform, each flow node possibly involved may be written in the flow arrangement platform in advance, where the flow node may include a function node, an extension node, a service policy point, and the like, that is, before receiving a request for creating the service flow, the method further includes:
Creating at least one functional node;
writing extension nodes under each function node, and adding annotation labels for the extension nodes, wherein the annotation labels are used for indicating service strategy points corresponding to the extension nodes;
and updating the containers of the functional nodes in the server according to the functional nodes and the expansion nodes under the functional nodes.
Specifically, the functional node is an abstract concept in a service, and a node involved in implementing service processing, such as a paying function, a repayment function and the like in a credit service, and one functional node may include a plurality of extension nodes. The extended node is a more refined concept under the functional node, that is, the sub-node under the functional node, such as a plurality of extended nodes under the function of paying in the credit service, such as application, audit, subscription paying, notification mechanism, blockchain uplink, etc. The expansion node can be concrete or abstract, and the concrete expansion node is applied for and audited by standard business logic; abstract extension nodes such as subscription funding.
In addition, the service policy point refers to an execution policy of the extension node, and the execution policy may be expressed as an extension node type: different service policy points can be included under one extension node, such as subscription payment under credit service-payment functions, the service policy point can be a billing core or a loan core, and the service policy point can also be a direct property exchange, i.e. one extension node can correspond to a plurality of service policy points.
Note that, the annotation tag is used to identify that the annotation tag is an extension node in the frame, and the annotation tag has the attribute of the extension node, and the annotation tag is executed in the frame after the analysis processing. The attributes of the extended node may include service function, extended node identification, service policy point (i.e., extended node type), service identity, etc.
In addition, some types of expansion nodes may correspond to a plurality of service policy points for users to select according to requirements, while some expansion nodes correspond to default service execution policies, and the corresponding service policy points may not be set under the expansion nodes. That is, for the extension node of the set type, when the annotation label is added, the corresponding service policy point can be configured in the attribute information of the annotation label; for the non-setting type expansion node, when the annotation label is added, the corresponding service policy point can not be configured in the attribute information of the annotation label, namely, the attribute of the expansion node can comprise service functions, expansion node identifiers, service identities and the like. The setting type is a preset type of an expansion node corresponding to various business execution policies, for example, the setting type is an abstract type, and the expansion node aiming at the abstract type is a subscription and paying, and the corresponding business policy point is a bill core, a loan core, a property exchange and the like.
In practical application, a plurality of functional nodes can be created first, then expansion nodes under each functional node are written, annotation labels are added for the expansion nodes, and service strategy points corresponding to the expansion nodes are indicated through the annotation labels. In specific implementation, each expansion point on the code layer needs to provide a corresponding implementation interface, and annotation labels of the provided expansion nodes are marked on the specific expansion nodes. In addition, after the extension nodes under each function node are compiled and annotation labels are added for each extension node, the extension points can be scanned, namely jar (Java archive) packages of the compiled extension nodes are uploaded to a server, byte codes are dynamically updated, the extension nodes are brushed to container memories corresponding to the industry functions, and a follow-up user can conveniently inquire each flow node corresponding to the required service identity from the server through a flow arrangement platform.
Fig. 2b is a schematic container diagram of a functional node according to an embodiment of the present disclosure, where, as shown in fig. 2b, one functional node includes an extension node, and a service policy point is included under the extension node.
In this embodiment of the present disclosure, a plurality of functional nodes, extension nodes, service policy points, and the like related to a service flow may be pre-written, an application scans the extension nodes, mounts the service flow on a server, and refreshes a corresponding functional container, and when a subsequent request for creating a service flow initiated by a user is received, each node corresponding to the service identity may be queried from the server and rendered to the user based on the service identity carried in the creation request, so that the user may customize a service flow corresponding to the service identity, and associate the service identity with the service flow.
Step 104: and determining and rendering the function node corresponding to the service identity and the extension node under the function node.
In one possible implementation manner, the service identity identifier carried in the creation request may be reported to the server, the server traverses each expansion node to find out the expansion node corresponding to the service identity identifier and the function node to which the expansion node belongs, and then the server may feed back the found function node and expansion node to the flow arrangement platform. The process arrangement platform can generate a corresponding service function diagram according to the function nodes and the form of the expansion nodes included under the function nodes, render the service function diagram, enable a user to edit the nodes on the displayed service function diagram later to generate a corresponding service process, and achieve the editability of the pre-configured service function diagram, namely the nodes on the pre-configured service function diagram can be hot plugged.
Of course, in specific implementation, the server may generate a corresponding service function diagram according to the function node and the form of the extension node included under the function node, and directly feed back the service function diagram to the flow arrangement platform for rendering and displaying, which is not limited in the present specification.
In another possible implementation manner, after each function node and each extension node are configured in advance based on the process arrangement platform, the configured function node and extension node may not be reported to the server, but may be stored in the local end, and may be traversed in the local end later, so as to query and determine the function node corresponding to the service identity and the extension node under the function node.
In addition, in addition to the above-mentioned configuration of the service identities corresponding to the extended nodes by adding the annotation tags to the extended nodes, the corresponding service identities may also be configured for the functional nodes, in this case, if a creation request of a service flow is received, the service identities carried in the creation request may be reported to the server first, the server first traverses each functional node based on the service identities to find out the functional node corresponding to the service identities, then traverses each extended node under the functional node to find out the extended node corresponding to the service identities, and then the server may feed back the functional node corresponding to the service identities and the extended node under the functional node to the flow arrangement platform.
It should be noted that, the annotation labels of the preconfigured expansion nodes are marked with corresponding identification marks, so that the functional nodes corresponding to the service identification marks and the expansion nodes under the functional nodes can be determined and rendered, and the subsequent user can select the required nodes from the displayed functional nodes and expansion nodes to customize the corresponding service flow.
In one implementation manner of this embodiment, for an extension node of a set type, the extension node may further include at least two service policy points; therefore, the function node corresponding to the service identity mark and the expansion node under the function node are determined and rendered, and the specific implementation can be as follows:
determining a function node corresponding to the service identity and each expansion node under the function node;
determining at least two service strategy points corresponding to the set type of expansion nodes in each expansion node;
and rendering and generating a corresponding service function diagram according to the function node corresponding to the service identity, each expansion node under the function node and each service strategy point corresponding to the expansion node of the set type.
Specifically, the set type is a preset type of an expansion node corresponding to various service execution policies, for example, the set type is an abstract type, and the corresponding service policy point of the expansion node aiming at the abstract type is a bill core, a loan core, a property exchange and the like.
In practical application, the function node corresponding to the service identity identifier and each extension node under the function node are determined to be the same as the above process, and the embodiments of the present disclosure are not repeated here.
In addition, after each expansion node corresponding to the service identity is determined, at least two service policy points corresponding to the expansion node of the set type in each expansion node can be further determined, and then corresponding service function diagrams are rendered and generated according to the function node corresponding to the service identity, each expansion node under the function node and each service policy point corresponding to the expansion node of the set type, so that a subsequent user can select a node required by the user from the displayed function node and expansion node, and a corresponding service flow is customized. And rendering and generating a corresponding service function diagram according to the function node corresponding to the service identity, each expansion node under the function node and each service strategy point corresponding to the expansion node of the set type, wherein the expansion node is an atomic component of the bottom layer.
Fig. 2c is a schematic diagram of a service function diagram provided in an embodiment of the present disclosure, where, as shown in fig. 2c, taking a credit service as an example, assume that a service identity is financing lease, and include a function node that is a function node 1-credit, a function node 2-refund, and a function node 3-repayment. The function node 2 comprises an expansion node 1-payment application, an expansion node 2-payment audit, an expansion node 3-subscription payment, an expansion node 4-upper blockchain of a payment result and an expansion node 5-notification mechanism of the payment result. The type of the extension node 3 is an abstract type, and the abstract type comprises a business strategy point 1-property exchange, a business strategy point 2-loan core and a business strategy point 3-bill core.
After determining the function node corresponding to the service identity, the extension node under the function node and the service policy point under the extension node, the process arrangement platform can generate a corresponding service function diagram based on the logic sequence of the function node, the extension node under the function node and the service policy point under the extension node, and perform front-end rendering. Each node in the business function graph can be edited so that the user can customize the desired business process.
Step 106: and receiving node editing operation, and determining the updated target function node and the target expansion node corresponding to the target function node according to the node editing operation.
Specifically, the node editing operation is an operation of editing each node in the displayed service function diagram by a pointer, and the editing operation may include a selection operation, an addition operation, a deletion operation, and the like.
It should be noted that after the process orchestration platform renders the function node corresponding to the service identity identifier and the expansion node under the function node, that is, after the service function diagram is rendered and displayed, each node is a hot plug node, that is, each node can be edited, the user can select the node required by himself according to the actual service requirement, and the node selected by the user is the target function node and the target expansion node. That is, the user can select the function node and the extension node by means of the service identity through the service function diagram displayed by the flow arranging platform. The service function diagram can be a tree diagram, can also be in other forms, such as a table-form image, or can also be directly displayed in a table or text form without being displayed in the form of an image.
In an optional implementation manner of this embodiment, the node editing operation may include a selection operation, and at this time, according to the node editing operation, the updated target function node and the target extension node corresponding to the target function node are determined, and the specific implementation process may be as follows:
taking the function node indicated by the selection operation as a target function node;
and determining the target extension node according to each extension node under the target function node.
In practical application, the number of the functional nodes corresponding to the service identity is possibly multiple, and the user can select a required target functional node from the functional nodes corresponding to the service identity based on the practical service requirement, and the number of the target functional nodes can be one or multiple.
It should be noted that, the user may click on a desired function node from the displayed function nodes, where the function node clicked by the user is the function node indicated by the selection operation, that is, the target function node selected by the user, and then determine the target expansion node according to each expansion node under the target function node. Therefore, each displayed functional node is optional, and a user can freely select and match according to actual requirements, so that the corresponding business process is customized, and the user only needs to select and match the functional nodes without writing codes one by one, thereby simplifying the generation operation of the business process and improving the generation efficiency of the business process.
In an optional implementation manner of this embodiment, the node editing operation may further include an increase/decrease operation, where the target extension node is determined according to each extension node under the target function node, and the specific implementation process may be as follows:
when the increasing and decreasing operation is the increasing operation, determining newly increased expansion nodes indicated by the increasing and decreasing operation, and taking the newly increased expansion nodes and the expansion nodes under the target function nodes as target expansion nodes;
when the increase/decrease operation is a pruning operation, a pruning expansion node indicated by the increase/decrease operation is specified, and a node other than the pruning expansion node among the expansion nodes under the target function node is defined as the target expansion node.
It should be noted that, besides the target function node required by the selection in each displayed function node, the expansion node under the target function node can be increased or decreased, so that different service flows can be customized for the same function node, and the flexibility and applicability of the service flows are improved.
In practical application, if the node editing operation is an adding operation, it is indicated that the user wants to add a corresponding expansion node again on the basis of the currently displayed expansion node, and at this time, the newly added expansion node and each expansion node originally included can be used as a target expansion node selected by the user. If the node editing operation is the deleting operation, it is indicated that some expansion nodes are not needed under the current service identity, so that the expansion nodes to be deleted by the user can be deleted from the expansion nodes currently displayed, and the nodes except the deletion expansion nodes in the expansion nodes currently displayed are used as target expansion nodes selected by the user.
Of course, in practical application, after the user selects the target function node, the user may directly use each expansion node under the selected target function node as the selected target expansion node without editing the expansion node under the selected target function node.
For example, assume that the service identity is product a, select the function of paying for product a, assume that the currently displayed expansion node of the function of paying is expansion node 1-application for paying, expansion node 2-audit of paying, expansion node 3-sign-up paying, expansion node 4-upper blockchain of paying result, and expansion node 5-notifying mechanism of paying result. For the payout function, the user selects the expansion node 1-5 as the selected target expansion node. Assuming that the service identity is a product B, selecting a cash-out function for the product B, deleting the block chain on the 4-cash-out result of the expansion node by a user, and at the moment, enabling the 1-cash-out application of the expansion node, the 2-cash-out audit of the expansion node, the 3-subscription cash-out of the expansion node and the 5-cash-out result notification mechanism of the expansion node to be target expansion nodes selected by the user.
In an optional implementation manner of this embodiment, if a plurality of service policy points are configured for the set type of expansion node, then the user may further select a service policy point under the expansion point, that is, determine, according to the node editing operation, an updated target function node and a target expansion node corresponding to the target function node, where a specific implementation process may be as follows:
And determining the target function node, the target expansion node corresponding to the target function node and the target service policy point corresponding to the target expansion node according to the node editing operation.
In practical application, after the user selects the target function node, the user can further select the target service policy point required by the user if the target expansion node displays a plurality of service policy points aiming at the target expansion node selected by the user except for the expansion node under the target function node.
It should be noted that, if the determined expansion node corresponding to the service identity identifier has the expansion node of the set type, and the expansion node is preconfigured with a plurality of service policy points, the process arrangement platform displays the expansion node of the set type in the rendered service function diagram with a plurality of service policy points for the user to select, and the user can select the target service policy point corresponding to the service requirement from the displayed plurality of service policy points, so that the corresponding function node, the expansion node and the execution policy of the expansion node are customized based on the actual service requirement, thereby improving the flexibility and applicability of the service process.
Step 108: and generating a service flow corresponding to the service identity according to the target function node and the target extension node.
After the user selects the corresponding target function node and the corresponding target expansion node by means of the identity, the user can customize and generate a corresponding business process according to business execution logic of the target function node and the target expansion node, and the business process accords with the specification of BPMN 2.0. The version number can be set for each generated business process, so that a business process can be determined directly based on the business identity, the functional node and the process version number, and re-matching is not needed each time, thereby improving efficiency.
In an optional implementation manner of this embodiment, if a corresponding target service policy point is selected from a plurality of selectable service policy points for an extension node of a set type, then the selected target service policy point may be further combined to customize a corresponding service flow, that is, a service flow corresponding to a service identity identifier is generated according to a target function node and a target extension node, and a specific implementation process may be as follows:
and generating a service flow corresponding to the service identity according to the target function node, the target extension node and the target service strategy point.
After the user selects the corresponding target function node, the target expansion node and the target service policy point by means of the identity, the corresponding service flow can be customized according to service execution logic of the target function node, the target expansion node and the target service policy point, so that the corresponding service flow can be dynamically customized according to different service identities, the service identities are associated with the service flow, the user can customize and generate the corresponding service flow only by editing the displayed node, the operation process is simple, the required service flow can be quickly customized and generated in the service activities with high updating speed and frequent change, one-to-one code writing is not needed, the generation period of the service flow is shortened, and the development efficiency and the online efficiency of the service flow are improved.
By way of example, taking a credit service as an example, a flow of a payment function may include a plurality of nodes, such as signing payment, waiting for a payment result, a data upper blockchain, sending a short message to an organization, and the like, where the specific implementation of the nodes is to be carried on corresponding expansion nodes, where signing payment also has sub-types, such as bill core payment and loan core payment, and the two are service policies under the expansion nodes, that is, expansion point types, and the service party can select, according to own needs, service policies of expansion points and expansion points that are needed by the service party in the flow in a plug-in manner, where context information is transferred according to the needs of each node, and each node is independent of each other.
In an optional implementation manner of this embodiment, after the service flow corresponding to the service identity is generated, the service flow may be persistent, that is, according to the target function node and the target extension node, the service flow corresponding to the service identity is generated, and the specific implementation process may be as follows:
and generating corresponding business processes according to business logic of the target function node and the target expansion node, and storing the business processes into a database.
In practical application, the corresponding business process can be generated according to the business logic according to the target function node and the target extension node, and the generated business process is stored in the database so as to perform persistent storage on the generated business process. In addition, if the target service policy is determined for the target extension node, a corresponding service flow is generated according to the service logic of the target function node, the target extension node and the target service policy, and the service flow is stored in the database.
It should be noted that, the generated business process is stored in the database in a lasting manner, so that the subsequent query and management of the business process can be facilitated. After the generated business processes are stored in the database in a lasting manner, a process engine of the server can be triggered to load, namely the server can poll the database, the newly written business process BPMN is refreshed into the memory and is analyzed into a process definition through the process engine, a subsequent business process arrangement platform is convenient to acquire the corresponding business process from the server to test online, the correctness of the execution logic of the business process is ensured, and the online efficiency of the business process is ensured.
In an optional implementation manner of this embodiment, the process arrangement platform may obtain the service process from the server for test release, that is, after storing the service process diagram in the database, the method may further include:
acquiring a target business process from a server, and rendering the target business process, wherein the target business process is a business process obtained by analyzing a polling database of the server;
acquiring test data, and testing a target business process according to the test data;
and under the condition that the test passes, issuing a target business flow.
It should be noted that, the server may analyze the service flow in the database through the flow engine, analyze the service flow into a specific executable flow specification, and determine a functional flow by using the service identity, the functional node and the flow version number, which is equivalent to a flow "class", and follow the BPMN specification. Thus, the process orchestration platform may obtain a target business process from the server and render the target business process, where the target business process is any business process loaded by the server.
In practical application, after the process arrangement platform renders the target service process, test data can be acquired, the test data is input to each node corresponding to the target service process, the target service process provides a top layer API (Application ProgrammingInterface, application program interface) interface, and remote call is performed by introducing a jar packet so as to perform service processing on the test data, and a test result is determined based on the processing result, so that smoke test is performed. If the test result is normal, the logic operation of the target business process is normal in the test process, the test is passed, and the target business process can be issued at the moment so as to perform corresponding business processing through the target business process; if the test result is abnormal, the logic operation of the target business process is abnormal in the test process, the test is failed, the user is reminded to modify the target business process, and the target business process is not released. The test data may be the test data of the own service or may be randomly generated within a correct range of values.
In the embodiment of the specification, the process arrangement platform can acquire the target business process from the server, render the target business process, acquire test data to test the rendered target business process, and reissue the target business process. Therefore, the business process which passes the test is issued, and the accuracy of the business process is ensured.
In an optional implementation manner of this embodiment, after the target business process is published, the execution condition of the target business process may be further monitored, that is, after the target business process is published, the method may further include:
in the execution process of the target business process, inquiring the execution progress of the target business process through a database;
and displaying the execution progress in the target business process of rendering display.
The execution progress may be node information currently executed.
It should be noted that, each step of the target business process is persisted into the database, the process arrangement platform can determine the execution progress of the target business process by querying the database, and render the execution progress of the target business process into the target business process displayed at the front end.
The embodiment of the specification provides a method for generating a service flow, when a creation request of the service flow is received, a functional node corresponding to the service identity and an expansion node under the functional node can be rendered according to the service identity carried in the creation request, a user can perform custom editing operation on each displayed node, an updated target functional node and a target expansion node corresponding to the target functional node can be determined according to the node editing operation, and then the service flow corresponding to the service identity is automatically generated based on the target functional node and the target expansion node. Therefore, the corresponding functional nodes and the expansion nodes under the functional nodes can be automatically displayed to the user according to the service identity carried in the creation request, so that the corresponding service flow can be dynamically customized according to different service identities, the service identity is associated with the service flow, the user can customize and generate the corresponding service flow only by editing the displayed nodes, the operation process is simple, the required service flow can be quickly customized and generated in the service activities with high updating speed and frequent change, the code writing is not needed one by one, the generation period of the service flow is shortened, and the development efficiency and the online efficiency of the service flow are improved.
The following describes, with reference to fig. 3, an example of application of the method for generating a service flow provided in the present specification to a credit service, where the method for generating a service flow is further described. Fig. 3 is a flowchart of a process of a method for generating a business flow applied to a credit business according to an embodiment of the present disclosure, which specifically includes the following steps.
The flow programming platform writes the expansion node and adds an annotation label for the expansion node, wherein the annotation label comprises a service function, an expansion point identifier, an expansion point type, a service identity and the like, and the expansion node type is a service policy point. Then, scanning the extension node, dynamically mounting the extension node on a server, and refreshing a service credit function container, wherein the function container comprises a function node, the extension node and an extension node type.
And then, rendering a service function tree diagram at the front end of the process arrangement platform, wherein the service function tree diagram comprises a service identity, a service function, an extension node and an extension point type, the extension node is an atomic component of a bottom layer, the service identity is financing lease, the service function comprises credit giving, paying and repayment, the extension node included in the paying is a paying application, paying auditing, signing paying, a block chain on a paying result and a paying result notification mechanism, and the extension point type included in the signing paying is a property exchange, loan core and a bill core.
The platform user performs expansion point matching by means of service identity, wherein the primary catalog is a functional node, the secondary catalog is an expansion node, and the tertiary catalog is an expansion point type. Freely selecting and assembling business processes, such as a block chain-cash result notification mechanism on a cash application-cash auditing-subscription cash-cash result aiming at a cash product A; for the release product B, the expansion node is a release application-release verification-subscription release-release result notification mechanism.
Generating a BPMN flow chart according to each node selected by a user, and persisting the BPMN flow chart into a database; then triggering a server flow engine to load a business flow; then, the process arranging platform tests the business process and issues online after the test is completed; the process scheduling platform calls the process and inquires the process execution progress and the corresponding node.
The embodiment of the specification provides a method for generating a service flow, when a creation request of the service flow is received, a functional node corresponding to the service identity and an expansion node under the functional node can be rendered according to the service identity carried in the creation request, a user can perform custom editing operation on each displayed node, an updated target functional node and a target expansion node corresponding to the target functional node can be determined according to the node editing operation, and then the service flow corresponding to the service identity is automatically generated based on the target functional node and the target expansion node. Therefore, the corresponding functional nodes and the expansion nodes under the functional nodes can be automatically displayed to the user according to the service identity carried in the creation request, so that the corresponding service flow can be dynamically customized according to different service identities, the service identity is associated with the service flow, the user can customize and generate the corresponding service flow only by editing the displayed nodes, the operation process is simple, the required service flow can be quickly customized and generated in the service activities with high updating speed and frequent change, the code writing is not needed one by one, the generation period of the service flow is shortened, and the development efficiency and the online efficiency of the service flow are improved.
Corresponding to the method embodiment, the present disclosure further provides an embodiment of a device for generating a business process, and fig. 4 shows a schematic structural diagram of a device for generating a business process provided in one embodiment of the present disclosure. As shown in fig. 4, the apparatus includes:
a receiving module 402, configured to receive a creation request of a service flow, where the creation request carries a service identity identifier;
the rendering module 404 is configured to determine and render the function node corresponding to the service identity and the extension node under the function node;
the determining module 406 is configured to receive the node editing operation, and determine the updated target function node and the target extension node corresponding to the target function node according to the node editing operation;
the generating module 408 is configured to generate a service flow corresponding to the service identity according to the target function node and the target extension node.
Optionally, at least two service policy points are further included under the extension node of the set type; rendering module 404, further configured to:
determining a function node corresponding to the service identity and each expansion node under the function node;
determining at least two service strategy points corresponding to the set type of expansion nodes in each expansion node;
And rendering and generating a corresponding service function diagram according to the function node corresponding to the service identity, each expansion node under the function node and each service strategy point corresponding to the expansion node of the set type.
Optionally, the determining module 406 is further configured to:
determining a target function node, a target expansion node corresponding to the target function node and a target service policy point corresponding to the target expansion node according to node editing operation;
accordingly, the generation module 408 is further configured to:
and generating a service flow corresponding to the service identity according to the target function node, the target extension node and the target service strategy point.
Optionally, the node editing operation includes a selection operation; the determining module 406 is further configured to:
taking the function node indicated by the selection operation as a target function node;
and determining the target extension node according to each extension node under the target function node.
Optionally, the node editing operation further includes an increase or decrease operation; the determining module 406 is further configured to:
when the increasing and decreasing operation is the increasing operation, determining newly increased expansion nodes indicated by the increasing and decreasing operation, and taking the newly increased expansion nodes and the expansion nodes under the target function nodes as target expansion nodes;
When the increase/decrease operation is a pruning operation, a pruning expansion node indicated by the increase/decrease operation is specified, and a node other than the pruning expansion node among the expansion nodes under the target function node is defined as the target expansion node.
Optionally, the apparatus further comprises a creation module configured to:
creating at least one functional node;
writing extension nodes under each function node, and adding annotation labels for the extension nodes, wherein the annotation labels are used for indicating service strategy points corresponding to the extension nodes;
and updating the containers of the functional nodes in the server according to the functional nodes and the expansion nodes under the functional nodes.
Optionally, the generating module 408 is further configured to:
and generating corresponding business processes according to business logic of the target function node and the target expansion node, and storing the business processes into a database.
Optionally, the apparatus further comprises a test module configured to:
acquiring a target business process from a server, and rendering the target business process, wherein the target business process is a business process obtained by analyzing a polling database of the server;
acquiring test data, and testing a target business process according to the test data;
And under the condition that the test passes, issuing a target business flow.
Optionally, the apparatus further comprises a query module configured to:
in the execution process of the target business process, inquiring the execution progress of the target business process through a database;
and displaying the execution progress in the target business process of rendering display.
The embodiment of the specification provides a generating device of a service flow, when a creating request of the service flow is received, a functional node corresponding to the service identity and an expansion node under the functional node can be rendered according to the service identity carried in the creating request, a user can perform custom editing operation on each displayed node, an updated target functional node and a target expansion node corresponding to the target functional node can be determined according to the node editing operation, and then the service flow corresponding to the service identity is automatically generated based on the target functional node and the target expansion node. Therefore, the corresponding functional nodes and the expansion nodes under the functional nodes can be automatically displayed to the user according to the service identity carried in the creation request, so that the corresponding service flow can be dynamically customized according to different service identities, the service identity is associated with the service flow, the user can customize and generate the corresponding service flow only by editing the displayed nodes, the operation process is simple, the required service flow can be quickly customized and generated in the service activities with high updating speed and frequent change, the code writing is not needed one by one, the generation period of the service flow is shortened, and the development efficiency and the online efficiency of the service flow are improved.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the generating device of the business process, since the generating device is basically similar to the generating method embodiment of the business process, the description is relatively simple, and the relevant points are only needed to be referred to the part of the description of the generating method embodiment of the business process.
Fig. 5 illustrates a block diagram of a computing device provided in accordance with one embodiment of the present specification. The components of the computing device 500 include, but are not limited to, a memory 510 and a processor 520. Processor 520 is coupled to memory 510 via bus 530 and database 550 is used to hold data.
Computing device 500 also includes access device 540, access device 540 enabling computing device 500 to communicate via one or more networks 560. Examples of such networks include a public switched telephone Network (PSTN, publicSwitchedTelephone Network), a local area Network (LAN, localAreaNetwork), a wide area Network (WAN, wideAreaNetwork), a personal area Network (PAN, personalAreaNetwork), or a combination of communication networks such as the internet. The access device 540 may include one or more of any type of network interface, wired or wireless, such as a Network Interface Card (NIC), such as an IEEE802.11 wireless local area network (WLAN, wirelessLocalAreaNetwork) wireless interface, a worldwide interoperability for microwave access (Wi-MAX, worldwideInteroperabilityforMicrowaveAccess) interface, an ethernet interface, a universal serial bus (USB, universalSerialBus) interface, a cellular network interface, a bluetooth interface, a near-field communication (NFC, nearFieldCommunication).
In one embodiment of the present description, the above-described components of computing device 500, as well as other components not shown in FIG. 5, may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device shown in FIG. 5 is for exemplary purposes only and is not intended to limit the scope of the present description. Those skilled in the art may add or replace other components as desired.
Computing device 500 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), mobile phone (e.g., smart phone), wearable computing device (e.g., smart watch, smart glasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or personal computer (PC, personalComputer). Computing device 500 may also be a mobile or stationary server.
Wherein the processor 520 is configured to execute computer-executable instructions that, when executed by the processor, perform the steps of the method for generating a business process described above.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the computing device embodiment, since it is substantially similar to the business process generation method embodiment, the description is relatively simple, and the relevant points are referred to in the description of the business process generation method embodiment.
An embodiment of the present disclosure also provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the method for generating a business process described above.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the computer-readable storage medium embodiments, since they are substantially similar to the business process generation method embodiments, the description is relatively simple, and references to the relevant portions of the description of the business process generation method embodiments are sufficient.
An embodiment of the present disclosure further provides a computer program, where the computer program when executed in a computer causes the computer to perform the steps of the method for generating a business process described above.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the computer program embodiment, since it is substantially similar to the method embodiment for generating a business process, the description is relatively simple, and the relevant points are only required to be referred to in the section of the description of the method embodiment for generating a business process.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
The computer instructions include computer program code which may be in source code form, object code form, executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a USB flash disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a Read-only memory (ROM), a random access memory (RAM, randomAccessMemory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the content of the computer readable medium can be appropriately increased or decreased according to the requirements of the jurisdiction's jurisdiction and the patent practice, for example, in some jurisdictions, the computer readable medium does not include electrical carrier signals and telecommunication signals according to the jurisdiction and the patent practice.
It should be noted that the foregoing describes specific embodiments of the present invention. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous. Further, those skilled in the art will appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily all required for the embodiments described in the specification.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
The preferred embodiments of the present specification disclosed above are merely used to help clarify the present specification. Alternative embodiments are not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously, many modifications and variations are possible in light of the teaching of the embodiments. The embodiments were chosen and described in order to best explain the principles of the embodiments and the practical application, to thereby enable others skilled in the art to best understand and utilize the invention. This specification is to be limited only by the claims and the full scope and equivalents thereof.

Claims (20)

1. A business process generation method comprises the following steps:
receiving a creation request of a service flow, wherein the creation request carries a service identity;
determining and rendering a function node corresponding to the service identity and an expansion node under the function node;
receiving node editing operation, and determining an updated target function node and a target expansion node corresponding to the target function node according to the node editing operation;
And generating a service flow corresponding to the service identity according to the target function node and the target extension node.
2. The method of claim 1, further comprising at least two service policy points under the set type of extension node; the determining and rendering the function node corresponding to the service identity and the extension node under the function node comprises the following steps:
determining a function node corresponding to the service identity and each expansion node under the function node;
determining at least two service strategy points corresponding to the set type of expansion nodes in each expansion node;
and rendering and generating a corresponding service function diagram according to the function node corresponding to the service identity, each expansion node under the function node and each service strategy point corresponding to the expansion node of the set type.
3. The method according to claim 2, wherein the determining the updated target function node and the target extension node corresponding to the target function node according to the node editing operation includes:
determining a target function node, a target expansion node corresponding to the target function node and a target service policy point corresponding to the target expansion node according to the node editing operation;
Correspondingly, the generating the service flow corresponding to the service identity according to the target function node and the target extension node includes:
and generating a service flow corresponding to the service identity according to the target function node, the target extension node and the target service policy point.
4. The method of claim 1, the node editing operation comprising a selection operation; the step of determining the updated target function node and the target expansion node corresponding to the target function node according to the node editing operation includes:
taking the function node indicated by the selection operation as a target function node;
and determining the target expansion node according to each expansion node under the target function node.
5. The method of claim 4, the node editing operations further comprising an increase or decrease operation; the determining the target extension node according to each extension node under the target function node includes:
when the increasing and decreasing operation is an increasing operation, determining a newly added expansion node indicated by the increasing and decreasing operation, and taking the newly added expansion node and each expansion node under the target function node as the target expansion node;
When the increase/decrease operation is a pruning operation, a pruning expansion node indicated by the increase/decrease operation is determined, and a node other than the pruning expansion node among the expansion nodes under the target function node is set as the target expansion node.
6. The method according to any one of claims 1-5, further comprising, prior to receiving the creation request of the business process:
creating at least one functional node;
writing an expansion node under each function node, and adding an annotation tag for the expansion node, wherein the annotation tag is used for indicating a service policy point corresponding to the expansion node;
and updating the containers of the functional nodes in the server according to the functional nodes and the expansion nodes under the functional nodes.
7. The method according to any one of claims 1-5, wherein the generating, according to the target function node and the target extension node, a service flow corresponding to the service identity includes:
and generating a corresponding business process according to business logic of the target function node and the target expansion node, and storing the business process into a database.
8. The method of claim 7, further comprising, after storing the business flow diagram in a database:
acquiring a target business process from a server, and rendering the target business process, wherein the target business process is a business process obtained by polling the database by the server;
test data are obtained, and the target business process is tested according to the test data;
and under the condition that the test passes, releasing the target business flow.
9. The method of claim 8, further comprising, after said issuing the target business process:
inquiring the execution progress of the target business process through a database in the execution process of the target business process;
and displaying the execution progress in the target business process of rendering display.
10. A business process generation device, comprising:
the receiving module is configured to receive a creation request of a service flow, wherein the creation request carries a service identity;
the rendering module is configured to determine and render the functional node corresponding to the service identity and the extension node under the functional node;
The determining module is configured to receive node editing operation and determine an updated target function node and a target expansion node corresponding to the target function node according to the node editing operation;
and the generating module is configured to generate a service flow corresponding to the service identity according to the target function node and the target expansion node.
11. The apparatus of claim 10, further comprising at least two service policy points under the set type of extension node; the rendering module is further configured to:
determining a function node corresponding to the service identity and each expansion node under the function node;
determining at least two service strategy points corresponding to the set type of expansion nodes in each expansion node;
and rendering and generating a corresponding service function diagram according to the function node corresponding to the service identity, each expansion node under the function node and each service strategy point corresponding to the expansion node of the set type.
12. The apparatus of claim 11, the determination module further configured to:
determining a target function node, a target expansion node corresponding to the target function node and a target service policy point corresponding to the target expansion node according to the node editing operation;
Accordingly, the generation module is further configured to:
and generating a service flow corresponding to the service identity according to the target function node, the target extension node and the target service policy point.
13. The apparatus of claim 10, the node edit manipulation comprising a select manipulation; the determination module is further configured to:
taking the function node indicated by the selection operation as a target function node;
and determining the target expansion node according to each expansion node under the target function node.
14. The apparatus of claim 13, the node editing operations further comprising an increase or decrease operation; the determination module is further configured to:
when the increasing and decreasing operation is an increasing operation, determining a newly added expansion node indicated by the increasing and decreasing operation, and taking the newly added expansion node and each expansion node under the target function node as the target expansion node;
when the increase/decrease operation is a pruning operation, a pruning expansion node indicated by the increase/decrease operation is determined, and a node other than the pruning expansion node among the expansion nodes under the target function node is set as the target expansion node.
15. The apparatus according to any of claims 10-14, the apparatus further comprising a creation module configured to:
creating at least one functional node;
writing an expansion node under each function node, and adding an annotation tag for the expansion node, wherein the annotation tag is used for indicating a service policy point corresponding to the expansion node;
and updating the containers of the functional nodes in the server according to the functional nodes and the expansion nodes under the functional nodes.
16. The apparatus of any of claims 10-14, the generation module further configured to:
and generating a corresponding business process according to business logic of the target function node and the target expansion node, and storing the business process into a database.
17. The apparatus of claim 16, further comprising a test module configured to:
acquiring a target business process from a server, and rendering the target business process, wherein the target business process is a business process obtained by polling the database by the server;
test data are obtained, and the target business process is tested according to the test data;
And under the condition that the test passes, releasing the target business flow.
18. The apparatus of claim 17, further comprising a query module configured to:
inquiring the execution progress of the target business process through a database in the execution process of the target business process;
and displaying the execution progress in the target business process of rendering display.
19. A computing device, comprising:
a memory and a processor;
the memory is configured to store computer-executable instructions, and the processor is configured to execute the computer-executable instructions, which when executed by the processor implement the steps of the business process generation method of any one of claims 1 to 9.
20. A computer-readable storage medium storing computer-executable instructions which, when executed by a processor, implement the steps of the method of generating a business process of any one of claims 1 to 9.
CN202310503409.4A 2023-05-04 2023-05-04 Business process generation method and device Pending CN116400913A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310503409.4A CN116400913A (en) 2023-05-04 2023-05-04 Business process generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310503409.4A CN116400913A (en) 2023-05-04 2023-05-04 Business process generation method and device

Publications (1)

Publication Number Publication Date
CN116400913A true CN116400913A (en) 2023-07-07

Family

ID=87007624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310503409.4A Pending CN116400913A (en) 2023-05-04 2023-05-04 Business process generation method and device

Country Status (1)

Country Link
CN (1) CN116400913A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116934277A (en) * 2023-09-15 2023-10-24 中铁电气化勘测设计研究院有限公司 Event-driven-based track traffic project management flow control method and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116934277A (en) * 2023-09-15 2023-10-24 中铁电气化勘测设计研究院有限公司 Event-driven-based track traffic project management flow control method and equipment

Similar Documents

Publication Publication Date Title
CN110286974B (en) Application configuration method, device, equipment and storage medium based on H5 page
US8904239B2 (en) System and method for automated test configuration and evaluation
CN106844372B (en) Logistics information query method and device
US11870738B2 (en) Conversation-enabled document system and method
CN111125560A (en) Data visualization processing method and device and computer system
CN113590102B (en) Zero-code rapid software development method, system, medium and equipment
CN109726377A (en) Generation method, device and the electronic equipment of power field technical standard data file
CN116400913A (en) Business process generation method and device
CN110231936A (en) A kind of application method of mobile terminal flow engine frame and mobile terminal flow engine
CN109492036A (en) A kind of electronization test report system
CN112184419A (en) Method and device for providing service for customer
CN112488691A (en) Merchant settlement charging method and device and computer readable storage medium
CN111027302B (en) Electricity selling contract generation method and system based on settlement model
CN114201157A (en) Method and system for customizing target service module by low code
CN114445128A (en) Card ticket management method and device, electronic equipment and computer readable medium
CN114138651A (en) Test data generation method and device
CN113342667A (en) Data processing method, data processing device, electronic equipment and computer readable storage medium
CN113435847A (en) Information display method and device, electronic equipment and storage medium
CN108959202B (en) Device for processing non-electronic data exchange data
WO2022116565A1 (en) Operation request response processing method and apparatus, and computer readable storage medium
CN117194253B (en) Method and system for generating test data of service scene
KR20190011021A (en) Business support method based on groupware linked with shopping mall
KR102220711B1 (en) An apparatus for recommending payment means for online shopping mall and method thereof and an apparatus for recording payment information
CN115687601A (en) Report processing method
CN117172927A (en) Financial business data management method, 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