Blockchain system, token distribution method and device
By designing an incentive layer in the blockchain system and allocating tokens based on user transaction data, the problems of order brushing arbitrage and zombie users are solved, the centralization trend is prevented, and transaction activity and liquidity are improved.
Patent Information
- Application Number
- CN202111484778.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-07
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2041-12-07
AI Technical Summary
There are problems in the existing blockchain system such as order brushing arbitrage, excessive zombie users and insufficient token distribution, resulting in market fluctuations and blockchain centralization trends, affecting transaction activity.
An incentive layer of a blockchain system was designed, through the transaction data acquisition module, the initial allocation module and the secondary allocation module, the token of each user is determined based on the number of tokens held by the user, the holding time and the transaction volume. Allocation of upper limit values and actual quantities, and different determination rules are used to allocate to prevent centralized trends and encourage users to actively trade.
It effectively prevents blockchain centralization, encourages users to increase the number of equity and holding time, limits zombie accounts, improves transaction activity and liquidity, and reduces order brushing arbitrage.
Smart Images

Figure CN114140244B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and in particular to a blockchain system, a token distribution method, a token distribution device and a corresponding storage medium. Background Art
[0002] Existing blockchain systems include an incentive layer, the purpose of which is to distribute token rewards. If the participating nodes perform their duties correctly and all other node operators can verify this, the stake will be returned and token rewards will be given. However, if the node operator fails to perform their duties, a portion of their stake will be cut and taken away. This will incentivize all node operators to do the right thing.
[0003] In the DPos mechanism, since the rights and interests are issued in the form of tokens, and tokens can be traded, the activeness of token transactions determines the success of the blockchain itself. However, token transactions will also bring huge market fluctuations. Irrational token transactions may have a devastating impact on the entire public chain ecosystem. If token transactions are not active, a large number of zombie users will exist, affecting the activity of the entire blockchain. At the same time, in the general blockchain design, the more mortgaged rights and interests, the more token incentives you will get, which will cause the entire blockchain to become more and more centralized.
[0004] The reward mechanism in the existing technology has the following disadvantages: it is impossible to eliminate fake order arbitrage, a large number of zombie users appear, and token distribution is insufficient.
[0005] Token: A record or representation of a certain right in blockchain technology. Summary of the invention
[0006] The purpose of the embodiments of the present invention is to provide a blockchain system, a token distribution method and a device.
[0007] In order to achieve the above-mentioned object, the first aspect of the present invention provides a blockchain system, including an incentive layer, wherein the incentive layer includes:
[0008] A transaction data acquisition module is configured to acquire the transaction data of a user, wherein the transaction data includes: the number of tokens held by the user, the holding time of the token and the transaction volume of the token within a unit time; a primary allocation module is configured to determine the upper limit value of the tokens allocated to each user based on the transaction data of each user and the total amount of tokens to be allocated; a secondary allocation module is configured to correct the upper limit value based on the transaction data of each user to obtain the actual number of tokens allocated to each user; and a token distribution module is configured to distribute the actual number of tokens determined by the secondary allocation module to each user.
[0009] Preferably, the upper limit value of the tokens allocated to each user is determined based on the transaction data of each user and the total amount of tokens to be allocated, including: obtaining the amount of equity of the user based on the number of tokens held by the user and the holding time of the tokens; classifying the users according to the amount of equity of the users to obtain classification results; and obtaining the upper limit value of the tokens allocated to the user using different determination rules based on the classification results.
[0010] Preferably, the classification results include: users with equity or users without equity; different determination rules are used according to the classification results to obtain the upper limit of the tokens allocated to the users, including: the upper limit of the tokens allocated to users without equity is n; the upper limit of the tokens allocated to users with equity is: B A =(S A / S)*B*M+n; where B A The upper limit of the tokens allocated to the user, S A is the amount of equity of the user, S is the total amount of equity of the platform where the user is located, B is the total amount of tokens to be allocated, and M is the preset incentive expansion coefficient.
[0011] Preferably, the upper limit value is corrected according to the transaction data of each user to obtain the actual number of tokens allocated to each user, including: if the user is a non-equity user, the transaction volume of the user is obtained; the transaction volume is related to the cumulative transaction volume of the tokens within the unit time; it is determined whether the transaction volume of the user is greater than the set transaction volume threshold, if so, the actual number of tokens allocated to the user is n; otherwise, the actual number of tokens allocated to the user is 0.
[0012] Preferably, the upper limit value is corrected according to the transaction data of each user to obtain the actual number of tokens allocated to each user, including: if the user is an equity user, the turnover rate and difficulty coefficient of the user are obtained; wherein the turnover rate is the ratio of the transaction volume of the token in a unit time to the number of tokens held by the user; based on the upper limit value, the preset incentive expansion coefficient, the turnover rate and the difficulty coefficient, the actual number of tokens allocated to the user is obtained.
[0013] Preferably, according to the upper limit value, the preset incentive expansion coefficient, the turnover rate and the difficulty coefficient, obtaining the actual number of tokens allocated to the user comprises: calculating the actual number of tokens allocated to the user by the following steps: B1 A =B A *(1 / M+TR A *1 / L); among which, B1 A is the actual number of tokens allocated to the user, B A The upper limit of the token allocated to the user, M is the preset incentive expansion coefficient, TR A is the turnover rate, and L is the difficulty coefficient.
[0014] In a second aspect of the present invention, a token allocation method is also provided, which is applied to the incentive layer in the blockchain system, and the method comprises:
[0015] Acquire the transaction data of the user, the transaction data including: the number of tokens held by the user, the holding time of the token and the transaction volume of the token per unit time; determine the upper limit value of the tokens allocated to each user according to the transaction data of each user and the total amount of tokens to be allocated; modify the upper limit value according to the transaction data of each user to obtain the actual number of tokens allocated to each user; distribute the determined actual number of tokens to each user.
[0016] Preferably, the upper limit value of the tokens allocated to each user is determined based on the transaction data of each user and the total amount of tokens to be allocated, including: obtaining the amount of equity of the user based on the number of tokens held by the user and the holding time of the tokens; classifying the users according to the amount of equity of the users to obtain classification results; and obtaining the upper limit value of the tokens allocated to the user using different determination rules based on the classification results.
[0017] Preferably, the classification results include: users with equity or users without equity; different determination rules are used according to the classification results to obtain the upper limit of the tokens allocated to the users, including: the upper limit of the tokens allocated to users without equity is n; the upper limit of the tokens allocated to users with equity is: B A =(SA / S)*B*M+n; where B A The upper limit of the tokens allocated to the user, S A is the amount of equity of the user, S is the total amount of equity of the platform where the user is located, B is the total amount of tokens to be allocated, and M is the preset incentive expansion coefficient.
[0018] Preferably, the upper limit value is corrected according to the transaction data of each user to obtain the actual number of tokens allocated to each user, including: if the user is a non-equity user, the transaction volume of the user is obtained; the transaction volume is related to the cumulative transaction volume of the tokens within the unit time; it is determined whether the transaction volume of the user is greater than the set transaction volume threshold, if so, the actual number of tokens allocated to the user is n; otherwise, the actual number of tokens allocated to the user is 0.
[0019] Preferably, the upper limit value is corrected according to the transaction data of each user to obtain the actual number of tokens allocated to each user, including: if the user is an equity user, the turnover rate and difficulty coefficient of the user are obtained; wherein the turnover rate is the ratio of the transaction volume of the token in a unit time to the number of tokens held by the user; based on the upper limit value, the preset incentive expansion coefficient, the turnover rate and the difficulty coefficient, the actual number of tokens allocated to the user is obtained.
[0020] Preferably, according to the upper limit value, the preset incentive expansion coefficient, the turnover rate and the difficulty coefficient, obtaining the actual number of tokens allocated to the user comprises: calculating the actual number of tokens allocated to the user by the following steps: B1 A =B A *(1 / M+TR A *1 / L); among which, B1 A is the actual number of tokens allocated to the user, B A The upper limit of the token allocated to the user, M is the preset incentive expansion coefficient, TR A is the turnover rate, and L is the difficulty coefficient.
[0021] In a third aspect of the present invention, a token distribution device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the aforementioned token distribution method when executing the computer program.
[0022] In a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein instructions are stored in the storage medium, and when the instructions are executed on a computer, the computer executes the aforementioned token distribution method.
[0023] In a fifth aspect of the present invention, a computer program product is provided, comprising a computer program, which implements the aforementioned token allocation method when executed by a processor.
[0024] The above technical solution has the following beneficial effects:
[0025] (1) The implementation method of the present invention is used to distribute tokens according to the number of interests held by users, so as to effectively prevent the centralization trend of blockchain.
[0026] (2) Encourage users to increase the amount of equity and holding time, limit zombie equity accounts, and stimulate users to actively trade, thereby improving the trading activity and liquidity level of the entire platform.
[0027] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present invention, but do not constitute a limitation on the embodiments of the present invention. In the accompanying drawings:
[0029] Figure 1 The schematic diagram of the structure of the blockchain system according to the embodiment of the present application is shown;
[0030] Figure 2 The following is a schematic diagram showing the implementation steps of the token allocation method according to an embodiment of the present application. DETAILED DESCRIPTION
[0031] The specific implementation of the embodiment of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the embodiment of the present invention, and is not used to limit the embodiment of the present invention.
[0032] The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.
[0033] Figure 1 The schematic diagram of the structure of the blockchain system according to the embodiment of the present application is shown. Figure 1 As shown, in one embodiment of the present application, a blockchain system is provided, including an incentive layer, wherein the incentive layer includes:
[0034] A transaction data acquisition module is configured to acquire the transaction data of a user, wherein the transaction data includes: the number of tokens held by the user, the holding time of the token and the transaction volume of the token within a unit time; a primary allocation module is configured to determine the upper limit of the tokens allocated to each user based on the transaction data of each user and the total amount of tokens to be allocated; a secondary allocation module is configured to correct the upper limit based on the transaction data of each user to obtain the actual number of tokens allocated to each user; and a token distribution module is configured to distribute the actual number of tokens determined by the secondary allocation module to each user.
[0035] As mentioned above, the transaction data in this embodiment are all obtained legally with the consent of the user. The acquisition sources include but are not limited to the historical transaction database, the cache records of the transaction device, and the historical records of the transaction platform. The acquired transaction data is mainly used to characterize the transaction activity of the user and provide basic parameters for quantitative calculation.
[0036] One function of the initial allocation module is to determine the upper limit of the tokens allocated to each user. In a platform where there is no upper limit on transaction rewards, users will make a large number of invalid transactions in order to obtain high transaction rewards, resulting in the occurrence of arbitrage and deteriorating the platform ecosystem. Therefore, the setting of the initial allocation module in this embodiment is conducive to overcoming the above problems in the prior art.
[0037] The secondary distribution module is used to determine the actual number of tokens allocated to each user. The determination of the actual number needs to take into account multiple factors in order to achieve the purpose of incentivizing users to trade. The token distribution module is used to perform specific token distribution operations.
[0038] Through the above implementation methods, a specific reward method is adopted according to the number of stakes held by the user to effectively prevent the centralization trend of blockchain. At the same time, the algorithm model provided in the implementation method encourages users to increase the number of stakes and holding time, restricts zombie stake accounts, and stimulates users to actively trade, thereby improving the trading activity and liquidity level of the entire platform.
[0039] Those skilled in the art will understand that Figure 1 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0040] In one embodiment of the present invention, the upper limit of the tokens allocated to each user is determined based on the transaction data of each user and the total amount of tokens to be allocated, including: obtaining the amount of equity of the user based on the number of tokens held by the user and the holding time of the tokens; classifying the users according to the amount of equity of the users to obtain classification results; and obtaining the upper limit of the tokens allocated to the users using different determination rules according to the classification results. In this embodiment, the amount of equity is obtained through transaction data, and the specific calculation formula is: S A =C A *T. Among them, S A is the amount of equity of the user, C A is the number of tokens held by the user, T is the holding time of the token, T>=1, and the longer the holding time, the greater the T value, and the greater the equity amount. A And / or T cannot be obtained or the obtained value is 0, which will result in the equity quantity S A Unable to calculate or the calculated value is 0. Based on the above different situations of the user's equity quantity, the user is classified and different rules are used for calculation for different classifications. The specific calculation rules will be described in detail later. In this implementation method, the classification calculation based on the equity quantity is more targeted to determine the user's token allocation.
[0041] In one embodiment of the present invention, the classification result includes: a user with equity or a user without equity; according to the classification result, different determination rules are used to obtain the upper limit of the token allocated to the user, including: the upper limit of the token allocated to the user without equity is n; the upper limit of the token allocated to the user with equity is: B A =(S A / S)*B*M+n; where B A The upper limit of the tokens allocated to the user, S A is the number of interests of the user, S is the total number of interests of the platform where the user is located, B is the total number of tokens to be distributed, and M is the preset incentive expansion coefficient. In order to ensure that the rewards of users with interests strictly exceed those of users without interests, a minimum value n needs to be added. Here n is the upper limit of the rewards for users without interests; and the upper limit of the rewards for users with interests is determined by the above formula. Among them, M is the preset incentive expansion coefficient, which is set to stimulate user transactions and ensure that there is no surplus in the issuance of tokens in the system, but this value will not affect the equity rewards, that is: the larger the M value, the greater the proportion of rewards obtained through transaction mining.
[0042] In one embodiment of the present invention, the upper limit value is corrected according to the transaction data of each user to obtain the actual number of tokens allocated to each user, including: if the user is a non-equity user, the user's transaction volume is obtained; the transaction volume is related to the cumulative transaction volume of the tokens within the unit time; it is determined whether the user's transaction volume is greater than the set transaction volume threshold, if greater, the actual number of tokens allocated to the user is n; otherwise, the actual number of tokens allocated to the user is 0. In the previous embodiment, the upper limit of the reward for non-equity users is n, but the acquisition of this reward upper limit also requires conditions. The transaction volume threshold V is set here, that is, the user can only get it if his transaction volume exceeds the transaction volume threshold V. The above setting is mainly for the case of zero equity.
[0043] In one embodiment of the present invention, the upper limit value is corrected according to the transaction data of each user to obtain the actual number of tokens allocated to each user, including: if the user is an equity user, the turnover rate and difficulty coefficient of the user are obtained; wherein the turnover rate is the ratio of the transaction volume of the token in a unit time to the number of tokens held by the user; according to the upper limit value, the preset incentive expansion coefficient, the turnover rate and the difficulty coefficient, the actual number of tokens allocated to the user is obtained. For equity users, more parameters need to be further obtained to determine the actual number of allocated tokens within the range of the upper limit value of the allocated tokens. The parameters that need to be further obtained include: the turnover rate and difficulty coefficient of the user. The turnover rate is determined in the following way: TR A =V A / C A Among them, TR A is the turnover rate, V A is the transaction volume of the user’s token within a unit time, C A The number of tokens held by the user. The difficulty coefficient L is used to characterize the difficulty of transaction mining. The greater the difficulty of transaction mining, the greater the L value.
[0044] In an embodiment of the present invention, obtaining the actual number of tokens allocated to the user according to the upper limit value, the preset incentive expansion coefficient, the turnover rate and the difficulty coefficient includes: calculating the actual number of tokens allocated to the user by the following steps:
[0045] B1 A =B A *(1 / M+TR A *1 / L); among which, B1 A is the actual number of tokens allocated to the user, B A The upper limit of the token allocated to the user, M is the preset incentive expansion coefficient, TR Ais the turnover rate, and L is the difficulty coefficient. Since B1 A <= B A , so 1 / M + (V A / C A ) * 1 / L <= 1. Particularly, when C A = 0, that is, the user has no rights, then the formula becomes B A < V when V A = V A / V; the formula becomes B A >= V when V A = 1.
[0046] The actual quantity of tokens allocated to the user can be quantitatively calculated through the above formula. The beneficial effects of this embodiment can be deduced from the above allocation method.
[0047] For example: B A is the upper limit of the reward that user A can obtain. B A = (S A / S) * B * M + n, so the more rights the user A has, the higher the upper limit of the reward. And S A = C A * T, that is, the more tokens the user mortgages and the longer the mortgage time, the more rewards.
[0048] Another example: A user with rights does not conduct any transactions, that is, TR A = 0, then the actual reward obtained B1 A = B A / M = (S A / S) * B = C A * T * B / S. If the user wants to obtain greater benefits, they can only increase the holding time, that is, increase T or increase the quantity of tokens C A . If the system sets 1 / M < 1, then B A < B A , that is, if the user does not trade, they will never be able to obtain a full reward, which realizes the purpose of stimulating users to trade.
[0049] Another example: Given a fixed B A / M, if L increases, then 1 / L decreases. If the value of (V A / C A ) * 1 / L is to be kept constant, only V A can be increased, that is, the user needs to conduct more transactions and increase the turnover rate TR A .
[0050] It can be seen that the incentive layer and blockchain system provided in the embodiments of the present invention can achieve beneficial effects such as encouraging users to increase the amount of equity and holding time, restricting zombie equity accounts, and stimulating users to actively trade, thereby improving the trading activity and liquidity level of the entire platform.
[0051] Based on the same inventive concept, an embodiment of the present invention also provides a token distribution method, which is applied to the incentive layer in the blockchain system. Figure 2 The following is a schematic diagram showing the implementation steps of the token allocation method according to an embodiment of the present application. Figure 2 As shown, the method includes:
[0052] 101. Obtain transaction data of the user, the transaction data including: the number of tokens held by the user, the holding time of the tokens, and the transaction volume of the tokens in a unit time;
[0053] 102. Determine the upper limit of the tokens allocated to each user based on the transaction data of each user and the total amount of tokens to be allocated;
[0054] 103. The upper limit is modified according to the transaction data of each user to obtain the actual number of tokens allocated to each user;
[0055] 104. Distribute the actual number of tokens determined by the secondary distribution module to each user.
[0056] In some optional embodiments, the upper limit value of the tokens allocated to each user is determined based on the transaction data of each user and the total amount of tokens to be allocated, including: obtaining the amount of equity of the user based on the number of tokens held by the user and the holding time of the tokens; classifying the users according to the amount of equity of the users to obtain classification results; and obtaining the upper limit value of the tokens allocated to the user using different determination rules based on the classification results.
[0057] In some optional implementations, the classification results include: users with equity or users without equity; different determination rules are used according to the classification results to obtain the upper limit of the tokens allocated to the users, including: the upper limit of the tokens allocated to users without equity is n; the upper limit of the tokens allocated to users with equity is: B A =(S A / S)*B*M+n; where B A The upper limit of the tokens allocated to the user, S A is the amount of equity of the user, S is the total amount of equity of the platform where the user is located, B is the total amount of tokens to be allocated, and M is the preset incentive expansion coefficient.
[0058] In some optional implementations, the upper limit value is corrected according to the transaction data of each user to obtain the actual number of tokens allocated to each user, including: if the user is a non-equity user, the transaction volume of the user is obtained; the transaction volume is related to the cumulative transaction volume of the tokens within the unit time; it is determined whether the transaction volume of the user is greater than the set transaction volume threshold, if so, the actual number of tokens allocated to the user is n; otherwise, the actual number of tokens allocated to the user is 0.
[0059] In some optional embodiments, the upper limit value is corrected according to the transaction data of each user to obtain the actual number of tokens allocated to each user, including: if the user is an equity user, the turnover rate and difficulty coefficient of the user are obtained; wherein the turnover rate is the ratio of the transaction volume of the token in a unit time to the number of tokens held by the user; based on the upper limit value, the preset incentive expansion coefficient, the turnover rate and the difficulty coefficient, the actual number of tokens allocated to the user is obtained.
[0060] In some optional implementations, obtaining the actual number of tokens allocated to the user according to the upper limit value, the preset incentive expansion coefficient, the turnover rate and the difficulty coefficient includes: calculating the actual number of tokens allocated to the user by the following steps:
[0061] B1 A =B A *(1 / M+TR A *1 / L); among which, B1 A is the actual number of tokens allocated to the user, B A The upper limit of the token allocated to the user, M is the preset incentive expansion coefficient, TR A is the turnover rate, and L is the difficulty coefficient.
[0062] The specific definition of each implementation step in the above-mentioned token distribution method can be found in the above-mentioned definition of the blockchain system, which will not be repeated here. Its beneficial effects can also be inferred from the applicability of the aforementioned blockchain system.
[0063] An embodiment of the present application provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the steps of the token allocation method are implemented.
[0064] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the steps of the above-mentioned token allocation method.
[0065] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0066] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0067] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0068] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0069] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0070] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0071] Computer readable media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0072] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0073] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A blockchain system, comprising an incentive layer, characterized in that: The excitation layer comprises: A transaction data acquisition module is configured to acquire transaction data of a user, wherein the transaction data includes: the number of tokens held by the user, the holding time of the token, and the transaction volume of the token within a unit time; The initial allocation module is configured to determine the upper limit of the tokens allocated to each user according to the transaction data of each user and the total amount of tokens to be allocated; A secondary allocation module is configured to modify the upper limit value according to the transaction data of each user to obtain the actual number of tokens allocated to each user; and The token distribution module is configured to distribute the actual number of tokens determined by the secondary distribution module to each user; determine the upper limit of the tokens allocated to each user according to the transaction data of each user and the total amount of tokens to be allocated, including: Obtain the amount of equity of the user according to the number of tokens held by the user and the holding time of the tokens; Classify the users according to the amount of rights and interests of the users to obtain classification results; According to the classification results, different determination rules are used to obtain the upper limit of the tokens allocated to the user; the classification results include: users with equity or users without equity; According to the classification result, different determination rules are used to obtain the upper limit of the token allocated to the user, including: The upper limit of the tokens allocated to users without equity is n; The upper limit of the tokens allocated to the equity user is: B A =(S A / S)*B*M+n; Among them, B A The upper limit of the tokens allocated to the user, S A is the amount of equity of the user, S is the total amount of equity of the platform where the user is located, B is the total amount of tokens to be allocated, and M is the preset incentive expansion coefficient.
2. The system according to claim 1, characterized in that The upper limit is modified according to the transaction data of each user to obtain the actual number of tokens allocated to each user, including: If the user is a non-equity user, the transaction volume of the user is obtained; the transaction volume is related to the cumulative transaction volume of the token within the unit time; Determine whether the transaction volume of the user is greater than the set transaction volume threshold: If it is greater, the actual number of tokens allocated to the user is n; Otherwise, the actual number of tokens allocated to the user is 0.
3. The system according to claim 1, characterized in that The upper limit is modified according to the transaction data of each user to obtain the actual number of tokens allocated to each user, including: If the user is a user with equity, the turnover rate and difficulty coefficient of the user are obtained; wherein the turnover rate is the ratio of the transaction volume of the token in a unit time to the number of tokens held by the user; The actual number of tokens allocated to the user is obtained according to the upper limit value, the preset incentive expansion coefficient, the turnover rate and the difficulty coefficient.
4. The system according to claim 3, characterized in that According to the upper limit value, the preset incentive expansion coefficient, the turnover rate and the difficulty coefficient, the actual number of tokens allocated to the user is obtained, including: the actual number of tokens allocated to the user is calculated by the following steps: B1 A =B A *(1 / M+TR A *1 / L); Among them, B1 A is the actual number of tokens allocated to the user, B A The upper limit of the token allocated to the user, M is the preset incentive expansion coefficient, TR A is the turnover rate, and L is the difficulty coefficient.
5. A token distribution method, applied to the incentive layer in a blockchain system, characterized in that: The method comprises: Acquire the transaction data of the user, the transaction data including: the number of tokens held by the user, the holding time of the tokens and the transaction volume of the tokens within a unit time; Determine the upper limit of the tokens allocated to each user based on each user’s transaction data and the total number of tokens to be allocated; The upper limit is modified according to the transaction data of each user to obtain the actual number of tokens allocated to each user; Distribute the determined actual number of tokens to each user; determine the upper limit of the tokens allocated to each user based on each user's transaction data and the total number of tokens to be allocated, including: Obtain the amount of equity of the user according to the number of tokens held by the user and the holding time of the tokens; Classify the users according to the amount of rights and interests of the users to obtain classification results; According to the classification results, different determination rules are used to obtain the upper limit of the tokens allocated to the user; the classification results include: users with equity or users without equity; According to the classification result, different determination rules are used to obtain the upper limit of the token allocated to the user, including: The upper limit of the tokens allocated to users without equity is n; The upper limit of the tokens allocated to the equity user is: B A =(S A / S)*B*M+n; Among them, B A The upper limit of the tokens allocated to the user, S A is the amount of equity of the user, S is the total amount of equity of the platform where the user is located, B is the total amount of tokens to be allocated, and M is the preset incentive expansion coefficient.
6. The method according to claim 5, characterized in that The upper limit is modified according to the transaction data of each user to obtain the actual number of tokens allocated to each user, including: If the user is a non-equity user, the transaction volume of the user is obtained; the transaction volume is related to the cumulative transaction volume of the token within the unit time; Determine whether the transaction volume of the user is greater than the set transaction volume threshold: If it is greater, the actual number of tokens allocated to the user is n; Otherwise, the actual number of tokens allocated to the user is 0.
7. The method according to claim 5, characterized in that The upper limit is modified according to the transaction data of each user to obtain the actual number of tokens allocated to each user, including: If the user is a user with equity, the turnover rate and difficulty coefficient of the user are obtained; wherein the turnover rate is the ratio of the transaction volume of the token in a unit time to the number of tokens held by the user; The actual number of tokens allocated to the user is obtained according to the upper limit value, the preset incentive expansion coefficient, the turnover rate and the difficulty coefficient.
8. The method according to claim 7, characterized in that According to the upper limit value, the preset incentive expansion coefficient, the turnover rate and the difficulty coefficient, the actual number of tokens allocated to the user is obtained, including: the actual number of tokens allocated to the user is calculated by the following steps: B1 A =B A *(1 / M+TR A *1 / L); Among them, B1 A is the actual number of tokens allocated to the user, B A The upper limit of the token allocated to the user, M is the preset incentive expansion coefficient, TR A is the turnover rate, and L is the difficulty coefficient.
9. A token distribution device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the token distribution method described in any one of claims 5 to 8 is implemented.
10. A computer-readable storage medium, characterized in that: The storage medium stores instructions, which, when executed on a computer, enable the computer to execute the token distribution method described in any one of claims 5 to 8.
11. A computer program product, comprising a computer program, which, when executed by a processor, implements the token allocation method according to any one of claims 5 to 8.
