CN115499130B - Block chain transaction data transmission evidence method and device - Google Patents

Block chain transaction data transmission evidence method and device Download PDF

Info

Publication number
CN115499130B
CN115499130B CN202210974110.2A CN202210974110A CN115499130B CN 115499130 B CN115499130 B CN 115499130B CN 202210974110 A CN202210974110 A CN 202210974110A CN 115499130 B CN115499130 B CN 115499130B
Authority
CN
China
Prior art keywords
transmitted
transaction data
signature
public
private key
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
CN202210974110.2A
Other languages
Chinese (zh)
Other versions
CN115499130A (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.)
Beihang University
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CN202210974110.2A priority Critical patent/CN115499130B/en
Publication of CN115499130A publication Critical patent/CN115499130A/en
Application granted granted Critical
Publication of CN115499130B publication Critical patent/CN115499130B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0869Network architectures or network communication protocols for network security for authentication of entities for achieving mutual authentication
    • 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
    • H04L9/3252Cryptographic 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 using DSA or related signature schemes, e.g. elliptic based signatures, ElGamal or Schnorr schemes

Abstract

The application discloses a block chain transaction data transmission evidence method and device, wherein the method comprises the following steps: signature authentication is carried out on public and private key pairs used by the aggregated signature through a transaction initiator, and initial aggregated signature is carried out on the blockchain transaction data to be transmitted by utilizing the public and private keys after authentication; receiving the block chain transaction data to be transmitted comprising the initial aggregate signature through at least one relay node, and broadcasting the block chain transaction data to be transmitted after adding the self aggregate signature into the initial aggregate signature of the block chain transaction data to be transmitted; and receiving the block chain transaction data to be transmitted of at least one relay node, and broadcasting the block chain transaction data to be transmitted after adding the self aggregation signature into the aggregation signature of the block chain transaction data to be transmitted until the block chain transaction data to be transmitted is transmitted. Therefore, the problems that the transaction data transmission work in the blockchain network is difficult to prove and quantify and the like are solved.

Description

Block chain transaction data transmission evidence method and device
Technical Field
The present disclosure relates to the field of blockchain transaction data transmission technologies, and in particular, to a method and an apparatus for transmitting evidence of blockchain transaction data.
Background
Blockchains are a kind of decentralized distributed ledgers that are updated by nodes in the peer-to-peer network. The update of the ledger is mainly divided into two functions: blockchain data broadcasting and block expansion. However, currently, there are only two types of incentives in most blockchain protocols: block rewards and transaction fees, which motivate only block expansion. For transactions and broadcasting of block data, current blockchain networks rely primarily on nodes in the network voluntarily transmitting received transactions to neighboring nodes. Such a transmission mechanism does not have any incentive to the nodes broadcasting the transaction or the blockchain information, resulting in the nodes lacking motivation to actively relay blockchain data and the power to actively boost the bandwidth capability, ultimately resulting in a larger blockchain data transmission delay.
Aiming at the quantization problem of block chain data transmission work, a signature chain mode is mainly used at present to prove the transmission behavior. In signature chain based transmission certification schemes, it is necessary to attach a public key for each relay to receive the transmission stimulus and a signature for signing the message when propagating the message. The relay node continuously continues to sign on the signature of the previous version and the message, and continuously propagates the version after updating the signature to other nodes, so that a signature chain capable of representing the propagation path can be finally generated. Any modification to the signed data packet will invalidate it unless it is re-signed. Thus, anyone can verify the path in the data packet and a malicious party cannot tamper with or forge the data packet without the private key used by all the signatures on the signature chain.
Transaction or block information may have multiple paths in the network propagation, and each transaction or block may have a different version of the signature chain for many paths. When a block is output, only signature chains on one propagation path are saved on the chains, and signature chains on other paths are discarded. The final uplink signature chain can provide transmission work evidence for all relay nodes participating in transmission on the path, and the relay nodes can obtain propagation excitation according to a certain transmission excitation mechanism. Because the propagation of transaction or block information ultimately cannot guarantee uplink and obtain rewards, the relay node can only propagate different transaction or block information more if it wants to obtain more incentives. Considering the characteristics of the P2P network and the blockchain data transmission, if the relay node propagates early in the transaction or blockchain initiation, its signature will be in the earlier part of the signature chain. This means that the signature of the node can appear in more propagation chains, increasing the probability that the node appears on the final outgoing transport chain. The signature chain-based transmission proving mode encourages relay nodes to forward transactions or blocks as early as possible, and forwards the transactions or blocks to more nodes so as to acquire more transmission incentives.
The NKN system uses a signature chain based relay attestation method. And the relay node sequentially signs the data packets when relaying the data packets to form a signature chain of the participant according to the participation time sequence. Each signature in the signature chain contains the NKN address and public key of the relay node, the NKN address of the next relay node, which continues to sign on the basis of the previous version signature. The signature chain generates signatures with the number corresponding to the number of nodes after the signatures of the relay nodes on all propagation paths, and generates great storage overhead. Ersoy et al propose a mechanism for reducing redundant communication costs using intelligent network routing. The additional storage requirement is only the public key of the node on the propagation path and the signature of the client, so that the storage overhead of the signature chain is effectively reduced. But the method relies on shorter network route and has no popularization significance.
The signature chain-based transmission proving method is relatively high in space overhead. The UTXO model proposed by Wang et al to change one transaction to multiple relay transactions can result in even more transactions, making the overhead of the transmission evidence on the chain greater. The signature chain-based transmission proving method can finish the function of proving the workload of the relay node and solve the problem of information competition in transmission excitation, but the method brings larger storage and network burden to the blockchain network and is not beneficial to the efficiency of the blockchain network.
Disclosure of Invention
The application provides a block chain transaction data transmission evidence method and device, which are used for solving the problem that transaction data transmission work in a block chain network is difficult to prove and quantify.
An embodiment of a first aspect of the present application provides a method for transmitting evidence of blockchain transaction data, including the steps of: signature authentication is carried out on public and private key pairs used by the aggregated signature through a transaction initiator, and initial aggregated signature is carried out on the blockchain transaction data to be transmitted by utilizing the public and private keys after authentication; receiving the blockchain transaction data to be transmitted comprising the initial aggregate signature through at least one relay node, and broadcasting the blockchain transaction data to be transmitted after adding the self aggregate signature into the initial aggregate signature of the blockchain transaction data to be transmitted; and receiving the blockchain transaction data to be transmitted of the at least one relay node, and broadcasting the blockchain transaction data to be transmitted after adding an own aggregate signature into the aggregate signature of the blockchain transaction data to be transmitted until the blockchain transaction data to be transmitted is transmitted.
Optionally, in one embodiment of the present application, the signing, by the transaction initiator, of the public-private key pair used by the aggregate signature, and performing initial aggregate signature on the blockchain transaction data to be transmitted by using the public-private key after the authentication includes: randomly generating a public-private key pair of the transaction initiator for aggregating signatures; signing the public key in the public-private key pair and the blockchain transaction data to be transmitted by utilizing the private key of the address corresponding to the blockchain transaction data to be transmitted to obtain an authorization structure; and signing the blockchain transaction data to be transmitted by utilizing the private key in the public-private key pair to obtain an initial aggregate signature.
Optionally, in one embodiment of the present application, the adding an own aggregate signature to the aggregate signature of the blockchain transaction data to be transmitted, broadcasting the blockchain transaction data to be transmitted includes: randomly generating a transmission public-private key pair of the at least one relay node; signing the blockchain transaction data to be transmitted by utilizing a private key in the public-private key pair, and aggregating a signature result and the existing aggregation signature to generate an intermediate aggregation signature; and broadcasting the public key of the public-private key pair, the intermediate aggregate signature and the authorization structure and the blockchain transaction data to be transmitted to other relay nodes.
Optionally, in one embodiment of the present application, before randomly generating the transmission public-private key pair of the at least one relay node, the method further includes: verifying the validity of the blockchain transaction data to be transmitted; and when the blockchain transaction data to be transmitted is valid, verifying the validity of the authorization structure and the aggregate signature in the blockchain transaction data to be transmitted.
Optionally, in one embodiment of the present application, after the transmission of the to-be-transmitted blockchain transaction data is completed, the method further includes: and verifying the aggregate signature of the block chain transaction data to be transmitted which is transmitted by utilizing the public key of the relay node, determining whether the relay node participates in the transmission process of the block chain transaction data to be transmitted, and if so, exciting the relay node which participates in the transmission process according to a preset excitation rewarding rule.
An embodiment of a second aspect of the present application provides a blockchain transaction data transmission evidence device, including: the authorization module is used for carrying out signature authentication on public and private key pairs used by the aggregated signature through a transaction initiator, and carrying out initial aggregated signature on the blockchain transaction data to be transmitted by utilizing the public and private keys after authentication; the first transmission module is used for receiving the block chain transaction data to be transmitted, which comprises the initial aggregate signature, through at least one relay node, and broadcasting the block chain transaction data to be transmitted after adding the self aggregate signature into the initial aggregate signature of the block chain transaction data to be transmitted; and the second transmission module is used for receiving the blockchain transaction data to be transmitted of the at least one relay node, adding an own aggregation signature into the aggregation signature of the blockchain transaction data to be transmitted, and broadcasting the blockchain transaction data to be transmitted until the blockchain transaction data to be transmitted is transmitted.
Optionally, in one embodiment of the present application, the authorization module is further configured to randomly generate a public-private key pair for the transaction initiator to use in aggregating signatures; signing the public key in the public-private key pair and the blockchain transaction data to be transmitted by utilizing the private key of the address corresponding to the blockchain transaction data to be transmitted to obtain an authorization structure; and signing the blockchain transaction data to be transmitted by utilizing the private key in the public-private key pair to obtain an initial aggregate signature.
Optionally, in one embodiment of the present application, the adding an own aggregate signature to the aggregate signature of the blockchain transaction data to be transmitted, broadcasting the blockchain transaction data to be transmitted includes: randomly generating a transmission public-private key pair of the at least one relay node; signing the blockchain transaction data to be transmitted by utilizing a private key in the public-private key pair, and aggregating a signature result and the existing aggregation signature to generate an intermediate aggregation signature; and broadcasting the public key of the public-private key pair, the intermediate aggregate signature and the authorization structure and the blockchain transaction data to be transmitted to other relay nodes.
Optionally, in one embodiment of the present application, before randomly generating the transmission public-private key pair of the at least one relay node, the method further includes: and the verification module is used for verifying the validity of the blockchain transaction data to be transmitted, and verifying the validity of the authorization structure and the aggregate signature in the blockchain transaction data to be transmitted when the blockchain transaction data to be transmitted is valid.
Optionally, in one embodiment of the present application, further includes: and the excitation module is used for verifying the aggregate signature of the block chain transaction data to be transmitted which is transmitted by utilizing the public key of the relay node after the block chain transaction data to be transmitted is transmitted, determining whether the relay node participates in the transmission process of the block chain transaction data to be transmitted, and if so, exciting the relay node which participates in the transmission process according to a preset excitation rewarding rule.
The block chain transaction data transmission evidence method and device provided by the embodiment of the application have the following beneficial effects:
there is a lack of incentive to transmit transaction information in blockchain networks at present, and therefore a method for proving node transmission behavior is needed, and nodes are motivated according to the transmission certification. The existing scheme mostly adopts a signature chain mode to carry out transmission evidence, the method can meet the requirement of the proving workload, but the space overhead of the signature chain is related to the number of relay nodes, and finally, the uplink transmission evidence comprises the signatures of all the relay nodes. Therefore, aiming at the defect of low space efficiency of the current signature chain-based transmission proving, the application provides a transmission proving method for realizing a relay node through aggregated signatures. Because signature algorithms adopted by different block chain structures are different and do not support the aggregate signature function, the application provides an authorized signature structure for aggregate signature under different signature systems. The method comprises the steps that a transaction initiating node firstly signs a public key and transaction information required by an aggregate signature by using a signature algorithm in an original blockchain network, authorizes a public-private key pair used by the aggregate signature, and then generates a first aggregate signature for the transaction by using the private key of the aggregate signature, and the first aggregate signature is attached to the transaction information and forwarded to a relay node. Therefore, the method and the device can be applied to various heterogeneous blockchain networks and have universality. After receiving the transaction information and the previous version of the aggregate signature, the relay node adds the own signature to the aggregate signature, and the single aggregate signature is added to the transaction information to achieve the same proving effect as a signature chain.
Additional aspects and advantages of the application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a flow chart of a method for blockchain transaction data transmission evidence provided in accordance with an embodiment of the present application;
FIG. 2 is a schematic diagram of a transaction initiator authorization signature process provided according to an embodiment of the present application;
fig. 3 is a schematic diagram of a transmission evidence constructing flow provided according to an embodiment of the present application;
FIG. 4 is an exemplary diagram of a blockchain transaction data transfer evidence device in accordance with embodiments of the present application.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary and intended for the purpose of explaining the present application and are not to be construed as limiting the present application.
The following describes a block chain transaction data transmission evidence method and device according to an embodiment of the present application with reference to the accompanying drawings. Aiming at the problem that the transaction data transmission work in the blockchain network is difficult to prove and quantify, which is mentioned in the background center, the application provides a blockchain transaction data transmission evidence method, in which transaction data is subjected to aggregate signature to replace a signature chain so as to prove the workload of a relay node participating in data transmission, and the method has the advantages of saving transmission bandwidth and on-chain space and being universal for various blockchain networks. Therefore, the problems that an incentive mechanism for transaction data transmission is lacking in the current blockchain network, the quick propagation of transaction information in the blockchain network is not facilitated, and the throughput and the safety of a blockchain system are indirectly influenced are solved.
Specifically, fig. 1 is a flowchart of a blockchain transaction data transmission evidence method according to an embodiment of the present application.
As shown in fig. 1, the blockchain transaction data transmission evidence method includes the following steps:
in step S101, signature authentication is performed on a public-private key pair used by the transaction initiator for aggregating signatures, and initial aggregated signatures are performed on the blockchain transaction data to be transmitted by using the authenticated public-private key.
To achieve the incentive for transaction data transmission, work proof is required for the transaction data transmission work. The embodiment of the application uses the aggregated signature to replace the signature chain scheme which is currently used in the mainstream, the signature of the relay node is aggregated into one signature to reduce the expenditure of transmission evidence, and the aggregated signature ensures that the follow-up relay cannot tamper with the previous transmission evidence.
In the transmission proving method based on the aggregate signature, a transaction initiator is required to initiate an initial aggregate signature, so as to ensure that a subsequent relay node cannot generate a new aggregate signature privately. However, the signature algorithm in the current mainstream blockchain transaction structure is typically elliptic curve algorithm and does not support the signature aggregation function, so the address in the transaction cannot be directly used as the identity of the initial aggregated signature. Thus, embodiments of the present application design an authorization signature structure that uses the form of a signature to authorize an initial aggregate signature with a private key corresponding to a transaction initiator.
The transmission proving method based on the aggregate signature mainly carries out signature authentication on public and private key pairs used by the aggregate signature through a transaction initiator, uses the authenticated private key to carry out initial aggregate signature on the transaction, then transmits the signed transaction information to the next relay node to continue the aggregate signature, and finally forms the transaction information containing the aggregate signature of the relay node on the complete transmission path. The aggregate signature may provide proof of transmission for the nodes participating in the relay, with verifiability and non-tamper.
In the embodiments of the present application, it is mainly divided into two parts: an authorization signature structure and a transmission evidence structure. First, the authorization signature structure will be explained.
Optionally, in one embodiment of the present application, signature authentication is performed by the transaction initiator on a public-private key pair used by the aggregated signature, and initial aggregated signature is performed on the blockchain transaction data to be transmitted by using the authenticated public-private key, including: randomly generating a public-private key pair for the transaction initiator to aggregate the signature; signing the public key in the public-private key pair and the blockchain transaction data to be transmitted by utilizing the private key of the address corresponding to the blockchain transaction data to be transmitted to obtain an authorization structure; and signing the blockchain transaction data to be transmitted by utilizing the private key in the public-private key pair to obtain an initial aggregate signature.
To use aggregate signatures in different block chain systems, embodiments of the present application add an authorization signature structure to the proof of transmission for enabling the transition of different signature systems to an aggregate signature system. In the authorization structure, sign represents the signature algorithm used by the original transaction, and AggSign represents the aggregate signature algorithm. To complete the authorization operation, transaction initiator A first randomly generates a public-private key pair of an aggregate signatureThen the private key SK of the corresponding address of the transaction is used again A For the public key generated above +.>Signing with transaction IDTxID to obtain +.>Finally, the private key of the aggregate signature is used again>Signing the transaction IDTxID, generating a first aggregate signature +.> As shown in fig. 2. The transaction initiator may use the signature algorithm of any original transaction to generate an aggregate signature through an authorization operation. After the authorization operation, the public and private key pair of the authorized aggregate signature has the same authority as the transaction initiator, a malicious party cannot tamper the original transaction information and the signature, and the transaction information after the initial signature is completed can be transmitted to the next relay node for continuous transmission.
In step S102, the to-be-transmitted blockchain transaction data including the initial aggregate signature is received by at least one relay node, and the to-be-transmitted blockchain transaction data is broadcast after adding its own aggregate signature to the initial aggregate signature of the to-be-transmitted blockchain transaction data.
The method solves the problem that the transaction initiator generates the aggregate signature under different signature systems, and the subsequent relay node can continuously add the aggregate signature on the basis of the first aggregate signature to generate complete transaction information transmission evidence. After the transaction initiator completes the initial aggregate signature, broadcasting to the neighbor nodes, and the neighbor nodes continue broadcasting after adding the self aggregate signature to the transaction for obtaining transmission stimulus.
The scheme based on the aggregate signature adopted by the embodiment of the application is different from a signature chain scheme, and the transmission public key needs to be negotiated with the relay node in the signature chain scheme.
Optionally, in one embodiment of the present application, adding an aggregate signature of the blockchain transaction data to be transmitted, broadcasting the blockchain transaction data to be transmitted includes: randomly generating a transmission public-private key pair of at least one relay node; signing the blockchain transaction data to be transmitted by utilizing a private key in the public-private key pair, and aggregating the signature result and the existing aggregation signature to generate an intermediate aggregation signature; and broadcasting the public key, the intermediate aggregate signature and the authorization structure of the transmission public-private key pair and the blockchain transaction data to be transmitted to other relay nodes.
Optionally, in one embodiment of the present application, before randomly generating the transmission public-private key pair of the at least one relay node, the method further includes: verifying validity of the block chain transaction data to be transmitted; and when the blockchain transaction data to be transmitted is valid, verifying the validity of the authorization structure and the aggregate signature in the blockchain transaction data to be transmitted.
Sign represents the signature algorithm employed by the original transaction, and AggSign represents the signature algorithm used to aggregate signatures. The transmission evidence structure is shown in fig. 3 and consists of an authorization structure, a public key list and an aggregate signature. The construction flow is as follows:
1) First, the transaction initiator A generates an authorization structure according to the procedure described above, which includes a first aggregate signatureForwarding the structure to all adjacent relay nodes along with the transaction Tx;
2) Then the first repeater R 1 After verifying the validity of the transaction, the validity of the authorization structure and the aggregate signature are again verified, and after verification, R 1 Transmission public-private key pair corresponding to random generation aggregation signature algorithm
3) Relay R 1 Then using the generated private keySigning the transaction IDTxID to generate an aggregate signatureThe signature is then associated with->Aggregation is performed to generate an aggregate signature->Finally, public key->Aggregate signature->And an authorization structure that forwards to all neighbor nodes along with transaction Tx;
4) Subsequent relay R i Repeating the steps 2) and 3) until the transaction is transmitted to the whole network or the uplink is completed.
In step S103, the to-be-transmitted blockchain transaction data of at least one relay node is received, and after adding its own aggregate signature in the aggregate signature of the to-be-transmitted blockchain transaction data, the to-be-transmitted blockchain transaction data is broadcasted until the to-be-transmitted blockchain transaction data transmission is completed.
Through the steps, after the transaction data of the blockchain to be transmitted is propagated for a plurality of times, a plurality of different propagation chains are generated, wherein transaction information is attached to aggregated signatures generated by different propagation paths. Finally, only transaction information and aggregate signatures on one path can be chained, and transaction information on other paths can be discarded.
Optionally, in one embodiment of the present application, after the transmission of the blockchain transaction data to be transmitted is completed, the method further includes: and verifying the aggregate signature of the transmitted block chain transaction data to be transmitted by using the public key of the relay node, determining whether the relay node participates in the transmission process of the block chain transaction data to be transmitted, and if so, exciting the relay node participating in the transmission process according to a preset excitation rewarding rule.
After the transaction is uplink, the aggregate signature in the transaction information may provide a proof of transmission for the relay node. The blockchain network provides incentives for nodes participating in the relay according to different incentives mechanisms.
It should be noted that, the aggregate signature in the present application may be replaced by other signature methods that can achieve the same functions and costs as the aggregate signature.
According to the block chain transaction data transmission evidence method provided by the embodiment of the application, the transaction data is subjected to aggregate signature to replace a signature chain so as to prove the workload of the relay node in participating in data transmission, and the block chain transaction evidence method has the advantages of saving transmission bandwidth and on-chain space and being universal for various block chain networks. The method solves the problem that transaction data transmission work in a blockchain network is difficult to prove and quantify.
Next, a blockchain transaction data transmission evidence device according to an embodiment of the present application will be described with reference to the accompanying drawings.
FIG. 4 is an exemplary diagram of a blockchain transaction data transfer evidence device in accordance with embodiments of the present application.
As shown in fig. 4, the blockchain transaction data transmission evidence device 10 includes: an authorization module 100, a first transmission module 200 and a second transmission module 300.
The authorization module 100 is configured to perform signature authentication on a public-private key pair used by an aggregate signature through a transaction initiator, and perform initial aggregate signature on blockchain transaction data to be transmitted by using the authenticated public-private key; the first transmission module 200 is configured to receive, through at least one relay node, the blockchain transaction data to be transmitted including the initial aggregate signature, and broadcast the blockchain transaction data to be transmitted after adding the aggregate signature of the first transmission module to the initial aggregate signature of the blockchain transaction data to be transmitted; the second transmission module 300 is configured to receive the blockchain transaction data to be transmitted of the at least one relay node, and broadcast the blockchain transaction data to be transmitted after adding its own aggregate signature to the aggregate signature of the blockchain transaction data to be transmitted until the blockchain transaction data to be transmitted is transmitted.
Optionally, in one embodiment of the present application, the authorization module 100 is further configured to randomly generate a public-private key pair for the transaction initiator to use in aggregating the signature; signing the public key in the public-private key pair and the blockchain transaction data to be transmitted by utilizing the private key of the address corresponding to the blockchain transaction data to be transmitted to obtain an authorization structure; and signing the blockchain transaction data to be transmitted by utilizing the private key in the public-private key pair to obtain an initial aggregate signature.
Optionally, in one embodiment of the present application, adding an aggregate signature of the blockchain transaction data to be transmitted, broadcasting the blockchain transaction data to be transmitted includes: randomly generating a transmission public-private key pair of at least one relay node; signing the blockchain transaction data to be transmitted by utilizing a private key in the public-private key pair, and aggregating the signature result and the existing aggregation signature to generate an intermediate aggregation signature; and broadcasting the public key, the intermediate aggregate signature and the authorization structure of the transmission public-private key pair and the blockchain transaction data to be transmitted to other relay nodes.
Optionally, in one embodiment of the present application, before randomly generating the transmission public-private key pair of the at least one relay node, the method further includes: the verification module is used for verifying the validity of the blockchain transaction data to be transmitted, and verifying the validity of the authorization structure and the aggregate signature in the blockchain transaction data to be transmitted when the blockchain transaction data to be transmitted is valid.
Optionally, in one embodiment of the present application, further includes: and the excitation module is used for verifying the aggregate signature of the block chain transaction data to be transmitted which is completed by utilizing the public key of the relay node after the block chain transaction data to be transmitted is transmitted, determining whether the relay node participates in the transmission process of the block chain transaction data to be transmitted, and if so, exciting the relay node which participates in the transmission process according to a preset excitation rewarding rule.
It should be noted that the foregoing explanation of the embodiment of the method for proving the blockchain transaction data transmission evidence is also applicable to the device for proving the blockchain transaction data transmission evidence of the embodiment, and is not repeated herein.
According to the block chain transaction data transmission evidence device provided by the embodiment of the application, the transaction data is subjected to aggregate signature to replace a signature chain so as to prove the workload of the relay node for participating in data transmission, and the block chain transaction data transmission evidence device has the advantages of saving transmission bandwidth and on-chain space and being universal for various block chain networks. The method solves the problem that transaction data transmission work in a blockchain network is difficult to prove and quantify.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or N embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present application, the meaning of "N" is at least two, such as two, three, etc., unless explicitly defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more N executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present application.

Claims (6)

1. A method for transmitting evidence of blockchain transaction data, comprising the steps of:
signature authentication is carried out on public and private key pairs used by the aggregated signature through a transaction initiator, and initial aggregated signature is carried out on the blockchain transaction data to be transmitted by utilizing the public and private key pairs after authentication;
receiving the blockchain transaction data to be transmitted comprising the initial aggregate signature through at least one relay node, and broadcasting the blockchain transaction data to be transmitted after adding the self aggregate signature into the initial aggregate signature of the blockchain transaction data to be transmitted;
receiving the block chain transaction data to be transmitted of the at least one relay node, adding an aggregation signature of the block chain transaction data to be transmitted to the aggregation signature of the block chain transaction data to be transmitted, and broadcasting the block chain transaction data to be transmitted until the block chain transaction data to be transmitted is transmitted;
the signature authentication is carried out on the public and private key pair used by the transaction initiator for the aggregated signature, and the initial aggregated signature is carried out on the blockchain transaction data to be transmitted by utilizing the public and private key pair after authentication, comprising the following steps:
randomly generating a public-private key pair of the transaction initiator for aggregating signatures;
signing the public key in the public-private key pair and the blockchain transaction data to be transmitted by utilizing the private key of the address corresponding to the blockchain transaction data to be transmitted to obtain an authorization structure;
signing the blockchain transaction data to be transmitted by utilizing a private key in the public-private key pair to obtain an initial aggregate signature;
the adding self aggregate signature in the aggregate signature of the blockchain transaction data to be transmitted, broadcasting the blockchain transaction data to be transmitted, comprising:
randomly generating a transmission public-private key pair of the at least one relay node;
signing the blockchain transaction data to be transmitted by utilizing a private key in the public-private key pair, and aggregating a signature result and the existing aggregation signature to generate an intermediate aggregation signature;
and broadcasting the public key of the public-private key pair, the intermediate aggregate signature and the authorization structure and the blockchain transaction data to be transmitted to other relay nodes.
2. The method of claim 1, further comprising, prior to randomly generating the transmission public-private key pair for the at least one relay node:
verifying the validity of the blockchain transaction data to be transmitted;
and when the blockchain transaction data to be transmitted is valid, verifying the validity of the authorization structure and the aggregate signature in the blockchain transaction data to be transmitted.
3. The method of any of claims 1-2, further comprising, after the transmission of the blockchain transaction data to be transmitted is completed:
and verifying the aggregate signature of the block chain transaction data to be transmitted which is transmitted by utilizing the public key of the relay node, determining whether the relay node participates in the transmission process of the block chain transaction data to be transmitted, and if so, exciting the relay node which participates in the transmission process according to a preset excitation rewarding rule.
4. A blockchain transaction data transmission evidence device, comprising:
the authorization module is used for carrying out signature authentication on public and private key pairs used by the aggregated signature through a transaction initiator, and carrying out initial aggregated signature on the blockchain transaction data to be transmitted by utilizing the public and private key pairs after authentication;
the first transmission module is used for receiving the block chain transaction data to be transmitted, which comprises the initial aggregate signature, through at least one relay node, and broadcasting the block chain transaction data to be transmitted after adding the self aggregate signature into the initial aggregate signature of the block chain transaction data to be transmitted;
the second transmission module is used for receiving the block chain transaction data to be transmitted of the at least one relay node, and broadcasting the block chain transaction data to be transmitted after adding an own aggregation signature into the aggregation signature of the block chain transaction data to be transmitted until the block chain transaction data to be transmitted is transmitted;
the authorization module is further adapted to,
randomly generating a public-private key pair of the transaction initiator for aggregating signatures;
signing the public key in the public-private key pair and the blockchain transaction data to be transmitted by utilizing the private key of the address corresponding to the blockchain transaction data to be transmitted to obtain an authorization structure;
signing the blockchain transaction data to be transmitted by utilizing a private key in the public-private key pair to obtain an initial aggregate signature;
the adding self aggregate signature in the aggregate signature of the blockchain transaction data to be transmitted, broadcasting the blockchain transaction data to be transmitted, comprising:
randomly generating a transmission public-private key pair of the at least one relay node;
signing the blockchain transaction data to be transmitted by utilizing a private key in the public-private key pair, and aggregating a signature result and the existing aggregation signature to generate an intermediate aggregation signature;
and broadcasting the public key of the public-private key pair, the intermediate aggregate signature and the authorization structure and the blockchain transaction data to be transmitted to other relay nodes.
5. The apparatus of claim 4, further comprising, prior to randomly generating the transmission public-private key pair for the at least one relay node:
and the verification module is used for verifying the validity of the blockchain transaction data to be transmitted, and verifying the validity of the authorization structure and the aggregate signature in the blockchain transaction data to be transmitted when the blockchain transaction data to be transmitted is valid.
6. The apparatus according to any one of claims 4-5, further comprising:
and the excitation module is used for verifying the aggregate signature of the block chain transaction data to be transmitted which is transmitted by utilizing the public key of the relay node after the block chain transaction data to be transmitted is transmitted, determining whether the relay node participates in the transmission process of the block chain transaction data to be transmitted, and if so, exciting the relay node which participates in the transmission process according to a preset excitation rewarding rule.
CN202210974110.2A 2022-08-15 2022-08-15 Block chain transaction data transmission evidence method and device Active CN115499130B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210974110.2A CN115499130B (en) 2022-08-15 2022-08-15 Block chain transaction data transmission evidence method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210974110.2A CN115499130B (en) 2022-08-15 2022-08-15 Block chain transaction data transmission evidence method and device

Publications (2)

Publication Number Publication Date
CN115499130A CN115499130A (en) 2022-12-20
CN115499130B true CN115499130B (en) 2024-04-12

Family

ID=84466409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210974110.2A Active CN115499130B (en) 2022-08-15 2022-08-15 Block chain transaction data transmission evidence method and device

Country Status (1)

Country Link
CN (1) CN115499130B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110097362A (en) * 2019-04-11 2019-08-06 南京信息工程大学 The method of block chain size is compressed based on the orderly aggregate signature of Designated-Verifier
CN111062716A (en) * 2019-11-29 2020-04-24 支付宝(杭州)信息技术有限公司 Method and device for generating block chain signature data and block chain transaction initiating system
CN111582843A (en) * 2020-04-07 2020-08-25 浙商银行股份有限公司 Block chain privacy transaction method based on aggregated signature
KR20210030163A (en) * 2019-09-09 2021-03-17 한국항공대학교산학협력단 Device and method communication between heterogeneous private blockchains
CN113259116A (en) * 2021-05-13 2021-08-13 福建福链科技有限公司 Sensor data uplink method and system based on aggregated signature

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110097362A (en) * 2019-04-11 2019-08-06 南京信息工程大学 The method of block chain size is compressed based on the orderly aggregate signature of Designated-Verifier
KR20210030163A (en) * 2019-09-09 2021-03-17 한국항공대학교산학협력단 Device and method communication between heterogeneous private blockchains
CN111062716A (en) * 2019-11-29 2020-04-24 支付宝(杭州)信息技术有限公司 Method and device for generating block chain signature data and block chain transaction initiating system
CN111582843A (en) * 2020-04-07 2020-08-25 浙商银行股份有限公司 Block chain privacy transaction method based on aggregated signature
CN113259116A (en) * 2021-05-13 2021-08-13 福建福链科技有限公司 Sensor data uplink method and system based on aggregated signature

Also Published As

Publication number Publication date
CN115499130A (en) 2022-12-20

Similar Documents

Publication Publication Date Title
Ali et al. A blockchain-based certificateless public key signature scheme for vehicle-to-infrastructure communication in VANETs
Lei et al. A blockchain based certificate revocation scheme for vehicular communication systems
Zhu et al. Smart: A secure multilayer credit-based incentive scheme for delay-tolerant networks
CN109698754B (en) Fleet safety management system and method based on ring signature and vehicle management platform
Mahmoud et al. An integrated stimulation and punishment mechanism for thwarting packet dropping attack in multihop wireless networks
Cai et al. An incentive-compatible routing protocol for two-hop delay-tolerant networks
CN110581763A (en) Quantum key service block chain network system
CN102223629B (en) Distribution method of threshold keys of mobile Ad hoc network
Mershad et al. Proof of accumulated trust: A new consensus protocol for the security of the IoV
Mahmoud et al. A secure payment scheme with low communication and processing overhead for multihop wireless networks
Vasudev et al. A lightweight authentication protocol for V2V communication in VANETs
Maity et al. Self-organized public key management in manets with enhanced security and without certificate-chains
Mahmoud et al. Trust-based and energy-aware incentive routing protocol for multi-hop wireless networks
CN106851441A (en) The safe light path of multi-area optical network based on layering PCE sets up agreement
CN115174570A (en) Cross-chain consensus method and system based on dynamic committee
CN111464632A (en) Block chain cross-chain forwarding method and block chain link point
CN115499130B (en) Block chain transaction data transmission evidence method and device
Zhu et al. A secure incentive scheme for delay tolerant networks
CN114826699B (en) Byzantine attack resisting method in decentralized federal learning based on block chain
CN116761148A (en) V2X identity management system and authentication method based on blockchain
CN114422146B (en) Method for anonymously sequencing main nodes of blockchain
de Oliveira et al. Social networks for certification in vehicular disruption tolerant networks
KR101034383B1 (en) Point-to-point communication method in a wireless sensor network and methods of driving coordinators and communication devices in the wireless sensor network
Guo et al. A misbehavior detection system for vehicular delay tolerant networks
Mahmoud et al. RISE: receipt-free cooperation incentive scheme for multihop wireless networks

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