E-commerce operation big data analysis decision platform

Through the collaborative filtering model of deep learning and reinforcement learning, combined with graph neural network and real-time data processing technology, the problem of data sparsity and cold start in the e-commerce platform is solved, and the accuracy and user satisfaction of the recommendation system are improved.

CN118674522APending Publication Date: 2024-09-20SHANGHAI WINE TEA FRAGRANCE WORKSHOP CULTURE COMM CO LTD

Patent Information

Application Number
CN202410772022.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-16
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Data sparsity exists in the big data analysis and decision-making platform for e-commerce operations, which makes it difficult for the collaborative filtering algorithm to find enough similar users or products for effective recommendation, affecting the accuracy of the recommendation system, especially when it comes to new users and new products, it cannot accurately capture interest preferences. and popularity.

Method used

The collaborative filtering model of deep learning is combined with reinforcement learning to capture non-linear relationships through the combination and transformation of embedded vectors of users and products. It uses graph neural networks and ApacheSparkMLlib for data analysis, introduces Apache Flink for real-time data processing, and combines Apache Kafka and Hadoop for data collection. and storage, using S3-compatible storage to improve scalability and cost-effectiveness.

Benefits of technology

Significantly improves the accuracy of recommendations and the system's adaptive capabilities. It can provide initial effective recommendations when new users and new products come online, reduce the impact of cold starts, and dynamically adjust recommendation strategies through real-time feedback, improving the accuracy of personalized recommendations. and user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118674522A
    Figure CN118674522A
Patent Text Reader

Abstract

The invention discloses an e-commerce operation big data analysis decision-making platform, and relates to the technical field of big data, and the platform employs a collaborative filtering model of a deep neural network, carries out the combination and conversion through the embedded vectors of a user and a commodity, captures the nonlinear relation between the user and the commodity, and carries out the more comprehensive recommendation through the implicit features. Potential similarity can be found even under the condition of data sparseness, high-dimensional sparse data are converted into low-dimensional dense vectors through the user embedding matrix and the commodity embedding matrix, the influence of data sparseness on model training is reduced, and under the condition that new users and new commodities lack historical data, the new users and the new commodities can be subjected to model training. The characteristics of existing users and commodities are utilized to carry out transfer learning, the characteristics of similar users or commodities are applied to a cold start problem, primary processing is carried out at the edge of a data source, data of new users and new commodities are captured and processed in time, the influence of cold start is reduced, and changes of user interests and market trends are reflected in time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of big data technology, and in particular to an e-commerce operation big data analysis and decision-making platform. Background Art

[0002] Big data analytics describes the process of discovering trends, patterns, and correlations in large amounts of raw data to help make data-based decisions. These processes use familiar statistical analysis techniques and apply them to wider data sets with the help of newer tools. Big data has been a buzzword since the early 2000s, when software and hardware capabilities enabled organizations to process large amounts of unstructured data. As data grew explosively, early innovations such as Hadoop, Spark, and NoSQL databases were created to store and process big data.

[0003] For example, the patent publication number CN112258020A discloses an e-commerce operation big data analysis and decision-making platform, which includes: an operating environment layer, which is the basis for the operation of the platform, and the operating environment layer includes the operating system of the e-commerce operation big data analysis and decision-making platform and the operating environment providing the operating system; a security gateway layer, which is located below the operating environment layer, and is used to control the security of the operating environment of the operating system. The security gateway layer includes a hardware security layer and a software security layer, and the hardware security layer and the software security layer cooperate to search for and clear non-security information in the operating environment of the operating system; it can collect a large amount of e-commerce related data and analyze it, so that it can quickly analyze a large amount of data and quickly understand the e-commerce environment; through the setting of the security gateway layer, dangerous data information can be filtered to improve network security.

[0004] In the e-commerce operation big data analysis and decision-making platform, the interaction data between users and products is usually very sparse. Most users have only interacted with a few products, resulting in a large number of missing values ​​and zero values ​​in the data matrix. This data sparsity makes it difficult for the collaborative filtering algorithm to find enough similar users or products for effective recommendation, which in turn affects the accuracy of the recommendation system. In addition, when new users just join the platform, there is no historical interaction data, and the recommendation system cannot accurately capture their interests and preferences, making it difficult to provide effective personalized recommendations. Similarly, when new products are just launched, there is a lack of user interaction data, and the system cannot evaluate their popularity and applicable user groups, resulting in poor performance of the recommendation system when dealing with new users and new products. Therefore, there is an urgent need for an e-commerce operation big data analysis and decision-making platform to solve the data sparsity and cold start problems. Summary of the invention

[0005] In view of the shortcomings of the prior art, the present invention provides an e-commerce operation big data analysis and decision-making platform to solve the problem that data sparsity in the prior art makes it difficult for collaborative filtering algorithms to find enough similar users or products for effective recommendation, thereby affecting the accuracy of the recommendation system. When new users just join the platform, there is no historical interaction data, and the recommendation system cannot accurately capture their interests and preferences, making it difficult to provide effective personalized recommendations. The same problem exists for new products.

[0006] To achieve the above objectives, the present invention is implemented through the following technical solutions:

[0007] The present invention provides an e-commerce operation big data analysis and decision-making platform, comprising:

[0008] Data acquisition module, including:

[0009] The data collection unit is used to collect raw data in real time from different data sources, including transaction data, user behavior data, product information, and social media data. Data collection adopts a distributed architecture to synchronize data sources in real time and perform distributed processing to reduce data transmission delays and processing pressure on central nodes. At the same time, Apache Kafka is used for real-time data stream processing, and preliminary processing is performed at the edge of the data source to reduce the burden on the central processing system.

[0010] The data cleaning unit is used to process missing values, duplicate values, and outliers to ensure data quality; introduce the deep learning anomaly detection algorithm Autoencoder and use ApacheSpark for distributed data processing; improve the intelligence and automation level of data cleaning;

[0011] The data standardization unit uses custom data conversion rules and mapping tables and introduces the machine learning-based automatic feature engineering tool Featuretools to convert data into a unified format and standard to facilitate subsequent analysis and improve the efficiency and flexibility of data standardization;

[0012] Data storage management module, including:

[0013] Data warehouse unit, used to store structured and semi-structured data; using a hybrid storage architecture that combines Apache Hive and HBase; using a hybrid storage architecture that combines the advantages of column storage and row storage to improve the efficiency of data query and processing;

[0014] The data lake unit uses Apache Hadoop HDFS to store unstructured data; introduces object storage technology S3 compatible storage to improve the scalability and cost-effectiveness of the data lake;

[0015] Data analysis modules, including:

[0016] The user behavior analysis unit uses Apache Spark MLlib to analyze user behavior data and explore user interests and needs. It introduces a user behavior analysis model based on graph neural network GNN to capture relationships and patterns in user behavior.

[0017] The personalized recommendation unit uses a recommendation model that combines deep learning NCF and reinforcement learning DQN. It uses a collaborative filtering model of a deep neural network to deal with data sparsity and cold start problems, and combines reinforcement learning DQN to dynamically adjust the recommendation strategy; improving the model's adaptability and recommendation accuracy;

[0018] The real-time analysis unit uses Apache Flink for streaming data processing, real-time data analysis and decision support; introduces a real-time feedback mechanism and uses reinforcement learning to optimize recommendation and marketing strategies in real time;

[0019] Display feedback module, including:

[0020] The user feedback unit uses a combination of online surveys and behavioral analysis to collect user feedback on recommendation results and platform functions, continuously improve the system, and enhance the intelligence level of feedback processing.

[0021] The present invention is further configured as follows: in the data acquisition unit, the real-time data stream processing method is:

[0022] Deploy KafkaProducer on each data source node to transmit data to the Kafka cluster in real time;

[0023] Apache Kafka is used for real-time data stream processing. The data stream model is Stream(t) = {d1, d2, ..., d i}, where t represents the timestamp, d i is the data collected at time t;

[0024] KafkaProducer sends data: P(d i ) = KafkaProducer.send(d i , topic), where P(d i ) represents the data sent by KafkaProducer i Go to the specified topic;

[0025] KafkaConsumer receives data: C(d i ) = KafkaConsumer.poll(topic), where C(d i) indicates the data that KafkaConsumer polls from the specified topic. i ;

[0026] Deploy edge computing devices at each data source node to perform preliminary data processing;

[0027] Preliminary data processing formula: E(d i )=f(d i ), where E(d i ) represents the edge node pair data d i The preliminary processing results, f(d i ) represents the processing function, including denoising, format conversion, and then data transmission optimization;

[0028] The present invention is further configured as follows: in the data acquisition unit, the data transmission optimization method includes:

[0029] Data transmission delay optimization: Where D represents the data size, B represents the bandwidth, and T p represents the edge processing time, T c Indicates network transmission time;

[0030] Compress data before transmission to reduce bandwidth consumption;

[0031] The present invention is further configured as follows: the data lake unit uses Apache Hadoop HDFS to store unstructured data:

[0032] Configure a Hadoop cluster, including NameNode and one or more DataNodes, install Hadoop on each node, and configure core parameters;

[0033] Import data and identify unstructured data sources, including log files, images, and videos;

[0034] Use Hadoop command line tools to upload unstructured data to HDFS;

[0035] HDFS directories store different types of unstructured data in a classified manner;

[0036] Use Hadoop's NameNode to manage HDFS metadata, including file paths, block locations, and replica information;

[0037] Set permissions for HDFS files and directories;

[0038] The present invention is further configured to introduce object storage technology S3 compatible storage into the data lake unit:

[0039] Select S3-compatible object storage MinIO and Ceph systems, configure Hadoop and S3-compatible storage integration, and perform data read and write operations through Hadoop's built-in support;

[0040] Use DistCp to synchronize data between HDFS and S3-compatible storage;

[0041] Use S3-compatible storage system client tools to access data stored in S3;

[0042] Specify the S3 storage path through the Hadoop configuration file and read and process the data in S3 directly in Hadoop;

[0043] Use S3-compatible storage system management tools to monitor storage usage and configure storage policies, including lifecycle management and version control;

[0044] The present invention is further configured as follows: the data analysis method performed in the user behavior analysis unit is:

[0045] Perform data preprocessing and feature extraction to extract feature vectors from raw data;

[0046] Use Apache Spark MLlib to build a user behavior model, perform user clustering based on user behavior data, and use the Kmeans algorithm to identify different user groups. Where k is the number of clusters, x is the data point, μ i is the i-th cluster center, C i is the set of the i-th cluster;

[0047] ALS matrix decomposition algorithm is used to make recommendations based on user-item interaction data, R≈PQ T , where R is the user-item rating matrix, P and Q are the implicit feature matrices of users and items respectively;

[0048] Constructing the graph neural network GNN model The graph is constructed as a user-product interaction graph, represented as G = (V, E), where G is a graph, V is a node set, i.e., users and products, and E is an edge set, i.e., the interaction between users and products;

[0049] The present invention is further configured as follows: the data analysis method performed in the user behavior analysis unit includes:

[0050] Embed the nodes in the graph into a low-dimensional vector space, in represents the embedding vector of node v in layer l, N(v) is the set of neighbor nodes of node v, and W (l) is the weight matrix of the lth layer, b (l) is the bias vector of the lth layer, σ is the activation function, cvu is the normalization coefficient, which represents the connection strength between node v and its neighbor node u;

[0051] Train the graph neural network model, embed and predict nodes based on the user-product interaction graph, and use the cross entropy loss function as the loss function: Where L is the loss function, E is the edge set, and y vu represents the actual label, which refers to the interaction between user v and item u. is the predicted label;

[0052] The present invention is further configured as follows: the data analysis method in the user behavior analysis unit further includes:

[0053] Use Apache Flink for real-time analysis and decision support, use reinforcement learning to optimize recommendation and marketing strategies, and use the DeepQLearning (DQN) algorithm. Where Q(s t ,a t ) means in state s t Take action a t The value of r t is the immediate reward, γ is the discount factor, Indicates that in the next state s t+1 The user behavior analysis unit can use Apache Spark MLlib and graph neural networks to analyze data, explore user interests and needs, capture relationships and patterns in user behavior, and significantly improve the accuracy and effectiveness of personalized recommendations.

[0054] The present invention is further configured as follows: the recommendation model construction method in the personality recommendation unit is:

[0055] The input data is the user-product interaction data matrix R, which contains the user's ratings and interaction records for the products. Let the user set be U and the product set be I.

[0056] R is a sparse matrix with most elements being zero, indicating that most users do not interact with most products;

[0057] The collaborative filtering model architecture based on deep neural networks includes:

[0058] Embedding layer: user embedding matrix P, P u =W p e u , where P u ∈R d is the embedding vector of user u, W p ∈R |U|×d is the user embedding matrix, e uis the onehot encoding vector of user u, and d is the dimension of the embedding vector;

[0059] Product embedding matrix: Q i =W Q e i , where Q i ∈R d is the embedding vector of product i, W Q ∈R |I|×d is the product embedding matrix, e i ∈R |I| is the onehot encoding vector of product i;

[0060] Hidden layer representation: The embedding vectors of users and products are combined and transformed through a deep neural network. u =σ(W1P u +b1),h i =σ(W2Q i +b2), where W1, W2∈R d×d is the weight matrix, b1,b2∈R d is the bias vector, σ is the activation function;

[0061] Prediction layer: perform dot product on the hidden layer representations of users and products to get the predicted score. in, Predict the rating of user u for product i;

[0062] Loss function: Minimize the mean square error between the actual rating and the predicted rating, Among them, r ui For the actual rating, is the prediction score, |R| is the total number of scores;

[0063] The present invention is further configured as follows: the personalized recommendation unit combines the reinforcement learning DQN to dynamically adjust the recommendation strategy, specifically:

[0064] Let the state be denoted by s t , represents the current state of the user at time t, including the user's historical interaction records and the currently browsed product information, Among them, C u It is the product collection in the user's current session;

[0065] The action is represented by a t , represents the set of products recommended by the system at time t, a t ={i1, i2, ..., i k}, where i1, i2, ..., i k Indicates recommended products;

[0066] The reward function is rt , which indicates the user's immediate feedback on the recommended products, including click, browse, and purchase behaviors. Among them, F b (u, i) is the feedback value of user u on product i;

[0067] Maximize the cumulative reward and use DQN to update the Q value. Among them, Q(s t ,a t ) is state s t Take action a t The value of , γ is the discount factor, For the next state s t+1 The value of taking the best action;

[0068] Then, the error between the actual Q value and the predicted Q value is minimized; the model is then trained and evaluated; the collaborative filtering model of deep neural network is used to deal with data sparsity and cold start problems, and the recommendation strategy is dynamically adjusted in combination with reinforcement learning DQN, which significantly improves the accuracy of recommendations.

[0069] Compared with the prior art, the present invention has the following beneficial effects:

[0070] The present invention adopts a collaborative filtering model of a deep neural network, combines and transforms the embedding vectors of users and products, captures the nonlinear relationship between users and products, and uses implicit features to make more comprehensive recommendations. Even when the data is sparse, potential similarities can be found. The user embedding matrix and the product embedding matrix convert high-dimensional sparse data into low-dimensional dense vectors, reducing the impact of data sparsity on model training, thereby improving the accuracy of recommendations.

[0071] In the absence of historical data for new users and new products, the present invention uses the features of existing users and products for transfer learning, and applies the features of similar users or products to the cold start problem. In addition, by combining content recommendation with collaborative filtering, the system can immediately provide preliminary and effective recommendations when new users and new products come online, perform preliminary processing at the edge of the data source, and timely capture and process the data of new users and new products to reduce the impact of cold start.

[0072] The present invention adopts a reinforcement learning algorithm to dynamically adjust the recommendation strategy according to the real-time feedback of users. The reinforcement learning model reflects the changes in user interests and market dynamics in a timely manner through continuous learning and updating.

[0073] It solves the problem that data sparsity in the existing technology makes it difficult for collaborative filtering algorithms to find enough similar users or products for effective recommendations, which in turn affects the accuracy of the recommendation system. When new users just join the platform, there is no historical interaction data, and the recommendation system cannot accurately capture their interests and preferences, making it difficult to provide effective personalized recommendations. The same problem also exists for new products. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] Figure 1 This is a framework diagram of the e-commerce operation big data analysis and decision-making platform of the present invention. DETAILED DESCRIPTION

[0075] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 should fall within the scope of protection of the present invention.

[0076] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0077] The present invention is further described in detail below in conjunction with the accompanying drawings:

[0078] Example 1

[0079] See also Figure 1 The present invention provides an e-commerce operation big data analysis and decision-making platform, including:

[0080] Data acquisition module, including:

[0081] The data collection unit is used to collect raw data in real time from different data sources, including transaction data, user behavior data, product information, and social media data. Data collection adopts a distributed architecture to perform real-time synchronization and distributed processing of data sources, reducing data transmission delays and processing pressure on central nodes. At the same time, Apache Kafka is used for real-time data stream processing, and preliminary processing is performed at the edge of the data source to reduce the burden on the central processing system.

[0082] Data cleaning unit, used to process missing values, duplicate values ​​and outliers to ensure data quality; introduce deep learning anomaly detection algorithm Autoencoder, use ApacheSpark for distributed data processing; improve the intelligence and automation level of data cleaning;

[0083] The data standardization unit uses custom data conversion rules and mapping tables, and introduces the automatic feature engineering tool Featuretools based on machine learning to convert data into a unified format and standard to facilitate subsequent analysis and improve the efficiency and flexibility of data standardization; the real-time data stream processing method is:

[0084] Deploy KafkaProducer on each data source node to transmit data to the Kafka cluster in real time;

[0085] Apache Kafka is used for real-time data stream processing. The data stream model is Stream(t) = {d1, d2, ..., d i}, where t represents the timestamp, d i is the data collected at time t;

[0086] KafkaProducer sends data: P(d i ) = KafkaProducer.send(d i , topic), where P(d i ) represents the data sent by KafkaProducer i Go to the specified topic;

[0087] KafkaConsumer receives data: C(d i ) = KafkaConsumer.poll(topic), where C(d i ) indicates the data that KafkaConsumer polls from the specified topic. i ;

[0088] Deploy edge computing devices at each data source node to perform preliminary data processing;

[0089] Preliminary data processing formula: E(d i )=f(d i ), where E(d i ) represents the edge node pair data d i The preliminary processing results, f(d i ) represents the processing function, including denoising, format conversion, and then data transmission optimization;

[0090] In the data acquisition unit, the data transmission optimization methods include:

[0091] Data transmission delay optimization: Where D represents the data size, B represents the bandwidth, and T p represents the edge processing time, T c Indicates network transmission time;

[0092] Compress data before transmission to reduce bandwidth consumption;

[0093] Data storage management module, including:

[0094] Data warehouse unit, used to store structured and semi-structured data; using a hybrid storage architecture that combines Apache Hive and HBase; using a hybrid storage architecture that combines the advantages of column storage and row storage to improve the efficiency of data query and processing;

[0095] The data lake unit uses Apache Hadoop HDFS to store unstructured data; introduces object storage technology S3 compatible storage to improve the scalability and cost-effectiveness of the data lake;

[0096] The data lake unit uses Apache Hadoop HDFS to store unstructured data:

[0097] Configure a Hadoop cluster, including NameNode and one or more DataNodes, install Hadoop on each node, and configure core parameters;

[0098] Import data and identify unstructured data sources, including log files, images, and videos;

[0099] Use Hadoop command line tools to upload unstructured data to HDFS;

[0100] HDFS directories store different types of unstructured data in a classified manner;

[0101] Use Hadoop's NameNode to manage HDFS metadata, including file paths, block locations, and replica information;

[0102] Set permissions for HDFS files and directories;

[0103] Introducing object storage technology S3 compatible storage in the data lake unit:

[0104] Select S3-compatible object storage MinIO and Ceph systems, configure Hadoop and S3-compatible storage integration, and perform data read and write operations through Hadoop's built-in support;

[0105] Use DistCp to synchronize data between HDFS and S3-compatible storage;

[0106] Use S3-compatible storage system client tools to access data stored in S3;

[0107] Specify the S3 storage path through the Hadoop configuration file and read and process the data in S3 directly in Hadoop;

[0108] Use S3-compatible storage system management tools to monitor storage usage and configure storage policies, including lifecycle management and version control;

[0109] Data analysis module, including: user behavior analysis unit, using Apache Spark MLlib to analyze data, analyze user behavior data, and mine user interests and needs; introduce user behavior analysis model based on graph neural network GNN to capture relationships and patterns in user behavior;

[0110] The personalized recommendation unit uses a recommendation model that combines deep learning NCF and reinforcement learning DQN. It uses a collaborative filtering model of a deep neural network to deal with data sparsity and cold start problems, and combines reinforcement learning DQN to dynamically adjust the recommendation strategy; improving the model's adaptability and recommendation accuracy;

[0111] The real-time analysis unit uses Apache Flink for streaming data processing, real-time data analysis and decision support; introduces a real-time feedback mechanism and uses reinforcement learning to optimize recommendation and marketing strategies in real time;

[0112] The data analysis method in the user behavior analysis unit is as follows:

[0113] Perform data preprocessing and feature extraction to extract feature vectors from raw data;

[0114] Use Apache Spark MLlib to build a user behavior model, perform user clustering based on user behavior data, and use the Kmeans algorithm to identify different user groups. Where k is the number of clusters, x is the data point, μ i is the i-th cluster center, C i is the set of the i-th cluster;

[0115] ALS matrix decomposition algorithm is used to make recommendations based on user-item interaction data, R≈PQ T , where R is the user-item rating matrix, P and Q are the implicit feature matrices of users and items respectively;

[0116] Constructing the graph neural network GNN model The graph is constructed as a user-product interaction graph, represented as G = (V, E), where G is a graph, V is a node set, i.e., users and products, and E is an edge set, i.e., the interaction between users and products; embed the nodes in the graph into a low-dimensional vector space, in represents the embedding vector of node v in layer l, N(v) is the set of neighbor nodes of node v, and W (l) is the weight matrix of the lth layer, b (l) is the bias vector of the lth layer, σ is the activation function, c vu is the normalization coefficient, which represents the connection strength between node v and its neighbor node u;

[0117] Train the graph neural network model, embed and predict nodes based on the user-product interaction graph, and use the cross entropy loss function as the loss function: Where L is the loss function, E is the edge set, yvu is the actual label, and refers to the interaction between user v and item u. is the predicted label;

[0118] Use Apache Flink for real-time analysis and decision support, use reinforcement learning to optimize recommendation and marketing strategies, and use the DeepQLearning (DQN) algorithm. Where Q(s t ,a t ) means in state s t Take action a t The value of r t is the immediate reward, γ is the discount factor, Indicates that in the next state s t+1 The value of taking the best action;

[0119] The user behavior analysis unit can use Apache Spark MLlib and graph neural networks to perform data analysis, explore user interests and needs, capture relationships and patterns in user behavior, and significantly improve the accuracy and effectiveness of personalized recommendations;

[0120] The recommendation model construction method in the personalized recommendation unit is:

[0121] The input data is the user-product interaction data matrix R, which contains the user's ratings and interaction records for the products. Let the user set be U and the product set be I.

[0122] R is a sparse matrix with most elements being zero, indicating that most users do not interact with most products;

[0123] The collaborative filtering model architecture based on deep neural networks includes:

[0124] Embedding layer: user embedding matrix P, P u =W p e u , where P u ∈R d is the embedding vector of user u, W p ∈R |U|×d is the user embedding matrix, e u is the onehot encoding vector of user u, and d is the dimension of the embedding vector;

[0125] Product embedding matrix: Q i =W Q e i , where Q i ∈R d is the embedding vector of product i, W Q ∈R |I|×d is the product embedding matrix, e i ∈R |I| is the onehot encoding vector of product i;

[0126] Hidden layer representation: The embedding vectors of users and products are combined and transformed through a deep neural network. u =σ(W1P u +b1),h i =σ(W2Q i +b2), where W1,W2∈R d×d is the weight matrix, b1,b2∈R d is the bias vector, σ is the activation function;

[0127] Prediction layer: perform dot product on the hidden layer representations of users and products to get the predicted score. in, Predict the rating of user u for product i;

[0128] Loss function: Minimize the mean square error between the actual rating and the predicted rating, Among them, r ui For the actual rating, is the prediction score, |R| is the total number of scores;

[0129] The personalized recommendation unit combines reinforcement learning DQN to dynamically adjust the recommendation strategy. Specifically:

[0130] Let the state be denoted by s t, represents the current state of the user at time t, including the user's historical interaction records and the currently browsed product information, Among them, C u It is the collection of products in the user's current session;

[0131] The action is represented by a t , represents the set of products recommended by the system at time t, a t ={i1,i2,...,i k}, where i1,i2,...,i k Indicates recommended products;

[0132] The reward function is r t , which indicates the user's immediate feedback on the recommended products, including click, browse, and purchase behaviors. Among them, F b (u,i) is the feedback value of user u on product i;

[0133] Maximize the cumulative reward and use DQN to update the Q value. Among them, Q(s t ,a t ) is state s t Take action a t The value of , γ is the discount factor, For the next state s t+1 The value of taking the best action;

[0134] Then, the error between the actual Q value and the predicted Q value is minimized; the model is then trained and evaluated; the collaborative filtering model of the deep neural network is used to deal with data sparsity and cold start problems, and the recommendation strategy is dynamically adjusted in combination with reinforcement learning DQN, significantly improving the accuracy of recommendations;

[0135] The display feedback module includes: a user feedback unit that uses a combination of online surveys and behavioral analysis to collect user feedback on recommendation results and platform functions, continuously improve the system, and enhance the intelligence level of feedback processing.

[0136] The present invention effectively improves the real-time, intelligent and accurate performance of the system through four main modules: data collection, data storage management, data analysis and display feedback, and significantly improves user satisfaction and the quality of business decisions.

[0137] The data acquisition module collects raw data in real time, adopts a distributed architecture, provides real-time synchronization and distributed processing of data sources, reduces data transmission delays and processing pressure on central nodes; deploys edge computing devices at each data source node for preliminary processing to reduce the burden on the central processing system; performs real-time data stream processing through Apache Kafka to achieve efficient data transmission and processing; the data cleaning unit ensures data quality by processing missing values, duplicate values, and outliers; uses Apache Spark for distributed data processing, introduces the deep learning anomaly detection algorithm Autoencoder, and improves the intelligence and automation level of data cleaning; the data standardization unit converts data into a unified format and standard, uses custom data conversion rules and mapping tables, and introduces the automatic feature engineering tool Featuretools based on machine learning to improve the efficiency and flexibility of data standardization;

[0138] The data storage management module uses Apache Hadoop HDFS to store unstructured data, such as log files, images, and videos. Configure the Hadoop cluster, including NameNode and multiple DataNodes, upload unstructured data to HDFS through the Hadoop command line tool, use Hadoop's NameNode to manage HDFS metadata, including file paths, block locations, and replica information, set permissions for HDFS files and directories, introduce S3-compatible storage technology, implement data read and write operations through Hadoop's built-in support, use the DistCp tool to synchronize data between HDFS and S3-compatible storage, and provide a flexible data storage solution;

[0139] The data analysis module clusters users based on user behavior data, identifies different user groups, and performs user behavior analysis and recommendations through the Kmeans algorithm and ALS matrix decomposition algorithm; builds a user behavior analysis model based on graph neural network (GNN) to capture the relationships and patterns in user behavior; performs data preprocessing and feature extraction, extracts feature vectors from raw data, and uses the GNN model for node embedding and prediction to improve the accuracy and effectiveness of recommendations. The personalized recommendation unit combines the recommendation model of deep learning NCF and reinforcement learning DQN, and uses the collaborative filtering model of deep neural networks to deal with data sparsity and cold start problems. It combines and transforms the embedded vectors of users and products, and uses DQN to dynamically adjust the recommendation strategy to improve the model's adaptability and recommendation accuracy. The real-time analysis unit uses Apache Flink for streaming data processing, real-time data analysis and decision support.

[0140] The above contents are only for explaining the technical idea of ​​the present invention and cannot be used to limit the protection scope of the present invention. Any changes made on the basis of the technical solution in accordance with the technical idea proposed by the present invention shall fall within the protection scope of the claims of the present invention.

Claims

1. An e-commerce operation big data analysis and decision-making platform, characterized in that: include: Data acquisition module, including: The data collection unit is used to collect raw data in real time from different data sources, including transaction data, user behavior data, product information, and social media data. Data collection uses a distributed architecture to synchronize data sources in real time and perform distributed processing. At the same time, Apache Kafka is used for real-time data stream processing and preliminary processing is performed at the edge of the data source. Data cleaning unit, used to process missing values, duplicate values ​​and outliers; introduces deep learning anomaly detection algorithm Autoencoder, and uses ApacheSpark for distributed data processing; The data standardization unit uses custom data conversion rules and mapping tables and introduces the machine learning-based automatic feature engineering tool Featuretools to convert data into a unified format and standard; Data storage management module, including: Data warehouse unit, used to store structured and semi-structured data; using a hybrid storage architecture combining Apache Hive and HBase; The data lake unit uses Apache Hadoop HDFS to store unstructured data; introduces object storage technology S3 compatible storage; Data analysis modules, including: The user behavior analysis unit uses Apache Spark MLlib to analyze user behavior data and explore user interests and needs. It introduces a user behavior analysis model based on graph neural network GNN to capture relationships and patterns in user behavior. The personalized recommendation unit uses a recommendation model that combines deep learning NCF and reinforcement learning DQN. It uses a collaborative filtering model of deep neural networks to deal with data sparsity and cold start problems, and combines reinforcement learning DQN to dynamically adjust the recommendation strategy. The real-time analysis unit uses Apache Flink for streaming data processing, real-time data analysis and decision support; introduces a real-time feedback mechanism and uses reinforcement learning to optimize recommendation and marketing strategies in real time; Display feedback module, including: The user feedback unit uses a combination of online surveys and behavioral analysis to collect user feedback on recommendation results and platform functions, and continuously improve the system.

2. According to claim 1, an e-commerce operation big data analysis and decision-making platform is characterized in that: In the data acquisition unit, the real-time data stream processing method is: Deploy KafkaProducer on each data source node to transmit data to the Kafka cluster in real time; Apache Kafka is used for real-time data stream processing. The data stream model is Stream(t) = {d1, d2, ..., d i }, where t represents the timestamp, d i is the data collected at time t; KafkaProducer sends data: P(d i ) = KafkaProducer.send(d i , topic), where P(d i ) represents the data sent by KafkaProducer i Go to the specified topic; KafkaConsumer receives data: C(d i ) = KafkaConsumer.poll(topic), where C(d i ) indicates the data that KafkaConsumer polls from the specified topic. i ; Deploy edge computing devices at each data source node to perform preliminary data processing; Preliminary data processing formula: E(d i )=f(d i ), where E(d i ) represents the edge node pair data d i The preliminary processing results, f(d i ) represents the processing function, including denoising, format conversion, and then data transmission optimization.

3. The e-commerce operation big data analysis and decision-making platform according to claim 2 is characterized in that: In the data acquisition unit, the data transmission optimization methods include: Data transmission delay optimization: Where D represents the data size, B represents the bandwidth, and T p represents the edge processing time, T c Indicates network transmission time; Compress data before transmission to reduce bandwidth consumption.

4. The e-commerce operation big data analysis and decision-making platform according to claim 3 is characterized in that: The data lake unit uses Apache Hadoop HDFS to store unstructured data: Configure a Hadoop cluster, including NameNode and one or more DataNodes, install Hadoop on each node, and configure core parameters; Import data and identify unstructured data sources, including log files, images, and videos; Use Hadoop command line tools to upload unstructured data to HDFS; HDFS directories store different types of unstructured data in a classified manner; Use Hadoop's NameNode to manage HDFS metadata, including file paths, block locations, and replica information; Set permissions for HDFS files and directories.

5. The e-commerce operation big data analysis and decision-making platform according to claim 4, characterized in that: Introducing object storage technology S3 compatible storage in the data lake unit: Select S3-compatible object storage MinIO and Ceph systems, configure Hadoop and S3-compatible storage integration, and perform data read and write operations through Hadoop's built-in support; Use DistCp to synchronize data between HDFS and S3-compatible storage; Use S3-compatible storage system client tools to access data stored in S3; Specify the S3 storage path through the Hadoop configuration file and read and process the data in S3 directly in Hadoop; Use S3-compatible storage system management tools to monitor storage usage and configure storage policies, including lifecycle management and version control.

6. The e-commerce operation big data analysis and decision-making platform according to claim 5, characterized in that: The data analysis method in the user behavior analysis unit is as follows: Perform data preprocessing and feature extraction to extract feature vectors from raw data; Use Apache Spark MLlib to build a user behavior model, perform user clustering based on user behavior data, and use the Kmeans algorithm to identify different user groups. Where k is the number of clusters, x is the data point, μ i is the i-th cluster center, C i is the set of the i-th cluster; ALS matrix decomposition algorithm is used to make recommendations based on user-item interaction data, R≈PQ T , where R is the user-item rating matrix, P and Q are the implicit feature matrices of users and items respectively; Constructing the graph neural network GNN model graph is constructed as a user-product interaction graph, expressed as G=(V,E), where G is a graph, V is a node set, i.e., users and products, and E is an edge set, i.e., the interaction between users and products.

7. The e-commerce operation big data analysis and decision-making platform according to claim 6, characterized in that: The data analysis methods in the user behavior analysis unit include: Embed the nodes in the graph into a low-dimensional vector space, in represents the embedding vector of node v in layer l, N(v) is the set of neighbor nodes of node v, and W (l) is the weight matrix of the lth layer, b (l) is the bias vector of the lth layer, σ is the activation function, c vu is the normalization coefficient, which represents the connection strength between node v and its neighbor node u; Train the graph neural network model, embed and predict nodes based on the user-product interaction graph, and use the cross entropy loss function as the loss function: Where L is the loss function, E is the edge set, and y vu represents the actual label, which refers to the interaction between user v and item u. is the predicted label.

8. The e-commerce operation big data analysis and decision-making platform according to claim 7, characterized in that: The data analysis methods in the user behavior analysis unit also include: Use Apache Flink for real-time analysis and decision support, use reinforcement learning to optimize recommendation and marketing strategies, and use the DeepQLearning (DQN) algorithm. Where Q(s t ,a t ) means in state s t Take action a t The value of r t is the immediate reward, γ is the discount factor, Indicates that in the next state s t+1 The value of taking the best action.

9. The e-commerce operation big data analysis and decision-making platform according to claim 8, characterized in that: The recommendation model construction method in the personalized recommendation unit is: The input data is the user-item interaction data matrix R, which contains the user's ratings and interaction records for the items. Let the user set be U and the item set be I; The collaborative filtering model architecture based on deep neural networks includes: Embedding layer: user embedding matrix P, P u =W p e u , where P u ∈R d is the embedding vector of user u, W p ∈R |U|×d is the user embedding matrix, e u is the onehot encoding vector of user u, and d is the dimension of the embedding vector; Product embedding matrix: Q i =W Q e i , where Q i ∈R d is the embedding vector of product i, W Q ∈R |I|×d is the product embedding matrix, e i ∈R |I| is the onehot encoding vector of product i; Hidden layer representation: The embedding vectors of users and products are combined and transformed through a deep neural network. u =σ(W1P u +b1),h i =σ(W2Q i +b2), where W1,W2∈R d×d is the weight matrix, b1,b2∈R d is the bias vector, σ is the activation function; Prediction layer: perform dot product on the hidden layer representations of users and products to get the predicted score. in, Predict the rating of user u for product i; Loss function: Minimize the mean square error between the actual rating and the predicted rating, Among them, r ui For the actual rating, is the prediction score, and |R| is the total number of scores.

10. The e-commerce operation big data analysis and decision-making platform according to claim 9, characterized in that: The personalized recommendation unit combines reinforcement learning DQN to dynamically adjust the recommendation strategy. Specifically: Let the state be denoted by s t , represents the current state of the user at time t, including the user's historical interaction records and the currently browsed product information, Among them, C u It is the product collection in the user's current session; The action is represented by a t , represents the set of products recommended by the system at time t, a t ={i1,i2,...,i k }, where i1,i2,...,i k Indicates recommended products; The reward function is r t , which indicates the user's immediate feedback on the recommended products, including click, browse, and purchase behaviors. Among them, F b (u,i) is the feedback value of user u on product i; Maximize the cumulative reward and use DQN to update the Q value. Among them, Q(s t ,a t ) is state s t Take action a t The value of , γ is the discount factor, For the next state s t+1 The value of taking the best action; Then minimize the error between the actual Q value and the predicted Q value; then train and evaluate the model.

Citation Information

Patent Citations

  • E-commerce operation big data analysis and decision-making platform

    CN112258020A

Cited By

  • Intelligent marketing system based on expansion of consumption frequency and consumption scale

    CN118863975A

  • E-commerce intelligent recommendation system based on user behavior big data

    CN119671686A

  • E-commerce intelligent recommendation system based on user behavior big data

    CN119671686B

  • Product recommendation method based on graph neural network and transfer learning

    CN119919216A

  • Online electronic commerce recommendation system based on big data

    CN120598629A