Power monitoring method and system
Technical field
The present invention relates to power monitoring technical field, more particularly to a kind of power monitoring method and system.
Background technology
Traditional electricity consumption situation monitoring system for household electrical appliances, can to the information such as power consumption, the run time of household electrical appliances into
Row statistics, and provide and remotely check electricity consumption situation.Normally, user can only understand the electricity consumption feelings in family by the monitoring system
Condition, then the electricity consumption situation in family is analyzed by artificial mode, judge whether multiplexing electric abnormality, accordingly carries out remote switch
Control.Judge whether multiplexing electric abnormality by artificial mode, on the one hand time-consuming effort, occupies quality time and the essence of user
Power, inefficiency;On the other hand, since subjective judgement is easy to be interfered by uncertain factors such as experience, intelligences, may cause
The accuracy of analytical judgment is not high, causes to judge by accident, such as normal electricity consumption is mistaken for abnormal electricity consumption, or by abnormal electricity consumption quilt
It is mistaken for normal electricity consumption, inconvenience is brought to user.
Invention content
For the drawbacks described above of the prior art, present invention mainly solves original electricity consumption situation monitoring systems cannot be accurate, high
The technical issues of effect ground monitoring multiplexing electric abnormality.
In order to solve the above technical problems, the present invention uses following technical scheme:
A kind of power monitoring method, includes the following steps:Detect the power consumption parameter of user's same day preset period of time, the same day
One day be continuous in several days;Obtain the power consumption parameter and the difference of basic parameter;Compare the difference and first in advance
If the size of threshold value;When the difference is more than first predetermined threshold value, judgement same day multiplexing electric abnormality;According to described continuous
The number of days of multiplexing electric abnormality is modified the basic parameter in several days;Above-mentioned steps, a period are executed periodically
For continuous several days.
Preferably, the number of days according to multiplexing electric abnormality in continuous several days is modified the basic parameter
Including:Obtain the number of days of multiplexing electric abnormality in continuous several days;Compare the number of days and preset number of days of the multiplexing electric abnormality
Size, the preset number of days are less than or equal to the continuous several days number of days;When the number of days of the multiplexing electric abnormality is more than
When the preset number of days, the basic parameter is modified to the power consumption parameter of daily preset period of time in the number of days of the multiplexing electric abnormality
Average value.
Preferably, the power consumption parameter is utilization voltage either electricity consumption electric current or electric power or electrical work temperature
Degree.
Preferably, after the difference for obtaining the power consumption parameter and basic parameter the step of, further include:Compare institute
State the size of difference and the second predetermined threshold value;When the difference is more than second predetermined threshold value, control switch disconnects electricity consumption
Circuit.
Preferably, described when the difference is more than first predetermined threshold value, on the day of judgement the step of multiplexing electric abnormality
Later, further include:The information of the multiplexing electric abnormality is uploaded into remote server, and/or the information of the multiplexing electric abnormality is sent
To the handheld terminal of the user, and/or control switch disconnection electric line.
Based on identical inventive concept, the present invention also provides a kind of power monitoring systems, including:Detection module, for examining
The power consumption parameter of user's same day preset period of time is surveyed, the same day is continuous one day in several days;Module is obtained, for obtaining
The difference of the power consumption parameter and basic parameter;First comparison module, for the big of the difference and the first predetermined threshold value
It is small;Determination module, for when the difference is more than first predetermined threshold value, judging same day multiplexing electric abnormality;Correcting module is used
The number of days of multiplexing electric abnormality is modified the basic parameter according to continuous several days;Cycle module, for week
It executes to phase above-mentioned detection module, obtain module, the first comparison module, determination module and correcting module, a period and be
Continuous several days.
Preferably, the correcting module includes:Obtaining unit, for obtaining multiplexing electric abnormality in continuous several days
Number of days;Comparing unit, for the multiplexing electric abnormality number of days and preset number of days size, the preset number of days be less than or
Equal to the continuous several days number of days;Amending unit is more than the preset number of days for the number of days when the multiplexing electric abnormality
When, the basic parameter is modified to the average value of the power consumption parameter of daily preset period of time in the number of days of the multiplexing electric abnormality.
Preferably, the power consumption parameter is utilization voltage either electricity consumption electric current or electric power or electrical work temperature
Degree.
Preferably, the system also includes:Second comparison module, for the big of the difference and the second predetermined threshold value
It is small;Control module, for when the difference is more than second predetermined threshold value, control to switch disconnection electric line.
Preferably, the system also includes:Execution module, for the information of the multiplexing electric abnormality to be uploaded remote service
Device, and/or the information of the multiplexing electric abnormality is sent to the handheld terminal of the user, and/or control switch disconnection electric wire
Road.
The advantageous effect of power monitoring method and system of the present invention includes:
The power monitoring method and system of the present invention, by the power consumption parameter of preset period of time on the day of detecting user, and by institute
Parameter is stated compared with basic parameter, judges whether multiplexing electric abnormality, user is not needed and electricity consumption is judged whether by artificial mode again
It is abnormal, not only save time and effort, improve inefficiency, and can to avoid by experience, user's intelligence etc. it is uncertain because
The interference of element ensures power monitoring accuracy.Outside it, the power consumption parameter of user's same day preset period of time is detected periodically, it will be described
Parameter judges whether the mode of multiplexing electric abnormality, and according to multiplexing electric abnormality in continuous several days compared with basic parameter
Number of days the basic parameter is modified, thus user power utilization custom change when, correct basic parameter in time, keep away
Exempt from electricity consumption being normally mistaken for multiplexing electric abnormality, is further ensured that the accuracy of power monitoring.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is a kind of flow chart for power monitoring method that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of step S15 in a kind of power monitoring method that the embodiment of the present invention one provides;
Fig. 3 is a kind of structural schematic diagram of power monitoring system provided by Embodiment 2 of the present invention;
Fig. 4 is the structural schematic diagram of correcting module M15 in a kind of power monitoring system provided by Embodiment 2 of the present invention.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached in the embodiment of the present invention
Figure, technical scheme in the embodiment of the invention is clearly and completely described.
Embodiment one
Fig. 1 shows a kind of power monitoring method provided in an embodiment of the present invention.As shown in Figure 1, the method includes with
Lower step:
The power consumption parameter of preset period of time, the same day are continuous one day in several days on the day of S11, detection user.Its
In, the preset period of time can be 0 point to 24 points any one period, for example, 0 point to 1 point either 0 point to 3 points or 0
Point 15 10 minutes to 5:, the preset period of time can also be set as at 0 point to 24 points by those of ordinary skill in the art as needed
Other times section, do not limit specifically here.The power consumption parameter can be utilization voltage either electricity consumption electric current or use
Electrical power or electrical work temperature, after user starts electricity consumption, utilization voltage, electricity consumption electric current, electric power and associated appliance
Operating temperature, can be detected by the means of the prior art.Continuous several days can be continuous 7 days, or
Continuous 30 days or 90 days continuous, described continuous several days can also be arranged as needed by those of ordinary skill in the art
For other consecutive days, do not limit specifically here.
S12, the difference for obtaining the power consumption parameter and basic parameter.Illustratively, the power consumption parameter is electric power.
The basic parameter can according to the user's history period daily the preset period of time electric power obtain.The wherein described history
Period is continuous several days before the same day, for example it is assumed that the same day is on 2 1st, 2015, then the period of history can
Think on January 31,25 days to 2015 January in 2015 or on January 29,23 days to 2015 January in 2015, this field is common
Technical staff can also the period of history be defined as the same day as needed before other continuous several days, here not
Make specific limitation.The basic parameter can be that the user daily preset period of time within the period of history uses electric work
The average value of rate, illustratively, it is assumed that the same day be on 2 1st, 2015, the period of history be on January 25th, 2015 extremely
On January 31st, 2015, then the basic parameter can be the user in continuous 7 days of on January 31, of 25 days to 2015 January in 2015
The average value of the interior electric power of the preset period of time daily.
The size of difference and the first predetermined threshold value described in S13, comparison.In one example, first predetermined threshold value is
The 10%-30% of the basic parameter.It should be noted that those of ordinary skill in the art can also be as needed, it will be described
First predetermined threshold value is set as other multiplying powers of the basic parameter, such as 15%-25%, for another example 9%-31% etc., here not
Make specific limitation.
S14, when the difference be more than first predetermined threshold value when, judgement the same day multiplexing electric abnormality.
S15, the basic parameter is modified according to the number of days of multiplexing electric abnormality in continuous several days.Such as Fig. 2
It is shown, it can specifically be realized by following steps:
S151, the number of days for obtaining multiplexing electric abnormality in continuous several days.It can specifically be obtained by the method for statistics
Obtain the number of days of multiplexing electric abnormality in continuous several days.
The size of the number of days of multiplexing electric abnormality and preset number of days described in S152, comparison.The preset number of days is less than or equal to
The continuous several days number of days.Illustratively, it is assumed that the continuous several days number of days are 7 days, then the default day
Number can be 7 days, 6 days, 5 days, 4 days, 3 days or 2 days.It should be noted that the preset number of days is preferably 7 days, 6 days, 5 days
Or 4 days, i.e., the described preset number of days is preferably the continuous several days half of number of days or more.
S153, when the number of days of the multiplexing electric abnormality is more than the preset number of days, the basic parameter is modified to described
The average value of the power consumption parameter of daily preset period of time in the number of days of multiplexing electric abnormality.It should be noted that default in step S153
Period is consistent with the preset period of time in the step S11.
S16, above-mentioned steps are executed periodically.One period is continuous several days.Specifically, show at one
In example, it is assumed that continuous several days are continuous 7 days, i.e. a period is a week.Within the first week, weight
The step S11- steps S14 is executed again until terminating in the first week;At the end of the first week, the step is executed
S15 is modified the basic parameter according to the number of days of multiplexing electric abnormality in the first week.Within the second week, then
The step S11- steps S14 is repeated until terminating in the second week;At the end of the second week, the step is executed
S15 is modified the basic parameter according to the number of days of multiplexing electric abnormality in the second week.It is worth noting that,
In two weeks, basic parameter is revised basic parameter at the end of the first week in the step S12.And so on,
Third week, the 4th week ... execute the step S11- steps S15 periodically.In yet another example, it is assumed that institute
It is one month to state continuous several days, i.e. a period is one month.In first month, the step is repeated
S11- steps S14 is until first month terminates;At the end of first month, the step S15 is executed, i.e., according in first month
The number of days of multiplexing electric abnormality is modified the basic parameter.In second month, repeats and execute the step S11- steps
S14 is until second month terminates;At the end of second month, the step S15 is executed, i.e., according to multiplexing electric abnormality in second month
Number of days the basic parameter is modified.It is worth noting that, in second month, basic parameter in the step S12
It is revised basic parameter at the end of first month.And so on, third month, execute periodically within the 4th month ... described in
Step S11- steps S15.It should be noted that continuous several days can also be a season, ordinary skill
Personnel can also set continuous several days to other consecutive days as needed, not illustrate one by one here.
According to the power monitoring method of the present embodiment, by the power consumption parameter of preset period of time on the day of detecting user, and by institute
Parameter is stated compared with basic parameter, judges whether multiplexing electric abnormality, user is not needed and electricity consumption is judged whether by artificial mode again
It is abnormal, not only save time and effort, improve inefficiency, and can to avoid by experience, user's intelligence etc. it is uncertain because
The interference of element ensures power monitoring accuracy.Outside it, the power consumption parameter of user's same day preset period of time is detected periodically, it will be described
Parameter judges whether the mode of multiplexing electric abnormality, and according to multiplexing electric abnormality in continuous several days compared with basic parameter
Number of days the basic parameter is modified, thus user power utilization custom change when, correct basic parameter in time, keep away
Exempt from electricity consumption being normally mistaken for multiplexing electric abnormality, is further ensured that the accuracy of power monitoring.
As preferred embodiment, as shown in Figure 1, described when the difference is more than first predetermined threshold value,
After the step S14 of judgement same day multiplexing electric abnormality, can also include:
S15 ', the information of the multiplexing electric abnormality is uploaded to remote server, and/or the information of the multiplexing electric abnormality is sent
To the handheld terminal of the user, and/or control switch disconnection electric line.The wherein described handheld terminal includes that hand-held calculates
Machine, desktop computer, mobile phone, personal digital assistant, smartwatch, intelligent glasses and the future may appear various intelligence
It can terminal.
By the way that the information of the multiplexing electric abnormality is uploaded remote server, not only contributes to user and pass through the remote service
The information of the multiplexing electric abnormality is analyzed in device inquiry, and is conducive to the departments such as public security and is realized data sharing, is determining for relevant departments
Plan provides data and supports;The information of the multiplexing electric abnormality is sent to the handheld terminal of the user, facilitates client to pass through carry-on
The tool that can be carried grasps household electricity abnormal conditions in time;Disconnection electric line is switched by control, effectively prevent electric wire
The accidents such as fire caused by closing etc. are forgotten in short circuit, household electrical appliance.
As preferred embodiment, as shown in Figure 1, in the difference for obtaining the power consumption parameter and basic parameter
After step after S12, can also include:
The size of S13 ', the difference and the second predetermined threshold value.Specifically, when the power consumption parameter is utilization voltage
When, second predetermined threshold value can be maximum utilization voltage;When the power consumption parameter is electricity consumption electric current, described second is default
Threshold value can be maximum electricity consumption electric current;When the power consumption parameter is electric power, second predetermined threshold value can be maximum
Electric power;When the power consumption parameter is the operating temperature of associated appliance, second predetermined threshold value can be the correlation
The maximum operation temperature of electric appliance.
S14 ', when the difference be more than second predetermined threshold value when, control switch disconnection electric line.Specifically, have
Body, when the power consumption parameter is utilization voltage, when the difference is more than maximum utilization voltage, control switch disconnects electricity consumption
Circuit;When the power consumption parameter is electricity consumption electric current, when the difference is more than maximum electricity consumption electric current, control switch disconnects electricity consumption
Circuit;When the power consumption parameter is electric power, when the difference is more than maximum electric power, control switch disconnects electricity consumption
Circuit;When the power consumption parameter is the operating temperature of associated appliance, when the difference is more than the maximum work of the associated appliance
When making temperature, control switch disconnection electric line.
Forget to close with electric overload, wire short-circuiting, household electrical appliance, show as more household electricity electric current or utilization voltage or
The operating temperature of person's electric power or associated appliance is excessive, by comparing the size of the difference and the second predetermined threshold value, works as institute
When stating difference more than second predetermined threshold value, control switch disconnection electric line, and then effectively dispose household electricity overload, electricity
Situations such as line short circuit, household electrical appliance are forgotten to close avoids causing the accidents such as fire.
Embodiment two
Fig. 3 shows a kind of power monitoring system provided in an embodiment of the present invention.As shown in figure 3, the system comprises:
Detection module M11, for the power consumption parameter of preset period of time on the day of detecting user, the same day is continuous several days
In one day.Wherein, the preset period of time can be 0 point to 24 points any one period, for example, 0 point to 1 point or 0 point
To 3 points or 0 point 15 10 minutes to 5:, the preset period of time can also be arranged as needed by those of ordinary skill in the art
For 0 point to 24 points of other times section, do not limit specifically here.The power consumption parameter can be utilization voltage or electricity consumption
Electric current either electric power or electrical work temperature, after user starts electricity consumption, utilization voltage, electricity consumption electric current, electric power with
And the operating temperature of associated appliance, it can be detected by the means of the prior art.Continuous several days can be to connect
Either continuous 30 days or 90 days continuous continuous 7 days, those of ordinary skill in the art can also as needed will it is described continuously
Several days are set as other consecutive days, do not limit specifically here.
Obtain module M12, the difference for obtaining the power consumption parameter and basic parameter.Illustratively, the electricity consumption ginseng
Number is electric power.The basic parameter can be obtained according to the electric power of the user's history period preset period of time daily
?.The wherein described period of history is continuous several days before the same day, for example it is assumed that the same day is 2 months 2015 1
Day, then the period of history can be on January 31,25 days to 2015 January in 2015 or 23 days to 2015 1 January in 2015
Months 29 days, the period of history can also be defined as other before the same day by those of ordinary skill in the art as needed
Continuous several days, do not limit specifically here.The basic parameter can for the user within the period of history daily institute
The average value of the electric power of preset period of time is stated, illustratively, it is assumed that the same day is on 2 1st, 2015, the period of history
For on January 31,25 days to 2015 January in 2015, then the basic parameter can be the user on January 25th, 2015 extremely
The average value of the electric power of the daily preset period of time in continuous 7 days of on January 31st, 2015.
First comparison module M13 is used for the size of the difference and the first predetermined threshold value.In one example, institute
State the 10%-30% that the first predetermined threshold value is the basic parameter.It should be noted that those of ordinary skill in the art can also
As needed, first predetermined threshold value is set to other multiplying powers of the basic parameter, such as 15%-25%, for another example
9%-31% etc., does not limit specifically here.
Determination module M14, for when the difference is more than first predetermined threshold value, judging same day multiplexing electric abnormality.
Correcting module M15, for according to the number of days of multiplexing electric abnormality in continuous several days to the basic parameter into
Row is corrected.Specifically, as shown in figure 4, the correcting module M15 includes:Obtaining unit M151, comparing unit M152 and amendment are single
First M153, wherein the obtaining unit M151 is used to obtain the number of days of multiplexing electric abnormality in continuous several days.Specifically may be used
The number of days of multiplexing electric abnormality in continuous several days is obtained in the method by statistics.The comparing unit M152 is for comparing
The number of days of the multiplexing electric abnormality and the size of preset number of days.The preset number of days is less than or equal to described continuous several days
Number of days, illustratively, it is assumed that the continuous several days number of days are 7 days, then the preset number of days can be 7 days, 6 days, 5
It, 4 days, 3 days or 2 days.It should be noted that the preset number of days is preferably 7 days, 6 days, 5 days or 4 days, i.e., it is described to state
Preset number of days is preferably the continuous several days half of number of days or more.The amending unit M153 is used to work as the use
When the number of days of electrical anomaly is more than the preset number of days, the basic parameter is modified in the number of days of the multiplexing electric abnormality pre- daily
If the average value of the power consumption parameter of period.
Cycle module M16, for executing above-mentioned module periodically, a period is continuous several days.
According to the power monitoring system of the present embodiment, by the power consumption parameter of preset period of time on the day of detecting user, and by institute
Parameter is stated compared with basic parameter, judges whether multiplexing electric abnormality, user is not needed and electricity consumption is judged whether by artificial mode again
It is abnormal, not only save time and effort, improve inefficiency, and can to avoid by experience, user's intelligence etc. it is uncertain because
The interference of element ensures power monitoring accuracy.Outside it, due to using the power consumption parameter of cycle detection user same day preset period of time,
By the parameter compared with basic parameter, judge whether the mode of multiplexing electric abnormality, and according to being used in continuous several days
The number of days of electrical anomaly is modified the basic parameter, thus when user power utilization custom changes, corrects benchmark in time
Parameter avoids electricity consumption being normally mistaken for multiplexing electric abnormality, is further ensured that the accuracy of power monitoring.
As preferred embodiment, as shown in figure 3, the system can also include:
Execution module M15 ', for the information of the multiplexing electric abnormality to be uploaded remote server, and/or it is the electricity consumption is different
Normal information is sent to the handheld terminal of the user, and/or control switch disconnection electric line.
By the way that the information of the multiplexing electric abnormality is uploaded remote server, not only contributes to user and pass through the remote service
The information of the multiplexing electric abnormality is analyzed in device inquiry, and is conducive to the departments such as public security and is realized data sharing, is determining for relevant departments
Plan provides data and supports;The information of the multiplexing electric abnormality is sent to the handheld terminal of the user, facilitates client to pass through carry-on
The tool that can be carried grasps household electricity abnormal conditions in time;Disconnection electric line is switched by control, effectively prevent electric wire
The accidents such as fire caused by closing etc. are forgotten in short circuit, household electrical appliance.
As preferred embodiment, as shown in figure 3, the system can also include:
Second comparison module M13 ', for the size of the difference and the second predetermined threshold value.Specifically, when the use
When electrical parameter is utilization voltage, second predetermined threshold value can be maximum utilization voltage;When the power consumption parameter is electricity consumption electricity
When stream, second predetermined threshold value can be maximum electricity consumption electric current;When the power consumption parameter is electric power, described second is pre-
If threshold value can be maximum electric power;When the power consumption parameter is the operating temperature of associated appliance, the second default threshold
Value can be the maximum operation temperature of the associated appliance.
Control module M14 ', it is used for when the difference is more than second predetermined threshold value, control switch disconnection electric wire
Road.Specifically, specifically, when the power consumption parameter is utilization voltage, when the difference is more than maximum utilization voltage, control
Switch disconnection electric line;When the power consumption parameter is electricity consumption electric current, when the difference is more than maximum electricity consumption electric current, control
Switch disconnection electric line;When the power consumption parameter is electric power, when the difference is more than maximum electric power, control
Switch disconnection electric line;When the power consumption parameter is the operating temperature of associated appliance, when the difference is more than the correlation
When the maximum operation temperature of electric appliance, control switch disconnection electric line.
Forget to close with electric overload, wire short-circuiting, household electrical appliance, show as more household electricity electric current or utilization voltage or
The operating temperature of person's electric power or associated appliance is excessive, by comparing the size of the difference and the second predetermined threshold value, works as institute
When stating difference more than second predetermined threshold value, control switch disconnection electric line, and then effectively dispose household electricity overload, electricity
Situations such as line short circuit, household electrical appliance are forgotten to close avoids causing the accidents such as fire.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment emphasis
What is illustrated is all difference from other examples, and the same or similar parts between the embodiments can be referred to each other.It is right
For system class embodiment, since it is basically similar to the method embodiment, so description is fairly simple, related place referring to
The part of embodiment of the method illustrates.
It the above is only presently preferred embodiments of the present invention, be not intended to limit the present invention in any form, although this
Invention is disclosed as above with preferred embodiment, and however, it is not intended to limit the invention, and those of ordinary skill in the art are not departing from
Within the scope of technical solution of the present invention, when the technology contents using the disclosure above make a little change or are modified to equivalent variations
Equivalent embodiment, as long as being without departing from technical solution of the present invention content, according to the technical essence of the invention to above example institute
Any simple modification, equivalent change and modification of work, in the range of still falling within technical solution of the present invention.