Commodity recommendation method based on big data
By building user and merchant portraits, matching pushed products and adjusting recommendation strategies, it solves the problem of ignoring the marketing purposes of users and merchants in the existing technology, improves the accuracy and efficiency of product recommendations, and increases transaction volume and user satisfaction.
Patent Information
- Application Number
- CN202410909913.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-10-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing product recommendation technology ignores users' requirements for products and merchants' marketing purposes, resulting in low recommendation efficiency and insufficient transaction volume.
By collecting user purchase information, we build user and merchant portraits, match and push products, collect user behavior data, adjust recommendation strategies, and classify and recommend products based on user tendencies and merchant marketing purposes.
It improves the accuracy and efficiency of product recommendations, meets the needs of different types of users, and increases transaction volume and user satisfaction.
Smart Images

Figure CN118747675A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of commodity recommendation, and more specifically, to a commodity recommendation method based on big data. Background Art
[0002] Big data technology is a collection of technologies and tools used to process and analyze large-scale data, including various software tools, programming languages, algorithms and platforms. When big data technology is applied to product recommendations, it will recommend products that meet user needs and the user's own situation, so that users can have a better shopping experience.
[0003] The prior art has the following deficiencies:
[0004] In the past, product recommendations were mostly based on user needs. Products that users need were pushed in descending order according to sales or other categories, ignoring the user's requirements for products and the marketing purposes of product merchants. When the merchants corresponding to the products required by users are doing brand building, the products are often cost-effective, that is, the quality is good and the price is appropriate. Such products are more suitable for users who pursue cost-effective products; while branded products have higher quality and price, and such products are more suitable for users who pursue brands. Traditional product push will lead to inefficient push and low transaction volume of recommended products.
[0005] In view of the above problems, the present invention proposes a solution. Summary of the invention
[0006] In order to overcome the above-mentioned defects of the prior art, an embodiment of the present invention provides a commodity recommendation method based on big data to solve the problems raised in the above-mentioned background technology.
[0007] To achieve the above object, the present invention provides the following technical solutions:
[0008] A commodity recommendation method based on big data includes the following steps:
[0009] Step S1, collecting user purchase information;
[0010] Step S2, classifying users by analyzing user purchase information and constructing product merchant portraits, classifying products according to the product merchant portraits, and matching and pushing the classified users with the classified products;
[0011] Step S3, collecting different types of user behavior data according to matching push;
[0012] Step S4, constructing a user portrait through user behavior data to analyze the user's shopping tendency, adjusting the push according to the user's shopping tendency, collecting user feedback data after the adjustment of the push, updating the user behavior data according to the user feedback data, and thus adjusting the user portrait.
[0013] In a preferred embodiment, in step S2, the commodities purchased by the user are classified into entertainment commodities and daily commodities, and the practicality ratio coefficient obtained by dividing the entertainment commodities by the daily commodities is marked as A, and commodity keywords are extracted through the user's shopping history data, and the user's shopping search times are collected through the commodity keywords to analyze the commodity popularity Z;
[0014] The parallel switch method is used to analyze user purchasing tendencies and classify the current user. If A>1 and Z>1, the current user is judged to be a high-quality user and marked. If A<=1 and Z<=1, the current user is marked as a cost-effective user.
[0015] In a preferred embodiment, in step S2, the prices of all the same type of goods purchased by the current user within the sample time are divided by the standard marketing price to obtain a price ratio coefficient of the same type of goods, which is recorded as D. The warranty periods of various goods in the current user's product data set are collected, and all goods are arranged from small to large according to the product warranty period to form a warranty period data set. The warranty periods of the goods in the warranty period data set are de-unitized and the standard deviation is calculated. The de-unitized product warranty period values are calculated as the average value, and the average value plus the standard deviation is used as the product standard warranty period value. The product warranty period corresponding to all the goods purchased by the current user within the sample time is de-unitized and divided by the product standard warranty period to obtain a guarantee ratio coefficient, which is recorded as B.
[0016] The merchant portrait is constructed using the current commodity price ratio coefficient D and the corresponding commodity guarantee ratio coefficient B, and the price ratio coefficient and the corresponding commodity guarantee ratio coefficient of the same type of commodities purchased by the current user within the sample time are calculated. If D>1 and B>1 of the current commodity, the current commodity merchant is judged to be a profitable merchant and marked, otherwise the current commodity merchant is marked as a brand-building merchant.
[0017] In a preferred embodiment, after the merchants and users are marked respectively, if the current user is a high-quality user, the products sold by profitable merchants are recommended to the current user; if the current user is a cost-effective user, the products sold by brand-building merchants are recommended to the current user.
[0018] In a preferred embodiment, in step S3, a time period with the same time period as the sample time is taken as a behavior time sample for collecting user behavior data, and the user behavior data includes the change in the number of clicks on the pushed content by users, the browsing time of the recommended page by cost-effective users, and the consumption level of the recommended products by high-quality users;
[0019] Access the event log table in the history server, select a relatively recent time period in the history server based on the time period of the behavior time sample, collect the clicks of all cost-effective users on the pushed content and merge them into a historical click data set, calculate the average value of the historical click data set and record it as LD, then collect the clicks of all cost-effective users on the recommended content within the behavior time sample and merge them into an adjustment period click data set, calculate the average value of the adjustment period click data set and record it as TD, subtract the average value of the adjustment period click data set from the average value of the historical click data set to obtain the click volume change coefficient and record it as d, and set the average value of the adjustment period click data set plus the click volume change coefficient as the average click threshold;
[0020] If the current user is a cost-effective user, collect the number of clicks on the recommended content by the current user within the time period, and divide the number of clicks on the recommended content by the average click threshold to obtain the click change coefficient;
[0021] If the current user is a high-quality user, calculate the click volume change coefficient and mark it as h;
[0022] The click volume variation coefficient h is the number of clicks on the recommended content by the current user within a time period divided by the average click threshold.
[0023] In a preferred embodiment, in step S3, the time that the cost-effective user browses the recommended page is analyzed by calculating the current user's recommended stay time coefficient, as follows:
[0024] First, the time when the cost-effective users in the sample open the push content page and leave the push page is captured and analyzed through event listeners. The user stay time data obtained by subtracting the time when the push content page is opened from the time when the push page is left is merged into a stay time data set. The self-service sampling method can be used to select X user stay time data from the stay time data set. The self-service sampling method is as follows: randomly select a data from the stay time data set for recording, put it back into the stay time data set after recording, and then randomly select another data for recording, repeat the operation, and obtain X user stay time data. After removing the maximum and minimum values of the X user stay time data to improve data accuracy, the median is taken as the stay time threshold;
[0025] If the current user is a cost-effective user, calculate the current user's stay time data, divide the current user's stay time data by the stay time threshold to obtain the current user's recommended stay time coefficient and mark it as t;
[0026] The current user recommendation residence time coefficient t is the current user residence time data divided by the residence time threshold.
[0027] In a preferred embodiment, in step S3, the consumption level of the recommended goods by high-quality users can be analyzed by calculating the consumption coefficient of the recommended goods by the current user, analyzing the transaction records of the recommended goods by the high-quality users in the sample within the access behavior time sample, separately recording the total transaction volume and the total value of the recommended goods of each high-quality user, and merging them into a total transaction volume data set and a total product price data set, taking the average value of the total transaction volume data set and calculating the standard deviation, using the average value plus or minus one standard deviation as a screening threshold, and eliminating the total transaction volume data of the recommended goods of high-quality users that exceed the screening threshold;
[0028] The total price of goods dataset is eliminated, and the total transaction volume data of Y recommended goods are obtained in the total transaction volume dataset through the self-service sampling method. Similarly, the total value of the same amount of recommended goods is obtained in the total price of goods dataset. The total value of Y recommended goods is divided by the total transaction volume data of Y recommended goods to obtain Y average recommended single product values, and the average value of Y average recommended single product values is taken as the product value threshold;
[0029] If the current user is a high-quality user, collect the total transaction volume and total value of the recommended products of the current user, divide the total value of the recommended products of the current user by the total transaction volume of the recommended products to get the average value of the recommended products of the current user, divide the average value of the recommended products of the current user by the product value threshold to get the consumption coefficient of the recommended products of the current user and mark it as x;
[0030] The consumption coefficient x of the product recommended by the current user is the average value of the product recommended by the current user divided by the product value threshold.
[0031] In a preferred embodiment, in step S4, a user portrait is constructed by fuzzy rules. If the current user is a cost-effective user, the current user click volume change coefficient h and the current user recommendation stay time coefficient t are defined as input variables, and they are divided into different fuzzy sets;
[0032] Define the low-price and high-efficiency tendency as the output and divide it into fuzzy sets, “YES” and “NO” for the low-price and high-efficiency tendency;
[0033] Formulate a set of fuzzy rules to describe the impact of the current user click volume change coefficient h and the current user recommendation stay time coefficient t on the low price and high efficiency tendency;
[0034] Perform fuzzy reasoning based on fuzzy rules to determine the tendency of low price and high efficiency;
[0035] If the low-price and high-efficiency tendency is YES, the current user is judged to be a user with a low-price and high-efficiency tendency, and the products sold by brand-building merchants are recommended to the current user; if the low-price and high-efficiency tendency is NO, the current user is judged to be a user with a brand-guarantee tendency, and the products sold by profitable merchants are recommended to the current user.
[0036] In a preferred embodiment, in step S4, a user portrait is constructed by fuzzy rules. If the current user is a high-quality user, the current user's click volume change coefficient h and the current user's recommended product consumption coefficient x are defined as input variables, and they are divided into different fuzzy sets;
[0037] Define brand assurance tendency as output and divide it into fuzzy sets, “YES” and “NO” for brand assurance tendency;
[0038] Formulate a set of fuzzy rules to describe the impact of the current user's click volume change coefficient h and the current user's recommended product consumption coefficient x on brand assurance tendency;
[0039] Perform fuzzy reasoning based on fuzzy rules to determine brand assurance tendencies;
[0040] If the brand assurance tendency is YES, the current user is judged to be a user with a brand assurance tendency, and products sold by profitable merchants are recommended to the current user; if the brand assurance tendency is NO, the current user is judged to be a user with a low-price and high-efficiency tendency, and products sold by brand-building merchants are recommended to the current user.
[0041] In a preferred embodiment, in step S4, the user feedback data after the adjustment push is the change in the number of clicks of users on the adjusted push, and the click data set for the adjustment period is used as a new historical click data set. A new time period is selected based on the time period of the behavior time sample to collect the user's clicks on the recommended content and merge them into a new click data set for the adjustment period to recalculate the click change coefficient x, and the user behavior data is updated according to the click change coefficient to adjust the user portrait.
[0042] Technical effects and advantages of a commodity recommendation method based on big data of the present invention:
[0043] The present invention collects user purchase information, screens user-demanded products, classifies users according to user-demanded products, builds merchant portraits through corresponding merchants of user-demanded products, analyzes merchant marketing purposes, classifies merchant products according to merchant marketing purposes, matches and pushes classified users and classified products, collects user behavior data after push to build user portraits, and analyzes user purchase tendencies for pushed products. Recommendations are adjusted according to purchase tendencies, and feedback data after adjustment of recommendations is collected to update user behavior data. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 This is a logical flow diagram of a commodity recommendation method based on big data of the present invention;
[0045] Figure 2 This is a flow chart of a commodity recommendation method based on big data of the present invention. DETAILED DESCRIPTION
[0046] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0047] The present invention collects user purchase information, screens user-demanded products, classifies users according to user-demanded products, builds merchant portraits through corresponding merchants of user-demanded products, analyzes merchant marketing purposes, classifies merchant products according to merchant marketing purposes, matches and pushes classified users and classified products, collects user behavior data after push to build user portraits, and analyzes user purchase tendencies for pushed products. Recommendations are adjusted according to purchase tendencies, and feedback data after adjustment of recommendations is collected to update user behavior data.
[0048] Embodiment 1, the present invention provides a commodity recommendation method based on big data, such as Figure 1 , Figure 2 As shown, the following steps are included:
[0049] Step S1, collecting user purchase information.
[0050] Step S2, classify users by analyzing user purchase information and construct product merchant portraits, classify products according to the product merchant portraits, and match and push the classified users with the classified products.
[0051] Step S3, collecting different types of user behavior data based on matching push.
[0052] Step S4, constructing a user portrait through user behavior data to analyze the user's shopping tendency, adjusting the push according to the user's shopping tendency, collecting user feedback data after the adjustment of the push, updating the user behavior data according to the user feedback data, and adjusting the user portrait.
[0053] The specific implementation is as follows:
[0054] In step S1, user purchase information includes user shopping history data and product data. User shopping history data and product data can be obtained by accessing shopping records.
[0055] The user's shopping history data contains the electronic tags of the goods purchased by the user. The electronic tags of the goods store the product information, including the classification of the goods, that is, the type of goods in which the goods are defined. The specific electronic tags of goods include entertainment goods and daily goods. Among them, entertainment goods include toys and musical instruments, and daily goods include towels and clothes. After confirming the product tags, statistics are conducted. Daily goods are more practical. The more daily goods users buy, the more they care about the practicality of the goods, that is, the more they care about the cost performance of the goods. The number of purchased goods is obtained through the user's shopping history data and the product keywords are extracted. The search volume tool of the browser search engine is accessed through the product keywords to collect the number of user shopping searches and analyze the product popularity.
[0056] Build a merchant profile through commodity data. Commodity data includes the price of similar commodities and the warranty period of commodities. The lower the price of similar commodities, the higher the merchant's requirements for brand building and the more cost-effectiveness; the longer the warranty period of commodities, the more complete the merchant's after-sales service, the more guaranteed the commodities sold, and the more branded commodities sold.
[0057] It should be noted that shopping records refer to data records generated by users during the shopping process, including detailed information on purchased goods, purchase time, purchase amount, etc. These records can help understand users' consumption behavior and purchase preferences, and users' shopping history data and shopping expenditure data can be collected by accessing shopping records. User historical shopping data usually includes user purchase records, purchased goods information, purchase channels, purchase behavior and user information. Among them, the electronic tags of goods can be obtained from the purchased goods information. The search volume tool of the browser search engine saves the search volume and trend of specific keywords on the search engine, which can be used to collect the number of user shopping searches. The warranty period of goods refers to the merchant's commitment to provide consumers with free repair, replacement or return services within a certain period of time. Generally, the after-sales service of branded goods is better, and the warranty period of goods will be longer.
[0058] In step S2, a period of time is randomly selected as a sample time, such as the last month, and the commodities purchased by the current user are classified into entertainment commodities and daily commodities. The entertainment commodities are divided by the daily commodities to obtain a practicality ratio coefficient marked as A. When A>1, the current user purchases more entertainment commodities than daily commodities, and has low requirements for the practicality and cost performance of commodities.
[0059] Extract product keywords through user shopping history data, collect user shopping search times through product keywords, and analyze product popularity. A specific method is as follows:
[0060] First, the products purchased by the current user during the sample time are combined into a purchased product data set, and the purchased product data set is divided into N parts. By randomly selecting a product in each part to obtain N products and extracting product keywords respectively, the search volume tool of the browser search engine is accessed through the selected product keywords to obtain the search volume of the corresponding product keywords. The average of the obtained product search volume records is taken as the standard search volume and recorded as b. The search ratio coefficient obtained by dividing the search volume of each product by the standard search volume is recorded as s. s>1 means that the current product search volume is greater than the standard search volume. The number of products with a statistical search ratio coefficient s>1 is marked as n, and the formula for calculating the popularity ratio coefficient can be Where Z is the popularity ratio coefficient, N is the number of randomly selected products, and n is the number of products with search ratio coefficient s> 1. When Z>1, that is, 2n>N, the number of products with search ratio coefficient s>1 exceeds half. The larger Z is, the more popular products the current user buys, that is, the current user is more inclined to buy branded products.
[0061] The practicality ratio coefficient A and the popularity ratio coefficient Z of the current user are obtained through the above method, and the parallel switch method is used to analyze the user's purchasing tendency and classify the current user. If A>1 and Z>1, the current user is judged to be a high-quality user and marked. If A<=1 and Z<=1, the current user is marked as a cost-effective user.
[0062] By accessing shopping records to obtain product data, the product data includes product prices and product warranty periods. The product data is concentrated to select products of the same type, that is, products with similar uses. The prices of products of the same type are added up to obtain the total shopping amount. A sufficient number of users are selected as sample users. The prices of products of the same type purchased by sample users in the same sample time are added up to obtain multiple total shopping amounts. The prices are divided by the number of products of the same type to obtain the average unit prices of multiple products of the same type. The average unit prices of all products of the same type are multiplied by the evaluation ratio and then added up and divided by the number of sample users as the standard marketing price. Among them, the evaluation ratio can be set by yourself, such as 120%. If the average unit price of the product is 500, the standard marketing price is 600.
[0063] Divide the prices of all similar products purchased by the current user during the sample time by the standard marketing price to obtain the price ratio coefficient of similar products, recorded as D. When the price ratio coefficient of similar products D>1, that is, the price of the corresponding similar products is higher than the standard marketing price, the corresponding product merchants have a high degree of profitability and the products are mostly branded products.
[0064] Collect the warranty periods of various products in the current user's product data set, arrange all products in order of warranty period from small to large and merge them into a warranty period data set. De-unitize the warranty period of the products in the warranty period data set and calculate the standard deviation. The units of the product warranty period are days, months, years, etc. De-unitization can convert all product warranty periods into days and take their values. Calculate the average value of the de-unitized product warranty period, add the average value and the standard deviation as the product standard warranty period value, de-unitize the product warranty period corresponding to all products purchased by the current user within the sample time and divide it by the product standard warranty period to obtain the protection ratio coefficient, which is recorded as B. When the corresponding product protection ratio coefficient B>1, that is, the corresponding product warranty period value is higher than the product standard warranty period value, the corresponding product merchant has more complete after-sales service, the corresponding product merchant has a high degree of profitability, and the corresponding products are mostly branded products.
[0065] The merchant portrait is constructed by obtaining the current commodity price ratio coefficient D and the corresponding commodity guarantee ratio coefficient B. The price ratio coefficient and the corresponding commodity guarantee ratio coefficient of the same type of commodities purchased by the current user within the sample time are calculated by the above method. If D>1 and B>1 of the current commodity, the merchant of the current commodity is judged to be a profitable merchant and marked. Otherwise, the merchant of the current commodity is marked as a brand-building merchant.
[0066] After marking, if the current user is a high-quality user, the products sold by profitable merchants will be recommended to the current user; if the current user is a cost-effective user, the products sold by brand-building merchants will be recommended to the current user.
[0067] It should be noted that there is no unique method for calculating the practicality ratio coefficient, the popularity ratio coefficient, and analyzing the user's purchasing tendency. The setting of the sample time or the selection of the number of sample users can be set according to the actual situation and will not be analyzed here.
[0068] In step S3, a time period with the same time period as the sample time is taken as a behavior time sample for collecting user behavior data. User behavior data includes changes in the number of clicks on the pushed content by users, the length of time that cost-effective users browse the recommended pages, and the consumption level of recommended products by high-quality users.
[0069] During the behavior sample time, access the event log table in the server to obtain the number of user clicks on the pushed content, use event listeners to capture the time when cost-effective users open the pushed content page and leave the push page, and access order records to collect transaction records of products recommended by high-quality users.
[0070] The change in the number of clicks on the pushed content by users can be reflected by calculating the click change coefficient. An equal number of cost-effective users and high-quality users are collected as analysis samples. Since the click processing methods for the two types of users are the same, only cost-effective users are used as an example as follows:
[0071] Access the event log table in the history server, select a relatively recent time period in the history server based on the time period of the behavior time sample, collect the clicks of all cost-effective users on the pushed content and merge them into a historical click data set, calculate the average value of the historical click data set and record it as LD, then collect the clicks of all cost-effective users on the recommended content within the behavior time sample and merge them into an adjustment period click data set, calculate the average value of the adjustment period click data set and record it as TD, subtract the average value of the adjustment period click data set from the average value of the historical click data set to obtain the click volume change coefficient and record it as d, and set the average value of the adjustment period click data set plus the click volume change coefficient as the average click threshold. If the current user is a cost-effective user, collect the clicks of the current user on the recommended content within the time period, and divide the clicks of the current user on the recommended content within the time period by the average click threshold to obtain the click volume change coefficient.
[0072] If the current user is a high-quality user, the click volume change coefficient is calculated using the same method and is marked as h. It should be explained here that calculating the user categories in the analysis sample separately is conducive to reducing the error caused by the difference in click volume changes caused by different user types.
[0073] The click volume variation coefficient h is the number of clicks on the recommended content by the current user within the time period divided by the average click threshold. The average click threshold is determined after calculation. The larger the click volume variation coefficient h is, the greater the number of clicks on the recommended content by the current user within the time period, and the more satisfied the current user is with the recommended content.
[0074] The time that cost-effective users browse recommended pages can be analyzed by calculating the recommended residence time coefficient of the current user. First, the time when cost-effective users in the sample open the push content page and leave the push page is captured and analyzed through the event listener. The user residence time data obtained by subtracting the time when the push content page is opened from the time when the push page is left is merged into a residence time data set. The self-service sampling method can be used to select X user residence time data from the residence time data set. The self-service sampling method is as follows: randomly select a data from the residence time data set for recording, put it back into the residence time data set after recording, and then randomly select a data for recording. Repeat the operation to obtain X user residence time data, remove the maximum and minimum values of the X user residence time data to improve data accuracy, and then take out the median as the residence time threshold.
[0075] If the current user is a cost-effective user, calculate the current user's residence time data, divide the current user's residence time data by the residence time threshold to obtain the current user's recommended residence time coefficient and mark it as t.
[0076] The current user recommended stay time coefficient t is the current user stay time data divided by the stay time threshold. The stay time threshold is determined after calculation. The larger the current user recommended stay time coefficient t is and the longer the current user stays, the more satisfied the current user is with the recommended content.
[0077] The consumption level of recommended goods by high-quality users can be analyzed by calculating the consumption coefficient of recommended goods by the current user. The transaction records of recommended goods by high-quality users in the sample are analyzed within the access behavior time sample. The total transaction volume and total value of recommended goods of each high-quality user are recorded separately and merged into the total transaction volume data set and the total price data set. The average value of the total transaction volume data set is taken and the standard deviation is calculated. The average value plus or minus one standard deviation is used as the screening threshold to remove the total transaction volume data of recommended goods of high-quality users that exceed the screening threshold. The same method is used to remove data from the total price data set. The total transaction volume data of Y recommended goods are obtained in the total transaction volume data set by the self-service sampling method. Similarly, the total value of the same amount of recommended goods is obtained in the total price data set. The total value of Y recommended goods is randomly divided by the total transaction volume data of Y recommended goods to obtain the average recommended single product value of Y. It should be noted here that the selected data cannot be selected again to ensure the randomness of the process. The average value of the Y average recommended single product value is taken as the product value threshold.
[0078] If the current user is a high-quality user, collect the total transaction volume and total value of the recommended products of the current user. Divide the total value of the recommended products of the current user by the total transaction volume of the recommended products to get the average value of the recommended products for the current user. Divide the average value of the recommended products for the current user by the product value threshold to get the recommended product consumption coefficient for the current user and mark it as x.
[0079] The current user recommended product consumption coefficient x is the current user's average recommended product value divided by the product value threshold. The product value threshold is determined after calculation. The larger the current user recommended product consumption coefficient x is, the larger the current user's average recommended product value is, and the more satisfied the current user is with the recommended content.
[0080] It should be noted that the event log table is a data table that records various events that occur in the application. These events can be user behaviors, system operations, error messages, warnings, status changes, etc. The number of clicks on the push content by users can be obtained by accessing the event log table. Event listener is a common programming pattern used to monitor and respond to things happening in the system. It can capture the occurrence of specific events and perform corresponding operations when the event occurs. It can capture the time when the user opens the push content page and leaves the push page and calculate the time the user browses the recommended page. Order records are data tables that record order-related information that occurs in the application. This information usually includes basic order information, detailed information on purchased goods, order status, payment information, etc. The consumption level of user recommended goods can be analyzed by accessing order records. Self-service sampling is a non-parametric sampling method commonly used in statistics. It estimates the overall statistics or constructs a sampling distribution by extracting observations from the sample with replacement, which improves the efficiency of data analysis while ensuring data accuracy. The above analysis of the changes in the number of clicks on the push content by users, the time the cost-effective users browse the recommended page, the consumption level of high-quality users, and the setting methods and formulas of each threshold are not unique. In addition, the time period and the amount of analysis samples can be set according to actual conditions, which will not be analyzed here.
[0081] In step S4, a user portrait is constructed by using fuzzy rules. First, it is determined based on analysis whether the current user is a cost-effective user or a high-quality user, and user portraits are constructed for the two types of users respectively.
[0082] If the current user is a cost-effective user, the current user's click volume change coefficient h and the current user's recommended residence time coefficient t are defined as input variables and divided into different fuzzy sets.
[0083] For example, "Big", "Small" are the coefficients of the click volume change of the current user, and "Long", "Short" are the coefficients of the recommended stay time of the current user. Define the low-price and high-efficiency tendency as the output and divide it into fuzzy sets, such as "YES", "NO" for the low-price and high-efficiency tendency.
[0084] Formulate a set of fuzzy rules to describe the impact of different input variables on output variables. The definition of rules can be obtained based on data analysis. Since the input variables have been analyzed, a definition method is given here. If the current user's click volume change coefficient h exceeds 1, the current user's click volume change coefficient h is judged to be "Big", otherwise it is "Small". Similarly, if the current user's recommended stay time coefficient t exceeds 1, the current user's recommended stay time coefficient t is judged to be "Long", otherwise it is "Short". Marking the low-price and high-efficiency tendency as DH can be defined
[0085] Ru le 1:IF(his B ig)AND(tis Long)THEN(DH is YES)
[0086] Ru le 2:IF(his Sma ll)AND(tis Short)THEN(DH is NO) ...
[0088] If the output result is YES, it is judged that the current user is a user who prefers low price and high efficiency, and the products sold by brand-building merchants are recommended to the current user; if the output result is NO, it is judged that the current user is a user who prefers brand assurance, and the products sold by profitable merchants are recommended to the current user.
[0089] If the current user is a high-quality user, the current user's click volume change coefficient h and the current user's recommended product consumption coefficient x are defined as input variables and divided into different fuzzy sets.
[0090] For example, "Big", "Small" for the coefficient of change of the current user's click volume, "High", "Low" for the coefficient of the current user's recommended stay time. Define the brand security tendency as the output and divide it into fuzzy sets, such as "YES", "NO" for the brand security tendency.
[0091] Similarly, the fuzzy rule for cost-effective users can be defined by marking the brand guarantee tendency as PB.
[0092] Ru le 1:IF(his B ig)AND(xis H igh)THEN(PB is YES)
[0093] Ru le 2:IF(his Sma ll)AND(xis Low)THEN(PB is NO) ...
[0095] If the output result is YES, the current user is judged to be a user who prefers brand assurance, and the products sold by profitable merchants are recommended to the current user; if the output result is NO, the current user is judged to be a user who prefers low price and high efficiency, and the products sold by brand building merchants are recommended to the current user.
[0096] The user feedback data after the adjustment push is the change in the number of clicks on the adjusted push. The click data set during the adjustment period is used as the new historical click data set. A new time period is selected based on the time period of the behavior time sample to collect the user's clicks on the recommended content and merge them into a new click data set during the adjustment period. The click change coefficient x is recalculated, and the user behavior data is updated according to the click change coefficient to adjust the user portrait.
[0097] It should be noted that there is no unique method for constructing user portraits. In the fuzzy rules, the rule definition method for the current user click volume change coefficient h, the current user recommended stay time coefficient t, the current user recommended commodity consumption coefficient x and the output result can be analyzed and set according to expert opinions or actual conditions, and the present invention is only illustrated by example.
[0098] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.
[0099] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments may be implemented in whole or in part in the form of a computer program product.
[0100] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application of the technical solution and the invention constraints. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0101] In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
[0102] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0103] Finally: 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, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A commodity recommendation method based on big data, characterized in that: The steps include: Step S1, collecting user purchase information; Step S2, classifying users by analyzing user purchase information and constructing product merchant portraits, classifying products according to the product merchant portraits, and matching and pushing the classified users with the classified products; Step S3, collecting different types of user behavior data according to matching push; Step S4, constructing a user portrait through user behavior data to analyze the user's shopping tendency, adjusting the push according to the user's shopping tendency, collecting user feedback data after the adjustment of the push, updating the user behavior data according to the user feedback data, and thus adjusting the user portrait.
2. The commodity recommendation method based on big data according to claim 1, characterized in that: In step S2, the commodities purchased by the user are classified into entertainment commodities and daily commodities, and the utility ratio coefficient obtained by dividing the entertainment commodities by the daily commodities is marked as A. The commodity keywords are extracted through the user's shopping history data, and the user's shopping search times are collected through the commodity keywords to analyze the commodity popularity Z; The parallel switch method is used to analyze user purchasing tendencies and classify the current user. If A>1 and Z>1, the current user is judged to be a high-quality user and marked. If A<=1 and Z<=1, the current user is marked as a cost-effective user.
3. The commodity recommendation method based on big data according to claim 2, characterized in that: In step S2, the prices of all the same type of goods purchased by the current user within the sample time are divided by the standard marketing price to obtain the price ratio coefficient of the same type of goods, which is recorded as D. The warranty periods of various goods in the current user's product data set are collected, and all goods are arranged from small to large according to the product warranty period to form a warranty period data set. The warranty periods of the goods in the warranty period data set are de-unitized and the standard deviation is calculated. The de-unitized product warranty period values are calculated as the average value, and the average value plus the standard deviation is used as the product standard warranty period value. The product warranty period corresponding to all the goods purchased by the current user within the sample time is de-unitized and divided by the product standard warranty period to obtain the guarantee ratio coefficient, which is recorded as B. The merchant portrait is constructed using the current commodity price ratio coefficient D and the corresponding commodity guarantee ratio coefficient B, and the price ratio coefficient and the corresponding commodity guarantee ratio coefficient of the same type of commodities purchased by the current user within the sample time are calculated. If D>1 and B>1 of the current commodity, the current commodity merchant is judged to be a profitable merchant and marked, otherwise the current commodity merchant is marked as a brand-building merchant.
4. The commodity recommendation method based on big data according to claim 3, characterized in that: After marking the merchants and users respectively, if the current user is a high-quality user, the products sold by profitable merchants will be recommended to the current user; if the current user is a cost-effective user, the products sold by brand-building merchants will be recommended to the current user.
5. The commodity recommendation method based on big data according to claim 4, characterized in that: In step S3, a time period with the same time period as the sample time is taken as a behavior time sample for collecting user behavior data, and the user behavior data includes the change in the number of clicks on the pushed content by users, the browsing time of the recommended page by cost-effective users, and the consumption level of the recommended products by high-quality users; Access the event log table in the history server, select a relatively recent time period in the history server based on the time period of the behavior time sample, collect the clicks of all cost-effective users on the pushed content and merge them into a historical click data set, calculate the average value of the historical click data set and record it as LD, then collect the clicks of all cost-effective users on the recommended content within the behavior time sample and merge them into an adjustment period click data set, calculate the average value of the adjustment period click data set and record it as TD, subtract the average value of the adjustment period click data set from the average value of the historical click data set to obtain the click volume change coefficient and record it as d, and set the average value of the adjustment period click data set plus the click volume change coefficient as the average click threshold; If the current user is a cost-effective user, collect the number of clicks on the recommended content by the current user within the time period, and divide the number of clicks on the recommended content by the average click threshold to obtain the click change coefficient; If the current user is a high-quality user, calculate the click volume change coefficient and mark it as h; The click volume variation coefficient h is the number of clicks on the recommended content by the current user within a time period divided by the average click threshold.
6. A commodity recommendation method based on big data according to claim 5, characterized in that In step S3, the browsing time of the recommended page by the cost-effective user is analyzed by calculating the current user recommendation stay time coefficient, which is as follows: First, the time when the cost-effective users in the sample open the push content page and leave the push page is captured and analyzed through event listeners. The user stay time data obtained by subtracting the time when the push content page is opened from the time when the push page is left is merged into a stay time data set. The self-service sampling method can be used to select X user stay time data from the stay time data set. The self-service sampling method is as follows: randomly select a data from the stay time data set for recording, put it back into the stay time data set after recording, and then randomly select another data for recording, repeat the operation, and obtain X user stay time data. After removing the maximum and minimum values of the X user stay time data to improve data accuracy, the median is taken as the stay time threshold; If the current user is a cost-effective user, calculate the current user's stay time data, divide the current user's stay time data by the stay time threshold to obtain the current user's recommended stay time coefficient and mark it as t; The current user recommendation residence time coefficient t is the current user residence time data divided by the residence time threshold.
7. The commodity recommendation method based on big data according to claim 5, characterized in that: In step S3, the consumption level of recommended goods by high-quality users can be analyzed by calculating the consumption coefficient of recommended goods by the current user, and the transaction records of recommended goods by high-quality users in the sample are analyzed within the access behavior time sample. The total transaction volume and total value of recommended goods of each high-quality user are separately recorded and merged into a total transaction volume data set and a total product price data set, and the average value of the total transaction volume data set is taken and the standard deviation is calculated. The average value plus or minus one standard deviation is used as the screening threshold, and the total transaction volume data of recommended goods of high-quality users exceeding the screening threshold are eliminated; The total price of goods dataset is eliminated, and the total transaction volume data of Y recommended goods are obtained in the total transaction volume dataset through the self-service sampling method. Similarly, the total value of the same amount of recommended goods is obtained in the total price of goods dataset. The total value of Y recommended goods is divided by the total transaction volume data of Y recommended goods to obtain Y average recommended single product values, and the average value of Y average recommended single product values is taken as the product value threshold; If the current user is a high-quality user, collect the total transaction volume and total value of the recommended products of the current user, divide the total value of the recommended products of the current user by the total transaction volume of the recommended products to get the average value of the recommended products of the current user, divide the average value of the recommended products of the current user by the product value threshold to get the consumption coefficient of the recommended products of the current user and mark it as x; The consumption coefficient x of the product recommended by the current user is the average value of the product recommended by the current user divided by the product value threshold.
8. The commodity recommendation method based on big data according to claim 1, characterized in that: In step S4, a user portrait is constructed by fuzzy rules. If the current user is a cost-effective user, the current user's click volume change coefficient h and the current user's recommended stay time coefficient t are defined as input variables to divide them into different fuzzy sets. Define the low-price and high-efficiency tendency as the output and divide it into fuzzy sets, "YES", "NO" for the low-price and high-efficiency tendency; Formulate a set of fuzzy rules to describe the impact of the current user click volume change coefficient h and the current user recommendation stay time coefficient t on the low price and high efficiency tendency; Perform fuzzy reasoning based on fuzzy rules to determine the tendency of low price and high efficiency; If the low-price and high-efficiency tendency is YES, the current user is judged to be a user with a low-price and high-efficiency tendency, and the products sold by brand-building merchants are recommended to the current user; if the low-price and high-efficiency tendency is NO, the current user is judged to be a user with a brand-guarantee tendency, and the products sold by profitable merchants are recommended to the current user.
9. The commodity recommendation method based on big data according to claim 1, characterized in that: In step S4, a user profile is constructed by fuzzy rules. If the current user is a high-quality user, the current user's click volume change coefficient h and the current user's recommended product consumption coefficient x are defined as input variables and divided into different fuzzy sets; Define brand assurance tendency as output and divide it into fuzzy sets, "YES", "NO" for brand assurance tendency; Formulate a set of fuzzy rules to describe the impact of the current user's click volume change coefficient h and the current user's recommended product consumption coefficient x on brand assurance tendency; Perform fuzzy reasoning based on fuzzy rules to determine brand assurance tendencies; If the brand assurance tendency is YES, the current user is judged to be a user with a brand assurance tendency, and products sold by profitable merchants are recommended to the current user; if the brand assurance tendency is NO, the current user is judged to be a user with a low-price and high-efficiency tendency, and products sold by brand-building merchants are recommended to the current user.
10. The commodity recommendation method based on big data according to claim 1, characterized in that: In step S4, the user feedback data after the adjustment push is the change in the number of clicks on the adjusted push by the user. The click data set during the adjustment period is used as a new historical click data set. A new time period is selected based on the time period of the behavior time sample to collect the number of clicks on the recommended content by the user and merge them into a new click data set during the adjustment period to recalculate the click change coefficient x. The user behavior data is updated according to the click change coefficient to adjust the user portrait.
Citation Information
Cited By
Big data-based live broadcast preference content recommendation method and system
CN120067446A
Live broadcast preference content recommendation method and system based on big data
CN120067446B
