Coupon distribution method and device

By obtaining user and item portrait characteristics and using the FiBiNet network prediction model to match coupons, it solves the problem of coupon distribution relying on experience and not combining user preferences in the existing technology, achieving efficient personalized distribution and improving the use value of coupons. and user motivation effects.

CN112990954BActive Publication Date: 2024-09-20BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911304510.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-17
Publication Date
2024-09-20
Estimated Expiration
2039-12-17

AI Technical Summary

Technical Problem

In the existing technology, coupon distribution relies on the experience of operators and fails to combine users' shopping preferences and real-time interests, resulting in low coupon use value.

Method used

By obtaining the portrait characteristics of users and items, the FiBiNet network prediction model is used to determine the target items of the target users, and the coupons are matched and distributed from the resource pool to achieve personalized distribution for thousands of people.

Benefits of technology

It improves the utilization value and use value of coupons, achieves accurate grouping and personalized push based on user behavior parameters, and increases user incentive effects and traffic.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112990954B
    Figure CN112990954B
Patent Text Reader

Abstract

The present invention discloses a method and device for distributing coupons, and relates to the field of computer technology. A specific implementation of the method includes: obtaining user portrait features of a target user and item portrait features of each item; inputting the user portrait features and the item portrait features into a trained prediction model to determine the target item of the target user; based on the target item of the target user, matching and distributing target coupons corresponding to the target user from a resource pool. This implementation can distribute coupons in a highly intelligent manner in combination with different shopping preferences and real-time interests of different users, without the need for manual configuration, and can distribute coupons in a personalized manner while improving the utilization value of coupons, thereby achieving personalized coupon distribution for each user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for distributing coupons. Background Art

[0002] With the development of the Internet and big data, more and more users like to shop online. In order to attract more users, e-commerce websites push a variety of coupons. The platform stimulates user consumption by promoting items or discounting coupons. In the prior art, when distributing coupons, the operating staff of the e-commerce platform manually configures and randomly distributes coupons.

[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:

[0004] (1) Manual configuration of coupons relies heavily on the business experience of operators;

[0005] (2) The different shopping preferences and real-time interests of different users are not taken into account, and the use value of coupons after distribution is not high. Summary of the invention

[0006] In view of this, an embodiment of the present invention provides a method and device for distributing coupons, which can distribute coupons in a highly intelligent manner based on the different shopping preferences and real-time interests of different users without manual configuration. The coupons can be distributed in a personalized manner while improving the utilization value of the coupons, thereby achieving personalized coupon distribution for each individual.

[0007] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for distributing coupons is provided, comprising:

[0008] Obtain the user portrait features of the target user and the item portrait features of each item;

[0009] Inputting the user portrait features and the item portrait features into a trained prediction model to determine the target item of the target user;

[0010] Based on the target item of the target user, target coupons corresponding to the target user are matched from a resource pool and distributed.

[0011] Optionally, before obtaining the user portrait features of the target user, the method further includes: obtaining behavior parameter information of each user, and dividing the each user into one or more user groups based on the behavior parameter information, each of the user groups being a group of the target users.

[0012] Optionally, the prediction model is built based on a FiBiNet network.

[0013] Optionally, after obtaining the user portrait features of the target user and the item portrait features of each item, the method further includes: preprocessing and normalizing the user portrait features and the item portrait features;

[0014] The preprocessing includes: filling missing values ​​and filtering out abnormal values, and the normalization processing includes: converting different features into the same dimension.

[0015] Optionally, matching a target coupon corresponding to the target user from a resource pool based on the target item of the target user includes:

[0016] Determine the category to which the target item of the target user belongs;

[0017] Querying a coupon set for each of the categories from the resource pool;

[0018] A coupon in any of the coupon sets or a coupon in an intersection of at least two of the coupon sets is used as a target coupon corresponding to the target user.

[0019] Optionally, if there is no coupon for any one of the categories in the resource pool, a coupon applicable to a preset item is obtained from the resource pool as a target coupon corresponding to the target user.

[0020] Optionally, after matching the target coupon corresponding to the target user from the resource pool and distributing it, the method further includes: selecting target items from various items matching the target coupon and pushing them to the target user.

[0021] According to another aspect of an embodiment of the present invention, there is provided a device for distributing coupons, comprising:

[0022] An acquisition module is used to acquire the user portrait features of the target user and the item portrait features of each item;

[0023] A prediction module, inputting the user portrait features and the item portrait features into a trained prediction model to determine the target item of the target user;

[0024] The matching module matches and distributes target coupons corresponding to the target user from a resource pool based on the target item of the target user.

[0025] Optionally, the device of the embodiment of the present invention also includes a circle selection module, which is used to: obtain behavior parameter information of each user before the acquisition module obtains the user portrait features of the target user, and divide the each user into one or more user groups based on the behavior parameter information, each of the user groups being a group of the target users.

[0026] Optionally, the prediction model is built based on a FiBiNet network.

[0027] Optionally, after the acquisition module acquires the user portrait features of the target user and the item portrait features of each item, it further includes: preprocessing and normalizing the user portrait features and the item portrait features;

[0028] The preprocessing includes: filling missing values ​​and filtering out abnormal values, and the normalization processing includes: converting different features into the same dimension.

[0029] Optionally, the matching module matches a target coupon corresponding to the target user from a resource pool based on the target item of the target user, including:

[0030] Determine the category to which the target item of the target user belongs;

[0031] Querying a coupon set for each of the categories from the resource pool;

[0032] A coupon in any of the coupon sets or a coupon in an intersection of at least two of the coupon sets is used as a target coupon corresponding to the target user.

[0033] Optionally, the matching module is further used to: if there is no coupon for any one of the categories in the resource pool, obtain a coupon applicable to a preset item from the resource pool as a target coupon corresponding to the target user.

[0034] Optionally, the matching module is further used to: after matching and distributing the target coupon corresponding to the target user from the resource pool, screen the target item from each item matching the target coupon and push it to the target user.

[0035] According to another aspect of an embodiment of the present invention, there is provided an electronic device for distributing coupons, comprising:

[0036] one or more processors;

[0037] a storage device for storing one or more programs,

[0038] When the one or more programs are executed by the one or more processors, the one or more processors implement the method provided in the first aspect of the embodiment of the present invention.

[0039] According to another aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method provided by the first aspect of the embodiment of the present invention is implemented.

[0040] One embodiment of the above invention has the following advantages or beneficial effects: predicting the target items of the target user based on the user portrait features and the item portrait features, and then matching and distributing coupons, and being able to distribute coupons in a highly intelligent manner in combination with the different shopping preferences and real-time interests of different users, without the need for manual configuration, while improving the utilization value of coupons and distributing coupons in a personalized manner, so as to achieve the distribution of coupons for different people. Identifying target users based on user behavior parameters can improve the use value of coupons after distribution. Screening target items from various items that match the target coupons and pushing them to target users can improve the incentive effect on target users and increase user traffic on the channel.

[0041] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0043] Figure 1 It is a schematic diagram of the main process of the coupon distribution method according to an embodiment of the present invention;

[0044] Figure 2 is a schematic diagram of a method for distributing coupons in an optional embodiment of the present invention;

[0045] Figure 3 is a schematic diagram of main modules of a coupon distribution device according to an embodiment of the present invention;

[0046] Figure 4 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

[0047] Figure 5 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0048] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0049] According to one aspect of an embodiment of the present invention, a method for distributing coupons is provided.

[0050] Figure 1 Schematic diagram of the main process of the coupon distribution method according to an embodiment of the present invention. Figure 1 As shown, the coupon distribution method includes: step S101, step S102 and step S103.

[0051] Step S101: Obtain user portrait features of the target user and item portrait features of each item.

[0052] User portrait is a labeled user model abstracted from basic user characteristics, web browsing content, online social activities, consumer behavior and other information. User portrait features can be selectively set according to actual conditions, for example, including at least one of the following: natural basic information, account information, geographic information, behavior trajectory, life cycle, industry label, interest preference. For example:

[0053] Natural basic information includes user demographic attributes (such as user gender, age group, recent (30 days, 60 days, 90 days, etc.)), social attributes (marriage, campus user, etc.), family information (whether domestic, whether children, gender of children, etc.), property information (whether there is a house, whether there is a car, etc.), etc.;

[0054] The account information may include whether the user is a member, whether the user is a member with benefits (e.g. JD Plus member), etc.

[0055] Geographic information includes the latitude and longitude of users' frequently used orders, frequently used ordering addresses in the past year, frequently used ordering provinces in the past year, frequently used ordering cities in the past year, frequently used ordering districts and counties in the past year, frequently used ordering regions in the past two years, frequently used ordering provinces in the past two years, frequently used ordering cities in the past two years, frequently used ordering districts and counties in the past two years, frequently used ordering regions in the past three years, frequently used ordering provinces in the past three years, frequently used ordering cities in the past three years, frequently used ordering districts and counties in the past three years, etc.;

[0056] Behavior trajectories include (in the past 1, 3, 5, 7, 14, 30 days, etc.) user activity, user value (such as Jingxiang value, medals, gold, silver and bronze levels, etc.), clicks, purchases, follows, add to cart (i.e. add to shopping cart), orders, shares, searches, etc.;

[0057] The life cycle includes information related to equity members (such as plus members) (such as whether they are equity members, whether they are in the trial stage, the potential for opening equity members, trial conversion, plus duration, number of renewals, recent renewal prices, etc.), category repurchase cycle (such as the life cycle of all website products, the life cycle of plus members, the life cycle of pet products, the life cycle of furniture products, the life cycle of clothing products, pet category potential, furniture category potential, clothing category potential, etc.), whether they are lost users, etc.;

[0058] Industry tags are used to indicate the industries that users are interested in, such as electronic entertainment, maternal and child care, and beauty products;

[0059] Consumption preferences may include interest preferences and price preferences. Interest preferences may include, for example, preferred categories, preferred stores, and product extension attribute preferences, while price preferences may include, for example, the purchasing power of each category, whether a preference is placed on high-value goods, etc.

[0060] Item portraits, like user portraits, are labels for massive amounts of item data. Item portrait features can be selectively set based on actual conditions. For example, item portrait features include at least one of the following: item price, category, brand, gender, short title, and whether the item is discounted. For another example, item portrait features include item attribute information, item behavior information, item sales information, and other information. For example:

[0061] Item attribute information includes business attributes, item reviews, and extended attributes. Business attributes include whether it is a new product, whether it can be reserved, whether it is directly delivered by the manufacturer, whether it is a self-operated service, whether it supports seven-day unconditional return and exchange, whether it supports store pickup, whether it is fresh, etc. Item extended attributes include fabrics, styles, colors, reservations, trends, etc. for clothing categories, and battery capacity and memory, etc. for 3C categories;

[0062] Item behavior information includes time-sensitive information and offline information. Time-sensitive information includes clicks, attention, added to cart, order, share, search, and price within 5 minutes, 10 minutes, 1 hour, and 8 hours. Offline information includes clicks, attention, added to cart, order, share, search, and price within 1 day, 1 week, 1 month, and 1 year.

[0063] Item sales information includes pre-sales information, in-sales information, and after-sales information. Pre-sales information includes the number of consultations within each time window (such as one day, three days, five days, one week, two weeks, one month, one quarter, etc.), the consultation duration, the number of purchases after consultation, the number of collections after consultation, the number of orders after consultation, and the conversion rate after consultation (that is, the percentage of consultations and orders to the total number of consultations), etc. In-sales information includes the number of order cancellations, order volume, and logistics information query times within each time window, and after-sales information includes the number of after-sales, the number of returns and exchanges, the number of good, medium, and bad reviews, the review time, the door-to-door pickup time, the number of price guarantee applications, and the success rate of price guarantee applications, etc. in each time window;

[0064] Other information includes popularity, repurchase tags, picture information, title information, etc.

[0065] Optionally, before obtaining the user portrait features of the target user, the method further includes: obtaining the behavior parameter information of each user, dividing the users into one or more user groups based on the behavior parameter information, each of which is a group of target users; the behavior parameter information includes at least one of the following: user activity, user purchasing power, and user discount history tendency. Compared with the prior art method of randomly distributing coupons, the present invention defines target users based on user behavior parameters, and can define target users based on user preference categories, thereby improving the use value of coupons after distribution.

[0066] Optionally, after obtaining the user portrait features of the target user and the item portrait features of each item, it also includes: preprocessing and normalizing the user portrait features and the item portrait features; wherein the preprocessing includes: filling missing values ​​and filtering out abnormal values, and the normalization includes converting different features into the same dimension.

[0067] Exemplarily, for categorical features, missing values ​​are supplemented with the category number with the largest number. For example, the color categories are red, yellow, and black, and the number of items in the color category with the characteristic value of black is the largest. When the color characteristic value of item A is missing, the color characteristic value of item A can be filled with black. For missing values ​​of numerical features, the mean or median of the feature is supplemented. For example, when collecting the number of clicks on item B by users in different time periods, if the characteristic value of the clicks in a certain time window is missing, the median of the clicks corresponding to other time windows can be used as the clicks corresponding to the time window. Outliers refer to certain data values ​​in a data set, whose size obviously deviates from other data values ​​in the sample set to which they belong;

[0068] Normalization is used to keep different features in the same dimension. For example, some features fluctuate greatly, so logarithmic functions are used for compression; some features almost obey normal distribution, so standard normalization is used; some features are almost uniformly distributed, so min (minimum value) - max (maximum value) normalization is used; some features are relatively sparse, so continuous feature bucketing and binning are used for normalization.

[0069] Through preprocessing and normalization, the computational complexity of the prediction process can be reduced.

[0070] Step S102: input the user portrait features and the item portrait features into a trained prediction model to determine the target item of the target user.

[0071] The prediction model is obtained by training based on training data including user portraits and item portraits, and the network structure of the prediction model can be selectively set according to actual conditions. Optionally, the prediction model is built based on the FiBiNet (FeatureImportance Bilinear Feature Interaction Neural Network, a prediction method based on deep learning) network. FiBiNet is mainly composed of Embedding layer, SeNet Layer layer, Bilinear Interaction Layer layer, DNN (Deep Neural Networks, deep neural network) layer and joint training output layer. The Embedding layer represents the business features as mathematical vectors so that the computer can recognize them. The main function of SeNet Layer is to learn the importance of different features, weight important features, and weaken features that contain little information. The present invention uses an average pooling operation to compress the Embedding vector to obtain a statistical vector. Bilinear Interaction is a way to calculate feature intersection. The feature input of the prediction model of the present invention is end-to-end. After obtaining the user portrait features and item features, all feature conversions are processed inside the model, such as feature binning, feature normalization, feature selection, etc., which is convenient for model and service docking on the one hand, and the model is more flexible on the other hand. The present invention builds a prediction model based on the FiBiNet network, and the prediction result has good accuracy.

[0072] The configurable activation functions in each layer of the FiBiNet network can be ReLu function, Sigmoid function, Tanh function, etc. Optionally, the activation function in this application is:

[0073] y i ′=α i ×(1-p i )×y i +p i ×y i

[0074]

[0075] In the formula, var[y i ] represents the variance of all samples, E[y i ] represents the expectation of all samples, y i Represents the output value corresponding to the i-th sample, y i ′ represents the output value corresponding to the i-th sample after correction by the activation function; α i Represents the weight corresponding to the i-th sample, and its value can be set selectively.

[0076] In deep learning, the ReLu function can better prevent gradient explosion and gradient disappearance than the Sigmoid function and the Tanh function, but the segmentation point of the ReLu function is 0. The embodiment of the present invention adopts the activation function shown in the above formula, which can adjust the segmentation point according to the expectation and variance of the data in the MiniBatch. Compared with ReLu, sigmoid and the like that use the segmentation point 0, it can better learn the characteristics of the data set itself and improve the recall rate of the prediction model in the validation set.

[0077] In the present invention, the loss function of the prediction model can be:

[0078]

[0079] In the formula, Represents the predicted probability value of item t being the target item of the target user, that is, the output result of the joint training output layer; y t represents the true probability value of item t being the target item of the target user; α and γ are modulation coefficients. The modulation coefficient reduces the weight of easily classified samples so that the prediction model can focus more on difficult-to-classify samples during training. α is used to balance the number of samples, and γ is equivalent to a penalty term, which is used to control the mining of difficult-to-classify samples. When γ = 1, it is the cross entropy loss. When γ increases, the loss of easy-to-classify samples decreases, and the loss of difficult-to-classify samples is relatively large. The value of the modulation coefficient can be set selectively. The use of the above loss function can improve the prediction accuracy of the prediction model at the training site.

[0080] After the prediction model is trained, it is tested in multiple dimensions by sampling. Based on the test results, the Adam optimizer (an optimization algorithm proposed by scholars Kingma and Lei Ba in December 2014) is used to manually set the learning rate decay formula to update the model parameters of the prediction model. In this way, the prediction model can be continuously optimized and iterated based on the adverse experience during the test process to improve the prediction accuracy of the prediction model.

[0081] Step S103: Based on the target item of the target user, target coupons corresponding to the target user are matched from a resource pool and distributed.

[0082] In general, each coupon has its corresponding applicable scope, such as only applicable to beauty products, only applicable to fresh products, etc. When matching the target coupon corresponding to the target user, the coupon applicable to the target user's preferred items can be distributed to the target user as the target coupon.

[0083] Optionally, based on the target item of the target user, matching a target coupon corresponding to the target user from a resource pool includes: determining the category to which the target item of the target user belongs; querying a coupon set for each of the categories from the resource pool; and using a coupon in any of the coupon sets or a coupon in the intersection of at least two of the coupon sets as the target coupon corresponding to the target user.

[0084] Optionally, determine the intersection of N coupon sets, where N is a positive number and the initial value of N is the number of categories to which the target item of the target user belongs. If the intersection is not empty, the coupon in the intersection is used as the target coupon; if the intersection is empty, determine the intersection of (N-1) coupon sets until the target coupon is found. In this way, the target coupon can match all categories or the most categories, thereby improving the utilization rate of the target coupon.

[0085] Exemplarily, the target item of the target user is determined to belong to category P1. When matching the target coupon corresponding to the target user, a coupon applicable to category P1 is obtained from the resource pool as the target coupon;

[0086] For example, the target user has three target items, which belong to categories P1, P2, and P3. When matching the target coupon corresponding to the target user, the coupons applicable to categories P1, P2, and P3 are obtained from the resource pool as the target coupons. If there are no coupons applicable to categories P1, P2, and P3 in the resource pool, but there are coupons Q1 applicable only to category P1, coupons Q2 applicable only to category P2, and coupons Q3 applicable to categories P1 and P3, coupons Q3 are used as the target coupons.

[0087] Optionally, if there is no coupon for any of the categories in the resource pool, a coupon applicable to a preset item is obtained from the resource pool as a target coupon corresponding to the target user. The preset item can be selectively set according to actual conditions, for example, to a hot-selling item or a newly launched new product. When there is no coupon matching the category to which the target item of the target user belongs, using a coupon applicable to the preset item as the target coupon can improve the incentive effect on the target user and increase the user flow of the channel.

[0088] Optionally, after matching the target coupon corresponding to the target user from the resource pool and distributing it, it also includes: screening the target item from each item matching the target coupon and pushing it to the target user. The number of target items can be one or more. Exemplarily, the target coupon is Q4, which is applicable to all items in category P4. After distributing coupon Q4 to the target user, the target user can be recommended items or item combinations in category P4 that the user may be interested in. Screening the target item from each item matching the target coupon and pushing it to the target user can improve the incentive effect on the target user and increase the user traffic of the channel.

[0089] Figure 2 Schematic diagram of the method for distributing coupons in an optional embodiment of the present invention. Figure 2 The method for distributing coupons according to the embodiment of the present invention is described in detail. Figure 2 As shown, the coupon distribution method mainly includes the following steps:

[0090] 1. E-commerce coupon background

[0091] The main purpose of this step is to build a resource pool containing various coupons. For example, no-threshold coupons, category-limited coupons, group-order discount coupons, new user coupons, etc. The purpose of no-threshold coupons is to inspire more users to become frequent shoppers on the e-commerce platform and reduce user churn. The purpose of category-limited coupons is to organize activities in specific categories, promote user consumption, and increase user recognition of categories or brands. The purpose of group-order discount coupons is to encourage users to group order, increase product sales, encourage users to spend more, and increase the website transaction amount of the e-commerce platform. The purpose of new user coupons is to increase the number of users on the e-commerce platform, give new users more room for imagination, achieve old users bringing in new users or new users promoting new users, and continuously improve user stickiness.

[0092] 2. The operation center intelligently identifies users

[0093] When identifying target users, user activity, purchasing power, and historical preferences for discounts are important factors to consider. For example, users who frequently visit e-commerce platforms are more likely to use coupons recommended to them than users who visit once every few months. Users with high purchasing power may prefer coupons for famous brands or high-priced goods, while users with low purchasing power prefer coupons for popular but ordinary goods at a high discount. For another example, some users will place an order as long as the discount is large, while some users will place an order even if the discount is small even if they really need it, and will not place an order even if the discount is large even if they don’t need it. For these two types of users with different historical preferences for discounts, they can be identified into different user groups.

[0094] The construction method of the user clustering model can be set according to the actual situation, for example, an algorithm engineer builds an algorithm model for users, or a data analyst designs a user clustering formula based on business experience.

[0095] 3. Feature Engineering

[0096] User portrait features may include user gender, user age, user city location, user mobile device, user product preference, user category preference, user brand preference, etc. Product portrait features may include product price, product category, product brand, product gender, product short title, whether the product is discounted, etc. For details on user portrait features and product portrait features, please refer to the relevant descriptions above and will not be repeated here.

[0097] For details of data preprocessing, please refer to the previous description and will not be repeated here.

[0098] Feature fine-grained analysis refers to the process of performing various normalization processes before the training data or the data to be predicted enters the prediction model in order to keep different features in the same dimension. For details on the normalization process, please refer to the previous description, which will not be repeated here.

[0099] 4. Deep Learning CTR (Click Through Rate) Prediction Model

[0100] Multilayer perceptron introduces one or more hidden layers on the basis of single-layer neural network. The hidden layer is located between the input layer and the output layer. It is a neural network composed of fully connected layers, and the output of each hidden layer is transformed by an activation function. The number of layers of the multilayer perceptron and the number of hidden units in each hidden layer are hyperparameters. Perceptron is the most basic component of deep learning.

[0101] End-to-end feature improvement: The feature input of the deep learning prediction model of the present invention is designed to be end-to-end. After obtaining the original data of the business, all feature conversions are processed inside the model, such as feature binning, feature normalization, feature selection, etc. On the one hand, it is convenient for the connection between the model and the service, and on the other hand, the model's launch is more flexible.

[0102] The FiBiNet network is mainly composed of an Embedding layer, a SeNet Layer, a Bilinear Interaction Layer, a DNN layer, and a joint training output layer. The Embedding layer represents business features as mathematical vectors so that they can be recognized by computers. The main function of the SeNet Layer is to learn an important degree of different features, weight important features, and weaken features that do not contain much information. The present invention uses an average pooling operation to compress the Embedding vector to obtain a statistical vector. Bilinear Interaction is a way to calculate feature intersections. The feature input of the prediction model of the present invention is end-to-end. After obtaining user portrait features and product features, all feature conversions are processed inside the model, such as feature binning, feature normalization, feature selection, etc. On the one hand, it is convenient for the model and service to be connected, and on the other hand, the model is more flexible to go online. The present invention builds a prediction model based on the FiBiNet network, and the prediction results are accurate.

[0103] The configurable activation functions in each layer of the FiBiNet network include ReLu function, Sigmoid function, Tanh function, etc. Optionally, the activation function in this application is:

[0104]

[0105] In the formula, var[y i ] represents the variance of all samples, E[y i ] represents the expectation of all samples, y i represents the i-th sample, p i Represents the output value corresponding to the i-th sample.

[0106] In deep learning, the ReLu function can better prevent gradient explosion and gradient disappearance than the Sigmoid function and the Tanh function, but the segmentation point of the ReLu function is 0. The embodiment of the present invention adopts the activation function shown in the above formula, and can adjust the segmentation point according to the expectation and variance of the data in the MiniBatch. Compared with ReLu, sigmoid, etc., which use the segmentation point 0, it can better learn the characteristics of the data set itself.

[0107] Optimizer updates model parameters: Use the Adam optimizer to update model parameters by manually setting the learning rate decay formula.

[0108] 5. Algorithm-based intelligent coupon distribution

[0109] Algorithm matching user coupons: After grouping users according to multi-dimensional features, the users in each group are taken as target users. After the target users' preferred products (i.e., target items) are determined based on the prediction model, personalized coupons are pushed. In addition, plus benefit coupons can also be pushed to plus member users. Different users have different category and brand preferences, and may need to buy different products in the near future. The present invention pushes personalized coupons to achieve personalized coupon push. Combine plus benefits and coupons to recommend plus exclusive discounts to plus member users, and attract more users to open plus memberships.

[0110] Personalized recommendation of discounted products means recommending products of interest to target users among discounted products.

[0111] 6. Launch the application

[0112] Data end server joint debugging: The data end and the server of the present invention conduct multi-party joint debugging to ensure the stability of performance and the accuracy of data before going online. The data segment mentioned here refers to the database used to store data such as user portrait features and product portrait features.

[0113] Setting up a control experiment: By setting up a control group (ie, the operator randomly distributes coupons), it is convenient to evaluate the impact of the coupon push method of the embodiment of the present invention on business indicators.

[0114] Testing the user experience means that before the coupon distribution method of the embodiment of the present invention is launched, the tester performs a sampling multi-dimensional test on the examples in the regression set to ensure the correctness of the logic.

[0115] Optimization iteration means that testers will promptly feedback test cases with low coupon distribution effects found during the testing process or bad experiences reported by test users to the algorithm personnel of the prediction model in order to continuously optimize and iterate the prediction model.

[0116] The present invention predicts the target items of the target users according to the user portrait features and the item portrait features, and then matches and distributes coupons. It can distribute coupons in a highly intelligent manner based on the different shopping preferences and real-time interests of different users without manual configuration. It can improve the utilization value of coupons while distributing coupons in a personalized manner, thus achieving personalized coupon distribution for each individual.

[0117] According to another aspect of the embodiments of the present invention, a device for implementing the above method is provided.

[0118] Figure 3 Schematic diagram of the main modules of the coupon distribution device according to an embodiment of the present invention. Figure 3 As shown, the coupon distribution device 300 includes:

[0119] An acquisition module 301 acquires user portrait features of a target user and item portrait features of each item;

[0120] Prediction module 302, inputs the user portrait features and the item portrait features into a trained prediction model to determine the target item of the target user;

[0121] The matching module 303 matches and distributes target coupons corresponding to the target user from a resource pool based on the target item of the target user.

[0122] Optionally, the device of the embodiment of the present invention also includes a circle selection module, which is used to: obtain behavior parameter information of each user before the acquisition module obtains the user portrait features of the target user, and divide the each user into one or more user groups based on the behavior parameter information, each of the user groups being a group of the target users.

[0123] Optionally, the prediction model is built based on a FiBiNet network.

[0124] Optionally, after the acquisition module acquires the user portrait features of the target user and the item portrait features of each item, it further includes: preprocessing and normalizing the user portrait features and the item portrait features;

[0125] The preprocessing includes: filling missing values ​​and filtering out abnormal values, and the normalization processing includes: converting different features into the same dimension.

[0126] Optionally, the matching module matches a target coupon corresponding to the target user from a resource pool based on the target item of the target user, including:

[0127] Determine the category to which the target item of the target user belongs;

[0128] Querying a coupon set for each of the categories from the resource pool;

[0129] A coupon in any of the coupon sets or a coupon in an intersection of at least two of the coupon sets is used as a target coupon corresponding to the target user.

[0130] Optionally, the matching module is further used to: if there is no coupon for any of the categories in the resource pool, obtain a coupon applicable to a preset item from the resource pool as a target coupon corresponding to the target user.

[0131] Optionally, the matching module is further used to: after matching and distributing the target coupon corresponding to the target user from the resource pool, screen the target item from each item matching the target coupon and push it to the target user.

[0132] According to another aspect of an embodiment of the present invention, there is provided an electronic device for distributing coupons, comprising:

[0133] one or more processors;

[0134] a storage device for storing one or more programs,

[0135] When the one or more programs are executed by the one or more processors, the one or more processors implement the method provided in the first aspect of the embodiment of the present invention.

[0136] According to another aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method provided by the first aspect of the embodiment of the present invention is implemented.

[0137] Figure 4 An exemplary system architecture 400 is shown to which the method or apparatus for distributing coupons according to an embodiment of the present invention may be applied.

[0138] like Figure 4 As shown, system architecture 400 may include terminal devices 401, 402, 403, network 404 and server 405. Network 404 is used to provide a medium for communication links between terminal devices 401, 402, 403 and server 405. Network 404 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0139] Users can use terminal devices 401, 402, 403 to interact with server 405 through network 404 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 401, 402, 403, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).

[0140] The terminal devices 401 , 402 , and 403 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.

[0141] The server 405 may be a server that provides various services, such as a backend management server (only an example) that provides support for shopping websites browsed by users using the terminal devices 401, 402, and 403. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information, product information - only an example) to the terminal device.

[0142] It should be noted that the coupon distribution method provided in the embodiment of the present invention is generally executed by the server 405 , and accordingly, the coupon distribution device is generally set in the server 405 .

[0143] It should be understood that Figure 4 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0144] Reference below Figure 5 , which shows a schematic diagram of the structure of a computer system 500 of a terminal device suitable for implementing an embodiment of the present invention. Figure 5 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0145] like Figure 5 As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage part 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0146] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage section 508 as needed.

[0147] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 509, and / or installed from the removable medium 511. When the computer program is executed by the central processing unit (CPU) 501, the above-mentioned functions defined in the system of the present invention are executed.

[0148] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0149] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0150] The modules involved in the embodiments of the present invention may be implemented in software or hardware. The modules described may also be set in a processor, for example, may be described as: a processor includes: an acquisition module, which acquires the user portrait features of the target user and the item portrait features of each item; a prediction module, which inputs the user portrait features and the item portrait features into a trained prediction model to determine the target item of the target user; a matching module, which matches the target coupons corresponding to the target user from the resource pool based on the target item of the target user and distributes them. Among them, the names of these modules do not constitute a limitation on the modules themselves in some cases. For example, the prediction module may also be described as a "module that matches the target coupons corresponding to the target user from the resource pool and distributes them."

[0151] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: obtaining user portrait features of the target user and item portrait features of each item; inputting the user portrait features and the item portrait features into a trained prediction model to determine the target item of the target user; based on the target item of the target user, matching the target coupon corresponding to the target user from the resource pool and distributing it.

[0152] According to the technical solution of the embodiment of the present invention, the target items of the target user are predicted based on the user portrait features and the item portrait features, and then the coupons are matched and distributed. The coupons can be distributed highly intelligently in combination with the different shopping preferences and real-time interests of different users without manual configuration. The coupons are distributed in a personalized manner while improving the utilization value of the coupons, so as to achieve the distribution of coupons for different people. The target users are identified according to the user's behavioral parameters, which can improve the use value of the coupons after distribution. The target items are selected from the various items that match the target coupons and pushed to the target users, which can improve the incentive effect on the target users and increase the user traffic of the channel.

[0153] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for distributing coupons, It is characterized in that include: Obtaining behavior parameter information of each user, and dividing each user into one or more user groups based on the behavior parameter information, each of the user groups being a group of target users; Obtain the user portrait features of the target user and the item portrait features of each item; Inputting the user portrait features and the item portrait features into a trained prediction model to determine the target item of the target user; Based on the target item of the target user, target coupons corresponding to the target user are matched from a resource pool and distributed.

2. The method according to claim 1, It is characterized in that The prediction model is built based on the FiBiNet network.

3. The method according to claim 1, It is characterized in that After obtaining the user portrait features of the target user and the item portrait features of each item, the method further includes: preprocessing and normalizing the user portrait features and the item portrait features; The preprocessing includes: filling missing values ​​and filtering out abnormal values, and the normalization processing includes: converting different features into the same dimension.

4. The method according to claim 1, It is characterized in that Based on the target item of the target user, matching a target coupon corresponding to the target user from a resource pool includes: Determine the category to which the target item of the target user belongs; Querying a coupon set for each of the categories from the resource pool; A coupon in any of the coupon sets or a coupon in an intersection of at least two of the coupon sets is used as a target coupon corresponding to the target user.

5. The method according to claim 4, It is characterized in that If the resource pool does not contain coupons for any of the categories, a coupon applicable to a preset item is obtained from the resource pool as a target coupon corresponding to the target user.

6. The method according to claim 1, It is characterized in that After matching the target coupon corresponding to the target user from the resource pool and distributing it, the method further includes: selecting the target item from each item matching the target coupon and pushing it to the target user.

7. A device for distributing coupons, It is characterized in that include: An acquisition module is used to acquire the user portrait features of the target user and the item portrait features of each item; A prediction module, inputting the user portrait features and the item portrait features into a trained prediction model to determine the target item of the target user; The matching module matches and distributes target coupons corresponding to the target user from a resource pool based on the target item of the target user.

8. An electronic device for distributing coupons, It is characterized in that include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.

9. A computer readable medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.