CN108769142B - Transaction information processing method and block generation node - Google Patents

Transaction information processing method and block generation node Download PDF

Info

Publication number
CN108769142B
CN108769142B CN201810449052.5A CN201810449052A CN108769142B CN 108769142 B CN108769142 B CN 108769142B CN 201810449052 A CN201810449052 A CN 201810449052A CN 108769142 B CN108769142 B CN 108769142B
Authority
CN
China
Prior art keywords
node
block
transaction information
message
combing
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
CN201810449052.5A
Other languages
Chinese (zh)
Other versions
CN108769142A (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 CN201810449052.5A priority Critical patent/CN108769142B/en
Publication of CN108769142A publication Critical patent/CN108769142A/en
Application granted granted Critical
Publication of CN108769142B publication Critical patent/CN108769142B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • 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/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Abstract

The embodiment of the invention provides a transaction information processing method and a block generation node. The method comprises the following steps: the block generation node receives transaction information sent by at least one message combing node; the block generating node generates a block according to the transaction information; the block generation node sends the blocks to a block storage node so that the block storage node stores the blocks in a block chain; wherein the block generation node, the message grooming node, and the block storage node are nodes in a blockchain service domain. The embodiment of the invention prevents each transaction node from broadcasting the transaction information to the blockchain network, thereby preventing the formation of broadcast storm and network congestion.

Description

Transaction information processing method and block generation node
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a transaction information processing method and a block generation node.
Background
In the blockchain network, the transaction node needs to broadcast the transaction information generated by itself to the blockchain network, so that all nodes in the blockchain network can store and check the transaction information, and an effective supervision mechanism is formed.
However, when there are many transaction nodes in the blockchain network, each transaction node broadcasts transaction information to the blockchain network, which easily causes a broadcast storm, thereby causing network congestion.
Disclosure of Invention
Embodiments of the present invention provide a transaction information processing method and a block generation node, so as to avoid a broadcast storm and network congestion in a block chain network.
In a first aspect, an embodiment of the present invention provides a transaction information processing method, including:
the block generation node receives transaction information sent by at least one message combing node;
the block generating node generates a block according to the transaction information;
the block generation node sends the blocks to a block storage node so that the block storage node stores the blocks in a block chain;
wherein the block generation node, the message grooming node, and the block storage node are nodes in a blockchain service domain.
In a second aspect, an embodiment of the present invention provides a block generation node, including:
the receiving module is used for receiving the transaction information sent by at least one message combing node;
the block generating module is used for generating a block according to the transaction information;
a sending module, configured to send the block to a block storage node, so that the block storage node stores the block in a block chain;
wherein the block generation node, the message grooming node, and the block storage node are nodes in a blockchain service domain.
In a third aspect, an embodiment of the present invention provides a block generation node, including:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, the computer program being executed by a processor to implement the method of the first aspect.
According to the transaction information processing method and the block generation node provided by the embodiment of the invention, the block generation node receives the transaction information sent by at least one message combing node, and the block generation node generates the block according to the transaction information and sends the block to the block storage node, so that the block storage node stores the block in the block chain, and each transaction node is prevented from broadcasting the transaction information to the block chain network, and thus, a broadcast storm is prevented from being formed and network congestion is prevented from occurring.
Drawings
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present invention;
fig. 2 is a block chain network architecture according to an embodiment of the present invention;
FIG. 3 is a flow chart of a transaction information processing method according to an embodiment of the invention;
FIG. 4 is a flow chart of a transaction information processing method according to another embodiment of the invention;
FIG. 5 is a flow chart of a transaction information processing method according to another embodiment of the invention;
fig. 6 is a schematic structural diagram of a block generation node according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a block generation node according to another 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 transaction information processing method provided by the invention can be applied to the communication system shown in figure 1. As shown in fig. 1, the communication system includes: access network device 11, terminal device 12, and server 13. It should be noted that the communication System shown in fig. 1 may be applicable to different network formats, for example, may be applicable to Global System for Mobile communication (GSM), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Long Term Evolution (Long Term Evolution, LTE), and future 5G network formats. Optionally, the communication system may be a system in a scenario of high-reliability and Low-Latency Communications (URLLC) transmission in a 5G communication system.
Therefore, optionally, the access Network device 11 may be a Base Station (BTS) and/or a Base Station Controller in GSM or CDMA, a Base Station (NodeB, NB) and/or a Radio Network Controller (RNC) in WCDMA, an evolved Node B (eNB or eNodeB) in LTE, or a relay Station or an access point, or a Base Station (gbb) in a future 5G Network, and the present invention is not limited thereto.
The terminal device 12 may be a wireless terminal or a wired terminal. A wireless terminal may refer to a device that provides voice and/or other traffic data connectivity to a user, a handheld device having wireless connection capability, or other processing device connected to a wireless modem. A wireless terminal, which may be a mobile terminal such as a mobile telephone (or "cellular" telephone) and a computer having a mobile terminal, for example, a portable, pocket, hand-held, computer-included, or vehicle-mounted mobile device, may communicate with one or more core Network devices via a Radio Access Network (RAN), and may exchange language and/or data with the RAN. For another example, the Wireless terminal may also be a Personal Communication Service (PCS) phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), and other devices. A wireless Terminal may also be referred to as a system, a Subscriber Unit (Subscriber Unit), a Subscriber Station (Subscriber Station), a Mobile Station (Mobile), a Remote Station (Remote Station), a Remote Terminal (Remote Terminal), an Access Terminal (Access Terminal), a User Terminal (User Terminal), a User Agent (User Agent), and a User Device or User Equipment (User Equipment), which are not limited herein. Optionally, the terminal device 12 may also be a smart watch, a tablet computer, or the like. In this embodiment, the terminal device 12 and the server 13 may specifically be nodes in a blockchain network.
The invention provides a 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 schematic diagram of a block chain network architecture according to an embodiment of the present invention. As shown in fig. 2, the blockchain network includes a blockchain service domain 21 and a blockchain management domain 22; the block chain service domain 21 includes three types of nodes, which are: the system comprises a message combing node, a block generating node and a block storage node; the number of the message combing nodes, the block generating nodes and the block storing nodes is only schematically illustrated here, and is not limited. Optionally, the message combing node, the block generating node, and the block storing node all publish their IP addresses to the outside, and the message combing node, the block generating node, and the block storing node may provide respective services for the block chain network, so that the message combing node, the block generating node, and the block storing node may obtain a certain reward from the block chain network, thereby exciting more participating nodes in the block chain network to become nodes in the block chain service domain. In this embodiment, the blockchain management domain 22 includes a root node, and the root node does not disclose its own IP address and the identity information of the root node to the outside, mainly from the security of the blockchain network, and therefore, the root node hides its own IP address from the outside.
As shown in fig. 2, the block chain network further includes: the user transaction node may specifically be a node that provides a service and generates a transaction processing message, for example, the user transaction node may specifically be an intelligent contract terminal, a terminal with an article tracing function, a terminal with a financial transaction function, and the like.
The message combing node can receive transaction messages such as transaction information from the user transaction node, sequence the received transaction messages according to the receiving time of the transaction messages, and send the sequenced transaction messages to the block generating node.
The block generation node is also called a mining node or an accounting node, and can generate a block according to the sorted transaction information sent by the message combing node and send the block to the block storage node.
The block storage node is responsible for storing an account book of the whole block chain, and the block storage node can store the block newly generated by the block generation node into the block chain.
The root node may be a first node of the entire blockchain, and is responsible for managing the entire blockchain, and the root node may control the message combing node, the block generating node, and the block storing node by broadcasting an instruction to the blockchain network. When a certain type of node among the message combing node, the block generating node and the block storage node receives the message sent by the root node, the message needs to be immediately forwarded to the adjacent node of the node. In addition, the root node is responsible for generating a created block of the block chain, and the created block comprises the IP address of at least one block generation node, the IP address of at least one message combing node and the IP address of at least one block storage node.
Fig. 3 is a flowchart of a transaction information processing method according to an embodiment of the present invention. The embodiment of the invention provides a transaction information processing method aiming at the technical problems in the prior art, which comprises the following specific steps:
step 301, the block generation node receives the transaction information sent by at least one message combing node.
Assuming that the user terminal a and the user terminal B are the user transaction nodes described in this embodiment, during a transaction process, the user terminal a generates transaction information M indicating that the user terminal a transfers 10 yuan to the user terminal B, and in order to improve security of the transaction information, the user terminal a may sign the transaction information M by using its own private key, thereby obtaining signed transaction information M-sig. Further, the user terminal a sends the signed transaction information M-sig to a message combing node, the message combing node verifies the identity of the user terminal a, specifically, the message combing node verifies the signed transaction information M-sig by using the public key of the user terminal a, and if the verification is passed, it indicates that the signed transaction information M-sig is really sent by the user terminal a. Optionally, the message combing node may sort the signed transaction information M-sig according to the receiving time of each signed transaction information M-sig, and further send the sorted transaction information M-sig to the block generating node, which may send a subscription message to the message combing node in advance, where the subscription message is used to obtain the transaction information in the message combing node.
Step 302, the block generation node generates a block according to the transaction information.
Specifically, the block generation node may generate the block according to the signed transaction information M-sig received from the message combing node.
Step 303, the block generation node sends the block to a block storage node, so that the block storage node stores the block in a block chain.
Further, the block generation node sends the block to the block storage node, which may store the block into a block chain.
Wherein the block generation node, the message grooming node, and the block storage node are nodes in a blockchain service domain.
According to the embodiment of the invention, the block generation node receives the transaction information sent by at least one message combing node, generates the block according to the transaction information and sends the block to the block storage node, so that the block storage node stores the block in the block chain, and each transaction node is prevented from broadcasting the transaction information to the block chain network, thereby preventing the broadcast storm from forming and network congestion from occurring.
Fig. 4 is a flowchart of a transaction information processing method according to another embodiment of the invention. On the basis of the foregoing embodiment, the transaction information processing method provided in this embodiment specifically includes the following steps:
step 401, the block generation node broadcasts identity information of the block generation node in a block chain network.
When a node a first joins a blockchain, the node a needs to broadcast its own identity information in the blockchain network, for example, the identity information indicates that the node a is a message combing node, a block generating node or a block storing node, and optionally, the identity information of the node a is recorded in a blockchain account book. The node a may be a block generating node, and may also be a message combing node or a block storing node.
Step 402, the block generation node sends a created block acquisition request to a node adjacent to the block generation node.
Further, the node a sends a created block acquisition request to its own neighboring node B, and optionally, each node in the block chain network stores a created block.
Step 403, the block generation node receives the created block from the neighboring node.
The creation block comprises an IP address of at least one block generation node, an IP address of at least one message combing node and an IP address of at least one block storage node.
The neighboring node B sends its locally stored genesis block to node a. However, the created blocks stored in the neighboring node B may be forged by the neighboring node B, and therefore, in order to avoid the failure of the created block received by the node a, the node a may simultaneously send a created block acquisition request to a plurality of neighboring nodes, for example, the neighboring node B and the neighboring node C, the node a receives the created blocks sent by the neighboring node B and the neighboring node C, respectively, and the node a may determine the authenticity of the created block according to whether the created blocks sent by the neighboring node B and the neighboring node C are identical, for example, when the node a receives the created blocks sent by the neighboring node B and the neighboring node C are identical, the created block is true.
Step 404, the block generation node sends a query request to at least one block storage node according to the IP address of the at least one block storage node included in the created block, where the query request is used to query an upstream node and a downstream node of the block generation node.
Further, the node a may send a query request to at least one block storage node according to the IP address of the at least one block storage node stored in the created block, where the query request is used to query an upstream node and a downstream node of the node a.
Step 405, the block generation node receives the IP address of the upstream node and the IP address of the downstream node from the at least one block storage node.
The upstream node is a message combing node, and the downstream node is a block storage node.
Optionally, if the node a is a message combing node, the at least one block storage node returns the IP address of an upstream node, e.g. a user transaction node, to the node a, and returns the IP address of a downstream node, e.g. a block generation node.
If the node A is a block generation node, the at least one block storage node returns the IP address of an upstream node, e.g., a message combing node, and the IP address of a downstream node, e.g., a block storage node, to the node A.
If the node A is a block storage node, the at least one block storage node returns the IP address of an upstream node, e.g., a block generation node, to the node A, which at this time has no downstream node.
And 406, the block generation node receives the transaction information sent by the at least one message combing node.
The implementation manner and specific principle of step 406 and step 301 are consistent, and are not described herein again.
Step 407, the block generation node obtains the accounting right of the block.
Optionally, in the blockchain service domain, the number of the block generating nodes is not limited to one, and a plurality of block generating nodes need to contend for the accounting right of each block in the blockchain network.
Step 408, the block generation node broadcasts the identification information of the block to the block chain network.
When one block generating node in a plurality of block generating nodes contends for the accounting right of the block, the block generating node may broadcast the identification information of the block, such as the block number, to the block chain network so that other block generating nodes contend for the accounting right of the next block.
And step 409, the block generation node generates a block according to the transaction information.
And the block generating node contending for the accounting right of the block generates the block according to the transaction information sent by the upstream node, namely the message combing node.
Step 410, the block generation node sends the block to a block storage node, so that the block storage node stores the block in a block chain.
Further, the block generation node sends the block to the block storage node, which may store the block into a block chain.
According to the embodiment of the invention, the block generation node receives the transaction information sent by at least one message combing node, generates the block according to the transaction information and sends the block to the block storage node, so that the block storage node stores the block in the block chain, and each transaction node is prevented from broadcasting the transaction information to the block chain network, thereby preventing the broadcast storm from forming and network congestion from occurring.
Fig. 5 is a flowchart of a transaction information processing method according to another embodiment of the invention. The transaction information processing method provided by the embodiment specifically comprises the following steps:
step 501, the user transaction node sends transaction information to the message combing node.
In this embodiment, the user transaction node may specifically be the user terminal a described in the above embodiment, and the transaction information sent by the user terminal a to the message combing node may specifically be the signed transaction information M-sig.
Step 502, the message combing node verifies the identity of the user transaction node, and sorts the received transaction information according to the receiving time of the transaction information.
And the message combing node verifies the identity of the user terminal A, specifically, the message combing node verifies the signed transaction information M-sig by adopting the public key of the user terminal A, and if the verification is passed, the signed transaction information M-sig is really sent by the user terminal A. Optionally, the message combing node may sort the signed transaction information M-sig according to the receiving time of each signed transaction information M-sig.
In step 503, the block generation node robs the accounting right of the block W.
And step 504, the block generation node broadcasts a mine digging success message.
In step 505, the block generation node sends the block W to the block storage node.
In the present embodiment, steps 503 to 505 are not limited to being performed after step 502, and may be performed simultaneously with step 502.
And step 506, the message combing node sends the sequenced transaction information to the block generating node.
And the message combing node sends the sequenced transaction information M-sig to the block generating node.
And 507, the block generation node sequences the received transaction information according to the receiving time of the transaction information.
Since the block generation node is not limited to subscribing transaction information from one message combing node, and can subscribe transaction information from a plurality of message combing nodes, the block generation node can sort the transaction information received from the plurality of message combing nodes according to the receiving time of the transaction information.
Step 508, the block generation node robs the accounting right of the block W +1 successfully.
In step 509, the block generation node broadcasts a mine excavation success message.
Step 510, the block generating node generates a block W +1 according to the transaction information.
Optionally, the block W +1 includes signed transaction information M-sig sent by the user terminal a to the message combing node.
In step 511, the block generation node sends the block W +1 to the block storage node.
The block generation node sends the block to the block storage node, and the block storage node can store the block into the block chain, so that the signed transaction information M-sig sent by the user terminal A to the message combing node is stored in the block chain.
According to the embodiment of the invention, the block generation node receives the transaction information sent by at least one message combing node, generates the block according to the transaction information and sends the block to the block storage node, so that the block storage node stores the block in the block chain, and each transaction node is prevented from broadcasting the transaction information to the block chain network, thereby preventing the broadcast storm from forming and network congestion from occurring.
Fig. 6 is a schematic structural diagram of a block generation node according to an embodiment of the present invention. As shown in fig. 6, the block generating node 60 may execute the processing procedure provided in the transaction information processing method, and includes: a receiving module 61, a block generating module 62 and a transmitting module 63; the receiving module 61 is configured to receive transaction information sent by at least one message combing node; the block generation module 62 is configured to generate a block according to the transaction information; the sending module 63 is configured to send the block to a block storage node, so that the block storage node stores the block in a block chain; wherein the block generation node, the message grooming node, and the block storage node are nodes in a blockchain service domain.
Optionally, the block generating node 60 further includes: the acquisition module 64, the acquisition module 64 is used for acquiring the accounting right of the block; the sending module 63 is further configured to: broadcasting the identification information of the blocks into a network of block chains.
Optionally, the sending module 63 is further configured to: broadcasting identity information of the tile generation node in a tile chain network; sending a created block acquisition request to a node adjacent to the block generation node; the receiving module 61 is further configured to: receiving the created block from the neighboring node.
Optionally, the creation block includes an IP address of at least one block generation node, an IP address of at least one message combing node, and an IP address of at least one block storage node.
Optionally, the sending module 63 is further configured to: sending a query request to at least one block storage node according to an IP address of the at least one block storage node included in the created block, wherein the query request is used for querying an upstream node and a downstream node of the block generation node; the receiving module 61 is further configured to: receiving an IP address of the upstream node and an IP address of the downstream node from the at least one block storage node; the upstream node is a message combing node, and the downstream node is a block storage node.
The block generation node of the embodiment shown in fig. 6 may be used to implement the technical solution of the above method embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
Fig. 7 is a schematic structural diagram of a block generation node according to another embodiment of the present invention. The block generating node provided in the embodiment of the present invention may execute the processing flow provided in the transaction information processing method embodiment, as shown in fig. 7, the block generating node 70 includes a memory 71, a processor 72, a computer program, and a communication interface 73; wherein the computer program is stored in the memory 71 and is configured to be executed by the processor 72 in the transaction information processing method described in the above embodiment.
The block generation node of the embodiment shown in fig. 7 may be used to implement the technical solution of the above method embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
In addition, the present embodiment also provides a computer-readable storage medium on which a computer program is stored, the computer program being executed by a processor to implement the transaction information processing method described in the above embodiment.
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 (12)

1. A transaction information processing method, comprising:
the block generation node receives transaction information sent by at least one message combing node; the message combing node is used for receiving the transaction information from the user transaction node before sending the transaction information to the block generating node, verifying the identity of the user transaction node, and sequencing the received transaction information according to the receiving time of the transaction information;
the block generating node generates a block according to the transaction information;
the block generation node sends the blocks to a block storage node so that the block storage node stores the blocks in a block chain;
wherein the block generation node, the message grooming node, and the block storage node are nodes in a blockchain service domain.
2. The method of claim 1, wherein before the block generation node generates a block according to the transaction information, the method further comprises:
the block generation node acquires the accounting right of the block;
the tile generation node broadcasts identification information for the tile into a network of tile chains.
3. The method according to claim 1 or 2, wherein before the block generating node receives the transaction information sent by at least one message combing node, the method further comprises:
the block generation node broadcasts identity information of the block generation node in a block chain network;
the block generation node sends a created block acquisition request to a node adjacent to the block generation node;
the block generation node receives the created block from the neighboring node.
4. The method of claim 3, wherein the created blocks comprise an IP address of at least one block generation node, an IP address of at least one message combing node, and an IP address of at least one block storage node.
5. The method of claim 4, further comprising:
the block generation node sends a query request to at least one block storage node according to the IP address of the at least one block storage node included in the created block, wherein the query request is used for querying an upstream node and a downstream node of the block generation node;
the block generation node receiving the IP address of the upstream node and the IP address of the downstream node from the at least one block storage node;
the upstream node is a message combing node, and the downstream node is a block storage node.
6. A block generation node, comprising:
the receiving module is used for receiving the transaction information sent by at least one message combing node; the message combing node is used for receiving the transaction information from the user transaction node before sending the transaction information to the block generating node, verifying the identity of the user transaction node, and sequencing the received transaction information according to the receiving time of the transaction information;
the block generating module is used for generating a block according to the transaction information;
a sending module, configured to send the block to a block storage node, so that the block storage node stores the block in a block chain;
wherein the block generation node, the message grooming node, and the block storage node are nodes in a blockchain service domain.
7. A block generation node as claimed in claim 6, further comprising:
the acquisition module is used for acquiring the accounting right of the block;
the sending module is further configured to: broadcasting the identification information of the blocks into a network of block chains.
8. A block generating node as claimed in claim 6 or 7, wherein said sending module is further configured to: broadcasting identity information of the tile generation node in a tile chain network; sending a created block acquisition request to a node adjacent to the block generation node;
the receiving module is further configured to: receiving the created block from the neighboring node.
9. A block generation node as claimed in claim 8, wherein the created block comprises an IP address of at least one block generation node, an IP address of at least one message combing node, an IP address of at least one block storage node.
10. A block generating node as defined in claim 9, wherein the sending module is further configured to: sending a query request to at least one block storage node according to an IP address of the at least one block storage node included in the created block, wherein the query request is used for querying an upstream node and a downstream node of the block generation node;
the receiving module is further configured to: receiving an IP address of the upstream node and an IP address of the downstream node from the at least one block storage node;
the upstream node is a message combing node, and the downstream node is a block storage node.
11. A block generation node, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any one of claims 1-5.
12. A computer-readable storage medium, having stored thereon a computer program for execution by a processor to perform the method of any one of claims 1-5.
CN201810449052.5A 2018-05-11 2018-05-11 Transaction information processing method and block generation node Active CN108769142B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810449052.5A CN108769142B (en) 2018-05-11 2018-05-11 Transaction information processing method and block generation node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810449052.5A CN108769142B (en) 2018-05-11 2018-05-11 Transaction information processing method and block generation node

Publications (2)

Publication Number Publication Date
CN108769142A CN108769142A (en) 2018-11-06
CN108769142B true CN108769142B (en) 2021-08-10

Family

ID=64010165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810449052.5A Active CN108769142B (en) 2018-05-11 2018-05-11 Transaction information processing method and block generation node

Country Status (1)

Country Link
CN (1) CN108769142B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109413202B (en) * 2018-11-29 2021-07-09 北京京东尚科信息技术有限公司 System and method for sorting block chain transaction information
CN113966602B (en) * 2019-04-19 2023-10-20 诺基亚技术有限公司 Distributed storage of blocks in a blockchain
CN112398798B (en) * 2019-08-19 2022-10-14 中国移动通信有限公司研究院 Network telephone processing method, device and terminal
CN112688790B (en) * 2020-12-23 2021-09-28 网易(杭州)网络有限公司 Data processing method and device of alliance chain, electronic equipment and storage medium
CN112988893B (en) * 2021-03-15 2023-05-12 中国联合网络通信集团有限公司 Information management method, system, block chain node and medium based on block chain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106372868A (en) * 2016-09-06 2017-02-01 联动优势科技有限公司 Verification method and apparatus for transaction data written into block chain
CN106446067A (en) * 2016-09-06 2017-02-22 联动优势科技有限公司 Transaction data acquisition method and apparatus
CN107294729A (en) * 2017-07-25 2017-10-24 中国联合网络通信集团有限公司 Communication means and device in block chain between different nodes
CN107679045A (en) * 2016-08-01 2018-02-09 华为技术有限公司 Copyright authorization management method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10382208B2 (en) * 2016-04-29 2019-08-13 Olympus Sky Technologies, S.A. Secure communications using organically derived synchronized processes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107679045A (en) * 2016-08-01 2018-02-09 华为技术有限公司 Copyright authorization management method and system
CN106372868A (en) * 2016-09-06 2017-02-01 联动优势科技有限公司 Verification method and apparatus for transaction data written into block chain
CN106446067A (en) * 2016-09-06 2017-02-22 联动优势科技有限公司 Transaction data acquisition method and apparatus
CN107294729A (en) * 2017-07-25 2017-10-24 中国联合网络通信集团有限公司 Communication means and device in block chain between different nodes

Also Published As

Publication number Publication date
CN108769142A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN108769142B (en) Transaction information processing method and block generation node
CN109067724B (en) Block chain data transaction method, device, equipment and storage medium
CN108810119A (en) block chain processing method, device and block chain node
CN107147501B (en) Timestamp processing method and processing device
CN109087100B (en) Key distribution method, device, equipment and storage medium
CN108900528B (en) Block chain real-name authentication method, device, equipment and storage medium
CN109640274B (en) Short message sending method and device based on block chain and computer readable storage medium
CN109118360B (en) Block chain account checking method, device, equipment and storage medium
CN104010285A (en) Short message filtering method and system, short message service center and terminal
CN108683727B (en) Block processing method and main node
CN108989043B (en) Block processing method and device and block link points
CN108810120B (en) Block chain node communication method and device and block chain node
CN108877290B (en) Parking space scheduling method, device, equipment and storage medium
CN108712506A (en) block chain node communication method, device and block chain node
CN108566275A (en) Identity identifying method, device and block chain node
CN109660984A (en) The number of taking turns network method, equipment and computer readable storage medium
CN109639715B (en) Method, device and equipment for avoiding double-flower attack and computer readable storage medium
CN108876611B (en) Transaction information processing method and device and block link points
CN108777710B (en) Inter-node communication method and device of block chain and block chain node
CN109087096B (en) Block chain account checking method, device, equipment and storage medium
CN109462825B (en) Mobile phone number allocation method, equipment and computer readable storage medium
CN109104285B (en) Block chain real-name authentication method, device, equipment and storage medium
CN108985765A (en) Enterprise user information processing method, equipment and storage medium
CN108898419B (en) Reward information processing method and device and block link points
CN109067721A (en) Block chain real name identification method, device, equipment and storage medium

Legal Events

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