CN110708269B - Block chain data transmission method, block chain node and computer readable storage medium - Google Patents

Block chain data transmission method, block chain node and computer readable storage medium Download PDF

Info

Publication number
CN110708269B
CN110708269B CN201810747773.4A CN201810747773A CN110708269B CN 110708269 B CN110708269 B CN 110708269B CN 201810747773 A CN201810747773 A CN 201810747773A CN 110708269 B CN110708269 B CN 110708269B
Authority
CN
China
Prior art keywords
public key
transaction
blockchain
node
block chain
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
CN201810747773.4A
Other languages
Chinese (zh)
Other versions
CN110708269A (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201810747773.4A priority Critical patent/CN110708269B/en
Publication of CN110708269A publication Critical patent/CN110708269A/en
Application granted granted Critical
Publication of CN110708269B publication Critical patent/CN110708269B/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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • 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/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Computer Hardware Design (AREA)
  • Strategic Management (AREA)
  • Computing Systems (AREA)
  • Power Engineering (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Engineering & Computer Science (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a block chain data transmission method, a block chain node and a computer readable storage medium, and relates to the technical field of block chains. The block chain data transmission method comprises the following steps: the method comprises the steps that a first block link point obtains transaction block chain data, wherein the first block chain node is a node of a transaction block chain and a public key block chain, and the transaction block chain data comprise a hash value and a signature of a public key of a sender of the transaction block chain data; searching a public key plaintext corresponding to the hash value of the public key in the public key block chain by the first block chain node; and the first blockchain link point verifies the transaction blockchain data according to the found public key plaintext and the signature of the sender of the transaction blockchain data. The invention saves the transmission bandwidth in the data transmission process of the transaction block chain, improves the transmission efficiency, and improves the security of data transmission in a non-plaintext public key transmission mode.

Description

Block chain data transmission method, block chain node and computer readable storage medium
Technical Field
The present invention relates to the field of blockchain technologies, and in particular, to a blockchain data transmission method, a blockchain node, and a computer-readable storage medium.
Background
The block chain has the characteristics of tamper resistance, traceability and the like, and along with the development of the block chain technology, more and more data begin to be stored by using the block chain. The block chain system is a distributed book accounting system, and network interaction is frequently performed among all nodes in the system.
In the related art, the following scheme is generally adopted in the block chain system during data transmission: the message content, the signed Hash (Hash) value and the plain text of the public key form a record to be sent out, other nodes can use the public key to generate the Hash value according to the same algorithm for the message after receiving the message, and whether the Hash in the message is consistent with the Hash generated by the current algorithm is checked.
Disclosure of Invention
The inventor analyzes the related technology and finds that the plaintext of the public key is generally large in content, occupies a large number of bytes, occupies more network bandwidth resources, affects transmission efficiency, and reduces the performance of the whole block chain. In addition, although most algorithms cannot solve out the private key through public key reverse decoding, the public transmission in the network still has potential safety hazard.
The embodiment of the invention aims to solve the technical problem that: how to improve the efficiency and security of blockchain data transmission.
According to a first aspect of some embodiments of the present invention, there is provided a method for transmitting block chain data, including: the method comprises the steps that a first block link point obtains transaction block chain data, wherein the first block chain node is a node of a transaction block chain and a public key block chain, and the transaction block chain data comprise a hash value and a signature of a public key of a sender of the transaction block chain data; searching a public key plaintext corresponding to the hash value of the public key in the public key block chain by the first block chain node; and the first blockchain link point verifies the transaction blockchain data according to the found public key plaintext and the signature of the sender of the transaction blockchain data.
In some embodiments, the method for block chain data transmission further comprises: the method comprises the steps that a first block link point obtains public key in-link transaction information, wherein the public key in-link transaction information comprises a public key plaintext and a signature of an initiator of the public key in-link transaction; the first block link point verifies the public key in-chain transaction information according to the public key plaintext and the signature of the initiator of the public key in-chain transaction; in response to the verification passing, the first blockchain node stores a correspondence between a plaintext of a public key of an initiator of the public key in-chain transaction and a hash value of the public key of the initiator of the public key in-chain transaction in a public key blockchain.
In some embodiments, the initiator of the public key linked transaction is a user, and in response to passing the verification, the first blockchain node stores the plaintext of the public key of the user initiating the transaction and the hash value of the public key of the user initiating the transaction into the user public key blockchain; or the initiator of the public key chaining transaction is a second blockchain node, and in response to passing of verification, the first blockchain node stores the plaintext of the public key of the second blockchain node and the hash value of the public key of the second blockchain node into the node public key blockchain, wherein the second blockchain node is a node of the transaction blockchain and the public key blockchain.
In some embodiments, the first chunk node obtains first transaction information initiated by a user, wherein the first transaction information includes a hash value of a public key of the user initiating the transaction and a signature; the first block chain node searches a user public key plaintext corresponding to the hash value of the public key of the user initiating the transaction in the public key block chain; and the first block chain link point verifies the first transaction information according to the found plaintext of the user public key and the signature of the user initiating the transaction.
In some embodiments, the method for block chain data transmission further comprises: the first block link point encrypts the verified first transaction information by using a private key to generate a signature of the first block link point; generating second transaction information by the first block chain node, wherein the second transaction information comprises the first transaction information, the signature of the first block chain node and the hash value of the public key of the first block chain node; the first block link node broadcasts the second transaction information to other block link nodes so that the other block link nodes verify the second transaction information.
In some embodiments, the first blockchain link point acquires second transaction information broadcasted by other blockchains, wherein the second transaction information includes the first transaction information, signatures of other blockchain nodes, and hash values of public keys of other blockchain nodes, and the first transaction information includes the hash value of the public key of the user initiating the transaction and the signature; the first block chain node searches a public key plaintext corresponding to the hash value of the public key of other block chain nodes and a public key plaintext corresponding to the hash value of the public key of the user initiating the transaction in the public key block chain; and the first block chain link point verifies the second transaction information according to the found plaintext of the user public key and the signature of the user initiating the transaction.
In some embodiments, the first blockchain node receives the generated chunk, wherein the generated chunk includes a signature and a hash value of a public key of the chunk generating node; searching a public key plaintext corresponding to the hash value of the public key of the block generation node in the public key block chain by the first block chain node; and the first block link point verifies the block according to the found plaintext of the public key and the generated signature in the block.
According to a second aspect of some embodiments of the present invention there is provided a block link point comprising: the transaction blockchain data acquisition module is configured to acquire transaction blockchain data, wherein the blockchain link points are nodes of a transaction blockchain and a public key blockchain, and the transaction blockchain data comprises a hash value and a signature of a public key of a sender of the transaction blockchain data; the public key plaintext searching module is configured to search a public key plaintext corresponding to the hash value of the public key in the public key block chain; and the transaction blockchain data verification module is configured to verify the transaction blockchain data according to the found public key plaintext and the signature of the sender of the transaction blockchain data.
In some embodiments, the block link point further comprises: the public key in-chain transaction information acquisition module is configured to acquire public key in-chain transaction information, wherein the public key in-chain transaction information comprises a public key plaintext and a signature of an initiator of the public key in-chain transaction; the public key in-chain transaction information verification module is configured to verify the public key in-chain transaction information according to a public key plaintext and a signature of an initiator of the public key in-chain transaction; and the corresponding relation storage module is configured to respond to passing of verification and store the corresponding relation between the plaintext of the public key of the initiator of the public key in-chain transaction and the hash value of the public key of the initiator of the public key in-chain transaction into the public key block chain.
In some embodiments, the initiator of the public key in-chain transaction is a user, and the correspondence storage module is further configured to store, in response to the verification passing, a plaintext of a public key of the user initiating the transaction and a hash value of the public key of the user initiating the transaction into the user public key blockchain; or the initiator of the public key in-chain transaction is another blockchain node, and the corresponding relation storage module is further configured to store the plaintext of the public key of the another blockchain node and the hash value of the public key of the another blockchain node into the node public key blockchain in response to passing of the verification, wherein the another blockchain node is a node of the transaction blockchain and the public key blockchain.
In some embodiments, the transaction blockchain data acquisition module is further configured to acquire first transaction information initiated by the user, wherein the first transaction information includes a signature and a hash value of a public key of the user initiating the transaction; the public key plaintext searching module is further configured to search a user public key plaintext corresponding to the hash value of the public key of the user initiating the transaction in the public key block chain; the transaction blockchain data verification module is further configured to verify the first transaction information according to the found plaintext of the user public key and the signature of the user initiating the transaction.
In some embodiments, the block link point further comprises: the signature generation module is configured to encrypt the verified first transaction information by using a private key and generate a signature of the first block chain node; the second transaction information generation module is configured to generate second transaction information, wherein the second transaction information comprises the first transaction information, the signature of the first block chain node and the hash value of the public key of the first block chain node; and the second transaction information broadcasting module is configured to broadcast the second transaction information to other blockchain nodes so that the other blockchain nodes verify the second transaction information.
In some embodiments, the transaction blockchain data acquisition module is further configured to acquire second transaction information broadcasted by other blockchains, wherein the second transaction information includes the first transaction information, signatures of other blockchain nodes, and hash values of public keys of other blockchain nodes, and the first transaction information includes a hash value of a public key of a user initiating the transaction and a signature; the public key plaintext searching module is further configured to search public key plaintext corresponding to the hash value of the public key of the other blockchain node in the public key blockchain and public key plaintext corresponding to the hash value of the public key of the user initiating the transaction; the transaction blockchain data verification module is further configured to verify the second transaction information according to the found plaintext of the user public key and the signature of the user initiating the transaction.
In some embodiments, the transaction blockchain data acquisition module is further configured to receive the generated chunk, wherein the generated chunk comprises a signature and a hash value of a public key of the chunk generating node; the public key plaintext searching module is further configured to search a public key plaintext corresponding to the hash value of the public key of the block generation node in the public key block chain; the transaction blockchain data verification module is further configured to verify the block according to the found public key plaintext and the generated signature in the block.
According to a third aspect of some embodiments of the present invention, there is provided a block link point, comprising: a memory; and a processor coupled to the memory, the processor configured to perform any one of the above methods of block chain data transfer based on instructions stored in the memory.
According to a fourth aspect of some embodiments of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, where the computer program is configured to implement any one of the above methods for block chain data transmission when executed by a processor.
Some embodiments of the above invention have the following advantages or benefits: by the method of the embodiment of the invention, the sender of the transaction blockchain data can contain the hash value of the public key in the transaction blockchain data, and the receiver can search the plaintext of the public key in the public key chain to carry out the data verification process, so that the transmission bandwidth in the data transmission process of the transaction blockchain is saved, the transmission efficiency is improved, and the safety of data transmission is also improved in a non-plaintext public key transmission mode.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is an exemplary flow chart of a method of block chain data transmission according to some embodiments of the invention.
Fig. 2 is an exemplary flow diagram of a public key storage method according to some embodiments of the invention.
Fig. 3A is an exemplary flow chart of a method of storing a user public key according to some embodiments of the invention.
Fig. 3B is an exemplary flow diagram of a method of storing a public key of a blockchain node according to some embodiments of the invention.
Fig. 4 is an exemplary flow chart of a transaction blockchain data transmission method according to further embodiments of the present invention.
Fig. 5 is an exemplary flow chart of a transaction blockchain data transmission method according to further embodiments of the present invention.
Fig. 6 is an exemplary flow chart of a method for block chain data transmission according to further embodiments of the present invention.
Fig. 7 is an exemplary block diagram of a blockchain node according to some embodiments of the invention.
Fig. 8 is an exemplary block diagram of a blockchain node according to further embodiments of the present invention.
Fig. 9 is an exemplary block diagram of a blockchain node according to still further embodiments of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Fig. 1 is an exemplary flow chart of a method of block chain data transmission according to some embodiments of the invention. As shown in fig. 1, the block chain data transmission method of the embodiment includes steps S102 to S106.
In step S102, the first blockchain link point obtains transaction blockchain data, where the transaction blockchain data includes a hash value and a signature of a public key of a sender of the transaction blockchain data. In addition, body data is included. For example, when the transaction blockchain data is transaction information, the main data is transaction content; when the transaction blockchain data is a block, the body data is transaction information.
The first blockchain link point is a node of both the transaction blockchain and the public key blockchain. The first blockchain link point may be any node in the blockchain system. Since the present invention also includes embodiments of interactions between blockchain nodes, "first" and "second" are used to distinguish between different blockchain nodes, but do not have any limiting effect on the present invention.
In step S104, the first blockchain node searches the public key plaintext corresponding to the hash value of the public key in the public key blockchain. The public key block chain is used for storing the corresponding relation between the hash value of the public key and the plaintext of the public key.
In step S106, the first blockchain link point verifies the transaction blockchain data according to the found public key plaintext and the signature of the sender of the transaction blockchain data, so as to determine whether the data is tampered during transmission.
In some embodiments, the first block link point may decrypt the signature using public key plaintext to obtain a first hash value; calculating the hash value of the main data by adopting a hash algorithm used by a sender of the transaction block chain data to obtain a second hash value; when the first hash value and the second hash value match, the verification is determined to be passed, and the subsequent processing can be performed. If the first hash value and the second hash value are not consistent, an abnormal result can be fed back to a sender of the transaction blockchain data, so that the sender of the transaction blockchain data can resend the transaction blockchain data.
By the method of the embodiment, the sender of the transaction blockchain data can contain the hash value of the public key in the transaction blockchain data, and the receiver can search the plaintext of the public key in the public key chain to perform the data verification process, so that the transmission bandwidth in the data transmission process of the transaction blockchain is saved, the transmission efficiency is improved, and the security of data transmission is also improved in a non-plaintext public key transmission mode.
The information in the public key blockchain may also be pre-stored at the blockchain link point. An embodiment of the public key storage method of the present invention is described below with reference to fig. 2.
Fig. 2 is an exemplary flow diagram of a public key storage method according to some embodiments of the invention. As shown in fig. 2, the public key storage method of this embodiment includes steps S202 to S206.
In step S202, the first block link point acquires public key in-link transaction information, where the public key in-link transaction information includes a public key plaintext and a signature of an initiator of the public key in-link transaction. The public key inbound transaction information may be user initiated or block chain node initiated.
In step S204, the first block link point verifies the public key inbound transaction information according to the public key plaintext and the signature of the initiator of the public key inbound transaction. For example, it is possible to compare whether a hash value obtained by decrypting the signature using the public key plaintext is identical to a hash value obtained by hashing the public key plaintext. And if the two are consistent, judging that the verification is passed.
In step S206, in response to the verification passing, the first blockchain node stores the correspondence between the plaintext of the public key of the initiator of the public key inbound transaction and the hash value of the public key of the initiator of the public key inbound transaction in the public key blockchain. For example, a Key-Value (Key-Value) manner may be adopted to store a correspondence between a hash Value of the public Key and a plaintext of the public Key, so as to facilitate subsequent searching.
By independently storing the public key plaintext data as a transaction in the public key blockchain, the blockchain system can use the hash value of the public key to replace the public key for transmission in the data interaction process, and the public key plaintext is searched in the public key blockchain when verification is needed. Thereby improving data transmission efficiency and security.
There are typically two roles in the blockchain system in some embodiments, one being the user and one being the blockchain node. The user, i.e., the initiator of the transaction; the nodes are programs, and processing software deployed on network equipment such as servers and personal computers. For example, in the bitcoin system, each account is a user, and each mining machine or the "mine-digging" process on the mining machine is a node. The embodiment of the invention can store the public key of the user and the public key of the block chain node respectively.
In some embodiments, where the initiator of the public key inbound transaction is a user, in response to the verification passing, the first blockchain node may store the plaintext of the public key of the user initiating the transaction and the hash value of the public key of the user initiating the transaction into the user public key blockchain. An embodiment of the method of storing a user public key of the present invention is described below with reference to fig. 3A.
Fig. 3A is an exemplary flow chart of a method of storing a user public key according to some embodiments of the invention. As shown in fig. 3A, the method of storing the user public key of the embodiment includes steps S3102 to S3120.
In step S3102, after the user comes online, a hash value of the user public key is generated using a hash algorithm. According to the needs, other timing besides the user online can be set to trigger the embodiment, and details are not repeated here.
In step S3104, the hash value of the user public key is encrypted using the user private key to generate a user signature.
In step S3106, a transaction message is generated, which includes the user signature and the user public key.
In step S3108, a transaction message is sent to the first blockchain node.
Steps S3102 to S3108 are performed by a device corresponding to the user, for example, a device logged in by the user account, or a user server.
In step S3110, the first block link node decrypts the user signature using the user public key in the transaction message to generate HashA.
In step S3112, the first chunk link point calculates a hash value HashB of the user public key using a hash algorithm.
In step S3114, if the HashA and HashB are not consistent, the first blockchain node returns a transaction exception message to the user, and then the user performs step S3116 to resend the transaction message.
In step S3118, if HashA and HashB match, the first tile link point checks whether the hash value of the user public key, i.e., HashA, has been written into the user public key tile chain.
The flow may be terminated if the hash value of the user public key has been written to the user public key blockchain.
In step S3120, when the hash Value of the user public Key is not written into the user public Key block chain, the HashA is used as a Key and the user public Key is used as a Value, and the Key-Value is linked, that is, stored in the user public Key block chain. The chain entering process also needs to be matched by other block chain link points in the block chain, and the details are not repeated here.
Finally, the first tile link point may choose to return HashA to the user.
In some embodiments, where the initiator of the public key inbound transaction is a second blockchain node, in response to the verification passing, the first blockchain node may store the plaintext of the public key of the second blockchain node and the hash value of the public key of the second blockchain node into the node public key blockchain. An embodiment of the method of storing a public key of a blockchain node of the present invention is described below with reference to fig. 3B.
Fig. 3B is an exemplary flow diagram of a method of storing a public key of a blockchain node according to some embodiments of the invention. As shown in fig. 3B, the method of storing the public key of the blockchain node of this embodiment includes steps S3202 to S3220.
In step S3202, after the second blockchain node is registered, a hash value of the second blockchain node public key is generated using a hash algorithm. According to the needs, other occasions besides node registration may also be set to trigger the embodiment, which is not described herein again.
In step S3204, the second block link point encrypts the hash value of the second block link point public key with the second block link point private key, and generates a second block link point signature.
In step S3206, the second block link node generates a transaction message, where the transaction message includes the second block link node signature and the second block link node public key.
In step S3208, the second blockchain node sends a transaction message to the first blockchain node.
In step S3210, the first block link point decrypts the second block link point signature using the second block link point public key in the transaction message, and generates a HashC.
In step S3212, the first block link point calculates a hash value HashD of the public key of the second block link point using a hash algorithm.
In step S3214, if HashC and HashD are not consistent, the first blockchain node returns a transaction exception message to the second blockchain node, and then the second blockchain node executes step S3216 to resend the transaction message.
In step S3218, if HashC and HashD are consistent, the first blockchain node checks whether the hash value of the second blockchain link point public key, i.e., HashC, has been written into the node public key blockchain.
The flow may be terminated if the hash value of the second chunk link point public key has been written to the node public key chunk chain.
In step S3220, when the hash Value of the second block link point public Key is not written into the node public Key block chain, the HashC is used as a Key and the user public Key is used as a Value, and the Key-Value is linked, that is, stored in the node public Key block chain.
Finally, the first blockchain link point may choose to return HashC to the second blockchain node.
The transaction blockchain data transmission method adopted by the invention is suitable for various application scenes, such as a transaction request initiating stage of a user, a whole network authentication stage of a transaction in a blockchain system, a block verification stage after a block is generated, and the like. Other embodiments of the transaction blockchain data transmission method of the present invention are described below in conjunction with several exemplary application scenarios.
Fig. 4 is an exemplary flow chart of a transaction blockchain data transmission method according to further embodiments of the present invention. As shown in fig. 4, the transaction blockchain data transmission method of this embodiment includes steps S402 to S406.
In step S402, the first chunk chain node obtains first transaction information initiated by a user, where the first transaction information includes a hash value and a signature of a public key of the user initiating the transaction. In addition, the first transaction information also comprises transaction data.
In step S404, the first blockchain node searches the plaintext of the user public key corresponding to the hash value of the public key of the user initiating the transaction in the public key blockchain.
In step S406, the first block link point verifies the first transaction information according to the found plaintext of the public key of the user and the signature of the user initiating the transaction. The method for verification can refer to the foregoing embodiments, and is not described herein again.
If the verification is not passed, the data is indicated to be tampered in the transmission process, and a transaction exception message can be returned to the user.
If the verification is passed, the embodiment may further optionally include steps S408 to S412.
In step S408, the first block link point encrypts the verified first transaction information with a private key, and generates a signature of the first block link node.
In step S410, the first blockchain link point generates second transaction information including the first transaction information, the signature of the first blockchain node, and the hash value of the public key of the first blockchain node. The structure of the second transaction information may be as shown in table 1.
TABLE 1
Figure BDA0001724790550000121
In step S412, the first blockchain node broadcasts the second transaction information to other blockchain nodes, so that the other blockchain nodes verify the second transaction information.
Thus, data transmission efficiency and security can be improved in the process of initiating a transaction.
Fig. 5 is an exemplary flow chart of a transaction blockchain data transmission method according to further embodiments of the present invention. As shown in fig. 5, the transaction blockchain data transmission method of this embodiment includes steps S502 to S506.
In step S502, the first blk link point obtains second transaction information broadcasted by other blks. The contents of the second transaction information may refer to the foregoing embodiments.
In step S504, the first blockchain node searches the public key blockchain for a public key plaintext corresponding to the hash value of the public key of the other blockchain node and a public key plaintext corresponding to the hash value of the public key of the user initiating the transaction.
In step S506, the first block link point verifies the second transaction information according to the found plaintext of the public key of the user and the signature of the user initiating the transaction.
Therefore, the data transmission efficiency and the safety can be improved in the whole network verification transaction process.
Fig. 6 is an exemplary flow chart of a method for block chain data transmission according to further embodiments of the present invention. As shown in fig. 6, the block chain data transmission method of the embodiment includes steps S602 to S606.
In step S602, the first blockchain node receives the generated chunk, wherein the generated chunk includes a signature and a hash value of a public key of the chunk generating node.
In step S604, the first blockchain node searches for a plain text of the public key corresponding to the hash value of the public key of the block generation node in the public key blockchain.
In step S606, the first block link point verifies the block according to the found plaintext of the public key and the generated signature in the block.
Thus, data transmission efficiency and security can be improved in the block verification process.
An embodiment of a blockchain node of the present invention is described below with reference to fig. 7.
Fig. 7 is an exemplary block diagram of a blockchain node according to some embodiments of the invention. As shown in fig. 7, the block link point 70 of this embodiment includes: a transaction blockchain data obtaining module 710 configured to obtain transaction blockchain data, wherein a blockchain link point is a node of a transaction blockchain and a public key blockchain, and the transaction blockchain data includes a hash value and a signature of a public key of a sender of the transaction blockchain data; a public key plaintext searching module 720 configured to search a public key plaintext corresponding to the hash value of the public key in the public key block chain; the transaction blockchain data verification module 730 is configured to verify the transaction blockchain data according to the found public key plaintext and the signature of the sender of the transaction blockchain data.
In some embodiments, block link point 70 further comprises: a public key in-chain transaction information obtaining module 740 configured to obtain public key in-chain transaction information, where the public key in-chain transaction information includes a public key plaintext and a signature of an initiator of the public key in-chain transaction; a public key in-chain transaction information verification module 750 configured to verify the public key in-chain transaction information according to a public key plaintext and a signature of an initiator of the public key in-chain transaction; a correspondence storage module 760 configured to store, in response to the verification passing, a correspondence between a plaintext of a public key of an initiator of the public key inbound transaction and a hash value of the public key of the initiator of the public key inbound transaction into a public key blockchain.
In some embodiments, the initiator of the public key in-chain transaction is a user, and the correspondence storage module 760 is further configured to store, in response to the verification passing, the plaintext of the public key of the user initiating the transaction and the hash value of the public key of the user initiating the transaction into the user public key blockchain; or the initiator of the public key in-chain transaction is another blockchain node, and the correspondence storing module 760 is further configured to store, in response to the verification passing, a plaintext of a public key of the another blockchain node and a hash value of the public key of the another blockchain node into the node public key blockchain, where the another blockchain node is a node of the transaction blockchain and the public key blockchain.
In some embodiments, the transaction blockchain data acquisition module 710 is further configured to acquire first transaction information initiated by the user, wherein the first transaction information includes a signature and a hash value of a public key of the user initiating the transaction; the public key plaintext lookup module 720 is further configured to lookup, in the public key blockchain, a user public key plaintext corresponding to the hash value of the public key of the user initiating the transaction; the transaction blockchain data verification module 730 is further configured to verify the first transaction information according to the found plaintext of the user public key and the signature of the user initiating the transaction.
In some embodiments, the block link point further comprises: a signature generation module 770 configured to encrypt the verified first transaction information with a private key, and generate a signature of the first blockchain node; a second transaction information generating module 780 configured to generate second transaction information, where the second transaction information includes the first transaction information, the signature of the first blockchain node, and a hash value of a public key of the first blockchain node; the second transaction information broadcasting module 790 is configured to broadcast the second transaction information to other blockchain nodes so that the other blockchain nodes verify the second transaction information.
In some embodiments, the transaction blockchain data acquisition module 710 is further configured to acquire second transaction information broadcasted by other blockchains, wherein the second transaction information includes the first transaction information, signatures of other blockchain nodes, and hash values of public keys of other blockchain nodes, and the first transaction information includes a hash value of a public key of a user initiating a transaction and a signature; the public key plaintext lookup module 720 is further configured to lookup, in the public key blockchain, a public key plaintext corresponding to the hash value of the public key of the other blockchain node and a public key plaintext corresponding to the hash value of the public key of the user initiating the transaction; the transaction blockchain data verification module 730 is further configured to verify the second transaction information according to the found plaintext of the user public key and the signature of the user initiating the transaction.
In some embodiments, transaction blockchain data acquisition module 710 is further configured to receive the generated chunk, wherein the generated chunk includes a signature and a hash value of a public key of the chunk generating node; the public key plaintext lookup module 720 is further configured to lookup a public key plaintext corresponding to the hash value of the public key of the chunk generating node in the public key chunk chain; transaction blockchain data verification module 730 is further configured to verify the tile according to the found public key plaintext and the generated signature in the tile.
Fig. 8 is an exemplary block diagram of a blockchain node according to further embodiments of the present invention. As shown in fig. 8, the block link point 80 of this embodiment includes: a memory 810 and a processor 820 coupled to the memory 810, wherein the processor 820 is configured to execute the method for blockchain data transmission in any of the above embodiments based on instructions stored in the memory 810.
Memory 810 may include, for example, system memory, fixed non-volatile storage media, and the like. The system memory stores, for example, an operating system, an application program, a Boot Loader (Boot Loader), and other programs.
Fig. 9 is an exemplary block diagram of a blockchain node according to still further embodiments of the invention. As shown in fig. 9, the block link point 90 of this embodiment includes: the memory 910 and the processor 920 may further include an input/output interface 930, a network interface 940, a storage interface 950, and the like. These interfaces 930, 940, 950 and the memory 910 and the processor 920 may be connected, for example, by a bus 960. The input/output interface 930 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 940 provides a connection interface for various networking devices. The storage interface 950 provides a connection interface for external storage devices such as an SD card and a usb disk.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement any one of the above methods for transmitting block chain data.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (16)

1. A method for transmitting block chain data comprises the following steps:
acquiring transaction blockchain data by a first blockchain link point, wherein the first blockchain node is a node of a transaction blockchain and a public key blockchain, and the transaction blockchain data comprises a hash value and a signature of a public key of a sender of the transaction blockchain data;
searching a public key plaintext corresponding to the hash value of the public key in a public key block chain by a first block chain node;
and the first blockchain link point verifies the transaction blockchain data according to the found public key plaintext and the signature of the sender of the transaction blockchain data.
2. The method of block chain data transmission according to claim 1, further comprising:
the method comprises the steps that a first block link point obtains public key in-link transaction information, wherein the public key in-link transaction information comprises a public key plaintext and a signature of an initiator of the public key in-link transaction;
the first block link point verifies the public key in-chain transaction information according to the public key plaintext and the signature of the initiator of the public key in-chain transaction;
in response to the verification passing, the first blockchain node stores a correspondence between a plaintext of a public key of an initiator of the public key in-chain transaction and a hash value of the public key of the initiator of the public key in-chain transaction in a public key blockchain.
3. The method of block chain data transmission according to claim 2,
the initiator of the public key in-chain transaction is a user, and in response to passing of verification, the first block link node stores the plaintext of the public key of the user initiating the transaction and the hash value of the public key of the user initiating the transaction into the user public key block chain; or,
the initiator of the public key in-chain transaction is a second blockchain node, and in response to passing of verification, the first blockchain node stores a public key plaintext of the second blockchain node and a hash value of a public key of the second blockchain node into a node public key blockchain, wherein the second blockchain node is a node of the transaction blockchain and the public key blockchain.
4. The method for block chain data transmission according to claim 1,
the method comprises the steps that a first block chain node obtains first transaction information initiated by a user, wherein the first transaction information comprises a hash value and a signature of a public key of the user initiating a transaction;
the first block chain node searches a user public key plaintext corresponding to the hash value of the public key of the user initiating the transaction in a public key block chain;
and the first block chain link point verifies the first transaction information according to the found plaintext of the user public key and the signature of the user initiating the transaction.
5. The method of block chain data transmission according to claim 4, further comprising:
the first block link point encrypts the verified first transaction information by using a private key to generate a signature of the first block link point;
generating second transaction information by the first block chain node, wherein the second transaction information comprises the first transaction information, a signature of the first block chain node and a hash value of a public key of the first block chain node;
the first block link node broadcasts the second transaction information to other block link nodes so that the other block link nodes verify the second transaction information.
6. The method for block chain data transmission according to claim 1,
the method comprises the steps that a first block chain node acquires second transaction information broadcasted by other block chains, wherein the second transaction information comprises the first transaction information, signatures of other block chain nodes and hash values of public keys of other block chain nodes, and the first transaction information comprises the hash value and the signature of the public key of a user initiating a transaction;
the first block chain node searches a public key plaintext corresponding to the hash value of the public key of other block chain nodes and a public key plaintext corresponding to the hash value of the public key of the user initiating the transaction in the public key block chain;
and the first block chain link point verifies the second transaction information according to the found plaintext of the user public key and the signature of the user initiating the transaction.
7. The method for block chain data transmission according to claim 1,
a first blockchain node receives a generated block, wherein the generated block comprises a hash value and a signature of a public key of a block generation node;
searching a public key plaintext corresponding to the hash value of the public key of the block generation node in a public key block chain by the first block chain node;
and the first block link point verifies the block according to the found plaintext of the public key and the generated signature in the block.
8. A block link point, comprising:
a transaction blockchain data acquisition module configured to acquire transaction blockchain data, wherein the blockchain node is a node of a transaction blockchain and a public key blockchain, and the transaction blockchain data includes a hash value and a signature of a public key of a sender of the transaction blockchain data;
the public key plaintext searching module is configured to search a public key plaintext corresponding to the hash value of the public key in a public key block chain;
and the transaction block chain data verification module is configured to verify the transaction block chain data according to the found public key plaintext and the signature of the sender of the transaction block chain data.
9. The block link point of claim 8, further comprising:
the public key in-chain transaction information acquisition module is configured to acquire public key in-chain transaction information, wherein the public key in-chain transaction information comprises a public key plaintext and a signature of an initiator of the public key in-chain transaction;
the public key in-chain transaction information verification module is configured to verify the public key in-chain transaction information according to a public key plaintext and a signature of an initiator of the public key in-chain transaction;
and the corresponding relation storage module is configured to respond to passing of verification and store the corresponding relation between the plaintext of the public key of the initiator of the public key in-chain transaction and the hash value of the public key of the initiator of the public key in-chain transaction into the public key block chain.
10. The block link point of claim 9,
the initiator of the public key in-chain transaction is a user, and the corresponding relation storage module is further configured to store the plaintext of the public key of the user initiating the transaction and the hash value of the public key of the user initiating the transaction into a user public key block chain in response to passing of verification; or,
the initiator of the public key in-chain transaction is another blockchain node, and the corresponding relation storage module is further configured to store the plaintext of the public key of the another blockchain node and the hash value of the public key of the another blockchain node into a node public key blockchain in response to passing of verification, wherein the another blockchain node is a node of the transaction blockchain and the public key blockchain.
11. The blockchain node of claim 8, wherein,
the transaction blockchain data acquisition module is further configured to acquire first transaction information initiated by a user, wherein the first transaction information comprises a hash value and a signature of a public key of the user initiating the transaction;
the public key plaintext searching module is further configured to search a user public key plaintext corresponding to the hash value of the public key of the user initiating the transaction in a public key blockchain;
the transaction blockchain data verification module is further configured to verify the first transaction information according to the found plaintext of the user public key and the signature of the user initiating the transaction.
12. The block link point of claim 11, further comprising:
the signature generation module is configured to encrypt the verified first transaction information by using a private key and generate a signature of the first block chain node;
a second transaction information generation module configured to generate second transaction information, wherein the second transaction information includes the first transaction information, a signature of the first blockchain node, and a hash value of a public key of the first blockchain node;
and the second transaction information broadcasting module is configured to broadcast the second transaction information to other block link nodes so that the other block link nodes verify the second transaction information.
13. The blockchain node of claim 8, wherein,
the transaction blockchain data acquisition module is further configured to acquire second transaction information broadcasted by other blockchains, wherein the second transaction information comprises first transaction information, signatures of other blockchain nodes and hash values of public keys of other blockchain nodes, and the first transaction information comprises the hash value of the public key of a user initiating a transaction and the signature;
the public key plaintext searching module is further configured to search a public key plaintext corresponding to the hash value of the public key of the other blockchain node in the public key blockchain and a public key plaintext corresponding to the hash value of the public key of the user initiating the transaction;
the transaction blockchain data verification module is further configured to verify the second transaction information according to the found plaintext of the user public key and the signature of the user initiating the transaction.
14. The blockchain node of claim 8, wherein,
the transaction blockchain data acquisition module is further configured to receive a generated block, wherein the generated block comprises a signature and a hash value of a public key of a blockgeneration node;
the public key plaintext searching module is further configured to search a public key plaintext corresponding to the hash value of the public key of the block generating node in a public key block chain;
the transaction blockchain data verification module is further configured to verify the block according to the found public key plaintext and the generated signature in the block.
15. A block link point, comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the method of blockchain data transmission of any of claims 1-7 based on instructions stored in the memory.
16. A computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the block chain data transmission method of any one of claims 1 to 7.
CN201810747773.4A 2018-07-10 2018-07-10 Block chain data transmission method, block chain node and computer readable storage medium Active CN110708269B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810747773.4A CN110708269B (en) 2018-07-10 2018-07-10 Block chain data transmission method, block chain node and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810747773.4A CN110708269B (en) 2018-07-10 2018-07-10 Block chain data transmission method, block chain node and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110708269A CN110708269A (en) 2020-01-17
CN110708269B true CN110708269B (en) 2022-04-12

Family

ID=69192325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810747773.4A Active CN110708269B (en) 2018-07-10 2018-07-10 Block chain data transmission method, block chain node and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110708269B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866085B (en) * 2020-06-28 2021-12-14 北京沃东天骏信息技术有限公司 Data storage method, system and device based on block chain
CN112184440A (en) * 2020-09-29 2021-01-05 平安科技(深圳)有限公司 Data processing method, data processing device, node equipment and storage medium
CN112651835B (en) * 2020-12-30 2023-05-23 成都佳华物链云科技有限公司 Alliance chain transaction method, device, electronic equipment and storage medium
CN113379542B (en) * 2021-05-28 2024-01-09 中邮信息科技(北京)有限公司 Block chain transaction query method, device, medium and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106411503A (en) * 2016-11-28 2017-02-15 中国银行股份有限公司 Accounting method, accounting system, voting node and accounting node under block chain voting and accounting mode
CN106682528A (en) * 2016-12-31 2017-05-17 杭州复杂美科技有限公司 Blockchain encryption retrieval scheme
CN107038578A (en) * 2017-04-19 2017-08-11 浙江数秦科技有限公司 Multi-signature exchange information processing method in data trade platform based on block chain
CN107181765A (en) * 2017-07-25 2017-09-19 光载无限(北京)科技有限公司 Network digital identity identifying method based on block chain technology
CN107342866A (en) * 2017-06-30 2017-11-10 上海策赢网络科技有限公司 Electronic document verification method, equipment and system
CN107347008A (en) * 2017-06-30 2017-11-14 上海策赢网络科技有限公司 Electronic document verification method, equipment and system
CN107395358A (en) * 2017-06-30 2017-11-24 上海策赢网络科技有限公司 Information request and offer method and apparatus, storage medium and equipment
CN107579817A (en) * 2017-09-12 2018-01-12 广州广电运通金融电子股份有限公司 User ID authentication method, apparatus and system based on block chain
CN108064440A (en) * 2017-05-25 2018-05-22 深圳前海达闼云端智能科技有限公司 FIDO authentication method, device and system based on block chain

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10007913B2 (en) * 2015-05-05 2018-06-26 ShoCard, Inc. Identity management service using a blockchain providing identity transactions between devices
CA2943756C (en) * 2016-09-30 2024-02-06 The Toronto-Dominion Bank Information masking using certificate authority
US10158611B2 (en) * 2016-11-17 2018-12-18 Bank Of America Corporation System for multiplexing and demultiplexing blockchain ledgers via a cryptographic hash

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106411503A (en) * 2016-11-28 2017-02-15 中国银行股份有限公司 Accounting method, accounting system, voting node and accounting node under block chain voting and accounting mode
CN106682528A (en) * 2016-12-31 2017-05-17 杭州复杂美科技有限公司 Blockchain encryption retrieval scheme
CN107038578A (en) * 2017-04-19 2017-08-11 浙江数秦科技有限公司 Multi-signature exchange information processing method in data trade platform based on block chain
CN108064440A (en) * 2017-05-25 2018-05-22 深圳前海达闼云端智能科技有限公司 FIDO authentication method, device and system based on block chain
CN107342866A (en) * 2017-06-30 2017-11-10 上海策赢网络科技有限公司 Electronic document verification method, equipment and system
CN107347008A (en) * 2017-06-30 2017-11-14 上海策赢网络科技有限公司 Electronic document verification method, equipment and system
CN107395358A (en) * 2017-06-30 2017-11-24 上海策赢网络科技有限公司 Information request and offer method and apparatus, storage medium and equipment
CN107181765A (en) * 2017-07-25 2017-09-19 光载无限(北京)科技有限公司 Network digital identity identifying method based on block chain technology
CN107579817A (en) * 2017-09-12 2018-01-12 广州广电运通金融电子股份有限公司 User ID authentication method, apparatus and system based on block chain

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
BIDaaS:Blockchain Based ID As a Service;Jong-Hyouk Lee;《IEEE》;20171212;全文 *
区块链关键技术中的数据一致性研究;翟社平,李兆兆,段宏宇,高山;《计算机技术与发展》;20180428;全文 *
基于区块链技术的高效跨域认证方案;周致成,李立新,李作辉;《计算机应用》;20180210;全文 *

Also Published As

Publication number Publication date
CN110708269A (en) 2020-01-17

Similar Documents

Publication Publication Date Title
CN110708269B (en) Block chain data transmission method, block chain node and computer readable storage medium
CN111628868B (en) Digital signature generation method and device, computer equipment and storage medium
US10972251B2 (en) Secure web browsing via homomorphic encryption
US9143329B2 (en) Content integrity and incremental security
CN111177801B (en) Signature method and device of electronic document, storage medium and electronic equipment
CN107911222B (en) Digital signature generating method, digital signature verifying method, digital signature generating apparatus, digital signature verifying apparatus, and storage medium storing digital signature verifying program
CN106599723B (en) File encryption method and device and file decryption method and device
US8712037B2 (en) Data encoding and decoding apparatus and method thereof for verifying data integrity
CN112883361B (en) Function jump method and device of application program, computer equipment and storage medium
CN108848058A (en) Intelligent contract processing method and block catenary system
US20150121073A1 (en) Software fingerprinting
CN110598433B (en) Block chain-based anti-fake information processing method and device
CN101655946A (en) Method, system and equipment for realizing electronic seal
CN111553450B (en) Two-dimensional code generation and verification method and device
CN112734361A (en) Distributed cooperative office data processing method and system
CN111193741B (en) Information sending method, information obtaining method, device and equipment
CN115905238A (en) Method and device for hiding query, electronic equipment and storage medium
CN110830261B (en) Encryption method, encryption device, computer equipment and storage medium
CN110149312B (en) Data processing method, device, system and computer readable storage medium
CN115002141A (en) File storage method and device based on block chain
CN107968793B (en) Method, device and storage medium for downloading white box key
CN115708340B (en) Data verification method, device and storage medium
CN116545676A (en) Ciphertext processing method and device, electronic equipment and storage medium
JP5970193B2 (en) SEARCH SYSTEM, SEARCH METHOD, AND SEARCH PROGRAM
CN115361376A (en) Government affair file uploading method and device, electronic equipment and storage medium

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