Recognition method and device for home of returning personnel, storage medium and terminal

By clustering and extracting characteristic parameters from the electricity consumption behavior data of the families of returnees, the families of returnees are identified based on preset standards, which solves the problem of inaccurate identification in the existing technology and achieves an efficient and accurate identification process. , reducing costs.

CN118734166APending Publication Date: 2024-10-01POWER SUPPLY SERVICE & MANAGEMENT CENT STATE GRID JIANGXI ELECTRIC POWER CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410832535.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing technology cannot accurately identify the families of returnees, resulting in a huge workload and easy omissions, and cannot meet the high requirements of returnees for power supply services.

Method used

By obtaining the electricity consumption behavior data of households in the target area, clustering processing is performed, characteristic parameters are extracted, and households of returnees are identified based on preset standards, and digital technology is used to achieve accurate identification.

Benefits of technology

It improves the identification accuracy of families of returnees, reduces the large labor costs incurred by manual visits, and avoids omissions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734166A_ABST
    Figure CN118734166A_ABST
Patent Text Reader

Abstract

The invention discloses a home identification method and device for returning personnel, a storage medium and a terminal, relates to the technical field of electric power, and mainly aims to solve the problems that an existing door-to-door mode is huge in workload, easy to omit and incapable of achieving accurate identification. Comprising the following steps: acquiring residential electricity consumption behavior data of each family in a target area within a preset duration before a current moment; performing clustering processing on each family based on the residential electricity consumption behavior data to obtain a plurality of residential electricity consumption behavior classification clusters; and feature parameters of the residential electricity consumption behavior classification clusters are extracted, according to the feature parameters and based on a preset feature parameter standard, a return person family cluster is identified, and each family included in the return person family cluster is marked as a return person family.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electric power technology, and in particular to a method and device, storage medium, and terminal for identifying the family of a returning person. Background Art

[0002] According to data released by the National Bureau of Statistics, the top ten provinces with the largest number of migrant workers are Henan, Anhui, Hunan, Jiangxi, Sichuan, Chongqing, Jiangsu, Guizhou, Liaoning, and Hubei. For power supply companies, returnees have a strong sense of quality service, high requirements for power supply reliability, and are more sensitive to services. Therefore, as the requirements of returnees for power supply services increase, it is urgent to accurately identify families with returnees.

[0003] At present, the common practice is to conduct door-to-door visits to returnees. However, the workload is huge and it is easy to miss, making it difficult to accurately identify. Therefore, there is an urgent need for a method to identify the families of returnees to improve the above problems. Summary of the invention

[0004] In view of this, the present application provides a method and device, storage medium, and terminal for identifying the families of returnees. The main purpose is to solve the problem that the existing door-to-door investigation method has a huge workload and is prone to omissions, and cannot achieve accurate identification.

[0005] According to one aspect of the present application, a method for identifying the family of a returning person is provided, comprising:

[0006] Obtain the electricity consumption behavior data of each household in the target area within a preset time period before the current moment;

[0007] Clustering each of the households based on the residents' electricity usage behavior data to obtain a plurality of residents' electricity usage behavior classification clusters;

[0008] The characteristic parameters of each of the residents' electricity consumption behavior classification clusters are extracted, and based on the characteristic parameters and preset characteristic parameter standards, the returnee family cluster is identified, and each family included in the returnee family cluster is marked as a returnee family.

[0009] Preferably, extracting characteristic parameters of each of the residential electricity consumption behavior classification clusters, identifying the returning family cluster according to the characteristic parameters and based on preset characteristic parameter standards, and marking each family included in the returning family cluster as a returning family, includes:

[0010] Extracting characteristic parameters of each of the residential electricity consumption behavior classification clusters, wherein the characteristic parameters are used to characterize a household daily electricity consumption data set within the preset time period;

[0011] If the household daily electricity consumption data set meets the first preset characteristic parameter standard, the resident electricity consumption behavior classification cluster is determined as a whole-family return home family cluster, and each household included in the whole-family return home family cluster is marked as a whole-family return home category;

[0012] If the household daily electricity consumption data set meets the second preset characteristic parameter standard, the residents' electricity consumption behavior classification cluster is determined as a household cluster with returnees, and each household included in the household cluster with returnees is marked as a category with returnees.

[0013] Preferably, after extracting the characteristic parameters of each of the resident electricity consumption behavior classification clusters, identifying the returning family cluster according to the characteristic parameters and based on preset characteristic parameter standards, and marking each family included in the returning family cluster as a returning family, the method further includes:

[0014] Obtain a data set of household daily electricity consumption for each family that has returned home and a family with a returned person within a plurality of preset time periods before the current moment;

[0015] If the household daily electricity consumption data sets within the multiple preset time periods periodically meet the first preset characteristic parameter standard or the second preset characteristic parameter standard, the return home category of the household is updated to a category with no returnees.

[0016] Preferably, clustering each of the households based on the residents' electricity consumption behavior data to obtain a plurality of residents' electricity consumption behavior classification clusters includes:

[0017] Randomly selecting a preset number of residents' electricity consumption behavior data from each of the residents' electricity consumption behavior data as the first cluster center;

[0018] Calculating the distances from each of the resident electricity usage behavior data to each of the first cluster centers respectively, and clustering each of the households according to the distances to the first cluster centers to obtain a plurality of first resident electricity usage behavior classification clusters;

[0019] Calculating respectively the average distance between each resident electricity usage behavior data in each of the first resident electricity usage behavior classification clusters and the first cluster center of the first resident electricity usage behavior classification cluster, and determining the average distance as the second cluster center;

[0020] Calculating the distances from each of the resident electricity usage behavior data to each of the second cluster centers respectively, and clustering each of the households according to the distances to the second cluster centers to obtain a plurality of second resident electricity usage behavior classification clusters;

[0021] Based on the above steps, the cluster centers and the classified clusters of residents' electricity consumption behaviors are iteratively updated until the preset iterative update stop conditions are met, thereby obtaining a plurality of classified clusters of residents' electricity consumption behaviors.

[0022] Preferably, before clustering each of the households based on the residents' electricity usage behavior data to obtain a plurality of residents' electricity usage behavior classification clusters, the method further includes:

[0023] Standardization processing is performed on each of the residential electricity usage behavior data, and the residential electricity usage behavior data is converted into a numerical value between 0 and 1, so as to perform clustering processing based on the standardized residential electricity usage behavior data.

[0024] Preferably, the residential electricity consumption behavior data includes a household daily electricity consumption data set as well as the household payment amount, payment frequency, and the most recent payment date.

[0025] Preferably, before clustering each of the households based on the residents' electricity usage behavior data to obtain a plurality of residents' electricity usage behavior classification clusters, the method further includes:

[0026] Filter out the maximum household daily electricity consumption data, the minimum household daily electricity consumption data, the average household daily electricity consumption data, and the median household daily electricity consumption data from the household daily electricity consumption data sets of each household;

[0027] Each household is clustered based on the maximum household daily electricity consumption data, the minimum household daily electricity consumption data, the average household daily electricity consumption data, the median household daily electricity consumption data, the household payment amount, the payment frequency, and the most recent payment date.

[0028] According to another aspect of the present application, a device for identifying the family of a returning person is provided, comprising:

[0029] The residential electricity consumption behavior data acquisition module is used to acquire the residential electricity consumption behavior data of each household in the target area within a preset time period before the current moment;

[0030] A clustering module, configured to perform clustering processing on each of the households based on the residents' electricity consumption behavior data to obtain a plurality of residents' electricity consumption behavior classification clusters;

[0031] The returnee category marking module is used to extract the characteristic parameters of each of the residents' electricity consumption behavior classification clusters, and identify the returnee family clusters based on the characteristic parameters and preset characteristic parameter standards, and mark each family included in the returnee family cluster as a returnee family.

[0032] Preferably, the return category marking module is used to:

[0033] Extracting characteristic parameters of each of the residential electricity consumption behavior classification clusters, wherein the characteristic parameters are used to characterize a household daily electricity consumption data set within the preset time period;

[0034] If the household daily electricity consumption data set meets the first preset characteristic parameter standard, the resident electricity consumption behavior classification cluster is determined as a whole-family return home family cluster, and each household included in the whole-family return home family cluster is marked as a whole-family return home category;

[0035] If the household daily electricity consumption data set meets the second preset characteristic parameter standard, the residents' electricity consumption behavior classification cluster is determined as a household cluster with returnees, and each household included in the household cluster with returnees is marked as a category with returnees.

[0036] Preferably, after the return category marking module, the device further includes a return category checking module, which is used to:

[0037] Obtain a data set of household daily electricity consumption for each family that has returned home and a family with a returned person within a plurality of preset time periods before the current moment;

[0038] If the household daily electricity consumption data sets within the multiple preset time periods periodically meet the first preset characteristic parameter standard or the second preset characteristic parameter standard, the return home category of the household is updated to a category with no returnees.

[0039] Preferably, the clustering module is used to:

[0040] Randomly selecting a preset number of residents' electricity consumption behavior data from each of the residents' electricity consumption behavior data as the first cluster center;

[0041] Calculating the distances from each of the resident electricity usage behavior data to each of the first cluster centers respectively, and clustering each of the households according to the distances to the first cluster centers to obtain a plurality of first resident electricity usage behavior classification clusters;

[0042] Calculating respectively the average distance between each resident electricity usage behavior data in each of the first resident electricity usage behavior classification clusters and the first cluster center of the first resident electricity usage behavior classification cluster, and determining the average distance as the second cluster center;

[0043] Calculating the distances from each of the resident electricity usage behavior data to each of the second cluster centers respectively, and clustering each of the households according to the distances to the second cluster centers to obtain a plurality of second resident electricity usage behavior classification clusters;

[0044] Based on the above steps, the cluster centers and the classified clusters of residents' electricity consumption behaviors are iteratively updated until the preset iterative update stop conditions are met, thereby obtaining a plurality of classified clusters of residents' electricity consumption behaviors.

[0045] Preferably, before the clustering module, the device further includes:

[0046] The data standardization module is used to perform standardization processing on each of the residential electricity usage behavior data, convert the residential electricity usage behavior data into a numerical value between 0 and 1, and perform clustering processing based on the standardized residential electricity usage behavior data.

[0047] Preferably, the residential electricity consumption behavior data includes a household daily electricity consumption data set as well as the household payment amount, payment frequency, and the most recent payment date.

[0048] Preferably, before the clustering module, the device further includes a data screening module for:

[0049] Filter out the maximum household daily electricity consumption data, the minimum household daily electricity consumption data, the average household daily electricity consumption data, and the median household daily electricity consumption data from the household daily electricity consumption data sets of each household;

[0050] Each household is clustered based on the maximum household daily electricity consumption data, the minimum household daily electricity consumption data, the average household daily electricity consumption data, the median household daily electricity consumption data, the household payment amount, the payment frequency, and the most recent payment date.

[0051] According to another aspect of the present application, a storage medium is provided, in which at least one executable instruction is stored, and the executable instruction enables a processor to execute operations corresponding to the above-mentioned method for identifying the family of returnees.

[0052] According to another aspect of the present application, a terminal is provided, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus;

[0053] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the above-mentioned method for identifying the family of returnees.

[0054] By means of the above technical solution, the technical solution provided by the embodiment of the present application has at least the following advantages:

[0055] The present application provides a method and device, storage medium, and terminal for identifying families of returnees. First, the electricity consumption behavior data of residents of each family in the target area is obtained; secondly, each family is clustered based on the electricity consumption behavior data of the residents to obtain multiple electricity consumption behavior classification clusters of the residents; finally, the characteristic parameters of each of the electricity consumption behavior classification clusters of the residents are extracted, and based on the characteristic parameters and the preset characteristic parameter standards, the family clusters of returnees are identified, and each family included in the family clusters of returnees is marked as a family of returnees. Compared with the prior art, the embodiment of the present application clusters the families in the area according to the electricity consumption behavior data of the residents, divides them into multiple clusters, further extracts the characteristic parameters of each cluster, identifies the clusters whose characteristic parameters meet the preset characteristic parameter standards as the family clusters of returnees, and marks all the families therein as the families of returnees, and uses digital technology to realize the identification of the families of returnees, avoids omissions, etc., improves the accuracy of identification, and reduces the large amount of labor costs generated by manual visits.

[0056] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0058] Figure 1 A flow chart of a method for identifying the family of a returning person provided in an embodiment of the present application is shown;

[0059] Figure 2 A flow chart of another method for identifying the family of a returning person provided in an embodiment of the present application is shown;

[0060] Figure 3 A block diagram of a device for identifying the family of a returning person provided in an embodiment of the present application is shown;

[0061] Figure 4 A schematic diagram of the structure of a terminal provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0062] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0063] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0064] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present application, its application, or uses.

[0065] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0066] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0067] The embodiments of the present application can be applied to computer systems / servers, which can operate with many other general or special computing system environments or configurations. Examples of well-known computing systems, environments and / or configurations suitable for use with computer systems / servers include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, large computer systems, and distributed cloud computing technology environments including any of the above systems, etc.

[0068] Computer systems / servers may be described in the general context of computer system executable instructions (such as program modules) executed by a computer system. In general, program modules may include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers may be implemented in a distributed cloud computing environment where tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules may be located on local or remote computing system storage media including storage devices.

[0069] The present application embodiment provides a method for identifying the family of a returning person, such as Figure 1 As shown, the method includes:

[0070] 101. Obtain the electricity consumption behavior data of each household in the target area within a preset time period before the current moment.

[0071] Among them, the residential electricity consumption behavior data includes but is not limited to the household daily electricity consumption data set and the household payment amount, payment frequency, and the most recent payment date; the preset time before the current moment, for example, 33 days before the current moment, etc.; the household daily electricity consumption data set, for example, a data set composed of the household daily electricity consumption data of the previous 33 days; the target area can be a high-risk power consumption area, such as an old residential area, which has a high risk of power outages due to aging circuits. The families of returnees in the area can be identified and focused on to improve the comfort of the family, thereby achieving the effect of reducing the probability of complaints. In the embodiment of the present application, the current execution end can be a user investigation module of the power grid.

[0072] 102. Cluster each household based on the residents' electricity consumption behavior data to obtain multiple residents' electricity consumption behavior classification clusters.

[0073] Among them, the resident electricity consumption behavior data of each family in the same resident electricity consumption behavior classification cluster has the same electricity consumption characteristics. For example, the daily household electricity consumption of the families in the family cluster of returning home is zero in the first 33 days to the first 3 days, and the daily household electricity consumption in the past 3 days is close to the average daily household electricity consumption in the target area; the daily household electricity consumption ranking of the families in the family cluster of returning home personnel is within the bottom 20% of the daily household electricity consumption ranking in the target area in the first 33 days to the first 3 days, and the daily household electricity consumption in the past 3 days has increased by more than 100% compared with the previous one. Based on this, in the embodiment of the present application, each family is clustered based on the resident electricity consumption behavior data, and each family in the target area can be divided into multiple resident electricity consumption behavior classification clusters, such as the family cluster of returning home, the family cluster of returning home personnel, and the family cluster of no returning home personnel.

[0074] 103. Extract characteristic parameters of each resident electricity consumption behavior classification cluster, and identify the returnee family cluster based on the characteristic parameters and preset characteristic parameter standards, and mark each family included in the returnee family cluster as a returnee family.

[0075] Among them, the characteristic parameters can be the electricity consumption characteristics of households in the residents' electricity consumption behavior classification cluster, such as the characteristics of the change of household daily electricity consumption data; preset characteristic parameter standards, for example, the daily household electricity consumption in the first 33 days to the first 3 days is zero, and the daily household electricity consumption in the past 3 days is close to the average daily household electricity consumption in the target area, or the daily household electricity consumption ranking in the first 33 days to the first 3 days is in the bottom 20% of the daily household electricity consumption ranking in the target area, and the daily household electricity consumption in the past 3 days has increased by more than 100% compared with the previous one. In the embodiment of the present application, the characteristic parameters of each resident electricity consumption behavior classification cluster are compared with the preset characteristic parameter standards. If they meet, it means that the resident electricity consumption behavior classification cluster is a returnee family cluster, and all the families therein can be marked as returnee families. Optionally, multiple characteristic parameter standards can also be preset to make more detailed divisions of returnee families, such as families with all family members returning home, families with returnees, etc.

[0076] Compared with the prior art, the embodiment of the present application clusters households in the area according to the residents' electricity consumption behavior data, divides them into multiple clusters, further extracts characteristic parameters of each cluster, identifies the clusters whose characteristic parameters meet the preset characteristic parameter standards as returnee household clusters, and marks all the households therein as returnee households. Digital technology is used to identify returnee households, avoids omissions, etc., improves the accuracy of identification, and reduces the large amount of labor costs generated by manual visits.

[0077] The present application embodiment provides another method for identifying the family of a returning person, such as Figure 2 As shown, the method includes:

[0078] 201. Obtain electricity usage behavior data of each household in a target area within a preset time period before the current moment.

[0079] Among them, the residential electricity consumption behavior data includes a household daily electricity consumption data set and a household payment amount, payment frequency, and the latest payment date. In the embodiment of the present application, for example, the household daily electricity consumption data set, household payment amount, payment frequency, and latest payment date of each household in the high-risk area 33 days before the current time are obtained.

[0080] 202. Standardize the electricity consumption behavior data of each resident and convert the electricity consumption behavior data of each resident into a value between 0 and 1.

[0081] Furthermore, clustering is performed based on the standardized residential electricity consumption behavior data. In the embodiment of the present application, before clustering each household based on the residential electricity consumption behavior data, the residential electricity consumption behavior data can be standardized in advance and converted into a numerical value between 0 and 1 to reduce the gap between the data, thereby improving the accuracy of clustering. Optionally, the data point can be normalized by subtracting the mean and then dividing it by the standard deviation, or the data point can be normalized by subtracting the mean and then dividing it by the maximum data point, which is not limited in the embodiment of the present application.

[0082] In addition, before standardizing the residential electricity consumption behavior data, the data can be cleaned to screen out households with missing values ​​and outliers to further improve the accuracy of clustering.

[0083] 203. Cluster each household based on the residents' electricity usage behavior data to obtain multiple residents' electricity usage behavior classification clusters.

[0084] Specifically, first, k initial center points are randomly selected, that is, a preset number of residents' electricity consumption behavior data are randomly selected from each resident electricity consumption behavior data as the first cluster center; further, according to the distance from each resident electricity consumption behavior data to each initial center point, the resident electricity consumption behavior data is assigned to the initial center point closest to it, and multiple initial clusters are obtained, that is, the distance from each resident electricity consumption behavior data to each first cluster center is calculated respectively, and each household is clustered according to the distance to the first cluster center, and multiple first resident electricity consumption behavior classification clusters are obtained; further, the average distance between each resident electricity consumption behavior data in each initial cluster and the initial center point of the cluster is calculated respectively, and the initial center point is updated with the average distance, that is, the distance between each first resident electricity consumption behavior data and the initial center point of the cluster is calculated respectively. The average value of the distance between each resident's electricity behavior data in the civil electricity behavior classification cluster and the first cluster center of the first resident's electricity behavior classification cluster is determined, and the distance average value is determined as the second cluster center; finally, according to the distance from each resident's electricity behavior data to each updated center point, the resident's electricity behavior data is redistributed to the center point closest to it, and multiple updated clusters are obtained, that is, the distance from each resident's electricity behavior data to each second cluster center is calculated respectively, and each household is clustered according to the distance to the second cluster center, and multiple second resident electricity behavior classification clusters are obtained; based on the above steps, the cluster centers and resident electricity behavior classification clusters are iteratively updated until the preset iterative update stop condition is met, and multiple resident electricity behavior classification clusters are obtained.

[0085] It should be noted that the preset iterative update stop condition may be that the center point no longer changes, or that the number of update iterations is reached, etc., which is not specifically limited in the embodiments of the present application.

[0086] In order to further improve the accuracy of clustering, in the embodiment of the present application, preferably, the k value, that is, the number of residential electricity consumption behavior classification clusters, can be predetermined according to the elbow rule. Specifically, the optimal k value can be determined by observing the trend of the intra-cluster sum of squares of the data set under different K values ​​as the K value changes. First, a series of different k values ​​are selected, such as k = 1, 2, ..., n, where n is a preset maximum K value, and the K-means clustering algorithm is executed respectively, and the intra-cluster sum of squares corresponding to each k value is calculated according to the following formula:

[0087]

[0088] Among them, x ij represents the value of the jth variable in the i-th resident's electricity consumption behavior data, represents the mean of the jth variable in the kth cluster, and p represents the number of variables in the residents' electricity consumption behavior data.

[0089] It is understandable that since more clusters mean that the points in each cluster are closer to its center, as the k value increases, the intra-cluster sum of squares will gradually decrease. Based on this, solving the minimum objective function of the intra-cluster sum of squares can obtain the optimal k value. Further clustering based on the optimal k value can effectively improve the accuracy of the clustering results.

[0090] In order to reduce the computing resources consumed by clustering, in an embodiment of the present application, preferably, before clustering each household based on the residents' electricity consumption behavior data to obtain multiple residents' electricity consumption behavior classification clusters, the embodiment method also includes: filtering out the maximum household daily electricity consumption data, the minimum household daily electricity consumption data, the average household daily electricity consumption data, and the median household daily electricity consumption data from the household daily electricity consumption data set of each household; clustering each household based on the maximum household daily electricity consumption data, the minimum household daily electricity consumption data, the average household daily electricity consumption data, the median household daily electricity consumption data, as well as the household payment amount, payment frequency, and the most recent payment date.

[0091] It should be noted that the maximum household daily electricity consumption data, the minimum household daily electricity consumption data, the average household daily electricity consumption data, and the median household daily electricity consumption data in the household daily electricity consumption dataset can clearly reflect the data characteristics of the household daily electricity consumption dataset. Therefore, clustering processing is performed based on the maximum household daily electricity consumption data, the minimum household daily electricity consumption data, the average household daily electricity consumption data, the median household daily electricity consumption data, and the household payment amount, payment frequency, and the most recent payment date. While ensuring the accuracy of the clustering results, it achieves a technical effect of saving computing resources by reducing the amount of data.

[0092] 204. Extract characteristic parameters of each resident electricity consumption behavior classification cluster.

[0093] The characteristic parameter is used to characterize a household daily electricity consumption data set within a preset time period, for example, a household daily electricity consumption data set 33 days before the current moment.

[0094] 205. Identify family clusters of returnees based on characteristic parameters and preset characteristic parameter standards.

[0095] In order to make a more detailed division of the families of returnees, in the embodiment of the present application, multiple characteristic parameter standards are preset. For example, the first preset characteristic parameter standard is that the daily household electricity consumption in the previous 33 days to the previous 3 days is zero, and the daily household electricity consumption in the past 3 days is close to the average daily household electricity consumption in the target area; the second preset characteristic parameter standard is that the daily household electricity consumption in the previous 33 days to the previous 3 days ranks within the bottom 20% of the daily household electricity consumption ranking in the target area, and the daily household electricity consumption in the past 3 days has increased by more than 100% compared with before. Furthermore, if the household daily electricity consumption data set for the previous 33 days conforms to the change pattern that the household daily electricity consumption from the previous 33 days to the previous 3 days is zero, and the household daily electricity consumption in the past 3 days is close to the average household daily electricity consumption in the target area, then the residents' electricity consumption behavior classification cluster is determined as a family cluster with all the families returning home, and each household included in the family cluster with all the families returning home is marked as a family category with all the families returning home; if the household daily electricity consumption data set for the previous 33 days conforms to the change pattern that the household daily electricity consumption ranking from the previous 33 days to the previous 3 days is within the bottom 20% of the household daily electricity consumption ranking in the target area, and the household daily electricity consumption in the past 3 days has increased by more than 100% compared with the previous period, then the residents' electricity consumption behavior classification cluster is determined as a family cluster with returnees, and each household included in the family cluster with returnees is marked as a category with returnees.

[0096] 206. Obtain a dataset of household daily electricity consumption for each household whose entire family returns home and each household with a returning person within a plurality of preset time periods before the current moment.

[0097] 207. If the household daily electricity consumption data set within multiple preset time periods periodically meets the first preset characteristic parameter standard or the second preset characteristic parameter standard, the household's return home category is updated to a category with no returnees.

[0098] In steps 206-207 of the embodiment, in order to further improve the recognition accuracy of the families of returnees, in the embodiment of the present application, after the families of returnees are identified, they are checked again. Specifically, firstly, the household daily electricity consumption data sets of each family returning home and the families with returnees within multiple preset time periods before the current moment are obtained. For example, the household daily electricity consumption data sets of 33 days before the current moment, the household daily electricity consumption data sets of the previous 66 days to the previous 33 days, and the household daily electricity consumption data sets of the previous 99 days to the previous 66 days, etc. are obtained. Further, if the household daily electricity consumption data sets within each preset time period meet the first preset characteristic parameter standard or the second preset characteristic parameter standard, then the family may use a vehicle charging pile or be a merchant using residential electricity. At this time, the return category of the family can be updated to the category of no returnees.

[0099] The present application provides a method for identifying families of returnees, which first obtains the electricity consumption behavior data of each family in the target area; secondly, clusters each family based on the electricity consumption behavior data to obtain multiple electricity consumption behavior classification clusters; finally, extracts the characteristic parameters of each of the electricity consumption behavior classification clusters, and identifies the family clusters of returnees based on the characteristic parameters and preset characteristic parameter standards, and marks each family included in the family clusters of returnees as families of returnees. Compared with the prior art, the embodiment of the present application clusters the families in the area according to the electricity consumption behavior data of the residents, divides them into multiple clusters, further extracts the characteristic parameters of each cluster, identifies the clusters whose characteristic parameters meet the preset characteristic parameter standards as family clusters of returnees, and marks all the families therein as families of returnees, and uses digital technology to realize the identification of families of returnees, avoids omissions, etc., improves the accuracy of identification, and reduces the large amount of labor costs generated by manual visits.

[0100] Furthermore, as a response to the above Figure 1 The implementation of the method shown in the figure, the embodiment of the present application provides a device for identifying the family of a returning person, such as Figure 3 As shown, the device comprises:

[0101] Residents’ electricity consumption behavior data acquisition module 31, clustering module 32, and return home category marking module 33.

[0102] The residential electricity consumption behavior data acquisition module 31 is used to acquire the residential electricity consumption behavior data of each household in the target area within a preset time period before the current moment;

[0103] A clustering module 32, configured to perform clustering processing on each of the households based on the residents' electricity consumption behavior data to obtain a plurality of residents' electricity consumption behavior classification clusters;

[0104] The return category marking module 33 is used to extract the characteristic parameters of each of the residents' electricity consumption behavior classification clusters, and identify the returnee family clusters based on the characteristic parameters and preset characteristic parameter standards, and mark each family included in the returnee family cluster as a returnee family.

[0105] In a specific application scenario, the return category marking module is used to:

[0106] Extracting characteristic parameters of each of the residential electricity consumption behavior classification clusters, wherein the characteristic parameters are used to characterize a household daily electricity consumption data set within the preset time period;

[0107] If the household daily electricity consumption data set meets the first preset characteristic parameter standard, the resident electricity consumption behavior classification cluster is determined as a whole-family return home family cluster, and each household included in the whole-family return home family cluster is marked as a whole-family return home category;

[0108] If the household daily electricity consumption data set meets the second preset characteristic parameter standard, the residents' electricity consumption behavior classification cluster is determined as a household cluster with returnees, and each household included in the household cluster with returnees is marked as a category with returnees.

[0109] In a specific application scenario, after the return category marking module, the device further includes a return category checking module, which is used to:

[0110] Obtain a data set of household daily electricity consumption for each family that has returned home and a family with a returned person within a plurality of preset time periods before the current moment;

[0111] If the household daily electricity consumption data sets within the multiple preset time periods periodically meet the first preset characteristic parameter standard or the second preset characteristic parameter standard, the return home category of the household is updated to a category with no returnees.

[0112] In a specific application scenario, the clustering module is used to:

[0113] Randomly selecting a preset number of residents' electricity consumption behavior data from each of the residents' electricity consumption behavior data as the first cluster center;

[0114] Calculating the distances from each of the resident electricity usage behavior data to each of the first cluster centers respectively, and clustering each of the households according to the distances to the first cluster centers to obtain a plurality of first resident electricity usage behavior classification clusters;

[0115] Calculating respectively the average distance between each resident electricity usage behavior data in each of the first resident electricity usage behavior classification clusters and the first cluster center of the first resident electricity usage behavior classification cluster, and determining the average distance as the second cluster center;

[0116] Calculating the distances from each of the resident electricity usage behavior data to each of the second cluster centers respectively, and clustering each of the households according to the distances to the second cluster centers to obtain a plurality of second resident electricity usage behavior classification clusters;

[0117] Based on the above steps, the cluster centers and the classified clusters of residents' electricity consumption behaviors are iteratively updated until the preset iterative update stop conditions are met, thereby obtaining a plurality of classified clusters of residents' electricity consumption behaviors.

[0118] In a specific application scenario, before the clustering module, the device further includes:

[0119] The data standardization module is used to perform standardization processing on each of the residential electricity usage behavior data, convert the residential electricity usage behavior data into a numerical value between 0 and 1, and perform clustering processing based on the standardized residential electricity usage behavior data.

[0120] In a specific application scenario, the residential electricity consumption behavior data includes a household daily electricity consumption data set as well as the household payment amount, payment frequency, and the most recent payment date.

[0121] In a specific application scenario, before the clustering module, the device further includes a data screening module for:

[0122] Filter out the maximum household daily electricity consumption data, the minimum household daily electricity consumption data, the average household daily electricity consumption data, and the median household daily electricity consumption data from the household daily electricity consumption data sets of each household;

[0123] Each household is clustered based on the maximum household daily electricity consumption data, the minimum household daily electricity consumption data, the average household daily electricity consumption data, the median household daily electricity consumption data, the household payment amount, the payment frequency, and the most recent payment date.

[0124] The present application provides a device for identifying families of returnees, which first obtains the electricity consumption behavior data of residents of each family in the target area; secondly, clusters each of the families based on the electricity consumption behavior data to obtain multiple electricity consumption behavior classification clusters; finally, extracts the characteristic parameters of each of the electricity consumption behavior classification clusters, and identifies the family clusters of returnees based on the characteristic parameters and preset characteristic parameter standards, and marks each family included in the family clusters of returnees as families of returnees. Compared with the prior art, the embodiment of the present application clusters the families in the area according to the electricity consumption behavior data of residents, divides them into multiple clusters, further extracts the characteristic parameters of each cluster, identifies the clusters whose characteristic parameters meet the preset characteristic parameter standards as family clusters of returnees, and marks all the families therein as families of returnees, and uses digital technology to realize the identification of families of returnees, avoids omissions, etc., improves the accuracy of identification, and reduces the large amount of labor costs generated by manual visits.

[0125] According to one embodiment of the present application, a storage medium is provided, wherein the storage medium stores at least one executable instruction, and the computer executable instruction can execute the method for identifying the family of returnees in any of the above method embodiments.

[0126] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each implementation scenario of the present application.

[0127] Figure 4 A schematic diagram of the structure of a terminal provided according to an embodiment of the present application is shown, and the specific embodiment of the present application does not limit the specific implementation of the terminal.

[0128] like Figure 4 As shown, the terminal may include: a processor (processor) 402 , a communication interface (Communications Interface) 404 , a memory (memory) 406 , and a communication bus 408 .

[0129] The processor 402 , the communication interface 404 , and the memory 406 communicate with each other via a communication bus 408 .

[0130] The communication interface 404 is used to communicate with other devices such as clients or other servers.

[0131] Processor 402 is used to execute program 410, and specifically can execute the relevant steps in the above-mentioned embodiment of the method for identifying the family of returnees.

[0132] Specifically, the program 410 may include program codes, which include computer operation instructions.

[0133] The processor 402 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the computer device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0134] The memory 406 is used to store the program 410. The memory 406 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0135] The program 410 may be specifically configured to enable the processor 402 to perform the following operations:

[0136] Obtain the electricity consumption behavior data of each household in the target area within a preset time period before the current moment;

[0137] Clustering each of the households based on the residents' electricity usage behavior data to obtain a plurality of residents' electricity usage behavior classification clusters;

[0138] The characteristic parameters of each of the residents' electricity consumption behavior classification clusters are extracted, and based on the characteristic parameters and preset characteristic parameter standards, the returnee family cluster is identified, and each family included in the returnee family cluster is marked as a returnee family.

[0139] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the physical device of the above-mentioned method for identifying the families of returnees, and supports the operation of information processing programs and other software and / or programs. The network communication module is used to realize communication between components within the storage medium, and communication with other hardware and software in the information processing physical device.

[0140] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0141] The method and system of the present application may be implemented in many ways. For example, the method and system of the present application may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present application are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present application may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present application. Therefore, the present application also covers a recording medium storing a program for executing the method according to the present application.

[0142] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0143] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for identifying the families of returnees. It is characterized in that include: Obtain the electricity consumption behavior data of each household in the target area within a preset time period before the current moment; Clustering each of the households based on the residents' electricity usage behavior data to obtain a plurality of residents' electricity usage behavior classification clusters; The characteristic parameters of each of the residents' electricity consumption behavior classification clusters are extracted, and based on the characteristic parameters and preset characteristic parameter standards, the returnee family cluster is identified, and each family included in the returnee family cluster is marked as a returnee family.

2. The method according to claim 1, It is characterized in that The extracting characteristic parameters of each of the residential electricity consumption behavior classification clusters, identifying the returning family cluster according to the characteristic parameters and based on preset characteristic parameter standards, and marking each family included in the returning family cluster as a returning family, includes: Extracting characteristic parameters of each of the residential electricity consumption behavior classification clusters, wherein the characteristic parameters are used to characterize a household daily electricity consumption data set within the preset time period; If the household daily electricity consumption data set meets the first preset characteristic parameter standard, the resident electricity consumption behavior classification cluster is determined as a whole-family return home family cluster, and each household included in the whole-family return home family cluster is marked as a whole-family return home category; If the household daily electricity consumption data set meets the second preset characteristic parameter standard, the residents' electricity consumption behavior classification cluster is determined as a household cluster with returnees, and each household included in the household cluster with returnees is marked as a category with returnees.

3. The method according to claim 2, It is characterized in that After extracting the characteristic parameters of each of the residential electricity consumption behavior classification clusters, identifying the returning family cluster according to the characteristic parameters and based on preset characteristic parameter standards, and marking each family included in the returning family cluster as a returning family, the method further includes: Obtain a data set of household daily electricity consumption for each family that has returned home and a family with a returned person within a plurality of preset time periods before the current moment; If the household daily electricity consumption data sets within the multiple preset time periods periodically meet the first preset characteristic parameter standard or the second preset characteristic parameter standard, the return home category of the household is updated to a category with no returnees.

4. The method according to claim 1, It is characterized in that The clustering process of each household based on the residents' electricity consumption behavior data to obtain a plurality of residents' electricity consumption behavior classification clusters includes: Randomly selecting a preset number of residents' electricity consumption behavior data from each of the residents' electricity consumption behavior data as the first cluster center; Calculating the distances from each of the resident electricity usage behavior data to each of the first cluster centers respectively, and clustering each of the households according to the distances to the first cluster centers to obtain a plurality of first resident electricity usage behavior classification clusters; Calculating respectively the average distance between each resident electricity usage behavior data in each of the first resident electricity usage behavior classification clusters and the first cluster center of the first resident electricity usage behavior classification cluster, and determining the average distance as the second cluster center; Calculating the distances from each of the resident electricity usage behavior data to each of the second cluster centers respectively, and clustering each of the households according to the distances to the second cluster centers to obtain a plurality of second resident electricity usage behavior classification clusters; Based on the above steps, the cluster centers and the classified clusters of residents' electricity consumption behaviors are iteratively updated until the preset iterative update stop conditions are met, thereby obtaining a plurality of classified clusters of residents' electricity consumption behaviors.

5. The method according to claim 1, It is characterized in that Before clustering each of the households based on the residents' electricity consumption behavior data to obtain a plurality of residents' electricity consumption behavior classification clusters, the method further includes: Standardization processing is performed on each of the residential electricity usage behavior data, and the residential electricity usage behavior data is converted into a numerical value between 0 and 1, so as to perform clustering processing based on the standardized residential electricity usage behavior data.

6. The method according to claim 1, It is characterized in that The residential electricity consumption behavior data includes a household daily electricity consumption data set as well as the household payment amount, payment frequency, and the most recent payment date.

7. The method according to claim 1 or 6, It is characterized in that Before clustering each of the households based on the residents' electricity consumption behavior data to obtain a plurality of residents' electricity consumption behavior classification clusters, the method further includes: Filter out the maximum household daily electricity consumption data, the minimum household daily electricity consumption data, the average household daily electricity consumption data, and the median household daily electricity consumption data from the household daily electricity consumption data sets of each household; Each household is clustered based on the maximum household daily electricity consumption data, the minimum household daily electricity consumption data, the average household daily electricity consumption data, the median household daily electricity consumption data, the household payment amount, the payment frequency, and the most recent payment date.

8. A device for identifying the family of a returning person. It is characterized in that include: A residential electricity consumption behavior data acquisition module is used to acquire residential electricity consumption behavior data of each household in the target area within a preset time period before the current moment; A clustering module, configured to perform clustering processing on each of the households based on the residents' electricity consumption behavior data to obtain a plurality of residents' electricity consumption behavior classification clusters; The returnee category marking module is used to extract the characteristic parameters of each of the residents' electricity consumption behavior classification clusters, and identify the returnee family clusters based on the characteristic parameters and preset characteristic parameter standards, and mark each family included in the returnee family cluster as a returnee family.

9. A storage medium, wherein at least one executable instruction is stored in the storage medium. It is characterized in that The executable instructions enable the processor to perform operations corresponding to the method for identifying the family of a returning person as described in any one of claims 1-7.

10. A terminal, include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, characterized in that the executable instruction enables the processor to perform operations corresponding to the method for identifying the family of returning persons as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Regional floating population identification method and device, equipment and medium

    CN112712112A

  • Method for analyzing and perceiving family population characteristics through power consumption data

    CN113128861A

  • Residential housing vacancy rate prediction method based on user electricity consumption big data

    CN114595887A

  • Cell population flow condition analysis system and method based on electric power big data

    CN114639484A

  • Population type recognition method based on mobile phone signaling data

    WO2020238631A1