Blockchain data processing method, apparatus, device, and system
Abstract
Implementations of the present specification disclose a blockchain data processing method, apparatus, device, and system. A request for transitioning a state of a contract stored at a blockchain system is received at a plurality of blockchain nodes of the blockchain system. The request includes signature data of at least one state participant of the contract. The contract is associated with a pre-determined number of participants. The signature data is verified at a blockchain node. The verification is based on at least one public key corresponding to the at least one state participant. A determination is made whether the signature data of the at least one state participant is verified. In response to determining that the signature data of the at least one state participant is verified, a new contract state defined in the request is confirmed. The pre-determined number of participants is pre-determined in the contract.
Claims
exact text as granted — not AI-modified1 .- 20 . (canceled)
21 . A computer-implemented method for processing blockchain data, comprising:
receiving, by a first blockchain node computer of a plurality of blockchain node computers in a blockchain network, a public key of a first participant in a smart contract, wherein the smart contract is stored in encrypted form in a ledger of the blockchain network in association with a public key of a second participant in the smart contract and a public key of a third participant in the smart contract; receiving, by the first blockchain node computer and from a second blockchain node computer of the plurality of blockchain node computers, an encrypted state transition request to transition a state of the smart contract in the blockchain network, wherein the smart contract is in a first contract state, wherein the encrypted state transition request comprises signature data corresponding to the first participant, and wherein the encrypted state transition request includes a second contract state for the smart contract; decrypting, by the first blockchain node computer, the encrypted state transition request with the public key of the first participant; verifying, by the first blockchain node computer, the signature data corresponding to the first participant, based on the public key of the first participant; based on the verifying of the signature data corresponding to the first participant, confirming, by the first blockchain node computer, the second contract state; transitioning, by the first blockchain node computer, the state of the smart contract to the second contract state; and broadcasting, by the first blockchain node computer, the second contract state to the plurality of blockchain node computers.
22 . The computer-implemented method of claim 21 , wherein the first contract state is pending, and the second contract state is confirmed.
23 . The computer-implemented method of claim 21 , wherein the first contract state is confirmed, and the second contract state is terminated.
24 . The computer-implemented method of claim 21 , comprising storing, by the first blockchain node computer, the smart contract in encrypted form in the ledger, wherein storing the smart contract in encrypted form in the ledger comprises:
encrypting, by the first blockchain node computer, the smart contract using a public key of a regulator.
25 . The computer-implemented method of claim 21 , comprising storing, by the first blockchain node computer, the smart contract in encrypted form in the ledger, wherein storing the smart contract in encrypted form in the ledger comprises:
encrypting, by the first blockchain node computer, the smart contract using a public key of a visible party of the blockchain network.
26 . The computer-implemented method of claim 21 , wherein the encrypted state transition request comprises signature data corresponding to a plurality of participants in the smart contract, including the first participant, and wherein confirming the second contract state comprises:
verifying signature data corresponding a predetermined number of the plurality of participants in the smart contract.
27 . The computer-implemented method of claim 26 , wherein verifying the signature data corresponding to the predetermined number of the plurality of participants comprises verifying signature data corresponding to state participants that represent a subset of the plurality of participants in the smart contract.
28 . A non-transitory, computer-readable medium storing one or more instructions that, when executed by one or more processors of a first blockchain node computer of a plurality of blockchain node computers of a blockchain network, cause the one or more processors to perform operations comprising:
receiving a public key of a first participant in a smart contract, wherein the smart contract is stored in encrypted form in a ledger of the blockchain network in association with a public key of a second participant in the smart contract and a public key of a third participant in the smart contract; receiving, from a second blockchain node computer of the plurality of blockchain node computers, an encrypted state transition request to transition a state of the smart contract in the blockchain network, wherein the smart contract is in a first contract state, wherein the encrypted state transition request comprises signature data corresponding to the first participant, and wherein the encrypted state transition request includes a second contract state for the smart contract; decrypting the encrypted state transition request with the public key of the first participant; verifying the signature data corresponding to the first participant, based on the public key of the first participant; based on the verifying of the signature data corresponding to the first participant, confirming the second contract state; transitioning the state of the smart contract to the second contract state; and broadcasting the second contract state to the plurality of blockchain node computers.
29 . The non-transitory, computer-readable medium of claim 28 , wherein the first contract state is pending, and the second contract state is confirmed.
30 . The non-transitory, computer-readable medium of claim 28 , wherein the first contract state is confirmed, and the second contract state is terminated.
31 . The non-transitory, computer-readable medium of claim 28 , wherein the operations comprise storing the smart contract in encrypted form in the ledger, wherein storing the smart contract in encrypted form in the ledger comprises:
encrypting the smart contract using a public key of a regulator.
32 . The non-transitory, computer-readable medium of claim 28 , wherein the operations comprise storing the smart contract in encrypted form in the ledger, wherein storing the smart contract in encrypted form in the ledger comprises:
encrypting the smart contract using a public key of a visible party of the blockchain network.
33 . The non-transitory, computer-readable medium of claim 28 , wherein the encrypted state transition request comprises signature data corresponding to a plurality of participants in the smart contract, including the first participant, and wherein confirming the second contract state comprises:
verifying signature data corresponding a predetermined number of the plurality of participants in the smart contract.
34 . The non-transitory, computer-readable medium of claim 33 , wherein verifying the signature data corresponding to the predetermined number of the plurality of participants comprises verifying signature data corresponding to state participants that represent a subset of the plurality of participants in the smart contract.
35 . A computer-implemented system, comprising:
one or more processors of a first blockchain node computer of a plurality of blockchain node computers of a blockchain network; and one or more computer memory devices interoperably coupled with the one or more processors and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more processors, cause the one or more processors to perform one or more operations comprising: receiving a public key of a first participant in a smart contract, wherein the smart contract is stored in encrypted form in a ledger of the blockchain network in association with a public key of a second participant in the smart contract and a public key of a third participant in the smart contract; receiving, from a second blockchain node computer of the plurality of blockchain node computers, an encrypted state transition request to transition a state of the smart contract in the blockchain network, wherein the smart contract is in a first contract state, wherein the encrypted state transition request comprises signature data corresponding to the first participant, and wherein the encrypted state transition request includes a second contract state for the smart contract; decrypting the encrypted state transition request with the public key of the first participant; verifying the signature data corresponding to the first participant, based on the public key of the first participant; based on the verifying of the signature data corresponding to the first participant, confirming the second contract state; transitioning the state of the smart contract to the second contract state; and broadcasting the second contract state to the plurality of blockchain node computers.
36 . The computer-implemented system of claim 35 , wherein the first contract state is pending, and the second contract state is confirmed.
37 . The computer-implemented system of claim 35 , wherein the first contract state is confirmed, and the second contract state is terminated.
38 . The computer-implemented system of claim 35 , wherein the operations comprise storing the smart contract in encrypted form in the ledger, wherein storing the smart contract in encrypted form in the ledger comprises:
encrypting the smart contract using a public key of a regulator.
39 . The computer-implemented system of claim 35 , wherein the operations comprise storing the smart contract in encrypted form in the ledger, wherein storing the smart contract in encrypted form in the ledger comprises:
encrypting the smart contract using a public key of a visible party of the blockchain network.
40 . The computer-implemented system of claim 35 , wherein the encrypted state transition request comprises signature data corresponding to a plurality of participants in the smart contract, including the first participant, and wherein confirming the second contract state comprises:
verifying signature data corresponding a predetermined number of the plurality of participants in the smart contract.
41 . The computer-implemented system of claim 40 , wherein verifying the signature data corresponding to the predetermined number of the plurality of participants comprises verifying signature data corresponding to state participants that represent a subset of the plurality of participants in the smart contract.Join the waitlist — get patent alerts
Track US2021256513A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.