Business supervision method and device based on blockchain
By introducing business card points and real-time supervision mechanisms on the blockchain, the problem of lack of timeliness in smart contract supervision is solved, and efficient supervision and business processes are achieved.
Patent Information
- Application Number
- CN202310216697.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-01
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2043-03-01
AI Technical Summary
In the prior art, the regulatory methods of smart contracts lack timeliness, resulting in low supervision efficiency and a large amount of time cost, and the real-time supervision of business contracts cannot be achieved.
By introducing business card points on the blockchain, when the business node runs to the target business card point in the business contract, it sends a business card point operation notification to the supervisory node. The supervisory node supervises the target business card point in real time and sends a supervision pass notification when passing, allowing the business node to continue to run the business contract.
Real-time supervision of business contracts is realized, supervision efficiency is improved, time cost waste caused by post-supervision is saved, and business processes and regulatory processes are deeply integrated.
Smart Images

Figure CN116232943B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of this specification relate to the field of blockchain technology, and in particular to a business supervision method based on blockchain. Background Art
[0002] Smart contracts are computer protocols that transmit, verify or execute contracts in an information-based manner. They can express the business logic of multi-party collaboration and the agreements that all parties must abide by in code, and advance business processes by running smart contracts. Introducing smart contracts on the blockchain can achieve sharing and autonomy of smart contracts.
[0003] However, in order to ensure the compliance and security of smart contracts, the business party usually needs to periodically report the smart contracts to the regulator. The regulator analyzes the smart contracts reported by the business party to identify whether there are risks. This regulatory method can only achieve post-event accountability and lacks timeliness. In addition, this post-event regulatory method will waste a lot of time and cost, and the regulatory efficiency is low. Therefore, an effective technical solution is urgently needed to solve the above problems. Summary of the invention
[0004] In view of this, the embodiments of this specification provide a business supervision method based on blockchain. One or more embodiments of this specification also involve a business supervision device based on blockchain, a business supervision system based on blockchain, a computing device, a computer-readable storage medium and a computer program to solve the technical defects existing in the prior art.
[0005] According to a first aspect of an embodiment of this specification, a blockchain-based business supervision method is provided, which is applied to a supervision node of a blockchain, wherein the blockchain also includes a business node, and the method includes:
[0006] In response to a service card point operation notification sent by the service node, determining a target service card point corresponding to the service card point information according to the service card point information carried in the service card point operation notification, wherein the service card point operation notification is sent by the service node when the service node operates to the target service card point included in the service contract;
[0007] The target service checkpoint is supervised, and when it is determined that the supervision result is passed, a supervision pass notification is sent to the service node, wherein the supervision pass notification is used to instruct the service node to continue running the service contract.
[0008] According to a second aspect of an embodiment of this specification, a blockchain-based business supervision device is provided, which is applied to a supervision node of a blockchain, wherein the blockchain also includes a business node, and the device includes:
[0009] a determination module configured to respond to a service card point operation notification sent by the service node, and determine a target service card point corresponding to the service card point information according to the service card point information carried in the service card point operation notification, wherein the service card point operation notification is sent by the service node when the service node operates to the target service card point included in the service contract;
[0010] The supervision module is configured to supervise the target service checkpoint, and when it is determined that the supervision result is passed, send a supervision pass notification to the service node, wherein the supervision pass notification is used to instruct the service node to continue running the service contract.
[0011] According to a third aspect of the embodiments of this specification, a business supervision system based on blockchain is provided, the system comprising a business node and a supervision node deployed on the blockchain, wherein:
[0012] The service node is configured to, in response to a service request, determine a service contract corresponding to the service request, run the service contract, and send a service card point running notification to the supervision node when running to a target service card point included in the service contract;
[0013] The supervision node is configured to respond to the service card point operation notification, determine the target service card point corresponding to the service card point information according to the service card point information carried in the service card point operation notification, supervise the target service card point, and send a supervision pass notification to the service node when determining that the supervision result is passed;
[0014] The business node is further configured to continue running the business contract in response to the supervision approval notification.
[0015] According to a fourth aspect of an embodiment of this specification, a computing device is provided, including:
[0016] Memory and processor;
[0017] The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the above method are implemented.
[0018] According to a fifth aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores computer-executable instructions, and the instructions implement the steps of the above method when executed by a processor.
[0019] According to a sixth aspect of the embodiments of this specification, a computer program is provided, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above method.
[0020] An embodiment of the present specification provides a blockchain-based business supervision method, which is applied to a supervision node of a blockchain, wherein the blockchain also includes a business node, responding to a business card point operation notification sent by the business node, and determining a target business card point corresponding to the business card point information according to the business card point information carried in the business card point operation notification, wherein the business card point operation notification is sent when the business node runs to the target business card point included in the business contract; supervising the target business card point, and sending a supervision pass notification to the business node when it is determined that the supervision result is passed, wherein the supervision pass notification is used to instruct the business node to continue running the business contract.
[0021] The above method sets a business checkpoint in the business contract. When the business node runs to the business checkpoint included in the business contract, the business checkpoint operation notification is sent to the supervision node. The supervision node responds to the business checkpoint operation notification to supervise the business checkpoint. When the supervision result is passed, a notification is sent to the business node to instruct the business node to continue running the business contract. Only then can the business continue to advance, thereby realizing real-time supervision of the business checkpoints during the operation of the business contract, ensuring the real-time and mandatory nature of the supervision of the business contract, thereby saving the waste of time costs caused by ex post supervision, realizing the deep integration of business processes and supervision processes, and thus improving supervision efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 This is a schematic diagram of an application scenario of a blockchain-based business supervision method provided by an embodiment of this specification;
[0023] Figure 2 This is a flowchart of a blockchain-based business supervision method provided by an embodiment of this specification;
[0024] Figure 3 It is a schematic diagram of a blockchain in a blockchain-based business supervision method provided by an embodiment of this specification;
[0025] Figure 4 It is a process flow chart of a blockchain-based business supervision method provided by an embodiment of this specification;
[0026] Figure 5 This is a schematic diagram of the structure of a blockchain-based business supervision device provided by an embodiment of this specification;
[0027] Figure 6 This is a schematic diagram of the structure of a blockchain-based business supervision system provided by an embodiment of this specification;
[0028] Figure 7 It is a structural block diagram of a computing device provided by an embodiment of this specification. DETAILED DESCRIPTION
[0029] Many specific details are described in the following description to facilitate a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of this specification, so this specification is not limited to the specific implementation disclosed below.
[0030] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.
[0031] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0032] First, the terms involved in one or more embodiments of this specification are explained.
[0033] Blockchain: It is a chain of blocks. Each block stores certain information, and they are connected into a chain in the order of their generation. This chain is stored in all servers. As long as there is one server in the entire system that can work, the entire blockchain is safe. These servers are called nodes in the blockchain system, and they provide storage space and computing power support for the entire blockchain system. If you want to modify the information in the blockchain, you must obtain the consent of more than half of the nodes and modify the information in all nodes. These nodes are usually in the hands of different entities, so it is extremely difficult to tamper with the information in the blockchain. Compared with traditional networks, blockchain has two core characteristics: one is that data is difficult to tamper with, and the other is decentralization. Based on these two characteristics, the information recorded in the blockchain is more authentic and reliable, which can help solve the problem of people's distrust.
[0034] Smart Contract: A computer protocol designed to communicate, verify or execute contracts in an information-based manner. Smart contracts allow for trusted transactions without a third party that are traceable and irreversible. The purpose of smart contracts is to provide security methods superior to traditional contracts and reduce other transaction costs associated with contracts.
[0035] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of this specification are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0036] In this specification, a blockchain-based business supervision method is provided. This specification also involves a blockchain-based business supervision device, a blockchain-based business supervision system, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.
[0037] See also Figure 1 , Figure 1 A schematic diagram of an application scenario of a blockchain-based business supervision method provided according to an embodiment of the present specification is shown.
[0038] like Figure 1 As shown, Figure 1 The system includes a client 102, a business node 104 and a regulatory node 106 deployed on the blockchain. The business node 104 implements the business process by running the business contract on the blockchain, and the regulatory node 106 implements the regulatory process by running the regulatory contract on the blockchain. Under the blockchain, the business organization corresponding to the business node 104 processes the business process, and the regulatory agency corresponding to the regulatory node 106 supervises the business process.
[0039] In the specific implementation, the business node 104 is a bank and the regulatory node 106 is the China Banking and Insurance Regulatory Commission. The user initiates a transfer business request to the bank through the client 102. The bank responds to the transfer business request and runs the transfer business contract corresponding to the transfer business request on the blockchain. When running to the target business card point "user identity information verification" included in the transfer business contract, the bank sends a business card point operation notification to the China Banking and Insurance Regulatory Commission. In response to the business card point operation notification, the China Banking and Insurance Regulatory Commission determines the target regulatory rule "need to verify the identity information of the transferor and the transferee" corresponding to the target business card point "user identity information verification", and determines the target regulatory contract corresponding to the target regulatory rule, runs the target regulatory contract, and realizes the supervision of the target business card point. When the operation process of the target business card point meets the target regulatory rule, it means that the supervision is passed, and a supervision pass notification is sent to the bank. In response to the supervision pass notification, the bank continues to run the transfer business contract. It can achieve the deep integration of business processes and regulatory processes, and ensure the real-time supervision of business contracts.
[0040] See also Figure 2 , Figure 2 A flowchart of a blockchain-based business supervision method provided according to an embodiment of the present specification is shown. The method is applied to a supervision node of a blockchain, and the blockchain also includes a business node, and specifically includes the following steps.
[0041] Step 202: In response to the service card point operation notification sent by the service node, determine the target service card point corresponding to the service card point information according to the service card point information carried in the service card point operation notification, wherein the service card point operation notification is sent when the service node runs to the target service card point included in the service contract.
[0042] Specifically, the blockchain-based business supervision method provided in the embodiments of this specification can be applied to financial scenarios, and can also be applied to any other scenarios that require business supervision, such as medical scenarios, product production scenarios, food safety scenarios, and education and training scenarios. For example, in a product production scenario, a smart contract can be created based on the product production process, and the blockchain-based business supervision method can be used to monitor the compliance of the product production process in real time, thereby achieving supervision of the quality of the products produced.
[0043] For ease of understanding, the embodiments of this specification are described in detail using the blockchain-based business supervision method applied to financial scenarios as an example, but this does not affect the implementation of the blockchain-based business supervision method in other feasible scenarios.
[0044] Among them, the business node can be understood as the node of the business party on the blockchain, which is also the regulated party. It conducts business for users off-chain, such as banks and factoring companies that conduct financial business for users. These business parties need to abide by specific rules when conducting business. The supervision node can be understood as the node of the regulator on the blockchain. It belongs to the regulated party and is given the supervision power off-chain to supervise whether the business of the business party is compliant, such as the Banking and Insurance Regulatory Commission for supervising bank business processes and the Market Supervision Bureau for supervising merchant business.
[0045] It should be noted that there may be multiple business nodes deployed in the blockchain, and these multiple business nodes can supervise the business contracts through a regulatory node. That is, regulatory node 1 can be used to supervise the business contracts of multiple business nodes such as business node 1, business node 2, and business node 3. For example, for the regulatory node of the China Banking and Insurance Regulatory Commission, the business nodes may include the node of Bank A, the node of Bank B, the node of Bank C, etc.
[0046] A business contract can be understood as a smart contract created by a business party on the blockchain for the business it conducts. For example, for a bank's lending business for users, a business contract can be a smart contract created for the lending business to promote the lending business process. The business party runs the business contract on the blockchain, promotes the business process under the blockchain, and realizes the recording and evidence of the business process. A business checkpoint can be understood as the starting point of the process step with regulatory requirements in the business contract, and a target business checkpoint can be understood as any business checkpoint.
[0047] In actual applications, a business contract can be understood as a program code corresponding to a business process. For example, in a business process, one of the process steps is identity authentication. In this case, the identity authentication process step corresponds to a string of program codes in the business contract. This process step has regulatory requirements, that is, it is necessary to supervise whether the process step is compliant. When the business contract runs to the program code, it means that the business process has been executed to the identity authentication process step. The starting point of the program code is the business checkpoint of the business contract.
[0048] Then, the service card point information can be understood as information used to identify the service card point, for example, it can be a function name of the program code corresponding to the service card point, or it can be an identifier added in the program code corresponding to the service card point.
[0049] For example, the business process A carried out by the business node for users includes process steps 1, 2 and 3. Accordingly, the business contract corresponding to the business process A also includes the program code corresponding to process step 1, the program code corresponding to process step 2 and the program code corresponding to process step 3. Among them, process step 2 has a supervision requirement, so the starting point of process step 2 (that is, the starting point of the program code corresponding to process step 2) is the target business card point.
[0050] In order to advance the business process A and run the business contract, the business node sends a business card point operation notification when it runs to the starting point of the program code corresponding to process step 2. The supervision node responds to the business card point operation notification and determines that the target business card point corresponding to the business card point information 2 is the starting point of the program code corresponding to process step 2 based on the business card point information 2 carried in the business card point operation notification.
[0051] In actual applications, since the target business checkpoints with regulatory requirements are usually determined by regulatory nodes according to laws and regulations, in order to ensure the subjectivity and authority of regulatory nodes and further improve regulatory efficiency, the regulatory nodes can provide the business content information of the business checkpoints to the business nodes, so that the business nodes can create business contracts based on the business content information. The specific implementation method is as follows:
[0052] Before responding to the service card point operation notification sent by the service node, the method further includes:
[0053] According to the business supervision requirements, the business card points corresponding to the business supervision requirements are determined, and the business content information corresponding to the business card points is stored in the business contract library, wherein the business contract library is used by the business node to create a business contract according to the business contract library.
[0054] Among them, the business supervision requirements can be understood as the regulatory requirements for business checkpoints. For example, in the business process of user lending, the process step of querying user credit needs to be supervised during execution to ensure that the process of querying user credit is in compliance with the specifications. The business checkpoint corresponding to the business supervision requirements can be understood as the starting point of the process step corresponding to the business checkpoint that needs to be supervised, such as the starting point of the process step of querying user credit. The business content information corresponding to the business checkpoint can be understood as the program code corresponding to the business checkpoint, such as the program code corresponding to the process step of querying user credit. The business contract library is deployed on the blockchain. The business contract library can be used to store business content information, and the business contract library can be open to business nodes so that business nodes can obtain the required business content information in the business contract library to create business contracts.
[0055] Based on this, the starting point of the process steps corresponding to the business can be determined according to the prescribed regulatory requirements for the business checkpoints, and the program code corresponding to the process steps corresponding to the business can be stored in the business contract library.
[0056] In actual applications, the business content information corresponding to the business card point can be obtained by the supervision node from the program code library, or it can be obtained by the supervision node through manual writing, or the supervision node can use a neural network model to convert the process steps corresponding to the business card point into business content information, which is not limited in the embodiments of this specification.
[0057] For example, for the user credit inquiry process and user identity verification process that need to be supervised, the supervision node can obtain the program code corresponding to the user credit inquiry process and the program code corresponding to the user identity verification process, and store the obtained program code in the business contract library. When the business node needs to create a business contract corresponding to the user lending business, since the user lending business includes the user identity verification process and the user credit inquiry process, the program code corresponding to the user identity verification process and the program code corresponding to the user credit inquiry process can be obtained from the business contract library and used directly to create the business contract.
[0058] In addition, as regulations change, business processes may also change accordingly. Accordingly, the business content information in the business contract library can be updated regularly to ensure the validity of the business contract.
[0059] In summary, by providing business content information corresponding to business checkpoints through supervision nodes, the subjectivity of supervision nodes can be guaranteed, so that when subsequent business nodes run to business checkpoints, supervision nodes can simultaneously trigger supervision processes to ensure real-time supervision.
[0060] Step 204: supervise the target service checkpoint, and when it is determined that the supervision result is passed, send a supervision pass notification to the service node, wherein the supervision pass notification is used to instruct the service node to continue running the service contract.
[0061] Specifically, after determining the target business checkpoint, the target business checkpoint can be supervised. When the supervision result is determined to be passed, it means that the process of the target business checkpoint complies with the rules, and a supervision pass notification is sent to the business node to instruct the business node to continue running the business contract.
[0062] During specific implementation, the target supervision rules corresponding to the target business checkpoints can be determined, and the process of the target business checkpoints can be detected according to the target supervision rules to see whether they comply with the rules. The specific implementation methods are as follows:
[0063] The supervising the target service checkpoint includes:
[0064] Determining a target supervision rule corresponding to the target business card point according to the business attribute of the target business card point;
[0065] The target service checkpoint is supervised according to the target supervision rule.
[0066] Among them, the business attributes of the target business card point can be used to explain the business corresponding to the target business card point. The target supervision rules corresponding to the target business card point can be understood as the business execution rules that need to be followed when executing the business. For example, for the business content of querying user credit, its target supervision rule can be "the user credit can only be queried once for the same user within a preset time."
[0067] According to the target supervision rules, the target business checkpoints are supervised, which can be understood as whether the execution process meets the target supervision rules when executing the business corresponding to the target business checkpoint.
[0068] Continuing with the above example, the target business card point is the starting point of the program code corresponding to process step 2. Based on the business attributes of process step 2, it can be determined that the business corresponding to process step 2 is user identity authentication, and the target supervision rule corresponding to user identity authentication is that user authentication can only be performed once for the same user within 30 minutes. Based on the target supervision rule, it is verified whether the execution process of process step 2 meets the target supervision rule.
[0069] In summary, through target supervision rules, we can implement supervision on whether the business corresponding to the target business checkpoint is compliant, ensure the compliance and security of the business process, and further protect the rights and interests of users.
[0070] In specific implementation, the supervision of target business checkpoints can be achieved through smart contracts. The specific implementation methods are as follows:
[0071] The supervising the target service checkpoint according to the target supervision rule includes:
[0072] Determine, according to the target supervision rule, a target supervision contract corresponding to the target supervision rule, wherein the target supervision contract is used to supervise the target service checkpoint;
[0073] Run the target regulatory contract.
[0074] Among them, the target supervision contract can be understood as a smart contract used to supervise the target business checkpoint. It can be understood that the business contract and the supervision contract are stored on the blockchain. Specifically, the business contract can be stored in the storage unit of the business node on the blockchain, and the supervision contract can be stored in the storage unit of the supervision node on the blockchain.
[0075] Based on this, the smart contract corresponding to the target regulatory rules and used to supervise the target business checkpoints can be determined according to the target regulatory rules, and the smart contract can be run to achieve supervision of the target business checkpoints.
[0076] Continuing with the above example, we can determine the regulatory contract (i.e., program code) corresponding to the target regulatory rule that only one user verification can be performed for the same user within 30 minutes, run the program code, and detect the target business checkpoints.
[0077] In summary, by using regulatory contracts to perform supervision, labor costs can be reduced and regulatory efficiency can be improved.
[0078] In specific implementation, the regulatory contracts corresponding to various businesses can be pre-stored in the regulatory node. When determining the target regulatory contract corresponding to the target regulatory rule, the target regulatory contract can be directly obtained from the regulatory node. The specific implementation method is as follows:
[0079] Determining, according to the target supervision rule, a target supervision contract corresponding to the target supervision rule includes:
[0080] Determining, in the blockchain, a target regulatory contract corresponding to the target regulatory rule according to the identification information of the target regulatory rule;
[0081] Call the target regulatory contract.
[0082] The identification information of the target regulatory rule can be used to identify the target regulatory rule, and the identification information of the target regulatory rule can be, for example, the rule name or rule number of the target regulatory rule. In the blockchain, it can be understood as in the storage unit of the regulatory node in the blockchain.
[0083] Specifically, in the storage unit of the supervision node, a mapping relationship table between the storage addresses of the supervision rules and the supervision contracts can be stored. Based on this, the storage address of the supervision contract can be determined in the mapping relationship table according to the identification information of the target supervision rules, thereby determining the target supervision contract corresponding to the target supervision rules, and calling the target supervision contract to facilitate the subsequent operation of the target supervision contract to achieve supervision of the target business checkpoints.
[0084] In summary, by directly determining the target regulatory contract from the regulatory node, the regulatory time can be reduced and the regulatory efficiency can be improved.
[0085] In addition, when the target regulatory contract does not exist in the regulatory node, the regulatory node can also automatically create a target regulatory contract based on the target regulatory rules. Specifically, the regulatory node can use a neural network model to realize the conversion of the target regulatory rules to the target regulatory contract, or it can display the target regulatory rules on the display interface and have the regulatory personnel of the regulatory party write the target regulatory contract.
[0086] In specific implementation, in order to facilitate the subsequent call of the target supervision contract, the supervision node can obtain and store the corresponding supervision contract in advance according to the business supervision requirements. The specific implementation method is as follows:
[0087] Before responding to the service card point operation notification sent by the service node, the method further includes:
[0088] Determine the supervision rules corresponding to the business supervision requirements according to the business supervision requirements;
[0089] Obtain the regulatory contract corresponding to the regulatory rules, and store the regulatory contract in the blockchain.
[0090] Specifically, the supervision node may determine the supervision rules corresponding to the business checkpoints that need to be supervised, obtain the supervision contract corresponding to the supervision rules, and store the supervision contract in the storage unit of the supervision node.
[0091] When obtaining the regulatory contract corresponding to the regulatory rules, it can be obtained directly from the program code library, or it can be manually written, or it can be automatically written using a neural network model, etc., which is not limited in the embodiments of this specification.
[0092] In summary, by obtaining and storing the regulatory contract in advance, a data basis is provided for the subsequent calling and operation of the target regulatory contract, which facilitates direct calling when the subsequent regulatory target business is stuck, saving regulatory time.
[0093] In actual applications, as laws and regulations change, regulatory rules will also change accordingly. Therefore, the regulatory contract can be updated according to the preset rules. The specific implementation method is as follows:
[0094] After storing the regulatory contract in the blockchain, the process further includes:
[0095] According to preset rules, the regulatory contracts stored in the blockchain are scanned and updated.
[0096] The preset rules can be understood as being based on preset time intervals, or can also be understood as being in the event of changes in regulatory rules.
[0097] Specifically, when it is determined that the regulatory rules have changed, the regulatory contracts stored in the regulatory nodes are scanned and updated. Alternatively, the regulatory contracts stored in the regulatory nodes are scanned and updated at preset time intervals.
[0098] For example, the regulatory contract stored in the regulatory node is scanned and updated every three months. Or, for the business card point of user identity verification, the current regulatory rule is "only one verification for the same user within 30 minutes", and the changed regulatory rule is "no more than two authentications for the same user within 30 minutes", then the regulatory contract corresponding to the regulatory rule stored in the regulatory node can be updated so that the updated regulatory contract can correspond to the changed regulatory rule.
[0099] In addition, the supervision contract stored in the supervision node can also be provided to the business node to ensure the openness of the supervision process.
[0100] In summary, by updating the regulatory contracts stored in the regulatory nodes, the regulatory contracts can be adapted to the latest regulatory rules, ensuring the timeliness of the regulatory contracts, improving compliance efficiency to a certain extent, and reducing compliance costs and risks.
[0101] In practical applications, after supervising the target service checkpoint, the following steps are further performed:
[0102] Obtain supervision results and store the supervision results in the blockchain.
[0103] Specifically, the supervision results can be stored in the storage unit of the supervision node in the blockchain. By storing the supervision results in the blockchain, the supervision results can be traced and documented, which is convenient for subsequent tracing.
[0104] In addition, after supervising the service checkpoint, the method further includes:
[0105] When it is determined that the supervision result is failed, a supervision warning notification is sent to the service node, wherein the supervision warning notification is used to indicate that the service contract does not comply with the supervision rules.
[0106] Specifically, the business node can continue to run the business contract only if the supervision result passes. If the supervision result fails, a supervision warning notification can be sent to the business node, indicating that the business contract does not comply with the supervision rules. The business node can determine whether it is necessary to stop running the business contract immediately based on the specific violations and business operation rules.
[0107] For example, if the regulatory warning notification indicates that the business contract does not comply with the regulatory rule of "no more than two identity authentications for the same user within 30 minutes", and the violation of the business contract is "three identity authentications for the same user within 30 minutes", and the business operation rules state that the business contract needs to be stopped for this violation, then the business node determines to stop the business contract according to the business operation rules.
[0108] In summary, by sending regulatory early warning notifications to business nodes, the subjectivity of regulatory nodes can be realized, and the deep integration of business processes and regulatory processes can be further achieved.
[0109] In actual applications, the blockchain can also include third-party regulatory nodes, such as industry associations. Third-party regulatory nodes can simultaneously supervise the business contract operation process of the business node and the regulatory contract operation process of the regulatory node, reducing the risk of single point failure caused by the reduced degree of decentralization.
[0110] See also Figure 3 , Figure 3 A schematic diagram of a blockchain in a blockchain-based business supervision method provided by an embodiment of this specification is shown.
[0111] like Figure 3 As shown, in actual applications, blockchain 300 can be divided into a basic layer 302, an intermediate layer 304 and an execution layer 306. Among them, the basic layer 302 includes a data storage unit, a smart contract execution virtual machine and a data transmission component, and the business supervision method based on blockchain in this specification can be implemented based on the basic layer 302. The intermediate layer 304 includes a regulatory rule parsing library and a regulatory rule access library, wherein the regulatory rule parsing library is used to provide regulatory nodes with regulatory contracts, and the regulatory nodes can also analyze whether the behavior in the business operation is compliant through the regulatory rule parsing library. The regulatory rule access library (i.e., the aforementioned business contract library) is used to provide business nodes with business contracts. The business node uses the regulatory rule access library when writing a business contract, thereby realizing the deep integration of business processes and regulatory processes. The business supervision method based on blockchain can be executed in the execution layer 306, and the business contract needs to be supervised by the regulatory node before it can continue to run, and the regulatory contract will also be disclosed to the business node.
[0112] To summarize, the above method sets a business checkpoint in the business contract. When the business node runs to the business checkpoint included in the business contract, the business checkpoint operation notification is sent to the supervision node. The supervision node responds to the business checkpoint operation notification to supervise the business checkpoint. When the supervision result is passed, a notification is sent to the business node to instruct the business node to continue running the business contract. Only then can the business continue to advance, thereby realizing real-time supervision of the business checkpoints during the operation of the business contract, ensuring the real-time and mandatory nature of the supervision of the business contract, thereby saving the waste of time costs caused by ex post supervision, realizing the deep integration of business processes and supervision processes, and thus improving supervision efficiency.
[0113] The following combination Figure 4 Taking the application of the blockchain-based business supervision method provided in this specification in the user account opening process as an example, the blockchain-based business supervision method is further explained. Figure 4 A flowchart of a processing process of a blockchain-based business supervision method provided by an embodiment of this specification is shown, which specifically includes the following steps.
[0114] Step 402: The service node determines the service contract corresponding to the service request in response to the service request.
[0115] Specifically, the business node responds to the account opening process business request sent by the user and determines the business contract corresponding to the account opening process business, and the business contract contains the target business card point "user identity verification" with regulatory requirements.
[0116] Step 404: The service node runs the service contract.
[0117] Specifically, when the business node starts the account opening process, it runs the business contract.
[0118] Step 406: When the service node runs to the target service checkpoint included in the service contract, the service node sends a service checkpoint operation notification to the supervision node.
[0119] Specifically, when the business node runs to the target business card point of "user identity authentication" in the business contract, it sends a business card point operation notification to the supervision node, wherein the business card point operation notification carries the business card point information of the target business card point "user identity authentication".
[0120] Step 408: The supervision node responds to the service card point operation notification and determines the target service card point corresponding to the service card point information according to the service card point information carried in the service card point operation notification.
[0121] Step 410: The supervision node supervises the target service checkpoint.
[0122] Specifically, the supervision node can determine the target supervision rule corresponding to the "user identity authentication" of the target business checkpoint, which is "no more than 2 identity authentications for the same user within 1 hour", and determine the target supervision contract corresponding to the target supervision rule, run the target supervision contract, and realize the supervision of the target business checkpoint.
[0123] Step 412: When the supervision node determines that the supervision result is passed, the supervision node sends a supervision pass notification to the service node.
[0124] Step 414: The service node continues to run the service contract in response to the supervision approval notification.
[0125] To summarize, the above method sets a business checkpoint in the business contract. When the business node runs to the business checkpoint included in the business contract, the business checkpoint operation notification is sent to the supervision node. The supervision node responds to the business checkpoint operation notification to supervise the business checkpoint. When the supervision result is passed, a notification is sent to the business node to instruct the business node to continue running the business contract. Only then can the business continue to advance, thereby realizing real-time supervision of the business checkpoints during the operation of the business contract, ensuring the real-time and mandatory nature of the supervision of the business contract, thereby saving the waste of time costs caused by ex post supervision, realizing the deep integration of business processes and supervision processes, and thus improving supervision efficiency.
[0126] Corresponding to the above method embodiment, this specification also provides a blockchain-based business supervision device embodiment, which is applied to a supervision node of a blockchain, wherein the blockchain also includes a business node, Figure 5 The following is a schematic diagram showing the structure of a blockchain-based business supervision device provided by an embodiment of this specification. Figure 5 As shown, the device comprises:
[0127] The determination module 502 is configured to respond to the service card point operation notification sent by the service node, and determine the target service card point corresponding to the service card point information according to the service card point information carried in the service card point operation notification, wherein the service card point operation notification is sent by the service node when it runs to the target service card point included in the service contract;
[0128] The supervision module 504 is configured to supervise the target service checkpoint, and when it is determined that the supervision result is passed, send a supervision pass notification to the service node, wherein the supervision pass notification is used to instruct the service node to continue running the service contract.
[0129] In an optional embodiment, the supervision module 504 is further configured to:
[0130] Determining a target supervision rule corresponding to the target business card point according to the business attribute of the target business card point;
[0131] The target service checkpoint is supervised according to the target supervision rule.
[0132] In an optional embodiment, the supervision module 504 is further configured to:
[0133] Determine, according to the target supervision rule, a target supervision contract corresponding to the target supervision rule, wherein the target supervision contract is used to supervise the target service checkpoint;
[0134] Run the target regulatory contract.
[0135] In an optional embodiment, the supervision module 504 is further configured to:
[0136] Determining, in the blockchain, a target regulatory contract corresponding to the target regulatory rule according to the identification information of the target regulatory rule;
[0137] Call the target regulatory contract.
[0138] In an optional embodiment, the device further includes a storage module configured to:
[0139] Determine the supervision rules corresponding to the business supervision requirements according to the business supervision requirements;
[0140] Obtain the regulatory contract corresponding to the regulatory rules, and store the regulatory contract in the blockchain.
[0141] In an optional embodiment, the device further includes an updating module configured to:
[0142] According to preset rules, the regulatory contracts stored in the blockchain are scanned and updated.
[0143] In an optional embodiment, the storage module is further configured as follows:
[0144] According to the business supervision requirements, the business card points corresponding to the business supervision requirements are determined, and the business content information corresponding to the business card points is stored in the business contract library, wherein the business contract library is used by the business node to create a business contract according to the business contract library.
[0145] In an optional embodiment, the storage module is further configured as follows:
[0146] Obtain supervision results and store the supervision results in the blockchain.
[0147] In an optional embodiment, the supervision module 504 is further configured to:
[0148] When it is determined that the supervision result is failed, a supervision warning notification is sent to the service node, wherein the supervision warning notification is used to indicate that the service contract does not comply with the supervision rules.
[0149] To summarize, the above-mentioned device sets a business card point in the business contract. When the business node runs to the business card point included in the business contract, the business card point operation notification is sent to the supervision node. The supervision node responds to the business card point operation notification to supervise the business card point. When the supervision result is passed, a notification is sent to the business node to instruct the business node to continue running the business contract. Only then can the business continue to advance, thereby realizing real-time supervision of the business card points during the operation of the business contract, ensuring the real-time and mandatory nature of the supervision of the business contract, thereby saving the waste of time costs caused by post-supervision, realizing the deep integration of business processes and supervision processes, and thus improving supervision efficiency.
[0150] The above is a schematic scheme of a business supervision device based on blockchain in this embodiment. It should be noted that the technical scheme of the business supervision device based on blockchain and the technical scheme of the business supervision method based on blockchain belong to the same concept. For details not described in detail in the technical scheme of the business supervision device based on blockchain, please refer to the description of the technical scheme of the business supervision method based on blockchain.
[0151] Corresponding to the above method embodiment, this specification also provides a business supervision system embodiment based on blockchain, Figure 6 The following is a schematic diagram showing the structure of a blockchain-based business supervision system provided by an embodiment of this specification. Figure 6 As shown, the system 600 includes a business node 602 and a supervision node 604 deployed on a blockchain, wherein:
[0152] The service node 602 is configured to respond to a service request, determine a service contract corresponding to the service request, run the service contract, and send a service card point running notification to the supervision node when running to a target service card point included in the service contract;
[0153] The supervision node 604 is configured to respond to the service card point operation notification, determine the target service card point corresponding to the service card point information according to the service card point information carried in the service card point operation notification, supervise the target service card point, and send a supervision pass notification to the service node when determining that the supervision result is passed;
[0154] The service node 602 is further configured to continue to run the service contract in response to the supervision pass notification.
[0155] Specifically, in the scenario of product production quality supervision, the product production node can determine the business contract corresponding to the production process according to the product production process and run it. When running to the target business card point included in the business contract, it sends a business card point operation notification to the supervision node. The supervision node can supervise the target business card point, and when it is determined that the supervision result is passed, it sends a supervision pass notification to the product production node. In response to the supervision pass notification, the product production node continues to run the business contract, that is, continues to advance the product production process. This realizes real-time supervision of whether the product production process is compliant, and further realizes real-time supervision of product quality.
[0156] To summarize, the above system sets business checkpoints in the business contract. When the business node runs to the business checkpoint included in the business contract, the business checkpoint operation notification is sent to the supervision node. The supervision node responds to the business checkpoint operation notification to supervise the business checkpoint. When the supervision result is passed, a notification is sent to the business node to instruct the business node to continue running the business contract. Only then can the business continue to advance, thereby realizing real-time supervision of business checkpoints during the operation of the business contract, ensuring the real-time and mandatory nature of the supervision of the business contract, thereby saving the waste of time costs caused by ex post supervision, realizing the deep integration of business processes and supervision processes, and thus improving supervision efficiency.
[0157] The above is a schematic scheme of a blockchain-based business supervision system of this embodiment. It should be noted that the technical scheme of the blockchain-based business supervision system and the technical scheme of the blockchain-based business supervision method are of the same concept. For details not described in detail in the technical scheme of the blockchain-based business supervision system, please refer to the description of the technical scheme of the blockchain-based business supervision method.
[0158] Figure 7 The block diagram of a computing device 700 according to an embodiment of the present specification is shown. The components of the computing device 700 include but are not limited to a memory 710 and a processor 720. The processor 720 is connected to the memory 710 via a bus 730, and the database 750 is used to store data.
[0159] The computing device 700 also includes an access device 740 that enables the computing device 700 to communicate via one or more networks 760. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 740 may include one or more of any type of network interface (e.g., a network interface card (NIC)) of wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a world-wide interoperability for microwave access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and the like.
[0160] In one embodiment of the present application, the above components of the computing device 700 and Figure 7 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 7 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of the present application. Those skilled in the art may add or replace other components as needed.
[0161] The computing device 700 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 700 may also be a mobile or stationary server.
[0162] Among them, the processor 720 is used to execute the following computer-executable instructions, which, when executed by the processor, implement the steps of the above-mentioned blockchain-based business supervision method.
[0163] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above-mentioned blockchain-based business supervision method belong to the same concept, and the details not described in detail in the technical scheme of the computing device can be found in the description of the technical scheme of the above-mentioned blockchain-based business supervision method.
[0164] An embodiment of the present specification also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the above-mentioned blockchain-based business supervision method.
[0165] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above-mentioned blockchain-based business supervision method belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be found in the description of the technical scheme of the above-mentioned blockchain-based business supervision method.
[0166] An embodiment of the present specification also provides a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned blockchain-based business supervision method.
[0167] The above is a schematic scheme of a computer program of this embodiment. It should be noted that the technical scheme of the computer program and the technical scheme of the business supervision method based on blockchain mentioned above belong to the same concept, and the details not described in detail in the technical scheme of the computer program can be found in the description of the technical scheme of the business supervision method based on blockchain mentioned above.
[0168] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0169] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0170] It should be noted that, for the convenience of description, the aforementioned method embodiments are all described as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.
[0171] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0172] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that technicians in the relevant technical field can understand and use this specification well. This specification is limited only by the claims and their full scope and equivalents.
Claims
1. A business supervision method based on blockchain, applied to a supervision node of a blockchain, wherein the blockchain also includes a business node, and the method comprises: In response to a service card point operation notification sent by the service node, according to the service card point information carried in the service card point operation notification, determine a target service card point corresponding to the service card point information, wherein the service card point operation notification is sent by the service node when it runs to a target service card point included in a service contract, the target service card point is the starting point of any process step with a supervision requirement in the service contract, the service contract is created by the service node by obtaining service content information in a service contract library, and the service content information is provided by the supervision node; The operation process of the target business card point is supervised, and when it is determined that the supervision result is passed, a supervision pass notification is sent to the business node, wherein the supervision pass notification is used to instruct the business node to continue running the business contract.
2. According to the method of claim 1, the step of supervising the operation process of the target service checkpoint comprises: Determining a target supervision rule corresponding to the target business card point according to the business attribute of the target business card point; According to the target supervision rules, the operation process of the target business checkpoint is supervised.
3. The method according to claim 2, wherein the step of supervising the operation process of the target service checkpoint according to the target supervision rule comprises: According to the target supervision rule, determining a target supervision contract corresponding to the target supervision rule, wherein the target supervision contract is used to supervise the operation process of the target business checkpoint; Run the target regulatory contract.
4. The method according to claim 3, wherein determining the target supervision contract corresponding to the target supervision rule according to the target supervision rule comprises: Determining, in the blockchain, a target regulatory contract corresponding to the target regulatory rule according to the identification information of the target regulatory rule; Call the target regulatory contract.
5. The method according to claim 1, before responding to the service card point operation notification sent by the service node, further comprising: Determine the supervision rules corresponding to the business supervision requirements according to the business supervision requirements; Obtain the regulatory contract corresponding to the regulatory rules, and store the regulatory contract in the blockchain.
6. The method according to claim 5, after storing the regulatory contract in the blockchain, further comprises: According to preset rules, the regulatory contracts stored in the blockchain are scanned and updated.
7. The method according to claim 1, before responding to the service card point operation notification sent by the service node, further comprising: According to the business supervision requirements, the business card points corresponding to the business supervision requirements are determined, and the business content information corresponding to the business card points is stored in the business contract library, wherein the business contract library is used by the business node to create a business contract according to the business contract library.
8. The method according to claim 1, after supervising the operation process of the target service checkpoint, further comprising: Obtain supervision results and store the supervision results in the blockchain.
9. The method according to claim 1, after supervising the operation process of the service checkpoint, further comprising: When it is determined that the supervision result is failed, a supervision warning notification is sent to the service node, wherein the supervision warning notification is used to indicate that the service contract does not comply with the supervision rules.
10. A business supervision device based on blockchain, applied to a supervision node of a blockchain, wherein the blockchain also includes a business node, and the device includes: a determination module, configured to respond to a service card point operation notification sent by the service node, and determine a target service card point corresponding to the service card point information according to the service card point information carried in the service card point operation notification, wherein the service card point operation notification is sent by the service node when it runs to a target service card point included in a service contract, the target service card point is a starting point of any process step with a supervision requirement in the service contract, the service contract is created by the service node acquiring service content information in a service contract library, and the service content information is provided by the supervision node; The supervision module is configured to supervise the operation process of the target business card point, and when it is determined that the supervision result is passed, send a supervision pass notification to the business node, wherein the supervision pass notification is used to instruct the business node to continue running the business contract.
11. A business supervision system based on blockchain, the system comprising business nodes and supervision nodes deployed on blockchain, wherein: The service node is configured to respond to a service request, determine a service contract corresponding to the service request, run the service contract, and send a service card point running notification to the supervision node when running to a target service card point included in the service contract, wherein the target service card point is a starting point of any process step with a supervision requirement in the service contract, and the service contract is created by the service node by obtaining service content information in a service contract library, and the service content information is provided by the supervision node; The supervision node is configured to respond to the service card point operation notification, determine the target service card point corresponding to the service card point information according to the service card point information carried in the service card point operation notification, supervise the operation process of the target service card point, and send a supervision pass notification to the service node when determining that the supervision result is passed; The business node is further configured to continue running the business contract in response to the supervision pass notification.
12. A computing device comprising: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the method described in any one of claims 1 to 9 are implemented.
13. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the steps of the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
RegLang-based block chain supervision contract construction method and block chain system
CN114780072A