Red envelope distribution method and device based on drinking amount
Through the red envelope allocation method based on the amount of alcohol consumption, red envelopes are distributed based on the amount of alcohol consumption generated by the user, which solves the problem of low number of users participating in traditional promotional methods and difficulty in data correlation, and achieves precise marketing with improved user participation and data support.
Patent Information
- Application Number
- CN202510506919.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-22
- Publication Date
- 2025-08-15
AI Technical Summary
Traditional promotion methods cannot increase the number of users participating in marketing activities, and it is difficult to connect marketing data with user behavior data, resulting in a lack of precise support for marketing activities.
Based on the red envelope allocation method based on the amount of alcohol consumption, the user's drinking volume is obtained before grabbing the red envelope, the amount weight is generated in the order of drinking volume from large to small, and the red envelope is allocated according to the amount weight, ensuring that users with larger drinking volume have a higher probability of grabbing the red envelope with larger amounts.
The number of participating users in marketing activities and the participation of a single user has been improved, and the correlation between marketing data and user behavior data has been established to provide data support for subsequent precise marketing.
Smart Images

Figure CN120494891A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of digital marketing technology, and in particular to a method and device for allocating red envelopes based on alcohol consumption. Background Art
[0002] Currently, the wine industry is transforming from "channel-driven" to "consumer-operated". Traditional promotional methods are often limited to pure online marketing. Due to the lack of scenario-based linkage, it is difficult to stimulate user participation and cannot increase the number of participating users and the participation level of individual users.
[0003] In addition, it is difficult to establish a correlation between marketing data (for example, the number of advertisements, marketing types and quantities) and user behavior data (for example, the number of participating users, etc.) in traditional promotional methods, and it is impossible to provide data support for subsequent precision marketing.
[0004] In view of this, overcoming the defects of the prior art is an urgent problem to be solved in this technical field. Summary of the Invention
[0005] The technical problem to be solved by the present invention is to provide a red envelope distribution method and device based on alcohol consumption. Its purpose is to generate an amount weight according to the amount of alcohol consumed before each red envelope grabbing. By weighting, users who drink more alcohol have a higher probability of grabbing red envelopes with larger amounts, thereby increasing the number of users participating in the red envelope grabbing marketing activities, and solving the problems that traditional promotional methods cannot increase the number of users participating in marketing activities, and that it is difficult to establish a correlation between marketing data and user behavior data.
[0006] The present invention adopts the following technical solutions:
[0007] In a first aspect, the present invention provides a method for distributing red envelopes based on alcohol consumption, comprising:
[0008] Generate multiple red envelopes with different amounts;
[0009] Before grabbing a red envelope, obtain the alcohol consumption of each user in the current red envelope period; wherein the current red envelope period is: starting from the last time a red envelope is grabbed and ending at the time of this red envelope grab;
[0010] Sort the users participating in the current red envelope cycle in descending order of alcohol consumption to obtain a user weighted order; and assign a red envelope amount weight from high to low to each user in descending order according to the user weighted order;
[0011] According to the amount weight, the generated red envelopes are distributed to each user participating in the current red envelope cycle, so that each user can grab the distributed red envelopes.
[0012] Furthermore, allocating the generated red envelopes to the respective users participating in the current red envelope cycle according to the amount weights includes:
[0013] Accumulating the amount weights of the respective users to obtain a total amount weight; normalizing the amount weights of the respective users using the total amount weight to obtain a normalized probability of the respective users;
[0014] Sort the red envelopes with different amounts in descending order to obtain a red envelope distribution order;
[0015] The persons to be allocated are determined in sequence according to the normalized probabilities of the respective users, and red envelopes are allocated to the persons to be allocated each time according to the red envelope allocation order.
[0016] Furthermore, determining the recipients to be allocated in sequence according to the normalized probabilities of the respective users, and allocating red envelopes to the recipients to be allocated each time according to the red envelope allocation order includes:
[0017] Add each user who participated in the current red envelope cycle to the set of participating users in the first current distribution round;
[0018] In each current allocation round, selecting a user to be allocated from the set of participating users in the current allocation round according to the normalized probability of each user;
[0019] Obtaining red envelopes in sequence according to the red envelope distribution order, and using the obtained red envelopes as the red envelopes to be distributed in the current distribution round;
[0020] Allocating the red envelope to be distributed to the person to be distributed;
[0021] The person to be allocated is deleted from the participating user set, and the deleted participating user set is used as the participating user set of the next current allocation round, until after multiple current allocation rounds, all red envelopes generated in the current red envelope period are allocated.
[0022] Furthermore, in each current allocation round, selecting a person to be allocated from the set of participating users in the current allocation round according to the normalized probability of each user includes:
[0023] Dividing the unit interval according to the normalized probability of all users in the participating user set to obtain a user interval for each user;
[0024] A random number is generated within the unit interval; a user interval in which the random number is located is determined, and a user corresponding to the determined user interval is selected as a person to be allocated.
[0025] Furthermore, each user's wine dispenser is equipped with a vertical sensor array;
[0026] The method of obtaining the alcohol consumption of each user in the current red envelope period includes:
[0027] During the current red envelope period, the vertical sensor array detects the liquid level in the wine dispenser at first preset time intervals;
[0028] When the difference between the liquid level recorded in the previous test and the current test is a negative number, it is determined that the user is in a drinking state;
[0029] Obtaining the coordinates of the liquid level heights recorded in the two adjacent tests on the wine dispenser, and calculating the single drinking amount corresponding to the two adjacent tests using the obtained coordinates according to the capacity model of the wine dispenser;
[0030] The drinking amount of the user is obtained by accumulating all single drinking amounts in the current red envelope period.
[0031] Furthermore, each of the vertical sensor arrays includes a plurality of sensors arranged from top to bottom;
[0032] The vertical sensor array detecting the liquid level in the wine dispenser at intervals of a first preset time during the current red envelope period includes:
[0033] During the current red envelope period, each sensor in the vertical sensor array transmits a first infrared signal into the wine dispenser at intervals of a first preset time;
[0034] Each sensor receives a second infrared signal returned from the wall of the wine dispenser and detects the signal strength of the second infrared signal;
[0035] Comparing the signal strengths of the second infrared signals detected by adjacent sensors in the vertical sensor array in pairs from top to bottom, and determining two adjacent sensors whose signal strength differences exceed a threshold;
[0036] The bottom coordinate of the lower sensor of the two adjacent sensors is determined as the liquid level.
[0037] Furthermore, obtaining the alcohol consumption of each user in the current red envelope period also includes:
[0038] When the difference between the liquid level recorded in the previous detection and the current detection is a positive number, it is determined that the user is in the pouring state;
[0039] The first preset time is shortened to a second preset time to increase the liquid level detection frequency, until the difference between two adjacent detected liquid levels is less than a preset value, and the second preset time is increased to the first preset time.
[0040] In a second aspect, the present invention further provides a method for distributing red envelopes based on alcohol consumption, comprising:
[0041] During this red envelope cycle, multiple red envelopes with different amounts are generated;
[0042] Allocating the multiple red envelopes of different amounts to the multiple users participating in the current red envelope cycle, so that the multiple users can grab the allocated red envelopes;
[0043] According to the amount of the red envelope grabbed by each user, generating the user's scheduled drinking amount in the current red envelope period;
[0044] According to the predetermined drinking amount, the user is made to pour wine from the wine dispenser into the wine glass used by the user, so that the user can drink according to the predetermined drinking amount during the current red envelope period.
[0045] In a third aspect, the present invention further provides a red envelope distribution device based on alcohol consumption, comprising:
[0046] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the processor to execute the red envelope distribution method based on alcohol consumption described in the first aspect or the second aspect.
[0047] In a fourth aspect, the present invention further provides a non-volatile computer storage medium storing computer executable instructions, which are executed by one or more processors to complete the red envelope distribution method based on alcohol consumption described in the first aspect or the second aspect.
[0048] In a fifth aspect, a computer program product comprising instructions is provided, which, when executed on a computer or a processor, causes the computer or the processor to execute the red envelope distribution method based on alcohol consumption as described in the first aspect or the second aspect.
[0049] In the sixth aspect, the present invention also provides a red envelope distribution system based on alcohol consumption, including a red envelope distribution device based on alcohol consumption as in the third aspect, and using the red envelope distribution method based on alcohol consumption as described in the first aspect or the second aspect to complete the interaction of the red envelope distribution device based on alcohol consumption in the third aspect.
[0050] Different from the prior art, the present invention has at least the following beneficial effects:
[0051] Before grabbing red envelopes each time, the present invention generates amount weights according to the amount of alcohol consumed, and distributes the generated red envelopes according to the amount weights. By weighting, users who drink more alcohol in the current red envelope cycle have a higher probability of grabbing red envelopes with larger amounts, thereby achieving the purpose of stimulating user participation, increasing the number of participating users and the participation of single users; since specific marketing data such as the amount of red envelopes issued, the total amount of red envelopes in each current red envelope cycle, and the issuance time are known, and the amount of red envelopes obtained by each user in each current red envelope cycle can be obtained, it is possible to associate marketing data with user behavior data, thereby providing strong data support for subsequent precise marketing such as promotion of wine products, collection of consumer behavior data, and refined channel operations. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] To more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. Those skilled in the art can also derive other drawings based on these drawings without inventive effort.
[0053] Figure 1 1 is a flow chart of a method for distributing red envelopes based on alcohol consumption provided by an embodiment of the present invention;
[0054] Figure 2 This is a schematic diagram of a specific example of a wine dispenser provided by an embodiment of the present invention;
[0055] Figure 3 This is a schematic diagram of a process for obtaining the alcohol consumption of each user in the current red envelope period provided by an embodiment of the present invention;
[0056] Figure 4 This is a schematic diagram of a process for detecting the liquid level in a wine dispenser provided by an embodiment of the present invention;
[0057] Figure 5 This is a schematic diagram of a specific example of an infrared signal reflected by the wall of a wine dispenser provided by an embodiment of the present invention;
[0058] Figure 6 This is another flowchart for obtaining the alcohol consumption of each user in the current red envelope period provided by an embodiment of the present invention;
[0059] Figure 7 This is a flow chart of allocating red envelopes to users based on amount weights, provided by an embodiment of the present invention;
[0060] Figure 8 This is a schematic diagram of a process for a user to confirm a red envelope before grabbing it, provided by an embodiment of the present invention;
[0061] Figure 9This is a schematic diagram of a process for determining a recipient and allocating a red envelope, provided by an embodiment of the present invention;
[0062] Figure 10 This is a schematic diagram of a process for determining a person to be assigned based on normalized probability, provided by an embodiment of the present invention;
[0063] Figure 11 2 is a flow chart of another method for distributing red envelopes based on alcohol consumption provided by an embodiment of the present invention;
[0064] Figure 12 This is a schematic diagram of the architecture of a red envelope distribution device based on alcohol consumption provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0065] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0066] Unless the context requires otherwise, throughout the specification and claims, the term "including" is to be interpreted as meaning open inclusion, that is, "including, but not limited to". In the description of the specification, the terms "one embodiment", "some embodiments", "exemplary embodiments", "example", "specific example" or "some examples" and the like are intended to indicate that the specific features, structures, materials or characteristics associated with the embodiment or example are included in at least one embodiment or example of the present disclosure. The schematic representation of the above terms does not necessarily refer to the same embodiment or example. In addition, the specific features, structures, materials or characteristics may be included in any one or more embodiments or examples in any appropriate manner, that is, although they may be carried in the embodiments or examples of the above terms due to reasons such as the order and position of appearance, it is not limited to that they can be carried in combination by one embodiment or example.
[0067] In the description of the present invention, it should be understood that the terms "center", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the present disclosure and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present disclosure.
[0068] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present disclosure, unless otherwise specified, "multiple" means two or more. In addition, for example, the description may also use the method of adding "A" and "B" at the end to describe the same type of nouns as two independent individuals. In this case, the corresponding features defined as "A" and "B" are only used to distinguish the description purposes of the same type of individuals, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
[0069] When describing some embodiments, the expressions “coupled”, “coupled” and “connected” and their derivatives may be used. For example, when describing some embodiments, the term “connected” may be used to indicate that two or more components are in direct physical or electrical contact with each other. For another example, when describing some embodiments, the term “coupled” may be used to indicate that two or more components are in direct physical or electrical contact. However, the term “connected” or “coupled” may also mean that two or more components are not in direct contact with each other, but still cooperate or interact with each other, such as “optical coupling”, “wireless connection”, etc. The embodiments disclosed herein are not necessarily limited to the contents of the present invention.
[0070] In the description of the present invention, the expression "A and / or B" (where A and B are used to formally represent specific characteristic contents) will be involved, and the corresponding expressions include the following three combinations: only A, only B, and a combination of A and B.
[0071] As used herein, "about," "substantially," or "approximately" includes the stated value and an average value that is within an acceptable range of deviation from the particular value as determined by one of ordinary skill in the art taking into account the measurements in question and the errors associated with the measurement of the particular quantity (i.e., the limitations of the measurement system).
[0072] In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0073] Embodiment 1:
[0074] In order to solve the above problems, Figure 1 As shown, an embodiment of the present invention provides a red envelope distribution method based on alcohol consumption, including:
[0075] Step 10: Generate multiple red envelopes with different amounts.
[0076] Among them, the amount of each red envelope is random; the specific method of generating red envelopes with different amounts is selected by technical personnel in this field according to the specific usage scenario.
[0077] In one embodiment, an online red envelope grabbing service may be provided through a mobile application (eg, a cell phone application); the mobile application generates a plurality of red envelopes with different amounts.
[0078] Step 20: Before grabbing the red envelope, obtain the alcohol consumption of each user in the current red envelope period; wherein, the current red envelope period is: starting from the last time the red envelope was grabbed and ending when the red envelope is grabbed this time.
[0079] In each red envelope grabbing round, the embodiment of the present invention weights each user's red envelope grabbing probability based on the amount of alcohol consumed by each user between the end of the previous red envelope grabbing round and the current red envelope grabbing round (i.e., the current red envelope period). By setting the current red envelope period, it is possible to avoid situations such as a user who drinks more alcohol only for a period of time, rather than consistently drinking the most, but is still more likely to receive a red envelope with a larger amount.
[0080] In one embodiment, a wine dispenser can be used to obtain the amount of alcohol consumed by each user, which will be described in detail below. In the drinking scenario of liquor such as white wine, after opening the bottle, the wine is generally poured into a wine dispenser in front of each drinker, and the wine dispenser is used to sober up so that the wine releases its flavor and is convenient for each drinker to add to his or her own wine glass; the capacity of the wine dispenser is often several times that of the wine glass. For example, the capacity of the wine dispenser is 200 ml, and the capacity of the wine glass is 20 ml. When the drinker needs to drink, the amount required for each drink is poured from the wine dispenser into the wine glass. The embodiment of the present invention measures the amount of alcohol consumed by each user through the wine dispenser, connects the wine dispenser to a mobile application that provides a red envelope grabbing service, and transmits the alcohol consumption data to the mobile application.
[0081] Step 30: Sort the users participating in the current red envelope cycle in descending order of alcohol consumption to obtain a weighted order of users; and assign a weighted amount of red envelope to each user in descending order according to the weighted order of users.
[0082] In one embodiment, since users need to log in to the mobile application when participating in the red envelope grabbing activity, the unique identifier of each user can be obtained; the unique identifier corresponding to the received drinking volume data can be recorded through the mobile application, and the drinking volume can be sorted, and the amount weights from large to small are generated in sequence according to the order of drinking volume from large to small.
[0083] Step 40: Based on the amount weight, the generated red envelopes are distributed to each user participating in the current red envelope cycle, so that each user can grab the distributed red envelope.
[0084] After the embodiment of the present invention generates the amount weight, the generated red envelopes are allocated to each user according to the amount weight; in one embodiment, when the user clicks "Grab Red Envelope" on the red envelope grabbing interface, the red envelopes allocated according to the amount weight are displayed to the user.
[0085] In the actual use scenario of alcoholic products, when marketing alcoholic products through red envelope grabbing activities, the following situation often occurs: some people are too enthusiastic about participating in the activity due to excessive drinking, resulting in low enthusiasm and low participation of the remaining people. Since in actual use scenarios, red envelope grabbing activities often involve more than one round of activities; therefore, the red envelope distribution method based on alcohol consumption in the embodiment of the present invention sets the current red envelope cycle and sets the amount weight according to the current red envelope cycle to distribute red envelopes. Under the premise of moderate drinking, it guides each user's drinking amount to maintain a relatively balanced level, so that the drinking amount of each user in each current red envelope cycle is similar. The users who grab red envelopes with larger amounts in each current red envelope cycle are more different, which enhances the fun of the red envelope grabbing activity and improves the enthusiasm for participating in the activity, thereby achieving the effect of increasing the number of users participating in the marketing activity. It avoids the situation where some people have always drunk more, which undermines the enthusiasm of the remaining people to participate in the activity, resulting in a low number of users participating in the activity as a whole, and at the same time guides this part of the population to drink moderately.
[0086] Before grabbing red envelopes each time, the present invention generates amount weights according to the amount of alcohol consumed, and distributes the generated red envelopes according to the amount weights. By weighting, users who drink more alcohol in the current red envelope cycle have a higher probability of grabbing red envelopes with larger amounts, thereby achieving the purpose of stimulating user participation, increasing the number of participating users and the participation of individual users; since specific marketing data such as the amount of red envelopes issued, the total amount of red envelopes in each current red envelope cycle, and the issuance time are known, and the amount of red envelopes obtained by each user in each current red envelope cycle can be obtained, it is possible to associate marketing data with user behavior data, thereby providing strong data support for subsequent precise marketing such as promotion of wine products, collection of consumer behavior data, and refined channel operations.
[0087] To illustrate the process of obtaining each user's alcohol consumption, the wine dispenser according to an embodiment of the present invention is first introduced:
[0088] In actual application scenarios, a wine dispenser is placed in front of each user to hold the wine that the user is about to drink. Figure 2As shown, each user's wine dispenser is equipped with a vertical sensor array, which can be installed on the outer wall of the wine dispenser by bonding. During installation, the highest point of the vertical sensor array can be set to the highest position that can hold wine in the wine dispenser. Each vertical sensor array includes a plurality of sensors arranged from top to bottom, and each sensor has its own corresponding chip and battery, which are located on the upper part of the sensor; the sensor is an infrared transceiver sensor; the embodiment of the present invention detects the liquid level in the wine dispenser by sending infrared rays into the wine dispenser and detecting the intensity of the returned infrared rays. In an optional embodiment, the chip of the wine dispenser can be a microcontroller unit (MCU), which can include a communication module and a control module; the communication module is used to communicate data with the mobile application, and ensures the stability and efficiency of data transmission through multi-mode communication methods such as Bluetooth or wireless network communication technology; the control module is used to process infrared intensity data. When a user joins a drinking scene, he or she can use the mobile terminal to bind the wine dispenser he or she uses with his or her own user account in the red envelope grabbing service through the shake function; among them, the specific implementation method of the shake pairing function is selected by technical personnel in this field according to the specific usage scenario; the acceleration sensing function can be integrated into the chip of the wine dispenser, and by detecting the acceleration change of the wine dispenser, the mobile terminal that produces acceleration change in the same period of time will be paired with the wine dispenser. For example: the user triggers the shake pairing function by shaking the mobile terminal and the wine dispenser at the same time, and realizes the rapid binding of the mobile terminal and the wine dispenser through data interaction between the mobile terminal and the communication module.
[0089] The following describes the process of using a wine dispenser to determine the amount of alcohol a user has consumed. Figure 3 As shown, in step 20, obtaining the alcohol consumption of each user in the current red envelope period includes:
[0090] Step 101: During the current red envelope period, the vertical sensor array detects the liquid level in the wine dispenser at intervals of a first preset time.
[0091] Among them, the first preset time is selected by technical personnel in this field according to the specific usage scenario. The first preset time can be shorter. In an optional embodiment, the first preset time can be set with reference to the battery capacity of the sensor and the total number of rounds of red envelope grabbing by a group of users, so that the battery capacity of the sensor can ensure that the sensor can detect the page height once every first preset time during the complete process of a group of users grabbing red envelopes multiple times.
[0092] Step 102: When the difference between the liquid level recorded in the previous detection and the liquid level recorded in the current detection is a negative number, it is determined that the user is in a drinking state.
[0093] The drinking state refers to the user pouring the wine from the dispenser into their own wine glass. If the difference between the liquid level recorded in the previous test and the current test is negative, it indicates that the amount of wine in the dispenser is decreasing. The user is likely pouring the wine from the dispenser into the wine glass and drinking from it, so the user is considered to be in the drinking state.
[0094] Step 103: Obtain the coordinates of the liquid level heights recorded in the two adjacent tests on the wine dispenser, and calculate the single drinking amount corresponding to the two adjacent tests using the obtained coordinates according to the capacity model of the wine dispenser.
[0095] When the user is in a drinking state, the liquid level detected twice adjacently is used to calculate the amount of alcohol consumed in a single drinking session.
[0096] Among them, the capacity model is selected by technical personnel in this field according to the specific usage scenario. In one embodiment, the shape of the inner wall of the wine dispenser can be three-dimensionally modeled to construct the volume corresponding to each liquid level height of the wine dispenser.
[0097] An embodiment of the present invention uses a vertical coordinate to mark the various heights of the wine dispenser in the vertical direction; in one embodiment, the liquid capacity corresponding to the liquid level height of the last detection is calculated according to the capacity model, and the liquid capacity corresponding to the liquid level height of the current detection is calculated according to the capacity model, and the difference between the two liquid capacities is calculated to obtain the amount of alcohol consumed by the user between the time points of the two detections.
[0098] Step 104: Accumulate all single drinking amounts in the current red envelope period to obtain the user's drinking amount.
[0099] In order to illustrate the process of detecting the liquid level in the wine dispenser, Figure 4 As shown, in step 101, within the current red envelope period, the vertical sensor array detects the liquid level in the wine dispenser at intervals of a first preset time, including:
[0100] Step 201: During the current red envelope period, each sensor in the vertical sensor array transmits a first infrared signal to the interior of the wine dispenser at intervals of a first preset time.
[0101] In one embodiment, since the sensors in the vertical sensor array are installed on the wine dispenser in order from top to bottom, each time a detection is performed, Figure 5 As shown, for sensors 1 to 12, each sensor can emit a first infrared signal horizontally toward the interior of the wine dispenser. To facilitate subsequent comparison of the signal strengths of the second infrared signals received by each sensor, the signal strengths of the first infrared signals emitted by each sensor are the same.
[0102] Step 202: Each of the sensors receives a second infrared signal returned from the wall of the wine dispenser, and detects the signal strength of the second infrared signal.
[0103] When the wine dispenser is filled with liquid wine, the tension on the cup wall of the part of the wine dispenser that is not filled with liquid wine is often similar. The tension on the cup wall caused by the liquid level position where the liquid turns into air is quite different from that of the part that is not filled with liquid wine. Moreover, from the liquid level position downward, the tension on the cup wall of the part that is completely used to hold liquid wine is also often similar. After each sensor transmits a first infrared signal into the wine dispenser, the first infrared signal hits the cup wall of the wine dispenser. After receiving the first infrared signal, the cup wall will reflect the first infrared signal. The signal strength of the returned second infrared signal will be quite different from that of the liquid. The embodiment of the present invention uses the intensity difference to determine the liquid level.
[0104] Step 203: comparing the signal strengths of the second infrared signals detected by adjacent sensors in the vertical sensor array in pairs from top to bottom, and determining two adjacent sensors whose signal strength difference exceeds a threshold.
[0105] The threshold value is selected by those skilled in the art according to the specific usage scenario, and the threshold value is the maximum detection error value generated by the wine dispenser when the wine is not poured or drunk.
[0106] For example, the signal strengths of the second infrared signals are compared in pairs in the order from sensor 1 to sensor 12. That is, the signal strength of the second infrared signal detected by sensor 1 is compared with the signal strength of the second infrared signal detected by sensor 2 to determine whether the difference between the signal strengths of the second infrared signal detected by sensor 1 and the second infrared signal detected by sensor 2 exceeds a threshold; if the difference exceeds the threshold, the liquid level is subsequently determined based on sensor 1 and sensor 2, and the pairwise comparison ends; if the difference does not exceed the threshold, the signal strength of the second infrared signal detected by sensor 2 is compared with the signal strength of the second infrared signal detected by sensor 3, and so on, until two adjacent sensors are found whose signal strength difference exceeds the threshold. This will not be repeated here.
[0107] Step 204: Determine the bottom coordinate of the lower sensor of the two adjacent sensors as the liquid level.
[0108] For example, since step 203 performs pairwise comparisons in order from top to bottom, after comparing the signal strength of the second infrared signal detected by sensor 6 with the signal strength of the second infrared signal detected by sensor 7, it is determined that the difference between the signal strength of the second infrared signal detected by sensor 6 and the signal strength of the second infrared signal detected by sensor 7 exceeds the threshold. Since sensor 7 is the lower sensor among sensor 6 and sensor 7, the bottom coordinate of sensor 7 is determined as the liquid level height.
[0109] In the process of calculating the amount of alcohol consumed using the detected liquid level, there is also a situation where the user pours wine into the wine dispenser, causing the liquid level to rise, such as Figure 6 As shown, in step 20, obtaining the alcohol consumption of each user in the current red envelope period further includes:
[0110] Step 301: When the difference between the liquid level recorded in the previous detection and the liquid level recorded in the current detection is a positive number, it is determined that the user is in a pouring state.
[0111] The pouring state refers to the user adding wine to their dispenser. If the difference between the liquid level recorded in the previous test and the current test is a positive number, it indicates that the amount of wine in the dispenser is increasing. The user is likely adding wine to the dispenser, so the user is considered to be in the pouring state.
[0112] Step 302: shorten the first preset time to a second preset time to increase the liquid level detection frequency until the difference between two adjacent detected liquid levels is less than a preset value, and then increase the second preset time to the first preset time.
[0113] The preset value is selected by those skilled in the art according to the specific usage scenario.
[0114] During this test, when it is determined that the user is in the pouring state, the liquid level height needs to be re-determined; after the next liquid level height test, the re-determined liquid level height is used as a benchmark to compare the liquid level heights of the two tests to calculate the amount of alcohol consumed by the user between the two tests.
[0115] In order to avoid missing the amount of alcohol the user drinks in a short period of time after pouring the wine, when it is detected that the user is in the pouring state, the detection time interval can be shortened, and the liquid level height in the wine dispenser can be detected at a high frequency until the difference between the liquid level heights detected twice is less than the preset value. The pouring state is judged to have ended, and the last detected liquid level height is used as the latest liquid level height after this pouring, as the basis for the next liquid level height detection, and the detection time interval is restored.
[0116] The following describes the implementation process of weighting to give users who drink more alcohol a higher probability of grabbing red envelopes with larger amounts:
[0117] like Figure 7 As shown, in step 40, allocating the generated red envelopes to each user participating in the current red envelope cycle according to the amount weight includes:
[0118] Step 401: Accumulate the amount weights of the respective users to obtain a total amount weight; use the total amount weight to normalize the amount weights to obtain a normalized probability of the respective users.
[0119] In one embodiment, the expression of the normalized probability of user i may be:
[0120]
[0121] Among them, w i is the amount weight of user i.
[0122] For example, a total of 5 users participate in the red envelope grabbing, the amount weight of user 1 is 3, the amount weight of user 2 is 2, the amount weight of user 3 is 1, the amount weight of user 4 is 1, and the amount weight of user 5 is 1; the total amount weight is 8. The amount weights of each user are normalized using the total amount weight 8, and the normalized probability of user 1 is 0.375, the normalized probability of user 2 is 0.25, the normalized probability of user 3 is 0.125, the normalized probability of user 4 is 0.125, and the normalized probability of user 5 is 0.125.
[0123] For another example, a total of 3 users participate in the red envelope grabbing, the amount weight of user A is 2, the amount weight of user B is 3, and the amount weight of user C is 5; the total amount weight is 10, and the amount weights of each user are normalized using the total amount weight of 8, resulting in a normalized probability of user A of 0.2, a normalized probability of user B of 0.3, and a normalized probability of user C of 0.5.
[0124] Step 402: Sort the multiple red envelopes with different amounts in descending order to obtain a red envelope distribution order.
[0125] For example, according to the red envelope distribution order, the amount of red envelope 1 is 100, the amount of red envelope 2 is 50, the amount of red envelope 3 is 30, the amount of red envelope 4 is 20, and the amount of red envelope 5 is 10.
[0126] Step 403: Determine the recipients in sequence according to the normalized probabilities of the respective users, and distribute red envelopes to the recipients determined each time according to the red envelope distribution order.
[0127] In one embodiment, if Figure 8As shown, before the red envelopes are available, the user uses his or her own mobile terminal to log in to the mobile application that provides the red envelope service. After logging in, in each current red envelope period, the sensor in the wine dispenser sends the first infrared signal to the inside multiple times, detects the signal strength of the received second infrared signal, and returns the detected signal strength to the mobile application, which calculates the liquid level and stores it. The mobile application determines the amount of alcohol consumed by the user in the current red envelope period based on the liquid level obtained multiple times, and determines the amount weight according to the amount of alcohol consumed; and then allocates red envelopes according to the operating steps from step 401 to step 403. When the red envelopes are available, the user clicks on the interface displayed by the mobile terminal to display the amount of the red envelope allocated to him or her by the mobile application on the interface.
[0128] Specifically, if Figure 9 As shown, in step 403, the process of sequentially determining the recipients according to the normalized probabilities of the respective users and distributing red envelopes to the recipients determined each time according to the red envelope distribution order includes:
[0129] Step 501: Add each user participating in the current red envelope cycle to the set of participating users in the first current distribution round.
[0130] For example, a total of 5 users participate in grabbing red envelopes, and the set of participating users in the first current allocation round is: user 1, user 2, user 3, user 4 and user 5.
[0131] Step 502: In each current allocation round, select a user to be allocated from the set of participating users in the current allocation round according to the normalized probability of each user.
[0132] The process of selecting the assignees will be described in detail below.
[0133] Step 503: Obtain red envelopes in sequence according to the red envelope distribution order, and use the obtained red envelopes as the red envelopes to be distributed in the current distribution round.
[0134] For example, according to the red envelope distribution order, red envelope 1 with an amount of 100 is obtained in the first current distribution round.
[0135] Step 504: Allocate the red envelope to be distributed to the recipient.
[0136] For example, the first person to be allocated in the current allocation round is user 1, and red envelope 1 is allocated to user 1.
[0137] Step 505: The person to be allocated is deleted from the participating user set, and the deleted participating user set is used as the participating user set of the next current allocation round, until after multiple current allocation rounds, all red envelopes generated in the current red envelope period are allocated.
[0138] For example, remove user 1 from the set of participating users in the first current allocation round to obtain the set of participating users in the second current allocation round. Based on the normalized probability of each user, select a candidate from the set of participating users in this second current allocation round. Following the red envelope distribution order, obtain red envelope 2 with a value of 50 in the second current allocation round. For example, if the candidate selected in the second current allocation round is user 3, red envelope 2 is allocated to user 3. Remove user 3 from the set of participating users in the second current allocation round to obtain the set of participating users in the third current allocation round. This process repeats over multiple current allocation rounds to distribute the five generated red envelopes. This will not be further detailed here.
[0139] It should be noted that the number of red envelopes may not be consistent with the number of users in the first current allocation round's participating user set. In this case, there may be users who have not been allocated red envelopes, and the user cannot grab the red envelopes.
[0140] In order to make the users who drink more alcohol have a higher probability of grabbing the red envelopes with larger amounts, and at the same time ensure that the distribution of red envelopes is random, the process of selecting the recipients is explained below. Figure 10 As shown, in step 502, in each current allocation round, selecting a user to be allocated from the set of participating users in the current allocation round according to the normalized probability of each user includes:
[0141] Step 601: Divide the unit interval according to the normalized probability of all users in the participating user set to obtain a user interval for each user.
[0142] The unit interval includes multiple user intervals, and the unit interval is selected by those skilled in the art according to specific usage scenarios. In an optional embodiment, the unit interval can be [0, 1].
[0143] For example, when a total of 3 users participate in the red envelope grabbing, the normalized probability of user A is 0.2, and the user interval of user A is [0, 0.2); the normalized probability of user B is 0.3, and the user interval of user B is [0.2, 0.5); the normalized probability of user C is 0.5, and the user interval of user C is [0.5, 1).
[0144] Step 602: Generate a random number within the unit interval; determine the user interval where the random number is located, and select the user corresponding to the determined user interval as the person to be allocated.
[0145] For example, a random number within [0, 1] is generated; if the random number is within the range of [0, 0.2), user A is selected as the person to be assigned; if the random number is within the range of [0.2, 0.5), user B is selected as the person to be assigned; if the random number is within the range of [0.5, 1), user C is selected as the person to be assigned.
[0146] An embodiment of the present invention utilizes a red envelope grabbing method for marketing. By weightedly distributing red envelopes, it stimulates user participation, increases the number of participating users, and increases the engagement of individual users. Marketing data for this marketing method includes: the number of offline marketing locations participating in the red envelope grabbing activity and their specific location information, as well as the amount of red envelopes distributed by each location, the total red envelope amount for each current red envelope cycle, and the time of distribution. Before a user begins pouring wine, a marketing staff member at the location can record the type of wine poured into the dispenser. Users join the red envelope grabbing activity by logging into a mobile application. After logging in, user profile data such as age and gender can be obtained, provided the user consents to the use of their personal information. Information about the time the user participated in the activity can also be obtained. After the red envelope grabbing activity begins, the red envelope amount received by each user in each current red envelope cycle can also be obtained. For this red envelope grabbing marketing method, user behavior data includes: wine type, user profile data, time information, and red envelope amount. Therefore, it is possible to establish a connection between marketing data and user behavior data. Subsequently, user behavior data can be used for modeling to infer the preferences of different groups of people for various alcoholic products at different times, facilitating more precise marketing based on these preferences. For example, if you purchase a certain category of alcoholic products during dinner time and participate in a red envelope grabbing activity on a mobile application, you can enjoy a larger total free gift amount.
[0147] To promote moderate drinking, one embodiment sets a recommended alcohol intake for each red envelope period. Within that red envelope period, if a user's alcohol intake exceeds the recommended intake for that period, the user's monetary weight is reduced to a first penalty value, and red envelopes are allocated to the user in that period based on the first penalty value. The first penalty value is selected by those skilled in the art based on specific usage scenarios. In an optional embodiment, the recommended alcohol intake value for each red envelope period can be kept consistent.
[0148] For example, when the user drinks liquor, the recommended drinking amount in the first current red envelope period is 10 ml; when the user's drinking amount is obtained to reach 10 ml, the user's amount weight is 4; when the user's drinking amount exceeds 10 ml, the user's amount weight is reduced to 1, and the user is allocated a red envelope using the amount weight of 1 in the current red envelope period.
[0149] On the other hand, in one embodiment, each time a user logs into the mobile application, the user's total alcohol consumption within the current red envelope period, which is not more than a preset time interval, is stored, and a historical alcohol consumption is generated based on the multiple total alcohol consumption. After the user logs into the mobile application this time, the user's alcohol consumption is continuously accumulated to calculate the user's total alcohol consumption. When the user's total alcohol consumption exceeds the user's historical alcohol consumption, the user's monetary weight is reduced to a second penalty value, and red envelopes are allocated to the user in each subsequent current red envelope period according to the second penalty value. The preset time interval and the second penalty value are selected by those skilled in the art based on the specific usage scenario.
[0150] This embodiment determines the historical alcohol consumption and uses the historical alcohol consumption as the drinking habit of the user to measure the user's alcohol tolerance, so as to guide the user to avoid excessive drinking at every dinner party.
[0151] For example, if the preset time interval is 90 minutes and the user does not join a new red envelope cycle after logging into the mobile app for more than 90 minutes, the user's dinner party is deemed to have ended. Each time the user participates in a dinner party and logs into the mobile app, the mobile app's server stores the user's total alcohol consumption during each red envelope cycle before the end of the dinner party. The average of the total alcohol consumption counted after each mobile app login is used to obtain the user's historical alcohol consumption. After the user logs into the mobile app this time, the user's alcohol consumption is continuously accumulated to calculate the user's total alcohol consumption. If the user's historical alcohol consumption is 50 ml, the user's total alcohol consumption for this period is 50 ml, and the user's amount weight is 3; if the user's total alcohol consumption exceeds 50 ml, the user's amount weight is reduced to 0.1, and in each subsequent red envelope cycle, the user is allocated red envelopes using an amount weight of 0.1.
[0152] In one embodiment, to guide users to drink in a civilized manner, in the context of alcohol consumption, each time a user logs into a mobile application, the mobile application prompts the user to add an administrator account to the mobile application, and the administrator records and maintains relevant information on civilized drinking. This includes: after determining the users participating in the red envelope grabbing activity, the mobile application marks the users who have engaged in uncivilized behavior after drinking, adds the user's alcohol limit, and the type of alcohol corresponding to the alcohol limit; wherein the alcohol limit is: the amount of alcohol that would cause the user to be in a state of unconsciousness and / or engage in uncivilized behavior. After the user logs into the mobile application this time, the administrator adds the type of alcohol consumed by each user and obtains the corresponding alcohol limit according to the corresponding type of alcohol consumed; when the user's alcohol consumption exceeds the preset risk ratio of the alcohol limit, the mobile application prompts the administrator to monitor the user's status and regulate the user's behavior; wherein the preset risk ratio is selected by those skilled in the art based on the specific usage scenario.
[0153] For example, in actual scenarios, there is often a dinner organizer. When entering the drinking scene of alcoholic products, the restaurant waiter can guide the dinner organizer to log in to the mobile application first; after the dinner organizer logs in, the mobile application prompts through a pop-up message to guide the dinner organizer to add himself as an administrator in the mobile application, so as to set the dinner organizer to record and maintain relevant information on civilized drinking at this dinner. Then, the dinner organizer marks the users who have engaged in uncivilized behavior after drinking in the mobile application, and adds the alcohol limit of the users who have engaged in uncivilized behavior, as well as the type of alcohol corresponding to the alcohol limit; and adds the type of alcohol currently being consumed by the users participating in this dinner. After the user logs into the mobile application this time, the corresponding alcohol limit is obtained according to the corresponding drinking type; for a certain user, when the dinner organizer adds the drinking type as alcohol 1, the alcohol limit corresponding to alcohol 1 is obtained; the preset risk ratio is set to 80%; when the user's drinking volume exceeds 80% of the alcohol limit, the mobile application prompts the dinner organizer to monitor the user's status and regulate the user's behavior.
[0154] Example 2:
[0155] like Figure 11 As shown, the embodiment of the present invention also provides another red envelope distribution method based on alcohol consumption, including:
[0156] Step 701: Generate multiple red envelopes with different amounts during this red envelope cycle.
[0157] Among them, this embodiment divides the duration of the dinner into multiple red envelope cycles, and generates and distributes a round of red envelopes in one red envelope cycle. For users, they can grab a red envelope once in each red envelope cycle.
[0158] The amount of each red envelope is random. The specific method of generating red envelopes with different amounts is selected by those skilled in the art according to the specific usage scenario.
[0159] Step 702: Allocate the multiple red envelopes with different amounts to the multiple users participating in the current red envelope cycle, so that the multiple users can grab the allocated red envelopes.
[0160] Among them, the specific method of distributing red envelopes with different amounts is selected by technical personnel in this field according to the specific usage scenario; in an optional embodiment, each red envelope can be randomly distributed to users who participate in the red envelope grabbing during this red envelope cycle; or each red envelope can be distributed to users who participate in the red envelope grabbing during this red envelope cycle with reference to the red envelope distribution algorithm in the prior art, which will not be repeated here.
[0161] Step 703: Generate the user's scheduled drinking amount in the current red envelope period according to the amount of the red envelope snatched by each user.
[0162] In one embodiment, users who participated in the red envelope grabbing during the current red envelope period are obtained, and the red envelope amounts grabbed by each user are sorted from highest to lowest. According to the sorting order, a predetermined alcohol consumption amount is generated from largest to smallest, and this is used as the predetermined alcohol consumption amount for the user who grabbed the corresponding red envelope. Based on this, in an optional embodiment, the size ratio relationship between the red envelope amounts of each user can be obtained to determine the maximum predetermined alcohol consumption amount for the user who grabbed the red envelope with the largest amount. This size ratio relationship is used to scale the maximum predetermined alcohol consumption amount to obtain the predetermined alcohol consumption amount for the remaining users. The method for determining the maximum predetermined alcohol consumption amount is selected by those skilled in the art based on the specific usage scenario, and the maximum predetermined alcohol consumption amount is determined in accordance with the principle of moderate drinking.
[0163] Step 704: According to the predetermined drinking amount, the user is instructed to pour wine from the wine dispenser into the wine glass used by the user, so that the user can drink according to the predetermined drinking amount during the current red envelope period.
[0164] Similarly, in the second embodiment of the present invention, when using a wine dispenser and a wine glass for drinking, after determining each user's predetermined drinking volume, the user or other wine pourer is guided to pour the wine from the wine dispenser into the wine glass. In an alternative embodiment, when the predetermined drinking volume exceeds the capacity of the wine glass, a prompt can be sent to prompt the user to pour wine from the wine dispenser again within the current red envelope period, so as to complete the predetermined drinking volume within the current red envelope period.
[0165] Example 3:
[0166] like Figure 12 The figure is a schematic diagram of the structure of the red envelope distribution device based on alcohol consumption according to an embodiment of the present invention. The red envelope distribution device based on alcohol consumption according to this embodiment includes one or more processors 21 and a memory 22. Figure 12 A processor 21 is taken as an example.
[0167] The processor 21 and the memory 22 may be connected via a bus or other means. Figure 12 The bus connection is taken as an example.
[0168] Memory 22, as a nonvolatile computer-readable storage medium, can be used to store nonvolatile software programs and nonvolatile computer-executable programs, such as the alcohol consumption-based red envelope distribution method in this embodiment. Processor 21 executes the alcohol consumption-based red envelope distribution method by running the nonvolatile software programs and instructions stored in memory 22.
[0169] The memory 22 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state memory device. In some embodiments, the memory 22 may optionally include a memory remotely located relative to the processor 21, and such remote memory may be connected to the processor 21 via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0170] The program instructions / modules are stored in the memory 22. When executed by the one or more processors 21, the red envelope distribution method based on alcohol consumption in the above-mentioned embodiment is executed, for example, each step of the red envelope distribution method based on alcohol consumption in the embodiment of the present invention described above is executed.
[0171] An embodiment of the present invention further provides a non-volatile computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are executed by one or more processors, for example Figure 12 A processor 21 can enable the one or more processors to execute the red envelope distribution method based on alcohol consumption in a specific embodiment of the present invention, for example, to execute the various steps of the red envelope distribution method based on alcohol consumption in the embodiment of the present invention described above; it can also realize Figure 12 The various modules and units described above; or executing the red envelope distribution method based on the amount of alcohol consumed in the specific embodiment of the present invention, for example, executing the various steps of the red envelope distribution method based on the amount of alcohol consumed in the embodiment of the present invention described above; or Figure 12 The various modules and units described.
[0172] It is worth noting that the information interaction, execution process, etc. between the modules and units within the above-mentioned devices and systems are based on the same concept as the processing method embodiment of the present invention. The specific content can be found in the description of the method embodiment of the present invention and will not be repeated here.
[0173] Those skilled in the art will understand that all or part of the steps in the various methods of the embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), a disk or an optical disk, etc.
[0174] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A red envelope distribution method based on alcohol consumption, characterized in that: include: Generate multiple red envelopes with different amounts; Before grabbing a red envelope, obtain the alcohol consumption of each user in the current red envelope period; wherein the current red envelope period is: starting from the last time a red envelope is grabbed and ending at the time of this red envelope grab; Sort the users participating in the current red envelope cycle in descending order of alcohol consumption to obtain a user weighted order; and assign a red envelope amount weight from high to low to each user in descending order according to the user weighted order; According to the amount weight, the generated red envelopes are distributed to each user participating in the current red envelope cycle, so that each user can grab the distributed red envelopes.
2. The red envelope distribution method based on alcohol consumption according to claim 1 is characterized in that: include: Accumulate the amount weights of each user to obtain the total amount weight; Normalizing each of the amount weights using the total amount weight to obtain a normalized probability for each user; Sort the red envelopes with different amounts in descending order to obtain a red envelope distribution order; The persons to be allocated are determined in sequence according to the normalized probabilities of the respective users, and red envelopes are allocated to the persons to be allocated each time according to the red envelope allocation order.
3. The red envelope distribution method based on alcohol consumption according to claim 2 is characterized in that: include: Add each user who participated in the current red envelope cycle to the set of participating users in the first current distribution round; In each current allocation round, selecting a user to be allocated from the set of participating users in the current allocation round according to the normalized probability of each user; Obtaining red envelopes in sequence according to the red envelope distribution order, and using the obtained red envelopes as the red envelopes to be distributed in the current distribution round; Allocating the red envelope to be distributed to the person to be distributed; The person to be allocated is deleted from the participating user set, and the deleted participating user set is used as the participating user set of the next current allocation round, until after multiple current allocation rounds, all red envelopes generated in the current red envelope period are allocated.
4. The red envelope distribution method based on alcohol consumption according to claim 2 is characterized in that: include: Dividing the unit interval according to the normalized probability of all users in the participating user set to obtain a user interval for each user; A random number is generated within the unit interval; a user interval in which the random number is located is determined, and a user corresponding to the determined user interval is selected as a person to be allocated.
5. The red envelope distribution method based on alcohol consumption according to claim 1 is characterized in that: Each user's wine dispenser is equipped with a vertical sensor array; The method comprises: During the current red envelope period, the vertical sensor array detects the liquid level in the wine dispenser at first preset time intervals; When the difference between the liquid level recorded in the previous test and the current test is a negative number, it is determined that the user is in a drinking state; Obtaining the coordinates of the liquid level heights recorded in the two adjacent tests on the wine dispenser, and calculating the single drinking amount corresponding to the two adjacent tests using the obtained coordinates according to the capacity model of the wine dispenser; The user's drinking amount is obtained by accumulating all single drinking amounts in the current red envelope period.
6. The red envelope distribution method based on alcohol consumption according to claim 5 is characterized in that: Each of the vertical sensor arrays includes a plurality of sensors arranged from top to bottom; The method comprises: During the current red envelope period, each sensor in the vertical sensor array transmits a first infrared signal into the wine dispenser at intervals of a first preset time; Each sensor receives a second infrared signal returned from the wall of the wine dispenser and detects the signal strength of the second infrared signal; Comparing the signal strengths of the second infrared signals detected by adjacent sensors in the vertical sensor array in pairs from top to bottom, and determining two adjacent sensors whose signal strength differences exceed a threshold; The bottom coordinate of the lower sensor of the two adjacent sensors is determined as the liquid level.
7. The red envelope distribution method based on alcohol consumption according to claim 6 is characterized in that: Also includes: When the difference between the liquid level recorded in the previous detection and the current detection is a positive number, it is determined that the user is in the pouring state; The first preset time is shortened to a second preset time to increase the liquid level detection frequency, until the difference between two adjacent detected liquid levels is less than a preset value, and the second preset time is increased to the first preset time.
8. A red envelope distribution method based on alcohol consumption, characterized in that: include: During this red envelope cycle, multiple red envelopes with different amounts are generated; Allocating the multiple red envelopes of different amounts to the multiple users participating in the current red envelope cycle, so that the multiple users can grab the allocated red envelopes; According to the amount of the red envelope grabbed by each user, generating the user's scheduled drinking amount in the current red envelope period; According to the predetermined drinking amount, the user is made to pour wine from the wine dispenser into the wine glass used by the user, so that the user can drink according to the predetermined drinking amount during the current red envelope period.
9. A red envelope distribution device based on alcohol consumption, characterized in that: The red envelope distribution device based on alcohol consumption includes at least one processor and a memory, and the at least one processor and the memory are connected via a data bus. The memory stores instructions that can be executed by the at least one processor. After being executed by the processor, the instructions are used to implement the red envelope distribution method based on alcohol consumption described in any one of claims 1-8.
10. A non-volatile computer storage medium, characterized in that The computer storage medium stores computer-executable instructions, which are executed by one or more processors to complete the red envelope distribution method based on alcohol consumption as described in any one of claims 1-8.