A data processing method and system for power grid business hall
By collecting and analyzing user power consumption historical data, using user demand analysis models and service level matching, the problem of low efficiency and lack of accuracy of traditional data processing methods is solved, and accurate power consumption prediction and personalized services are realized in the power grid business hall. Improved the operational efficiency and service quality of the power industry.
Patent Information
- Application Number
- CN202410613307.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-05-17
AI Technical Summary
Traditional power grid business hall data processing methods have problems such as data dispersion, low quality and low processing efficiency, which leads to difficulties and deficiencies in customer service in data applications.
A data processing method for power grid business halls is adopted, including collecting historical data of users' power consumption, using a preset user demand analysis model to predict power demand, matching users with service levels, and performing power dispatching and user maintenance based on the predicted demand. By identifying and correcting abnormal data, making forecasts using autoregressive and moving average models, calculating average annual growth rates and credit ratings, matching service levels and developing personalized maintenance strategies.
It improves the accuracy of data analysis, conducts power dispatching and resource allocation in advance, provides differentiated services, improves operational efficiency and service levels, and promotes the digital and intelligent development of the power industry.
Smart Images

Figure CN118195677B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power grid business hall data management, and in particular to a data processing method and system for a power grid business hall. Background Art
[0002] With the continuous development of the power industry and the intensification of market competition, power grid business halls are facing more and more challenges, including diversified customer needs, higher service quality requirements, and increased operating cost pressure. Therefore, how to improve the operating efficiency and service quality of power grid business halls through effective data processing methods and systems has become an important research topic in the current field of power grid business hall management technology. The importance of using power grid business hall data to maintain customers is self-evident. In the modern power service system, power grid business halls, as an important window for direct contact with customers, have accumulated a large amount of valuable data on customer electricity consumption behavior, service needs, consumption preferences, etc. These data not only record the customer's historical transaction information, but also contain the customer's future potential needs and value.
[0003] By deeply analyzing these data, the power grid business hall can more accurately understand customers' electricity usage habits and demand changes, and thus provide customers with more personalized and customized services. For example, according to the customer's electricity consumption and electricity usage time, a more suitable electricity package or energy-saving plan can be recommended; according to the customer's service evaluation, service shortcomings can be discovered in time and improved to improve customer satisfaction.
[0004] Traditional data processing methods in power grid business halls often have some problems, such as data dispersion, low data quality, low data processing efficiency, etc. These problems lead to certain difficulties and deficiencies in the application of data in power grid business halls in customer service. Summary of the invention
[0005] 1. Purpose of the invention
[0006] The object of the present invention is to provide a data processing method and system for a power grid business hall, which can expand the application of business hall data and improve the accuracy of business hall data analysis.
[0007] (II) Technical solution
[0008] In order to solve the above problems, the present invention provides a data processing method for a power grid business hall, comprising:
[0009] Collect users' electricity consumption history data;
[0010] According to the user's electricity consumption history data, using a preset user demand analysis model, predicting the user's electricity demand;
[0011] According to the user's electricity consumption history data, using the preset service level, matching the user with the service level to obtain the service level corresponding to the user;
[0012] The power grid business office conducts power dispatching based on the predicted power demand of users;
[0013] Maintenance is performed on users in the power grid business hall based on the predicted user electricity demand and the user's corresponding service level.
[0014] In another aspect of the present invention, preferably, the user demand analysis model includes a first user demand analysis sub-model and a second user demand analysis sub-model; and predicting the user's electricity demand based on the user's electricity consumption history data using a preset user demand analysis model includes:
[0015] Identifying abnormal data in the user's electricity usage history data, wherein the identified user's electricity usage history data includes user electricity usage information;
[0016] Using the first user demand analysis sub-model to correct the abnormal data, and obtain corrected user electricity consumption history data;
[0017] The user's electricity demand is predicted based on the corrected user's electricity consumption history data using the second user demand analysis sub-model.
[0018] In another aspect of the present invention, preferably, according to the user electricity consumption history data, the abnormal data is corrected using the first user demand analysis sub-model to obtain the corrected user electricity consumption history data, which includes:
[0019] Obtain the date of the abnormal data, which is the day to be predicted;
[0020] Get similar days to the day to be predicted in the historical sequence;
[0021] The abnormal data is corrected using the electricity consumption of the similar day.
[0022] In another aspect of the present invention, preferably, the method for obtaining similar days comprises:
[0023] ;
[0024] Among them, g i,j It represents the regularized path distance between the historical sequence node i and the node j containing the test day sequence. The similarity day of the node j of the test day sequence is d i,jis the Euclidean distance between the historical sequence node i and the node j containing the day sequence to be tested. The historical sequence is represented as 1, 2, …, i, …, I; the day sequence to be tested is represented as 1, 2, …, j, …, J; (i-1, j), (i-1, j-1), (i, j-1) represent the three paths to (i, j).
[0025] In another aspect of the present invention, preferably, the second user demand analysis sub-model includes predicting using the following formula:
[0026] ;
[0027] Among them, y t represents the electricity demand in period t, u is a constant term, p is the order of the autoregressive model, q is the order of the moving average model, represents the correlation coefficient of the autoregressive model, represents the correlation coefficient of the moving average model, y t-r represents the power consumption of cycle tr, represents the error term of period t, Represents the error term of period tr.
[0028] In another aspect of the present invention, preferably, matching the user with the service level according to the user's electricity usage history data and using a preset service level to obtain the service level corresponding to the user includes:
[0029] According to the user's electricity consumption history data, identifying the user's electricity consumption type, the electricity consumption type includes residential electricity consumption, commercial electricity consumption, industrial electricity consumption, agricultural electricity consumption and public utility electricity consumption;
[0030] According to the user's electricity consumption history data, the annual average growth rate of the user's corresponding electricity consumption is calculated,
[0031] Matching users with service levels according to the electricity usage type and the annual average growth rate of electricity usage corresponding to the user;
[0032] The service levels for each electricity usage type include: high growth users, medium growth users, low growth users and negative growth users.
[0033] In another aspect of the present invention, preferably, the calculating the annual average growth rate of the electricity consumption corresponding to the user according to the user's electricity consumption history data comprises calculating using the following formula:
[0034] ;
[0035] in, represents the average annual growth rate of electricity consumption corresponding to the user, N represents the total number of years, and Wn+1 represents the electricity consumption in the n+1th year, W n Represents the electricity consumption in year n.
[0036] In another aspect of the present invention, preferably, the maintenance of users of the power grid business hall further includes:
[0037] For users whose electricity consumption types are commercial electricity consumption, industrial electricity consumption, agricultural electricity consumption and public utility electricity consumption, the corresponding user electricity consumption history data is used to analyze the user credit and obtain the user credit;
[0038] The user is maintained according to the user's credit.
[0039] In another aspect of the present invention, preferably, obtaining the user credit includes calculating using the following formula:
[0040] ;
[0041] Among them, z1 represents payment history, 1 represents perfect payment history, 0 represents the worst, k1 is the weight of payment history, z2 represents debt history, 1 represents no debt, 0 represents extremely heavy debt burden, k2 is the weight of debt history, z3 represents the length of credit history, 1 represents credit history exceeding the preset value, 0 represents no credit history, k3 is the weight of credit history, k1+k2+k3=1.
[0042] In another aspect of the present invention, preferably, a data processing system of a power grid business hall comprises:
[0043] Collection module: collects users' electricity consumption history data;
[0044] Prediction module: predicting the user's electricity demand based on the user's electricity consumption history data and using a preset user demand analysis model;
[0045] Matching module: according to the user's electricity consumption history data, using the preset service level, matching the user with the service level, and obtaining the service level corresponding to the user;
[0046] Dispatching module: The power grid business office dispatches electricity based on the predicted user electricity demand;
[0047] Maintenance module: Perform maintenance on users in the power grid business hall based on the predicted user electricity demand and the user's corresponding service level.
[0048] (III) Beneficial effects
[0049] The above technical solution of the present invention has the following beneficial technical effects:
[0050] The present invention utilizes the historical electricity consumption data of business hall users and a preset user demand analysis model. By mining and analyzing the historical electricity consumption data of users, it can predict the future electricity demand of users, which helps the power grid business hall to carry out power dispatch and resource allocation in advance to meet the electricity demand of users. By matching users with service levels, differentiated services can be provided to users of different levels, improving the pertinence and efficiency of services. In combination with the predicted user electricity demand and the user's service level, the power grid business hall can formulate personalized user maintenance strategies. Expanding the application of business hall data has expanded the promotion of digital transformation and intelligent development of the power industry, improved the accuracy of business hall data analysis, and improved the overall operational efficiency and service level of the power industry. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 An overall flow chart of an embodiment of the present invention. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, the description of well-known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention.
[0053] Obviously, the described embodiments are only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0054] In the description of the present invention, it should be noted that the terms “first”, “second” and “third” are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0055] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0056] The present invention will be described in more detail below with reference to the accompanying drawings. In each of the accompanying drawings, the same elements are represented by similar reference numerals. For the sake of clarity, the various parts in the accompanying drawings are not drawn to scale.
[0057] Embodiment 1
[0058] A data processing method for a power grid business hall, Figure 1 FIG. 1 shows an overall flow chart of an embodiment of the present invention, as shown in FIG. Figure 1 As shown, including:
[0059] Collecting historical electricity usage data of users; the specific content of historical electricity usage data of users is not limited here, and optional data may include basic information of users, such as address, contact information, electricity usage information, payment information, information on participation in marketing activities, etc.;
[0060] According to the user's electricity consumption history data, using a preset user demand analysis model, predicting the user's electricity consumption demand; the specific content of the preset user demand analysis model is not limited here. Optionally, in this embodiment, according to the user's electricity consumption history data, using a preset user demand analysis model, predicting the user's electricity consumption demand includes:
[0061] The user demand analysis model includes a first user demand analysis sub-model and a second user demand analysis sub-model;
[0062] Identify abnormal data in the user's electricity consumption history data, the identified user's electricity consumption history data includes user electricity consumption information; in the collected user's electricity consumption history data, there may be abnormal data caused by equipment failure, data transmission error, etc. If these abnormal data are not processed, they will interfere with the subsequent electricity demand forecast; the specific method of identification may include simple statistical analysis: descriptive statistics of user electricity consumption information, such as calculating the maximum value, minimum value, average value, etc. Based on business considerations, determine which data is unreasonable. For example, if the user's electricity consumption far exceeds the normal household electricity consumption, it may be considered abnormal. Three standard deviation method (3-Sigma principle): If the data follows a normal distribution, then the outlier is defined as a value that deviates from the mean by more than 3 standard deviations. Under the assumption of normal distribution, the probability of such a deviation is very small, so it is considered abnormal. The box plot can display the minimum, maximum, median, first quartile (Q1) and third quartile (Q3) of the data set. Any data point beyond 1.5 times the interquartile range (IQR, i.e. Q3-Q1) is considered an outlier, etc.;
[0063] According to the user's electricity consumption history data, the abnormal data is corrected by using the first user demand analysis sub-model to obtain the corrected user's electricity consumption history data; the first user demand analysis sub-model can use machine learning, statistical analysis and other methods to correct or eliminate the identified abnormal data to ensure the accuracy and reliability of the user's electricity consumption history data;
[0064] Optionally, in this embodiment, based on the user's electricity consumption history data, the abnormal data is corrected using the first user demand analysis sub-model to obtain the corrected user electricity consumption history data, including: obtaining the date on which the abnormal data is located, the date being the day to be predicted; obtaining a similar day to the day to be predicted in the historical sequence; and correcting the abnormal data using the electricity consumption on the similar day. By using the electricity consumption data on similar days in the historical sequence to correct the abnormal data, the inaccuracy of the data caused by equipment failure, data transmission errors or other reasons can be greatly reduced. The electricity consumption data on similar days can often reflect similar electricity consumption patterns and trends, and therefore is an ideal choice for correcting abnormal data. Accurate data is the basis for effective prediction. By correcting the abnormal data, it can be ensured that the data set used for prediction is more reliable, thereby improving the accuracy of predicting user electricity demand. Further, in this embodiment, the method for obtaining similar days includes:
[0065] ;
[0066] Among them, g i,j It represents the regularized path distance between the historical sequence node i and the node j containing the test day sequence. The similarity day of the node j of the test day sequence is d i,j is the Euclidean distance between the historical sequence node i and the node j containing the day sequence to be tested. The historical sequence is represented by 1,2,…,i,…,I; the day sequence containing the day to be tested is represented by 1,2,…,j,…,J; (i-1,j), (i-1,j-1), (i,j-1) represent the three paths to (i,j). The acquisition of similar days is more accurate, which is conducive to the correction of abnormal data;
[0067] According to the corrected user electricity consumption history data, the user electricity consumption demand is predicted using the second user demand analysis sub-model. Further, the second user demand analysis sub-model includes predicting using the following formula:
[0068] ;
[0069] Among them, y t represents the electricity demand in period t, u is a constant term, p is the order of the autoregressive model, q is the order of the moving average model, represents the correlation coefficient of the autoregressive model, represents the correlation coefficient of the moving average model, y t-r represents the power consumption of cycle tr, represents the error term of period t, Represents the error term of the period tr, and the prediction model has a certain degree of stability.
[0070] According to the user's electricity consumption history data, using the preset service level, matching the user with the service level to obtain the service level corresponding to the user;
[0071] According to the user's electricity consumption history data, identifying the user's electricity consumption type, the electricity consumption type includes residential electricity consumption, commercial electricity consumption, industrial electricity consumption, agricultural electricity consumption and public utility electricity consumption;
[0072] According to the user's electricity consumption history data, the annual average growth rate of the electricity consumption corresponding to the user is calculated. According to the user's electricity consumption history data, the annual average growth rate of the electricity consumption corresponding to the user is calculated by using the following formula:
[0073] ;
[0074] in, represents the average annual growth rate of electricity consumption corresponding to the user, N represents the total number of years, and W n+1 represents the electricity consumption in the n+1th year, W n represents the electricity consumption in year n;
[0075] Matching users with service levels according to the electricity usage type and the annual average growth rate of electricity usage corresponding to the user;
[0076] The service levels for each electricity usage type include: high growth users, medium growth users, low growth users and negative growth users.
[0077] The power grid business office conducts power dispatching based on the predicted power demand of users;
[0078] Maintenance is performed on users in the power grid business hall based on the predicted user electricity demand and the user's corresponding service level.
[0079] Furthermore, the maintenance of users of the power grid business hall also includes:
[0080] For users whose electricity consumption types are commercial electricity consumption, industrial electricity consumption, agricultural electricity consumption and public utility electricity consumption, the corresponding user electricity consumption history data is used to analyze the user credit and obtain the user credit; the user electricity consumption history data here includes payment information, debt information, etc.;
[0081] Maintaining the user according to the user's credit;
[0082] The obtaining of user credit includes calculating using the following formula:
[0083] ;
[0084] Among them, z1 represents payment history, 1 represents perfect payment history, 0 represents the worst, k1 is the weight of payment history, z2 represents debt history, 1 represents no debt, 0 represents extremely heavy debt burden, k2 is the weight of debt history, z3 represents the length of credit history, 1 represents credit history exceeding the preset value, 0 represents no credit history, k3 is the weight of credit history, k1+k2+k3=1.
[0085] The present invention utilizes the historical electricity consumption data of business hall users and a preset user demand analysis model. By mining and analyzing the historical electricity consumption data of users, it can predict the future electricity demand of users, which helps the power grid business hall to carry out power dispatch and resource allocation in advance to meet the electricity demand of users. By matching users with service levels, differentiated services can be provided to users of different levels, improving the pertinence and efficiency of services. In combination with the predicted user electricity demand and the user's service level, the power grid business hall can formulate personalized user maintenance strategies. Expanding the application of business hall data has expanded the promotion of digital transformation and intelligent development of the power industry, improved the accuracy of business hall data analysis, and improved the overall operational efficiency and service level of the power industry.
[0086] Embodiment 2
[0087] A data processing system for a power grid business hall, comprising:
[0088] Collection module: collects users' electricity consumption history data;
[0089] Prediction module: predicting the user's electricity demand based on the user's electricity consumption history data and using a preset user demand analysis model;
[0090] Matching module: according to the user's electricity consumption history data, using the preset service level, matching the user with the service level, and obtaining the service level corresponding to the user;
[0091] Dispatching module: The power grid business office dispatches electricity based on the predicted user electricity demand;
[0092] Maintenance module: Perform maintenance on users in the power grid business hall based on the predicted user electricity demand and the user's corresponding service level.
[0093] It should be understood that the above specific embodiments of the present invention are only used to illustrate or explain the principles of the present invention, and do not constitute a limitation of the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. In addition, the appended claims of the present invention are intended to cover all changes and modifications that fall within the scope and boundaries of the appended claims, or the equivalent forms of such scope and boundaries.
[0094] The present invention has been described above with reference to the embodiments of the present invention. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present invention. The scope of the present invention is defined by the appended claims and their equivalents. Without departing from the scope of the present invention, a person skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present invention.
[0095] Although the embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
[0096] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the invention.
Claims
1. A data processing method for a power grid business hall, characterized in that: include: Collect user electricity consumption history data, including basic user information: address, contact information, payment information and information on participation in marketing activities; According to the electricity consumption history data, using a preset user demand analysis model, predicting the user's electricity demand; According to the user's electricity consumption history data, using the preset service level, matching the user with the service level to obtain the service level corresponding to the user; The power grid business office dispatches electricity based on the predicted user electricity demand; Perform maintenance on users in the power grid business hall based on the predicted user electricity demand and the corresponding service level of the user; Wherein, matching the user with the service level according to the user's electricity consumption history data and using the preset service level to obtain the service level corresponding to the user includes: According to the user's electricity consumption history data, identifying the user's electricity consumption type, the electricity consumption type includes residential electricity consumption, commercial electricity consumption, industrial electricity consumption, agricultural electricity consumption and public utility electricity consumption; According to the user's electricity consumption history data, the annual average growth rate of the user's corresponding electricity consumption is calculated, Matching users with service levels according to the electricity usage type and the annual average growth rate of electricity usage corresponding to the user; The service levels for each electricity user type include: high growth users, medium growth users, low growth users and negative growth users; Calculating the annual average growth rate of the electricity consumption corresponding to the user according to the user's electricity consumption history data includes calculating using the following formula: Among them, ω represents the average annual growth rate of electricity consumption corresponding to the user, N represents the total number of years, and W n+1 represents the electricity consumption in the n+1th year, W n represents the electricity consumption in year n; The maintenance of users in the power grid business hall also includes: For users whose electricity consumption types are commercial electricity consumption, industrial electricity consumption, agricultural electricity consumption and public utility electricity consumption, the corresponding user electricity consumption history data is used to analyze the user credit and obtain the user credit; Maintaining the user according to the user's credit; The obtaining of user credit includes calculating using the following formula: Z = k1·z1+k2·z2+k3·z3; Wherein, z1 represents payment history, 1 represents perfect payment history, 0 represents the worst, k1 represents the weight of payment history, z2 represents debt history, 1 represents no debt, 0 represents extremely heavy debt burden, k2 represents the weight of debt history, z3 represents the length of credit history, 1 represents credit history exceeding the preset value, 0 represents no credit history, k3 represents the weight of credit history, k1+k2+k3=1; The user demand analysis model includes a first user demand analysis sub-model and a second user demand analysis sub-model; the predicting of the user's electricity demand based on the user's electricity consumption history data and using a preset user demand analysis model includes: Identifying abnormal data in the user's electricity usage history data, wherein the identified user's electricity usage history data includes user electricity usage information; Using the first user demand analysis sub-model to correct the abnormal data, and obtain corrected user electricity consumption history data; According to the corrected historical electricity consumption data of the user, using the second user demand analysis sub-model, predicting the electricity consumption demand of the user; Identifying abnormal data in the user's electricity consumption history data includes using the triple standard deviation method to identify data points that deviate from the mean value by more than 3 standard deviations as abnormal data, and / or using a box plot to identify data that exceeds 1.5 times the interquartile range as abnormal data; According to the user power consumption history data, the abnormal data is corrected by using the first user demand analysis sub-model to obtain the corrected user power consumption history data, which includes: Obtain the date of the abnormal data, which is the day to be predicted; Get similar days to the day to be predicted in the historical sequence; Correcting the abnormal data using the power consumption of the similar day; The method for obtaining the similar day includes: g i,j =d i,j +min{g i-1,j ,g i,j-1 ,g i-1,j-1 }; Among them, g i,j represents the regularized path distance between the historical sequence node i and the node j containing the test day sequence. The similarity day of the node j of the test day sequence is d i,j is the Euclidean distance between the historical sequence node i and the node j containing the day sequence to be tested. The historical sequence is represented by 1, 2, …, i, …, I; the day sequence containing the day sequence to be tested is represented by 1, 2, …, j, …, J; (i-1, j), (i-1,j-1), (i,j-1) represent the three paths to (i,j).
2. The data processing method of the power grid business hall according to claim 1, characterized in that: The second user demand analysis sub-model includes using the following formula for prediction: Among them, y t represents the electricity demand in period t, u is a constant term, p is the order of the autoregressive model, q is the order of the moving average model, γ r represents the correlation coefficient of the autoregressive model, θ r represents the correlation coefficient of the moving average model, y t-r represents the power consumption in period tr, ε t represents the error term of period t, ε t-r Represents the error term of period tr.
3. A data processing system for a power grid business hall, characterized in that: include: Collection module: collects user electricity consumption history data, including user basic information: address, contact information, payment information and information on participation in marketing activities; Prediction module: predicting the user's electricity demand based on the user's electricity consumption history data and using a preset user demand analysis model; Matching module: according to the user's electricity consumption history data, using the preset service level, matching the user with the service level, and obtaining the service level corresponding to the user; Dispatching module: The power grid business office dispatches electricity based on the predicted user electricity demand; Maintenance module: performs maintenance on users in the power grid business hall based on the predicted user electricity demand and the corresponding service level of the user; Wherein, matching the user with the service level according to the user's electricity consumption history data and using the preset service level to obtain the service level corresponding to the user includes: According to the user's electricity consumption history data, identifying the user's electricity consumption type, the electricity consumption type includes residential electricity consumption, commercial electricity consumption, industrial electricity consumption, agricultural electricity consumption and public utility electricity consumption; According to the user's electricity consumption history data, the annual average growth rate of the user's corresponding electricity consumption is calculated, Matching users with service levels according to the electricity usage type and the annual average growth rate of electricity usage corresponding to the user; The service levels for each electricity user type include: high growth users, medium growth users, low growth users and negative growth users; Calculating the annual average growth rate of the electricity consumption corresponding to the user according to the user's electricity consumption history data includes calculating using the following formula: Among them, ω represents the average annual growth rate of electricity consumption corresponding to the user, N represents the total number of years, and W n+1 represents the electricity consumption in the n+1th year, W n represents the electricity consumption in year n; The maintenance of users in the power grid business hall also includes: For users whose electricity consumption types are commercial electricity consumption, industrial electricity consumption, agricultural electricity consumption and public utility electricity consumption, the corresponding user electricity consumption history data is used to analyze the user credit and obtain the user credit; Maintaining the user according to the user's credit; The obtaining of user credit includes calculating using the following formula: Z = k1·z1+k2·z2+k3·z3; Wherein, z1 represents payment history, 1 represents perfect payment history, 0 represents the worst, k1 represents the weight of payment history, z2 represents debt history, 1 represents no debt, 0 represents extremely heavy debt burden, k2 represents the weight of debt history, z3 represents the length of credit history, 1 represents credit history exceeding the preset value, 0 represents no credit history, k3 represents the weight of credit history, k1+k2+k3=1; The user demand analysis model includes a first user demand analysis sub-model and a second user demand analysis sub-model; the predicting of the user's electricity demand based on the user's electricity consumption history data and using a preset user demand analysis model includes: Identifying abnormal data in the user's electricity usage history data, wherein the identified user's electricity usage history data includes user electricity usage information; Using the first user demand analysis sub-model to correct the abnormal data, and obtain corrected user electricity consumption history data; According to the corrected historical electricity consumption data of the user, using the second user demand analysis sub-model, predicting the electricity consumption demand of the user; Identifying abnormal data in the user's electricity consumption history data includes using the triple standard deviation method to identify data points that deviate from the mean value by more than 3 standard deviations as abnormal data, and / or using a box plot to identify data that exceeds 1.5 times the interquartile range as abnormal data; According to the user power consumption history data, the abnormal data is corrected by using the first user demand analysis sub-model to obtain the corrected user power consumption history data, which includes: Obtain the date of the abnormal data, which is the day to be predicted; Get similar days to the day to be predicted in the historical sequence; Correcting the abnormal data using the power consumption of the similar day; The method for obtaining the similar day includes: g i,j =d i,j +min{g i-1,j ,g i,j-1 ,g i-1,j-1 }; Among them, g i,j represents the regularized path distance between the historical sequence node i and the node j containing the test day sequence. The similarity day of the node j of the test day sequence is d i,j is the Euclidean distance between the historical sequence node i and the node j containing the day sequence to be tested. The historical sequence is represented by 1, 2, …, i, …, I; the day sequence containing the day sequence to be tested is represented by 1, 2, …, j, …, J; (i-1, j), (i-1,j-1), (i,j-1) represent the three paths to (i,j).
