CN106452884B - Data distributing method and device in block catenary system - Google Patents
Data distributing method and device in block catenary system Download PDFInfo
- Publication number
- CN106452884B CN106452884B CN201610921727.2A CN201610921727A CN106452884B CN 106452884 B CN106452884 B CN 106452884B CN 201610921727 A CN201610921727 A CN 201610921727A CN 106452884 B CN106452884 B CN 106452884B
- Authority
- CN
- China
- Prior art keywords
- value
- node
- assets
- accumulative
- data
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000009825 accumulation Methods 0.000 claims description 43
- 230000000694 effects Effects 0.000 claims description 28
- 238000009826 distribution Methods 0.000 claims description 19
- 238000012545 processing Methods 0.000 claims description 17
- 238000004364 calculation method Methods 0.000 claims description 15
- 238000004519 manufacturing process Methods 0.000 claims description 7
- 230000005284 excitation Effects 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 8
- 230000007246 mechanism Effects 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 4
- 230000001965 increasing effect Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000037007 arousal Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 239000006185 dispersion Substances 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0246—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
- H04L41/0266—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using meta-data, objects or commands for formatting management information, e.g. using eXtensible markup language [XML]
-
- 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/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
-
- 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/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Strategic Management (AREA)
- Finance (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Economics (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Complex Calculations (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides the data distributing method and device in a kind of block catenary system, wherein method includes the following steps: determining the data to be distributed and relation chain in block catenary system;It include multiple nodes in the relation chain;Determine that each node is to the control parameter for having held data in relation chain;According to data to be distributed, each node to the control parameter for having held data, the data value for distributing to each node is determined.Since the program determines the data value for distributing to each node in the manner described above, newly-increased total assets value can rationally and effectively be distributed, real promoter is made to obtain effectively excitation.
Description
Technical field
Data distributing method and dress the present invention relates to data distribution technology field, in particular in a kind of block catenary system
It sets.
Background technique
Internet finance high speed development, block chain (block chain is actually the user endpoints of a group dispersion,
And the distributed data base being made of All Activity person, it is the record to all bit coin transactions histories) as the digital goods of encryption
The basis of coin and core, are paid much attention to.The quantity of node and dealer become increasing as time goes by, basis
Facility allows for handling such extension under the premise of not leading to performance degradation.It is opened from founder's bit coin of digital cash
Begin, in order to guarantee the robustness of decentralization network, there is enough node to participate in, has been specifically designed out " digging mine " behavior and right
The reward mechanism answered, so-called " digging mine " is substantially to solve a complicated mathematical problem with computer, to guarantee bit coin net
The consistency of network distribution accounting system, so-called " reward mechanism " are exactly the bit coin conduct of the newly-generated certain value of bit coin network
Money reward, reward obtain the people of answer.Reward mechanism first has to accomplish transparent, can followed by self-growth be promoted to need.But respectively
The reward mechanism of kind digital cash, development all make speculator grasp a large amount of weights to a certain extent, and real promoter can not
Effectively excitation is obtained, so as to cause digital cash is necessarily weak and disagreement.For example the early stage big mine masters of bit coin have held and have surpassed
80% calculation power is crossed, (it is unfavorable to them that the big mine masters of weight veto so that the subsequent advanced iteration of bit coin cannot achieve
It improves).
Summary of the invention
The embodiment of the invention provides the data distributing methods in a kind of block catenary system, can effectively distribute newly-increased
Assets value makes real promoter obtain effectively excitation.This method comprises:
Determine the data to be distributed and relation chain in block catenary system;It include multiple nodes in the relation chain;
Determine that each node is to the control parameter for having held data in relation chain;
According to data to be distributed, each node to the control parameter for having held data, the number for distributing to each node is determined
According to value.
In one embodiment, the data to be distributed is newly-increased total assets value;
Each node includes: each node holding effectively to holding assets value to the control parameter for having held data
Force value and promotion efficiency value.
In one embodiment, determine that each node holds effect value to holding assets value as follows:
Each node holds the value of holding assets and hold duration that effect value is each node to holding assets value
Product.
In one embodiment, determine each node to the promotion efficiency value of holding assets value as follows:
When the child node that a father node in multiple nodes is not connected, the promotion efficiency value of the father node is 0;
When a father node in multiple nodes has connected child node, the promotion efficiency value of the father node is all phases
The accumulative assets processing costs sum of child node even;The accumulative assets processing costs is to save to the son being connected with the father node
The accumulative assets value of point determines after being handled;
The accumulation assets value of node is determined as follows:
When the child node that a father node in multiple nodes is not connected, the accumulation assets value of the father node is the father
The holding assets value of node;
When a father node in multiple nodes has connected child node, the accumulation assets value of the father node is father section
The value of holding assets of point provides total production value with the accumulation of all child nodes being connected.
In one embodiment, the accumulative assets value for the child node being connected with the father node is handled, comprising:
Determine the maximum value in the accumulative assets value of all connected child nodes of the father node;
Exponent arithmetic is carried out to the accumulative assets value of the corresponding child node of accumulative assets value maximum value;
The accumulative assets value of remaining child node is compared with preset threshold, when being less than preset threshold, to corresponding
The accumulative assets value of child node carries out product calculation;When being greater than preset threshold, to the accumulative assets value of corresponding child node into
Row linear operation;
Exponent arithmetic is carried out to the accumulative assets value of the corresponding child node of accumulative assets value maximum value as follows:
Product calculation: the second default value of T* is carried out to the accumulative assets value of corresponding child node as follows;
Linear operation: T+ third default value is carried out to the accumulative assets value of corresponding child node as follows;
Wherein, T is the accumulative assets value of corresponding child node.
In one embodiment, according to data to be distributed, each node to the control parameter for having held data, according to as follows
Formula determines the data value for distributing to each node:
Wherein, BNew iFor the data value of i-th of node in relation chain;
SiHold effect value, S for i-th node in relation chaini=Bi*Ai, BiIt has been held for i-th node in relation chain
There are assets value, AiHold duration for i-th node in relation chain;
PiFor the promotion efficiency value of i-th of node in relation chain;
BAlwaysTo increase total assets value newly;
N is the number of relation chain interior joint, and n is integer.
The embodiment of the invention also provides the data distribution device in a kind of block catenary system, which includes:
Data to be distributed and relation chain determining module, for determining data to be distributed and relation chain in block catenary system;
It include multiple nodes in the relation chain;
Control parameter determining module, for determining that each node is to the control parameter for having held data in relation chain;
Distribution module, for, to the control parameter for having held data, determination to be distributed to according to data to be distributed, each node
The data value of each node.
In one embodiment, the data to be distributed is newly-increased total assets value;
Each node includes: each node holding effectively to holding assets value to the control parameter for having held data
Force value and promotion efficiency value.
In one embodiment, the control parameter determining module is specifically used for:
Determine that each node holds effect value to holding assets value as follows:
Each node holds the value of holding assets and hold duration that effect value is each node to holding assets value
Product.
In one embodiment, the control parameter determining module is specifically used for:
Determine each node to the promotion efficiency value of holding assets value as follows:
When the child node that a father node in multiple nodes is not connected, the promotion efficiency value of the father node is 0;
When a father node in multiple nodes has connected child node, the promotion efficiency value of the father node is all phases
The accumulative assets processing costs sum of child node even;The accumulative assets processing costs is to save to the son being connected with the father node
The accumulative assets value of point determines after being handled;
The accumulation assets value of node is determined as follows:
When the child node that a father node in multiple nodes is not connected, the accumulation assets value of the father node is the father
The holding assets value of node;
When a father node in multiple nodes has connected child node, the accumulation assets value of the father node is father section
The value of holding assets of point provides total production value with the accumulation of all child nodes being connected.
In one embodiment, the control parameter determining module is specifically used for:
The accumulative assets value for the child node being connected with the father node is handled, comprising:
Determine the maximum value in the accumulative assets value of all connected child nodes of the father node;
Exponent arithmetic is carried out to the accumulative assets value of the corresponding child node of accumulative assets value maximum value;
The accumulative assets value of remaining child node is compared with preset threshold, when being less than preset threshold, to corresponding
The accumulative assets value of child node carries out product calculation;When being greater than preset threshold, to the accumulative assets value of corresponding child node into
Row linear operation;
Exponent arithmetic is carried out to the accumulative assets value of the corresponding child node of accumulative assets value maximum value as follows:
Product calculation: the second default value of T* is carried out to the accumulative assets value of corresponding child node as follows;
Linear operation: T+ third default value is carried out to the accumulative assets value of corresponding child node as follows;
Wherein, T is the accumulative assets value of corresponding child node.
In one embodiment, the distribution module is specifically used for:
The data value for distributing to each node is determined according to following formula:
Wherein, BNew iFor the data value of i-th of node in relation chain;
SiHold effect value, S for i-th node in relation chaini=Bi*Ai, BiIt has been held for i-th node in relation chain
There are assets value, AiHold duration for i-th node in relation chain;
PiFor the promotion efficiency value of i-th of node in relation chain;
BAlwaysTo increase total assets value newly;
N is the number of relation chain interior joint, and n is integer.
In embodiments of the present invention, it is necessary first to determine data to be distributed (newly-increased total assets value) in block catenary system and
Relation chain;It include multiple nodes in the relation chain;Then determine that each node joins the control for having held data in relation chain
Number;The data for distributing to each node are finally determined to the control parameter for having held data according to data to be distributed, each node
Value determines the data value for distributing to each node in the manner described above in this way, newly-increased total assets value can be carried out rationally effective
Ground distribution makes real promoter obtain effectively excitation.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the data distributing method flow chart in a kind of block catenary system provided in an embodiment of the present invention;
Fig. 2 is that a kind of promotion efficiency provided in an embodiment of the present invention is worth calculation method instance graph;
Fig. 3 is the data distribution device schematic diagram in a kind of block catenary system provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this
Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts
Example is applied, shall fall within the protection scope of the present invention.
In embodiments of the present invention, the data distributing method in a kind of block catenary system is provided, as shown in Figure 1, the party
Method includes:
Step 101: determining the data to be distributed and relation chain in block catenary system;It include multiple sections in the relation chain
Point;
Step 102: determining that each node is to the control parameter for having held data in relation chain;
Step 103: according to data to be distributed, each node to the control parameter for having held data, determination is distributed to each
The data value of node.
When it is implemented, this method has used for reference PoW (Proof Of Work, proof of work mechanism) and PoS (Proof
Of Stake, equity prove mechanism) common recognition mechanism the advantages of, the method for the present invention realize two purposes: as block chain bottom
Common recognition mechanism guarantees high efficiency and safety;As incentive system guarantee promote node honest gain, promote dot-com boom and
The robustness of chain.It as the digital asset built in block catenary system, can periodically be increased according to about fixed cycle, increase and present
Gradually attenuation trend, to prevent inflation.What the method for the present invention to be done be exactly distribute growth assets it is big to popularizing action
Node on.In order to reach arousal effect, the method for the present invention is mainly examined in terms of holding effect (stack) and promotion efficiency two
Amount.Wherein, hold size (Balance) * that effect (stack) is defined as and hold duration (AssertAge), with this Stack value
It participates in the distribution as weight.Promotion efficiency (Promotion) is defined as the relation chain by being formed after the nodes recommendations, and should
Liveness in relation chain.Holding assets value can be described as intrinsic assets value/amount.
Specifically, " newly-increased total assets value " that " data to be distributed " described in step 101 just refers to, increases total assets value newly
It is to be generated by block catenary system, increasing total assets value newly is not a determining numerical value.
It is formed, is also possible to through back-end server data when it is implemented, relation chain can be the dominant way of recommendation
Excavate the stealthy relationship established.For example, just becoming the father node of B account, B account when A account first is given B account transfer
Family is exactly the child node of A account, and B account gives C account transfer, and B account is the father node of C account, and C account is exactly the son of B account
Node, and so on, A, B, C are just at relation chain.
When it is implemented, after relation chain has been determined by step 101, so that it may to each node in relation chain into
Row traversal, finds all adjacent nodes of the node, determines each node to the control parameter for having held data, wherein each node
It may include: that each node holds effect value and promotion efficiency to holding assets value to the control parameter for having held data
Value.
Specifically, determining that each node holds effect value to holding assets value as follows:
Each node holds the value of holding assets and hold duration that effect value is each node to holding assets value
Product.
Specifically, determining each node to the promotion efficiency value of holding assets value as follows:
When the child node that a father node in multiple nodes is not connected, the promotion efficiency value of the father node is 0;
When a father node in multiple nodes has connected child node, the promotion efficiency value of the father node is all phases
The accumulative assets processing costs sum of child node even;The accumulative assets processing costs is to save to the son being connected with the father node
The accumulative assets value of point determines after being handled;
The accumulation assets value of node is determined as follows:
When the child node that a father node in multiple nodes is not connected, the accumulation assets value of the father node is the father
The holding assets value of node;
When a father node in multiple nodes has connected child node, the accumulation assets value of the father node is father section
The value of holding assets of point provides total production value with the accumulation of all child nodes being connected.
Specifically, the accumulative assets value to the child node being connected with the father node is handled, comprising:
Determine the maximum value in the accumulative assets value of all connected child nodes of the father node;
Exponent arithmetic is carried out to the accumulative assets value of the corresponding child node of accumulative assets value maximum value;
The accumulative assets value of remaining child node is compared with preset threshold, when being less than preset threshold, to corresponding
The accumulative assets value of child node carries out product calculation;When being greater than preset threshold, to the accumulative assets value of corresponding child node into
Row linear operation;
Exponent arithmetic is carried out to the accumulative assets value of the corresponding child node of accumulative assets value maximum value as follows:
Product calculation: the second default value of T* is carried out to the accumulative assets value of corresponding child node as follows;
Linear operation: T+ third default value is carried out to the accumulative assets value of corresponding child node as follows;
Wherein, T is the accumulative assets value of corresponding child node.
Wherein, the first default value can be 3, and the second default value can be 10, and third default value can be 9000.
Specifically, the determination principle of the first default value, the second default value, third default value is mainly in few new of holding assets
It is balanced between user and the old user for holding more assets, the relatively figure of merit obtained by numerical simulation.
Hold the calculating process of effect and promotion efficiency below by illustration.
For example, as shown in Fig. 2, including a root node, child node A, B, C for being connect with root node in relation chain, with son
Sun Jiedian C1, the C2 of node C connection.Wherein, relation chain will not be overlapped, and the root node in each relation chain is one.
1) the holding assets size * that effect value is node that holds of node holds the time.
2) the promotion efficiency value of node calculates as follows:
Since Sun Jiedian C1, C2 and child node A, B are without child node, so the accumulation assets value T (c1) of Sun Jiedian C1
It is the value of the holding assets B (c2) of itself for the value of the holding assets B (c1) of itself, the accumulation assets value T (c2) of Sun Jiedian C2,
The accumulation assets value T (a) of child node A is the holding assets value B (a) of itself, and the accumulation assets value T (b) of child node B is itself
Holding assets value B (b), promotion efficiency value V (c1)=V (c2)=V (a)=V (b) of Sun Jiedian C1, C2 and child node A, B
=0.
Sun Jiedian C1, the C2 of child node C connection, the then accumulation that the accumulation assets value T (c) of child node C is Sun Jiedian C1 provide
The adduction of the holding assets value B (c) of output value T (c1), the accumulation assets value T (c2) of Sun Jiedian C2 and child node C itself, i.e. T
(c)=T (c1)+T (c2)+B (c).Then the accumulation assets value T (c1) of Sun Jiedian C1, the accumulation assets value T of Sun Jiedian C2 are determined
(c2) size, it is determined here that the accumulation assets value T (c1) of Sun Jiedian C1 is greater than the accumulation assets value T (c2) of Sun Jiedian C2, then
Exponent arithmetic is carried out (for example, T (c1) to the accumulation assets value T (c1) of Sun Jiedian C11/3), by the accumulation assets value T of Sun Jiedian C2
(c2) it is compared with preset threshold (artificially providing 10000), it is determined here that the accumulation assets value T (c2) of Sun Jiedian C2 is less than in advance
If threshold value, then multiplying (for example, T (c2) * 10) is carried out to the accumulation assets value T (c2) of Sun Jiedian C2, after having been calculated, really
Promotion efficiency value V (c)=T (c1) exponent arithmetic+T (c2) multiplying of stator node C.
Root node includes three child nodes A, B, C, accumulation assets value T (root)=T (a)+T (b)+T (c)+B of root node
(root), B (root) is the holding assets value of root node itself.Then the size of T (a), T (b) and T (c) are determined, herein really
Determine grandson T (b) maximum, then exponent arithmetic is carried out to T (b), T (a) and T (c) are compared with preset threshold, it is determined here that T (a)
Less than preset threshold, T (c) is greater than preset threshold, then carries out multiplying to T (a), carries out linear operation (for example, T to T (c)
(c) after+9000), having been calculated, promotion efficiency value V (root)=T (b) exponent arithmetic+T (a) multiplying of root node is determined
+ T (c) linear operation.
Specifically, the accumulation assets value to node carries out exponent arithmetic, the node that stack value can be inhibited big is conducive to
The small node of stack value;It multiplying is carried out to the accumulation assets value of node, can space out, it is big to be conducive to stack value
Node.It to which type of operation is the accumulation assets value of node carry out is determined according to different business needs.
When it is implemented, according to above method calculate egress hold effect value and promotion efficiency value after, according to such as
Lower formula determines the data value for distributing to each node:
Wherein, BNew iFor the data value of i-th of node in relation chain;
SiHold effect value, S for i-th node in relation chaini=Bi*Ai, BiIt has been held for i-th node in relation chain
There are assets value, AiHold duration for i-th node in relation chain;
PiFor the promotion efficiency value of i-th of node in relation chain;
BAlwaysTo increase total assets value newly;
N is the number of relation chain interior joint, and n is integer.
Based on the same inventive concept, the data distribution dress in a kind of block catenary system is additionally provided in the embodiment of the present invention
It sets, as described in the following examples.The principle and block linkwork solved the problems, such as due to the data distribution device in block catenary system
Data distributing method in system is similar, therefore the implementation of the data distribution device in block catenary system may refer to block catenary system
In data distributing method implementation, overlaps will not be repeated.Used below, term " unit " or " module " can be with
Realize the combination of the software and/or hardware of predetermined function.Although device described in following embodiment is preferably come with software real
It is existing, but the realization of the combination of hardware or software and hardware is also that may and be contemplated.
Fig. 3 is a kind of structural block diagram of the data distribution device in the block catenary system of the embodiment of the present invention, such as Fig. 3 institute
Show, comprising:
Data to be distributed and relation chain determining module 301, for determining data to be distributed and relationship in block catenary system
Chain;It include multiple nodes in the relation chain;
Control parameter determining module 302, for determining that each node is to the control parameter for having held data in relation chain;
Distribution module 303, for, to the control parameter for having held data, determining and dividing according to data to be distributed, each node
The data value of each node of dispensing.
The structure is illustrated below.
When it is implemented, described data to be distributed is newly-increased total assets value;Described each node is to having held data
Control parameter include: that each node holds effect value and promotion efficiency value to holding assets value.
When it is implemented, control parameter determining module 302 is specifically used for:
Determine that each node holds effect value to holding assets value as follows:
Each node holds the value of holding assets and hold duration that effect value is each node to holding assets value
Product.
When it is implemented, control parameter determining module 302 is specifically used for:
Determine each node to the promotion efficiency value of holding assets value as follows:
When the child node that a father node in multiple nodes is not connected, the promotion efficiency value of the father node is 0;
When a father node in multiple nodes has connected child node, the promotion efficiency value of the father node is all phases
The accumulative assets processing costs sum of child node even;The accumulative assets processing costs is to save to the son being connected with the father node
The accumulative assets value of point determines after being handled;
The accumulation assets value of node is determined as follows:
When the child node that a father node in multiple nodes is not connected, the accumulation assets value of the father node is the father
The holding assets value of node;
When a father node in multiple nodes has connected child node, the accumulation assets value of the father node is father section
The value of holding assets of point provides total production value with the accumulation of all child nodes being connected.
When it is implemented, control parameter determining module 302 is specifically used for:
The accumulative assets value for the child node being connected with the father node is handled, comprising:
Determine the maximum value in the accumulative assets value of all connected child nodes of the father node;
Exponent arithmetic is carried out to the accumulative assets value of the corresponding child node of accumulative assets value maximum value;
The accumulative assets value of remaining child node is compared with preset threshold, when being less than preset threshold, to corresponding
The accumulative assets value of child node carries out product calculation;When being greater than preset threshold, to the accumulative assets value of corresponding child node into
Row linear operation;
Exponent arithmetic is carried out to the accumulative assets value of the corresponding child node of accumulative assets value maximum value as follows:
Product calculation: the second default value of T* is carried out to the accumulative assets value of corresponding child node as follows;
Linear operation: T+ third default value is carried out to the accumulative assets value of corresponding child node as follows;
Wherein, T is the accumulative assets value of corresponding child node.
When it is implemented, distribution module 303 is specifically used for:
The data value for distributing to each node is determined according to following formula:
Wherein, BNew iFor the data value of i-th of node in relation chain;
SiHold effect value, S for i-th node in relation chaini=Bi*Ai, BiIt has been held for i-th node in relation chain
There are assets value, AiHold duration for i-th node in relation chain;
PiFor the promotion efficiency value of i-th of node in relation chain;
BAlwaysTo increase total assets value newly;
N is the number of relation chain interior joint, and n is integer.
In conclusion the method for the present invention be according to node hold effect and promotion efficiency two in terms of codetermine, simultaneously
It ensure that the contribution margin of participation (holding efficiency) and popularization degree (promotion efficiency).By this method can by newly-increased total assets value into
Row rationally and effectively distributes, and real promoter is made to obtain effectively excitation.User's participation can be increased by this method and glued
Property, while enhancing user node relationship, form huge network, complete digital asset can value transmission, guarantee value flowing, promote
It is maintained on level of security (failure of part of nodes will not cause system unavailable) into number of network node, ensures internet
The stalwartness and stabilization of financial decentralization network.This method ensure that the efficiency for consistency of reaching common understanding simultaneously, improve block
The transaction of catenary system is handled up value (i.e. TPS), provides floor layer technology framework to financial field development for block chain.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
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 every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
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 it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize 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 also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the embodiment of the present invention can have various modifications and variations.All within the spirits and principles of the present invention, made
Any modification, equivalent substitution, improvement and etc. should all be included in the protection scope of the present invention.
Claims (6)
1. the data distributing method in a kind of block catenary system characterized by comprising
Determine the data to be distributed and relation chain in block catenary system;It include multiple nodes in the relation chain;
Determine that each node is to the control parameter for having held data in relation chain;
According to data to be distributed, each node to the control parameter for having held data, the data value for distributing to each node is determined;
The data to be distributed is newly-increased total assets value;
Each node includes: that each node holds effect value to holding assets value to the control parameter for having held data
With promotion efficiency value;
Each node holds the value of holding assets and hold multiplying for duration that effect value is each node to holding assets value
Product;
Determine each node to the promotion efficiency value of holding assets value as follows:
When the child node that a father node in multiple nodes is not connected, the promotion efficiency value of the father node is 0;
When a father node in multiple nodes has connected child node, the promotion efficiency value of the father node is all connected
The accumulative assets processing costs sum of child node;The accumulative assets processing costs is to the child node being connected with the father node
Accumulative assets value determines after being handled;
The accumulation assets value of node is determined as follows:
When the child node that a father node in multiple nodes is not connected, the accumulation assets value of the father node is the father node
Holding assets value;
When a father node in multiple nodes has connected child node, the accumulation assets value of the father node is the father node
Holding assets value provides total production value with the accumulation of all child nodes being connected;
The accumulative assets value for the child node being connected with the father node is handled, comprising:
Determine the maximum value in the accumulative assets value of all connected child nodes of the father node;
Exponent arithmetic is carried out to the accumulative assets value of the corresponding child node of accumulative assets value maximum value;
The accumulative assets value of remaining child node is compared with preset threshold, when being less than preset threshold, to corresponding sub- section
The accumulative assets value of point carries out product calculation;When being greater than preset threshold, line is carried out to the accumulative assets value of corresponding child node
Property operation.
2. the data distributing method in block catenary system as described in claim 1, which is characterized in that as follows to accumulative
The accumulative assets value of the corresponding child node of assets value maximum value carries out exponent arithmetic:
Product calculation: the second default value of T* is carried out to the accumulative assets value of corresponding child node as follows;
Linear operation: T+ third default value is carried out to the accumulative assets value of corresponding child node as follows;
Wherein, T is the accumulative assets value of corresponding child node.
3. the data distributing method in block catenary system as described in claim 1, which is characterized in that according to data to be distributed,
Each node determines the data value for distributing to each node according to following formula to the control parameter for having held data:
Wherein, BNew iFor the data value of i-th of node in relation chain;
SiHold effect value, S for i-th node in relation chaini=Bi*Ai, BiMoney is held for i-th node in relation chain
The output value, AiHold duration for i-th node in relation chain;
PiFor the promotion efficiency value of i-th of node in relation chain;
BAlwaysTo increase total assets value newly;
N is the number of relation chain interior joint, and n is integer.
4. the data distribution device in a kind of block catenary system characterized by comprising
Data to be distributed and relation chain determining module, for determining data to be distributed and relation chain in block catenary system;It is described
It include multiple nodes in relation chain;
Control parameter determining module, for determining that each node is to the control parameter for having held data in relation chain;
Distribution module, for, to the control parameter for having held data, determination to be distributed to each according to data to be distributed, each node
The data value of node;
The data to be distributed is newly-increased total assets value;
Each node includes: that each node holds effect value to holding assets value to the control parameter for having held data
With promotion efficiency value;
The control parameter determining module is specifically used for:
Determine that each node holds effect value to holding assets value as follows:
Each node holds the value of holding assets and hold multiplying for duration that effect value is each node to holding assets value
Product;
Determine each node to the promotion efficiency value of holding assets value as follows:
When the child node that a father node in multiple nodes is not connected, the promotion efficiency value of the father node is 0;
When a father node in multiple nodes has connected child node, the promotion efficiency value of the father node is all connected
The accumulative assets processing costs sum of child node;The accumulative assets processing costs is to the child node being connected with the father node
Accumulative assets value determines after being handled;
The accumulation assets value of node is determined as follows:
When the child node that a father node in multiple nodes is not connected, the accumulation assets value of the father node is the father node
Holding assets value;
When a father node in multiple nodes has connected child node, the accumulation assets value of the father node is the father node
Holding assets value provides total production value with the accumulation of all child nodes being connected;
The accumulative assets value for the child node being connected with the father node is handled, comprising:
Determine the maximum value in the accumulative assets value of all connected child nodes of the father node;
Exponent arithmetic is carried out to the accumulative assets value of the corresponding child node of accumulative assets value maximum value;
The accumulative assets value of remaining child node is compared with preset threshold, when being less than preset threshold, to corresponding sub- section
The accumulative assets value of point carries out product calculation;When being greater than preset threshold, line is carried out to the accumulative assets value of corresponding child node
Property operation.
5. the data distribution device in block catenary system as claimed in claim 4, which is characterized in that the control parameter determines
Module is specifically used for:
Exponent arithmetic is carried out to the accumulative assets value of the corresponding child node of accumulative assets value maximum value as follows:
Product calculation: the second default value of T* is carried out to the accumulative assets value of corresponding child node as follows;
Linear operation: T+ third default value is carried out to the accumulative assets value of corresponding child node as follows;
Wherein, T is the accumulative assets value of corresponding child node.
6. the data distribution device in block catenary system as claimed in claim 4, which is characterized in that the distribution module is specific
For:
The data value for distributing to each node is determined according to following formula:
Wherein, BNew iFor the data value of i-th of node in relation chain;
SiHold effect value, S for i-th node in relation chaini=Bi*Ai, BiMoney is held for i-th node in relation chain
The output value, AiHold duration for i-th node in relation chain;
PiFor the promotion efficiency value of i-th of node in relation chain;
BAlwaysTo increase total assets value newly;
N is the number of relation chain interior joint, and n is integer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610921727.2A CN106452884B (en) | 2016-10-21 | 2016-10-21 | Data distributing method and device in block catenary system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610921727.2A CN106452884B (en) | 2016-10-21 | 2016-10-21 | Data distributing method and device in block catenary system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106452884A CN106452884A (en) | 2017-02-22 |
CN106452884B true CN106452884B (en) | 2019-06-25 |
Family
ID=58176337
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610921727.2A Expired - Fee Related CN106452884B (en) | 2016-10-21 | 2016-10-21 | Data distributing method and device in block catenary system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106452884B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106897906B (en) * | 2017-02-28 | 2021-02-12 | 北京众享比特科技有限公司 | Incentive content distribution method and system |
CN108171493A (en) * | 2017-11-14 | 2018-06-15 | 北京欧链科技有限公司 | The data processing method and device of block chain |
CN108171606A (en) * | 2018-01-11 | 2018-06-15 | 北京欧链科技有限公司 | The distribution method and device of block chain assets |
CN108460596B (en) * | 2018-02-27 | 2020-08-25 | 周伟 | Quantization value distribution transfer method based on block chain |
CN108470277A (en) * | 2018-02-28 | 2018-08-31 | 深圳市网心科技有限公司 | Reward settlement method, system, readable storage medium storing program for executing and the computing device of block chain |
CN108712468B (en) * | 2018-04-19 | 2021-01-08 | 上海分布信息科技有限公司 | Block chain profit distribution method and distribution system |
CN108616427B (en) * | 2018-05-11 | 2021-07-30 | 北京奇虎科技有限公司 | Speed measurement capability determination method, device and system |
CN108712487B (en) * | 2018-05-11 | 2021-07-02 | 北京奇虎科技有限公司 | Block chain-based evidence distribution method, device and equipment |
CN109165092B (en) * | 2018-07-10 | 2021-07-20 | 矩阵元技术(深圳)有限公司 | Consensus method, device and system based on effective computing power contribution |
CN110705973B (en) * | 2018-07-10 | 2023-05-16 | 深圳市红砖坊技术有限公司 | Common identification method applied to miner nodes in blockchain system and blockchain system |
CN109446278A (en) * | 2018-09-21 | 2019-03-08 | 贵州途遇旅行网科技有限公司 | A kind of big data management platform system based on block chain |
CN110474974A (en) * | 2019-08-09 | 2019-11-19 | 全链通有限公司 | Memory space processing method, equipment and computer readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014051455A1 (en) * | 2012-09-26 | 2014-04-03 | Obschestvo S Ogranichennoy Otvetstvennostyu "Colloware" | Method and system for storing graph data |
CN105844505A (en) * | 2016-03-17 | 2016-08-10 | 深圳市新世纪启航科技开发有限公司 | Method of carrying out digital currency trading through block chain technology |
-
2016
- 2016-10-21 CN CN201610921727.2A patent/CN106452884B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014051455A1 (en) * | 2012-09-26 | 2014-04-03 | Obschestvo S Ogranichennoy Otvetstvennostyu "Colloware" | Method and system for storing graph data |
CN105844505A (en) * | 2016-03-17 | 2016-08-10 | 深圳市新世纪启航科技开发有限公司 | Method of carrying out digital currency trading through block chain technology |
Non-Patent Citations (2)
Title |
---|
区块链技术发展现状与展望;袁勇 等;《自动化学报》;20160430;全文 |
区块链技术在资本市场的应用;凯文•比勒 等;《投融资与贸易》;20160228;全文 |
Also Published As
Publication number | Publication date |
---|---|
CN106452884A (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106452884B (en) | Data distributing method and device in block catenary system | |
Xu et al. | Sok: Decentralized exchanges (dex) with automated market maker (amm) protocols | |
WO2020107919A1 (en) | Distributed network and ecosystem based on innovative proof-of-reputation consensus protocol | |
CN105550927A (en) | Bank credit system risk assessment method and device | |
Moniruzzaman et al. | Blockchain and cooperative game theory for peer-to-peer energy trading in smart grids | |
Bloch | Coalitions and networks in industrial organization | |
CN108470277A (en) | Reward settlement method, system, readable storage medium storing program for executing and the computing device of block chain | |
Foti et al. | Viability analysis of a decentralized energy market based on blockchain | |
CN110348991A (en) | Assess the method, apparatus and electronic equipment of user's accrediting amount upper limit | |
Gans et al. | More (or less) economic limits of the blockchain | |
Eisele et al. | Blockchains for transactive energy systems: Opportunities, challenges, and approaches | |
Hu et al. | Social welfare–based concession model for build/operate/transfer contracts | |
CN107181284A (en) | The method of adjustment and device of a kind of out-of-limit electricity of circuit | |
Oprea et al. | A motivational local trading framework with 2-round auctioning and settlement rules embedded in smart contracts for a small citizen energy community | |
CN111582864A (en) | Block chain data volume certification consensus protocol | |
Liu et al. | Decentralization is vulnerable under the gap game | |
Adeyanju et al. | Semi-decentralized and fully decentralized multiarea economic dispatch considering participation of local private aggregators using meta-heuristic method | |
WO2020011010A1 (en) | Computing power transaction method and computing channel | |
Kasahara | Performance modeling of Bitcoin blockchain: Mining mechanism and transaction-confirmation process | |
Scheid et al. | Policy-based blockchain selection | |
CN115689747A (en) | Encryption method and device for transaction information in market transaction process of power system | |
CN107122303A (en) | A kind of method of testing and device | |
Liu et al. | Auction based rewards distribution method in pool mining | |
Bin et al. | Construction financing problem of local government in China | |
Chen et al. | Pricing real-time stochastic storage operations |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190625 |
|
CF01 | Termination of patent right due to non-payment of annual fee |