Summary of the invention
The technical problem to be solved by the present invention is to the initiatives in order to improve user knowledge sharing, propose a kind of knowledge pointEnjoy the method, apparatus, equipment and storage medium of excitation.
The present invention is to solve above-mentioned technical problem by following technical proposals:
A kind of Knowledge Sharing motivational techniques, comprising the following steps:
The Knowledge Sharing that block chain host node obtains user node operates and identifies the type of the Knowledge Sharing operation;
Block chain host node judges whether the Knowledge Sharing action type is investment-orientation knowledge manipulation;
If so, by preset investment-orientation allocation rule distribution chain coin to knowledge sharers node;
If it is not, then being operated by preset normal allocation rule distribution chain coin according to the Knowledge Sharing of the user node to knowingKnow participator's node;
Further, the Knowledge Sharing that block chain host node obtains user node operates and identifies the Knowledge Sharing operationType before further include:
The Knowledge Sharing operation of chain coin information and user node is saved in block chain by block chain host node;Chain coin informationIncluding chain coin total amount, provide number, each granting amount, aggregate reservation amount, user Knowledge Sharing operation include Conventional wisdom operation,Knowledge beats reward operation and investment-orientation knowledge manipulation.
Further, include: by preset investment-orientation allocation rule distribution chain coin to knowledge sharers node
Knowledge sharers node publication investment-orientation knowledge simultaneously freezes chain coin;
User node checks knowledge and throws ballot paper, and the ballot paper includes useful, useless and is not involved in;
Block chain host node judges whether the useful user is greater than the useless user;
If so, investing successfully, the distribution of chain coin is carried out by the chain coin and difference comments rate of investment.
If it is not, then taking a bath, the recycling of chain coin is carried out in the chain coin and recycling ratio of investment.
Further, by preset investment-orientation allocation rule distribution chain coin to knowledge sharers node further include:
It is to be allocated that block chain host node judges whether there is remaining chain coin;
If so, then screening before ranking ten investment sex knowledge;
Reward chain coin is provided by reward rule to before ranking ten investment-orientation knowledge sharers.
Further, then preset normal allocation rule distribution chain coin is pressed according to the Knowledge Sharing of user node operationInclude: to knowledge sharers node
The Knowledge Sharing value for determining user node is operated according to the Knowledge Sharing of the user node;
According to the sharing of user node value by preset normal allocation rule distribution chain coin to knowledge sharers sectionPoint.
Further, the Knowledge Sharing value includes: publication value, answers value, comment value, and every kind of value is rightThere is different distribution weights in the Knowledge Sharing action type answered;Publication value, the behavior of knowledge is issued according to user, is determinedThe corresponding publication value of user;Value is answered, the behavior of knowledge is answered according to user, determines the corresponding answer value of user;It commentsValue issues the behavior of knowledge according to the other users of user's evaluation, determines the corresponding comment value of user.
The invention discloses a kind of Knowledge Sharing exciting banks, comprising:
Operation obtains module, and the Knowledge Sharing for obtaining user node operates and identifies the class of the Knowledge Sharing operationType;
Operation judges module, for judging whether the Knowledge Sharing action type is investment-orientation knowledge manipulation;
Chain coin distribution module, for dividing by preset investing allocation rule and normal allocation rule distribution chain coin to knowledgeThe person's of enjoying node;
Further, the chain coin distribution module includes following submodule:
Common Investment Allocation submodule: for being allocated by preset common Investment Allocation rule to chain coin;
Reward Investment Allocation submodule: for being allocated by preset reward Investment Allocation rule to chain coin;
Normal allocation submodule: the distribution of chain coin is carried out for operating to non-investment-orientation Knowledge Sharing.
The invention also discloses a kind of computer equipment, including memory and processor, meter is stored on the memoryThe step of calculation machine program, the computer program realizes Knowledge Sharing as described above excitation when being executed by the processor.
The invention also discloses a kind of computer readable storage medium, meter is stored in the computer readable storage mediumCalculation machine program, the computer program can be performed by least one processors, to realize Knowledge Sharing excitation as described aboveThe step of method.
The positive effect of the present invention is that:
With the excitation distribution mechanism of block chain allow excitation visualization, maximize, give full play to user's enthusiasm and chain coinValue preserving property.
Specific embodiment
The present invention is further illustrated below by the mode of embodiment, but does not therefore limit the present invention to the realityIt applies among a range.
Firstly, the present invention proposes a kind of sharing motivational techniques.
In example 1, as shown in Figs 1-4, the sharing motivational techniques include the following steps:
The Knowledge Sharing operation of chain coin information and user node is saved in block chain by step 10, block chain host node;
Chain coin information includes chain coin total amount, provides number, each granting amount, aggregate reservation amount, such as annual 12000 yuan of budget,It provides in four times, 3000 yuan every time, is exchanged into 6000 chain coin, reserve 2000 chain coin and rewarded as season, send 44 chain coin daily,By company management person according to budget and activity programming, typing activity and corresponding chain coin information, administrator exist in application systemChain coin allocation rule is preset in system, block chain server is called by application system, by chain coin information and allocation rule write areaBlock chain, the granting of daily chain coin is controlled by block chain using automatic contract, and the chain coin information of write-in includes: chain coin sum, providesTime, allocation rule.
The Knowledge Sharing operation of user node includes that Conventional wisdom operates, knowledge beats reward operation and investment-orientation knowledge manipulation,Conventional wisdom operation includes: publication knowledge, answer a question, comment on, thumbing up, puts and step on, and it includes: that user Z is checked that knowledge, which plays reward operation,Some knowledge, and reward author Y is actively beaten, investment-orientation knowledge manipulation includes: that user issues investment sex knowledge, checks that investing is knownKnow, the user's operation information of write-in block chain includes: user's operation type, weight, the increase and decrease of each operational chain coin, every kind of operationThe chain coin upper limit of acquisition, administrator sets every kind of operation and obtains the rule of chain coin, and is recorded in block chain, and user is in dayBlock chain is often called in operation, type, weight press preset allocation rule granting chain coin, block to block chain depending on the user's operationChain records the chain coin number increase and decrease that user operates every time simultaneously, and different operations sets the different chain coin upper limits, first first, reachIt, must not chain coin when late comer operates after the chain coin upper limit.
The Knowledge Sharing that step 1, block chain host node obtain user node operates and identifies the Knowledge Sharing operationType;
By company management person's creation activity and active rule, activity includes the movable time started, end time, active stateDeng, after having created, application system by activity and active rule be written block chain server, block chain host node according to start, knotThe beam time creates unique active account, only allows to have an active account in a period, the chain of active account initializationCoin increase is deducted from budget accounts, while active rule being written on block chain and is saved.After activity has created, Yong HukeCarry out subsequent Knowledge Sharing operation to enter the activity and establish oneself personal account, publication including knowledge, check, timeThe operation such as answer, comment on.
Block chain host node acquires Knowledge Sharing operation of the user node conducted in active procedure, and knows described in identificationKnow the type of sharing operation, including reward operation and investment-orientation knowledge manipulation are beaten in Conventional wisdom operation, knowledge, it is corresponding when identifyingAfter action type, the chain coin allocation rule of typing block chain is called to carry out the distribution of chain coin.
Step 2, block chain host node judge whether the Knowledge Sharing action type is investment-orientation knowledge manipulation, if so,3 are then entered step, if it is not, then entering step 4;
Investment-orientation knowledge manipulation includes: that user issues investment sex knowledge, checks investment sex knowledge, and user issues investment-orientation and knowsKnow operation to include: selection investment types, generate investment sex knowledge, user freezes a fixed number by system after selecting investment typesThe chain coin of amount, and block chain is called, the chain coin number freezed is recorded, non-investment-orientation knowledge publication does not need to freeze chain coin, checks throwingMoney type knowledge manipulation is included in check the knowledge after throw ballot paper, ballot paper includes useful, useless or is not involved in, only limits wherein being not involved inThe inadequate user of chain coin.Investment-orientation knowledge manipulation is the pre-set option of system, including investment-orientation and non-investment-orientation, userWhen issuing Knowledge Sharing, the option whether sharing belongs to investment-orientation can choose.
Step 3 presses preset investment-orientation allocation rule distribution chain coin to knowledge sharers node;
Allocation rule in the step includes common Investment Allocation rule and reward Investment Allocation rule, rewards Investment AllocationRule only carries out in the case of Shang Youlian coin is remaining after common Investment Allocation rule.
Commonly Investment Allocation rule includes:
3-1, knowledge sharers node publication investment-orientation knowledge simultaneously freeze chain coin N;
Knowledge sharers select investment types after entering the activity, freeze chain coin number N, to generate investment-orientation knowledge X.
3-2, user node check knowledge and throw ballot paper, and the ballot paper includes useful, useless and is not involved in;
User checks investment-orientation knowledge X, and forces to throw ballot paper to the knowledge, and the ballot paper includes useful, useless and do not joinWith wherein useful and useless user is selected to be frozen a certain number of chain coin M, selection is not involved in that be only limitted to chain coin number inadequateUser, the user being not involved in are not frozen chain coin, this freezes rule and is written into block chain when creating the activity.
3-3, block chain host node judge whether the useful user is greater than the useless user;
After activity end, each knowledge X of system statistics obtained useful and useless aggregate votes, according to useful poll andUseless poll judges whether the investment-orientation knowledge invests success.
3-4, if so, invest successfully, by investment chain coin and difference comments rate carry out the distribution of chain coin;
The successful condition of investment-orientation Knowledge Sharing is: knowledge X obtains useful ballot paper number and is greater than useless ballot paper number, at this point,Knowledge publisher and useful user recycle oneself frozen chain coin, while by knowledge publisher A, useful user Y* and system threeFang Gongtong is allocated the chain coin that useless user freezes in the participation of recycling ratio, and specific recycling ratio is matched by difference comments rateIt sets, specific as follows:
3-5, if it is not, then take a bath, the recycling of chain coin is carried out in the chain coin and recycling ratio of investment.
When the useless poll of the Knowledge Acquirement is greater than useful poll, then take a bath, the frozen chain of useless user's recyclingCoin, useless user, two side of system participate in the chain coin being frozen to knowledge promoter, useful user and distribute, specific allocation proportionIt is configured by difference comments rate: such as, allocation proportion can be set: N*: system=8:2.
When user is in system operatio, application system asynchronous call block chain server is passed to User ID, action type,Investment-orientation knowledge ID, investment-orientation knowledge creating time.Block chain server searches whether that a of User ID rule creation acknowledges a debtFamily, if it is not, creation personal account, while judging whether there is the investment-orientation knowledge account of investment-orientation knowledge ID rule generationFamily, if it is not, creation.
Block chain server first determines whether current time has effective activity according to incoming action type, ifWithout activity, then directly return.If movable effectively judge whether same day activity chain coin has distributed down, if distributing underChain coin is not rewarded.If it is movable effective, and current operation type available chain coin in rule, then it is random to generate one 100Within number, and will the number and rule the inside set percentage comparison.If the molecule of the percentage of regular the inside is smallIn being equal to the number generated, then judge to get the winning number in a bond.Chain coin will be transferred to a acknowledge a debt from active account automatically by block chain serverIn family.
When generating investment-orientation knowledge, system calls block chain server, generates account according to knowledge ID, initializes the amount of moneyThe amount of money submitted for promoter.When thumbing up/stepping on, fund is transferred to knowledge ID account from personal account.
It in another embodiment,, can be after if Shang Youlian coin is remaining after common Investment Allocation rule distributes chain coinIt is continuous to carry out reward Investment Allocation rule, including following sub-step:
3-6, that block chain host node judges whether there is remaining chain coin is to be allocated;
After activity end, the structure that Background scheduling block chain server provides carries out the clearing of investment-orientation knowledge, interrogation zoneKnowledge ID account in block chain, judgement thumbs up quantity and point steps on quantity, according to rule between knowledge ID account and User ID accountChain coin is shifted, the chain coin number that system obtains is recycled to active account.
3-7, if so, then screening before ranking ten investment sex knowledge;
System acquisition invests the successfully Headquarters of the General Staff of knowledge and number, always thumbs up number, always puts and step on number, calculates the Knowledge AcquirementTotal score, calculation formula are as follows: (praising, (praise+step on)) * 40%+ participates in number/Headquarters of the General Staff and number * 30%+ administrator and scores * 30%=total score screens before total score ten knowledge ID and knowledge promoter,
3-8, to before ranking ten investment-orientation knowledge sharers by reward rule provide reward chain coin.
It calls block link to calculate interface, active account remaining chain coin is delivered to before ranking ten investment-orientation knowledge promoterAccount.
Step 4, according to the Knowledge Sharing of user node operation by preset normal allocation rule distribution chain coin to knowingKnow participator's node;
Specifically includes the following steps:
Step 4-1, it is operated according to the Knowledge Sharing of the user node and determines that the Knowledge Sharing of user node is worth;
Every kind of Knowledge Sharing action type is related to different user's operation behaviors, and each user's operation behavior corresponds to differentValue, specific value of sharing include: publication value, answer value, comment value, and every kind of value is grasped in corresponding Knowledge SharingMake that there is different distribution weights in type.Wherein, publication value issues the behavior of knowledge according to user, determines that user is correspondingPublication value;Value is answered, the behavior of knowledge is answered according to user, determines the corresponding answer value of user;Comment value, rootThe behavior that knowledge is issued according to the other users of user's evaluation determines the corresponding comment value of user.Shared according to the user knowledgeThe type of operation, quantity, every kind of Knowledge Sharing of user described in weight calculation operate corresponding sharings and are worth, and obtain the userCorresponding total sharing value.
Step 4-2, according to the sharing of user node value by preset normal allocation rule distribution chain coin to knowledgeParticipator's node;
Conventional wisdom operation includes publication knowledge, answers a question, comments on, and the sharing of user is determined by the weight of each operationValue, and the upper limit that each user shares value is limited, such as limiting the sharing value that each user obtains is 10, user's publication oneSecondary knowledge, the weight for issuing knowledge is 1, then the sharing value that user carries out the operation is 1, and the weight answered a question is 0.3, shouldThe sharing value that user carries out the operation is 0.3, and all kinds of sharings value that user obtains is added total sharing up to the userValue, total sharing value of the user is no more than 10.
It includes: that user Z checks some knowledge, and actively beats reward author Y that knowledge, which beats reward generic operation, then Y, which is obtained, shares value,Z subtracts the sharing value of respective numbers, if not operating after checking, does not occur to share value variation.
The chain coin number provided is determined according to the chain coin total amount of the sharing value of each user and user's distribution, such as presses 1:1 ratioExample distribution, the sharing value that user carries out some operation is 0.3, then obtaining chain coin number is 0.3, and practical allocation proportion is by practical pointIt enjoys value and chain coin total amount determines, so that each user obtains chain coin number and is no more than the upper limit.
After activity end, the store that user enters system carries out chain currency exchange, and the chain coin after exchange is directly entered consumed accountsFamily, management end verify accounts of consumption and exchange people, carry out cash redemption under line, after the completion, accounts of consumption chain coin is destroyed.
When user clicks exchange operation, User ID and redemption amount are called block chain server, area by application systemBlock chain server finds active user individual's account according to User ID and the amount of money, and chain coin is subtracted from personal account, andIncrease in accounts of consumption.Chain coin in accounts of consumption can not call to circulate again, does not show the accounts of consumption information to user.
Secondly, the invention proposes a kind of Knowledge Sharing exciting bank, described device 20 can be divided into one orMultiple modules.
For example, Fig. 5 shows the structure chart of 20 first embodiment of Knowledge Sharing exciting bank, and in the embodiment, instituteOperation acquisition module 201, operation judges module 202, chain coin distribution 203 can be divided by stating device 20.Being described below will haveBody introduces the concrete function of the module 201-203.
Operation obtains module 201, and the Knowledge Sharing for obtaining user node operates and identifies the Knowledge Sharing operationType;
Operation judges module 202, for judging whether the Knowledge Sharing action type is investment-orientation knowledge manipulation;
Chain coin distribution module 203, for by preset investing allocation rule and normal allocation rule distribution chain coin to knowingKnow participator's node;
Fig. 6 shows the structure chart of 20 second embodiment of Knowledge Sharing exciting bank.
Wherein chain coin distribution module 203 includes following submodule:
Common Investment Allocation submodule 2031: for being allocated by preset common Investment Allocation rule to chain coin;
Including data acquisition unit, investment judging unit, chain coin allocation unit, data acquisition unit is for acquiring knowledge hairIt plays person to issue investment-orientation knowledge and freeze chain coin quantity, user's ballot paper, the ballot paper includes useful, useless and is not involved in, investmentJudging unit is used for counting user ballot paper and judges the quantity of useful user and useless user, if useful user is greater than useless useSuccess is then invested at family, is taken a bath if being less than, and chain coin allocation unit is used for when investing successfully, by the chain coin and difference of investmentIt comments rate to carry out the distribution of chain coin, when taking a bath, the recycling of chain coin is carried out in the chain coin and recycling ratio of investment.
Reward Investment Allocation submodule 2032: for being allocated by preset reward Investment Allocation rule to chain coin;?After common Investment Allocation rule distributes chain coin, if Shang Youlian coin is remaining, reward Investment Allocation rule can proceed with.
Normal allocation submodule 2033: the distribution of chain coin is carried out for operating to non-investment-orientation Knowledge Sharing.It include: knowledge pointValue determination unit, chain coin allocation unit are enjoyed, Knowledge Sharing is worth determination unit and is used to grasp according to the Knowledge Sharing of the userThe Knowledge Sharing for making determining user is worth, and chain coin allocation unit is used to commonly be divided according to the sharing of user value by presetWith regular distribution chain coin.
Again, the present invention also puts forward a kind of computer equipment.
As shown in fig.7, being the hardware structure schematic diagram of one embodiment of computer equipment of the present invention.In the present embodiment, instituteStating computer equipment 2 is that one kind can be automatic to carry out at numerical value calculating and/or information according to the instruction for being previously set or storingThe equipment of reason.For example, it may be smart phone, tablet computer, laptop, desktop computer, rack-mount server, bladeFormula server, (including the service composed by independent server or multiple servers of tower server or Cabinet-type serverDevice cluster) etc..As shown, the computer equipment 2 includes at least, but it is not limited to, company can be in communication with each other by system busConnect memory 21, processor 22 and network interface 23.Wherein:
The memory 21 includes at least a type of computer readable storage medium, and the readable storage medium storing program for executing includesFlash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), it is static withMachine accesses memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmableRead memory (PROM), magnetic storage, disk, CD etc..In some embodiments, the memory 21 can be the meterCalculate the internal storage unit of machine equipment 2, such as the hard disk or memory of the computer equipment 2.In further embodiments, described to depositIt is hard that reservoir 21 is also possible to the plug-in type being equipped on the External memory equipment of the computer equipment 2, such as the computer equipment 2Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card(Flash Card) etc..Certainly, the memory 21 can also both include the internal storage unit of the computer equipment 2 or wrapInclude its External memory equipment.In the present embodiment, the memory 21 is installed on the behaviour of the computer equipment 2 commonly used in storageMake system and types of applications software, such as the computer program etc. for realizing the Knowledge Sharing motivational techniques.In addition, describedMemory 21 can be also used for temporarily storing the Various types of data that has exported or will export.
The processor 22 can be in some embodiments central processing unit (Central Processing Unit,CPU), controller, microcontroller, microprocessor or other Knowledge Sharings motivate chip.The processor 22 is commonly used in control instituteThe overall operation of computer equipment 2 is stated, such as executes control relevant to the computer equipment 2 progress data interaction or communicationSystem and processing etc..In the present embodiment, the processor 22 is for running the program code stored in the memory 21 or placeData, such as operation are managed for realizing the computer program etc. of the Knowledge Sharing motivational techniques.
The network interface 23 may include radio network interface or wired network interface, which is commonly used inCommunication connection is established between the computer equipment 2 and other computer equipments.For example, the network interface 23 is for passing through netThe computer equipment 2 is connected by network with exterior terminal, establishes data biography between the computer equipment 2 and exterior terminalDefeated channel and communication connection etc..The network can be intranet (Intranet), internet (Internet), whole world shiftingDynamic communication system (Global System of Mobile communication, GSM), wideband code division multiple access (WidebandCode Division Multiple Access, WCDMA), 4G network, 5G network, bluetooth (Bluetooth), the nothings such as Wi-FiLine or cable network.
It should be pointed out that Fig. 7 illustrates only the computer equipment 2 with component 21-23, it should be understood that simultaneouslyAll components shown realistic are not applied, the implementation that can be substituted is more or less component.In the present embodiment, it is stored inThe computer program for realizing the Knowledge Sharing motivational techniques in memory 21 can be by one or more processors (thisEmbodiment is processor 22) it is performed, to complete the operation of following steps:
A kind of Knowledge Sharing motivational techniques, which comprises the following steps:
The Knowledge Sharing that block chain host node obtains user node operates and identifies the type of the Knowledge Sharing operation;
Block chain host node judges whether the Knowledge Sharing action type is investment-orientation knowledge manipulation;
If so, by preset investment-orientation allocation rule distribution chain coin to knowledge sharers node;
If it is not, according to the Knowledge Sharing of user node operation by preset normal allocation rule distribution chain coin to describedKnowledge sharers node.
In addition, a kind of computer readable storage medium of the present invention, the computer readable storage medium be it is non-volatile canStorage medium is read, computer program is stored with, the computer program can be performed by least one processor, to realizeThe operation of above-mentioned Knowledge Sharing motivational techniques or device.
Wherein, computer readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DXMemory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory (ROM), electrically erasableExcept programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..OneIn a little embodiments, computer readable storage medium can be the internal storage unit of computer equipment, such as the computer equipmentHard disk or memory.In further embodiments, computer readable storage medium is also possible to the external storage of computer equipmentThe plug-in type hard disk being equipped in equipment, such as the computer equipment, intelligent memory card (Smart Media Card, SMC), safetyDigital (Secure Digital, SD) card, flash card (Flash Card) etc..Certainly, computer readable storage medium can be withBoth including computer equipment internal storage unit and also including its External memory equipment.In the present embodiment, computer-readable storageMedium is installed on the operating system and types of applications software of computer equipment commonly used in storage, such as is previously used for described in realizationThe computer program etc. of Knowledge Sharing motivational techniques.In addition, computer readable storage medium can be also used for temporarily storingVarious types of data through exporting or will export.
Although specific embodiments of the present invention have been described above, it will be appreciated by those of skill in the art that this is onlyFor example, protection scope of the present invention is to be defined by the appended claims.Those skilled in the art without departing substantially fromUnder the premise of the principle and substance of the present invention, many changes and modifications may be made, but these change andModification each falls within protection scope of the present invention.