Business process control method and device based on block chain and storage medium

By building a multi-chain control network, the business node control information is chained to the business control chain, and the problem of difficulty in controlling complex business processes by single-chain blockchains is solved, and efficient and accurate multi-party collaborative business process control is achieved.

CN119583630APending Publication Date: 2025-03-07TONGFANG KNOWLEDGE DIGITAL PUBLISHING TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411622353.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-14
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

The existing single-chain model blockchain technology is difficult to quickly and accurately implement the control of complex business processes, and cannot meet the needs of multi-party collaborating complex business processes.

Method used

Build a multi-chain control network, including a business control chain, multiple business chains, cross-chain routing and multiple business systems. Through the business node registration process, the business node control information is chained to the business control chain, and the trustworthy control of multi-party collaborative complex business processes are realized.

Benefits of technology

It improves the control efficiency and control accuracy of complex business processes, realizes the coordinated control of multiple business processes, and supports the trusted management and application of multi-party collaborative complex business processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119583630A_ABST
    Figure CN119583630A_ABST
Patent Text Reader

Abstract

The invention discloses a business process control method and device based on a block chain and a storage medium, and the method comprises the steps: constructing a multi-chain control network corresponding to a plurality of business processes in a target business scene, the multi-chain control network comprising a business control chain, a plurality of business chains, a cross-chain router and a plurality of business systems; service node control information under a corresponding service process is collected through each service system, and the service node control information is linked to a service control chain through a cross-link route; in response to a control information query signal of a target service node in each service system, determining a service chain to which each target service node belongs in the service node control information on the service control chain, and querying the service node control information of each target service node on the service control chain; and based on the service node control information of each target service node, performing service process control on each target service node, acquiring control process information, and uploading each control process information to a service chain through a cross-link route.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of business process control technology, and in particular to a business process control method, device and storage medium based on blockchain. Background Art

[0002] With the continuous development of society, there are more and more complex business processes involving multi-party collaboration. For example, in the quality tracking scenario of nuclear power project construction process, the nuclear power project construction process includes the three stages of construction preparation, construction organization and completion acceptance. The quality management scope involves five main factors that affect the construction quality, including personnel, machines, raw materials, methods, and environment. Each construction node has high quality and safety requirements, and there is a strong temporal correlation between construction nodes. Therefore, the trusted process control of construction nodes is an important basis for achieving quality tracking of nuclear power project construction process. That is, the control method of multi-party collaborative complex business process is an urgent problem to be solved.

[0003] At present, business process control is usually achieved through single-chain blockchain technology. However, the single-chain business process control requirements are relatively simple and the applicable scenarios are relatively simple, so it is impossible to quickly and accurately achieve the control process of complex business processes. Summary of the invention

[0004] The present invention provides a blockchain-based business process control method, device and storage medium, which are mainly capable of improving the control efficiency and control accuracy of complex business processes.

[0005] According to a first aspect of the present invention, a business process control method based on blockchain is provided, comprising:

[0006] Construct a multi-chain control network corresponding to multiple business processes in the target business scenario, wherein the multi-chain control network includes a business control chain, multiple business chains, cross-chain routing, and a business system corresponding to each of the business processes;

[0007] The service node control information under the corresponding service process is collected through each of the service systems, and the service node control information is linked to the service control chain through the cross-chain routing by using the service node registration process;

[0008] In response to a control information query signal of a target service node in each of the service systems, determining the service chain to which each of the target service nodes belongs in the service node control information on the service control chain, and querying the service node control information of each of the target service nodes on the service control chain;

[0009] Based on the business node control information of each target business node, business process control is performed on each target business node, control process information for business process control of each target business node is obtained, and each control process information is linked to the business chain to which the corresponding target business node belongs through the cross-chain route.

[0010] Optionally, collecting the service node control information under the corresponding service process through each of the service systems, and uplinking the service node control information to the service control chain through the cross-chain routing using the service node registration process, includes:

[0011] Generate a node identifier of a business node under a corresponding business process through each of the business systems, set the node transaction type of the business node, the node transaction output status, the node transaction timestamp, the preceding business node information, the business node start control field, the business node start condition, the business node evidence control field, the business node end control field, and the business node end condition;

[0012] The business node registration process is used to upload the node identifier, the node transaction type, the node transaction output status, the node transaction timestamp, the preceding business node information, the business node startup control field, the business node startup condition, the business node evidence control field, the business node end control field, and the business node end condition to the business control chain through the cross-chain routing.

[0013] Optionally, the performing service flow control on each target service node based on the service node control information of each target service node includes:

[0014] Based on the service node control information of each target service node, start control of each target service node;

[0015] Based on the service node control information of each target service node, performing execution control on each target service node;

[0016] Based on the service node control information of each target service node, performing termination control on each target service node;

[0017] The acquiring control process information of the business process control for each target business node, and uplinking each control process information to the business chain to which the corresponding target business node belongs through the cross-chain routing, includes:

[0018] Acquire startup control process information for starting service flow control for each target service node, and link each startup control process information to the service chain to which the corresponding target service node belongs through the cross-chain routing;

[0019] Acquire execution control process information for executing service flow control on each target service node, and link each execution control process information to the service chain to which the corresponding target service node belongs through the cross-chain routing;

[0020] The end control process information of the target service node for ending the service flow control is obtained, and each end control process information is linked to the service chain to which the corresponding target service node belongs through the cross-chain route.

[0021] Optionally, the performing startup control on each of the target service nodes based on the service node control information of each of the target service nodes includes:

[0022] Taking any target service node in each of the target service nodes as a service node to be started, responding to a start signal of the service node to be started, judging whether there is a latest node transaction output state of the service node to be started in the service chain to which the service node to be started belongs based on the node identifier of the service node to be started; if so, determining that the service node to be started exists on the service chain, and prohibiting the start of the service node to be started; otherwise, determining the pre-service node information, service node start control field, and preset service node start condition of the service node to be started in the service node control information;

[0023] Based on the preceding service node information of the service node to be started, the latest node transaction output status of the preceding service node of the service node to be started is obtained, and based on the service node start control field of the service node to be started, the service node start control field value of the service node to be started is obtained;

[0024] Based on the latest node transaction output status of the preceding service node and the service node startup control field value, determining whether the service node to be started meets the preset service node startup condition for node startup;

[0025] If it is in compliance, the service node to be started is started; otherwise, starting the service node to be started is prohibited;

[0026] When starting the service node to be started, setting the node transaction type of the service node to be started as a start transaction and setting the node transaction output state as a start state, and obtaining the start transaction timestamp of the service node to be started;

[0027] The step of uplinking each of the startup control process information to the service chain to which the corresponding target service node belongs through the cross-chain route includes:

[0028] The node identifier of the service node to be started, the node transaction type, the node transaction output status, the latest node transaction output status of the preceding service node, the service node startup control field value, and the startup transaction timestamp are linked to the service chain to which the service node to be started belongs through the cross-chain routing.

[0029] Optionally, the performing execution control on each of the target service nodes based on the service node control information of each of the target service nodes includes:

[0030] Taking any target service node among each of the target service nodes as a service node to be executed, and in response to an execution signal of the service node to be executed, acquiring the latest node transaction output status of the service node to be executed in the service chain to which the service node to be executed belongs based on the node identifier of the service node to be executed;

[0031] Determine whether the latest node transaction output state of the service node to be executed is in the start state, if so, execute the service node to be executed, otherwise, prohibit the execution of the service node to be executed;

[0032] When executing the service node to be executed, setting the node transaction type of the service node to be executed as an execution transaction and setting the node transaction output state as an execution state, and obtaining the service node evidence control field value of the service node to be executed during the execution process and obtaining the execution transaction timestamp of the service node to be executed based on the node evidence control field of the service node to be executed;

[0033] The step of uplinking each of the execution control process information to the service chain to which the corresponding target service node belongs through the cross-chain route includes:

[0034] The node identifier of the to-be-executed business node, the node transaction type, the node transaction output status, the business node evidence control field value, and the execution transaction timestamp are uploaded to the business chain to which the to-be-executed business node belongs through the cross-chain routing.

[0035] Optionally, performing termination control on each target service node based on the service node control information of each target service node includes:

[0036] Taking any target service node among each of the target service nodes as a service node to be terminated, and in response to a termination signal of the service node to be terminated, acquiring the latest node transaction output status of the service node to be terminated in the service chain to which the service node to be terminated belongs based on the node identifier of the service node to be terminated;

[0037] Determine whether the latest node transaction output status of the service node to be terminated is in the execution status. If not, prohibit the termination of the service node to be terminated. If yes, obtain the service node evidence control field value of the service node to be terminated in the service chain to which the service node to be terminated belongs, and determine the service node termination control field and the preset service node termination condition corresponding to the service node to be terminated in the service node control information;

[0038] Based on the service node end control field corresponding to the service node to be ended, acquiring the service node end control field value of the service node to be ended;

[0039] Based on the service node evidence control field value and the service node termination control field value of the service node to be terminated, determining whether the service node to be terminated meets the preset service node termination condition for node termination;

[0040] If it is in compliance, then the service node to be terminated is terminated; otherwise, the service node to be terminated is prohibited;

[0041] When the service node to be terminated is terminated, the node transaction type of the service node to be terminated is set to the terminated transaction, the node transaction output state is set to the terminated state, and the terminated transaction timestamp of the service node to be terminated is obtained;

[0042] The step of uplinking each of the end control process information to the service chain to which the corresponding target service node belongs through the cross-chain route includes:

[0043] The node identifier of the to-be-ended business node, the node transaction type, the node transaction output status, the business node evidence control field value, the business node end control field value, and the end transaction timestamp are uploaded to the business chain to which the to-be-ended business node belongs through the cross-chain routing.

[0044] Optionally, the method further comprises:

[0045] In response to an information query signal for any service node sent by any service system, determine the information query type of the any service node, and determine a target cross-link route corresponding to the any service system in each cross-link route;

[0046] If the information query type is a service node control information type, querying the service node control information of any service node in the service control chain through the target cross-link routing;

[0047] If the information query type is a service node startup information type, querying the service node startup information of any service node in the service chain to which the any service node belongs through the target cross-chain routing;

[0048] If the information query type is a service node execution information type, querying the service node execution information of any service node in the service chain to which the any service node belongs through the target cross-chain routing;

[0049] If the information query type is a service node end information type, the service node end information of any service node is queried in the service chain to which the any service node belongs through the target cross-chain routing.

[0050] According to a second aspect of the present invention, a business process control device based on blockchain is provided, comprising:

[0051] A construction unit, used to construct a multi-chain control network corresponding to multiple business processes in a target business scenario, wherein the multi-chain control network includes a business control chain, multiple business chains, cross-chain routing, and a business system corresponding to each of the business processes;

[0052] An uplink unit, used for collecting the service node control information under the corresponding service process through each of the service systems, and uplinking the service node control information to the service control chain through the cross-chain routing by using the service node registration process;

[0053] A query unit, configured to respond to a control information query signal of a target service node in each of the service systems, determine the service chain to which each of the target service nodes belongs in the service node control information on the service control chain, and query the service node control information of each of the target service nodes on the service control chain;

[0054] A control unit is used to perform business process control on each target business node based on the business node control information of each target business node, obtain control process information for performing business process control on each target business node, and link each control process information to the business chain to which the corresponding target business node belongs through the cross-chain route.

[0055] According to a third aspect of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned blockchain-based business process control method.

[0056] According to a fourth aspect of the present invention, there is provided a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned blockchain-based business process control method when executing the program.

[0057] According to a blockchain-based business process control method, device and storage medium provided by the present invention, compared with the current way of realizing business process control through single-chain blockchain technology, the present invention constructs a multi-chain control network consisting of a business control chain, multiple business chains, cross-chain routing and multiple business systems, and registers the business node control information under the complex business process into the business control chain. When it is necessary to control a complex business process of multi-party collaboration (multiple business systems), the complex business nodes of the multi-party collaboration are directly controlled through the cross-chain routing based on the business node control information in the business control chain, and the control process information is stored in the business chain corresponding to the corresponding business node. Therefore, the present invention can realize trusted control of complex business processes of multi-party collaboration in complex business scenarios through a multi-chain control network, realize collaborative control of multiple business processes, improve the control efficiency of business processes, and provide technical support for building a control system for complex business processes of multi-party collaboration and realizing trusted management and application of full-process control information of business. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0059] Figure 1 A flowchart of a business process control method based on blockchain provided by an embodiment of the present invention is shown;

[0060] Figure 2 A schematic diagram of a multi-chain control network structure provided by an embodiment of the present invention is shown;

[0061] Figure 3 A schematic diagram of a business process control process based on a multi-chain control network provided by an embodiment of the present invention is shown;

[0062] Figure 4 Another schematic diagram of a business process control process based on a multi-chain control network provided by an embodiment of the present invention is shown;

[0063] Figure 5 A flowchart of another business process control method based on blockchain provided by an embodiment of the present invention is shown;

[0064] Figure 6 A schematic diagram of the structure of a service control system provided by an embodiment of the present invention is shown;

[0065] Figure 7 A schematic diagram of the structure of a business process control device based on blockchain provided by an embodiment of the present invention is shown;

[0066] Figure 8 A schematic diagram of the physical structure of a computer device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0067] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.

[0068] At present, the way to control business processes through blockchain technology in a single-chain model is that due to the relatively simple business process control requirements and applicable scenarios of the single-chain model, it is impossible to quickly and accurately control complex business processes.

[0069] In order to solve the above problems, the embodiment of the present invention provides a business process control method based on blockchain, such as Figure 1 As shown, the method includes:

[0070] 101. Construct a multi-chain control network corresponding to multiple business processes under the target business scenario, wherein the multi-chain control network includes a business control chain, multiple business chains, cross-chain routing, and a business system corresponding to each business process.

[0071] Among them, the target business scenarios include: nuclear power project construction scenario, book and periodical information management scenario, etc. In the nuclear power project construction scenario, multiple business processes can be the entire process of the three stages of construction preparation, construction organization and completion acceptance.

[0072] For the embodiments of the present invention, based on the multi-chain control network, the trusted storage and trusted query of the control information related to the whole process of registration, startup, execution and termination of multiple business nodes can be realized, and the trusted control of complex business processes coordinated by multiple parties can be supported. Figure 2 As shown, one of the multi-chain control network structures is illustrated, including a business control chain, a business chain A, a business chain B, a business chain C, four cross-chain routes, a business control system A, a business control system B, and a business control system C. The business control chain stores the business node control information structure, and the business chain stores the start, execution, and end information of the business node; the cross-chain routes are interconnected and connected to the business control chain and the three business chains respectively; each business control system supports different business process control services, and different terminal users can access the business control chain and all business chains through any cross-chain route, and the generated business node start, execution, and end information are stored in the business chain A, business chain B, and business chain C respectively. It should be noted that the above examples are only illustrative and do not specifically limit the embodiments of the present invention.

[0073] Specifically, the business control chain is uniquely identified by the business control chain identifier. It is an alliance chain that meets the trusted control of the entire business process and supports the trusted storage, trusted query and verification of the business node control information of the entire process. The business chain is uniquely identified by the business chain identifier. It is an alliance chain built on the basis of meeting the common data security and privacy protection needs of the parties involved in the shared control information for specific business node activities, and supports the trusted process control and trusted storage of process data of specific business node activities. The business control chain and the business chain can be built based on, but not limited to, underlying blockchain technologies such as Hyperledger Fabric (an open source platform for enterprise-level blockchain application development) and FISCO BCOS (Blockchain Open Consortium Operating System, a blockchain underlying technology platform). The business control system is a business process control application system that realizes the trusted process control of specific businesses in complex scenarios of multi-party collaboration. The cross-chain routing is a service module that bridges the business control system with the business control chain and the business chain, and is used to realize the dynamic access, interconnection and cross-chain transaction processing of the business control chain and the business chain, and provides a unified cross-chain business process control service interface for the business control system. Cross-chain routing can be, but is not limited to, built based on the FISCO BCOS cross-chain collaboration platform WeCross (blockchain cross-chain collaboration platform) technology. One of the structures of a multi-chain control network can be: one business control chain, one or more business chains, one or more cross-chain routing and one or more business control systems. Multiple business chains can be built simultaneously or at any time according to actual needs. Multiple cross-chain routings can be, but are not limited to, interconnected using the P2P (Peer-to-Peer, peer-to-peer network) protocol, support mutual forwarding requests, and synchronize multi-business chain adaptation information. The multi-business control system supports simultaneous control of different business processes and can serve different end users at the same time.

[0074] 102. Collect the business node control information under the corresponding business process through each business system, and use the business node registration process to link the business node control information to the business control chain through cross-chain routing.

[0075] Among them, the business node control information includes: business node identification, node transaction type, node transaction output status, node transaction timestamp, preceding business node information, business node start control field, business node start conditions, business node evidence control field, business node end control field, business node end conditions, etc.

[0076] Business node identifier: used to uniquely identify node activities in a business process. It consists of a business chain identifier and an intra-business chain identifier. It can be, but is not limited to, represented in the form of Bcid.Nid. It is the unique identifier for the entire life cycle transaction processing process of registration, startup, execution, and termination of the same business node in the business process.

[0077] Node transaction type: describes the transaction processing type of the business node, which can be but is not limited to node registration transaction, node start transaction, node execution transaction, and node end transaction.

[0078] Node transaction output status: defines the output status information of the business node transaction process, which can be but not limited to registration status, start status, execution status, and end status.

[0079] Node transaction timestamp: records the timestamp information of node transaction generation.

[0080] Predecessor business node information: records the identification information of one or more predecessor business nodes related to the business node, which can be control, indicating that there is no predecessor node; the predecessor business node can be, but is not limited to, on the same business chain as the current business node.

[0081] Business node startup control field: defines one or more control field information for starting business node activities. It can be empty, indicating that there is no startup control field. It can be, but is not limited to, a description field for process startup control related to time, location, identity, and business process.

[0082] Business node startup conditions: describes the startup conditions set based on business logic, which are used to determine whether to start business node activities. The startup conditions can be, but are not limited to: 1) empty, indicating that there is no startup condition, and the call is started; 2) whether the node transaction output status of one or more preceding business nodes in the preceding business node information meets the agreed logic; 3) whether the values ​​of one or more business node startup control fields in the business node startup control field meet the agreed logic; 4) whether the result of the combined calculation of the transaction output status of one or more preceding business nodes in the preceding business node information and the business node startup control field values ​​in the business node startup control field meets the agreed logic.

[0083] Business node evidence control field: defines one or more evidence field information that controls the end of a business node, used to describe the data generated by business activities. It can be empty, indicating that there is no evidence control field; it can be, but is not limited to, description fields for business initial data, business process control data, and business generated data.

[0084] Business node end control field: defines one or more control field information for controlling the end of a business node. It can be empty, indicating that there is no end control field. It can be, but is not limited to, a description field for process end control related to time, location, identity, and business process.

[0085] Business node termination condition: describes the termination condition set based on the business node evidence control field and the business node termination control field. The termination condition may be, but is not limited to: 1) empty, indicating that there is no termination condition and the call ends; 2) whether one or more business node evidence control field values ​​in the business node evidence control field meet the agreed logic; 3) whether one or more business node termination control field values ​​in the business node termination control field meet the agreed logic; 4) whether the result of the combined calculation of one or more business node evidence control field values ​​in the business node evidence control field and the business node termination control field value in the business node termination control field meets the agreed logic, wherein the agreed logic may be, but is not limited to, non-logic, AND logic, OR logic, and AND-OR-non-combination logic.

[0086] For the embodiments of the present invention, the business node control information under the corresponding business process is collected through the business system, and the process of uplinking the business node control information to the business control chain is realized through the business node registration process of the business system. Among them, the process of uplinking the business node control information is as follows: taking a certain business node as an example, first, generate a unique business node identifier in the multi-chain control network; set the node transaction type to "registration transaction"; set the node transaction output status to "registration status"; obtain the pre-service node information, query the business control chain according to the pre-service node identifier, obtain all the business node registration information corresponding to the pre-service node identifier, and determine whether the pre-service node has been registered; if the pre-service node has not been registered, register the pre-service node; if the pre-service node has been registered, obtain the business node startup control field and the business node startup control condition, and determine whether the business node startup control field, the pre-service node information and the business node startup control condition are consistent. whether the conditions match; if not, a field check is performed, if it matches, the business node evidence control field, the business node end control field, and the business node end condition are obtained, and it is determined whether the business node evidence control field, the business node end control field and the business node end condition match; if not, a matching check is performed, and if it matches, the node transaction timestamp information is obtained; finally, the business node registration information including the business node identification, the node transaction type, the node transaction output status, the preceding business node information, the business node start control field, the business node start condition, the business node evidence control field, the business node end control field, the business node end condition, and the node transaction timestamp is written into the account book of the business control chain. The embodiment of the present invention can realize the simultaneous trusted registration of multiple business node information in multiple business systems through multiple cross-chain routes, thereby improving the registration efficiency of the business node control information.

[0087] 103. In response to control information query signals of target service nodes in each service system, determine the service chain to which each target service node belongs in the service node control information on the service control chain, and query the service node control information of each target service node on the service control chain.

[0088] Among them, the process control signals include control signals of the entire business process cycle, such as business node start control signals, business node execution control signals, and business node end control signals; the business control chain stores the correspondence between different business nodes and business chains.

[0089] For the embodiment of the present invention, when a service node start control signal triggered by at least one service system is received, the service node start control signal is transmitted to the service control chain through an idle cross-link route, and the service control chain searches for service node start control information related to service node start in the service node control information based on the service node identifier, and uses the service node start control information to start control the service node. When a service node execution control signal triggered by at least one service system is received, the service node execution control signal is transmitted to the service control chain through an idle cross-link route, and the service control chain searches for service node execution control information related to service node execution in the service node control information based on the service node identifier, and uses the service node execution control information to execute control on the service node. When a service node end control signal triggered by at least one service system is received, the service node end control signal is transmitted to the service control chain through an idle cross-link route, and the service control chain searches for service node end control information related to service node end in the service node control information based on the service node identifier, and uses the service node end control information to end control the service node. The embodiments of the present invention can realize the whole process control of registration, startup, execution and termination of complex business nodes through a multi-chain control network, and realize the trusted storage and trusted query of relevant control information, support the trusted control of complex business processes coordinated by multiple parties, and improve the control accuracy and control efficiency of complex business processes.

[0090] 104. Based on the business node control information of each target business node, perform business process control on each target business node, obtain control process information for performing business process control on each target business node, and link each control process information to the business chain to which the corresponding target business node belongs through a cross-chain route.

[0091] Among them, the control process information refers to the process information generated by starting the control process (such as the node transaction type obtained after startup, the node transaction output status, the latest node transaction output status of the preceding business node, the business node startup control field value, the node transaction timestamp, etc.), the process information generated by the execution control process (such as the node transaction type obtained after execution, the node transaction output status, the business node evidence control field value, the node transaction timestamp, etc.), and the process information generated by ending the control process (such as the node transaction type obtained after ending, the node transaction output status, the business node evidence control field value, the business node end control field value, the node transaction timestamp, etc.).

[0092] In the embodiments of the present invention, based on the service node startup control information, the service node is started and controlled, and the startup control process information obtained by the startup control is stored in the service chain to which the service node belongs through an idle cross-chain route; based on the service node execution control information, the service node is executed and controlled, and the execution control process information obtained by the execution control is stored in the service chain to which the service node belongs through an idle cross-chain route; based on the service node termination control information, the service node is terminated and the termination control process information obtained by the termination control is stored in the service chain to which the service node belongs through an idle cross-chain route. Thus, through multiple service chains and multiple cross-chain routes, collaborative trusted control of multiple service nodes can be achieved. For example, Figure 3 As shown, one of the business process control processes based on the multi-chain control network is illustrated. Specifically, the business node control information structure is stored on the business control chain to provide a shared service of business node control information for parties involved in the collaborative control of the business process. As shown in the figure, the examples include business node 1 (A.id1) and business node 2 (A.id2) on business chain A, business node 4 (B.id1) and business node 6 (B.id2) on business chain B, and business node 3 (C.id1) and business node 5 (C.id2) on business chain C. Specifically, service node 1 (A.id1) is a predecessor node of service node 2 (A.id2), service node 2 (A.id2) and service node 3 (C.id1) are two predecessor nodes of service node 4 (B.id1), service node 3 (C.id1) is a predecessor node of service node 5 (C.id2), service node 4 (B.id1) and service node 5 (C.id2) are two predecessor nodes of service node 6 (B.id2). This example shows that the status of the predecessor node is a necessary condition for the startup of the service node. It should be noted that the above examples are only illustrative and do not specifically limit the embodiments of the present invention.

[0093] For example, Figure 4As shown, the business node execution process of one of the multi-chain control networks is illustrated. Specifically, the execution process of each business node includes three transaction processes: node startup, node execution, and node termination. The business node startup requires judging the node startup conditions, and the end state of the preceding node is a necessary condition for the business node startup. As shown in the figure, service chain A first stores the transaction process information of the start, execution and end of service node A.id1, ​​and then stores the transaction process information of the start, execution and end of service node A.id2; service chain C first stores the transaction process information of the start, execution and end of service node C.id1, ​​and then stores the transaction process information of the start, execution and end of service node C.id2; after service chain A completes the storage of the transaction process information of the start, execution and end of service node A.id2 and service chain C completes the storage of the transaction process information of the start, execution and end of service node C.id1, ​​service chain B first stores the transaction process information of the start, execution and end of service node B.id1, ​​and after service chain C completes the storage of the transaction process information of the start, execution and end of service node C.id2, service chain B stores the transaction process information of the start, execution and end of service node B.id2. It should be noted that the above examples are only illustrative and do not specifically limit the embodiments of the present invention.

[0094] According to a blockchain-based business process control method provided by the present invention, compared with the current way of realizing business process control through single-chain blockchain technology, the present invention constructs a multi-chain control network consisting of a business control chain, multiple business chains, cross-chain routing and multiple business systems, and registers the business node control information under the complex business process into the business control chain. When it is necessary to control a complex business process of multi-party collaboration (multiple business systems), the complex business nodes of the multi-party collaboration are directly controlled through the cross-chain routing based on the business node control information in the business control chain, and the control process information is stored in the business chain corresponding to the corresponding business node. Therefore, the present invention can realize trusted control of complex business processes of multi-party collaboration in complex business scenarios through a multi-chain control network, realize collaborative control of multiple business processes on the basis of meeting the common data security and privacy protection requirements of the parties involved in sharing control information, and improve the control efficiency and accuracy of business processes.

[0095] Further, in order to better illustrate the process of controlling the business process, as a refinement and extension of the above embodiment, the embodiment of the present invention provides another business process control method based on blockchain, such as Figure 5 As shown, the method includes:

[0096] 201. Construct a multi-chain control network corresponding to multiple business processes under a target business scenario, wherein the multi-chain control network includes a business control chain, multiple business chains, cross-chain routing, and a business system corresponding to each business process.

[0097] Specifically, business control chain: used to realize trusted storage and trusted query of business node control information of the entire process. Business chain: used to realize trusted storage and trusted query verification of business-specific business node process control information and process data, and support trusted process control of specific business node activities. Business control chain and business chain can be but are not limited to being built based on underlying blockchain technology. Cross-chain routing: used to realize functions such as dynamic access, interconnection and interoperability of business control chain and business chain, and cross-chain transaction processing, and provide a unified cross-chain business control service interface for business control system. The implementation of cross-chain routing can be but is not limited to being built based on technologies such as cross-chain collaboration platform. Business control system: based on cross-chain routing, it realizes trusted process control functions for multi-party collaborative complex businesses, such as Figure 6 As shown, the business control system includes a business node registration module, a business node startup module, a business node execution module and a business node termination module, which respectively realize the cross-chain trusted process control functions of business node registration, business node startup, business node execution and business node termination. Specifically, the user of the business control system submits the chain storage transaction of the full life cycle process control information of the business node and the chain query transaction of the full process business node control information through the cross-chain route to complete the trusted process control of multi-party collaborative complex business. Among them, the business node registration module in the business control system: completes the construction of the business node control information structure, and realizes the trusted storage and trusted query of the business node registration information on the business control chain; the business node startup module: completes the business node startup condition judgment and node startup control processing, and realizes the trusted storage and query of the business node startup information on the business chain; the business node execution module: completes the business node execution control processing, and realizes the trusted storage and trusted query of the business node execution information on the business chain; the business node termination module: completes the business node termination condition judgment and the business node termination processing, and realizes the trusted storage and trusted query of the business node termination information on the business chain. It should be noted that the above examples are only illustrative and do not specifically limit the embodiments of the present invention.

[0098] 202. The business node control information under the corresponding business process is collected through each business system, and the business node control information is uploaded to the business control chain through the cross-chain routing by using the business node registration process.

[0099] For the embodiments of the present invention, in order to realize the collaborative control of complex business processes under complex business scenarios, it is first necessary to link the business node control information of the complex business nodes under the target business scenarios to the business control chain. Based on this, step 202 specifically includes: generating a node identifier of the business node under the corresponding business process through each of the business systems, setting the node transaction type, node transaction output status, node transaction timestamp, preceding business node information, business node start control field, business node start condition, business node evidence control field, business node end control field, and business node end condition of the business node; using the business node registration process to link the node identifier, the node transaction type, the node transaction output status, the node transaction timestamp, the preceding business node information, the business node start control field, the business node start condition, the business node evidence control field, the business node end control field, and the business node end condition to the business control chain through the cross-chain routing.

[0100] Specifically, if the collaborative control process of multiple target business nodes is to be realized, and the multiple target business nodes belong to different business systems, each business system collects the business node control information of the corresponding target business node respectively, and registers the above information to the business control chain through a cross-chain route using a registration module in the business system, and stores each business node control information in the business control chain in correspondence with the business node identifier, and does not correspond to the corresponding business chain for each business node. For example, each business system generates a node identifier of the business node under the corresponding business process, sets the node transaction type, node transaction output status, node transaction timestamp, pre-set business node information, business node startup control field, business node startup condition, business node evidence control field, business node end control field, and business node end condition of the business node, and then uses the node registration module in the business system to link the node identifier, node transaction type, node transaction output status, node transaction timestamp, pre-set business node information, business node startup control field, business node startup condition, business node evidence control field, business node end control field, and business node end condition to the business control chain through a cross-chain route.

[0101] 203. In response to control information query signals of target service nodes in each service system, determine the service chain to which each target service node belongs in the service node control information on the service control chain, and query the service node control information of each target service node on the service control chain.

[0102] Specifically, if the control information query signal of the target service node is a start control signal, the service node start control information of the target service node is queried on the service control chain, such as querying the preceding service node information, service node start control field, preset service node start condition and other information corresponding to the target service node based on the node identification of the target service node, querying the latest node transaction output status of the preceding service node of the target service node, obtaining the service node start control field value, and judging whether the target service node meets the start condition according to the latest node transaction output status of the preceding service node, service node start control field value and other information, and performing start control on the target service node if the start condition is met. If the control information query signal of the target service node is an execution control signal, the service node execution control information of the target service node is queried on the service control chain, such as querying the node evidence control field of the target service node based on the node identification of the target service node on the service control chain, querying the latest node transaction output status of the target service node in the service chain to which the target service node belongs, and judging whether the target service node meets the execution condition according to the latest node transaction output status information of the target service node, and performing execution control on the target service node if the execution condition is met. If the control information query signal of the target business node is an end control signal, the business node end control information of the target business node is queried on the business control chain. For example, based on the node identifier of the target business node, the business node evidence control field, business node end control field, business node end condition and other information corresponding to the target business node are queried on the business control chain. The latest node transaction output status and business node evidence control field value of the target business node are queried in the business chain to which the target business node belongs. Based on the latest node transaction output status of the target business node, the business node evidence control field value and the obtained business node end control field value, it is determined whether the target business node meets the business node end condition information. If the business node end condition information is met, the target business node is end controlled.

[0103] 204. Based on the business node control information of each target business node, start control of each target business node, obtain start control process information for starting business process control of each target business node, and link each start control process information to the business chain to which the corresponding target business node belongs through a cross-chain route.

[0104] For the embodiment of the present invention, if the service node startup control information about the target service node sent by the service system is received, it is necessary to start the target service node according to the node startup control information of the target service node in the service control chain. Based on this, step 204 specifically includes: taking any target service node in each of the target service nodes as a service node to be started, responding to the startup signal of the service node to be started, and judging whether there is the latest node transaction output status of the service node to be started in the service chain to which the service node to be started belongs based on the node identifier of the service node to be started; if so, determining that the service node to be started exists on the service chain, and prohibiting the startup of the service node to be started; otherwise, determining the preceding service node information, the service node startup control field, and the preset service node startup condition of the service node to be started in the service node control information; obtaining the latest node transaction output status of the preceding service node of the service node to be started based on the preceding service node information of the service node to be started, and determining ... The method comprises the steps of: determining a service node startup control field of a node, obtaining a service node startup control field value of the service node to be started; determining whether the service node to be started meets the preset service node startup condition for node startup based on the latest node transaction output status of the preceding service node and the service node startup control field value; if so, starting the service node to be started, otherwise, prohibiting starting the service node to be started; when starting the service node to be started, setting the node transaction type of the service node to be started as a startup transaction and setting the node transaction output status as a startup status, and obtaining a startup transaction timestamp of the service node to be started; and linking each of the startup control process information to the service chain to which the corresponding target service node belongs through the cross-chain routing, including: linking the node identifier of the service node to be started, the node transaction type, the node transaction output status, the latest node transaction output status of the preceding service node, the service node startup control field value, and the startup transaction timestamp to the service chain to which the service node to be started belongs through the cross-chain routing.

[0105] Among them, the preset service node startup conditions are set according to actual needs. Specifically, taking a target service node in a certain service system as the service node to be started as an example, when a startup signal about the service node to be started sent by the service system is received, the service node identifier of the service node to be started is obtained, and based on the node identifier, it is determined whether the service node to be started has the latest node transaction output status (latest node transaction timestamp) in the service chain to which the service node to be started belongs. If so, the service node to be started is prohibited from being started. If the service node to be started does not exist in the service chain, the service control chain is queried based on the node identifier to obtain the service node registration information corresponding to the node identifier, including the pre-service node information, the service node startup control field, and the preset service node startup condition information. If the pre-service node information is not empty, the service chain where the pre-service node is located is queried based on the pre-service node identifier in the obtained pre-service node information to obtain the latest node transaction output status (the latest node transaction timestamp) of all pre-service nodes. If the service If the node startup control field is not empty, the business node startup control field value is obtained based on the obtained business node startup control field; if the business node startup condition is empty, the business node is determined to meet the startup condition and the target business node is started; otherwise, whether the business node startup condition is met is determined based on the latest node transaction output status of the obtained predecessor business node and the business node startup control field value. If not, the startup of the business node to be started is prohibited. Otherwise, the business node to be started is started. After starting the business node to be started, the node transaction type of the business node to be started is set to "start transaction", and the node transaction output status is set to "start status". At the same time, the startup time of the business node to be started, that is, the node transaction timestamp, is obtained. Finally, the business node identification, node transaction type, node transaction output status, the latest node transaction output status of the predecessor business node, the business node startup control field value, and the node transaction timestamp of the business node to be started are written into the account book of the business chain where the business node is located. For example, when the output status of the preceding business node is the ending status, and the start control field value is started on May 27, 2023, the preset business node start condition is: the output status of the preceding business node is the ending status, and the start control field value is May 27, 2023, then it can be determined that the output status of the preceding business node and the start control field value meet the preset business node start condition, and the start control is performed on the business node to be started. During the startup process, the startup process information of the business node to be started is obtained in real time, such as the node transaction output status, node transaction type, start time (node ​​transaction timestamp), the latest node transaction output status of the preceding business node, and the business node startup control process information of the business node startup control field value are stored in the business chain to which the business node to be started belongs through idle cross-chain routing, so as to facilitate trusted query of the startup control process information.

[0106] 205. Based on the business node control information of each target business node, perform execution control on each target business node, obtain execution control process information for executing business flow control on each target business node, and link each execution control process information to the business chain to which the corresponding target business node belongs through a cross-chain route.

[0107] For the embodiment of the present invention, if the business node execution control information about the target business node sent by the business system is received, it is necessary to perform execution control on the target business node according to the node execution control information of the target business node in the business control chain. Based on this, step 205 specifically includes: taking any target business node in each of the target business nodes as a business node to be executed, responding to the execution signal of the business node to be executed, and based on the node identifier of the business node to be executed, obtaining the latest node transaction output status of the business node to be executed in the business chain to which the business node to be executed belongs; judging whether the latest node transaction output status of the business node to be executed is the startup state, and if so, executing the the business node to be executed, otherwise, the execution of the business node to be executed is prohibited; when executing the business node to be executed, the node transaction type of the business node to be executed is set to the execution transaction and the node transaction output state is set to the execution state, and based on the node evidence control field of the business node to be executed, the business node evidence control field value of the business node to be executed during the execution process and the execution transaction timestamp of the business node to be executed are obtained; the node identifier of the business node to be executed, the node transaction type, the node transaction output state, the business node evidence control field value, and the execution transaction timestamp are linked to the business chain to which the business node to be executed belongs through the cross-chain route.

[0108] Specifically, taking a target business node in a business system as a business node to be executed as an example, when an execution signal regarding the business node to be executed sent by the business system is received, the business node identifier of the business node to be executed is obtained, and based on the node identifier, the business chain where the business node to be executed is located is queried to obtain the latest node transaction output status of the business node to be executed (the node transaction timestamp is the latest). If the latest node transaction output status of the business node to be executed is not "started", the execution of the business node to be executed is prohibited. If the latest node transaction output status of the business node to be executed is "started", the business control chain is queried based on the business node identifier to obtain Get the business node control information corresponding to the business node identifier, including the business node evidence control field information. If the business node evidence control field is not controlled, obtain the business node evidence control field value based on the obtained business node evidence control field information, set the node transaction type of the business node to be executed to "execution transaction", set the node transaction output status to "execution status", and obtain the node transaction timestamp. Finally, write the business node execution information including the business node identifier, node transaction type, node transaction output status, business node evidence control field value, and node transaction timestamp into the account book of the business chain where the business node is located, so as to facilitate trusted query of execution control process information.

[0109] 206. Based on the business node control information of each target business node, perform end control on each target business node, obtain end control process information of the target business node for ending business flow control, and link each end control process information to the business chain to which the corresponding target business node belongs through a cross-chain route.

[0110] For the embodiment of the present invention, if the service node termination control information about the target service node sent by the service system is received, it is necessary to perform termination control on the target service node according to the node termination control information of the target service node in the service control chain. Based on this, step 206 specifically includes: taking any target service node in each of the target service nodes as a service node to be terminated, and in response to the termination signal of the service node to be terminated, obtaining the latest node transaction output status of the service node to be terminated in the service chain to which the service node to be terminated belongs based on the node identifier of the service node to be terminated; judging whether the latest node transaction output status of the service node to be terminated is an execution state, if not, prohibiting the termination of the service node to be terminated; if so, obtaining the service node evidence control field value of the node transaction output status of the service node to be terminated in the service chain to which the service node to be terminated belongs as an execution state, and determining the service node termination control field value corresponding to the service node to be terminated in the service node control information; control field and preset business node termination condition; based on the business node termination control field corresponding to the business node to be terminated, obtain the business node termination control field value of the business node to be terminated; based on the business node evidence control field value and the business node termination control field value of the business node to be terminated, judge whether the business node to be terminated meets the preset business node termination condition of the node termination; if it meets, terminate the business node to be terminated, otherwise, prohibit the termination of the business node to be terminated; when terminating the business node to be terminated, set the node transaction type of the business node to be terminated to the termination transaction and set the node transaction output state to the termination state, and obtain the termination transaction timestamp of the business node to be terminated; link the node identifier of the business node to be terminated, the node transaction type, the node transaction output state, the business node evidence control field value, the business node termination control field value, and the termination transaction timestamp to the business chain to which the business node to be terminated belongs through the cross-chain routing.

[0111] Specifically, the preset service node termination condition is set according to actual needs. Specifically, taking a target service node in a service system as the service node to be terminated as an example, when receiving the termination signal sent by the service system regarding the service node to be terminated, the service node identification of the service node to be terminated is obtained, and based on the node identification, the service chain where the service node to be terminated is located is queried, and the latest node transaction output status (the latest node transaction timestamp) of the service node to be terminated is obtained. If the latest node transaction output status of the service node to be terminated is not "execution status", termination control of the service node to be terminated is prohibited. If the latest node transaction output status of the service node to be terminated is "execution status", the service control chain is queried based on the service node identification, and the service node control information related to the termination control corresponding to the service node identification is obtained, including the service node evidence control field, the service node termination control field, and the preset service node termination condition; if the service node evidence control field is not empty, the service chain where the service node is located is queried based on the service node identification, and the node transaction is obtained. Output the value of the business node evidence control field with the status of "execution status"; if the business node end control field is not empty, then obtain the value of the business node end control field according to the business node end control field; if the business node end condition is empty, then determine whether the business node to be ended meets the preset business node end condition; otherwise, determine whether the business node to be ended meets the preset business node end condition according to the obtained business node evidence control field value and the business node end control field value. If the preset business node end condition is met, then perform end control on the business node to be ended. During the end control process, set the node transaction type of the business node to be ended to "end transaction", set the node transaction output status to "end status", obtain the node transaction timestamp, and finally write the business node end information including the business node identifier, node transaction type, node transaction output status, business node evidence control field value, business node end control field value, and node transaction timestamp into the account book of the business chain where the business node to be ended is located. This allows for trusted query of node end control process information. For example, if the business node to be ended is in the execution state, the business node evidence control field value is May 15, 2023, the business node end control field value is: Dongying City, Shandong Province, and the preset business node end condition is: the business node evidence control field value is May 15, 2023, and the business node end control field value is: Zibo City, Shandong Province, then it is determined that the business node to be ended does not meet the preset business node end condition for the node end. At this time, it is prohibited to perform end control on the business node to be ended. When the end control field value of the business node to be ended is processed as Zibo City, Shandong Province, the business node to be ended is end controlled.

[0112] In summary, the embodiments of the present invention implement the control process of the business node through various judgment conditions. When there is a strong temporal correlation between the business nodes, the trusted process control of the business node is an important basis for achieving quality tracking in the business scenario. By constructing a multi-chain control network for full business process control, it supports the trusted control of the business process and the trusted storage and efficient use of the control process information, providing convenience for multi-party collaborative business process control in complex scenarios. At the same time, writing the process information of each control process of the business node into the business chain can realize the trusted storage and trusted query of the control process information of the business node.

[0113] Furthermore, in order to perform node information query in a multi-chain control network, the method also includes: in response to an information query signal for any business node sent by any business system, determining the information query type of the arbitrary business node, and determining the target cross-chain route corresponding to the arbitrary business system in each of the cross-chain routes; if the information query type is a business node control information type, querying the business node control information of the arbitrary business node in the business control chain through the target cross-chain route; if the information query type is a business node startup information type, querying the business node startup information of the arbitrary business node in the business chain to which the arbitrary business node belongs through the target cross-chain route; if the information query type is a business node execution information type, querying the business node execution information of the arbitrary business node in the business chain to which the arbitrary business node belongs through the target cross-chain route; if the information query type is a business node end information type, querying the business node end information of the arbitrary business node in the business chain to which the arbitrary business node belongs through the target cross-chain route.

[0114] Specifically, if an information query signal about a certain business node triggered by a certain business system is received, the information query type and the business node identifier carried in the information query signal are determined, and at the same time, a target idle cross-link route corresponding to the business system is determined in each cross-link route. If the information query type is a node control information type, it is determined that the business system wants to query the node control information. At this time, the node control information of a certain business node is queried in the business control chain through the target cross-link route according to the node identifier; if the information query type is a node startup information type, it is determined that the business system wants to query the node startup process information of a certain business node. At this time, according to the node identifier The node startup process information of the business node is queried in the business chain corresponding to the business node through the target cross-chain route; if the information query type is the node execution information type, it is determined that the business system wants to query the node execution process information of a certain business node, and at this time, the node execution process information of the business node is queried in the business chain corresponding to the business node through the target cross-chain route according to the node identifier; if the information query type is the node end information type, it is determined that the business system wants to query the node end process information of a certain business node, and at this time, the node end process information of the business node is queried in the business chain corresponding to the business node through the target cross-chain route according to the node identifier. Therefore, the embodiment of the present invention effectively supports the trusted storage and trusted query of the control information related to the whole process of registration, startup, execution, and termination of the business node by constructing a business node control information structure based on a multi-chain control network, realizes the trustworthiness of business process control information and the controllability of business node processing process in complex scenarios of multi-party collaboration, and meets the dual needs of information sharing and data security and privacy protection of business process control related parties, and provides technical support for the construction of a multi-party collaborative complex business process control system and the realization of trusted management and application of business full process control information.

[0115] According to another blockchain-based business process control method provided by the present invention, compared with the current way of realizing business process control through single-chain mode blockchain technology, the present invention constructs a multi-chain control network consisting of a business control chain, multiple business chains, cross-chain routing and multiple business systems, and registers the business node control information under the complex business process into the business control chain. When it is necessary to control a complex business process of multi-party collaboration (multiple business systems), the complex business nodes of the multi-party collaboration are directly controlled through the cross-chain routing based on the business node control information in the business control chain, and the control process information is stored in the business chain corresponding to the corresponding business node. Therefore, the present invention can realize trusted control of complex business processes of multi-party collaboration in complex business scenarios through the multi-chain control network, can realize collaborative control of multiple business processes, and improve the control efficiency and accuracy of business processes.

[0116] Further, as Figure 1The specific implementation of the present invention provides a business process control device based on blockchain, such as Figure 7 As shown, the device includes: a construction unit 31, a link unit 32, a query unit 33, and a control unit 34.

[0117] The construction unit 31 can be used to construct a multi-chain control network corresponding to multiple business processes in a target business scenario, wherein the multi-chain control network includes a business control chain, multiple business chains, cross-chain routing, and a business system corresponding to each of the business processes.

[0118] The uplink unit 32 may be used to collect the service node control information under the corresponding service process through each of the service systems, and uplink the service node control information to the service control chain through the cross-chain routing using the service node registration process.

[0119] The query unit 33 can be used to respond to the control information query signal of the target service node in each of the service systems, determine the service chain to which each of the target service nodes belongs in the service node control information on the service control chain, and query the service node control information of each of the target service nodes on the service control chain.

[0120] The control unit 34 can be used to perform business process control on each target business node based on the business node control information of each target business node, obtain control process information for performing business process control on each target business node, and link each control process information to the business chain to which the corresponding target business node belongs through the cross-chain route.

[0121] In a specific application scenario, in order to link the service node control information to the service control chain, the link unit 32 includes: a generation module 321 and a link module 322 .

[0122] The generation module 321 can be used to generate the node identification of the business node under the corresponding business process through each of the business systems, set the node transaction type of the business node, the node transaction output status, the node transaction timestamp, the preceding business node information, the business node start control field, the business node start condition, the business node evidence control field, the business node end control field, and the business node end condition.

[0123] The uplink module 322 can be used to utilize the business node registration process to link the node identifier, the node transaction type, the node transaction output status, the node transaction timestamp, the preceding business node information, the business node start control field, the business node start condition, the business node evidence control field, the business node end control field, and the business node end condition to the business control chain through the cross-chain routing.

[0124] In a specific application scenario, in order to perform service flow control on each target service node, the control unit 34 includes: a start control module 341 , an execution control module 342 and an end control module 343 .

[0125] The startup control module 341 may be used to perform startup control on each target service node based on the service node control information of each target service node.

[0126] The execution control module 342 may be configured to perform execution control on each target service node based on the service node control information of each target service node.

[0127] The termination control module 343 may be configured to perform termination control on each target service node based on the service node control information of each target service node.

[0128] The startup control module 341 may also be used to obtain startup control process information for starting a service flow control for each target service node, and link each startup control process information to the service chain to which the corresponding target service node belongs through the cross-chain routing.

[0129] The execution control module 342 may also be used to obtain execution control process information for executing business flow control on each target business node, and link each execution control process information to the business chain to which the corresponding target business node belongs through the cross-chain routing.

[0130] The end control module 343 may also be used to obtain the end control process information of the target service node for ending service flow control, and link each end control process information to the service chain to which the corresponding target service node belongs through the cross-chain routing.

[0131] In a specific application scenario, in order to perform startup control on each target service node, the startup control module 341 can be specifically used to take any target service node in each of the target service nodes as a service node to be started, and in response to a startup signal of the service node to be started, based on the node identifier of the service node to be started, determine whether there is a latest node transaction output status of the service node to be started in the service chain to which the service node to be started belongs; if so, it is determined that the service node to be started exists on the service chain, and the startup of the service node to be started is prohibited; otherwise, the preceding service node information, the service node startup control field, and the preset service node startup condition of the service node to be started are determined in the service node control information; based on the preceding service node information of the service node to be started, the latest node transaction output status of the preceding service node of the service node to be started is obtained, and based on the service node startup control field of the service node to be started, the service node to be started is obtained. the service node startup control field value of the point; based on the latest node transaction output status of the preceding service node and the service node startup control field value, judging whether the service node to be started meets the preset service node startup condition for node startup; if it meets, starting the service node to be started, otherwise, prohibiting starting the service node to be started; when starting the service node to be started, setting the node transaction type of the service node to be started as a startup transaction and setting the node transaction output state as a startup state, and obtaining the startup transaction timestamp of the service node to be started; the linking of each of the startup control process information to the service chain to which the corresponding target service node belongs through the cross-chain routing includes: linking the node identifier of the service node to be started, the node transaction type, the node transaction output state, the latest node transaction output state of the preceding service node, the service node startup control field value, and the startup transaction timestamp to the service chain to which the service node to be started belongs through the cross-chain routing.

[0132] In a specific application scenario, in order to perform execution control on each target business node, the execution control module 342 can be specifically used to take any target business node in each of the target business nodes as a business node to be executed, and in response to the execution signal of the business node to be executed, based on the node identifier of the business node to be executed, obtain the latest node transaction output status of the business node to be executed in the business chain to which the business node to be executed belongs; determine whether the latest node transaction output status of the business node to be executed is a startup state, and if so, execute the business node to be executed, otherwise, prohibit the execution of the business node to be executed. ; When executing the business node to be executed, set the node transaction type of the business node to be executed to the execution transaction and set the node transaction output state to the execution state, and based on the node evidence control field of the business node to be executed, obtain the business node evidence control field value of the business node to be executed during the execution process and obtain the execution transaction timestamp of the business node to be executed; the node identifier of the business node to be executed, the node transaction type, the node transaction output state, the business node evidence control field value, and the execution transaction timestamp are linked to the business chain to which the business node to be executed belongs through the cross-chain route.

[0133] In a specific application scenario, in order to perform termination control on each target service node, the termination control module 343 can be specifically used to take any target service node in each of the target service nodes as a service node to be terminated, and in response to the termination signal of the service node to be terminated, based on the node identifier of the service node to be terminated, obtain the latest node transaction output status of the service node to be terminated in the service chain to which the service node to be terminated belongs; determine whether the latest node transaction output status of the service node to be terminated is an execution state, if not, prohibit the termination of the service node to be terminated, if so, obtain the service node evidence control field value of the node transaction output status of the service node to be terminated in the service chain to which the service node to be terminated is an execution state, and determine the service node termination control field and preset service node termination condition corresponding to the service node to be terminated in the service node control information; based on the service node to be terminated point, obtain the business node end control field value of the business node to be ended; based on the business node evidence control field value and the business node end control field value of the business node to be ended, determine whether the business node to be ended meets the preset business node end condition for node end; if yes, end the business node to be ended, otherwise, prohibit ending the business node to be ended; when ending the business node to be ended, set the node transaction type of the business node to be ended to the end transaction and set the node transaction output state to the end state, and obtain the end transaction timestamp of the business node to be ended; the node identifier of the business node to be ended, the node transaction type, the node transaction output state, the business node evidence control field value, the business node end control field value, and the end transaction timestamp are linked to the business chain to which the business node to be ended belongs through the cross-chain route.

[0134] In a specific application scenario, in order to query information in a multi-chain control network, the device further includes: a determination unit 35 and a query unit 36.

[0135] The determination unit 35 may be configured to determine the information query type of any service node in response to an information query signal sent by any service system for any service node, and determine a target cross-link route corresponding to the any service system in each cross-link route.

[0136] The query unit 36 ​​may be configured to query the service node control information of any service node in the service control chain through the target cross-link routing if the information query type is a service node control information type.

[0137] The query unit 36 ​​may also be configured to query the service node startup information of any service node in the service chain to which the any service node belongs through the target cross-link routing if the information query type is a service node startup information type.

[0138] The query unit 36 ​​may also be configured to query the service node execution information of any service node in the service chain to which the any service node belongs through the target cross-link routing if the information query type is a service node execution information type.

[0139] The query unit 36 ​​may also be configured to query the service node end information of any service node in the service chain to which the any service node belongs through the target cross-chain routing if the information query type is a service node end information type.

[0140] It should be noted that for other corresponding descriptions of the functional modules involved in the business process control device based on blockchain provided in the embodiment of the present invention, please refer to Figure 1 The corresponding description of the method shown will not be repeated here.

[0141] Based on the above Figure 1 The method shown, accordingly, an embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the following steps are implemented: constructing a multi-chain control network corresponding to multiple business processes in a target business scenario, wherein the multi-chain control network includes a business control chain, multiple business chains, a cross-chain route, and a business system corresponding to each of the business processes; collecting business node control information under the corresponding business process through each of the business systems, and using the business node registration process to link the business node control information to the business control chain through the cross-chain route; in response to a control information query signal of the target business node in each of the business systems, determining the business chain to which each of the target business nodes belongs in the business node control information on the business control chain, and querying the business node control information of each of the target business nodes on the business control chain; based on the business node control information of each of the target business nodes, performing business process control on each of the target business nodes, obtaining control process information for performing business process control on each of the target business nodes, and linking each of the control process information to the business chain to which the corresponding target business node belongs through the cross-chain route.

[0142] Based on the above Figure 1 The method shown and Figure 7 The embodiment of the device shown in the figure, the embodiment of the present invention also provides a physical structure diagram of a computer device, such as Figure 8As shown, the computer device includes: a processor 41, a memory 42, and a computer program stored in the memory 42 and executable on the processor, wherein the memory 42 and the processor 41 are both arranged on a bus 43 and the processor 41 implements the following steps when executing the program: constructing a multi-chain control network corresponding to multiple business processes under a target business scenario, wherein the multi-chain control network includes a business control chain, multiple business chains, cross-chain routing, and a business system corresponding to each of the business processes; collecting business node control information under the corresponding business process through each of the business systems, and using the business node registration process to register the business node control information through the cross-chain routing; The link is linked up to the business control chain; in response to the control information query signal of the target business node in each of the business systems, the business chain to which each of the target business nodes belongs is determined in the business node control information on the business control chain, and the business node control information of each of the target business nodes is queried on the business control chain; based on the business node control information of each of the target business nodes, business process control is performed on each of the target business nodes, control process information for performing business process control on each of the target business nodes is obtained, and each of the control process information is linked up to the business chain to which the corresponding target business node belongs through the cross-link route.

[0143] Through the technical solution of the present invention, compared with the way in which the blockchain technology in a single-chain mode is used to realize the control of business processes, the present invention constructs a multi-chain control network consisting of a business control chain, multiple business chains, cross-chain routing and multiple business systems, and registers the business node control information under the complex business process in the business control chain. When it is necessary to control the complex business process of multi-party collaboration (multiple business systems), the complex business nodes of the multi-party collaboration are directly controlled through the cross-chain routing based on the business node control information in the business control chain, and the control process information is stored in the business chain corresponding to the corresponding business node. Therefore, the present invention can realize the trusted control of the complex business process of multi-party collaboration in complex business scenarios through the multi-chain control network, and can realize the collaborative control of multiple business processes, thereby improving the control efficiency and control accuracy of the business process.

[0144] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0145] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A business process control method based on blockchain, characterized in that: include: Construct a multi-chain control network corresponding to multiple business processes in the target business scenario, wherein the multi-chain control network includes a business control chain, multiple business chains, cross-chain routing, and a business system corresponding to each of the business processes; The service node control information under the corresponding service process is collected through each of the service systems, and the service node control information is linked to the service control chain through the cross-chain routing by using the service node registration process; In response to a control information query signal of a target service node in each of the service systems, determining the service chain to which each of the target service nodes belongs in the service node control information on the service control chain, and querying the service node control information of each of the target service nodes on the service control chain; Based on the business node control information of each target business node, business process control is performed on each target business node, control process information for business process control of each target business node is obtained, and each control process information is linked to the business chain to which the corresponding target business node belongs through the cross-chain route.

2. The method according to claim 1, characterized in that The collecting of the service node control information under the corresponding service process through each of the service systems, and uplinking the service node control information to the service control chain through the cross-chain routing using the service node registration process, includes: Generate a node identifier of a business node under a corresponding business process through each of the business systems, set the node transaction type of the business node, the node transaction output status, the node transaction timestamp, the preceding business node information, the business node start control field, the business node start condition, the business node evidence control field, the business node end control field, and the business node end condition; The business node registration process is used to upload the node identifier, the node transaction type, the node transaction output status, the node transaction timestamp, the preceding business node information, the business node startup control field, the business node startup condition, the business node evidence control field, the business node end control field, and the business node end condition to the business control chain through the cross-chain routing.

3. The method according to claim 1, characterized in that The performing service flow control on each target service node based on the service node control information of each target service node includes: Based on the service node control information of each target service node, start control of each target service node; Based on the service node control information of each target service node, performing execution control on each target service node; Based on the service node control information of each target service node, performing termination control on each target service node; The acquiring control process information of the business process control for each target business node, and uplinking each control process information to the business chain to which the corresponding target business node belongs through the cross-chain routing, includes: Acquire startup control process information for starting service flow control for each target service node, and link each startup control process information to the service chain to which the corresponding target service node belongs through the cross-chain routing; Acquire execution control process information for executing service flow control on each target service node, and link each execution control process information to the service chain to which the corresponding target service node belongs through the cross-chain routing; The end control process information of the target service node for ending the service flow control is obtained, and each end control process information is linked to the service chain to which the corresponding target service node belongs through the cross-chain route.

4. The method according to claim 3, characterized in that The starting control of each target service node based on the service node control information of each target service node includes: Taking any target service node in each of the target service nodes as a service node to be started, responding to a start signal of the service node to be started, judging whether there is a latest node transaction output state of the service node to be started in the service chain to which the service node to be started belongs based on the node identifier of the service node to be started; if so, determining that the service node to be started exists on the service chain, and prohibiting the start of the service node to be started; otherwise, determining the pre-service node information, service node start control field, and preset service node start condition of the service node to be started in the service node control information; Based on the preceding service node information of the service node to be started, the latest node transaction output status of the preceding service node of the service node to be started is obtained, and based on the service node start control field of the service node to be started, the service node start control field value of the service node to be started is obtained; Based on the latest node transaction output status of the preceding service node and the service node startup control field value, determining whether the service node to be started meets the preset service node startup condition for node startup; If it is in compliance, the service node to be started is started; otherwise, starting the service node to be started is prohibited; When starting the service node to be started, setting the node transaction type of the service node to be started as a start transaction and setting the node transaction output state as a start state, and obtaining the start transaction timestamp of the service node to be started; The step of uplinking each of the startup control process information to the service chain to which the corresponding target service node belongs through the cross-chain route includes: The node identifier of the service node to be started, the node transaction type, the node transaction output status, the latest node transaction output status of the preceding service node, the service node startup control field value, and the startup transaction timestamp are linked to the service chain to which the service node to be started belongs through the cross-chain routing.

5. The method according to claim 3, characterized in that: The performing execution control on each of the target service nodes based on the service node control information of each of the target service nodes includes: Taking any target service node among each of the target service nodes as a service node to be executed, and in response to an execution signal of the service node to be executed, acquiring the latest node transaction output status of the service node to be executed in the service chain to which the service node to be executed belongs based on the node identifier of the service node to be executed; Determine whether the latest node transaction output state of the service node to be executed is in the start state, if so, execute the service node to be executed, otherwise, prohibit the execution of the service node to be executed; When executing the service node to be executed, setting the node transaction type of the service node to be executed as an execution transaction and setting the node transaction output state as an execution state, and obtaining the service node evidence control field value of the service node to be executed during the execution process and obtaining the execution transaction timestamp of the service node to be executed based on the node evidence control field of the service node to be executed; The step of uplinking each of the execution control process information to the service chain to which the corresponding target service node belongs through the cross-chain route includes: The node identifier of the to-be-executed business node, the node transaction type, the node transaction output status, the business node evidence control field value, and the execution transaction timestamp are uploaded to the business chain to which the to-be-executed business node belongs through the cross-chain routing.

6. The method according to claim 3, characterized in that The performing termination control on each of the target service nodes based on the service node control information of each of the target service nodes includes: Taking any target service node among each of the target service nodes as a service node to be terminated, and in response to a termination signal of the service node to be terminated, acquiring the latest node transaction output status of the service node to be terminated in the service chain to which the service node to be terminated belongs based on the node identifier of the service node to be terminated; Determine whether the latest node transaction output status of the service node to be terminated is in the execution status. If not, prohibit the termination of the service node to be terminated. If yes, obtain the service node evidence control field value of the service node to be terminated in the service chain to which the service node to be terminated belongs, and determine the service node termination control field and the preset service node termination condition corresponding to the service node to be terminated in the service node control information; Based on the service node end control field corresponding to the service node to be ended, acquiring the service node end control field value of the service node to be ended; Based on the service node evidence control field value and the service node termination control field value of the service node to be terminated, determining whether the service node to be terminated meets the preset service node termination condition for node termination; If it is in compliance, then the service node to be terminated is terminated; otherwise, the service node to be terminated is prohibited; When the service node to be terminated is terminated, the node transaction type of the service node to be terminated is set to the terminated transaction, the node transaction output state is set to the terminated state, and the terminated transaction timestamp of the service node to be terminated is obtained; The step of uplinking each of the end control process information to the service chain to which the corresponding target service node belongs through the cross-chain route includes: The node identifier of the to-be-ended business node, the node transaction type, the node transaction output status, the business node evidence control field value, the business node end control field value, and the end transaction timestamp are uploaded to the business chain to which the to-be-ended business node belongs through the cross-chain routing.

7. The method according to claim 1, characterized in that The method further comprises: In response to an information query signal for any service node sent by any service system, determine the information query type of the any service node, and determine a target cross-link route corresponding to the any service system in each cross-link route; If the information query type is a service node control information type, querying the service node control information of any service node in the service control chain through the target cross-link routing; If the information query type is a service node startup information type, querying the service node startup information of any service node in the service chain to which the any service node belongs through the target cross-chain routing; If the information query type is a service node execution information type, querying the service node execution information of any service node in the service chain to which the any service node belongs through the target cross-chain routing; If the information query type is a service node end information type, the service node end information of any service node is queried in the service chain to which the any service node belongs through the target cross-chain routing.

8. A business process control device based on blockchain, characterized in that: include: A construction unit, used to construct a multi-chain control network corresponding to multiple business processes in a target business scenario, wherein the multi-chain control network includes a business control chain, multiple business chains, cross-chain routing, and a business system corresponding to each of the business processes; An uplink unit, used for collecting the service node control information under the corresponding service process through each of the service systems, and uplinking the service node control information to the service control chain through the cross-chain routing by using the service node registration process; A query unit, configured to respond to a control information query signal of a target service node in each of the service systems, determine the service chain to which each of the target service nodes belongs in the service node control information on the service control chain, and query the service node control information of each of the target service nodes on the service control chain; A control unit is used to perform business process control on each target business node based on the business node control information of each target business node, obtain control process information for performing business process control on each target business node, and link each control process information to the business chain to which the corresponding target business node belongs through the cross-chain route.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.