CN111367930A - Method, device, equipment and medium for synchronizing block chain transaction pool information - Google Patents

Method, device, equipment and medium for synchronizing block chain transaction pool information Download PDF

Info

Publication number
CN111367930A
CN111367930A CN202010142842.6A CN202010142842A CN111367930A CN 111367930 A CN111367930 A CN 111367930A CN 202010142842 A CN202010142842 A CN 202010142842A CN 111367930 A CN111367930 A CN 111367930A
Authority
CN
China
Prior art keywords
information
synchronization
preset
transaction pool
determining
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
CN202010142842.6A
Other languages
Chinese (zh)
Other versions
CN111367930B (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.)
Shenzhen University
Original Assignee
Shenzhen 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 Shenzhen University filed Critical Shenzhen University
Priority to CN202010142842.6A priority Critical patent/CN111367930B/en
Publication of CN111367930A publication Critical patent/CN111367930A/en
Application granted granted Critical
Publication of CN111367930B publication Critical patent/CN111367930B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2308Concurrency control
    • G06F16/2315Optimistic concurrency control
    • G06F16/2322Optimistic concurrency control using timestamps
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method, a device, equipment and a medium for synchronizing block chain transaction pool information, wherein the method is applied to a first block chain node and comprises the following steps: when the connection with other second block chain link points is detected, first information of the first block chain link point is obtained, and the time length of a first synchronization window between the first information and second information corresponding to other second block chain link points is obtained; determining whether a difference exists between the first information and the second information after the first synchronization window time length from the current time; if the first information and the second information are different, determining to perform first synchronization of the information according to a first preset synchronization strategy; and if no difference exists, determining to perform second synchronization according to a second preset synchronization strategy, wherein the time lengths of synchronization windows corresponding to the first synchronization and the second synchronization are different. The invention solves the technical problem of resource waste caused by transaction information synchronization among the link points of the existing block.

Description

Method, device, equipment and medium for synchronizing block chain transaction pool information
Technical Field
The present invention relates to the field of blockchain technologies, and in particular, to a method, an apparatus, a device, and a medium for synchronizing blockchain transaction pool information.
Background
The block chain is a process of packing and entering a block based on a stroke of transaction and broadcasting the transaction information to all nodes of the whole network to achieve consensus, wherein an ether house is one of the items of the block chain technology, and based on the existing rules of the ether house, block chain link points record the transaction information generated by the block chain, wherein each running block chain link point locally maintains a transaction pool storing pendingTxs (transaction data which is not packed and enters the block chain block) at the node, because the running environment of the ether house and the size of the transaction pool and the like of each block chain link point are different, the different block chain nodes need to synchronize information, the existing two block chain nodes exchange transaction information with each other when establishing connection, one block chain node also notifies each other to exchange when updating the transaction, information exchange is performed when updating the transaction, and a plurality of rounds of redundant information exchange occur, causing the waste of resources.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a medium for synchronizing block chain transaction pool information, and aims to solve the technical problem of resource waste caused by the synchronization of transaction information among the link nodes of the existing block chain.
In order to achieve the above object, an embodiment of the present invention provides a method for synchronizing blockchain transaction pool information, where the method for synchronizing blockchain transaction pool information is applied to a first blockchain node, and the method for synchronizing blockchain transaction pool information includes:
when the connection with other second block chain link points is detected, acquiring first information of a first transaction pool corresponding to the first block chain link point and a first synchronization window time length of information synchronization between the first information and second information of a second transaction pool corresponding to other second block chain link points;
determining whether a difference exists between the first information and the second information after the first synchronization window time length from the current time;
if the first information and the second information are different, determining to perform first synchronization of the information between the first transaction pool and the second transaction pool according to a first preset synchronization strategy;
and if the first information and the second information are not different, determining to perform second synchronization of the information between the first transaction pool and the second transaction pool according to a second preset synchronization strategy, wherein the time lengths of synchronization windows corresponding to the first synchronization and the second synchronization are different.
Optionally, if there is no difference between the first information and the second information, the step of determining to perform second synchronization of information between the first transaction pool and the second transaction pool according to a second preset synchronization policy includes:
if the first information and the second information are not different, determining the continuous synchronization times of the information between the first transaction pool and the second transaction pool;
and determining the time length of a second synchronization window according to the continuous synchronization times and the time length of the first synchronization window, and performing second synchronization according to the time length of the second synchronization window.
Optionally, if there is a difference between the first information and the second information, the determining that the first synchronization step of the information between the first transaction pool and the second transaction pool according to the first preset synchronization policy includes:
if the first information and the second information have difference, acquiring difference information between the first information and the second information;
and finishing the first synchronization of the information between the first transaction pool and the second transaction pool based on the first synchronization window time length and the first adjustment information.
Optionally, the step of determining whether there is a difference between the first information and the second information after the first synchronization window time length from the current time includes:
after the time length of the first synchronization window is equal to the current time, obtaining first display data bit information obtained after the first information is forwarded to a preset bloom filter, wherein each transaction data unit in the first information is mapped to the display numerical value of the corresponding number of display data bits in the bloom filter in a preset mapping mode;
acquiring non-existing information obtained after the other second block link points are compared based on the first display data bit information and second display data bit information corresponding to the second information;
and if the non-existing information is not null, determining that a difference exists between the first information and the second information.
Optionally, if the non-existence information is not null, the determining that there is a difference between the first information and the second information includes:
the first information is forwarded to a preset reversible bloom lookup table, and is processed based on a preset algorithm in the reversible bloom lookup table to generate a first lookup data bit;
forwarding the uncertain information corresponding to the nonexistence information to a preset reversible bloom lookup table, and processing the uncertain information based on the preset algorithm to generate a second lookup data bit;
and comparing the first search data bit with the second search data bit, and determining misjudgment information so as to carry out information synchronization according to the misjudgment information.
Optionally, the preset algorithm comprises preset algorithm parameters;
before the step of forwarding the first information to a preset reversible bloom look-up table, the method further comprises:
acquiring a first preset number of transaction data units, and determining a first associated number corresponding to the transaction data units in the preset reversible bloom lookup table according to the first preset number and each first preset ratio of the transaction data units in each preset expense partition corresponding to the first preset number;
and determining the size of the algorithm parameter according to the first correlation quantity and a preset scale factor.
Optionally, the step of obtaining the first display data bit information obtained after the first information is forwarded to the preset bloom filter after the first synchronization window time length is equal to the current time includes:
acquiring a second preset number of transaction data units, and determining a second associated number of the transaction data units passing through the preset bloom filter according to the second preset number and each second preset ratio of the transaction data units in each preset expense partition corresponding to the second preset number;
and determining an information forwarding rate for forwarding the first information to a preset bloom filter according to the second correlation quantity, a preset error rate and the preset mapping mode.
The invention also provides a synchronization device of blockchain transaction pool information, which is applied to a first blockchain node, and comprises:
the first acquisition module is used for acquiring first information of a first transaction pool corresponding to the first block link point and a first synchronization window time length of information synchronization between the first information and second information of a second transaction pool corresponding to other second block link points when connection with other second block link points is detected;
a first determining module, configured to determine whether there is a difference between the first information and the second information after a time length of the first synchronization window from a current time;
a second determining module, configured to determine, if there is a difference between the first information and the second information, to perform first synchronization of information between the first transaction pool and the second transaction pool according to a first preset synchronization policy;
a third determining module, configured to determine, if there is no difference between the first information and the second information, to perform second synchronization of information between the first transaction pool and the second transaction pool according to a second preset synchronization policy, where time lengths of synchronization windows corresponding to the first synchronization and the second synchronization are different.
Optionally, the third determining module includes:
a first determining unit, configured to determine, if there is no difference between the first information and the second information, a number of consecutive synchronization times of information between the first transaction pool and the second transaction pool currently;
and the second determining unit is used for determining the time length of a second synchronization window according to the continuous synchronization times and the time length of the first synchronization window, and performing second synchronization according to the time length of the second synchronization window.
Optionally, the second determining module includes:
a first obtaining unit configured to obtain difference information between the first information and the second information if there is a difference between the first information and the second information;
and the first synchronization unit is used for finishing the first synchronization of the information between the first transaction pool and the second transaction pool based on the time length of the first synchronization window and the first adjustment information.
Optionally, the first determining module includes:
the second acquisition unit is used for acquiring first display data bit information obtained after the first information is forwarded to a preset bloom filter after the first synchronization window time length is equal to the current time, wherein each transaction data unit in the first information is mapped to the display numerical value of the corresponding number of display data bits in the bloom filter in a preset mapping mode;
a third obtaining unit, configured to obtain non-existence information obtained after comparing the first display data bit information with second display data bit information corresponding to the second information of the other second block link points;
a third determining unit, configured to determine that there is a difference between the first information and the second information if the absence information is not null.
Optionally, the first determining module includes:
the first processing unit is used for forwarding the first information to a preset reversible bloom lookup table, processing the first information based on a preset algorithm in the reversible bloom lookup table, and generating a first lookup data bit;
the second processing unit is used for forwarding the uncertain information corresponding to the nonexistent information to a preset reversible bloom lookup table, processing the uncertain information based on the preset algorithm and generating a second lookup data bit;
and the comparison unit is used for comparing the first search data bit with the second search data bit, determining misjudgment information and carrying out information synchronization according to the misjudgment information.
Optionally, the preset algorithm comprises preset algorithm parameters;
the synchronization device of the blockchain transaction pool information comprises:
the second acquisition module is used for acquiring a first preset number of transaction data units and determining a first associated number corresponding to the transaction data units in the preset reversible bloom lookup table according to the first preset number and each first preset ratio of the transaction data units in each preset expense partition corresponding to the first preset number;
and the fourth determining module is used for determining the size of the algorithm parameter according to the first correlation quantity and a preset scale factor.
Optionally, the device for synchronizing the blockchain transaction pool information includes:
the third acquisition module is used for acquiring a second preset number of the transaction data units and determining a second associated number of the transaction data units passing through the preset bloom filter according to the second preset number and each second preset proportion of the transaction data units in each preset expense partition corresponding to the second preset number;
and a fifth determining module, configured to determine, according to the second correlation number, a preset error rate, and the preset mapping manner, an information forwarding rate for forwarding the first information to a preset bloom filter.
The invention also provides a medium, wherein a synchronization program of the blockchain transaction pool information is stored on the medium, and when being executed by a processor, the synchronization program of the blockchain transaction pool information realizes the steps of the method for synchronizing the blockchain transaction pool information.
According to the method, when connection with other second block chain link points is detected, first information of a first transaction pool corresponding to the first block chain link point is obtained, and the time length of a first synchronization window of information synchronization between the first information and second information of a second transaction pool corresponding to other second block chain link points is obtained; determining whether a difference exists between the first information and the second information after the first synchronization window time length from the current time; if the first information and the second information are different, determining to perform first synchronization of the information between the first transaction pool and the second transaction pool according to a first preset synchronization strategy; and if the first information and the second information are not different, determining to perform second synchronization of the information between the first transaction pool and the second transaction pool according to a second preset synchronization strategy, wherein the time lengths of synchronization windows corresponding to the first synchronization and the second synchronization are different. In the application, when a first block link point is connected with other second block link points, a first synchronization window time length is determined, information synchronization between first information corresponding to a first transaction pool by the first block link point and second information corresponding to a second transaction pool by other second block link points is determined based on the first synchronization window time length, whether a difference exists between the first information and the second information is determined, and subsequent synchronization of different strategies is performed according to whether the difference exists between the first information and the second information, and because the synchronization window time lengths of different strategy synchronization are different, information exchange (information exchange of a plurality of rounds of redundancy is easy to occur) is performed while transaction update is avoided, but the time or duration for exchanging information can be adjusted to avoid waste of resources, the method also solves the technical problem that the resources are wasted because the information is exchanged only through fixed time between the nodes of the existing block chains.
Drawings
FIG. 1 is a flowchart illustrating a first embodiment of a method for synchronizing blockchain transaction pool information according to the present invention;
fig. 2 is a schematic flowchart illustrating a detailed process of the step of determining to perform the first synchronization of the information between the first transaction pool and the second transaction pool according to the first preset synchronization policy if there is a difference between the first information and the second information in the second embodiment of the synchronization method for blockchain transaction pool information according to the present invention;
FIG. 3 is a schematic diagram of an apparatus architecture of a hardware operating environment to which a method of an embodiment of the invention relates;
fig. 4 is a first scenario diagram illustrating a method for synchronizing blockchain transaction pool information according to the present invention.
FIG. 5 is a diagram illustrating a second scenario of a method for synchronizing blockchain transaction pool information according to the present invention;
FIG. 6 is a diagram illustrating a third scenario of a method for synchronizing blockchain transaction pool information according to the present invention;
fig. 7 is a diagram illustrating a fourth scenario of the method for synchronizing blockchain transaction pool information according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a synchronization method of blockchain transaction pool information, in an embodiment of the synchronization method of blockchain transaction pool information, referring to fig. 1, the synchronization method of blockchain transaction pool information is applied to a first blockchain node, and the synchronization method of blockchain transaction pool information comprises the following steps:
step S10, when detecting that the connection with other second block chain link points is detected, acquiring first information of the first transaction pool corresponding to the first block chain link point and a first synchronization window time length of information synchronization between the first information and second information of the second transaction pool corresponding to other second block chain link points;
step S20, determining whether there is a difference between the first information and the second information after the first synchronization window time length from the current time;
step S30, if there is a difference between the first information and the second information, determining to perform first synchronization of information between the first transaction pool and the second transaction pool according to a first preset synchronization policy;
step S40, if there is no difference between the first information and the second information, determining to perform second synchronization of information between the first transaction pool and the second transaction pool according to a second preset synchronization policy, where time lengths of synchronization windows corresponding to the first synchronization and the second synchronization are different.
The method comprises the following specific steps:
step S10, when detecting that the connection with other second block chain link points is detected, acquiring first information of the first transaction pool corresponding to the first block chain link point and a first synchronization window time length of information synchronization between the first information and second information of the second transaction pool corresponding to other second block chain link points;
it should be noted that, in this embodiment, the synchronization method for blockchain transaction pool information is applied to a first blockchain node, where the first blockchain link point belongs to a synchronization system for blockchain transaction pool information, and is a node (corresponding to one or more blockchain users) in the synchronization system for blockchain transaction pool information, the synchronization system for blockchain transaction pool information further includes a plurality of other second blockchain nodes in addition to the first blockchain node, and it should be noted that, the first blockchain link point and the plurality of other second blockchain link points are in communication connection, the communication connection includes a direct communication connection and an indirect communication connection, so as to synchronize the blockchain transaction pool information, in this embodiment, when the first blockchain link point and the plurality of other second blockchain link points are in direct communication connection, the synchronization of blockchain transaction pool information is specifically described as an example, that is, in this embodiment, a first block link point exchanges information of the transaction pool with a directly communicatively connected second block link point (to avoid redundant exchange or synchronization of information).
In particular, when a first blockchain node detects connection requests of other second blockchain nodes, that is, when detecting that initial connection is made with other second block link points, first information (specifically pending Txs, i.e., transaction data not packed into blockchain blocks)), a first synchronization window time length for information synchronization between second information corresponding to second transaction pools with other second blockchain link points, it should be noted that, the first synchronization window time length may be a minimum time length for the first block link point to exchange transaction pool information with other second block link points, namely, the time length of the first synchronization window can be unit time length t, and the time length of the first synchronization window is t, namely, after t, the information exchange between the first transaction pool and the second transaction pool is triggered.
Step S20, determining whether there is a difference between the first information and the second information after the first synchronization window time length from the current time;
in this embodiment, after the first synchronization window time length is reached from the current time, it is determined whether there is a difference between the first information and the second information, specifically, if the first information in the first transaction pool is Tx1, Tx2, Tx3(Tx represents transaction), and the second information is Tx1, Tx2, Tx3, there is no difference between the first information and the second information, and if the second information is Tx1, Tx2, Tx4, there is a difference between the first information and the second information.
Specifically, the step of determining whether there is a difference between the first information and the second information after the first synchronization window time length from the current time includes:
step S21, after the time length of the first synchronization window is equal to the current time, obtaining first display data bit information obtained after the first information is forwarded to a preset bloom filter, wherein each transaction data unit in the first information is mapped to the display numerical value of the corresponding number of display data bits in the bloom filter in a preset mapping mode;
in this embodiment, after the first synchronization window time length is obtained from the current time, the first information is synchronized for the first time, specifically, the first information is forwarded to a preset bloom filter, the first information is processed based on the preset bloom filter to obtain first display data bit information, that is, each transaction data unit in the first information is mapped based on a preset mapping manner based on the preset bloom filter to obtain display values of a corresponding number of display data bits, specifically, as shown in fig. 4, the bloom filter may be regarded as a binary vector (including a plurality of data bits) having a length of l, the initial values of the data bits are all zero, each transaction data unit is mapped to a display value of a plurality of (3) data bits in the vector (corresponding to the data position 1) by a preset mapping manner, such as a certain hash function, as shown in fig. 1, Tx represents transaction, the first information includes three transaction data units Tx1, Tx2 and Tx3, the three transaction data units are respectively calculated through three preset Hash functions (Tx1 is calculated through three preset Hash functions, Tx2 is calculated through three preset Hash functions, Tx3 is calculated through three preset Hash functions), each transaction data unit can respectively obtain three Hash values, the display numerical value of the data position of the bloom filter corresponding to the three Hash values is set to be 1 from 0, that is, in particular, Tx1 is mapped at the 2, 5, 7 positions of the bloom filter data bits, Tx2 is mapped at the 5, 8, 10 bits of the bloom filter data bits, Tx3 is mapped at the 7, 8, 11 bits of the bloom filter data bits, and the display numerical values corresponding to the 2, 5, 7 positions, 5, 8, 10 positions, 7, 8, 11 positions of the mapping form first display data bit information.
After each transaction data unit Tx in the first information is placed in the bloom filter, when an inquiry instruction is detected, calculating the Tx needing to be inquired again through the previous three preset Hash functions, observing whether the corresponding three data bits are 1, judging that the Tx exists if the three data bits are all 1, and otherwise, judging that the Tx does not exist in the bloom filter.
Step S22, obtaining non-existing information obtained by comparing the other second block link points based on the first display data bit information with second display data bit information corresponding to the second information;
obtaining second information, sending the second information to a bloom filter to obtain corresponding second display data bit information, wherein the process of sending the second information to the bloom filter to obtain the second display data bit information is the same as the process of sending the first information to the bloom filter to obtain the first display data bit information, and will not be described in detail herein, after the first display data bit information and the second display data bit information are obtained, other second block chain nodes compare the first display data bit information with the second display data bit information (or directly with the second information) one by one to obtain nonexistence information, wherein the non-existence information is a transaction data unit with second display data bit information completely different from the first display data bit information, the non-existence information corresponds to uncertain information, the uncertain information is a transaction data unit of which the second display data bit information and the first display data bit information may be different or may be the same. Specifically, for example, the trade pools (TxPool) of the a-block chain node (first block chain node) and the B-block chain node (second block chain node) are TxPool1{ Tx1, Tx2, Tx4}, TxPool2{ Tx1, Tx3, Tx5}, respectively, a compares all trade data units in the trade pool TxPool1 with bloom filters to generate bloom1 (first display data bit information), and sends bloom1 to B, which receives bloom1, and obtains bloom2 (second display data bit information) generated by corresponding to all trade data units in TxPool1, and then compares bloom1, which results in 1, which Tx3 may exist in TxPool1, and Tx5 is determined to be absent, where Tx5 is determined as absent information, Tx1, and 3 are determined as absent information corresponding to absent information.
Step S23, if the non-existence information is not null, determining that there is a difference between the first information and the second information.
If the absence information is not null, such as the presence absence information Tx5, determining that there is a difference between the first information and the second information.
It should be noted that, if there is a difference, corresponding difference information needs to be acquired, where the difference information includes non-existence information.
Step S30, if there is a difference between the first information and the second information, determining to perform first synchronization of information between the first transaction pool and the second transaction pool according to a first preset synchronization policy;
if there is a difference between the first information and the second information, determining to perform a first synchronization of information between the first transaction pool and the second transaction pool according to a first preset synchronization policy, specifically, in the first preset synchronization policy, synchronization time intervals of different times of synchronization are not changed or are the same and are all a first synchronization window time length, specifically, for example, if there is a difference between the first information and the second information, performing a next synchronization again through the first synchronization window time length, if there is a difference in information between the first transaction pool and the second transaction pool in a next synchronization process, continuing to perform a next synchronization after the next synchronization through the first synchronization window time length until there is no difference in information between the first transaction pool and the second transaction pool, and then performing an exchange of information between the first transaction pool and the second transaction pool based on other synchronization window time lengths, wherein the other synchronization window time lengths are greater than the first synchronization window time length.
Step S40, if there is no difference between the first information and the second information, determining to perform second synchronization of information between the first transaction pool and the second transaction pool according to a second preset synchronization policy, where time lengths of synchronization windows corresponding to the first synchronization and the second synchronization are different.
And if the first information and the second information are not different, determining to perform second synchronization of the information between the first transaction pool and the second transaction pool according to a second preset synchronization strategy, wherein the synchronization window time lengths corresponding to the first synchronization and the second synchronization are different, and the synchronization window time length of the first synchronization is greater than that of the first synchronization.
If there is no difference between the first information and the second information, the step of determining to perform second synchronization of information between the first transaction pool and the second transaction pool according to a second preset synchronization policy includes:
step S41, if there is no difference between the first information and the second information, determining the number of continuous synchronization times of information between the first transaction pool and the second transaction pool;
if the first information and the second information are not different, determining the continuous synchronization times of the information between the first transaction pool and the second transaction pool, namely determining the continuous same times of the information between the first transaction pool and the second transaction pool.
Step S42, determining a second synchronization window time length according to the continuous synchronization times and the first synchronization window time length, and performing the second synchronization according to the second synchronization window time length.
And determining the time length of a second synchronization window according to the continuous synchronization times and the time length of the first synchronization window, wherein the time length of the second synchronization window is obtained by multiplying the continuous synchronization times and the time length of the first synchronization window.
Specifically, for example, as shown in fig. 5, in a first step, when a first block link point and another second block link point are connected to each other, the time length of a first synchronization window is t, that is, synchronization between first information and second information is triggered after t elapses, in a second step, if there is a difference between the first information and the second information or between information of a first transaction pool and information of a second transaction pool, the corresponding adjustment window length is the time length of the first synchronization window, timing is restarted after information is exchanged, a second synchronization is triggered after t elapses, and in a third step, if there is no difference between the second exchanged information (information between the first transaction pool and the second transaction pool) at this time, the adjustment window length is changed to 2t, and a third synchronization is triggered after 2t elapses. And fourthly, if no difference exists in the information exchange for the third time, setting the length of the adjusting window to be 4t, and so on.
And fifthly, if the difference is found in any one of the third step and the fourth step, resetting the length of the adjusting window to t and restarting timing.
Specifically, if the average time of the currently generated blockchain block is 15 seconds, 15 transactions can be processed in average per second, and if the performance of processing transactions per second and the number of new transactions generated per second are 15 to 20, that is, the transaction pool has a change of 15 to 20 transactions per second, the length of the adjustment window is set to be 1 second.
According to the method, when connection with other second block chain link points is detected, first information of a first transaction pool corresponding to the first block chain link point is obtained, and the time length of a first synchronization window of information synchronization between the first information and second information of a second transaction pool corresponding to other second block chain link points is obtained; determining whether a difference exists between the first information and the second information after the first synchronization window time length from the current time; if the first information and the second information are different, determining to perform first synchronization of the information between the first transaction pool and the second transaction pool according to a first preset synchronization strategy; and if the first information and the second information are not different, determining to perform second synchronization of the information between the first transaction pool and the second transaction pool according to a second preset synchronization strategy, wherein the time lengths of synchronization windows corresponding to the first synchronization and the second synchronization are different. In the application, when a first block link point is connected with other second block link points, a first synchronization window time length is determined, information synchronization between first information corresponding to a first transaction pool by the first block link point and second information corresponding to a second transaction pool by other second block link points is determined based on the first synchronization window time length, whether a difference exists between the first information and the second information is determined, and subsequent synchronization of different strategies is performed according to whether the difference exists between the first information and the second information, and because the synchronization window time lengths of different strategy synchronization are different, information exchange (information exchange of a plurality of rounds of redundancy is easy to occur) is performed while transaction update is avoided, but the time or duration for exchanging information can be adjusted to avoid waste of resources, the method also solves the technical problem that the resources are wasted because the information is exchanged only through fixed time between the nodes of the existing block chains.
Further, based on the foregoing embodiment, another embodiment of the synchronization method for blockchain transaction pool information provided by the present invention is provided, referring to fig. 2, in this embodiment, if there is a difference between the first information and the second information, the determining to perform a first synchronization step of information between the first transaction pool and the second transaction pool according to a first preset synchronization policy includes:
step S31, if there is a difference between the first information and the second information, acquiring difference information between the first information and the second information;
if there is a difference between the first information and the second information, obtaining difference information between the first information and the second information (i.e. information existing in the second information but not existing in the first information), in this embodiment, the difference information includes different sub information in the nonexistence information and the uncertainty information, for example, TxPool1{ Tx1, Tx2, Tx4}, TxPool2{ Tx1, Tx3, Tx5} of the a-block chain node (first-block chain node) and the B-block chain node (second-block chain node), respectively, where a generates a blob 1 (first display data bit information) by using a bloom filter for all transaction data units in the transaction pool TxPool1, and sends the blob 1 to B, B receives the blob 1, compares the blob 2 (second display data bit information) generated by all transaction data units in the TxPool2 with the corresponding generated display data, and obtains possible presence of the txlog 2 (second display data 1, 1, the Tx5 confirms that the information does not exist, wherein Tx5 confirms that the information does not exist, Tx1, Tx3 is uncertain information corresponding to the nonexistence information, wherein Tx3 is different sub information in the uncertain information, and after the different sub information is obtained, difference information is obtained according to the different sub information and the nonexistence information.
Step S32, completing the first synchronization of information between the first transaction pool and the second transaction pool based on the first synchronization window time length and the difference information.
And adjusting the first information according to the difference information to obtain first adjustment information, specifically, after a time length of a first synchronization window, adding the difference information to the first information to obtain first adjustment information, wherein it needs to be explained that second information also needs to be adjusted, and a manner of adjusting the second information is basically the same as that of adjusting the first information, and is not repeated herein, and the first synchronization of information between the first transaction pool and the second transaction pool is completed based on the time length of the first synchronization window and the difference information.
In this embodiment, if there is a difference between the first information and the second information, difference information between the first information and the second information is obtained; and finishing the first synchronization of the information between the first transaction pool and the second transaction pool based on the time length of the first synchronization window and the difference information, wherein in the embodiment, the synchronization of the difference information is finished accurately and timely.
Further, based on the foregoing embodiment, the present invention provides another embodiment of a method for synchronizing blockchain transaction pool information, in which, if the non-existing information is not empty, the determining that there is a difference between the first information and the second information includes:
step A1, forwarding the first information to a preset reversible bloom lookup table, and processing the first information based on a preset algorithm in the reversible bloom lookup table to generate a first lookup data bit;
in this embodiment, because the number of bits of the data bits of the bloom filter is limited, the data bit sharing increases with the increase of the transaction data units passing through the bloom filter, so that there is a possibility of erroneous judgment, for example, after the Tx4 is subjected to Hash calculation, the positions of the Tx4 mapped on the bloom filter are calculated to be 5, 7, and 8 bits, at this time, since three transactions Tx1, Tx2, and Tx3 all have one mapping bit in 5, 7, and 8, respectively, the query Tx4 judges that the Tx exists, and the actual bloom filter has only 3 Tx, at this time, there is an error in judgment. In order to reduce errors, in this embodiment, the first information is forwarded to a preset reversible bloom look-up table (IBLT, an IBLT is characterized by that a difference between two IBLTs can be found), and the first information is processed based on a preset algorithm in the reversible bloom look-up table to generate a first look-up data bit, i.e., IBLT 1.
Step A2, forwarding the uncertain information corresponding to the non-existing information to a preset reversible bloom lookup table, and processing the uncertain information based on the preset algorithm to generate a second lookup data bit;
the uncertain information corresponding to the non-existing information is forwarded to a preset reversible bloom lookup table, the uncertain information is processed based on a preset algorithm, and a second lookup data bit IBLT2 is generated, it should be noted that IBLT is characterized in that a difference between two IBLTs can be found out, for example, IBLT of one transaction data unit is IBLT3, at this time, another transaction data unit to be compared generates an IBLT4, and the IBLT3 is subtracted from IBLT4 to perform an exclusive or operation to obtain misjudged data, as shown in fig. 6, a specific difference can be obtained by subtracting two IBLTs, that is, it is known that D and X are a difference between two IBLTs.
Step A3, comparing the first search data bit with the second search data bit, determining misjudgment information, and performing information synchronization according to the misjudgment information.
As shown above, the first search data bit and the second search data bit are compared, and an exclusive or operation is performed to determine misjudgment information, so as to perform information synchronization according to the misjudgment information.
In this embodiment, the first information is forwarded to a preset reversible bloom lookup table, and is processed based on a preset algorithm in the reversible bloom lookup table to generate a first lookup data bit; forwarding the uncertain information corresponding to the nonexistence information to a preset reversible bloom lookup table, and processing the uncertain information based on the preset algorithm to generate a second lookup data bit; and comparing the first search data bit with the second search data bit, and determining misjudgment information so as to carry out information synchronization according to the misjudgment information. In this embodiment, by presetting the setting of the reversible bloom lookup table, erroneous judgment caused by the bloom filter is reduced.
Further, based on the foregoing embodiment, the another embodiment of the synchronization method for blockchain transaction pool information provided by the present invention, in this embodiment, before the step of obtaining the first information and forwarding the first information to the first display data bit information obtained after the step of obtaining the first information and forwarding the first information to the preset bloom filter after the time length of the first synchronization window is from the current time, the method includes:
step B1, obtaining a second preset number of transaction data units, and determining a second associated number of transaction data units passing through the preset bloom filter according to the second preset number and each second preset proportion of the transaction data units in each preset expense partition corresponding to the second preset number;
step B2, determining an information forwarding rate for forwarding the first information to a preset bloom filter according to the second correlation number, a preset error rate and the preset mapping mode.
In this embodiment, it should be noted that the error rate formula of the preset bloom filter is as follows:
Figure BDA0002398825800000151
k represents the number of Hash functions selected, n represents the number of elements (number of transaction data units) that need to be inserted into the bloom filter, and m represents the length (information forwarding rate) of the bloom filter.
Obtaining a second preset number of transaction data units, as shown in fig. 7, where the second preset number is 5078 transaction data units, determining a second associated number of transaction data units passing through the preset bloom filter according to the second preset number and a second preset proportion of the transaction data units in each preset fee partition corresponding to the second preset number, that is, specifically, pre-dividing 5078 transactions according to gasbridge (procedure fee), finding that gasbridge is smaller than 58.55% (second preset proportion) of the total transaction proportion of preset 18Gwei (preset fee partition), and if the unsynchronized transactions in the transaction pool are transactions with gasbridge smaller than 18Gwei, n is 4800 is 3/5 is 2880 (second associated number), k may be 3 (preset mapping manner) default in the bloom filter, and if the allowable error rate is 0.001, that is P is 0.001, then m 82285bit 10285Byte 10 KB. That is, when the designed bloom filter false positive rate is 0.001, the size of the message forwarding rate is 10KB, that is, the size of each message exchange is 10 KB.
Further, the preset algorithm comprises preset algorithm parameters;
before the step of forwarding the first information to a preset reversible bloom look-up table, the method further comprises:
step C1, acquiring a first preset number of transaction data units, and determining a first associated number corresponding to the transaction data units in the preset reversible bloom lookup table according to the first preset number and each first preset ratio of the transaction data units in each preset expense partition corresponding to the first preset number;
and step C2, determining the size of the algorithm parameter according to the first correlation quantity and a preset scale factor.
In this embodiment, specific values of parameters in a preset reversible bloom lookup table need to be obtained in advance, so as to obtain algorithm parameters, and then perform information processing, specifically, a first preset number of transaction data units is obtained first, a first associated number (similar to a second associated number obtaining manner) corresponding to the transaction data units in the preset reversible bloom lookup table is determined according to the first preset number and first preset occupation ratios of the transaction data units in the first preset number to each preset expense partition, the size of the algorithm parameters is determined according to the first associated number and preset scale factors, specifically, the preset reversible bloom lookup table needs to obtain the first associated number, and then each corresponding transaction data unit is inserted into a lattice of a table, and then the algorithm parameters can be obtained based on the first associated number j and the scale factor τ (preset scale factor), i.e., c ═ j τ), the size of the algorithm parameters is determined to determine a preset algorithm to accurately process the information.
In this embodiment, a second associated number of the transaction data units passing through the preset bloom filter is determined by obtaining a second preset number of the transaction data units and according to the second preset number and a second preset proportion of the transaction data units in each preset expense partition corresponding to the second preset number; and determining an information forwarding rate for forwarding the first information to a preset bloom filter according to the second correlation quantity, a preset error rate and the preset mapping mode. In the present embodiment, determination is made.
Referring to fig. 3, fig. 3 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
The synchronization device of the blockchain transaction pool information in the embodiment of the invention can be a PC, and can also be a terminal device such as a smart phone, a tablet computer, a portable computer and the like.
As shown in fig. 3, the synchronization device for blockchain transaction pool information may include: a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002. The communication bus 1002 is used for realizing connection communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a memory device separate from the processor 1001 described above.
Optionally, the device for synchronizing the blockchain transaction pool information may further include a target user interface, a network interface, a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. The target user interface may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the selectable target user interfaces may also include standard wired interfaces, wireless interfaces. The network interface optionally may include a standard wired interface, a wireless interface (e.g., WI-FI interface).
Those skilled in the art will appreciate that the synchronization facility configuration of blockchain transaction pool information shown in fig. 3 does not constitute a limitation of the synchronization facility of blockchain transaction pool information and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 3, the memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, and a synchronization program of blockchain transaction pool information. The operating system is a program that manages and controls the synchronization device hardware and software resources for blockchain transaction pool information, supports the synchronization procedures for blockchain transaction pool information, and the execution of other software and/or programs. The network communication module is used for realizing communication among the components in the memory 1005 and communication with other hardware and software in the synchronization device of the blockchain transaction pool information.
In the synchronization apparatus for blockchain transaction pool information shown in fig. 3, the processor 1001 is configured to execute a synchronization procedure for blockchain transaction pool information stored in the memory 1005, so as to implement the steps of any one of the synchronization methods for blockchain transaction pool information described above.
The specific implementation of the synchronization device for blockchain transaction pool information of the present invention is basically the same as that of each embodiment of the synchronization method for blockchain transaction pool information, and is not described herein again.
In addition, an embodiment of the present invention further provides a synchronization apparatus for blockchain transaction pool information, where the synchronization apparatus for blockchain transaction pool information is applied to a first blockchain node, and the synchronization apparatus for blockchain transaction pool information includes:
the first acquisition module is used for acquiring first information of a first transaction pool corresponding to the first block link point and a first synchronization window time length of information synchronization between the first information and second information of a second transaction pool corresponding to other second block link points when connection with other second block link points is detected;
a first determining module, configured to determine whether there is a difference between the first information and the second information after a time length of the first synchronization window from a current time;
a second determining module, configured to determine, if there is a difference between the first information and the second information, to perform first synchronization of information between the first transaction pool and the second transaction pool according to a first preset synchronization policy;
a third determining module, configured to determine, if there is no difference between the first information and the second information, to perform second synchronization of information between the first transaction pool and the second transaction pool according to a second preset synchronization policy, where time lengths of synchronization windows corresponding to the first synchronization and the second synchronization are different.
Optionally, the third determining module includes:
a first determining unit, configured to determine, if there is no difference between the first information and the second information, a number of consecutive synchronization times of information between the first transaction pool and the second transaction pool currently;
and the second determining unit is used for determining the time length of a second synchronization window according to the continuous synchronization times and the time length of the first synchronization window, and performing second synchronization according to the time length of the second synchronization window.
Optionally, the second determining module includes:
a first obtaining unit configured to obtain difference information between the first information and the second information if there is a difference between the first information and the second information;
and the first synchronization unit is used for finishing the first synchronization of the information between the first transaction pool and the second transaction pool based on the time length of the first synchronization window and the first adjustment information.
Optionally, the first determining module includes:
the second acquisition unit is used for acquiring first display data bit information obtained after the first information is forwarded to a preset bloom filter after the first synchronization window time length is equal to the current time, wherein each transaction data unit in the first information is mapped to the display numerical value of the corresponding number of display data bits in the bloom filter in a preset mapping mode;
a third obtaining unit, configured to obtain non-existence information obtained after comparing the first display data bit information with second display data bit information corresponding to the second information of the other second block link points;
a third determining unit, configured to determine that there is a difference between the first information and the second information if the absence information is not null.
Optionally, the first determining module includes:
the first processing unit is used for forwarding the first information to a preset reversible bloom lookup table, processing the first information based on a preset algorithm in the reversible bloom lookup table, and generating a first lookup data bit;
the second processing unit is used for forwarding the uncertain information corresponding to the nonexistent information to a preset reversible bloom lookup table, processing the uncertain information based on the preset algorithm and generating a second lookup data bit;
and the comparison unit is used for comparing the first search data bit with the second search data bit, determining misjudgment information and carrying out information synchronization according to the misjudgment information.
Optionally, the preset algorithm comprises preset algorithm parameters;
the synchronization device of the blockchain transaction pool information comprises:
the second acquisition module is used for acquiring a first preset number of transaction data units and determining a first associated number corresponding to the transaction data units in the preset reversible bloom lookup table according to the first preset number and each first preset ratio of the transaction data units in each preset expense partition corresponding to the first preset number;
and the fourth determining module is used for determining the size of the algorithm parameter according to the first correlation quantity and a preset scale factor.
Optionally, the device for synchronizing the blockchain transaction pool information includes:
the third acquisition module is used for acquiring a second preset number of the transaction data units and determining a second associated number of the transaction data units passing through the preset bloom filter according to the second preset number and each second preset proportion of the transaction data units in each preset expense partition corresponding to the second preset number;
and a fifth determining module, configured to determine, according to the second correlation number, a preset error rate, and the preset mapping manner, an information forwarding rate for forwarding the first information to a preset bloom filter.
The specific implementation of the synchronization apparatus for blockchain transaction pool information is basically the same as that of each embodiment of the synchronization method for blockchain transaction pool information, and is not described herein again.
In addition, the present invention also provides a computer medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the embodiments of the synchronization method for blockchain transaction pool information.
The expanding contents of the specific implementation of the device and the medium (i.e., the computer medium) of the present invention are basically the same as those of the above embodiments of the synchronization method for the blockchain transaction pool information, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A synchronization method of blockchain transaction pool information is applied to a first blockchain node, and comprises the following steps:
when the connection with other second block chain link points is detected, acquiring first information of a first transaction pool corresponding to the first block chain link point and a first synchronization window time length of information synchronization between the first information and second information of a second transaction pool corresponding to other second block chain link points;
determining whether a difference exists between the first information and the second information after the first synchronization window time length from the current time;
if the first information and the second information are different, determining to perform first synchronization of the information between the first transaction pool and the second transaction pool according to a first preset synchronization strategy;
and if the first information and the second information are not different, determining to perform second synchronization of the information between the first transaction pool and the second transaction pool according to a second preset synchronization strategy, wherein the time lengths of synchronization windows corresponding to the first synchronization and the second synchronization are different.
2. The method for synchronizing blockchain transaction pool information according to claim 1, wherein the step of determining that the second synchronization of the information between the first transaction pool and the second transaction pool is performed according to a second predetermined synchronization policy if there is no difference between the first information and the second information comprises:
if the first information and the second information are not different, determining the continuous synchronization times of the information between the first transaction pool and the second transaction pool;
and determining the time length of a second synchronization window according to the continuous synchronization times and the time length of the first synchronization window, and performing second synchronization according to the time length of the second synchronization window.
3. The method for synchronizing blockchain transaction pool information according to claim 1, wherein the determining a first synchronization step of information between the first transaction pool and the second transaction pool according to a first predetermined synchronization policy if there is a difference between the first information and the second information comprises:
if the first information and the second information have difference, acquiring difference information between the first information and the second information;
and finishing the first synchronization of the information between the first transaction pool and the second transaction pool based on the time length of the first synchronization window and the difference information.
4. The method for synchronizing blockchain transaction pool information according to any one of claims 1 to 3, wherein the step of determining whether there is a difference between the first information and the second information after the first synchronization window time length from the current time includes:
after the time length of the first synchronization window is equal to the current time, obtaining first display data bit information obtained after the first information is forwarded to a preset bloom filter, wherein each transaction data unit in the first information is mapped to the display numerical value of the corresponding number of display data bits in the bloom filter in a preset mapping mode;
acquiring non-existing information obtained after the other second block link points are compared based on the first display data bit information and second display data bit information corresponding to the second information;
and if the non-existing information is not null, determining that a difference exists between the first information and the second information.
5. The method for synchronizing blockchain transaction pool information according to claim 4, wherein the step of determining that there is a difference between the first information and the second information if the non-existing information is not empty includes:
the first information is forwarded to a preset reversible bloom lookup table, and is processed based on a preset algorithm in the reversible bloom lookup table to generate a first lookup data bit;
forwarding the uncertain information corresponding to the nonexistence information to a preset reversible bloom lookup table, and processing the uncertain information based on the preset algorithm to generate a second lookup data bit;
and comparing the first search data bit with the second search data bit, and determining misjudgment information so as to carry out information synchronization according to the misjudgment information.
6. The method for synchronizing blockchain transaction pool information according to claim 5, wherein the predetermined algorithm includes predetermined algorithm parameters;
before the step of forwarding the first information to a preset reversible bloom look-up table, the method further comprises:
acquiring a first preset number of transaction data units, and determining a first associated number corresponding to the transaction data units in the preset reversible bloom lookup table according to the first preset number and each first preset ratio of the transaction data units in each preset expense partition corresponding to the first preset number;
and determining the size of the algorithm parameter according to the first correlation quantity and a preset scale factor.
7. The method for synchronizing blockchain transaction pool information according to claim 4, wherein the step of obtaining the first display data bit information obtained after the first information is forwarded to the preset bloom filter after the first synchronization window time length is away from the current time comprises:
acquiring a second preset number of transaction data units, and determining a second associated number of the transaction data units passing through the preset bloom filter according to the second preset number and each second preset ratio of the transaction data units in each preset expense partition corresponding to the second preset number;
and determining an information forwarding rate for forwarding the first information to a preset bloom filter according to the second correlation quantity, a preset error rate and the preset mapping mode.
8. A synchronization device for blockchain transaction pool information is applied to a first blockchain node, and comprises:
the first acquisition module is used for acquiring first information of a first transaction pool corresponding to the first block link point and a first synchronization window time length of information synchronization between the first information and second information of a second transaction pool corresponding to other second block link points when connection with other second block link points is detected;
a first determining module, configured to determine whether there is a difference between the first information and the second information after a time length of the first synchronization window from a current time;
a second determining module, configured to determine, if there is a difference between the first information and the second information, to perform first synchronization of information between the first transaction pool and the second transaction pool according to a first preset synchronization policy;
a third determining module, configured to determine, if there is no difference between the first information and the second information, to perform second synchronization of information between the first transaction pool and the second transaction pool according to a second preset synchronization policy, where time lengths of synchronization windows corresponding to the first synchronization and the second synchronization are different.
9. An apparatus for synchronizing blockchain transaction pool information, the apparatus comprising: memory, a processor and a synchronization program of blockchain transaction pool information stored on the memory and executable on the processor, the synchronization program of blockchain transaction pool information implementing the steps of the method of synchronizing blockchain transaction pool information according to any one of claims 1 to 7 when executed by the processor.
10. A medium having stored thereon a synchronization program for blockchain transaction pool information, the synchronization program for blockchain transaction pool information implementing the steps of the method for synchronizing blockchain transaction pool information according to any one of claims 1 to 7 when executed by a processor.
CN202010142842.6A 2020-03-03 2020-03-03 Method, device, equipment and medium for synchronizing block chain transaction pool information Active CN111367930B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010142842.6A CN111367930B (en) 2020-03-03 2020-03-03 Method, device, equipment and medium for synchronizing block chain transaction pool information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010142842.6A CN111367930B (en) 2020-03-03 2020-03-03 Method, device, equipment and medium for synchronizing block chain transaction pool information

Publications (2)

Publication Number Publication Date
CN111367930A true CN111367930A (en) 2020-07-03
CN111367930B CN111367930B (en) 2023-03-17

Family

ID=71206645

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010142842.6A Active CN111367930B (en) 2020-03-03 2020-03-03 Method, device, equipment and medium for synchronizing block chain transaction pool information

Country Status (1)

Country Link
CN (1) CN111367930B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116030846A (en) * 2022-05-30 2023-04-28 荣耀终端有限公司 Timing jump synchronization method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108182635A (en) * 2017-12-18 2018-06-19 深圳前海微众银行股份有限公司 Block chain common recognition method, system and computer readable storage medium
CN108683539A (en) * 2018-05-21 2018-10-19 腾讯科技(深圳)有限公司 Management method, device, medium and the electronic equipment of block chain network
CN108712491A (en) * 2018-05-17 2018-10-26 易链科技(深圳)有限公司 Block chain node, exchange information processing method, terminal device and medium
CN109493202A (en) * 2018-09-27 2019-03-19 深圳壹账通智能科技有限公司 Block chain account checking method, device, system, equipment and readable storage medium storing program for executing
CN109639751A (en) * 2018-10-16 2019-04-16 平安科技(深圳)有限公司 Block chain node monitoring method, device, system and computer storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108182635A (en) * 2017-12-18 2018-06-19 深圳前海微众银行股份有限公司 Block chain common recognition method, system and computer readable storage medium
CN108712491A (en) * 2018-05-17 2018-10-26 易链科技(深圳)有限公司 Block chain node, exchange information processing method, terminal device and medium
CN108683539A (en) * 2018-05-21 2018-10-19 腾讯科技(深圳)有限公司 Management method, device, medium and the electronic equipment of block chain network
CN109493202A (en) * 2018-09-27 2019-03-19 深圳壹账通智能科技有限公司 Block chain account checking method, device, system, equipment and readable storage medium storing program for executing
CN109639751A (en) * 2018-10-16 2019-04-16 平安科技(深圳)有限公司 Block chain node monitoring method, device, system and computer storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116030846A (en) * 2022-05-30 2023-04-28 荣耀终端有限公司 Timing jump synchronization method and electronic equipment
CN116030846B (en) * 2022-05-30 2023-10-20 荣耀终端有限公司 Timing jump synchronization method and electronic equipment

Also Published As

Publication number Publication date
CN111367930B (en) 2023-03-17

Similar Documents

Publication Publication Date Title
AU2016382908B2 (en) Short link processing method, device and server
KR20210042161A (en) Data synchronization method and apparatus, medium, and electronic device for distributed system
US11107079B2 (en) Methods, systems, apparatuses and devices for verifying credibility of consortium blockchain
CN111460474B (en) Method, device, memory and computer for implementing decentralization predictor
US9594820B2 (en) Apparatus, and associated method, for synchronizing a group of data objects
CN110601978B (en) Flow distribution control method and device
CN112566033B (en) Feature uploading and acquiring method and device for wireless signal
CN111367930B (en) Method, device, equipment and medium for synchronizing block chain transaction pool information
WO2019015040A1 (en) Signal strength based frequency point selection method and internet of things terminal
CN109600254B (en) Method for generating full-link log and related system
CN112968793B (en) Equipment upgrading method, device, equipment and storage medium based on Internet of things
CN111159131A (en) Performance optimization method, device, equipment and computer readable storage medium
CN104618324A (en) Method and device for transmitting data and detecting data legality
CN113452770A (en) Data synchronization method and device, computer equipment and storage medium
CN109450684B (en) Method and device for expanding physical node capacity of network slicing system
CN109688176B (en) File synchronization method, terminal, network device and storage medium
CN111371536A (en) Control instruction sending method and device
CN113395762A (en) Position correction method and device in ultra-wideband positioning network
CN111176715A (en) Information calling method and server
CN104581936A (en) Positioning method and device
CN110968453A (en) Data storage method and device
CN117290560B (en) Method and device for acquiring graph data in graph calculation task
CN103916426A (en) Paxos example updating method, device and system
CN115168440A (en) Data read-write method, distributed storage system, device, equipment and storage medium
CN114205044A (en) Time synchronization method, device, system and computer storage medium

Legal Events

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