CN107294729A - Communication means and device in block chain between different nodes - Google Patents

Communication means and device in block chain between different nodes Download PDF

Info

Publication number
CN107294729A
CN107294729A CN201710612562.5A CN201710612562A CN107294729A CN 107294729 A CN107294729 A CN 107294729A CN 201710612562 A CN201710612562 A CN 201710612562A CN 107294729 A CN107294729 A CN 107294729A
Authority
CN
China
Prior art keywords
block
ore deposit
node
sent
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710612562.5A
Other languages
Chinese (zh)
Other versions
CN107294729B (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 CN201710612562.5A priority Critical patent/CN107294729B/en
Publication of CN107294729A publication Critical patent/CN107294729A/en
Application granted granted Critical
Publication of CN107294729B publication Critical patent/CN107294729B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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
    • H04L9/3249Cryptographic 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 using RSA or related signature schemes, e.g. Rabin scheme
    • 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
    • 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
    • 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/3236Cryptographic 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 using cryptographic hash functions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the present invention provides the communication means and device between different nodes in a kind of block chain.This method includes:Host node receives the signature information for the application reward that user control point is sent;It will apply for that the signature information of reward is sent to digging ore deposit node as first message of generation block, and by first message, first message of block verified so as to dig ore deposit node;The original transaction message of block is obtained from block chain P2P networks, and original transaction message is sent to digging ore deposit node;Receive and dig the random number that ore deposit node is sent, and be sent to according to generating random number block, and by block in block chain P2P networks.The embodiment of the present invention is by digging the communication between ore deposit node, host node, user control point, it is to avoid dig ore deposit node needs to receive broadcast message and the renewal of block of the transaction of whole district's block chain P2P networks simultaneously, reduces the construction cost for digging ore deposit node.

Description

Communication means and device in block chain between different nodes
Technical field
The present embodiments relate to the communication party between different nodes in communication technical field, more particularly to a kind of block chain Method and device.
Background technology
In bit coin network, data are recorded permanently in the form of a file, and we term it block.One block is Or the record set of all latest bit coin transaction, and do not recorded by other previous blocks.Each block includes some or all of Recent Activity, the reference of previous block and other data.
The essence of bit coin " digging ore deposit " is cryptographic Hash (a kind of character string conversion fortune for constantly computing repeatedly random string Calculate, be usually used in encrypted and digitally signed) and whether inspection result meets specific demand.Bit coin " digging ore deposit " hardware is passed by CPU->GPU->FPGA->Tetra- developing stage of ASIC.Current bit coin industry completes to dig ore deposit calculating using asic chip.
Node in each block chain can serve as digging ore deposit node, but if digging ore deposit node independent action, dig ore deposit Efficiency is relatively very low, such as certain in block chain digs ore deposit node to be needed to receive the broadcast of the transaction of whole district's block chain P2P networks simultaneously The renewal of message and block, if digging the limited capacity of ore deposit node, then the demand calculated will be caused frequently by frequently updating It is interrupted, and digs the digging ore deposit that ore deposit node can not be wholwe-hearted, the Functional Design of node gets up and suitable complexity, causes digging ore deposit section The problem of construction cost of point is high.
The content of the invention
The embodiment of the present invention provides the communication means and device between different nodes in a kind of block chain, and ore deposit section is dug to reduce The construction cost of point.
The one side of the embodiment of the present invention is to provide the communication means between different nodes in a kind of block chain, including:
Host node receives the signature information for the application reward that user control point is sent;
The host node using the signature information of the application reward as generation block first message, and by described the One message is sent to digging ore deposit node, so that the digging ore deposit node is verified to first message of the block;
The host node obtains the original transaction message of the block from block chain P2P networks, and original is handed over described Easy message is sent to digging ore deposit node, so that the digging ore deposit node is after to the success of the first of the block information authentication, according to The original transaction message of the block obtains random number;
The host node receives the random number for digging the transmission of ore deposit node, and the block according to the generating random number, And the block is sent in the block chain P2P networks;
Wherein, the host node and the block chain P2P network connections, the user control point connect with the host node Connect, the digging ore deposit node is connected with internet.
The other side of the embodiment of the present invention is to provide a kind of communicator, including:
Receiving module, the signature information of the application reward for receiving user control point transmission;
Sending module, for using the signature information of the application reward as generation block first message, and by institute State first message and be sent to digging ore deposit node, so that the digging ore deposit node is verified to first message of the block;
Acquisition module, the original transaction message for obtaining the block from block chain P2P networks;
The sending module is additionally operable to the original transaction message being sent to digging ore deposit node, so that the digging ore deposit node exists After first information authentication success of the block, random number is obtained according to the original transaction message of the block;
The receiving module is additionally operable to receive the random number that the digging ore deposit node is sent;
Generation module, for the block according to the generating random number;
The sending module is additionally operable to the block being sent in the block chain P2P networks.
Communication means and device in block chain provided in an embodiment of the present invention between different nodes, are received by host node The signature information for the application reward that user control point is sent, the signature information for applying for reward is disappeared as first of generation block Breath, and first message is sent to digging ore deposit node, host node, which is received, digs the random number that ore deposit node is sent, and is given birth to according to random number It is sent into block, and by block in block chain P2P networks, it is logical between ore deposit node, host node, user control point by digging Letter, it is to avoid dig ore deposit node needs to receive broadcast message and the renewal of block of the transaction of whole district's block chain P2P networks simultaneously, reduces Dig the construction cost of ore deposit node.
Brief description of the drawings
Fig. 1 is the communication means flow chart between different nodes in block chain provided in an embodiment of the present invention;
Fig. 2 is the applicable network structure of communication means in block chain provided in an embodiment of the present invention between different nodes Figure;
Communication means flow chart in the block chain that Fig. 3 provides for another embodiment of the present invention between different nodes;
Fig. 4 is the structure chart of communicator provided in an embodiment of the present invention;
The structure chart for the communicator that Fig. 5 provides for another embodiment of the present invention.
Embodiment
Fig. 1 is the communication means flow chart between different nodes in block chain provided in an embodiment of the present invention.It is of the invention real Applying example, there is provided the communication means between different nodes in block chain, the party the problem of high for the construction cost for digging ore deposit node Method is comprised the following steps that:
Step S101, host node receive the signature information for the application reward that user control point is sent.
Wherein, the host node and the block chain P2P network connections, the user control point connect with the host node Connect, the digging ore deposit node is connected with internet.
As shown in Fig. 2 host node and block chain P2P network connections, user control point are connected with host node, multiple digging ore deposit sections Point for example digs ore deposit node 1, digging ore deposit node 2 ..., digging ore deposit node n is connected with internet INTERNET respectively.
For all digging ore deposit nodes of same user, we set a user control point to be controlled, and advise simultaneously A fixed host node accesses unique node of block chain P2P networks as the user, and others dig ore deposit node, for example, dig ore deposit section Point 1, digging ore deposit node 2 ... dig ore deposit node n access INTERNET nets.Host node is introduced separately below, dig ore deposit node, user's control The function of point.
The function of user control point includes as follows:
1) private key of user is stored;
2) public key and private key of user is generated, public key is then sent to the host node and Wa Kuang with oneself same user Node;
3) signature information of user control point generation application reward, and the signature information that this application is rewarded is sent to main section After point, the signature information that this application reward is received for host node, the signature information that this application is rewarded is used as generation block The block, is then broadcast in block chain P2P networks by first message.Optionally, when host node often generates a new block, User control point all generates the signature information of a new application reward, is used as first message of the new block.
The function of host node includes as follows:
1) public key of user is stored;
2) communicated with other nodes in block chain P2P networks;
3) communicated with all digging ore deposit nodes of this user in INTERNET;
4) communicated with user control point;
5) calculate cryptographic Hash according to random number that ore deposit node sends is dug, and generate block (block content and normal The format and content of the block of block chain is consistent), then block is broadcast in block chain P2P networks, for grabbing book keeping operation power, First message of the block is the signature information for the application reward that user control point is generated;
6) host node is responsible for recording account book;
7) IP address list of one digging ore deposit node of storage and real-time update.
The function of ore deposit node is dug including as follows:
1) public key of user is stored;
2) calculate to find and can suitably calculate the random number of the cryptographic Hash less than default cryptographic Hash, if after finding, will The random number is sent to the host node with oneself same user;
3) it is host node from block chain P2P that transaction message in the block of random number to be found, the block is obtained from host node Obtained in network, first in the block message is the signature information of the application reward of user control point generation;
4) IP address of host node is stored.
In the present embodiment, user control point digs the efficiency of ore deposit node to be lifted, and user control point can basis at any time The progress or calculating demand of ore deposit is dug to select to apply in public cloud free virtual machine or preferential computing resource conduct The digging ore deposit node of oneself, user control point is determined required according to the algorithm that the computing capability use for digging ore deposit node is made an appointment The number of ore deposit node is dug, and records the IP address for digging ore deposit node.
User control point applies for a host node of oneself in block chain P2P networks, and records the IP of host node Address.User control point application is to digging after ore deposit node, and the IP address for digging ore deposit node is sent to host node by user control point, by leading Actively ore deposit node is dug in contact to node, and the IP address of host node can also be sent to digging ore deposit node, is actively contacted by digging ore deposit node Host node.User control point generates the public key and private key of user, and public key then is sent into the main section with oneself same user Point and digging ore deposit node, the private key of user are only stored on user control point.
The signature information of user control point generation application reward, the signature information is that the user control point uses user Private key the application reward is signed after obtained message, the signature for applying rewarding that the user control point generate Message is sent to host node.
Step S102, the host node using it is described application reward signature information as generation block first message, And first message is sent to digging ore deposit node, so that the digging ore deposit node is tested first message of the block Card.
The specific method verified to first message of the block of ore deposit node that digs is:The digging ore deposit node profit With the public key of the user locally prestored, first message is decrypted, if first message utilizes this user What private key was encrypted, then it is described dig ore deposit node can using the content after public key decryptions and unencryption part progress pair Than, if consistent with the content of the part of unencryption using the content after public key decryptions, illustrate the signature information be strictly by What the user control point of this user was sent, then it is verified.
Step S103, the host node obtain the original transaction message of the block from block chain P2P networks, and by institute State original transaction message and be sent to digging ore deposit node, so that the ore deposit node that digs is in first information authentication success to the block Afterwards, random number is obtained according to the original transaction message of the block.
Host node in block chain P2P networks as normal block chain node, will be from block when starting to dig ore deposit The original transaction message of the block obtained in chain P2P networks is sent to digging ore deposit node by INTERNET nets.If digging ore deposit section First information authentication success of the point to the block, then obtain random number according to the original transaction message of the block.Specifically , the random number of the cryptographic Hash less than default cryptographic Hash can suitably be calculated by digging the calculating searching of ore deposit node, if after finding, will The random number is sent to the host node with oneself same user
Step S104, the host node receive the random number for digging the transmission of ore deposit node, and according to the generating random number The block, and the block is sent in the block chain P2P networks.
Host node generates block and by block broadcast in P2P networks, and start next after the random number is received The billing right of block is striven for.Meanwhile, the message that the random number of a upper block has been found is sent to other digging ore deposits Node stops current calculating for them, and send simultaneously the original transaction message of new block be sent to digging ore deposit node allow him Begin look for next random number.
The embodiment of the present invention receives the signature information for the application reward that user control point is sent by host node, and application is encouraged The signature information encouraged is sent to digging ore deposit node as first message for generating block, and by first message, and host node is received The random number that ore deposit node is sent is dug, and is sent to according to generating random number block, and by block in block chain P2P networks, is passed through The communication dug between ore deposit node, host node, user control point, it is to avoid dig ore deposit node needs to receive whole district's block chain P2P networks simultaneously Transaction broadcast message and the renewal of block, reduce dig ore deposit node construction cost.
Communication means flow chart in the block chain that Fig. 3 provides for another embodiment of the present invention between different nodes.Upper On the basis of stating embodiment, communication means in the block chain that the present embodiment is provided between different nodes is comprised the following steps that:
Step S301, host node receive the IP address for the digging ore deposit node that user control point is sent.
Step S302, host node receive the public key for the user that user control point is sent.
The public key of the user is sent to digging ore deposit node by step S303, the host node.
Step S304, host node receive the signature information for the application reward that user control point is sent.
Step S305, the host node using it is described application reward signature information as generation block first message, And first message is sent to digging ore deposit node, so that the digging ore deposit node is tested first message of the block Card.
Step S306, the host node obtain the original transaction message of the block from block chain P2P networks, and by institute State original transaction message and be sent to digging ore deposit node, so that the ore deposit node that digs is in first information authentication success to the block Afterwards, random number is obtained according to the original transaction message of the block.
Step S307, the host node receive the random number for digging the transmission of ore deposit node, and are calculated according to the random number Cryptographic Hash, the cryptographic Hash is less than default cryptographic Hash.
Step S308, the host node generate the block according to the cryptographic Hash, and the block are sent to described In block chain P2P networks.
Step S301- steps S308 detailed process is consistent with above-described embodiment, and here is omitted.
The embodiment of the present invention receives the signature information for the application reward that user control point is sent by host node, and application is encouraged The signature information encouraged is sent to digging ore deposit node as first message for generating block, and by first message, and host node is received The random number that ore deposit node is sent is dug, and is sent to according to generating random number block, and by block in block chain P2P networks, is passed through The communication dug between ore deposit node, host node, user control point, it is to avoid dig ore deposit node needs to receive whole district's block chain P2P networks simultaneously Transaction broadcast message and the renewal of block, reduce dig ore deposit node construction cost.
Fig. 4 is the structure chart of communicator provided in an embodiment of the present invention.Communicator provided in an embodiment of the present invention can To perform the handling process that the communication means embodiment in block chain between different nodes is provided, the communicator can be specifically Host node in above-described embodiment.As shown in figure 4, communicator 40 includes:Receiving module 41, sending module 42, acquisition module 43rd, generation module 44, wherein, receiving module 41 is used for the signature information for the application reward for receiving user control point transmission;Send Module 42 be used for using the signature information of the application reward as generation block first message, and by first message Digging ore deposit node is sent to, so that the digging ore deposit node is verified to first message of the block;Acquisition module 43 is used for The original transaction message of the block is obtained from block chain P2P networks;Sending module 42 is additionally operable to disappear the original transaction Breath is sent to digging ore deposit node, so that the digging ore deposit node is after to the success of the first of the block information authentication, according to described The original transaction message of block obtains random number;Receiving module 41 is additionally operable to receive the random number that the digging ore deposit node is sent;It is raw It is used for the block according to the generating random number into module 44;Sending module 42 is additionally operable to the block being sent to the area In block chain P2P networks.
The embodiment of the method that communicator provided in an embodiment of the present invention can be provided specifically for the above-mentioned Fig. 1 of execution, Here is omitted for concrete function.
The embodiment of the present invention receives the signature information for the application reward that user control point is sent by host node, and application is encouraged The signature information encouraged is sent to digging ore deposit node as first message for generating block, and by first message, and host node is received The random number that ore deposit node is sent is dug, and is sent to according to generating random number block, and by block in block chain P2P networks, is passed through The communication dug between ore deposit node, host node, user control point, it is to avoid dig ore deposit node needs to receive whole district's block chain P2P networks simultaneously Transaction broadcast message and the renewal of block, reduce dig ore deposit node construction cost.
The structure chart for the communicator that Fig. 5 provides for another embodiment of the present invention.On the basis of above-described embodiment, receive Module 41 is additionally operable to receive the public key for the user that user control point is sent;Sending module 42 is additionally operable to the public key hair of the user Give digging ore deposit node.
The signature information is obtained after the user control point is signed using the private key of user to the application reward The message arrived.
Receiving module 41 is additionally operable to receive the IP address for the digging ore deposit node that user control point is sent.
Communicator 40 also includes:Computing module 45, computing module 45 is used to calculate cryptographic Hash, institute according to the random number State cryptographic Hash and be less than default cryptographic Hash;Generation module 44 according to the cryptographic Hash specifically for generating the block.
The embodiment of the method that communicator provided in an embodiment of the present invention can be provided specifically for the above-mentioned Fig. 3 of execution, Here is omitted for concrete function.
The embodiment of the present invention receives the signature information for the application reward that user control point is sent by host node, and application is encouraged The signature information encouraged is sent to digging ore deposit node as first message for generating block, and by first message, and host node is received The random number that ore deposit node is sent is dug, and is sent to according to generating random number block, and by block in block chain P2P networks, is passed through The communication dug between ore deposit node, host node, user control point, it is to avoid dig ore deposit node needs to receive whole district's block chain P2P networks simultaneously Transaction broadcast message and the renewal of block, reduce dig ore deposit node construction cost.
In summary, the signature that the embodiment of the present invention receives the application reward that user control point is sent by host node disappears Breath, will apply for that the signature information of reward is sent to digging ore deposit node as first message of generation block, and by first message, Host node, which is received, digs the random number that ore deposit node is sent, and is sent to block chain P2P nets according to generating random number block, and by block In network, by digging the communication between ore deposit node, host node, user control point simultaneously, it is to avoid digging ore deposit node needs to receive whole district's block The broadcast message of the transaction of chain P2P networks and the renewal of block, reduce the construction cost for digging ore deposit node.
, can be by it in several embodiments provided by the present invention, it should be understood that disclosed apparatus and method Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical of device or unit by some interfaces Letter connection, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in an embodied on computer readable and deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are to cause a computer Equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform the present invention each The part steps of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various Can be with the medium of store program codes.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module Division progress for example, in practical application, can distribute complete by different functional modules by above-mentioned functions as needed Into the internal structure of device being divided into different functional modules, to complete all or part of function described above.On The specific work process of the device of description is stated, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology The scope of scheme.

Claims (10)

1. the communication means in a kind of block chain between different nodes, it is characterised in that including:
Host node receives the signature information for the application reward that user control point is sent;
The host node using the signature information of the application reward as generation block first message, and by described first Message is sent to digging ore deposit node, so that the digging ore deposit node is verified to first message of the block;
The host node obtains the original transaction message of the block from block chain P2P networks, and the original transaction is disappeared Breath is sent to digging ore deposit node, so that the digging ore deposit node is after to the success of the first of the block information authentication, according to described The original transaction message of block obtains random number;
The host node receives the random number for digging the transmission of ore deposit node, and the block according to the generating random number, and will The block is sent in the block chain P2P networks;
Wherein, the host node and the block chain P2P network connections, the user control point are connected with the host node, institute Digging ore deposit node is stated to be connected with internet.
2. according to the method described in claim 1, it is characterised in that the host node receives the application prize that user control point is sent Before the signature information encouraged, in addition to:
Host node receives the public key for the user that user control point is sent;
The public key of the user is sent to digging ore deposit node by the host node.
3. method according to claim 2, it is characterised in that the signature information is that the user control point uses user Private key the application reward is signed after obtained message.
4. method according to claim 3, it is characterised in that the host node receives the user's that user control point is sent Before public key, in addition to:
Host node receives the IP address for the digging ore deposit node that user control point is sent.
5. the method according to claim any one of 1-4, it is characterised in that the host node receives the digging ore deposit node hair The random number sent, and the block according to the generating random number, including:
The host node receives the random number for digging the transmission of ore deposit node, and calculates cryptographic Hash, the Kazakhstan according to the random number Uncommon value is less than default cryptographic Hash;
The host node generates the block according to the cryptographic Hash.
6. a kind of communicator, it is characterised in that including:
Receiving module, the signature information of the application reward for receiving user control point transmission;
Sending module, for using the signature information of the application reward as generation block first message, and by described the One message is sent to digging ore deposit node, so that the digging ore deposit node is verified to first message of the block;
Acquisition module, the original transaction message for obtaining the block from block chain P2P networks;
The sending module is additionally operable to the original transaction message being sent to digging ore deposit node, so that the digging ore deposit node is to institute After the first information authentication success for stating block, random number is obtained according to the original transaction message of the block;
The receiving module is additionally operable to receive the random number that the digging ore deposit node is sent;
Generation module, for the block according to the generating random number;
The sending module is additionally operable to the block being sent in the block chain P2P networks.
7. communicator according to claim 6, it is characterised in that the receiving module is additionally operable to receive user control point The public key of the user of transmission;
The sending module is additionally operable to the public key of the user being sent to digging ore deposit node.
8. communicator according to claim 7, it is characterised in that the signature information is that the user control point is used The message that the private key of user is obtained after being signed to the application reward.
9. communicator according to claim 8, it is characterised in that the receiving module is additionally operable to receive user control point The IP address of the digging ore deposit node sent.
10. the communicator according to claim any one of 6-9, it is characterised in that also include:Computing module;
The computing module is used to calculate cryptographic Hash according to the random number, and the cryptographic Hash is less than default cryptographic Hash;
The generation module according to the cryptographic Hash specifically for generating the block.
CN201710612562.5A 2017-07-25 2017-07-25 Communication method and device between different nodes in block chain Active CN107294729B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710612562.5A CN107294729B (en) 2017-07-25 2017-07-25 Communication method and device between different nodes in block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710612562.5A CN107294729B (en) 2017-07-25 2017-07-25 Communication method and device between different nodes in block chain

Publications (2)

Publication Number Publication Date
CN107294729A true CN107294729A (en) 2017-10-24
CN107294729B CN107294729B (en) 2020-03-13

Family

ID=60103475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710612562.5A Active CN107294729B (en) 2017-07-25 2017-07-25 Communication method and device between different nodes in block chain

Country Status (1)

Country Link
CN (1) CN107294729B (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108334553A (en) * 2017-12-29 2018-07-27 北京欧链科技有限公司 Data screening method and apparatus based on block chain
CN108683727A (en) * 2018-05-11 2018-10-19 中国联合网络通信集团有限公司 Block processes method and host node
CN108769144A (en) * 2018-05-11 2018-11-06 中国联合网络通信集团有限公司 Storage processing method, transaction node, memory node and communication equipment
CN108769142A (en) * 2018-05-11 2018-11-06 中国联合网络通信集团有限公司 Exchange information processing method and block generate node
CN108959335A (en) * 2017-12-08 2018-12-07 翟红鹰 Integral acquisition methods and system based on block chain technology
CN109325746A (en) * 2018-08-29 2019-02-12 华中科技大学 A kind of block chain motivational techniques based on storage, block chain network and storage network
CN109408595A (en) * 2018-10-26 2019-03-01 全链通有限公司 Block chain bookkeeping methods, equipment and computer readable storage medium
CN109447803A (en) * 2018-10-26 2019-03-08 全链通有限公司 Bookkeeping methods, equipment, alliance's chain and the storage medium of alliance's chain
CN109462641A (en) * 2018-10-30 2019-03-12 深圳市元征科技股份有限公司 A kind of user communication method and system, equipment, computer readable storage medium
CN109636427A (en) * 2019-01-29 2019-04-16 深圳市智税链科技有限公司 Method for processing business, device, medium and electronic equipment based on block catenary system
CN109921897A (en) * 2019-03-13 2019-06-21 北京柏链基石科技有限公司 Triggering method, device, calculating equipment and the storage medium that proof of work calculates
CN109995775A (en) * 2019-03-22 2019-07-09 杭州复杂美科技有限公司 Block chain identifying code application method, equipment and storage medium
CN110226317A (en) * 2018-01-03 2019-09-10 百度(美国)有限责任公司 Data authentication method, device and system
WO2019237276A1 (en) * 2018-06-13 2019-12-19 汪华东 Block chain technology-based digital currency distribution system and distribution method therefor
CN110619520A (en) * 2018-06-20 2019-12-27 深圳市红砖坊技术有限公司 Block chain system and routing method of routing node applied to block chain system
CN110971413A (en) * 2019-06-20 2020-04-07 腾讯科技(深圳)有限公司 Random number generation method, random number generation device and storage medium
CN111193596A (en) * 2019-12-30 2020-05-22 达闼科技成都有限公司 Block generation system, method, mining server and workload certification device
CN111566992A (en) * 2017-12-15 2020-08-21 区块链控股有限公司 Initiation of a security enhanced blockchain transaction
CN112258046A (en) * 2020-10-23 2021-01-22 上海物融智能科技有限公司 Data processing method, related node and system applied to block chain
CN115189972A (en) * 2022-09-13 2022-10-14 四块科技(深圳)有限公司 Method and device for guaranteeing safe excavation of nodes and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106548349B (en) * 2016-11-02 2020-09-29 江苏通付盾科技有限公司 Transaction information verification method and system
CN106789908B (en) * 2016-11-23 2019-09-06 江苏通付盾科技有限公司 Block common recognition method for building up and system in block chain

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108959335A (en) * 2017-12-08 2018-12-07 翟红鹰 Integral acquisition methods and system based on block chain technology
CN108959335B (en) * 2017-12-08 2021-05-25 普华云创科技(北京)有限公司 Consensus method and system based on block chain technology
CN111566992B (en) * 2017-12-15 2024-04-16 区块链控股有限公司 Initiation of a security enhanced blockchain transaction
CN111566992A (en) * 2017-12-15 2020-08-21 区块链控股有限公司 Initiation of a security enhanced blockchain transaction
CN108334553A (en) * 2017-12-29 2018-07-27 北京欧链科技有限公司 Data screening method and apparatus based on block chain
CN108334553B (en) * 2017-12-29 2020-07-10 北京欧链科技有限公司 Data screening method and device based on block chain
CN110226317A (en) * 2018-01-03 2019-09-10 百度(美国)有限责任公司 Data authentication method, device and system
CN108769142A (en) * 2018-05-11 2018-11-06 中国联合网络通信集团有限公司 Exchange information processing method and block generate node
CN108769142B (en) * 2018-05-11 2021-08-10 中国联合网络通信集团有限公司 Transaction information processing method and block generation node
CN108683727B (en) * 2018-05-11 2021-09-07 中国联合网络通信集团有限公司 Block processing method and main node
CN108769144A (en) * 2018-05-11 2018-11-06 中国联合网络通信集团有限公司 Storage processing method, transaction node, memory node and communication equipment
CN108683727A (en) * 2018-05-11 2018-10-19 中国联合网络通信集团有限公司 Block processes method and host node
WO2019237276A1 (en) * 2018-06-13 2019-12-19 汪华东 Block chain technology-based digital currency distribution system and distribution method therefor
CN110619520B (en) * 2018-06-20 2023-05-02 深圳市红砖坊技术有限公司 Block chain system and routing method applied to routing nodes of block chain system
CN110619520A (en) * 2018-06-20 2019-12-27 深圳市红砖坊技术有限公司 Block chain system and routing method of routing node applied to block chain system
CN109325746A (en) * 2018-08-29 2019-02-12 华中科技大学 A kind of block chain motivational techniques based on storage, block chain network and storage network
CN109447803A (en) * 2018-10-26 2019-03-08 全链通有限公司 Bookkeeping methods, equipment, alliance's chain and the storage medium of alliance's chain
CN109408595B (en) * 2018-10-26 2020-08-11 全链通有限公司 Block chain accounting method, device and computer readable storage medium
CN109447803B (en) * 2018-10-26 2020-10-27 全链通有限公司 Alliance chain accounting method, equipment, alliance chain and storage medium
CN109408595A (en) * 2018-10-26 2019-03-01 全链通有限公司 Block chain bookkeeping methods, equipment and computer readable storage medium
CN109462641B (en) * 2018-10-30 2021-12-10 深圳市元征科技股份有限公司 User communication method, system, equipment and computer readable storage medium
CN109462641A (en) * 2018-10-30 2019-03-12 深圳市元征科技股份有限公司 A kind of user communication method and system, equipment, computer readable storage medium
CN109636427B (en) * 2019-01-29 2024-03-01 深圳市智税链科技有限公司 Business processing method, device, medium and electronic equipment based on block chain system
CN109636427A (en) * 2019-01-29 2019-04-16 深圳市智税链科技有限公司 Method for processing business, device, medium and electronic equipment based on block catenary system
CN109921897A (en) * 2019-03-13 2019-06-21 北京柏链基石科技有限公司 Triggering method, device, calculating equipment and the storage medium that proof of work calculates
CN109921897B (en) * 2019-03-13 2022-06-17 北京柏链基石科技有限公司 Triggering method and device for workload certification calculation, calculating equipment and storage medium
CN109995775B (en) * 2019-03-22 2021-06-01 杭州复杂美科技有限公司 Block chain verification code application method, equipment and storage medium
CN109995775A (en) * 2019-03-22 2019-07-09 杭州复杂美科技有限公司 Block chain identifying code application method, equipment and storage medium
CN110971413B (en) * 2019-06-20 2021-07-06 腾讯科技(深圳)有限公司 Random number generation method, random number generation device and storage medium
CN110971413A (en) * 2019-06-20 2020-04-07 腾讯科技(深圳)有限公司 Random number generation method, random number generation device and storage medium
CN111193596B (en) * 2019-12-30 2023-09-05 达闼机器人股份有限公司 Block generation system, method, server and workload verification device
CN111193596A (en) * 2019-12-30 2020-05-22 达闼科技成都有限公司 Block generation system, method, mining server and workload certification device
CN112258046A (en) * 2020-10-23 2021-01-22 上海物融智能科技有限公司 Data processing method, related node and system applied to block chain
CN115189972A (en) * 2022-09-13 2022-10-14 四块科技(深圳)有限公司 Method and device for guaranteeing safe excavation of nodes and storage medium

Also Published As

Publication number Publication date
CN107294729B (en) 2020-03-13

Similar Documents

Publication Publication Date Title
CN107294729A (en) Communication means and device in block chain between different nodes
CN109936457B (en) Block chain multi-party witness method, device, equipment and computer readable storage medium
CN108292395B (en) Block chain generation device, block chain generation method, block chain verification device, block chain verification method, and computer-readable storage medium
KR101727525B1 (en) Block chain based distributed storage method and device thereof
US20190251527A1 (en) System, Method, and Computer Program Product for a Distributed, Cryptographically Secured Proof-of-Intent Transaction Network
EP4002181A1 (en) A consensus method and framework for a blockchain system
CN107147501A (en) Timestamp processing method and processing device
CN107171810A (en) The verification method and device of block chain
CN108985774A (en) A kind of motivational techniques, device, equipment and the storage medium of block chain network
CN109493204B (en) Service accounting method based on block chain and terminal equipment
Huang et al. {Privacy-Preserving} Applications on Smartphones
KR101795696B1 (en) Method for providing archiving and verification services of data transceived via messenger service and server using the same
CN109522330A (en) Cloud platform data processing method, device, equipment and medium based on block chain
CN107231239A (en) Create generation block method for anti-counterfeit and device
CN107480990A (en) Block chain bookkeeping methods and device
CN106452785A (en) Block chain network, branch node and block chain network application method
CN108959621A (en) A kind of implementation method, device, equipment and the storage medium of block chain network
CN109564663A (en) Dynamic password currency alias uses
CN106209739A (en) Cloud storage method and system
CN105488665A (en) Decentralized transaction method
CN107623686A (en) Block chain common recognition reaches method, apparatus, equipment and storage medium
CN110351276A (en) Data processing method, equipment and computer readable storage medium
CN112417001B (en) Data processing method based on block chain network and related equipment
CN111815321A (en) Transaction proposal processing method, device, system, storage medium and electronic device
CN110197433A (en) Numeric value transfer, apparatus and system

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