CN111355797B - Data reconciliation updating method, device, computer equipment and storage medium - Google Patents

Data reconciliation updating method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN111355797B
CN111355797B CN202010124353.8A CN202010124353A CN111355797B CN 111355797 B CN111355797 B CN 111355797B CN 202010124353 A CN202010124353 A CN 202010124353A CN 111355797 B CN111355797 B CN 111355797B
Authority
CN
China
Prior art keywords
resource transfer
transfer data
reconciliation
local
reconciled
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010124353.8A
Other languages
Chinese (zh)
Other versions
CN111355797A (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.)
Ping An E Wallet Electronic Commerce Co Ltd
Original Assignee
Ping An E Wallet Electronic Commerce Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An E Wallet Electronic Commerce Co Ltd filed Critical Ping An E Wallet Electronic Commerce Co Ltd
Priority to CN202010124353.8A priority Critical patent/CN111355797B/en
Publication of CN111355797A publication Critical patent/CN111355797A/en
Application granted granted Critical
Publication of CN111355797B publication Critical patent/CN111355797B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Signal Processing (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to the technical field of blockchain, and provides a data reconciliation updating method, a device, computer equipment and a storage medium. The method comprises the following steps: when the local resource transfer data update is detected, sending a reconciliation request to a target node, wherein the reconciliation request is used for indicating the target node to feed back a to-be-reconciled set and parameters of the to-be-reconciled set; receiving the parameters of the to-be-regulated and the to-be-regulated sets, and obtaining a local regulating set according to the parameters of the to-be-regulated sets and updated local resource transfer data; carrying out logic operation processing on each characteristic value in the to-be-reconciled set and each characteristic value corresponding to the local reconciliation set respectively to obtain a reconciliation difference set; decoding the reconciliation difference set, determining a to-be-reconciled resource transfer data identifier, and generating a resource data acquisition request according to the to-be-reconciled resource transfer data identifier; and sending a resource data acquisition request to the target node, receiving target resource transfer data fed back by the target node, and updating the data according to the target resource transfer data. The method can improve the robustness of the Ethernet.

Description

Data reconciliation updating method, device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of blockchain technologies, and in particular, to a method, an apparatus, a computer device, and a storage medium for data reconciliation update.
Background
With the development of computer technology, ethernet has emerged. Ethernet is a world-class blockchain project, with a large number of ethernet nodes existing around the world, all of which are interconnected by p2p modules. Information, such as broadcast transactions, broadcast blocks, etc., is exchanged between ethernet nodes at every moment. The existing ethernet workshop adopts a "flood irrigation" mode in broadcasting transactions, namely, the transaction is sent to all nodes connected with the ethernet workshop, and the other node receives the transaction and sends the transaction again to all nodes connected with the ethernet workshop.
However, such broadcast transaction methods occupy a large bandwidth, which can affect connectivity between ethernet nodes and reduce robustness of ethernet.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a data reconciliation and update method, apparatus, computer device, and storage medium that can improve the robustness of an ethernet network.
A method of reconciliation updating of data, the method comprising:
when the local resource transfer data update is detected, sending a reconciliation request to a target node, wherein the reconciliation request is used for indicating the target node to feed back a to-be-reconciled set and parameters of the to-be-reconciled set;
Receiving the parameters of the to-be-regulated and the to-be-regulated sets, and obtaining a local regulating set according to the parameters of the to-be-regulated sets and updated local resource transfer data;
carrying out logic operation processing on each characteristic value in the to-be-reconciled set and each characteristic value corresponding to the local reconciliation set respectively to obtain a reconciliation difference set;
decoding the reconciliation difference set, determining a to-be-reconciled resource transfer data identifier, and generating a resource data acquisition request according to the to-be-reconciled resource transfer data identifier;
and sending a resource data acquisition request to the target node, receiving target resource transfer data fed back by the target node, and updating the data according to the target resource transfer data. In one embodiment, obtaining the local reconciliation set based on the parameters of the to-be-reconciled set and the updated local resource transfer data comprises:
determining the capacity of a local harmonic set according to parameters of the to-be-harmonic set;
acquiring to-be-reconciled resource transfer data from the updated local resource transfer data according to the local reconciliation set capacity;
and obtaining a local reconciliation set according to the to-be-reconciled resource transfer data and the preset eigenvalue algorithm.
In one embodiment, sending a reconciliation request to a target node, the reconciliation request being used to instruct the target node to feed back a to-be-reconciled set and parameters of the to-be-reconciled set, includes:
And sending a reconciliation request carrying the reconciliation parameter and the local resource transfer data set capacity to the target node, wherein the reconciliation request is used for indicating the target node to obtain a to-be-reconciled set and to-be-reconciled set parameters according to the reconciliation parameter, the local resource transfer data set capacity and the resource transfer data set capacity of the target node, and feeding back the to-be-reconciled set and the to-be-reconciled set parameters.
In one embodiment, receiving target resource transfer data fed back by the target node, and updating data according to the target resource transfer data includes:
receiving target resource transfer data fed back by a target node, acquiring a block identifier of the target resource transfer data, and acquiring the local block height;
comparing the block identifier with the local block height;
when the block identifier is the same as the local block in height, carrying out local certificate storage according to the target resource transfer data;
when the block identifier is different from the local block in height, determining resource transfer operation information corresponding to the target resource transfer data, and updating the data according to the resource transfer operation information.
In one embodiment, the updating of the data according to the resource transfer operation information includes:
the resource transfer operation information is put into a preset queue to be processed of the Ethernet, and broadcast is carried out in the Ethernet;
When the processed prompt is received, the resource transfer data corresponding to the resource transfer operation information is acquired from the processed queue for local certification.
In one embodiment, before sending the reconciliation request to the target node when the local resource transfer data update is detected, the method further comprises:
receiving resource transfer data;
and carrying out local certification on the resource transfer data, and updating the local resource transfer data.
In one embodiment, after each feature value in the to-be-blended set is respectively processed by logic operation with each feature value corresponding to the local blending set to obtain the blending difference set, the method further includes:
determining the missing resource transfer data of the target node according to the reconciliation difference set and a preset characteristic value algorithm;
and sending the resource transfer data which is lack by the target node to the target node.
A data reconciliation update apparatus, the apparatus comprising:
the reconciliation request module is used for sending a reconciliation request to the target node when the local resource transfer data update is detected, wherein the reconciliation request is used for indicating the target node to feed back a to-be-reconciled set and parameters of the to-be-reconciled set;
the receiving module is used for receiving the to-be-reconciled set and parameters of the to-be-reconciled set, and obtaining a local reconciliation set according to the parameters of the to-be-reconciled set and updated local resource transfer data;
The first processing module is used for carrying out logic operation processing on each characteristic value in the to-be-blended set and each characteristic value corresponding to the local blended set respectively to obtain a blended difference set;
the second processing module is used for decoding the reconciliation difference set, determining a to-be-reconciled resource transfer data identifier, and generating a resource data acquisition request according to the to-be-reconciled resource transfer data identifier;
and the updating module is used for sending a resource data acquisition request to the target node, receiving target resource transfer data fed back by the target node, and updating the data according to the target resource transfer data.
A computer device comprising a memory storing a computer program and a processor which when executing the computer program performs the steps of:
when the local resource transfer data update is detected, sending a reconciliation request to a target node, wherein the reconciliation request is used for indicating the target node to feed back a to-be-reconciled set and parameters of the to-be-reconciled set;
receiving the parameters of the to-be-regulated and the to-be-regulated sets, and obtaining a local regulating set according to the parameters of the to-be-regulated sets and updated local resource transfer data;
carrying out logic operation processing on each characteristic value in the to-be-reconciled set and each characteristic value corresponding to the local reconciliation set respectively to obtain a reconciliation difference set;
Decoding the reconciliation difference set, determining a to-be-reconciled resource transfer data identifier, and generating a resource data acquisition request according to the to-be-reconciled resource transfer data identifier;
and sending a resource data acquisition request to the target node, receiving target resource transfer data fed back by the target node, and updating the data according to the target resource transfer data. A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
when the local resource transfer data update is detected, sending a reconciliation request to a target node, wherein the reconciliation request is used for indicating the target node to feed back a to-be-reconciled set and parameters of the to-be-reconciled set;
receiving the parameters of the to-be-regulated and the to-be-regulated sets, and obtaining a local regulating set according to the parameters of the to-be-regulated sets and updated local resource transfer data;
carrying out logic operation processing on each characteristic value in the to-be-reconciled set and each characteristic value corresponding to the local reconciliation set respectively to obtain a reconciliation difference set;
decoding the reconciliation difference set, determining a to-be-reconciled resource transfer data identifier, and generating a resource data acquisition request according to the to-be-reconciled resource transfer data identifier;
and sending a resource data acquisition request to the target node, receiving target resource transfer data fed back by the target node, and updating the data according to the target resource transfer data.
According to the data reconciliation updating method, the data reconciliation updating device, the computer equipment and the storage medium, when the local resource transfer data updating is detected, the reconciliation request is sent to the target node to request the parameters to be reconciled of the reconciliation set, the parameters to be reconciled and the reconciliation parameters are received, the local reconciliation set is obtained according to the parameters to be reconciled and the updated local resource transfer data, and further each characteristic value in the reconciliation set can be respectively subjected to logic operation processing with each characteristic value corresponding to the local reconciliation set to obtain an accurate reconciliation difference set, so that the identification of the reconciliation resource transfer data can be determined through decoding the reconciliation difference set, the resource data acquisition request is generated according to the identification of the reconciliation resource transfer data, the resource data acquisition request is sent to the target node, the target resource transfer data fed back by the target node is received, and the data updating is carried out according to the target resource transfer data. In the whole process, the target resource transfer data is obtained by only sending and requesting necessary information, carrying out logic operation processing, decoding the reconciliation difference set and the like and reconciling with the target node, and the data update is realized according to the target resource transfer data, so that the occupation of the Ethernet bandwidth is reduced, the connectivity among the Ethernet nodes is enhanced, and the robustness of the Ethernet is improved.
Drawings
FIG. 1 is an application scenario diagram of a data reconciliation update method in one embodiment;
FIG. 2 is a flow chart of a data reconciliation update method in one embodiment;
FIG. 3 is a schematic diagram of a data reconciliation update method in one embodiment;
FIG. 4 is a flow chart of a data reconciliation update method in another embodiment;
FIG. 5 is a block diagram of a data reconciliation update apparatus in one embodiment;
fig. 6 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The data reconciliation updating method provided by the application can be applied to an application environment shown in fig. 1. Wherein in the ethernet segment 10, the ethernet segment node 102 communicates with the destination node 104. When the ethernet node 102 detects that the local resource transfer data is updated, sending a reconciliation request to a target node, wherein the reconciliation request is used for indicating the target node to feed back a to-be-reconciled set and parameters of the to-be-reconciled set, receiving the parameters of the to-be-reconciled set and the parameters of the to-be-reconciled set, obtaining the local reconciliation set according to the parameters of the to-be-reconciled set and the updated local resource transfer data, respectively carrying out logic operation processing on each characteristic value in the to-be-reconciled set and each characteristic value corresponding to the local reconciliation set to obtain a reconciliation difference set, decoding the reconciliation difference set, determining a to-be-reconciled resource transfer data identifier, generating a resource data acquisition request according to the to-be-reconciled resource transfer data identifier, sending the resource data acquisition request to the target node, receiving target resource transfer data fed back by the target node, and carrying out data updating according to the target resource transfer data.
In one embodiment, as shown in fig. 2, a data reconciliation updating method is provided, and the method is applied to the ethernet node in fig. 1 for illustration, and includes the following steps S202 to S210.
S202: and when the local resource transfer data update is detected, sending a reconciliation request to the target node, wherein the reconciliation request is used for indicating the target node to feed back the to-be-reconciled set and parameters of the to-be-reconciled set.
The local resource transfer data refers to the resource transfer data of which the Ethernet node has performed local certification. The target node is a node communicated with the Ethernet node, and the reconciliation request is a request for requesting the target node to reconcile the resource transfer data, namely, requesting the target node to acquire the missing resource transfer data. The to-be-reconciled set parameter refers to a parameter for representing a difference in the size of the resource transfer data set capacity and the local resource transfer data set capacity of the target node, and the to-be-reconciled set parameter is the same as the to-be-reconciled set capacity.
Specifically, when the ethernet node needs to be tempered, the ethernet node sends a tempering request carrying a local tempering set parameter to the target node, where the tempering request is used to instruct the target node to obtain a to-be-tempered set and a to-be-tempered set parameter according to the local tempering set parameter and a resource transfer data set capacity of the target node, and feed back the to-be-tempered set and the to-be-tempered set parameter. The local reconciliation set parameters comprise local resource transfer data set capacity and preset reconciliation parameters for calculating the difference between the local resource transfer data set capacity and the resource transfer data set capacity of the target node, the target node determines parameters of a to-be-reconciled set according to the local reconciliation set parameters and the self resource transfer data set capacity, acquires to-be-reconciled resource transfer data from the self resource transfer data set according to the parameters of the to-be-reconciled set, and obtains to-be-reconciled sets according to a preset eigenvalue algorithm and the to-be-reconciled resource transfer data. The preset eigenvalue algorithm may specifically be a pinsktch algorithm.
For example, when the reconciliation is started, the ethernet node sends the local resource transfer data set capacity a in the local reconciliation set parameter and a preset reconciliation parameter q for calculating a difference between the local resource transfer data set capacity and the resource transfer data set capacity of the target node to the target node, and after the target node receives the local reconciliation parameter, the target node calculates a to-be-reconciled set parameter d according to the local reconciliation set parameter and the own resource transfer data set capacity B, where the calculation formula may be: d=abs (|a| -b|) +q|min (|a|, |b|) +c, wherein the values of q and c can be set by themselves as desired. Further, the ethernet node may be blended with the target node in multiple rounds, q is only one parameter for blending, q may be preset to 0 when the ethernet node is blended with the target node in the first round, c may be preset to 1 at the beginning, and q may be calculated by the formula q=d-abs (|a| -b|)/min (|a|, |b|) after the first round of blending is completed. Wherein D refers to the actual difference between the to-be-reconciled set and the local reconciliation set, and the actual difference can be obtained after one round of reconciliation is completed. Still further, the reconciliation in this embodiment may be a timing reconciliation, that is, the ethernet node and the target node may be reconciled periodically by presetting a time node.
In one embodiment, before sending the reconciliation request to the target node when the local resource transfer data update is detected, the method further comprises:
receiving resource transfer data;
and carrying out local certification on the resource transfer data, and updating the local resource transfer data.
The resource transfer data refers to data which is uplink through any node in the Ethernet, after the resource transfer data is uplink at any node, the node which is uplink the resource transfer data can flood-irrigate the Ethernet node (particularly can be a static node) with better connectivity, so that the resource transfer data quickly enters the Ethernet, the Ethernet node receives the resource transfer data, the resource transfer data is subjected to local certification, and the local resource transfer data is updated.
According to the embodiment, the update of the local resource transfer data is realized by receiving the resource transfer data and carrying out local certification on the resource transfer data, and a foundation is provided for the data update of the whole Ethernet.
In one embodiment, sending a reconciliation request to a target node, the reconciliation request being used to instruct the target node to feed back a to-be-reconciled set and parameters of the to-be-reconciled set, includes:
and sending a reconciliation request carrying the reconciliation parameter and the local resource transfer data set capacity to the target node, wherein the reconciliation request is used for indicating the target node to obtain a to-be-reconciled set and to-be-reconciled set parameters according to the reconciliation parameter, the local resource transfer data set capacity and the resource transfer data set capacity of the target node, and feeding back the to-be-reconciled set and the to-be-reconciled set parameters.
Specifically, when the ethernet node needs to be tempered, the ethernet node sends a tempering request carrying a local tempering set parameter to the target node, where the tempering request is used to instruct the target node to obtain a to-be-tempered set and a to-be-tempered set parameter according to the local tempering set parameter and a resource transfer data set capacity of the target node, and feed back the to-be-tempered set and the to-be-tempered set parameter. The local reconciliation set parameters comprise local resource transfer data set capacity and preset reconciliation parameters for calculating the difference between the local resource transfer data set capacity and the resource transfer data set capacity of the target node, the target node determines parameters of a to-be-reconciled set according to the local reconciliation set parameters and the self resource transfer data set capacity, acquires to-be-reconciled resource transfer data from the self resource transfer data set according to the parameters of the to-be-reconciled set, and obtains to-be-reconciled sets according to a preset eigenvalue algorithm and the to-be-reconciled resource transfer data. The preset eigenvalue algorithm may specifically be a pinsktech algorithm, where the to-be-blended set capacity is the same as the to-be-blended set parameter.
S204: and receiving the to-be-reconciled set and parameters of the to-be-reconciled set, and obtaining a local reconciliation set according to the parameters of the to-be-reconciled set and the updated local resource transfer data.
Wherein the to-be-tuned and aggregate may be used to represent the authenticated resource transfer data at the target node. After the Ethernet node receives the to-be-blended set and the to-be-blended parameter, the Ethernet node can be blended with the target node according to the to-be-blended set and the to-be-blended set parameter. Specifically, the ethernet node may determine the local harmonic set capacity according to the parameter of the to-be-harmonic set, so that in order to ensure accurate implementation of the harmonic, the local harmonic set capacity is required to be the same as the parameter of the to-be-harmonic set, and thus the to-be-harmonic set capacity and the local harmonic set capacity are ensured to be the same. After determining the local harmonic set capacity, the ethernet node may obtain resource transfer data from the updated local resource transfer data according to the local harmonic set capacity, and obtain the local harmonic set according to the obtained resource transfer data.
In one embodiment, obtaining the local reconciliation set based on the parameters of the to-be-reconciled set and the updated local resource transfer data comprises:
determining the capacity of a local harmonic set according to parameters of the to-be-harmonic set;
acquiring to-be-reconciled resource transfer data from the updated local resource transfer data according to the local reconciliation set capacity;
and obtaining a local reconciliation set according to the to-be-reconciled resource transfer data and the preset eigenvalue algorithm.
In particular, because the to-be-reconciled set parameter may be used to represent the magnitude of the difference in the local resource transfer data set capacity and the resource transfer data set capacity of the target node, the local reconciliation set capacity may be determined from the to-be-reconciled set parameter, where the local reconciliation set capacity is the same as the to-be-reconciled set parameter. The local reconciliation set capacity refers to the size of the local reconciliation set, and the resource transfer data to be reconciled refers to the resource transfer data for reconciliation. Further, the method for acquiring the to-be-reconciled resource transfer data from the updated local resource transfer data according to the local reconciliation set capacity is to acquire the to-be-reconciled resource transfer data sequentially, that is, acquire a corresponding number of resource transfer data according to the local reconciliation set capacity according to the sequence of each resource transfer data in the local resource transfer data, so as to form the to-be-reconciled resource transfer data.
Specifically, according to the resource transfer data to be reconciled, a corresponding resource transfer data identifier can be obtained, where the resource transfer data identifier is used to represent the resource transfer data. For example, the resource transfer data identification may specifically be a short ID for representing the resource transfer data. The local reconciliation set is a reconciliation set calculated by the Ethernet node according to the resource transfer data identifier and a preset eigenvalue algorithm, and is used for representing the resource transfer data to be reconciled. For example, as shown in fig. 3, in the ethernet node, the resource transfer data identifier is represented by a short ID, the eigenvalue algorithm may specifically be a pinsktech algorithm, and the eigenvalue algorithm is used to perform eigenvalue operation on the resource transfer data identifier, so as to obtain a local reconciliation set, namely, the sketch bits.
S206: and carrying out logic operation processing on each characteristic value in the to-be-reconciled set and each characteristic value corresponding to the local reconciliation set to obtain a reconciliation difference set.
Wherein the reconciliation differential set is used to represent the differences in resource transfer data between the local reconciliation and the set to be reconciled. The to-be-reconciled set and the local reconciliation set comprise a plurality of mutually corresponding characteristic values for representing the resource transfer data identifiers, for example, the characteristic values for representing the resource transfer data identifiers can be 1 or 0, and the characteristic values are obtained by carrying out characteristic value operation on the resource transfer data identifiers according to a preset characteristic value algorithm. And carrying out logic operation processing on each characteristic value in the to-be-blended set and each characteristic value corresponding to the local blending set respectively to obtain a blended difference set for representing the difference of the characteristic values of the to-be-blended set and the local blending set, wherein the difference of the resource transfer data between the Ethernet node and the target node can be determined through the blended difference set, namely the Ethernet node can determine the own missing resource transfer data and also can determine the missing resource transfer data of the target node. The logic operation may specifically be an exclusive or operation.
In one embodiment, after each feature value in the to-be-blended set is respectively processed by logic operation with each feature value corresponding to the local blending set to obtain the blending difference set, the method further includes:
determining the missing resource transfer data of the target node according to the reconciliation difference set and a preset characteristic value algorithm;
and sending the resource transfer data which is lack by the target node to the target node.
Specifically, after the reconciliation difference set is obtained, the ethernet node can decode the reconciliation difference set through a eigenvalue algorithm, and according to the decoding result, the resource transfer data lacking by the target node can be determined. For example, when a certain resource transfer data exists in the ethernet node and does not exist in the target node, the resource transfer data identifier corresponding to the resource transfer data is represented by different characteristic values in the local reconciliation set and the to-be-reconciled set, the characteristic value corresponding to the resource transfer data identifier in the reconciliation difference set can be obtained to be 1 through logic operation processing, the ethernet node can determine that the resource transfer data does not exist in the target node through the characteristic value 1 corresponding to the reconciliation difference set, then the characteristic value corresponding to the reconciliation difference set can be decoded through a characteristic value algorithm, the resource transfer data identifier is determined, the resource transfer data is obtained according to the resource transfer data identifier, and the resource transfer data is sent to the target node.
According to the embodiment, the resource transfer data lacking in the target node can be determined through the reconciliation difference set, and further the reconciliation of the target node can be achieved by sending the resource transfer data lacking in the target node to the target node.
S208: decoding the reconciliation difference set, determining a to-be-reconciled resource transfer data identifier, and generating a resource data acquisition request according to the to-be-reconciled resource transfer data identifier.
Specifically, the ethernet node can decode the modulation and difference set through a characteristic value algorithm, and determine the identification of the to-be-modulated resource transfer data. The to-be-reconciled resource transfer data identifies resource transfer data indicative of a lack of ethernet nodes. After determining the to-be-reconciled resource transfer data identifier, the ethernet node generates a resource data acquisition request according to the to-be-reconciled resource transfer data identifier, sends the resource data acquisition request to the target node, and requests corresponding resource transfer data from the target node.
S210: and sending a resource data acquisition request to the target node, receiving target resource transfer data fed back by the target node, and updating the data according to the target resource transfer data.
The target resource transfer data refers to resource transfer data lacking by the Ethernet nodes. Specifically, the ethernet node may determine the missing resource transfer data by decoding the reconciliation difference set, and send a resource data acquisition request to the target node according to the missing resource transfer data, and request to feed back the target resource transfer data corresponding to the reconciliation difference set to the target node. After receiving the target resource transfer data, the Ethernet node updates the data according to the target resource transfer data, and updates the local resource transfer data.
In one embodiment, receiving target resource transfer data fed back by the target node, and updating data according to the target resource transfer data includes:
receiving target resource transfer data fed back by a target node, acquiring a block identifier of the target resource transfer data, and acquiring the local block height;
comparing the block identifier with the local block height;
when the block identifier is the same as the local block in height, carrying out local certificate storage according to the target resource transfer data;
when the block identifier is different from the local block in height, determining resource transfer operation information corresponding to the target resource transfer data, and updating the data according to the resource transfer operation information.
Specifically, after the ethernet node receives the target resource transfer data fed back by the target node, the ethernet node may acquire a block identifier of the target resource transfer data, where the block identifier of the target resource transfer data refers to a block identifier obtained when the target resource transfer data is stored in the target node, and according to the block identifier of the target resource transfer data, it may be determined whether a resource transfer operation corresponding to the target resource transfer data has been executed. Specifically, when the block identifier is the same as the local block in height, the resource transfer operation can be considered to be executed, and the ethernet node performs local certification according to the target resource transfer data; when the block identifier is different from the local block in height, the resource transfer operation is considered to be not executed yet, the ethernet node further determines resource transfer operation information corresponding to the target resource transfer data, and performs data update according to the resource transfer operation information. The local block height refers to the block height of the ethernet node.
In the above embodiment, after receiving the target resource transfer data, the execution condition of the resource transfer operation corresponding to the target resource transfer data is determined by comparing the block identifier of the target resource transfer data with the local block height, and the data is updated according to the execution condition, so that accurate data update is realized.
In one embodiment, the updating of the data according to the resource transfer operation information includes:
the resource transfer operation information is put into a preset queue to be processed of the Ethernet, and broadcast is carried out in the Ethernet;
when the processed prompt is received, the resource transfer data corresponding to the resource transfer operation information is acquired from the processed queue for local certification.
The queue to be processed of the ethernet is a queue for placing operations to be executed in the ethernet. The Ethernet node can enable miners in the Ethernet to know tasks to be executed in the current queue to be processed by putting the resource transfer operation information into the preset queue to be processed of the Ethernet and broadcasting the resource transfer operation information in the Ethernet. After receiving the broadcast, miners can get the resource transfer operation information from the queue to be processed, execute the resource transfer operation corresponding to the resource transfer operation information, store the resource transfer data corresponding to the resource transfer operation into the processed queue, and broadcast the processed prompt in the Ethernet. When the Ethernet node receives the processed prompt, the Ethernet node can acquire the resource transfer data corresponding to the resource transfer operation information from the processed queue to carry out local certification.
According to the embodiment, the resource transfer operation information is placed in the preset queue to be processed of the Ethernet, and broadcasting is carried out in the Ethernet, so that broadcasting of the task to be processed is achieved, and when a processed prompt is received, the resource transfer data corresponding to the resource transfer operation information can be acquired from the processed queue to carry out local evidence storage, and the local evidence storage of the resource transfer data is achieved.
According to the data reconciliation updating method, when the local resource transfer data updating is detected, the reconciliation request is sent to the target node to request the to-be-reconciled set to be reconciled parameters, the to-be-reconciled set to be reconciled parameters are received, the local reconciliation set is obtained according to the to-be-reconciled parameters and the updated local resource transfer data, and further each characteristic value in the to-be-reconciled set can be respectively subjected to logic operation processing with each corresponding characteristic value in the local reconciliation set to obtain an accurate reconciliation difference set, so that the to-be-reconciled resource transfer data identification can be determined through decoding the reconciliation difference set, the resource data acquisition request is generated according to the to-be-reconciled resource transfer data identification, the resource data acquisition request is sent to the target node, the target resource transfer data fed back by the target node is received, and the data updating is carried out according to the target resource transfer data. In the whole process, the target resource transfer data is obtained by only sending and requesting necessary information, carrying out logic operation processing, decoding the reconciliation difference set and the like and reconciling with the target node, and the data update is realized according to the target resource transfer data, so that the occupation of the Ethernet bandwidth is reduced, the connectivity among the Ethernet nodes is enhanced, and the robustness of the Ethernet is improved.
In one embodiment, as shown in fig. 4, the data reconciliation update method of the present application is illustrated by one of the most specific embodiments. The data reconciliation updating method includes the following steps S402 to S434.
S402: receiving resource transfer data;
s404: carrying out local certification on the resource transfer data, and updating the local resource transfer data;
s406: when the local resource transfer data update is detected, sending a reconciliation request to a target node, wherein the reconciliation request is used for indicating the target node to feed back a to-be-reconciled set and parameters of the to-be-reconciled set;
s408: receiving parameters of a to-be-tuned set and a to-be-tuned set;
s410: determining the capacity of a local harmonic set according to parameters of the to-be-harmonic set;
s412: acquiring to-be-reconciled resource transfer data from the updated local resource transfer data according to the local reconciliation set capacity;
s414: obtaining a local reconciliation set according to the to-be-reconciled resource transfer data and a preset eigenvalue algorithm;
s416: carrying out logic operation processing on each characteristic value in the to-be-reconciled set and each characteristic value corresponding to the local reconciliation set respectively to obtain a reconciliation difference set;
s418: decoding the reconciliation difference set, determining a to-be-reconciled resource transfer data identifier, and generating a resource data acquisition request according to the to-be-reconciled resource transfer data identifier;
S420: sending a resource data acquisition request to a target node;
s422: receiving target resource transfer data fed back by a target node, acquiring a block identifier of the target resource transfer data, and acquiring the local block height;
s424: comparing the block identifier with the local block height;
s426: judging whether the block identifier is the same as the local block in height, jumping to S428 when the block identifier is the same as the local block in height, and jumping to S430 when the block identifier is different from the local block in height;
s428: carrying out local evidence storage according to the target resource transfer data;
s430: determining resource transfer operation information corresponding to the target resource transfer data;
s432: the resource transfer operation information is put into a preset queue to be processed of the Ethernet, and broadcast is carried out in the Ethernet;
s434: when the processed prompt is received, the resource transfer data corresponding to the resource transfer operation information is acquired from the processed queue for local certification.
It should be understood that, although the steps in the flowcharts of fig. 2 and 4 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 2 and 4 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily occur sequentially, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
In one embodiment, as shown in fig. 5, there is provided a data reconciliation updating apparatus comprising: a reconciliation request module 501, a receiving module 502, a first processing module 503, a second processing module 504, and an update module 505, wherein:
the reconciliation request module 501 is configured to send a reconciliation request to a target node when a local resource transfer data update is detected, where the reconciliation request is used to instruct the target node to feed back a to-be-reconciled set and parameters of the to-be-reconciled set;
the receiving module 502 is configured to receive a to-be-reconciled set and parameters of the to-be-reconciled set, and obtain a local reconciliation set according to the parameters of the to-be-reconciled set and updated local resource transfer data;
a first processing module 503, configured to perform logic operation processing on each feature value in the to-be-reconciled set and each feature value corresponding to the local reconciliation set, so as to obtain a reconciliation difference set;
a second processing module 504, configured to decode the reconciliation difference set, determine a to-be-reconciled resource transfer data identifier, and generate a resource data acquisition request according to the to-be-reconciled resource transfer data identifier;
and the updating module 505 is configured to send a resource data acquisition request to the target node, receive target resource transfer data fed back by the target node, and perform data updating according to the target resource transfer data.
When the local resource transfer data updating device detects that the local resource transfer data is updated, the to-be-reconciled set to-be-reconciled parameters are requested to the target node through sending the reconciliation request, the to-be-reconciled set to-be-reconciled parameters are received, the local reconciliation set is obtained according to the to-be-reconciled parameters and the updated local resource transfer data, and further each characteristic value in the to-be-reconciled set and each characteristic value corresponding to the local reconciliation set can be subjected to logic operation processing to obtain an accurate reconciliation difference set, so that the to-be-reconciled resource transfer data identification can be determined through decoding the reconciliation difference set, a resource data acquisition request is generated according to the to-be-reconciled resource transfer data identification, the resource data acquisition request is sent to the target node, the target resource transfer data fed back by the target node is received, and the data is updated according to the target resource transfer data. In the whole process, the target resource transfer data is obtained by only sending and requesting necessary information, carrying out logic operation processing, decoding the reconciliation difference set and the like and reconciling with the target node, and the data update is realized according to the target resource transfer data, so that the occupation of the Ethernet bandwidth is reduced, the connectivity among the Ethernet nodes is enhanced, and the robustness of the Ethernet is improved.
In one embodiment, the receiving module is further configured to determine a local reconciliation set capacity according to the to-be-reconciled set parameter, obtain to-be-reconciled resource transfer data from the updated local resource transfer data according to the local reconciliation set capacity, and obtain the local reconciliation set according to the to-be-reconciled resource transfer data and a preset eigenvalue algorithm.
In one embodiment, the reconciliation request module is further configured to send a reconciliation request carrying the reconciliation parameters and the local resource transfer data set capacity to the target node, where the reconciliation request is configured to instruct the target node to obtain the to-be-reconciled set and the to-be-reconciled set parameters according to the reconciliation parameters, the local resource transfer data set capacity, and the resource transfer data set capacity of the target node, and to feed back the to-be-reconciled set and the to-be-reconciled set parameters.
In one embodiment, the updating module is further configured to receive target resource transfer data fed back by the target node, obtain a block identifier of the target resource transfer data, obtain a local block height, compare the block identifier with the local block height, perform local verification according to the target resource transfer data when the block identifier is the same as the local block height, determine resource transfer operation information corresponding to the target resource transfer data when the block identifier is different from the local block height, and perform data updating according to the resource transfer operation information.
In one embodiment, the update module is further configured to place the resource transfer operation information into a preset queue to be processed of the ethernet, broadcast the information in the ethernet, and obtain, when receiving the processed prompt, resource transfer data corresponding to the resource transfer operation information from the processed queue for local authentication.
In one embodiment, the receiving module is further configured to receive the resource transfer data, perform local authentication on the resource transfer data, and update the local resource transfer data.
For specific limitations of the data reconciliation updating apparatus, reference may be made to the above limitations of the data reconciliation updating method, which are not repeated here. The various modules in the data reconciliation updating apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is for storing resource transfer data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a data reconciliation update method.
It will be appreciated by those skilled in the art that the structure shown in fig. 6 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory storing a computer program and a processor that when executing the computer program performs the steps of:
when the local resource transfer data update is detected, sending a reconciliation request to a target node, wherein the reconciliation request is used for indicating the target node to feed back a to-be-reconciled set and parameters of the to-be-reconciled set;
receiving the parameters of the to-be-regulated and the to-be-regulated sets, and obtaining a local regulating set according to the parameters of the to-be-regulated sets and updated local resource transfer data;
carrying out logic operation processing on each characteristic value in the to-be-reconciled set and each characteristic value corresponding to the local reconciliation set respectively to obtain a reconciliation difference set;
decoding the reconciliation difference set, determining a to-be-reconciled resource transfer data identifier, and generating a resource data acquisition request according to the to-be-reconciled resource transfer data identifier;
And sending a resource data acquisition request to the target node, receiving target resource transfer data fed back by the target node, and updating the data according to the target resource transfer data.
When the local resource transfer data updating is detected, the data reconciliation updating computer equipment requests the to-be-reconciled set to the target node by sending the reconciliation request, receives the to-be-reconciled set and the to-be-reconciled parameter, obtains the local reconciliation set according to the to-be-reconciled parameter and the updated local resource transfer data, further carries out logic operation processing on each characteristic value in the to-be-reconciled set and each characteristic value corresponding to the local reconciliation set respectively to obtain an accurate reconciliation difference set, and accordingly can determine a to-be-reconciled resource transfer data identifier by decoding the reconciliation difference set, generate a resource data acquisition request according to the to-be-reconciled resource transfer data identifier, send the resource data acquisition request to the target node, receive the target resource transfer data fed back by the target node, and update the data according to the target resource transfer data. In the whole process, the target resource transfer data is obtained by only sending and requesting necessary information, carrying out logic operation processing, decoding the reconciliation difference set and the like and reconciling with the target node, and the data update is realized according to the target resource transfer data, so that the occupation of the Ethernet bandwidth is reduced, the connectivity among the Ethernet nodes is enhanced, and the robustness of the Ethernet is improved.
In one embodiment, the processor when executing the computer program further performs the steps of:
determining the capacity of a local harmonic set according to parameters of the to-be-harmonic set;
acquiring to-be-reconciled resource transfer data from the updated local resource transfer data according to the local reconciliation set capacity;
and obtaining a local reconciliation set according to the to-be-reconciled resource transfer data and the preset eigenvalue algorithm.
In one embodiment, the processor when executing the computer program further performs the steps of:
and sending a reconciliation request carrying the reconciliation parameter and the local resource transfer data set capacity to the target node, wherein the reconciliation request is used for indicating the target node to obtain a to-be-reconciled set and to-be-reconciled set parameters according to the reconciliation parameter, the local resource transfer data set capacity and the resource transfer data set capacity of the target node, and feeding back the to-be-reconciled set and the to-be-reconciled set parameters.
In one embodiment, the processor when executing the computer program further performs the steps of:
receiving target resource transfer data fed back by a target node, acquiring a block identifier of the target resource transfer data, and acquiring the local block height;
comparing the block identifier with the local block height;
when the block identifier is the same as the local block in height, carrying out local certificate storage according to the target resource transfer data;
When the block identifier is different from the local block in height, determining resource transfer operation information corresponding to the target resource transfer data, and updating the data according to the resource transfer operation information.
In one embodiment, the processor when executing the computer program further performs the steps of:
the resource transfer operation information is put into a preset queue to be processed of the Ethernet, and broadcast is carried out in the Ethernet;
when the processed prompt is received, the resource transfer data corresponding to the resource transfer operation information is acquired from the processed queue for local certification.
In one embodiment, the processor when executing the computer program further performs the steps of:
receiving resource transfer data;
and carrying out local certification on the resource transfer data, and updating the local resource transfer data.
In one embodiment, the processor when executing the computer program further performs the steps of:
determining the missing resource transfer data of the target node according to the reconciliation difference set and a preset characteristic value algorithm;
and sending the resource transfer data which is lack by the target node to the target node.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
When the local resource transfer data update is detected, sending a reconciliation request to a target node, wherein the reconciliation request is used for indicating the target node to feed back a to-be-reconciled set and parameters of the to-be-reconciled set;
receiving the parameters of the to-be-regulated and the to-be-regulated sets, and obtaining a local regulating set according to the parameters of the to-be-regulated sets and updated local resource transfer data;
carrying out logic operation processing on each characteristic value in the to-be-reconciled set and each characteristic value corresponding to the local reconciliation set respectively to obtain a reconciliation difference set;
decoding the reconciliation difference set, determining a to-be-reconciled resource transfer data identifier, and generating a resource data acquisition request according to the to-be-reconciled resource transfer data identifier;
and sending a resource data acquisition request to the target node, receiving target resource transfer data fed back by the target node, and updating the data according to the target resource transfer data.
When the local resource transfer data updating is detected, the data reconciliation updating storage medium requests the to-be-reconciled set to the target node for the to-be-reconciled parameters by sending the reconciliation request, receives the to-be-reconciled set and the to-be-reconciled parameters, obtains the local reconciliation set according to the to-be-reconciled parameters and the updated local resource transfer data, further carries out logic operation processing on each characteristic value in the to-be-reconciled set and each characteristic value corresponding to the local reconciliation set respectively to obtain an accurate reconciliation difference set, and accordingly can determine a to-be-reconciled resource transfer data identifier by decoding the reconciliation difference set, generates a resource data acquisition request according to the to-be-reconciled resource transfer data identifier, sends the resource data acquisition request to the target node, receives the target resource transfer data fed back by the target node, and carries out data updating according to the target resource transfer data. In the whole process, the target resource transfer data is obtained by only sending and requesting necessary information, carrying out logic operation processing, decoding the reconciliation difference set and the like and reconciling with the target node, and the data update is realized according to the target resource transfer data, so that the occupation of the Ethernet bandwidth is reduced, the connectivity among the Ethernet nodes is enhanced, and the robustness of the Ethernet is improved.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining the capacity of a local harmonic set according to parameters of the to-be-harmonic set;
acquiring to-be-reconciled resource transfer data from the updated local resource transfer data according to the local reconciliation set capacity;
and obtaining a local reconciliation set according to the to-be-reconciled resource transfer data and the preset eigenvalue algorithm.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and sending a reconciliation request carrying the reconciliation parameter and the local resource transfer data set capacity to the target node, wherein the reconciliation request is used for indicating the target node to obtain a to-be-reconciled set and to-be-reconciled set parameters according to the reconciliation parameter, the local resource transfer data set capacity and the resource transfer data set capacity of the target node, and feeding back the to-be-reconciled set and the to-be-reconciled set parameters.
In one embodiment, the computer program when executed by the processor further performs the steps of:
receiving target resource transfer data fed back by a target node, acquiring a block identifier of the target resource transfer data, and acquiring the local block height;
comparing the block identifier with the local block height;
when the block identifier is the same as the local block in height, carrying out local certificate storage according to the target resource transfer data;
When the block identifier is different from the local block in height, determining resource transfer operation information corresponding to the target resource transfer data, and updating the data according to the resource transfer operation information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the resource transfer operation information is put into a preset queue to be processed of the Ethernet, and broadcast is carried out in the Ethernet;
when the processed prompt is received, the resource transfer data corresponding to the resource transfer operation information is acquired from the processed queue for local certification.
In one embodiment, the computer program when executed by the processor further performs the steps of:
receiving resource transfer data;
and carrying out local certification on the resource transfer data, and updating the local resource transfer data.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining the missing resource transfer data of the target node according to the reconciliation difference set and a preset characteristic value algorithm;
and sending the resource transfer data which is lack by the target node to the target node.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (10)

1. A method of reconciliation updating of data, the method comprising:
when the local resource transfer data update is detected, sending a reconciliation request to a target node, wherein the reconciliation request is used for indicating the target node to feed back a to-be-reconciled set and parameters of the to-be-reconciled set;
receiving the to-be-tuned and the to-be-tuned set parameters, and obtaining a local tuning set according to the to-be-tuned set parameters and updated local resource transfer data;
Carrying out logic operation processing on each characteristic value in the to-be-blended set and each corresponding characteristic value in the local blending set to obtain a blending difference set;
decoding the reconciliation difference set, determining a to-be-reconciled resource transfer data identifier, and generating a resource data acquisition request according to the to-be-reconciled resource transfer data identifier;
and sending the resource data acquisition request to the target node, receiving target resource transfer data fed back by the target node, and updating data according to the target resource transfer data.
2. The method of claim 1, wherein obtaining the local reconciliation set based on the to-be-reconciled set parameters and the updated local resource transfer data comprises:
determining the local harmonic set capacity according to the parameters of the to-be-harmonic set;
acquiring to-be-reconciled resource transfer data from updated local resource transfer data according to the local reconciliation set capacity;
and obtaining a local reconciliation set according to the to-be-reconciled resource transfer data and a preset eigenvalue algorithm.
3. The method of claim 1, wherein the sending a reconciliation request to a target node, the reconciliation request for instructing the target node to feed back a to-be-reconciled set and to-be-reconciled set parameters comprises:
And sending a reconciliation request carrying the reconciliation parameter and the local resource transfer data set capacity to a target node, wherein the reconciliation request is used for indicating the target node to obtain a to-be-reconciled set and a to-be-reconciled set parameter according to the reconciliation parameter, the local resource transfer data set capacity and the resource transfer data set capacity of the target node, and feeding back the to-be-reconciled set and the to-be-reconciled set parameter.
4. The method of claim 1, wherein receiving the target resource transfer data fed back by the target node, and updating data according to the target resource transfer data comprises:
receiving target resource transfer data fed back by the target node, acquiring a block identifier of the target resource transfer data, and acquiring a local block height;
comparing the block identifier with the local block height;
when the block identifier is the same as the local block in height, local evidence storage is performed according to the target resource transfer data;
and when the block identifier is different from the local block in height, determining resource transfer operation information corresponding to the target resource transfer data, and updating data according to the resource transfer operation information.
5. The method of claim 4, wherein the updating data according to the resource transfer operation information comprises:
the resource transfer operation information is put into a preset queue to be processed of an Ethernet, and broadcast is carried out in the Ethernet;
and when the processed prompt is received, acquiring the resource transfer data corresponding to the resource transfer operation information from the processed queue to carry out local certification.
6. The method of claim 1, further comprising, prior to sending the reconciliation request to the target node when the local resource transfer data update is detected:
receiving resource transfer data;
and carrying out local certification on the resource transfer data, and updating the local resource transfer data.
7. The method of claim 1, further comprising, after performing a logic operation process on each feature value in the to-be-reconciled set and each feature value corresponding to the local reconciliation set to obtain a reconciliation difference set:
determining the missing resource transfer data of the target node according to the reconciliation difference set and a preset characteristic value algorithm;
and sending the resource transfer data lacking by the target node to the target node.
8. A data reconciliation update apparatus, the apparatus comprising:
the reconciliation request module is used for sending a reconciliation request to a target node when the local resource transfer data update is detected, wherein the reconciliation request is used for indicating the target node to feed back a to-be-reconciled set and parameters of the to-be-reconciled set;
the receiving module is used for receiving the to-be-tuned set and the to-be-tuned set parameters, and obtaining a local tuning set according to the to-be-tuned set parameters and updated local resource transfer data;
the first processing module is used for carrying out logic operation processing on each characteristic value in the to-be-reconciled set and each characteristic value corresponding to the local reconciliation set respectively to obtain a reconciliation difference set;
the second processing module is used for decoding the reconciliation difference set, determining a to-be-reconciled resource transfer data identifier, and generating a resource data acquisition request according to the to-be-reconciled resource transfer data identifier;
and the updating module is used for sending the resource data acquisition request to the target node, receiving target resource transfer data fed back by the target node, and updating the data according to the target resource transfer data.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202010124353.8A 2020-02-27 2020-02-27 Data reconciliation updating method, device, computer equipment and storage medium Active CN111355797B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010124353.8A CN111355797B (en) 2020-02-27 2020-02-27 Data reconciliation updating method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010124353.8A CN111355797B (en) 2020-02-27 2020-02-27 Data reconciliation updating method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111355797A CN111355797A (en) 2020-06-30
CN111355797B true CN111355797B (en) 2024-04-05

Family

ID=71195781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010124353.8A Active CN111355797B (en) 2020-02-27 2020-02-27 Data reconciliation updating method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111355797B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180086679A (en) * 2017-01-23 2018-08-01 주식회사 데일리인텔리전스 System and method for authenticating users and synchronizing blocks using a block-chain network
CN108615151A (en) * 2018-04-24 2018-10-02 深圳市元征科技股份有限公司 Data processing method, block chain server and node device
CN109102299A (en) * 2018-08-01 2018-12-28 腾讯科技(深圳)有限公司 Resource transfers data managing method, device and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109146545A (en) * 2018-07-18 2019-01-04 阿里巴巴集团控股有限公司 A kind of method and device for providing reward to works user based on block chain

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180086679A (en) * 2017-01-23 2018-08-01 주식회사 데일리인텔리전스 System and method for authenticating users and synchronizing blocks using a block-chain network
CN108615151A (en) * 2018-04-24 2018-10-02 深圳市元征科技股份有限公司 Data processing method, block chain server and node device
CN109102299A (en) * 2018-08-01 2018-12-28 腾讯科技(深圳)有限公司 Resource transfers data managing method, device and storage medium

Also Published As

Publication number Publication date
CN111355797A (en) 2020-06-30

Similar Documents

Publication Publication Date Title
CN108683539B (en) Block chain network management method, block chain network management device, block chain network management medium and electronic equipment
CN110750267B (en) Service information updating method, device, computer equipment and storage medium
CN107797817B (en) Application updating method and device
CN111104291B (en) Environment monitoring method, device and system based on Internet of things and monitoring server
CN112035144B (en) Upgrading method and device of block chain system, computer equipment and storage medium
CN111522874A (en) Block chain consensus method, block chain consensus device, computer equipment and storage medium
CN110599267A (en) Electronic invoice billing method and device, computer readable storage medium and computer equipment
CN112990488A (en) Federal learning method based on machine isomerism
CN111355797B (en) Data reconciliation updating method, device, computer equipment and storage medium
CN111260253A (en) Information sending method and device, computer equipment and storage medium
CN111614579A (en) Access method, access device and access system of edge device
CN110933022A (en) Block processing method and device, computer equipment and storage medium
CN110692078B (en) Transaction data processing method, device and storage medium based on blockchain
CN114615642A (en) Vehicle identity authentication method and device in vehicle-to-vehicle communication, vehicle and storage medium
CN108804670B (en) Data recommendation method and device, computer equipment and storage medium
CN112653729B (en) Sharing upgrading method and device for Internet of things terminal, internet of things terminal and medium
CN108334452B (en) Rule data transfer test method, apparatus, computer device and storage medium
CN111565173A (en) Intelligent contract management method and device for block chain system and hardware equipment
CN110188081B (en) Log data storage method and device based on cassandra database and computer equipment
CN110569240B (en) Data storage method and device, computer equipment and storage medium
CN111985871A (en) Logistics data processing method, device, equipment and storage medium
CN111524009A (en) Transaction verification method and device for blockchain system and hardware equipment
CN110647336A (en) Gray scale distribution method and device, computer equipment and storage medium
CN111191982B (en) Order grouping method and device, computer equipment and storage medium
CN113706150B (en) Block confirmation method and device

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