CN108985100B - Block chain-based element security certification method, device, equipment and medium - Google Patents

Block chain-based element security certification method, device, equipment and medium Download PDF

Info

Publication number
CN108985100B
CN108985100B CN201810931079.8A CN201810931079A CN108985100B CN 108985100 B CN108985100 B CN 108985100B CN 201810931079 A CN201810931079 A CN 201810931079A CN 108985100 B CN108985100 B CN 108985100B
Authority
CN
China
Prior art keywords
node
deposit
signature
transaction
account
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810931079.8A
Other languages
Chinese (zh)
Other versions
CN108985100A (en
Inventor
荆博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Original Assignee
Baidu Online Network Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Baidu Online Network Technology Beijing Co Ltd filed Critical Baidu Online Network Technology Beijing Co Ltd
Priority to CN201810931079.8A priority Critical patent/CN108985100B/en
Publication of CN108985100A publication Critical patent/CN108985100A/en
Application granted granted Critical
Publication of CN108985100B publication Critical patent/CN108985100B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6272Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database by registering files or documents with a third party

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the invention discloses a block chain-based element security proving method, device, equipment and medium. The method comprises the following steps: signing the deposit information of the affair institute stored in the local node by adopting the key of the local node to obtain a deposit scale signature of an element; and transmitting the deposit scale signature of the element to the blockchain network, processing by a blockgeneration node and a user node in the blockchain network, and writing the deposit scale signature into the blockchain as transaction data. According to the embodiment of the invention, the information stored in the affair place is transmitted to the block chain network, and the asset verification basis of the element affair place is provided for the user node in the block chain network, so that the security verification of the asset of the element affair place is realized, and the social public credibility of the element affair place and the participation desire of the user are improved.

Description

Block chain-based element security certification method, device, equipment and medium
Technical Field
The embodiment of the invention relates to the technical field of block chains, in particular to a block chain-based element security proving method, device, equipment and medium.
Background
With the rapid development of the block chain technology, the advantages of decentralization, security, tamper resistance and the like are paid extensive attention in various fields. Incentive elements (Token) with a certain economic value, such as various digital tokens or some reward elements expected to be obtained by users, are likely to be generated along with the blockchain network so as to encourage wide users to participate in the blockchain network.
In the existing blockchain world, a large number of transactions capable of managing elements have arisen. Statistically, however, up to 45% of the elemental firms have been bankrupt, such as the well-known mt. The account management of Mt.Gox firm is disordered, a large amount of digital token of users is used for investment, and hacker attacks are added, so that the digital token assets of the users cannot be paid back finally, and the situation goes to bankruptcy.
Therefore, in the prior art, the security of elements inside the blockchain is low, the public confidence of the blockchain and the participation experience of users are reduced, so that many users can be forbidden, and the participation desire of the users is influenced. Further, how to provide a digital asset transaction security proving method is important, so that the security of an element office is improved.
Disclosure of Invention
The embodiment of the invention provides a block chain-based element security proving method, device, equipment and medium, which can prove the security of an element transaction asset in a block chain network.
In a first aspect, an embodiment of the present invention provides a blockchain-based element security attestation method, which is executed by a clearinghouse node in a blockchain network, where the clearinghouse node is configured to manage transactions of at least one element, and the method includes:
signing the deposit information of the affair institute stored in the local node by adopting the key of the local node to obtain a deposit scale signature of an element;
and transmitting the deposit scale signature of the element to the blockchain network, processing by a blockgeneration node and a user node in the blockchain network, and writing the deposit scale signature into the blockchain as transaction data.
In a second aspect, an embodiment of the present invention provides a blockchain-based element security attestation method, which is performed by a user node in a blockchain network, and includes:
transmitting an on-chain query request to a blockchain network;
searching a deposit scale signature matched with the query request on the chain from a block chain of a block chain network;
the deposit scale signature is obtained by adopting a secret key of the transaction place node to sign the transaction place deposit information stored by the transaction place node;
the transaction office node is used for managing the transaction of at least one element.
In a third aspect, an embodiment of the present invention provides a block chain-based element security certification method, which is performed by a block generation node in a block chain network, where the method includes:
receiving a deposit scale signature sent by a firm node at regular time, wherein the deposit scale signature is obtained by signing the deposit information of the firm stored by the firm node by adopting a secret key of the firm node;
and processing and writing the savings size signature into a blockchain as transaction data.
In a fourth aspect, an embodiment of the present invention provides a blockchain-based element security certification apparatus, configured in a clearinghouse node in a blockchain network, where the clearinghouse node is configured to manage transactions of at least one element, and the apparatus includes:
the deposit scale signature generation module is used for signing the deposit information of the affair institute stored by the local node by adopting the key of the local node to obtain a deposit scale signature of the element;
and the deposit scale signature transmission module is used for transmitting the deposit scale signature of the element to the blockchain network, processing the deposit scale signature by the block generation node and the user node in the blockchain network, and writing the deposit scale signature into the blockchain as transaction data.
In a fifth aspect, an embodiment of the present invention provides a block chain-based element security certification apparatus, configured in a user node in a block chain network, where the apparatus includes:
a query request transmission module for transmitting an on-chain query request to a blockchain network;
the deposit scale signature query module is used for searching a deposit scale signature matched with the on-chain query request from a block chain of the block chain network;
the deposit scale signature is obtained by adopting a secret key of the transaction place node to sign the transaction place deposit information stored by the transaction place node;
the transaction office node is used for managing the transaction of at least one element.
In a sixth aspect, an embodiment of the present invention provides an apparatus for proving element security based on a blockchain, where the apparatus is configured at a blockchain generation node in a blockchain network, and the apparatus includes:
the deposit scale signature receiving module is used for receiving a deposit scale signature sent by the affair station node at regular time, wherein the deposit scale signature is obtained by adopting a secret key of the affair station node to sign the deposit information of the affair station stored by the affair station node;
and the deposit size signature uplink module is used for processing and writing the deposit size signature into the block chain as transaction data.
In a seventh aspect, an embodiment of the present invention provides an apparatus, including:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the block chain based element security certification method provided in the embodiment of the first aspect of the present invention; or
When the one or more programs are executed by the one or more processors, the one or more processors implement the block chain based element security certification method provided by the embodiment of the second aspect of the present invention; or
When the one or more programs are executed by the one or more processors, the one or more processors implement the block chain based element security certification method provided in the embodiment of the third aspect of the present invention.
In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the blockchain-based element security attestation method performed by a transaction node in a blockchain network, provided in the embodiment of the first aspect of the present invention; or
When executed by a processor, the program implements a blockchain-based element security attestation method performed by a user node in a blockchain network, as provided by an embodiment of the second aspect of the present invention; or
The program is executed by a processor to implement the blockchain-based element security certification method performed by a blockchain generation node in a blockchain network according to the embodiment of the third aspect of the present invention.
In the embodiment of the invention, the deposit information of the transaction stored by the local node is signed by the transaction node in the block chain network to obtain the deposit scale signature of the element, and the deposit scale signature is transmitted to the block chain network, so that the block generation node and the user node in the block chain generate a new block according to the deposit scale signature of the element and verify the new block, and finally the deposit scale signature is written into the block chain as transaction data. According to the embodiment of the invention, the information stored in the affair place is transmitted to the block chain network, and the asset verification basis of the element affair place is provided for the user node in the block chain network, so that the security verification of the asset of the element affair place is realized, and the social public credibility of the element affair place and the participation desire of the user are improved.
Drawings
Fig. 1 is a flowchart of a block chain-based element security certification method according to an embodiment of the present invention;
FIG. 2 is a flowchart of verifying deposit sizes of a node of a firm according to a second embodiment of the present invention;
fig. 3 is a diagram illustrating a structure of a mekerr tree in a node of a firm according to a second embodiment of the present invention;
FIG. 4 is a diagram illustrating an example of an extracted Merkel subtree according to a second embodiment of the present invention;
FIG. 5 is a flowchart for verifying the deposit preparation size of a node of a firm according to a third embodiment of the present invention;
fig. 6 is a flowchart of a block chain-based element security certification method according to a fourth embodiment of the present invention;
FIG. 7 is a flowchart of verifying deposit size of a node of a firm according to a fifth embodiment of the present invention;
FIG. 8 is a flowchart for verifying the deposit preparation size of a node at a firm according to a sixth embodiment of the present invention;
fig. 9 is a flowchart of determining reliability of a node of a firm according to a seventh embodiment of the present invention;
fig. 10 is a flowchart of an element security certification method based on a block chain according to an eighth embodiment of the present invention;
FIG. 11 is a flow chart of the auxiliary verification of the deposit reserve size according to the ninth embodiment of the present invention;
fig. 12 is a flowchart of an element security certification method based on a block chain according to a tenth embodiment of the present invention;
fig. 13 is a schematic structural diagram of an element security certification apparatus based on a block chain according to an eleventh embodiment of the present invention;
fig. 14 is a schematic structural diagram of an element security certification apparatus based on a block chain according to a twelfth embodiment of the present invention;
fig. 15 is a schematic structural diagram of an element security certification apparatus based on a block chain according to a thirteenth embodiment of the present invention;
fig. 16 is a schematic structural diagram of an apparatus according to a fourteenth embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the embodiments of the invention and that no limitation of the invention is intended. It should be further noted that, for convenience of description, only some structures, not all structures, relating to the embodiments of the present invention are shown in the drawings.
The technical scheme of each embodiment of the invention can be realized based on various independent block chains in the traditional independent block chain or a super chain, and the management and the verification are carried out aiming at one element in the block chain. The super chain is composed of a basic chain and a parallel chain, wherein the basic chain can be used for establishing connection among various independent parallel chains, the parallel chain can be derived from the basic chain, or can have equivalent status and function with the basic chain, and data exchange can be performed on the basis of the basic chain. It should be noted that there is an overlapping relationship between all nodes participating in the base chain and all nodes participating in the parallel chain.
Example one
Fig. 1 is a flowchart of an embodiment of a block chain-based element security proving method, which may be applied to prove the security of an element transaction asset in a block chain network, where the method may be executed by a transaction node in the block chain network, where the transaction node may be a block link point located in a conventional independent block chain, a block link point located in a basic chain of a hyperchain network, a block link point located in a parallel chain of the hyperchain network, or a block chain node located in the basic chain of the hyperchain network and participating in the parallel chain. The method may be performed by a blockchain-based elemental security certification device deployed at a clearinghouse node. The method specifically comprises the following steps:
and S110, signing the deposit information of the affair stored in the local node by adopting the key of the local node to obtain the deposit scale signature of the element.
In an embodiment of the present invention, a local node refers to a transaction office node in a blockchain network, and is used for managing transaction data of elements in the blockchain network. The information of deposit of the firm is stored in the firm node, and the information of deposit of the firm can include deposit scale information of the firm, reserve scale information of the firm, identity information of each user participating in deposit, deposit information and the like. The element refers to a reward issued in the blockchain network, which can encourage the user to participate in the blockchain network, has a certain economic value, and is usually issued in the form of a digital token in the blockchain network. For a super-link network, elements which are strong in public confidence and accepted by a large number of users, such as bitcoin, have been issued in a basic link; and elements which are the same as or different from the elements in the basic chain can be issued in the parallel chain according to the actual product requirements, and the elements are propagated and converted based on the nodes participating in the parallel chain in the basic chain.
In this embodiment, the office node may be configured to manage the same element, and further to improve the credibility and reliability of the element in the blockchain network, in this embodiment, the key of the local node may be used to perform encryption signature on the information stored in the office node, so as to obtain a deposit scale signature of the element, that is, a deposit scale stored in the office node at the current time, and further propagate the deposit scale to the blockchain network, so as to meet a requirement of a user for verifying an asset in the blockchain in which the user participates.
Specifically, each node in the blockchain network includes a pair of keys, which are a public key and a private key, respectively, where the public key is disclosed in the blockchain network, and the private key is stored by the node itself. The content encrypted by the private key can be decrypted only by the corresponding public key, otherwise, the content encrypted by the public key can be decrypted only by the corresponding private key. In view of the long length of the public key and the slow encryption speed, the embodiment preferably uses the private key for encrypted signature. In this embodiment, based on an asymmetric cryptographic signature algorithm, the private key of the node of the transaction place is used to perform cryptographic signature on the information stored in the transaction place, and after receiving the deposit-scale signature of the element, other nodes may use the public key of the node of the transaction place to perform decryption for verification. Or the embodiment may also perform encryption signature on the information stored in the transaction place by using the public key of the transaction place node based on a symmetric encryption signature algorithm, and after receiving the deposit-scale signature of the element, other nodes may decrypt the information by using the public key of the transaction place node to perform verification.
Optionally, the deposit scale signature of the element is obtained by signing the root node information data in the merkel tree of the element in the local node by using the key of the local node.
In one embodiment of the present invention, the Merkel tree is an important data structure for the blockchain, which is used to quickly summarize and check the existence and integrity of the blockdata. The operation process of the mekerr tree is generally to hash the data of the block in groups and insert the generated new hash value into the mekerr tree, and recursion is carried out until only the last root hash value is left and is marked as the Merkle root of the block head. The meikerr tree may in turn contain leaf nodes as well as branch nodes and root nodes generated with corresponding two child nodes.
In this embodiment, each leaf node in the merkel tree of the element stores unique user identity information, the savings amount of the user, and a hash value of the savings amount of the user, which correspond to the leaf node, and the branch node and the root node in the merkel tree respectively store a hash value of a sum of the savings amounts of the two corresponding child nodes and a sum of the savings amounts. It can be understood that the hash value of the user deposit amount is generated according to the user deposit amount, that is, the storage amount in each node in the merkel tree is in corresponding relation with the hash value.
S120, transmitting the deposit scale signature of the element to the blockchain network, processing by the blockchain network block generation node and the user node, and writing the deposit scale signature as transaction data into the blockchain.
In an embodiment of the present invention, a block generation node refers to a node that contends for the current transaction right in a blockchain network, and is capable of performing interaction, writing, and storage on transaction data. A user node refers to a node in a blockchain network that participates in a blockchain that can publish an element. The firm node and the block generation node and the user node may be nodes located in the same block chain. For a hyperchain network, the firm node, the block generation node and the user node may be nodes located in the same basic chain; or nodes in the same parallel chain; it may also be that the firm node is a node in the underlying chain that participates in the parallel chain, and the chunk generating node and the user node are located in the parallel chain. In this embodiment, the correspondence between each node and the blockchain network is not limited as long as the office node, the block generation node, and the user node can process the same element.
Specifically, when the transaction office node obtains the deposit scale signature of the element in real time or at regular time, the deposit scale signature of the element is transmitted to the blockchain network, so that the nodes in the blockchain network receive the deposit scale signature of the element. The block generation node generates a new block according to the received deposit scale signature and sends the new block to each user node in the block chain network, meanwhile, the user node also generates a new block according to the received deposit scale signature and compares the new block with the new block sent by the block generation node to verify the deposit scale signature, and therefore the deposit scale signature is written into the block chain as transaction data to meet the requirement of a user for verifying assets in the block chain in which the user participates.
In addition, on the basis of the deposit scale signature stored in the blockchain, the firm node of the embodiment may also respond to the user to prove the deposit scale of the firm node, that is, after acquiring the personal deposit proving request sent by the user node, all nodes including the deposit data of the user node are extracted from the meikel tree according to the personal deposit proving request to form a meikel sub-tree, and the time stamp of the meikel sub-tree is determined. And further sending the time stamps comprising the Meckel subtree and the Meckel subtree to the user node, and verifying the deposit scale of the transaction place node by the user node according to the time stamps of the Meckel subtree and the deposit scale signature stored in the block chain.
In addition, on the basis of the deposit size signature stored in the blockchain, the firm node of the embodiment can also respond to the user to prove the deposit size of the firm node, namely, by initiating a transaction request for transferring the element of the preset deposit preparation amount from the first account of the firm node to the second account; the transaction request, the first account information, and the second account information are sent to a block generation node. And the user node verifies the deposit preparation amount scale of the transaction node according to the processing result of the transaction request, the first account information and the second account information. And then, the transfer transaction is successfully written into the block chain, so that a user can know that the transaction place node currently stores a certain amount of reserve fund scales, and elements managed by the transaction place can be flexibly spread in the block chain network.
When verifying the preparation fund scale, specifically, the verification character string sent by the block generation node can be received; signing the verification character string by adopting a private key of a first account to obtain a first signature, and signing the verification character string by adopting a private key of a second account to obtain a second signature; and sending the transaction request, the first signature, the second signature, the public key of the first account and the public key of the second account to the block generation node. So that the block generation node processes the transaction request and sends the processing result of the transaction request, the first signature, the second signature, the public key of the first account and the public key of the second account to the user node. And encrypting the verification character string by a transaction place node in a block chain network, writing in the transfer transaction data by combining a block generation node, and decrypting and matching the verification character string when the user node knows that the transfer transaction is true, so that the transfer transaction and the public key belong to the same transaction place node, and the public key and the private key are completely matched, thereby realizing the verification of the prepared fund scale of the transaction place. Accordingly, the firm node needs to process from the account currently storing the savings preparation amount while continuing to process the element's transaction subsequently.
According to the technical scheme of the embodiment, the deposit information of the transaction stored by the local node is signed by the transaction node in the block chain network to obtain the deposit scale signature of the element, the deposit scale signature is transmitted to the block chain network, so that the block generation node and the user node in the block chain generate a new block according to the deposit scale signature of the element and verify the new block, and finally the deposit scale signature is written into the block chain as transaction data. According to the embodiment of the invention, the information stored in the affair place is transmitted to the block chain network, and the asset verification basis of the element affair place is provided for the user node in the block chain network, so that the security verification of the asset of the element affair place is realized, and the social public credibility of the element affair place is improved.
Example two
The embodiment provides a preferred implementation of the element security certification method based on the blockchain based on the first embodiment, and can certify the deposit size of the firm node. Fig. 2 is a flowchart for verifying deposit size of a node of a firm according to a second embodiment of the present invention, and as shown in fig. 2, the method includes the following specific steps:
s210, signing the root node information data in the Merkel tree of the element in the local node by adopting the key of the local node to obtain the deposit scale signature of the element.
In an embodiment of the present invention, the merkel tree includes the underlying transaction data of the chunk and the hash value corresponding to the transaction data, and recurses until only the last root hash value remains and is marked as the Merkle root of the chunk header. The Merkel tree may further include leaf nodes, and branch nodes and root nodes generated by the two corresponding child nodes, wherein each leaf node in the Merkel tree of the element stores unique user identity information corresponding to the leaf node, the savings amount of the user, and a hash value of the savings amount of the user, and the branch nodes and the root nodes in the Merkel tree respectively store a sum of the savings amounts of the two corresponding child nodes and a hash value of the sum of the savings amounts.
FIG. 3 is a diagram of an example structure of a Merkel tree in a firm node. As can be seen from fig. 3, the user account stores the user's Identification (ID) and the savings Amount (Token account) of the element, and the leaf node of the merkel tree is correspondingly generated, which includes the Hash value (Hash1) and the savings Amount of the corresponding user. And generating a branch node by the two leaf nodes, wherein the branch node comprises the sum of the savings sum (Total Token Amount from Account A/B) of the two leaf nodes and a new Hash value (Hash5) of the sum of the savings sum. And so on until there is only one root node containing the sum of All accounts 'savings (Total Token Account from All Account) and the new Hash of the sum of All accounts' savings (Hash 7). Therefore, the savings amount and the hash value in each node are in corresponding relation, and extend towards the root node along the Merkel tree, each branch node and the root node are generated according to the two corresponding child nodes, so that the data and the hash value in the root node are generated according to all the child nodes, further the deposit scale condition in the transaction place node is presented by the root node information data in the Merkel tree, and the correctness of the deposit scale can be effectively verified according to the root node information data in the Merkel tree.
Correspondingly, in this embodiment, by using the key of the transaction center node, preferably the private key, only the root node information data in the merkel tree of the element in the transaction node may be encrypted and signed, and the deposit scale signature including all the deposit information of the element may be obtained in real time or at regular time according to the root node information data of the merkel tree updated by the transaction processing at each moment. Therefore, deposit scale signatures with different time stamps are stored in the blockchain, and the disclosure of user privacy in the child nodes of the Merkel tree is avoided.
S220, transmitting the deposit scale signature of the element to the blockchain network, processing by the blockchain network block generation node and the user node, and writing the deposit scale signature as transaction data into the blockchain.
In a specific embodiment of the invention, when the deposit size signature of the element is obtained by the office node in real time or in a timed manner, the deposit size signature of the element is transmitted to the blockchain network, so that the deposit size signature of the element is received by the nodes in the blockchain network. The block generation node generates a new block according to the received deposit scale signature and sends the new block to each user node in the block chain network, meanwhile, the user node also generates a new block according to the received deposit scale signature and compares the new block with the new block sent by the block generation node to verify the deposit scale signature, and therefore the deposit scale signature is written into the block chain as transaction data to meet the requirement of a user for verifying assets in the block chain in which the user participates.
S230, obtaining a personal deposit certification request sent by a user node, extracting all nodes including deposit data of the user node from the Merkel tree to form a Merkel subtree, and determining a timestamp of the Merkel subtree.
In an embodiment of the present invention, the individual deposit certification request refers to a request for the user node to verify whether the deposit size signature issued by the firm node in the blockchain network indicates that the size of the firm store is accurate. On the basis of a deposit scale signature stored in a block chain, when a transaction office node acquires a personal deposit certification request sent by a user node, the transaction office node responds to the personal deposit certification request, extracts all nodes including deposit data of the user node from a current Merkel tree to form a Merkel subtree, and determines the current generation time of the Merkel subtree at the same time; or a Merkel subtree extracted from the Merkel tree in accordance with the time stamp information contained in the personal deposit certification request, wherein the time stamp is the time stamp information contained in the personal deposit certification request. The method provides a basis for the user node to verify the data, and does not reveal the privacy of other users in the block chain network.
Illustratively, FIG. 4 is an exemplary diagram of an extracted Merkel subtree. As can be seen from the figure, the user account D initiates deposit evidence to the transaction institute, and the transaction institute node extracts all nodes in the Merkel tree containing the storage data of the user account D according to the storage data of the user account D to form a Merkel subtree for verifying the storage size, and records the extraction time of the Merkel subtree.
And S240, sending the time stamps comprising the Merkel subtree and the Merkel subtree to the user node, and verifying the deposit scale of the transaction institute node by the user node according to the time stamps of the Merkel subtree and the deposit scale signature stored in the block chain.
In the embodiment of the invention, after the transaction office node responds to the personal storage certification request of the user node and determines the Merkel subtree and the timestamp thereof, the transaction office node sends the Merkel subtree and the timestamp thereof to the corresponding user node. And the user node finds the deposit scale signature corresponding to the timestamp from the deposit scale signatures stored in the block chain network according to the timestamp of the Meckel subtree, so that the deposit scale is verified by the user node through checking the information in each node in the Meckel subtree, matching the deposit amount with the hash value in each node and judging the consistency of the information in the Meckel subtree and the corresponding deposit scale signature. If the information is correctly collated, the deposit amount is successfully matched with the hash value, and the Meckel subtree is completely consistent with the information in the corresponding deposit scale signature, the deposit scale published by the firm node is proved to be correct, the reliability of the firm node is higher, and more users can be attracted to participate in the deposit scale signature more easily.
According to the technical scheme of the embodiment, the deposit scale signature of the encrypted element is transmitted and written into the block chain through the transaction place node in the block chain network, so that after a personal deposit certification request for certifying the deposit scale by the user node is obtained, the corresponding Merkel subtree containing the storage information data and the timestamp thereof are sent to the corresponding user node, and the user node can verify the deposit scale of the transaction place node according to the Merkel subtree, the timestamp of the Merkel subtree and the deposit scale signature stored in the block chain. The embodiment of the invention transmits the information stored in the affair place to the block chain network, responds to the verification request of the user and provides the asset verification basis of the element affair place for the user node in the block chain network, thereby realizing the security verification of the asset of the element affair place and improving the social public credibility of the element affair place.
EXAMPLE III
The present embodiment provides a preferred implementation of the element security certification method based on the blockchain on the basis of the second embodiment described above, and the savings preparation amount of the office node can be certified on the basis of the savings size of the office node in the above embodiment. Fig. 5 is a flowchart for verifying the deposit preparation amount size of a node of a firm according to a third embodiment of the present invention, and as shown in fig. 5, the method includes the following specific steps:
and S510, signing the root node information data in the Merkel tree of the element in the local node by adopting the key of the local node to obtain the deposit scale signature of the element.
In the embodiment of the invention, the key of the transaction center node, preferably a private key, is used, only the root node information data in the merkel tree of the element in the transaction node can be encrypted and signed, and the deposit scale signature containing all deposit information of the element can be obtained in real time or at regular time according to the root node information data of the merkel tree updated by transaction processing at each moment. Therefore, deposit scale signatures with different time stamps are stored in the blockchain, and the disclosure of user privacy in the child nodes of the Merkel tree is avoided.
S520, transmitting the deposit scale signature of the element to the blockchain network, processing by the blockchain network block generation node and the user node, and writing the deposit scale signature as transaction data into the blockchain.
In a specific embodiment of the invention, when the deposit size signature of the element is obtained by the office node in real time or in a timed manner, the deposit size signature of the element is transmitted to the blockchain network, so that the deposit size signature of the element is received by the nodes in the blockchain network. The block generation node generates a new block according to the received deposit scale signature and sends the new block to each user node in the block chain network, meanwhile, the user node also generates a new block according to the received deposit scale signature and compares the new block with the new block sent by the block generation node to verify the deposit scale signature, and therefore the deposit scale signature is written into the block chain as transaction data to meet the requirement of a user for verifying assets in the block chain in which the user participates.
S530, initiating a transaction request for transferring the elements of the preset savings preparation amount from the first account to the second account of the transaction institute node.
In the embodiment of the invention, the deposit reserve of the office node is a certain amount of element deposits which are stored by the office node in daily life, and is used for performing daily element interaction on a block chain where the elements are located and reducing the bankruptcy probability of the office node. The credit of the reserve prepare amount is predetermined and issued by the office node in the blockchain network. The first account is an account owned by the firm node for storing the savings preparation amount, the second account is also an account owned by the firm node for receiving the savings preparation amount, both the first account and the second account are controlled by the firm node, and their roles are interchangeable.
Specifically, when the office node in this embodiment performs the deposit preparation amount scale verification, in order to prove that the office node has a certain amount of deposit preparation amount, the office node performs a transfer transaction, and performs transfer processing between two accounts which can be controlled by the office node, that is, an element of the preset deposit preparation amount is transferred from a first account of the office node to a second account, and initiates a transaction request including the transfer transaction.
S540, sending the transaction request, the first account information and the second account information to the block generation node, processing the transaction request by the block generation node, sending a processing result of the transaction request, the first account information and the second account information to the user node, and verifying the deposit preparation amount scale of the transaction node by the user node according to the processing result of the transaction request, the first account information and the second account information.
In an embodiment of the present invention, the first account information and the second account information may include an identifier and a key of a corresponding account. And the transaction place node sends the transaction request, the first account information and the second account information to the block generation node so that the block generation node processes the transaction request to obtain a processing result of the transaction request, namely whether the transaction data associated with the transaction request is written into the block chain. And the block generation node sends the processing result, the first account information and the second account information to the user node so that the user node judges whether the transfer transaction is true according to the processing result of the transaction request, namely whether the transaction place node has enough deposit preparation amount, and verifies the deposit preparation amount scale of the transaction place node according to the first account information and the second account information.
Specifically, in order to verify whether the key of the transfer node and the key of the transaction place node owned by the user originate from the same node, and verify whether the key owned by the user and the initiator of the transfer transaction originate from the same transaction place node, optionally, the receiving block generates a verification character string sent by the node; signing the verification character string by adopting a private key of a first account to obtain a first signature, and signing the verification character string by adopting a private key of a second account to obtain a second signature; and the block generation node processes the transaction request and sends a processing result of the transaction request, the first signature, the second signature, the public key of the first account and the public key of the second account to the user node.
In an embodiment of the present invention, the validation string is an arbitrary string that is published by the blockchain network at regular times by the blockchain generation node. The embodiment is based on an asymmetric encryption signature algorithm, and carries out encryption signature and decryption on a verification character string according to a pair of matched public key and private key owned by an account.
Specifically, when the transaction office node performs deposit preparation amount verification and receives the verification character string, the private key of the first account is used for signing the verification character string to obtain a first signature, and the private key of the second account is used for signing the verification character string to obtain a second signature. The block generation node then sends the transaction request for the savings preparation transfer, the first signature, the second signature, the public key of the first account, and the public key of the second account to the block generation node. And the block generation node sends the processing result of the transaction request, the first signature, the second signature, the public key of the first account and the public key of the second account to the user node. Finally, the user node can judge that the transaction place node currently stores a certain amount of reserve fund scales according to the transaction data associated with the transaction request written into the block chain, meanwhile, the verification character strings decrypted by the public key are respectively matched with the verification character strings issued by the block generation node, if the verification character strings are successfully matched, the transfer transaction and the public key belong to the same transaction place node, and the public key and the private key are completely matched, so that the reserve fund scales of the transaction place are verified.
According to the technical scheme of the embodiment, the deposit scale signature of the encrypted element is transmitted and written into the blockchain through a transaction place node in the blockchain network, when the deposit preparation amount scale is verified, the transaction place node initiates a transfer transaction request of the deposit preparation amount, a verification character string issued by the block generation node is subjected to encryption signature on the verification character string by adopting a private key of a user for transferring, and therefore the processing result of the transaction request, the first signature, the second signature, the public key of the first account and the public key of the second account are sent to the user node together through the block generation adding point, and the user node is used for verifying the deposit preparation amount scale of the transaction place. The embodiment of the invention provides the asset verification basis of the element firm for the user node in the blockchain network by transmitting the information stored in the firm to the blockchain network, and by saving the reserve transfer and verifying the character string signature, thereby realizing the security verification of the asset of the element firm and improving the social public credibility of the element firm.
Example four
Fig. 6 is a flowchart of an element security certification method based on a blockchain according to a fourth embodiment of the present invention, where this embodiment may be applied to certify the security of an element transaction asset in a blockchain network, and the method may be executed by a user node in the blockchain network, where the user node may be a blockchain node located in a conventional independent blockchain, or a blockchain node located in a base chain of a hyperchain network, or a blockchain node located in a parallel chain of the hyperchain network. The method may be performed by a blockchain-based elemental security certification device deployed at a user node. The method specifically comprises the following steps:
s610, transmitting the on-chain inquiry request to the block chain network.
In the embodiment of the invention, the user node can access and inquire the blockchain network, and the user node can inquire various transaction data in the blockchain network within the authority range and transmit the transaction data to the blockchain network in the form of a chain inquiry request. The query request on the chain may include any additional information used by the user node for querying. For example, the information may include query time information, user identity information, or element type information.
S620, searching a deposit scale signature matched with the query request on the chain from the block chain of the block chain network.
In the specific embodiment of the invention, the deposit scale signature is obtained by adopting a secret key of the firm node to sign the firm deposit information stored by the firm node; the firm node is used for managing the affairs of at least one element. Therefore, the deposit scale signature corresponding to each time or time period is stored in the blockchain. Specifically, the deposit scale signature is obtained by signing root node information data in a Merkel tree of elements in the node of the firm by adopting a private key of the node of the firm; each leaf node in the Meckel tree of the element stores unique user identity information, the user savings amount and the hash value of the user savings amount corresponding to the leaf node, and the branch node and the root node in the Meckel tree respectively store the savings amount sum of the two corresponding child nodes and the hash value of the savings amount sum.
In this embodiment, the user node may search, according to the on-chain query request, a deposit scale signature matched with the on-chain query request from a blockchain of the blockchain network, and decrypt the deposit scale signature obtained according to a public key of the office node owned by the user node, thereby obtaining deposit scale information of the office node included in the deposit scale signature, and providing a basis for verification of the deposit scale of the office node and verification of the deposit preparation amount scale by the user node.
The user node in this embodiment can send a personal deposit certification request on the basis of being able to perform on-chain query, and obtains a merkel subtree including a user identity and storage data and a timestamp of the merkel subtree by querying from the blockchain network through user identity information, timestamps, elements, and other information included in the personal deposit certification request, and obtains a deposit scale signature corresponding to the timestamp of the merkel subtree by querying from the blockchain network, and further, the user node realizes that the user node verifies the deposit scale by checking information in each node in the merkel subtree, matching a deposit amount and a hash value in each node, and judging consistency of information in the merkel subtree and the corresponding deposit scale signature.
In addition, the user node in this embodiment can also verify the deposit preparation amount of the office node on the basis of being capable of performing on-chain inquiry and verifying the deposit scale in the office node. After the deposit preparation amount is transferred among the controllable accounts of the transaction bureau node, the processing result of the transaction request transmitted by the block generation node, the first account information and the second account information are obtained. Wherein the transaction request is a request initiated by the firm node to transfer an element of the preset savings preparation amount from a first account to a second account of the firm node; the first account information is a first signature obtained by the transaction bureau node signing the verification character string by adopting a private key of a first account; the second account information is a second signature obtained by the transaction office node signing the verification character string by adopting a private key of the first account; the validation string is issued by the blockchain network at regular intervals by the blockchain generation node. And the user node can verify the deposit preparation amount scale of the transaction institute node according to the acquired processing result of the transaction request, the first account information and the second account information.
According to the technical scheme of the embodiment, the on-chain query request is generated in the blockchain network through the user node, so that the deposit scale signature matched with the on-chain query request can be searched from the blockchain network. The function of inquiring the deposit scale of the affair place from the blockchain network is realized, and the asset verification basis of the element affair place is provided for the user node in the blockchain network, so that the security verification of the asset of the element affair place can be realized, and the social public credibility of the element affair place and the participation desire of the user are improved.
EXAMPLE five
The present embodiment provides a preferred implementation of the element security certification method based on the block chain on the basis of the fourth embodiment, and the deposit scale of the firm node can be certified on the basis that the user node in the above embodiment can perform on-chain query. Fig. 7 is a flowchart of verifying deposit size of a node of a firm according to a fifth embodiment of the present invention, and as shown in fig. 7, the method includes the following specific steps:
s710, sending a personal savings certification request to the firm node.
In an embodiment of the present invention, the individual deposit certification request refers to a request for the user node to verify whether the deposit size signature issued by the firm node in the blockchain network indicates that the size of the firm store is accurate. Which may include user identity information, as well as timestamps, etc. And when the user node needs to verify the deposit scale of the office node, a personal deposit certification request can be generated and sent to the office node. Because the deposit information of the elements in the block chain is stored in the Merkel tree of the transaction station node, the stored information is generated recursively based on the generation relation of the whole Merkel tree. Therefore, the user node can verify the deposit scale of the firm node according to the personal deposit data obtained by the personal deposit certification request.
S720, receiving the Meckel subtree returned by the affair post node responding to the personal deposit evidence request and the timestamp of the Meckel subtree.
In an embodiment of the present invention, the merkel subtree is formed by all nodes extracted from the merkel tree and including the local node deposit data, may be formed by all nodes extracted from the current merkel tree by the office node and including the deposit data of the user node, or may be formed by all nodes extracted from the merkel tree by the office node and consistent with the timestamp information included in the personal deposit certification request. Accordingly, the timestamp of the Merkel subtree may refer to the current generation time of the Merkel subtree or the timestamp information contained in the request for proof of deposit for the individual. And the user node receives the Meckel subtree returned by the firm node in response to the personal deposit certification request and the timestamp of the Meckel subtree, and is used for verifying the deposit scale of the firm node.
And S730, checking the deposit scale of the transaction place node according to the Merkel subtree, the timestamp of the Merkel subtree and the deposit scale signature stored in the block chain.
In the embodiment of the invention, the deposit scale signature corresponding to each time or time period is stored in the block chain, and the user node verifies the deposit scale of the transaction institute node according to the received merkel subtree, the timestamp of the merkel subtree and the deposit scale signature stored in the block chain.
Optionally, a deposit scale signature corresponding to the timestamp is obtained from the blockchain; and checking the deposit scale of the transaction place node according to the Meckel subtree and the acquired deposit scale signature.
In the embodiment of the invention, the user node finds the deposit scale signature corresponding to the timestamp from the deposit scale signatures stored in the block chain according to the timestamp of the Meckel subtree, and decrypts the found deposit scale signature according to the public key of the transaction institute node to obtain the deposit scale of the time corresponding to the transaction institute node, so that the deposit scale is verified by the user node through proofreading of information in each node in the Meckel subtree, matching of the deposit amount and the hash value in each node and consistency judgment of the decrypted information of the Meckel subtree and the corresponding deposit scale signature.
Optionally, if the savings information and the hash value of the savings information in the savings scale signature are respectively the same as the savings information and the hash value of the savings information of the root node in the merkel subtree; and the deposit amount information of each node in the Meckel subtree is matched with the corresponding deposit amount hash value, so that the deposit scale of the transaction place node is determined to be accurate.
In the embodiment of the present invention, if the hash values of the deposit information and the deposit information in the deposit scale signature are the same as the hash values of the deposit information and the deposit information of the root node in the merkel subtree, it indicates that the merkel subtree of the user node is consistent with the information in the deposit scale signature. If the deposit amount information of each node in the Meckel subtree is correct, the correctness of the information in each node in the Meckel subtree is corrected. If the hash value obtained by calculation according to the correct deposit amount information in each node in the Merkel subtree is matched with the corresponding deposit amount hash value, and the deposit amount information in each node obtained by layer-by-layer recursive calculation along the direction from the Merkel subtree to the root node is correct with the deposit amount hash value, the information in each node is also matched. And further, the deposit scale of the office node can be comprehensively judged to be accurate.
According to the technical scheme of the embodiment, on the basis that the user node can perform on-chain query, the user node sends the individual deposit certification request to the firm node to obtain the Meckel subtree and the timestamp thereof, which are formed by all nodes containing user data, so that the deposit scale of the firm node is verified according to the time stamps of the Kerr subtree and the Merkel subtree and the deposit scale signature stored in the block chain. The embodiment of the invention realizes the verification of the deposit scale in the office node on the basis that the user node can carry out on-chain inquiry, thereby providing an effective basis for the user to measure the reliability of the office and improving the safety of the user fund and the social public credibility of the element office.
EXAMPLE six
The present embodiment provides a preferred implementation of the element security certification method based on the blockchain on the basis of the fifth embodiment, and the user node in the above embodiment can perform on-chain inquiry and verification on the deposit scale in the firm node, and can certify the deposit reserve scale of the firm node. Fig. 8 is a flowchart for verifying the deposit preparation amount size of a node of a firm according to a sixth embodiment of the present invention, and as shown in fig. 8, the method includes the following specific steps:
and S810, checking the deposit scale of the transaction place node according to the Merkel subtree and the acquired deposit scale signature.
In the embodiment of the invention, the user node finds the deposit scale signature corresponding to the timestamp from the deposit scale signatures stored in the block chain according to the timestamp of the Meckel subtree, and decrypts the found deposit scale signature according to the public key of the transaction institute node to obtain the deposit scale of the time corresponding to the transaction institute node, so that the deposit scale is verified by the user node through proofreading of information in each node in the Meckel subtree, matching of the deposit amount and the hash value in each node and consistency judgment of the decrypted information of the Meckel subtree and the corresponding deposit scale signature.
S820, obtaining the processing result of the transaction request transmitted by the block generation node, the first account information and the second account information.
In a particular embodiment of the invention, the transaction request is a request initiated by the firm node to transfer an element of the preset savings preparation from the first account to the second account of the firm node. After receiving a transaction request sent by a transaction node, a block generation node processes the transaction request to generate a new block containing transaction data related to the transaction request, and writes the transaction data into a block chain or discards the transaction data according to the verification of the new block, namely, the block generation node processes the transaction request. The first account information is a first signature obtained by the transaction bureau node signing the verification character string by adopting a private key of a first account; the second account information is a second signature obtained by the transaction bureau node signing the verification character string by adopting the private key of the first account. The verification character string is an arbitrary character string which is issued on the block chain by the block generation node at regular time. And the user node can acquire the processing result of the transaction request transmitted by the block generation node, the first account information and the second account information.
And S830, verifying the deposit preparation amount scale of the transaction institute node according to the acquired processing result of the transaction request, the first account information and the second account information.
In an embodiment of the invention, the authenticity of the transfer of the savings prepare amount by the clearinghouse node may be determined based on the processing of the transaction request. Whether the key of the transaction node owned by the user node is correct and whether the key and the transaction request originate from the same transaction node can be judged according to the first account information and the second account information.
Optionally, if the transaction request is successfully processed, and both a first character string obtained by decrypting the first signature with the public key of the first account and a second character string obtained by decrypting the second signature with the public key of the second account are the same as the verification character string, it is determined that the transaction place node has an element of the deposit preparation amount.
In the embodiment of the invention, when the transaction data including the transfer of the deposit reserve amount by the office node is written into the block chain, namely the transaction request is successfully processed, it can be determined that the office node currently stores a certain amount of reserve amount scale, and the deposit reserve amount transfer transaction is true. Meanwhile, a user node can obtain a verification character string issued by a block generation node on a block chain, the user node decrypts a first signature by using a public key of a first account of a transaction place node to obtain a first character string, decrypts a second signature by using a public key of a second account of the transaction place node to obtain a second character string, and then matches the first character string and the second character string with the verification character string issued by the block generation node respectively, if the first character string obtained by decryption is the same as the verification character string, and the second character string obtained by decryption is the same as the verification character string, whether a secret key of the transaction place node owned by the user node is correct or not can be judged, and whether the secret key and a transaction request originate from the same transaction place node or not can be judged. And further, according to the authenticity of the deposit reserve transfer and whether the key and the transaction request originate from the same firm node, determining that the firm node has an element of the deposit reserve, and verifying the deposit reserve scale of the firm node.
According to the technical scheme, on the basis that the user node can perform on-chain query and verify the deposit scale in the office node, the user node verifies the deposit preparation amount scale of the office node by acquiring the processing result of the transaction request, the public key of the first account, the public key of the second account, the first signature and the second signature, sent by the block generation node and used for performing deposit preparation amount transfer on the office node. The embodiment of the invention realizes the verification of the deposit reserve scale in the office node on the basis that the user node can carry out on-chain inquiry and the verification of the deposit scale in the office node, thereby providing an effective basis for the user to measure the reliability of the office and improving the safety of the user fund and the social public trust of the element office.
EXAMPLE seven
On the basis of the sixth embodiment, this embodiment provides a preferred implementation of the element security certification method based on the blockchain, and after the deposit size and the deposit preparation size of the office node are verified, the reliability of the office node can be determined. Fig. 9 is a flowchart of determining reliability of a transaction node according to a seventh embodiment of the present invention, and as shown in fig. 9, the method includes the following specific steps:
s910, a deposit scale signature issued by the transaction place node in the current time period is obtained from the blockchain network, and current deposit information is determined according to the obtained deposit scale signature.
In the specific embodiment of the invention, when the deposit scale of the office node is effectively verified by the user node, the latest deposit scale signature issued by the office node in the current time period is obtained, the current deposit information is determined according to the obtained deposit scale signature, and the specific numerical value of the deposit scale corresponding to the current deposit information is obtained.
And S920, determining the proportion value of the current reserve amount according to the reserve amount and the current reserve information.
In the specific embodiment of the invention, when the user node is effectively verified on the deposit preparation amount scale of the office node, the deposit preparation amount issued by the office node in advance can be determined to be correct, and then the deposit preparation amount is divided by the specific numerical value of the deposit scale corresponding to the current deposit information, so that the proportional value of the deposit preparation amount and the current preparation amount of the current deposit information can be determined.
S930, determining the reliability of the transaction place node according to the current reserve ratio value and a reserve ratio threshold value provided by the transaction place node in advance.
In an embodiment of the present invention, the pre-provided preparation amount ratio threshold value provided by the office node is a ratio threshold value of a specific deposit scale, which is promised by the office to the public, and at least the deposit preparation amount held by the office node and the current deposit information are issued in the blockchain network in advance, so as to be verified by the user node in the blockchain network. And then, according to the current reserve ratio value and a reserve ratio threshold value provided by the transaction place node in advance, the reliability of the transaction place node can be determined. It can be understood that, if the current value of the reserve proportion is not less than the threshold value of the reserve proportion, the user node may determine that the transaction bureau node is reliable, and then the user node may reassure the blockchain in which the elements managed by the transaction bureau node are located, and perform related transactions to store or increase the amount of the elements stored in the user node, thereby bringing greater benefit to the user; on the contrary, if the current value of the reserve amount ratio is smaller than the threshold value of the reserve amount ratio, the user node may determine that the transaction center node is unreliable, and then the user node may avoid or reduce the dependency on the transaction center node and related transactions, thereby ensuring the security of the user node element.
For example, assuming that the threshold value of the reserve amount ratio provided by the office node in advance is X%, the deposit size, which is a specific numerical value of the deposit size corresponding to the current deposit information, is M, and the deposit reserve amount is N, the value of the reserve amount ratio is N/M. And comparing the reserve amount ratio threshold value X with the current reserve amount ratio value N/M, wherein if the N/M is not less than X, the affair bureau node fulfills the own reserve fund commitment, the reliability of the affair bureau node is higher, and the safety of fund storage of the user and the participation desire of the user are improved.
According to the technical scheme of the embodiment, after the deposit scale and the deposit reserve scale of the office node are effectively verified, the reliability of the office node is judged by acquiring the specific numerical value of the deposit scale, the deposit reserve scale and the reserve scale threshold value provided by the office node in advance, which correspond to the current deposit information of the office node. On the basis of the firm node which is effective in the verification of the deposit scale and the deposit reserve scale, the user node realizes the verification of the reliability of the firm node by comparing the current reserve scale value with the reserve scale threshold value, thereby providing an effective basis for the user to measure the reliability of the firm and improving the safety of the user fund and the social credibility of the element firm.
Example eight
Fig. 10 is a flowchart of an element security certification method based on a blockchain according to an eighth embodiment of the present invention, where this embodiment may be applied to certify the security of an element transaction asset in a blockchain network, and the method may be executed by a blockchain generation node in the blockchain network, where the blockchain generation node may be a blockchain link point located in a conventional independent blockchain, or a blockchain link point located in a basic chain of a hyperchain network, or a blockchain link point located in a parallel chain of the hyperchain network, or a blockchain node located in the basic chain of the hyperchain network and participating in the parallel chain. The method may be performed by a blockchain-based elemental security certification device disposed at the block generation node. The method specifically comprises the following steps:
and S1010, receiving a deposit scale signature sent by the firm node at regular time.
In the embodiment of the present invention, the office node is a node that manages transaction data of elements in the blockchain network, and the office node stores office deposit information, which may include deposit scale information of the office, reserve scale information of the office, identity information of each user participating in the deposit, deposit information, and the like. The deposit size signature is obtained by adopting the key of the transaction institute node to sign the transaction institute deposit information stored by the transaction institute node.
Specifically, the deposit size signature may be obtained by the clearinghouse node performing an encryption signature on the root node information data of the merkel tree of the element in the clearinghouse node by using its private key. When the element in the block chain network is managed by the affair station node, the deposit information in the Merkel tree is updated all the time according to the processing condition related to the element affair and the condition of each user account in the block chain, and the deposit information in each node of the Merkel tree and the corresponding hash value are updated along the direction of the root node at the same time in a recursion manner, so that the deposit information is collected into the root node, and the root node contains the deposit information in all the child nodes and generates the corresponding hash value. Accordingly, the firm node can sign the root node information of the Meckel tree in real time or in a timing mode and transmit the root node information to the block chain. And then the block generation node in the block chain receives the deposit scale signature sent by the transaction bureau node at regular time and waits for subsequent processing.
And S1020, processing and writing the deposit size signature into the block chain as transaction data.
In the embodiment of the invention, after receiving the deposit scale signature sent by the transaction place node in real time or at regular time, the block generation node generates a new block according to the received deposit scale signature and sends the new block to each user node in the block chain network, and meanwhile, the user node also generates a new block according to the received deposit scale signature and compares the new block with the new block sent by the block generation node to verify the deposit scale signature, so that the deposit scale signature is written into the block chain as transaction data. When the user node needs to verify the deposit scale of the transaction place node and initiate a personal deposit certification request, the consistency judgment of the information in the information verification merkel subtree and the corresponding deposit scale signature is verified by matching the hash value and the information in the information verification merkel subtree for the deposit scale of the transaction place node according to the deposit scale signature corresponding to each moment or time period stored in the block chain and the merkel subtree of the transaction place node for the user node, so that the requirement of the user on verification of the assets in the block chain in which the user participates is met.
In addition, on the basis of the deposit size signature stored in the blockchain and the deposit size verification of the transaction bureau node, the blockgeneration node of the embodiment can periodically send a verification character string to the transaction bureau node for the blockchain to verify the transaction. Specifically, when the transaction place node and the user node verify the deposit preparation amount scale of the transaction place node, the block generation node obtains a transaction request, first account information and second account information initiated by the transaction place node and used for transferring an element of the deposit preparation amount from a first account of the transaction place node to a second account, wherein the first account information is a first signature obtained by the transaction place node by signing a verification character string through a private key of the first account, the second account information is a second signature obtained by signing the verification character string through the private key of the second account, and meanwhile, a public key of the first account and a public key of the second account sent by the transaction place node are required to be received. And the block generation node processes the transaction request and sends a processing result of the transaction request, the first account information and the second account information to the user node, and the user node verifies the deposit reserve scale of the transaction institute node according to the processing result of the transaction request, the first signature, the second signature, the public key of the first account and the public key of the second account, and simultaneously can measure the reliability of the transaction institute node according to the reserve proportion threshold value borne by the transaction institute node, the verified deposit reserve scale and the verified deposit scale.
According to the technical scheme of the embodiment, the block generation node receives and processes the deposit scale signature sent by the transaction station node, so that the deposit scale signatures sent by the transaction station node in real time or at regular time and at different moments are written into the block chain as transaction data. The embodiment of the invention realizes the permanent storage of the deposit scale signatures at different times by writing the deposit scale signatures corresponding to each time or time period into the block chain, thereby providing a basis for the verification of the deposit scale of the office node by the user and improving the safety of the user fund and the social public trust of the element office.
Example nine
The present embodiment provides a preferred implementation of the element security certification method based on the blockchain on the basis of the eighth embodiment, and the transaction request of the transaction node for the savings preparation amount transfer can be processed on the basis that the savings scale signature is written into the blockchain by the blockchain in the above embodiment. Fig. 11 is a flowchart of the auxiliary savings prepare amount verification provided by the ninth embodiment of the present invention, and as shown in fig. 11, the method includes the following specific steps:
and S1110, receiving the deposit scale signature sent by the firm node at regular time.
In the embodiment of the invention, the deposit scale signature is obtained by signing the deposit information of the transaction place stored by the transaction place node by adopting the key of the transaction place node, and the transaction place node can sign the root node information of the Merkel tree in real time or in a timing manner and transmit the root node information to the block chain. And then the block generation node in the block chain receives the deposit scale signature sent by the transaction bureau node at regular time and waits for subsequent processing.
And S1120, processing and writing the deposit size signature into the block chain as transaction data.
In an embodiment of the invention, after receiving the deposit scale signature sent by the transaction bureau node in real time or at regular time, the block generation node writes the deposit scale signature as transaction data into the block chain. The method and the device realize the permanent storage of the deposit scale signatures at different times, thereby providing a basis for the verification of the deposit scale of the firm node by the user.
S1130, the verification character string is sent to the transaction office node, the transaction office node signs the verification character string by adopting a private key of the first account to obtain a first signature, and signs the verification character string by adopting a private key of the second account to obtain a second signature.
In an embodiment of the present invention, the validation string is an arbitrary string that is published by the blockchain network at regular times by the blockchain generation node. When verifying the deposit reserve size of the transaction place node, in order to verify whether the key of the transfer node and the key of the transaction place node owned by the user originate from the same node, and to verify whether the key owned by the user and the initiator of the transfer transaction originate from the same transaction place node, a verification string issued by the block generation node in the block chain network may provide a basis for this. And then sending a verification character string to the firm node, so that the firm node signs the verification character string by using a private key of a first account of the transfer and deposit preparation amount of the firm node to obtain a first signature, and signs the verification character string by using a private key of a second account of the transfer and deposit preparation amount of the firm node to obtain a second signature.
S1140, a transaction request initiated by the transaction bureau node to transfer the element of the savings preparation amount from the first account to the second account of the transaction bureau node, the first account information and the second account information are obtained.
In an embodiment of the present invention, when verifying the deposit preparation size of the firm node, the firm node transfers the deposit preparation from the current first account to the second account of the firm node to indicate that the firm node stores a corresponding amount of deposit preparation. And the transaction institute node initiates a transaction request for the transfer transaction and transmits the transaction request to the block chain network. Accordingly, the block generation node obtains the transaction request initiated by the transaction bureau node to transfer the element of the savings preparation amount from the first account to the second account of the transaction bureau node, and the first account information and the second account information, namely the first signature, the second signature, the public key of the first account and the public key of the second account.
Optionally, the transaction request is processed, and a processing result of the transaction request, the first signature, the second signature, the public key of the first account, and the public key of the second account are sent to the user node.
In an embodiment of the present invention, after receiving a transaction request sent by a transaction node, a block generation node processes the transaction request to generate a new block including transaction data associated with the transaction request, and writes the transaction data into a block chain or discards the transaction data according to verification of the new block, that is, a processing result of the block generation node for the transaction request. And then the block generation node sends the processing result of the transaction request, the first signature, the second signature, the public key of the first account and the public key of the second account to the user node so that the user node can judge that the transaction data is successfully written into the block chain through processing access, the transaction node is verified to store a certain amount of deposit preparation amount, and meanwhile, according to a comparison result of a character string obtained by decrypting the signature by using the public key and the verification character string, the public key and the private key of the account for transferring accounts are judged to be completely matched, and the transfer transaction and the public key both originate from the same transaction node so as to verify the deposit preparation amount scale of the transaction node and the reliability of the transaction node.
It should be noted that the steps of this embodiment may be performed in a modified order, or alternatively or alternately, and the order of performing the specific steps is not limited to the order listed above.
According to the technical scheme, on the basis that the block generation node writes the deposit scale signature into the block chain, the block generation node can process a transaction request of a transaction institute node for deposit preparation amount transfer and issue a verification character string to the block chain network at regular time, so that the processing result of the transaction request, the first signature, the second signature, the public key of the first account and the public key of the second account are sent to the user node, and the user node verifies the deposit preparation amount scale of the transaction institute node. On the basis that deposit scale signatures corresponding to all times or time periods are stored in the blockchain network, the embodiment of the invention provides a basis for the verification of the deposit preparation amount scale of the office node by the user through the processing of the transaction request of the account transfer deposit preparation amount and the issuing of the verification character string, thereby improving the safety of the user fund and the social public credibility of the element office.
Example ten
Fig. 12 is a flowchart of an element security certification method based on a blockchain according to a tenth embodiment of the present invention, which is applicable to a situation where asset security of an element firm is certified in a blockchain network, and can complete verification of deposit scale of a firm node, deposit preparation scale, and reliability of the firm node through interaction among the firm node, a user node, and a block generation node. As shown in fig. 12, the method includes the following specific steps:
and S1201, the affair station node signs the root node information data in the Merkel tree of the element in the local node by adopting the key of the local node to obtain the deposit scale signature of the element, and transmits the deposit scale signature of the element to the blockchain network.
And S1202, the block generation node receives the deposit scale signature sent by the transaction bureau node at regular time, processes the deposit scale signature and writes the deposit scale signature into the block chain as transaction data.
S1203, the user node sends a personal savings certification request to the firm node.
S1204, the affair station node obtains the personal deposit evidence request sent by the user node, and sends a time stamp including the Merkel subtree and the Merkel subtree to the user node.
S1205, the user node receives the Merkel subtree returned by the office node responding to the personal deposit certification request and the timestamp of the Merkel subtree, and obtains a deposit scale signature corresponding to the timestamp from the block chain; checking the deposit scale of the office node according to the Merkel subtree and the obtained deposit scale signature; if the storage information in the storage scale signature and the hash value of the storage information are respectively the same as the storage information of the root node in the Merkel subtree and the hash value of the storage information; and the deposit amount information of each node in the Meckel subtree is matched with the corresponding deposit amount hash value, so that the deposit scale of the transaction place node is determined to be accurate.
S1206, the block generation node sends the verification character string to the transaction station node.
S1207, the transaction station node receives the verification character string sent by the block generation node; and signing the verification character string by adopting a private key of the first account to obtain a first signature, and signing the verification character string by adopting a private key of the second account to obtain a second signature.
S1208, the affair place node initiates an affair request for transferring the preset elements of the savings preparation amount from the first account to the second account of the affair place node; and sending the transaction request, the first signature, the second signature, the public key of the first account and the public key of the second account to the block generation node.
S1209, the block generation node obtains a transaction request initiated by the transaction bureau node to transfer an element of the savings reserve amount from the first account to the second account of the transaction bureau node, processes the transaction request, and sends a processing result of the transaction request, the first signature, the second signature, the public key of the first account, and the public key of the second account to the user node.
S1210, a user node acquires a processing result of a transaction request transmitted by a block generation node, a first signature, a second signature, a public key of a first account and a public key of a second account; verifying the deposit reserve size of the firm node; and if the transaction request is successfully processed, and a first character string obtained by decrypting the first signature by using the public key of the first account and a second character string obtained by decrypting the second signature by using the public key of the second account are both the same as the verification character string, determining that the transaction place node has an element of the deposit preparation amount.
S1211, the user node obtains a deposit scale signature issued by the firm node in the current time period from the block chain network, and determines current deposit information according to the obtained deposit scale signature; determining a proportion value of the current reserve amount according to the reserve amount and the current deposit information; and determining the reliability of the transaction place node according to the current reserve ratio value and a reserve ratio threshold value provided by the transaction place node in advance.
According to the technical scheme of the embodiment, the deposit scale signatures of the transaction station nodes are written into the block chain through the block generation node, so that the deposit scale signatures at different times are permanently stored. Therefore, the user node initiates a personal deposit certification request according to the query function of the block chain, and the deposit data returned by the office node is compared with the deposit data stored in the block chain, so that the deposit scale of the office node is verified. Meanwhile, the block generation node processes the transaction request of the transaction station node for transferring the deposit preparation amount, and the block generation node issues the verification character string to the block chain network at regular time, so that a basis is provided for the verification of the deposit preparation amount scale of the transaction station node by the user node, and the reliability of the transaction station node is measured. The embodiment of the invention realizes the effective verification of the affair place node in the block chain, and improves the safety of user funds and the social public credibility of the element affair place.
EXAMPLE eleven
Fig. 13 is a schematic structural diagram of an element security certification apparatus based on a blockchain according to an eleventh embodiment of the present invention, where this embodiment is applicable to a situation of certifying asset security of an element firm in a blockchain network, and the apparatus is configured at a firm node, where the firm node is configured to manage a transaction of at least one element, so as to implement the element security certification method based on a blockchain according to any embodiment of the present invention. The device specifically includes:
a deposit scale signature generation module 1310, configured to sign deposit information of the office stored in the local node with a key of the local node, so as to obtain a deposit scale signature of the element;
a deposit size signature transmission module 1320, configured to transmit the deposit size signature of the element to the blockchain network, process the deposit size signature by the block generation node and the user node in the blockchain network, and write the deposit size signature as transaction data into the blockchain.
Optionally, the deposit size signature generating module 1310 is specifically configured to:
signing the root node information data in the Merkel tree of the element in the local node by adopting the key of the local node to obtain a deposit scale signature of the element;
each leaf node in the Meckel tree of the element stores unique user identity information, the user savings amount and a hash value of the user savings amount corresponding to the leaf node, and the branch node and the root node in the Meckel tree respectively store the savings amount sum of the two corresponding child nodes and the hash value of the savings amount sum.
Further, the apparatus further includes a personal deposit information extraction module 1330; the personal deposit information extracting module 1330 includes:
a personal deposit information extracting unit 1331, configured to obtain a personal deposit certification request sent by a user node, extract all nodes including deposit data of the user node from the merkel tree to form a merkel sub-tree, and determine a timestamp of the merkel sub-tree;
a personal deposit information sending unit 1332, configured to send the timestamp including the merkel subtree and the merkel subtree to the user node, and the user node checks the deposit scale of the office node according to the merkel subtree, the timestamp of the merkel subtree, and the deposit scale signature stored in the block chain.
Further, the apparatus further includes a savings preparation amount transfer module 1340; the savings preparation amount transfer module 1340, including:
a transfer initiating unit 1341, configured to initiate a transaction request for transferring an element of a preset savings preparation amount from a first account to a second account of a transaction node;
the transfer information sending unit 1342 is configured to send the transaction request, the first account information, and the second account information to a block generation node, process the transaction request by the block generation node, send a processing result of the transaction request, the first account information, and the second account information to a user node, and verify the deposit preparation amount scale of the transaction node by the user node according to the processing result of the transaction request, the first account information, and the second account information.
Optionally, the transfer information sending unit 1342 includes:
the verification character string receiving subunit is used for receiving the verification character string sent by the block generation node;
the character string signature subunit is used for signing the verification character string by adopting a private key of a first account to obtain a first signature, and signing the verification character string by adopting a private key of a second account to obtain a second signature;
and the transfer information sending subunit is configured to send the transaction request, the first signature, the second signature, the public key of the first account, and the public key of the second account to a block generation node, and the block generation node processes the transaction request and sends a processing result of the transaction request, the first signature, the second signature, the public key of the first account, and the public key of the second account to a user node.
According to the technical scheme of the embodiment, through mutual cooperation of all functional modules, functions of updating the Merkel tree, generating a deposit scale signature, transmitting the deposit scale signature, processing a personal deposit certification request, extracting the Merkel subtree, determining a Merkel tree timestamp, sending data, transferring deposit preparation amount, verifying a signature of a character string and the like are realized. On the basis of the firm node which is effective in the verification of the deposit scale and the deposit reserve scale, the user node realizes the verification of the reliability of the firm node by comparing the current reserve scale value with the reserve scale threshold value, thereby providing an effective basis for the user to measure the reliability of the firm and improving the safety of the user fund and the social credibility of the element firm.
Example twelve
Fig. 14 is a schematic structural diagram of an element security certification apparatus based on a blockchain according to a twelfth embodiment of the present invention, which is applicable to a situation where asset security of an element office is certified in a blockchain network in this embodiment. The device specifically includes:
a query request transmission module 1410, configured to transmit an on-chain query request to the blockchain network;
a deposit size signature query module 1420, configured to search a deposit size signature matching the query request from a blockchain of a blockchain network;
the deposit scale signature is obtained by adopting a secret key of the transaction place node to sign the transaction place deposit information stored by the transaction place node;
the transaction office node is used for managing the transaction of at least one element.
Optionally, the deposit scale signature is obtained by signing root node information data in a merkel tree of elements in the node of the firm with a private key of the node of the firm;
each leaf node in the Meckel tree of the element stores unique user identity information, the user savings amount and a hash value of the user savings amount corresponding to the leaf node, and the branch node and the root node in the Meckel tree respectively store the savings amount sum of the two corresponding child nodes and the hash value of the savings amount sum.
Further, the apparatus further includes a personal savings certification module 1430; the personal savings certification module 1430 includes:
a personal deposit request sending unit 1431, configured to send a personal deposit certification request to the firm node;
a personal deposit information receiving unit 1432, configured to receive the merkel subtree returned by the firm node in response to the personal deposit certification request and a timestamp of the merkel subtree;
a personal deposit verification unit 1433, configured to verify the deposit scale of the office node according to the mackerel subtree, the timestamp of the mackerel subtree, and the deposit scale signature stored in the block chain;
wherein the Meckel subtree is made up of all nodes extracted from the Meckel tree including native node deposit data.
Optionally, the individual deposit verification unit 1433 includes:
the corresponding signature acquisition subunit is used for acquiring the deposit scale signature corresponding to the timestamp from the block chain;
and the checking subunit is used for checking the deposit scale of the transaction place node according to the Meckel subtree and the acquired deposit scale signature.
Optionally, the syndrome unit is specifically configured to:
if the saving information and the hash value of the saving information in the saving scale signature are respectively the same as the saving information and the hash value of the saving information of the root node in the Merkel subtree; and if the deposit amount information of each node in the Meckel subtree is matched with the corresponding deposit amount hash value, the deposit scale of the transaction place node is determined to be accurate.
Further, the apparatus further comprises a savings prepare amount verification module 1440; the savings preparation amount verification module 1440 includes:
the transfer information obtaining unit 1441 is configured to obtain a processing result of a transaction request transmitted by a block generation node, first account information, and second account information, where the transaction request is a request initiated by a transaction node to transfer an element of a preset savings preparation amount from a first account of the transaction node to a second account;
a deposit preparation amount verification unit 1442, configured to verify the deposit preparation amount size of the office node according to the acquired processing result of the transaction request, the first account information, and the second account information.
Optionally, the first account information is a first signature obtained by the transaction office node signing the verification character string with a private key of a first account; the second account information is a second signature obtained by the transaction office node signing the verification character string by adopting a private key of the first account;
the savings prepared amount verification unit 1442 is specifically configured to:
and if the transaction request is successfully processed, and a first character string obtained by decrypting the first signature by using the public key of the first account and a second character string obtained by decrypting the second signature by using the public key of the second account are both the same as the verification character string, determining that the transaction place node has an element of deposit preparation amount.
Optionally, the savings prepare amount verification unit 1442 further includes
A current deposit information determining subunit, configured to, after the element that the office node has the deposit preparation amount is determined, obtain a deposit scale signature issued by the office node in the current time period from the blockchain network, and determine current deposit information according to the obtained deposit scale signature;
the current reserve ratio determining subunit is used for determining a current reserve ratio value according to the reserve and the current deposit information;
and the reliability determining subunit is used for determining the reliability of the transaction place node according to the current reserve ratio value and a reserve ratio threshold value provided by the transaction place node in advance.
According to the technical scheme of the embodiment, through the mutual cooperation of the functional modules, the functions of initiating a query request, querying a deposit scale signature, initiating a personal deposit certification request, receiving data, verifying the deposit scale, decrypting the signature, verifying the deposit preparation amount and the like are realized. The embodiment of the invention realizes the function of inquiring the deposit scale of the affair place from the blockchain network and provides the asset verification basis of the element affair place for the user node in the blockchain network, thereby realizing the security verification of the asset of the element affair place and improving the social public trust of the element affair place and the participation desire of the user.
EXAMPLE thirteen
Fig. 15 is a schematic structural diagram of an element security certification apparatus based on a blockchain according to a thirteenth embodiment of the present invention, which is applicable to a situation where asset security of an element office is certified in a blockchain network in this embodiment. The device specifically includes:
the deposit scale signature receiving module 1510 is configured to receive a deposit scale signature sent by the firm node at regular time, where the deposit scale signature is obtained by signing the deposit information of the firm stored in the firm node with the key of the firm node;
a savings size signature uplink module 1520 to process and write the savings size signature as transaction data into the blockchain.
Further, the apparatus further includes a deposit preparation amount transfer transaction module 1530; the savings preparation amount transfer transaction module 1530 includes:
a transfer transaction request obtaining unit 1531, configured to obtain a transaction request initiated by a clearinghouse node to transfer an element of a savings preparation amount from a first account of the clearinghouse node to a second account, first account information, and second account information;
the transfer transaction request processing unit 1532 is configured to process the transaction request, send the processing result of the transaction request, the first account information, and the second account information to the user node, and verify the deposit preparation amount scale of the transaction node by the user node according to the processing result of the transaction request, the first account information, and the second account information.
Further, the deposit preparation amount transfer transaction processing module 1530 includes:
a verification string sending unit 1533, configured to send a verification string to the office node, where the office node signs the verification string with a private key of a first account to obtain a first signature, and signs the verification string with a private key of a second account to obtain a second signature;
the transfer transaction request processing unit 1532 is specifically configured to:
and processing the transaction request, and sending a processing result of the transaction request, the first signature, the second signature, the public key of the first account and the public key of the second account to a user node.
According to the technical scheme of the embodiment, functions of the upper chain of the deposit scale signature, the processing of deposit preparation amount transfer transaction, the issuing of the verification character string, the interaction with a transaction office node or a user node and the like are realized through the mutual cooperation of all the functional modules. The embodiment of the invention realizes the permanent storage of the deposit scale signatures at different times by writing the deposit scale signatures corresponding to each time or time period into the block chain, thereby providing a basis for the verification of the deposit scale of the office node by the user and improving the safety of the user fund and the social public trust of the element office.
Example fourteen
Fig. 16 is a schematic structural diagram of an apparatus according to a fourteenth embodiment of the present invention, and fig. 16 shows a block diagram of an exemplary apparatus suitable for implementing the embodiment of the present invention. The device shown in fig. 16 is only an example, and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
The device 12 shown in fig. 16 is only an example and should not bring any limitation to the function and scope of use of the embodiments of the present invention.
As shown in FIG. 16, device 12 is embodied in the form of a general purpose computing device. The components of device 12 may include, but are not limited to: one or more processors 16, a system memory 28, and a bus 18 that connects the various system components (including the system memory 28 and the processors 16).
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 16, and commonly referred to as a "hard drive"). Although not shown in FIG. 16, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of embodiments described herein.
Device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with device 12, and/or with any devices (e.g., network card, modem, etc.) that enable device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with the other modules of the device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with device 12, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 16 executes various functional applications and data processing, such as implementing the block chain based element security certification method provided by the embodiments of the present invention, by executing at least one program of the plurality of programs stored in the system memory 28.
The processor 16 executes various functional applications and data processing, such as implementing the block chain based element security certification method provided by the embodiments of the present invention, by executing at least one program of the plurality of programs stored in the system memory 28.
The processor 16 executes various functional applications and data processing, such as implementing the block chain based element security certification method provided by the embodiments of the present invention, by executing at least one program of the plurality of programs stored in the system memory 28.
Example fifteen
Fifteenth of the present invention further provides a computer-readable storage medium, on which a computer program (or referred to as computer-executable instructions) is stored, where the program, when executed by a processor, can implement a block chain-based element security attestation method performed by a clearinghouse node in any of the above embodiments of the present invention, where the method includes:
signing the deposit information of the affair institute stored in the local node by adopting the key of the local node to obtain a deposit scale signature of an element;
and transmitting the deposit scale signature of the element to the blockchain network, processing by a blockgeneration node and a user node in the blockchain network, and writing the deposit scale signature into the blockchain as transaction data.
Fifteenth of the present invention provides another computer-readable storage medium, on which a computer program (or referred to as computer-executable instructions) is stored, where the program, when executed by a processor, can implement a block chain-based element security attestation method performed by a user node in any of the above embodiments of the present invention, where the method includes:
transmitting an on-chain query request to a blockchain network;
searching a deposit scale signature matched with the query request on the chain from a block chain of a block chain network;
the deposit scale signature is obtained by adopting a secret key of the transaction place node to sign the transaction place deposit information stored by the transaction place node;
the transaction office node is used for managing the transaction of at least one element.
Fifteenth of the present invention provides another computer-readable storage medium, on which a computer program (or referred to as computer-executable instructions) is stored, where the program, when executed by a processor, can implement a block chain-based element security certification method performed by a block generation node in any of the above embodiments of the present invention, where the method includes:
receiving a deposit scale signature sent by a firm node at regular time, wherein the deposit scale signature is obtained by signing the deposit information of the firm stored by the firm node by adopting a secret key of the firm node;
and processing and writing the savings size signature into a blockchain as transaction data.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the embodiments of the present invention have been described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and many other equivalent embodiments may be included without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (30)

1. A blockchain-based element security attestation method performed by a clearinghouse node in a blockchain network, the clearinghouse node being configured to manage transactions for at least one element, the method comprising:
signing the deposit information of the affair institute stored in the local node by adopting the key of the local node to obtain a deposit scale signature of an element;
transmitting the deposit scale signature of the element to a blockchain network, processing by a blockchain generation node and a user node in the blockchain network, and writing the deposit scale signature into a blockchain as transaction data;
wherein the deposit size signature is used for asset verification of the firm node;
the signing of the deposit information of the affair institute stored in the local node by adopting the key of the local node to obtain the deposit scale signature of the element comprises the following steps:
signing the root node information data in the Merkel tree of the element in the local node by adopting the key of the local node to obtain a deposit scale signature of the element;
each leaf node in the Meckel tree of the element stores unique user identity information, a user savings amount and a hash value of the user savings amount corresponding to the leaf node, and branch nodes and root nodes in the Meckel tree respectively store the savings amount sum of two corresponding child nodes and the hash value of the savings amount sum.
2. The method of claim 1, further comprising:
acquiring a personal deposit certification request sent by a user node, extracting all nodes including deposit data of the user node from the Meckel tree to form a Meckel sub-tree, and determining a time stamp of the Meckel sub-tree;
and sending the time stamps comprising the Meckel subtree and the Meckel subtree to the user node, and verifying the deposit scale of the transaction institute node by the user node according to the Meckel subtree, the time stamps of the Meckel subtree and the deposit scale signature stored in the block chain.
3. The method according to any one of claims 1-2, further comprising:
initiating a transaction request for transferring an element of a preset savings preparation amount from a first account to a second account of a transaction bureau node;
and sending the transaction request, the first account information and the second account information to a block generation node, processing the transaction request by the block generation node, sending a processing result of the transaction request, the first account information and the second account information to a user node, and verifying the deposit preparation amount scale of the transaction node by the user node according to the processing result of the transaction request, the first account information and the second account information.
4. The method of claim 3, wherein sending the transaction request, the first account information, and the second account information to a block generation node comprises:
receiving a verification character string sent by a block generation node;
signing the verification character string by adopting a private key of a first account to obtain a first signature, and signing the verification character string by adopting a private key of a second account to obtain a second signature;
and sending the transaction request, the first signature, the second signature, the public key of the first account and the public key of the second account to a block generation node, and processing the transaction request by the block generation node and sending a processing result of the transaction request, the first signature, the second signature, the public key of the first account and the public key of the second account to a user node.
5. A blockchain-based element security attestation method performed by a user node in a blockchain network, the method comprising:
transmitting an on-chain query request to a blockchain network;
searching a deposit scale signature matched with the query request on the chain from a block chain of a block chain network;
the deposit scale signature is obtained by adopting a secret key of the transaction place node to sign the transaction place deposit information stored by the transaction place node;
the affair post node is used for managing affairs of at least one element;
wherein the deposit size signature is used for asset verification of the firm node;
the deposit scale signature is obtained by adopting a private key of the firm node to sign root node information data in a Merkel tree of elements in the firm node;
each leaf node in the Meckel tree of the element stores unique user identity information, a user savings amount and a hash value of the user savings amount corresponding to the leaf node, and branch nodes and root nodes in the Meckel tree respectively store the savings amount sum of two corresponding child nodes and the hash value of the savings amount sum.
6. The method of claim 5, further comprising:
sending a personal savings certification request to the firm node;
receiving a Meckel subtree returned by the firm node in response to the personal deposit evidence request and a timestamp of the Meckel subtree;
checking the deposit scale of the transaction place node according to the Meckel subtree, the timestamp of the Meckel subtree and the deposit scale signature stored in the block chain;
wherein the Meckel subtree is made up of all nodes extracted from the Meckel tree including native node deposit data.
7. The method of claim 6, wherein the verifying the deposit size of the firm node against the Meckel sub-tree, the timestamp of the Meckel sub-tree, and the deposit size signature stored in the blockchain comprises:
acquiring a deposit scale signature corresponding to the timestamp from the blockchain;
and checking the deposit scale of the transaction place node according to the Meckel subtree and the acquired deposit scale signature.
8. The method of claim 7, wherein said verifying the deposit size of the firm node against the merkel sub-tree and the acquired deposit size signature comprises:
if the saving information and the hash value of the saving information in the saving scale signature are respectively the same as the saving information and the hash value of the saving information of the root node in the Merkel subtree; and if the deposit amount information of each node in the Meckel subtree is matched with the corresponding deposit amount hash value, the deposit scale of the transaction place node is determined to be accurate.
9. The method according to any one of claims 5-8, further comprising:
acquiring a processing result of a transaction request transmitted by a block generation node, first account information and second account information, wherein the transaction request is a request initiated by a transaction node for transferring an element of a preset savings preparation amount from a first account of the transaction node to a second account;
and verifying the deposit preparation amount scale of the transaction institute node according to the acquired processing result of the transaction request, the first account information and the second account information.
10. The method of claim 9, wherein the first account information is a first signature obtained by the clearinghouse node signing the validation string with a private key of the first account; the second account information is a second signature obtained by the transaction office node signing the verification character string by adopting a private key of the first account;
the verifying the deposit preparation amount scale of the transaction institute node according to the acquired processing result of the transaction request, the first account information and the second account information comprises the following steps:
and if the transaction request is successfully processed, and a first character string obtained by decrypting the first signature by using the public key of the first account and a second character string obtained by decrypting the second signature by using the public key of the second account are both the same as the verification character string, determining that the transaction place node has an element of deposit preparation amount.
11. The method of claim 10, after the determining that the clearinghouse node has an element of savings readiness, further comprising:
obtaining a deposit scale signature issued by a firm node in the current time period from the blockchain network, and determining current deposit information according to the obtained deposit scale signature;
determining a proportion value of the current reserve amount according to the reserve amount and the current deposit information;
and determining the reliability of the transaction place node according to the current reserve ratio value and a reserve ratio threshold value provided by the transaction place node in advance.
12. A blockchain-based elemental security attestation method performed by a blockchain generating node in a blockchain network, the method comprising:
receiving a deposit scale signature sent by a firm node at regular time, wherein the deposit scale signature is obtained by signing the deposit information of the firm stored by the firm node by adopting a secret key of the firm node;
processing and writing the deposit size signature as transaction data into a blockchain;
wherein the deposit size signature is used for asset verification of the firm node;
the deposit scale signature is obtained by adopting a private key of the firm node to sign root node information data in a Merkel tree of elements in the firm node; each leaf node in the Meckel tree of the element stores unique user identity information, a user savings amount and a hash value of the user savings amount corresponding to the leaf node, and branch nodes and root nodes in the Meckel tree respectively store the savings amount sum of two corresponding child nodes and the hash value of the savings amount sum.
13. The method of claim 12, further comprising:
acquiring a transaction request, first account information and second account information initiated by a transaction institute node and used for transferring elements of the savings preparation amount from a first account to a second account of the transaction institute node;
and processing the transaction request, sending a processing result of the transaction request, the first account information and the second account information to a user node, and verifying the deposit preparation amount scale of the transaction node by the user node according to the processing result of the transaction request, the first account information and the second account information.
14. The method of claim 13, further comprising:
sending a verification character string to a firm node, signing the verification character string by the firm node by adopting a private key of a first account to obtain a first signature, and signing the verification character string by adopting a private key of a second account to obtain a second signature;
wherein the processing the transaction request and sending a processing result of the transaction request, the first account information and the second account information to a user node includes:
and processing the transaction request, and sending a processing result of the transaction request, the first signature, the second signature, the public key of the first account and the public key of the second account to a user node.
15. An apparatus for blockchain-based element security certification, configured to a clearinghouse node in a blockchain network, the clearinghouse node being configured to manage transactions of at least one element, the apparatus comprising:
the deposit scale signature generation module is used for signing the deposit information of the affair institute stored by the local node by adopting the key of the local node to obtain a deposit scale signature of the element;
the deposit scale signature transmission module is used for transmitting the deposit scale signature of the element to the blockchain network, processing the deposit scale signature by a block generation node and a user node in the blockchain network, and writing the deposit scale signature into the blockchain as transaction data;
wherein the deposit size signature is used for asset verification of the firm node;
the deposit size signature generation module is specifically configured to:
signing the root node information data in the Merkel tree of the element in the local node by adopting the key of the local node to obtain a deposit scale signature of the element;
each leaf node in the Meckel tree of the element stores unique user identity information, a user savings amount and a hash value of the user savings amount corresponding to the leaf node, and branch nodes and root nodes in the Meckel tree respectively store the savings amount sum of two corresponding child nodes and the hash value of the savings amount sum.
16. The apparatus of claim 15, further comprising a personal savings information extraction module; the personal savings information extraction module, comprising:
the personal deposit information extraction unit is used for acquiring a personal deposit certification request sent by a user node, extracting all nodes including deposit data of the user node from the Meckel tree to form a Meckel sub-tree, and determining a timestamp of the Meckel sub-tree;
and the personal deposit information sending unit is used for sending the time stamps comprising the Meckel subtree and the Meckel subtree to the user node, and the user node verifies the deposit scale of the transaction institute node according to the Meckel subtree, the time stamps of the Meckel subtree and the deposit scale signature stored in the block chain.
17. The apparatus of any one of claims 15 to 16, further comprising a savings preparation amount transfer module; the savings preparation amount transfer module comprising:
the transfer initiating unit is used for initiating a transaction request for transferring the element of the preset savings preparation amount from a first account of a transaction institute node to a second account;
and the transfer information sending unit is used for sending the transaction request, the first account information and the second account information to a block generation node, processing the transaction request by the block generation node, sending a processing result of the transaction request, the first account information and the second account information to a user node, and verifying the deposit preparation amount scale of the transaction node by the user node according to the processing result of the transaction request, the first account information and the second account information.
18. The apparatus as claimed in claim 17, wherein the transfer information sending unit comprises:
the verification character string receiving subunit is used for receiving the verification character string sent by the block generation node;
the character string signature subunit is used for signing the verification character string by adopting a private key of a first account to obtain a first signature, and signing the verification character string by adopting a private key of a second account to obtain a second signature;
and the transfer information sending subunit is configured to send the transaction request, the first signature, the second signature, the public key of the first account, and the public key of the second account to a block generation node, and the block generation node processes the transaction request and sends a processing result of the transaction request, the first signature, the second signature, the public key of the first account, and the public key of the second account to a user node.
19. An apparatus for blockchain-based elemental security attestation configured to be deployed at a user node in a blockchain network, the apparatus comprising:
a query request transmission module for transmitting an on-chain query request to a blockchain network;
the deposit scale signature query module is used for searching a deposit scale signature matched with the on-chain query request from a block chain of the block chain network;
the deposit scale signature is obtained by adopting a secret key of the transaction place node to sign the transaction place deposit information stored by the transaction place node;
the affair post node is used for managing affairs of at least one element;
wherein the deposit size signature is used for asset verification of the firm node;
the deposit scale signature is obtained by adopting a private key of the firm node to sign root node information data in a Merkel tree of elements in the firm node;
each leaf node in the Meckel tree of the element stores unique user identity information, a user savings amount and a hash value of the user savings amount corresponding to the leaf node, and branch nodes and root nodes in the Meckel tree respectively store the savings amount sum of two corresponding child nodes and the hash value of the savings amount sum.
20. The apparatus of claim 19, further comprising a personal savings certification module; the personal savings certification module, comprising:
the personal deposit request sending unit is used for sending a personal deposit certification request to the firm node;
the personal deposit information receiving unit is used for receiving the Merkel subtree returned by the firm node responding to the personal deposit certification request and the timestamp of the Merkel subtree;
the personal deposit verification unit is used for verifying the deposit scale of the office node according to the Meckel subtree, the timestamp of the Meckel subtree and the deposit scale signature stored in the block chain;
wherein the Meckel subtree is made up of all nodes extracted from the Meckel tree including native node deposit data.
21. The apparatus of claim 20 wherein said personal savings verification unit comprises:
the corresponding signature acquisition subunit is used for acquiring the deposit scale signature corresponding to the timestamp from the block chain;
and the checking subunit is used for checking the deposit scale of the transaction place node according to the Meckel subtree and the acquired deposit scale signature.
22. The apparatus according to claim 21, wherein the syndrome unit is specifically configured to:
if the saving information and the hash value of the saving information in the saving scale signature are respectively the same as the saving information and the hash value of the saving information of the root node in the Merkel subtree; and if the deposit amount information of each node in the Meckel subtree is matched with the corresponding deposit amount hash value, the deposit scale of the transaction place node is determined to be accurate.
23. The apparatus of any one of claims 19-22, further comprising a savings prep verification module; the savings preparation amount verification module comprises:
the transfer information acquisition unit is used for acquiring a processing result of a transaction request transmitted by the block generation node, first account information and second account information, wherein the transaction request is a request initiated by the transaction node for transferring an element of a preset savings preparation amount from a first account of the transaction node to a second account;
and the deposit preparation amount verification unit is used for verifying the deposit preparation amount scale of the transaction node according to the acquired processing result of the transaction request, the first account information and the second account information.
24. The apparatus of claim 23, wherein the first account information is a first signature obtained by the clearinghouse node signing the validation string with a private key of the first account; the second account information is a second signature obtained by the transaction office node signing the verification character string by adopting a private key of the first account;
wherein the savings prepared amount verification unit is specifically configured to:
and if the transaction request is successfully processed, and a first character string obtained by decrypting the first signature by using the public key of the first account and a second character string obtained by decrypting the second signature by using the public key of the second account are both the same as the verification character string, determining that the transaction place node has an element of deposit preparation amount.
25. The apparatus of claim 24, wherein said savings prepare amount verification unit further comprises
A current deposit information determining subunit, configured to, after the element that the office node has the deposit preparation amount is determined, obtain a deposit scale signature issued by the office node in the current time period from the blockchain network, and determine current deposit information according to the obtained deposit scale signature;
the current reserve ratio determining subunit is used for determining a current reserve ratio value according to the reserve and the current deposit information;
and the reliability determining subunit is used for determining the reliability of the transaction place node according to the current reserve ratio value and a reserve ratio threshold value provided by the transaction place node in advance.
26. An apparatus for blockchain-based elemental security certification, the apparatus being configured at a blockchain generation node in a blockchain network, the apparatus comprising:
the deposit scale signature receiving module is used for receiving a deposit scale signature sent by the affair station node at regular time, wherein the deposit scale signature is obtained by adopting a secret key of the affair station node to sign the deposit information of the affair station stored by the affair station node;
the deposit scale signature uplink module is used for processing and writing the deposit scale signature into the block chain as transaction data;
wherein the deposit size signature is used for asset verification of the firm node;
the deposit scale signature is obtained by adopting a private key of the firm node to sign root node information data in a Merkel tree of elements in the firm node; each leaf node in the Meckel tree of the element stores unique user identity information, a user savings amount and a hash value of the user savings amount corresponding to the leaf node, and branch nodes and root nodes in the Meckel tree respectively store the savings amount sum of two corresponding child nodes and the hash value of the savings amount sum.
27. The apparatus of claim 26, further comprising a savings preparation amount transfer transaction module; the savings preparation amount transfer transaction processing module comprises:
the transfer transaction request acquisition unit is used for acquiring a transaction request, first account information and second account information which are initiated by a transaction place node and used for transferring elements of the savings preparation amount from a first account of the transaction place node to a second account;
and the transfer transaction request processing unit is used for processing the transaction request, sending the processing result of the transaction request, the first account information and the second account information to the user node, and verifying the deposit preparation amount scale of the transaction node by the user node according to the processing result of the transaction request, the first account information and the second account information.
28. The apparatus of claim 27 wherein the savings preparation amount transfer transaction module comprises:
the system comprises a verification character string sending unit, a transaction office node and a verification character string processing unit, wherein the verification character string sending unit is used for sending a verification character string to the transaction office node, the transaction office node signs the verification character string by adopting a private key of a first account to obtain a first signature, and signs the verification character string by adopting a private key of a second account to obtain a second signature;
wherein, the transfer transaction request processing unit is specifically configured to:
and processing the transaction request, and sending a processing result of the transaction request, the first signature, the second signature, the public key of the first account and the public key of the second account to a user node.
29. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the blockchain-based element security attestation method of any one of claims 1 to 4; or
When executed by the one or more processors, cause the one or more processors to implement the blockchain-based element security attestation method of any one of claims 5 to 11; or
When executed by the one or more processors, cause the one or more processors to implement the blockchain-based element security attestation method of any of claims 12 to 14.
30. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the blockchain-based element security certification method according to any one of claims 1 to 4; or
The program when executed by a processor implementing the blockchain based element security attestation method of any of claims 5 to 11; or
The program when executed by a processor implements the blockchain-based element security attestation method of any of claims 12 to 14.
CN201810931079.8A 2018-08-15 2018-08-15 Block chain-based element security certification method, device, equipment and medium Active CN108985100B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810931079.8A CN108985100B (en) 2018-08-15 2018-08-15 Block chain-based element security certification method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810931079.8A CN108985100B (en) 2018-08-15 2018-08-15 Block chain-based element security certification method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN108985100A CN108985100A (en) 2018-12-11
CN108985100B true CN108985100B (en) 2022-02-25

Family

ID=64553855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810931079.8A Active CN108985100B (en) 2018-08-15 2018-08-15 Block chain-based element security certification method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN108985100B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109377224A (en) 2018-10-25 2019-02-22 阿里巴巴集团控股有限公司 Block chain method of commerce and device, electronic equipment
CN109685507A (en) * 2018-12-26 2019-04-26 百度在线网络技术(北京)有限公司 The identification of transactions requests validity and initiating method, device, equipment and medium
CN109615378B (en) * 2019-01-24 2021-06-15 上海点融信息科技有限责任公司 Block chain-based secure multi-party computing method and device and readable storage medium
WO2020168564A1 (en) * 2019-02-22 2020-08-27 王健 Method and device for digital currency transaction and account authentication, and storage medium
WO2019101229A2 (en) * 2019-03-04 2019-05-31 Alibaba Group Holding Limited Updating blockchain world state merkle patricia trie subtree
CN110096903B (en) * 2019-03-26 2021-04-30 罗克佳华科技集团股份有限公司 Asset verification method based on block chain and block chain network system
CN110175840B (en) * 2019-04-19 2021-08-03 华中科技大学 Method, client, alliance chain and system for realizing light wallet mechanism in alliance chain
EP3673640B8 (en) * 2019-05-15 2022-02-09 Advanced New Technologies Co., Ltd. Processing data elements stored in blockchain networks
CN111078686B (en) * 2019-11-13 2023-06-06 上海交通大学 Block chain method and system based on storage certification
CN110971393B (en) * 2019-11-29 2020-11-06 中南大学 Keyword query verification method and device based on block chain dynamic social outsourcing data
CN111126978B (en) * 2019-12-28 2023-03-14 飞天诚信科技股份有限公司 Method and device for realizing rapid transaction processing on block chain
CN111026767B (en) * 2020-01-04 2023-05-26 天津金农企业管理咨询合伙企业(有限合伙) Block chain data storage method and device and hardware equipment
CN113094436B (en) * 2021-04-09 2022-05-24 杭州复杂美科技有限公司 Transaction storage method, parallel chain block generation method, device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105719185A (en) * 2016-01-22 2016-06-29 杭州复杂美科技有限公司 Block chain data comparison and consensus method
CN105809062A (en) * 2016-03-01 2016-07-27 布比(北京)网络技术有限公司 Contract construction and execution methods and apparatuses
CN105975868A (en) * 2016-04-29 2016-09-28 杭州云象网络技术有限公司 Block chain-based evidence preservation method and apparatus
CN106533675A (en) * 2016-12-19 2017-03-22 北京洋浦伟业科技发展有限公司 Digital signature method and system
CN107579848A (en) * 2017-08-30 2018-01-12 上海保险交易所股份有限公司 The method that common recognition node is dynamically changed in practical Byzantine failure tolerance common recognition mechanism
CN107769925A (en) * 2017-09-15 2018-03-06 山东大学 Public key infrastructure system and its certificate management method based on block chain
CN107851111A (en) * 2015-05-05 2018-03-27 识卡公司 Use the identity management services of block chain
WO2018070783A2 (en) * 2016-10-11 2018-04-19 주식회사 코인플러그 Method for issuing, redeeming, refunding, settling and revoking electronic voucher on basis of utxo and by using merkle tree structure, and server employing same
CN108320160A (en) * 2018-02-02 2018-07-24 张超 Block catenary system, block common recognition method and apparatus

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2991211C (en) * 2015-07-02 2024-02-20 Nasdaq, Inc. Systems and methods of secure provenance for distributed transaction databases
CN107145768B (en) * 2016-03-01 2021-02-12 华为技术有限公司 Copyright management method and system
CN107341702B (en) * 2017-03-08 2020-06-23 创新先进技术有限公司 Service processing method and device
CN107911216B (en) * 2017-10-26 2020-07-14 矩阵元技术(深圳)有限公司 Block chain transaction privacy protection method and system
CN108390891A (en) * 2018-03-28 2018-08-10 电子科技大学天府协同创新中心 Information protecting method based on privately owned block chain

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107851111A (en) * 2015-05-05 2018-03-27 识卡公司 Use the identity management services of block chain
CN105719185A (en) * 2016-01-22 2016-06-29 杭州复杂美科技有限公司 Block chain data comparison and consensus method
CN105809062A (en) * 2016-03-01 2016-07-27 布比(北京)网络技术有限公司 Contract construction and execution methods and apparatuses
CN105975868A (en) * 2016-04-29 2016-09-28 杭州云象网络技术有限公司 Block chain-based evidence preservation method and apparatus
WO2018070783A2 (en) * 2016-10-11 2018-04-19 주식회사 코인플러그 Method for issuing, redeeming, refunding, settling and revoking electronic voucher on basis of utxo and by using merkle tree structure, and server employing same
CN106533675A (en) * 2016-12-19 2017-03-22 北京洋浦伟业科技发展有限公司 Digital signature method and system
CN107579848A (en) * 2017-08-30 2018-01-12 上海保险交易所股份有限公司 The method that common recognition node is dynamically changed in practical Byzantine failure tolerance common recognition mechanism
CN107769925A (en) * 2017-09-15 2018-03-06 山东大学 Public key infrastructure system and its certificate management method based on block chain
CN108320160A (en) * 2018-02-02 2018-07-24 张超 Block catenary system, block common recognition method and apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ProvChain: A Blockchain-Based Data Provenance Architecture in Cloud Environment with Enhanced Privacy and Availability;Xueping Liang 等;《2017 17th IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing (CCGRID)》;20170713;第468-477页 *

Also Published As

Publication number Publication date
CN108985100A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN108985100B (en) Block chain-based element security certification method, device, equipment and medium
US11799668B2 (en) Electronic identification verification methods and systems with storage of certification records to a side chain
US11777726B2 (en) Methods and systems for recovering data using dynamic passwords
US20220029802A1 (en) Methods and systems for creating and recovering accounts using dynamic passwords
US11438167B2 (en) Method and server for providing notary service for file and verifying file recorded by notary service
US10880095B2 (en) Electronic apparatus, method for electronic apparatus and information processing system
US10846416B2 (en) Method for managing document on basis of blockchain by using UTXO-based protocol, and document management server using same
US11496312B2 (en) Collecting surveys with secure identities via a blockchain
US10235538B2 (en) Method and server for providing notary service for file and verifying file recorded by notary service
TW202414256A (en) An authenticated data feed based on proof verification
EP3439231A1 (en) Private node, processing method for private node, and program for same
WO2018145127A1 (en) Electronic identification verification methods and systems with storage of certification records to a side chain
CN110692214A (en) Method and system for ownership verification using blockchains
KR20190075771A (en) Authentication System Using Block Chain Through Distributed Storage after Separating Personal Information
CN111080292B (en) Method and device for acquiring block chain transaction signature data
CN111406398A (en) Managing trust points in an account book system
US20200344236A1 (en) Distributed ledger data verification network
USRE49968E1 (en) Electronic identification verification methods and systems with storage of certification records to a side chain
CN117852102B (en) Smart city emergency material management method, device, equipment and medium
CN116541874A (en) Digital asset management method and related products
Kanakam et al. Intramural Analysis of Blockchain.
KR20210053567A (en) Method for verifying certification improper use in block environment and system therefor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant