Blockchain smart contract-based signature verification methods and systems
Abstract
Methods, systems and apparatus, including computer programs encoded on computer storage media, for blockchain smart contract-based signature verification. In one example, the method includes: adding, to an instruction set of a blockchain virtual machine associated with a blockchain network, an RSA signature verification instruction; deploying, in the blockchain virtual machine, RSA signature verification logic corresponding to the RSA signature verification instruction; adding, to an instruction set of a smart contract compiler, the RSA signature verification instruction; generating, by using the smart contract compiler, a service smart contract that includes at least the RSA signature verification instruction; and deploying, in the blockchain network, the service smart contract that includes at least the RSA signature verification instruction.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A computer-implemented method, comprising:
adding, to an instruction set of a blockchain virtual machine associated with a blockchain network, an RSA signature verification instruction; deploying, in the blockchain virtual machine, RSA signature verification logic corresponding to the RSA signature verification instruction; adding, to an instruction set of a smart contract compiler, the RSA signature verification instruction; generating, by using the smart contract compiler, a service smart contract that includes at least the RSA signature verification instruction; and deploying, in the blockchain network, the service smart contract that includes at least the RSA signature verification instruction.
2 . The computer-implemented method of claim 1 , further comprising:
invoking, by a node in the blockchain network, the service smart contract by using the blockchain virtual machine; triggering, by the node in the blockchain network, execution of the RSA signature verification logic based on the RSA signature verification instruction in the service smart contract by using the blockchain virtual machine; and performing, by the node in the blockchain network, an RSA signature verification operation on a service signature associated with a service initiation transaction that has been broadcasted to the blockchain network.
3 . The computer-implemented method of claim 2 , wherein the service initiation transaction comprises the service signature, signed data corresponding to the service signature, and a public key used to verify the service signature
4 . The computer-implemented method of claim 3 , wherein the service initiation transaction comprises the service signature, an abstract of the signed data corresponding to the service signature, and the public key used to verify the service signature.
5 . The computer-implemented method of claim 3 , wherein the service initiation transaction comprises the service signature and the signed data corresponding to the service signature, and the service smart contract comprises the public key used to verify the service signature.
6 . The computer-implemented method of claim 4 , wherein the service initiation transaction comprises the service signature and the abstract of signed data corresponding to the service signature, and the service smart contract comprises the public key used to verify the service signature.
7 . The computer-implemented method of claim 1 , further comprising:
generating, by using the smart contract compiler, a second service smart contract that includes a contract identifier of a RSA signature verification smart contract that has been pre-deployed in the blockchain network.
8 . The computer-implemented method of claim 7 , further comprising:
invoking, by the node in the blockchain network, the RSA signature verification smart contract based on the contract identifier of the RSA signature verification smart contract included in the second service smart contract by using the blockchain virtual machine.
9 . The computer-implemented method of claim 1 , wherein the instruction set of the blockchain virtual machine further includes at least one Ethereum instruction, and the Ethereum instruction is an instruction in an instruction set of an Ethereum virtual machine.
10 . The computer-implemented method of claim 9 , further comprising:
deploying relevant logic corresponding to the at least one Ethereum instruction included in the instruction set of the blockchain virtual machine in the blockchain virtual machine.
11 . A computer-implemented system, comprising:
one or more computers; and one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, perform operations comprising: adding, to an instruction set of a blockchain virtual machine associated with a blockchain network, an RSA signature verification instruction; deploying, in the blockchain virtual machine, RSA signature verification logic corresponding to the RSA signature verification instruction; adding, to an instruction set of a smart contract compiler, the RSA signature verification instruction; generating, by using the smart contract compiler, a service smart contract that includes at least the RSA signature verification instruction; and deploying, in the blockchain network, the service smart contract that includes at least the RSA signature verification instruction.
12 . The computer-implemented system of claim 11 , wherein the operations further comprise:
invoking, by a node in the blockchain network, the service smart contract by using the blockchain virtual machine; triggering, by the node in the blockchain network, execution of the RSA signature verification logic based on the RSA signature verification instruction in the service smart contract by using the blockchain virtual machine; and performing, by the node in the blockchain network, an RSA signature verification operation on a service signature associated with a service initiation transaction that has been broadcasted to the blockchain network.
13 . The computer-implemented system of claim 12 , wherein the service initiation transaction comprises the service signature, signed data corresponding to the service signature, and a public key used to verify the service signature
14 . The computer-implemented system of claim 13 , wherein the service initiation transaction comprises the service signature, an abstract of the signed data corresponding to the service signature, and the public key used to verify the service signature.
15 . The computer-implemented system of claim 13 , wherein the service initiation transaction comprises the service signature and the signed data corresponding to the service signature, and the service smart contract comprises the public key used to verify the service signature.
16 . The computer-implemented system of claim 14 , wherein the service initiation transaction comprises the service signature and the abstract of signed data corresponding to the service signature, and the service smart contract comprises the public key used to verify the service signature.
17 . The computer-implemented system of claim 11 , wherein the operations further comprise:
generating, by using the smart contract compiler, a second service smart contract that includes a contract identifier of a RSA signature verification smart contract that has been pre-deployed in the blockchain network.
18 . The computer-implemented system of claim 17 , wherein the operations further comprise:
invoking, by the node in the blockchain network, the RSA signature verification smart contract based on the contract identifier of the RSA signature verification smart contract included in the second service smart contract by using the blockchain virtual machine.
19 . The computer-implemented system of claim 11 , wherein the instruction set of the blockchain virtual machine further includes at least one Ethereum instruction, and the Ethereum instruction is an instruction in an instruction set of an Ethereum virtual machine.
20 . The computer-implemented system of claim 19 , wherein the operations further comprise:
deploying relevant logic corresponding to the at least one Ethereum instruction included in the instruction set of the blockchain virtual machine in the blockchain virtual machine.
21 . A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
adding, to an instruction set of a blockchain virtual machine associated with a blockchain network, an RSA signature verification instruction; deploying, in the blockchain virtual machine, RSA signature verification logic corresponding to the RSA signature verification instruction; adding, to an instruction set of a smart contract compiler, the RSA signature verification instruction; generating, by using the smart contract compiler, a service smart contract that includes at least the RSA signature verification instruction; and deploying, in the blockchain network, the service smart contract that includes at least the RSA signature verification instruction.Join the waitlist — get patent alerts
Track US2021152369A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.