Gas equipment product recommendation method and system based on user behavior data

Through the gas equipment product recommendation method based on user behavior data, the comprehensive index and product similarity of the user's browsing equipment are calculated, which solves the problem of manual comparison difficulty in equipment purchase in the natural gas industry, improves the recommendation efficiency and accuracy, and expands the product range. , which improves the user experience.

CN118552279AInactive Publication Date: 2024-08-27CHONGQING UNIV OF TECH
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410670572.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-08-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the equipment purchase in the natural gas industry, it is difficult to manually compare equipment parameters and analyze data, resulting in low recommendation efficiency and accuracy.

Method used

By obtaining the user identifier, calling the user behavior database, calculating the comprehensive indicators of the user's browsing equipment, determining the gas benchmark equipment, and proportioning product feature weights based on user needs, using methods such as cosine similarity and Euclidean distance to calculate the gas equipment information database The similarity between the products in the product and the benchmark device is used to generate a recommendation data set.

Benefits of technology

It achieves efficient comparative analysis of device parameters, improves recommendation efficiency and accuracy, expands the scope of recommended products, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118552279A
    Figure CN118552279A
Patent Text Reader

Abstract

The invention provides a gas equipment product recommendation method and system based on user behavior data, and the method comprises the steps: obtaining a user identifier, and calling a corresponding user behavior database according to the user identifier; calculating a comprehensive index of browsing equipment according to the user behavior data in the user behavior database, and determining gas reference equipment of the user according to the comprehensive index of the equipment; and obtaining a weight ratio of the user to the product characteristics based on the user demand, calculating the similarity between the product in the gas equipment information base and the gas reference equipment by adopting at least two similarity calculation methods according to the weight ratio, and obtaining a recommendation data set according to a similarity calculation result. According to the invention, efficient comparative analysis of the equipment parameters can be realized, the equipment recommendation efficiency is improved, accurate recommendation of the gas equipment required by the user is realized, the matching degree of the recommended equipment and the user demand is improved, and the user experience is improved.
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 a method and system for recommending gas equipment products based on user behavior data. Background Art

[0002] In the equipment purchase of the natural gas industry, the main method is to manually determine the needs, locate the product, compare the parameters, and finally choose to buy. However, this method requires manual comparison of equipment parameters in massive amounts of data, which is difficult to manually analyze and process, resulting in low efficiency and accuracy of recommendations.

[0003] Therefore, there is an urgent need for a gas equipment product recommendation method that can efficiently compare and analyze equipment parameters and improve recommendation efficiency and accuracy. Summary of the invention

[0004] Based on this, it is necessary to provide a gas equipment product recommendation method and system based on user behavior data to address the above technical issues.

[0005] A method for recommending gas equipment products based on user behavior data comprises the following steps: obtaining a user identifier, and calling a corresponding user behavior database according to the user identifier; calculating a comprehensive index of a browsing device according to the user behavior data in the user behavior database, and determining the user's gas reference device according to the comprehensive index of the device; obtaining a weight ratio of the user to product features based on user needs, and according to the weight ratio, using at least two similarity calculation methods to calculate the similarity between a product in a gas equipment information library and the gas reference device, and obtaining a recommended data set according to the similarity calculation result.

[0006] In one of the embodiments, the method of obtaining a user identifier and calling the corresponding user behavior record library according to the user identifier also includes: constructing a gas equipment product feature library according to the gas equipment information and the user information, wherein the gas equipment product feature library includes a gas equipment information library, a purchased record library, a user behavior database and a merchant library to which the gas equipment belongs; wherein the gas equipment information library includes feature data of the equipment unique identifier, the current parameter status of the equipment, the merchant to which the equipment belongs, equipment attributes, equipment unit price and equipment quantity; the purchased equipment record library includes feature data of the user identifier, the equipment unique identifier, the user's purchase record, the parameters of the purchased equipment and the applicable scope of the equipment; the user behavior database includes feature data of the user identifier, the user's equipment browsing information, the user's equipment requirements and the user's equipment merchant requirements; the merchant library to which the gas equipment belongs includes feature data of the equipment unique identifier, the merchant feature information of the equipment, the merchant's geographic location and the merchant's credit.

[0007] In one of the embodiments, before constructing the gas equipment product feature library based on the gas equipment information and the user information, it also includes: using a normal distribution with a mean of 0 and a variance of 1 to standardize all feature data other than the device unique identifier and the user identifier so that the feature data satisfies x~N(0,1).

[0008] In one embodiment, the comprehensive index of the browsing device is calculated according to the user behavior data in the user behavior database, and the gas reference device of the user is determined according to the comprehensive index of the device, including: extracting the user behavior data in the user behavior database according to the user identifier, and screening the device with the largest comprehensive index from the user browsing device according to the user behavior data as the gas reference device, and the formula is:

[0009]

[0010] In the formula, index ij represents the jth indicator of the i-th gas device, and n is the number of devices browsed by the user.

[0011] In one of the embodiments, it also includes: obtaining user location information, and adding the user location information to the comprehensive index; calculating the device with the largest comprehensive index based on the comprehensive index after adding the user location information, and obtaining an updated gas benchmark device.

[0012] In one embodiment, the method of obtaining a weight ratio of a user to a product feature based on user needs, calculating the similarity between the product in the gas equipment information library and the gas reference device using at least two similarity calculation methods according to the weight ratio, and obtaining a recommended data set according to the similarity calculation result includes: obtaining a weight ratio of a user to a product feature based on user needs, calculating the similarity between the product in the gas equipment information library and the gas reference device using cosine similarity and Euclidean distance according to the weight ratio, and the formula is:

[0013]

[0014]

[0015] In the formula, x ik represents the eigenvalue, x jk Represents the length of the feature variable; obtains a preset similarity threshold, and obtains two recommendation candidate sets according to the similarity threshold; takes a union of the two recommendation candidate sets to obtain all recommendation candidate products; constructs a recommendation index based on the cosine similarity and Euclidean distance, and sorts the recommendation candidate products according to the recommendation index to obtain two recommendation data sets.

[0016] A gas equipment product recommendation system based on user behavior data is used to implement a gas equipment product recommendation method based on user behavior data as described above, comprising: a database calling module, used to obtain a user identifier, and call the corresponding user behavior database according to the user identifier; a benchmark device determination module, used to calculate the comprehensive index of the browsing device according to the user behavior data in the user behavior database, and determine the user's gas benchmark device according to the comprehensive index of the device; a recommended data set acquisition module, used to obtain the user's weight ratio of product features based on user needs, and according to the weight ratio and the gas benchmark device, use at least two similarity calculation methods to calculate the products in the device information library to obtain a recommended data set.

[0017] In one of the embodiments, it also includes: an interconnected data collection layer, a data analysis layer, and a data application layer; the data collection layer is used to collect user behavior data through JS customized embedding points, send the collected data to the message queue for caching, and store the user behavior data through a distributed file system; the data analysis layer is used to perform real-time analysis on the data in the message queue, read the data in the distributed file system for offline analysis, and store the analysis results in a relational database; the data application layer recommends gas equipment based on the analysis results, and visualizes the recommended data set based on the recommendation index.

[0018] Compared with the prior art, the advantages and beneficial effects of the present invention are as follows: by obtaining a user identifier, calling a corresponding user behavior database, calculating a comprehensive index of the user's browsing device according to the user behavior data in the user behavior database, determining the user's gas benchmark device according to the comprehensive index of the device, and obtaining a gas benchmark device for judging the matching degree of the device through the user behavior data, thereby realizing efficient comparative analysis of device parameters and improving the matching degree of the recommended device with user needs; obtaining a user's weighted ratio of product features based on user needs, and using at least two similarity calculation methods to calculate the similarity between the products in the gas equipment information library and the gas benchmark device, and obtaining a recommended data set for the equipment product based on the similarity calculation result, thereby realizing automatic data collection and data update, improving the efficiency of equipment recommendation, and saving the cost and time of obtaining data; by calculating the similarity between all products in the gas equipment information library and the gas benchmark device, the scope of recommended products can be expanded, and accurate recommendations for the gas equipment required by the user can be realized, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 A flowchart of a method for recommending gas equipment products based on user behavior data in one embodiment;

[0020] Figure 2A flowchart of a method for recommending gas equipment products based on user behavior data in one embodiment;

[0021] Figure 3 A schematic diagram of a process of data standardization in one embodiment;

[0022] Figure 4 A schematic diagram of the structure of a gas appliance product recommendation system based on user behavior data in one embodiment;

[0023] Figure 5 FIG. 4 is a schematic diagram of the relationship between data bodies in an embodiment. DETAILED DESCRIPTION

[0024] Before describing the specific embodiments of the present invention, the overall concept of the present invention is described as follows:

[0025] The present invention is mainly developed based on the gas equipment recommendation process. Currently, it mainly relies on manual equipment parameter comparison, which is inefficient and has a low matching degree of the recommended products.

[0026] Therefore, the present invention proposes a method for recommending gas equipment products based on user behavior data, by obtaining a user identifier, calling a corresponding user behavior database, calculating a comprehensive index of the user's browsing device according to the user behavior data in the user behavior database, determining the user's gas benchmark device according to the comprehensive index of the device, and obtaining a gas benchmark device for judging the matching degree of the device through the user behavior data, thereby realizing efficient comparison of equipment parameters and improving the matching degree of the recommended equipment with user needs; obtaining a weighted ratio of the user to product features based on user needs, and using at least two similarity calculation methods to calculate the similarity between the products in the gas equipment information library and the gas benchmark device, and obtaining a recommended data set of equipment products based on the similarity calculation results, thereby realizing automatic data collection and data updating, improving equipment recommendation efficiency, and saving the cost and time of obtaining data; and by calculating the similarity between all products in the gas equipment information library and the gas benchmark device, the scope of recommended products can be expanded, and accurate recommendations for gas equipment required by users can be realized, thereby improving user experience.

[0027] After introducing the overall concept of the present invention, in order to make the purpose, technical solution and advantages of the present invention more clear, the present invention is further described in detail by specific implementation methods in combination with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0028] In one embodiment, Figure 1 and Figure 2 As shown, a method for recommending gas equipment products based on user behavior data is provided, comprising the following steps:

[0029] Step S101, obtaining a user identifier, and calling a corresponding user behavior database according to the user identifier.

[0030] Specifically, before making recommendations for user gas equipment products, a user identifier is obtained and a user behavior database formed according to the user's browsing behavior is called to determine user needs and make targeted and personalized equipment product recommendations.

[0031] Among them, before step S101, it also includes: constructing a gas equipment product feature library according to the gas equipment information and the user information, the gas equipment product feature library includes a gas equipment information library, a purchased record library, a user behavior database and a gas equipment merchant library; wherein the gas equipment information library includes feature data of the equipment unique identification, the current parameter status of the equipment, the merchant to which the equipment belongs, the equipment attributes, the equipment unit price and the number of equipment; the purchased equipment record library includes feature data of the user identifier, the equipment unique identification, the user's purchase record, the parameters of the purchased equipment and the applicable scope of the equipment; the user behavior database includes feature data of the user identifier, the user's equipment browsing information, the user's equipment requirements and the user's equipment merchant requirements; the gas equipment merchant library includes feature data of the equipment unique identification, the merchant feature information of the equipment, the merchant's geographic location and the merchant's credit.

[0032] Specifically, in terms of modeling the gas equipment product feature library, it includes the gas equipment information library, the previously purchased equipment record library, the user's access demand record library, and the gas equipment merchant library. The equipment information library includes the unique identifier of the equipment, the current parameter status of the equipment, the merchant to which the equipment belongs, the attributes of the equipment, the unit price and quantity of the equipment; the "equipment unit price" is based on the equipment table. If the price is invalid (such as 0, too small, etc.), the reasonable average price of the merchant where the equipment is located is used as the unit price of the gas equipment. The previously purchased equipment record library records the customer's purchase records, including the parameters of the previous equipment, the scope of application, etc., as the customer group used by the subsequent recommendation system and the equipment exclusion items of the final recommendation results of the recommendation system. The user's access demand library is to collect and compare the browsing behavior information of all the user's devices, analyze the user's equipment needs and the needs of the merchant to which the equipment belongs, and serve as the equipment priority item of the subsequent recommendation system. The gas equipment merchant library contains the merchant feature information, geographic location, credit, etc. of the gas equipment. By integrating and jointly constructing the feature data in multiple databases, the matching degree between the final recommended product and the actual needs of the user is improved, and the accuracy of the recommended product is ensured.

[0033] Among them, before constructing the gas equipment product feature library based on the gas equipment information and user information, it also includes: adopting a normal distribution with a mean of 0 and a variance of 1 for the data, and standardizing all feature data except the device unique identifier and the user identifier so that the feature data satisfies x~N(0,1).

[0034] Specifically, since the constructed database has a large amount of variance, and the calculation of similarity metrics in the recommendation process is more sensitive to this, it is necessary to preprocess the feature data, such as Figure 3 As shown, data cleaning, integration, transformation and standardization are performed based on the obtained multiple data sources to facilitate the subsequent similarity calculation. When performing standardization, a normal distribution with a mean of 0 and a variance of 1 can be used so that each feature data satisfies: x~N(0,1). Of course, user identifiers and device unique identifiers do not need to be standardized.

[0035] Step S102, calculating the comprehensive index of the browsing device according to the user behavior data in the user behavior database, and determining the user's gas reference device according to the comprehensive index of the device.

[0036] Specifically, since the user's access behavior reflects the user's real needs, including the user's browsing intention for a certain device of a certain merchant, using the user's access behavior data as a recommendation benchmark for the user can achieve accurate recommendations for the user. Therefore, the comprehensive index of the browsed device can be calculated based on the user's behavior data, and the device with the highest comprehensive index can be used as the user's gas benchmark device. The benchmark device can be used as the recommendation benchmark to screen among the gas equipment products to obtain recommended products that better match the user's needs.

[0037] Wherein, step S102 includes: extracting user behavior data from the user behavior database according to the user identifier, and screening the device with the largest comprehensive index from the user browsing devices according to the user behavior data as the gas benchmark device, and the formula is:

[0038]

[0039] In the formula, index ij It represents the jth index of the i-th gas device, n is the number of devices browsed by the user, and index_num represents the total number of indicators.

[0040] Specifically, the user's recent device access information is extracted from the user behavior database based on the user identifier (in actual application, a real-time recommendation strategy can be adopted, that is, when the customer's browsing behavior is updated, the candidate products are recommended iteratively immediately) and the comprehensive index of the user's device access record is calculated. The device with the largest comprehensive index among the gas devices browsed by the user is used as the gas benchmark device.

[0041] Among them, the step of obtaining the benchmark device also includes: obtaining user location information, adding the user location information to the comprehensive index; calculating the device with the largest comprehensive index based on the comprehensive index after adding the user location information, and obtaining the updated gas benchmark device.

[0042] Specifically, based on considerations such as the real-time and distance priority of the recommended content, the user's location information is introduced. The location information needs to satisfy the requirement that the user's location city is the same as the city where the product is visited. The user's location information is extracted from the user location record library and added to the comprehensive index to form a new comprehensive index. The comprehensive index is then recalculated to obtain the device with the largest comprehensive index, which is used as the updated gas benchmark device to judge the products in the gas equipment information library and improve the matching degree between the recommended products and the products required by users.

[0043] Step S103, based on user needs, obtain the user's weight ratio for product features, and according to the weight ratio, use at least two similarity calculation methods to calculate the similarity between the products in the gas equipment information library and the gas reference equipment, and obtain a recommended data set according to the similarity calculation result.

[0044] Specifically, since users have different needs, the gas equipment features corresponding to different user needs are different. Therefore, the product features can be weighted according to user needs. For example, due to the inherent geographical limitations of product recommendations, recommendations need to consider the city and location of the equipment product; and the entire user group can be divided into those with purchase intention and those without purchase intention; users with purchase intention are not very sensitive to the city where the merchant is located, and usually focus on whether the characteristics of the gas equipment itself are suitable for purchase. Therefore, for such users, the location factor of the product needs to be weakened, and the weight ratio of the location factor can be reduced; while users without purchase intention need to focus on the location factor, and the weight ratio of the location factor can be increased. Different feature weight ratios are formulated for customers with different equipment purchase needs to improve the accuracy of personalized recommendations.

[0045] According to the obtained weight ratio and the user's gas benchmark equipment, the equipment similarity measurement is performed to screen the candidate recommended products from the equipment information library. Considering the characteristics of equipment recommendation, it is required that the feature vectors of two similar products should not only be as parallel as possible, but also have the minimum distance. Therefore, at least two similarity calculation methods can be used to calculate the similarity between the products in the gas equipment information library and the gas benchmark equipment, and the recommended data set of the products can be obtained according to the similarity calculation results.

[0046] Wherein, step S103 includes: obtaining the weight ratio of the user to the product features based on the user's needs, and calculating the similarity between the products in the gas equipment information database and the gas reference equipment using cosine similarity and Euclidean distance according to the weight ratio, and the formula is:

[0047]

[0048]

[0049] Where cosθ ij represents the cosine similarity, d ij represents the Euclidean distance, x ik represents the eigenvalue, x jk Represents the length of the feature variable; obtains a preset similarity threshold, and obtains two recommendation candidate sets according to the similarity threshold; takes the union of the two recommendation candidate sets to obtain all the recommendation candidate products; constructs a recommendation index based on cosine similarity and Euclidean distance, and sorts the recommendation candidate products according to the recommendation index to obtain two recommendation data sets.

[0050] Specifically, when calculating the similarity between the products in the gas equipment information database and the gas benchmark equipment, cosine similarity and Euclidean distance are used as evaluation indicators. The two indicators are comprehensively considered to screen out the recommended candidate products whose similarity is most consistent with the actual situation. For example, two similarity measurement methods are used respectively to calculate the recommended candidate sets ranked in the top ten in similarity. Since there may be duplicate products in the recommended candidate sets obtained by the two similarity calculation methods, the two recommended candidate sets are taken as the union to obtain all the recommended candidate products; in order to better display the recommended candidate products, recommendation indexes are constructed according to the two similarity calculation methods, recommendation index 1 and recommendation index 2, where recommendation index 1 is cosine similarity and recommendation index 2 is Euclidean distance, and two recommendation data sets are sorted by the two recommendation indexes respectively, so as to facilitate the separate product display and realize accurate recommendation based on user needs.

[0051] In addition, the minimum mean square error can be used as an estimation error indicator to determine the tendency of user behavior, update the recommended data set, and further improve the matching degree between recommended products and user needs.

[0052] In this embodiment, by obtaining a user identifier, calling the corresponding user behavior database, calculating the comprehensive index of the user's browsing device according to the user behavior data in the user behavior database, determining the user's gas benchmark device according to the comprehensive index of the device, and obtaining the gas benchmark device for judging the matching degree of the device through the user behavior data, efficient comparison of device parameters is achieved, and the matching degree of the recommended device with the user's needs can be improved; based on the user's needs, the user's weight ratio for product features is obtained, and at least two similarity calculation methods are used to calculate the similarity between the products in the gas equipment information library and the gas benchmark device, and a recommended data set of the equipment product is obtained based on the similarity calculation result, which can realize automatic data collection and data update, improve the efficiency of equipment recommendation, save the cost and time of obtaining data, and by calculating the similarity between all products in the gas equipment information library and the gas benchmark device, the range of recommended products can be expanded, and accurate recommendation of the gas equipment required by the user can be achieved, thereby improving the user experience.

[0053] like Figure 4 As shown, a gas equipment product recommendation system 40 based on user behavior data is provided, which is used to implement a method for recommending gas equipment products based on user behavior data as described above, including: a database calling module 41, a reference equipment determination module 42 and a recommendation data set acquisition module 43, wherein:

[0054] The database calling module 41 is used to obtain a user identifier and call a corresponding user behavior database according to the user identifier;

[0055] A reference device determination module 42, used to calculate the comprehensive index of the browsing device according to the user behavior data in the user behavior database, and determine the user's gas reference device according to the comprehensive index of the device;

[0056] The recommended data set acquisition module 43 is used to obtain the user's weight ratio for product features based on user needs, and calculate the products in the device information library using at least two similarity calculation methods according to the weight ratio and gas benchmark equipment to obtain a recommended data set.

[0057] In one embodiment, the system also includes: a feature library construction module, which is used to construct a gas equipment product feature library based on gas equipment information and user information. The gas equipment product feature library includes a gas equipment information library, a purchased record library, a user behavior database and a gas equipment merchant library.

[0058] In one embodiment, the feature library construction module is further used to: use a normal distribution with a mean of 0 and a variance of 1 to standardize all feature data other than the device unique identifier and the user identifier, so that the feature data satisfies x~N(0,1).

[0059] In one embodiment, the system also includes: an interconnected data collection layer, a data analysis layer, and a data application layer; the data collection layer is used to collect user behavior data through JS customized embedding points, send the collected data to the message queue for caching, and store the user behavior data through a distributed file system; the data analysis layer is used to perform real-time analysis on the data in the message queue, read the data in the distributed file system for offline analysis, and store the analysis results in a relational database; the data application layer recommends gas equipment based on the analysis results, and visualizes the recommended data set based on the recommendation index.

[0060] Specifically, the framework design of user behavior data analysis includes: interconnected data collection layer, data analysis layer and data application layer. The relationship between data bodies is as follows: Figure 5 shown.

[0061] The data collection layer uses traditional JS to customize the embedding points for the website for data collection. The Flume log collection system is used for high-availability, high-reliability, and distributed massive log monitoring and collection. Data can be collected at any location and in any scenario according to business needs. By implanting multiple sections of code, the user's system behavior on each interface is tracked to collect the user's full behavioral data.

[0062] At the data analysis layer, the Flume log collection system sends the collected data to the Kafka message queue for caching, and sends it to the HDFS distributed file system to store user behavior logs to achieve high fault tolerance, high reliability, high scalability, high availability, and high throughput. SparkSteaming consumes data in the Kafka message queue. In order to improve the efficiency of analysis and calculation, Spark's Transformation operator and Action operator are used for real-time analysis. Hive uses multiple optimized MapReduce algorithms in the form of SQL statements to read data in the HDFS distributed file system in astronomical units for offline analysis, and puts the results into the Mysql relational database for visualization based on the results.

[0063] The data application layer is divided into three sections: data display, intelligent recommendation, and behavior prediction. For data display, Mybatis persistence framework is used in the background to connect to the database, and Sprintboot is used to provide a data access interface. The front-end uses the Angular component Asynclack asynchronous message processing to interact with the background, which speeds up the response speed. Finally, the various user behavior indicators are dynamically and intuitively displayed through Echarts charts. Intelligent recommendation adopts a hybrid recommendation technology that combines the recommendation algorithm based on content filtering and the system filtering recommendation algorithm based on double clustering to analyze user behavior logs and provide intelligent recommendation services to users. Behavior prediction designs a data packet reorganization algorithm based on existing user behavior data, implements the model based on SharpPcap and PacketDotnet class libraries, and finally uses the idea of ​​multiple analysis to establish a user behavior model. The LUBAM model is used to calculate the user's behavior process in a certain period of time, and predict the user's behavior process in the next period of time. The minimum mean square error is used as the estimation error indicator to determine the tendency of user behavior.

[0064] In summary, the present invention constructs a feature library, selects and designs gas benchmark equipment, and then selects equipment product recommendation candidates based on different equipment similarity measurement indicators. The system adopts different feature weight ratios for users with different purchasing intentions, and finally obtains recommendation content that is consistent with the user's intention. It includes product feature library modeling and product intelligent recommendation system modeling, as well as preprocessing of feature library data, construction of benchmark gas equipment, weight ratio of feature variables, gas equipment similarity measurement and candidate set construction, user behavior analysis system framework design and product intelligent recommendation system overall process. Only by simply configuring and setting parameters, it can realize automatic data collection and long-term data update, improve user experience, enhance the efficiency of user transaction process, save the cost and time of obtaining data, and use the minimum mean square error as the estimation error indicator to determine the tendency of user behavior and improve data accuracy.

[0065] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0066] Obviously, those skilled in the art should understand that the modules or steps of the present invention described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a computer storage medium (ROM / RAM, magnetic disk, optical disk) and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than that here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Therefore, the present invention is not limited to any specific combination of hardware and software.

[0067] The above contents are further detailed descriptions of the present invention in combination with specific implementation methods, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the scope of protection of the present invention.

Claims

1. A method for recommending gas equipment products based on user behavior data, characterized in that: The following steps are involved: Obtain a user identifier, and call a corresponding user behavior database according to the user identifier; Calculate the comprehensive index of the browsing device according to the user behavior data in the user behavior database, and determine the user's gas reference device according to the comprehensive index of the device; Based on user needs, a weight ratio of the user to product features is obtained. According to the weight ratio, at least two similarity calculation methods are used to calculate the similarity between the products in the gas equipment information library and the gas reference equipment, and a recommended data set is obtained according to the similarity calculation result.

2. The method for recommending gas equipment products based on user behavior data according to claim 1, characterized in that: Before obtaining the user identifier and calling the corresponding user behavior record library according to the user identifier, the method further includes: Building a gas equipment product feature database based on the gas equipment information and user information, the gas equipment product feature database includes a gas equipment information database, a purchased record database, a user behavior database and a gas equipment merchant database; The gas equipment information database includes characteristic data of equipment unique identification, current equipment parameter status, equipment merchant, equipment attributes, equipment unit price and equipment quantity; The purchased equipment record library includes a user identifier, a unique equipment identifier, a user's purchase record, parameters of the purchased equipment, and characteristic data of the equipment's applicable scope; The user behavior database includes characteristic data of user identifier, user's device browsing information, user's device requirements and user's device merchant requirements; The merchant database to which the gas equipment belongs includes characteristic data of the equipment unique identification, the merchant characteristic information of the equipment, the merchant geographical location and the merchant credit rating.

3. The method for recommending gas equipment products based on user behavior data according to claim 2, characterized in that: Before constructing the gas equipment product feature library according to the gas equipment information and the user information, the method further includes: A normal distribution with a mean of 0 and a variance of 1 is used to standardize all feature data except the device unique identifier and the user identifier, so that the feature data satisfies x~N(0,1).

4. The method for recommending gas equipment products based on user behavior data according to claim 1, characterized in that: The step of calculating the comprehensive index of the browsing device according to the user behavior data in the user behavior database, and determining the user's gas reference device according to the comprehensive index of the device, comprises: The user behavior data in the user behavior database is extracted according to the user identifier, and the device with the largest comprehensive index is screened from the user browsing devices according to the user behavior data as the gas benchmark device. The formula is: In the formula, index ij represents the jth indicator of the i-th gas device, and n is the number of devices browsed by the user.

5. The method for recommending gas equipment products based on user behavior data according to claim 4, characterized in that: Also includes: Acquire user location information, and add the user location information to the comprehensive indicator; According to the comprehensive index after adding the user location information, the device with the largest comprehensive index is calculated to obtain an updated gas benchmark device.

6. The method for recommending gas equipment products based on user behavior data according to claim 1, characterized in that: The method of obtaining a weight ratio of a user to a product feature based on user demand, calculating the similarity between the product in the gas equipment information library and the gas reference equipment using at least two similarity calculation methods according to the weight ratio, and obtaining a recommended data set according to the similarity calculation result includes: Based on user needs, the weight ratio of the user to the product features is obtained. According to the weight ratio, the similarity between the products in the gas equipment information database and the gas reference equipment is calculated using cosine similarity and Euclidean distance. The formula is: In the formula, x ik represents the eigenvalue, x jk Indicates the length of the feature variable; Obtaining a preset similarity threshold, and obtaining two recommendation candidate sets according to the similarity threshold; Taking a union of the two recommendation candidate sets to obtain all the recommendation candidate products; A recommendation index is constructed based on the cosine similarity and the Euclidean distance, and the recommended candidate products are sorted according to the recommendation index to obtain two recommendation data sets.

7. A gas equipment product recommendation system based on user behavior data, characterized in that: A method for recommending gas equipment products based on user behavior data according to any one of claims 1 to 6, comprising: A database calling module, used to obtain a user identifier and call a corresponding user behavior database according to the user identifier; A reference device determination module, used to calculate the comprehensive index of the browsing device according to the user behavior data in the user behavior database, and determine the user's gas reference device according to the comprehensive index of the device; The recommended data set acquisition module is used to obtain the user's weight ratio for product features based on user needs, and calculate the products in the device information library using at least two similarity calculation methods according to the weight ratio and gas benchmark equipment to obtain a recommended data set.

8. The gas equipment product recommendation system based on user behavior data according to claim 7 is characterized in that: Also includes: Interconnected data collection layer, data analysis layer, and data application layer; The data collection layer is used to collect user behavior data through JS customized embedding points, send the collected data to the message queue for caching, and store the user behavior data through a distributed file system; The data analysis layer is used to perform real-time analysis on the data in the message queue, read the data in the distributed file system for offline analysis, and store the analysis results in a relational database; The data application layer recommends gas equipment according to the analysis results, and performs a visual display of the recommended data set according to the recommendation index.

Citation Information

Patent Citations

  • User personalized shopping behavior-based commodity recommendation method

    CN106708821A

  • Housing resource recommendation method and a server

    CN109658192A

  • House resource recommendation method and device and server

    CN109670113A

  • Commodity mixed recommendation system based on big data

    CN115393004A

  • Commodity recommendation method and system based on big data

    CN116342226A