CN106452884A - A data distribution method and apparatus in a block chain system - Google Patents
A data distribution method and apparatus in a block chain system Download PDFInfo
- Publication number
- CN106452884A CN106452884A CN201610921727.2A CN201610921727A CN106452884A CN 106452884 A CN106452884 A CN 106452884A CN 201610921727 A CN201610921727 A CN 201610921727A CN 106452884 A CN106452884 A CN 106452884A
- Authority
- CN
- China
- Prior art keywords
- node
- value
- 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.)
- Granted
Links
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]
Abstract
The present invention provides a data distribution method and apparatus in a block chain system, wherein the method comprises the steps of determining data to be distributed and a chain of relationships in the block chain system, wherein the chain of relationships comprises a plurality of nodes; determining control parameters of each node for the data that has been held in the chain of relationships; and determining data values assigned to each node according to the data to be distributed and the control parameters of each node for the data that have been held. Since the scheme determines the data values assigned to each node in the manner described above, the new total asset value can be distributed efficiently and effectively, thus enabling real promoters to obtain effective incentives.
Description
Technical field
The present invention relates to data distribution technology field, particularly to the data distributing method in a kind of block catenary system and dress
Put.
Background technology
Internet finance high speed development, block chain (block chain, it is actually the scattered user endpoints of a group,
And the distributed data base being made up of All Activity person, it is the record to all bit coin transactions history) as encryption numeral goods
The basis of coin and core, paid much attention to.The quantity of node and dealer elapses over time becomes increasing, basis
Facility allows for processing such extension on the premise of being not resulted in performance degradation.Open from founder's bit coin of digital cash
Begin, in order to ensure the robustness of decentralization network, have enough nodes to participate in, be specifically designed out " digging ore deposit " behavior and right
The reward mechanism answered, so-called " digging ore deposit " substantially solves a complicated mathematical problem with computer, ensures bit coin net
The uniformity of the distributed accounting system of network, so-called " reward mechanism " is exactly the bit coin conduct of the newly-generated certain value of bit coin network
Money reward, rewards the people obtaining answer.Reward mechanism first has to accomplish transparent, next to that self-growth needs can be promoted.But, respectively
Planting the reward mechanism of digital cash, developing into a certain degree all make speculator grasp a large amount of weight, real promoter cannot
Obtain effectively excitation, thus cause the inevitable weak and difference of digital cash.The such as early stage of bit coin big ore deposit masters have held super
Cross the calculation power of 80% so that the follow-up advanced iteration of bit coin cannot realize that (the big ore deposit masters of weight veto to them disadvantageous
Improve).
Content of the invention
Embodiments provide the data distributing method in a kind of block catenary system, can effectively distribute newly-increased
Assets value, makes real promoter obtain effectively excitation.The method includes:
Determine the data to be distributed in block catenary system and relation chain;Described relation chain includes multiple node;
Determine that in relation chain, each node is to the control parameter holding data;
According to data to be distributed, each node to the control parameter holding data, determine the number distributing to each node
According to value.
In one embodiment, described data to be distributed is newly-increased total assets value;
The control parameter holding data is included by each node described:Each node holding effectively to holding assets value
Force value and promotion efficiency value.
In one embodiment, determine that holding assets value is held effect value by each node as follows:
Each node holding the value of holding assets that effect value is each node and holding duration to holding assets value
Product.
In one embodiment, the promotion efficiency value to holding assets value for each node is determined as follows:
When the child node that one of multiple nodes father node is not connected, the promotion efficiency value of this father node is 0;
When one of multiple nodes father node has connected child node, the promotion efficiency value of this father node is all phases
The accumulative assets processing costs sum of child node even;Described accumulative assets processing costs is for the son joint being connected with this father node
The accumulative assets value of point determines after processing;
Determine the accumulation assets value of node as follows:
When the child node that one of multiple nodes father node is not connected, the accumulation assets value of this father node is this father
The value of holding assets of node;
When one of multiple nodes father node has connected child node, the accumulation assets value of this father node is this father joint
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 of the child node being connected with this father node is processed, including:
Determine this father node all connected child node accumulative assets value in maximum;
To accumulative assets value maximum, the accumulative assets value of corresponding child node carries out exponent arithmetic;
The accumulative assets value of residue child node is compared with predetermined threshold value, when less than pre-set threshold value, to accordingly
The accumulative assets value of child node carries out product calculation;When more than pre-set threshold value, the accumulative assets value of corresponding child node is entered
Line linearity computing;
To accumulative assets value maximum, the accumulative assets value of corresponding child node carries out exponent arithmetic as follows:
As follows product calculation is carried out to the accumulative assets value of corresponding child node:T* the second default value;
As follows linear operation is carried out to the accumulative assets value of corresponding child node:T+ the 3rd default value;
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 holding data, according to as follows
Formula determines the data value distributing to each node:
Wherein, BNew iData value for i-th node in relation chain;
SiFor in relation chain i-th node hold effect value, Si=Bi*Ai, BiFor the holding of i-th node in relation chain
Have assets value, AiFor in relation chain i-th node hold duration;
PiPromotion efficiency value for i-th node in relation chain;
BAlwaysFor newly-increased total assets value;
N is the number of relation chain interior joint, and n is integer.
The embodiment of the present invention additionally provides the data distribution device in a kind of block catenary system, and this device includes:
Data to be distributed and relation chain determining module, be used for determining the data to be distributed in block catenary system and relation chain;
Described relation chain includes multiple node;
Control parameter determination module, for determining that in relation chain, each node is to the control parameter holding data;
Distribution module, is used for according to data to be distributed, each node to the control parameter holding data, and determination is distributed to
The data value of each node.
In one embodiment, described data to be distributed is newly-increased total assets value;
The control parameter holding data is included by each node described:Each node holding effectively to holding assets value
Force value and promotion efficiency value.
In one embodiment, described control parameter determination module specifically for:
Determine that holding assets value is held effect value by each node as follows:
Each node holding the value of holding assets that effect value is each node and holding duration to holding assets value
Product.
In one embodiment, described control parameter determination module specifically for:
Determine the promotion efficiency value to holding assets value for each node as follows:
When the child node that one of multiple nodes father node is not connected, the promotion efficiency value of this father node is 0;
When one of multiple nodes father node has connected child node, the promotion efficiency value of this father node is all phases
The accumulative assets processing costs sum of child node even;Described accumulative assets processing costs is for the son joint being connected with this father node
The accumulative assets value of point determines after processing;
Determine the accumulation assets value of node as follows:
When the child node that one of multiple nodes father node is not connected, the accumulation assets value of this father node is this father
The value of holding assets of node;
When one of multiple nodes father node has connected child node, the accumulation assets value of this father node is this father joint
The value of holding assets of point provides total production value with the accumulation of all child nodes being connected.
In one embodiment, described control parameter determination module specifically for:
The accumulative assets value of the child node being connected with this father node is processed, including:
Determine this father node all connected child node accumulative assets value in maximum;
To accumulative assets value maximum, the accumulative assets value of corresponding child node carries out exponent arithmetic;
The accumulative assets value of residue child node is compared with predetermined threshold value, when less than pre-set threshold value, to accordingly
The accumulative assets value of child node carries out product calculation;When more than pre-set threshold value, the accumulative assets value of corresponding child node is entered
Line linearity computing;
To accumulative assets value maximum, the accumulative assets value of corresponding child node carries out exponent arithmetic as follows:
As follows product calculation is carried out to the accumulative assets value of corresponding child node:T* the second default value;
As follows linear operation is carried out to the accumulative assets value of corresponding child node:T+ the 3rd default value;
Wherein, T is the accumulative assets value of corresponding child node.
In one embodiment, described distribution module specifically for:
Determine the data value distributing to each node according to equation below:
Wherein, BNew iData value for i-th node in relation chain;
SiFor in relation chain i-th node hold effect value, Si=Bi*Ai, BiFor the holding of i-th node in relation chain
Have assets value, AiFor in relation chain i-th node hold duration;
PiPromotion efficiency value for i-th node in relation chain;
BAlwaysFor newly-increased total assets value;
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 in block catenary system (newly-increased total assets value) and
Relation chain;Described relation chain includes multiple node;It is then determined that the control holding data is joined by each node in relation chain
Number;Finally according to data to be distributed, each node to the control parameter holding data, determine the data distributing to each node
Value, determines the data value distributing to each node so in the manner described above, can carry out newly-increased total assets value rationally effectively
Ground distribution, makes real promoter obtain effectively excitation.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the accompanying drawing of required use is briefly described, it should be apparent that, the accompanying drawing in describing below is only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, all right
Obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the data distributing method flow chart in a kind of block catenary system that the embodiment of the present invention provides;
Fig. 2 is that a kind of promotion efficiency that the embodiment of the present invention provides is worth computational methods instance graph;
Fig. 3 is the data distribution device schematic diagram in a kind of block catenary system that the embodiment of the present invention provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments wholely.Based on this
Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of not making creative work
Execute example, broadly fall into the scope of protection of the invention.
In embodiments of the present invention, the data distributing method in a kind of block catenary system is provided, as it is shown in figure 1, the party
Method includes:
Step 101:Determine the data to be distributed in block catenary system and relation chain;Described relation chain includes multiple joint
Point;
Step 102:Determine that in relation chain, each node is to the control parameter holding data;
Step 103:According to data to be distributed, each node to the control parameter holding data, determine and distribute to each
The data value of node.
When being embodied as, this method has used for reference PoW (Proof Of Work, proof of work mechanism) and PoS (Proof
Of Stake, rights and interests prove mechanism) machine-processed advantage of knowing together, the inventive method realizes two purposes:As block chain bottom
Common recognition mechanism, it is ensured that high efficiency and security;As incentive system ensure promote node honest gain, promote dot-com boom and
The robustness of chain.Due to the built-in digital asset of block catenary system, periodically can increase according to about fixed cycle, growth presents
Progressively attenuation trend, to prevent inflation.The to be done assets distributing growth exactly of the inventive method are big to popularizing action
Node on.In order to reach arousal effect, the inventive method 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
Participate in the distribution as weight.Promotion efficiency (Promotion) is defined as the relation chain being formed after this nodes recommendations, and should
Liveness in relation chain.Holding assets value can be described as intrinsic assets value/amount.
Concrete, that " data to be distributed " described in step 101 refers to " newly-increased total assets value ", newly-increased total assets value
Being produced by block catenary system, newly-increased total assets value is not the numerical value determining.
When being embodied as, relation chain can be that the dominant way of recommendation is formed, it is also possible to is by back-end server data
Excavate the stealthy relation set up.Such as, when A account first gives B account transfer, it just becomes the father node of B account, B account
Family is exactly the child node of A account, and B account is to C account transfer, and B account is the father node of C account, and C account is exactly the son of B account
Node, by that analogy, A, B, C have just become relation chain.
When being embodied as, after determining relation chain upon step 101, it is possible to each node in relation chain is entered
Row traversal, find all adjacent nodes of this node, determine each node to the control parameter holding data, wherein each node
The control parameter holding data can be included:Each node holds effect value and promotion efficiency to holding assets value
Value.
Concrete, determine that holding assets value is held effect value by each node as follows:
Each node holding the value of holding assets that effect value is each node and holding duration to holding assets value
Product.
Concrete, determine the promotion efficiency value to holding assets value for each node as follows:
When the child node that one of multiple nodes father node is not connected, the promotion efficiency value of this father node is 0;
When one of multiple nodes father node has connected child node, the promotion efficiency value of this father node is all phases
The accumulative assets processing costs sum of child node even;Described accumulative assets processing costs is for the son joint being connected with this father node
The accumulative assets value of point determines after processing;
Determine the accumulation assets value of node as follows:
When the child node that one of multiple nodes father node is not connected, the accumulation assets value of this father node is this father
The value of holding assets of node;
When one of multiple nodes father node has connected child node, the accumulation assets value of this father node is this father joint
The value of holding assets of point provides total production value with the accumulation of all child nodes being connected.
Concrete, the accumulative assets value of the child node being connected with this father node is processed, including:
Determine this father node all connected child node accumulative assets value in maximum;
To accumulative assets value maximum, the accumulative assets value of corresponding child node carries out exponent arithmetic;
The accumulative assets value of residue child node is compared with predetermined threshold value, when less than pre-set threshold value, to accordingly
The accumulative assets value of child node carries out product calculation;When more than pre-set threshold value, the accumulative assets value of corresponding child node is entered
Line linearity computing;
To accumulative assets value maximum, the accumulative assets value of corresponding child node carries out exponent arithmetic as follows:
As follows product calculation is carried out to the accumulative assets value of corresponding child node:T* the second default value;
As follows linear operation is carried out to the accumulative assets value of corresponding child node:T+ the 3rd default value;
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 the 3rd default value can be 9000.
Concrete, the first default value, the second default value, the determination principle of the 3rd default value are mainly in few new of holding assets
It is balanced between user and the old user holding more assets, the relatively figure of merit being obtained by numerical simulation.
Hold the calculating process of effect and promotion efficiency below by illustration.
Such as, as in figure 2 it is shown, relation chain includes child node A, B, C that a root node is connected with root node, with son
Sun Jiedian C1, C2 that node C connects.Wherein, relation chain will not overlap, and the root node in each relation chain is one.
1) holding assets size * that effect value is node of holding of node holds the time.
2) the promotion efficiency value of node is calculated as follows:
Owing to Sun Jiedian C1, C2 and child node A, B all do not have child node, so accumulation assets value T (c1) of Sun Jiedian C1
For value B of the holding assets (c1) of itself, accumulation assets value T (c2) of Sun Jiedian C2 is value B of holding assets (c2) own,
Holding assets value B (a) that accumulation assets value T (a) of child node A is itself, accumulation assets value T (b) of child node B is own
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, C2 that child node C connects, then accumulation assets value T (c) of child node C is the accumulation money of Sun Jiedian C1
Adding and i.e. T of holding assets value B (c) of output value T (c1), accumulation assets value T (c2) of Sun Jiedian C2 and child node C itself
(c)=T (c1)+T (c2)+B (c).It is then determined that accumulation assets value T of accumulation assets value T (c1) of Sun Jiedian C1, Sun Jiedian C2
(c2) size, it is determined here that accumulation assets value T (c2) that accumulation assets value T (c1) of Sun Jiedian C1 is more than Sun Jiedian C2, then
Accumulation assets value T (c1) to Sun Jiedian C1 carries out exponent arithmetic (such as, T (c1)1/3), by accumulation assets value T of Sun Jiedian C2
(c2) compare with predetermined threshold value (artificially specifying 10000), it is determined here that accumulation assets value T (c2) of Sun Jiedian C2 is less than in advance
If threshold value, then carry out multiplying (such as, T (c2) * 10) to accumulation assets value T (c2) of Sun Jiedian C2, after having 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 (the c)+B of root node
(root), B (root) is the value of holding assets of root node itself.It is then determined that the size of T (a), T (b) and T (c), herein really
Determine grandson T (b) maximum, then exponent arithmetic is carried out to T (b), T (a) and T (c) is compared with predetermined threshold value, it is determined here that T (a)
Less than predetermined threshold value, T (c) is more than predetermined threshold value, then carries out multiplying to T (a), carry out linear operation (such as, T to T (c)
(c)+9000), after having calculated, determine promotion efficiency value V (root)=T (b) exponent arithmetic+T (a) multiplying of root node
+ T (c) linear operation.
Concrete, exponent arithmetic is carried out to the accumulation assets value of node, the node that stack value is big can be suppressed, be conducive to
The little node of stack value;Carrying out multiplying to the accumulation assets value of node, can spacing out, beneficially stack value is big
Node.Which type of computing is carried out according to different business needs decision to the accumulation assets value of node.
When being embodied as, according to above method calculate node hold effect value and promotion efficiency value after, according to such as
Lower formula determines the data value distributing to each node:
Wherein, BNew iData value for i-th node in relation chain;
SiFor in relation chain i-th node hold effect value, Si=Bi*Ai, BiFor the holding of i-th node in relation chain
Have assets value, AiFor in relation chain i-th node hold duration;
PiPromotion efficiency value for i-th node in relation chain;
BAlwaysFor newly-increased total assets value;
N is the number of relation chain interior joint, and n is integer.
Based on same inventive concept, the embodiment of the present invention additionally provides the data distribution dress in a kind of block catenary system
Put, as described in the following examples.Owing to the data distribution device in block catenary system solves principle and the block linkwork of problem
Data distributing method in system is similar, and the therefore enforcement of the data distribution device in block catenary system may refer to block catenary system
In the enforcement of data distributing method, repeat no more in place of repetition.Used below, term " unit " or " module " are permissible
Realize the software of predetermined function and/or the combination of hardware.Although the device described by following example preferably comes real with software
Existing, but hardware, or the realization of the combination of software and hardware is also may and to be contemplated.
Fig. 3 is a kind of structured flowchart of the data distribution device in the block catenary system of the embodiment of the present invention, such as Fig. 3 institute
Show, including:
Data to be distributed and relation chain determining module 301, be used for determining the data to be distributed in block catenary system and relation
Chain;Described relation chain includes multiple node;
Control parameter determination module 302, for determining that in relation chain, each node is to the control parameter holding data;
Distribution module 303, for dividing to the control parameter holding data, determination according to data to be distributed, each node
The data value of each node of dispensing.
Below this structure is illustrated.
When being embodied as, described data to be distributed is newly-increased total assets value;Each described node is to holding data
Control parameter include:Holding assets value is held effect value and promotion efficiency value by each node.
When being embodied as, control parameter determination module 302 specifically for:
Determine that holding assets value is held effect value by each node as follows:
Each node holding the value of holding assets that effect value is each node and holding duration to holding assets value
Product.
When being embodied as, control parameter determination module 302 specifically for:
Determine the promotion efficiency value to holding assets value for each node as follows:
When the child node that one of multiple nodes father node is not connected, the promotion efficiency value of this father node is 0;
When one of multiple nodes father node has connected child node, the promotion efficiency value of this father node is all phases
The accumulative assets processing costs sum of child node even;Described accumulative assets processing costs is for the son joint being connected with this father node
The accumulative assets value of point determines after processing;
Determine the accumulation assets value of node as follows:
When the child node that one of multiple nodes father node is not connected, the accumulation assets value of this father node is this father
The value of holding assets of node;
When one of multiple nodes father node has connected child node, the accumulation assets value of this father node is this father joint
The value of holding assets of point provides total production value with the accumulation of all child nodes being connected.
When being embodied as, control parameter determination module 302 specifically for:
The accumulative assets value of the child node being connected with this father node is processed, including:
Determine this father node all connected child node accumulative assets value in maximum;
To accumulative assets value maximum, the accumulative assets value of corresponding child node carries out exponent arithmetic;
The accumulative assets value of residue child node is compared with predetermined threshold value, when less than pre-set threshold value, to accordingly
The accumulative assets value of child node carries out product calculation;When more than pre-set threshold value, the accumulative assets value of corresponding child node is entered
Line linearity computing;
To accumulative assets value maximum, the accumulative assets value of corresponding child node carries out exponent arithmetic as follows:
As follows product calculation is carried out to the accumulative assets value of corresponding child node:T* the second default value;
As follows linear operation is carried out to the accumulative assets value of corresponding child node:T+ the 3rd default value;
Wherein, T is the accumulative assets value of corresponding child node.
When being embodied as, distribution module 303 specifically for:
Determine the data value distributing to each node according to equation below:
Wherein, BNew iData value for i-th node in relation chain;
SiFor in relation chain i-th node hold effect value, Si=Bi*Ai, BiFor the holding of i-th node in relation chain
Have assets value, AiFor in relation chain i-th node hold duration;
PiPromotion efficiency value for i-th node in relation chain;
BAlwaysFor newly-increased total assets value;
N is the number of relation chain interior joint, and n is integer.
In sum, the inventive method be according to node hold effect and promotion efficiency two aspect together decides on, simultaneously
Ensure that participation (holding efficiency) and the contribution margin of popularization degree (promotion efficiency).Newly-increased total assets value can be entered by the method
Row distributes rationally and effectively, makes real promoter obtain effectively excitation.User's participation can be increased by the method and glue
Property, strengthen user node relation simultaneously, form huge network, complete value transmitting of digital asset, it is ensured that be worth flowing, promote
Enter number of network node and be maintained on level of security (inefficacy of part of nodes, will not cause system unavailable), ensure internet
The stalwartness of finance decentralization network and stable.The method ensure that conforming efficiency of reaching common understanding simultaneously, improves block
The transaction of catenary system is handled up value (i.e. TPS), is that to financial field, development provides Floor layer Technology framework to block chain.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or the reality in terms of combining software and hardware
Execute the form of example.And, the present invention can use at one or more computers wherein including computer usable program code
The upper computer program product implemented of usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow process with reference to method according to embodiments of the present invention, equipment (system) and computer program
Figure and/or block diagram describe.It should be understood that can often first-class by computer program instructions flowchart and/or block diagram
Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
Instruct the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce
A raw machine so that the instruction being performed by the processor of computer or other programmable data processing device is produced in fact
The device of the function specified in present one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or other programmable data processing device can be guided with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in this computer-readable memory produces and includes referring to
Make the manufacture of device, this command device realize at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or
The function specified in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that at meter
Perform sequence of operations step on calculation machine or other programmable devices producing computer implemented process, thus at computer or
The instruction performing on other programmable devices provides for realizing at one flow process of flow chart or multiple flow process and/or block diagram one
The step of the function specified in individual square frame or multiple square frame.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the skill of this area
For art personnel, the embodiment of the present invention can have various modifications and variations.All within the spirit and principles in the present invention, made
Any modification, equivalent substitution and improvement etc., should be included within the scope of the present invention.
Claims (12)
1. the data distributing method in a block catenary system, it is characterised in that include:
Determine the data to be distributed in block catenary system and relation chain;Described relation chain includes multiple node;
Determine that in relation chain, each node is to the control parameter holding data;
According to data to be distributed, each node to the control parameter holding data, determine the data value distributing to each node.
2. the data distributing method in block catenary system as claimed in claim 1, it is characterised in that described data to be distributed is
Newly-increased total assets value;
The control parameter holding data is included by each node described:Each node holds effect value to holding assets value
With promotion efficiency value.
3. the data distributing method in block catenary system as claimed in claim 2, it is characterised in that determine as follows
Each node holds effect value to holding assets value:
Each node holding the value of holding assets that effect value is each node and holding taking advantage of of duration to holding assets value
Long-pending.
4. the data distributing method in block catenary system as claimed in claim 3, it is characterised in that determine every as follows
The promotion efficiency value to holding assets value for the individual node:
When the child node that one of multiple nodes father node is not connected, the promotion efficiency value of this father node is 0;
When one of multiple nodes father node has connected child node, the promotion efficiency value of this father node is all connected
The accumulative assets processing costs sum of child node;Described accumulative assets processing costs is for the child node being connected with this father node
Accumulative assets value determines after processing;
Determine the accumulation assets value of node as follows:
When the child node that one of multiple nodes father node is not connected, the accumulation assets value of this father node is this father node
The value of holding assets;
When one of multiple nodes father node has connected child node, the accumulation assets value of this father node is this father node
Holding assets value provides total production value with the accumulation of all child nodes being connected.
5. the data distributing method in block catenary system as claimed in claim 4, it is characterised in that be connected to this father node
The accumulative assets value of child node process, including:
Determine this father node all connected child node accumulative assets value in maximum;
To accumulative assets value maximum, the accumulative assets value of corresponding child node carries out exponent arithmetic;
The accumulative assets value of residue child node is compared with predetermined threshold value, when less than pre-set threshold value, to corresponding son joint
The accumulative assets value of point carries out product calculation;When more than pre-set threshold value, line is entered to the accumulative assets value of corresponding child node
Property computing;
To accumulative assets value maximum, the accumulative assets value of corresponding child node carries out exponent arithmetic as follows:
As follows product calculation is carried out to the accumulative assets value of corresponding child node:T* the second default value;
As follows linear operation is carried out to the accumulative assets value of corresponding child node:T+ the 3rd default value;
Wherein, T is the accumulative assets value of corresponding child node.
6. the data distributing method in block catenary system as claimed in claim 5, it is characterised in that according to data to be distributed,
Each node, to the control parameter holding data, determines the data value distributing to each node according to equation below:
Wherein, BNew iData value for i-th node in relation chain;
SiFor in relation chain i-th node hold effect value, Si=Bi*Ai, BiFor in relation chain i-th node hold money
The output value, AiFor in relation chain i-th node hold duration;
PiPromotion efficiency value for i-th node in relation chain;
BAlwaysFor newly-increased total assets value;
N is the number of relation chain interior joint, and n is integer.
7. the data distribution device in a block catenary system, it is characterised in that include:
Data to be distributed and relation chain determining module, be used for determining the data to be distributed in block catenary system and relation chain;Described
Relation chain includes multiple node;
Control parameter determination module, for determining that in relation chain, each node is to the control parameter holding data;
Distribution module, for distributing to each according to data to be distributed, each node to the control parameter holding data, determination
The data value of node.
8. the data distribution device in block catenary system as claimed in claim 7, it is characterised in that described data to be distributed is
Newly-increased total assets value;
The control parameter holding data is included by each node described:Each node holds effect value to holding assets value
With promotion efficiency value.
9. the data distribution device in block catenary system as claimed in claim 8, it is characterised in that described control parameter determination
Module specifically for:
Determine that holding assets value is held effect value by each node as follows:
Each node holding the value of holding assets that effect value is each node and holding taking advantage of of duration to holding assets value
Long-pending.
10. the data distribution device in block catenary system as claimed in claim 9, it is characterised in that described control parameter is true
Cover half block specifically for:
Determine the promotion efficiency value to holding assets value for each node as follows:
When the child node that one of multiple nodes father node is not connected, the promotion efficiency value of this father node is 0;
When one of multiple nodes father node has connected child node, the promotion efficiency value of this father node is all connected
The accumulative assets processing costs sum of child node;Described accumulative assets processing costs is for the child node being connected with this father node
Accumulative assets value determines after processing;
Determine the accumulation assets value of node as follows:
When the child node that one of multiple nodes father node is not connected, the accumulation assets value of this father node is this father node
The value of holding assets;
When one of multiple nodes father node has connected child node, the accumulation assets value of this father node is this father node
Holding assets value provides total production value with the accumulation of all child nodes being connected.
Data distribution device in 11. block catenary systems as claimed in claim 10, it is characterised in that described control parameter is true
Cover half block specifically for:
The accumulative assets value of the child node being connected with this father node is processed, including:
Determine this father node all connected child node accumulative assets value in maximum;
To accumulative assets value maximum, the accumulative assets value of corresponding child node carries out exponent arithmetic;
The accumulative assets value of residue child node is compared with predetermined threshold value, when less than pre-set threshold value, to corresponding son joint
The accumulative assets value of point carries out product calculation;When more than pre-set threshold value, line is entered to the accumulative assets value of corresponding child node
Property computing;
To accumulative assets value maximum, the accumulative assets value of corresponding child node carries out exponent arithmetic as follows:
As follows product calculation is carried out to the accumulative assets value of corresponding child node:T* the second default value;
As follows linear operation is carried out to the accumulative assets value of corresponding child node:T+ the 3rd default value;
Wherein, T is the accumulative assets value of corresponding child node.
Data distribution device in 12. block catenary systems as claimed in claim 11, it is characterised in that described distribution module has
Body is used for:
Determine the data value distributing to each node according to equation below:
Wherein, BNew iData value for i-th node in relation chain;
SiFor in relation chain i-th node hold effect value, Si=Bi*Ai, BiFor in relation chain i-th node hold money
The output value, AiFor in relation chain i-th node hold duration;
PiPromotion efficiency value for i-th node in relation chain;
BAlwaysFor newly-increased total assets value;
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 true CN106452884A (en) | 2017-02-22 |
CN106452884B CN106452884B (en) | 2019-06-25 |
Family
ID=58176337
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610921727.2A Active 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) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106897906A (en) * | 2017-02-28 | 2017-06-27 | 北京众享比特科技有限公司 | Exciting-simulator system content distribution method and system |
CN108171606A (en) * | 2018-01-11 | 2018-06-15 | 北京欧链科技有限公司 | The distribution method and device of block chain assets |
CN108171493A (en) * | 2017-11-14 | 2018-06-15 | 北京欧链科技有限公司 | The data processing method and device of block chain |
CN108460596A (en) * | 2018-02-27 | 2018-08-28 | 周伟 | A kind of quantized value assignment 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 |
CN108616427A (en) * | 2018-05-11 | 2018-10-02 | 北京奇虎科技有限公司 | One kind tests the speed capacity judging method, apparatus and system |
CN108712468A (en) * | 2018-04-19 | 2018-10-26 | 上海分布信息科技有限公司 | A kind of block chain income distribution method and distribution system |
CN108712487A (en) * | 2018-05-11 | 2018-10-26 | 北京奇虎科技有限公司 | Logical card distribution method, device and equipment based on block chain |
CN109165092A (en) * | 2018-07-10 | 2019-01-08 | 矩阵元技术(深圳)有限公司 | A kind of common recognition method, apparatus and system based on effective calculation power contribution |
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 |
CN110705973A (en) * | 2018-07-10 | 2020-01-17 | 深圳市红砖坊技术有限公司 | Consensus method applied to miner nodes in block chain system and block chain system |
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 active Active
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 |
---|
凯文•比勒 等: "区块链技术在资本市场的应用", 《投融资与贸易》 * |
袁勇 等: "区块链技术发展现状与展望", 《自动化学报》 * |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106897906A (en) * | 2017-02-28 | 2017-06-27 | 北京众享比特科技有限公司 | Exciting-simulator system 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 |
CN108460596A (en) * | 2018-02-27 | 2018-08-28 | 周伟 | A kind of quantized value assignment 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 |
CN108712468A (en) * | 2018-04-19 | 2018-10-26 | 上海分布信息科技有限公司 | A kind of block chain income distribution method and distribution system |
CN108712487A (en) * | 2018-05-11 | 2018-10-26 | 北京奇虎科技有限公司 | Logical card distribution method, device and equipment based on block chain |
CN108616427A (en) * | 2018-05-11 | 2018-10-02 | 北京奇虎科技有限公司 | One kind tests the speed capacity judging method, apparatus and system |
CN108712487B (en) * | 2018-05-11 | 2021-07-02 | 北京奇虎科技有限公司 | Block chain-based evidence distribution method, device and equipment |
CN108616427B (en) * | 2018-05-11 | 2021-07-30 | 北京奇虎科技有限公司 | Speed measurement capability determination method, device and system |
CN109165092A (en) * | 2018-07-10 | 2019-01-08 | 矩阵元技术(深圳)有限公司 | A kind of common recognition method, apparatus and system based on effective calculation power contribution |
CN110705973A (en) * | 2018-07-10 | 2020-01-17 | 深圳市红砖坊技术有限公司 | Consensus method applied to miner nodes in block chain system and block chain system |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN106452884B (en) | 2019-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106452884A (en) | A data distribution method and apparatus in a block chain system | |
Xu et al. | Sok: Decentralized exchanges (dex) with automated market maker (amm) protocols | |
Malawski et al. | Scheduling multilevel deadline-constrained scientific workflows on clouds based on cost optimization | |
El-Abbasy et al. | Generic scheduling optimization model for multiple construction projects | |
CN107730262A (en) | One kind fraud recognition methods and device | |
Zhou et al. | Internet financial fraud detection based on a distributed big data approach with node2vec | |
Poordavoodia et al. | Toward a more accurate web service selection using modified interval DEA models with undesirable outputs | |
CN112465627B (en) | Financial loan auditing method and system based on block chain and machine learning | |
CN106156092B (en) | Data processing method and device | |
CN108171601A (en) | Block chain tracing methods, devices and systems | |
Awwad et al. | Developing a virtual laboratory for construction bidding environment using agent-based modeling | |
CN107995003A (en) | The charging and settlement method of international roaming communication, relevant apparatus and distributed system | |
Foti et al. | Viability analysis of a decentralized energy market based on blockchain | |
CN110428139A (en) | The information forecasting method and device propagated based on label | |
CN110135702A (en) | Appraisal procedure, device, system and recording medium are actively spent in a kind of refund of real-time update | |
CN106407305A (en) | Data mining system and method | |
US20110112889A1 (en) | Proactive demand shaping for a configurable product portfolio with uncertain demand | |
WO2020011010A1 (en) | Computing power transaction method and computing channel | |
Hu et al. | Social welfare–based concession model for build/operate/transfer contracts | |
Scheid et al. | Policy-based blockchain selection | |
Kasahara | Performance modeling of Bitcoin blockchain: Mining mechanism and transaction-confirmation process | |
Kronqvist et al. | Alternating mixed-integer programming and neural network training for approximating stochastic two-stage problems | |
Ghodrati et al. | ATM cash management using genetic algorithm | |
CN109102319A (en) | Plate index preparation method, device and the server of block chain cryptographic assets | |
US11704617B2 (en) | Systems and methods for modeling and analysis of infrastructure services provided by cloud services provider systems |
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 |