CN108550038A - A kind of data dissemination system and method applied to block chain - Google Patents
A kind of data dissemination system and method applied to block chain Download PDFInfo
- Publication number
- CN108550038A CN108550038A CN201810347713.3A CN201810347713A CN108550038A CN 108550038 A CN108550038 A CN 108550038A CN 201810347713 A CN201810347713 A CN 201810347713A CN 108550038 A CN108550038 A CN 108550038A
- Authority
- CN
- China
- Prior art keywords
- module
- node
- data
- user side
- block
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3827—Use of message hashing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- Accounting & Taxation (AREA)
- General Business, Economics & Management (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Storage Device Security (AREA)
Abstract
This specification embodiment is related to a kind of data dissemination system and data dissemination method applied to block chain, and the block chain includes more than two nodes, which is characterized in that each node includes:Receiving module, authentication module, common recognition module, execution module and network module, wherein, execution module directly executes the transaction data from user side since local, without obtaining transaction content from the block that common recognition service sends over, also no longer include simultaneously specific transaction data in the block, each transaction data content in the block proposal (block motion) that module of knowing together generates is replaced using its hash (abstract) value, because most payload (load) in block proposal come from transaction data content, so when transaction content therein is replaced by hash values, the volume of block proposal can be much less, in general at least 50% or more can be reduced.
Description
Technical field
This specification embodiment is related to network technique field more particularly to a kind of data dissemination system applied to block chain
And method.
Background technology
Block chain technology is also referred to as distributed account book technology, is substantially a kind of distributed interconnection data of decentralization
Library.Block chain network can be considered using the network of block chain Technical Architecture, include multiple block chain nodes in the block chain network,
Either block chain node can correspond at least one block chain, and either block chain may include at least one block.
In current block chain micro services, especially in permitting chain, when go out the block time arrive when, authentication module need by
Transaction in trading pit is packaged, and is sent to common recognition module, and when license chain transaction peak occurs, the size of the block
It may reach number million (1-10M) byte, even up to tens Mbytes, this license link network for remote trans-regional deployment
For network, network delay caused by due to transmitting super large data packet at a distance can greatly cause system performance of transaction (TPS)
It reduces.
In super account book (HyperLedger) project, for the problem, there are a kind of improved method, the think of of this method
Lu Wei:By blockproposal carry out serializing be converted into binary data stream after, to its according to configuration fragment size carry out
Then fragment is sent to other alliance's chain nodes by fragment by gossip agreements therein.This process employs gossip associations
Discuss data transmission in, each transmitting-receiving node each other data send seed (seed) the characteristics of, avoid one to reach
Blockproposal is required in each transmission path by the network throughput of complete transmission, and then reduces network delay, finally
Decaying of the containment block chain network performance of transaction under remote trans-regional deployment scenario to a certain extent, but we often need
Greatly to reduce network delay.
As a result, there is an urgent need for finding a kind of new block chain common recognition scheme, to overcome the above problem.
Invention content
In order to solve the above-mentioned technical problem, this specification embodiment uses following technical proposals:
In a first aspect, this specification embodiment provides a kind of data dissemination system applied to block chain, the block chain
Including more than two nodes, which is characterized in that each node includes:
Receiving module, for receiving the data from user side;
Authentication module is used for:
Data from user side are verified, if the data from user side are stored by verification
Memory module and other nodes for being sent to the block chain;
The characterization numerical value for characterizing the data from user side is calculated according to the data from user side, by institute
State characterization numerical value deposit memory module;
When going out the arrival of block time, by the characterization number corresponding with the data from user side in memory module
Value is packed into characterization numerical information packet, is sent to common recognition module;
The data from user side corresponding with motion packet are obtained from the memory module based on motion packet, are sent to
Execution module;
Common recognition module, is used for:
Receive the characterization numerical information packet from authentication module;Judge whether own node is that block is high where own node
Degree goes out block node, if it is, other required key message values of data dissemination are calculated, and will other described key letters
Breath value is packaged the motion packet for generating the node for being sent to next block height together with the characterization numerical information packet, and will
The motion packet broadcast to the block chain other nodes;And send out request, requests verification module to the authentication module
The data from user side corresponding with the motion packet are sent to the execution module of own node;If own node is not
Block height where being goes out block node, then the common recognition module of own node is received from the motion packet for going out block node, and will
The motion packet is sent to the authentication module of own node;
Common recognition operation is carried out according to its algorithm of knowing together, after know together successfully, module of the knowing together successful block that will know together is sent to
Execution module;
Execution module is used for
Receive successful block of knowing together;
Receive authentication module is obtained from the memory module based on motion packet it is corresponding with above-mentioned motion packet described in come from
The data of user side;
The data from user side are executed, executes and database is written into implementing result after completing.
Second aspect, this specification embodiment also provide a kind of data dissemination method permitted on chain, the license chain packet
Include more than two nodes, which is characterized in that the node includes receiving module, authentication module, common recognition module, execution module, institute
The method of stating includes the following steps:
S1:Any node of the license chain can be used as receiving node and receive the number from user side by its receiving module
According to;
S2:The authentication module of the receiving node verifies the data from user side, if the verification passes, then will
Its other node for being stored in memory module and being broadcast to the license chain;
S3:The authentication module of each node calculates described from user side for characterizing according to the data from user side
The characterization numerical value is stored in memory module by the characterization numerical value of data;
S4:When going out the block time and arriving, the authentication module of node by memory module with the number from user side
It is packed into characterization numerical information packet according to the corresponding characterization numerical value, is sent to common recognition module;
S5:The common recognition module receives the characterization numerical information packet, judges whether own node is own node institute
Go out block node in block height, if it is, calculate other required key message values of data dissemination, and will it is described its
His key message value is packaged together with the characterization numerical information packet generates carrying for the node for being sent to next block height
Case packet, and by the motion packet broadcast to it is described license chain other nodes;The common recognition module is sent out to the authentication module
Request, requests verification module send the number from user side corresponding with the motion packet to the execution module of own node
According to;
If block height where own node can't not be block node, the common recognition module of own node receives comes from
Go out the motion packet of block node, and the motion packet is sent to the authentication module of own node, authentication module is based on above-mentioned motion
Packet obtains the data from user side corresponding with above-mentioned motion packet from the memory module;
The data from user side are sent to the execution module of own node by authentication module;
S6:Common recognition module carries out common recognition operation according to its algorithm of knowing together, and after knowing together successfully, common recognition module will know together successfully
Block be sent to execution module;
S7:Execution module receives successful block of knowing together;Execution module executes the data from user side, executes completion
Database is written into implementing result later.
Further alternative, the data from user side are the transaction data from user side, the memory module
For trading pit module, execution module executes the data from user side and is specially:Execute the transaction data from user side
In transaction.
Further alternative, the characterization numerical value is cryptographic Hash;Other described key message values include Merkel's root Hash
Value;The data structure of the motion packet is Hash value list.
Further alternative, each node of the license chain further includes network module, the node for the license chain
Between data dissemination.
Further alternative, in step s 5, own node is not when going out block node of block height of place, if verification
Module fails to obtain the number from user side corresponding with above-mentioned motion packet from the memory module based on above-mentioned motion packet
According to, then the transaction data from user side is synchronized to the node request for providing the motion packet, after synchronizing successfully,
The transaction data completely from user side is sent to execution module again;If synchronizing unsuccessful, synchronization time is more than default
After time, which can launch non placet to the motion packet.
The third aspect, this specification embodiment also provide a kind of electronic equipment, including:It memory, processor and is stored in
On the memory and the computer program that can run on the processor, the computer program are executed by the processor
Data dissemination method on above-mentioned license chain.
Fourth aspect, this specification embodiment also provide a kind of computer readable storage medium, described computer-readable to deposit
The one or more programs of storage media storage, one or more of programs are executed when by the electronic equipment including multiple application programs
When so that the electronic equipment executes the data dissemination method on license chain.
Above-mentioned at least one technical solution that this specification embodiment uses can reach following advantageous effect:
Through the above technical solutions, can reduce blockproposal itself volumes (not reducing its information content) and
Hinder remote using other high performance networks transmission improvement project (as using the sliced transmission scheme in HyperLedger) progress
The method of common recognition communication.This patent is exactly that each transaction data in block proposal is used its hash in simple terms
(abstract) value replaces, because most payload (load) in blockproposal come from transaction data content, institute
When being replaced by hash values with transaction data content therein, the volume of blockproposal can be much less, and in general may be used
To reduce at least 50% or more, specifically determined by hash values and original transaction content volume ratio.
Description of the drawings
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment or
Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only
Some embodiments described in this specification embodiment are not paying creative labor for those of ordinary skill in the art
Under the premise of dynamic property, other drawings may also be obtained based on these drawings.
Fig. 1 is the block chain node structural schematic diagram that this specification embodiment provides;
Fig. 2 is the block chain network schematic diagram that this specification embodiment provides;
Fig. 3 is the flow chart of the data dissemination method on the license chain that this specification embodiment provides.
Specific implementation mode
To keep the purpose, technical scheme and advantage of this specification embodiment clearer, have below in conjunction with this specification
The technical solution of this specification embodiment is clearly and completely described in body embodiment and corresponding attached drawing.Obviously, described
Embodiment be only this specification a part of the embodiment, instead of all the embodiments.The embodiment of base in this manual, this
The every other embodiment that field those of ordinary skill is obtained without making creative work, belongs to this explanation
The range of book embodiment protection.
Below in conjunction with attached drawing, the technical solution that each embodiment of this specification provides is described in detail.
Embodiment one
Referring to Fig.1, the data dissemination method on a kind of license chain, the license chain include more than two nodes, feature
It is, the node includes receiving module, authentication module, common recognition module, execution module, be the described method comprises the following steps:
S1:Any node of the license chain can be used as receiving node and receive the number from user side by its receiving module
According to;
S2:The authentication module of the receiving node verifies the data from user side, if the verification passes, then will
Its other node for being stored in memory module and being broadcast to the license chain;Need exist for it is more outstanding, in original skill
In art scheme, participates in node and be required for collecting the data from user side, in order to be verified to the data from user side,
Screening and execution;
S3:The authentication module of each node calculates described from user side for characterizing according to the data from user side
The characterization numerical value is stored in memory module by the characterization numerical value of data;
S4:When going out the block time and arriving, the authentication module of node by memory module with the number from user side
It is packed into characterization numerical information packet according to the corresponding characterization numerical value, is sent to common recognition module;
S5:The common recognition module receives the characterization numerical information packet, judges whether own node is own node institute
Go out block node in block height, if it is, calculate other required key message values of data dissemination, and will it is described its
His key message value is packaged together with the characterization numerical information packet generates carrying for the node for being sent to next block height
Case packet, and by the motion packet broadcast to it is described license chain other nodes;Herein, the content of motion packet coming from by old scheme
The data list of user side, becomes the list of transaction hash values, and other nodes being broadcast in license link;
The common recognition module sends out request to the authentication module, and requests verification module is sent out to the execution module of own node
Send the data from user side corresponding with the motion packet;In this way, execution module can directly be held since local
Data of the row from user side, without obtaining the data content from user side from the block that common recognition module sends over,
Simultaneously also no longer comprising the specifically data content from user side in the block;
If block height where own node can't not be block node, the common recognition module of own node receives comes from
Go out the motion packet of block node, and the motion packet is sent to the authentication module of own node, authentication module is based on above-mentioned motion
Packet obtains the data from user side corresponding with above-mentioned motion packet from the memory module;That is, the service for checking credentials
Once receiving hash lists, the corresponding data content from user side is just obtained from trading pit punching by the list, and will
The data content from user side is transmitted to executing service;
The data from user side are sent to the execution module of own node by authentication module;
S6:Common recognition module carries out common recognition operation according to its algorithm of knowing together, and after knowing together successfully, common recognition module will know together successfully
Block be sent to execution module;
S7:Execution module receives successful block of knowing together;Execution module executes the data from user side, executes completion
Database is written into implementing result later.
Further alternative, the data from user side are the transaction data from user side, the memory module
For trading pit module, execution module executes the data from user side and is specially:Execute the transaction data from user side
In transaction.
Further alternative, the characterization numerical value is cryptographic Hash;Other described key message values include Merkel's root Hash
Value;The data structure of the motion packet is Hash value list.
Further alternative, each node of the license chain further includes network module, the node for the license chain
Between data dissemination.
Further alternative, in step s 5, own node is not when going out block node of block height of place, if verification
Module fails to obtain the number from user side corresponding with above-mentioned motion packet from the memory module based on above-mentioned motion packet
According to, then the transaction data from user side is synchronized to the node request for providing the motion packet, after synchronizing successfully,
The transaction data completely from user side is sent to execution module again;If synchronizing unsuccessful, synchronization time is more than default
After time, which can launch non placet to the motion packet.
Embodiment two
In hardware view, which includes processor, further includes optionally internal bus, network interface, memory.
Wherein, memory may include memory, such as high-speed random access memory (Random-Access Memory, RAM), also may be used
Can further include nonvolatile memory (Non-Volatile Memory), for example, at least 1 magnetic disk storage etc..Certainly, the electricity
Sub- equipment is also possible that the required hardware of other business.
Processor, network interface and memory can be connected with each other by internal bus, which can be industry
Standard architecture (Industry StandardArchitecture, ISA) bus, Peripheral Component Interconnect standard
(Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended
Industry StandardArchitecture, EISA) bus etc..The bus can be divided into address bus, data/address bus,
Controlling bus etc..
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating
Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from then operation in corresponding computer program to memory is read in nonvolatile memory, in logical layer
Content recommendation device is formed on face.Processor executes the program that memory is stored, and specifically for executing service described previously
Performed method operation when device is as executive agent.
Method disclosed in above-mentioned one illustrated embodiment such as this specification embodiment can be applied in processor, or by
Device is managed to realize.Processor may be a kind of IC chip, the processing capacity with signal.During realization, above-mentioned side
Each step of method can be completed by the integrated logic circuit of the hardware in processor or the instruction of software form.Above-mentioned place
It can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit to manage device
(Network Processor, NP) etc.;Can also be digital signal processor (Digital Signal Processor,
DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate
Array (Field-Programmable GateArray, FPGA) either other programmable logic device, discrete gate or crystal
Pipe logical device, discrete hardware components.May be implemented or execute disclosed each method in this specification embodiment, step and
Logic diagram.General processor can be microprocessor or the processor can also be any conventional processor etc..In conjunction with
The step of method disclosed in this specification embodiment, can be embodied directly in hardware decoding processor and execute completion, or with translating
Hardware and software module combination in code processor execute completion.Software module can be located at random access memory, and flash memory read-only is deposited
In the storage medium of this fields such as reservoir, programmable read only memory or electrically erasable programmable memory, register maturation.
The step of storage medium is located at memory, and processor reads the information in memory, the above method is completed in conjunction with its hardware.
The method that the electronic equipment can also carry out embodiment one, and realize that block chain common recognition device is real shown in embodiment one
The function of example is applied, details are not described herein for this specification embodiment.
Certainly, other than software realization mode, other realization sides are not precluded in the electronic equipment of this specification embodiment
Formula, for example, logical device or software and hardware combining mode etc., that is to say, that the executive agent of following process flow is simultaneously unlimited
Can also be hardware or logical device due to each logic unit.
Embodiment three
This specification embodiment also provides a kind of computer readable storage medium, the computer-readable recording medium storage
One or more programs, one or more of programs by the electronic equipment including multiple application programs when being executed so that institute
State the data dissemination method on the license chain in electronic equipment execution embodiment one.
Example IV
The present invention also provides a kind of data dissemination system applied to block chain, the block chain includes more than two saves
Point, which is characterized in that each node includes:
Receiving module, for receiving the data from user side;
Authentication module is used for:
Data from user side are verified, if the data from user side are stored by verification
Memory module and other nodes for being sent to the block chain;
The characterization numerical value for characterizing the data from user side is calculated according to the data from user side, by institute
State characterization numerical value deposit memory module;
When going out the arrival of block time, by the characterization number corresponding with the data from user side in memory module
Value is packed into characterization numerical information packet, is sent to common recognition module;
The data from user side corresponding with motion packet are obtained from the memory module based on motion packet, are sent to
Execution module;
Common recognition module, is used for:
Receive the characterization numerical information packet from authentication module;Judge whether own node is that block is high where own node
Degree goes out block node, if it is, other required key message values of data dissemination are calculated, and will other described key letters
Breath value is packaged the motion packet for generating the node for being sent to next block height together with the characterization numerical information packet, and will
The motion packet broadcast to the block chain other nodes;And send out request, requests verification module to the authentication module
The data from user side corresponding with the motion packet are sent to the execution module of own node;If own node is not
Block height where being goes out block node, then the common recognition module of own node is received from the motion packet for going out block node, and will
The motion packet is sent to the authentication module of own node;
Common recognition operation is carried out according to its algorithm of knowing together, after know together successfully, module of the knowing together successful block that will know together is sent to
Execution module;
Execution module is used for
Receive successful block of knowing together;
Receive authentication module is obtained from the memory module based on motion packet it is corresponding with above-mentioned motion packet described in come from
The data of user side;
The data from user side are executed, executes and database is written into implementing result after completing.
Further alternative, each node system further includes network module, between the node of the block chain
Data dissemination.
In short, the foregoing is merely the preferred embodiment of this specification embodiment, it is not intended to limit this specification
The protection domain of embodiment.It is all this specification embodiment spirit and principle within, made by any modification, equivalent replacement,
Improve etc., it should be included within the protection domain of this specification embodiment.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus
Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wanted including described
There is also other identical elements in the process of element, method, commodity or equipment.
Each embodiment in this specification embodiment is described in a progressive manner, identical phase between each embodiment
As part just to refer each other, each embodiment focuses on the differences from other embodiments.Especially for
For system embodiment, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to method
The part of embodiment illustrates.
Claims (10)
1. the data dissemination method on a kind of license chain, the license chain includes more than two nodes, which is characterized in that the section
Point includes receiving module, authentication module, common recognition module, execution module, be the described method comprises the following steps:
S1:Any node of the license chain can be used as receiving node and receive the data from user side by its receiving module;
S2:The authentication module of the receiving node verifies the data from user side, if the verification passes, is then deposited
Enter memory module and is broadcast to other nodes of the license chain;
S3:The authentication module that each node of common recognition is participated on the license chain is calculated according to the data from user side for table
The characterization numerical value of the sign data from user side, memory module is stored in by the characterization numerical value;
S4:When going out the arrival of block time, the authentication module of the node for participating in common recognition will come from memory module with described
The corresponding characterization numerical value of data of user side is packed into characterization numerical information packet, is sent to its module of knowing together;
S5:The common recognition module receives the characterization numerical information packet, judges whether own node is own node location
Block height goes out block node, if it is, other required key message values of data dissemination are calculated, and will other described passes
Key information value is packaged the motion packet for generating the node for being sent to next block height together with the characterization numerical information packet,
And by the motion packet broadcast to it is described license chain other nodes;The common recognition module is sent out to the authentication module of its own
Go out request, ask the authentication module of its own to the execution module of own node send it is corresponding with the motion packet described in come from
The data of user side;
If block height where own node can't not be block node, the common recognition module of own node receives comes from out block
The motion packet of node, and the motion packet is sent to the authentication module of own node, the authentication module is based on above-mentioned motion
Packet obtains the data from user side corresponding with above-mentioned motion packet from the memory module;
The data from user side are sent to the execution module of own node by authentication module;
S6:Common recognition module carries out common recognition operation according to its algorithm of knowing together, and after know together successfully, module of knowing together will know together successful block
It is sent to execution module;
S7:Execution module receives successful block of knowing together;Execution module executes the data from user side, executes after completing
Database is written into implementing result.
2. data dissemination method according to claim 1, which is characterized in that the data from user side are used by oneself
The transaction data of family side, the memory module are trading pit module, and it is specific that execution module executes the data from user side
For:Execute the transaction in the transaction data from user side.
3. data dissemination method according to claim 1 or 2, which is characterized in that the characterization numerical value is cryptographic Hash;It is described
Other key message values include Merkel's root cryptographic Hash;The data structure of the motion packet is Hash value list.
4. data dissemination method according to claim 1, which is characterized in that each node of the license chain further includes net
Network module, for the data dissemination between the node of the license chain.
5. data dissemination method according to claim 1, which is characterized in that in step s 5, where own node is not
When going out block node of block height carries if authentication module fails to obtain from the memory module based on the motion packet with above-mentioned
The corresponding data from user side of case packet are then synchronized to the node request for providing the motion packet described from user side
Data, be sent to execution module successfully and then by the data completely from user side until synchronizing;If it is synchronous not at
Work(, synchronization time, the node can launch non placet to the motion packet more than after preset time.
6. a kind of data dissemination system applied to block chain, the block chain includes more than two nodes, which is characterized in that every
A node includes:
Receiving module, for receiving the data from user side;
Authentication module is used for:
Data from user side are verified, if the data from user side are stored into storage by verification
Module and other nodes for being sent to the block chain;
The characterization numerical value for characterizing the data from user side is calculated according to the data from user side, by the table
It levies numerical value and is stored in memory module;
When going out the arrival of block time, the characterization numerical value corresponding with the data from user side in memory module is beaten
Packet forms characterization numerical information packet, is sent to common recognition module;
The data from user side corresponding with motion packet are obtained from the memory module based on motion packet, are sent to execution
Module;
Common recognition module, is used for:
Receive the characterization numerical information packet from authentication module;Judge whether own node is block height where own node
Go out block node, if it is, other required key message values of data dissemination are calculated, and will other described key message values
The motion packet of the node for being sent to next block height is generated with packing together with the characterization numerical information packet, and will be described
Motion packet broadcast to the block chain other nodes;And request is sent out to the authentication module, requests verification module is to certainly
The execution module of body node sends the data from user side corresponding with the motion packet;If own node is not institute
Go out block node in block height, then the common recognition module of own node is received from the motion packet for going out block node, and will be described
Motion packet is sent to the authentication module of own node;
Common recognition operation is carried out according to its algorithm of knowing together, after know together successfully, module of the knowing together successful block that will know together is sent to execution
Module;
Execution module, for receiving successful block of knowing together;
Reception authentication module is obtained based on motion packet from the memory module corresponding with above-mentioned motion packet described from user
The data of side;
The data from user side are executed, executes and database is written into implementing result after completing.
7. the data dissemination system of block chain according to claim 6, which is characterized in that each node, which is united, further includes
Network module, for the data dissemination between the node of the block chain.
8. a kind of electronic equipment, including:It memory, processor and is stored on the memory and can transport on the processor
Capable computer program, the computer program are executed by the processor:Method described in claim 1-5.
9. a kind of computer readable storage medium, the computer-readable recording medium storage one or more program, described one
A or multiple programs by the electronic equipment including multiple application programs when being executed so that the electronic equipment perform claim requirement
Method described in 1-5.
10. the data dissemination method on a kind of block chain, the license chain includes more than two nodes, which is characterized in that described
Node includes receiving module, authentication module, common recognition module, execution module and network module, it is characterised in that:The block chain exists
When processing is broadcast to the data from user side of each node, the verification mould of each node by participating in common recognition on the block chain
Root tuber calculates the characterization numerical value for characterizing the data from user side according to the data from user side, by the characterization
Numerical value is stored in memory module;When going out the arrival of block time, the authentication module of each node for participating in common recognition will be in memory module
The characterization numerical value corresponding with the data from user side be packed into characterization numerical information packet, be sent to its common recognition
Module;By the common recognition module for going out block node of each block height, other required key message values of data dissemination are calculated, and
Other described key message values are packaged together with the characterization numerical information packet, are generated for being sent to next block height
The motion packet of node, and by the motion packet broadcast to other nodes of the block chain;Participate in the verification mould of the node of common recognition
Block obtains the data from user side corresponding with above-mentioned motion packet based on above-mentioned motion packet from the memory module, and will
The data from user side are sent to the execution module of own node.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810347713.3A CN108550038A (en) | 2018-04-18 | 2018-04-18 | A kind of data dissemination system and method applied to block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810347713.3A CN108550038A (en) | 2018-04-18 | 2018-04-18 | A kind of data dissemination system and method applied to block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108550038A true CN108550038A (en) | 2018-09-18 |
Family
ID=63515239
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810347713.3A Pending CN108550038A (en) | 2018-04-18 | 2018-04-18 | A kind of data dissemination system and method applied to block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108550038A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109474682A (en) * | 2018-11-12 | 2019-03-15 | 杭州秘猿科技有限公司 | A kind of block chain network transmission method, device and electronic equipment |
CN109522363A (en) * | 2018-10-18 | 2019-03-26 | 上海达家迎信息科技有限公司 | Cloud platform synchronous method, system, equipment and storage medium based on block chain |
CN110505313A (en) * | 2019-09-25 | 2019-11-26 | 广东卓启投资有限责任公司 | A kind of super node choosing method, device and equipment |
CN110570171A (en) * | 2019-09-11 | 2019-12-13 | 杭州秘猿科技有限公司 | Transaction pool node synchronization method, electronic device and computer-readable storage medium |
CN110730081A (en) * | 2019-12-17 | 2020-01-24 | 腾讯科技(深圳)有限公司 | Block chain network-based certificate revocation method, related equipment and medium |
CN110781419A (en) * | 2020-01-02 | 2020-02-11 | 成都四方伟业软件股份有限公司 | Multi-system cooperative use method based on block chain |
CN110995589A (en) * | 2019-10-14 | 2020-04-10 | 东软集团股份有限公司 | Block transfer method, device and equipment for block chain network block output |
CN111130801A (en) * | 2019-12-26 | 2020-05-08 | 腾讯科技(深圳)有限公司 | Data processing method and device, node equipment and computer storage medium |
CN111711567A (en) * | 2020-06-12 | 2020-09-25 | 杭州溪塔科技有限公司 | Block chain-based network message transmission method and device and electronic equipment |
EP3813296A4 (en) * | 2018-11-07 | 2021-11-24 | Advanced New Technologies Co., Ltd. | Method and device for reading blockchain data |
WO2021244568A1 (en) * | 2020-06-05 | 2021-12-09 | 支付宝(杭州)信息技术有限公司 | Method for consensus in blockchain, and system |
CN115051924A (en) * | 2022-06-08 | 2022-09-13 | 上海佰贝网络工程技术有限公司 | Communication mode coordination method, device, equipment, system and medium in Gossip algorithm based on data broadcasting |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106445711A (en) * | 2016-08-28 | 2017-02-22 | 杭州云象网络技术有限公司 | Byzantine-fault-tolerant consensus method applied to block chain |
CN106656974A (en) * | 2016-10-17 | 2017-05-10 | 江苏通付盾科技有限公司 | Block chain grouping consensus method and system |
CN106789908A (en) * | 2016-11-23 | 2017-05-31 | 江苏通付盾科技有限公司 | Block common recognition method for building up and system in block chain |
CN107193490A (en) * | 2017-05-16 | 2017-09-22 | 北京中星仝创科技有限公司 | A kind of distributed data-storage system and method based on block chain |
CN107220130A (en) * | 2017-05-12 | 2017-09-29 | 北京众享比特科技有限公司 | A kind of information common recognition method realized at the node of block chain, apparatus and system |
CN107657438A (en) * | 2017-09-18 | 2018-02-02 | 联动优势科技有限公司 | A kind of block chain generation method, data verification method, node and system |
KR20180029695A (en) * | 2016-09-13 | 2018-03-21 | 김동만 | System and method for transmitting data using block-chain |
-
2018
- 2018-04-18 CN CN201810347713.3A patent/CN108550038A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106445711A (en) * | 2016-08-28 | 2017-02-22 | 杭州云象网络技术有限公司 | Byzantine-fault-tolerant consensus method applied to block chain |
KR20180029695A (en) * | 2016-09-13 | 2018-03-21 | 김동만 | System and method for transmitting data using block-chain |
CN106656974A (en) * | 2016-10-17 | 2017-05-10 | 江苏通付盾科技有限公司 | Block chain grouping consensus method and system |
CN106789908A (en) * | 2016-11-23 | 2017-05-31 | 江苏通付盾科技有限公司 | Block common recognition method for building up and system in block chain |
CN107220130A (en) * | 2017-05-12 | 2017-09-29 | 北京众享比特科技有限公司 | A kind of information common recognition method realized at the node of block chain, apparatus and system |
CN107193490A (en) * | 2017-05-16 | 2017-09-22 | 北京中星仝创科技有限公司 | A kind of distributed data-storage system and method based on block chain |
CN107657438A (en) * | 2017-09-18 | 2018-02-02 | 联动优势科技有限公司 | A kind of block chain generation method, data verification method, node and system |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109522363A (en) * | 2018-10-18 | 2019-03-26 | 上海达家迎信息科技有限公司 | Cloud platform synchronous method, system, equipment and storage medium based on block chain |
CN109522363B (en) * | 2018-10-18 | 2021-02-05 | 上海达家迎信息科技有限公司 | Cloud platform synchronization method, system, equipment and storage medium based on block chain |
EP3813296A4 (en) * | 2018-11-07 | 2021-11-24 | Advanced New Technologies Co., Ltd. | Method and device for reading blockchain data |
CN109474682A (en) * | 2018-11-12 | 2019-03-15 | 杭州秘猿科技有限公司 | A kind of block chain network transmission method, device and electronic equipment |
CN109474682B (en) * | 2018-11-12 | 2022-03-11 | 杭州秘猿科技有限公司 | Block chain network transmission method and device and electronic equipment |
CN110570171A (en) * | 2019-09-11 | 2019-12-13 | 杭州秘猿科技有限公司 | Transaction pool node synchronization method, electronic device and computer-readable storage medium |
CN110505313A (en) * | 2019-09-25 | 2019-11-26 | 广东卓启投资有限责任公司 | A kind of super node choosing method, device and equipment |
CN110505313B (en) * | 2019-09-25 | 2022-04-15 | 广东卓启投资有限责任公司 | Super node selection method, device and equipment |
CN110995589B (en) * | 2019-10-14 | 2022-03-04 | 东软集团股份有限公司 | Block transfer method, device and equipment for block chain network block output |
CN110995589A (en) * | 2019-10-14 | 2020-04-10 | 东软集团股份有限公司 | Block transfer method, device and equipment for block chain network block output |
CN110730081A (en) * | 2019-12-17 | 2020-01-24 | 腾讯科技(深圳)有限公司 | Block chain network-based certificate revocation method, related equipment and medium |
CN110730081B (en) * | 2019-12-17 | 2020-04-14 | 腾讯科技(深圳)有限公司 | Block chain network-based certificate revocation method, related equipment and medium |
CN111130801A (en) * | 2019-12-26 | 2020-05-08 | 腾讯科技(深圳)有限公司 | Data processing method and device, node equipment and computer storage medium |
CN110781419A (en) * | 2020-01-02 | 2020-02-11 | 成都四方伟业软件股份有限公司 | Multi-system cooperative use method based on block chain |
WO2021244568A1 (en) * | 2020-06-05 | 2021-12-09 | 支付宝(杭州)信息技术有限公司 | Method for consensus in blockchain, and system |
CN111711567A (en) * | 2020-06-12 | 2020-09-25 | 杭州溪塔科技有限公司 | Block chain-based network message transmission method and device and electronic equipment |
CN115051924A (en) * | 2022-06-08 | 2022-09-13 | 上海佰贝网络工程技术有限公司 | Communication mode coordination method, device, equipment, system and medium in Gossip algorithm based on data broadcasting |
CN115051924B (en) * | 2022-06-08 | 2023-11-21 | 上海佰贝网络工程技术有限公司 | Communication mode coordination method, device, equipment, system and medium in Gossip algorithm based on data broadcasting |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108550038A (en) | A kind of data dissemination system and method applied to block chain | |
CN107395557B (en) | Service request processing method and device | |
EP3591510B1 (en) | Method and device for writing service data in block chain system | |
US20210328814A1 (en) | Blockchain integrated stations and automatic blockchain construction methods and apparatuses | |
CN111753335B (en) | Editing method and device for block content | |
CN111382168B (en) | Node group creating method and node group-based transaction method in alliance chain network | |
CN104346365A (en) | Device and method for determining specific service associated logs | |
CN109660578B (en) | CDN back-to-source processing method, device and system | |
CN105227786A (en) | A kind of means of communication based on virtual-number and device | |
CN110020854B (en) | Data evidence storage method and system based on multiple block chain networks | |
WO2023016428A1 (en) | Byzantine fault tolerance method and apparatus, and electronic device and storage medium | |
CN109639636A (en) | Business datum forwarding, business data processing method, device and electronic equipment | |
CN105592011A (en) | Account login method and account login device | |
CN106611137B (en) | Risk control method and device | |
CN110505311A (en) | A kind of across the chain exchange method of isomorphism block chain and system | |
CN110555079B (en) | Data processing method, device, equipment and storage medium | |
CN111737764B (en) | Method and device for generating description information | |
CN111401904B (en) | Consensus method and system in alliance chain | |
CN113409047B (en) | Data processing method, device and equipment based on block chain and readable storage medium | |
CN113794576B (en) | Re-voting binary consensus method and device | |
CN113592639B (en) | Block chain transaction deleting method and system | |
CN111899104B (en) | Service execution method and device | |
CN117376366A (en) | Block chain transaction processing method, device, medium and electronic equipment | |
CN111953773B (en) | De-centralized address mapping method and device | |
CN108600215A (en) | Identifying code is anti-to steal method, apparatus and the network equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180918 |
|
RJ01 | Rejection of invention patent application after publication |