Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with this specification one or more embodiment.Phase
Instead, they are only some aspects phases with the one or more embodiments of as detailed in the attached claim, this specification
The example of consistent device and method.
It should be understood that the sequence that might not show and describe according to this specification in other embodiments executes
The step of correlation method.In some other embodiments, step included by method can than described in this specification more
It is more or less.In addition, single step described in this specification, may be broken down into other embodiments multiple steps into
Row description;And multiple steps described in this specification, it may also be merged into single step progress in other embodiments
Description.
Fig. 1 is a kind of flow chart for asset allocation method that an exemplary embodiment provides.As shown in Figure 1, this method is answered
For block chain node, may comprise steps of:
Step 102, user's use information that electronic equipment is sent is obtained, user's use information is for characterizing user couple
The service condition of the electronic equipment.
In one embodiment, above-mentioned " electronic equipment " may include any type of electronic equipment that user uses, than
Such as mobile phone, PC, laptop, smartwatch, Intelligent weight scale, smart motion instrument, this specification is not to this progress
Limitation.The electronic equipment can acquire user's use information, and the electronic equipment has network connection and network transmission function, makes
Block chain node can be uploaded to for collected user's use information by obtaining the electronic equipment.
In one embodiment, user's use information may include: to the access times of the electronic equipment and/or using frequency
Rate.For example, the electronic equipment can be that mobile phone, user's use information can be when user wishes to reduce the duration for playing mobile phone
User and presets excited rules accordingly and may include to the access times of mobile phone in the set time period (such as working time section)
" access times are less than preset times ", so that the access times for working as user are less than the preset times, meet the default excitation rule
When then, by distributing the first assets voucher to user, to motivate user and it promoted to change subsequent use habit.For another example
When user wishes to monitor changes of weight, it can be that user is daily that electronic equipment, which can be Intelligent weight scale, user's use information,
To the frequency of use of Intelligent weight scale, and presetting excited rules accordingly may include " frequency of use is greater than predeterminated frequency ", make
When the frequency of use of proper user is greater than predeterminated frequency, meets the default excited rules, by distributing the first assets to user
Voucher, to motivate user and it is promoted persistently to use the Intelligent weight scale.
In one embodiment, user's use information may include the measurement that electronic equipment measures the user
Data, such as user's body fat rate, Intelligent heart rate that the obtained user's weight of Intelligent weight scale measurement, intelligent body fat instrument measurement obtain
Measure the user's heart rate etc. measured.Certainly, user's use information can also include other types, this specification not to this into
Row limitation.
In one embodiment, user's use information directly can be sent to block chain node or the electricity by electronic equipment
User's use information can be provided to the trunkings such as mobile phone, further be sent to block chain link by trunking by sub- equipment
Point, this specification are limited not to this.
Step 104, intelligent contract is called, it is pre- that the intelligence contract be used to confirm whether user's use information meets
If excited rules, the first assets voucher to be distributed to the user in the case where being judged to meeting.
In one embodiment, it can be previously written in intelligent contract and compare user's use information and default excited rules
Compared with processing logic, and the processing logic that assets voucher is allocated based on comparative result, so that intelligent contract can be with base
In acquisition user's use information and default excited rules and automatically determine whether need to corresponding user distribute the first assets
Voucher;Wherein, since the processing logic on intelligent contract is disclosure, and entire treatment process is automatically complete by intelligent contract
It is influenced at, the operating status there is no manual intervention, not by the electronic equipment of user side, so that either using user
Distribution of the information compared between default excited rules or to assets voucher, can ensure objective, just, and be not easy
By external interference, can continually and steadily run.
In one embodiment, the assets voucher in this specification can be intellectual capital voucher.Intellectual capital voucher is used for
Certain equity is characterized, user is motivated with realizing, facilitates the user in the follow-up process, ongoing effort makes user
Use information is matched with default excited rules, to realize benign cycle.Intellectual capital voucher can be distributed to user in block
On chain in corresponding intellectual capital account, and user can by block chain node distribute a certain number of intellectual capitals with
Card relatively more can be issued rapidly to block chain and be traded.User can also be by the way that intellectual capital voucher to be transferred to
The block chain node for playing the part of anchor point (anchor) role on block chain is converted to the intellectual capital voucher outside chain of equal value
Equity voucher, for example member's integral, the discount coupon on transaction platform etc. in member system, this specification not to this into
Row limitation.
In one embodiment, the assets voucher in this specification can be the outer assets voucher of chain.The outer assets voucher of chain is used for
Certain equity is characterized, user is motivated with realizing, facilitates the user in the follow-up process, ongoing effort makes user
Use information is matched with default excited rules, to realize benign cycle.The outer assets voucher of chain may include any for characterizing
The voucher of the outer equity of the chain of type, for example member's integral in member system, the discount coupon on transaction platform, convertible note,
Minimum price certificate etc., this specification is limited not to this.Intelligent contract can by outside chain object send distribution instruction so that
The outer object of chain asset account to outside the chain of the user distributes assets voucher outside corresponding chain;Correspondingly, by block chain
Play the part of the block chain node of anchor point role, assets voucher outside chain can be transferred to assets account outside the chain of the block chain node by user
In family, so that assets voucher outside chain to be converted to intellectual capital voucher of equal value.
In one embodiment, it can determine that the second assets voucher that the user holds is frozen, as assuring
User's use information can meet the guarantee voucher of the default excited rules;Wherein, the intelligent contract is also used for
Released in the case where user's use information does not meet the default excited rules user to second assets with
Card holds relationship.By freezing the second assets voucher of user to assure voucher, so that user can in the presence of what is lost
Can property, be equivalent to the penalty mechanism established for user, user can be motivated more hardy to enable user's use information
Enough meet default excited rules.
In one embodiment, the equity size that the first assets voucher is characterized can be characterized with the second assets voucher
Equity size be positively correlated.When the second assets voucher characterization equity it is bigger when, show user can obtainable gain it is bigger,
Issuable loss is equally bigger, it is thus possible to generate bigger incentive action to the user, help to make great efforts it more
Ground enables user's use information to meet default excited rules.
In one embodiment, the intelligent contract also be used to not meet the default excitation in user's use information
In the case where rule, the third assets voucher that the user holds can be deducted, the punishment machine established for user is equivalent to
System, can motivate user more user's use information hardy to be enabled to meet default excited rules.
Fig. 2 is a kind of schematic diagram for realizing asset allocation that an exemplary embodiment provides.As shown in Figure 2, it is assumed that user A
Possess an Intelligent weight scale 21, which wishes the weight data monitoring that ensured sustained development is carried out by the Intelligent weight scale 21, with true
Determine exercise effect.Thus, in the use process of Intelligent weight scale 21, being related to two aspect problems: first, how to make user
A is persistently weighed using the Intelligent weight scale 21;Second, how to assist user A persistently to perform physical exercise.
To achieve the goals above, Intelligent weight scale 21 can be acquired the use information of user A, the use information
By the collected weight number of Intelligent weight scale 21 when may include: frequency of use, each use of the user A to Intelligent weight scale 21
According to.And after user A uses Intelligent weight scale 21 every time, Intelligent weight scale 21 can acquire above-mentioned use information, and will
It is sent to equipment 22, to be handled by equipment 22.
Equipment 22 is configured as a block chain node in block chain, which can receive the hair of Intelligent weight scale 21
The use information sent;Wherein, which directly can be sent to equipment 22 by Intelligent weight scale 21, or be set by other
The use information is forwarded to equipment 22 by standby (such as mobile phone), and this specification is limited not to this.
The use information that equipment 22 can send Intelligent weight scale 21 in block chain is known together, so that this uses letter
Breath is released to block chain after through common recognition, with record to each block that block chain node is safeguarded respectively, content is unified
In chain account book, i.e., " cochain ".This specification does not limit the type of the common recognition algorithm used;For example, working as area locating for equipment 22
When block chain is alliance's chain or publicly-owned chain, which can be based on such as PBFT (Practical Byzantine Fault
Tolerance, practical Byzantine failure tolerance) algorithm initiates to know together to other block chain nodes, and by the use after through common recognition
Information is distributed to block chain, is recorded it into the distributed data base of block chain;For another example working as block locating for equipment 22
When chain is publicly-owned chain, which can be calculated with other block chain nodes based on POW (Proof of Work, proof of work)
Method, POS (Proof of Stake, equity prove) algorithm or other algorithms competition book keeping operation power, and the block by obtaining book keeping operation power
Chain node charges to transaction data into respective block, and when the transaction of the use information inputted comprising user A is credited to, this makes
It can be recorded with information into the distributed data base of block chain.
In order to determine whether user A meets default excited rules to the use information of Intelligent weight scale 21, especially can
In the case where avoiding human intervention, judgement can automatically, be constantly realized, can create intelligence on block chain in advance and close
About, definition has the function logic for determining the match condition between use information and default excited rules in the intelligence contract,
Above-mentioned judgement operation can be realized automatically in the function logic.The intelligence contract is adjusted by submitting one into block chain
Transaction is called each block chain node to the intelligence contract when executing the transaction, to transport automatically
The above-mentioned function logic of row, to be compared for above-mentioned use information with default excited rules, and realizes corresponding assets
Batch operation.
In order to make it easy to understand, being patrolled below with reference to the function that Fig. 3 implements the intelligent contract referred in embodiment illustrated in fig. 2
It collects and is described in detail.Wherein, Fig. 3 is a kind of process of the function logic for intelligent contract implementation that an exemplary embodiment provides
Figure.As shown in figure 3, the function logic may comprise steps of:
Step 302, the use information of user A is obtained.
In one embodiment, user A can be recorded on block chain account book the use information of Intelligent weight scale 21
In a certain transaction, intelligent contract can read the transaction from block chain account book, and obtain above-mentioned use information.Alternatively,
It can safeguard that the status data collection convenient for retrieval, the status data collection correspond to the data in block chain account book in equipment 22,
And enable that equipment 22 is simpler, rapidly obtains a certain data in block chain account book, such as above-mentioned use letter
Breath etc., without each transaction inquired in block chain account book one by one, can greatly promote the acquisition efficiency to use information.
Certainly, if when calling intelligent contract, by the transaction journal number etc. of above-mentioned use information corresponding transaction in block chain account book
The incoming intelligent contract of information is read out the intelligence contract directly to relationship trading, hands over without inquiring each pen one by one
Easily.
In one embodiment, equipment 22 can believe the use of Intelligent weight scale 21 user A when calling intelligent contract
Breath is passed to as input data, is looked into without intelligent contract from block chain account book or above-mentioned status data concentration
It askes.
Step 304, default excited rules are determined.
In one embodiment, for the use demand of user A, default excited rules may include two parts content: first
The use of Intelligent weight scale 21 is commented on for monitoring user A in part, and second part is used to monitor the changes of weight feelings of user A
Condition;For example, default excited rules may include: rule 1, user A is using the frequency of Intelligent weight scale 21 not less than 1 time a day;
Rule 2, the changes of weight of user A weekly are not less than x grams.
Step 306, compare the corresponding use information of user A and default excited rules, determine whether the use information meets
Default excited rules.
In one embodiment, when the corresponding use information exact matching of user A is when default excited rules, i.e. user A makes
It is not less than 1 time a day with the frequency of Intelligent weight scale 21, and the changes of weight of user A weekly is not less than x grams, it is possible to determine that make
Meet default excited rules with information, is otherwise judged to not meeting.
Step 308A determines user A with the presence or absence of guarantee voucher when use information meets default excited rules.
Step 310A distributes intellectual capital voucher S1 to user A when there is guarantee voucher.
Step 310B distributes intellectual capital voucher S2 to user A when there is no guarantee voucher.
In one embodiment, user A can by configuring corresponding guarantee voucher to use information, with for itself
Exercise regime implements further excitation.For example, user A may exist corresponding account a in block chain, and pass through the account
A holds certain intellectual capital voucher, can by freezing at least part intellectual capital voucher in account a,
Using as above-mentioned guarantee voucher;For example, at least part intellectual capital voucher can be temporarily transferred to by account a dedicated
Voucher Frozen Account in, or can in account a at least part intellectual capital voucher addition freeze mark etc.,
This specification is limited not to this.It is of course also possible to by assets outside at least part chain outside the chain of user A in account into
Row freezes, using as the guarantee voucher, this specification is limited not to this.
In one embodiment, voucher is assured not necessarily.If there is guarantee voucher, intelligence money can be distributed to user A
Voucher S1 is produced, if there is no guarantee voucher, intellectual capital voucher S2 can be distributed to user A;Wherein, intellectual capital voucher S1
The equity characterized should be greater than the equity that intellectual capital voucher S2 is characterized, and to show to tender guarantee to user A, voucher swashs
It encourages, and the intellectual capital voucher that user A is held is more, to show the user A to the service condition of Intelligent weight scale 21
Preferably, user A can be motivated.Wherein, the equity that intellectual capital voucher S1, S2 are characterized can be fixed value, or
The equity that the equity that the intellectual capital voucher S1, S2 are characterized can be characterized with guarantee voucher is positively correlated, i.e. guarantee voucher
When the equity characterized is bigger/more, the equity that the intellectual capital voucher S1, S2 are characterized is bigger therewith/more.
In one embodiment, in order to promote user A to 21 attention degree of Intelligent weight scale, motivate user A to Intelligent weight
The lasting use of scale 21 can require user A that must tender guarantee voucher.It therefore, can in the case where for there is guarantee voucher
To be used to characterize certain equity to user A distribution intellectual capital voucher S1, the intellectual capital voucher S1;And when there is no guarantee with
In the case where card, the intellectual capital voucher S2 distributed to user A is unable to characterize any equity, is equivalent to unallocated any intelligence money
Voucher is produced, then the participation of user A will be meaningless.
Step 308B determines user A with the presence or absence of guarantee voucher when use information does not meet default excited rules.
Step 310C, when existing, when assuring voucher, deduction assures voucher.
In one embodiment, when use information does not meet default excited rules, i.e., user A makes Intelligent weight scale 21
It is undesirable with situation, can by deduct guarantee voucher make user A termination hold the corresponding intellectual capital of guarantee voucher with
Card, then the intellectual capital voucher that user A holds is reduced, to remind the subsequent adjustment of user A to the use feelings of Intelligent weight scale 21
Condition.
Fig. 4 is the flow chart for the function logic that the intelligent contract of another kind that an exemplary embodiment provides is implemented.Such as Fig. 4 institute
Show, which may comprise steps of:
Step 402, the use information of user A is obtained.
Step 404, default excited rules are determined.
In one embodiment, step 402-404 can refer to step 302-304 shown in Fig. 3, and details are not described herein again.
Step 406, compare the corresponding use information of user A and default excited rules, determine whether the use information is complete
Meet default excited rules.
In one embodiment, it is assumed that default excited rules include: rule 1, and user A uses the frequency of Intelligent weight scale 21 not
Less than 1 time a day;Rule 2, the changes of weight of user A weekly are not less than x grams.Correspondingly, user A makes Intelligent weight scale 21
It may include: frequency of use and weight data with information.If frequency of use meets " not less than 1 time a day " and weight data is full
Foot " changes of weight weekly is not less than x grams ", shows that use information complies fully with default excited rules;If full using only frequency
Foot " not less than 1 time a day ", or only weight data meets " changes of weight weekly is not less than x grams ", shows use information portion
Divide and meets default excited rules.It is of course possible to which frequency of use is unsatisfactory for " not less than 1 time a day " and weight data is unsatisfactory for
" changes of weight weekly is not less than x grams ", then use information does not meet default excited rules completely.
Step 408A determines user A with the presence or absence of guarantee voucher when use information complies fully with default excited rules.
Step 410A distributes intellectual capital voucher S1 to user A when there is guarantee voucher.
Step 410B distributes intellectual capital voucher S2 to user A when there is no guarantee voucher.
In one embodiment, step 408A, step 410A and step 410B can with reference to step 308A as shown in Figure 3,
Step 310A and step 310B, details are not described herein again.
Step 408B determines whether use information partially accords with when use information not complies fully with default excited rules
Close default excited rules.
Step 410C assures voucher when use information does not meet default excited rules completely if it exists, then deducts guarantee
Voucher.
In one embodiment, analogously with embodiment illustrated in fig. 3, user A can configure corresponding load to use information
Protect voucher.So, when use information does not meet default excited rules completely, user A can be made by deducting guarantee voucher
The corresponding intellectual capital voucher of the guarantee voucher is held in termination, to remind use of the subsequent adjustment of user A to Intelligent weight scale 21
Situation.
Step 410D determines user A with the presence or absence of guarantee voucher when use information part meets default excited rules.
Step 412A distributes intellectual capital voucher S3 to user A when there is guarantee voucher.
Step 412B distributes intellectual capital voucher S4 to user A when there is no guarantee voucher.
In one embodiment, similar with step 410A-410B, when use information part meets default excited rules
When, for example be used only when frequency meets " not less than 1 time a day " and show that user A adheres to having used Intelligent weight scale 21, for another example
Show that user A has adhered to exercise behavior when only weight data meets " changes of weight weekly is not less than x grams ".Thus for this
The excitation for the situation that is partially consistent, can distribute certain intellectual capital voucher to user A.In this embodiment, the guarantee voucher
Not necessarily: if there is guarantee voucher, intellectual capital voucher S3 can be distributed to user A, it, can if there is no guarantee voucher
To distribute intellectual capital voucher S4 to user A;Wherein, in terms of the equity size characterized: S1 > S3 > S4, S1 > S2 >
S4。
In one embodiment, the equity that intellectual capital voucher S1, S3 are characterized can be corresponding fixed value, or
The equity that the equity that the intellectual capital voucher S1, S3 are characterized can be characterized with guarantee voucher respectively is positively correlated, that is, assures
When the equity that voucher is characterized is bigger/more, the equity that the intellectual capital voucher S1, S3 are characterized is bigger therewith/more.
In one embodiment, can require user A must tender guarantee voucher.Therefore, for there are the feelings of guarantee voucher
Under condition, intellectual capital voucher S3, the intellectual capital voucher S3 can be distributed to user A for characterizing certain equity;And it ought not deposit
In the case where assuring voucher, the intellectual capital voucher S4 distributed to user A is unable to characterize any equity, is equivalent to unallocated
What intellectual capital voucher, then the participation of user A will be meaningless.
In addition, for the embodiment shown in Fig. 3-4, when the use information of user A does not meet default excitation rule completely
When then, not only intellectual capital voucher can not be distributed to user A, can also be deducted from the corresponding intellectual capital account a of user A
Certain intellectual capital voucher, the guarantee voucher that this part intellectual capital voucher is provided independently of user A, can further motivate
User A is taken exercise using Intelligent weight scale 21, holding.
Fig. 5 is a kind of schematic configuration diagram for equipment that an exemplary embodiment provides.Referring to FIG. 5, in hardware view, it should
Equipment includes processor 502, internal bus 504, network interface 506, memory 508 and nonvolatile memory 510, is gone back certainly
It may include hardware required for other business.Processor 502 reads corresponding computer journey from nonvolatile memory 510
Then sequence is run into memory 508, asset allocation device is formed on logic level.Certainly, other than software realization mode,
Other implementations, such as the mode of logical device or software and hardware combining is not precluded in this specification one or more embodiment
Etc., that is to say, that the executing subject of following process flow is not limited to each logic unit, is also possible to hardware or logic
Device.
Referring to FIG. 6, the asset allocation device is applied to block chain node in Software Implementation, may include:
Acquiring unit 61, obtains user's use information that electronic equipment is sent, and user's use information is used for characterizing
Service condition of the family to the electronic equipment;
Call unit 62, calls intelligent contract, and the intelligence contract be used to confirm whether user's use information accords with
Default excited rules are closed, to distribute the first assets voucher to the user in the case where being judged to meeting.
Optionally, user's use information includes: the access times and/or frequency of use to the electronic equipment.
Optionally, user's use information includes: the measurement that the electronic equipment measures the user
Data.
Optionally, further includes:
Determination unit 63 determines that the second assets voucher that the user holds is frozen, as assuring the use
Family use information can meet the guarantee voucher of the default excited rules;
Wherein, the intelligent contract also be used to not meet the feelings of the default excited rules in user's use information
The user is released under condition, and relationship is held to the second assets voucher.
Optionally, the equity size that the first assets voucher is characterized and the equity that the second assets voucher characterizes are big
It is small to be positively correlated.
Optionally, the intelligent contract also be used to not meet the default excited rules in user's use information
In the case of, deduct the third assets voucher that the user holds.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can
To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment
The combination of any several equipment.
In a typical configuration, computer includes one or more processors (CPU), input/output interface, network
Interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, disk storage, quantum memory, based on graphene
Storage medium or other magnetic storage devices or any other non-transmission medium, can be used for storing can be accessed by a computing device
Information.As defined in this article, computer-readable medium does not include temporary computer readable media (transitory media),
Such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims
It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment
It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable
Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can
With or may be advantageous.
The term that this specification one or more embodiment uses be only merely for for the purpose of describing particular embodiments, and
It is not intended to be limiting this specification one or more embodiment.In this specification one or more embodiment and the appended claims
Used in the "an" of singular, " described " and "the" be also intended to including most forms, unless context understands earth's surface
Show other meanings.It is also understood that term "and/or" used herein refers to and includes one or more associated list
Any or all of project may combine.
It will be appreciated that though this specification one or more embodiment may using term first, second, third, etc. come
Various information are described, but these information should not necessarily be limited by these terms.These terms are only used to same type of information area each other
It separates.For example, the first information can also be referred to as in the case where not departing from this specification one or more scope of embodiments
Two information, similarly, the second information can also be referred to as the first information.Depending on context, word as used in this is " such as
Fruit " can be construed to " ... when " or " when ... " or " in response to determination ".
The foregoing is merely the preferred embodiments of this specification one or more embodiment, not to limit this theory
Bright book one or more embodiment, all within the spirit and principle of this specification one or more embodiment, that is done is any
Modification, equivalent replacement, improvement etc. should be included within the scope of the protection of this specification one or more embodiment.