Sales prediction method and device for commodity matching recommendation, equipment and medium

By constructing a product sales index model, analyzing the matching results of products with high user order rates, and predicting the sales probability of the products to be predicted and the sales probability of complete sets of products, the problem of the lack of complete product matching recommendations in the existing technology is solved, and the problem is improved. Improve user shopping satisfaction and conversion rate.

CN118798952APending Publication Date: 2024-10-18GOUMEI (ZHEJIANG) INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410784282.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

The existing technology lacks an effective solution for recommending complete sets of products, resulting in the inability to improve user shopping satisfaction and conversion rates.

Method used

By collecting product order data, product data and live broadcast data, we build a product sales index model, perform data processing and model training, analyze the matching results of products with high user order rates, and predict the sales hit probability of the products to be predicted and the price of complete sets of products. Sales probability, comprehensive analysis to determine the best supporting products.

Benefits of technology

It realizes the sales forecast of the predicted products and the matching of complete sets of products, which improves the user's shopping satisfaction and conversion rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118798952A_ABST
    Figure CN118798952A_ABST
Patent Text Reader

Abstract

The invention discloses a sales prediction method and device for commodity matching recommendation. The method comprises the following steps: acquiring commodity order data, commodity data and live broadcast data; after the collected commodity order data, commodity data and live broadcast data are analyzed and processed, sales prediction is carried out on to-be-predicted commodities through a commodity sales index model based on the analysis data, and complete set commodity matching and sales prediction are further carried out on the to-be-predicted commodities through user order data; and comprehensive analysis is performed based on the sales prediction value of the to-be-predicted commodity and the sales prediction value of the set of commodities to obtain an optimal set of commodities, namely the set of commodities with the highest sales prediction value, and the optimal set of commodities are sent to the live broadcast platform for sales recommendation, so that the shopping satisfaction of the user and the user conversion rate are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a sales forecasting method, device, equipment and medium for commodity matching recommendation. Background Art

[0002] In today's market, product recommendation algorithms have become a core function that every e-commerce platform must have. Many excellent recommendation systems can provide personalized product recommendations based on user behavior, preferences, and historical order data, thereby increasing user shopping satisfaction and user conversion rates. However, these product recommendation methods are all targeted at recommending individual products, and lack a complete set of product recommendations.

[0003] Therefore, no effective solution has been proposed for the problem of lack of recommendation of complete sets of products in the prior art methods. Summary of the invention

[0004] The embodiments of the present invention provide a sales forecasting method, device, equipment and medium for commodity matching recommendation, aiming to solve the problem of lack of recommendation for complete sets of commodities in the prior art methods.

[0005] In a first aspect, an embodiment of the present invention provides a sales forecasting method for commodity matching recommendation, the method comprising:

[0006] Collect and obtain product order data, product data, and live broadcast data; wherein the live broadcast data includes live broadcast session data, session trends, and explanation data; the product order data includes user information; and the product data includes product ID;

[0007] Based on the live broadcast session data and the explanation data, data processing is performed on the product order data and product data of the current session to obtain the relevant sales data of each product included in the product order data and the product data in the corresponding live broadcast session, and the relevant sales data is associated and combined with the labeling data of the corresponding product through the product ID to obtain the associated data under each product ID and form a product sales data set;

[0008] Based on the commodity sales data set, model training and tuning are performed on the constructed commodity sales index model to obtain a first commodity sales index model;

[0009] Based on the live broadcast session data and user information, data aggregation processing is performed on the product order data of the current session to obtain the order data of each user in the user information in the corresponding session, and based on the order data and product ID, matching combination analysis is performed on the ordered products to obtain product matching results with higher user order rates in different sessions and corresponding matching sales data;

[0010] Based on the ID of the product to be predicted, as well as the product matching results and matching sales data of products with higher user order rates in different sessions, a product matching analysis and processing is performed on the product to be predicted to obtain the product matching results of the product to be predicted;

[0011] Based on the supporting sales data with higher user order rates in different sessions, the constructed commodity sales index model is trained and optimized to obtain a second commodity sales index model;

[0012] Performing sales forecasting on the commodity to be forecasted based on the first commodity sales index model to obtain a sales hit probability value of the commodity to be forecasted;

[0013] Based on the second commodity sales index model, sales forecasting is performed on the commodity matching results of the commodity to be forecasted, so as to obtain a sales probability value of the commodity set of the commodity to be forecasted;

[0014] Based on the sales hit probability value of the to-be-predicted product and the sales probability value of the set of products, a comprehensive data analysis is performed on the corresponding to-be-predicted product to obtain the best supporting product and the corresponding sales forecast value.

[0015] In a second aspect, an embodiment of the present invention provides a sales forecasting device for commodity matching recommendation, comprising:

[0016] A collection unit, used to collect and obtain product order data, product data, and live broadcast data; wherein the live broadcast data includes live broadcast session data, session trends, and explanation data; the product order data includes user information; and the product data includes product ID;

[0017] The commodity sales prediction unit is used to process the commodity order data and commodity data of the current session based on the live broadcast session data and the explanation data, obtain the relevant sales data of each commodity included in the commodity order data and the commodity data in the corresponding live broadcast session, and associate and combine the relevant sales data with the labeling data of the corresponding commodity through the commodity ID to obtain the associated data under each commodity ID and form a commodity sales data set,

[0018] Based on the commodity sales data set, the constructed commodity sales index model is trained and optimized to obtain a first commodity sales index model.

[0019] Based on the live broadcast session data and user information, data aggregation processing is performed on the product order data of the current session to obtain the order data of each user in the user information in the corresponding session, and based on the order data and product ID, matching combination analysis is performed on the ordered products to obtain the product matching results with higher user order rates in different sessions and the corresponding matching sales data.

[0020] Based on the ID of the product to be predicted, as well as the product matching results and matching sales data of products with higher user order rates in different sessions, the product matching analysis and processing is performed on the product to be predicted to obtain the product matching results of the product to be predicted.

[0021] The constructed commodity sales index model is trained and optimized based on the supporting sales data with higher user order rates in different sessions to obtain a second commodity sales index model.

[0022] Based on the first commodity sales index model, sales forecast is performed on the commodity to be predicted, and a sales hit probability value of the commodity to be predicted is obtained.

[0023] Based on the second commodity sales index model, sales forecasting is performed on the commodity matching results of the commodity to be predicted, so as to obtain a sales probability value of the set of commodities of the commodity to be predicted.

[0024] Based on the sales hit probability value of the to-be-predicted product and the sales probability value of the set of products, a comprehensive data analysis is performed on the corresponding to-be-predicted product to obtain the best supporting product and the corresponding sales forecast value.

[0025] In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the computer program.

[0026] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the method described in the first aspect above.

[0027] The embodiment of the present invention provides a sales forecasting method and device for commodity matching recommendation. Collect and obtain commodity order data, commodity data, and live broadcast data; wherein the live broadcast data includes live broadcast session data, session trends, and explanation data; the commodity order data includes user information; and the commodity data includes a commodity ID; based on the live broadcast session data and the explanation data, data processing is performed on the commodity order data and commodity data of the current session to obtain the relevant sales data of each commodity included in the commodity order data and the commodity data in the corresponding live broadcast session, and the relevant sales data is associated and combined with the labeling data of the corresponding commodity through the commodity ID to obtain the associated data under each commodity ID and form a commodity sales data set; based on the commodity sales data set, model training and optimization are performed on the constructed commodity sales index model to obtain a first commodity sales index model; based on the live broadcast session data and the user information, data aggregation processing is performed on the commodity order data of the current session to obtain the order data of each user in the user information in the corresponding session, and the ordered commodities are sorted based on the order data and the commodity ID. Perform supporting combination analysis to obtain the product supporting results and corresponding supporting sales data of products with higher user order rates in different sessions; perform product supporting analysis on the product to be predicted based on the ID of the product to be predicted, as well as the product supporting results and supporting sales data of products with higher user order rates in different sessions, to obtain the product supporting results of the product to be predicted; perform model training and optimization on the constructed product sales index model based on the supporting sales data of higher user order rates in different sessions, to obtain a second product sales index model; perform sales forecast on the product to be predicted based on the first product sales index model, to obtain the sales hit probability value of the product to be predicted; perform sales forecast on the product supporting results of the product to be predicted based on the second product sales index model, to obtain the sales probability value of the complete set of products to be predicted; perform comprehensive data analysis on the corresponding product to be predicted based on the sales hit probability value of the product to be predicted and the sales probability value of the complete set of products, to obtain the best supporting products and the corresponding sales forecast value.

[0028] In the above method, after analyzing and processing the collected commodity order data, commodity data, and live broadcast data, sales forecasts are made for the predicted commodities through the commodity sales index model based on the analysis data, and sets of commodities are further matched and sales forecasts are made for the predicted commodities through user order data. A comprehensive analysis is performed based on the sales forecast values ​​of the commodities to be predicted and the sales forecast values ​​of sets of commodities to obtain the best set of commodities, that is, the set of commodities with the highest sales forecast value, and the sets are sent to the live broadcast platform for sales recommendations, thereby improving user shopping satisfaction and increasing user conversion rates. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0030] Figure 1 A flow chart of a sales forecasting method for product matching recommendation provided by an embodiment of the present invention;

[0031] Figure 2 A schematic block diagram of a sales forecasting device for commodity matching recommendation provided by an embodiment of the present invention;

[0032] Figure 3 A schematic block diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0033] 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 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.

[0034] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0035] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0036] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0037] The embodiment of the present invention provides a sales forecasting method for commodity matching recommendation. Figure 1 A flow chart of a sales forecasting method for product matching recommendation provided by an embodiment of the present invention is shown as follows: Figure 1 As shown, the method includes steps S110 to S190.

[0038] S110, collecting and acquiring product order data, product data, and live broadcast data; wherein the live broadcast data includes live broadcast session data, session trends, and explanation data; the product order data includes user information; and the product data includes product ID.

[0039] Preferably, in this embodiment, before the steps of collecting and acquiring product order data, product data, and live broadcast data, store information authorization processing is performed on the current data collection based on the authority detection strategy, and the store is authorized to the collection unit so that the system can collect and acquire relevant data information during the live broadcast. In addition, the collected data information is associated with the relevant products through the authorization record to obtain the associated information.

[0040] Specifically, in this embodiment, after obtaining the store authorization, product order data, product data, and live broadcast data are collected and acquired; wherein, the product order data includes order ID, main order ID, purchaser ID, order time, order status, number of pieces, payment amount, store ID, account ID, etc.; the product data includes product ID, and the product data includes product ID, product information, etc.; the live broadcast data includes live broadcast session data, such as store ID, live broadcast account ID, session ID, session start time, session end time, scheduled anchor, scheduled operation, etc., session trend data, such as session ID, check-in time, number of people online, number of people entering, number of people leaving, number of people joining the group, number of comments, average viewing time per person, etc.

[0041] It should be noted that in this embodiment, when collecting product order data, product data, and live broadcast data, the preset range of data collection will be determined according to the type of product. For example, if the product to be sold is women's clothing, the product order data, product data, and live broadcast data of women's clothing in the current season within the preset time range before the current time will be mainly collected.

[0042] In some embodiments, after obtaining store authorization and collecting product order data, product data, and live broadcast data, the collected product data is returned to the staff terminal, and all products to be predicted are screened based on the product screening strategy and the collected product data to determine the preferred products to be predicted in the current live broadcast session.

[0043] It should be noted that, in this embodiment, the HADOOP framework is used to collect and analyze data, and the original data is stored in the memory to reduce the impact of disk reading and writing on the calculation speed.

[0044] S120. Process the product order data and product data of the current session based on the live broadcast session data and the explanation data to obtain relevant sales data of each product included in the product order data and product data in the corresponding live broadcast session, and associate and combine the relevant sales data with the labeling data of the corresponding product through the product ID to obtain the associated data under each product ID and form a product sales data set.

[0045] In this embodiment, the product order data and product data of the current session are processed based on the live broadcast session data and explanation data to obtain the relevant sales data summary of each product included in the product order data and product data in the corresponding live broadcast session, including the number of explanations, click-through rate, transaction conversion rate, average discount rate, average selling price, refund ratio, etc. Then, the relevant sales data is associated and combined with the corresponding product's annotation data through the product ID to obtain the associated data under each product ID, and the product sales data set is formed based on the associated data.

[0046] In some embodiments, before the step of associating and combining relevant sales data with the labeling data of the corresponding product through the product ID to obtain the associated data under each product ID and form a product sales data set, data labeling processing is performed on the current product to be sold based on the sales data of the sold products to obtain the labeling data results of the product to be sold, so as to judge the hot-selling result of the current product to be sold through the labeling data; wherein, if the product to be sold has labeling data, it is a hot-selling product, and if the product to be sold has no labeling data, it is not a hot-selling product.

[0047] It should be noted that Python, Spark and Docker are used to perform distributed computing on the data, and the labeled data and analysis data are stored in the structured database Mysql to provide business visualization.

[0048] S130: Perform model training and optimization on the constructed commodity sales index model based on the commodity sales data set to obtain a first commodity sales index model.

[0049] Preferably, before the step of training and tuning the constructed commodity sales index model based on the commodity sales data set to obtain the first commodity sales index model, relevant sales data of different commodities in corresponding live broadcast sessions are obtained, wherein the relevant sales data include the number of explanations, click-through rate, transaction conversion rate, average discount rate, average selling price, and refund ratio; then, a commodity sales index model is constructed based on the relevant sales data of different commodities in corresponding live broadcast sessions and a logistic regression algorithm, wherein the calculation formula of the commodity sales index model is shown in the following formula (1):

[0050] hot(α)=α0t+α1c+α2pc+α3dr+α4ap+α5rr

[0051] =1 / (1+e -αTx ) (1)

[0052] Among them, t is the number of explanations, c is the click-through rate, pc is the transaction conversion rate, dr is the average discount rate, ap is the average selling price, rr is the refund ratio, and α i Adjust parameters for the algorithm.

[0053] In this embodiment, after the commodity sales index model is constructed, the commodity sales data set is split into a training set, a test set, and a validation set, so that the constructed commodity sales index model is trained and tuned by the commodity sales data set after splitting, and the first commodity sales index model is obtained. Specifically, the gradient descent method is used to derive the commodity sales index model while tuning the parameter α; and the commodity sales index model is further calculated and tuned based on the sklearn framework of Pycharm, and after the model is tested with the test set, the number of iterations and weights of the model are adjusted based on the loss function, so as to optimize the algorithm parameters and improve the accuracy of the commodity sales index model, so as to obtain the first commodity sales index model.

[0054] S140. Perform data aggregation processing on the product order data of the current live broadcast session based on the live broadcast session data and user information to obtain the order data of each user in the user information in the corresponding session, and perform matching combination analysis on the ordered products based on the order data and product ID to obtain the product matching results and corresponding matching sales data of users with higher order rates in different sessions.

[0055] In this embodiment, data aggregation processing is performed on the product order data of the current session based on the live broadcast session data and user information to obtain the order data of each user in the user information in the corresponding session, and a matching combination analysis is performed on the ordered products based on the order data and product ID to obtain the product matching results and corresponding matching sales data of users with higher order rates in different sessions.

[0056] S150 , based on the ID of the commodity to be predicted, as well as the commodity matching results and matching sales data of commodities with higher user order rates in different sessions, a commodity matching analysis and processing is performed on the commodity to be predicted to obtain a commodity matching result of the commodity to be predicted.

[0057] In this embodiment, based on the ID of the commodity to be predicted, the commodity matching results with higher user order rates in different sessions and the corresponding matching sales data, the commodity matching analysis and processing is performed on the commodity to be predicted to obtain the commodity matching results of the commodity to be predicted.

[0058] S160: Based on the supporting sales data with higher user order rates in different sessions, the constructed commodity sales index model is trained and optimized to obtain a second commodity sales index model.

[0059] In this embodiment, the constructed commodity sales index model is trained and tuned based on the supporting sales data with higher user order rates in different sessions to obtain a second commodity sales index model. Specifically, the supporting sales data with higher user order rates in different sessions are split to obtain a training set, a test set, and a validation set, and then the constructed commodity sales index model is trained and tuned through the split data sets. Similarly, while the gradient descent method is used to derive the commodity sales index model, the parameter α is tuned; and the commodity sales index model is further calculated and tuned based on the sklearn framework of Pycharm, and after the model is tested through the test set, the number of iterations and weights of the model are adjusted based on the loss function, thereby optimizing the algorithm parameters and improving the accuracy of the commodity sales index model to obtain a second commodity sales index model.

[0060] S170: Perform sales forecasting on the commodity to be predicted based on the first commodity sales index model to obtain a sales hit probability value of the commodity to be predicted.

[0061] In this embodiment, the first commodity sales index model obtained through the above training is used to perform sales forecasting on the commodity to be forecasted, and a sales hit probability value of the commodity to be forecasted is obtained.

[0062] S180: Perform sales forecasting on the product matching results of the product to be predicted based on the second product sales index model to obtain a sales probability value of the complete set of products of the product to be predicted.

[0063] In this embodiment, the second commodity sales index model obtained through the training is used to perform sales prediction on the commodity matching results of the commodity to be predicted, and obtain the sales probability value of the complete set of commodities of the commodity to be predicted.

[0064] S190: Based on the sales probability value of the product to be predicted and the sales probability value of the complete set of products, a comprehensive data analysis is performed on the corresponding product to be predicted to obtain the best supporting products and the corresponding sales forecast values.

[0065] In this embodiment, a comprehensive data analysis is performed on the corresponding commodities to be predicted based on the sales probability values ​​of the commodities to be predicted and the sales probability values ​​of the complete sets of commodities to be predicted, so as to obtain the best supporting commodities, i.e., the supporting commodities with the highest sales forecast, and their corresponding sales forecast values.

[0066] In one embodiment, after the step of obtaining the best supporting products, the best supporting products are fed back to the live broadcast platform, sales recommendations are made based on the best supporting products, and sales data of the best supporting products in the current live broadcast session is obtained.

[0067] Preferably, after the step of obtaining the sales data of the best supporting product in the current live broadcast session, the sales data of the best supporting product in the current live broadcast session is compared and analyzed with the sales forecast value of the best supporting product to obtain an analysis result; based on the analysis result, the weight of the product sales index model is adjusted through an online learning mechanism, and the model parameters are optimized to obtain a better product sales index model.

[0068] In the sales forecasting method for commodity matching recommendation provided in the embodiment of the present invention, commodity order data, commodity data, and live broadcast data are collected and acquired; wherein the live broadcast data includes live broadcast session data, session trend, and explanation data, the commodity order data includes user information, and the commodity data includes a commodity ID; based on the live broadcast session data and the explanation data, the commodity order data and commodity data of the current session are processed to obtain the relevant sales data of each commodity included in the commodity order data and the commodity data in the corresponding live broadcast session, and the relevant sales data is associated and combined with the labeling data of the corresponding commodity through the commodity ID to obtain the associated data under each commodity ID and form a commodity sales data set; based on the commodity sales data set, the constructed commodity sales index model is trained and tuned to obtain a first commodity sales index model; based on the live broadcast session data and the user information, the commodity order data of the current session is aggregated to obtain the order data of each user in the user information in the corresponding session, and based on the order number Based on the product ID, a matching combination analysis is performed on the ordered products to obtain the product matching results and corresponding matching sales data with higher user order rates in different sessions; based on the product ID to be predicted, as well as the product matching results and matching sales data with higher user order rates in different sessions, a product matching analysis is performed on the product to be predicted to obtain the product matching results of the product to be predicted; based on the matching sales data with higher user order rates in different sessions, a model training and optimization are performed on the constructed product sales index model to obtain a second product sales index model; based on the first product sales index model, a sales forecast is performed on the product to be predicted to obtain the sales hit probability value of the product to be predicted; based on the second product sales index model, a sales forecast is performed on the product matching results of the product to be predicted to obtain the sales probability value of the complete set of products to be predicted; based on the sales hit probability value of the product to be predicted and the sales probability value of the complete set of products, a comprehensive data analysis is performed on the corresponding product to be predicted to obtain the best matching product and the corresponding sales forecast value. In the above method, after analyzing and processing the collected commodity order data, commodity data, and live broadcast data, sales forecasts are made for the predicted commodities through the commodity sales index model based on the analysis data, and sets of commodities are further matched and sales forecasts are made for the predicted commodities through user order data. A comprehensive analysis is performed based on the sales forecast values ​​of the commodities to be predicted and the sales forecast values ​​of sets of commodities to obtain the best set of commodities, that is, the set of commodities with the highest sales forecast value, and the sets are sent to the live broadcast platform for sales recommendations, thereby improving user shopping satisfaction and increasing user conversion rates.

[0069] The embodiment of the present invention also provides a sales forecasting device for commodity matching recommendation. Figure 2 A schematic block diagram of a sales forecasting device for product matching recommendation provided by an embodiment of the present invention. Figure 2As shown, the sales forecasting device 100 for commodity matching recommendation includes a collection unit 110 and a commodity sales forecasting unit 120 .

[0070] The collection unit 110 is used to collect and obtain product order data, product data, and live broadcast data; wherein the live broadcast data includes live broadcast session data, session trends, and explanation data; the product order data includes user information; and the product data includes product ID.

[0071] Preferably, in this embodiment, before the steps of collecting and acquiring product order data, product data, and live broadcast data, store information authorization processing is performed on the current data collection based on the authority detection strategy, and the store is authorized to the collection unit so that the system can collect and acquire relevant data information during the live broadcast. In addition, the collected data information is associated with the relevant products through the authorization record to obtain the associated information.

[0072] Specifically, in this embodiment, after obtaining the store authorization, product order data, product data, and live broadcast data are collected and acquired; wherein, the product order data includes order ID, main order ID, purchaser ID, order time, order status, number of pieces, payment amount, store ID, account ID, etc.; the product data includes product ID, and the product data includes product ID, product information, etc.; the live broadcast data includes live broadcast session data, such as store ID, live broadcast account ID, session ID, session start time, session end time, scheduled anchor, scheduled operation, etc., session trend data, such as session ID, check-in time, number of people online, number of people entering, number of people leaving, number of people joining the group, number of comments, average viewing time per person, etc.

[0073] It should be noted that in this embodiment, when collecting product order data, product data, and live broadcast data, the preset range of data collection will be determined according to the type of product. For example, if the product to be sold is women's clothing, the product order data, product data, and live broadcast data of women's clothing in the current season within the preset time range before the current time will be mainly collected.

[0074] In some embodiments, after obtaining store authorization and collecting product order data, product data, and live broadcast data, the collected product data is returned to the staff terminal, and all products to be predicted are screened based on the product screening strategy and the collected product data to determine the preferred products to be predicted in the current live broadcast session.

[0075] It should be noted that, in this embodiment, the HADOOP framework is used to collect and analyze data, and the original data is stored in the memory to reduce the impact of disk reading and writing on the calculation speed.

[0076] The commodity sales prediction unit 120 is used to perform data processing on the commodity order data and commodity data of the current session based on the live broadcast session data and the explanation data, obtain the relevant sales data of each commodity included in the commodity order data and the commodity data in the corresponding live broadcast session, and associate and combine the relevant sales data with the labeling data of the corresponding commodity through the commodity ID to obtain the associated data under each commodity ID and form a commodity sales data set, perform model training and optimization on the constructed commodity sales index model based on the commodity sales data set to obtain a first commodity sales index model, perform data aggregation processing on the commodity order data of the current session based on the live broadcast session data and user information, obtain the order data of each user in the user information in the corresponding session, and perform matching combination analysis on the ordered commodities based on the order data and the commodity ID to obtain commodity matching results with higher user order rates in different sessions. and the corresponding supporting sales data, perform product supporting analysis and processing on the product to be predicted based on the ID of the product to be predicted, as well as the product supporting results and supporting sales data of products with higher user order rates in different sessions, and obtain the product supporting results of the product to be predicted, perform model training and optimization on the constructed product sales index model based on the supporting sales data with higher user order rates in different sessions, and obtain a second product sales index model, perform sales forecast on the product to be predicted based on the first product sales index model, and obtain the sales hit probability value of the product to be predicted, perform sales forecast on the product supporting results of the product to be predicted based on the second product sales index model, and obtain the sales probability value of a set of products for the product to be predicted, and perform comprehensive data analysis on the corresponding product to be predicted based on the sales hit probability value of the product to be predicted and the sales probability value of the set of products, so as to obtain the best supporting products and the corresponding sales forecast values.

[0077] In this embodiment, the product order data and product data of the current session are processed based on the live broadcast session data and explanation data to obtain the relevant sales data summary of each product included in the product order data and product data in the corresponding live broadcast session, including the number of explanations, click-through rate, transaction conversion rate, average discount rate, average selling price, refund ratio, etc. Then, the relevant sales data is associated and combined with the corresponding product's annotation data through the product ID to obtain the associated data under each product ID and form a product sales data set.

[0078] In some embodiments, before the step of associating and combining relevant sales data with the labeling data of the corresponding product through the product ID to obtain the associated data under each product ID and form a product sales data set, data labeling processing is performed on the current product to be sold based on the sales data of the sold products to obtain the labeling data results of the product to be sold, so as to judge the hot-selling result of the current product to be sold through the labeling data; wherein, if the product to be sold has labeling data, it is a hot-selling product, and if the product to be sold has no labeling data, it is not a hot-selling product.

[0079] It should be noted that Python, Spark and Docker are used to perform distributed computing on the data, and the labeled data and analysis data are stored in the structured database Mysql to provide business visualization.

[0080] Preferably, before the step of training and tuning the constructed commodity sales index model based on the commodity sales data set to obtain the first commodity sales index model, relevant sales data of different commodities in corresponding live broadcast sessions are obtained, wherein the relevant sales data include the number of explanations, click-through rate, transaction conversion rate, average discount rate, average selling price, and refund ratio; then, a commodity sales index model is constructed based on the relevant sales data of different commodities in corresponding live broadcast sessions and a logistic regression algorithm, wherein the calculation formula of the commodity sales index model is shown in the above formula (1):

[0081] In this embodiment, after the commodity sales index model is constructed, the commodity sales data set is split into a training set, a test set, and a validation set, so that the constructed commodity sales index model is trained and tuned by the commodity sales data set after splitting, and the first commodity sales index model is obtained. Specifically, the gradient descent method is used to derive the commodity sales index model while tuning the parameter α; and the commodity sales index model is further calculated and tuned based on the sklearn framework of Pycharm, and after the model is tested with the test set, the number of iterations and weights of the model are adjusted based on the loss function, so as to optimize the algorithm parameters and improve the accuracy of the commodity sales index model, so as to obtain the first commodity sales index model.

[0082] Based on the live broadcast session data and user information, data aggregation processing is performed on the product order data of the current session to obtain the order data of each user in the corresponding session in the user information, and based on the order data and product ID, a matching combination analysis is performed on the ordered products to obtain the product matching results with higher user order rates in different sessions and the corresponding matching sales data.

[0083] Based on the ID of the product to be predicted, as well as the product matching results and matching sales data of products with higher user order rates in different sessions, a product matching analysis and processing is performed on the product to be predicted to obtain the product matching results of the product to be predicted.

[0084] Next, the constructed commodity sales index model is trained and tuned based on the supporting sales data with higher user order rates in different sessions to obtain a second commodity sales index model. Specifically, the supporting sales data with higher user order rates in different sessions are split to obtain a training set, a test set, and a validation set, and then the constructed commodity sales index model is trained and tuned using the split data sets. Similarly, the gradient descent method is used to derive the commodity sales index model while tuning the parameter α; and the commodity sales index model is further calculated and tuned based on the sklearn framework of Pycharm, and after the model is tested with the test set, the number of iterations and weights of the model are adjusted based on the loss function, thereby optimizing the algorithm parameters and improving the accuracy of the commodity sales index model to obtain the second commodity sales index model.

[0085] Next, after the first commodity sales index model and the second commodity sales index model are obtained through the above training, sales forecasting is performed on the commodity to be predicted based on the trained first commodity sales index model to obtain the sales hit probability value of the commodity to be predicted. Sales forecasting is performed on the commodity matching results of the commodity to be predicted based on the trained second commodity sales index model to obtain the sales probability value of the complete set of commodities of the commodity to be predicted.

[0086] Finally, based on the sales probability value of the predicted products and the sales probability value of the complete set of products, a comprehensive data analysis is conducted on the corresponding predicted products to obtain the best supporting products, that is, the supporting products with the highest sales forecast, and their corresponding sales forecast values.

[0087] In one embodiment, after the step of obtaining the best supporting products, the best supporting products are fed back to the live broadcast platform, sales recommendations are made based on the best supporting products, and sales data of the best supporting products in the current live broadcast session is obtained.

[0088] Preferably, after the step of obtaining the sales data of the best supporting product in the current live broadcast session, the sales data of the best supporting product in the current live broadcast session is compared and analyzed with the sales forecast value of the best supporting product to obtain an analysis result; based on the analysis result, the weight of the product sales index model is adjusted through an online learning mechanism, and the model parameters are optimized to obtain a better product sales index model.

[0089] The sales forecasting device for commodity matching recommendation provided in the embodiment of the present invention is applied to the sales forecasting method for commodity matching recommendation mentioned above, and collects and obtains commodity order data, commodity data, and live broadcast data; wherein the live broadcast data includes live broadcast session data, session trend, and explanation data, the commodity order data includes user information, and the commodity data includes commodity ID; based on the live broadcast session data and explanation data, data processing is performed on the commodity order data and commodity data of the current session to obtain relevant sales data of each commodity included in the commodity order data and commodity data in the corresponding live broadcast session, and the relevant sales data is associated and combined with the labeling data of the corresponding commodity through the commodity ID to obtain the associated data under each commodity ID and form a commodity sales data set; based on the commodity sales data set, model training and optimization are performed on the constructed commodity sales index model to obtain a first commodity sales index model; based on the live broadcast session data and user information, data aggregation processing is performed on the commodity order data of the current session to obtain the order data of each user in the user information in the corresponding session data, and based on the order data and product ID, a matching combination analysis is performed on the ordered products to obtain the product matching results and corresponding matching sales data with higher user order rates in different sessions; based on the ID of the product to be predicted, as well as the product matching results and matching sales data with higher user order rates in different sessions, a product matching analysis is performed on the product to be predicted to obtain the product matching results of the product to be predicted; based on the matching sales data with higher user order rates in different sessions, a model training and optimization is performed on the constructed product sales index model to obtain a second product sales index model; based on the first product sales index model, a sales forecast is performed on the product to be predicted to obtain the sales hit probability value of the product to be predicted; based on the second product sales index model, a sales forecast is performed on the product matching results of the product to be predicted to obtain the sales probability value of the set of products to be predicted; based on the sales hit probability value of the product to be predicted and the sales probability value of the set of products, a comprehensive data analysis is performed on the corresponding product to be predicted to obtain the best matching product and the corresponding sales forecast value. In the above method, after analyzing and processing the collected commodity order data, commodity data, and live broadcast data, sales forecasts are made for the predicted commodities through the commodity sales index model based on the analysis data, and sets of commodities are further matched and sales forecasts are made for the predicted commodities through user order data. A comprehensive analysis is performed based on the sales forecast values ​​of the commodities to be predicted and the sales forecast values ​​of sets of commodities to obtain the best set of commodities, that is, the set of commodities with the highest sales forecast value, and the sets are sent to the live broadcast platform for sales recommendations, thereby improving user shopping satisfaction and increasing user conversion rates.

[0090] The sales forecasting method for product matching recommendation can be implemented in the form of a computer program. The computer program can be used in Figure 3 Runs on the computer device shown.

[0091] See also Figure 3 , Figure 3 1 is a schematic block diagram of a computer device provided by an embodiment of the present invention. The computer device may be a sales forecasting method for executing product matching recommendation.

[0092] See also Figure 3 The computer device 500 includes a processor 502 , a memory and a network interface 505 connected via a system bus 501 , wherein the memory may include a storage medium 503 and an internal memory 504 .

[0093] The storage medium 503 can store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, the processor 502 can execute a sales forecasting method for commodity matching recommendation, wherein the storage medium 503 can be a volatile storage medium or a non-volatile storage medium.

[0094] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .

[0095] The internal memory 504 provides an environment for the operation of the computer program 5032 in the storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute the sales forecasting method for commodity matching recommendation.

[0096] The network interface 505 is used for network communication, such as providing data information transmission, etc. Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device 500 to which the solution of the present invention is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0097] The processor 502 is used to run the computer program 5032 stored in the memory to implement the corresponding functions in the above-mentioned sales forecasting method for commodity matching recommendation.

[0098] Those skilled in the art will understand that Figure 3 The embodiments of the computer device shown in the figure do not constitute a limitation on the specific composition of the computer device. In other embodiments, the computer device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, in some embodiments, the computer device may only include a memory and a processor. In such embodiments, the structure and function of the memory and the processor are the same as those of the embodiment of the present invention. Figure 3 The embodiments shown are consistent and will not be described again here.

[0099] It should be understood that in the embodiment of the present invention, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0100] In another embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium may be a volatile or non-volatile computer-readable storage medium. The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps included in the sales forecasting method for product matching recommendation are implemented.

[0101] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the above-described equipment, devices and units can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. Those of ordinary skill in the art can appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. 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 exceed the scope of the present invention.

[0102] In the several embodiments provided by the present invention, it should be understood that the disclosed equipment, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. Units with the same function may also be combined into one unit. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices or units, or may be an electrical, mechanical or other form of connection.

[0103] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.

[0104] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0105] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a computer-readable storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned computer-readable storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a magnetic disk or an optical disk.

[0106] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A sales forecasting method for product matching recommendation, characterized in that: The method comprises: Collect and obtain product order data, product data, and live broadcast data; wherein the live broadcast data includes live broadcast session data, session trends, and explanation data; the product order data includes user information; and the product data includes product ID; Based on the live broadcast session data and the explanation data, data processing is performed on the product order data and product data of the current session to obtain the relevant sales data of each product included in the product order data and the product data in the corresponding live broadcast session, and the relevant sales data is associated and combined with the labeling data of the corresponding product through the product ID to obtain the associated data under each product ID and form a product sales data set; Based on the commodity sales data set, model training and tuning are performed on the constructed commodity sales index model to obtain a first commodity sales index model; Based on the live broadcast session data and user information, data aggregation processing is performed on the product order data of the current session to obtain the order data of each user in the user information in the corresponding session, and based on the order data and product ID, matching combination analysis is performed on the ordered products to obtain product matching results with higher user order rates in different sessions and corresponding matching sales data; Based on the ID of the product to be predicted, as well as the product matching results and matching sales data of products with higher user order rates in different sessions, a product matching analysis and processing is performed on the product to be predicted to obtain the product matching results of the product to be predicted; Based on the supporting sales data with higher user order rates in different sessions, the constructed commodity sales index model is trained and optimized to obtain a second commodity sales index model; Performing sales forecasting on the commodity to be forecasted based on the first commodity sales index model to obtain a sales hit probability value of the commodity to be forecasted; Based on the second commodity sales index model, sales forecasting is performed on the commodity matching results of the commodity to be forecasted to obtain a sales probability value of the set of commodities of the commodity to be forecasted; Based on the sales hit probability value of the to-be-predicted product and the sales probability value of the set of products, a comprehensive data analysis is performed on the corresponding to-be-predicted product to obtain the best supporting product and the corresponding sales forecast value.

2. The method according to claim 1, characterized in that Before the step of collecting and acquiring product order data, product data, and live broadcast data, the method includes: Based on the permission detection strategy, the current data collection is authorized to process the store information to collect and obtain relevant data information during the live broadcast; The collected data information is associated with related products through authorization records to obtain associated information.

3. The method according to claim 1, characterized in that After the steps of collecting and acquiring product order data, product data, and live broadcast data, the method includes: The collected commodity data is returned to the staff terminal, and all commodities to be predicted are screened based on the commodity screening strategy and the collected commodity data to determine the preferred commodities to be predicted in the current live broadcast session.

4. The method according to claim 1, characterized in that: Before the step of associating and combining the relevant sales data with the labeling data of the corresponding commodity by commodity ID to obtain the associated data under each commodity ID and form a commodity sales data set, the method includes: Based on the sales data of the goods that have been sold, data labeling processing is performed on the current goods to be sold to obtain the labeled data results of the goods to be sold, so as to judge the hot-selling results of the current goods to be sold through the labeled data; if the goods to be sold have labeled data, it is a hot-selling product, and if the goods to be sold do not have labeled data, it is not a hot-selling product.

5. The method according to claim 1, characterized in that Before the step of training and optimizing the constructed commodity sales index model based on the commodity sales data set to obtain the first commodity sales index model, the method includes: Obtain relevant sales data of different products in corresponding live broadcast sessions, wherein the relevant sales data includes the number of explanations, click-through rate, transaction conversion rate, average discount rate, average selling price, and refund ratio; Based on the relevant sales data of the different commodities in the corresponding live broadcast sessions and the logistic regression algorithm, a commodity sales index model is constructed. The calculation formula of the commodity sales index model is as follows: hot(α)=α0t+α1c+α2pc+α3dr+α4ap+α5rr =1 / (1+e -aTx ) Among them, t is the number of explanations, c is the click-through rate, pc is the transaction conversion rate, dr is the average discount rate, ap is the average selling price, rr is the refund ratio, and α i Tune parameters for the algorithm.

6. The method according to claim 1, characterized in that After the step of obtaining the best matching product, the method further includes: The best matching products are fed back to the live broadcast platform, sales recommendations are made based on the best matching products, and sales data of the best matching products in the current live broadcast session are obtained.

7. The method according to claim 1 or 6, characterized in that: After the step of obtaining the sales data of the best matching product in the current live broadcast session, the method includes: Compare and analyze the sales data of the best supporting product in the current live broadcast session with the sales forecast value of the best supporting product to obtain the analysis result; Based on the analysis results, the commodity sales index model is weighted and adjusted through an online learning mechanism to optimize the model parameters so as to obtain a better commodity sales index model.

8. A sales forecasting device for product matching recommendation, characterized in that: The device comprises: A collection unit, used to collect and obtain product order data, product data, and live broadcast data; wherein the live broadcast data includes live broadcast session data, session trends, and explanation data; the product order data includes user information; and the product data includes product ID; The commodity sales prediction unit is used to process the commodity order data and commodity data of the current session based on the live broadcast session data and the explanation data, obtain the relevant sales data of each commodity included in the commodity order data and the commodity data in the corresponding live broadcast session, and associate and combine the relevant sales data with the labeling data of the corresponding commodity through the commodity ID to obtain the associated data under each commodity ID and form a commodity sales data set, Based on the commodity sales data set, the constructed commodity sales index model is trained and optimized to obtain a first commodity sales index model. Based on the live broadcast session data and user information, data aggregation processing is performed on the product order data of the current session to obtain the order data of each user in the user information in the corresponding session, and based on the order data and product ID, matching combination analysis is performed on the ordered products to obtain the product matching results with higher user order rates in different sessions and the corresponding matching sales data. Based on the ID of the product to be predicted, as well as the product matching results and matching sales data of products with higher user order rates in different sessions, the product matching analysis and processing is performed on the product to be predicted to obtain the product matching results of the product to be predicted. The constructed commodity sales index model is trained and optimized based on the supporting sales data with higher user order rates in different sessions to obtain a second commodity sales index model. Based on the first commodity sales index model, sales forecast is performed on the commodity to be predicted, and a sales hit probability value of the commodity to be predicted is obtained. Based on the second commodity sales index model, sales forecasting is performed on the commodity matching results of the commodity to be predicted, so as to obtain a sales probability value of the set of commodities of the commodity to be predicted. Based on the sales hit probability value of the to-be-predicted product and the sales probability value of the set of products, a comprehensive data analysis is performed on the corresponding to-be-predicted product to obtain the best supporting product and the corresponding sales forecast value.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.