CN116582550A - Method for constructing cross-chain system based on trust evaluation, transaction transfer method and device - Google Patents

Method for constructing cross-chain system based on trust evaluation, transaction transfer method and device Download PDF

Info

Publication number
CN116582550A
CN116582550A CN202310566040.1A CN202310566040A CN116582550A CN 116582550 A CN116582550 A CN 116582550A CN 202310566040 A CN202310566040 A CN 202310566040A CN 116582550 A CN116582550 A CN 116582550A
Authority
CN
China
Prior art keywords
chain
cross
node
transaction
relay
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.)
Pending
Application number
CN202310566040.1A
Other languages
Chinese (zh)
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.)
Guangzhou Lianrong Information Technology Co ltd
Xidian University
Original Assignee
Guangzhou Lianrong Information Technology Co ltd
Xidian 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 Guangzhou Lianrong Information Technology Co ltd, Xidian University filed Critical Guangzhou Lianrong Information Technology Co ltd
Priority to CN202310566040.1A priority Critical patent/CN116582550A/en
Publication of CN116582550A publication Critical patent/CN116582550A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1059Inter-group management mechanisms, e.g. splitting, merging or interconnection of groups
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1087Peer-to-peer [P2P] networks using cross-functional networking aspects
    • 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
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application provides a method for constructing a cross-chain system based on trust evaluation, a transaction transfer method and a related device. According to the method for constructing the cross-chain system based on trust evaluation, the parameter information of the cross-chain nodes in each blockchain is calculated, wherein the parameter information comprises at least one of communication credibility, time credibility, transaction credibility and historical credibility; obtaining a comprehensive trust value of each cross-link node based on the parameter information; determining an initial relay chain node based on the comprehensive trust value; and selecting a final relay chain node from the initial relay chain link points, wherein the final relay chain node forms a cross-chain system. Therefore, a reliable cross-chain system is safely and efficiently established between mutually independent block chains, node evaluation and trust transfer are realized through a trust model, safe and stable operation of the cross-chain system is ensured, and mutual trust intercommunication of value and information among a plurality of block chains is realized.

Description

Method for constructing cross-chain system based on trust evaluation, transaction transfer method and device
Technical Field
The application belongs to the technical field of blockchain, and relates to a method for constructing a cross-chain system based on trust evaluation, a transaction transfer method and a related device.
Background
Currently, although blockchain technology has made a leap advance, some blockchain projects have been used in the ground, from the perspective of the overall development of current blockchain technology, each blockchain is still a closed, vertical, independent system, as such individual blockchains are prone to forming trust islands. With the application of the blockchain technology in various fields, the business requirements of the blockchain network in various scenes become more and more complex, a trust relationship needs to be reasonably established between blockchain nodes, and the interconnection and intercommunication between blockchains are completed on the basis of mutual trust. However, in the current cross-chain technology, a reliable trust relationship is difficult to establish between the blockchain nodes, and the cross-chain process is difficult to be carried out on the premise of mutual trust, and a corresponding trust relationship cannot be established, so that data and value of the blockchains cannot be communicated with each other. How to establish trust relationship among the cross-chain blockchain nodes enables the whole cross-chain system to realize interoperability among blockchains by the trusted cross-chain technology based on the established trust relationship, so that the blockchain technology brings greater value to society, which is important to further development of blockchains.
Through the above analysis, the problems and defects existing in the prior art are as follows: the mutual isolation among the blockchain systems makes the trust value of the nodes in the cross-chain system not communicated and circulated, and whether the nodes are trusted is difficult to judge, so that the data communication and mutual trust among different blockchains are difficult to carry out.
Disclosure of Invention
The application provides a method for constructing a cross-chain system based on trust evaluation, a transaction transfer method and a related device, wherein a reliable cross-chain system is safely and efficiently established between mutually independent blockchains, node evaluation and trust transfer are realized through a trust model, safe and stable operation of the cross-chain system is ensured, and mutual trust intercommunication of values and information between a plurality of blockchains is realized.
In a first aspect, the present application provides a method for building a cross-chain system based on trust evaluation, comprising:
calculating parameter information of cross-chain nodes in each blockchain, wherein the parameter information comprises at least one of communication credibility, time credibility, transaction credibility and historical credibility;
obtaining a comprehensive trust value of each cross-link node based on the parameter information;
determining an initial relay chain node based on the comprehensive trust value;
and selecting a final relay chain node from the initial relay chain link points, wherein the final relay chain node forms a cross-chain system.
The step of calculating the parameter information of the cross-chain nodes in each blockchain includes:
calculating the communication reliability of the cross-link node: t (T) com =t normal /t total Wherein t is normal Representing time t when a cross-link node can normally communicate with other nodes after joining a cross-link system total Representing the total time for the node to join the cross-chain system;
calculating the time credibility of the cross-link nodes:wherein t is the time that the node has elapsed after joining the cross-chain system, and parameter a (a e Z) is the time regulatory factor;
calculating the transaction credibility of the cross-link nodes: t (T) trans =b·(tx/tx 1 +c/c 1 )·t/t 1 Where b is the correlation coefficient, tx is the number of packed transactions that the node participates in after joining the cross-chain system, tx 1 Is that a node joins a cross-chain systemThe transaction number determined by the whole system is c is the number of times that the node participates in consensus verification, c 1 Is the number of times the system is integrally agreed, t is the time the node has elapsed after joining the cross-link system, t 1 Is a control factor, can control T trans Is a rate of increase of (2);
calculating the historical trustworthiness of the cross-chain node includes: calculating a fluctuation value:
determining a historical confidence level based on the fluctuation value:
where n represents the number of recorded node trust values,represents the average of n trust values, h i Representing the ith trust value of the node, D is a fluctuation value, xi is a threshold value and T is a threshold value h Representing historical trustworthiness.
The step of obtaining the comprehensive trust value of each cross-link node based on the parameter information comprises the following steps:
integrating and updating the parameter information through the following formula to obtain the comprehensive trust value of each cross-link node:
T=w 1 T com +w 2 T time +w 3 T trans +w 4 T h
wherein w is i Representing the weights of the parts, T com Representing communication reliability of cross-link node, T time Representing time credibility, T, of cross-chain nodes trans Representing transaction credibility across chain nodes, T h Representing historical trustworthiness.
The step of determining the initial relay chain node based on the comprehensive trust value comprises the following steps:
dividing the cross-chain nodes into high-reliability nodes, common nodes, low-reliability nodes and disqualified nodes based on the comprehensive trust value;
and taking the high-reliability node, the common node and the low-reliability node as initial relay chain nodes.
And selecting a final relay chain node from the initial relay chain link points, wherein the step of forming a cross-chain system by the final relay chain node comprises the following steps:
each initial relay chain node generates a verifiable random function certificate according to the first random number and the private key of the node;
each initial relay node performs mapping operation on the corresponding verifiable random function evidence to obtain a second random number;
normalizing the second random number to obtain a third random number;
each initial relay node calculates the probability of being selected in the round according to the corresponding comprehensive trust value
Determining whether the corresponding initial relay node can select a relay node of the next round based on the third random number and the selected probability;
the selected initial relay node can verify the random function certification, the second random number and the third random number for broadcasting;
and the other initial relay nodes verify the received information, and the initial relay nodes passing the verification serve as final relay chain nodes so as to form a cross-chain system.
In a second aspect, the present application provides a transaction transfer method, the method comprising:
acquiring transaction information of a source blockchain from a transaction pool by a relay chain in a cross-chain system; wherein the cross-chain system is based on the component method of the cross-chain system as described in any one of the above;
verifying the existence of the transaction information;
if the verification is passed, the transaction in the source blockchain is executed, and the transmission information in the transaction information and the signature information of the relay node in the relay chain are sent to the target blockchain;
the target blockchain analyzes and verifies the received information and completes the transaction through internal consensus.
Before the step of acquiring the transaction information of the source blockchain from the transaction pool by the relay chain in the cross-chain system, the method comprises the following steps:
the source blockchain executes cross-chain transaction to generate corresponding transaction blocks;
the source block chain generates corresponding transmission messages according to a cross-chain information interaction transmission protocol, and signs the messages by using a request node in the source block chain;
the source blockchain sends the signed transfer message to the transaction pool of the relay chain.
In a third aspect, the present application provides an apparatus for building a cross-chain system based on trust evaluation, comprising:
the system comprises a parameter information calculation module, a data processing module and a data processing module, wherein the parameter information calculation module is used for calculating parameter information of a cross-chain node in each blockchain, and the parameter information comprises at least one of communication credibility, time credibility, transaction credibility and historical credibility;
the trust value calculation module is used for obtaining the comprehensive trust value of each cross-link node based on the parameter information;
the initial relay link point confirming module is used for determining an initial relay link node based on the comprehensive trust value;
and the selecting module is used for selecting a final relay chain node from the initial relay chain link points, and the final relay chain node forms a cross-chain system.
In a fourth aspect, the present application provides a transaction transfer device comprising:
the acquisition module is used for acquiring the transaction information of the source blockchain from the transaction pool by utilizing a relay chain in the cross-chain system; wherein the cross-chain system is based on the component method of the cross-chain system of any one of the preceding claims 1-5;
the verification module is used for carrying out existence verification on the transaction information;
the sending module, if the verification is passed, the transaction in the source block chain is executed, and the sending module sends the transmission information in the transaction information and the signature information of the relay node in the relay chain to the target block chain;
and the processing module is used for analyzing and signature verifying the received information by utilizing the target block chain and completing the transaction through internal consensus.
According to the method for constructing the cross-chain system based on trust evaluation, the parameter information of the cross-chain nodes in each blockchain is calculated, wherein the parameter information comprises at least one of communication credibility, time credibility, transaction credibility and historical credibility; obtaining a comprehensive trust value of each cross-link node based on the parameter information; determining an initial relay chain node based on the comprehensive trust value; and selecting a final relay chain node from the initial relay chain link points, wherein the final relay chain node forms a cross-chain system. Therefore, a reliable cross-chain system is safely and efficiently established between mutually independent block chains, node evaluation and trust transfer are realized through a trust model, safe and stable operation of the cross-chain system is ensured, and mutual trust intercommunication of value and information among a plurality of block chains is realized.
Drawings
FIG. 1 is a flow diagram of a first embodiment of a method of constructing a cross-chain system based on trust evaluation of the present application;
FIG. 2 is a schematic diagram of a cross-chain model structure;
FIG. 3 is a flow chart of a first embodiment of the transaction delivery method of the present application;
FIG. 4 is a schematic diagram illustrating the architecture of one embodiment of an apparatus for building a cross-chain system based on trust evaluation in accordance with the present application;
fig. 5 is a schematic structural view of an embodiment of the transaction transmission device of the present application.
Detailed Description
In order to further describe the technical means and effects adopted by the present application to achieve the intended purpose, the present application is described in detail below with reference to the accompanying drawings and the detailed description. The foregoing and other features, aspects, and advantages of the present application will become more apparent from the following detailed description of the preferred embodiments when taken in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application. The drawings are provided for reference and description only and are not intended to limit the technical solution of the present application.
Referring to fig. 1, fig. 1 is a flowchart of a first embodiment of a method for building a cross-chain system based on trust evaluation according to the present application, which specifically includes:
step S11: parameter information of cross-chain nodes in each blockchain is calculated, wherein the parameter information comprises at least one of communication credibility, time credibility, transaction credibility and historical credibility.
Specifically, the communication reliability of the cross-link node is calculated: t (T) com =t normal /t total Wherein t is normal Representing time t when a cross-link node can normally communicate with other nodes after joining a cross-link system total Indicating the total time for the node to join the cross-chain system.
Calculating the time credibility of the cross-link nodes:wherein t is the time that the node has elapsed after joining the cross-chain system, and parameter a (a e Z) is the time regulatory factor; t can be regulated by regulating the value of a time The greater the rate of growth of a, the greater the value of a, T time The slower the growth rate of (c).
Calculating the transaction credibility of the cross-link nodes: t (T) trans =b·(tx/tx 1 +c/c 1 )·t/t 1 Where b is the correlation coefficient, tx is the number of packed transactions that the node participates in after joining the cross-chain system, tx 1 The transaction number determined by the whole system after the node joins the cross-chain system is c is the number of times the node participates in consensus verification, c 1 Is the number of times the system is integrally agreed, t is the time the node has elapsed after joining the cross-link system, t 1 Is a control factor, can control T trans Is a growth rate of (c).
Calculating the historical trustworthiness of the cross-chain node includes: calculating a fluctuation value:
determining a historical confidence level based on the fluctuation value D:
where n represents the number of recorded node trust values,represents the average of n trust values, h i Representing the ith trust value of the node, D is a fluctuation value, xi is a threshold value and T is a threshold value h Representing historical trustworthiness.
Step S12: and obtaining the comprehensive trust value of each cross-link node based on the parameter information.
The comprehensive trust value of the cross-chain node is calculated according to the performance of the node in the cross-chain system.
In an embodiment, the parameter information is integrated and updated by the following formula to obtain the comprehensive trust value of each cross-link node:
T=w 1 T com +w 2 T time +w 3 T trans +w 4 T h
wherein w is i Representing the weights of the parts, T com Representing communication reliability of cross-link node, T time Representing time credibility, T, of cross-chain nodes trans Representing transaction credibility across chain nodes, T h Representing historical trustworthiness.
The system calculates the trust value of each node through monitoring each node, broadcasts the trust value to all member nodes of the chain through consensus uplink, and then updates and maintains the trust value regularly.
Step S13: and determining an initial relay chain node based on the comprehensive trust value.
And dividing the cross-chain nodes into high-reliability nodes, common nodes, low-reliability nodes and disqualified nodes based on the comprehensive trust value. The details are shown in the following table (1):
node trust domain Trust value distribution
High-trust node 0.8≤T≤1
Common node 0.5≤T<0.8
Low trusted node 0<T<0.5
Dislike node T=0
Watch (1)
The disqualified node cannot participate in the election of the relay chain and can only exist in the source block chain; the probability that the low-trusted node is selected as the relay chain node is very low, and even when the low-trusted node is selected, the low-trusted node can only act as an observer node in the relay chain and cannot participate in a verification link of cross-chain consensus. Therefore, the high-reliability node, the common node and the low-reliability node are used as the initial relay chain nodes.
Step S14: and selecting a final relay chain node from the initial relay chain link points, wherein the final relay chain node forms a cross-chain system.
Specifically, the system determines a threshold τ that determines the total number of final relay chain nodes that the present round of algorithm expects to elect. The system generates a first random number s that is recognized by the whole network and broadcast throughout the cross-link network. Each initial relay chain node generates a Verifiable Random Function (VRF) proof of the first random number s and a private key sk of the node; each initial relay node performs mapping operation on the corresponding verifiable random function proof to obtain a second random number random; specifically, each node performs mapping calculation on the VRF function evidence generated by each node through a hash function, and outputs a random value random with random property. Normalizing the second random number random to obtain a third random number; each initial relay node calculates the probability of being selected in the round according to the corresponding comprehensive trust value; determining whether the corresponding initial relay node can select a relay node of the next round based on the third random number and the selected probability; the selected initial relay node can verify the random function certification, the second random number and the third random number for broadcasting; and the other initial relay nodes verify the received information, and the initial relay nodes passing the verification serve as final relay chain nodes so as to form a cross-chain system.
In an embodiment, the specific way that each initial relay node calculates the probability p of being selected in this round according to the corresponding comprehensive trust value is as follows:
c is combined calculation, T is node trust value (trust value is uniformly 100 times expanded and rounded for convenient calculation), ω is weight, expressed as ω=τ/T 1 τ is the threshold determined by the step 1 system, T 1 K takes 0 for all node trust sums.
The election and the construction of the relay chain are to select nodes of the block chain in the system as relay chain nodes. The prior election algorithm takes the calculation power of the node as a reference and takes the medal owned by the node as a reference, and the election algorithm of the application takes the trust value of the node as a reference of election based on the trust value of the node, and fuses VRF random functions, so that the probability of randomly selecting the node with high trust value of the node is larger.
According to the scheme, a reliable cross-chain system is safely and efficiently established between mutually independent blockchains, node evaluation and trust transfer are realized through a trust model, safe and stable operation of the cross-chain system is ensured, and mutual trust intercommunication of value and information among a plurality of blockchains is realized.
The technical scheme of the present application is further described below with reference to examples.
Step one: referring to fig. 2, initializing on the original chain, adding the blockchain A, B, C to the cross-chain network, distributing the ID of each blockchain, recording the node information contained in each blockchain, and as shown in table (2), at this time, starting the operation of the multidimensional credibility module, and calculating the communication credibility, time credibility, transaction credibility and historical credibility of each node by monitoring each blockchain node.
Table (2) unique id identification for each blockchain
Block chain ID identification Comprising nodes
A 01 100
B 02 200
C 03 300
Step two: on the basis of the first step, the communication reliability, the time reliability, the transaction reliability and the historical reliability of each node are integrated and updated, the comprehensive trust value of the node is calculated, and the node is distributed into different trust domains according to the comprehensive trust value of the node and is divided into a high-reliability node, a common node, a low-reliability node and a wrought node.
Step three: and selecting a relay chain node according to the node trust value information in the second step. Specifically, a random number seed generated by each node is calculated, the probability that the node should be selected is calculated by binomial distribution and node trust value, the random number seed is compared with the calculated selected probability, and if the random number seed is larger than the selected probability, the node enters the selected relay chain.
Step four: verifying the result of the step three, if the result is verified, finally adding the selected node into a relay chain, broadcasting related information, and informing all nodes in a cross-chain system that the specific information is shown in a table (3):
table (3) Relay chain node information
Step five: through mutual communication among the selected nodes passing through the verification in the step four, a relay block chain R is formed, and the relay block chain R is responsible for maintaining the stability of a cross-chain system;
step six: after the relay node election is completed, cross-link data interaction can be performed. The relay chain is communicated with each blockchain in the cross-chain system, and the source blockchain, the relay chain and the target blockchain start to operate so as to help package, transfer and verification of transactions among the blockchains.
According to the scheme, a reliable cross-chain system is safely and efficiently established between mutually independent blockchains, node evaluation and trust transfer are realized through a trust model, safe and stable operation of the cross-chain system is ensured, and mutual trust intercommunication of value and information among a plurality of blockchains is realized.
Referring to fig. 3, the present application further provides a transaction transfer method, which specifically includes:
step S31: relay links in the cross-chain system obtain transaction information of the source blockchain from the transaction pool.
Wherein the cross-chain system is based on the component method of the cross-chain system described above in fig. 1.
Specifically, in this embodiment, the source blockchain initiates a cross-chain request, and the relay chain and the target blockchain respond to the request. The source blockchain executes cross-chain transaction to generate corresponding transaction blocks; the source block chain generates corresponding transmission messages according to a cross-chain information interaction transmission protocol, and signs the messages by using a request node in the source block chain; the source block chain sends the signed transmission message to a transaction pool of the relay chain, and waits for the relay chain to carry out relevant verification processing. And acquiring transaction information of the source blockchain from a transaction pool by a relay chain in the cross-chain system, and correspondingly analyzing and verifying the signature.
Step S32: and carrying out existence verification on the transaction information.
Specifically, the relay chain takes out the analyzed transaction content, performs PBFT consensus of the relay chain on the transaction content, and performs existence verification on the transaction through an SPV technology.
Step S33: if the verification is passed, the transaction in the source blockchain is executed, and the transmission information in the transaction information and the signature information of the relay node in the relay chain are sent to the target blockchain.
If the verification passes, indicating that the transaction in the source blockchain has indeed been pre-executed, the transfer message is submitted to the target blockchain and the signature of the relay node is added. The relay link consensus is completed and then the excitation distribution is performed.
Step S34: the target blockchain analyzes and verifies the received information and completes the transaction through internal consensus.
After receiving the message of the relay chain, the target block chain analyzes and signs the message, and completes corresponding transaction through own internal consensus; and after the transaction is completed, sending a corresponding receipt, and completing the whole cross-chain operation.
Specifically, please refer to fig. 2, the transaction process is specifically:
1. blockchain a initiates a cross-chain request, and relay chain R and blockchain B respond to the request.
2. The blockchain A pre-executes the cross-chain transaction to generate a corresponding transaction block.
3. The block chain A sends the signed transmission message to a transaction pool of the relay chain, and waits for the relay chain R to carry out relevant verification processing;
4. the relay chain R takes out the information from the source block chain from the own transaction pool, and carries out corresponding analysis and signature verification;
5. the relay chain takes out the analyzed transaction content, performs PBFT consensus of the relay chain on the transaction content, and performs existence verification on the transaction through an SPV technology;
6. if the verification passes, indicating that the transaction in blockchain A has indeed been pre-executed, the transfer message is submitted to blockchain B and the signature of the relay node is added. After the relay chain R consensus is completed, excitation distribution is carried out;
7. after receiving the message of the relay chain R, the block chain B analyzes and signs the message and completes corresponding transaction through own internal consensus;
8. after all transactions are completed, corresponding receipt is sent, the whole cross-chain operation is completed, and cross-chain information interaction between the block chain A and the block chain B is realized.
According to the scheme, a reliable cross-chain system is safely and efficiently established between mutually independent blockchains, node evaluation and trust transfer are realized through a trust model, safe and stable operation of the cross-chain system is ensured, and mutual trust intercommunication of value and information among a plurality of blockchains is realized.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an apparatus for constructing a cross-chain system based on trust evaluation according to an embodiment of the present application, which includes: the device comprises a parameter information calculation module 41, a trust value calculation module 42, an initial relay chain node confirmation module 43 and a selection module 44. The parameter information calculating module 41 is configured to calculate parameter information of a cross-chain node in each blockchain, where the parameter information includes at least one of communication reliability, time reliability, transaction reliability and historical reliability; the trust value calculation module 42 is configured to obtain a comprehensive trust value of each cross-link node based on the parameter information; the initial relay link point confirmation module 43 is configured to determine an initial relay link node based on the comprehensive trust value; the selecting module 44 is configured to select a final relay link node from the initial relay link points, where the final relay link node forms a cross-link system.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a transaction transmission device according to an embodiment of the application, including: an acquisition module 51, a verification module 52, a transmission module 53 and a processing module 54. The acquiring module 51 is configured to acquire transaction information of a source blockchain from a transaction pool by using a relay chain in a cross-chain system; wherein the cross-chain system is based on the component method of the cross-chain system described in fig. 1; the verification module 52 is used for performing existence verification on the transaction information; if the verification is passed, the sending module 53 sends the transmission information in the transaction information and the signature information of the relay node in the relay chain to the target blockchain, wherein the verification indicates that the transaction in the source blockchain is executed; the processing module 54 is configured to parse and verify the signature of the received information using the target blockchain and complete the transaction via internal consensus.
The foregoing is only an implementation method of the present application, and is not limited to the patent scope of the present application, and all equivalent structures or equivalent processes using the descriptions of the present application and the accompanying drawings, or direct or indirect application in other related technical fields are included in the scope of the present application.

Claims (9)

1. A method of building a cross-chain system based on trust evaluation, comprising:
calculating parameter information of cross-chain nodes in each blockchain, wherein the parameter information comprises at least one of communication credibility, time credibility, transaction credibility and historical credibility;
obtaining a comprehensive trust value of each cross-link node based on the parameter information;
determining an initial relay chain node based on the comprehensive trust value;
and selecting a final relay chain node from the initial relay chain link points, wherein the final relay chain node forms a cross-chain system.
2. The method of claim 1, wherein the step of calculating parameter information for the cross-chain nodes in each blockchain includes:
calculating the communication reliability of the cross-link node: t (T) com =t normal /t total Wherein t is normal Representing time t when a cross-link node can normally communicate with other nodes after joining a cross-link system total Representing the total time for the node to join the cross-chain system;
calculating the time credibility of the cross-link nodes:wherein t is the time that the node has elapsed after joining the cross-chain system, and parameter a (a e Z) is the time regulatory factor;
calculating the transaction credibility of the cross-link nodes: t (T) trans =b·(tx/tx 1 +c/c 1 )·t/t 1 Where b is the correlation coefficient, tx is the number of packed transactions that the node participates in after joining the cross-chain system, tx 1 The transaction number determined by the whole system after the node joins the cross-chain system is c is the number of times the node participates in consensus verification, c 1 Is the number of times the system is integrally agreed, t is the time the node has elapsed after joining the cross-link system, t 1 Is a control factor, can control T trans Is a rate of increase of (2);
calculating the historical trustworthiness of the cross-chain node includes: calculating a fluctuation value:
determining a historical confidence level based on the fluctuation value:
where n represents the number of recorded node trust values,represents the average of n trust values, h i Representing the ith trust value of the node, D is a fluctuation value, xi is a threshold value and T is a threshold value h Representing historical trustworthiness.
3. The method of claim 1, wherein the step of deriving a comprehensive trust value for each cross-link node based on the parameter information comprises:
integrating and updating the parameter information through the following formula to obtain the comprehensive trust value of each cross-link node:
T=w 1 T com +w 2 T time +w 3 T trans +w 4 T h
wherein w is i Representing the weights of the parts, T com Representing communication reliability of cross-link node, T time Representing time credibility, T, of cross-chain nodes trans Representing transaction credibility across chain nodes, T h Representing historical trustworthiness.
4. The method of claim 1, wherein the step of determining an initial relay chain node based on the integrated trust value comprises:
dividing the cross-chain nodes into high-reliability nodes, common nodes, low-reliability nodes and disqualified nodes based on the comprehensive trust value;
and taking the high-reliability node, the common node and the low-reliability node as initial relay chain nodes.
5. The method of claim 1, wherein selecting a final relay chain node from the initial relay link points, the final relay chain nodes comprising a cross-chain system comprises:
each initial relay chain node generates a verifiable random function certificate according to the first random number and the private key of the node;
each initial relay node performs mapping operation on the corresponding verifiable random function evidence to obtain a second random number;
normalizing the second random number to obtain a third random number;
each initial relay node calculates the probability of being selected in the round according to the corresponding comprehensive trust value
Determining whether the corresponding initial relay node can select a relay node of the next round based on the third random number and the selected probability;
the selected initial relay node can verify the random function certification, the second random number and the third random number for broadcasting;
and the other initial relay nodes verify the received information, and the initial relay nodes passing the verification serve as final relay chain nodes so as to form a cross-chain system.
6. A transaction delivery method, the method comprising:
acquiring transaction information of a source blockchain from a transaction pool by a relay chain in a cross-chain system; wherein the cross-chain system is obtained on the basis of the method of any one of the preceding claims 1 to 5;
verifying the existence of the transaction information;
if the verification is passed, the transaction in the source blockchain is executed, and the transmission information in the transaction information and the signature information of the relay node in the relay chain are sent to the target blockchain;
the target blockchain analyzes and verifies the received information and completes the transaction through internal consensus.
7. The method of claim 6, wherein prior to the step of the relay chain in the cross-chain system obtaining the transaction information of the source blockchain from the transaction pool, comprising:
the source blockchain executes cross-chain transaction to generate corresponding transaction blocks;
the source block chain generates corresponding transmission messages according to a cross-chain information interaction transmission protocol, and signs the messages by using a request node in the source block chain;
the source blockchain sends the signed transfer message to the transaction pool of the relay chain.
8. An apparatus for building a cross-chain system based on trust evaluation, comprising:
the system comprises a parameter information calculation module, a data processing module and a data processing module, wherein the parameter information calculation module is used for calculating parameter information of a cross-chain node in each blockchain, and the parameter information comprises at least one of communication credibility, time credibility, transaction credibility and historical credibility;
the trust value calculation module is used for obtaining the comprehensive trust value of each cross-link node based on the parameter information;
the initial relay link point confirming module is used for determining an initial relay link node based on the comprehensive trust value;
and the selecting module is used for selecting a final relay chain node from the initial relay chain link points, and the final relay chain node forms a cross-chain system.
9. A transaction transfer device, comprising:
the acquisition module is used for acquiring the transaction information of the source blockchain from the transaction pool by utilizing a relay chain in the cross-chain system; wherein the cross-chain system is obtained on the basis of the method of any one of the preceding claims 1 to 5;
the verification module is used for carrying out existence verification on the transaction information;
the sending module, if the verification is passed, the transaction in the source block chain is executed, and the sending module sends the transmission information in the transaction information and the signature information of the relay node in the relay chain to the target block chain;
and the processing module is used for analyzing and signature verifying the received information by utilizing the target block chain and completing the transaction through internal consensus.
CN202310566040.1A 2023-05-18 2023-05-18 Method for constructing cross-chain system based on trust evaluation, transaction transfer method and device Pending CN116582550A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310566040.1A CN116582550A (en) 2023-05-18 2023-05-18 Method for constructing cross-chain system based on trust evaluation, transaction transfer method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310566040.1A CN116582550A (en) 2023-05-18 2023-05-18 Method for constructing cross-chain system based on trust evaluation, transaction transfer method and device

Publications (1)

Publication Number Publication Date
CN116582550A true CN116582550A (en) 2023-08-11

Family

ID=87533695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310566040.1A Pending CN116582550A (en) 2023-05-18 2023-05-18 Method for constructing cross-chain system based on trust evaluation, transaction transfer method and device

Country Status (1)

Country Link
CN (1) CN116582550A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116996521A (en) * 2023-09-28 2023-11-03 江西农业大学 Relay committee cross-chain interaction system and method based on trust evaluation model

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116996521A (en) * 2023-09-28 2023-11-03 江西农业大学 Relay committee cross-chain interaction system and method based on trust evaluation model
CN116996521B (en) * 2023-09-28 2023-12-15 江西农业大学 Relay committee cross-chain interaction system and method based on trust evaluation model

Similar Documents

Publication Publication Date Title
Cui et al. RSMA: Reputation system-based lightweight message authentication framework and protocol for 5G-enabled vehicular networks
CN114003584B (en) Bayesian-preemption fault-tolerant consensus method based on evolution game
CN109949034A (en) Block chain common recognition method based on Credibility Assessment
CN110198213A (en) A kind of system based on privacy sharing random number common recognition algorithm
CN115378604B (en) Identity authentication method of edge computing terminal equipment based on reputation value mechanism
CN112540926A (en) Resource allocation fairness federal learning method based on block chain
CN116582550A (en) Method for constructing cross-chain system based on trust evaluation, transaction transfer method and device
CN115499129A (en) Multimode trust cross-chain consensus method, system, medium, equipment and terminal
CN112118239A (en) Block chain consensus method and device, electronic equipment and storage medium
CN112000744A (en) Signature method and related equipment
CN112929845A (en) Vehicle networking node trust evaluation method and system based on block chain
CN110945831A (en) Generation of anti-Sybil attack identities
CN113014635A (en) Node type division method and device of block chain system and block chain system
CN112217683A (en) Cross-heterogeneous-chain data reachability processing method, system, medium, device and terminal
CN115633035B (en) Improved PBFT (physical layer transmission) based block chain consensus algorithm for Internet of things
CN115174570B (en) Cross-chain consensus method and system based on dynamic committee
CN114862397B (en) Double-decoupling block chain distributed method based on double-chain structure
Gao et al. A blockchain peer-to-peer energy trading system for microgrids
CN114301935A (en) Reputation-based method for selecting edge cloud collaborative federated learning nodes of Internet of things
CN114422146B (en) Method for anonymously sequencing main nodes of blockchain
HanataniI et al. A study on computational formal verification for practical cryptographic protocol: the case of synchronous RFID authentication
Zhang et al. An efficient and reliable byzantine fault tolerant blockchain consensus protocol for single-hop wireless networks
CN113946829B (en) Block chain-based Internet of vehicles distributed trust system
CN114900837B (en) Network processing method, device, system, equipment and medium
CN115834512A (en) Data sharing method, system, electronic equipment and storage medium

Legal Events

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