A personalized advertising recommendation method and system for retail power users

Through the improved RFM model and GMM clustering algorithm, the transaction preferences and electricity consumption habits of retail electricity users are analyzed and divided into different types, which solves the problem of difficulty in classification and recommendation in the existing technology, realizes personalized advertising recommendations, and improves the efficiency of The operating level of the electricity retail market.

CN118552260BActive Publication Date: 2024-10-25GUANGDONG ELECTRIC POWER TRADING CENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410997220.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-10-25
Estimated Expiration
2044-07-24

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively analyze and classify the complex transactions and electricity consumption behaviors of retail electricity users, and cannot accurately mine user needs, resulting in insufficient operational levels in the electricity retail market.

Method used

Using the improved RFM model combined with the GMM clustering algorithm, users are divided into low-consumption stable, high-consumption stable, active participation and flexible exploration users based on transaction preferences, electricity consumption habits and user attributes, and personalized ads are recommended based on these classifications .

Benefits of technology

It has realized the comprehensive exploration of the needs of retail electricity users and the classification of market value, improved the activity and operation level of the electricity retail market, provided personalized advertising recommendations, and improved the decision-making level of the decision-making and operation platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118552260B_ABST
    Figure CN118552260B_ABST
Patent Text Reader

Abstract

The present invention discloses a personalized advertising recommendation method and system for retail power users. The method comprises: solving the latest index, frequency index, and monetary index of the improved RFM model in the market value classification of retail power users; constructing a combined index; clustering the user's sample data, solving the variance ratio of the clustering under different index weights, and selecting the index weight when the variance ratio is the largest; clustering the user's sample data using the GMM algorithm under the selected index weight; constructing preliminary features of four types of retail power users; using the Kendall coefficient method to calculate the correlation between the characteristics of retail power users, and eliminating low-correlation features; and recommending corresponding advertisements based on the user's market value, attributes, electricity consumption behavior, and transaction preferences. The present invention provides an information basis for improving the decision-making level of power sales companies and the operation level of trading platforms, and is conducive to guiding the operation platform to provide personalized advertising services to retail power users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power retail market data analysis, and in particular to a personalized advertisement recommendation method for retail power users. Background Art

[0002] In recent years, comprehensive and in-depth mining of effective information of retail power users, reasonable evaluation of user value, and providing accurate basis for decision-making behavior of various platforms have become one of the research hotspots in the analysis of retail power user behavior big data. However, there are not many studies on the market behavior of retail power users, and the data characteristics of retail power users are multidimensional. Therefore, how to conduct in-depth analysis of the complex transactions and electricity consumption behaviors of retail power users, reasonably characterize the user characteristics of different market behaviors, and provide an information basis for improving the market operation level of the power retail market and power users has become an urgent problem to be solved on the operation side and the supply side.

[0003] In the electricity retail market data, the data related to electricity users presents multi-type and multi-dimensional characteristics, and it is still unclear what type of data to choose to classify the market behavior of retail electricity users. The RFM model is a customer classification model that describes the value status of a customer through three dimensions: recent purchase behavior, overall purchase frequency, and consumption amount. It is conducive to providing targeted services to different customers. The RFM model has shown good performance in the retail market in other fields. This model can be improved and applied to the classification of retail electricity users, which is conducive to recommending personalized services to different users. The GMM clustering algorithm is more flexible in group classification and coordination than the traditional K-means clustering.

[0004] At present, a patent document has proposed an advertising push method (an advertising push method, device and electronic device based on user electricity consumption information, CN114971719A), but no relevant method has been proposed in the power retail market, and the transaction behavior and electricity consumption habits of retail power users are relatively complex, and user needs cannot be well reflected only through electricity consumption information. Summary of the invention

[0005] To solve the above technical problems, the present application provides a personalized advertising recommendation method and system for retail electricity users, which comprehensively considers three aspects: transaction preferences, electricity usage habits, and user attributes. It can more comprehensively explore user needs, realize the market value classification of retail electricity users and recommend personalized advertising functions, improve the activity of the electricity retail market, and provide an information basis for the construction of the electricity retail market.

[0006] The purpose of the present invention is achieved by at least one of the following technical solutions.

[0007] A personalized advertisement recommendation method for retail power users, comprising the following steps:

[0008] S1. Solve the latest index of the improved RFM model in the market value classification of retail electricity users R , frequency index F , currency indicators M ;

[0009] S2. Frequency index F , currency indicators M Perform minimum and maximum normalization processing, F and M Convert to a value in the interval [0,1] , , and introduce indicator weights m and f Parameters, using linear combination to construct combined indicators W , get multiple different arrays ;

[0010] S3, using GMM clustering algorithm , , W The three indicators are grouped into four categories and calculated in different m , f The variance ratio CH obtained by clustering under the parameter, select the one with the largest CH value m and f ;

[0011] S4, selected in step S3 m and f Next, the GMM clustering algorithm is used to , and W Clustering is performed to divide the market value of users into four categories: low-consumption stable type, high-consumption stable type, active participation type, and flexible exploration type;

[0012] S5. Construct multiple preliminary features through statistics and label encoding;

[0013] S6. Calculate the correlation coefficients between the multiple preliminary characteristics of the retail power user according to the Kendall coefficient correlation coefficient method, remove the low-correlation characteristics, and classify the remaining characteristics into three categories: retail power user attributes, retail power user electricity consumption behavior, and retail power user transaction preferences;

[0014] S7. Recommend corresponding advertisements based on the market value, attributes, electricity usage behavior, and transaction preferences of retail electricity users.

[0015] Furthermore, in step S1, the improved RFM model uses three core indicators to represent the market value of users. These three indicators are the latest index, R , frequency index F , currency indicators M , and they are solved as follows:

[0016] S1.1. Latestness index R It is the time since the last consumption of the user, and the latest indicator of all retail electricity users R are defined as the same arbitrary constant;

[0017] S1.2. Frequency index F It is defined as the frequency of retail electricity users changing electricity sales companies, and the calculation formula is:

[0018]

[0019] in, For the The frequency index of retail electricity users, For the The total number of times retail electricity users change electricity sales companies, For the The total number of transactions by retail electricity users; the higher the frequency of changing power sales companies, the lower the user's stickiness to the power sales company, and the higher the requirements for power sales services, cost-effectiveness, etc.

[0020] S1.3. Currency Index M It is defined as the total electricity consumption of retail electricity users, and the calculation formula is:

[0021]

[0022] in, For the A monetary indicator for retail electricity customers, For the The total electricity consumption of retail electricity users, For the Retail electricity users in The total power consumption in a power cycle, is the total electricity consumption cycle; the greater the total electricity consumption, the higher the user's consumption level.

[0023] Furthermore, in step S2, the frequency index F , currency indicators M Perform minimum and maximum normalization processing and construct the combined index in the form of linear combination W , the specific method is as follows:

[0024] S2.1. Frequency index F , currency indicators M Perform minimum and maximum normalization processing, F and M Convert to a value in the interval [0,1] , , the specific formula is as follows:

[0025]

[0026] in, and They are currency indicators M and frequency index F The minimum value in and They are currency indicators M and frequency index F The maximum value in ;

[0027] S2.2, m and f The values ​​are taken from 0 to 10 respectively, with a step size of 0.1;

[0028] S2.3. Constructing a combination index based on linear combination W , Different m and f The combination will generate different W Indicators, get multiple different arrays , No. i The data of retail electricity users is , , Respectively represent i The normalized frequency index of retail electricity users , currency indicators ; Indicates i Combined indicators for retail electricity users W .

[0029] Furthermore, in step S3, the GMM clustering algorithm is used to cluster the retail power users , and W The three indicators are grouped into four categories and calculated in different m , f The variance ratio CH obtained by clustering under the parameter, select the one with the largest CH value m and f , the specific method is as follows:

[0030] S3.1. Initialize the model parameters of GMM clustering , , , For the q The weight of each sub-model, q The value of is 1-4; For the q The mean of the sub-models, For the q The covariance of the sub-models and input X Retail electricity users in different m and f The sample data below ;

[0031] S3.2. Calculate the The posterior probability of retail electricity users generated by the Gaussian mixture model , and its calculation formula is:

[0032]

[0033] in, For the The weight of each sub-model, For sample In the q The probability density function of the Gaussian distribution in the sub-model is, For sample In the The probability density function of the Gaussian distribution in each sub-model;

[0034] S3.3. Calculate the updated model parameters:

[0035] ,

[0036] ,

[0037]

[0038] in, , , Respectively q The updated mean, covariance, and weight of each sub-model, X is the total number of retail electricity customers;

[0039] S3.4, repeat steps S3.2 and S3.3, and stop when the maximum number of iterations is reached; finally, each sample is into the corresponding clusters, Indicates iThe maximum probability of a power user in the sub-model is obtained, that is, each sample is classified into the cluster of the model with the highest probability of coming from the sub-model, and finally 4 classification results are obtained;

[0040] S3.5. Calculation Differences m、f The distance between clusters after clustering , internal distance of the class , and its calculation formula is as follows:

[0041]

[0042]

[0043] in, k is the number of categories, here it is 4; is the center of the data set, Indicates category g The number of samples included, Yes Category g The current cluster center, Indicates category g The data set in x for Data points within

[0044] S3.6. According to , Calculate the CH index, the calculation formula is as follows:

[0045]

[0046] in, X is the number of retail electricity users, is the number of categories, here it is 4, is the trace of the matrix;

[0047] S3.7, traversal is different m、f The variance ratio CH obtained by clustering is output as the maximum variance ratio. ,as well as Corresponding m , f parameter.

[0048] Further, in step S4, the m and f Next, the GMM clustering algorithm is used to , and W Clustering is performed to divide the market value of users into four categories: low-consumption stable type, high-consumption stable type, active participation type, and flexible exploration type. The specific method is as follows:

[0049] S4.1, selected in step S3 m and f Next, the GMM clustering algorithm is used to , and W Clustered into four categories; the principle of GMM clustering algorithm is shown in S3.2, S3.3, and S3.4;

[0050] S4.2. Calculate the four categories separately and The average and , the calculation formula is as follows:

[0051]

[0052] in, It is g The total number of users in a category; if If it is lower than the set value, it is recorded as low frequency, otherwise it is recorded as high frequency; if If it is lower than the set value, it is recorded as low power consumption, otherwise it is recorded as high power consumption;

[0053] S4.3 clusters to obtain four categories, which are defined as low-consumption stable type, high-consumption stable type, active participation type, and flexible exploration type. The corresponding characteristics of each category are as follows:

[0054] The low-consumption stable type is characterized by low frequency and low power consumption;

[0055] The high-consumption stable type is characterized by low frequency and high power consumption;

[0056] Active participation type is characterized by high frequency and high power consumption;

[0057] The flexible exploration type is characterized by high frequency and low power consumption.

[0058] Furthermore, in step S5, 16 preliminary features are constructed through statistics and label coding, including industry type, power supply bureau, ice storage mark, user category, electricity level, total power, daily maximum load, daily minimum load, power variance, demand response potential, fixed proportion, fixed price, day-ahead proportion, medium- and long-term proportion, spot proportion, and environmental premium proportion, as follows:

[0059] S5.1. Label coding is used for the five characteristics of industry type, ice storage mark, user category, power supply bureau, and electricity level, starting from 1 and increasing;

[0060] S5.2. The seven characteristics of total power, daily maximum load, daily minimum load, power variance, and demand response potential are calculated using statistical methods, where:

[0061] Total electricity consumption is the total electricity consumption of retail electricity users. M ;

[0062] The maximum daily load is , the minimum daily load is , For the Retail electricity users are ranked first in typical daily load h Hours of electricity consumption, h=1~24;

[0063] The power variance is , For the The average value of retail electricity customers in a typical day's load;

[0064] The demand response potential is , For the The peak load of a retail electricity customer in a typical day, For the The valley value of a retail electricity customer's typical daily load;

[0065] S5.3, use the minimum-maximum normalization method to convert the data of each feature into a value in the [0,1] interval. The principle formula is as follows:

[0066]

[0067] In the formula, L max is the maximum value of data under a feature, L min It is the minimum value of data under one feature;

[0068] S5.4 After the above processing, the characteristic matrix of all retail electricity users is obtained as follows: Y 0={ y 1, y 2,..., y X}; No. i The characteristic matrix of a retail electricity user is y i ={ L i,1 , L i,2 ,..., L i,16}, i ={1,2,..., X}, X is the total number of retail electricity users, Li,r After normalization i Retail electricity users r feature vectors, .

[0069] Further, in step S6, the correlation coefficients between the 16 preliminary characteristics of retail power users are calculated according to the Kendall coefficient method, the low-correlation characteristics are eliminated, and the remaining characteristics are classified into three categories: retail power user attributes, retail power user behaviors, and retail power user transaction preferences, specifically including:

[0070] S6.1. The Kendall coefficient method is used to calculate the correlation coefficient between each two characteristics of retail electricity users. The value range of the coefficient is [-1,1], where -1 indicates a complete negative correlation, +1 indicates a complete positive correlation, and 0 indicates no correlation. The specific calculation formula is as follows:

[0071]

[0072] in, is the Kendall coefficient, c is the number of pairs of elements that are consistent between the two features, d is the number of pairs of elements that are inconsistent between the two features; Representation characteristics A The number of parallel rankings in , Representation characteristics B The number of parallel rankings in A and B If the ranking is tied, it will not be counted , nor is it included ;

[0073] S6.2. The features with the absolute value of the correlation coefficient below 0.25 are judged as low-correlation features and eliminated to generate the total retail power user feature matrix Y 1={ y 1, y 2,..., y X},in, y i ={ L i,1 , L i,2 ,..., L i,c}, c is the number of features remaining after screening; L i,c After normalization i Retail electricity users c feature vectors;

[0074] S6.3. The remaining features are classified into three categories: retail power user attributes, retail power user behavior, and retail power user transaction preferences. Among them, retail power user attributes include industry type, power supply bureau, ice storage mark, user category, and electricity level. Retail power user electricity behavior includes total electricity, daily maximum load, daily minimum load, electricity variance, and demand response potential. Retail power user transaction preferences include fixed proportion, fixed price, day-ahead proportion, medium- and long-term proportion, spot proportion, and environmental premium proportion.

[0075] S6.4. Users whose electricity variance ranks in the top 10% are recorded as having large electricity variance, users whose demand response potential ranks in the top 10% are recorded as having large demand response potential, and users whose environmental premium ratio is not 0 are recorded as green users.

[0076] Furthermore, the definition of the element logarithm of consistency is as follows: Assume there are two features A.B , where the two pairs of features are ( A 1, B 1) and ( A 2, B 2) If , then these two pairs of features constitute a consistent element pair, otherwise they are inconsistent element pairs.

[0077] Furthermore, the definition of the number of parallel rankings is as follows: when a feature is sorted in a certain order, and multiple samples are arranged in parallel at the same sequence number, it is recorded as a parallel ranking situation, and the sum of all parallel ranking situations is the number of parallel rankings.

[0078] Furthermore, in step S7, corresponding advertisements are recommended according to the market value, attributes, electricity consumption behavior, and transaction preferences of the retail electricity users. The specific method is as follows:

[0079] S7.1. Push advertisements based on the market value of retail electricity users. The specific push rules are as follows:

[0080] If the user's market value is flexible exploration, push content related to cost optimization tools;

[0081] If the user's market value is active participation, then push content related to the credit rating of the power sales company;

[0082] If the user's market value is high-consumption stable, then push content related to the development trend of the electricity retail market;

[0083] If the user's market value is low-consumption and stable, push content related to preferential policies;

[0084] S7.2 For active participants and high-consumption stable users with high electricity consumption, more appropriate advertisements are pushed to them based on the attributes, electricity consumption behaviors, and transaction preferences of retail electricity users. The specific push methods are as follows:

[0085] If the attributes of a retail power user meet any two of the following conditions: industrial user, located in first- or second-tier cities, with ice storage mark, or dedicated transformer user, advertisements related to planned electricity use and demand response incentives will be pushed; among them, industrial user refers to a user whose industry type belongs to the industry in the National Economic Industry Classification; dedicated transformer users can be learned from user categories, which are divided into dedicated transformer users and public transformer users; located in first- or second-tier cities means that the user's affiliated power supply bureau is in first- or second-tier cities; with ice storage mark can be learned from the user's ice storage mark;

[0086] If the electricity consumption behavior of a retail electricity user meets any of the following conditions: the daily maximum load is greater than the set daily minimum load, the electricity variance is large, or the demand response potential is large, then advertisements related to smart homes, energy-saving products, and electricity time optimization tools will be pushed;

[0087] If the transaction preferences of retail electricity users are consistent with those of green users, advertisements related to green electricity packages and new energy equipment will be pushed.

[0088] A personalized advertising recommendation system for retail electricity users, comprising:

[0089] RFM model solving module: solves the latest index of the improved RFM model in the market value classification of retail power users R , frequency index F , currency indicators M ;

[0090] Indicator processing module: frequency indicator F , currency indicators M Perform minimum and maximum normalization processing, F and M Convert to a value in the interval [0,1] , , and introduce indicator weights m and f Parameters, using linear combination to construct combined indicators W , get multiple different arrays ;

[0091] The first clustering module: using GMM clustering algorithm , , W The three indicators are grouped into four categories and calculated in different m , f The variance ratio CH obtained by clustering under the parameter, select the one with the largest CH valuem and f ;

[0092] Second clustering module: The clusters selected in the first clustering module m and f Next, the GMM clustering algorithm is used to , and W Clustering is performed to divide the market value of users into four categories: low-consumption stable type, high-consumption stable type, active participation type, and flexible exploration type;

[0093] Preliminary feature statistics module: 16 preliminary features are constructed through statistics and label coding, including industry type, power supply bureau, ice storage mark, user category, electricity level, total power consumption, daily maximum load, daily minimum load, power variance, demand response potential, fixed proportion, fixed price, day-ahead proportion, medium- and long-term proportion, spot proportion, and environmental premium proportion;

[0094] Classification module: The correlation coefficients between the 16 preliminary characteristics of retail power users are calculated according to the Kendall coefficient correlation coefficient method, the low-correlation characteristics are eliminated, and the remaining characteristics are classified into three categories: retail power user attributes, retail power user electricity consumption behavior, and retail power user transaction preferences;

[0095] Advertisement recommendation module: recommends corresponding advertisements based on the market value, attributes, electricity consumption behavior, and transaction preferences of retail electricity users.

[0096] Compared with the prior art, the advantages of the present invention are:

[0097] In the electric power retail market environment, the present invention proposes a personalized advertising recommendation method and system for retail electric power users, which can realize the functions of retail electric power user classification and consumption behavior analysis, provide an information basis for improving the decision-making level of power sales companies and the operation level of trading platforms, and help guide the operation platform to provide personalized advertising services to retail electric power users. BRIEF DESCRIPTION OF THE DRAWINGS

[0098] Figure 1 A schematic diagram of the steps of a personalized advertisement recommendation method for retail power users in an embodiment;

[0099] Figure 2 It is a diagram of the improved RFM model in the embodiment;

[0100] Figure 3 A diagram showing the corresponding relationship between the market value of retail power users and the advertising content in the embodiment;

[0101] Figure 4 4 is a market value classification diagram of retail electricity users in an embodiment. DETAILED DESCRIPTION

[0102] The specific implementation of the present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0103] Example:

[0104] A personalized advertising recommendation method for retail electricity users, such as Figure 1 As shown, the following steps are included:

[0105] S1. Solve the latest index of the improved RFM model in the market value classification of retail electricity users R , frequency index F , currency indicators M ;

[0106] The improved RFM model is as follows Figure 2 As shown, three of the core indicators in this model are the latest indicators R , frequency index F , currency indicators M The purpose is to analyze user consumption behavior and value from three different dimensions. The specific calculation methods are as follows:

[0107] S1.1. Latestness index R It is the time since the last consumption of the user, and the latest indicator of all retail electricity users R are defined as the same constant;

[0108] S1.2. Frequency index F It is defined as the frequency of retail electricity users changing electricity sales companies, and the calculation formula is:

[0109]

[0110] in, For the The frequency index of retail electricity users, For the The total number of times retail electricity users change electricity sales companies, For the The total number of transactions by retail electricity users; it is generally believed that the higher the frequency of changing power sales companies, the lower the user's stickiness to the power sales company, and the higher the requirements for power sales services, cost-effectiveness, etc.

[0111] S1.3. Currency Index M It is defined as the total electricity consumption of retail electricity users, and the calculation formula is:

[0112]

[0113] in, For the A monetary indicator for retail electricity customers, For the The total electricity consumption of retail electricity users, For the Retail electricity users in The total power consumption in a power cycle, is the total electricity consumption cycle; it is generally believed that the greater the total electricity consumption, the higher the user's consumption level.

[0114] S2. Frequency index F , currency indicators M Perform minimum and maximum normalization processing, F and M Convert to a value in the interval [0,1] , , using linear combination to construct the combined index W , the specific method is as follows:

[0115] S2.1. Frequency index F , currency indicators M Perform minimum and maximum normalization processing, F and M Convert to a value in the interval [0,1] , , the specific formula is as follows:

[0116]

[0117] in, and They are currency indicators M and frequency index F The minimum value in and They are currency indicators M and frequency index F The maximum value in ;

[0118] S2.2, m and f The values ​​are taken from 0 to 10 respectively, with a step size of 0.1;

[0119] S2.3. Constructing a combination index based on linear combination W , Different m and f The combination will generate different W Indicators, get multiple different arrays , No. i The data of retail electricity users is , , Respectively represent i The normalized frequency index of retail electricity users , currency indicators ; Indicates i Combined indicators for retail electricity users W ; These different arrays will be used for cluster analysis later.

[0120] S3, using GMM clustering algorithm 、 、W The three indicators are grouped into four categories and calculated in different m , f The variance ratio CH obtained by clustering under the parameter, select the one with the largest CH value m and f , the specific method is as follows:

[0121] S3.1. Initialize the model parameters of GMM clustering , , , For the q The weight of each sub-model, For the q The mean of the sub-models, For the q The covariance of the sub-models and input X Retail electricity users in different m and f The sample data below ;

[0122] S3.2. Calculate the The posterior probability of retail electricity users generated by the Gaussian mixture model , and its calculation formula is:

[0123]

[0124] in, Representative A sub-model, For the The weight of each sub-model, For sample In the q The probability density function of a Gaussian distribution is For sample In the The probability density function of a Gaussian distribution;

[0125] S3.3. Calculate the updated model parameters:

[0126] ,

[0127] ,

[0128]

[0129] in, , , Respectively q The updated mean, covariance, and weight of each sub-model, X is the total number of retail electricity customers;

[0130] S3.4, repeat steps S3.2 and S3.3, and stop when the maximum number of iterations is reached; finally, each sample is into the corresponding clusters, Indicates i The maximum probability of a power sales company in the sub-model is obtained, that is, each sample is classified into the cluster of the model with the highest probability of coming from the sub-model, and finally 4 classification results are obtained;

[0131] S3.5. Calculation Differences m、f The distance between clusters after clustering , internal distance of the class , and its calculation formula is as follows:

[0132]

[0133]

[0134] in, k is the number of categories, here it is 4; is the center of the data set, Indicates category g The number of samples included, Yes Category g The current cluster center, Indicates category g The data set in x for Data points within

[0135] S3.6. According to , Calculate the CH index, the calculation formula is as follows:

[0136]

[0137] in, X is the number of retail electricity users, is the number of categories, here it is 4, is the trace of the matrix;

[0138] S3.7, traversal difference m、f The variance ratio CH obtained by clustering is output as the maximum variance ratio. ,as well as Corresponding m , f parameter.

[0139] S4, the one selected in step S3 m and f Next, the GMM clustering algorithm is used to , , W Clustering is performed to divide the market value of users into four categories: low-consumption stable type, high-consumption stable type, active participation type, and flexible exploration type. The specific method is as follows:

[0140] S4.1, selected in step S3 m and f Next, the GMM clustering algorithm is used to , and W Clustered into four categories; the principle of GMM clustering algorithm is shown in S3.2, S3.3, and S3.4;

[0141] S4.2. Calculate the four categories separately and The average and , the calculation formula is as follows:

[0142]

[0143] in, It is g In one embodiment, if the number of users in a category is If it is lower than 0.5, it is recorded as low frequency, otherwise it is recorded as high frequency; If it is lower than 0.5, it is recorded as low power consumption, otherwise it is recorded as high power consumption;

[0144] S4.3 clusters to obtain four categories, which are defined as low-consumption stable type, high-consumption stable type, active participation type, and flexible exploration type. The clustering results are as follows: Figure 4 The main features of each category are as follows:

[0145] The low-consumption stable type is characterized by low frequency and low power consumption;

[0146] The high-consumption stable type is characterized by low frequency and high power consumption;

[0147] Active participation type is characterized by high frequency and high power consumption;

[0148] The flexible exploration type is characterized by high frequency and low power consumption;

[0149] S5. 16 preliminary features are constructed through statistics and label coding, including industry type, power supply bureau, ice storage mark, user category, electricity level, total electricity, daily maximum load, daily minimum load, electricity variance, demand response potential, fixed proportion, fixed price, day-ahead proportion, medium- and long-term proportion, spot proportion and environmental premium proportion, as follows:

[0150] S5.1. Label coding is used for the five characteristics of industry type, ice storage mark, user category, power supply bureau, and electricity level, starting from 1 and increasing;

[0151] S5.2. The seven characteristics of total power, daily maximum load, daily minimum load, power variance, and demand response potential are calculated using statistical methods, where:

[0152] Total electricity consumption is the total electricity consumption of retail electricity users. M ;

[0153] The maximum daily load is , the minimum daily load is , For the Retail electricity users are ranked first in typical daily load h Hours of electricity consumption, h=1~24;

[0154] The power variance is , For the The average value of retail electricity customers in a typical day's load;

[0155] The demand response potential is , For the The peak load of a retail electricity customer in a typical day, For the The valley value of a retail electricity customer's typical daily load;

[0156] S5.3, use the minimum and maximum normalization method to convert the data of each feature into a value in the [0,1] interval. The principle formula is as follows:

[0157]

[0158] In the formula, L max is the maximum value of data under a feature, L min It is the minimum value of data under one feature;

[0159] S5.4 After the above processing, the characteristic matrix of all retail electricity users is obtained as follows: Y 0={ y 1, y 2,..., y X}; No. i The characteristic matrix of a retail electricity user is y i ={ L i,1 , L i,2 ,..., L i,16}, i ={1,2,..., X}, X is the total number of retail electricity users, L i,r After normalization i Retail electricity users r feature vectors, .

[0160] In one embodiment, the specific feature matrix is ​​shown in Table 1.

[0161] Table 1 Retail electricity user characteristic matrix

[0162]

[0163] S6. Calculate the correlation coefficients between the 16 preliminary characteristics of retail power users according to the Kendall coefficient correlation coefficient method, remove the low-correlation characteristics, and classify the remaining characteristics into three categories: retail power user attributes, retail power user electricity consumption behavior, and retail power user transaction preferences, including:

[0164] S6.1. The Kendall coefficient method is used to calculate the correlation coefficient between each two characteristics of retail electricity users. The value range of the coefficient is [-1,1], where -1 indicates a complete negative correlation, +1 indicates a complete positive correlation, and 0 indicates no correlation. The specific calculation formula is as follows:

[0165]

[0166] in, is the Kendall coefficient, c is the number of pairs of elements that are consistent between the two features, d is the number of pairs of elements that are inconsistent between the two features; Representation characteristics A The number of parallel rankings in , Representation characteristics BThe number of parallel rankings in A and B If the ranking is tied, it will not be counted , nor is it included ;

[0167] Furthermore, the definition of the element logarithm of consistency is as follows: Assume there are two features A.B , where the two pairs of features are ( A 1, B 1) and ( A 2, B 2) If , then these two pairs of features constitute a consistent element pair, otherwise they are inconsistent element pairs.

[0168] Furthermore, the definition of the number of parallel rankings is as follows: when a feature is sorted in a certain order, and multiple samples are arranged in parallel at the same sequence number, it is recorded as a parallel ranking situation, and the sum of all parallel ranking situations is the number of parallel rankings.

[0169] S6.2. The features with the absolute value of the correlation coefficient below 0.25 are judged as low-correlation features and eliminated to generate the total retail power user feature matrix Y 1={ y 1, y 2,..., y X},in, y i ={ L i,1 , L i,2 ,..., L i,c}, c is the number of features remaining after screening;

[0170] S6.3. The remaining features are classified into three categories: retail power user attributes, retail power user behavior, and retail power user transaction preferences. Among them, retail power user attributes include industry type, power supply bureau, ice storage mark, user category, and electricity level. Retail power user electricity behavior includes total electricity, daily maximum load, daily minimum load, electricity variance, and demand response potential. Retail power user transaction preferences include fixed proportion, fixed price, day-ahead proportion, medium- and long-term proportion, spot proportion, and environmental premium proportion.

[0171] S6.4. Users whose electricity variance ranks in the top 10% are recorded as having large electricity variance, users whose demand response potential ranks in the top 10% are recorded as having large demand response potential, and users whose environmental premium ratio is not 0 are recorded as green users.

[0172] S7. Recommend corresponding advertisements based on the market value, attributes, electricity consumption behavior, and transaction preferences of retail electricity users. The specific method is as follows:

[0173] S7.1. In one embodiment, advertisements are pushed based on the market value of retail electricity users, such as Figure 3 The specific push rules are as follows:

[0174] If the user's market value is flexible exploration, push content related to cost optimization tools;

[0175] If the user's market value is active participation, then push content related to the credit rating of the power sales company;

[0176] If the user's market value is high-consumption stable, then push content related to the development trend of the electricity retail market;

[0177] If the user's market value is low-consumption and stable, push content related to preferential policies;

[0178] The corresponding relationship between user market value and advertising content is shown in Table 2.

[0179] Table 2 Correspondence between user market value and advertising content

[0180]

[0181] S7.2 For active participants and high-consumption stable users with high electricity consumption, more appropriate advertisements are pushed to them based on the attributes, electricity consumption behaviors, and transaction preferences of retail electricity users. The specific push methods are as follows:

[0182] In one embodiment, if the user attributes meet any two of the following: industrial user, located in first-tier or second-tier cities, with ice storage mark, and dedicated transformer user, advertisements related to planned electricity consumption and demand response incentives are pushed; among them, industrial user refers to the user's industry type belonging to the industry in the "National Economic Industry Classification"; dedicated transformer user is known from the user category, and the user category is divided into dedicated transformer user and public transformer user; located in first-tier or second-tier cities means that the user's affiliated power supply bureau is in first-tier or second-tier cities; with ice storage mark is known from the user's ice storage mark;

[0183] The corresponding relationship between user attributes and advertisement content is shown in Table 3.

[0184] Table 3 Correspondence between user attributes and advertising content

[0185]

[0186] In one embodiment, if the user's electricity consumption behavior meets any one of the following conditions: the daily maximum load is greater than 1.5 times the daily minimum load, the electricity variance is large, and the demand response potential is large, then advertisements related to smart home, energy-saving products, and electricity time optimization tools are pushed;

[0187] The corresponding relationship between user electricity consumption behavior and advertising content is shown in Table 4.

[0188] Table 4 Correspondence between user electricity consumption behavior and advertising content

[0189]

[0190] In one embodiment, if the user's transaction preference is consistent with that of a green user, advertisements related to green electricity packages and new energy equipment are pushed.

[0191] The corresponding relationship between user transaction preferences and advertising content is shown in Table 5.

[0192] Table 5 Correspondence between user transaction preferences and advertising content

[0193]

[0194] In one embodiment, the user value classification is as follows: Figure 4 As shown. Among them, a retail power user in the active participation category, whose attributes meet the "industrial user; dedicated transformer user", whose electricity consumption behavior meets the "large electricity variance; large demand response potential", and whose user transaction preference meets the "green user", is recommended to push advertisements related to planned electricity consumption, demand response incentives, smart home, energy-saving products, electricity time optimization tools, green electricity packages, and new energy equipment.

[0195] The existing advertising push technology in the power field generally only refers to the user's electricity consumption information and cannot be well applied to the power retail market. For example: if a retail power user has a demand for a green power package, only referring to the electricity consumption information cannot dig out the demand related to the green power package. However, when pushing advertisements, the present invention comprehensively considers the market value, attributes, electricity consumption behavior, and transaction preferences of retail power users, and can dig out the needs of retail power users from multiple angles, making the advertising push more personalized.

[0196] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other modifications, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and should be included in the protection scope of the present invention.

Claims

1. A personalized advertising recommendation method for retail power users, characterized in that: The following steps are involved: S1. Solve the latest index of the improved RFM model in the market value classification of retail electricity users R , frequency index F , currency indicators M ; S2. Frequency index F , currency indicators M Perform minimum and maximum normalization processing, F and M Convert to a value in the interval [0,1] , , and introduce indicator weights m and f Parameters, using linear combination to construct combined indicators W , get multiple different arrays ; S3, using GMM clustering algorithm , , W The three indicators are grouped into four categories and calculated in different m , f The variance ratio CH obtained by clustering under the parameter, select the one with the largest CH value m and f ; S4, selected in step S3 m and f Next, the GMM clustering algorithm is used to , and W Clustering is performed, and the market value of retail electricity users is divided into four categories: low-consumption stable type, high-consumption stable type, active participation type, and flexible exploration type; S5. Construct multiple preliminary features through statistics and label encoding; S6. Calculate the correlation coefficients between the multiple preliminary characteristics of the retail power user according to the Kendall coefficient correlation coefficient method, remove the low-correlation characteristics, and classify the remaining characteristics into three categories: retail power user attributes, retail power user electricity consumption behavior, and retail power user transaction preferences; S7. Recommend corresponding advertisements based on the market value, attributes, electricity usage behavior, and transaction preferences of retail electricity users.

2. A personalized advertising recommendation method for retail power users according to claim 1, characterized in that: In step S1, the improved RFM model uses three core indicators to represent the market value of retail electricity users. The three indicators are the latest index, R , frequency index F , currency indicators M , the solution is as follows: S1.

1. Latestness index R It is the time since the last consumption of the user, and the latest indicator of all retail electricity users R are defined as the same arbitrary constant; S1.

2. Frequency index F It is defined as the frequency of retail electricity users changing electricity sales companies, and the calculation formula is: in, For the The frequency index of retail electricity users, For the The total number of times retail electricity users change electricity sales companies, For the The total number of transactions by retail electricity users; S1.

3. Currency Index M It is defined as the total electricity consumption of retail electricity users, and the calculation formula is: in, For the A monetary indicator for retail electricity customers, For the The total electricity consumption of retail electricity users, For the Retail electricity users in The total power consumption in a power cycle, is the total power consumption cycle.

3. A personalized advertising recommendation method for retail power users according to claim 1, characterized in that: In step S2, the frequency index F , currency indicators M Perform minimum and maximum normalization processing and construct the combined index in the form of linear combination W , the specific method is as follows: S2.

1. Frequency index F , currency indicators M Perform minimum and maximum normalization processing, F and M Convert to a value in the interval [0,1] , , the specific formula is as follows: in, and They are currency indicators M and frequency index F The minimum value in and They are currency indicators M and frequency index F The maximum value in ; S2.2, m and f The values ​​are taken from 0 to 10 respectively, with a step size of 0.1; S2.

3. Constructing a combination index based on linear combination W , Different m and f The combination will generate different W Indicators, get multiple different arrays , No. i The data of retail electricity users is , , Respectively represent i The normalized frequency index of retail electricity users , currency indicators ; Indicates i Combined indicators for retail electricity users W .

4. A personalized advertising recommendation method for retail power users according to claim 1, characterized in that: In step S3, the GMM clustering algorithm is used to cluster the retail electricity users , and W The three indicators are grouped into four categories and calculated in different m , f The variance ratio CH obtained by clustering under the parameter, select the one with the largest CH value m and f , the specific method is as follows: S3.

1. Initialize the model parameters of GMM clustering , , , For the q The weight of each sub-model, q The value of is 1-4. For the q The mean of the sub-models, For the q The covariance of the sub-models and input X Retail electricity users in different m and f The sample data below ; S3.

2. Calculate the The posterior probability of retail electricity users generated by the Gaussian mixture model , and its calculation formula is: in, For the The weight of each sub-model, For sample In the q The probability density function of the Gaussian distribution in the sub-model is For sample In the The probability density function of the Gaussian distribution in each sub-model; S3.

3. Calculate the updated model parameters: , , in, , , Respectively q The updated mean, covariance, and weight of each sub-model, X is the total number of retail electricity customers; S3.4, repeat steps S3.2 and S3.3, and stop when the maximum number of iterations is reached; finally, each sample is into the corresponding clusters, Indicates i The maximum probability of a power user in the sub-model is obtained, that is, each sample is classified into the cluster of the model with the highest probability of coming from the sub-model, and finally 4 classification results are obtained; S3.

5. Calculation Differences m、f The distance between clusters after clustering , internal distance of the class , and its calculation formula is as follows: in, k is the number of categories, here it is 4; is the center of the data set, Indicates category g The number of samples included, Yes Category g The current cluster center, Indicates category g The data set in x for Data points within S3.

6. According to , Calculate the CH index, the calculation formula is as follows: in, X is the number of retail electricity users, is the number of categories, here it is 4, is the trace of the matrix; S3.7, traversal difference m、f The variance ratio CH obtained by clustering is output as the maximum variance ratio. ,as well as Corresponding m , f parameter.

5. A personalized advertising recommendation method for retail power users according to claim 1, characterized in that: In step S4, the m and f Next, the GMM clustering algorithm is used to , and W Clustering is performed, and the market value of retail electricity users is divided into four categories: low-consumption stable type, high-consumption stable type, active participation type, and flexible exploration type. The specific method is as follows: S4.1, selected in step S3 m and f Next, the GMM clustering algorithm is used to , and W Clustered into four categories; S4.

2. Calculate the four categories separately and The average and , the calculation formula is as follows: in, It is g The total number of users in a category; if If it is lower than the set value, it is recorded as low frequency, otherwise it is recorded as high frequency; if If it is lower than the set value, it is recorded as low power consumption, otherwise it is recorded as high power consumption; S4.3 clusters the four categories into low-consumption stable type, high-consumption stable type, active participation type, and flexible exploration type. Low-consumption stable type corresponds to low frequency and low power consumption; High consumption stable type corresponds to low frequency and high power consumption; Active participation type corresponds to high frequency and high power consumption; Flexible exploration type corresponds to high frequency and low power consumption.

6. A personalized advertising recommendation method for retail power users according to claim 1, characterized in that: In step S5, 16 preliminary features are constructed through statistics and label coding, including industry type, power supply bureau, ice storage mark, user category, electricity level, total power, daily maximum load, daily minimum load, power variance, demand response potential, fixed proportion, fixed price, day-ahead proportion, medium- and long-term proportion, spot proportion, and environmental premium proportion, as follows: S5.

1. Label coding is used for the five characteristics of industry type, ice storage mark, user category, power supply bureau, and electricity level, starting from 1 and increasing; S5.

2. The seven characteristics of total power, daily maximum load, daily minimum load, power variance, and demand response potential are calculated using statistical methods, where: Total electricity consumption is the total electricity consumption of retail electricity users. M ; The maximum daily load is , the minimum daily load is , For the Retail electricity users are ranked first in typical daily load h Hours of electricity consumption, h=1~24; The power variance is , For the The average value of retail electricity customers in a typical day's load; The demand response potential is , For the The peak load of a retail electricity customer in a typical day, For the The valley value of a retail electricity customer's typical daily load; S5.3, use the minimum-maximum normalization method to convert the data of each feature into a value in the [0,1] interval. The principle formula is as follows: In the formula, L max is the maximum value of data under a feature, L min It is the minimum value of data under one feature; S5.4 After the above processing, the characteristic matrix of all retail electricity users is obtained as follows: Y 0={ y 1, y 2,..., y X }; No. i The characteristic matrix of a retail electricity user is y i ={ L i,1 , L i,2 ,..., L i,16 }, i ={1,2,..., X }, X is the total number of retail electricity users, L i,r After normalization i Retail electricity users r feature vectors, .

7. A personalized advertising recommendation method for retail power users according to claim 1, characterized in that: In step S6, the correlation coefficients between the 16 preliminary features of retail power users are calculated according to the Kendall coefficient method, the low-correlation features are eliminated, and the remaining features are classified into three categories: retail power user attributes, retail power user behaviors, and retail power user transaction preferences, including: S6.

1. The Kendall coefficient method is used to calculate the correlation coefficient between each two characteristics of retail electricity users. The value range of the coefficient is [-1,1], where -1 indicates a complete negative correlation, +1 indicates a complete positive correlation, and 0 indicates no correlation. The specific calculation formula is as follows: in, is the Kendall coefficient, c is the number of pairs of elements that are consistent between the two features, d is the number of pairs of elements that are inconsistent between the two features; Representation characteristics A The number of parallel rankings in , Representation characteristics B The number of parallel rankings in A and B If the ranking is tied, it will not be counted , nor is it included ; S6.

2. The features with the absolute value of the correlation coefficient below 0.25 are judged as low-correlation features and eliminated to generate the total retail power user feature matrix Y 1={ y 1, y 2,..., y X },in, y i ={ L i,1 , L i,2 ,..., L i,c }, c is the number of features remaining after screening; L i,c After normalization i Retail electricity users c feature vectors; S6.

3. The remaining features are classified into three categories: retail power user attributes, retail power user behavior, and retail power user transaction preferences. Among them, retail power user attributes include industry type, power supply bureau, ice storage mark, user category, and electricity level. Retail power user electricity behavior includes total electricity, daily maximum load, daily minimum load, electricity variance, and demand response potential. Retail power user transaction preferences include fixed proportion, fixed price, day-ahead proportion, medium- and long-term proportion, spot proportion, and environmental premium proportion. S6.

4. Users whose electricity variance ranks in the top 10% are recorded as having large electricity variance, users whose demand response potential ranks in the top 10% are recorded as having large demand response potential, and users whose environmental premium ratio is not 0 are recorded as green users.

8. A personalized advertising recommendation method for retail power users according to claim 7, characterized in that: The definition of the element logarithm of consistency is as follows: Assume there are two features A. B , where the two pairs of features are ( A 1, B 1) and ( A 2, B 2) If , then these two pairs of features constitute a consistent element pair, otherwise they are inconsistent element pairs; The definition of the number of tie rankings is as follows: when a feature is sorted in a certain order and multiple samples are arranged in parallel at the same sequence number, it is recorded as a tie ranking situation, and the sum of all tie ranking situations is the number of tie rankings.

9. A personalized advertising recommendation method for retail power users according to claim 1, characterized in that: In step S7, corresponding advertisements are recommended according to the market value, attributes, electricity consumption behavior, and transaction preferences of the retail electricity users. The specific method is as follows: S7.

1. Push advertisements based on the market value of retail electricity users. The specific push rules are as follows: If the market value of retail electricity users is flexible exploration type, push content related to cost optimization tools; If the market value of the retail electricity user is active participation, then push content related to the credit rating of the electricity sales company; If the market value of retail electricity users is high-consumption and stable, then push content related to the development trend of the electricity retail market; If the market value of retail electricity users is low-consumption and stable, push content related to preferential policies; S7.2 For active participants and high-consumption stable users with high electricity consumption, more appropriate advertisements are pushed to them based on the attributes, electricity consumption behaviors, and transaction preferences of retail electricity users. The specific push methods are as follows: If the attributes of a retail electricity user meet any two of the following conditions: industrial user, located in a first- or second-tier city, with ice storage mark, or dedicated transformer user, advertisements related to planned electricity consumption and demand response incentives will be pushed; If the electricity consumption behavior of a retail electricity user meets any of the following conditions: the daily maximum load is greater than the set daily minimum load, the electricity variance is large, or the demand response potential is large, then advertisements related to smart homes, energy-saving products, and electricity time optimization tools will be pushed; If the transaction preferences of retail electricity users are consistent with those of green users, advertisements related to green electricity packages and new energy equipment will be pushed.

10. A personalized advertising recommendation system for retail electricity users, characterized in that: include: RFM model solving module: solves the latest index of the improved RFM model in the market value classification of retail power users R , frequency index F , currency indicators M ; Indicator processing module: frequency indicator F , currency indicators M Perform minimum and maximum normalization processing, F and M Convert to a value in the interval [0,1] , , and introduce indicator weights m and f Parameters, using linear combination to construct combined indicators W , get multiple different arrays ; The first clustering module: using GMM clustering algorithm , , W The three indicators are grouped into four categories and calculated in different m , f The variance ratio CH obtained by clustering under the parameter, select the one with the largest CH value m and f ; Second clustering module: The clusters selected in the first clustering module m and f Next, the GMM clustering algorithm is used to , and W Clustering is performed, and the market value of retail electricity users is divided into four categories: low-consumption stable type, high-consumption stable type, active participation type, and flexible exploration type; Preliminary feature statistics module: 16 preliminary features are constructed through statistics and label coding, including industry type, power supply bureau, ice storage mark, user category, electricity level, total power consumption, daily maximum load, daily minimum load, power variance, demand response potential, fixed proportion, fixed price, day-ahead proportion, medium- and long-term proportion, spot proportion, and environmental premium proportion; Classification module: The correlation coefficients between the 16 preliminary characteristics of retail power users are calculated according to the Kendall coefficient correlation coefficient method, the low-correlation characteristics are eliminated, and the remaining characteristics are classified into three categories: retail power user attributes, retail power user electricity consumption behavior, and retail power user transaction preferences; Advertisement recommendation module: recommends corresponding advertisements based on the market value, attributes, electricity consumption behavior, and transaction preferences of retail electricity users.