A marketing-credit allocation method and apparatus

By analyzing historical data on marketing benefits, establishing objective allocation rules, and using bitwise operations to determine the distribution of benefits, the problem of low efficiency and poor interpretability caused by subjective decision-making in existing technologies has been solved, achieving efficient and reasonable distribution of benefits and improved user stickiness.

CN114240665BActive Publication Date: 2026-05-15WEBANK (CHINA)
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
WEBANK (CHINA)
Filing Date
2021-12-24
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

Existing marketing rights allocation schemes rely on the subjective decisions of operations personnel, lack interpretability, are inefficient, and are difficult to apply effectively in scenarios with large-scale user data.

Method used

By analyzing the historical allocation and usage of marketing benefits, the probability of a user using a certain benefit is determined, objective benefit allocation rules are established, and bitwise operations are used to quickly decide on benefit distribution. The allocation rules are then optimized by combining preset thresholds and correction matrices.

Benefits of technology

It improved the explainability and efficiency of rights allocation, avoided the waste of rights, maintained or increased user stickiness to the product, and reduced marketing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114240665B_ABST
    Figure CN114240665B_ABST
Patent Text Reader

Abstract

The application relates to the field of Fintech, and discloses a marketing right distribution method and device. According to a historical distribution condition and a historical use condition of marketing rights, experience values of whether to use i marketing rights under the premise of holding j marketing rights are determined; according to the experience values of each kind of marketing right under n kinds of marketing rights, a right distribution rule is determined; according to a right holding condition of any to-be-distributed right user, holding values of the to-be-distributed right user for the n kinds of marketing rights are determined; and according to the right distribution rule and the holding values of the to-be-distributed right users, through a bit operation mode, distributable marketing rights of the to-be-distributed right users are determined. Based on the mode, the result of marketing right distribution for an individual user can be quickly and reasonably determined.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of financial technology (Fintech), and more particularly to a method and apparatus for allocating marketing benefits. Background Technology

[0002] With the development of computer technology, more and more technologies (such as big data, cloud computing, or blockchain) are being applied in the financial sector, and the traditional financial industry is gradually transforming into fintech. For the financial industry, in the product marketing process, allocating limited marketing rights to users in a reasonable way helps to maintain or even increase user loyalty to the product at a lower marketing cost.

[0003] To address the aforementioned technical issues, the current approach relies on the experience of operations staff to subjectively decide whether to withhold certain benefits from users who already possess them. Based on this subjective benefit allocation rule, the rule is invoked for each user individually during the benefit allocation calculation process to determine if a user is eligible for a particular benefit.

[0004] The above solution is prone to the following drawbacks, including:

[0005] 1. It is not explainable that operators may subjectively decide to withhold certain benefits from users who already have them.

[0006] 2. Using subjective rules to decide on the distribution of marketing benefits is inefficient and has limited data processing capacity.

[0007] Therefore, there is an urgent need for a quick and reasonable decision-making scheme for the distribution of marketing benefits. Summary of the Invention

[0008] This application provides a marketing rights allocation method and apparatus for quickly and reasonably determining the distribution of marketing rights to a user.

[0009] In a first aspect, embodiments of this application provide a marketing rights allocation method, the method comprising: determining an experience value for whether to use marketing rights i under the premise of holding marketing rights j, based on the historical allocation and historical usage of marketing rights; the experience value being a first value representing usage or a second value representing non-use; marketing rights i and marketing rights j being any one of n types of marketing rights; determining a rights allocation rule based on the experience value of each marketing right under the n types of marketing rights; determining the holding value of any user to be allocated rights for the n types of marketing rights based on the rights holding status of any user to be allocated rights; the k-th bit of the holding value being a first value representing having marketing rights k or a second value representing not having marketing rights k; and determining the allocatable marketing rights of each user to be allocated rights through bitwise operations based on the rights allocation rule and the holding value of each user to be allocated rights.

[0010] In the above scheme, by analyzing the usage of issued rights by a large number of users in historical periods, data on the usage status of one type of right while holding another type of right can be obtained. Based on the data on the usage status of these rights, objective rights allocation rules involving n types of rights can be obtained. Based on the obtained rights allocation rules, for any user whose rights need to be determined, it can be quickly determined whether other rights can be issued to them based on their holding of the n types of rights. In this way, some marketing rights can be avoided from being wasted.

[0011] In one possible implementation method, determining the empirical value of whether to use marketing right i under the premise of holding marketing right j, based on the historical allocation and usage of marketing rights, includes: determining a third probability that marketing right i has not been used under the premise of holding marketing right j, based on the historical allocation and usage of marketing rights; if the third probability is less than a preset threshold, then determining Bij as a first value representing that it has been used; Bij represents whether marketing right i has been used under the premise of holding marketing right j; if the third probability is not less than the preset threshold, then determining Bij as a second value representing that it has not been used.

[0012] In the above scheme, by analyzing the usage of issued rights by a large number of users in historical periods, data on the usage status of one type of right under the premise of holding one type of right can be obtained. This data on the usage status of rights can be reflected as the probability that a user does not use marketing right i under the premise of holding marketing right j, i.e., the third probability. Finally, by comparing the third probability with a preset threshold, the empirical value of the user's use of marketing right i under the premise of holding marketing right j can be obtained. Each empirical value can be used as the basis for formulating subsequent rights allocation rules, thus providing interpretability for the final determination of whether to issue rights to users.

[0013] In one possible implementation method, determining the third probability of not using marketing benefit i while holding marketing benefit j, based on the historical allocation and usage of marketing benefits, includes: obtaining a historical data sample set of multiple users under n types of marketing benefits; for marketing benefit j among the n types of marketing benefits, determining a first probability based on the historical allocation of marketing benefits in the historical data sample set; the first probability representing the proportion of users holding marketing benefit j to the total number of users corresponding to the historical data sample set; determining a second probability based on the historical usage of marketing benefits in the historical data sample set; the second probability representing the proportion of users holding both marketing benefit j and marketing benefit i who did not use marketing benefit i while using marketing benefit j to the proportion of users holding marketing benefit j; and determining a third probability based on the first probability and the second probability.

[0014] The above scheme describes in detail the process of obtaining the third probability. After obtaining historical data sample sets of multiple users under n marketing rights, the probability of using marketing right j among the n marketing rights can be obtained by the proportion of users holding marketing right j in the historical data sample set to the total number of users in the corresponding historical data sample set, which is the first probability. Then, the probability that a user will not use marketing right i under the premise of holding marketing right j can be obtained by the proportion of users who hold both marketing right j and marketing right i in the historical data sample set who do not use marketing right i under the premise of using marketing right j to the proportion of users holding marketing right j, which is the second probability. Finally, based on the first and second probabilities, the third probability can be obtained. Finally, based on the third probability, the empirical value of whether a user uses marketing right i under the premise of holding marketing right j can be quickly obtained.

[0015] In one possible implementation method, the first value is 0 and the second value is 1; the step of determining the allocatable marketing rights of each user to be allocated rights through bitwise operations based on the rights allocation rules and the holding value of each user to be allocated rights includes: for any user to be allocated rights, performing an AND operation on the holding value of the user to be allocated rights and each sub-rule in the rights allocation rules to obtain a first result value corresponding to each sub-rule; wherein, if the first result value is greater than 0, it indicates that the marketing rights indicated by the corresponding sub-rule will no longer be allocated to the user to be allocated rights; if the first result value is equal to 0, it indicates that the marketing rights indicated by the corresponding sub-rule can be allocated to the user to be allocated rights.

[0016] In the above scheme, given the rights allocation rules and the holding values ​​of each user for the n types of marketing rights, for any user to be allocated rights, an AND operation can be performed on each sub-rule in the rights allocation rules based on the user's holding of the n types of marketing rights. Each sub-rule can be used to indicate whether the marketing rights indicated by the sub-rule can be issued to the user. By comparing the first result value obtained from the AND operation with 0, it can be quickly determined whether the marketing rights indicated by the current sub-rule can be issued to the user to be allocated rights. This method provides interpretability for whether a user can continue to be issued other marketing rights when the user already holds certain marketing rights.

[0017] In one possible implementation method, after determining the allocatable marketing rights of each user to be allocated through bitwise operations based on the rights allocation rules and the holding values ​​of each user to be allocated rights, the method further includes: correcting the rights allocation rules to obtain corrected rights allocation rules; for any user to be allocated rights, obtaining the unissued rights of the user to be allocated through bitwise operations based on the user's preset rights allocation plan under the n types of marketing rights and the corrected rights allocation rules; obtaining the actual rights allocation result of the user to be allocated under the n types of marketing rights based on the user's allocatable marketing rights and the user's unissued rights through bitwise operations; wherein the m-th bit in the preset rights allocation plan is a first value representing the planned allocation of m marketing rights or a second value representing the planned non-allocation of m marketing rights.

[0018] In the above scheme, the determination of allocable marketing rights for users awaiting allocation is based on their historical marketing rights. This application can further optimize the final allocation of marketing rights to users. Specifically, this includes correcting the rights allocation rules and, based on the corrected rules and a pre-set allocation plan, obtaining the user's non-issueable rights. Finally, bitwise operations are used to calculate the user's allocable and non-issueable marketing rights, yielding the true rights allocation result for the user awaiting allocation. This method, by comprehensively considering both the user's existing rights and the rights that business personnel intend to issue to the user, can accurately derive a rights allocation plan for the user.

[0019] In one possible implementation method, the step of correcting the rights allocation rule to obtain the corrected rights allocation rule includes: setting a correction matrix; the correction matrix represents the distribution of rights i, and the preset rights allocation plan includes the distribution of rights i without affecting the distribution of rights i; performing an AND operation between the rights allocation rule and the correction matrix to obtain the corrected rights allocation rule.

[0020] In the above scheme, by setting a correction matrix for the rights allocation rules, the correction matrix represents the distribution of rights i. The fact that the distribution of rights i is included in the preset rights allocation plan does not affect the distribution of rights i. Thus, by performing a bitwise AND operation between the correction matrix and the rights allocation rules, the corrected rights allocation rules can be obtained. The corrected rights allocation rules indicate that when rights i are distributed according to the preset rights allocation plan, they will not be subject to the restriction that existing rights i may exist in the original rights allocation rules but cannot be distributed.

[0021] In one possible implementation, the first value is 0 and the second value is 1; the step of obtaining the unallocable rights of the user to be allocated rights through bitwise operations based on the preset rights allocation plan of the user to be allocated rights under the n types of marketing rights and the corrected rights allocation rules includes: performing a bitwise AND operation on each correction sub-rule in the preset rights allocation plan of the user to be allocated rights under the n types of marketing rights and the corrected rights allocation rules to obtain a second result value corresponding to each correction sub-rule; wherein, a second result value greater than 0 indicates that the marketing rights indicated by the corresponding correction sub-rule cannot be allocated to the user to be allocated rights; a second result value equal to 0 indicates that the marketing rights to be allocated can be used... The process involves allocating marketing benefits to users according to corresponding correction sub-rules. The step of obtaining the actual benefit allocation result for the user under the n marketing benefits through bitwise operations, based on the user's allocatable marketing benefits and unallocable benefits, includes: obtaining third result values ​​through an OR operation based on a first result value corresponding to each sub-rule of the user and a second result value corresponding to each correction sub-rule of the user; wherein a third result value greater than 0 indicates that the user cannot be allocated the marketing benefits indicated by the corresponding sub-rule; a third result value equal to 0 indicates that the user can be allocated the marketing benefits indicated by the corresponding sub-rule.

[0022] The above scheme specifically describes how to determine a user's non-dealizable rights and the final rights distribution result. This includes performing a bitwise AND operation on the user's preset rights allocation plan under n marketing rights and each corrective sub-rule in the corrected rights allocation rules to obtain a result value (the second result value) indicating whether the marketing rights corresponding to each corrective sub-rule can be issued to the user. Then, a bitwise OR operation is performed between the first result value corresponding to each sub-rule and the second result value corresponding to each corrective sub-rule to obtain the final result indicating whether the marketing rights indicated by the current sub-rule can be issued to the user. This method, by comprehensively considering the user's existing rights and the rights to be allocated, can prevent some rights from being wasted unnecessarily, achieving the effect of maintaining or even increasing user stickiness to the product with limited marketing costs.

[0023] Secondly, embodiments of this application provide a marketing rights allocation device, which includes: a rights experience value determination unit, used to determine, based on the historical allocation and usage of marketing rights, whether to use marketing rights i under the premise of holding marketing rights j; the experience value is a first value representing that it has been used or a second value representing that it has not been used; marketing rights i and marketing rights j are any one of n types of marketing rights; a rights allocation rule determination unit, used to determine a rights allocation rule based on the experience value of each marketing right under the n types of marketing rights; a rights holding value determination unit, used to determine the holding value of any user to be allocated rights for the n types of marketing rights based on the rights holding status of any user to be allocated rights; the kth bit of the holding value is a first value representing that it already has marketing rights k or a second value representing that it does not have marketing rights k; and an allocatable marketing rights determination unit, used to determine the allocatable marketing rights of each user to be allocated rights through bitwise operations based on the rights allocation rule and the holding value of each user to be allocated rights.

[0024] Thirdly, embodiments of this application provide a computing device, including:

[0025] Memory, used to store program instructions;

[0026] A processor is configured to invoke program instructions stored in the memory and execute any implementation method of the first aspect according to the obtained program.

[0027] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions for causing a computer to perform any implementation method as described in the first aspect. Attached Figure Description

[0028] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0029] Figure 1 A schematic diagram illustrating a marketing rights allocation method provided in an embodiment of this application;

[0030] Figure 2 A schematic diagram of a marketing rights allocation device provided in an embodiment of this application;

[0031] Figure 3 This is a schematic diagram of a computing device provided in an embodiment of this application. Detailed Implementation

[0032] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0033] While current terminal devices possess valuable data that is relevant to edge devices, there is currently no solution to facilitate data transactions between terminal and edge devices to maximize the effectiveness of these transactions.

[0034] The current scheme for allocating marketing benefits is primarily based on business personnel subjectively assigning benefits to a batch of users based on the fact that each user already holds certain benefits, thus avoiding issuing additional benefits to them. Clearly, this scheme lacks interpretability in the process of allocating marketing benefits to users, and the sequential allocation method is unsuitable for scenarios with large amounts of user data. In other words, the efficiency of the current benefit allocation scheme needs improvement.

[0035] To address the aforementioned technical problems, embodiments of this application provide a method for allocating marketing rights. For example... Figure 1 The diagram shown is a schematic representation of a marketing rights allocation method provided in an embodiment of this application. The method includes the following steps:

[0036] Step 101: Based on the historical allocation and usage of marketing rights, determine the experience value of whether to use marketing rights i while holding marketing rights j.

[0037] Wherein, the empirical value represents either a first value that has been used or a second value that has not been used; i marketing rights and j marketing rights are any one of n types of marketing rights.

[0038] In one implementation of step 101 above, determining the empirical value of whether to use marketing right i under the premise of holding marketing right j based on the historical allocation and usage of marketing rights includes: determining a third probability of not using marketing right i under the premise of holding marketing right j based on the historical allocation and usage of marketing rights; if the third probability is less than a preset threshold, then Bij is determined as a first value representing that it has been used; Bij represents whether marketing right i has been used under the premise of holding marketing right j; if the third probability is not less than the preset threshold, then Bij is determined as a second value representing that it has not been used.

[0039] In some embodiments of this application, determining the third probability of not using marketing benefit i while holding marketing benefit j, based on the historical allocation and usage of marketing benefits, includes: obtaining a historical data sample set of multiple users under n types of marketing benefits; for marketing benefit j among the n types of marketing benefits, determining a first probability based on the historical allocation of marketing benefits in the historical data sample set; the first probability representing the proportion of users holding marketing benefit j to the total number of users corresponding to the historical data sample set; determining a second probability based on the historical usage of marketing benefits in the historical data sample set; the second probability representing the proportion of users holding both marketing benefit j and marketing benefit i who did not use marketing benefit i while using marketing benefit j to the proportion of users holding marketing benefit j; and determining a third probability based on the first probability and the second probability.

[0040] For example, in this embodiment of the application, the scheme is illustrated using n=4. That is, when a salesperson markets a product to a user, they can offer four marketing benefits: E1, E2, E3, and E4. Let's assume that a historical data sample set of users is obtained from the salesperson's marketing of the product over a historical period. Let the obtained historical data sample set include Y users, and let X1 users hold marketing benefit E1, X2 users hold marketing benefit E2, X3 users hold marketing benefit E3, and X4 users hold marketing benefit E4. Therefore, for any one of the four marketing benefits (E1, E2, E3, E4), the probability of each user under each benefit can be calculated, i.e., the first probability:

[0041] P(E1) = X1 / Y

[0042] P(E2) = X2 / Y

[0043] P(E3) = X3 / Y

[0044] P(E4) = X4 / Y

[0045] Furthermore, we can examine the X1 users holding the E1 marketing right. Let's assume that the examination reveals 1 user with an expired and unused E1 right, 2 users with an expired and unused E2 right, 3 users with an expired and unused E3 right, and 4 users with an expired and unused E4 right. Then we can calculate the probability that an user holds the E1 marketing right even if their E1 right has expired and is not used, i.e., the second probability:

[0046] P(E1∩E1)=1 / X1

[0047] P(E2∩E1)=2 / X2

[0048] P(E3∩E1)=3 / X3

[0049] P(E4∩E1)=4 / X4

[0050] Therefore, by combining P(E1) and P(E1∩E1), we can obtain the probability of holding the marketing right E1 while simultaneously abandoning its use, i.e., the third probability:

[0051] P(E1|E1)=P(E1∩E1) / P(E1)=(1 / X1) / X1 / Y=1 / Y

[0052] Similarly, by combining P(E2) and P(E2∩E1), we can obtain the probability of holding marketing right E2 while simultaneously abandoning the use of marketing right E1, i.e., the third probability:

[0053] P(E2|E1)=P(E2∩E1) / P(E1)=(2 / X1) / X1 / Y=2 / Y

[0054] Similarly, by combining P(E3) and P(E3∩E1), we can obtain the probability of holding marketing right E3 while simultaneously abandoning marketing right E1, i.e., the third probability:

[0055] P(E3|E1)=P(E3∩E1) / P(E1)=(3 / X1) / X1 / Y=3 / Y

[0056] Similarly, by combining P(E4) and P(E4∩E1), we can obtain the probability of holding marketing right E4 while simultaneously abandoning the use of marketing right E1, i.e., the third probability:

[0057] P(E4|E1)=P(E4∩E1) / P(E1)=(4 / X1) / X1 / Y=4 / Y

[0058] Thus, taking the third probability P(E1|E1) among the four third probabilities mentioned above as an example, by comparing this third probability with a preset threshold P0, if the third probability is not less than P0, it is determined that the marketing benefit E1 should not be issued to the user if the user already has it; if the third probability is less than P0, it is determined that the marketing benefit E1 can still be issued to the user if the user already has it. The conclusion regarding whether the marketing benefit E1 can still be issued to a user if the user already has it can be reached through B. 11 Let B be an expression where the third probability is not less than P0. 11 Let it be 1. If the third probability is less than P0, then B 11 It is denoted as 0. Where "B" 11 In the subscript "E1", the first "1" from left to right indicates whether the marketing benefit can be issued to the user, i.e., whether the marketing benefit E1 can be issued to the user. The second "1" from left to right indicates that the user already has the marketing benefit, i.e., the user already has the marketing benefit E1, which is also known as B. 11 This expresses the question of whether a user who already possesses the E1 marketing benefit can continue to receive the E1 marketing benefit.

[0059] For example, suppose that after comparing the third probability P(E1|E1) with a preset threshold value P0, it is determined that P(E1|E1) is less than P0, then B 11 The value can be recorded as 0; where "0" means that the user can still receive the E1 marketing right when they hold it.

[0060] Based on the same logic, suppose that after comparing the third probability P(E2|E1) with the preset threshold value P0, it is determined that P(E2|E1) is not less than P0, then B 12 The value can be recorded as 1; where "1" means that when a user holds the marketing right E2, the marketing right E1 cannot be issued to them.

[0061] Following the same logic, suppose that after comparing the third probability P(E3|E1) with the preset threshold P0, it is determined that P(E1|E1) is less than P0, then B 13 The value can be recorded as 0; where "0" means that even if a user holds the E3 marketing right, the E1 marketing right can still be issued to them.

[0062] Following the same logic, suppose that after comparing the third probability P(E4|E1) with the preset threshold value P0, it is determined that P(E4|E1) is not less than P0, then B 14 The value can be recorded as 1; where "1" means that when a user holds the marketing right E4, the marketing right E1 cannot be issued to them.

[0063] Step 102: Determine the rights allocation rules based on the empirical value of each marketing right under n marketing rights.

[0064] Based on the calculation of the experience value in step 101, this application proposes that after calculating the experience value on a historical data sample set containing Y users, the rights allocation rules for the four marketing rights, E1, E2, E3, and E4, can be expressed by the following matrix 1:

[0065]

[0066] Specifically, regarding the equity allocation rules shown in Matrix 1 above, the following explanation is provided:

[0067] The first row of Matrix 1 represents the sub-rule of whether E1 marketing benefits can continue to be issued to a user given that the user already possesses certain marketing benefits. The specific analysis is as follows:

[0068] Because of B 11 This indicates whether, while a user already holds the E1 marketing benefit, it is possible to determine whether the E1 marketing benefit can still be issued to them; among which, due to B 11 The value of is 0, therefore, B 11 (0) indicates that the marketing rights can still be issued to users who hold E1 marketing rights;

[0069] Because of B 12 This indicates whether, while a user already holds the E2 marketing benefit, it is possible to determine whether the E1 marketing benefit can still be issued to them; whereby B... 12 The value of B is 1, therefore, B 12 (1) This means that when a user holds the marketing right E2, the marketing right E1 cannot be issued to them;

[0070] Because of B 13 This indicates whether, while a user already holds the E3 marketing benefit, it is possible to determine whether the E1 marketing benefit can also be issued to them; among which, due to B 13 The value of is 0, therefore, B 13 (0) indicates that while a user holds the marketing right E3, the marketing right E1 can still be issued to them;

[0071] Because of B 14This indicates whether, while a user already holds the E4 marketing benefit, it is possible to determine whether the E1 marketing benefit can still be issued to them; where, due to B... 14 The value of B is 1, therefore, B 14 (1) This means that when a user holds the marketing right E4, the marketing right E1 cannot be issued to them;

[0072] The second row of matrix 1 represents the sub-rule of whether E2 marketing benefits can be continued to be issued to a user given that the user already possesses a certain marketing benefit. The specific analysis is as follows:

[0073] Because of B 21 This indicates whether, while a user already holds the E1 marketing benefit, it is possible to issue the E2 marketing benefit to them; where, due to B... 21 The value of B is 1, therefore, B 21 (1) This means that when a user holds the marketing right E1, the marketing right E2 cannot be issued to them;

[0074] Because of B 22 This indicates whether, while a user already holds the E2 marketing benefit, it is possible to determine whether the E2 marketing benefit can still be issued to them; among which, due to B 22 The value of B is 1, therefore, B 22 (1) This means that when a user holds the marketing right E2, the marketing right E2 cannot be issued to them;

[0075] Because of B 23 This indicates whether, while a user already holds the E3 marketing benefit, it is possible to determine whether the E2 marketing benefit can also be issued to them; where, due to B... 23 The value of is 0, therefore, B 23 (0) indicates that while a user holds the marketing right E3, the marketing right E2 can still be issued to them;

[0076] Because of B 24 This indicates whether, while a user already holds the E4 marketing benefit, it is possible to determine whether the E2 marketing benefit can also be issued to them; where, due to B... 24 The value of is 0, therefore, B 24 (0) indicates that while a user holds the marketing right E4, the marketing right E2 can still be issued to them;

[0077] The third row of matrix 1 represents the sub-rule of whether E3 marketing benefits can be continued to be issued to a user given that the user already possesses certain marketing benefits. The specific analysis is as follows:

[0078] Because of B 31 This indicates whether, while a user already holds the E1 marketing benefit, it is possible to issue the E3 marketing benefit to them; among which, due to B 31 The value of is 0, therefore, B 31(0) indicates that while a user holds the marketing right E1, the marketing right E3 can still be issued to them;

[0079] Because of B 32 This indicates whether, while a user already holds the E2 marketing benefit, it is possible to determine whether the E3 marketing benefit can also be issued to them; among which, due to B 32 The value of B is 1, therefore, B 32 (1) indicates that when a user holds the marketing right E2, the marketing right E3 cannot be issued to them;

[0080] Because of B 33 This indicates whether a user who already holds the E3 marketing benefit can still receive the E3 marketing benefit; among which, due to B 33 The value of B is 1, therefore, B 33 (1) This means that when a user holds the E3 marketing right, the E3 marketing right cannot be issued to them;

[0081] Because of B 34 This indicates whether, while a user already holds the E4 marketing benefit, it is possible to determine whether the E3 marketing benefit can also be issued to them; among which, due to B 34 The value of B is 1, therefore, B 34 (1) This means that when a user holds the marketing right E4, the marketing right E3 cannot be issued to them;

[0082] The fourth row of matrix 1 represents the sub-rule of whether to continue issuing E4 marketing benefits to a user who already possesses a certain marketing benefit. The specific analysis is as follows:

[0083] Because of B 41 This indicates whether, while a user already holds the E1 marketing benefit, it is possible to determine whether the E4 marketing benefit can also be issued to them; whereby B... 41 The value of B is 1, therefore, B 41 (1) This means that when a user holds the marketing right E1, the marketing right E4 cannot be issued to them;

[0084] Because of B 42 This indicates whether, while a user already holds the E2 marketing benefit, it is possible to determine whether the E4 marketing benefit can also be issued to them; where, due to B... 42 The value of is 0, therefore, B 42 (0) indicates that while a user holds the marketing right E2, the marketing right E4 can still be issued to them;

[0085] Because of B 43 This indicates whether, while a user already holds the E3 marketing benefit, it is possible to determine whether the E4 marketing benefit can also be issued to them; among which, due to B 43 The value of B is 1, therefore, B 43(1) This means that when a user holds the marketing right E3, the marketing right E4 cannot be issued to them;

[0086] Because of B 44 This indicates whether a user who already holds the E4 marketing benefit can still receive the E4 marketing benefit; among which, due to B 44 The value of B is 1, therefore, B 44 (1) This means that when a user holds the marketing right E4, the marketing right E4 cannot be issued to them.

[0087] Step 103: Based on the rights holding status of any user to be allocated rights, determine the holding value of the user for the n types of marketing rights; the kth digit of the holding value is either a first value indicating that the user already has k marketing rights or a second value indicating that the user does not have k marketing rights.

[0088] For example, continuing the above example, in this embodiment of the application, it is further assumed that there are three users, User 1, User 2, and User 3, who are the users whose rights are to be allocated. Wherein:

[0089] Assuming that for user 1, before the allocation of rights for him / her is determined, user 1's holding of the four marketing rights E1, E2, E3 and E4 is as follows: user 1 holds three marketing rights E1, E2 and E4, but does not hold marketing right E3.

[0090] Assuming that for user 2, before the allocation of rights for him / her is determined, user 2's holding of the four marketing rights E1, E2, E3, and E4 is as follows: user 1 holds three marketing rights E1, E3, and E4, but does not hold marketing right E2.

[0091] Assuming that before determining the allocatable rights for user 3, user 1's holdings of the four marketing rights E1, E2, E3, and E4 were as follows: user 1 only held marketing right E3 and did not hold marketing rights E1, E2, or E4.

[0092] Therefore, the holdings of the four marketing rights (E1, E2, E3, and E4) by users 1, 2, and 3 respectively can be represented by the following matrix 2:

[0093]

[0094] Regarding the user holdings of marketing rights shown in Matrix 2 above, the following explanation is provided:

[0095] With b 11 (1) For example, “b 11 (1)”b 11"The first '1' from left to right in the subscript represents user 1, the second '1' represents E1 marketing benefits, and the 'b' represents..." 11 In “(1)”, “(1)” indicates the holding status of user 1's E1 marketing rights. In this embodiment, if the user holds marketing rights, it is identified by “1”, and if the user does not hold marketing rights, it is identified by “0”. Therefore, b 11 (1) The meaning expressed is that user 1 holds E1 marketing rights.

[0096] Therefore, for the first row in matrix 2, b 11 (1) This indicates that User 1 holds E1 marketing rights, b 12 (1) This indicates that User 1 holds E2 marketing rights, b 13 (0) indicates that user 1 does not hold E3 marketing rights. 14 (1) This indicates that User 1 holds E4 marketing rights;

[0097] Similarly, for the second row of matrix 2, b 11 (1) This indicates that User 2 holds E1 marketing rights, b 12 (1) This indicates that User 2 holds E2 marketing rights, b 13 (0) indicates that user 2 does not hold E3 marketing rights. 14 (1) This indicates that User 2 holds E4 marketing rights;

[0098] Similarly, for the third row in matrix 3, b 11 (1) This indicates that user 3 holds E1 marketing rights, b 12 (1) This indicates that user 3 holds E2 marketing rights, b 13 (0) indicates that user 3 does not hold E3 marketing rights. 14 (1) indicates that user 3 holds E4 marketing rights.

[0099] Step 104: Based on the rights allocation rules and the holding value of each user to be allocated rights, determine the allocatable marketing rights of each user to be allocated rights through bitwise operations.

[0100] Based on the rights allocation rules obtained in step 102 and the holding values ​​of each marketing right of the user to be allocated rights obtained in step 103, the distributable marketing rights of the user to be allocated rights can be obtained through bitwise operations.

[0101] In one implementation of step 104 above, the first value is 0 and the second value is 1; the step of determining the allocatable marketing rights of each user to be allocated rights through bitwise operations based on the rights allocation rules and the holding value of each user to be allocated rights includes: for any user to be allocated rights, performing an AND operation on the holding value of the user to be allocated rights and each sub-rule in the rights allocation rules to obtain a first result value corresponding to each sub-rule; wherein, if the first result value is greater than 0, it indicates that the marketing rights indicated by the corresponding sub-rule will no longer be allocated to the user to be allocated rights; if the first result value is equal to 0, it indicates that the marketing rights indicated by the corresponding sub-rule can be allocated to the user to be allocated rights.

[0102] For example, continuing the previous example, the first row of matrix 1 represents the sub-rule of whether to continue issuing marketing rights E1 to a user given that the user already possesses certain marketing rights. Then, by performing a bitwise AND operation between user 1's holdings of the four marketing rights E1, E2, E3, and E4 (i.e., the first row of matrix 2) and the first row of matrix 1, we can determine whether marketing rights E1 are distributable marketing rights for user 1. Specifically:

[0103] B 11 (0) B 12 (1) B 13 (0) B 14 (1)

[0104] With b 11 (1) b 12 (1) b 13 (0) b 14 (1) After performing the AND operation, the result (i.e., the first result value) is used with g. 11 It means that g 11 The corresponding values ​​are 0 1 0 1, which have a binary value of 5. Since 5 is greater than 0, according to the rights allocation rules, when User 1 holds E1, E2, and E4, the E1 marketing rights are no longer allocated to User 1. Among these, g... 11 The first "1" in the subscript represents user 1, and the second "1" indicates whether the E1 marketing rights are the allocatable marketing rights of user 1.

[0105] Similarly, the second row of matrix 1 represents the sub-rule of whether to continue issuing marketing rights E2 to a user given that the user already possesses certain marketing rights. Therefore, by performing a bitwise AND operation between user 1's holdings of the four marketing rights E1, E2, E3, and E4 (i.e., the first row of matrix 2) and the second row of matrix 1, we can determine whether marketing rights E2 are distributable marketing rights for user 1. Specifically:

[0106] B 21(1) B 22 (1) B 23 (0) B 24 (0)

[0107] With b 11 (1) b 12 (1) b 13 (0) b 14 (1) After performing the AND operation, the result (i.e., the first result value) is used with g. 12 It means that g 12 The corresponding binary value is 12, which is greater than 0. Therefore, according to the rights allocation rules, when User 1 holds E1, E2, and E4, the E2 rights are no longer distributable rights for User 1. Where g... 12 The "1" in the subscript represents user 1, and "2" indicates whether the E2 marketing rights are the allocatable marketing rights of user 1.

[0108] Following the same logic, it can also be calculated whether the E3 marketing rights are allocable marketing rights for user 1, where g 13 The corresponding values ​​are 0 1 0 1, indicating that when User 1 holds E1, E2, and E4, the E3 marketing rights are no longer an allocatable right for User 1; and whether the E4 marketing rights are an allocatable marketing right for User 1, where g 14 The corresponding value is 1 0 0 1, which means that when User 1 holds E1, E2, and E4, the E4 marketing rights are no longer distributable rights for User 1.

[0109] Following the same calculation principle as for User 1, it can also be determined whether the E1 marketing rights are allocable marketing rights for User 2, where g 21 The corresponding value is 0 0 0 1, meaning that when User 2 holds E1, E3, and E4, the E1 marketing rights are no longer distributable rights for User 2; whether the E2 marketing rights are distributable marketing rights for User 2, where g 22 The corresponding value is 1 0 0 0, meaning that when User 2 holds E1, E3, and E4, the E2 marketing rights are no longer distributable rights for User 2; whether the E3 marketing rights are distributable marketing rights for User 2, where g 23 The corresponding values ​​are 0 0 1 1, meaning that when User 2 holds E1, E3, and E4, the E3 marketing rights are no longer distributable rights for User 2; whether the E4 marketing rights are distributable marketing rights for User 2 depends on g. 24 The corresponding value is 1 01 1, which means that when User 2 holds E1, E3, and E4, the E4 marketing rights are no longer an allocatable right for User 2.

[0110] Following the same calculation principle as for User 1, it can also be determined whether the E1 marketing rights are allocable marketing rights for User 3, where g 31 The corresponding value is 0 0 0 0, which means that when User 3 only holds E3, the E1 marketing rights are the distributable rights of User 3; whether the E2 marketing rights are the distributable marketing rights of User 3, where g 32 The corresponding value is 0 0 0 0, meaning that when User 3 only holds E3, the E2 marketing rights are allocable rights for User 3; whether the E3 marketing rights are allocable marketing rights for User 3 depends on g. 33 The corresponding value is 0 0 1 0, which means that when User 3 only holds E3, the E3 marketing rights are no longer distributable rights for User 3; whether the E4 marketing rights are distributable marketing rights for User 3, where g 34 The corresponding value is 0 0 1 0, which means that when User 3 only holds E3, the E4 marketing rights are no longer an allocatable right for User 3.

[0111] In the above scheme, by analyzing the usage of issued rights by a large number of users in historical periods, data on the usage status of one type of right while holding another type of right can be obtained. Based on the data on the usage status of these rights, objective rights allocation rules involving n types of rights can be obtained. Based on the obtained rights allocation rules, for any user whose rights need to be determined, it can be quickly determined whether other rights can be issued to them based on their holding of the n types of rights. In this way, some marketing rights can be avoided from being wasted.

[0112] In one implementation of step 104 above, after determining the allocatable marketing rights of each user based on the rights allocation rules and the holding value of each user to be allocated rights through bitwise operations, the method further includes: correcting the rights allocation rules to obtain corrected rights allocation rules; for any user to be allocated rights, obtaining the unissued rights of the user to be allocated through bitwise operations based on the user's preset rights allocation plan under the n types of marketing rights and the corrected rights allocation rules; obtaining the actual rights allocation result of the user to be allocated under the n types of marketing rights based on the user's allocatable marketing rights and the user's unissued rights through bitwise operations; the m-th bit in the preset rights allocation plan is a first value representing the planned allocation of m marketing rights or a second value representing the planned non-allocation of m marketing rights.

[0113] In some embodiments of this application, the step of correcting the rights allocation rule to obtain the corrected rights allocation rule includes: setting a correction matrix; the correction matrix represents the distribution of rights i, and the preset rights allocation plan including the distribution of rights i does not affect the distribution of rights i; performing an AND operation between the rights allocation rule and the correction matrix to obtain the corrected rights allocation rule.

[0114] For example, continuing the previous example, when there are a total of four marketing benefits: E1, E2, E3, and E4, the correction matrix for adjusting the benefit allocation rules obtained based on the user's historical data sample set can be set as follows:

[0115]

[0116]

[0117] Based on the aforementioned correction matrix, the equity allocation rules can be corrected to obtain corrected equity allocation rules. Specifically, this includes:

[0118] Performing a bitwise AND operation between the first row of matrix 1 and the first row of matrix 3 yields the rules for distributing E1 marketing benefits when a user wishes to be allocated certain benefits:

[0119] This means performing a bitwise AND operation between 0 1 0 1 and 0 1 1 1, resulting in 0 1 0 1.

[0120] Performing a bitwise AND operation between the second row of matrix 1 and the second row of matrix 3 yields the rules for distributing E2 marketing benefits when a user wishes to be allocated certain benefits:

[0121] This means performing a bitwise AND operation between 1 1 0 0 and 1 0 1 1, resulting in 1 0 0 0;

[0122] Performing a bitwise AND operation between the third row of matrix 1 and the third row of matrix 3 yields the rules for distributing E3 marketing benefits when a user wishes to be allocated certain benefits:

[0123] This means performing a bitwise AND operation between 0 1 1 1 and 1 1 0 1, resulting in 0 1 0 1.

[0124] Performing a bitwise AND operation between the fourth row of matrix 1 and the fourth row of matrix 3 yields the rules for distributing E4 marketing benefits when a user wishes to be allocated certain benefits:

[0125] This means performing a bitwise AND operation between 1 0 1 1 and 1 1 1 0, resulting in 1 0 1 0.

[0126] In summary, the corrected rights allocation rules can be represented by the following matrix 4:

[0127]

[0128] In some embodiments of this application, the first value is 0, and the second value is 1; the step of obtaining the unallocable rights of the user to be allocated rights through bitwise operations based on the preset rights allocation plan of the user to be allocated rights under the n types of marketing rights and the corrected rights allocation rules includes: performing a bitwise AND operation on each correction sub-rule in the preset rights allocation plan of the user to be allocated rights under the n types of marketing rights and the corrected rights allocation rules to obtain a second result value corresponding to each correction sub-rule; wherein, a second result value greater than 0 indicates that the marketing rights indicated by the corresponding correction sub-rule cannot be allocated to the user to be allocated rights; a second result value equal to 0 indicates that the marketing rights to be allocated can be used... The process involves allocating marketing benefits to users according to corresponding correction sub-rules. The step of obtaining the actual benefit allocation result for the user under the n marketing benefits through bitwise operations, based on the user's allocatable marketing benefits and unallocable benefits, includes: obtaining third result values ​​through an OR operation based on a first result value corresponding to each sub-rule of the user and a second result value corresponding to each correction sub-rule of the user; wherein a third result value greater than 0 indicates that the user cannot be allocated the marketing benefits indicated by the corresponding sub-rule; a third result value equal to 0 indicates that the user can be allocated the marketing benefits indicated by the corresponding sub-rule.

[0129] For example, continuing the previous example, for the three users, User 1, User 2, and User 3, who are yet to receive benefits, suppose the marketing personnel plan to allocate the marketing benefits to these three users as follows:

[0130]

[0131] The following is an explanation of matrix 5:

[0132] For the first row of matrix 5 above, the first "0" indicates that the business personnel do not plan to allocate E1 marketing rights to user 1, the second "0" indicates that the business personnel do not plan to allocate E2 marketing rights to user 1, the third "0" indicates that the business personnel do not plan to allocate E3 marketing rights to user 1, and the fourth "0" indicates that the business personnel do not plan to allocate E4 marketing rights to user 1.

[0133] Regarding the second row of matrix 5 above, the first "1" indicates that the business personnel plan to allocate E1 marketing benefits to user 2, the second "1" indicates that the business personnel plan to allocate E2 marketing benefits to user 2, the third "1" indicates that the business personnel plan to allocate E3 marketing benefits to user 2, and the fourth "1" indicates that the business personnel plan to allocate E4 marketing benefits to user 2.

[0134] Regarding the third row of matrix 5 above, the first "1" indicates that the business personnel plan to allocate E1 marketing benefits to user 3, the second "0" indicates that the business personnel do not plan to allocate E2 marketing benefits to user 3, the third "1" indicates that the business personnel plan to allocate E3 marketing benefits to user 3, and the fourth "1" indicates that the business personnel do not plan to allocate E4 marketing benefits to user 3.

[0135] After obtaining the corrected rights allocation rules (i.e., matrix 4) and the rights pre-allocation scheme designed by the business personnel for users to be allocated rights (i.e., matrix 5), by performing a bitwise AND operation on matrix 4 and matrix 5, we can obtain whether each user to be allocated rights is allowed to receive the rights indicated by the current rights allocation rules, given that they are simultaneously to be allocated certain rights. Specifically:

[0136] 1. For User 1:

[0137] Perform a bitwise AND operation between the first row of matrix 5 and the first row of matrix 4, that is, perform a bitwise AND operation between 0 0 0 0 and 0 1 0 1, and use g' to calculate the result. 11 It means that, among them, g' 11 The corresponding value is 0 0 0 0, which is 0 in binary. Since 0 = 0, according to the corrected rights and benefits allocation rules, if the business personnel do not expect to issue any of the marketing rights and benefits of E1, E2, E3, and E4 to user 1, the rule indicates that the marketing rights and benefits of E1 can be issued to user 1.

[0138] Perform a bitwise AND operation between the first row of matrix 5 and the second row of matrix 4, that is, perform a bitwise AND operation between 0 0 0 0 and 1 0 0 0. Use g' to calculate the result. 12 It means that, among them, g' 12 The corresponding value is 0 0 0 0, which is 0 in binary. Since 0 = 0, according to the corrected rights and benefits allocation rules, if the business personnel do not expect to issue any of the marketing rights and benefits E1, E2, E3, and E4 to user 1, the rule indicates that marketing rights and benefits E2 can be issued to user 1.

[0139] Perform a bitwise AND operation between the first row of matrix 5 and the third row of matrix 4, that is, perform a bitwise AND operation between 0 0 0 0 and 0 1 0 1. Use g' to calculate the result. 13 It means that, among them, g'13 The corresponding value is 0 0 0 0, which is 0 in binary. Since 0 = 0, according to the corrected rights and benefits allocation rules, if the business personnel do not expect to issue any of the marketing rights and benefits of E1, E2, E3, and E4 to user 1, the rule indicates that marketing rights and benefits of E3 can be issued to user 1.

[0140] Perform a bitwise AND operation between the first row of matrix 5 and the fourth row of matrix 4, that is, perform a bitwise AND operation between 0 0 0 0 and 1 0 1 0. Use g' to calculate the result. 14 It means that, among them, g' 14 The corresponding value is 0 0 0 0, which is 0 in binary. Since 0 = 0, according to the corrected rights and benefits allocation rules, if the business personnel do not expect to issue any of the marketing rights and benefits E1, E2, E3, and E4 to user 1, the rule indicates that marketing rights and benefits E4 can be issued to user 1.

[0141] 2. For User 2:

[0142] Perform a bitwise AND operation between the second row of matrix 5 and the first row of matrix 4, that is, perform a bitwise AND operation between 1 1 1 1 and 0 1 0 1. Use g' to calculate the result. 21 It means that, among them, g' 21 The corresponding value is 0 1 0 1, which corresponds to a binary value of 5. Since 5 is greater than 0, according to the corrected rights and benefits allocation rules, when the business personnel plan to issue E1, E2, E3 and E4 marketing rights to user 2, the rule indicates that E1 marketing rights cannot be issued to user 2.

[0143] Perform a bitwise AND operation between the second row of matrix 5 and the second row of matrix 4, that is, perform a bitwise AND operation between 1 1 1 1 and 1 0 0 0. Use g' to calculate the result. 22 It means that, among them, g' 22 The corresponding value is 1 0 0 0, which has a binary value of 8. Since 8 is greater than 0, according to the corrected rights and benefits allocation rules, when the business personnel plan to issue E1, E2, E3 and E4 marketing rights to user 2, the rule indicates that E2 marketing rights cannot be issued to user 2.

[0144] Perform a bitwise AND operation between the second row of matrix 5 and the third row of matrix 4, that is, perform a bitwise AND operation between 1 1 1 1 and 0 1 0 1. Use g' to calculate the result. 23 It means that, among them, g' 23 The corresponding value is 0 1 0 1, which corresponds to a binary value of 5. Since 5 is greater than 0, according to the corrected rights and benefits allocation rules, when the business personnel plan to issue E1, E2, E3 and E4 marketing rights to user 2, the rule indicates that E3 marketing rights cannot be issued to user 2.

[0145] Perform a bitwise AND operation between the second row of matrix 5 and the fourth row of matrix 4, that is, perform a bitwise AND operation between 1 1 1 1 and 1 0 1 0. Use g' to calculate the result. 24 It means that, among them, g' 24 The corresponding binary value is 10, which is greater than 0. Therefore, according to the corrected rights and benefits allocation rules, when the business personnel expect to issue E1, E2, E3 and E4 marketing rights to user 2, the rule indicates that E4 marketing rights cannot be issued to user 2.

[0146] 3. For user 3:

[0147] Perform a bitwise AND operation between the third row of matrix 5 and the first row of matrix 4, that is, perform a bitwise AND operation between 1 0 1 0 and 0 1 0 1. Use g' to calculate the result. 31 It means that, among them, g' 31 The corresponding value is 0 0 0 0, which is 0 in binary. Since 0 = 0, according to the corrected rights and benefits allocation rules, when the business personnel expect to issue E1 and E3 marketing rights to user 3, the rule indicates that it is possible to issue E1 marketing rights to user 3.

[0148] Perform a bitwise AND operation between the third row of matrix 5 and the second row of matrix 4, that is, perform a bitwise AND operation between 1 0 1 0 and 1 0 0 0, and use g' to calculate the result. 32 It means that, among them, g' 32 The corresponding value is 1 0 0 0, which has a binary value of 8. Since 8 is greater than 0, according to the corrected rights and benefits allocation rules, when the business personnel expect to issue E1 and E3 marketing rights to user 3, the rule indicates that E2 marketing rights cannot be issued to user 3.

[0149] Perform a bitwise AND operation between the third row of matrix 5 and the third row of matrix 4, that is, perform a bitwise AND operation between 1 0 1 0 and 0 1 0 1. Use g' to calculate the result. 33 It means that, among them, g' 33 The corresponding value is 0 0 0 0, which is 0 in binary. Since 0 = 0, according to the corrected rights and benefits allocation rules, when the business personnel expect to issue E1 and E3 marketing rights to user 3, the rule indicates that E3 marketing rights can be issued to user 3.

[0150] Perform a bitwise AND operation between the third row of matrix 5 and the fourth row of matrix 4, that is, perform a bitwise AND operation between 1 0 1 0 and 1 0 1 0. Use g' to calculate the result. 34 It means that, among them, g' 34The corresponding binary value is 10, which is greater than 0. Therefore, according to the corrected rights and benefits allocation rules, when the business personnel expect to issue E1 and E3 marketing rights to user 3, the rule indicates that E4 marketing rights cannot be issued to user 3.

[0151] Based on the previously obtained allocatable rights to users, by combining the obtained non-allocable rights to users, we can obtain the final rights allocation scheme for users, that is, the actual rights allocation result.

[0152] For example, for user 1:

[0153] By g 11 with g' 11 Execution or calculation will accurately determine whether E1 marketing benefits can be issued to user 1; where g 11 with g' 11 The result of the OR operation is 0 1 0 1, which corresponds to a binary value of 5. Since 5 is greater than 0, it means that E1 marketing benefits cannot be issued to user 1 this time.

[0154] By g 12 with g' 12 Execution or calculation will allow for an accurate determination of whether E2 marketing benefits can be issued to user 1; where g 12 with g' 12 The result of the OR operation is 1 1 0 0, which corresponds to a binary value of 12. Since 12 is greater than 0, it means that E2 marketing benefits cannot be issued to user 1 this time.

[0155] By g 13 with g' 13 Execution or calculation will accurately determine whether E3 marketing benefits can be issued to user 1; where g 13 with g' 13 The result of the OR operation is 0 1 0 1, which corresponds to a binary value of 5. Since 5 is greater than 0, it means that E3 marketing benefits cannot be issued to user 1 this time.

[0156] By g 14 with g' 14 Execution or calculation will accurately determine whether E4 marketing benefits can be issued to user 1; where g 14 with g' 14 The result of the OR operation is 1 0 0 1, which corresponds to a binary value of 9. Since 9 is greater than 0, it means that E4 marketing benefits cannot be issued to user 1 this time.

[0157] For example, for user 2:

[0158] By g 21with g' 21 Execution or calculation will accurately determine whether E1 marketing benefits can be issued to user 2; where g 21 with g' 21 The result of the OR operation is 0 1 0 1, which corresponds to a binary value of 5. Since 5 is greater than 0, it means that E1 marketing benefits cannot be issued to user 2 this time.

[0159] By g 22 with g' 22 Execution or calculation will accurately determine whether E2 marketing benefits can be issued to user 2; where g 22 with g' 22 The result of the OR operation is 1 0 0 0, which corresponds to a binary value of 8. Since 8 is greater than 0, it means that E2 marketing benefits cannot be issued to user 2 this time.

[0160] By g 23 with g' 23 Execution or calculation will accurately determine whether E3 marketing benefits can be issued to user 2; where g 23 with g' 23 The result of the OR operation is 0 1 0 1, which corresponds to a binary value of 5. Since 5 is greater than 0, it means that E3 marketing benefits cannot be issued to user 2 this time.

[0161] By g 24 with g' 24 Execution or calculation will accurately determine whether E4 marketing benefits can be issued to user 2; where g 24 with g' 24 The result of the OR operation is 1 0 1 1, which corresponds to a binary value of 11. Since 11 is greater than 0, it means that E4 marketing benefits cannot be issued to user 2 this time.

[0162] For example, for user 3:

[0163] By g 31 with g' 31 Execution or calculation will accurately determine whether E1 marketing benefits can be issued to user 3; where g 31 with g' 31 The result of the OR operation is 0 0 0 0, which corresponds to a binary value of 0. Since 0 = 0, it means that E1 marketing benefits can be issued to user 3 this time.

[0164] By g 32 with g' 32 Execution or calculation will accurately determine whether E2 marketing benefits can be issued to user 3; where g 32 with g' 32The result of the OR operation is 1 0 0 0, which corresponds to a binary value of 8. Since 8 is greater than 0, it means that E2 marketing benefits cannot be issued to user 3 this time.

[0165] By g 33 with g' 33 Execution or calculation will accurately determine whether E3 marketing benefits can be issued to user 3; where g 33 with g' 33 The result of the OR operation is 0 0 1 1, which corresponds to a binary value of 3. Since 3 is greater than 0, it means that E3 marketing benefits cannot be issued to user 3 this time.

[0166] By g 34 with g' 34 Execution or calculation will accurately determine whether E4 marketing benefits can be issued to user 3; where g 34 with g' 34 The result of the OR operation is 1 0 1 0, which corresponds to a binary value of 10. Since 10 is greater than 0, it means that E4 marketing benefits cannot be issued to user 3 this time.

[0167] Based on the same concept, embodiments of this application provide a marketing rights allocation device, such as... Figure 2 The diagram shown is a schematic of a marketing rights allocation device provided in an embodiment of this application. The device includes a rights experience value determination unit 201, a rights allocation rule determination unit 202, a rights holding value determination unit 203, and an allocatable marketing rights determination unit 204.

[0168] The rights experience value determination unit 201 is used to determine, based on the historical allocation and usage of marketing rights, whether to use marketing rights i under the premise of holding marketing rights j; the experience value is a first value representing that it has been used or a second value representing that it has not been used; marketing rights i and marketing rights j are any one of n types of marketing rights;

[0169] The rights allocation rule determination unit 202 is used to determine the rights allocation rule based on the empirical value of each marketing right under n marketing rights;

[0170] The rights holding value determination unit 203 is used to determine the holding value of any user to be allocated rights for the n types of marketing rights based on the rights holding status of any user to be allocated rights; the kth digit of the holding value is a first value representing that the user already has k marketing rights or a second value representing that the user does not have k marketing rights.

[0171] The allocatable marketing rights determination unit 204 is used to determine the allocatable marketing rights of each user to be allocated rights by bitwise operations based on the rights allocation rules and the holding value of each user to be allocated rights.

[0172] Furthermore, for this device, the rights experience value determination unit 201 is specifically used to: determine a third probability that marketing rights i has not been used under the premise of holding marketing rights j, based on the historical allocation and historical usage of marketing rights; if the third probability is less than a preset threshold, then determine Bij as a first value representing that it has been used; Bij represents whether marketing rights i has been used under the premise of holding marketing rights j; if the third probability is not less than the preset threshold, then determine Bij as a second value representing that it has not been used.

[0173] Furthermore, for this device, the rights experience value determination unit 201 is also used to: acquire a historical data sample set of multiple users under n types of marketing rights; for marketing right j among the n types of marketing rights, determine a first probability based on the historical allocation of marketing rights in the historical data sample set; the first probability represents the proportion of users holding marketing right j to the total number of users corresponding to the historical data sample set; determine a second probability based on the historical usage of marketing rights in the historical data sample set; the second probability represents the proportion of users holding both marketing right j and marketing right i who have not used marketing right i while using marketing right j to the proportion of users holding marketing right j; and determine a third probability based on the first probability and the second probability.

[0174] Furthermore, for this device, the first value is 0 and the second value is 1; the allocatable marketing rights determination unit 204 is specifically used for: for any user to be allocated rights, performing an AND operation on the holding value of the user to be allocated rights and each sub-rule in the rights allocation rule to obtain a first result value corresponding to each sub-rule; wherein, if the first result value is greater than 0, it indicates that the marketing rights indicated by the corresponding sub-rule will no longer be allocated to the user to be allocated rights; if the first result value is equal to 0, it indicates that the marketing rights indicated by the corresponding sub-rule can be allocated to the user to be allocated rights.

[0175] Furthermore, the device also includes a rights allocation rule correction unit 205, an unissueable rights determination unit 206, and a true rights allocation result determination unit 207. The rights allocation rule correction unit 205 is used to correct the rights allocation rule to obtain the corrected rights allocation rule. The unissueable rights determination unit 206 is used to determine the unissueable rights of any user to be allocated rights based on the user's preset rights allocation plan under the n types of marketing rights and the corrected rights allocation rule, through bitwise operations. The true rights allocation result determination unit 207 is used to determine the true rights allocation result of the user under the n types of marketing rights based on the user's allocatable marketing rights and the user's unissueable rights, through bitwise operations. The m-th bit in the preset rights allocation plan is a first value representing the planned allocation of m marketing rights or a second value representing the planned non-allocation of m marketing rights.

[0176] Furthermore, for this device, the rights allocation rule correction unit 205 is specifically used to: set a correction matrix; the correction matrix represents the distribution of rights i, and the preset rights allocation plan includes the distribution of rights i without affecting the distribution of rights i; perform an AND operation between the rights allocation rule and the correction matrix to obtain the corrected rights allocation rule.

[0177] Furthermore, for this device, the first value is 0, and the second value is 1; the unallocable rights determination unit 206 is specifically used to: perform AND operations on the preset rights allocation plan of the user to be allocated rights under the n types of marketing rights and each correction sub-rule in the corrected rights allocation rules to obtain a second result value corresponding to each correction sub-rule; wherein, a second result value greater than 0 indicates that the marketing rights indicated by the corresponding correction sub-rule cannot be allocated to the user to be allocated rights; a second result value equal to 0 indicates that the marketing rights indicated by the corresponding correction sub-rule can be allocated to the user to be allocated rights; the real rights allocation result determination unit 207 is specifically used to: obtain each third result value by OR operation on the first result value corresponding to each sub-rule of the user to be allocated rights and the second result value corresponding to each correction sub-rule of the user to be allocated rights; wherein, a third result value greater than 0 indicates that the marketing rights indicated by the corresponding sub-rule cannot be allocated to the user to be allocated rights; a third result value equal to 0 indicates that the marketing rights indicated by the corresponding sub-rule can be allocated to the user to be allocated rights.

[0178] This application also provides a computing device, which may specifically be a desktop computer, portable computer, smartphone, tablet computer, personal digital assistant (PDA), etc. The computing device may include a central processing unit (CPU), memory, input / output devices, etc. Input devices may include a keyboard, mouse, touchscreen, etc., and output devices may include display devices, such as liquid crystal displays (LCDs) and cathode ray tubes (CRTs).

[0179] The memory may include read-only memory (ROM) and random access memory (RAM), and provides the processor with program instructions and data stored in the memory. In embodiments of this application, the memory may be used to store program instructions for a marketing rights allocation method;

[0180] The processor is used to call program instructions stored in the memory and execute the marketing rights allocation method according to the obtained program.

[0181] like Figure 3 The diagram shown is a schematic representation of a computing device provided in an embodiment of this application. The computing device includes:

[0182] The processor 301, memory 302, transceiver 303, and bus interface 304 are included; wherein the processor 301, memory 302, and transceiver 303 are connected via bus 305.

[0183] The processor 301 is used to read the program in the memory 302 and execute the above-mentioned marketing rights allocation method;

[0184] Processor 301 can be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP. It can also be a hardware chip. The aforementioned hardware chip can be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The aforementioned PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0185] The memory 302 is used to store one or more executable programs and can store data used by the processor 301 when performing operations.

[0186] Specifically, the program may include program code, which includes computer operation instructions. Memory 302 may include volatile memory, such as random-access memory (RAM); memory 302 may also include non-volatile memory, such as flash memory, hard disk drive (HDD), or solid-state drive (SSD); memory 302 may also include combinations of the above types of memory.

[0187] Memory 302 stores the following elements: executable modules or data structures, or subsets thereof, or extended sets thereof:

[0188] Operation instructions: This includes various operation instructions used to perform various operations.

[0189] Operating system: includes various system programs used to implement various basic business functions and handle hardware-based tasks.

[0190] Bus 305 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be divided into address buses, data buses, control buses, etc. For ease of representation, Figure 3 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0191] Bus interface 304 can be a wired communication interface, a wireless bus interface, or a combination thereof. The wired bus interface can be, for example, an Ethernet interface. The Ethernet interface can be an optical interface, an electrical interface, or a combination thereof. The wireless bus interface can be a WLAN interface.

[0192] This application also provides a computer-readable storage medium storing computer-executable instructions for causing a computer to perform a marketing rights allocation method.

[0193] Those skilled in the art will understand that embodiments of this application can be provided as methods or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0194] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0195] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0196] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0197] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0198] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A method for allocating marketing rights, characterized in that, include: Based on the historical allocation and usage of marketing rights, determine the empirical value for whether to use marketing rights i under the premise of holding marketing rights j; the empirical value is a first value representing the use or a second value representing the non-use; marketing rights i and marketing rights j are any one of n types of marketing rights; the first value is 0 and the second value is 1. The rules for allocating benefits are determined based on the empirical values ​​of each marketing benefit under n marketing benefits. Based on the rights holding status of any user to be allocated rights, determine the holding value of the user for the n types of marketing rights; the kth digit of the holding value is a first value indicating that the user already has k marketing rights or a second value indicating that the user does not have k marketing rights. Based on the aforementioned rights allocation rules and the holding value of each user whose rights are to be allocated, the allocatable marketing rights of each user whose rights are to be allocated are determined through bitwise operations. The rights allocation rule is corrected to obtain the corrected rights allocation rule; For any user awaiting allocation of benefits, based on the user's pre-defined benefit allocation plan under the n types of marketing benefits and the corrected benefit allocation rules, the unallocable benefits for the user are obtained through bitwise operations. This includes: performing a bitwise AND operation on each correction sub-rule in the pre-defined benefit allocation plan under the n types of marketing benefits and the corrected benefit allocation rules to obtain a second result value corresponding to each correction sub-rule; wherein, a second result value greater than 0 indicates that the marketing benefits indicated by the corresponding correction sub-rule cannot be allocated to the user; a second result value equal to 0 indicates that the marketing benefits indicated by the corresponding correction sub-rule can be allocated to the user. Based on the allocatable marketing rights and the non-allocable rights of the users to be allocated, the actual rights allocation result of the users under the n marketing rights is obtained through bitwise operations, including: obtaining each third result value through an OR operation based on the first result value corresponding to each sub-rule of the users to be allocated and the second result value corresponding to each correction sub-rule of the users to be allocated; wherein, a third result value greater than 0 indicates that the marketing rights indicated by the corresponding sub-rule cannot be allocated to the users to be allocated; a third result value equal to 0 indicates that the marketing rights indicated by the corresponding sub-rule can be allocated to the users to be allocated; the m-th bit in the preset rights allocation plan is a first value representing the planned allocation of m marketing rights or a second value representing the planned non-allocation of m marketing rights.

2. The method as described in claim 1, characterized in that, The empirical value for determining whether to use marketing rights i while holding marketing rights j, based on the historical allocation and usage of marketing rights, includes: Based on the historical allocation and usage of marketing rights, determine the third probability of not using marketing rights i while holding marketing rights j; If the third probability is less than a preset threshold, then Bij is determined to be the first value representing the use of the marketing rights; Bij indicates whether marketing rights i are used under the premise of holding marketing rights j. If the third probability is not less than the preset threshold, then Bij is determined to be the second value representing unused value.

3. The method as described in claim 2, characterized in that, The determination of the third probability—based on the historical allocation and usage of marketing rights—of not using marketing rights i while holding marketing rights j includes: Obtain historical data sample sets of multiple users under n different marketing benefits; For marketing benefit j among the n types of marketing benefits, a first probability is determined based on the historical allocation of marketing benefits in the historical data sample set; the first probability represents the proportion of users holding marketing benefit j to the total number of users corresponding to the historical data sample set; The second probability is determined based on the historical usage of marketing rights in the historical data sample; the second probability represents the proportion of users who hold marketing rights j and marketing rights i but did not use marketing rights i under the premise of using marketing rights j to users who hold marketing rights j. Based on the first probability and the second probability, determine the third probability.

4. The method as described in claim 1, characterized in that, The first value is 0, and the second value is 1; The step of determining the allocatable marketing rights for each user based on the rights allocation rules and the holding value of each user to be allocated rights through bitwise operations includes: For any user whose rights are to be allocated, an AND operation is performed on the user's holding value and each sub-rule in the rights allocation rule to obtain a first result value corresponding to each sub-rule; wherein, if the first result value is greater than 0, it means that the marketing rights indicated by the corresponding sub-rule will no longer be allocated to the user whose rights are to be allocated; if the first result value is equal to 0, it means that the marketing rights indicated by the corresponding sub-rule can be allocated to the user whose rights are to be allocated.

5. The method as described in claim 1, characterized in that, The process of correcting the rights allocation rule to obtain the corrected rights allocation rule includes: Set a correction matrix; the correction matrix represents the distribution of rights i, and the pre-set rights distribution plan including the distribution of rights i does not affect the distribution of rights i. The corrected equity allocation rule is obtained by performing an AND operation between the equity allocation rule and the correction matrix.

6. A marketing rights allocation device, characterized in that, include: The rights experience value determination unit is used to determine, based on the historical allocation and usage of marketing rights, whether to use marketing rights i under the premise of holding marketing rights j; the experience value is a first value representing that it has been used or a second value representing that it has not been used; marketing rights i and marketing rights j are any one of n types of marketing rights; the first value is 0 and the second value is 1. The rights allocation rule determination unit is used to determine the rights allocation rule based on the empirical value of each marketing right under n marketing rights. The rights holding value determination unit is used to determine the rights holding value of any user to be allocated rights for the n types of marketing rights based on the rights holding status of that user; the kth digit of the holding value is a first value indicating that the user already has k marketing rights or a second value indicating that the user does not have k marketing rights. The allocatable marketing rights determination unit is used to determine the allocatable marketing rights of each user to be allocated rights by bitwise operations based on the rights allocation rules and the holding value of each user to be allocated rights. The rights allocation rule correction unit is used to correct the rights allocation rule to obtain the corrected rights allocation rule; The unallocable rights determination unit is used to perform AND operations on the preset rights allocation plan for the user to be allocated rights under the n types of marketing rights and each correction sub-rule in the corrected rights allocation rules to obtain a second result value corresponding to each correction sub-rule; wherein, a second result value greater than 0 indicates that the marketing rights indicated by the corresponding correction sub-rule cannot be allocated to the user to be allocated rights; a second result value equal to 0 indicates that the marketing rights indicated by the corresponding correction sub-rule can be allocated to the user to be allocated rights. The unit for determining the actual rights and benefits allocation result is used to obtain each third result value by performing an OR operation on the first result value corresponding to each sub-rule of the user to be allocated rights and the second result value corresponding to each correction sub-rule of the user to be allocated rights. Wherein, a third result value greater than 0 indicates that the marketing rights indicated by the corresponding sub-rule cannot be allocated to the user to be allocated rights; a third result value equal to 0 indicates that the marketing rights indicated by the corresponding sub-rule can be allocated to the user to be allocated rights. The m-th position in the preset rights and benefits allocation plan is a first value representing the planned allocation of m marketing rights or a second value representing the planned non-allocation of m marketing rights.

7. A computer device, characterized in that, include: Memory, used to store computer programs; A processor is configured to invoke a computer program stored in the memory and execute the method as described in any one of claims 1-5 according to the obtained program.

8. A computer-readable storage medium, characterized in that, The storage medium stores computer-executable instructions for causing a computer to perform the method as described in any one of claims 1-5.