Collaborative processing method, device, computer equipment and storage medium

Through the encryption processing of key sets of blockchain networks and collaborative counter nodes, the security issues of remote collaborative processing of bank branches are solved, and safe and transparent remote business collaborative processing is achieved.

CN115834707BActive Publication Date: 2025-09-23INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211465146.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-22
Publication Date
2025-09-23
Estimated Expiration
2042-11-22

AI Technical Summary

Technical Problem

Remote collaborative processing at bank branches makes it difficult to ensure the security of multiple branches, especially when multiple branches are involved. Traditional technologies cannot effectively guarantee the security of data synchronization and collaborative processing.

Method used

By connecting multiple collaborative counter nodes through the blockchain network, the key set of each collaborative counter node is used to encrypt the business collaborative processing request, generate collaborative processing encrypted messages and perform signature confirmation to ensure the security of data transmission.

Benefits of technology

It achieves secure processing of user business needs in remote collaborative processing, avoids tampering of collaborative processing encrypted messages, and improves security and transparency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115834707B_ABST
    Figure CN115834707B_ABST
Patent Text Reader

Abstract

The present application relates to a collaborative processing method, device, computer equipment and storage medium, and relates to the field of blockchain technology, and is used to improve the security of remote collaborative processing. The method includes: obtaining a business collaborative processing request and a collaborative processing request message corresponding to the business collaborative processing request, and sending the collaborative processing request message to a target counter node through a blockchain network; re-encrypting the collaborative processing encrypted message corresponding to the business collaborative processing request according to the key set of each collaborative counter node to obtain the target signature information of the collaborative processing encrypted message; sending the collaborative processing encrypted message and the target signature information to the blockchain network, so that the blockchain network sends the collaborative processing encrypted message to the target counter node when confirming that the target signature information is correct; receiving the processing result returned by the target counter node for the collaborative processing encrypted message, and confirming that the processing result is the target processing result of the business collaborative processing request.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of blockchain technology, and in particular to a collaborative processing method, apparatus, computer equipment, storage medium, and computer program product. Background Art

[0002] Currently, the counter services of bank branches mainly provide local services to customers, and it is difficult to conduct remote collaborative processing with the counter services of bank branches in other locations.

[0003] In traditional technologies, when it comes to business involving remote collaborative processing, the data required for the business needs to be synchronized in real time to outlets with corresponding permissions. When a large number of outlets are involved, it is difficult to ensure the security of collaborative processing among multiple outlets. Summary of the Invention

[0004] Based on this, it is necessary to provide a collaborative processing method, apparatus, computer equipment, computer-readable storage medium and computer program product that can improve the security of remote collaborative processing in order to address the above technical problems.

[0005] In a first aspect, the present application provides a collaborative processing method, which is applied to a current counter node. The method includes:

[0006] Obtaining a business collaborative processing request and a collaborative processing request message corresponding to the business collaborative processing request, and sending the collaborative processing request message to a target counter node through a blockchain network; the blockchain network is connected to multiple collaborative counter nodes; the target counter node is a node among the collaborative counter nodes that matches the collaborative processing request message;

[0007] The collaborative processing encrypted message corresponding to the business collaborative processing request is re-encrypted according to the key set of each collaborative counter node to obtain the target signature information of the collaborative processing encrypted message; the collaborative processing encrypted message is obtained by encrypting the business data in the business collaborative processing request using the key in the collaborative processing response message returned by the target counter node in response to the collaborative processing request message;

[0008] Sending the collaborative processing encrypted message and the target signature information to the blockchain network, so that the blockchain network sends the collaborative processing encrypted message to the target counter node when confirming that the target signature information is correct;

[0009] Receive the processing result returned by the target counter node for the collaborative processing encrypted message, and confirm that the processing result is the target processing result of the business collaborative processing request.

[0010] In one embodiment, obtaining a business collaborative processing request and a collaborative processing request message corresponding to the business collaborative processing request, and sending the collaborative processing request message to a target counter node through a blockchain network includes:

[0011] Obtaining the business collaborative processing request;

[0012] Performing message encapsulation processing on the service feature data in the service collaborative processing request to obtain a collaborative processing request message corresponding to the service collaborative processing request;

[0013] The collaborative processing request message is sent to each blockchain node in the blockchain network, so that each blockchain node forwards the collaborative processing request message to each connected collaborative counter node; each collaborative counter node includes at least one target counter node.

[0014] In one embodiment, after obtaining a business collaborative processing request and a collaborative processing request message corresponding to the business collaborative processing request, and sending the collaborative processing request message to a target counter node through a blockchain network, the process further includes:

[0015] receiving a collaborative processing response message returned by the target counter node in response to the collaborative processing request message;

[0016] The business data in the business collaborative processing request is encrypted according to the public key carried in the collaborative processing response message to obtain a collaborative processing encrypted message corresponding to the business collaborative processing request.

[0017] In one embodiment, the processing result is obtained by the target counter node decrypting the collaborative processing encrypted message using the private key of the target counter node and performing business processing on the business data obtained after decryption;

[0018] The confirming that the processing result is the target processing result of the business collaborative processing request includes:

[0019] In response to a confirmation operation on the processing result, the processing result is used as a target processing result of the business collaborative processing request.

[0020] In a second aspect, the present application provides a collaborative processing method, which is applied to a current counter node, wherein the blockchain network includes multiple blockchain nodes, each of which is connected to a collaborative counter node. The method includes:

[0021] Receive a collaborative processing request message sent by the current counter node, and send the collaborative processing request message to the collaborative counter node connected to each blockchain node through each blockchain node;

[0022] Receiving the collaborative processing encrypted message and the target signature information of the collaborative processing encrypted message sent by the current counter node;

[0023] When the target signature information is confirmed to be correct, the collaborative processing encrypted message is sent to the target counter node; the target counter node is used to represent the node in each collaborative counter node that matches the collaborative processing request message;

[0024] The processing result returned by the target counter node for the collaboratively processed encrypted message is forwarded to the current counter node.

[0025] In one embodiment, when confirming that the target signature information is correct, sending the collaboratively processed encrypted message to the target counter node includes:

[0026] Signing the collaborative processing encrypted message according to the key of each blockchain node to obtain initial signature information of each blockchain node for the collaborative processing encrypted message;

[0027] Combining the initial signature information to obtain a signature set for the collaboratively processed encrypted message;

[0028] When it is determined that the signature set is the same as the target signature information, the target signature information is confirmed to be correct, and the collaboratively processed encrypted message is forwarded to the connected collaborative counter nodes through the various blockchain nodes; the collaborative counter nodes include at least one target counter node.

[0029] In a third aspect, the present application further provides a collaborative processing device, which is applied to the current counter node. The device includes:

[0030] A request message sending module is used to obtain a business collaborative processing request and a collaborative processing request message corresponding to the business collaborative processing request, and send the collaborative processing request message to a target counter node through a blockchain network; the blockchain network is connected to multiple collaborative counter nodes; the target counter node is a node among the collaborative counter nodes that matches the collaborative processing request message;

[0031] An encrypted message acquisition module is used to re-encrypt the collaborative processing encrypted message corresponding to the business collaborative processing request according to the key set of each collaborative counter node to obtain the target signature information of the collaborative processing encrypted message; the collaborative processing encrypted message is obtained by encrypting the business data in the business collaborative processing request using the key in the collaborative processing response message returned by the target counter node for the collaborative processing request message;

[0032] An encrypted message sending module, configured to send the collaborative processing encrypted message and the target signature information to the blockchain network, so that the blockchain network sends the collaborative processing encrypted message to the target counter node when confirming that the target signature information is correct;

[0033] The processing result acquisition module is used to receive the processing result returned by the target counter node for the collaborative processing encrypted message, and confirm that the processing result is the target processing result of the business collaborative processing request.

[0034] In a fourth aspect, the present application further provides a collaborative processing device, which is applied to a blockchain network, wherein the blockchain network includes multiple blockchain nodes, each of which is connected to a collaborative counter node. The device includes:

[0035] A request message receiving module is used to receive a collaborative processing request message sent by the current counter node, and send the collaborative processing request message to the collaborative counter node connected to each blockchain node through each blockchain node;

[0036] An encrypted message receiving module, configured to receive the collaborative processing encrypted message and target signature information of the collaborative processing encrypted message sent by the current counter node;

[0037] An encrypted message forwarding module is used to send the collaborative processing encrypted message to a target counter node when confirming that the target signature information is correct; the target counter node is used to represent the node in each of the collaborative counter nodes that matches the collaborative processing request message;

[0038] The processing result forwarding module is used to forward the processing result returned by the target counter node for the collaborative processing encrypted message to the current counter node.

[0039] In a fifth aspect, the present application further provides a computer device. The computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0040] Obtaining a business collaborative processing request and a collaborative processing request message corresponding to the business collaborative processing request, and sending the collaborative processing request message to a target counter node through a blockchain network; the blockchain network is connected to multiple collaborative counter nodes; the target counter node is a node among the collaborative counter nodes that matches the collaborative processing request message;

[0041] The collaborative processing encrypted message corresponding to the business collaborative processing request is re-encrypted according to the key set of each collaborative counter node to obtain the target signature information of the collaborative processing encrypted message; the collaborative processing encrypted message is obtained by encrypting the business data in the business collaborative processing request using the key in the collaborative processing response message returned by the target counter node in response to the collaborative processing request message;

[0042] Sending the collaborative processing encrypted message and the target signature information to the blockchain network, so that the blockchain network sends the collaborative processing encrypted message to the target counter node when confirming that the target signature information is correct;

[0043] Receive the processing result returned by the target counter node for the collaborative processing encrypted message, and confirm that the processing result is the target processing result of the business collaborative processing request.

[0044] In a sixth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following steps:

[0045] Obtaining a business collaborative processing request and a collaborative processing request message corresponding to the business collaborative processing request, and sending the collaborative processing request message to a target counter node through a blockchain network; the blockchain network is connected to multiple collaborative counter nodes; the target counter node is a node among the collaborative counter nodes that matches the collaborative processing request message;

[0046] The collaborative processing encrypted message corresponding to the business collaborative processing request is re-encrypted according to the key set of each collaborative counter node to obtain the target signature information of the collaborative processing encrypted message; the collaborative processing encrypted message is obtained by encrypting the business data in the business collaborative processing request using the key in the collaborative processing response message returned by the target counter node in response to the collaborative processing request message;

[0047] Sending the collaborative processing encrypted message and the target signature information to the blockchain network, so that the blockchain network sends the collaborative processing encrypted message to the target counter node when confirming that the target signature information is correct;

[0048] Receive the processing result returned by the target counter node for the collaborative processing encrypted message, and confirm that the processing result is the target processing result of the business collaborative processing request.

[0049] In a seventh aspect, the present application further provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the following steps:

[0050] Obtaining a business collaborative processing request and a collaborative processing request message corresponding to the business collaborative processing request, and sending the collaborative processing request message to a target counter node through a blockchain network; the blockchain network is connected to multiple collaborative counter nodes; the target counter node is a node among the collaborative counter nodes that matches the collaborative processing request message;

[0051] The collaborative processing encrypted message corresponding to the business collaborative processing request is re-encrypted according to the key set of each collaborative counter node to obtain the target signature information of the collaborative processing encrypted message; the collaborative processing encrypted message is obtained by encrypting the business data in the business collaborative processing request using the key in the collaborative processing response message returned by the target counter node in response to the collaborative processing request message;

[0052] Sending the collaborative processing encrypted message and the target signature information to the blockchain network, so that the blockchain network sends the collaborative processing encrypted message to the target counter node when confirming that the target signature information is correct;

[0053] Receive the processing result returned by the target counter node for the collaborative processing encrypted message, and confirm that the processing result is the target processing result of the business collaborative processing request.

[0054] The above-mentioned collaborative processing method, device, computer equipment, storage medium and computer program product obtain a business collaborative processing request and a collaborative processing request message corresponding to the business collaborative processing request, and send the collaborative processing request message to the target counter node through the blockchain network; according to the key set of each collaborative counter node connected to the blockchain network, the collaborative processing encrypted message corresponding to the business collaborative processing request is re-encrypted to obtain the target signature information of the collaborative processing encrypted message; the collaborative processing encrypted message and the target signature information are sent to the blockchain network, so that the blockchain network sends the collaborative processing encrypted message to the target counter node when confirming that the target signature information is correct; receive the processing result returned by the target counter node for the collaborative processing encrypted message, and confirm that the processing result is the target processing result of the business collaborative processing request. Using this method, the user's remote business needs are processed through collaborative processing between the current counter node, each blockchain node in the blockchain network and the target counter node. In addition, through the joint confirmation of the collaborative processing encrypted message by each blockchain node in the blockchain network, the collaborative processing encrypted message can be prevented from being tampered with, thereby improving the security and transparency of remote collaborative processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 A diagram of an application environment of a collaborative processing method in one embodiment;

[0056] Figure 2 1 is a flow chart of a collaborative processing method in one embodiment;

[0057] Figure 3 is a flowchart of a collaborative processing method in another embodiment;

[0058] Figure 4 is a flowchart of a collaborative processing method in another embodiment;

[0059] Figure 5 A schematic diagram of a collaborative process for handling bank card cancellation at different locations in one embodiment;

[0060] Figure 6 A schematic diagram of a process for collaboratively processing system upgrade services at multiple sites in one embodiment;

[0061] Figure 7 is a structural block diagram of a collaborative processing device in one embodiment;

[0062] Figure 8 is a structural block diagram of a collaborative processing device in another embodiment;

[0063] Figure 9 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0064] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0065] It should be noted that the collaborative processing method and device provided in this application can be used in the field of blockchain technology to improve the security of remote collaborative processing, and can also be used for collaborative processing applications in any field other than the field of blockchain technology, such as the financial field. The collaborative processing method and device in this application do not limit the application field.

[0066] The collaborative processing method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. The collaborative counter node communicates with the blockchain network 101 through the network. Among them, the collaborative counter node can be a network node deployed in an offline outlet, the current counter node 102 and the target counter node 103 both belong to the collaborative counter node, the current counter node 102 can be a node in the collaborative counter node that responds to the user's business needs, and the target counter node 103 can be a node in the collaborative counter node that has processing authority for the user's business needs. Among them, the blockchain network 101 includes multiple blockchain nodes, and the blockchain node can be a network node in the blockchain network that receives, broadcasts, forwards and verifies data (such as messages, signature information). The collaborative counter node can also be connected to a business terminal 104. Among them, the business terminal includes but is not limited to devices that read user information and business information such as ID card readers, chip card readers and password input devices. In actual applications, when a user has a remote business need, he can request the current counter node 102 that is closer to the user to process it. The current counter node 102 responds to the user's business needs, generates a business collaborative processing request and a collaborative processing request message corresponding to the business collaborative processing request, and sends the collaborative processing request message to the target counter node 103 through the blockchain network 101; then the current counter node 102 encrypts the business data in the business collaborative processing request through the key in the collaborative processing response message returned by the target counter node 103 for the collaborative processing request message, and obtains a collaborative processing encrypted message; and then According to the key set of each collaborative counter node, the collaborative processing encrypted message corresponding to the business collaborative processing request is re-encrypted to obtain the target signature information of the collaborative processing encrypted message; the current counter node 102 sends the collaborative processing encrypted message and the target signature information to the blockchain network 101, so that the blockchain network 101 sends the collaborative processing encrypted message to the target counter node 103 after confirming that the target signature information is correct; the current counter node 102 receives the processing result returned by the target counter node 103 for the collaborative processing encrypted message, and confirms that the processing result is the target processing result of the business collaborative processing request.

[0067] In one embodiment, Figure 2 As shown, a collaborative processing method is provided, which is applied to Figure 1 Taking the current counter node 102 in the example as an example, the following steps are included:

[0068] Step S201, obtain the business collaborative processing request and the collaborative processing request message corresponding to the business collaborative processing request, and send the collaborative processing request message to the target counter node through the blockchain network; the blockchain network is connected to multiple collaborative counter nodes; the target counter node is the node among each collaborative counter node that matches the collaborative processing request message.

[0069] A collaborative business processing request is a remote processing request generated in response to a user's business needs. Remote business needs can include bank card cancellation, remote transactions, system upgrades, and other services that require processing at a remote collaborative counter node.

[0070] The collaborative processing request message refers to information carrying data in the service collaborative processing request.

[0071] Specifically, when a user has a business need but is unable to go to a target outlet with the corresponding authority to process the business need, the user can initiate an off-site processing request for the business need to the current outlet. The collaborative counter node deployed in the current outlet (i.e., the current counter node) receives the user's off-site processing request. After the user authorizes the user information and business data, the current counter node collects the user's user data and business data. A business collaborative processing request and a collaborative processing request message corresponding to the business collaborative processing request are generated based on the user's user data and business feature data; then the current counter node sends the collaborative processing request message to each blockchain node in the blockchain network, and each blockchain node forwards the collaborative processing request message to the collaborative counter node connected to each blockchain node, and then the target counter node in the collaborative counter node that has the authority to process the user's off-site processing request also receives the collaborative processing request message. The target counter node encapsulates the target counter node's key into a response message as a collaborative processing response message corresponding to the collaborative processing request message, and sends the collaborative processing response message to the current counter node.

[0072] For example, a user has applied for a bank card at an offline branch in Province A. If the user needs to cancel the bank card and is currently located in Province B, the user needs to cancel the bank card through an offline branch in Province B. In this scenario, the network node of the offline branch in Province A can be regarded as the target counter node, the network node of the offline branch in Province B can be regarded as the current counter node, and the network nodes in other provinces (such as Province C, Province D, and Province E) can be regarded as regular collaborative counter nodes.

[0073] Step S202: According to the key set of each collaborative counter node, the collaborative processing encrypted message corresponding to the business collaborative processing request is re-encrypted to obtain the target signature information of the collaborative processing encrypted message; the collaborative processing encrypted message is obtained by encrypting the business data in the business collaborative processing request through the key in the collaborative processing response message returned by the target counter node for the collaborative processing request message.

[0074] The key set refers to a set composed of the keys of all collaborative counter nodes.

[0075] The key in the collaborative processing response message refers to the key generated by the target counter node using an asymmetric cryptographic mechanism. The key can be the public key or the private key of the target counter node.

[0076] The collaborative processing of encrypted messages refers to obtaining information from the service data in the collaborative processing request of the encrypted service.

[0077] Among them, currently signature information refers to data used to verify the authenticity of collaboratively processed encrypted messages.

[0078] Specifically, in step S201, after the current counter node receives the collaborative processing response message, the current counter node can encrypt the business data in the business collaborative processing request using the key in the collaborative processing response message to obtain the collaborative processing encrypted message corresponding to the business collaborative processing request. Each collaborative counter node can use an asymmetric cryptographic mechanism to generate the key of this node. Each collaborative counter node sends the public key of this node to the current counter node, and then the current counter node uses the public key of this node and the public keys of each collaborative counter node to generate a key set. The current counter node uses the key set to digitally sign the collaborative processing encrypted message to obtain the target signature information of the collaborative processing encrypted message.

[0079] Step S203: Send the collaboratively processed encrypted message and the target signature information to the blockchain network, so that the blockchain network will send the collaboratively processed encrypted message to the target counter node after confirming that the target signature information is correct.

[0080] Specifically, the current counter node sends the collaboratively processed encrypted message and target signature information to the current blockchain node connected to it through the HTTPS (Hyper Text Transfer Protocol over Secure Socket Layer) communication protocol. The current blockchain node broadcasts the collaboratively processed encrypted message and target signature information in the blockchain network, so that other blockchain nodes in the blockchain network receive the collaboratively processed encrypted message and target signature information. All blockchain nodes in the blockchain network (including the current counter node) forward the collaborative processing encrypted message and the target signature information to the corresponding connected collaborative counter node. Each collaborative counter node uses its own public key to digitally sign the collaborative processing encrypted message and obtains its own initial signature information for the collaborative processing encrypted message. The blockchain network fuses each initial signature information to obtain a signature set for the collaborative processing encrypted message. The blockchain network determines whether the signature set and the target signature information are the same. When the signature set and the target signature information are the same, each blockchain node in the blockchain network stores the collaborative processing encrypted message at the end of its chain data structure list and persists the collaborative processing encrypted message to the file system. Then, each blockchain node in the blockchain network has the same collaborative processing encrypted message to prevent the collaborative processing encrypted message from being tampered with. At the same time, each blockchain node can also send the collaborative processing encrypted message to the collaborative counter node (including the target counter node) connected to it, so that the subsequent target counter node can process the collaborative processing encrypted message.

[0081] It should be noted that the current blockchain node also belongs to the blockchain node in the blockchain network. The current blockchain node specifically refers to the blockchain node in the blockchain network that is connected to the current counter node.

[0082] Step S204: receiving the processing result returned by the target counter node for the collaborative processing encrypted message, and confirming that the processing result is the target processing result of the business collaborative processing request.

[0083] It should be noted that the number of target counter nodes can be one or more. For example, assuming that the user's off-site business demand is to cancel a bank card, and the user has only one offline branch where he / she handles the bank card, then only the collaborative counter node of the offline branch that handles the bank card has the authority to handle the bank card cancellation business. Therefore, the number of the collaborative counter nodes of the offline branch that handles the bank card, that is, the target counter nodes, is only one. Suppose that the user's clothing business demand is a system upgrade. Since the system upgrade involves offline branches in multiple locations, the collaborative counter nodes of the offline branches in multiple locations that need to undergo the system upgrade are all target counter nodes, that is, the number of target counter nodes is multiple.

[0084] Specifically, after each collaborative counter node receives the collaborative processing encrypted message in step S203, the target counter node with processing authority among the collaborative counter nodes decrypts the collaborative processing encrypted message and performs business processing on the business data obtained after decryption, obtaining a processing result returned by the collaborative processing encrypted message; the target counter node sends the processing result to the blockchain network, which forwards the processing result to the current counter node. The current counter node confirms the processing result and, if the current counter node confirms that the received processing result is correct, sets the processing result as the target processing result of the business collaborative processing request.

[0085] In the above-mentioned collaborative processing method, a business collaborative processing request and a collaborative processing request message corresponding to the business collaborative processing request are obtained, and the collaborative processing request message is sent to the target counter node through the blockchain network; the collaborative processing encrypted message corresponding to the business collaborative processing request is re-encrypted according to the key set of each collaborative counter node connected to the blockchain network to obtain the target signature information of the collaborative processing encrypted message; the collaborative processing encrypted message and the target signature information are sent to the blockchain network, so that the blockchain network sends the collaborative processing encrypted message to the target counter node when confirming that the target signature information is correct; the processing result returned by the target counter node for the collaborative processing encrypted message is received, and the processing result is confirmed to be the target processing result of the business collaborative processing request. By adopting this method, the processing of the user's remote business needs is realized through the collaborative processing between the current counter node, each blockchain node in the blockchain network and the target counter node. In addition, through the joint confirmation of the collaborative processing encrypted message by each blockchain node in the blockchain network, the collaborative processing encrypted message can be prevented from being tampered with, thereby improving the security and transparency of remote collaborative processing.

[0086] In one embodiment, the above step S201 obtains the business collaborative processing request and the collaborative processing request message corresponding to the business collaborative processing request, and sends the collaborative processing request message to the target counter node through the blockchain network, specifically including the following contents: obtaining the business collaborative processing request; performing message encapsulation processing on the business feature data in the business collaborative processing request to obtain the collaborative processing request message corresponding to the business collaborative processing request; sending the collaborative processing request message to each blockchain node in the blockchain network, so that each blockchain node forwards the collaborative processing request message to each connected collaborative counter node; each collaborative counter node includes at least one target counter node.

[0087] The business characteristic data refers to information that can characterize the relevant characteristics of the business data.

[0088] Specifically, the current counter node responds to a user's off-site processing request. After the user authorizes the user information and business data, the current counter node reads the user's user information and business data through a service terminal connected to the current counter node. The user information includes, but is not limited to, the user's ID card information and bank card number. The current counter node extracts business feature data from the business data. In response to the user's processing request, the current counter node generates a business collaborative processing request based on the user data and business feature data. The current counter node then encapsulates the user data and business feature data in the business collaborative processing request to obtain a collaborative processing request message corresponding to the business collaborative processing request.

[0089] Furthermore, the current counter node sends the collaborative processing request message to the current blockchain node connected to it, and the current blockchain node broadcasts the collaborative processing request message in the blockchain network, so that other blockchain nodes in the blockchain network receive the collaborative processing request message, and other blockchain nodes store the received collaborative processing request message in a cache database and forward it to the collaborative counter node connected to it. Each collaborative counter node determines whether the collaborative counter node has the processing authority for the collaborative processing request message based on the user data and business feature data in the collaborative processing request message; when the collaborative counter node determines that the node has the processing authority for the collaborative processing request message, the collaborative counter node is used as the target counter node, and the target counter node encapsulates the judgment result obtained by the judgment processing and the key of the target counter node into a response message as the collaborative processing response message corresponding to the collaborative processing request message; the target counter node sends the collaborative processing response message to the current counter node through the P2P (Peer-to-Peer) communication mechanism.

[0090] In this embodiment, by encapsulating business feature data and user data into a business collaborative processing request, and broadcasting the business collaborative processing request to each blockchain node in the blockchain network, so that the collaborative counter node connected to each blockchain node can determine whether the node has the corresponding processing authority, it can also avoid the leakage of business data, and then the target counter node directly sends the collaborative processing response message to the current counter node, avoiding the various blockchain nodes and other collaborative counter nodes in the blockchain network from obtaining the collaborative processing response message, thereby improving the security and reliability of the collaborative processing encrypted message generated by the current counter node.

[0091] In one embodiment, after obtaining a business collaborative processing request and a collaborative processing request message corresponding to the business collaborative processing request, and sending the collaborative processing request message to the target counter node through the blockchain network, it also includes: receiving a collaborative processing response message returned by the target counter node in response to the collaborative processing request message; encrypting the business data in the business collaborative processing request according to the public key carried in the collaborative processing response message to obtain a collaborative processing encrypted message corresponding to the business collaborative processing request.

[0092] Specifically, after the target counter node encapsulates the key of the target counter node into a response message as the collaborative processing response message corresponding to the collaborative processing request message, and sends the collaborative processing response message to the current counter node, the current counter node receives the collaborative processing response message returned by the target counter node for the collaborative processing request message; then the current counter node encapsulates the user data and business data in the business collaborative processing request to obtain a collaborative processing business message; according to the public key of the target counter node carried in the collaborative processing response message, the collaborative processing business message is encrypted to obtain a collaborative processing encrypted message corresponding to the business collaborative processing request.

[0093] In this embodiment, the target counter node receives the collaborative processing response message returned by the target counter node in response to the collaborative processing request message; according to the public key carried in the collaborative processing response message, the business data in the business collaborative processing request is encrypted to obtain the collaborative processing encrypted message corresponding to the business collaborative processing request, thereby avoiding the business data from being cracked and tampered with during the data transmission process, and improving the security of remote collaborative processing of business data.

[0094] In one embodiment, the processing result is obtained by the target counter node decrypting the collaborative processing encrypted message using the target counter node's private key and performing business processing on the decrypted business data. Step S204, confirming that the processing result is the target processing result of the business collaborative processing request, specifically includes the following: in response to the confirmation operation on the processing result, the processing result is used as the target processing result of the business collaborative processing request.

[0095] The target processing result refers to the processing result obtained based on the user's business needs and confirmed to be correct.

[0096] Specifically, the target counter node uses its own private key to decrypt the collaborative processing encrypted message to obtain user data and business data; performs business processing on the user data and business data to obtain the processing result returned by the collaborative processing encrypted message; the target counter node sends the processing result to the target blockchain node connected to it, and the target blockchain node broadcasts the processing result in the blockchain network so that all other blockchain nodes in the blockchain network receive the processing result. Then, each blockchain node sends the processing result to the collaborative counter node connected to it, and the current blockchain node also sends the processing result to the current counter node connected to it. The current counter node sends the processing result to the user's user terminal or to the display in the current branch for display, so that the user can confirm the processing result. If the current counter node receives the confirmation result that the processing result is correct, the processing result will be the target processing result of the business collaborative processing request. If the current counter node receives a confirmation error for the processing result, it will determine the processing result as the target processing result of the business collaborative processing request and resend the collaborative processing encrypted message to the target counter node for the target counter node to process the collaborative processing encrypted message again, until the current counter node confirms that the processing result returned by the target counter node is the target processing result of the business collaborative processing request. The current counter node stores the target processing result in a local database.

[0097] It should be noted that the target blockchain node also belongs to the blockchain node in the blockchain network. The target blockchain node specifically refers to the blockchain node in the blockchain network that is connected to the target counter node.

[0098] In this embodiment, the processing results are confirmed to avoid mismatches between the obtained processing results and the user's business needs. In addition, by sending the processing results to each blockchain node in the blockchain network, if the processing results in the current counter node are tampered with or lost, the saved processing results can be obtained from other blockchain nodes. The processing results saved in all blockchain nodes can also be used as credentials to avoid denial of the processing results by the current counter node, the target counter node, or other blockchain nodes.

[0099] In one embodiment, Figure 3 As shown, another collaborative processing method is provided, which is applied to Figure 1 Taking the blockchain network 101 in

[15] as an example, the following steps are included:

[0100] Step S301: Receive the collaborative processing request message sent by the current counter node, and send the collaborative processing request message to the collaborative counter nodes connected to each blockchain node through each blockchain node.

[0101] Specifically, the current counter node sends the collaborative processing request message to the current blockchain node connected to the current counter node in the blockchain network. The current blockchain node receives the collaborative processing request message sent by the current counter node, forwards the collaborative processing request message to other blockchain nodes in the blockchain network, and sends the collaborative processing request message to the collaborative counter nodes connected to each blockchain node through each blockchain node.

[0102] Step S302: Receive the collaborative processing encrypted message and target signature information of the collaborative processing encrypted message sent by the current counter node.

[0103] Step S303: When the target signature information is confirmed to be correct, the collaborative processing encrypted message is sent to the target counter node; the target counter node is used to represent the node in each collaborative counter node that matches the collaborative processing request message.

[0104] Step S304: forward the processing result returned by the target counter node for the collaboratively processed encrypted message to the current counter node.

[0105] Furthermore, the blockchain network sends a key set consisting of the keys of each collaborative counter node to the current counter node, so that the current counter node can use the key set to encrypt the collaborative processing encrypted message to be transmitted, so as to facilitate the blockchain network to verify whether the collaborative processing encrypted message has been tampered with; then the current blockchain node connected to the current counter node in the blockchain network receives the collaborative processing encrypted message and the target signature information of the collaborative processing encrypted message sent by the current counter node, and performs consensus processing on the collaborative processing encrypted message. Specifically, when the blockchain network confirms that the target signature information is correct in each blockchain node in the blockchain network, the collaborative processing encrypted message is sent to the target counter node; finally, the processing result returned by the target counter node for the collaborative processing encrypted message is received, and the processing result is forwarded to the current counter node.

[0106] The above-mentioned collaborative processing method receives the collaborative processing request message sent by the current counter node, and sends the collaborative processing request message to the collaborative counter node connected to each blockchain node through each blockchain node; receives the collaborative processing encrypted message sent by the current counter node and the target signature information of the collaborative processing encrypted message; when confirming that the target signature information is correct, sends the collaborative processing encrypted message to the target counter node; the target counter node is used to represent the node in each collaborative counter node that matches the collaborative processing request message; forwards the processing result returned by the target counter node for the collaborative processing encrypted message to the current counter node. Using this method, the remote business needs of the user are processed through the collaborative processing between the current counter node, each blockchain node in the blockchain network and the target counter node. In addition, the collaborative processing encrypted message is processed by consensus on the collaborative processing encrypted message through each blockchain node in the blockchain network, which can avoid the collaborative processing encrypted message from being tampered with, thereby improving the security and transparency of remote collaborative processing.

[0107] In one embodiment, the above step S303, when confirming that the target signature information is correct, sends the collaborative processing encrypted message to the target counter node, specifically including the following contents: signing the collaborative processing encrypted message according to the key of each blockchain node, and obtaining the initial signature information of each blockchain node for the collaborative processing encrypted message; combining each initial signature information to obtain a signature set for the collaborative processing encrypted message; when it is determined that the obtained signature set is the same as the target signature information, confirming that the target signature information is correct, and forwarding the collaborative processing encrypted message to each connected collaborative counter node through each blockchain node; the collaborative counter node includes at least one target counter node.

[0108] Specifically, all blockchain nodes in the blockchain network (including the current counter node and the target counter node) forward the collaborative processing encrypted message and the target signature information to their corresponding connected collaborative counter node. Each collaborative counter node uses its own public key to digitally sign the collaborative processing encrypted message and obtain its own initial signature information for the collaborative processing encrypted message. The blockchain network merges each initial signature information to obtain a signature set for the collaborative processing encrypted message. The blockchain network detects whether the signature set and the target signature information are the same. When the signature set and the target signature information are found to be the same, each blockchain node in the blockchain network stores the collaborative processing encrypted message at the end of its own chain data structure list and persists the collaborative processing encrypted message to the file system. Then, each blockchain node in the blockchain network has the same collaborative processing encrypted message to prevent the collaborative processing encrypted message from being tampered with. At the same time, each blockchain node can also send the collaborative processing encrypted message to the collaborative counter node (including the target counter node) connected to it, so that the subsequent target counter node can process the collaborative processing encrypted message.

[0109] In this embodiment, the joint confirmation of the collaborative processing encrypted message by each blockchain node in the blockchain network can prevent the collaborative processing encrypted message from being tampered with, thereby improving the security and transparency of remote collaborative processing.

[0110] In one embodiment, Figure 4 As shown, another collaborative processing method is provided, which is applied to Figure 1 Taking the current counter node 102 in the example as an example, the following steps are included:

[0111] Step S401: Obtain a service collaborative processing request; perform message encapsulation processing on the service feature data in the service collaborative processing request to obtain a collaborative processing request message corresponding to the service collaborative processing request.

[0112] Step S402: Send the collaborative processing request message to each blockchain node in the blockchain network, so that each blockchain node forwards the collaborative processing request message to each connected collaborative counter node; wherein, the blockchain network is connected with multiple collaborative counter nodes; each collaborative counter node includes at least one target counter node; the target counter node is the node among each collaborative counter node that matches the collaborative processing request message.

[0113] Step S403: Receive the collaborative processing response message returned by the target counter node in response to the collaborative processing request message; encrypt the business data in the business collaborative processing request according to the public key carried in the collaborative processing response message to obtain the collaborative processing encrypted message corresponding to the business collaborative processing request.

[0114] Step S404: According to the key set of each collaborative counter node, the collaborative processing encrypted message corresponding to the business collaborative processing request is re-encrypted to obtain the target signature information of the collaborative processing encrypted message; wherein, the collaborative processing encrypted message is obtained by encrypting the business data in the business collaborative processing request through the key in the collaborative processing response message returned by the target counter node for the collaborative processing request message.

[0115] Step S405: Send the collaboratively processed encrypted message and the target signature information to the blockchain network, so that the blockchain network will send the collaboratively processed encrypted message to the target counter node after confirming that the target signature information is correct.

[0116] Step S406, receiving the processing result returned by the target counter node for the collaborative processing encrypted message; wherein, the processing result is obtained by the target counter node decrypting the collaborative processing encrypted message through the private key of the target counter node, and performing business processing on the business data obtained after decryption.

[0117] Step S407 : In response to the confirmation operation on the processing result, the processing result is used as the target processing result of the business collaborative processing request.

[0118] The above-mentioned collaborative processing method has the following beneficial effects: through the collaborative processing between the current counter node, each blockchain node in the blockchain network and the target counter node, the processing of the user's remote business needs is realized. In addition, through the joint confirmation of the collaborative processing encrypted message by each blockchain node in the blockchain network, the collaborative processing encrypted message can be prevented from being tampered with, thereby improving the security and transparency of remote collaborative processing.

[0119] In order to more clearly illustrate the collaborative processing method provided by the embodiments of the present disclosure, the collaborative processing method is described in detail below using two specific embodiments. Figure 5 A flowchart for collaborative processing of bank card cancellation services in different locations, such as Figure 5 Specifically, it includes the following contents:

[0120] In step S501, a user applies for a bank card at an offline branch in Province A. If the user needs to cancel the bank card and is currently in Province B, the user needs to cancel the bank card through an offline branch in Province B. Therefore, the user initiates an off-site processing request to cancel the bank card to the offline branch in Province B.

[0121] Step S502: The network node in the offline outlets of Province B is regarded as the current counter node, and the current counter node receives the user's remote processing request.

[0122] Step S503, after the user authorizes the user data and business data, the current counter node collects the user's user data (such as ID card information) and business data (such as chip card information) through the business terminal connected to the current counter node (such as ID card reader, chip card reader and password input device).

[0123] In step S504, the current counter node encapsulates the business feature data corresponding to the user data and business data to obtain a collaborative processing request message, so as to determine the target counter node with the corresponding processing authority for the remote processing request through the collaborative processing request message, and establish a pairing relationship with the target counter node; then the current counter node calls the blockchain RESTful (Representational State Transfer) interface and sends the collaborative processing request message to the current blockchain node connected to it.

[0124] In step S505, the current blockchain node receives the collaborative processing request message and broadcasts the collaborative processing request message in the blockchain network, so that other blockchain nodes in the blockchain network receive the collaborative processing request message. Other blockchain nodes store the received collaborative processing request message in the cache database and forward it to the collaborative counter node connected to it.

[0125] In step S506, each collaborative counter node detects whether the collaborative counter node has the processing authority for the collaborative processing request message based on the user data and business characteristic data in the collaborative processing request message; the collaborative counter node with the corresponding processing authority is used as the target counter node, and the target counter node encapsulates the detection result obtained by the detection processing and the public key of the target counter node into a response message as the collaborative processing response message corresponding to the collaborative processing request message; the target counter node sends the collaborative processing response message carrying the public key of the target counter node to the current counter node through the P2P communication mechanism.

[0126] In step S507, the current counter node receives the collaborative processing response message returned by the target counter node, and selects a preset number of target counter nodes to process the user's off-site processing request; encapsulates the user data and business data in the business collaborative processing request to obtain a collaborative processing business message; and encrypts the collaborative processing business message according to the public key of the target counter node carried in the collaborative processing response message to obtain a collaborative processing encrypted message.

[0127] In step S508, the current counter node receives a public key set consisting of the public keys of each collaborative counter node sent by the blockchain network. The public key can be represented as P = {p0, p1, p2, ..., pn}, where p0 represents the public key of the current counter node, and p1, p2, ..., pn represent the public keys of each collaborative counter node in the blockchain network other than the current counter node. The current counter node uses the public key set to digitally sign the collaboratively processed encrypted message, obtaining the target signature information of the collaboratively processed encrypted message; and then sends the collaboratively processed encrypted message and the target signature information to the current blockchain node.

[0128] Step S509: Consensus processing is performed on the collaboratively processed encrypted message: The current blockchain node broadcasts the collaboratively processed encrypted message and target signature information within the blockchain network, allowing other blockchain nodes in the blockchain network to receive the collaboratively processed encrypted message and target signature information. Each blockchain node forwards the collaboratively processed encrypted message and target signature information to its corresponding collaborative counter node. Each collaborative counter node uses its own public key to digitally sign the collaboratively processed encrypted message, obtaining its own initial signature information for the collaboratively processed encrypted message. The blockchain network merges these initial signature information to obtain a signature set S = {s0, s1, s2, ..., sn} for the collaboratively processed encrypted message, where sn represents the initial signature information processed by the nth collaborative counter node. The blockchain network determines whether the signature set and the target signature information are the same; when the signature set and the target signature information are the same, each blockchain node in the blockchain network will store the collaboratively processed encrypted message at the end of its own chain data structure list, and persist the collaboratively processed encrypted message to the file system; at the same time, each blockchain node can also send the collaboratively processed encrypted message to the collaborative counter node connected to it, so that the subsequent target counter node can process the collaboratively processed encrypted message.

[0129] In step S510, the target counter node with the processing authority for collaborative processing encrypted messages among the collaborative counter nodes decrypts the collaborative processing encrypted messages, encapsulates the business data obtained after decryption as local business data, pre-processes the local business data, and then sends the pre-processed local business obtained by the pre-processing to the bank business processing system for business processing, and obtains the processing result of the collaborative processing encrypted message returned by the bank business processing system; the target counter node sends the processing result to the target blockchain node connected to it.

[0130] In step S511, the target blockchain node broadcasts the processing result in the blockchain network so that all other blockchain nodes in the blockchain network receive the processing result, and then each blockchain node sends the processing result to the collaborative counter node connected to it.

[0131] Step S512: When the current counter node receives the processing result, it detects whether the processing result is correct; when the processing result is correct, it stores the processing result in the local database and sends the processing result to the user.

[0132] Step S513: The user confirms the processing result and signs it, and the current counter node receives the user's signature confirmation information for the processing result.

[0133] Figure 6 A flowchart of the collaborative processing of system upgrade services for multiple outlets, such as Figure 6 Specifically, it includes the following contents:

[0134] In step S601, the system administrator needs to upgrade the counter system of the collaborative counter nodes of all offline outlets. The system administrator can upload the counter system version package for upgrading to an independently deployed shared FTP file server and record the file path and hash value of the counter system version package.

[0135] Step S602: Use the restful communication protocol to encapsulate the data required for the system upgrade process, such as the IP address of the shared FTP file server, the file path and hash value of the counter system version package, into a counter system upgrade request message and send it to the current blockchain node.

[0136] Step S603, the current blockchain node receives the counter system upgrade request message; then downloads the counter system version package from the shared ftp file server, and uses the same hash algorithm to calculate the hash value of the counter system version package, and detects whether the calculated hash value is the same as the counter system version package in the received counter system upgrade request message. When it is detected that the calculated hash value is the same as the hash value of the counter system version package in the received counter system upgrade request message, the counter system version package is evenly divided into N data blocks according to the number of blockchain nodes in the blockchain network (N is represented by the number of blockchain nodes in the blockchain network); the blockchain network stores the first data block of the N data blocks, and sends the remaining N-1 data blocks and the hash value of the counter system version package to other blockchain nodes in the blockchain network through the P2P communication protocol; other blockchain nodes send the N-1 data blocks to the collaborative counter node connected to it through the https protocol. The current blockchain node sends the first data block and the hash value of the counter system version package to the current counter node connected to it through https.

[0137] Step S604: The current blockchain node sends a counter system upgrade instruction to other blockchain nodes in the blockchain network. The counter system upgrade instruction carries the first data block. Then, each blockchain node forwards the counter system upgrade instruction to the collaborative counter nodes connected to them via the https protocol.

[0138] Step S605: The collaborative counter node receives the counter upgrade system instruction, stores the first data block carried in the counter system upgrade instruction, and then generates a counter system upgrade response message for the counter system upgrade instruction. The counter system upgrade response message carries the i-th (1 < i ≤ N) data block owned by the collaborative counter node itself. The counter system upgrade response message carrying the i-th (1 < i ≤ N) data block is sent to the connected blockchain node via the restful communication protocol.

[0139] Step S606: The blockchain node that receives the counter system upgrade response message in Step S605 broadcasts the counter system upgrade response message to all other blockchain nodes in the blockchain network using the blockchain mesh P2P communication mechanism. Other blockchain nodes forward the counter system upgrade response message carrying the i-th (1 < i ≤ N) data block to the collaborative counter nodes connected to them.

[0140] Step S607: After receiving the counter system upgrade response message, each collaborative counter node stores the i-th (1 < i ≤ N) data block carried in the counter system upgrade instruction message, and at the same time checks whether the data blocks it owns satisfy K = {k1, k2, k3,..., kN}, where N is the number of nodes in the blockchain network. When all N data blocks exist, the N data blocks are combined in order to form a complete counter system version package, and the hash value of the counter system version package is calculated using the hash algorithm. It is detected whether the calculated hash value is the same as the counter system version package in the received counter system upgrade request message. When it is detected that the calculated hash value is the same as the hash value of the counter system version package in the received counter system upgrade request message, the collaborative counter node upgrades the counter system using the counter system version package.

[0141] Step S608: The collaborative counter node returns the upgrade result of the local counter system to the connected blockchain node.

[0142] Step S609: After receiving the upgrade result returned by the local collaborative counter node, the blockchain node broadcasts the upgrade result (such as the upgrade success or failure result) of the local collaborative counter node to all other blockchain nodes in the blockchain network.

[0143] Step S610: The blockchain node determines whether the counter system upgrade is successful. After the above-mentioned step S309, each blockchain node in the blockchain network receives the upgrade results sent by other blockchain nodes. Combined with the upgrade results of the collaborative counter nodes connected to this blockchain node, each blockchain node should have the upgrade results of all collaborative counter nodes. Based on the Byzantine Fault Tolerance (PBFT) algorithm, in a blockchain system with N=3f+1 nodes, it can tolerate the failure of f nodes. That is, after the blockchain node receives 2f+1 notifications of successful upgrade results, it can be regarded as the success of the system administrator's counter system upgrade task. In this case, the subsequent f collaborative counter nodes can be upgraded to the latest counter system version by triggering data synchronization through the checkpoint mechanism. If the 2f+1 blockchain nodes in the blockchain network successfully upgrade the counter system, the system administrator's counter system upgrade task is completed. Otherwise, continue with the following processing steps.

[0144] In step S611, upon detecting that the administrator's counter system upgrade task has failed, the blockchain node immediately initiates a version rollback request and broadcasts it to all blockchain nodes in the blockchain network via the peer-to-peer communication protocol. The blockchain node then sends the rollback request to its connected collaborative counter node via the https communication protocol.

[0145] Step S612: The cooperative counter node rolls back the version of the counter system and restores the old counter system version.

[0146] In this embodiment, through the cooperation between the counter nodes and the blockchain nodes, outlets in different geographical locations can collaborate to complete remote business needs in different locations, with a real-time synchronization, tamper-proof, and collective consensus security environment. The entire transaction process is open, transparent, and traceable, which is conducive to supervision.

[0147] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0148] Based on the same inventive concept, embodiments of the present application also provide a collaborative processing device for implementing the aforementioned collaborative processing method. The implementation solution provided by this device is similar to the implementation solution described in the aforementioned method. Therefore, the specific limitations of one or more collaborative processing device embodiments provided below can be found in the above-mentioned limitations of the collaborative processing method and will not be repeated here.

[0149] In one embodiment, Figure 7 As shown, a collaborative processing device 700 is provided, which is applied to the current counter node, including: a request message sending module 701, an encrypted message obtaining module 702, an encrypted message sending module 703 and a processing result obtaining module 704, wherein:

[0150] The request message sending module 701 is used to obtain the business collaborative processing request and the collaborative processing request message corresponding to the business collaborative processing request, and send the collaborative processing request message to the target counter node through the blockchain network; the blockchain network is connected to multiple collaborative counter nodes; the target counter node is the node among each collaborative counter node that matches the collaborative processing request message.

[0151] The encrypted message acquisition module 702 is used to re-encrypt the collaborative processing encrypted message corresponding to the business collaborative processing request according to the key set of each collaborative counter node to obtain the target signature information of the collaborative processing encrypted message; the collaborative processing encrypted message is obtained by encrypting the business data in the business collaborative processing request using the key in the collaborative processing response message returned by the target counter node for the collaborative processing request message.

[0152] The encrypted message sending module 703 is used to send the collaboratively processed encrypted message and the target signature information to the blockchain network, so that the blockchain network can send the collaboratively processed encrypted message to the target counter node when confirming that the target signature information is correct.

[0153] The processing result acquisition module 704 is used to receive the processing result returned by the target counter node for the collaborative processing encrypted message, and confirm that the processing result is the target processing result of the business collaborative processing request.

[0154] In one embodiment, the request message sending module 701 is also used to obtain a business collaborative processing request; perform message encapsulation processing on the business feature data in the business collaborative processing request to obtain a collaborative processing request message corresponding to the business collaborative processing request; send the collaborative processing request message to each blockchain node in the blockchain network, so that each blockchain node forwards the collaborative processing request message to each connected collaborative counter node; each collaborative counter node includes at least one target counter node.

[0155] In one embodiment, the collaborative processing device 700 also includes a business data encryption module, which is used to receive the collaborative processing response message returned by the target counter node in response to the collaborative processing request message; according to the public key carried in the collaborative processing response message, the business data in the business collaborative processing request is encrypted to obtain the collaborative processing encrypted message corresponding to the business collaborative processing request.

[0156] In one embodiment, the processing result is obtained by the target counter node decrypting the collaborative processing encrypted message through the private key of the target counter node, and performing business processing on the business data obtained after decryption; the processing result acquisition module 704 is also used to respond to the confirmation operation on the processing result, and use the processing result as the target processing result of the business collaborative processing request.

[0157] In one embodiment, Figure 8 As shown, another collaborative processing device 800 is provided, which is applied to a blockchain network, including: a request message receiving module 801, an encrypted message receiving module 802, an encrypted message forwarding module 803 and a processing result forwarding module 804, wherein:

[0158] The request message receiving module 801 is used to receive the collaborative processing request message sent by the current counter node, and send the collaborative processing request message to the collaborative counter node connected to each blockchain node through each blockchain node.

[0159] The encrypted message receiving module 802 is used to receive the collaborative processing encrypted message and the target signature information of the collaborative processing encrypted message sent by the current counter node.

[0160] The encrypted message forwarding module 803 is used to send the collaborative processing encrypted message to the target counter node when confirming that the target signature information is correct; the target counter node is used to represent the node in each collaborative counter node that matches the collaborative processing request message.

[0161] The processing result forwarding module 804 is used to forward the processing result returned by the target counter node for the collaborative processing encrypted message to the current counter node.

[0162] In one embodiment, the encrypted message forwarding module 803 is also used to sign the collaboratively processed encrypted message according to the key of each blockchain node, and obtain the initial signature information of each blockchain node for the collaboratively processed encrypted message; combine each initial signature information to obtain a signature set for the collaboratively processed encrypted message; when it is determined that the obtained signature set is the same as the target signature information, confirm that the target signature information is correct, and forward the collaboratively processed encrypted message to each connected collaborative counter node through each blockchain node; the collaborative counter node includes at least one target counter node.

[0163] Each module in the collaborative processing device described above may be implemented in whole or in part through software, hardware, or a combination thereof. Each module may be embedded in or independent of a processor in a computer device in the form of hardware, or may be stored in a memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each module.

[0164] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 9 As shown. The computer device includes a processor, a memory, and a network interface connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store business data, user data, collaboratively processed encrypted messages, and other data. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a collaborative processing method is implemented.

[0165] Those skilled in the art will understand that Figure 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0166] In one embodiment, a computer device is further provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.

[0167] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0168] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0169] 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 this application are all information and data authorized by the user or fully authorized by all parties.

[0170] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.

[0171] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0172] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A collaborative processing method, characterized in that: Applied to the current counter node, the method includes: Obtain a business collaborative processing request and a collaborative processing request message corresponding to the business collaborative processing request, and send the collaborative processing request message to a target counter node through a blockchain network; the blockchain network is connected to a plurality of collaborative counter nodes; each collaborative counter node detects whether the collaborative counter node has the processing authority for the collaborative processing request message based on the user data and business feature data in the collaborative processing request message; the collaborative counter node with the corresponding processing authority is used as the target counter node, and the target counter node encapsulates the detection result obtained by the detection process and the public key of the target counter node into a response message, as a collaborative processing response message corresponding to the collaborative processing request message and sends it to the current counter node; receiving a collaborative processing response message returned by the target counter node in response to the collaborative processing request message; Encrypting the service data in the service collaborative processing request according to the public key carried in the collaborative processing response message to obtain a collaborative processing encrypted message corresponding to the service collaborative processing request; The collaborative processing encrypted message corresponding to the business collaborative processing request is re-encrypted according to the key set of each collaborative counter node to obtain the target signature information of the collaborative processing encrypted message; the collaborative processing encrypted message is obtained by encrypting the business data in the business collaborative processing request using the key in the collaborative processing response message returned by the target counter node in response to the collaborative processing request message; The collaborative processing encrypted message and the target signature information are sent to the blockchain network, so that all blockchain nodes in the blockchain network receive the initial signature information sent by each collaborative counter node to obtain a digital signature of the collaborative processing encrypted message. The blockchain network merges the initial signature information to obtain a signature set. When confirming that the target signature information is the same as the signature set, the collaborative processing encrypted message is sent to the target counter node. Receive the processing result returned by the target counter node for the collaborative processing encrypted message, and confirm that the processing result is the target processing result of the business collaborative processing request.

2. The method according to claim 1, characterized in that The obtaining of the business collaborative processing request and a collaborative processing request message corresponding to the business collaborative processing request, and sending the collaborative processing request message to a target counter node through a blockchain network, includes: Obtaining the business collaborative processing request; Performing message encapsulation processing on the service feature data in the service collaborative processing request to obtain a collaborative processing request message corresponding to the service collaborative processing request; The collaborative processing request message is sent to each blockchain node in the blockchain network, so that each blockchain node forwards the collaborative processing request message to each connected collaborative counter node; each collaborative counter node includes at least one target counter node.

3. The method according to claim 1, characterized in that The processing result is obtained by the target counter node decrypting the collaborative processing encrypted message using the private key of the target counter node and performing business processing on the business data obtained after decryption; The confirming that the processing result is the target processing result of the business collaborative processing request includes: In response to a confirmation operation on the processing result, the processing result is used as a target processing result of the business collaborative processing request.

4. A collaborative processing method, characterized in that: Applied to a blockchain network, the blockchain network includes multiple blockchain nodes, each of which is connected to a collaborative counter node, the method includes: Receive the collaborative processing request message sent by the current counter node, and send the collaborative processing request message to the collaborative counter node connected to each blockchain node through the each blockchain node; each collaborative counter node detects whether the collaborative counter node has the processing authority for the collaborative processing request message based on the user data and service feature data in the collaborative processing request message; the collaborative counter node with the corresponding processing authority is used as the target counter node, and the target counter node encapsulates the detection result obtained by the detection process and the public key of the target counter node into a response message, as a collaborative processing response message corresponding to the collaborative processing request message and sends it to the current counter node; Receive the collaborative processing encrypted message sent by the current counter node and the target signature information of the collaborative processing encrypted message; wherein, the collaborative processing encrypted message is obtained by the current counter node receiving the collaborative processing response message returned by the target counter node for the collaborative processing request message, and encrypting the business data in the business collaborative processing request according to the public key carried in the collaborative processing response message; the target signature information of the collaborative processing encrypted message is obtained by the current counter node re-encrypting the collaborative processing encrypted message corresponding to the business collaborative processing request according to the key set of each collaborative counter node; All blockchain nodes receive the initial signature information sent by each collaborative counter node, which is obtained by digitally signing the collaborative processing encrypted message. The blockchain network merges the initial signature information to obtain a signature set. When it is confirmed that the target signature information is the same as the signature set, the collaborative processing encrypted message is sent to the target counter node; the target counter node is used to represent the node that matches the collaborative processing request message from the multiple collaborative counter nodes connected to each blockchain node in the blockchain network; The processing result returned by the target counter node for the collaboratively processed encrypted message is forwarded to the current counter node.

5. The method according to claim 4, characterized in that When confirming that the target signature information is correct, sending the collaboratively processed encrypted message to the target counter node includes: Signing the collaborative processing encrypted message according to the key of each blockchain node to obtain initial signature information of each blockchain node for the collaborative processing encrypted message; Combining the initial signature information to obtain a signature set for the collaboratively processed encrypted message; When it is determined that the signature set is the same as the target signature information, the target signature information is confirmed to be correct, and the collaboratively processed encrypted message is forwarded to the connected collaborative counter nodes through the various blockchain nodes; the collaborative counter nodes include at least one target counter node.

6. A collaborative processing device, characterized in that: Applied to the current counter node, the device includes: A request message sending module is used to obtain a business collaborative processing request and a collaborative processing request message corresponding to the business collaborative processing request, and send the collaborative processing request message to a target counter node through a blockchain network; the blockchain network is connected to a plurality of collaborative counter nodes; each collaborative counter node detects whether the collaborative counter node has the processing authority for the collaborative processing request message based on the user data and business feature data in the collaborative processing request message; the collaborative counter node with the corresponding processing authority is used as the target counter node, and the target counter node encapsulates the detection result obtained by the detection process and the public key of the target counter node into a response message, as a collaborative processing response message corresponding to the collaborative processing request message and sends it to the current counter node; An encrypted message acquisition module is used to re-encrypt the collaborative processing encrypted message corresponding to the business collaborative processing request according to the key set of each collaborative counter node to obtain the target signature information of the collaborative processing encrypted message; the collaborative processing encrypted message is obtained by encrypting the business data in the business collaborative processing request using the key in the collaborative processing response message returned by the target counter node for the collaborative processing request message; An encrypted message sending module is used to send the collaborative processing encrypted message and the target signature information to the blockchain network, so that all blockchain nodes in the blockchain network receive the initial signature information sent by each collaborative counter node and obtained by digitally signing the collaborative processing encrypted message. The blockchain network merges the initial signature information to obtain a signature set, and when it is confirmed that the target signature information is the same as the signature set, sends the collaborative processing encrypted message to the target counter node; A processing result acquisition module is used to receive the processing result returned by the target counter node for the collaborative processing encrypted message, and confirm that the processing result is the target processing result of the business collaborative processing request; A collaborative processing device is used to receive the collaborative processing response message returned by the target counter node in response to the collaborative processing request message; according to the public key carried in the collaborative processing response message, the business data in the business collaborative processing request is encrypting to obtain the collaborative processing encrypted message corresponding to the business collaborative processing request.

7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

8. 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 5 are implemented.

9. A computer program product comprising a computer program, 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 5 are implemented.

Citation Information

Patent Citations

  • Internet banking cross-line signing method, device and system

    CN109741068A

  • Message forwarding method and device based on block chain network, and transaction processing method

    CN114448730A