CN112910661A - Block chain consensus method, device, equipment and medium suitable for electronic subscription - Google Patents

Block chain consensus method, device, equipment and medium suitable for electronic subscription Download PDF

Info

Publication number
CN112910661A
CN112910661A CN202110504436.4A CN202110504436A CN112910661A CN 112910661 A CN112910661 A CN 112910661A CN 202110504436 A CN202110504436 A CN 202110504436A CN 112910661 A CN112910661 A CN 112910661A
Authority
CN
China
Prior art keywords
block chain
electronic contract
node
accounting
electronic
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.)
Granted
Application number
CN202110504436.4A
Other languages
Chinese (zh)
Other versions
CN112910661B (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.)
Hundsun Technologies Inc
Original Assignee
Hundsun Technologies Inc
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 Hundsun Technologies Inc filed Critical Hundsun Technologies Inc
Priority to CN202110504436.4A priority Critical patent/CN112910661B/en
Publication of CN112910661A publication Critical patent/CN112910661A/en
Application granted granted Critical
Publication of CN112910661B publication Critical patent/CN112910661B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3239Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a block chain consensus method, device, equipment and medium suitable for electronic subscription, the scheme is applied to a block chain system, the block chain system is applied to the electronic subscription, and the scheme comprises the following steps: the accounting node obtains an electronic contract signature sent by a block chain node of an electronic contract signer to a block chain system, and the accounting node is a block chain node with accounting right determined based on the corresponding electronic contract signature times of each block chain node in the block chain system; after verifying that the electronic contract signature is legal, the accounting node broadcasts the electronic contract signature to other block chain nodes; and after the block chain system confirms that each block chain node passes the verification of the electronic contract signature, storing the electronic contract signature in the block chain system, and increasing the electronic contract signature times corresponding to the block chain link point of the electronic contract signer. The scheme can reduce the resources consumed by the block chain system suitable for electronic subscription to determine the accounting node.

Description

Block chain consensus method, device, equipment and medium suitable for electronic subscription
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a method, an apparatus, a device, and a storage medium for identifying a blockchain applicable to electronic subscription.
Background
Electronic signing is a signing mode which is widely popularized and popularized in recent years, and compared with signing or stamping on paper documents in the past, the electronic signing mode is a technology which is realized by means of technologies such as digital signature, information encryption and the like and can directly stamp a signature or a stamp on an electronic document.
Because security problems such as secret key leakage, poor contract privacy security, data falsification and the like may exist in the process of completing electronic contract signing on the basis of an electronic signing platform of a third party, the electronic signing combined with a block chain is widely applied. In the electronic signing process based on the block chain, a consensus algorithm of the block chain is needed to determine an accounting node, an electronic contract signature signed by a user through an electronic signing platform is obtained through the accounting node, and the electronic contract signature is packaged into blocks so as to be finally stored in the block chain.
At present, in an electronic signing process based on a block chain, a common consensus algorithm is a proof of work (POW) algorithm, however, the problem that accounting nodes are determined based on the POW algorithm is that the calculation amount is large and the resource consumption is excessive, so that the resource consumption in the electronic signing process is excessive.
Disclosure of Invention
The application provides a block chain consensus method, device, equipment and medium suitable for electronic subscription, so as to improve resources required to be consumed by a block chain system suitable for electronic subscription to determine accounting nodes.
In one aspect, the present application provides a block chain consensus method applicable to electronic subscription, where the block chain consensus method is applied to a block chain system applied to electronic subscription, where the block chain system includes a plurality of block chain nodes, and the method includes:
the method comprises the steps that a billing node obtains an electronic contract signature sent by a block chain link point of an electronic contract signer to a block chain system, wherein the electronic contract signature is obtained by the electronic contract signer through an electronic signing system and by encrypting an abstract of an electronic contract by using a private key of the electronic contract signer, the billing node is a block chain node with a billing right determined based on the corresponding electronic contract signature times of each block chain node in the block chain system, and the electronic contract signature times corresponding to the block chain link point are determined according to the number of electronic contract signatures stored in the block chain system by the block chain node;
after the public key of the electronic contract signer in the block chain system is used for verifying that the electronic contract signature is legal, the accounting node broadcasts the electronic contract signature to other block chain nodes except the accounting node in the block chain system;
and after the block chain system confirms that each block chain link point passes the verification of the electronic contract signature, storing the electronic contract signature in the block chain system, and increasing the number of times of electronic contract signatures corresponding to the block chain link points of the electronic contract signer stored in the block chain system.
Preferably, the method further comprises the following steps:
and under the condition that the condition of determining the accounting right is met, based on the corresponding times of the electronic contract signatures of all block chain nodes in the block chain system, selecting the accounting nodes with the accounting right from the plurality of block chain nodes.
Preferably, after the increasing the number of times of the electronic contract signatures corresponding to the block link points of the electronic contract signer stored in the block chain system, the method further includes:
if the number of times of electronic contract signatures corresponding to the block link points of the electronic contract signer exceeds a set threshold, determining the block link points of the electronic contract signer as accounting alternative nodes;
under the condition that the condition of accounting right determination conditions is met, selecting accounting nodes with accounting rights from the plurality of block chain nodes based on the number of electronic contract signatures corresponding to each block chain node in the block chain system, wherein the method comprises the following steps:
and under the condition that the accounting right determination condition is met, determining an accounting node with an accounting right from the accounting alternative nodes of the blockchain system.
Preferably, after the node currently having the accounting right is selected from the plurality of block link points, the method further includes:
and reducing the electronic contract signing times corresponding to the selected accounting node by a set time so as to update the electronic contract signing times corresponding to the selected accounting node.
Preferably, after the determining the block link node of the electronic contract signer as the accounting candidate node, the method further comprises:
and if the total number of the accounting alternative nodes currently existing in the block chain system exceeds the set number, increasing the value of the set threshold.
Preferably, the determining a billing node with a billing right from the billing alternative nodes of the blockchain system includes:
randomly selecting a billing alternative node as a billing node with a billing right from the billing alternative nodes of the block chain system;
or generating random numbers, respectively calculating the exclusive or result of the public key of the user to which each accounting alternative node belongs and the random numbers, and determining the accounting alternative node with the minimum corresponding exclusive or result as the accounting node with the accounting right;
or respectively calculating the exclusive or result of the public key of the user to which each accounting candidate node belongs and the hash value of the block generated most recently in the block chain, and determining the accounting candidate node with the minimum corresponding exclusive or result as the accounting node with the accounting right.
In another aspect, the present application further provides a blockchain consensus apparatus applicable to electronic subscription, where the blockchain consensus apparatus is applied to the blockchain system, where the blockchain system is a blockchain system applied to electronic subscription, and the blockchain system includes a plurality of blockchain nodes, and the apparatus includes:
the signature obtaining unit is used for obtaining an electronic contract signature sent by a block chain link point of an electronic contract signer to a block chain system through a billing node, wherein the electronic contract signature is obtained by the electronic contract signer through the electronic contract signing system and encrypting an abstract of an electronic contract by using a private key of the electronic contract signer, the billing node is a block chain node with a billing right determined based on the corresponding electronic contract signature times of each block chain node in the block chain system, and the electronic contract signature times corresponding to the block chain link point are determined according to the number of the electronic contract signatures stored in the block chain system by the block chain node;
the signature broadcasting unit is used for broadcasting the electronic contract signature to other block chain nodes except the bookkeeping node in the block chain system after the public key of the electronic contract signer in the block chain system is used for verifying that the electronic contract signature is legal;
and the consensus management unit is used for storing the electronic contract signatures into the block chain system after confirming that all the block chain link points pass the electronic contract signature verification, and increasing the number of times of electronic contract signatures corresponding to the block chain link points of the electronic contract signer stored in the block chain system.
Preferably, the method further comprises the following steps:
and the accounting right determining unit is used for selecting the accounting node with the accounting right from the plurality of block chain nodes based on the electronic contract signing times corresponding to the block chain nodes in the block chain system under the condition that an accounting right determining condition is met.
Preferably, the method further comprises the following steps:
the candidate determining unit is used for determining the block link point of the electronic contract signer as an accounting candidate node if the electronic contract signature frequency corresponding to the block link point of the electronic contract signer exceeds a set threshold after the consensus management unit increases the electronic contract signature frequency corresponding to the block link point of the electronic contract signer stored in the block chain system;
the accounting right determining unit is specifically configured to determine an accounting node with an accounting right from the accounting candidate nodes of the block chain system under the condition that an accounting right determining condition is satisfied.
Preferably, the method further comprises the following steps:
and the number changing unit is used for reducing the electronic contract signing number corresponding to the selected accounting node by the set number after the accounting right determining unit selects the accounting node with the accounting right from the plurality of block link points, so as to update the electronic contract signing number corresponding to the selected accounting node.
In yet another aspect, the present application further provides an electronic device comprising a memory and a processor;
wherein the memory is used for storing programs;
the processor is configured to execute the program, and when the program is executed, the program is specifically configured to implement the block chain consensus method suitable for electronic subscription as described in any one of the above.
In yet another aspect, the present application further provides a computer-readable storage medium for storing a program, which when executed, is configured to implement a block chain consensus method suitable for electronic subscription as described in any one of the above.
According to the scheme, the accounting node in the block chain system is determined according to the electronic contract signature times corresponding to the block chain link points in the block chain system, and the electronic contract signature times corresponding to the block chain link points are determined according to the quantity of the electronic contracts stored in the block chain system by the block chain node. Because the block chain system synchronously updates the electronic contract signature times corresponding to the block chain node after successfully storing the electronic contract signature sent by the block chain node each time, the electronic contract signature times of the block chain node are used as the workload certification of the competitive accounting node, and the additional continuous calculation of the hash value used as the workload certification can be avoided, thereby being beneficial to reducing the calculation resources required to be consumed for determining the accounting node.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a block chain-based electronic contract signing system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a block chain consensus method for electronic subscription according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another block chain consensus method applicable to electronic subscription according to an embodiment of the present disclosure;
fig. 4 is a schematic flow chart of electronic contract signing provided in the embodiment of the present application;
fig. 5 is a schematic structural diagram of a block chain consensus device applicable to electronic subscription according to an embodiment of the present disclosure.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be practiced otherwise than as specifically illustrated.
Detailed Description
The scheme of the application is suitable for the block chain system, and the block chain system is a block chain system for signing an electronic contract with an application. The block chain consensus method applicable to the electronic signing scene is provided through the scheme, so that resource consumption can be reduced by determining the accounting node of the block chain system through the scheme, and the block chain consensus method is more applicable to the block chain system in the electronic signing scene.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present disclosure.
Fig. 1 is a schematic diagram illustrating a composition structure of an electronic contract signing system based on a block chain according to the present application.
As can be seen from fig. 1, the block chain-based electronic contract contracting system includes: an electronic subscription system 110 and a blockchain system 120.
The electronic subscription system 110 includes: an electronic subscription client 111 and an electronic subscription server 112.
The electronic signing client is a terminal running an electronic signing application, and the terminal is a terminal owned by a user who may have an electronic contract signing requirement.
The electronic subscription server 112 may have one or more electronic subscription systems, for example, an electronic subscription platform consisting of a plurality of electronic subscription servers.
The blockchain system 120 may include a plurality of blockchain nodes 121. The terminal where the signed client is located may be used as a block chain node, or another terminal that a user corresponding to the signed client has may be used as a block chain node.
In the application, a contract signing initiating user can initiate a contract signing task to an electronic signing server through an electronic signing client, and the contract signing task comprises the following steps: an electronic contract to be signed. In an alternative, the contract signing task may further include a signer list to be signed for the electronic contract, the to-be-signer list including a plurality of signer information that is required to sign the electronic contract.
The contract signing initiator can also send a processing task indication of the to-be-signed contract to the blockchain system through the blockchain node of the contract signing initiator, and the processing task indication can indicate that the number or other unique identification of the to-be-signed electronic contract exists. Of course, the processing task indication may also carry the signer list to store the signer list corresponding to the electronic contract in the block chain system, such as storing the signer list corresponding to the identification such as the number of the electronic contract.
On the basis, after confirming that an electronic contract which needs the user signature (or is called signature) exists in the electronic contract signing system, the user as a signer can obtain the electronic contract through the electronic contract signing system, and after confirming that the content of the electronic contract is correct, the electronic contract signing system signs the abstract of the electronic contract by using the private key of the user to obtain the signature of the electronic contract. The electronic contracting system may then send the electronic contract signature to the blockchain system through the signer's blockchain link.
For example, in one possible scenario, a user who is a signer requests an electronic contract to be signed from an electronic signing server through his electronic signing client. After the electronic signing server returns the electronic contract to the electronic signing server, the user may review the content of the electronic contract on the electronic signing client. After the signer confirms the content of the electronic contract, a signature instruction for the electronic contract can be sent to the electronic contract server through the electronic contract client, and the signature instruction is used for instructing the electronic contract server to complete the signature of the user on the electronic contract. And the electronic signing server responds to the signature command, obtains the stored private key of the signer, and encrypts the abstract of the electronic contract by using the private key of the user to obtain the signature of the electronic contract.
Of course, there may be other possibilities for the user as the signer to complete the process of signing the electronic contract through the electronic signing system and by using the private key thereof, which is not limited in the present application.
For example, when the electronic contract signing server confirms that there is an electronic contract that needs to be signed by the signer based on the electronic contract signing task initiated by the initiator (for example, it is determined that there is an electronic contract that needs to be signed by the signer based on the signer list in the electronic contract signing task), the electronic contract signing reminder can be sent to the signing client of the signer, and the electronic contract signing reminder is used for reminding the user of the existence of the electronic contract to be signed.
For another example, the user as the signer may also obtain the signing task of the electronic contract initiated by the initiator by means of an email, a short message, or the like, which is not limited in this respect.
In an alternative, the block chain-based electronic contract signing System may further include a distributed storage System 130, for example, the distributed File System may be an internet File System (IPFS) network, and the like, which is not limited thereto. On this basis, the electronic contract to be signed as well as the signed electronic contract may be stored to the distributed file system through the electronic contract signing system. Meanwhile, in the process of signing the electronic contract by the signer, if the electronic contract needs to be checked, the electronic contract can be obtained from the distributed file system through the electronic signing system.
In the application, the blockchain system may determine the accounting node by combining with the consensus method of the application, and process the electronic contract signature sent by the electronic signing system through the determined accounting node. Meanwhile, the electronic contract signature times are accumulated for block chain nodes of the signer, so that the bookkeeping node is selected based on the electronic contract signature times of the block chain.
It should be understood that fig. 1 is only a schematic structural diagram of a block chain-based electronic contract signing system, and in practical applications, there may be other possibilities for the block chain-based electronic contract signing system, which is not limited in this respect.
Based on the above, the blockchain consensus method of the present application is described below with reference to a flowchart from the blockchain system side.
As shown in fig. 2, which is a flowchart illustrating an embodiment of a block chain consensus method applicable to electronic subscription according to the present application, the method of the present embodiment is applied to a block chain system applied to electronic subscription, and the block chain system includes a plurality of block chain nodes.
The method of the embodiment may include the steps of:
s201, the accounting node of the blockchain system obtains the electronic contract signature sent by the blockchain link point of the electronic contract signer to the blockchain system.
Among them, the electronic contract signer is a signer who has signed an electronic contract through the electronic contract signing system, that is, the aforementioned user as the signer.
As described above, the electronic contract signature is obtained by encrypting the digest of the electronic contract through the electronic contract signing system and by using the private key of the user to which the user belongs. For example, the electronic contract signature is obtained by encrypting the digest of the electronic contract by the electronic signing system by using the private key of the user after the user to which the block chain node belongs confirms that the electronic contract is error-free through the electronic signing system.
The abstract of the electronic contract is the hash of the electronic contract, for example, the abstract of the electronic contract is obtained by performing hash operation on the original text of the electronic contract.
In the application, the accounting node is a block chain node with accounting right determined based on the corresponding electronic contract signing times of each block chain node in the block chain system. And the electronic contract signature times corresponding to the block chain nodes are determined according to the number of the electronic contract signatures stored in the block chain system by the block chain nodes. And the electronic contract signature stored to the blockchain system by the cross-zone chain node is generated by the user to which the blockchain node belongs through the electronic signing system.
Wherein, the larger the number of the electronic devices stored in the blockchain system by the blockchain link point is, the larger the probability that the blockchain link point is selected as the booked node is.
For example, in one possible scenario, the number of electronic contract signatures for a blockchain node may be the number of electronic contract signatures that the blockchain node stores to the blockchain system.
In yet another possible scenario, to further improve fairness in determining the accounting node, the number of electronic contract signatures of the blockchain node may be determined according to the number of electronic contract signatures stored by the blockchain node to the blockchain system and the number of times the blockchain node acts as the accounting node. For example, the number of times of electronic contract signatures of a blockchain node is: and the blockchain node stores the number of the electronic contract signatures to the blockchain system, and subtracts the product of the number of times that the blockchain node is selected as the accounting node and a set number, wherein the set number can be set as required. The following will be described in detail with reference to the above-mentioned situations, and will not be described herein again.
Therefore, in the application, the electronic contract signature times corresponding to the block link points are used as the work load proof of the block link points competing for the accounting right. The more times the block chain link point successfully stores the electronic contract signature into the block chain system, the more times the electronic contract signature corresponding to the block chain link point is. Because the electronic contract signature is the indispensable work of electronic contract signing, the times of completing the electronic contract signature by counting the block chain nodes are taken as the workload proof of competing the accounting right, other workload proofs do not need to be calculated independently, and the block chain system is more suitable for the application scene of electronic contract signing.
S202, after the accounting node verifies that the electronic contract signature is legal by using the public key of the electronic contract signer in the blockchain system, the accounting node broadcasts the electronic contract signature to other blockchain nodes except the accounting node in the blockchain system.
The account book of the blockchain system may store in advance a public key corresponding to a user to which each blockchain link point belongs. For example, the public key of each user stored in the blockchain system may be stored in the blockchain after the user is authenticated by a certificate Authority (RA) such as a Registration Authority (Registration Authority).
Accordingly, based on the signer contract to which the blockchain node belongs, the public key of the signer contract can be queried from the blockchain system.
It is understood that there are many ways to verify the electronic contract signature using the public key of the signer of the contract, and the application is not limited thereto.
For ease of understanding, one implementation is illustrated where the accounting node decrypts the electronic contract signature using the public key of the signer of the contract, and confirms that the electronic contract is legitimate if the electronic contract signature can be decrypted.
In an optional mode, the accounting node can also verify whether the public key of the contract signer is valid, and if the public key of the contract signer is not expired and is not in the revocation list, the public key of the contract signer is confirmed to be valid.
In yet another alternative, the accounting node may also obtain a list of signers of the electronic contract corresponding to the electronic contract signature stored by the blockchain system before verifying whether the electronic contract signature is legal, e.g., the blockchain node of the contract signing initiator may store the list of signers corresponding to the electronic contract to the blockchain system. Accordingly, the accounting node detects whether the electronic contract signer belongs to the signers in the signer list based on the public key of the contract signer.
For example, the signer list may store the identification of each signer, and the signer identification may be the public key of the signer or a unique identification generated based on the public key of the signer, so that whether the signer is the signer in the signer list can be verified based on the public key of the signer.
It can be understood that if the electronic contract signer belongs to the list of the signers of the electronic contract, the electronic contract signer is the person who has the electronic contract signature right, and on the basis, the public key of the electronic contract signer is used for verifying the electronic contract signature to ensure the reliability of the verification result.
It can be understood that, in practical applications, the accounting node may also combine the two optional manners to verify that the public key is legal, and then decrypt the electronic contract signature by using the public key to verify the validity.
And S203, after the block chain system confirms that each block chain node passes the verification of the electronic contract signature, storing the electronic contract signature in the block chain system, and increasing the number of times of electronic contract signatures corresponding to the block chain link point of the electronic contract signer stored in the block chain system.
After the accounting node sends the electronic contract signature to each block link point, each block link point also verifies whether the electronic contract signature is legal, the verification process may be the same as the way in which the accounting node verifies whether the electronic contract signature is a contract, and specifically, reference may be made to the related description of step S202, which is not described herein again.
After confirming that all the block chain nodes verify the electronic contract signature legally, the block chain nodes in the block chain system store the electronic contract signature in a block chain book local to the block chain nodes, so that the block chain system finishes storing the electronic contract signature in the block chain.
It can be understood that, when the electronic contract signature is successfully stored in the block chain system, it indicates that the electronic contract signer successfully completes the electronic contract signature, that is, the block chain node of the electronic contract signer completes one electronic contract signature, on this basis, each block chain node in the block chain system of the application updates the number of electronic contract signatures corresponding to the block chain node in the local account book for competing for the accounting right, for example, adds one to the number of electronic contract signatures.
As can be seen from the above, the accounting node in the blockchain system is determined according to the electronic contract signature times corresponding to the blockchain link points in the blockchain system, and the electronic contract signature times corresponding to the blockchain link points are the total number of the electronic contracts generated and stored in the blockchain system by the user to which the blockchain link points belong in the electronic subscription system. Because the block chain system synchronously updates the electronic contract signature times corresponding to the block chain node after successfully storing the electronic contract signature sent by the block chain node each time, the electronic contract signature times of the block chain node are used as the workload certification of the competitive accounting node, and the additional continuous calculation of the hash value used as the workload certification can be avoided, thereby being beneficial to reducing the calculation resources required to be consumed for determining the accounting node.
Meanwhile, because the electronic contract signature is the indispensable work of electronic signing, the frequency of completing the electronic contract signature by counting the block chain nodes is used as the work load proof of the competitive accounting right, so that the block chain system applied to the electronic signing can be favorably used for more fairly competing the accounting right.
Moreover, because the number of times of electronic contract signatures of each block chain node in the block chain system can be increased only when the block chain node actually participates and completes the electronic contract signatures, but the block chain node cannot be purchased from a trading desk, the situation that tokens are accumulated like a stock right certification POS mechanism of the block chain and even the block chain system is centralized is avoided, and the block chain node in the block chain system can be guaranteed to compete for the accounting right more fairly.
It is understood that in the embodiment of the present application, the accounting node may be re-determined in the blockchain system in case of satisfying the accounting right determination condition. In the application, the accounting node currently having the accounting right can be selected from the plurality of block chain nodes based on the number of electronic contract signatures corresponding to each block chain link point in the block chain system.
The condition for determining the accounting right can be set according to needs, and if the number of transactions completed by the current accounting node in the block chain system reaches a set value, the accounting node is determined to need to be determined again, so that the condition for determining the accounting right can be judged to be met currently. Of course, there may be other possibilities for this condition, which is not limited.
There are also many possible ways to select the accounting node based on the number of electronic contract signatures of the blockchain node.
For example, the block chain node with the highest electronic contract signature times can be selected as the accounting node. Of course, after the block link point is determined as the accounting node, the number of electronic contract signatures corresponding to the block link point may be cleared, so that other block link nodes can also have the possibility of successful accounting nodes in the future.
For another example, at least one blockchain node with the electronic contract signature times exceeding the threshold value can be determined, and the blockchain node is randomly selected from the at least one blockchain node to serve as the accounting node. The following introduces a scheme of the present application in a manner that an accounting node is determined by the number of electronic contract signatures corresponding to each block link node point, as shown in fig. 3, which shows another flow diagram of a block chain consensus method for electronic subscription according to the present application, where the method of the present embodiment is applied to a block chain system, and the present embodiment may include:
s301, the accounting node of the blockchain system obtains the electronic contract signature sent by the blockchain link point of the electronic contract signer to the blockchain system.
S302, after the accounting node verifies that the electronic contract signature is legal by using the public key of the electronic contract signer in the blockchain system, the accounting node broadcasts the electronic contract signature to other blockchain nodes except the accounting node in the blockchain system.
And S303, after the block chain system confirms that each block chain node passes the verification of the electronic contract signature, storing the electronic contract signature in the block chain system, and increasing the number of times of electronic contract signatures corresponding to the block chain link point of the electronic contract signer stored in the block chain system.
The above steps S301 to S303 can refer to the related description of the previous embodiment, and are not described herein again.
It is understood that after the blockchain system stores the electronic contract signature, a certain amount (specific numerical value can be set as required) of digital assets can be deducted from the blockchain link point sending the electronic contract signature. The digital assets with block link points deducted are then charged against the commission in the bitcoin network.
And S304, if the block chain system confirms that the electronic contract signing times corresponding to the block chain link points of the electronic contract signer exceed a set threshold, determining the block chain link points of the electronic contract signer as accounting alternative nodes.
For example, for any block chain node in the block chain system, after the block chain link point increases the electronic contract signature frequency corresponding to the block chain link point of the electronic contract signer in the book of the block chain system, whether the electronic contract signature frequency corresponding to the block chain link point of the current electronic contract signer is greater than a set threshold value may be detected, and if so, the block chain link point of the electronic contract signer is marked as the accounting candidate node.
The set threshold can be set according to actual needs, for example, the set threshold can be 10.
It can be understood that if the number of times that each block link point in the block chain system completes electronic contract subscription is large, the number of the block link points serving as the accounting candidate nodes may be large, which is not favorable for more reasonably selecting the accounting nodes. And if the total number of the accounting alternative nodes currently existing in the block chain system exceeds the set number, increasing the value of the set threshold.
If the most recently set value of the set threshold is 10, the set threshold may be adjusted to 15 as the number of times of electronic contract signatures corresponding to each block link point generally increases.
The timing for adjusting the value of the set threshold value can be after the number of electronic contract signatures corresponding to the block link points of the electronic contract signer is increased, or can be every time length is set, whether the number of the accounting alternative nodes exceeds the set number or not is detected, and the value of the set threshold value is increased under the condition that the number of the accounting alternative nodes exceeds the set number.
S305, under the condition that the accounting right determination condition is met, the blockchain system determines an accounting node with the accounting right from the accounting alternative nodes of the blockchain system.
For example, each block link point in the block chain system determines the accounting node according to the accounting alternative node recorded in the local account book and by adopting the set accounting right determination rule. On the basis, if the accounting node exceeds a set proportion or the accounting nodes determined by all the block link points are the same, the accounting node is determined to be the accounting node of the block chain system.
It is understood that, in order to improve fairness, the accounting node determined from the accounting candidate nodes in the present application may be determined in a random manner. For example, the accounting alternative node can be randomly selected as the accounting node with the accounting right from the accounting alternative nodes of the blockchain system.
In a possible implementation manner, a generated random number may be generated first, then, the xor result of the public key of the user to which each accounting candidate node belongs and the random number is calculated respectively, and the accounting candidate node with the smallest xor result is determined as the accounting node with the accounting right. For example, the chain link node in the blockchain system may generate a random number by using a Verifiable Delay Function (VDF), so that each chain link node in the blockchain system obtains the same random number.
In yet another possible implementation manner, the exclusive or result between the public key of the user to which each billing candidate node belongs and the hash value of the block generated most recently in the block chain may be calculated, and the billing candidate node with the smallest corresponding exclusive or result may be determined as the billing node with the billing right.
Of course, the above is several cases as examples, and there may be other possibilities to select the accounting node with the accounting right from the accounting candidate nodes, which is not limited in this respect.
It is understood that the accounting nodes in steps S301 to S302 above in the present application may be determined in the manner mentioned in steps S304 and S305, and accordingly, after the accounting node is determined in step S305, the accounting node also performs the operations in steps S301 and S302 above, and the corresponding blockchain system also performs the operation in step S303.
It can be understood that, in the case that each block chain node in the block chain system does not participate in the electronic contract signature, or the values of the electronic contract signature times corresponding to each block chain node are all lower than the set threshold, in this embodiment, one block chain node may be randomly selected from the plurality of block chain nodes as the accounting node, or the block chain node with the largest electronic contract signature times is determined as the accounting node, and the like.
S306, the block chain system subtracts the set times from the electronic contract signature times corresponding to the selected accounting node, so as to update the selected electronic contract signature times of the accounting node.
Wherein, the set times can be set according to needs.
In an alternative manner, the value of the set number may be the set threshold of the previous step S304.
It is understood that the step S305 is an optional step, and is intended to avoid that the number of times of signing the electronic contract of the blockchain node is always large, and the blockchain node is frequently selected as the accounting node, so that other blockchain nodes cannot be selected as the accounting node, thereby affecting fairness.
If the number of electronic contract signatures of a blockchain node is 25, and the number of times is 20, after the blockchain node is elected as the accounting node, the number of electronic contract signatures of the blockchain node is subtracted by 20, so that the number of electronic contract signatures of the blockchain node becomes 5.
It will be appreciated that in practice, after the block link points are selected as accounting nodes, accounting nodes may also be allocated a set number (specific number may be set as desired) of digital assets, similar to mining in bitcoin networks.
Therefore, in the application, as long as the number of times of the electronic contract signatures accumulated by the block chain nodes exceeds the set threshold, the block chain nodes are selected possibly, so that the whole consensus algorithm is more fair and more decentralized.
Compared with the existing BFT-Byzantine fault tolerance, RAFT and other alliance chain consensus algorithms which are only suitable for scenes with few consensus nodes, the method has certain centralization, is not limited by the number of nodes in a block chain system, and can realize decentralization.
In order to facilitate understanding of the scheme of the present application, the scheme of the present application is described below in connection with a signing process of an electronic contract performed by an electronic contract signer using an electronic signing system. As shown in fig. 4, which shows a schematic flow chart of electronic contract signing of the present application, the method of this embodiment may include:
s401, the electronic signing client of the electronic contract signer obtains the content of the electronic contract to be signed from the distributed file system through the electronic signing server.
It is to be understood that after the electronic contract signer learns that there is a signing task for the electronic contract that requires its signing, step S401 can be performed, wherein the electronic contract signer can obtain the presence of the electronic contract signing task to be processed by the electronic contract signer in various ways, as described above, without limitation.
S402, the block chain node of the electronic contract signer obtains the electronic contract information corresponding to the electronic contract signer from the block chain system.
The electronic contract information may include a list of signers that includes the signer of the electronic contract and a digest of the electronic contract. The electronic contract abstract is obtained by performing hash calculation on the electronic contract by using the public key of the electronic contract signer by the block chain system.
For example, the contract signing initiator sends out a processing task indication of the electronic contract to the blockchain system through its blockchain link point, which may carry an identification of the electronic contract to be signed and a list of signers.
On the basis, the electronic contract signer can request the electronic contract information corresponding to the identification of the electronic contract from the blockchain system through the blockchain link points of the electronic contract signer, so that the blockchain system can obtain the content of the electronic contract from the distributed file system based on the identification of the electronic contract, and perform hash calculation on the electronic contract by using the public key of the electronic contract signer to obtain the abstract of the electronic contract. Accordingly, the blockchain system returns the digest of the electronic contract and the signer list to the blockchain link point of the electronic contract signer.
The blockchain system may obtain the electronic contract from the distributed file system based on the identification of the electronic contract and calculate a hash value of the electronic contract, obtain a digest of the electronic contract, and store the digest.
S403, after the electronic contract signer confirms the content of the electronic contract, the electronic signing client of the electronic contract signer requests the electronic signing server to calculate the hash value of the electronic contract by using the public key of the electronic contract signer, so as to obtain the calculated verification hash value of the electronic contract.
For example, the electronic contract signer may manually check the content of the electronic contract, and after confirming the content of the electronic contract, may initiate, through the electronic contract client, a digest calculation request to the electronic contract server, where the digest calculation request carries an identifier of the electronic contract, and is used to request to calculate a hash value of the electronic contract. Correspondingly, the electronic signing server can obtain the content of the electronic contract from the distributed system, and perform hash calculation on the content of the electronic contract by using the public key of the signer of the electronic contract to obtain the hash value of the electronic contract.
In order to distinguish the electronic contract digest determined by the blockchain system, the hash value of the electronic contract calculated by the electronic signing system is referred to as a verification digest of the electronic contract.
S404, when the electronic contract signer confirms through the electronic contract client that the verification digest is consistent with the digest of the electronic contract in the electronic contract information, the electronic contract client requests the electronic contract server to generate an electronic contract signature signed by the electronic contract signer.
For example, the electronic signing client sends a signature request to the electronic signing server, and the signature request is used for requesting that the signature of the electronic contract is completed by using the private key of the electronic contract signer. Correspondingly, the abstract of the electronic contract is encrypted by using the private key of the electronic contract signer, and the electronic contract signature of the electronic contract signer on the electronic contract is obtained.
It is to be understood that, in S404, verifying the digest and the digest of the electronic contract generated by the blockchain system may be performed manually by the electronic contract signer, or may be performed by the electronic contract client or the electronic contract server and notified to the electronic contract signer, which is not limited by this application.
Similarly, the step S404 is exemplified by an implementation of generating an electronic contract signature for the electronic contract signer through the electronic contract signing system, and in practical applications, there may be other possibilities for generating the electronic contract signature based on the electronic contract signing system, which is not limited to this.
S405, the electronic signing server sends the electronic contract signature to the blockchain system through the blockchain node of the electronic contract signer.
If so, the electronic signing server sends the electronic contract signature to the block chain node of the electronic contract signer, and the block chain node requests to upload the electronic contract signature to the block chain system.
S406, after the public key of the electronic contract signer in the blockchain system is used by the accounting node of the blockchain system to verify that the electronic contract signature is legal, the accounting node broadcasts the electronic contract signature to other blockchain nodes in the blockchain system except the accounting node.
And S407, after the block chain system confirms that each block chain node passes the verification of the electronic contract signature, storing the electronic contract signature in the block chain system, and increasing the number of times of electronic contract signatures corresponding to the block chain link point of the electronic contract signer stored in the block chain system.
And S408, if the block chain system confirms that the electronic contract signing times corresponding to the block chain link points of the electronic contract signer exceed a set threshold, determining the block chain link points of the electronic contract signer as accounting alternative nodes.
S409, if the block chain system determines that the block chain node is the accounting node, the block chain system subtracts the set number of times from the number of times of signature of the electronic contract corresponding to the block chain node when the accounting right determination condition is satisfied.
The application also provides a block chain consensus device suitable for electronic subscription.
As shown in fig. 5, a schematic structural diagram of a block chain consensus device applicable to electronic subscription according to the present application is shown, where the block chain consensus device is applied to the block chain system, where the block chain system is applied to electronic subscription and includes a plurality of block chain nodes, and the device includes:
a signature obtaining unit 501, configured to obtain, through a billing node, an electronic contract signature sent by a block link node of an electronic contract signer to a block link system, where the electronic contract signature is obtained by the electronic contract signer through the electronic signing system and encrypting an abstract of an electronic contract by using a private key of the electronic contract signer, the billing node is a block link node with a billing right determined based on electronic contract signature times corresponding to each block link node in the block link system, and the electronic contract signature times corresponding to the block link node is determined according to the number of electronic contract signatures stored in the block link system by the block link node;
a signature broadcasting unit 502, configured to broadcast, by the bookkeeping node, the electronic contract signature to other blockchain nodes in the blockchain system except the bookkeeping node after verifying that the electronic contract signature is legal by using the public key of the electronic contract signer in the blockchain system;
the consensus management unit 503 is configured to, after confirming that each block link point verifies the electronic contract signature, store the electronic contract signature in the block link system, and increase the number of times of electronic contract signatures corresponding to the block link point of the electronic contract signer stored in the block link system.
In one possible implementation, the apparatus may further include:
and the accounting right determining unit is used for selecting the accounting node with the accounting right from the plurality of block chain nodes based on the electronic contract signing times corresponding to the block chain nodes in the block chain system under the condition that an accounting right determining condition is met.
In yet another possible implementation manner, the apparatus further includes:
the candidate determining unit is used for determining the block link point of the electronic contract signer as an accounting candidate node if the electronic contract signature frequency corresponding to the block link point of the electronic contract signer exceeds a set threshold after the consensus management unit increases the electronic contract signature frequency corresponding to the block link point of the electronic contract signer stored in the block chain system;
the accounting right determining unit is specifically configured to determine an accounting node with an accounting right from the accounting candidate nodes of the block chain system under the condition that an accounting right determining condition is satisfied.
In an alternative, the apparatus further comprises:
and the threshold changing unit is used for increasing the value of the set threshold if the total number of the accounting candidate nodes currently existing in the block chain system exceeds the set number after the candidate determining unit determines the accounting candidate nodes from the block chain nodes of the electronic contract signer.
In one possible implementation, the apparatus further includes:
and the number changing unit is used for reducing the electronic contract signing number corresponding to the selected accounting node by the set number after the accounting right determining unit selects the accounting node with the accounting right from the plurality of block link points, so as to update the electronic contract signing number corresponding to the selected accounting node.
In yet another alternative, the accounting right determination unit includes:
the first accounting weight determining subunit is used for randomly selecting an accounting alternative node as an accounting node with an accounting weight from the accounting alternative nodes of the block chain system under the condition that an accounting weight determining condition is met;
or, the second accounting right determining subunit is configured to, in a case that the accounting right determining condition is satisfied, generate a random number, respectively calculate an exclusive-or result between the public key of the user to which each accounting candidate node belongs and the random number, and determine the accounting candidate node with the smallest corresponding exclusive-or result as the accounting node with the accounting right;
or, the third accounting right determining subunit is configured to, when the accounting right determining condition is satisfied, respectively calculate an exclusive or result of the public key of the user to which each accounting candidate node belongs and the hash value of the block generated most recently in the block chain, and determine the accounting candidate node with the smallest corresponding exclusive or result as the accounting node with the accounting right.
In yet another aspect, the present application further provides an electronic device comprising a memory and a processor;
wherein the memory is used for storing programs;
the processor is configured to execute the program, and when the program is executed, the program is specifically configured to implement the block chain consensus method suitable for electronic subscription provided in any of the above embodiments.
In yet another aspect, the present application further provides a computer-readable storage medium for storing a program, which when executed, is configured to implement a block chain consensus method applicable to electronic subscription provided in any one of the above embodiments.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. Meanwhile, the features described in the embodiments of the present specification may be replaced or combined with each other, so that those skilled in the art can implement or use the present application. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A blockchain consensus method applicable to electronic subscription, the blockchain consensus method being applied to a blockchain system applied to electronic subscription, the blockchain system including a plurality of blockchain nodes, the method comprising:
the method comprises the steps that a billing node obtains an electronic contract signature sent by a block chain link point of an electronic contract signer to a block chain system, wherein the electronic contract signature is obtained by the electronic contract signer through an electronic signing system and encrypting an abstract of an electronic contract by using a private key of the electronic contract signer, the billing node is a block chain node with a billing right determined based on the electronic contract signature times corresponding to the block chain link points in the block chain system, and the electronic contract signature times corresponding to the block chain link points are determined according to the number of the electronic contract signatures stored in the block chain system by the block chain node;
after the public key of the electronic contract signer in the block chain system is used for verifying that the electronic contract signature is legal, the accounting node broadcasts the electronic contract signature to other block chain nodes except the accounting node in the block chain system;
and after the block chain system confirms that each block chain link point passes the verification of the electronic contract signature, storing the electronic contract signature in the block chain system, and increasing the number of times of electronic contract signatures corresponding to the block chain link points of the electronic contract signer stored in the block chain system.
2. The method of claim 1, further comprising:
and under the condition that the condition of determining the accounting right is met, based on the corresponding times of the electronic contract signatures of all block chain nodes in the block chain system, selecting the accounting nodes with the accounting right from the plurality of block chain nodes.
3. The method according to claim 2, further comprising, after the increasing the number of electronic contract signatures corresponding to the block chain link points of the electronic contract signer stored in the block chain system, the step of:
if the number of times of electronic contract signatures corresponding to the block link points of the electronic contract signer exceeds a set threshold, determining the block link points of the electronic contract signer as accounting alternative nodes;
under the condition that the condition of accounting right determination conditions is met, selecting accounting nodes with accounting rights from the plurality of block chain nodes based on the number of electronic contract signatures corresponding to each block chain node in the block chain system, wherein the method comprises the following steps:
and under the condition that the accounting right determination condition is met, determining an accounting node with an accounting right from the accounting alternative nodes of the blockchain system.
4. The method of claim 2, wherein after selecting the accounting node currently having the accounting right from the plurality of block link points, further comprising:
and reducing the electronic contract signing times corresponding to the selected accounting node by a set time so as to update the electronic contract signing times corresponding to the selected accounting node.
5. The method of claim 3, wherein after determining a billing alternative node from the block chain nodes of the electronic contract signer, further comprising:
and if the total number of the accounting alternative nodes currently existing in the block chain system exceeds the set number, increasing the value of the set threshold.
6. The method according to claim 3, wherein the determining a billing node with a billing right from the billing alternative nodes of the blockchain system comprises:
randomly selecting a billing alternative node as a billing node with a billing right from the billing alternative nodes of the block chain system;
or generating random numbers, respectively calculating the exclusive or result of the public key of the user to which each accounting alternative node belongs and the random numbers, and determining the accounting alternative node with the minimum corresponding exclusive or result as the accounting node with the accounting right;
or respectively calculating the exclusive or result of the public key of the user to which each accounting candidate node belongs and the hash value of the block generated most recently in the block chain, and determining the accounting candidate node with the minimum corresponding exclusive or result as the accounting node with the accounting right.
7. A blockchain consensus apparatus applicable to electronic subscription, the blockchain consensus apparatus being applied to a blockchain system applied to electronic subscription, the blockchain system including a plurality of blockchain nodes, the apparatus comprising:
the signature obtaining unit is used for obtaining an electronic contract signature sent by a block chain link point of an electronic contract signer to a block chain system through a billing node, wherein the electronic contract signature is obtained by the electronic contract signer through the electronic signing system and encrypting an abstract of an electronic contract by using a private key of the electronic contract signer, the billing node is a block chain node with a billing right determined based on the electronic contract signature times corresponding to the block chain link points in the block chain system, and the electronic contract signature times corresponding to the block chain link points are determined according to the number of the electronic contract signatures stored in the block chain system by the block chain node;
the signature broadcasting unit is used for broadcasting the electronic contract signature to other blockchain nodes except the bookkeeping node in the blockchain system after the public key of the electronic contract signer in the blockchain system is used for verifying that the electronic contract signature is legal through the bookkeeping node;
and the consensus management unit is used for storing the electronic contract signatures into the block chain system after confirming that all the block chain link points pass the electronic contract signature verification, and increasing the number of times of electronic contract signatures corresponding to the block chain link points of the electronic contract signer stored in the block chain system.
8. The apparatus of claim 7, further comprising:
and the accounting right determining unit is used for selecting the accounting node with the accounting right from the plurality of block chain nodes based on the electronic contract signing times corresponding to the block chain nodes in the block chain system under the condition that an accounting right determining condition is met.
9. An electronic device comprising a memory and a processor;
wherein the memory is used for storing programs;
the processor is configured to execute the program, and when the program is executed, the program is specifically configured to implement the block chain consensus method applicable to electronic subscription according to any one of claims 1 to 6.
10. A computer-readable storage medium storing a program which, when executed, implements a blockchain consensus method applicable to an electronic subscription according to any one of claims 1 to 6.
CN202110504436.4A 2021-05-10 2021-05-10 Block chain consensus method, device, equipment and medium suitable for electronic subscription Active CN112910661B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110504436.4A CN112910661B (en) 2021-05-10 2021-05-10 Block chain consensus method, device, equipment and medium suitable for electronic subscription

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110504436.4A CN112910661B (en) 2021-05-10 2021-05-10 Block chain consensus method, device, equipment and medium suitable for electronic subscription

Publications (2)

Publication Number Publication Date
CN112910661A true CN112910661A (en) 2021-06-04
CN112910661B CN112910661B (en) 2021-07-16

Family

ID=76108989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110504436.4A Active CN112910661B (en) 2021-05-10 2021-05-10 Block chain consensus method, device, equipment and medium suitable for electronic subscription

Country Status (1)

Country Link
CN (1) CN112910661B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115131029A (en) * 2022-06-28 2022-09-30 蚂蚁区块链科技(上海)有限公司 Block chain-based digital file signing method and device
CN115618421A (en) * 2022-10-11 2023-01-17 安徽高山科技有限公司 Electronic contract secure transmission method based on IPFS and block chain technology
CN116527692A (en) * 2023-06-29 2023-08-01 广东维信智联科技有限公司 Contract file cloud synchronization method based on Internet

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259235A (en) * 2018-01-04 2018-07-06 杭州复杂美科技有限公司 A kind of block chain accounting nodes selection method
CN108600161A (en) * 2018-03-12 2018-09-28 成都零光量子科技有限公司 A kind of fair efficient block chain common recognition method
US20180300694A1 (en) * 2018-05-14 2018-10-18 Beijing Good Fortune Innovative Intelligence Technology Co.Ltd Method for intelligently selecting accounting node of blockchain
CN109472166A (en) * 2018-11-01 2019-03-15 恒生电子股份有限公司 A kind of electronic signature method, device, equipment and medium
CN110070361A (en) * 2019-05-05 2019-07-30 江苏全链通信息科技有限公司 Contract based on block chain deposits card method, equipment and storage medium
CN110113334A (en) * 2019-05-05 2019-08-09 江苏全链通信息科技有限公司 Contract processing method, equipment and storage medium based on block chain
CN110287732A (en) * 2019-05-15 2019-09-27 杭州趣链科技有限公司 One kind depositing card method based on block chain electronic contract
CN110458730A (en) * 2019-08-01 2019-11-15 中盾云链(广州)信息科技有限公司 A kind of personal electric signing system and method based on block chain
CN111224788A (en) * 2020-04-21 2020-06-02 国网区块链科技(北京)有限公司 Electronic contract management method, device and system based on block chain
CN111460509A (en) * 2020-04-16 2020-07-28 福建首众信息科技有限公司 Block chain-based electronic signature application method
CN111985007A (en) * 2020-10-19 2020-11-24 支付宝(杭州)信息技术有限公司 Contract signing and executing method and device based on block chain

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259235A (en) * 2018-01-04 2018-07-06 杭州复杂美科技有限公司 A kind of block chain accounting nodes selection method
CN108600161A (en) * 2018-03-12 2018-09-28 成都零光量子科技有限公司 A kind of fair efficient block chain common recognition method
US20180300694A1 (en) * 2018-05-14 2018-10-18 Beijing Good Fortune Innovative Intelligence Technology Co.Ltd Method for intelligently selecting accounting node of blockchain
CN109472166A (en) * 2018-11-01 2019-03-15 恒生电子股份有限公司 A kind of electronic signature method, device, equipment and medium
CN110070361A (en) * 2019-05-05 2019-07-30 江苏全链通信息科技有限公司 Contract based on block chain deposits card method, equipment and storage medium
CN110113334A (en) * 2019-05-05 2019-08-09 江苏全链通信息科技有限公司 Contract processing method, equipment and storage medium based on block chain
CN110287732A (en) * 2019-05-15 2019-09-27 杭州趣链科技有限公司 One kind depositing card method based on block chain electronic contract
CN110458730A (en) * 2019-08-01 2019-11-15 中盾云链(广州)信息科技有限公司 A kind of personal electric signing system and method based on block chain
CN111460509A (en) * 2020-04-16 2020-07-28 福建首众信息科技有限公司 Block chain-based electronic signature application method
CN111224788A (en) * 2020-04-21 2020-06-02 国网区块链科技(北京)有限公司 Electronic contract management method, device and system based on block chain
CN111985007A (en) * 2020-10-19 2020-11-24 支付宝(杭州)信息技术有限公司 Contract signing and executing method and device based on block chain

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115131029A (en) * 2022-06-28 2022-09-30 蚂蚁区块链科技(上海)有限公司 Block chain-based digital file signing method and device
CN115618421A (en) * 2022-10-11 2023-01-17 安徽高山科技有限公司 Electronic contract secure transmission method based on IPFS and block chain technology
CN115618421B (en) * 2022-10-11 2023-09-12 安徽高山科技有限公司 Electronic contract safe transmission method based on IPFS and blockchain technology
CN116527692A (en) * 2023-06-29 2023-08-01 广东维信智联科技有限公司 Contract file cloud synchronization method based on Internet
CN116527692B (en) * 2023-06-29 2023-11-10 广东维信智联科技有限公司 Contract file cloud synchronization method based on Internet

Also Published As

Publication number Publication date
CN112910661B (en) 2021-07-16

Similar Documents

Publication Publication Date Title
CN112910661B (en) Block chain consensus method, device, equipment and medium suitable for electronic subscription
CN109845220B (en) Method and apparatus for providing blockchain participant identity binding
CN109714167B (en) Identity authentication and key agreement method and equipment suitable for mobile application signature
EP3966997B1 (en) Methods and devices for public key management using a blockchain
CN111224788B (en) Electronic contract management method, device and system based on block chain
CN109451061B (en) Contract adjustment processing method and system for block chain
Au et al. PERM: Practical reputation-based blacklisting without TTPs
CN110177124B (en) Identity authentication method based on block chain and related equipment
US20230006840A1 (en) Methods and devices for automated digital certificate verification
US12008145B2 (en) Method and server for certifying an electronic document
JP2007004461A (en) Service providing system, outsourcing agency apparatus, service providing method, and program
EP3659060B1 (en) Consensus protocol for permissioned ledgers
CN110599164B (en) Supervision-capable quick payment method for any payee under chain
CN113783697B (en) Committee-based data broadcast service certification consensus protocol application method
CN110990484A (en) Block chain based information storage method and system, computer equipment and storage medium
US20210111900A1 (en) Verification information attaching device, verification device, information management system, method, and program
CN114401091B (en) Device cross-domain authentication management method and device based on block chain
CN114092092A (en) Decentralized digital certificate management system based on threshold signature and use method
EP1912147A1 (en) Method and apparatus for selling a digital resource
CN111314059B (en) Processing method, device and equipment for account authority proxy and readable storage medium
CN109274674B (en) Block chain heterogeneous consensus method with high security and terminal
CN111222989A (en) Transaction method of multi-channel block chain, electronic device and storage medium
CN110098934B (en) Electronic data certificate storing method, device and terminal
CN114124515B (en) Bidding transmission method, key management method, user verification method and corresponding devices
CN113691376B (en) Key management method and device

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