Summary of the invention
For the substantive defect and deficiency proposed in above-mentioned background content, the present invention provides a kind of based on block chain technologyQuantization credit system, can solve in background technique pointed problem.
A kind of quantization credit system based on block chain technology, in block chain technology, the liveness and row of each nodeFor portrait rather than debtor-creditor relationship determines individual personal or unit specifically, in the quantization credit system based on block chain technologyJustice is node or address one by one, and assigns and establish credit value, credit value in the quantization credit system based on block chain technologyHigher, the probability for being chosen as trusted node is higher, and Gao Xinyu user obtains corresponding encourage by providing the resources such as calculation power and storageIt encourages;
One of granting standard of credit value is exactly the whether active transaction of this node;
Node be it is anonymous, only the economic transaction behavior of node is counted, to obtain the statistics of the transaction of nodeData analysis result, depicting is what kind of client has purchased what product, the i.e. liveness to each node and behaviorPortrait.
In the above-mentioned technical solutions, the process for establishing credit value of the quantization credit system based on block chain technology are as follows:
Everyone is abstracted into point one by one, and interpersonal relationship is abstracted as a side of figure, is retouched with mathematicsThe mode of figure is stated to describe interpersonal social networks, intimate degree and personal credit worthiness;
Credit value R is individual approved degree in a social networks.In block chain network, we are by prestige RIt is constructed by three dimensions: social liveness D, time liveness T and contribution liveness C.Formula is as follows:
Wherein ω _ n is weight, and in some time t, D (α, t) is the social liveness of node, and T (β, t) is each sectionThe time liveness of point, C (γ, t) are contribution liveness.In order to allow user to have continual liveness, and also toIt allows the participation system operation that late comer can be more fair, avoids forerunner's advantage (FMA) bring Matthew effect, we provide RDecay with the time.Reputation value R is μ with time attenuation rate, as shown in formula (2):
Social liveness D: by node friend in application social networks quantity, the frequency that is interacted with friend (i.e.Temperature), many factors such as the credit value of friend and turnover size determine.Formula is as follows:
Wherein EiFor the weighting function traded every time, EiIt is positively correlated with transaction amount, DrIt is trading object, log (Dr) it is to closeIn DrThe logarithmic function of credit value works as D for controllingrWhen too small, i.e. node credit worthiness transaction low with one or more,Oneself can not be significantly improvedValue, this has effectively evaded the possibility for attempting that prestige is promoted by increasing fictitious users malice.
A kind of quantization credit system based on block chain technology provided by the invention, has used for reference the improvement of traditional commerce prestigeAnd incentive system, difference exist, herein described and system is in the block chain world of decentralization, the liveness of each node andBehavior portrait rather than debtor-creditor relationship, solve which node can be trusted, and not done evil, can become trusted node participate in common recognition orBook keeping operation obtains corresponding the problem of calculating power income, and cost is relatively low, and convenient for promoting the use of, benefit comparison is as shown in the table:
Specific embodiment
With reference to the accompanying drawing, the specific embodiment of the present invention is described in detail, it is to be understood that of the inventionProtection scope be not limited by the specific implementation.
In a kind of quantization credit system based on block chain technology provided by the invention, the liveness of each node and behaviorPortrait rather than debtor-creditor relationship, the high node of credit value be trusted, system by choose highest preceding 5% node of credit valueAs accounting nodes, so that safeguards system is safe and reliable.This puts similar human society, has the people of credit value to be easier to be handed overThe trust of easy other side.There is no the people of prestige more people to be allowed to hide.Have credit worthiness node can easier selected trusted node pond, obtainThe power of book keeping operation.And if system security node takes part in book keeping operation, there is a reward of 0.01% tranaction costs.To believeReputation, which is worth high node, can obtain corresponding reward.To which whole system is a healthy Operation System.
Reputation model and mathematical abstractions
To social networks, Social Graph carries out modeling and mathematical abstractions.Everyone can be abstracted into one by onePoint (Vertices/Node), interpersonal relationship can be abstracted as a side (Edge) of figure.The present patent application is implementedExample is provided can describe interpersonal social networks, intimate degree and personal prestige with the mode of mathematical description figureDegree.
For example in applied economics society, each individually people or company's unit are an independent parts.This individual hasTitle, society's number, past economic activity and prestige quality score.
And in the world of block chain, will also there be a similar system, however, in the world of block chain, no longerIt is individual personal or unit, but node or address one by one.These nodes have it is active transaction or interaction, also have several yearsIt less trades or interacts, this just similar in mankind's real world, has people or the unit of active transaction, also have economic activity notActive.
In mankind's society, there is prestige point;In the block chain world, prestige point is also had, this prestige pointOne of discharge standard is exactly the whether active transaction of this node.
There is the user data processing mode more safer than one in real world in the block chain world.Mankind's real worldIn, it is easy to and have occurred that the event that a lot of customer datas are got compromised, but in the block chain world, node be it is anonymous, fromAnd can protect not being leaked for customer data, but the economic transaction behavior of node can count again, so as toObtain the analysis of statistical data result of the transaction of node.And it is any type that the result of this economic statistics data, which can depict,Client what product had purchased, here it is in the block chain world user behavior portrait.
1) social networks
As shown in Figure 1, it is assumed that a and b is two people, they can be expressed as two vertex Va and Vb in figure.If a andTrading activity has occurred in b, then can be set to a line of (a, b) i.e. from a to b, E (a, b), we are by the quantity and number of transactionIt is expressed as the weight of side E (a, b).
2) mutual trust node
For small micro- transaction, mutual trust node can open " trading channel " and execute high frequency off-line trading.Mutual trust node includesTwo types, kith and kin's type mutual trust node and high prestige mutual trust node.
If the social interaction between two nodes is frequent, it is frequent that transaction count will be reflected as in block chain bottom, then may be usedThink that the two points have the social networks of depth.As shown in Fig. 2, Jenny and Alice are friends, they are frequently by social activityTool is interacted, such as: encryption wechat chat, the reward that gives bonus/beat, is mutually commented from media blit piece.Herein described implementationJenny is then defined in example and Alice is has two nodes of depth social networks, referred to as " kith and kin's type mutual trust node ", is applicable inIn high frequency off-line trading.
Two node with high credit value itself even carries out small micro- transaction for the first time will also open " trading channel "Execute high frequency off-line trading.Such as shown in figure 3, be considered as " Gao Xinyu mutual trust node " with the Tom and Jack of high prestige, heAlthough be to trade for the first time, due to possessing well-deserved reputation performance in oneself each comfortable social networks, for small micro- friendshipFor easily, the cost of credibility loss is far longer than possible income after doing evil.
3) credit value quantifies
It is individual approved degree in a social networks that we, which define credit value R,.In block chain network, wePrestige R is constructed by three dimensions: social liveness D, time liveness T and contribution liveness C.Formula is as follows:
Wherein ω _ n is weight, and in some time t, D (α, t) is the social liveness of node, and T (β, t) is each sectionThe time liveness of point, C (γ, t) are contribution liveness.In order to allow user to have continual liveness, and also toIt allows the participation system operation that late comer can be more fair, avoids forerunner's advantage (FMA) bring Matthew effect, we provide RDecay with the time.Reputation value R is μ with time attenuation rate, as shown in formula (2):
Social liveness D: by node friend in application social networks quantity, the frequency that is interacted with friend (i.e.Temperature), many factors such as the credit value of friend and turnover size determine.Formula is as follows:
Wherein EiFor the weighting function traded every time, EiIt is positively correlated with transaction amount, DrIt is trading object, log (Dr) it is to closeIn DrThe logarithmic function of credit value works as D for controllingrWhen too small, i.e. node credit worthiness transaction low with one or more,Oneself can not be significantly improvedValue, this has effectively evaded the possibility for attempting that prestige is promoted by increasing fictitious users malice.
As shown in Figure 4: Tom only has a few friend, and is all low frequency time one-way communication.And Jack has many friendsFriend is also frequently to interact between friend, friend be high prestige user, and trusted node each other between the friend that has,High frequency off-line trading suitable for " trading channel ".Then the D value of Jack is significantly larger than the D value of Tom.Dotted arrow indicates low in figureFrequency one-way communication, solid arrow indicate high frequency time two-way exchange, and hollow four-headed arrow indicates transaction channel.
Time liveness T: the index is mainly determined by the coin age that user holds BCOO, it is believed that logical card is held for a long timePerson is more credible than non-holder, and motivation of doing evil is smaller.But different from Stake equity in PoS common recognition, wealth, which not measures node, isNo believable sole criterion.As shown in figure 5, the logarithmic formula of T (β, t) provides for vast middle class user obtains high prestigeChance.Formula is as follows:
Contribution liveness C: the index describes node users for the contribution degree C (γ, t) of system, indicates that in the time be tWhen, node has done system how many contributions, and N is system Account Nonce value, for recording user for systematic contributionsFrequency (share with file and participate in book keeping operation).System will check file status by timed task.
In Fig. 5, axis of ordinates is the i.e. contribution degree C of value, and axis of abscissas is to hold time i.e. time liveness T, the chartIt reaches and means, the time with cash in hand is more long, and the value of node is bigger.
Disclosed above is only several specific embodiments of the invention, and still, the embodiment of the present invention is not limited to this, is appointedWhat what those skilled in the art can think variation should all fall into protection scope of the present invention.