Summary of the invention
The present invention is based at least one above-mentioned technical problem, proposes a kind of new control program, passes through default temperature
Threshold value is spent, and real-time working temperature is compared with preset temperature threshold, is greater than or equal to default temperature in real-time working temperature
When spending threshold value, show that intelligent socket and/or electrical equipment are in abnormality, is less than preset temperature threshold in real-time working temperature
When, show that intelligent socket is in normal operating conditions, it is when in an abnormal state in intelligent socket and/or electrical equipment, it can pass through
Infrared shutdown command is sent to electrical equipment, and control electrical equipment shutdown realizes and detecting that intelligent socket and/or electricity consumption set
The function of automatic shutdown when standby abnormal, on the one hand, the operation risk for reducing intelligent socket and electrical equipment improves intelligence and inserts
The safety of seat, improves the usage experience of user, on the other hand, does not need to increase Wi-Fi module, in a non-networked state
Shutdown command can be sent, the production cost of electrical equipment is reduced.
In view of this, the invention proposes a kind of control methods, comprising: when electrical equipment is in operating status, detection
The real-time working temperature of intelligent socket;According to the relationship of real time temperature and preset temperature threshold, it is determined whether sent out to electrical equipment
Infrared shutdown command is sent, to control electrical equipment shutdown by infrared shutdown command.
In the technical scheme, when electrical equipment is in operating status, the real-time working temperature of intelligent socket is determined, this
When by preset temperature threshold, and real-time working temperature is compared with preset temperature threshold, is greater than in real-time working temperature
Or when being equal to preset temperature threshold, shows that intelligent socket and/or electrical equipment are in abnormality, be less than in real-time working temperature
When preset temperature threshold, show that intelligent socket is in normal operating conditions, is in abnormal shape in intelligent socket and/or electrical equipment
It, can be by sending infrared shutdown command to electrical equipment when state, control electrical equipment shutdown realizes and is detecting intelligent socket
And/or when electrical equipment exception automatic shutdown function, on the one hand, reduce the operation risk of intelligent socket and electrical equipment,
The safety of intelligent socket is improved, the usage experience of user is improved, on the other hand, does not need to increase Wi-Fi module, non-
Shutdown command can also be sent under connected state, reduce the production cost of electrical equipment.
Specifically, by the way that temperature detecting module is arranged in intelligent socket, the real-time working temperature of intelligent socket is detected, and
Real-time working temperature is compared with preset temperature threshold by processor, is detecting that it is default warm that real-time working temperature is greater than
When spending threshold value, triggering infrared module sends infrared shutdown command, and the entire shutdown process that controls is only in intelligent socket and electrical equipment
Between complete, do not need the control of third party's controlling terminal.
The real-time working temperature of intelligent socket can be detected by temperature sensor or thermistor as temperature detecting module
Degree.
In the above-mentioned technical solutions, it is preferable that according to the relationship of real time temperature and preset temperature threshold, it is determined whether Xiang Yong
Electric equipment sends infrared shutdown command, to control electrical equipment shutdown, specifically includes the following steps: detection real-time working temperature is
It is no to be greater than or equal to preset temperature threshold;When detecting that real-time working temperature is greater than or equal to preset temperature threshold, to electricity consumption
Equipment sends infrared shutdown command.
In the technical scheme, whether detection real-time working temperature is greater than or equal to preset temperature threshold, is detecting reality
When operating temperature be greater than or equal to the first temperature threshold when, show that intelligent socket or electrical equipment are in abnormality, lead at this time
It crosses to electrical equipment and sends infrared shutdown command, control electrical equipment shutdown prevents from generating safe thing since real time temperature is excessively high
Therefore influence the normal life of user.
In addition, detecting the real-time of electrical equipment when detecting that real-time working temperature is greater than or equal to preset temperature threshold
Whether power is exceptional value, for example realtime power is higher than the normal operating power of electrical equipment or is lower than normal operating power, i.e.,
When meeting real-time working temperature at the same time more than or equal to preset temperature threshold and realtime power value exception, just send infrared
Shutdown command can not send shutdown command, compared with above-mentioned technical proposal when only detecting working temperature abnormity, it is therefore prevented that by
Maloperation caused by error detection under the conditions of single improves the accuracy of detection, meets the use demand of user.
In any of the above-described technical solution, it is preferable that further include: detecting real-time working temperature less than preset temperature
When threshold value, the realtime power of electrical equipment is detected;Whether detection realtime power is greater than or equal to the first predetermined power threshold value;It is examining
When measuring realtime power more than or equal to the first predetermined power threshold value, according to preset transmission frequency, sent to electrical equipment red
Outer shutdown command;When detecting realtime power less than the first predetermined power threshold value, infrared shutdown command is not sent.
In the technical scheme, when detecting that real-time working temperature is less than preset temperature threshold, show intelligent socket
Real-time working temperature is normal, whether can be greater than or equal to first in advance by further detecting the realtime power of electrical equipment at this time
If power threshold, when detecting that realtime power is greater than or equal to the first predetermined power threshold value, show the work function of electrical equipment
Rate is excessive, i.e., electrical equipment is in abnormality, at this time by sending infrared shutdown command to electrical equipment, controls electrical equipment
Shutdown, to reduce the probability to cause the accident extremely due to electrical equipment.
Specifically, the first predetermined power threshold value is the highest routine work frequency of electrical equipment, is greater than the in realtime power
One then power threshold when, surface electrical equipment operation irregularity.
In any of the above-described technical solution, it is preferable that detecting real-time working temperature more than or equal to preset temperature
When threshold value, send infrared shutdown command to electrical equipment, specifically includes the following steps: detect real-time working temperature be greater than or
When equal to preset temperature threshold, according to preset transmission frequency, infrared shutdown command is sent to electrical equipment;Detect electrical equipment
The realtime power after prefixed time interval from sending infrared shutdown command for the first time;Whether detection realtime power is less than or equal to
Second predetermined power threshold value;When detecting that realtime power is less than or equal to the second predetermined power threshold value, stop sending infrared pass
Machine instruction.
In the technical scheme, when detecting that realtime power is greater than the second predetermined power threshold value, show non-normal shutdown,
It can continue to send shutdown command to electrical equipment, until shutting down successfully, realize user according to preset transmission frequency at this time
Understanding to cut-off operation information prevents user since electrical equipment is remotely closed in maloperation, further improves making for user
With experience.
Second predetermined power threshold value is used to characterize the whether in running order critical value of electrical equipment, is with air conditioner
Example, when the realtime power of air conditioner is less than or equal to 30W, can surface air conditioner do not rerun, can be pre- by second
If power threshold is set as 30W, the second predetermined power threshold value can also be set to above-mentioned most power saving with the fortune under power mode
Row power.
Furthermore it is also possible to by real-time after prefixed time interval of the detection intelligent socket from sending infrared shutdown command
Whether standby temperature is less than or equal to the second preset temperature threshold, to detect that it is pre- that real-time standby temperature is less than or equal to second
If when temperature threshold, sending infrared power-on instruction to electrical equipment, opened again with controlling electrical equipment by infrared power-on instruction
Machine realizes automatic shutdown and the unlatching that electrical equipment is controlled by intelligent socket, real-time standby after prefixed time interval
Temperature can fall after rise to less than or be equal to the second preset temperature threshold, on the one hand, show intelligent socket have good thermal diffusivity
Can, on the other hand, the real-time working temperature of intelligent socket is excessively high without influencing intelligent socket and electrical equipment just before showing
Perseverance energy can control electrical equipment booting again at this time, to improve the intelligent level of intelligent socket, simplify user
Operating procedure, improve the usage experience of user.
In any of the above-described technical solution, it is preferable that further include: detecting realtime power greater than the second predetermined power
When threshold value, generating device abnormal prompt information, to prompt user equipment abnormal.
In the technical scheme, when the realtime power for detecting electrical equipment is greater than the second preset temperature threshold, show
After prefixed time interval electrical equipment be still not turned off, in this case, by generating device abnormal prompt information, mention
Show user equipment exception, it is abnormal to facilitate user to be excluded in time according to abnormal conditions to intelligent socket or electrical equipment, so that intelligence
It can socket and electrical equipment continuation normal use.
Furthermore it is also possible to by the real-time standby temperature of detection intelligent socket, for example detecting the real-time of intelligent socket
Standby temperature be greater than the second preset temperature threshold when, show after prefixed time interval intelligent socket do not cool down normally,
In this case, by generating device abnormal prompt information, prompt user equipment abnormal, to facilitate user in time according to abnormal feelings
Condition excludes exception to intelligent socket or electrical equipment, so that intelligent socket and electrical equipment continue normal use.
It can wherein be reminded by optics indicator light or be reminded by issuing prompt tone, it can also be by will be prompted to
Information is sent to controlling terminal by wireless network, can also be by checking terminal with when user is not beside electrical equipment
Understand exception information.
According to a second aspect of the present invention, it is also proposed that a kind of intelligent socket, comprising: temperature detecting module is connected to processing
Device, for detecting the real-time working temperature of intelligent socket;Processor, for detecting real-time working temperature and preset temperature threshold
Relationship;Infrared module is connected to processor, for sending infrared shutdown command.
In the technical scheme, when electrical equipment is in operating status, the real-time working temperature of intelligent socket is determined, this
When by preset temperature threshold, and real-time working temperature is compared with preset temperature threshold, is greater than in real-time working temperature
Or when being equal to preset temperature threshold, shows that intelligent socket and/or electrical equipment are in abnormality, be less than in real-time working temperature
When preset temperature threshold, show that intelligent socket is in normal operating conditions, is in abnormal shape in intelligent socket and/or electrical equipment
It, can be by sending infrared shutdown command to electrical equipment when state, control electrical equipment shutdown realizes and is detecting intelligent socket
And/or when electrical equipment exception automatic shutdown function, on the one hand, reduce the operation risk of intelligent socket and electrical equipment,
The safety of intelligent socket is improved, the usage experience of user is improved, on the other hand, does not need to increase Wi-Fi module, non-
Shutdown command can also be sent under connected state, reduce the production cost of electrical equipment.
Specifically, by the way that temperature detecting module is arranged in intelligent socket, the real-time working temperature of intelligent socket is detected, and
Real-time working temperature is compared with preset temperature threshold by processor, is detecting that it is default warm that real-time working temperature is greater than
When spending threshold value, triggering infrared module sends infrared shutdown command, and the entire shutdown process that controls is only in intelligent socket and electrical equipment
Between complete, do not need the control of third party's controlling terminal.
The real-time working temperature of intelligent socket can be detected by temperature sensor or thermistor as temperature detecting module
Degree.
In the above-mentioned technical solutions, it is preferable that infrared module is also used to: detecting that real-time working temperature is greater than in processor
Or when being equal to preset temperature threshold, infrared shutdown command is sent to electrical equipment.
In the technical scheme, whether detection real-time working temperature is greater than or equal to preset temperature threshold, is detecting reality
When operating temperature be greater than or equal to the first temperature threshold when, show that intelligent socket or electrical equipment are in abnormality, lead at this time
It crosses to electrical equipment and sends infrared shutdown command, control electrical equipment shutdown prevents from generating safe thing since real time temperature is excessively high
Therefore influence the normal life of user.
In addition, detecting the real-time of electrical equipment when detecting that real-time working temperature is greater than or equal to preset temperature threshold
Whether power is exceptional value, for example realtime power is higher than the normal operating power of electrical equipment or is lower than normal operating power, i.e.,
When meeting real-time working temperature at the same time more than or equal to preset temperature threshold and realtime power value exception, just send infrared
Shutdown command can not send shutdown command, compared with above-mentioned technical proposal when only detecting working temperature abnormity, it is therefore prevented that by
Maloperation caused by error detection under the conditions of single improves the accuracy of detection, meets the use demand of user.
In any of the above-described technical solution, it is preferable that further include: power detection module is connected to processor, is used for
When processor detects that real-time working temperature is less than preset temperature threshold, the realtime power of detection trigger electrical equipment;Processor
It is also used to: the relationship of detection realtime power and the first predetermined power threshold value;Infrared module is also used to, and is detected in real time in processor
When power is greater than or equal to the first predetermined power threshold value, according to preset transmission frequency, infrared shutdown is sent to electrical equipment and is referred to
It enables.
In the technical scheme, when detecting that real-time working temperature is less than preset temperature threshold, show intelligent socket
Real-time working temperature is normal, whether can be greater than or equal to first in advance by further detecting the realtime power of electrical equipment at this time
If power, when detecting that realtime power is greater than or equal to the first predetermined power, show that the operating power of electrical equipment is excessive, i.e.,
Electrical equipment is in abnormality, at this time by sending infrared shutdown command, control electrical equipment shutdown, with drop to electrical equipment
The low probability to be caused the accident extremely due to electrical equipment.
Specifically, the first predetermined power threshold value is the highest routine work frequency of electrical equipment, is greater than the in realtime power
One then power threshold when, surface electrical equipment operation irregularity.
In any of the above-described technical solution, it is preferable that infrared module is also used to: detecting real-time working temperature in processor
When degree is greater than or equal to preset temperature threshold, according to preset transmission frequency, infrared shutdown command is sent to electrical equipment;Power
Detection module is also used to: the real-time function after prefixed time interval of the detection electrical equipment from sending infrared shutdown command for the first time
Rate;Processor is also used to: whether detection realtime power is less than or equal to the second predetermined power threshold value;Infrared module is also used to:
When processor detects that realtime power is less than or equal to the second predetermined power threshold value, stop sending infrared shutdown command.
In the technical scheme, when detecting that realtime power is greater than the second predetermined power threshold value, show non-normal shutdown,
It can continue to send shutdown command to electrical equipment, until shutting down successfully, realize user according to preset transmission frequency at this time
Understanding to cut-off operation information prevents user since electrical equipment is remotely closed in maloperation, further improves making for user
With experience.
Second predetermined power threshold value is used to characterize the whether in running order critical value of electrical equipment, is with air conditioner
Example, when the realtime power of air conditioner is less than or equal to 30W, can surface air conditioner do not rerun, can be pre- by second
If power threshold is set as 30W, the second predetermined power threshold value can also be set to above-mentioned most power saving with the fortune under power mode
Row power.
Furthermore it is also possible to by real-time after prefixed time interval of the detection intelligent socket from sending infrared shutdown command
Whether standby temperature is less than or equal to the second preset temperature threshold, to detect that it is pre- that real-time standby temperature is less than or equal to second
If when temperature threshold, sending infrared power-on instruction to electrical equipment, opened again with controlling electrical equipment by infrared power-on instruction
Machine realizes automatic shutdown and the unlatching that electrical equipment is controlled by intelligent socket, real-time standby after prefixed time interval
Temperature can fall after rise to less than or be equal to the second preset temperature threshold, on the one hand, show intelligent socket have good thermal diffusivity
Can, on the other hand, the real-time working temperature of intelligent socket is excessively high without influencing intelligent socket and electrical equipment just before showing
Perseverance energy can control electrical equipment booting again at this time, to improve the intelligent level of intelligent socket, simplify user
Operating procedure, improve the usage experience of user.
In any of the above-described technical solution, it is preferable that further include: cue module, for being detected in real time in processor
When power is greater than the second predetermined power threshold value, generating device abnormal prompt information, to prompt user equipment abnormal.
In the technical scheme, when the realtime power for detecting electrical equipment is greater than the second preset temperature threshold, show
After prefixed time interval electrical equipment be still not turned off, in this case, by generating device abnormal prompt information, mention
Show user equipment exception, it is abnormal to facilitate user to be excluded in time according to abnormal conditions to intelligent socket or electrical equipment, so that intelligence
It can socket and electrical equipment continuation normal use.
Furthermore it is also possible to by the real-time standby temperature of detection intelligent socket, for example detecting the real-time of intelligent socket
Standby temperature be greater than the second preset temperature threshold when, show after prefixed time interval intelligent socket do not cool down normally,
In this case, by generating device abnormal prompt information, prompt user equipment abnormal, to facilitate user in time according to abnormal feelings
Condition excludes exception to intelligent socket or electrical equipment, so that intelligent socket and electrical equipment continue normal use.
It can wherein be reminded by optics indicator light or be reminded by issuing prompt tone, it can also be by will be prompted to
Information is sent to controlling terminal by wireless network, can also be by checking terminal with when user is not beside electrical equipment
Understand exception information.
By above technical scheme, carried out by preset temperature threshold, and by real-time working temperature and preset temperature threshold
Compare, when real-time working temperature is greater than or equal to preset temperature threshold, shows that intelligent socket and/or electrical equipment are in abnormal
State shows that intelligent socket is in normal operating conditions, in intelligent socket when real-time working temperature is less than preset temperature threshold
And/or electrical equipment is when in an abnormal state, and it can be by sending infrared shutdown command to electrical equipment, control electrical equipment is closed
Machine realizes the function of the automatic shutdown when detecting intelligent socket and/or electrical equipment exception, on the one hand, reduce intelligence
The operation risk of socket and electrical equipment improves the safety of intelligent socket, improves the usage experience of user, another party
Face does not need to increase Wi-Fi module, can also send shutdown command in a non-networked state, reduce the production of electrical equipment
Cost.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real
Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application
Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also
To be different from implementing in a manner of third party described herein using third party, therefore, protection scope of the present invention is not by following
The limitation of disclosed specific embodiment.
Fig. 1 shows the schematic flow diagram of control method according to an embodiment of the invention.
As shown in Figure 1, control method according to an embodiment of the invention, comprising: step 102, at electrical equipment
When operating status, the real-time working temperature of intelligent socket is detected;Step 104, according to real time temperature and preset temperature threshold
Relationship, it is determined whether infrared shutdown command is sent to electrical equipment, to control electrical equipment shutdown by infrared shutdown command.
In the technical scheme, when electrical equipment is in operating status, the real-time working temperature of intelligent socket is determined, this
When by preset temperature threshold, and real-time working temperature is compared with preset temperature threshold, is greater than in real-time working temperature
Or when being equal to preset temperature threshold, shows that intelligent socket and/or electrical equipment are in abnormality, be less than in real-time working temperature
When preset temperature threshold, show that intelligent socket is in normal operating conditions, is in abnormal shape in intelligent socket and/or electrical equipment
It, can be by sending infrared shutdown command to electrical equipment when state, control electrical equipment shutdown realizes and is detecting intelligent socket
And/or when electrical equipment exception automatic shutdown function, on the one hand, reduce the operation risk of intelligent socket and electrical equipment,
The safety of intelligent socket is improved, the usage experience of user is improved, on the other hand, does not need to increase Wi-Fi module, non-
Shutdown command can also be sent under connected state, reduce the production cost of electrical equipment.
Specifically, by the way that temperature detecting module is arranged in intelligent socket, the real-time working temperature of intelligent socket is detected, and
Real-time working temperature is compared with preset temperature threshold by processor, is detecting that it is default warm that real-time working temperature is greater than
When spending threshold value, triggering infrared module sends infrared shutdown command, and the entire shutdown process that controls is only in intelligent socket and electrical equipment
Between complete, do not need the control of third party's controlling terminal.
The real-time working temperature of intelligent socket can be detected by temperature sensor or thermistor as temperature detecting module
Degree.
In the above-mentioned technical solutions, it is preferable that according to the relationship of real time temperature and preset temperature threshold, it is determined whether Xiang Yong
Electric equipment sends infrared shutdown command, to control electrical equipment shutdown, specifically includes the following steps: detection real-time working temperature is
It is no to be greater than or equal to preset temperature threshold;When detecting that real-time working temperature is greater than or equal to preset temperature threshold, to electricity consumption
Equipment sends infrared shutdown command.
In the technical scheme, whether detection real-time working temperature is greater than or equal to preset temperature threshold, is detecting reality
When operating temperature be greater than or equal to the first temperature threshold when, show that intelligent socket or electrical equipment are in abnormality, lead at this time
It crosses to electrical equipment and sends infrared shutdown command, control electrical equipment shutdown prevents from generating safe thing since real time temperature is excessively high
Therefore influence the normal life of user.
In addition, detecting the real-time of electrical equipment when detecting that real-time working temperature is greater than or equal to preset temperature threshold
Whether power is exceptional value, for example realtime power is higher than the normal operating power of electrical equipment or is lower than normal operating power, i.e.,
When meeting real-time working temperature at the same time more than or equal to preset temperature threshold and realtime power value exception, just send infrared
Shutdown command can not send shutdown command, compared with above-mentioned technical proposal when only detecting working temperature abnormity, it is therefore prevented that by
Maloperation caused by error detection under the conditions of single improves the accuracy of detection, meets the use demand of user.
In any of the above-described technical solution, it is preferable that further include: detecting real-time working temperature less than preset temperature
When threshold value, the realtime power of electrical equipment is detected;Whether detection realtime power is greater than or equal to the first predetermined power threshold value;It is examining
When measuring realtime power more than or equal to the first predetermined power threshold value, according to preset transmission frequency, sent to electrical equipment red
Outer shutdown command;When detecting realtime power less than the first predetermined power threshold value, infrared shutdown command is not sent.
In the technical scheme, when detecting that real-time working temperature is less than preset temperature threshold, show intelligent socket
Real-time working temperature is normal, whether can be greater than or equal to first in advance by further detecting the realtime power of electrical equipment at this time
If power threshold, when detecting that realtime power is greater than or equal to the first predetermined power threshold value, show the work function of electrical equipment
Rate is excessive, i.e., electrical equipment is in abnormality, at this time by sending infrared shutdown command to electrical equipment, controls electrical equipment
Shutdown, to reduce the probability to cause the accident extremely due to electrical equipment.
Specifically, the first predetermined power threshold value is the highest routine work frequency of electrical equipment, is greater than the in realtime power
One then power threshold when, surface electrical equipment operation irregularity.
In any of the above-described technical solution, it is preferable that detecting real-time working temperature more than or equal to preset temperature
When threshold value, send infrared shutdown command to electrical equipment, specifically includes the following steps: detect real-time working temperature be greater than or
When equal to preset temperature threshold, according to preset transmission frequency, infrared shutdown command is sent to electrical equipment;Detect electrical equipment
The realtime power after prefixed time interval from sending infrared shutdown command for the first time;Whether detection realtime power is less than or equal to
Second predetermined power threshold value;When detecting that realtime power is less than or equal to the second predetermined power threshold value, stop sending infrared pass
Machine instruction.
In the technical scheme, when detecting that realtime power is greater than the second predetermined power threshold value, show non-normal shutdown,
It can continue to send shutdown command to electrical equipment, until shutting down successfully, realize user according to preset transmission frequency at this time
Understanding to cut-off operation information prevents user since electrical equipment is remotely closed in maloperation, further improves making for user
With experience.
Second predetermined power threshold value is used to characterize the whether in running order critical value of electrical equipment, is with air conditioner
Example, when the realtime power of air conditioner is less than or equal to 30W, can surface air conditioner do not rerun, can be pre- by second
If power threshold is set as 30W, the second predetermined power threshold value can also be set to above-mentioned most power saving with the fortune under power mode
Row power.
Furthermore it is also possible to by real-time after prefixed time interval of the detection intelligent socket from sending infrared shutdown command
Whether standby temperature is less than or equal to the second preset temperature threshold, to detect that it is pre- that real-time standby temperature is less than or equal to second
If when temperature threshold, sending infrared power-on instruction to electrical equipment, opened again with controlling electrical equipment by infrared power-on instruction
Machine realizes automatic shutdown and the unlatching that electrical equipment is controlled by intelligent socket, real-time standby after prefixed time interval
Temperature can fall after rise to less than or be equal to the second preset temperature threshold, on the one hand, show intelligent socket have good thermal diffusivity
Can, on the other hand, the real-time working temperature of intelligent socket is excessively high without influencing intelligent socket and electrical equipment just before showing
Perseverance energy can control electrical equipment booting again at this time, to improve the intelligent level of intelligent socket, simplify user
Operating procedure, improve the usage experience of user.
In any of the above-described technical solution, it is preferable that further include: detecting realtime power greater than the second predetermined power
When threshold value, generating device abnormal prompt information, to prompt user equipment abnormal.
In the technical scheme, when the realtime power for detecting electrical equipment is greater than the second preset temperature threshold, show
After prefixed time interval electrical equipment be still not turned off, in this case, by generating device abnormal prompt information, mention
Show user equipment exception, it is abnormal to facilitate user to be excluded in time according to abnormal conditions to intelligent socket or electrical equipment, so that intelligence
It can socket and electrical equipment continuation normal use.
Furthermore it is also possible to by the real-time standby temperature of detection intelligent socket, for example detecting the real-time of intelligent socket
Standby temperature be greater than the second preset temperature threshold when, show after prefixed time interval intelligent socket do not cool down normally,
In this case, by generating device abnormal prompt information, prompt user equipment abnormal, to facilitate user in time according to abnormal feelings
Condition excludes exception to intelligent socket or electrical equipment, so that intelligent socket and electrical equipment continue normal use.
It can wherein be reminded by optics indicator light or be reminded by issuing prompt tone, it can also be by will be prompted to
Information is sent to controlling terminal by wireless network, can also be by checking terminal with when user is not beside electrical equipment
Understand exception information.
In conjunction with Fig. 2 and Fig. 3, the intelligent socket of the embodiment of the present invention is further described.
As shown in Figure 2 and Figure 3, the intelligent socket 200 of the embodiment of the present invention, comprising: temperature detecting module 202, connection
To processor 204, for detecting the real-time working temperature of intelligent socket 200;Processor 204, for detecting real-time working temperature
With the relationship of preset temperature threshold;Infrared module 206 is connected to processor 204, for sending infrared shutdown command.
In the technical scheme, when electrical equipment is in operating status, the real-time working temperature of intelligent socket 200 is determined
Degree at this time by preset temperature threshold, and real-time working temperature is compared with preset temperature threshold, in real-time working temperature
When more than or equal to preset temperature threshold, show that intelligent socket 200 and/or electrical equipment are in abnormality, in real-time working
When temperature is less than preset temperature threshold, show that intelligent socket 200 is in normal operating conditions, in intelligent socket 200 and/or electricity consumption
Equipment is when in an abnormal state, can be by sending infrared shutdown command to electrical equipment, and control electrical equipment shutdown realizes
The function of automatic shutdown when detecting intelligent socket 200 and/or electrical equipment exception, on the one hand, reduce intelligent socket 200 with
The operation risk of electrical equipment improves the safety of intelligent socket 200, improves the usage experience of user, on the other hand, no
It needs to increase Wi-Fi module, shutdown command can also be sent in a non-networked state, reduce the production cost of electrical equipment.
Specifically, by the way that temperature detecting module is arranged in intelligent socket, the real-time working temperature of intelligent socket is detected, and
Real-time working temperature is compared with preset temperature threshold by processor, is detecting that it is default warm that real-time working temperature is greater than
When spending threshold value, triggering infrared module sends infrared shutdown command, and the entire shutdown process that controls is only in intelligent socket and electrical equipment
Between complete, do not need the control of third party's controlling terminal.
The real-time of intelligent socket 200 can be detected by temperature sensor or thermistor as temperature detecting module 202
Operating temperature.
In the above-mentioned technical solutions, it is preferable that infrared module 206 is also used to: detecting real-time working temperature in processor 204
When degree is greater than or equal to preset temperature threshold, infrared shutdown command is sent to electrical equipment.
In the technical scheme, whether detection real-time working temperature is greater than or equal to preset temperature threshold, is detecting reality
When operating temperature be greater than or equal to the first temperature threshold when, show that intelligent socket 200 or electrical equipment are in abnormality, at this time
By sending infrared shutdown command to electrical equipment, control electrical equipment shutdown is prevented due to the excessively high generation safety of real time temperature
Accident influences the normal life of user.
In addition, detecting the real-time of electrical equipment when detecting that real-time working temperature is greater than or equal to preset temperature threshold
Whether power is exceptional value, for example realtime power is higher than the normal operating power of electrical equipment or is lower than normal operating power, i.e.,
When meeting real-time working temperature at the same time more than or equal to preset temperature threshold and realtime power value exception, just send infrared
Shutdown command can not send shutdown command, compared with above-mentioned technical proposal when only detecting working temperature abnormity, it is therefore prevented that by
Maloperation caused by error detection under the conditions of single improves the accuracy of detection, meets the use demand of user.
In any of the above-described technical solution, it is preferable that further include: power detection module 208 is connected to processor 204,
For processor 204 detect real-time working temperature be less than preset temperature threshold when, the real-time function of detection trigger electrical equipment
Rate;Processor 204 is also used to: the relationship of detection realtime power and the first predetermined power threshold value;Infrared module 206 is also used to,
When processor 204 detects that realtime power is greater than or equal to the first predetermined power threshold value, according to preset transmission frequency, to electricity consumption
Equipment sends infrared shutdown command.
In the technical scheme, when detecting that real-time working temperature is less than preset temperature threshold, show intelligent socket 200
Real-time working temperature it is normal, whether can be greater than or equal to first by further detecting the realtime power of electrical equipment at this time
Predetermined power shows that the operating power of electrical equipment is excessive when detecting that realtime power is greater than or equal to the first predetermined power,
I.e. electrical equipment is in abnormality, and at this time by sending infrared shutdown command to electrical equipment, control electrical equipment is shut down, with
Reduce the probability to cause the accident extremely due to electrical equipment.
Specifically, the first predetermined power threshold value is the highest routine work frequency of electrical equipment, is greater than the in realtime power
One then power threshold when, surface electrical equipment operation irregularity.
In any of the above-described technical solution, it is preferable that infrared module 206 is also used to: being detected in real time in processor 204
When operating temperature is greater than or equal to preset temperature threshold, according to preset transmission frequency, infrared shutdown is sent to electrical equipment and is referred to
It enables;Power detection module 208 is also used to: after prefixed time interval of the detection electrical equipment from sending infrared shutdown command for the first time
Realtime power;Processor 204 is also used to: whether detection realtime power is less than or equal to the second predetermined power threshold value;Infrared mould
Block 206 is also used to: when processor 204 detects that realtime power is less than or equal to the second predetermined power threshold value, stopping sending red
Outer shutdown command.
In the technical scheme, when detecting that realtime power is greater than the second predetermined power threshold value, show non-normal shutdown,
It can continue to send shutdown command to electrical equipment, until shutting down successfully, realize user according to preset transmission frequency at this time
Understanding to cut-off operation information prevents user since electrical equipment is remotely closed in maloperation, further improves making for user
With experience.
Second predetermined power threshold value is used to characterize the whether in running order critical value of electrical equipment, is with air conditioner
Example, when the realtime power of air conditioner is less than or equal to 30W, can surface air conditioner do not rerun, can be pre- by second
If power threshold is set as 30W, the second predetermined power threshold value can also be set to above-mentioned most power saving with the fortune under power mode
Row power.
Furthermore it is also possible to after by prefixed time interval of the detection intelligent socket 200 from sending infrared shutdown command
Whether real-time standby temperature is less than or equal to the second preset temperature threshold, to detect that real-time standby temperature is less than or equal to the
When two preset temperature thresholds, infrared power-on instruction is sent to electrical equipment, to control electrical equipment again by infrared power-on instruction
Secondary booting realizes automatic shutdown and the unlatching that electrical equipment is controlled by intelligent socket 200, the reality after prefixed time interval
When standby temperature can fall after rise to less than or be equal to the second preset temperature threshold, on the one hand, it is good to show that intelligent socket 200 has
Heat dissipation performance, on the other hand, before showing the real-time working temperature of intelligent socket 200 it is excessively high without influence intelligent socket 200
With the normal performance of electrical equipment, electrical equipment booting can be controlled again at this time, to improve the intelligence of intelligent socket 200
Change level, simplifies the operating procedure of user, improve the usage experience of user.
In any of the above-described technical solution, it is preferable that further include: cue module 210, for being detected in processor 204
When being greater than the second predetermined power threshold value to realtime power, generating device abnormal prompt information, to prompt user equipment abnormal.
In the technical scheme, when the realtime power for detecting electrical equipment is greater than the second preset temperature threshold, show
After prefixed time interval electrical equipment be still not turned off, in this case, by generating device abnormal prompt information, mention
Show user equipment exception, it is abnormal to facilitate user to be excluded in time according to abnormal conditions to intelligent socket 200 or electrical equipment, so that
Intelligent socket 200 and electrical equipment continue normal use.
Furthermore it is also possible to by the real-time standby temperature of detection intelligent socket 200, for example detecting intelligent socket 200
Real-time standby temperature when being greater than the second preset temperature threshold, show intelligent socket 200 is being not just after prefixed time interval
Often cooling by generating device abnormal prompt information, prompts user equipment abnormal, in this case to facilitate user timely
Exception is excluded to intelligent socket 200 or electrical equipment according to abnormal conditions, so that intelligent socket 200 and electrical equipment continue normally
It uses.
It can wherein be reminded by optics indicator light or be reminded by issuing prompt tone, it can also be by will be prompted to
Information is sent to controlling terminal by wireless network, can also be by checking terminal with when user is not beside electrical equipment
Understand exception information.
As shown in figure 3, being sent to processor, power after the real-time working temperature of temperature detecting module detection intelligent socket
Detection module determines the realtime power of electrical equipment, processor is according to temperature detection mould by the electric signal of acquisition electrical equipment
The testing result of block and the testing result of power detection module, triggering infrared module send shutdown command or stop triggering.
Fig. 4 shows the schematic flow diagram of control method according to another embodiment of the invention.
As shown in figure 4, control method according to another embodiment of the invention, comprising:
Step 402, the real-time working temperature of intelligent socket is detected;
Step 404, judge whether real-time working temperature is greater than or equal to preset temperature threshold, be "Yes" in judging result
When, 406 are entered step, when judging result is "No", terminates process;
Step 406, according to preset transmission frequency, infrared shutdown command is sent;
Step 408, judge whether realtime power is greater than or equal to predetermined power threshold value, when judging result is "Yes", return
Step 406 is returned, when judging result is "No", enters step 410;
Step 410, stop sending infrared shutdown command.
In the technical scheme, when detecting that realtime power is greater than predetermined power threshold value, show non-normal shutdown, at this time
It can continue to send shutdown command to electrical equipment, until shutting down successfully, realize user to pass according to preset transmission frequency
The understanding of machine operation information prevents user since electrical equipment is remotely closed in maloperation, and further improve user uses body
It tests.
Predetermined power threshold value is for characterizing the whether in running order critical value of electrical equipment, by taking air conditioner as an example,
The realtime power of air conditioner be less than or equal to 30W when, can surface air conditioner do not rerun, can be by predetermined power threshold value
Be set as 30W, predetermined power threshold value can also be set to above-mentioned most power saving with the operation power under power mode.
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, it is contemplated that how to promote intelligence in the related technology and inserts
The technical issues of safety of seat, the invention proposes a kind of new control programs, by preset temperature threshold, and by real-time work
Make temperature to be compared with preset temperature threshold, when real-time working temperature is greater than or equal to preset temperature threshold, shows intelligence
Socket and/or electrical equipment are in abnormality, when real-time working temperature is less than preset temperature threshold, show at intelligent socket
It is when in an abnormal state in intelligent socket and/or electrical equipment in normal operating conditions, it can be infrared by being sent to electrical equipment
Shutdown command, control electrical equipment shutdown, realizes the automatic shutdown when detecting intelligent socket and/or electrical equipment exception
Function, on the one hand, the operation risk for reducing intelligent socket and electrical equipment improves the safety of intelligent socket, improves
On the other hand the usage experience of user does not need to increase Wi-Fi module, can also send shutdown command in a non-networked state,
Reduce the production cost of electrical equipment.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.