CN110276602A - Block chain Classifying Consensus method, system and the electronic equipment of internet of things oriented - Google Patents
Block chain Classifying Consensus method, system and the electronic equipment of internet of things oriented Download PDFInfo
- Publication number
- CN110276602A CN110276602A CN201810202375.4A CN201810202375A CN110276602A CN 110276602 A CN110276602 A CN 110276602A CN 201810202375 A CN201810202375 A CN 201810202375A CN 110276602 A CN110276602 A CN 110276602A
- Authority
- CN
- China
- Prior art keywords
- grades
- node
- block
- block chain
- chain
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/04—Payment circuits
- G06Q20/06—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
- G06Q20/065—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/04—Billing or invoicing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The invention belongs to field of computer technology, block chain Classifying Consensus method, system and the electronic equipment of specifically a kind of internet of things oriented.Node is divided into two-stage or three-level by the block chain Classifying Consensus method of the internet of things oriented, and the block chain common recognition being classified;By across the chain resource interaction mechanism of one kind, the resource belonged on the block chain independent of each other of different stage is enable to interact and share.The block chain Classifying Consensus system of the internet of things oriented is the system for carrying out tissue and framework of knowing together to node using the block chain Classifying Consensus method of the internet of things oriented.The electronic equipment is the electronic equipment in a kind of block chain Classifying Consensus system for the internet of things oriented.
Description
Technical field
The present invention relates to field of computer technology, the block chain Classifying Consensus method of specifically a kind of internet of things oriented is
System and electronic equipment.
Background technique
Block chain technology (also known as distributed account book technology) have centralization, it is open and clear, can not distort, trusted etc. it is excellent
Point is tested in intelligent contract, securities trading, e-commerce, Internet of Things, social communication, file storage, existence proof, identity
Card, equity crowd the various fields such as raise and are expected to be used widely.In block chain, node can generate transaction
(Transaction), multiple transaction are bundled to one first and are referred to as in the structure of block (Block) by node, different time
It is formed by block in chronological sequence to join end to end to form chain, referred to as block chain (Blockchain).Different nodes are to be distributed
The decision-making mechanism of formula is generated to determine how and is increased newly on a block to block chain.And all different nodes must in network
Must respectively safeguard the copy of block chain, and be consistent the block chain copy respectively safeguarded, even if because network delay and
, there is of short duration disagreement in the problems such as packet loss, but its must ultimately form it is determining, unique as a result, realizing the skill of this purpose
Art process, referred to as node common recognition.Existing common recognition technology generally comprises proof of work (PoW), equity proves that (PoS), practice are visitd
Accounting for front yard fault-tolerant (PBFT) and commission equity proves (DPoS) several classes, however there is performance bottleneck, even if the environment in internet
Under, however it remains the low problem for the treatment of effeciency.And under environment of internet of things, be limited to node calculate power and energy inhomogeneity,
And different network insertion standard, bandwidth, rate, reliability and node mobility etc., efficiency is more prominent, needs one
Kind can be improved the scheme of environment of internet of things lower node common recognition efficiency, promote the efficiency of management of the block chain to Internet of Things, final energy
Enough to be formed based on Internet of Things+block chain technology high-efficiency tissue framework, the Internet of Things for managing magnanimity in a distributed fashion is set
It is standby, share reduction and even is eliminated the heavy pressure that Internet of things node brings Cloud Server.
The block chain technology of existing management Internet of Things, has the following problems: firstly, existing common recognition technology is difficult to be suitable for institute
Some apparatus for network node especially low-power consumption internet of things equipment;Secondly, internet of things equipment performance difference causes greatly block chain public
Levelling is often difficult to ensure, and low performance node often influences the performance of whole system;Again, household internet of things equipment exists
Privacy consideration should not access public network carry out common recognition but the prior art do not consider enough;Finally, existing Internet of Things block chain technology is only
Can support logic level be single-stage block chain operating mechanism, cannot support hierarchical classification block chain know together framework, this with
The network structure of the existing hierarchical classification of Internet of Things runs counter to.
Summary of the invention
For the prior art using inefficient, defect present in block chain technical management magnanimity Internet of things node and not
Foot, the invention proposes block chain Classifying Consensus method, system and the electronic equipments of internet of things oriented.One in this specification
Or block chain Classifying Consensus method, system and the electronic equipment of a kind of internet of things oriented of multiple embodiments offers are to pass through packet
Include following manner realization:
Firstly, the node in entire block chain network is three categories according to Type division, and with two-stage or tertiary level frame
Structure:
First major class node is the related network device of Cloud Server, core net and access net, comprising: Cloud Server, shifting
Dynamic cellular base station, from network operator to terminal user between the network equipments such as each level router on network path and interchanger;
Such node definition is A grades of nodes.
Second major class node is using broadband access technology, mobile cellular network technology, MAN Technology, metropolitan area is wireless skill
Art directly passes through the terminal device of carrier network access point access internet, comprising: accesses network using honeycomb access means
User mobile phone, home router, pass through honeycomb access unmanned systems equipment such as unmanned vehicle and unmanned plane;Such node exists
A grades of nodes are attributed in two-stage common recognition framework, may be defined as A2 grades of nodes in three-level structure.
Third major class node is to be interconnected using WLAN, Adhoc networking model using the realization of short-distance wireless communication technology
Internet of things node equipment, including family's inner electronic equipment, smart home device, vehicle connection ad hoc network in vehicle node, nobody
Unmanned plane node in machine self-organizing network, such node are known as B grades of nodes.
Secondly, multistage block chain framework used by Classifying Consensus method are as follows:
In the present invention, the B grades of node only with node (including the office that belongs in a local area network or ad hoc network
All A grades of nodes and B grades of nodes in domain net or ad hoc network) the independent B grades of block chain of composition;It include one in the B grades of block chain
A and above A grades of node;The A grade node being contained in the B grades of block chain is referred to as gateway node;It can be deposited in internet
In a large amount of independent B grades of block chains.The A grades of node forms an A grades of block chains, and the A grades of block chain covers institute in internet
There are A grades of nodes.
A grades of block chains are run under the premise of capable of having zero or any number of B grades of block chain in systems;B grades of areas
Block chain can be not present any other A grades or B grades of block chains under the premise of independent operating.
Again, in terms of specific common recognition method:
In terms of specific common recognition method: the A grades of block chain is using proof of work common recognition method (PoW), network sense
Know that type common recognition method (DPoN), equity prove (PoS), act on behalf of equity proof mechanism (DPoS), practice Byzantium's mechanism
(PBFT) and one of the deformation based on above-mentioned agreement thought;The A grades of block chain after determining a kind of common recognition method,
Decentralization common recognition is carried out using the common recognition method between all nodes;The gateway node participates in being total in the A grades of block chain
Know, and the role that all A grades of nodes can undertake can be undertaken.The B grades of block chain is using network aware type common recognition method
(DPoN), equity proves (PoS), acts on behalf of equity proof mechanism (DPoS), practices Byzantium's mechanism (PBFT), proof of work
Common recognition method (PoW) and one of deformation based on above-mentioned agreement thought, are adopted between same local area network or ad hoc network interior nodes
Decentralization common recognition is carried out with the common recognition method;The gateway node participates in being total between the B grades of node as node is participated in
Know, and the role that all B grades of nodes can undertake can be undertaken.The A grades of block chain and B grades of block chains take identical common recognition side
Different parameter and setting can be selected when method;Between different B grades of block chains select that difference can be selected when identical common recognition method
Parameter and setting;Different B grades of block chains can select different common recognition methods according to own net condition.Different stage area
Information exchange between block chain (such as A grades of block chain and B grades of block chains) is completed by gateway node;The gateway node can
Two kinds of common recognition agreements performed on the two-stage block chain of its leap are participated in respectively.
Different stage block chain can be that node determines different roles on chain according to selected common recognition method.Accounting nodes
It is the role that there must be in any common recognition method, is responsible for getting off the transaction record of all generations.Accounting nodes
It is determined by the accounting nodes selection mechanism in the selected common recognition algorithm of place chain;And it will be received within the unit time
Transaction be packed into a new block.In addition, accounting nodes are responsible for proposing common recognition request in chain, after the completion of common recognition, newly
If the block of generation goes through to be added on existing block chain, accounting nodes execute the movement of new addition block, and will
New block is broadcast to the whole network node, realizes the book keeping operation of block chain.
For general introduction: the node organization of same levels forms block catenary system together and carries out decentralization common recognition.This
It invents in the mechanism and related system, allows there are an A grades of block chains and a large amount of B grades of chain, different chains are independent of one another, mutual
It does not run intrusively.B grades of chains pass through gateway node over network connections and realize connection with A grades of chains, while will using gateway node
Oneself wish that the resource index issued is issued on A grades of chains, calls for A grades of chain nodes.B grades of chains will also be reluctant A grades of intention simultaneously
Chain is shared to be called on B grades of chains for chain interior nodes if only being intended to the resource index shared in itself and issuing.All moneys on A grades of chains
Source (including the open resource index from whole B grades of chains and A grades of chains) is for all gateway nodes on A grades of chains as it can be seen that net
Resource index is packaged as transaction and submits to connected B grade chain accounting nodes by artis, when the B grades of chain completes common recognition district
After block, related resource index is visible to node on all B grades of chains.All resource indexes are based on and may have access to interconnection entoilage
Location mark.
Based on above structure and mechanism, it can be achieved that a kind of block chain Classifying Consensus system of internet of things oriented.In the system
In, A grades are realized framework and common recognition according to above-mentioned Classifying Consensus method with B grades of node devices.The chain of different stage passes through in system
The assistance of gateway node, the information for completing A grades of block chains and B grades of block interchains are shared across chain.A grades of block chains can be all ginsengs
Resource is provided with node and calculates the shared of power, and all data and resource may come from the B grade block chain that gateway node is issued
Public information index, can be from other nodes are issued on A grades of block chains public information and resource;The area B grades of
Block chain provides resource for all participation nodes and calculates the shared of power, and all data and resource may come from gateway node publication
To the resource be directed toward in A grades of block chains and unappropriated public information index, can be from not being distributed to A grades of blocks
Chain but the information and resource originally published on the ground in B grades of block chains can be from disclosing on A grades of block chains and by net
Artis is transferred to all sources of local B grades of chain as the open resource index of node on node on A grades of chains or B grades of chains.All institutes
Resource index is stated, is based on addressable internet address mark, therefore can be visited by the node with the Internet access capability
It asks.
Resource shared and use intelligent contract running environment by being run on block chains at different levels and predefined adjustable
It is supported with algorithm packet.
In order to realize the function of common recognition method interior joint proposed in the present invention, the invention also provides various news to set
It is ready for use on and executes common recognition method set forth above and necessary operation.Including a kind of A grade equipment of gateway support function, one
Kind supports the A grade node device for executing A grades of block chains common recognition and a kind of B grade node for supporting B grades of block chains of execution to know together to set
It is standby.
Detailed description of the invention
The Figure of description for constituting the application a part is used to provide further understanding of the present invention, signal of the invention
Examples and descriptions thereof are used to explain the present invention for property, does not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the block chain hierarchical structure figure of internet of things oriented;
Fig. 2 is A grades of block chains and across the chain resource interaction logic figure of B grades of block chains;
Fig. 3 is format chart of trading on A grades of block chains and B grades of block chains;
Specific embodiment
The present invention is further illustrated with reference to the accompanying drawings and embodiments.
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application
A part of the embodiment, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not having
Every other embodiment obtained under the premise of creative work is made, shall fall in the protection scope of this application.Below in conjunction with
Attached drawing, the technical scheme provided by various embodiments of the present application will be described in detail.
Hierarchy plan as one preferred, in the method:
First major class node is the related network device of Cloud Server, core net and access net, comprising: Cloud Server, shifting
Dynamic cellular base station, from network operator to terminal user between the network equipments such as each level router on network path and interchanger;
Such node definition is A grades of nodes.Second major class node is using broadband access technology, mobile cellular network technology, Metropolitan Area Network (MAN)
Technology, metropolitan area wireless technology directly pass through the terminal device of carrier network access point access internet, comprising: use honeycomb
Access means access the user mobile phone of network, home router, unmanned systems the equipment such as unmanned vehicle and nothing accessed by honeycomb
It is man-machine;Such node is attributed to A grades of nodes in two-stage common recognition framework, may be defined as A2 grades of nodes in three-level structure.Third
Major class node is that the Internet of Things section to interconnect is realized using short-distance wireless communication technology using WLAN, Adhoc networking model
Point device, including the vehicle node in family's inner electronic equipment, smart home device, vehicle connection ad hoc network, unmanned plane self-organization network
Unmanned plane node in network, such node definition are B grades of nodes.As shown in Figure 1, the node for including in S101 is B grades of nodes,
Remaining is A grades or A2 grades of nodes.
Preferably, in the present invention, all rank block chains certainly exist accounting nodes.Accounting nodes and non-accounting nodes
Transaction can be generated;Transaction caused by itself need to be passed through network transmission to accounting nodes by the non-accounting nodes;The friendship
Easily include the following contents: node submits record of transferring accounts, node that local data records, node is submitted to submit undertaken calculating task
The result of generation, node submit resource registering request, node that resource situation explanation and index, the new chain node that is added is submitted to submit
The registration and authentication request of itself.
As a preferred solution, realize that the LAN node of networking is formed by B grades of block chains to WLAN technology
It is known together using Byzantium's mechanism (PBFT) is practiced;Realize that the node of ad hoc network is formed by B grades of areas to Adhoc technology
Block chain is known together using network aware type common recognition method (DPoN).
In terms of specific common recognition, it is preferable that when B grades of block chains are used based on the common recognition side for practicing Byzantium's mechanism (PBFT)
When method, the accounting nodes selection algorithm proposed according to the present invention first selects accounting nodes on chain;Selected accounting nodes
Afterwards, using more round Signature Confirmation mechanism of Hyperledger Fabric, pass through the mechanism of node Signature Confirmations whole on chain
To complete the addition of new block.
When B grades of block chains are using network aware type common recognition method (DPoN), the accounting nodes that are proposed according to the present invention
Selection algorithm selects accounting nodes.After selected accounting nodes, that completes block goes out block decision.
Different stage block chain can determine the role of node on chain according to selected common recognition method.As a kind of preferred
The role of scheme, the B grades of block chain interior joint may include: accounting nodes and non-accounting nodes;Accounting nodes are saved by book keeping operation
Point selection mechanism is dynamically determined in systems;The accounting nodes are responsible for the transaction that all nodes are proposed in reception chain, in list
The transaction received is packed into a new block in the time of position, and proposes common recognition request in chain, after the completion of common recognition,
If newly-generated block goes through to be added on existing block chain, accounting nodes, which execute, to be added and is broadcast to new block
The whole network node realizes book keeping operation.
In the present invention, the accounting nodes selection algorithm be based on the linear of one or several in many factors or
Nonlinear combination is formed by mathematic(al) representation evaluation, and taking the preceding R node after value sequence arrangement is accounting nodes.Make
For a kind of preferred scheme, the present invention selects in following option:
(1) energy indexes E: for having the node E=T1 of constant current source power supply in network, only has battery powered section
Point E=T2, node E=T3 when only having battery-operated node and the lower energy content of battery;Triadic relation is T3 >=0 T1 > T2 >;
(2) centrality degree index of social network N: the quantity that node is directly connected to equipment is more, then N value is bigger;
(3) mobility index M: all nodes all have initial value M1 when block chain is newly added, and node every time lead by movement
Its M1 value is caused to reduce L;
(4) contribution degree index C: specifically, with Pa(i) amount of money that node a is obtained from node i is represented, S represents node a
It is taken in from S node altogether, then, and ∑1≤i≤S, i ≠ aPa(i) or its simple deformation such as ∑1≤i≤S, i ≠ aln(Pa(i))
Value is bigger, and the contribution degree C for representing node a is bigger;
The scheme of a recommendation preferably is provided as example to each index in the present invention:
The energy indexes relevant parameter value range includes: T1=100%, T2 ∈ (T3, T1), T3 ∈ [0, T2);Institute
State quantity of the centrality degree index of social network N equal to an actual node hop neighbor in a network;The mobility index M relevant parameter value
Range are as follows: M1=100%, L ∈ (0, M1];The contribution degree index C is equal to ∑1≤i≤S, i ≠ aPa(i) or ∑1≤i≤S, i ≠ aln(Pa
(i));Pa(i) amount of money to actually occur;When using DPoN common recognition, R is not less than the 1/3 of nodes quantity, and works as
When node total number is less than 9, R=3;DPoN is not used when number of nodes is less than 3;When using PBFT common recognition, R >=1.
The role of the A grades of block chain interior joint includes: accounting nodes and non-accounting nodes;Preferably, A grades of block chain choosings
It selects and knows together between PoW or DPoN organization node;Wherein, using bit coin or the existing common recognition side in ether mill when being known together using PoW
Method.When using DPoN, the selection algorithm of accounting nodes are as follows: in above-mentioned 4 indexs, remaining of selection in addition to energy indexes E refers to
One or more mathematical combination in mark, the final tactic preceding R of calculated value;R is not less than nodes quantity
1/3, and when node total number is less than 9, R=3;DPoN is not used when number of nodes is less than 3.
Gateway node simultaneously participates in the common recognition process in A grades of block chains and B grades of block chains, and can be selected as by any chain
Accounting nodes;Gateway node is responsible for A grades of block chains of completion and is interacted with across the chain resource of B grades of block chains, side as one preferred
Case, across chain resource interaction mechanism detailed process are as shown in Figure 2, comprising:
S201: the B grade node in any B grades of block chain is packaged as using itself quasi- disclosed resource index as transaction load
Transaction TXB in B grades of block chains, and the accounting nodes being sent in B grades of block chains;
The TXB received in unit time is traded to be packaged and generates new block and mention by S202:B grades of block chain accounting nodes
It knows together, after common recognition is completed and the new block traded comprising TXB is added to the B grades of block chain, will be wrapped in new block out
The quasi- open resource index contained is sent to gateway node;
S203: after gateway node receives quasi- open resource index transmitted by the B grades of block chain accounting nodes, by it
It is packaged as the TXA that trades in A grades of block chains as transaction load, and is sent to accounting nodes in A grades of block chains;
Quasi- open money after S204:A grades of block chains complete book keeping operation common recognition, as in new confirmation block included B grades of block chains
Source index, then the address and content for indexing direction can be by node visit and calling on A grades of block chains, and to all gateway sections
Point is visible;
After S205:A grades of block chains complete new round common recognition, gateway node will contain newest open resource in newly-increased block
The information of index is packaged as the transaction TXB of connected B grades of chain as transaction load and submits to the book keeping operation section of connected B grades of chain
Point is initiated to know together by the accounting nodes, and the related resource for completing to record on TXB after keeping accounts can be visited by node on the B grades of chain
It asks.
When network uses three-level structure, occur a kind of A2 grades of block chain in A grade and B grades, A2 grades of block chains and other
The resource interactive mode and organizational form of rank block interchain are identical as second level, and the definition of gateway node is extended to included in A2
A grade node on grade chain be included as that A2 grade node on B grades of chains is all defined as gateway node;The money of A grades of chains and B grades of chains
Source interaction is needed through two-stage gateway node transfer.
Classifying Consensus method proposed by the invention provides a kind of Internet of things system organizational form.In this system,
Node in entire block chain Internet of Things is divided into three categories, and with two-stage or tertiary level framework;
First major class node is core net and access net related network device, comprising: mobile cellular base station, background service
Device, from network operator to terminal user between each level router and interchanger on network path;Such node is A grades of nodes;
Second major class node is direct using broadband access technology, mobile cellular network technology, MAN Technology, metropolitan area wireless technology
The terminal device of internet is accessed by carrier network access point, comprising: using the user of honeycomb access means access network
Mobile phone, home gateway router, unmanned systems the equipment such as unmanned vehicle and unmanned plane accessed by honeycomb;Such node is two
A grades of nodes are attributed in grade common recognition framework, may be defined as A2 grades of nodes in three-level structure;Third major class node is to use
WLAN, Adhoc networking model realize the in-home network equipment to interconnect, including family using short-distance wireless communication technology
Inner electronic equipment, smart home device, the vehicle node in vehicle connection ad hoc network, the unmanned plane section in unmanned plane self-organizing network
Point, such node are known as B grades of nodes;
In the system, described A grades with block chain Classifying Consensus clear from B grade nodes foundation the claims
Method realizes framework and common recognition, and supports that the information of A grades of block chains and B grades of block interchains is shared across chain;The A grades of block chain
Resource being provided for all participation nodes and calculating the shared of power, all data and resource may come from gateway node and issued
B grade block chain public information index, can be from other nodes are issued on A grades of block chains public information and money
Source;The B grades of block chain provides resource for all participation nodes and calculates the shared of power, and all data and resource may come from
Gateway node is distributed to the resource being directed toward in A grades of block chains and unappropriated public information index, can be from Yu Weifa
Cloth can be to A grades of block chains but the information and resource that originally publish on the ground in B grades of block chains on A grades of block chains
Disclosure is simultaneously transferred to all sources of local B grades of chain by gateway node as the open resource of node on node on A grades of chains or B grades of chains
Index.All resource indexes are based on addressable internet address mark, therefore can be by with internet access energy
Power and authorized node is accessed.
Resource shared and use intelligent contract running environment by being run on block chains at different levels and predefined adjustable
It is supported with algorithm packet.
In order to realize above system, various new equipment also invented for executing common recognition method and necessity set forth above
Operation.It is a kind of that the A grade node for executing A grades of block chains common recognition is supported to set including a kind of A grade equipment of gateway support function
Standby and a kind of B grade node device for supporting to execute B grades of block chains common recognition.
As a preferred solution, propose that a kind of electronic equipment is used in the block chain Classifying Consensus side of internet of things oriented
In method, the function for the gateway node that Classifying Consensus method is arranged is completed;The electronic equipment includes:
Multistage common recognition module, for enabling the electronic equipment: participating in two kinds of common recognition agreements;It can extract B grades of block chains
In upper data and the transaction being packaged on A grades of block chains;It can extract data on A grades of block chains and be packaged on B grades of block chains
In transaction;When serving as accounting nodes, transaction can be received and complete book keeping operation task, and propose common recognition request, hair in a network
Common recognition process is played, completes to calculate needed for common recognition when necessary.
Constructing communication network module, comprising: a kind of for making the electronic equipment be connected to the wirelessly or non-wirelessly communication of internet
Module enables a device to access internet by single-hop;With one kind is for making the electronic equipment and local area network equipment
Or ad hoc network equipment realizes the wirelessly or non-wirelessly communication module of network connection, enables a device to and local area network or ad hoc network
Interior B grade node realizes the connection of single-hop or multi-hop.
As a preferred solution, propose that a kind of electronic equipment is used in the block chain Classifying Consensus side of internet of things oriented
In method, the function for the B grade block chain node arranged in Classifying Consensus method is completed;
The electronic equipment includes;
Constructing communication network module: for making the electronic equipment that there is the module of wireless access or access in radio ability, make to set
It is standby that local area network can be added by local access point, or realized mutually with other node devices by the networking mode of Adhoc
Join intercommunication.
Common recognition module, for enabling the electronic equipment: participating in the common recognition process of B grades of block chains, complete to throw when necessary
The processes such as ticket;Make the electronic equipment when serving as B grades of block chain accounting nodes, transaction can be received and complete book keeping operation task,
And common recognition request is proposed in a network, common recognition process is initiated, completes to calculate needed for common recognition when necessary.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions each in flowchart and/or the block diagram
The combination of process and/or box in process and/or box and flowchart and/or the block diagram.It can provide these computers
Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices
To generate a machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute
For realizing the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram
Device.These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that instruction stored in the computer readable memory generation includes
The manufacture of command device, the command device are realized in one box of one or more flows of the flowchart and/or block diagram
Or the function of being specified in multiple boxes.These computer program instructions can also be loaded at computer or other programmable datas
It manages in equipment, so that it is computer implemented to generate to execute series of operation steps on a computer or other programmable device
Processing, thus instruction executed on a computer or other programmable device offer for realizing in one process of flow chart or
The step of function of being specified in multiple processes and/or one or more blocks of the block diagram.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to 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 including described
There is also other identical elements in the process, method of element, commodity or equipment.It will be understood by those skilled in the art that this Shen
Embodiment please can provide as method, system or computer program product.Therefore, the application can be used complete hardware embodiment,
The form of complete software embodiment or embodiment combining software and hardware aspects.Moreover, the application can be used at one or more
It is a wherein include computer usable program code computer-usable storage medium (including but not limited to magnetic disk storage,
CD-ROM, optical memory etc.) on the form of computer program product implemented.Above is only an example of the present application
, it is not intended to limit this application.To those skilled in the art, various changes and changes are possible in this application.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles of the present application should be included in the power of the application
Within sharp claimed range.
Finally, it should be noted that implementation method provided by above-mentioned and embodiment are only intended to saying to technical solution
It is bright, the limitation to rights protection scope cannot be used to, it is all to utilize technical solution of the present invention, the implementation method and implementation
It principle and the technical characteristic of example and the equivalent replacement that carries out and improves etc., should all be included in the protection scope of the present invention.
Claims (9)
1. a kind of block chain Classifying Consensus method of internet of things oriented, it is characterised in that: node is divided into two-stage or three-level, is gone forward side by side
The block chain common recognition of row classification;By across the chain resource interaction mechanism of one kind, make the block independent of each other for belonging to different stage
Resource on chain can interact and share.
2. the block chain Classifying Consensus method of internet of things oriented according to claim 1, it is characterised in that: described two
In fraction level framework, node is divided into A grades of nodes and B grades of nodes;The B grades of node only with belong to a local area network or ad hoc network
Interior node forms independent B grades of block chain;The B grades of block chain includes one and the above A grades of node;It is contained in the B
A grade node in grade block chain is referred to as gateway node;The A grades of node forms an A grades of block chains.
3. the block chain Classifying Consensus method of internet of things oriented according to claim 1, it is characterised in that: across the chain money
Source interaction mechanism is completed by gateway node;The gateway node can participate in performed on the two-stage block chain locating for it respectively
Two kinds of common recognition agreements.
4. the block chain Classifying Consensus method of internet of things oriented according to claim 2, it is characterised in that: the area A grades of
Block chain is run under the premise of capable of having zero or any number of B grades of block chains in systems;The B grades of block chain energy
Enough independent operatings under the premise of any other A grades or B grades of block chains is not present.
5. the block chain Classifying Consensus method of internet of things oriented according to claim 1, it is characterised in that: to WLAN skill
Art realizes that the LAN node of networking is formed by the uses of B grade block chains and practices Byzantium's mechanism (PBFT) and knows together;To with
Adhoc technology realizes that the node of ad hoc network is formed by B grades of block chains and is total to using network aware type common recognition method (DPoN)
Know.
6. the block chain Classifying Consensus method of internet of things oriented according to claim 5, it is characterised in that: the network
Sensing type common recognition method, including a kind of accounting nodes selection algorithm;The accounting nodes selection algorithm be based on the following factors in
One or several linearly or nonlinearly combination is formed by mathematic(al) representation evaluation, and takes preceding R after value sequence arrangement
Node is accounting nodes:
(1) energy indexes E: for having the node E=T1 of constant current source power supply in network, only has battery powered node E
=T2, node E=T3 when only having battery-operated node and the lower energy content of battery;Triadic relation is T3 >=0 T1 > T2 >;
(2) centrality degree index of social network N: the quantity that node is directly connected to equipment is more, then N value is bigger;
(3) mobility index M: all nodes all have initial value M1 when block chain is newly added, and movement leads to it to node every time
M1 value reduces L;
(4) contribution degree index C: specifically, with Pa(i) represent the amount of money that node a is obtained from node i, S represent node a altogether from
It is taken at S node, then, and ∑1≤i≤S, i ≠ aPa(i) or its simple deformation such as ∑1≤i≤S, i ≠ aln(Pa(i)) value is bigger,
The contribution degree C for representing node a is bigger;
In the present invention preferably, the energy indexes relevant parameter value range includes: T1=100%, T2 ∈ (T3, T1), T3
∈ [0, T2);
The centrality degree index of social network N is equal to the quantity of an actual node hop neighbor in a network;
The mobility index M relevant parameter value range are as follows: M1=100%, L ∈ (0, M1];
The contribution degree index C is equal to ∑1≤i≤S, i ≠ aPa(i) or ∑1≤i≤S, i ≠ aln(Pa(i));Pa(i) gold to actually occur
Volume;
When using DPoN common recognition, R is not less than the 1/3 of nodes quantity, and when node total number is less than 9, R=3;Node
DPoN is not used when number is less than 3;
When using PBFT common recognition, R >=1.
7. the block chain Classifying Consensus method of internet of things oriented according to claim 1, it is characterised in that: across the chain money
Source interaction mechanism is interactive for realizing the resource of A grades and B grades two-stage block interchains, by simultaneously participating in A grades of block chains and B grades of areas
Gateway node on block chain is completed;Its process includes:
B grade node in any B grades of block chain is packaged as B grades of block chains using itself quasi- disclosed resource index as transaction load
Interior transaction TXB, and the accounting nodes being sent in B grades of block chains;
The TXB received in unit time is traded to be packaged and generates new block and propose to know together by B grades of block chain accounting nodes,
After common recognition is completed and will be added to the B grades of block chain comprising the new block that TXB trades, it will intend included in new block open
Resource index is sent to gateway node;
After gateway node receives quasi- open resource index transmitted by the B grades of block chain accounting nodes, as transaction
Load is packaged as the TXA that trades in A grades of block chains, and is sent to accounting nodes in A grades of block chains;
It include the quasi- open resource index of B grades of block chains after A grades of block chains complete book keeping operation common recognition, in such as new confirmation block, then
Indexing the address being directed toward and content can be and visible to all gateway nodes by node visit and calling on A grades of block chains;
After A grades of block chains complete new round common recognition, gateway node will contain the letter of newest open resource index in newly-increased block
Breath is packaged as the transaction TXB of connected B grades of chain as transaction load and submits to the accounting nodes of connected B grades of chain, by the note
Account node initiates common recognition, and the related resource for completing to record on TXB after keeping accounts can be by node visit on the B grades of chain;
The open resource index is all made of internet accessible address mark, and index and corresponding resource can be led to by node on chain
Cross network access.
8. a kind of block chain Classifying Consensus system of internet of things oriented characterized by comprising
The system that tissue and framework of knowing together are carried out to node using the block chain Classifying Consensus method of the internet of things oriented;
In the system, the A grades of node is with B grades of nodes according to block chain Classifying Consensus clear from the claims
Method realizes framework and common recognition, and supports across the chain resource interaction mechanism;
The A grades of block chain can provide the shared of resource for node on node on all A grades of chains and B grades of chains, and all resources can be with
The B grade block chain public information index issued from gateway node, can be from other node institutes on A grades of block chains
The public information and resource of publication;
The B grades of block chain provides resource-sharing for nodes all in this chain, and all resources may come from gateway node publication
To the resource be directed toward in A grades of block chains and unappropriated public information index, can be from not being distributed to A grades of block chains
But in the resource that B grades of block chains originally publish on the ground;It can be from disclosing on A grades of block chains and be transferred to by gateway node
All sources of local B grades of chain are the open resource of node on node or B grades of chains on A grades of chains;
All resources are based on addressable internet address mark and index.
9. the electronic equipment in a kind of block chain Classifying Consensus system for internet of things oriented described in claim 8, feature
It is:
For in the block chain Classifying Consensus system of the internet of things oriented, completing the gateway section that Classifying Consensus method is arranged
The function of point;The electronic equipment includes:
Multistage common recognition module, for enabling the electronic equipment: participating in two kinds of common recognition agreements;Number on extractable B grades of block chains
According to and the transaction that is packaged on A grades of block chains in;Data and the transaction being packaged on B grades of block chains on extractable A grades of block chains
In;When serving as accounting nodes, transaction can be received and complete book keeping operation task, and propose common recognition request in a network, initiated altogether
Knowledge process is completed to calculate needed for common recognition when necessary;
Constructing communication network module, comprising: it is a kind of for making the electronic equipment be connected to the wirelessly or non-wirelessly communication module of internet,
It enables a device to access internet by single-hop;One kind is for setting the electronic equipment with local area network equipment or ad hoc network
The standby wirelessly or non-wirelessly communication module for realizing network connection, enables a device to and the B grade node in local area network or ad hoc network
Realize the connection of single-hop or multi-hop.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810202375.4A CN110276602B (en) | 2018-03-13 | 2018-03-13 | Block chain hierarchical consensus method and system for Internet of things and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810202375.4A CN110276602B (en) | 2018-03-13 | 2018-03-13 | Block chain hierarchical consensus method and system for Internet of things and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110276602A true CN110276602A (en) | 2019-09-24 |
CN110276602B CN110276602B (en) | 2023-09-05 |
Family
ID=67957574
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810202375.4A Active CN110276602B (en) | 2018-03-13 | 2018-03-13 | Block chain hierarchical consensus method and system for Internet of things and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110276602B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110750595A (en) * | 2019-10-16 | 2020-02-04 | 西安交通大学 | Double-layer Internet of things architecture based on credit degree-block chain |
CN111343777A (en) * | 2020-04-20 | 2020-06-26 | 陈依依 | Wisdom street lamp control system based on block chain |
CN111680996A (en) * | 2020-05-28 | 2020-09-18 | 中国工商银行股份有限公司 | Life payment data processing method, device and system based on block chain |
CN112508559A (en) * | 2020-12-01 | 2021-03-16 | 浙商银行股份有限公司 | Block chain privacy transaction multi-level consensus method, equipment and storage medium |
CN113315638A (en) * | 2021-06-01 | 2021-08-27 | 永旗(北京)科技有限公司 | Block chain consensus system and method based on Internet of things |
CN114531438A (en) * | 2020-10-30 | 2022-05-24 | 中国移动通信有限公司研究院 | Data transmission method and system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546059A (en) * | 2012-01-04 | 2012-07-04 | 中国人民解放军理工大学 | Non-supervision clustering-based distributed cooperative spectrum sensing method for cognitive self-organizing network |
US20170075941A1 (en) * | 2016-11-28 | 2017-03-16 | Keir Finlow-Bates | Consensus system and method for adding data to a blockchain |
CN106548397A (en) * | 2016-11-22 | 2017-03-29 | 天津米游科技有限公司 | A kind of block chain common recognition mechanism |
CN106850536A (en) * | 2016-11-30 | 2017-06-13 | 北京瑞卓喜投科技发展有限公司 | Block chain common recognition method and system |
CN107124460A (en) * | 2017-04-28 | 2017-09-01 | 北京汇通金财信息科技有限公司 | A kind of alliance's catenary system, the method and apparatus of alliance's chain accounting nodes communication |
CN107147735A (en) * | 2017-05-12 | 2017-09-08 | 北京博晨技术有限公司 | A kind of distributed account book system based on hierarchy |
CN107358420A (en) * | 2017-06-09 | 2017-11-17 | 北京博晨技术有限公司 | Method for realizing the block catenary system of focus account and realizing focus account |
CN107547529A (en) * | 2017-08-21 | 2018-01-05 | 集合智造(北京)餐饮管理有限公司 | A kind of method, system that shared retail is realized based on block chain |
-
2018
- 2018-03-13 CN CN201810202375.4A patent/CN110276602B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546059A (en) * | 2012-01-04 | 2012-07-04 | 中国人民解放军理工大学 | Non-supervision clustering-based distributed cooperative spectrum sensing method for cognitive self-organizing network |
CN106548397A (en) * | 2016-11-22 | 2017-03-29 | 天津米游科技有限公司 | A kind of block chain common recognition mechanism |
US20170075941A1 (en) * | 2016-11-28 | 2017-03-16 | Keir Finlow-Bates | Consensus system and method for adding data to a blockchain |
CN106850536A (en) * | 2016-11-30 | 2017-06-13 | 北京瑞卓喜投科技发展有限公司 | Block chain common recognition method and system |
CN107124460A (en) * | 2017-04-28 | 2017-09-01 | 北京汇通金财信息科技有限公司 | A kind of alliance's catenary system, the method and apparatus of alliance's chain accounting nodes communication |
CN107147735A (en) * | 2017-05-12 | 2017-09-08 | 北京博晨技术有限公司 | A kind of distributed account book system based on hierarchy |
CN107358420A (en) * | 2017-06-09 | 2017-11-17 | 北京博晨技术有限公司 | Method for realizing the block catenary system of focus account and realizing focus account |
CN107547529A (en) * | 2017-08-21 | 2018-01-05 | 集合智造(北京)餐饮管理有限公司 | A kind of method, system that shared retail is realized based on block chain |
Non-Patent Citations (1)
Title |
---|
沈鑫;裴庆祺;刘雪峰;: "区块链技术综述" * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110750595A (en) * | 2019-10-16 | 2020-02-04 | 西安交通大学 | Double-layer Internet of things architecture based on credit degree-block chain |
CN111343777A (en) * | 2020-04-20 | 2020-06-26 | 陈依依 | Wisdom street lamp control system based on block chain |
CN111680996A (en) * | 2020-05-28 | 2020-09-18 | 中国工商银行股份有限公司 | Life payment data processing method, device and system based on block chain |
CN111680996B (en) * | 2020-05-28 | 2023-09-22 | 中国工商银行股份有限公司 | Block chain-based life payment data processing method, device and system |
CN114531438A (en) * | 2020-10-30 | 2022-05-24 | 中国移动通信有限公司研究院 | Data transmission method and system |
CN112508559A (en) * | 2020-12-01 | 2021-03-16 | 浙商银行股份有限公司 | Block chain privacy transaction multi-level consensus method, equipment and storage medium |
CN113315638A (en) * | 2021-06-01 | 2021-08-27 | 永旗(北京)科技有限公司 | Block chain consensus system and method based on Internet of things |
Also Published As
Publication number | Publication date |
---|---|
CN110276602B (en) | 2023-09-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110276602A (en) | Block chain Classifying Consensus method, system and the electronic equipment of internet of things oriented | |
Xie et al. | A survey of blockchain technology applied to smart cities: Research issues and challenges | |
Qiu et al. | Blockchain-based secure spectrum trading for unmanned-aerial-vehicle-assisted cellular networks: An operator’s perspective | |
Khan et al. | Blockchain smart contracts: Applications, challenges, and future trends | |
Rathee et al. | A secure communicating things network framework for industrial IoT using blockchain technology | |
CN113228600B (en) | Method and apparatus for stimulating participation in a mist network | |
Hu et al. | Blockchain-based smart contracts-applications and challenges | |
Micholia et al. | Community networks and sustainability: a survey of perceptions, practices, and proposed solutions | |
Ferdous et al. | Integrated platforms for blockchain enablement | |
US20190102837A1 (en) | Competitive online data market and exchange network | |
Jedari et al. | A game-theoretic incentive scheme for social-aware routing in selfish mobile social networks | |
Yrjölä et al. | Evaluation of recent spectrum sharing concepts from business model scalability point of view | |
Maddikunta et al. | Incentive techniques for the internet of things: a survey | |
KR102371071B1 (en) | System for providing token economy based block-chain platform service | |
Weerasinghe et al. | A novel blockchain-as-a-service (BaaS) platform for local 5G operators | |
Wu et al. | A game-theoretic approach to stimulate cooperation for probabilistic routing in opportunistic networks | |
Raivio et al. | Mobile networks as a two-sided platform-case open telco | |
WO2020228531A1 (en) | Consortium blockchain governance method and apparatus, computer device and storage medium | |
Chiu et al. | EdgeTC-a PBFT blockchain-based ETC scheme for smart cities | |
CN110472974A (en) | Assets transfer method, apparatus and system based on block chain intelligence contract | |
Bhushan et al. | A new approach towards IoT by using health care-IoT and food distribution IoT | |
Kobashi et al. | Smart city and ICT infrastructure with vehicle to X applications toward urban decarbonization | |
Dai et al. | Contract theory based incentive scheme for mobile crowd sensing networks | |
Gu et al. | Autonomous resource request transaction framework based on blockchain in social network | |
Shafik et al. | Recommendation system comparative analysis: internet of things aided networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |