Electricity user classification method, system, terminal and storage medium

By dividing power consumption levels for power users and clustering peak periods of electricity consumption, the problem of oversimplification and low efficiency of power users in the existing technology is solved, and the refined classification of power users and the accuracy of clustering models is achieved. Improved degree and efficiency.

CN115293240BActive Publication Date: 2024-12-06STATE GRID SHANDONG ELECTRIC POWER CO BINZHOU CITY BINCHENG DISTRICT POWER SUPPLY CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210809807.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-11
Publication Date
2024-12-06
Estimated Expiration
2042-07-11

AI Technical Summary

Technical Problem

The existing power user classification method is too simplified and has low efficiency, so it is impossible to effectively distinguish different power users, resulting in little contribution to power supply control.

Method used

By collecting user information, allocating memory blocks, dividing power consumption levels based on preset level thresholds and power consumption monitoring information, and clustering peak electricity consumption periods using clustering models to achieve refined division of users.

Benefits of technology

The refined division of power users is achieved, the accuracy and efficiency of the clustering model are improved, and the refined distinction can be made from the two dimensions of electricity consumption and electricity consumption period.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115293240B_ABST
    Figure CN115293240B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of power supply technology, and specifically provides a method, system, terminal and storage medium for classifying power users, including: collecting all user information and allocating storage blocks to users according to the user information, wherein the storage blocks are used to store user power consumption monitoring information; dividing users into multiple power consumption levels according to power consumption size according to preset level thresholds and user power consumption monitoring information; normalizing the user power consumption monitoring information corresponding to the user information, and obtaining the peak power consumption period using the normalized array obtained by the normalization process; and clustering the peak power consumption periods corresponding to all user information under different power consumption levels using a clustering model to obtain user categories. The present invention can realize the refined division of power users, and improves the accuracy and efficiency of the clustering model through batch division.
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 supply, and in particular to a method, system, terminal and storage medium for classifying power users. Background Art

[0002] Classifying power users within the management area is an important data support for power supply management and dispatching. The existing power user classification is usually simply clustered according to power consumption or power consumption. Due to the huge amount of power user data, the clustering model is relatively rough in user classification and the clustering efficiency is slow. The existing power user classification method cannot effectively distinguish different power users, resulting in little contribution of power user classification to power supply control. Summary of the invention

[0003] In view of the problem that the existing classification is overly simplified and inefficient, the present invention provides a method, system, terminal and storage medium for classifying power users to solve the above technical problems.

[0004] In a first aspect, the present invention provides a method for classifying power users, comprising:

[0005] Collect all user information and allocate storage blocks to users according to the user information, wherein the storage blocks are used to store user power consumption monitoring information;

[0006] According to the preset level threshold and user power consumption monitoring information, users are divided into multiple power consumption levels according to their power consumption;

[0007] Normalizing the user power consumption monitoring information corresponding to the user information, and obtaining the peak power consumption period using the normalized array obtained by the normalization process;

[0008] The clustering model is used to cluster the peak power consumption periods corresponding to all user information under different power consumption levels to obtain user categories.

[0009] Furthermore, all user information is collected and storage blocks are allocated to users according to the user information, and the storage blocks are used to store user power consumption monitoring information, including:

[0010] Collect all user information, including user address;

[0011] Divide the dispatching area according to the regional dispatching management requirements, and allocate the user information whose user addresses belong to the same dispatching area to the same storage block;

[0012] The user power consumption monitoring information corresponding to the user information is saved in a storage block corresponding to the user information, and the storage block belongs to a distributed storage system.

[0013] Furthermore, the user power consumption monitoring information corresponding to the user information is normalized, and the peak power consumption period is obtained using the normalized array obtained by the normalization process, including:

[0014] Normalizing the user power consumption monitoring information corresponding to the user information, wherein the user power consumption monitoring information includes the average power consumption per hour per day;

[0015] Calculate the difference between adjacent digits in the normalized array to obtain a difference array, and calculate the average difference based on the difference array;

[0016] A target difference greater than the average difference is selected from the difference array, and a target digital digit corresponding to the target difference in the normalized array is obtained, and the time period to which the target digital digit belongs is output as the peak power consumption time period.

[0017] Furthermore, the clustering model is used to cluster the peak power consumption periods corresponding to all user information under different power consumption levels to obtain user categories, including:

[0018] Collect the peak power consumption period of all user information under the target power consumption level, and use the peak power consumption period of all user information under the target power consumption level as the data set to be processed;

[0019] The data set to be processed is input into the clustering model, and the user information under the target power consumption level is divided into multiple time period categories according to the similarity of the peak power consumption period;

[0020] Switch the target power consumption level until all power consumption levels are traversed;

[0021] The power consumption level and time period category to which the user information belongs are output as the user category.

[0022] In a second aspect, the present invention provides a power user classification system, comprising:

[0023] A storage allocation unit, used to collect all user information and allocate storage blocks to users according to the user information, wherein the storage blocks are used to store user power consumption monitoring information;

[0024] A level classification unit is used to classify users into multiple power consumption levels according to their power consumption size based on a preset level threshold and user power consumption monitoring information;

[0025] The time period extraction unit is used to normalize the user power consumption monitoring information corresponding to the user information, and obtain the peak power consumption time period using the normalized array obtained by the normalization process;

[0026] The classification unit is used to cluster the peak power consumption periods corresponding to all user information under different power consumption levels by using a clustering model to obtain user categories.

[0027] Further, the storage allocation unit includes:

[0028] An information collection module, used to collect all user information, including user addresses;

[0029] A user allocation module is used to divide the scheduling area according to the regional scheduling management requirements, and allocate user information whose user addresses belong to the same scheduling area to the same storage block;

[0030] The information saving module is used to save the user power consumption monitoring information corresponding to the user information to the storage block corresponding to the user information, and the storage block belongs to the distributed storage system.

[0031] Furthermore, the time period extraction unit includes:

[0032] An information processing module, used for normalizing the user power consumption monitoring information corresponding to the user information, wherein the user power consumption monitoring information includes the average power consumption per hour per day;

[0033] A difference calculation module is used to calculate the difference between adjacent digits in the normalized array to obtain a difference array, and calculate the average difference based on the difference array;

[0034] The time period extraction module is used to filter out the target difference greater than the average difference from the difference array, obtain the target digital position corresponding to the target difference in the normalized array, and output the time period to which the target digital position belongs as the peak power consumption period.

[0035] Furthermore, the category classification unit includes:

[0036] A time period collection module is used to collect the peak power consumption period of all user information under the target power consumption level, and use the peak power consumption period of all user information under the target power consumption level as a data set to be processed;

[0037] The clustering module is used to input the data set to be processed into the clustering model, and divide the user information under the target power consumption level into multiple time period categories according to the similarity of the peak power consumption period;

[0038] A target switching module, used to switch the target power consumption level until all power consumption levels are traversed;

[0039] The category output module is used to output the power consumption level and time period category to which the user information belongs as the user category.

[0040] In a third aspect, a terminal is provided, including:

[0041] processor, memory, wherein:

[0042] The memory is used to store computer programs.

[0043] The processor is used to call and run the computer program from the memory, so that the terminal executes the above-mentioned terminal method.

[0044] According to a fourth aspect, a computer storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer executes the methods described in the above aspects.

[0045] The beneficial effect of the present invention is that the power user classification method, system, terminal and storage medium provided by the present invention achieve a rough classification of users by pre-classifying the power consumption levels of users, and then finely classify the power consumption time periods of users of the same level, thereby achieving a refined classification of users from two dimensions: power consumption and power consumption time periods. The present invention can achieve a refined classification of power users, and improves the accuracy and efficiency of the clustering model through batch classification.

[0046] In addition, the invention has a reliable design principle, a simple structure and a very broad application prospect. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0048] Figure 1 is a schematic flow chart of a method according to an embodiment of the present invention.

[0049] Figure 2 is a schematic block diagram of a system according to an embodiment of the present invention.

[0050] Figure 3 A schematic diagram of the structure of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0051] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0052] Figure 1is a schematic flow chart of a method according to an embodiment of the present invention. Figure 1 The executing entity may be a power user classification system.

[0053] like Figure 1 As shown, the method includes:

[0054] Step 110, collecting all user information and allocating storage blocks to users according to the user information, wherein the storage blocks are used to store user power consumption monitoring information;

[0055] Step 120, classifying the users into multiple power consumption levels according to their power consumption according to the preset level threshold and the user power consumption monitoring information;

[0056] Step 130, normalizing the user power consumption monitoring information corresponding to the user information, and obtaining the peak power consumption period using a normalized array obtained by the normalization process;

[0057] Step 140: cluster the peak power consumption periods corresponding to all user information at different power consumption levels using a clustering model to obtain user categories.

[0058] To facilitate understanding of the present invention, the power user classification method provided by the present invention is further described below based on the principle of the power user classification method of the present invention and in combination with the process of classifying power users in the embodiment.

[0059] Specifically, the power user classification method includes:

[0060] S1. Collect all user information and allocate storage blocks to users according to the user information. The storage blocks are used to store user power consumption monitoring information.

[0061] Collect all user information, including user addresses; divide the scheduling area according to the regional scheduling management requirements, and allocate user information whose user addresses belong to the same scheduling area to the same storage block; save the user power consumption monitoring information corresponding to the user information to the storage block corresponding to the user information, and the storage block belongs to the distributed storage system.

[0062] By dividing users according to addresses and allocating the same storage block to adjacent users, it is possible to facilitate the subsequent reading of user power usage information and improve information reading efficiency. It is also convenient for subsequent power usage statistics of each sub-area.

[0063] The user electricity consumption here refers to the average electricity consumption per hour every day during the monitoring period.

[0064] S2. According to the preset level threshold and user power consumption monitoring information, users are divided into multiple power consumption levels according to their power consumption.

[0065] Set three thresholds, namely threshold 1, threshold 2, and threshold 3. Calculate the average value of the user's electricity consumption to obtain the user's average electricity consumption per hour every day. For example, monitor for three days and obtain the user's hourly electricity consumption on March 1, March 2, and March 3. Calculate the user's average electricity consumption at 8 o'clock, that is, calculate the average electricity consumption of the user at 8 o'clock on March 1, March 2, and March 3, and so on to obtain the user's average electricity consumption per hour every day. Calculate the user's total electricity consumption per day based on the user's average electricity consumption per hour every day.

[0066] Users whose total power consumption is less than threshold 1 are classified into the first level, users whose total power consumption is between threshold 1 and threshold 2 are classified into the second level, users whose total power consumption is between threshold 2 and threshold 3 are classified into the third level, and users whose total power consumption exceeds threshold 3 are classified into the fourth level.

[0067] S3. Normalize the user power consumption monitoring information corresponding to the user information, and use the normalized array obtained by the normalization process to obtain the peak power consumption period.

[0068] The user power consumption monitoring information corresponding to the user information is normalized, and the user power consumption monitoring information includes the average power consumption per hour in a day; the difference between adjacent digits in the normalized array is calculated to obtain a difference array, and the average difference is calculated based on the difference array; a target difference greater than the average difference is screened out from the difference array, and the target digital digit corresponding to the target difference in the normalized array is obtained, and the time period to which the target digital digit belongs is output as the peak power consumption period.

[0069] For example, normalize the average power consumption of users per hour in a day to get a set of 0-1 arrays [0.1, 0.1, 0, 0.8, 0.7, 0.8…], and calculate the difference between adjacent digits to get the difference array [0, -0.1, 0.8, -0.1, 0.1…]. It can be seen that 0.8 is the largest, so the peak period starts from the period corresponding to 0.8 in the array.

[0070] S4. Clustering the peak power consumption periods corresponding to all user information at different power consumption levels using a clustering model to obtain user categories.

[0071] The peak power consumption periods of all user information under the target power consumption level are collected, and the peak power consumption periods of all user information under the target power consumption level are used as the data set to be processed; the data set to be processed is input into the clustering model, and the user information under the target power consumption level is divided into multiple time period categories according to the similarity of the peak power consumption periods; the target power consumption level is switched until all power consumption levels are traversed; the power consumption level and time period category to which the user information belongs are output as the user category.

[0072] The peak time periods of each user in step S3 are clustered, for example, the peak time periods of all users of the first level are selected for clustering, and the clustering model may be C-means clustering. The clustering model is used to perform time period clustering processing on users of different levels respectively, and the final classification of users is output.

[0073] like Figure 2 As shown, the system 200 includes:

[0074] A storage allocation unit 210, used to collect all user information and allocate storage blocks to users according to the user information, wherein the storage blocks are used to store user power consumption monitoring information;

[0075] The level classification unit 220 is used to classify users into multiple power consumption levels according to their power consumption according to a preset level threshold and user power consumption monitoring information;

[0076] The time period extraction unit 230 is used to normalize the user power consumption monitoring information corresponding to the user information, and obtain the peak power consumption time period using the normalized array obtained by the normalization process;

[0077] The category classification unit 240 is used to cluster the peak power consumption periods corresponding to all user information under different power consumption levels by using a clustering model to obtain user categories.

[0078] Optionally, as an embodiment of the present invention, the storage allocation unit includes:

[0079] An information collection module, used to collect all user information, including user addresses;

[0080] A user allocation module is used to divide the scheduling area according to the regional scheduling management requirements, and allocate user information whose user addresses belong to the same scheduling area to the same storage block;

[0081] The information saving module is used to save the user power consumption monitoring information corresponding to the user information to the storage block corresponding to the user information, and the storage block belongs to the distributed storage system.

[0082] Optionally, as an embodiment of the present invention, the time period extraction unit includes:

[0083] An information processing module, used for normalizing the user power consumption monitoring information corresponding to the user information, wherein the user power consumption monitoring information includes the average power consumption per hour per day;

[0084] A difference calculation module is used to calculate the difference between adjacent digits in the normalized array to obtain a difference array, and calculate the average difference based on the difference array;

[0085] The time period extraction module is used to filter out the target difference greater than the average difference from the difference array, obtain the target digital position corresponding to the target difference in the normalized array, and output the time period to which the target digital position belongs as the peak power consumption period.

[0086] Optionally, as an embodiment of the present invention, the category classification unit includes:

[0087] A time period collection module is used to collect the peak power consumption period of all user information under the target power consumption level, and use the peak power consumption period of all user information under the target power consumption level as a data set to be processed;

[0088] The clustering module is used to input the data set to be processed into the clustering model, and divide the user information under the target power consumption level into multiple time period categories according to the similarity of the peak power consumption period;

[0089] A target switching module, used to switch the target power consumption level until all power consumption levels are traversed;

[0090] The category output module is used to output the power consumption level and time period category to which the user information belongs as the user category.

[0091] Figure 3 This is a schematic diagram of the structure of a terminal 300 provided in an embodiment of the present invention. The terminal 300 can be used to execute the power user classification method provided in an embodiment of the present invention.

[0092] The terminal 300 may include: a processor 310, a memory 320 and a communication unit 330. These components communicate via one or more buses. Those skilled in the art will appreciate that the server structure shown in the figure does not limit the present invention, and it may be a bus structure or a star structure, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0093] The memory 320 can be used to store the execution instructions of the processor 310, and the memory 320 can be implemented by any type of volatile or non-volatile storage terminal or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. When the execution instructions in the memory 320 are executed by the processor 310, the terminal 300 can perform some or all of the steps in the following method embodiments.

[0094] The processor 310 is the control center of the storage terminal, and uses various interfaces and lines to connect various parts of the entire electronic terminal. It runs or executes software programs and / or modules stored in the memory 320, and calls data stored in the memory to perform various functions of the electronic terminal and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of a plurality of packaged ICs with the same or different functions. For example, the processor 310 can include only a central processing unit (CPU). In the embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.

[0095] The communication unit 330 is used to establish a communication channel so that the storage terminal can communicate with other terminals, receive user data sent by other terminals or send user data to other terminals.

[0096] The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).

[0097] Therefore, the present invention achieves a rough classification of users by pre-classifying the power consumption levels of users, and then finely classifies the power consumption time periods of users of the same level, thereby achieving a refined classification of users from two dimensions: power consumption and power consumption time periods. The present invention can achieve a refined classification of power users, and improves the accuracy and efficiency of the clustering model through batch classification. The technical effects that can be achieved by this embodiment can be found in the description above, and will not be repeated here.

[0098] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention, in essence or in other words, the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes, including several instructions for enabling a computer terminal (which can be a personal computer, a server, or a second terminal, a network terminal, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention.

[0099] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.

[0100] In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of systems or units, which can be electrical, mechanical or other forms.

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

[0102] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0103] Although the present invention has been described in detail by referring to the accompanying drawings and in combination with the preferred embodiments, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, a person of ordinary skill in the art may make various equivalent modifications or substitutions to the embodiments of the present invention, and these modifications or substitutions shall be within the scope of the present invention. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, and all of these shall be within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of protection of the claims.

Claims

1. A method for classifying electricity users, It is characterized in that include: Collect all user information and allocate storage blocks to users according to the user information, wherein the storage blocks are used to store user power consumption monitoring information; According to the preset level threshold and user power consumption monitoring information, users are divided into multiple power consumption levels according to their power consumption; The user power consumption monitoring information corresponding to the user information is normalized, and the peak power consumption period is obtained using the normalized array obtained by the normalization process, including: Normalizing the user power consumption monitoring information corresponding to the user information, wherein the user power consumption monitoring information includes the average power consumption per hour per day; Calculate the difference between adjacent digits in the normalized array to obtain a difference array, and calculate the average difference based on the difference array; Filtering out a target difference value greater than the average difference value from the difference value array, obtaining a target digital digit corresponding to the target difference value in the normalized array, and outputting the time period to which the target digital digit belongs as the peak power consumption time period; The clustering model is used to cluster the peak power consumption periods corresponding to all user information under different power consumption levels to obtain user categories.

2. The method according to claim 1, It is characterized in that Collect all user information and allocate storage blocks to users according to the user information. The storage blocks are used to store user power consumption monitoring information, including: Collect all user information, including user address; Divide the dispatching area according to the regional dispatching management requirements, and allocate the user information whose user addresses belong to the same dispatching area to the same storage block; The user power consumption monitoring information corresponding to the user information is saved in a storage block corresponding to the user information, and the storage block belongs to a distributed storage system.

3. The method according to claim 1, It is characterized in that The clustering model is used to cluster the peak power consumption periods corresponding to all user information under different power consumption levels to obtain user categories, including: Collect the peak power consumption period of all user information under the target power consumption level, and use the peak power consumption period of all user information under the target power consumption level as the data set to be processed; The data set to be processed is input into the clustering model, and the user information under the target power consumption level is divided into multiple time period categories according to the similarity of the peak power consumption period; Switch the target power consumption level until all power consumption levels are traversed; The power consumption level and time period category to which the user information belongs are output as the user category.

4. A system for classifying electricity users, It is characterized in that include: A storage allocation unit, used to collect all user information and allocate storage blocks to users according to the user information, wherein the storage blocks are used to store user power consumption monitoring information; A level classification unit is used to classify users into multiple power consumption levels according to their power consumption size based on a preset level threshold and user power consumption monitoring information; The time period extraction unit is used to normalize the user power consumption monitoring information corresponding to the user information, and obtain the peak power consumption time period using the normalized array obtained by the normalization process; The time period extraction unit comprises: An information processing module, used for normalizing the user power consumption monitoring information corresponding to the user information, wherein the user power consumption monitoring information includes the average power consumption per hour per day; A difference calculation module is used to calculate the difference between adjacent digits in the normalized array to obtain a difference array, and calculate the average difference based on the difference array; A time period extraction module is used to filter out a target difference greater than the average difference from the difference array, obtain a target digit corresponding to the target difference in the normalized array, and output the time period to which the target digit belongs as a peak power consumption period; The classification unit is used to cluster the peak power consumption periods corresponding to all user information under different power consumption levels by using a clustering model to obtain user categories.

5. The system according to claim 4, It is characterized in that The storage allocation unit comprises: An information collection module, used to collect all user information, including user addresses; A user allocation module is used to divide the scheduling area according to the regional scheduling management requirements, and allocate user information whose user addresses belong to the same scheduling area to the same storage block; The information saving module is used to save the user power consumption monitoring information corresponding to the user information to the storage block corresponding to the user information, and the storage block belongs to the distributed storage system.

6. The system according to claim 4, It is characterized in that The classification unit comprises: A time period collection module is used to collect the peak power consumption period of all user information under the target power consumption level, and use the peak power consumption period of all user information under the target power consumption level as a data set to be processed; The clustering module is used to input the data set to be processed into the clustering model, and divide the user information under the target power consumption level into multiple time period categories according to the similarity of the peak power consumption period; A target switching module, used to switch the target power consumption level until all power consumption levels are traversed; The category output module is used to output the power consumption level and time period category to which the user information belongs as the user category.

7. A terminal, It is characterized in that include: processor; A memory for storing execution instructions of the processor; The processor is configured to execute the method according to any one of claims 1 to 3.

8. A computer-readable storage medium storing a computer program, It is characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.