CN108038178A - A kind of user power utilization behavior visual analysis method, device and electronic equipment - Google Patents

A kind of user power utilization behavior visual analysis method, device and electronic equipment Download PDF

Info

Publication number
CN108038178A
CN108038178A CN201711288291.9A CN201711288291A CN108038178A CN 108038178 A CN108038178 A CN 108038178A CN 201711288291 A CN201711288291 A CN 201711288291A CN 108038178 A CN108038178 A CN 108038178A
Authority
CN
China
Prior art keywords
user
cluster
ratio
section
electricity consumption
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711288291.9A
Other languages
Chinese (zh)
Inventor
石川
陈海波
田英杰
侯雪
陈璞迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
State Grid Shanghai Electric Power Co Ltd
Original Assignee
Beijing University of Posts and Telecommunications
State Grid Shanghai Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing University of Posts and Telecommunications, State Grid Shanghai Electric Power Co Ltd filed Critical Beijing University of Posts and Telecommunications
Priority to CN201711288291.9A priority Critical patent/CN108038178A/en
Publication of CN108038178A publication Critical patent/CN108038178A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/285Clustering or classification
    • G06F16/287Visualization; Browsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Marketing (AREA)
  • Educational Administration (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Quality & Reliability (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Operations Research (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

An embodiment of the present invention provides a kind of user power utilization behavior visual analysis method, device and electronic equipment.Method includes:Obtain the cluster result of each user of electricity consumption behavior to be analyzed;Obtain visualization data;Based on cluster result and visualization data, peak, flat, point and paddy period power consumption summation of all users in each cluster in each default section of preset time period are calculated;Calculate in each cluster and each preset the corresponding first, second, third and fourth ratio of section;Determine each to preset the corresponding visualization circle of section in each cluster;Based on the corresponding different pre-set colors of the corresponding first, second, third and fourth ratio of section are each preset in each cluster, to each four round subregions of the corresponding visualization of default section render in each cluster, user behavior visual analyzing figure is obtained.Using the embodiment of the present invention, the electricity consumption behavioral difference of the user of different clusters can be intuitively found out by visual analyzing figure.

Description

A kind of user power utilization behavior visual analysis method, device and electronic equipment
Technical field
The present invention relates to data analysis technique field, more particularly to a kind of user power utilization behavior visual analysis method, Device and electronic equipment.
Background technology
With the rapid development of economy, growing trend is presented in the power consumption of user.Also, due in the electricity consumption data of user The under cover electricity consumption behavioural habits of user, thus in order to meet the power demand of user individual and differentiation, people are urgent Need to analyze the electricity consumption data of user.Wherein, the electricity consumption data of a user refers to what an electric energy meter counted Electricity consumption data.
It is to the analysis mode of electricity consumption data at present:User is clustered according to electricity consumption data, it is, according to Electric data classify user, so as to analyze which user belongs to same cluster.In this kind of analysis mode, based on poly- Class algorithm, clusters number pair and electricity consumption data carry out cluster analysis, so that user is divided into multiclass.Wherein, electricity consumption data bag Daily power consumption etc. in including but being not limited to user's power consumption of 1 year and user in this year.
But this kind of analysis mode can only be analyzed to obtain which user belongs to same cluster.Technical staff can not from point The electricity consumption behavioral difference of the user of different clusters is intuitively found out in class.
The content of the invention
The purpose of the embodiment of the present invention is that providing a kind of user power utilization behavior visual analysis method, device and electronics sets It is standby, to allow to intuitively find out by visual analyzing figure the electricity consumption behavioral difference of the user of different clusters.Particular technique side Case is as follows:
In a first aspect, an embodiment of the present invention provides a kind of user power utilization behavior visual analysis method, this method can be with Including:
Obtain the cluster result of each user of electricity consumption behavior to be analyzed;Wherein, cluster result is:Calculated based on default cluster User's classification results that method, default clusters number and cluster data are analyzed;Cluster data is:Each user is in preset time Electricity consumption data in section, for carrying out cluster analysis;
Visualization data are obtained, wherein, visualization data are:Each user in preset time period, for carry out can Electricity consumption data depending on changing analysis;Electricity consumption data for carrying out visual analyzing includes:Daily peak period power consumption, usually section Power consumption, sharp period power consumption, paddy period power consumption;
Based on cluster result and visualization data, all users in each cluster are calculated in each pre- of preset time period If peak period power consumption summation, usually section power consumption summation, sharp period power consumption summation, and paddy period power consumption in section Summation;
Calculate in each cluster and each preset corresponding first ratio of section, the second ratio, the 3rd ratio and the 4th ratio, Wherein, corresponding first ratio of default section, the second ratio, the 3rd ratio and the 4th ratio are respectively in a cluster:This is poly- The peak period power consumption summation of the section, usually section power consumption summation, sharp period power consumption summation, and the electricity consumption of paddy period in class Amount summation accounts for all users in the cluster and presets the ratio of the total electricity consumption of section at this respectively;
Determine each to preset the corresponding visualization circle of section in each cluster;Wherein, in a cluster a default section can Radius depending on changing circle is directly proportional to the corresponding total electricity consumption of the default section of this in the cluster, and visualization circle includes four points Area, the area ratio that the area of four subregions is justified with the visualization are respectively:This in the cluster presets section corresponding first Ratio, the second ratio, the 3rd ratio and the 4th ratio;
Based on corresponding first ratio of each default section, the second ratio, the 3rd ratio and the 4th ratio in each cluster Corresponding difference pre-set color, to each four subregions of the corresponding visualization circle of default section render in each cluster, Obtain user behavior visual analyzing figure.
Second aspect, an embodiment of the present invention provides a kind of user power utilization behavior visual analyzing device, which can be with Including:
First obtains unit, the cluster result of each user for obtaining electricity consumption behavior to be analyzed;Wherein, cluster result It is:The user's classification results analyzed based on default clustering algorithm, default clusters number and cluster data;Cluster data is: Each user in preset time period, electricity consumption data for carrying out cluster analysis;
Second obtaining unit, data are visualized for obtaining, wherein, visualization data are:Each user is in preset time Electricity consumption data in section, for carrying out visual analyzing;Electricity consumption data for carrying out visual analyzing includes:Daily peak Period power consumption, usually section power consumption, sharp period power consumption, paddy period power consumption;
First computing unit, for based on cluster result and visualization data, all users calculated in each cluster to exist Peak period power consumption summation in each default section of preset time period, usually section power consumption summation, sharp period power consumption are total With, and paddy period power consumption summation;
Second computing unit, for calculating in each cluster each corresponding first ratio of default section, the second ratio, the Three ratios and the 4th ratio, wherein, default corresponding first ratio of section in a cluster, the second ratio, the 3rd ratio and the Four ratios are respectively:The peak period power consumption summation of the section in the cluster, usually section power consumption summation, sharp period power consumption are total With and paddy period power consumption summation account for all users in the cluster respectively and preset the ratio of the total electricity consumption of section at this;
First determination unit, for determining each to preset the corresponding visualization circle of section in each cluster;Wherein, a cluster In a default section visualization circle radius it is directly proportional with the corresponding total electricity consumption of the default section of this in the cluster, the visualization Circle includes four subregions, and the area ratio that the area of four subregions is justified with the visualization is respectively:This in the cluster is default Corresponding first ratio of section, the second ratio, the 3rd ratio and the 4th ratio;
Rendering unit, for based on each corresponding first ratio of default section, the second ratio, the 3rd compare in each cluster Example different pre-set colors corresponding with the 4th ratio, four points to each presetting the corresponding visualization circle of section in each cluster Area is rendered, and obtains user behavior visual analyzing figure.
The third aspect, the embodiment of the present invention additionally provide a kind of electronic equipment, including processor, communication interface, memory And communication bus, wherein, processor, communication interface, memory completes mutual communication by communication bus;
Memory, for storing computer program;
Processor, during for performing the program stored on memory, realizes that embodiment of the method in first aspect provides Method and step.
Fourth aspect, the embodiment of the present invention additionally provide a kind of readable storage medium storing program for executing, and readable storage medium storing program for executing memory contains meter Calculation machine program, realizes the method and step that embodiment of the method provides in first aspect when computer program is executed by processor.
5th aspect, the embodiment of the present invention additionally provides a kind of computer program product for including instruction, when it is in electronics When being run in equipment so that server performs:The method and step that embodiment of the method provides in above-mentioned first aspect.
In embodiments of the present invention, the cluster result of each user of user behavior to be analyzed can be obtained, i.e. acquisition pair The classification results of each user, in this way, can based on each user in preset time period, electricity consumption number for cluster analysis According to obtaining the cluster belonging to each user.Wherein, a cluster is a classification.Furthermore it is possible to each user is obtained default Electricity consumption data in period, for carrying out visual analyzing, it is, each user can be obtained in preset time period Daily peak, flat, point and paddy period power consumption.
And it is possible to preset time period is divided into the default section of default quantity, then, for each cluster: Peak period power consumption summation of all users in the cluster in each default section can be calculated, usually section power consumption is total With, sharp period power consumption summation, and paddy period power consumption summation.And then the peak period that can calculate each default section is used Electricity summation, usually section power consumption summation, sharp period power consumption summation, and paddy period power consumption summation account for accordingly default section Total electricity consumption the first ratio, the second ratio, the 3rd ratio and the 4th ratio.Then, it is corresponding total with each default section Power consumption, the first ratio, the second ratio, the 3rd ratio and the 4th ratio, to determine accordingly to preset the corresponding visualization circle of section. And it is corresponding Bu Tong pre- with the 4th ratio to be based on each corresponding first ratio of default section, the second ratio, the 3rd ratio If color, corresponding four subregions for visualizing circle of each default section are rendered, obtain user behavior visual analyzing Figure.
In this way, can be by size visually round in the visual analyzing figure, intuitively to show the institute of each cluster There are power consumption trend of the user in each default section, and the different users clustered in the power consumption area of each default section Not.And it is possible to the size shared by by four subregions in visually justifying, exists to be visually displayed in all users of each cluster The peak of each default section, flat, point and the electricity consumption distribution situation of four periods of paddy, and the user of different clusters preset each The difference at the peak of section, flat, point and the electricity consumption distribution situation of four periods of paddy.In this way, enable a technician to intuitively find out The electricity consumption trend of user in each cluster, and can be seen that the electricity consumption behavioral difference of the user of different clusters.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow chart of user power utilization behavior visual analysis method provided in an embodiment of the present invention;
Fig. 2 is a kind of user behavior visual analyzing figure provided in an embodiment of the present invention;
Fig. 3 is another user behavior visual analyzing figure provided in an embodiment of the present invention;
Fig. 4 is another user behavior visual analyzing figure provided in an embodiment of the present invention;
Fig. 5 is a kind of user power utilization amount block diagram provided in an embodiment of the present invention;
Fig. 6 is a kind of electricity consumption curve map provided in an embodiment of the present invention;
Fig. 7 is another user behavior visual analyzing figure provided in an embodiment of the present invention;
Fig. 8 is the structure diagram of user power utilization behavior visual analyzing device provided in an embodiment of the present invention;
Fig. 9 is the structure diagram of electronic equipment provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work Embodiment, belongs to the scope of protection of the invention.
In order to solve the problems in the existing technology, an embodiment of the present invention provides a kind of user power utilization behavior visualization Analysis method, device and electronic equipment.
A kind of user power utilization behavior visual analysis method provided in an embodiment of the present invention is illustrated first below.
User power utilization behavior visual analysis method provided in an embodiment of the present invention can be applied to terminal, can also apply In server, this is all reasonable.Terminal includes but is not limited to computer and mobile phone.In addition, in the embodiment of the present invention, a use Family refers to an electric energy meter, and the electricity consumption data of a user refers to the electricity consumption data that an electric energy meter counts.
Referring to Fig. 1, user power utilization behavior visual analysis method provided in an embodiment of the present invention may include steps of:
S101:Obtain the cluster result of each user of electricity consumption behavior to be analyzed;Wherein, cluster result is:Based on default User's classification results that clustering algorithm, default clusters number and cluster data are analyzed;Cluster data is:Each user is pre- If electricity consumption data in the period, for carrying out cluster analysis;
S102:Visualization data are obtained, wherein, visualization data are:Each user in preset time period, for into The electricity consumption data of row visual analyzing;Electricity consumption data for carrying out visual analyzing includes:It is daily peak period power consumption, flat Period power consumption, sharp period power consumption, paddy period power consumption;
S103:Based on cluster result and visualization data, all users in each cluster are calculated in preset time period Peak period power consumption summation, usually section power consumption summation, sharp period power consumption summation, and paddy period in each default section Power consumption summation;
S104:Calculate in each cluster and each preset corresponding first ratio of section, the second ratio, the 3rd ratio and the 4th Ratio, wherein, corresponding first ratio of default section, the second ratio, the 3rd ratio and the 4th ratio are respectively in a cluster: The peak period power consumption summation of the section, usually section power consumption summation, sharp period power consumption summation, and paddy period in the cluster Power consumption summation accounts for all users in the cluster and presets the ratio of the total electricity consumption of section at this respectively;
S105:Determine each to preset the corresponding visualization circle of section in each cluster;Wherein, a default section in a cluster Radius and this in the cluster of visualization circle preset that the corresponding total electricity consumption of section is directly proportional, which, which justifies, includes four Subregion, the area ratio that the area of four subregions is justified with the visualization are respectively:This in the cluster presets section corresponding the One ratio, the second ratio, the 3rd ratio and the 4th ratio;
S106:Based on corresponding first ratio of each default section, the second ratio, the 3rd ratio and the 4th in each cluster The corresponding different pre-set colors of ratio, to each four subregions of the corresponding visualization circle of default section carry out wash with watercolours in each cluster Dye, obtains user behavior visual analyzing figure.
It is understood that when needing to analyze electricity consumption behavior of the certain user in preset time period, these User is the user of electricity consumption behavior to be analyzed.At this time, the data of the electricity consumption behavior for analyzing these users should be:These are used Electricity consumption data of the family in preset time period.
In embodiments of the present invention, the cluster result of each user of user behavior to be analyzed can be obtained, i.e. acquisition pair The classification results of each user, in this way, can based on each user in preset time period, electricity consumption number for cluster analysis According to obtaining the cluster belonging to each user.Wherein, a cluster is a classification.Furthermore it is possible to each user is obtained default Electricity consumption data in period, for carrying out visual analyzing, it is, each user can be obtained in preset time period Daily peak, flat, point and paddy period power consumption.
And it is possible to preset time period is divided into the default section of default quantity, then, for each cluster: Peak period power consumption summation of all users in the cluster in each default section can be calculated, usually section power consumption is total With, sharp period power consumption summation, and paddy period power consumption summation.And then the peak period that can calculate each default section is used Electricity summation, usually section power consumption summation, sharp period power consumption summation, and paddy period power consumption summation account for accordingly default section Total electricity consumption the first ratio, the second ratio, the 3rd ratio and the 4th ratio.Then, it is corresponding total with each default section Power consumption, the first ratio, the second ratio, the 3rd ratio and the 4th ratio, to determine accordingly to preset the corresponding visualization circle of section. And it is corresponding Bu Tong pre- with the 4th ratio to be based on each corresponding first ratio of default section, the second ratio, the 3rd ratio If color, corresponding four subregions for visualizing circle of each default section are rendered, obtain user behavior visual analyzing Figure.
In this way, can be by size visually round in the visual analyzing figure, intuitively to show the institute of each cluster There are power consumption trend of the user in each default section, and the different users clustered in the power consumption area of each default section Not.And it is possible to the size shared by by four subregions in visually justifying, exists to be visually displayed in all users of each cluster The peak of each default section, flat, point and the electricity consumption distribution situation of four periods of paddy, and the user of different clusters preset each The difference at the peak of section, flat, point and the electricity consumption distribution situation of four periods of paddy.In this way, enable a technician to intuitively find out The electricity consumption trend of user in each cluster, and can be seen that the electricity consumption behavioral difference of the user of different clusters.
It is understood that default clustering algorithm and default cluster numbers can be passed through during visual analyzing is carried out Mesh, carries out cluster calculation, so as to obtain the cluster result of each user of electricity consumption behavior to be analyzed to cluster data.Certainly, It can be in advance based on default clustering algorithm before visual analyzing is carried out and default clusters number cluster cluster data Calculate, so that the cluster result of each user of electricity consumption behavior to be analyzed is obtained, in this way, visual analyzing process can carried out In, the cluster result is directly transferred, improves the speed for obtaining cluster result.
Wherein, default clustering algorithm includes but is not limited to:The Kmeans algorithms of Euclidean distance.Default clusters number can To be set according to specific requirements.Preset time period can be 1 year, and preset time period can be divided into 12 default sections, one A default section is one month, is not limited thereto certainly.
In addition, the daily peak period can correspond to:Period 8:00-11:00 and the period 18:00-22:00.The sharp period It can correspond to:Period 13:00-15:00.The paddy period can correspond to:Period 22:00-6:00.Usually section can correspond to:When Between section 6:00-8:00th, period 11:00-13:00 and the period 15:00-18:00.Certainly, above-mentioned daily peak, flat, point and Four periods of paddy are merely illustrative, are not limited thereto certainly.
User power utilization behavior visual analysis method provided in an embodiment of the present invention is carried out with reference to specific example detailed Describe in detail bright.
Assuming that the electricity consumption behavior to A areas user in 2016 is needed to analyze.It is possible to obtain A in 2016 Regional each user is corresponding, electricity consumption data for carrying out cluster analysis, wherein, the electricity consumption data of the acquisition can include: The electricity consumption total amount of 1 year, in 1 year daily averagely power consumption, peak period electricity consumption total amount in 1 year, usually section electricity consumption is total in 1 year Amount, sharp period electricity consumption total amount and the one or more in 1 year in paddy period electricity consumption total amount in 1 year, can also include certainly: Peak period coefficient, usually section coefficient, paddy period coefficient and sharp period coefficient, and power consumption variance, power consumption maximum value electricity consumption Minimum, non-electricity consumption number of days etc. are measured, this is all rational.
Wherein, peak/flat/paddy/point period coefficient is:Peak/flat/paddy/point period electricity consumption total amount and electricity consumption in 1 year in 1 year The ratio of total amount.
It is then possible to the Kmeans algorithms of default clusters number 6 and Euclidean distance, to each user in A areas in 2016 Electricity consumption data progress cluster calculation corresponding, for carrying out cluster analysis, then can obtain the cluster knot for each user Fruit:User in A areas in 2016 is divided into 6 clusters.
In order to make it easy to understand, corresponding user is in first cluster for assuming to be calculated:User 1-1500.Second Corresponding user is in cluster:User 1501-3000.Corresponding user is in 3rd cluster:User 3001-4000.4th Corresponding user is in a cluster:User 4001-4100.Corresponding user is in 5th cluster:User 4101-4900.The Corresponding user is in six clusters:User 4901-5200.Wherein, user 1, user 2 ..., user 5200 be user mark Know.
It is then possible to the electricity consumption behavior to the user of each cluster carries out visual analyzing.Wherein, due to each cluster The electricity consumption behavior of user to carry out the mode of visual analyzing be identical, therefore below with the visual analyzing of the first cluster Illustrated exemplified by mode:
First, obtain each user's peak period power consumption daily in 2016 in the first cluster, usually section power consumption, Sharp period power consumption, paddy period power consumption.That is, respectively obtain user 1, user 2 ..., user 1500 in 2016 daily Peak period power consumption, usually section power consumption, sharp period power consumption and paddy period power consumption.
Then, calculate respectively all users in the first cluster 2016 January ..., the peak period electricity consumption in December it is total With, usually section power consumption summation, sharp period power consumption summation, and paddy period power consumption summation.It is of course also possible to by 2016 A default section is divided into, i.e., 2016 are a default section, in this kind of mode, need to only calculate in the first cluster and own User uses in the peak period electricity consumption summation of 2016, usually section power consumption summation, sharp period power consumption summation, and paddy period Electricity summation.
, can be to the use of user every month of the first cluster when wherein, due to being divided into 12 default sections by 2016 Electric situation is analyzed, it is, can the electricity consumption behavior to user and the relation between the time analyze, so as to obtain The time-varying attribute of the electricity consumption behavior of the user of one cluster.Therefore in this kind of mode, January, 2 in 2016 can also be calculated respectively Month ..., December, the peak period electricity consumption summation of all users, usually section electricity consumption summation, sharp period electricity consumption are total in the first cluster With, and paddy period electricity consumption summation.
Afterwards, for every month in 2016, can respectively with this month corresponding peak period power consumption summation, usually Section power consumption summation, sharp period power consumption summation, and paddy period power consumption summation divided by the total electricity consumption of this month, obtain the moon Corresponding first, second, third and fourth ratio.
And then can utilize this month corresponding total electricity consumption, first, second, third and fourth ratio, come determine this month it is right The visualization circle answered.Specifically, the total electricity consumption of this month be used for determine the visualization circle radius, wherein, this month it is total Power consumption is bigger, then this month corresponding visualization circle is bigger, i.e., total electricity consumption is directly proportional with the radius of visualization circle.Also, can With understanding, after radius is determined, then it can determine the corresponding circle of the radius, may then based on first, second, third The circle is divided into four subregions with the 4th ratio, wherein, the area of this four subregions is respectively with the area ratio of the circle should First, second, third and fourth ratio.
Wherein, the ratio between total electricity consumption and radius can be set as the case may be by those skilled in the art Fixed, it is not described here in detail.
, can be according to the first pre-set color to being divided by the first ratio-dependent after this month corresponding visualization circle is determined Area is rendered, the subregion by the second ratio-dependent is rendered according to the second pre-set color, according to the 3rd pre-set color Subregion by the 3rd ratio-dependent is rendered, and according to the 4th pre-set color to the subregion by the 4th ratio-dependent into Row renders.Wherein, in order to enable can be justified by the visualization to obtain middle of the month peak period power consumption summation, the usually section electricity consumption Summation, sharp period power consumption summation, and the magnitude relationship between paddy period power consumption summation are measured, can be by the first default face Color, the second pre-set color, the 3rd pre-set color and the 4th pre-set color are arranged to different colors.
Similarly, it can determine that other each clusters correspond to the every month in 2016 according to above-mentioned visual analyzing mode Visualization circle, and to it is each visualization circle four regions render, so as to obtain A areas user in 2016 User behavior visual analyzing figure.
It is thus possible to by size visually round in the visual analyzing figure, intuitively to show the institute of each cluster There is power consumption trend of the user at each month, and power consumption of the different users clustered in same January is distinguished.It is and it is possible to logical Cross the size shared by four subregions in visual circle, come be visually displayed in all users of each cluster each month peak, it is flat, Point and the electricity consumption distribution situation of four periods of paddy, and different cluster user in the peak of the same moon, flat, point and four, paddy The difference of the electricity consumption distribution situation of section.In this way, enable a technician to intuitively find out the electricity consumption trend of user in each cluster, And it can be seen that the electricity consumption behavioral difference of the user of different clusters, and then the electricity consumption behavioral difference of the user according to different clusters The service of differentiation is provided for the user of different clusters.
Certainly, in order to intuitively showing the electricity consumption day of the user each clustered in every month in visual analyzing figure Number situation.Can also in every month it is corresponding visualization circle periphery increase by one minor radius be r, the annulus that thickness is d;Its In, the maximum radius of visualization circle is less than minor radius r.Then, using corresponding electricity consumption number of days ratio every month, determine each Month corresponding annulus renders region, and renders field color based on default, and the region that renders of each circle is rendered.
Wherein, the area of the corresponding area for rendering region every month annulus corresponding with this month the ratio between be:This month right The electricity consumption number of days ratio answered.In addition, minor radius r and the numerical value of thickness d can be by those skilled in the art according to actual conditions Set, it is not described here in detail.The minor radius is the radius of the corresponding less circle of the annulus.The area of the annulus can lead to Cross minor radius r and thickness d is calculated, it is not described here in detail.
For example, can according to first cluster user in January, 2016 electricity consumption data:Whether used in the every day in January The power information of electricity, to determine the electricity consumption number of days in the January of each user in the first cluster.And then it is poly- to be calculated first Total electricity consumption number of days of all users in January in class.Then, the total number of users in total electricity consumption number of days divided by the first cluster is utilized 1500, each user is obtained in the first cluster in the average electricity consumption number of days in January.Then, it is averaged electricity consumption number of days divided by January using this Comprising number of days 31, obtain in the first cluster each user in corresponding electricity consumption number of days ratio in January.
Then, using corresponding electricity consumption number of days ratio in January, determine corresponding annulus in January renders region, wherein, January pair The area for rendering region answered and the area of the annulus the ratio between be:January corresponding electricity consumption number of days ratio.In this way, can be in circle The situation of user in the first cluster in the average electricity consumption number of days in January is intuitively shown in ring.Wherein, area is rendered in annulus Domain area is bigger, shows that average electricity consumption number of days of the user in the first cluster in 1 month is more.
It is of course also possible to be rendered to the non-region that renders of each annulus, this is rational.But it should ensure that and render Field color is differed with the non-field color that renders.
By above-mentioned user power utilization behavior visual analyzing mode, user behavior visualization as shown in Figure 2 can be obtained Analysis chart.
Referring to Fig. 2, each cluster is corresponding with a line visualization circle.Specifically.The corresponding the first row of first cluster is visual Change circle, the corresponding second row visualization circle of the second cluster ..., the corresponding 6th row visualization circle of the 6th cluster.It is also, each visual Four subregions for changing circle correspond to four kinds of different colors respectively.Wherein, paddy period corresponding subregion (i.e. the most deep region of color) Color gray value highest, usually the gray value of the color of the corresponding subregion of section (i.e. the most shallow region of color) is minimum, when sharp Gray value of the gray value of the color of the corresponding subregion of section higher than the color of peak period corresponding subregion.In addition, each visualization To render region, the relatively low region of gray value is in gray value higher region (i.e. the deeper region of color) in the corresponding annulus of circle It is non-to render region.
Intuitively find out as can be known from Fig. 2, for the user of the first cluster:In every month, 2016 corresponding annulus The higher region of gray value is all less, it is, the average electricity consumption number of days of user every month of the first cluster is all less, can see The user for going out the first cluster belongs to long-term non-electric user, so as to judge the corresponding region of the user of the first cluster for sky Put room.And the user of other clusters belongs to the user of long-term electricity consumption, also, the radius size by visualizing circle can be seen that 5th cluster user belong to high power consumption user, so as to judge the 5th cluster user it is corresponding be industry and commerce user. Furthermore it is also possible to by visualize the ratio shared by four subregions of circle can be seen that the user of each cluster peak, flat, point and The electricity consumption distribution situation of four periods of paddy.Wherein, the January in 2016,2 months ..., December is successively with as shown in Figure 2 Jan, Feb ..., Dec represents.
Furthermore it is also possible to the quantity based on user in each cluster, drafting obtains each cluster as shown in Figure 3 and corresponds to Number of users column diagram, and based on each total electricity consumption of user in every month in each cluster, drafting is obtained as in Fig. 3 The corresponding user power utilization box-shaped figure of shown each cluster.
Specifically, can be according to corresponding user in first cluster:User 1-1500;Corresponding use in second cluster Family:User 1501-3000;Corresponding user in 3rd cluster:User 3001-4000;Corresponding user in 4th cluster: User 4001-4100;Corresponding user in 5th cluster:User 4101-4900;Corresponding user in 6th cluster:With Family 4901-5200, drafting obtain number of users block diagram as shown in Figure 3.Wherein, the user's quantity block diagram can be directly perceived Ground shows the number of users in each cluster.
And it is possible to according to each total electricity consumption of the user in every month, 2016 in each cluster, to draw as in Fig. 3 The corresponding user power utilization box-shaped figure of shown each cluster.Wherein, the user's electricity consumption box figure can intuitively show first The electricity consumption distribution of the user of cluster is relatively more symmetrical and is inclined to low electric power consumption amount, shows that the total electricity consumption of each user is smaller.5th is poly- The electricity consumption distribution of the user of class is relatively more symmetrical and is inclined to high power consumption, shows that the total electricity consumption of each user is higher.Due to box-shaped Figure belongs to existing concept, thus the corresponding box-shaped figure of each cluster is not illustrated one by one herein.
It should be noted that the corresponding digital unit of scale (spends) (figure for kilowatt hour above box-shaped figure shown in Fig. 3 The unit not shown in 3), number of users block diagram shown in Fig. 3 can also be corresponding with scale and the corresponding numeral of scale and unit (not shown in Fig. 3).
It is understood that when user power utilization behavior visual analysis method provided in an embodiment of the present invention is applied to service During device, user terminal (such as computer) is should also contain in the Visualized Analysis System where the server.Wherein, the user's terminal It can show the left side as shown in Figure 4 and middle interface content.
Referring to Fig. 4, in one implementation, user input cable can number in circuit search box, and in electricity consumption The analysis based on cluster is selected in square frame under behavioural analysis, and it is 6 to set clusters number, should when user, which clicks on, to be clustered Server can receive the cable number, and each user of user behavior to be analyzed is determined using the cable number.And And obtain the electricity consumption data that is used to carry out cluster analysis of each user in 2016 and the electricity consumption for visual analyzing Data, visualize so as to obtain user behavior as shown in Fig. 4 the right, for the corresponding each user of the cable number Analysis chart, and the user's behavior visual analyzing figure is sent to user terminal and is shown.
In another implementation, user input transformer can number in taiwan area search box, and in electricity consumption behavior The analysis based on cluster is selected in square frame under analysis, and it is 6 to set clusters number, when user, which clicks on, to be clustered, the service Device can receive transformer numbering, and be numbered using the transformer to determine each user of user behavior to be analyzed.And And obtain the electricity consumption data that is used to carry out cluster analysis of each user in 2016 and the electricity consumption for visual analyzing Data, so as to it is shown in obtaining on the right of similar Fig. 4, for the corresponding each user of the cable number user behavior it is visual Change analysis chart, and the user's behavior visual analyzing figure is sent to user terminal and is shown.
In another implementation, the analysis based on cluster can be selected in the square frame only under electricity consumption behavioural analysis, And it is 6 to set clusters number, when user, which clicks on, to be clustered, which can be by default area:All users in A areas It is determined as each user of user behavior to be analyzed.Also, obtain each user in A areas to be used to carry out in 2016 The electricity consumption data of cluster analysis and the electricity consumption data for visual analyzing, so as to obtain shown in similar Fig. 4 the right, pin User behavior visual analyzing figure to each user for presetting area, and the user's behavior visual analyzing figure is sent to use Family terminal is shown.
In another implementation, rectangle or circle interested can be chosen in default map as shown in Figure 4 Shape region (i.e. selection region), and the analysis based on cluster is selected in the square frame under electricity consumption behavioural analysis, and cluster is set Number is 6, and when user, which clicks on, to be clustered, which can be determined as user's row to be analyzed by all users in selection region For each user.Also, obtain the electricity consumption that is used to carry out cluster analysis of each user in selection region in 2016 Data and the electricity consumption data for visual analyzing, so as to it is shown in obtaining on the right of similar Fig. 4, for interested each The user behavior visual analyzing figure of user, and the user's behavior visual analyzing figure is sent to user terminal and is shown.
In this way, the user of electricity consumption behavior to be analyzed can be determined according to the specific requirements of technical staff so that analyze More meet the expectation of user to user behavior visual analyzing figure.
In addition, the server can also determine each transformer included in above-mentioned selection region, and calculate each change Total electricity consumption of all users that depressor is covered in 2016.Also, based on the corresponding total electricity consumption of each transformer come really The shade value of the corresponding thermodynamic chart icon of the fixed transformer, and the color of the corresponding thermodynamic chart icon of each transformer is deep Shallow value is sent to user terminal, for the position display heat of each transformer in selection region of the user terminal on default map Try hard to icon.In this way, the position of each transformer in the selection region can be intuitively shown by thermodynamic chart icon, and Power consumption size of all users that each transformer is covered in 2016.
Also, when user terminal receives the click commands for a certain thermodynamic chart icon, user terminal can should The corresponding transformer numbering of thermodynamic chart icon is sent to server, so that server can determine the corresponding change of thermodynamic chart icon Total electricity consumption of each user covered under depressor in preset time period, and existed based on each user covered under the transformer Total electricity consumption in preset time period, draws user power utilization amount block diagram as shown in Figure 5, and by the user's power consumption block diagram User terminal is sent to be shown.
When a user identifier in user power utilization amount block diagram during user terminal is received for Fig. 5 (not shown in Fig. 5) During click commands, the user can be identified and be sent to server by user terminal, so that server can determine that the user identifies Corresponding user power consumption daily in 2016, and based on the user's power consumption daily in 2016, draw as shown in Figure 6 Electricity consumption curve map.
In addition, the server can also be according to the pre-set user type of each user in the selection region, by the selection User in region is divided into:High voltage customer, low pressure resident and the non-resident user of low pressure.Then, based in high voltage customer The number of users of the non-resident user of number of users, low pressure and the number of users of low pressure resident, it is corresponding to draw selection region User type classification pie chart as shown in Figure 7, and it is based respectively on high voltage customer, low pressure resident and the non-resident use of low pressure Each total electricity consumption of the user in 2016 in family, draws high voltage customer, low pressure resident and the non-resident user couple of low pressure The user power utilization box-shaped figure as shown in Figure 7 answered, and the user's power consumption block diagram and user power utilization box-shaped figure are sent to User terminal is shown.In this way, the selection can intuitively be shown by the user behavior visual analyzing figure shown in Fig. 7 The ratio of area mesohigh user, low pressure resident and the non-resident user of low pressure, and high voltage customer/low pressure resident/low Press the electricity consumption distribution situation of the user in non-resident user.
It should be noted that in order to improve the precision of analysis of user power utilization behavior visual analyzing, obtaining Cluster data can also carry out data cleansing, and utilize and clean with after visualization data to cluster data and visualization data The data arrived carry out visual analyzing.
Further it will be understood that work as user power utilization behavior visual analysis method application provided in an embodiment of the present invention When user terminal, then above-mentioned the step of being previously mentioned perform in the user terminal, this will not be repeated here.
Corresponding to above method embodiment, an embodiment of the present invention provides a kind of user power utilization behavior visual analyzing dress Put, referring to Fig. 8, which can include:
First obtains unit 801, the cluster result of each user for obtaining electricity consumption behavior to be analyzed;Wherein, cluster The result is that:The user's classification results analyzed based on default clustering algorithm, default clusters number and cluster data;Cluster data For:Each user in preset time period, electricity consumption data for carrying out cluster analysis;
Second obtaining unit 802, data are visualized for obtaining, wherein, visualization data are:Each user is when default Between in section, electricity consumption data for carrying out visual analyzing;Electricity consumption data for carrying out visual analyzing includes:Daily Peak period power consumption, usually section power consumption, sharp period power consumption, paddy period power consumption;
First computing unit 803, for based on cluster result and visualization data, calculating all users in each cluster Peak period power consumption summation in each default section of preset time period, usually section power consumption summation, sharp period power consumption Summation, and paddy period power consumption summation;
Second computing unit 804, for calculating, each corresponding first ratio of default section, second are compared in each cluster Example, the 3rd ratio and the 4th ratio, wherein, corresponding first ratio of default section, the second ratio, the 3rd ratio in a cluster It is respectively with the 4th ratio:The peak period power consumption summation of the section, usually section power consumption summation, sharp period electricity consumption in the cluster Amount summation and paddy period power consumption summation account for all users in the cluster and preset the ratio of the total electricity consumption of section at this respectively;
First determination unit 805, for determining each to preset the corresponding visualization circle of section in each cluster;Wherein, one The radius of the visualization circle of a default section is directly proportional to the corresponding total electricity consumption of the default section of this in the cluster in cluster, this can Include four subregions depending on changing circle, the area ratio that the area of four subregions is justified with the visualization is respectively:Should in the cluster Corresponding first ratio of default section, the second ratio, the 3rd ratio and the 4th ratio;
Rendering unit 806, for based on each default corresponding first ratio of section, the second ratio, the in each cluster Three ratios and the corresponding different pre-set colors of the 4th ratio, the four of circle is visualized to each default section is corresponding in each cluster A subregion is rendered, and obtains user behavior visual analyzing figure.
In embodiments of the present invention, the cluster result of each user of user behavior to be analyzed can be obtained, i.e. acquisition pair The classification results of each user, in this way, can based on each user in preset time period, electricity consumption number for cluster analysis According to obtaining the cluster belonging to each user.Wherein, a cluster is a classification.Furthermore it is possible to each user is obtained default Electricity consumption data in period, for carrying out visual analyzing, it is, each user can be obtained in preset time period Daily peak, flat, point and paddy period power consumption.
And it is possible to preset time period is divided into the default section of default quantity, then, for each cluster: Peak period power consumption summation of all users in the cluster in each default section can be calculated, usually section power consumption is total With, sharp period power consumption summation, and paddy period power consumption summation.And then the peak period that can calculate each default section is used Electricity summation, usually section power consumption summation, sharp period power consumption summation, and paddy period power consumption summation account for accordingly default section Total electricity consumption the first ratio, the second ratio, the 3rd ratio and the 4th ratio.Then, it is corresponding total with each default section Power consumption, the first ratio, the second ratio, the 3rd ratio and the 4th ratio, to determine accordingly to preset the corresponding visualization circle of section. And it is corresponding Bu Tong pre- with the 4th ratio to be based on each corresponding first ratio of default section, the second ratio, the 3rd ratio If color, corresponding four subregions for visualizing circle of each default section are rendered, obtain user behavior visual analyzing Figure.
In this way, can be by size visually round in the visual analyzing figure, intuitively to show the institute of each cluster There are power consumption trend of the user in each default section, and the different users clustered in the power consumption area of each default section Not.And it is possible to the size shared by by four subregions in visually justifying, exists to be visually displayed in all users of each cluster The peak of each default section, flat, point and the electricity consumption distribution situation of four periods of paddy, and the user of different clusters preset each The difference at the peak of section, flat, point and the electricity consumption distribution situation of four periods of paddy.In this way, enable a technician to intuitively find out The electricity consumption trend of user in each cluster, and can be seen that the electricity consumption behavioral difference of the user of different clusters.
Alternatively, can also include for carrying out the electricity consumption data of visual analyzing:Whether telecommunications is used in electricity consumption in one day Breath;In an embodiment of the present invention, rendering unit 806 can include:
First renders subelement, for based in each cluster each default corresponding first ratio of section, the second ratio, 3rd ratio and the corresponding different pre-set colors of the 4th ratio, to each presetting the corresponding visualization circle of section in each cluster Four subregions are rendered;
Increase subelement, for increasing a minor radius in the corresponding periphery for visualizing circle of each default section as r, thickness Spend the annulus for d;Wherein, the maximum radius of each visualization circle is less than minor radius r;
Computation subunit, for based on cluster result and power information, all users to be each pre- during calculating each clusters If the average electricity consumption number of days in section accounts for the electricity consumption number of days ratio that corresponding default section includes number of days;
Determination subelement, for based on the corresponding electricity consumption number of days ratio of section is each preset in each cluster, determining each Each the default corresponding annulus of section renders region in cluster, wherein, one default section is corresponding renders region in a cluster Area and annulus area the ratio between be:This in the cluster presets the corresponding electricity consumption number of days ratio of section;
Second renders subelement, and for rendering field color based on default, the area that renders of each annulus is rendered, Obtain user behavior visual analyzing figure.
Alternatively, in another embodiment of the invention, rendering unit 806 can include:
3rd renders subelement, for based in each cluster each default corresponding first ratio of section, the second ratio, 3rd ratio and the 4th ratio is corresponding does not have to pre-set color, to each corresponding visualization circle of default section in each cluster Four subregions are rendered;
First draws subelement, and for the quantity based on user in each cluster, drafting each clusters corresponding number of users Measure column diagram;
Second draws subelement, for based on each total electricity consumption of the user in preset time period in each cluster, painting System each clusters corresponding user power utilization box-shaped figure, obtains user behavior visual analyzing figure.
Alternatively, in embodiments of the present invention, described device can also include:
Second determination unit, for before the cluster result of each user of electricity consumption behavior to be analyzed is obtained, according to connecing Received cable number, determines each user of user behavior to be analyzed;Or, numbered according to the transformer received, determine to treat Analyze each user of user behavior;Or, according to the selection region on default map monitored, determine user's row to be analyzed For each user;
3rd determination unit, for determine each user in preset time period, electricity consumption for carrying out cluster analysis Data.
Alternatively, preset in the selection region on map and show thermodynamic chart icon;Wherein, a thermodynamic chart icon and one Position correspondence where a transformer;The shade of one thermodynamic chart icon is:Based on the corresponding transformation of thermodynamic chart icon Total electricity consumption of all users that device is covered in preset time period determines.
Alternatively, in embodiments of the present invention, which can also include:
4th determination unit, for when receiving the click commands for thermodynamic chart icon, determining the thermodynamic chart icon Total electricity consumption of each user covered under corresponding transformer in preset time period;
First drawing unit, for total electricity consumption based on each user covered under the transformer in preset time period Amount, draws user power utilization amount block diagram;
Second drawing unit, for working as the click commands received for a user identifier in user power utilization amount block diagram When, draw electricity consumption curve map of the corresponding user of user identifier in preset time period.
Alternatively, when each user is according to monitoring, when the selection region on default map determines, the device It can also include:
First determination unit, for the visualization data according to each user, determines each user in preset time period Total user's electricity;
Taxon, for the pre-set user type according to each user, the user determined is divided into:High pressure is used Family, low pressure resident and the non-resident user of low pressure;
3rd drawing unit, for based on the number of users in high voltage customer, the non-resident user of low pressure number of users and The number of users of low pressure resident, draws the corresponding user's classification pie chart of selection region.
Alternatively, in embodiments of the present invention, which can also include:
4th drawing unit, for the number of users based on the number of users in the high voltage customer, the non-resident user of low pressure Amount and the number of users of low pressure resident, draw the corresponding user type classification pie chart of the selection region.
What deserves to be explained is description is relatively simple as described in device embodiment, associated description refers to above method implementation The description of example.
Corresponding to the above method and device embodiment, the embodiment of the present invention additionally provides a kind of electronic equipment, including processing Device 901, communication interface 902, memory 903 and communication bus 904, wherein, processor 901, communication interface 902, memory 903 Mutual communication is completed by communication bus 904;
Memory 903, for storing computer program;
Processor 901, during for performing the program stored on memory, is realized in any of the above-described embodiment of the method Method and step.
In embodiments of the present invention, electronic equipment can obtain the cluster result of each user of user behavior to be analyzed, Obtain the classification results to each user, in this way, can based on each user in preset time period, for cluster analysis Electricity consumption data, obtain the cluster belonging to each user.Wherein, a cluster is a classification.Furthermore it is possible to obtain each use Family in preset time period, electricity consumption data for carrying out visual analyzing, it is, each user can be obtained default Daily peak, flat, point and paddy period power consumption in period.
And it is possible to preset time period is divided into the default section of default quantity, then, for each cluster: Peak period power consumption summation of all users in the cluster in each default section can be calculated, usually section power consumption is total With, sharp period power consumption summation, and paddy period power consumption summation.And then the peak period that can calculate each default section is used Electricity summation, usually section power consumption summation, sharp period power consumption summation, and paddy period power consumption summation account for accordingly default section Total electricity consumption the first ratio, the second ratio, the 3rd ratio and the 4th ratio.Then, it is corresponding total with each default section Power consumption, the first ratio, the second ratio, the 3rd ratio and the 4th ratio, to determine accordingly to preset the corresponding visualization circle of section. And it is corresponding Bu Tong pre- with the 4th ratio to be based on each corresponding first ratio of default section, the second ratio, the 3rd ratio If color, corresponding four subregions for visualizing circle of each default section are rendered, obtain user behavior visual analyzing Figure.
In this way, can be by size visually round in the visual analyzing figure, intuitively to show the institute of each cluster There are power consumption trend of the user in each default section, and the different users clustered in the power consumption area of each default section Not.And it is possible to the size shared by by four subregions in visually justifying, exists to be visually displayed in all users of each cluster The peak of each default section, flat, point and the electricity consumption distribution situation of four periods of paddy, and the user of different clusters preset each The difference at the peak of section, flat, point and the electricity consumption distribution situation of four periods of paddy.In this way, enable a technician to intuitively find out The electricity consumption trend of user in each cluster, and can be seen that the electricity consumption behavioral difference of the user of different clusters.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, controlling bus etc..For just Only represented in expression, figure with a thick line, it is not intended that an only bus or a type of bus.
Communication interface is used for the communication between above-mentioned electronic equipment and other equipment.
Memory can include random access memory (Random Access Memory, RAM), can also include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides a kind of readable storage medium storing program for executing, readable storage medium Matter memory contains computer program, and the side that any of the above-described embodiment of the method provides is realized when computer program is executed by processor Method step.
The computer program stored in readable storage medium storing program for executing provided in an embodiment of the present invention is held by the processor of electronic equipment After row, the cluster result of each user of user behavior to be analyzed can be obtained, that is, obtains the classification results to each user, this Sample, can based on each user in preset time period, electricity consumption data for cluster analysis, obtain belonging to each user Cluster.Wherein, a cluster is a classification.Furthermore it is possible to obtain each user in preset time period, for carry out can Depending on changing the electricity consumption data of analysis, it is, when can obtain each user peak daily in preset time period, flat, point and paddy Section power consumption.
And it is possible to preset time period is divided into the default section of default quantity, then, for each cluster: Peak period power consumption summation of all users in the cluster in each default section can be calculated, usually section power consumption is total With, sharp period power consumption summation, and paddy period power consumption summation.And then the peak period that can calculate each default section is used Electricity summation, usually section power consumption summation, sharp period power consumption summation, and paddy period power consumption summation account for accordingly default section Total electricity consumption the first ratio, the second ratio, the 3rd ratio and the 4th ratio.Then, it is corresponding total with each default section Power consumption, the first ratio, the second ratio, the 3rd ratio and the 4th ratio, to determine accordingly to preset the corresponding visualization circle of section. And it is corresponding Bu Tong pre- with the 4th ratio to be based on each corresponding first ratio of default section, the second ratio, the 3rd ratio If color, corresponding four subregions for visualizing circle of each default section are rendered, obtain user behavior visual analyzing Figure.
In this way, can be by size visually round in the visual analyzing figure, intuitively to show the institute of each cluster There are power consumption trend of the user in each default section, and the different users clustered in the power consumption area of each default section Not.And it is possible to the size shared by by four subregions in visually justifying, exists to be visually displayed in all users of each cluster The peak of each default section, flat, point and the electricity consumption distribution situation of four periods of paddy, and the user of different clusters preset each The difference at the peak of section, flat, point and the electricity consumption distribution situation of four periods of paddy.In this way, enable a technician to intuitively find out The electricity consumption trend of user in each cluster, and can be seen that the electricity consumption behavioral difference of the user of different clusters.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides a kind of computer program production comprising instruction Product, when it runs on an electronic device so that server performs:The method and step that any of the above-described embodiment of the method provides.
The computer program product provided in an embodiment of the present invention for including instruction, when it runs on an electronic device, makes The cluster result of each user of user behavior to be analyzed can be obtained by obtaining electronic equipment, that is, obtain the classification knot to each user Fruit, in this way, can based on each user in preset time period, electricity consumption data for cluster analysis, obtain each user Affiliated cluster.Wherein, a cluster is a classification.Furthermore it is possible to obtain each user in preset time period, be used for The electricity consumption data of visual analyzing is carried out, it is, each user peak daily in preset time period, flat, point can be obtained With paddy period power consumption.
And it is possible to preset time period is divided into the default section of default quantity, then, for each cluster: Peak period power consumption summation of all users in the cluster in each default section can be calculated, usually section power consumption is total With, sharp period power consumption summation, and paddy period power consumption summation.And then the peak period that can calculate each default section is used Electricity summation, usually section power consumption summation, sharp period power consumption summation, and paddy period power consumption summation account for accordingly default section Total electricity consumption the first ratio, the second ratio, the 3rd ratio and the 4th ratio.Then, it is corresponding total with each default section Power consumption, the first ratio, the second ratio, the 3rd ratio and the 4th ratio, to determine accordingly to preset the corresponding visualization circle of section. And it is corresponding Bu Tong pre- with the 4th ratio to be based on each corresponding first ratio of default section, the second ratio, the 3rd ratio If color, corresponding four subregions for visualizing circle of each default section are rendered, obtain user behavior visual analyzing Figure.
In this way, can be by size visually round in the visual analyzing figure, intuitively to show the institute of each cluster There are power consumption trend of the user in each default section, and the different users clustered in the power consumption area of each default section Not.And it is possible to the size shared by by four subregions in visually justifying, exists to be visually displayed in all users of each cluster The peak of each default section, flat, point and the electricity consumption distribution situation of four periods of paddy, and the user of different clusters preset each The difference at the peak of section, flat, point and the electricity consumption distribution situation of four periods of paddy.In this way, enable a technician to intuitively find out The electricity consumption trend of user in each cluster, and can be seen that the electricity consumption behavioral difference of the user of different clusters.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those Element, but also including other elements that are not explicitly listed, or further include as this process, method, article or equipment Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Also there are other identical element in process, method, article or equipment including the key element.
Each embodiment in this specification is described using relevant mode, identical similar portion between each embodiment Divide mutually referring to what each embodiment stressed is the difference with other embodiment.Especially for device, For electronic equipment embodiment, readable storage medium storing program for executing and computer program product, since it is substantially similar to embodiment of the method, institute With the fairly simple of description, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (10)

  1. A kind of 1. user power utilization behavior visual analysis method, it is characterised in that the described method includes:
    Obtain the cluster result of each user of electricity consumption behavior to be analyzed;Wherein, the cluster result is:Calculated based on default cluster User's classification results that method, default clusters number and cluster data are analyzed;The cluster data is:Each user exists Electricity consumption data in preset time period, for carrying out cluster analysis;
    Visualization data are obtained, wherein, the visualization data are:Each user in the preset time period, use In the electricity consumption data for carrying out visual analyzing;The electricity consumption data for being used to carry out visual analyzing includes:The daily peak period Power consumption, usually section power consumption, sharp period power consumption, paddy period power consumption;
    Based on the cluster result and the visualization data, all users in each cluster are calculated in the preset time period Each default section in peak period power consumption summation, usually section power consumption summation, sharp period power consumption summation, and during paddy Section power consumption summation;
    Calculate in each cluster and each preset corresponding first ratio of section, the second ratio, the 3rd ratio and the 4th ratio, its In, corresponding first ratio of default section, the second ratio, the 3rd ratio and the 4th ratio are respectively in a cluster:The cluster In the section peak period power consumption summation, usually section power consumption summation, sharp period power consumption summation, and paddy period power consumption Summation accounts for all users in the cluster and presets the ratio of the total electricity consumption of section at this respectively;
    Determine each to preset the corresponding visualization circle of section in each cluster;Wherein, in a cluster a default section visualization Round radius is directly proportional to the corresponding total electricity consumption of the default section of this in the cluster, and visualization circle includes four subregions, should The area ratio that the area of four subregions is justified with the visualization is respectively:Corresponding first ratio of the default section of this in the cluster, Second ratio, the 3rd ratio and the 4th ratio;
    Based on each corresponding first ratio of default section, the second ratio, the 3rd ratio and the 4th ratio correspond in each cluster Different pre-set colors, to each four subregions of the corresponding visualization circle of default section render in each cluster, obtain User behavior visual analyzing figure.
  2. 2. according to the method described in claim 1, it is characterized in that, the electricity consumption data for being used to carry out visual analyzing is also wrapped Include:In one day whether the power information of electricity consumption;
    It is described to preset corresponding first ratio of section, the second ratio, the 3rd ratio and the 4th ratio based on each in each cluster Corresponding difference pre-set color, to each four subregions of the corresponding visualization circle of default section render in each cluster, The step of obtaining user behavior visual analyzing figure, including:
    Based on each corresponding first ratio of default section, the second ratio, the 3rd ratio and the 4th ratio correspond in each cluster Different pre-set colors, to each four subregions of the corresponding visualization circle of default section render in each cluster;
    Periphery one minor radius of increase of the corresponding visualization circle of each default section be r, the annulus that thickness is d;Wherein, often The maximum radius of a visualization circle is less than the minor radius r;
    Based on the cluster result and the power information, it is flat in each default section to calculate all users in each cluster Equal electricity consumption number of days accounts for the electricity consumption number of days ratio that corresponding default section includes number of days;
    Based on the corresponding electricity consumption number of days ratio of section is each preset in each cluster, determine each to preset section pair in each cluster The annulus answered renders region, wherein, the face of a default corresponding area for rendering region of section and the annulus in a cluster It is the ratio between long-pending to be:This in the cluster presets the corresponding electricity consumption number of days ratio of section;
    Field color is rendered based on default, the area that renders of each annulus is rendered, obtains user behavior visual analyzing Figure.
  3. It is 3. according to the method described in claim 1, it is characterized in that, described based on each default section is corresponding in each cluster First ratio, the second ratio, the 3rd ratio and the corresponding different pre-set colors of the 4th ratio, to each preset areas in each cluster The step of four subregions of the corresponding visualization circle of section are rendered, obtain user behavior visual analyzing figure, including:
    Based on each corresponding first ratio of default section, the second ratio, the 3rd ratio and the 4th ratio correspond in each cluster Do not have to pre-set color, to each four subregions of the corresponding visualization circle of default section render in each cluster;
    Based on the quantity of user in each cluster, drafting each clusters corresponding number of users column diagram;
    Based on each total electricity consumption of the user in the preset time period in each cluster, drafting each clusters corresponding user Electricity consumption box-shaped figure, obtains user behavior visual analyzing figure.
  4. 4. according to the method described in claim 1, it is characterized in that, each user's for obtaining electricity consumption behavior to be analyzed Before the step of cluster result, the method further includes:
    According to the cable number received, each user of user behavior to be analyzed is determined;Or, compiled according to the transformer received Number, determine each user of user behavior to be analyzed;Or, according to the selection region on default map monitored, determine to treat Analyze each user of user behavior;
    Determine each user in preset time period, electricity consumption data for carrying out cluster analysis.
  5. 5. according to the method described in claim 4, it is characterized in that, show heating power in selection region on the default map Figure icon;Wherein, a thermodynamic chart icon and the position correspondence where a transformer;The shade of one thermodynamic chart icon It is:Total electricity consumption of all users covered based on the corresponding transformer of thermodynamic chart icon in the preset time period is true Surely obtain.
  6. 6. according to the method described in claim 5, it is characterized in that, the method further includes:
    When receiving the click commands for thermodynamic chart icon, determine to cover under the corresponding transformer of thermodynamic chart icon every Total electricity consumption of a user in the preset time period;
    Total electricity consumption based on each user covered under the transformer in the preset time period, draws user power utilization amount column Shape figure;
    When receiving for the click commands of a user identifier in the user power utilization amount block diagram, the user identifier is drawn Electricity consumption curve map of the corresponding user in the preset time period.
  7. 7. according to the method any one of claim 1-6, it is characterised in that when each user is that basis monitors , when the selection region on default map determines, the method further includes:
    According to the visualization data of each user, total user electricity of each user in the preset time period is determined;
    According to the pre-set user type of each user, the user determined is divided into:High voltage customer, low pressure resident and low Press non-resident user;
    User based on the number of users in the high voltage customer, the number of users of the non-resident user of low pressure and low pressure resident Quantity, draws the corresponding user type classification pie chart of the selection region.
  8. 8. the method according to the description of claim 7 is characterized in that the method further includes:
    Each user is based respectively in high voltage customer, low pressure resident and the non-resident user of low pressure in the preset time period Total electricity consumption, draw high voltage customer, low pressure resident and the corresponding user power utilization box-shaped figure of the non-resident user of low pressure.
  9. 9. a kind of user power utilization behavior visual analyzing device, it is characterised in that described device includes:
    First obtains unit, the cluster result of each user for obtaining electricity consumption behavior to be analyzed;Wherein, the cluster result It is:The user's classification results analyzed based on default clustering algorithm, default clusters number and cluster data;The cluster data For:Each user in preset time period, electricity consumption data for carrying out cluster analysis;
    Second obtaining unit, data are visualized for obtaining, wherein, the visualization data are:Each user is described Electricity consumption data in preset time period, for carrying out visual analyzing;The electricity consumption data for being used to carry out visual analyzing Including:Daily peak period power consumption, usually section power consumption, sharp period power consumption, paddy period power consumption;
    First computing unit, for based on the cluster result and the visualization data, the institute calculated in each cluster to be useful Peak period power consumption summation of the family in each default section of the preset time period, usually section power consumption summation, sharp period Power consumption summation, and paddy period power consumption summation;
    Second computing unit, for calculating, each corresponding first ratio of default section, the second ratio, the 3rd compare in each cluster Example and the 4th ratio, wherein, corresponding first ratio of default section, the second ratio, the 3rd ratio and the 4th ratio in a cluster Example be respectively:The peak period power consumption summation of the section in the cluster, usually section power consumption summation, sharp period power consumption summation with And paddy period power consumption summation accounts for all users in the cluster and presets the ratio of the total electricity consumption of section at this respectively;
    First determination unit, for determining each to preset the corresponding visualization circle of section in each cluster;Wherein, one in a cluster The radius of the visualization circle of default section is directly proportional to the corresponding total electricity consumption of the default section of this in the cluster, in visualization circle Including four subregions, the area ratio that the area of four subregions is justified with the visualization is respectively:This in the cluster presets section Corresponding first ratio, the second ratio, the 3rd ratio and the 4th ratio;
    Rendering unit, for based in each cluster each default corresponding first ratio of section, the second ratio, the 3rd ratio and The corresponding different pre-set colors of 4th ratio, in each cluster each four subregions of the corresponding visualization circle of default section into Row renders, and obtains user behavior visual analyzing figure.
  10. 10. a kind of electronic equipment, it is characterised in that including processor, communication interface, memory and communication bus, wherein, processing Device, communication interface, memory complete mutual communication by communication bus;
    Memory, for storing computer program;Processor, during for performing the program stored on memory, realizes right It is required that the method and step any one of 1-7.
CN201711288291.9A 2017-12-07 2017-12-07 A kind of user power utilization behavior visual analysis method, device and electronic equipment Pending CN108038178A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711288291.9A CN108038178A (en) 2017-12-07 2017-12-07 A kind of user power utilization behavior visual analysis method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711288291.9A CN108038178A (en) 2017-12-07 2017-12-07 A kind of user power utilization behavior visual analysis method, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN108038178A true CN108038178A (en) 2018-05-15

Family

ID=62095922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711288291.9A Pending CN108038178A (en) 2017-12-07 2017-12-07 A kind of user power utilization behavior visual analysis method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108038178A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112365174A (en) * 2020-11-16 2021-02-12 深圳供电局有限公司 Residential electricity distribution decision method and system based on electricity consumption behavior preference
CN113538058A (en) * 2021-07-23 2021-10-22 四川大学 Multi-level user portrait visualization method oriented to online shopping platform
CN115659228A (en) * 2022-12-26 2023-01-31 国网浙江省电力有限公司宁波供电公司 User electricity utilization stimulation method and system and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110261049A1 (en) * 2008-06-20 2011-10-27 Business Intelligence Solutions Safe B.V. Methods, apparatus and systems for data visualization and related applications
CN105184455A (en) * 2015-08-20 2015-12-23 国家电网公司 High dimension visualized analysis method facing urban electric power data analysis
CN106598988A (en) * 2015-10-16 2017-04-26 阿里巴巴集团控股有限公司 Data processing method and device
CN107248086A (en) * 2017-02-21 2017-10-13 国网江苏省电力公司南通供电公司 Advertisement putting aided analysis method based on user power utilization behavioural analysis

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110261049A1 (en) * 2008-06-20 2011-10-27 Business Intelligence Solutions Safe B.V. Methods, apparatus and systems for data visualization and related applications
CN105184455A (en) * 2015-08-20 2015-12-23 国家电网公司 High dimension visualized analysis method facing urban electric power data analysis
CN106598988A (en) * 2015-10-16 2017-04-26 阿里巴巴集团控股有限公司 Data processing method and device
CN107248086A (en) * 2017-02-21 2017-10-13 国网江苏省电力公司南通供电公司 Advertisement putting aided analysis method based on user power utilization behavioural analysis

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112365174A (en) * 2020-11-16 2021-02-12 深圳供电局有限公司 Residential electricity distribution decision method and system based on electricity consumption behavior preference
CN112365174B (en) * 2020-11-16 2023-08-25 深圳供电局有限公司 Residential electricity distribution decision-making method and system based on electricity consumption behavior preference
CN113538058A (en) * 2021-07-23 2021-10-22 四川大学 Multi-level user portrait visualization method oriented to online shopping platform
CN113538058B (en) * 2021-07-23 2023-04-07 四川大学 Multi-level user portrait visualization method oriented to online shopping platform
CN115659228A (en) * 2022-12-26 2023-01-31 国网浙江省电力有限公司宁波供电公司 User electricity utilization stimulation method and system and readable storage medium

Similar Documents

Publication Publication Date Title
CN110362894B (en) Distribution line and transformer comprehensive loss reduction and energy saving calculation analysis method and system
CN108038178A (en) A kind of user power utilization behavior visual analysis method, device and electronic equipment
US20180330328A1 (en) Interactive Organization Visualization Tools For Use in Analyzing Multivariate Human-Resource Data of Organizations
CN109947812A (en) Consecutive miss value fill method, data analysis set-up, terminal and storage medium
CN107784426A (en) Post distribution method, device and the equipment of a kind of employee
CN109242722B (en) Online monitoring method and system for line loss of transformer area and terminal equipment
CN108022043A (en) Abnormal electricity consumption behavior identification method and device and central server
CN107294093A (en) Electric power data analysis method, device and intelligent terminal based on K line charts
CN107728878A (en) Display methods, terminal and the computer-readable recording medium of application icon
US8560949B2 (en) Power grid visualization
CN108961250B (en) Target object statistical method, device, terminal and storage medium
CN109272237A (en) A kind of recognition methods of multiplexing electric abnormality, system and terminal device
CN115081414A (en) Spreadsheet generation method, device, equipment and medium based on data model
CN111128357A (en) Monitoring method and device for hospital logistics energy consumption target object and computer equipment
CN114331134A (en) Method and system for evaluating maturity of digital management capability of equipment
CN111046079A (en) Environmental parameter control method, device, equipment and storage medium
CN106528774A (en) Method and apparatus for predicting distribution network project management trend
CN117827933A (en) Power transaction data graph generation method and system
CN110266555A (en) Method for analyzing web site service request
CN112070400A (en) Method and device for evaluating security situation of power grid database
CN111158827A (en) Method and device for graphic configuration tool correlation calculation value information
CN112085344A (en) Equipment health analysis method and device and electronic equipment
Willis National Minorities and Regional Development: A Comparative Overview of the Three Baltic States
CN103399938B (en) The detection method of keyword quality score and device
Gerbec et al. A methodology to classify distribution load profiles

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180515