CN107809484B - Block chain transaction information processing method and block chain link point - Google Patents

Block chain transaction information processing method and block chain link point Download PDF

Info

Publication number
CN107809484B
CN107809484B CN201711052140.3A CN201711052140A CN107809484B CN 107809484 B CN107809484 B CN 107809484B CN 201711052140 A CN201711052140 A CN 201711052140A CN 107809484 B CN107809484 B CN 107809484B
Authority
CN
China
Prior art keywords
node
block chain
blockchain
transaction
transaction information
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
CN201711052140.3A
Other languages
Chinese (zh)
Other versions
CN107809484A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201711052140.3A priority Critical patent/CN107809484B/en
Publication of CN107809484A publication Critical patent/CN107809484A/en
Application granted granted Critical
Publication of CN107809484B publication Critical patent/CN107809484B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • H04L67/108Resource delivery mechanisms characterised by resources being split in blocks or fragments
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • 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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a block chain transaction information processing method and a block chain node. The method comprises the following steps: the block chain nodes divide the transaction information related to the block chain nodes into a plurality of segments; transmitting each of the plurality of segments to at least one target neighbor node of the blockchain node; and issuing transaction party information related to the transaction information and address information of each adjacent node in the at least one target adjacent node to the blockchain network. According to the embodiment of the invention, the transaction party information related to the transaction information and the address information of the block chain link point of the segment storing the transaction information are issued to the block chain network, so that the transmission pressure of the block chain network can be reduced, the storage space of a single node in the block chain network can be reduced for the single node, the fault caused by malicious modification of the fragment content by a certain block chain link point is avoided, and the safety of the block chain network is improved.

Description

Block chain transaction information processing method and block chain link point
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a block chain transaction information processing method and a block chain node.
Background
The block chain is a chain data structure formed by combining data blocks in a sequential connection mode according to a time sequence, and is a distributed account book which is guaranteed in a cryptographic mode and cannot be tampered and forged. Broadly speaking, the blockchain technique is a completely new distributed infrastructure and computing paradigm that utilizes blockchain data structures to verify and store data, utilizes distributed node consensus algorithms to generate and update data, cryptographically secure data transmission and access, and utilizes intelligent contracts composed of automated script code to program and manipulate data.
In the prior art, there are two ways to issue transaction information in a blockchain network: the first mode is that each node broadcasts the related transaction information to the whole block chain network in a broadcasting mode, and then each node receives all transaction data in the whole block chain network; the second mode is that each node issues the transaction information related to itself to the central node, and the central node performs uniform transaction issuing at a fixed period of time.
For the first method, if the transactions in the blockchain network are frequent, the transmission pressure of the blockchain network is large, and for a single node in the blockchain network, the transaction information of the entire blockchain network needs to be stored, so that the single node needs to have a large storage space. With the second approach, once the central node fails, the entire blockchain network fails.
Disclosure of Invention
The embodiment of the invention provides a block chain transaction information processing method and a block chain node, which are used for reducing the transmission pressure of a block chain network, reducing the storage space of a single node and improving the safety of the block chain network.
One aspect of an embodiment of the present invention is to provide a method for processing blockchain transaction information, including:
the block chain nodes divide the transaction information related to the block chain nodes into a plurality of segments;
the blockchain node sending each of a plurality of segments to at least one target neighbor node of the blockchain node;
the blockchain link issues counterparty information related to the transaction information and address information of each of the at least one target neighbor node into a blockchain network.
It is another aspect of an embodiment of the present invention to provide a block link point, including:
the segmentation module is used for segmenting the transaction information related to the block chain link points into a plurality of segments;
a sending module for sending each of a plurality of segments to at least one target neighbor node of the blockchain node; and issuing transaction party information related to the transaction information and address information of each of the at least one target neighbor node into a blockchain network.
According to the block chain transaction information processing method and the block chain link point provided by the embodiment of the invention, transaction party information related to transaction information and address information of the block chain link point storing the segment of the transaction information are issued to the block chain network instead of issuing the content of the transaction information to the block chain network, so that the transmission pressure of the block chain network can be reduced, the storage space of a single node can be reduced for the single node in the block chain network, in addition, each of a plurality of fragments of the same transaction information is stored on a plurality of block chain nodes, the fault caused by malicious modification of the fragment content by a certain block chain link point is avoided, and the safety of the block chain network is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic diagram of a communication system provided by an embodiment of the present invention;
fig. 2 is a flowchart of a method for processing blockchain transaction information according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for processing blockchain transaction information according to another embodiment of the invention;
fig. 4 is a structural diagram of a blockchain node according to an embodiment of the present invention.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The block chain is a chain data structure formed by combining data blocks in a sequential connection mode according to a time sequence, and is a distributed account book which is guaranteed in a cryptographic mode and cannot be tampered and forged. Broadly speaking, the blockchain technique is a completely new distributed infrastructure and computing paradigm that utilizes blockchain data structures to verify and store data, utilizes distributed node consensus algorithms to generate and update data, cryptographically secure data transmission and access, and utilizes intelligent contracts composed of automated script code to program and manipulate data.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. The consensus mechanism is a mathematical algorithm for establishing trust and obtaining rights and interests among different nodes in the blockchain system. Is essentially a decentralized database and simultaneously serves as the bottom layer technology of the bitcoin. The block chain is a series of data blocks which are associated by using a cryptographic method, and each data block contains information of one bitcoin network transaction, so that the validity (anti-counterfeiting) of the information is verified and the next block is generated. Blockchain design is a protective measure, such as (applied to) highly fault-tolerant distributed computing systems. Block chains enable mixed consistency. This makes the blockchain suitable for recording events, titles, medical records and other activities requiring the inclusion of data, identification management, transaction flow management and provenance management. The blockchain has huge potential for financial off-media and has huge influence on leading global trade.
The node of the current block chain mainly has the functions of the following aspects: P2P network functions, broadcast message transmission and reception, accounting rights calculation, signing and encryption/decryption, ledger storage, etc. These functions are present for transactions in the blockchain network.
In the prior art, there are two ways to issue transaction information in a blockchain network: the first mode is that each node broadcasts the related transaction information to the whole block chain network in a broadcasting mode, and then each node receives all transaction data in the whole block chain network; the second mode is that each node issues the transaction information related to itself to the central node, and the central node performs uniform transaction issuing at a fixed period of time.
For the first method, if the transactions in the blockchain network are frequent, the transmission pressure of the blockchain network is large, and for a single node in the blockchain network, the transaction information of the entire blockchain network needs to be stored, so that the single node needs to have a large storage space. With the second approach, once the central node fails, the entire blockchain network fails. To solve the problem, the present embodiment provides a method for processing blockchain transaction information, and the method for processing blockchain transaction information is described below with reference to specific embodiments.
The block chain transaction information processing method provided by the invention can be applied to the communication system shown in fig. 1. As shown in fig. 1, the communication system includes: the blockchain network 10 and the blockchain nodes 11 to blockchain link points 17 are only schematically illustrated here, and the specific number of blockchain nodes is not limited. The blockchain node may specifically be a smartphone, a tablet, a laptop, etc., and combinations thereof.
The invention provides a block chain transaction information processing method, which aims to solve the technical problems in the prior art.
The following describes the technical solutions of the present invention and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of a method for processing blockchain transaction information according to an embodiment of the present invention. The embodiment of the invention provides a block chain transaction information processing method aiming at the technical problems in the prior art, and the method comprises the following specific steps:
at step 201, a block link node divides transaction information associated therewith into a plurality of segments.
As shown in fig. 1, any one of the blockchain link points 11-17 may perform network transaction with other blockchain nodes, for example, the blockchain node 14 may perform network transaction with other blockchain nodes, for example, the blockchain node 11 through the blockchain network 10, during the transaction, the blockchain link point 14 and/or the blockchain node 11 may generate transaction information, and the blockchain link point 14 and/or the blockchain node 11 needs to issue the transaction information into the blockchain network 10, in this embodiment, the blockchain node 14 and/or the blockchain node 11 does not issue the transaction information itself into the blockchain network 10. Taking the blockchain node 14 as an example, when the blockchain node 14 needs to issue the transaction information into the blockchain network 10, the blockchain node 14 first divides the transaction information that needs to be issued into the blockchain network 10 into a plurality of segments, for example, n segments.
Optionally, the number of the segments is determined according to the size of the transaction information and the total number of the adjacent nodes of the blockchain node. That is, n is determined by the blockchain node 14 according to the size of the transaction information and the total number of neighboring nodes of the blockchain node 14. As shown in fig. 1, it is assumed that the neighbors of blockchain node 14 may include: block chain node 12, block link point 13, block link point 15, block link point 16. That is, the number of neighboring nodes of the blockchain node 14 is 4. Specifically, the blockchain node 14 calculates the number n of segments into which the transaction information needs to be divided according to the size of the transaction information and the total number 4 of the adjacent nodes of the blockchain node 14 by using a first preset algorithm.
Step 202, the blockchain node sends each of a plurality of segments to at least one target neighbor node of the blockchain node.
As shown in fig. 1, the block link point 12, the block link point 13, the block link point 15, and the block link point 16 are adjacent nodes of the block link node 14, and the block link node 14 may transmit each of the n segments to the block link node 12, the block link point 13, the block link point 15, and the block link point 16. However, malicious nodes, illegal nodes or faulty nodes may exist in the block link points 12, 13, 15, and 16, and in order to avoid malicious or illegal nodes from modifying the contents of the fragmented segments maliciously or that the faulty nodes cannot process the fragmented segments normally, the block link node 14 may select a block link node with high reliability from the block link points 12, 13, 15, and 16, and send each of the n segments to the block link node with high reliability instead of sending the n segments to all neighboring nodes.
The embodiment does not limit the specific method selected. It is assumed that the block chain node 14 with higher reliability selected from the block chain link point 12, the block chain link point 13, the block chain link point 15, and the block chain link point 16 is the block chain link point 12 and the block chain link point 13, that is, the number of at least one target adjacent node selected by the block chain node 14 is 2. And sends each of the n segments to the block chain node 12 and the block chain node 13.
Optionally, the number of the at least one target neighboring node is determined according to the total number of neighboring nodes of the block chain node and the number of the segments. Assuming that the number of the at least one target adjacent node selected by the blockchain node 14 is M, and the total number of the adjacent nodes of the blockchain node 14 is W, the blockchain node 14 may determine the number M of the at least one target adjacent node by using a second preset algorithm according to the total number W of the adjacent nodes of the blockchain node 14 and the number n of the segments into which the transaction information needs to be divided. That is, the block-link point 14 selects M target neighboring nodes from all W block-link points that are neighboring thereto. And sends each of the n segments to the M target neighbor nodes instead of all W blockchain nodes.
Step 203, the blockchain node issues transaction party information related to the transaction information and address information of each adjacent node in at least one target adjacent node to a blockchain network.
As shown in fig. 1, assuming that the blockchain node 14 and the blockchain node 11 perform network transaction through the blockchain network 10, during the transaction, the blockchain link point 14 and/or the blockchain link point 11 may generate transaction information, it can be understood that the transaction parties of the transaction information are the blockchain link point 14 and the blockchain link point 11, and the transaction party information may be identification information of the blockchain node 14 and identification information of the blockchain link point 11.
In the present embodiment, after the blockchain node 14 selects M target neighboring nodes from all W blockchain nodes adjacent to the blockchain node, the blockchain node 14 issues transaction party information of the transaction information, i.e., identification information of the blockchain node 14 and identification information of the blockchain node 11, and address information of each neighboring node in at least one target neighboring node of the blockchain node 14, i.e., address information of the blockchain node 12 and address information of the blockchain node 13, into the blockchain network 10. Specifically, the block chain node 14 broadcasts the identification information of the block chain node 14 and the identification information of the block chain link point 11, and the address information of the block chain node 12 and the address information of the block chain link point 13 into the block chain network 10. Other blockchain nodes in the blockchain network 10 will receive the broadcast message sent by the blockchain node 14, where the broadcast message includes identification information of the blockchain node 14 and identification information of the blockchain node 11, and address information of the blockchain node 12 and address information of the blockchain node 13. The broadcast message means that: the segment of the transaction information generated when the blockchain node 14 and the blockchain node 11 perform the transaction is stored in the blockchain link point 12 and the blockchain link point 13, and other blockchain nodes in the blockchain network 10 may obtain the segment of the transaction information generated when the blockchain node 14 and the blockchain node 11 perform the transaction from the blockchain link point 12 and the blockchain link point 13 according to the address information of the blockchain node 12 and the address information of the blockchain link point 13.
Other block chain nodes in the block chain network store transaction party information related to the transaction information and address information of each adjacent node in at least one target adjacent node.
After the blockchain node 14 broadcasts the identification information of the blockchain node 14 and the identification information of the blockchain link point 11, and the address information of the blockchain node 12 and the address information of the blockchain link point 13 to the blockchain network 10, the other blockchain nodes in the blockchain network 10 perform the preemption of the accounting right in a manner of preempting the accounting right in the prior art, the blockchain link point which preempts the accounting right stores the message broadcast by the blockchain node 14 in the block, and all the blockchain links in the blockchain network 10 need to store all the blocks in the blockchain network 10 locally, that is, in the prior art, all the blocks in the blockchain network 10 store the content of the transaction information itself, in the embodiment, all the blocks in the blockchain network 10 store the transaction party information related to the transaction information and the address information of the blockchain link point storing the segment of the transaction information, optionally, the address information of the block link point of the segment in which the transaction information is stored may be address index table information.
For example, other blockchain nodes in the blockchain network 10 store locally the identification information of the blockchain node 14 and the identification information of the blockchain node 11 broadcast by the blockchain node 14, and the address information of the blockchain node 12 and the address information of the blockchain node 13.
It can be understood that, in this embodiment, the blockchain node 14 may perform network transaction with not only the blockchain node 11 but also other blockchain nodes, and when the blockchain node 14 performs network transaction with other blockchain nodes, the blockchain node 14 issues transaction party information and address information of the blockchain node storing the segment of the transaction information to the blockchain network. In addition, other blockchain nodes besides the blockchain node 14 may also issue transaction party information of network transactions related thereto and address information of the blockchain nodes storing the segments of the transaction information into the blockchain network.
In the embodiment of the invention, the transaction party information related to the transaction information and the address information of the block chain link point of the segment storing the transaction information are issued to the block chain network instead of issuing the content of the transaction information to the block chain network, so that the transmission pressure of the block chain network can be reduced, the storage space of a single node can be reduced for the single node in the block chain network, in addition, each of a plurality of fragments of the same transaction information is stored on a plurality of block chain nodes, the fault caused by the malicious modification of the fragment content by a certain block chain link point is avoided, and the safety of the block chain network is improved.
Fig. 3 is a flowchart of a method for processing blockchain transaction information according to another embodiment of the invention. On the basis of the foregoing embodiment, the method for processing blockchain transaction information provided by this embodiment includes the following steps:
in step 301, a block link point divides transaction information associated therewith into a plurality of segments.
Step 302, the blockchain node sends each of a plurality of segments to at least one target neighbor node of the blockchain node.
Step 303, the blockchain node issues transaction party information related to the transaction information and address information of each neighboring node in at least one target neighboring node to a blockchain network.
The implementation principles and manners of steps 301 to 303 are consistent with those of steps 201 to 203, and are not described herein again.
Step 304, the block chain node sends a transaction request to the other block chain nodes, so that the other block chain nodes inquire address information of at least one target adjacent node of the block chain node, acquire a segment of transaction information related to the block chain node from the at least one target adjacent node according to the address information of the at least one target adjacent node, and determine whether to perform transaction with the block chain node according to the segment of transaction information related to the block chain node.
For example, the blockchain node 14 needs to perform a transaction with the blockchain link point 17 in the blockchain network 10, for example, the blockchain link point 17 owns a product that the blockchain node 14 wants to purchase, the blockchain node 14 needs to send a transaction request to the blockchain link point 17, the transaction request includes information of the amount of money of the product, and assuming that the price of the product that the blockchain node 14 wants to purchase is 10 yuan, the transaction request may specifically be: the blockchain node 14 pays 10 dollars to the blockchain link point 17. After receiving the transaction request sent by the blockchain node 14, the blockchain node 17 confirms whether the blockchain node 14 has the capability of paying 10 dollars. Optionally, the block link point 17 queries the block information in the locally stored block link network 10, and obtains address index table information of all transactions related to the block link point 14 from the block information, where the address index table information may include a plurality of address information, the plurality of address information may be address information of a plurality of block link nodes, and the plurality of block link points may be block link points storing segments of all transaction information related to the block link point 14. Assuming that all pieces of transaction information related to the block link point 14 are stored at the block link point 12 and the block link point 13, the address index table information includes address information of the block link node 12 and address information of the block link point 13.
In other embodiments, all the segments of the transaction information related to the block link point 14 may not be limited to be stored in the block link point 12 and the block link point 13, but may also be stored in the block link point 12, the block link point 13, the block link point 15, and the block link point 16, in which case, the address index table information includes address information of the block link node 12, address information of the block link point 13, address information of the block link point 15, and address information of the block link point 16.
After the block link point 17 queries and acquires the address index table information of all transactions related to the block link point 14, the neighboring nodes related to the block chain node 14, such as the block chain node 12 and the block link point 13, are determined according to the address information in the address index table information. Further, the block link point 17 sends a request message for requesting to acquire the segments of the transaction information of all transactions related to the block link point 14 to the block link point 12 and the block link point 13, respectively. After the block link point 12 and the block link point 13 receive the request message, the block link node 12 and the block link point 13 send the locally stored segments of the transaction information of all transactions related to the block link node 14 to the block link node 17, and after the block link point 17 receives the segments of the transaction information of all transactions related to the block link point 14 returned by the block link node 12 and the block link point 13, it is determined which segments belong to the same transaction information, and the segments belonging to the same transaction information are combined to form the transaction information of one transaction related to the block link point 14. In this way, the transaction information of the multiple transactions related to the blockchain node 14 can be combined, and further, the blockchain node 17 calculates the remaining amount of the blockchain node 14 according to the transaction information of the multiple transactions related to the blockchain node 14. If the remaining amount of the blockchain node 14 is greater than 10 yuan, the blockchain link point 17 confirms that the transaction is performed with the blockchain node 14, and if the remaining amount of the blockchain link point 14 is less than 10 yuan, the blockchain link point 17 stops performing the transaction with the blockchain node 14.
It is understood that any one of the block link points 11-17 may perform network transaction with other block chain nodes, and when any one of the block chain nodes 11-17 performs network transaction with another block chain node, it may be determined whether the party requesting the transaction has the ability to continue the transaction according to the method similar to the method provided by the present embodiment in which the block link point 17 determines the remaining amount of the block chain node 14.
In the embodiment of the invention, the transaction party information related to the transaction information and the address information of the block chain link point of the segment storing the transaction information are issued to the block chain network instead of issuing the content of the transaction information to the block chain network, so that the transmission pressure of the block chain network can be reduced, the storage space of a single node can be reduced for the single node in the block chain network, in addition, each of a plurality of fragments of the same transaction information is stored on a plurality of block chain nodes, the fault caused by the malicious modification of the fragment content by a certain block chain link point is avoided, and the safety of the block chain network is improved.
Fig. 4 is a structural diagram of a blockchain node according to an embodiment of the present invention. As shown in fig. 4, the blockchain link node 40 may execute the processing procedure provided in the embodiment of the blockchain transaction information processing method, and includes: the system comprises a slicing module 41 and a sending module 42, wherein the slicing module 41 is used for dividing transaction information related to block link points into a plurality of segments; a sending module 42 configured to send each of the plurality of segments to at least one target neighboring node of the blockchain node; and issuing transaction party information related to the transaction information and address information of each of the at least one target neighbor node into a blockchain network.
Optionally, the number of the segments is determined according to the size of the transaction information and the total number of the adjacent nodes of the blockchain node.
Optionally, the number of the at least one target neighboring node is determined according to the total number of neighboring nodes of the block chain node and the number of the segments.
Optionally, other blockchain nodes in the blockchain network store transaction party information related to the transaction information and address information of each neighboring node in at least one target neighboring node.
The block link points provided by the embodiment of the present invention may be specifically used for executing the method embodiment provided by fig. 2, and specific functions are not described herein again.
In the embodiment of the invention, the transaction party information related to the transaction information and the address information of the block chain link point of the segment storing the transaction information are issued to the block chain network instead of issuing the content of the transaction information to the block chain network, so that the transmission pressure of the block chain network can be reduced, the storage space of a single node can be reduced for the single node in the block chain network, in addition, each of a plurality of fragments of the same transaction information is stored on a plurality of block chain nodes, the fault caused by the malicious modification of the fragment content by a certain block chain link point is avoided, and the safety of the block chain network is improved.
On the basis of the foregoing embodiment, the sending module 42 is further configured to: sending a transaction request to the other block chain nodes so that the other block chain nodes inquire address information of at least one target adjacent node of the block chain nodes, acquiring a segment of transaction information related to the block chain nodes from the at least one target adjacent node according to the address information of the at least one target adjacent node, and determining whether to perform transaction with the block chain nodes according to the segment of the transaction information related to the block chain nodes.
The block link points provided by the embodiment of the present invention may be specifically used for executing the method embodiment provided by fig. 3, and specific functions are not described herein again.
In the embodiment of the invention, the transaction party information related to the transaction information and the address information of the block chain link point of the segment storing the transaction information are issued to the block chain network instead of issuing the content of the transaction information to the block chain network, so that the transmission pressure of the block chain network can be reduced, the storage space of a single node can be reduced for the single node in the block chain network, in addition, each of a plurality of fragments of the same transaction information is stored on a plurality of block chain nodes, the fault caused by the malicious modification of the fragment content by a certain block chain link point is avoided, and the safety of the block chain network is improved.
In summary, in the embodiments of the present invention, transaction party information related to transaction information and address information of a segment of a blockchain link point storing the transaction information are issued to a blockchain network, instead of issuing the content of the transaction information itself to the blockchain network, which not only can reduce transmission pressure of the blockchain network, but also can reduce storage space of a single node for the single node in the blockchain network.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (4)

1. A method for processing blockchain transaction information, comprising:
the block chain nodes divide the transaction information related to the block chain nodes into a plurality of segments;
the blockchain node sends each of a plurality of segments to at least one target neighbor node of the blockchain node, wherein the at least one target neighbor node has a higher confidence than other neighbor nodes;
the number of the at least one target adjacent node is determined according to the total number of the adjacent nodes of the block chain node and the number of the fragments;
the blockchain link point issues transaction party information related to the transaction information and address information of each adjacent node in at least one target adjacent node to a blockchain network;
other block chain nodes in the block chain network store transaction party information related to the transaction information and address information of each adjacent node in at least one target adjacent node;
wherein the method further comprises: the block chain node sends a transaction request to the other block chain nodes, so that the other block chain nodes inquire address information of at least one target adjacent node of the block chain node, acquire a segment of transaction information related to the block chain node from the at least one target adjacent node according to the address information of the at least one target adjacent node, and determine whether to perform transaction with the block chain node according to the segment of the transaction information related to the block chain node.
2. The method of claim 1, wherein the number of segments is determined according to a size of the transaction information and a total number of neighboring nodes of the blockchain node.
3. A block link point, comprising:
the segmentation module is used for segmenting the transaction information related to the block chain link points into a plurality of segments;
a sending module, configured to send each of a plurality of segments to at least one target neighboring node of the blockchain node, where the at least one target neighboring node has a higher reliability than other neighboring nodes; the number of the at least one target adjacent node is determined according to the total number of the adjacent nodes of the block chain node and the number of the fragments; and issuing transaction party information related to the transaction information and address information of each of at least one target neighbor node into a blockchain network; other block chain nodes in the block chain network store transaction party information related to the transaction information and address information of each adjacent node in at least one target adjacent node;
the sending module is further configured to send a transaction request to the other block link points, so that the other block link nodes query address information of at least one target neighboring node of the block link nodes, obtain a segment of transaction information related to the block link point from the at least one target neighboring node according to the address information of the at least one target neighboring node, and determine whether to perform a transaction with the block link node according to the segment of transaction information related to the block link point.
4. The blockchain node of claim 3, wherein the number of segments is determined according to a size of the transaction information and a total number of neighboring nodes of the blockchain node.
CN201711052140.3A 2017-10-30 2017-10-30 Block chain transaction information processing method and block chain link point Active CN107809484B (en)

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 CN107809484A (en) 2018-03-16
CN107809484B true 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)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
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
CN108923929B (en) * 2018-06-05 2021-07-23 上海和数软件有限公司 Block link point consensus method, device and computer readable storage medium
CN113672938B (en) * 2018-06-06 2023-08-29 北京八分量信息科技有限公司 Block chain node trusted state determining method
CN109191287B (en) * 2018-06-27 2020-08-04 浙江超脑时空科技有限公司 Block chain intelligent contract fragmentation method and device and electronic equipment
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
CN109118220A (en) * 2018-08-03 2019-01-01 上海点融信息科技有限责任公司 For handling the method, apparatus and storage medium of affairs in distributed network
CN109274674B (en) * 2018-09-27 2021-03-23 福建福链科技有限公司 Block chain heterogeneous consensus method with high security and terminal
CN109657440B (en) * 2018-11-01 2020-11-27 创新先进技术有限公司 Block chain-based biological characteristic information processing method and device and terminal equipment
TWI700707B (en) * 2018-11-28 2020-08-01 臺北醫學大學 Method and system for retrieving electronic medical and health records by blockchain
KR102285798B1 (en) * 2018-12-19 2021-08-05 어드밴스드 뉴 테크놀로지스 씨오., 엘티디. Shared secret-based blockchain storage
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
CN110753026B (en) * 2019-02-27 2020-10-30 北京嘀嘀无限科技发展有限公司 Block chain-based fragmentation method and device
CN109885264B (en) * 2019-04-16 2019-12-06 北京艾摩瑞策科技有限公司 Logic slicing method and system for block chain link points
CN110474846B (en) * 2019-09-18 2022-04-08 中国银联股份有限公司 Method and device for block propagation in block chain
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

Citations (1)

* Cited by examiner, † Cited by third party
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

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170228731A1 (en) * 2016-02-09 2017-08-10 Fmr Llc Computationally Efficient Transfer Processing and Auditing Apparatuses, Methods and Systems
CN106530083B (en) * 2016-10-27 2018-06-29 深圳壹账通智能科技有限公司 Multichain management method and system based on block chain
CN106682984B (en) * 2016-10-27 2019-09-10 深圳壹账通智能科技有限公司 Transaction business process method and system based on block chain
CN106936589B (en) * 2017-04-21 2020-02-07 杭州秘猿科技有限公司 Centerless license chain parallel fragmentation method and transaction method
CN107169765B (en) * 2017-05-11 2020-07-31 电子科技大学 Method for dynamically adjusting block chain consensus based on business trust

Patent Citations (1)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN107809484A (en) 2018-03-16

Similar Documents

Publication Publication Date Title
CN107809484B (en) Block chain transaction information processing method and block chain link point
CN107846278B (en) Intelligent contract processing method and device
CN109522362B (en) Incomplete data synchronization method, system and equipment based on block chain data
CN110868440B (en) Block chain male chain
US20210152363A1 (en) Blockchain recording methods and apparatuses, and computer devices
CN109522330B (en) Cloud platform data processing method, device, equipment and medium based on block chain
US11461310B2 (en) Distributed ledger technology
CN111556120B (en) Data processing method and device based on block chain, storage medium and equipment
US20190149600A1 (en) Partitioning of a blockchain ledger
CN110351363B (en) Data backup method, device and computer readable storage medium
CN110458709B (en) Resource transfer information transmission method and device, storage medium and electronic device
CN109508564B (en) Block chain-based digital asset storage system and method
CN108769264B (en) Block chain domain division method
CN105139210A (en) Commodity traceability method and system
CN112163412B (en) Data verification method and device, electronic equipment and storage medium
AU2019380381A1 (en) Smart logistics management using blockchain
CN111538757B (en) Data storage method, query method, device, server and medium
CN111597567B (en) Data processing method, data processing device, node equipment and storage medium
CN109936620B (en) Block chain-based storage method, device, system and storage medium
CN110602147A (en) Data encryption safe storage method, system and storage medium based on cloud platform
WO2021204044A1 (en) Correction of blockchain data
CN111611249A (en) Data management method, device, equipment and storage medium
CN113765675B (en) Transaction data processing method, device, equipment and medium
CN109840769B (en) Block chain based evidence storing method, device, system and storage medium
CN112039893B (en) Private transaction processing method and device, electronic equipment and readable storage medium

Legal Events

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