CN107809484A - Block chain exchange information processing method and block chain node - Google Patents
Block chain exchange information processing method and block chain node Download PDFInfo
- Publication number
- CN107809484A CN107809484A CN201711052140.3A CN201711052140A CN107809484A CN 107809484 A CN107809484 A CN 107809484A CN 201711052140 A CN201711052140 A CN 201711052140A CN 107809484 A CN107809484 A CN 107809484A
- Authority
- CN
- China
- Prior art keywords
- block chain
- node
- chain node
- information
- fragment
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1074—Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
- H04L67/1078—Resource delivery mechanisms
- H04L67/108—Resource delivery mechanisms characterised by resources being split in blocks or fragments
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/04—Payment circuits
- G06Q20/06—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
- G06Q20/065—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Economics (AREA)
- Marketing (AREA)
- Development Economics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The embodiment of the present invention provides a kind of block chain exchange information processing method and block chain node.This method includes:Relative Transaction Information is divided into multiple fragments by block chain node;Each fragment in multiple fragments is sent to at least one target adjacent node of block chain node;The address information of each adjacent node in counterparty's information related to Transaction Information and at least one target adjacent node is published in block chain network.The embodiment of the present invention is by the way that the address information of the related counterparty's information of Transaction Information and the block chain node for the fragment for being stored with the Transaction Information is published in block chain network, the transmission pressure of block chain network can not only be mitigated, for the individual node in block chain network, the memory space of individual node can also be reduced, avoid a certain block chain node malicious modification burst content and caused by failure, improve the security of block chain network.
Description
Technical field
The present embodiments relate to communication technical field, more particularly to a kind of block chain exchange information processing method and block
Chain node.
Background technology
Block chain is a kind of a kind of chain type number for being sequentially in time combined into data block in a manner of being sequentially connected
According to structure, and the distributed account book that can not be distorted He can not forge ensured in a manner of cryptography.Broadly, block chain technology
Be using block linked data structure come verify with data storage, using distributed node know together algorithm to generate and update the data,
Using the mode of cryptography ensure data transfer and access safety, using the intelligent contract being made up of automatized script code come
A kind of brand-new distributed basis framework of programming and operation data is with calculating normal form.
In the prior art, the following two kinds mode be present in block chain network to issue Transaction Information:First way is every
Individual node all by oneself relevant Transaction Information, is broadcast in whole block chain network, then Mei Gejie by way of broadcast
Point will all receive the data of All Activity in whole block chain network;The second way is each node by oneself relevant friendship
Easy information is distributed to central node, carries out unified transaction issue in fixed cycle time by central node.
For first way, if the transaction in block chain network is frequent, the biography of block chain network may result in
Defeated pressure is larger, it is necessary to store the Transaction Information of whole block chain network for the individual node in block chain network, because
This needs individual node to possess larger memory space.For the second way, once central node breaks down, then and it is whole
Individual block chain network will break down.
The content of the invention
The embodiment of the present invention provides a kind of block chain exchange information processing method and block chain node, to mitigate block link network
The transmission pressure of network, the memory space for reducing individual node, the security for improving block chain network.
The one side of the embodiment of the present invention is to provide a kind of block chain exchange information processing method, including:
Relative Transaction Information is divided into multiple fragments by block chain node;
Each fragment in multiple fragments is sent at least one mesh of the block chain node by the block chain node
Mark adjacent node;
The block chain node is by the counterparty information related to the Transaction Information and at least one target adjacent segments
The address information of each adjacent node is published in block chain network in point.
The other side of the embodiment of the present invention is to provide a kind of block chain node, including:
Burst module, for the Transaction Information related to block chain node to be divided into multiple fragments;
Sending module, for each fragment in multiple fragments to be sent to at least one target of the block chain node
Adjacent node;And will be each adjacent in counterparty's information related to the Transaction Information and at least one target adjacent node
Address of node information is published in block chain network.
Block chain exchange information processing method and block chain node provided in an embodiment of the present invention, by by Transaction Information phase
Counterparty's information of pass and it is stored with the address information of block chain node of fragment of the Transaction Information and is published to block link network
In network, rather than the content of Transaction Information in itself is published in block chain network, can not only mitigate the biography of block chain network
Defeated pressure, for the individual node in block chain network, the memory space of individual node can also be reduced, in addition, will be same
Each burst in multiple bursts of one Transaction Information is stored on multiple block chain nodes, is avoided a certain block chain node and is disliked
Meaning modification burst content and caused by failure, improve the security of block chain network.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure
Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is the schematic diagram of communication system provided in an embodiment of the present invention;
Fig. 2 is block chain exchange information processing method flow chart provided in an embodiment of the present invention;
Fig. 3 is the block chain exchange information processing method flow chart that another embodiment of the present invention provides;
Fig. 4 is the structure chart of block chain node provided in an embodiment of the present invention.
Pass through above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings
It is not intended to limit the scope of disclosure design by any mode with word description, but is by reference to specific embodiment
Those skilled in the art illustrate the concept of the disclosure.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Block chain is a kind of a kind of chain type number for being sequentially in time combined into data block in a manner of being sequentially connected
According to structure, and the distributed account book that can not be distorted He can not forge ensured in a manner of cryptography.Broadly, block chain technology
Be using block linked data structure come verify with data storage, using distributed node know together algorithm to generate and update the data,
Using the mode of cryptography ensure data transfer and access safety, using the intelligent contract being made up of automatized script code come
A kind of brand-new distributed basis framework of programming and operation data is with calculating normal form.
Block chain is the new of the computer technologies such as Distributed Storage, point-to-point transmission, common recognition mechanism, AES
Application model.So-called common recognition mechanism is to realize that foundation is trusted, the mathematics of acquisition rights and interests is calculated between different nodes in block catenary system
Method.Substantially it is the database of a decentralization, while as the Floor layer Technology of bit coin.Block chain is to use password a string
Method is associated caused data block, the information of a bit coin network trading is contained in each data block, for testing
Demonstrate,prove the validity (false proof) and the next block of generation of its information.The design of block chain is a kind of safeguard measure, for example (is applied
In) the fault-tolerant distributed computing system of height.Block chain makes it possible mixing uniformity.This make block chain be adapted to record event,
Title, medical records and other need to include the activity of data, identification management, transaction flow management and source witness tube
Reason.Block chain has huge potential for financial disintermediation, for leading global trade to have tremendous influence.
The node of block chain mainly has the function of the following aspects at present:P2P network functions, the transmission of broadcast message
And reception, book keeping operation power calculate, signature and encryption and decryption, account book storage etc..And these functions are provided to the friendship in block chain network
It is easy and existing.
In the prior art, the following two kinds mode be present in block chain network to issue Transaction Information:First way is every
Individual node all by oneself relevant Transaction Information, is broadcast in whole block chain network, then Mei Gejie by way of broadcast
Point will all receive the data of All Activity in whole block chain network;The second way is each node by oneself relevant friendship
Easy information is distributed to central node, carries out unified transaction issue in fixed cycle time by central node.
For first way, if the transaction in block chain network is frequent, the biography of block chain network may result in
Defeated pressure is larger, it is necessary to store the Transaction Information of whole block chain network for the individual node in block chain network, because
This needs individual node to possess larger memory space.For the second way, once central node breaks down, then and it is whole
Individual block chain network will break down.In order to solve the problem, a kind of block chain Transaction Information processing is present embodiments provided
Method, the block chain exchange information processing method is introduced with reference to specific embodiment.
Block chain exchange information processing method provided by the invention, goes for the communication system shown in Fig. 1.Such as Fig. 1
Shown, the communication system includes:Block chain network 10 and block chain node 11- block chains node 17, it is simply schematic herein
Illustrate, do not limit the specific number of block chain node.Block chain node can be specifically smart mobile phone, tablet personal computer, above-knee
Type computer etc. and combinations thereof.
Block chain exchange information processing method provided by the invention, it is intended to solve the as above technical problem of prior art.
How to be solved to the technical scheme of technical scheme and the application with specifically embodiment below above-mentioned
Technical problem is described in detail.These specific embodiments can be combined with each other below, for same or analogous concept
Or process may repeat no more in certain embodiments.Below in conjunction with accompanying drawing, embodiments of the invention are described.
Fig. 2 is block chain exchange information processing method flow chart provided in an embodiment of the present invention.The embodiment of the present invention is directed to
The as above technical problem of prior art, there is provided block chain exchange information processing method, this method comprise the following steps that:
Relative Transaction Information is divided into multiple fragments by step 201, block chain node.
As shown in figure 1, the either block chain node in block chain node 11- block chains node 17 can be with other blocks
Chain link point carries out network trading, for example, block chain node 14 can be logical with other block chain nodes such as block chain node 11
Cross block chain network 10 and carry out network trading, in process of exchange, block chain node 14 and/or block chain node 11 there may be
Transaction Information, block chain node 14 and/or block chain node 11 need the Transaction Information being published in block chain network 10,
In the present embodiment, block chain node 14 and/or block chain node 11 are not that the Transaction Information is published into block link network in itself
In network 10.By taking block chain node 14 as an example, when block chain node 14 needs the Transaction Information being published in block chain network 10
When, the Transaction Information for needing to be published in block chain network 10 is first divided into multiple fragments, such as n piece by block chain node 14
Section.
Optionally, the number of the fragment is according to the adjacent of the size of the Transaction Information and the block chain node
What the sum of node determined.That is, n is size and block chain node 14 of the block chain node 14 according to the Transaction Information
Adjacent node sum determine.As shown in Figure 1, it is assumed that the adjacent node of block chain node 14 can include:Block chain link
Point 12, block chain node 13, block chain node 15, block chain node 16.That is, the adjacent node of block chain node 14
Number is 4.Specifically, block chain node 14 uses the first preset algorithm, according to the size of the Transaction Information and block chain link
The sum 4 of the adjacent node of point 14 calculates the number n for the fragment for needing to be divided into the Transaction Information.
Each fragment in multiple fragments is sent to the block chain node extremely by step 202, the block chain node
A few target adjacent node.
As shown in figure 1, block chain node 12, block chain node 13, block chain node 15, block chain node 16 are block chains
Each fragment in n fragment can be sent to block chain node 12, area by the adjacent node of node 14, block chain node 14
Block chain node 13, block chain node 15, block chain node 16.But block chain node 12, block chain node 13, block chain link
Malicious node, illegal node or malfunctioning node are there may be in point 15, block chain node 16, in order to avoid malicious node or illegal
Node carries out malicious modification to the segment contents after burst, or, the piece after piece can not be normally handled in order to avoid malfunctioning node
Section, block chain node 14 can select from block chain node 12, block chain node 13, block chain node 15, block chain node 16
The block chain node that confidence level is higher is taken, each fragment in n fragment is sent to the higher block chain node of confidence level,
Without being destined to all adjacent nodes.
The present embodiment is not limited the specific method of selection.Assuming that block chain node 14 from block chain node 12,
The higher block chain node of the confidence level that is selected in block chain node 13, block chain node 15, block chain node 16 is block
Chain node 12 and block chain node 13, that is to say, that at least one target adjacent node that block chain node 14 selects
Number is 2.And each fragment in n fragment is sent to block chain node 12 and block chain node 13.
Optionally, the number of at least one target adjacent node is the adjacent node according to the block chain node
What the number of total and described fragment determined.Assuming that at least one target adjacent node that block chain node 14 selects
Number is M, and the sum of the adjacent node of block chain node 14 is W, then block chain node 14 can use the second preset algorithm, according to
The number n for the fragment that the Transaction Information is divided into by the total W and needs of the adjacent node of block chain node 14, determines at least one
The number M of individual target adjacent node.That is, block chain node 14 selects M from its adjacent all W block chain node
Individual target adjacent node.And each fragment in n fragment is sent to the M target adjacent node, rather than all W
Individual block chain node.
Step 203, the block chain node are by the counterparty information related to the Transaction Information and at least one mesh
The address information of each adjacent node is published in block chain network in mark adjacent node.
As shown in Figure 1, it is assumed that block chain node 14 and block chain node 11 carry out network trading by block chain network 10,
In process of exchange, there may be Transaction Information for block chain node 14 and/or block chain node 11, it is to be understood that the friendship
The counterparty of easy information is block chain node 14 and block chain node 11, and counterparty's information can be the mark of block chain node 14
The identification information of information and block chain node 11.
In the present embodiment, when block chain node 14 selects M target phase from its adjacent all W block chain node
After neighbors, block chain node 14 is by identification information and block that counterparty's information of the Transaction Information is block chain node 14
The address letter of each adjacent node in the identification information of chain node 11, and at least one target adjacent node of block chain node 14
Breath is that the address information of block chain node 12 and the address information of block chain node 13 are published in block chain network 10.Specifically
, block chain node 14 is by the identification information of block chain node 14 and the identification information of block chain node 11, and block chain link
The address information of point 12 and the broadcasting address information of block chain node 13 are into block chain network 10.Its in block chain network 10
The broadcast message that his block chain node will receive block chain node 14 and send, the broadcast message include block chain node 14
The identification information of identification information and block chain node 11, and the ground of the address information of block chain node 12 and block chain node 13
Location information.The broadcast message represents to mean:Block chain node 14 and block chain node 11 are traded caused transaction
The fragment of information is stored in block chain node 12 and block chain node 13, and other block chain nodes in block chain network 10 can
With the address information according to block chain node 12 and the address information of block chain node 13 from block chain node 12 and block chain link
Block chain node 14 is obtained in point 13 and block chain node 11 is traded the fragment of caused Transaction Information.
Other block chain nodes in the block chain network are stored with the counterparty information related to the Transaction Information
And at least one target adjacent node each adjacent node address information.
Block chain node 14 is by the identification information of block chain node 14 and the identification information of block chain node 11, and block
The address information of chain node 12 and the broadcasting address information of block chain node 13 are to after block chain network 10, block chain network 10
In other block chain link points by it is of the prior art grab book keeping operation power in the way of carry out the plunder of book keeping operation power, grab to book keeping operation
The message that the block chain node of power broadcasts block chain node 14 stores within a block, all block chains in block chain network 10
Node needs all blocks in block chain network 10 being stored in local, that is to say, that in the prior art, block chain network 10
In all blocks storage be the content of Transaction Information in itself, in the present embodiment, all blocks in block chain network 10
What is stored is the ground of the block chain node of the counterparty information related to Transaction Information and the fragment for being stored with the Transaction Information
Location information, optionally, the address information for being stored with the block chain node of the fragment of the Transaction Information can be specifically allocation indexs
Table information.
For example, the block chain node 14 that other block chain nodes in block chain network 10 broadcast block chain node 14
The identification information of identification information and block chain node 11, and the ground of the address information of block chain node 12 and block chain node 13
Location information is stored in local.
It is understood that in the present embodiment, block chain node 14 not only can carry out network with block chain node 11
Transaction, network trading can also be carried out with other block chain link points, when block chain node 14 and other block chain links click through
During row network trading, block chain node 14 is by the block chain address of node of counterparty's information He the fragment for being stored with Transaction Information
Information is published in block chain network.In addition, other block chain nodes in addition to block chain node 14 can also will be with it
Counterparty's information of related network trading and the address information of the block chain node for the fragment for being stored with Transaction Information are published to
In block chain network.
The embodiment of the present invention is by by the related counterparty's information of Transaction Information and being stored with the fragment of the Transaction Information
The address information of block chain node be published in block chain network, rather than the content of Transaction Information in itself is published to block
In chain network, it can not only mitigate the transmission pressure of block chain network, for the individual node in block chain network, may be used also
To reduce the memory space of individual node, in addition, each burst in multiple bursts of same Transaction Information is stored in multiple
On block chain node, avoid a certain block chain node malicious modification burst content and caused by failure, improve block link network
The security of network.
Fig. 3 is the block chain exchange information processing method flow chart that another embodiment of the present invention provides.In above-described embodiment
On the basis of, the block chain exchange information processing method that the present embodiment provides comprises the following steps:
Relative Transaction Information is divided into multiple fragments by step 301, block chain node.
Each fragment in multiple fragments is sent to the block chain node extremely by step 302, the block chain node
A few target adjacent node.
Step 303, the block chain node are by the counterparty information related to the Transaction Information and at least one mesh
The address information of each adjacent node is published in block chain network in mark adjacent node.
Step 301- steps 303 are consistent with the realization principle and mode of step 201- steps 203, and here is omitted.
Step 304, the block chain node send transaction request to other described block chain nodes, so that other described areas
Block chain node inquires the address information of at least one target adjacent node of the block chain node, according to described at least one
The address information of target adjacent node, the transaction related to the block chain node is obtained from least one target adjacent node
The fragment of information, and according to the fragment of the Transaction Information related to the block chain node, it is determined whether with the block chain link
Point is traded.
For example, block chain node 14 needs to be traded with the block chain node 17 in block chain network 10, for example, block
Chain node 17 possesses the product that block chain node 14 thinks purchase, and block chain node 14 needs to send to merchandise to block chain node 17 to ask
Ask, the transaction request includes the amount information of product, it is assumed that block chain node 14 thinks that the price of the product of purchase is 10 yuan, then
The transaction request can be specifically:Block chain node 14 pays 10 yuan to block chain node 17.Block chain node 17 receives area
After the transaction request that block chain node 14 is sent, confirm whether block chain node 14 has the ability to pay 10 yuan.Optionally, block chain
The block information that node 17 is inquired about in the block chain network 10 being locally stored, inquires about from block information and gets and block chain link
The address reference table information of the related All Activity of point 14, the address reference table information can include multiple address informations, multiple
Address information can be the address information of multiple block chain nodes, and the plurality of block chain node can be stored with and block chain link
The block chain node of the fragment of the related All Activity information of point 14.Assuming that the All Activity information related to block chain node 14
Fragment be stored in block chain node 12 and block chain node 13, then the address reference table information includes block chain node 12
The address information of address information and block chain node 13.
In other embodiments, the fragment of the All Activity information related to block chain node 14 can be not limited to be stored in
Block chain node 12 and block chain node 13, block chain node 12, block chain node 13, block chain node can also be stored in
15th, block chain node 16, in this case, the address reference table information include the address information of block chain node 12, block
The address information of chain node 13, the address information of block chain node 15, the address information of block chain node 16.
When the inquiry of block chain node 17 gets the address reference table information of the All Activity related to block chain node 14
Afterwards, the adjacent node relevant with block chain node 14 is determined according to the address information in the address reference table information, such as
Block chain node 12 and block chain node 13.Further, block chain node 17 is to block chain node 12 and block chain node 13
Request message is sent respectively, and the request message is used for the Transaction Information of the acquisition request All Activity related to block chain node 14
Fragment.After block chain node 12 and block chain node 13 are respectively received the request message, block chain node 12 and area
The fragment of the Transaction Information for the All Activity related to block chain node 14 being locally stored is sent to by block chain node 13 respectively
Block chain node 17, block chain node 17 receives block chain node 12 and block chain node 13 returns respectively and block chain link
After the fragment of the Transaction Information of the related All Activity of point 14, determine which fragment belongs to same Transaction Information,
And the fragment for belonging to same Transaction Information is combined and forms the transaction once the merchandised letter related to block chain node 14
Breath.The Transaction Information of the multiple transaction related to block chain node 14, further, block chain node 17 so can be combined out
According to the Transaction Information of the multiple transaction related to block chain node 14, the remaining sum of block chain node 14 is calculated.If area
The remaining sum of block chain node 14 is more than 10 yuan, then block chain node 17 confirms and block chain node 14 carries out the transaction, such as
The remaining sum of fruit block chain node 14 is less than 10 yuan, then block chain node 17 stops and block chain node 14 carries out this friendship
Easily.
It is understood that either block chain node in block chain node 11- block chains node 17 can and it is other
Block chain link point carries out network trading, when the either block chain node in block chain node 11- block chains node 17 and another
When block chain link point carries out network trading, the block chain node 17 that is similar to that can be provided according to the present embodiment determines block chain
The method of the remaining sum of node 14 come determine a side of requests transaction whether have the ability continuous business.
The embodiment of the present invention is by by the related counterparty's information of Transaction Information and being stored with the fragment of the Transaction Information
The address information of block chain node be published in block chain network, rather than the content of Transaction Information in itself is published to block
In chain network, it can not only mitigate the transmission pressure of block chain network, for the individual node in block chain network, may be used also
To reduce the memory space of individual node, in addition, each burst in multiple bursts of same Transaction Information is stored in multiple
On block chain node, avoid a certain block chain node malicious modification burst content and caused by failure, improve block link network
The security of network.
Fig. 4 is the structure chart of block chain node provided in an embodiment of the present invention.Block chain link provided in an embodiment of the present invention
Point can perform the handling process of block chain exchange information processing method embodiment offer, as shown in figure 4, block chain node 40 wraps
Include:Burst module 41 and sending module 42, wherein, burst module 41 is used to the Transaction Information related to block chain node being divided into
Multiple fragments;Sending module 42 is used at least one mesh that each fragment in multiple fragments is sent to the block chain node
Mark adjacent node;And by each phase in counterparty's information related to the Transaction Information and at least one target adjacent node
The address information of neighbors is published in block chain network.
Optionally, the number of the fragment is according to the adjacent of the size of the Transaction Information and the block chain node
What the sum of node determined.
Optionally, the number of at least one target adjacent node is the adjacent node according to the block chain node
What the number of total and described fragment determined.
Optionally, other block chain nodes in the block chain network are stored with the transaction related to the Transaction Information
The address information of each adjacent node in square information and at least one target adjacent node.
Block chain node provided in an embodiment of the present invention can be specifically used for performing the method implementation that above-mentioned Fig. 2 is provided
Example, here is omitted for concrete function.
The embodiment of the present invention is by by the related counterparty's information of Transaction Information and being stored with the fragment of the Transaction Information
The address information of block chain node be published in block chain network, rather than the content of Transaction Information in itself is published to block
In chain network, it can not only mitigate the transmission pressure of block chain network, for the individual node in block chain network, may be used also
To reduce the memory space of individual node, in addition, each burst in multiple bursts of same Transaction Information is stored in multiple
On block chain node, avoid a certain block chain node malicious modification burst content and caused by failure, improve block link network
The security of network.
On the basis of above-described embodiment, sending module 42 is additionally operable to:Sending transaction to other described block chain nodes please
Ask, so that other described block chain nodes inquire the address letter of at least one target adjacent node of the block chain node
Breath, according to the address information of at least one target adjacent node, obtained from least one target adjacent node with it is described
The fragment of the related Transaction Information of block chain node, and according to the fragment of the Transaction Information related to the block chain node, really
It is fixed whether to be traded with the block chain link point.
Block chain node provided in an embodiment of the present invention can be specifically used for performing the method implementation that above-mentioned Fig. 3 is provided
Example, here is omitted for concrete function.
The embodiment of the present invention is by by the related counterparty's information of Transaction Information and being stored with the fragment of the Transaction Information
The address information of block chain node be published in block chain network, rather than the content of Transaction Information in itself is published to block
In chain network, it can not only mitigate the transmission pressure of block chain network, for the individual node in block chain network, may be used also
To reduce the memory space of individual node, in addition, each burst in multiple bursts of same Transaction Information is stored in multiple
On block chain node, avoid a certain block chain node malicious modification burst content and caused by failure, improve block link network
The security of network.
In summary, the embodiment of the present invention is by by the related counterparty's information of Transaction Information and being stored with the transaction and believing
The address information of the block chain node of the fragment of breath is published in block chain network, rather than the content of Transaction Information in itself is sent out
Cloth can not only mitigate the transmission pressure of block chain network, for the individual node in block chain network into block chain network
For, the memory space of individual node can also be reduced, in addition, each burst in multiple bursts of same Transaction Information is deposited
Storage on multiple block chain nodes, avoid a certain block chain node malicious modification burst content and caused by failure, improve
The security of block chain network.
In several embodiments provided by the present invention, it should be understood that disclosed apparatus and method, it can be passed through
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed
Mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical by some interfaces, device or unit
Letter connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in one and computer-readable deposit
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are causing a computer
It is each that equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform the present invention
The part steps of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various
Can be with the medium of store program codes.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module
Division progress for example, in practical application, can be complete by different functional modules by above-mentioned function distribution as needed
Into the internal structure of device being divided into different functional modules, to complete all or part of function described above.On
The specific work process of the device of description is stated, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent
The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to
The technical scheme described in foregoing embodiments can so be modified, either which part or all technical characteristic are entered
Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme.
Claims (10)
- A kind of 1. block chain exchange information processing method, it is characterised in that including:Relative Transaction Information is divided into multiple fragments by block chain node;Each fragment in multiple fragments is sent at least one target phase of the block chain node by the block chain node Neighbors;The block chain node is by counterparty's information related to the Transaction Information and at least one target adjacent node The address information of each adjacent node is published in block chain network.
- 2. according to the method for claim 1, it is characterised in that the number of the fragment is according to the big of the Transaction Information What the sum of the adjacent node of small and described block chain node determined.
- 3. method according to claim 1 or 2, it is characterised in that the number of at least one target adjacent node is Determined according to the number of the total and described fragment of the adjacent node of the block chain node.
- 4. according to the method for claim 3, it is characterised in that other block chain nodes storage in the block chain network Believe the address for having each adjacent node in counterparty's information related to the Transaction Information and at least one target adjacent node Breath.
- 5. according to the method for claim 4, it is characterised in that also include:The block chain node sends transaction request to other described block chain nodes, so that other described block chain querying nodes To the address information of at least one target adjacent node of the block chain node, according at least one target adjacent node Address information, the fragment of the Transaction Information related to the block chain node is obtained from least one target adjacent node, And according to the fragment of the Transaction Information related to the block chain node, it is determined whether be traded with the block chain link point.
- A kind of 6. block chain node, it is characterised in that including:Burst module, for the Transaction Information related to block chain node to be divided into multiple fragments;Sending module, at least one target for each fragment in multiple fragments to be sent to the block chain node are adjacent Node;And by each adjacent node in counterparty's information related to the Transaction Information and at least one target adjacent node Address information be published in block chain network.
- 7. block chain node according to claim 6, it is characterised in that the number of the fragment is believed according to the transaction What the sum of the adjacent node of the size of breath and the block chain node determined.
- 8. the block chain node according to claim 6 or 7, it is characterised in that at least one target adjacent node Number is determined according to the number of the total and described fragment of the adjacent node of the block chain node.
- 9. block chain node according to claim 8, it is characterised in that other block chain links in the block chain network Point is stored with each adjacent node in counterparty's information related to the Transaction Information and at least one target adjacent node Address information.
- 10. block chain node according to claim 9, it is characterised in that the sending module is additionally operable to:Transaction request is sent to other described block chain nodes, so that other described block chain nodes inquire the block chain link The address information of at least one target adjacent node of point, according to the address information of at least one target adjacent node, from Obtain the fragment of the Transaction Information related to the block chain node at least one target adjacent node, and according to the area The fragment of the related Transaction Information of block chain node, it is determined whether be traded with the block chain link point.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711052140.3A CN107809484B (en) | 2017-10-30 | 2017-10-30 | Block chain transaction information processing method and block chain link point |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711052140.3A CN107809484B (en) | 2017-10-30 | 2017-10-30 | Block chain transaction information processing method and block chain link point |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107809484A true CN107809484A (en) | 2018-03-16 |
CN107809484B CN107809484B (en) | 2020-08-18 |
Family
ID=61582708
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711052140.3A Active CN107809484B (en) | 2017-10-30 | 2017-10-30 | Block chain transaction information processing method and block chain link point |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107809484B (en) |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108694581A (en) * | 2018-05-11 | 2018-10-23 | 中国联合网络通信集团有限公司 | Exchange information processing method, device and block chain node |
CN108769144A (en) * | 2018-05-11 | 2018-11-06 | 中国联合网络通信集团有限公司 | Storage processing method, transaction node, memory node and communication equipment |
CN108776616A (en) * | 2018-06-06 | 2018-11-09 | 北京八分量信息科技有限公司 | A kind of method, block chain node and the system of determining block chain node trusted status |
CN108897497A (en) * | 2018-06-29 | 2018-11-27 | 吴俊杰 | A kind of acentric data managing method and device |
CN108923929A (en) * | 2018-06-05 | 2018-11-30 | 上海和数软件有限公司 | Block chain node common recognition method, apparatus and computer readable storage medium |
CN108920104A (en) * | 2018-06-29 | 2018-11-30 | 吴俊杰 | A kind of acentric video monitoring cloud access method |
CN109067832A (en) * | 2018-06-27 | 2018-12-21 | 南京百市通数字科技有限公司 | A kind of block chain transmission of transaction data method |
CN109118220A (en) * | 2018-08-03 | 2019-01-01 | 上海点融信息科技有限责任公司 | For handling the method, apparatus and storage medium of affairs in distributed network |
CN109191287A (en) * | 2018-06-27 | 2019-01-11 | 浙江超脑时空科技有限公司 | A kind of sharding method, device and the electronic equipment of block chain intelligence contract |
CN109274674A (en) * | 2018-09-27 | 2019-01-25 | 福建福链科技有限公司 | A kind of block chain isomerism common recognition method and terminal with high security |
WO2019072298A2 (en) | 2018-12-19 | 2019-04-18 | Alibaba Group Holding Limited | Shared secret-based blockchain storage |
CN109657440A (en) * | 2018-11-01 | 2019-04-19 | 阿里巴巴集团控股有限公司 | Based on the biological information treating method and apparatus of block chain, terminal device |
CN109711192A (en) * | 2018-12-24 | 2019-05-03 | 众安信息技术服务有限公司 | Method of commerce and system between block catenary system construction method, node |
CN110474846A (en) * | 2019-09-18 | 2019-11-19 | 中国银联股份有限公司 | The method and device that block is propagated in a kind of block chain |
CN110851448A (en) * | 2019-11-08 | 2020-02-28 | 四川长虹电器股份有限公司 | Local data storage optimization method based on block chain intelligent contract |
CN111243691A (en) * | 2018-11-28 | 2020-06-05 | 台北医学大学 | Method and system for obtaining electronic medical health record |
CN111382458A (en) * | 2018-12-28 | 2020-07-07 | 富泰华工业(深圳)有限公司 | Data batch sealing method and device and computer storage medium |
WO2020173287A1 (en) * | 2019-02-27 | 2020-09-03 | Beijing Didi Infinity Technology And Development Co., Ltd. | Systems and methods for determining network shards in blockchain network |
WO2020211460A1 (en) * | 2019-04-16 | 2020-10-22 | 北京艾摩瑞策科技有限公司 | Logical sharding method and system for blockchain nodes |
CN113407558A (en) * | 2021-07-14 | 2021-09-17 | 广东粤信智能科技有限公司 | Transaction data updating method, storage medium and system based on block chain world state |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017011601A1 (en) * | 2015-07-14 | 2017-01-19 | Fmr Llc | Computationally efficient transfer processing, auditing, and search apparatuses, methods and systems |
CN106530083A (en) * | 2016-10-27 | 2017-03-22 | 上海亿账通区块链科技有限公司 | Multi-chain management method and system based on block chain |
CN106682984A (en) * | 2016-10-27 | 2017-05-17 | 上海亿账通区块链科技有限公司 | Block chain-based transaction business processing method and system |
CN106936589A (en) * | 2017-04-21 | 2017-07-07 | 杭州秘猿科技有限公司 | A kind of acentric the license parallel sharding method of chain and method of commerce |
US20170228731A1 (en) * | 2016-02-09 | 2017-08-10 | Fmr Llc | Computationally Efficient Transfer Processing and Auditing Apparatuses, Methods and Systems |
CN107169765A (en) * | 2017-05-11 | 2017-09-15 | 电子科技大学 | A kind of method adjusted into Mobile state of being known together based on business degree of belief to block chain |
-
2017
- 2017-10-30 CN CN201711052140.3A patent/CN107809484B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017011601A1 (en) * | 2015-07-14 | 2017-01-19 | Fmr Llc | Computationally efficient transfer processing, auditing, and search apparatuses, methods and systems |
US20170228731A1 (en) * | 2016-02-09 | 2017-08-10 | Fmr Llc | Computationally Efficient Transfer Processing and Auditing Apparatuses, Methods and Systems |
CN106530083A (en) * | 2016-10-27 | 2017-03-22 | 上海亿账通区块链科技有限公司 | Multi-chain management method and system based on block chain |
CN106682984A (en) * | 2016-10-27 | 2017-05-17 | 上海亿账通区块链科技有限公司 | Block chain-based transaction business processing method and system |
CN106936589A (en) * | 2017-04-21 | 2017-07-07 | 杭州秘猿科技有限公司 | A kind of acentric the license parallel sharding method of chain and method of commerce |
CN107169765A (en) * | 2017-05-11 | 2017-09-15 | 电子科技大学 | A kind of method adjusted into Mobile state of being known together based on business degree of belief to block chain |
Cited By (34)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108769144A (en) * | 2018-05-11 | 2018-11-06 | 中国联合网络通信集团有限公司 | Storage processing method, transaction node, memory node and communication equipment |
CN108694581B (en) * | 2018-05-11 | 2021-06-29 | 中国联合网络通信集团有限公司 | Transaction information processing method and device and block link points |
CN108694581A (en) * | 2018-05-11 | 2018-10-23 | 中国联合网络通信集团有限公司 | Exchange information processing method, device and block chain node |
CN108923929B (en) * | 2018-06-05 | 2021-07-23 | 上海和数软件有限公司 | Block link point consensus method, device and computer readable storage medium |
CN108923929A (en) * | 2018-06-05 | 2018-11-30 | 上海和数软件有限公司 | Block chain node common recognition method, apparatus and computer readable storage medium |
CN108776616A (en) * | 2018-06-06 | 2018-11-09 | 北京八分量信息科技有限公司 | A kind of method, block chain node and the system of determining block chain node trusted status |
CN109191287A (en) * | 2018-06-27 | 2019-01-11 | 浙江超脑时空科技有限公司 | A kind of sharding method, device and the electronic equipment of block chain intelligence contract |
CN109067832A (en) * | 2018-06-27 | 2018-12-21 | 南京百市通数字科技有限公司 | A kind of block chain transmission of transaction data method |
CN108920104B (en) * | 2018-06-29 | 2021-06-25 | 吴俊杰 | Centerless video monitoring cloud access method |
CN108897497B (en) * | 2018-06-29 | 2021-10-08 | 吴俊杰 | Centerless data management method and device |
CN108897497A (en) * | 2018-06-29 | 2018-11-27 | 吴俊杰 | A kind of acentric data managing method and device |
CN108920104A (en) * | 2018-06-29 | 2018-11-30 | 吴俊杰 | A kind of acentric video monitoring cloud access method |
CN109118220A (en) * | 2018-08-03 | 2019-01-01 | 上海点融信息科技有限责任公司 | For handling the method, apparatus and storage medium of affairs in distributed network |
CN109274674A (en) * | 2018-09-27 | 2019-01-25 | 福建福链科技有限公司 | A kind of block chain isomerism common recognition method and terminal with high security |
CN109274674B (en) * | 2018-09-27 | 2021-03-23 | 福建福链科技有限公司 | Block chain heterogeneous consensus method with high security and terminal |
CN109657440A (en) * | 2018-11-01 | 2019-04-19 | 阿里巴巴集团控股有限公司 | Based on the biological information treating method and apparatus of block chain, terminal device |
CN111243691A (en) * | 2018-11-28 | 2020-06-05 | 台北医学大学 | Method and system for obtaining electronic medical health record |
KR102285798B1 (en) * | 2018-12-19 | 2021-08-05 | 어드밴스드 뉴 테크놀로지스 씨오., 엘티디. | Shared secret-based blockchain storage |
WO2019072298A2 (en) | 2018-12-19 | 2019-04-18 | Alibaba Group Holding Limited | Shared secret-based blockchain storage |
KR20200078419A (en) * | 2018-12-19 | 2020-07-01 | 알리바바 그룹 홀딩 리미티드 | Shared secret-based blockchain storage |
CN110720204B (en) * | 2018-12-19 | 2022-06-03 | 创新先进技术有限公司 | Block chain storage method, storage medium and system based on shared secret |
WO2019072298A3 (en) * | 2018-12-19 | 2019-10-10 | Alibaba Group Holding Limited | Shared secret-based blockchain storage |
EP3574630A4 (en) * | 2018-12-19 | 2020-01-01 | Alibaba Group Holding Limited | Shared secret-based blockchain storage |
CN110720204A (en) * | 2018-12-19 | 2020-01-21 | 阿里巴巴集团控股有限公司 | Shared secret based blockchain storage |
CN109711192A (en) * | 2018-12-24 | 2019-05-03 | 众安信息技术服务有限公司 | Method of commerce and system between block catenary system construction method, node |
CN109711192B (en) * | 2018-12-24 | 2021-10-01 | 众安信息技术服务有限公司 | Method and system for inter-node transaction of block chain system |
CN111382458A (en) * | 2018-12-28 | 2020-07-07 | 富泰华工业(深圳)有限公司 | Data batch sealing method and device and computer storage medium |
WO2020173287A1 (en) * | 2019-02-27 | 2020-09-03 | Beijing Didi Infinity Technology And Development Co., Ltd. | Systems and methods for determining network shards in blockchain network |
WO2020211460A1 (en) * | 2019-04-16 | 2020-10-22 | 北京艾摩瑞策科技有限公司 | Logical sharding method and system for blockchain nodes |
CN110474846A (en) * | 2019-09-18 | 2019-11-19 | 中国银联股份有限公司 | The method and device that block is propagated in a kind of block chain |
CN110474846B (en) * | 2019-09-18 | 2022-04-08 | 中国银联股份有限公司 | Method and device for block propagation in block chain |
CN110851448A (en) * | 2019-11-08 | 2020-02-28 | 四川长虹电器股份有限公司 | Local data storage optimization method based on block chain intelligent contract |
CN110851448B (en) * | 2019-11-08 | 2022-05-03 | 四川长虹电器股份有限公司 | Local data storage optimization method based on block chain intelligent contract |
CN113407558A (en) * | 2021-07-14 | 2021-09-17 | 广东粤信智能科技有限公司 | Transaction data updating method, storage medium and system based on block chain world state |
Also Published As
Publication number | Publication date |
---|---|
CN107809484B (en) | 2020-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107809484A (en) | Block chain exchange information processing method and block chain node | |
CN107846278B (en) | Intelligent contract processing method and device | |
CN108200208B (en) | Logistics block chain consensus algorithm based on cloud computing | |
CN107480990A (en) | Block chain bookkeeping methods and device | |
CN108229926B (en) | Service settlement method and related device | |
CN107239954A (en) | It is a kind of to improve the method and device that block produces speed | |
CN107171810A (en) | The verification method and device of block chain | |
CN107657438A (en) | A kind of block chain generation method, data verification method, node and system | |
CN109242685A (en) | Common recognition and verification method and device based on block chain | |
CN110458709B (en) | Resource transfer information transmission method and device, storage medium and electronic device | |
CN107239940A (en) | Network trading method and device based on block catenary system | |
CN109598504A (en) | Transaction processing method and device, electronic equipment based on block chain | |
CN113239375B (en) | Block chain-based privacy factor data sharing system, method, computer device, and medium | |
WO2021204044A1 (en) | Correction of blockchain data | |
CN109118230A (en) | Information processing method and device based on block chain | |
CN110084594A (en) | A kind of block chain method of commerce and device by lightning network | |
CN110147684A (en) | For realizing the method and apparatus of block chain data-privacy protection | |
CN110019103B (en) | Cross-chain system and cross-chain implementation method based on block chain | |
CN109615509A (en) | A kind of financial risks appraisal procedure and system | |
CN110874798A (en) | Network platform based on regional chain and safe communication method thereof | |
CN110210863A (en) | Block chain method for secure transactions, device, electronic equipment and storage medium | |
CN115270145A (en) | User electricity stealing behavior detection method and system based on alliance chain and federal learning | |
CN112039893B (en) | Private transaction processing method and device, electronic equipment and readable storage medium | |
CN112087497B (en) | Data synchronization method and device, electronic equipment and readable storage medium | |
CN111245829A (en) | Network platform based on regional chain and safe communication method thereof |
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 |