CN115499130A - Evidence transmission method and device for block chain transaction data - Google Patents

Evidence transmission method and device for block chain transaction data Download PDF

Info

Publication number
CN115499130A
CN115499130A CN202210974110.2A CN202210974110A CN115499130A CN 115499130 A CN115499130 A CN 115499130A CN 202210974110 A CN202210974110 A CN 202210974110A CN 115499130 A CN115499130 A CN 115499130A
Authority
CN
China
Prior art keywords
transmitted
transaction data
signature
block chain
public
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210974110.2A
Other languages
Chinese (zh)
Other versions
CN115499130B (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

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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 method and a device for transmitting evidence of block chain transaction data, wherein the method comprises the following steps: performing signature authentication on a public and private key pair used by the aggregated signature through a transaction initiator, and performing initial aggregated signature on block chain transaction data to be transmitted by using the authenticated public and private key; receiving block chain transaction data to be transmitted including an initial aggregation signature through at least one relay node, and broadcasting the block chain transaction data to be transmitted after adding the self aggregation signature in the initial aggregation 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 in the aggregation signature of the block chain transaction data to be transmitted until the transmission of the block chain transaction data to be transmitted is completed. Therefore, the problems that the transaction data transmission work in the block chain network is difficult to prove and quantify and the like are solved.

Description

Evidence transmission method and device for block chain transaction data
Technical Field
The present application relates to the field of blockchain transaction data transmission technologies, and in particular, to a method and an apparatus for evidence transmission of blockchain transaction data.
Background
A blockchain is a decentralized distributed ledger that is updated by nodes in a peer-to-peer network. The updating of the account book is mainly divided into two functions: block chain data broadcast and block spreading. However, currently there are only two types of excitation in most blockchain protocols: block awards and transaction fees, these incentive schemes only incentivize block expansion. For transactions and broadcast of tile data, current blockchain networks rely primarily on nodes in the network voluntarily transmitting received transactions to neighboring nodes. Such a transmission mechanism does not provide any incentive for nodes broadcasting transaction or block information, which results in a lack of motivation for nodes to actively relay block chain data and a motivation to actively increase bandwidth capacity, and finally results in a large block chain data transmission delay.
Moshe et al analyzed the problem of bitcoin lacking a transport incentive mechanism. The node may eliminate contention by not propagating transaction information in order to obtain incentive to authorize the transaction. This may cause a large number of transactions in the network to wait for authorization from a single node, reducing the efficiency of the network. Thus, such a transmission mechanism is not sustainable without the nodes having an incentive to transmit transaction data. In order to quickly broadcast the transaction information in the blockchain network, transmission evidence needs to be added to the transmission behavior of the node, and the node is stimulated according to the transmission evidence. To solve the problem of eliminating contention by a node through a withholding attack to obtain an incentive, abraham et al propose a bitcoin incentive mechanism based on a signature chain. The work load is proved by using Byzantine consensus instead of the smart consensus, the consensus committee signs the difficult problem to be calculated by the node, and the node cannot determine the next difficult problem after the current difficult problem is calculated, so that the problem of information competition in transmission excitation is solved.
For the quantization problem of block chain data transmission work, signature chain mode is mainly used to prove the transmission behavior at present. In a signature chain-based proof of transfer scheme, the message is propagated by attaching the public key that each relay receives the transfer stimulus and a signature signed on the message. The relay node continuously signs on the signature and the message of the previous version and continuously transmits the updated signed version to other nodes, so that a signature chain which can represent a transmission path can be finally generated. Unless re-signed, any modification to the signed packet will invalidate it. Thus, anyone can verify the path in the packet and a malicious party cannot tamper with or forge the packet without the private key used by all the signatures in the signature chain.
There are multiple paths for transaction or block information to propagate through the network, and there are many different version signature chains for each transaction or block. When the block is output, only the signature chain on one propagation path is saved on the chain, and the signature chains on other paths are discarded. Finally, the signature chain of the uplink can provide transmission operation proof 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. Since the propagation of the transaction or block information eventually fails to guarantee uplink and receive the reward, the relay node may only be able to propagate more different transaction or block information in an attempt to obtain more incentive. Considering the characteristics of P2P network and block chain data transmission, if the relay node propagates early in transaction or block information initiation, its signature will be in the early 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 block transmission chain. The signature chain-based transmission certification mode encourages the relay node to forward the transaction or the block more, forwards the transaction or the block as early as possible, and forwards the transaction or the block to more nodes so as to obtain more transmission incentives.
The NKN system uses a signature chain based method of relay attestation. The relay node signs the data packets in sequence when relaying the data packets, and a signature chain with the participation party signed according to the participation time sequence is formed. Each signature in the signature chain comprises the NKN address of the relay node and the public key, the NKN address of the next relay node, and the relay node continues to sign on the basis of the previous version signature. After the relay nodes on all propagation paths are signed, the signature chain generates a number of signatures corresponding to the number of the nodes, and a large storage overhead is generated. Ersoy et al propose a mechanism for reducing the cost of redundant communications using intelligent network routing. The extra storage requirement is only the public key of the node on the propagation path and the signature of the client, and the storage overhead of the signature chain is effectively reduced. But the method depends on shorter network routing and has no popularization significance.
The above signature chain-based transmission certification methods are all high in spatial overhead. The UTXO model proposed by Wang et al to change one transaction into multiple relayed transactions would produce even more transactions, making the transmission evidence more costly in the chain. The transmission certification method based on the signature chain can complete 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 load for the block chain network and is not beneficial to the efficiency of the block chain network.
Disclosure of Invention
The application provides an evidence method and an evidence device for block chain transaction data transmission, which are used for solving the problem that the 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 evidence transmission of blockchain transaction data, including the following steps: performing signature authentication on a public and private key pair used by a transaction initiator for aggregated signature, and performing initial aggregated signature on block chain transaction data to be transmitted by using the authenticated public and private key; receiving the block chain transaction data to be transmitted including the initial aggregation signature through at least one relay node, and broadcasting the block chain transaction data to be transmitted after adding the self aggregation signature in the initial aggregation signature of the block chain transaction data to be transmitted; and 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 the self aggregation signature in the aggregation signature of the block chain transaction data to be transmitted until the transmission of the block chain transaction data to be transmitted is completed.
Optionally, in an embodiment of the present application, the performing signature authentication on a public and private key pair used for aggregation signature by a transaction initiator, and performing initial aggregation signature on block chain transaction data to be transmitted by using the authenticated public and private key includes: randomly generating a public and private key pair used by the transaction initiator for aggregating signatures; signing a public key in the public and private key pair and the blockchain transaction data to be transmitted by using a private key of an address corresponding to the blockchain transaction data to be transmitted to obtain an authorization structure; and signing the block chain transaction data to be transmitted by using a private key in the public and private key pair to obtain an initial aggregation signature.
Optionally, in an embodiment of the present application, the adding an aggregation signature of itself to the aggregation signature of the to-be-transmitted blockchain transaction data, and broadcasting the to-be-transmitted blockchain transaction data includes: randomly generating a transmission public and private key pair of the at least one relay node; signing the block chain transaction data to be transmitted by using a private key in the transmission public and private key pair, and aggregating a signature result and an existing aggregated signature to generate an intermediate aggregated signature; and broadcasting the public key of the transmission public and private key pair, the intermediate aggregation signature and the authorization structure and the block chain transaction data to be transmitted to other relay nodes together.
Optionally, in an 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 aggregation signature in the blockchain transaction data to be transmitted.
Optionally, in an embodiment of the present application, after the transmission of the to-be-transmitted blockchain transaction data is completed, the method further includes: 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 reward rule.
An embodiment of a second aspect of the present application provides an apparatus for evidence transmission of blockchain transaction data, including: the authorization module is used for carrying out signature authentication on a public and private key pair used by the aggregated signature through a transaction initiator and carrying out initial aggregated signature on block chain transaction data to be transmitted by using the authenticated public and private key; the first transmission module is used for receiving the block chain transaction data to be transmitted, which comprises the initial aggregation signature, through at least one relay node, and broadcasting the block chain transaction data to be transmitted after adding the self aggregation signature in the initial aggregation signature of the block chain transaction data to be transmitted; the second transmission module is configured to receive the to-be-transmitted block chain transaction data of the at least one relay node, and broadcast the to-be-transmitted block chain transaction data after adding an aggregation signature of the to-be-transmitted block chain transaction data to the aggregation signature of the to-be-transmitted block chain transaction data until the to-be-transmitted block chain transaction data is transmitted completely.
Optionally, in an embodiment of the present application, the authorization module is further configured to randomly generate a public-private key pair used by the transaction initiator for aggregating signatures; signing a public key in the public and private key pair and the blockchain transaction data to be transmitted by using a private key of an address corresponding to the blockchain transaction data to be transmitted to obtain an authorization structure; and signing the block chain transaction data to be transmitted by using a private key in the public and private key pair to obtain an initial aggregation signature.
Optionally, in an embodiment of the present application, the adding an aggregation signature of itself to the aggregation signature of the to-be-transmitted blockchain transaction data, and broadcasting the to-be-transmitted blockchain transaction data includes: randomly generating a transmission public and private key pair of the at least one relay node; signing the block chain transaction data to be transmitted by using a private key in the public and private key transmission pair, and aggregating a signature result and an existing aggregated signature to generate an intermediate aggregated signature; and broadcasting the public key of the transmission public and private key pair, the intermediate aggregation signature and the authorization structure and the block chain transaction data to be transmitted to other relay nodes together.
Optionally, in an 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 aggregation signature in the blockchain transaction data to be transmitted when the blockchain transaction data to be transmitted is valid.
Optionally, in an embodiment of the present application, the method further includes: and the excitation module is used for verifying the aggregate signature of the transmitted blockchain transaction data to be transmitted by using the public key of the relay node after the transmission of the blockchain transaction data to be transmitted is completed, determining whether the relay node participates in the transmission process of the blockchain transaction data to be transmitted, and if so, exciting the relay node participating in the transmission process according to a preset excitation reward 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 currently a lack of incentive to transmit transaction information in blockchain networks, and there is a need for a method of certifying the transmission behavior of nodes, the nodes being incentivized based on the certification of transmission. Most of the existing schemes adopt a signature chain mode to transmit proof, the method can meet the requirement of proof workload, but the space overhead of the signature chain is related to the number of relay nodes, and finally the transmission evidence of the uplink comprises the signatures of all the relay nodes. Therefore, aiming at the defect that the transmission proving space based on the signature chain is low in efficiency, the application provides a method for realizing the transmission proving of the relay node by aggregating the 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 performing aggregate signature under different signature systems. The transaction initiating node firstly signs a public key and transaction information required by the aggregated signature by using a signature algorithm in an original block chain network, authorizes a public and private key pair used by the aggregated signature, then generates a first aggregated signature for the transaction by using a private key of the aggregated signature, attaches the first aggregated signature to the transaction information and forwards the transaction information to the relay node. Therefore, the method can be applied to various heterogeneous block chain networks and has universality. After receiving the transaction information and the aggregated signature of the previous version, the relay node adds the signature of the relay node to the aggregated signature, and the transaction information is added with a single aggregated signature to realize the same certification effect as a signature chain.
Additional aspects and advantages of the present 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 present 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 of which:
fig. 1 is a flowchart of an evidence transmission method for blockchain transaction data according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating a process of authorizing a signature by a transaction initiator according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a transmission evidence construction process provided according to an embodiment of the present application;
fig. 4 is an exemplary diagram of a device for evidence of data transmission for blockchain transactions according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are illustrative and intended to explain the present application and should not be construed as limiting the present application.
The method and apparatus for evidence transmission of blockchain transaction data according to the embodiments of the present application are described below with reference to the accompanying drawings. In the method, transaction data is subjected to aggregation signature to replace a signature chain to prove the workload of a relay node participating in data transmission, so that the method has the advantages of saving transmission bandwidth and space on the chain and being universal to various block chain networks. Therefore, the problems that an incentive mechanism for transaction data transmission is lacked in the existing block chain network, rapid propagation of transaction information in the block chain network is not facilitated, and the throughput and the safety of a block chain system are indirectly influenced are solved.
Specifically, fig. 1 is a flowchart of an evidence method for data transmission of blockchain transactions according to an embodiment of the present disclosure.
As shown in fig. 1, the method for evidence transmission of blockchain transaction data includes the following steps:
in step S101, a public and private key pair used by the aggregate signature is subjected to signature authentication by the transaction initiator, and the authenticated public and private key is used to perform initial aggregate signature on the block chain transaction data to be transmitted.
To realize the incentive for the transaction data transmission, the transaction data transmission work needs to be proved. According to the embodiment of the application, the signature chain scheme used by the relay node at present is replaced by the aggregation signature, the signature of the relay node is aggregated into one signature to reduce the expense of transmission proof, and the aggregation signature ensures that a subsequent relay cannot tamper with the previous transmission proof.
In the aggregated signature-based transmission attestation method, a transaction initiator is required to initiate an initial aggregated signature, which is to ensure that a subsequent relay node cannot privately generate a new aggregated signature. However, the signature algorithm in the current mainstream blockchain transaction structure is usually an elliptic curve algorithm and does not support a signature aggregation function, so that the address in the transaction cannot be directly used as the identity of the initial aggregated signature. Therefore, the embodiment of the application designs an authorization signature structure, and authorizes the initial aggregation signature by using a private key corresponding to a transaction initiator in a signature form.
The transmission certification method based on the aggregated signature mainly carries out signature authentication on a public and private key pair used by the aggregated signature through a transaction initiator, carries out initial aggregated signature on a transaction by using an authenticated private key, then transmits the signed transaction information to a next relay node to continue the aggregated signature, and finally forms the transaction information containing the aggregated signature of the relay node on a complete transmission path. The aggregate signature may provide proof of transmission for nodes participating in the relay, with verifiability and non-tamper-resistance.
In the embodiment of the application, the method is mainly divided into two parts: an authorization signature structure and a transmission evidence structure. The authorization signature structure will be explained first.
Optionally, in an embodiment of the present application, performing signature authentication on a public-private key pair used by a transaction initiator for aggregated signature, and performing initial aggregated signature on blockchain transaction data to be transmitted by using the authenticated public-private key pair, includes: randomly generating a public and private key pair used by a transaction initiator for aggregating signatures; signing a public key in the public and private key pair and the blockchain transaction data to be transmitted by using a private key of an address corresponding to the blockchain transaction data to be transmitted to obtain an authorization structure; and signing the to-be-transmitted block chain transaction data by using a private key in the public and private key pair to obtain an initial aggregation signature.
In order to use the aggregate signature in different blockchain systems, the embodiment of the application adds an authorization signature structure for the transmission evidence, so as to realize the transition from different signature systems to the aggregate signature system. In the authorization structure, sign is used to represent 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 with an aggregated signature
Figure BDA0003797526490000061
Then, the private key SK of the address corresponding to the transaction is used A For the above generated public key
Figure BDA0003797526490000062
Signed with transaction IDTxID
Figure BDA0003797526490000063
Finally, the private key of the aggregated signature is reused
Figure BDA0003797526490000064
Signing the transaction IDTxID to generate a first aggregated signature
Figure BDA0003797526490000065
Figure BDA0003797526490000066
As shown in fig. 2. The transaction initiator, through an authorization operation, may generate an aggregated signature using any of the original transaction's signature algorithms. After the authorization operation, the authorized public and private key pair with the aggregated signature has the same authority as that of the transaction initiator, the malicious party cannot tamper the original transaction information and the signature, and the transaction information with the initial signature can be transmitted to the next relay node for continuous transmission.
In step S102, the block chain transaction data to be transmitted including the initial aggregation signature is received by at least one relay node, and after the aggregation signature of the block chain transaction data to be transmitted is added to the initial aggregation signature of the block chain transaction data to be transmitted, the block chain transaction data to be transmitted is broadcast.
The problem that the transaction initiator generates the aggregated signature under different signature systems is solved, and the subsequent relay nodes can continue to add the aggregated signature on the basis of the first aggregated signature to generate a complete transaction information transmission certificate. And after finishing the initial aggregation signature, the transaction initiator broadcasts the initial aggregation signature to the neighbor nodes, and the neighbor nodes continue to broadcast after adding the self aggregation signature to the transaction for acquiring transmission excitation.
The scheme based on the aggregated signature adopted by the embodiment of the application is different from a signature chain scheme, a transmission public key needs to be negotiated with the relay node in the signature chain scheme, and the relay node can generate the transmission public key by itself for adding the transmission evidence.
Optionally, in an embodiment of the present application, adding an aggregation signature of itself to the aggregation signature of the to-be-transmitted blockchain transaction data, and broadcasting the to-be-transmitted blockchain transaction data includes: randomly generating a transmission public and private key pair of at least one relay node; signing the block chain transaction data to be transmitted by using a private key in a public and private key pair, and aggregating a signature result and an existing aggregated signature to generate an intermediate aggregated signature; and broadcasting the public key for transmitting the public and private key pair, the intermediate aggregation signature and the authorization structure to other relay nodes together with the block chain transaction data to be transmitted.
Optionally, in an embodiment of the present application, before randomly generating a transmission public-private key pair of 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 aggregation signature in the blockchain transaction data to be transmitted.
Sgn represents the signature algorithm used for the original transaction, and AggSign represents the signature algorithm used for the aggregated signature. The transmission evidence structure is shown in fig. 3 and is composed of an authorization structure, a public key list and an aggregation signature. The construction process is as follows:
1) First, the transaction initiator A generates an authorization structure according to the procedure of the above section, which includes the first aggregated signature
Figure BDA0003797526490000071
And forwards the structure to all neighboring relay nodes together with the transaction Tx;
2) Then the first relay R 1 After the validity of the transaction is verified, the validity of the authorization structure and the aggregated signature is verified, and after the verification is passed, R 1 Transmission public and private key pair corresponding to randomly generated aggregation signature algorithm
Figure BDA0003797526490000072
3) Repeater R 1 Then using the generated private key
Figure BDA0003797526490000073
Signing the transaction IDTxID to generate an aggregated signature
Figure BDA0003797526490000074
Then the signature is compared with
Figure BDA0003797526490000075
Aggregate to generate an aggregate signature
Figure BDA0003797526490000076
Finally, the public key is combined
Figure BDA0003797526490000077
Aggregated signatures
Figure BDA0003797526490000078
And an authorization structure, forwarded to all neighboring nodes together with the transaction Tx;
4) Subsequent repeater 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 block chain transaction data to be transmitted of at least one relay node is received, and after adding its own aggregate signature to the aggregate signature of the block chain transaction data to be transmitted, the block chain transaction data to be transmitted is broadcasted until the transmission of the block chain transaction data to be transmitted is completed.
Through the steps, after the block chain transaction data to be transmitted is propagated for multiple times, many different propagation chains can be generated, wherein transaction information is attached with aggregation signatures generated by different propagation paths. Finally, only transaction information and the aggregated signature on one path can be uplink, and transaction information on other paths can be discarded.
Optionally, in an embodiment of the present application, after the transmission of the blockchain transaction data to be transmitted is completed, the method further includes: 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 reward rule.
After the uplink transaction, the aggregated signature in the transaction information may provide the relay node with proof of transmission. The blockchain network provides excitation for the nodes participating in the relay according to different excitation mechanisms.
It should be noted that the aggregate signature in the present application may also be replaced with other signature methods that can achieve the same functions and overhead as the aggregate signature.
According to the method for transmitting the block chain transaction data evidence, the transaction data is subjected to aggregation signature to replace a signature chain to prove the workload of the relay node participating in data transmission, and the method has the advantages of saving transmission bandwidth and space on the chain and being universal to various block chain networks. The problem that the transaction data transmission work in a block chain network is difficult to prove and quantify is solved.
Next, a device for proof of transmission of blockchain transaction data according to an embodiment of the present application will be described with reference to the drawings.
Fig. 4 is a diagram of an example of a device for evidence of data transmission for blockchain transaction according to an embodiment of the present application.
As shown in fig. 4, the device for evidence of data transmission 10 for blockchain transaction 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 and private key pair used by a transaction initiator for aggregated signature, and perform initial aggregated signature on block chain transaction data to be transmitted by using the authenticated public and private key; the first transmission module 200 is configured to receive, through at least one relay node, block chain transaction data to be transmitted, where the block chain transaction data to be transmitted includes an initial aggregation signature, and broadcast the block chain transaction data to be transmitted after adding an aggregation signature of the first transmission module to the initial aggregation signature of the block chain transaction data to be transmitted; the second transmission module 300 is configured to receive the block chain transaction data to be transmitted of at least one relay node, and broadcast the block chain transaction data to be transmitted after adding the aggregation signature of the block chain transaction data to be transmitted to the aggregation signature of the block chain transaction data to be transmitted until the block chain transaction data to be transmitted is transmitted.
Optionally, in an embodiment of the present application, the authorization module 100 is further configured to randomly generate a public-private key pair used by the transaction initiator for aggregating signatures; signing a public key in the public and private key pair and the blockchain transaction data to be transmitted by using a private key of an address corresponding to the blockchain transaction data to be transmitted to obtain an authorization structure; and signing the to-be-transmitted block chain transaction data by using a private key in the public and private key pair to obtain an initial aggregation signature.
Optionally, in an embodiment of the present application, adding an aggregation signature of itself to the aggregation signature of the to-be-transmitted blockchain transaction data, and broadcasting the to-be-transmitted blockchain transaction data includes: randomly generating a transmission public and private key pair of at least one relay node; signing the block chain transaction data to be transmitted by using a private key in the public and private key pair, and aggregating the signature result and the existing aggregated signature to generate an intermediate aggregated signature; and broadcasting the public key for transmitting the public and private key pair, the intermediate aggregation signature and the authorization structure to other relay nodes together with the block chain transaction data to be transmitted.
Optionally, in an embodiment of the present application, before randomly generating a transmission public-private key pair of at least one relay node, the method further includes: and the verification module is used for verifying the validity of the block chain transaction data to be transmitted and verifying the validity of the authorization structure and the aggregated signature in the block chain transaction data to be transmitted when the block chain transaction data to be transmitted is valid.
Optionally, in an embodiment of the present application, the method further includes: and the excitation module is used for verifying the aggregate signature of the transmitted block chain transaction data to be transmitted by using the public key of the relay node after the transmission of the block chain transaction data to be transmitted is completed, 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 reward rule.
It should be noted that the above explanation of the embodiment of the method for evidence transmission of blockchain transaction data is also applicable to the device for evidence transmission of blockchain transaction data 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 aggregation signature to replace a signature chain to prove the workload of the relay node participating in data transmission, and the block chain transaction data transmission evidence device has the advantages of saving transmission bandwidth and space on the chain and being universal to various block chain networks. The problem that the transaction data transmission work in a block chain network is difficult to prove and quantify is solved.
In the description of the present specification, reference to the description of "one embodiment," "some embodiments," "an example," "a specific example," or "some examples" or the like 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, the schematic representations of the terms used above are not necessarily intended to refer 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, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "N" means at least two, e.g., two, three, etc., unless specifically limited 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 steps of a custom logic function or process, and alternate 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 implementing the embodiments of the present application.

Claims (10)

1. A method for evidence transmission of blockchain transaction data is characterized by comprising the following steps:
performing signature authentication on a public and private key pair used by a transaction initiator for aggregated signature, and performing initial aggregated signature on block chain transaction data to be transmitted by using the authenticated public and private key;
receiving the block chain transaction data to be transmitted including the initial aggregation signature through at least one relay node, and broadcasting the block chain transaction data to be transmitted after adding the self aggregation signature in the initial aggregation signature of the block chain transaction data to be transmitted;
and 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 the self aggregation signature in the aggregation signature of the block chain transaction data to be transmitted until the transmission of the block chain transaction data to be transmitted is completed.
2. The method of claim 1, wherein the signature authentication of a public and private key pair used by a transaction initiator for an aggregated signature and the initial aggregated signature of the blockchain transaction data to be transmitted by using the authenticated public and private key comprise:
randomly generating a public and private key pair used by the transaction initiator for aggregating signatures;
signing a public key in the public and private key pair and the blockchain transaction data to be transmitted by using a private key of an address corresponding to the blockchain transaction data to be transmitted to obtain an authorization structure;
and signing the block chain transaction data to be transmitted by using a private key in the public and private key pair to obtain an initial aggregation signature.
3. The method according to claim 1, wherein the adding an aggregation signature of itself to the aggregation signature of the blockchain transaction data to be transmitted, and broadcasting the blockchain transaction data to be transmitted comprises:
randomly generating a transmission public and private key pair of the at least one relay node;
signing the block chain transaction data to be transmitted by using a private key in the transmission public and private key pair, and aggregating a signature result and an existing aggregated signature to generate an intermediate aggregated signature;
and broadcasting the public key of the transmission public and private key pair, the intermediate aggregation signature and the authorization structure and the block chain transaction data to be transmitted to other relay nodes together.
4. The method of claim 3, further comprising, prior to randomly generating the transmitting 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 aggregation signature in the blockchain transaction data to be transmitted.
5. The method according to any one of claims 1 to 4, further comprising, after the completion of the transmission of the blockchain transaction data to be transmitted, the step of:
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 reward rule.
6. A device for data transmission evidence of blockchain transaction, comprising:
the authorization module is used for performing signature authentication on a public and private key pair used by a transaction initiator for aggregated signature, and performing initial aggregated signature on block chain transaction data to be transmitted by using the authenticated public and private key;
the first transmission module is used for receiving the block chain transaction data to be transmitted including the initial aggregation signature through at least one relay node, and broadcasting the block chain transaction data to be transmitted after adding the self aggregation signature in the initial aggregation signature of the block chain transaction data to be transmitted;
and the second transmission module is used for receiving the block chain transaction data to be transmitted of the at least one relay node, adding an aggregation signature of the second transmission module 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 transmission of the block chain transaction data to be transmitted is completed.
7. The apparatus of claim 6, wherein the authorization module is further configured to,
randomly generating a public and private key pair used for aggregating signatures by the transaction initiator;
signing a public key in the public and private key pair and the blockchain transaction data to be transmitted by using a private key of an address corresponding to the blockchain transaction data to be transmitted to obtain an authorization structure;
and signing the block chain transaction data to be transmitted by using a private key in the public and private key pair to obtain an initial aggregation signature.
8. The apparatus according to claim 6, wherein the adding an own aggregate signature to the aggregate signature of the blockchain transaction data to be transmitted, and broadcasting the blockchain transaction data to be transmitted, includes:
randomly generating a transmission public and private key pair of the at least one relay node;
signing the block chain transaction data to be transmitted by using a private key in the public and private key transmission pair, and aggregating a signature result and an existing aggregated signature to generate an intermediate aggregated signature;
and broadcasting the public key of the transmission public and private key pair, the intermediate aggregation signature and the authorization structure and the block chain transaction data to be transmitted to other relay nodes together.
9. The apparatus of claim 6, further comprising, prior to randomly generating the transmitting 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 aggregation signature in the blockchain transaction data to be transmitted when the blockchain transaction data to be transmitted is valid.
10. The apparatus of any one of claims 6-9, further comprising:
and the excitation module is used for verifying the aggregate signature of the transmitted blockchain transaction data to be transmitted by using the public key of the relay node after the transmission of the blockchain transaction data to be transmitted is completed, determining whether the relay node participates in the transmission process of the blockchain transaction data to be transmitted, and if so, exciting the relay node participating in the transmission process according to a preset excitation reward 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 true CN115499130A (en) 2022-12-20
CN115499130B 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
CN115499130B (en) 2024-04-12

Similar Documents

Publication Publication Date Title
He et al. A blockchain based truthful incentive mechanism for distributed P2P applications
Zhu et al. Smart: A secure multilayer credit-based incentive scheme for delay-tolerant networks
CN109275122B (en) Service-proof-based consensus protocol design and Internet of vehicles application method thereof
Mahmoud et al. Secure and reliable routing protocols for heterogeneous multihop wireless 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
AU2018102186A4 (en) An aggregated trust evaluation method for message reliability in vanets
Mahmoud et al. A secure payment scheme with low communication and processing overhead for multihop wireless networks
CN112651830B (en) Block chain consensus method applied to power resource sharing network
CN111246481B (en) Micro base station authentication method and terminal
CN111582843A (en) Block chain privacy transaction method based on aggregated signature
CN113746858A (en) Cross-chain communication method based on verifiable random function
Vasudev et al. A lightweight authentication protocol for V2V communication in VANETs
Hamouid et al. Efficient certificateless web-of-trust model for public-key authentication in MANET
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
CN115174570A (en) Cross-chain consensus method and system based on dynamic committee
Xie et al. A secure, service priority‐based incentive scheme for delay tolerant networks
Zhu et al. A secure incentive scheme for delay tolerant networks
CN115499130B (en) Block chain transaction data transmission evidence method and device
CN114826699B (en) Byzantine attack resisting method in decentralized federal learning based on block chain
CN114422146B (en) Method for anonymously sequencing main nodes of blockchain
Mahmoud et al. Secure routing protocols
Liu et al. A secure and decentralized reconfiguration protocol for sharding blockchains
Mahmoud et al. Credit-based mechanism protecting multi-hop wireless networks from rational and irrational packet drop

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