CN107703892A - The control method and device of home appliance - Google Patents
The control method and device of home appliance Download PDFInfo
- Publication number
- CN107703892A CN107703892A CN201710818365.9A CN201710818365A CN107703892A CN 107703892 A CN107703892 A CN 107703892A CN 201710818365 A CN201710818365 A CN 201710818365A CN 107703892 A CN107703892 A CN 107703892A
- Authority
- CN
- China
- Prior art keywords
- current state
- user
- state
- monitoring data
- signal
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000012544 monitoring process Methods 0.000 claims abstract description 100
- 230000008859 change Effects 0.000 claims description 18
- 238000012806 monitoring device Methods 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 11
- 230000002238 attenuated effect Effects 0.000 claims description 4
- 238000013459 approach Methods 0.000 claims description 3
- 239000002699 waste material Substances 0.000 abstract description 7
- 238000004891 communication Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 239000000463 material Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
- G05B19/4183—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by data acquisition, e.g. workpiece identification
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Selective Calling Equipment (AREA)
Abstract
The present invention proposes a kind of control method and device of home appliance, wherein, method includes:Obtain the monitoring data for identifying user's status;According to the monitoring data, the current state of the user is identified;The duration of current state is monitored;If the duration reaches default threshold value, control home appliance is run according to operational factor corresponding to current state.Pass through this method, the accuracy of home appliance control can be improved, the control to home appliance is more conformed to the virtual condition of user, avoids home appliance from operating repeatedly, so as to save the energy, solves the problems, such as energy waste caused by the operation of home appliance frequent switching in the prior art.
Description
Technical Field
The invention relates to the technical field of smart home, in particular to a control method and device of household electrical appliances.
Background
With the development of the smart home technology, the control modes of the home appliances are also more and more diversified, for example, the home appliances are controlled by using an intelligent terminal, the home appliances are controlled by voice, and the switches of the home appliances are controlled according to the arrival or departure of a user.
At present, the method for controlling the on-off of the household electrical appliance according to the home-to-home or away state of a user has certain disadvantages. When a user leaves home and returns home, the household appliance can be frequently switched on and off, energy waste can be caused, the service life of the household appliance can be influenced, and the user experience is poor.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, a first objective of the present invention is to provide a method for controlling a home appliance, so as to monitor a duration of a current state of a user, so as to accurately determine the current state of the user, thereby controlling the home appliance to operate according to an operation parameter corresponding to the current state according to the current state, improving accuracy of controlling the home appliance, making control of the home appliance more conform to an actual state of the user, avoiding repeated operation of the home appliance, saving energy, and solving an energy waste problem caused by frequent switching operation of the home appliance in the prior art.
A second object of the present invention is to provide a control device for a home appliance.
A third object of the invention is to propose a computer device.
A fourth object of the invention is to propose a non-transitory computer-readable storage medium.
In order to achieve the above object, a first embodiment of the present invention provides a method for controlling a home appliance, including:
acquiring monitoring data for identifying the state of a user;
identifying the current state of the user according to the monitoring data;
monitoring the duration of the current state;
and if the duration reaches a preset threshold value, controlling the household appliance to operate according to the operation parameters corresponding to the current state.
According to the control method of the household appliance, the monitoring data used for identifying the state of the user is obtained, the current state of the user is identified according to the monitoring data, the duration time of the current state is monitored, and when the duration time reaches a preset threshold value, the household appliance is controlled to operate according to the operation parameters corresponding to the current state. Therefore, the accuracy of controlling the household electrical appliance can be improved, the control of the household electrical appliance is more in line with the actual state of a user, the repeated operation of the household electrical appliance is avoided, and the energy is saved. Compared with the prior art, the method and the device have the advantages that the duration of the current state is monitored, the current state of the user is determined according to the duration, the household appliance is controlled to operate according to the operating parameters corresponding to the current state, the judged user state is more accurate, the problem of repeated switching operation of the household appliance caused by misjudgment is avoided, and the problem of energy waste caused by frequent switching operation of the household appliance in the prior art can be solved.
In order to achieve the above object, a second aspect of the present invention provides a control device for a home appliance, including:
the acquisition module is used for acquiring monitoring data for identifying the state of a user;
the identification module is used for identifying the current state of the user according to the monitoring data;
the monitoring module is used for monitoring the duration of the current state;
and the control module is used for controlling the household appliance to operate according to the operation parameters corresponding to the current state when the duration reaches a preset threshold value.
The control device of the household appliance in the embodiment of the invention monitors the duration time of the current state by acquiring the monitoring data for identifying the state of the user and identifying the current state of the user according to the monitoring data, and controls the household appliance to operate according to the operation parameters corresponding to the current state when the duration time reaches the preset threshold value. Therefore, the accuracy of controlling the household electrical appliance can be improved, the control of the household electrical appliance is more in line with the actual state of a user, the repeated operation of the household electrical appliance is avoided, and the energy is saved. Compared with the prior art, the method and the device have the advantages that the duration of the current state is monitored, the current state of the user is determined according to the duration, the household appliance is controlled to operate according to the operating parameters corresponding to the current state, the judged user state is more accurate, the problem of repeated switching operation of the household appliance caused by misjudgment is avoided, and the problem of energy waste caused by frequent switching operation of the household appliance in the prior art can be solved.
In order to achieve the above object, a third embodiment of the present invention provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the control method of the home appliance according to the first embodiment when executing the computer program.
To achieve the above object, a fourth embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the control method for an electric home appliance according to the first embodiment.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart illustrating a method for controlling a home appliance according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for controlling a home appliance according to another embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for controlling a home appliance according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a control apparatus of a home appliance according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The following describes a method and an apparatus for controlling a home appliance according to an embodiment of the present invention with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a method for controlling a home device according to an embodiment of the present invention, where the method is executed by a terminal device, such as an intelligent terminal, for controlling the home device; the method can also be executed by household appliances, and the household appliances can be air conditioners, televisions and the like; but also by other devices such as robots, remote controls, etc. The method is performed by a home appliance as an example to illustrate the present invention, but the present invention is not limited thereto.
As shown in fig. 1, the method for controlling a home appliance includes the following steps:
step 101, acquiring monitoring data for identifying the state of a user.
In this embodiment, a method for controlling a home appliance provided by taking the home appliance as an execution subject will be explained. Specifically, a control module, a wireless communication module and a data processing module can be arranged in the household appliance, wherein the control module can control the household appliance to operate according to the operation parameters; the wireless communication module can realize wireless communication between household appliances and between the household appliances and other devices, such as WiFi communication, Bluetooth communication, ZigBee communication and the like; the data processing module can receive the monitoring data sent by the monitoring equipment, and determines matched operating parameters according to the monitoring data, so that the control module controls the household appliance to operate according to the operating parameters.
When the monitoring device monitors the monitoring data, the obtained monitoring data can be sent to the household appliance device in a wireless communication mode. The household appliance equipment acquires the monitoring data to identify the state of the user.
The monitoring data may be, but is not limited to, a first signal generated when a user moves within a monitoring range of the monitoring device, and a second signal generated when the user controls the on or off of the target object.
And 102, identifying the current state of the user according to the monitoring data.
In this embodiment, the monitoring data is not limited to one type, and may be, for example, a first signal generated when the user moves within the monitoring range of the monitoring device, a second signal generated when the user controls the opening or closing of the target object, a video, or the like. The monitoring data is not limited to one type of data, and may be a combination of two or more types of data.
For different monitoring data, the manner of identifying the current state of the user according to the monitoring data is also different, and detailed description will be specifically provided in the following content, and in order to avoid repeated description, too much description is not provided here.
And 103, monitoring the duration of the current state.
In practice, the user may repeatedly change states within a short period of time, and this repeatedly changing state condition causes the current state to be recognized as a temporary state. In this embodiment, the duration of the current state may be monitored, and specifically, the duration of the current state of the user may be monitored in a manner of continuously acquiring monitoring data. When the household appliance identifies the current state of the user according to the acquired monitoring data, the time at the moment is recorded, and timing is started from the moment when the current state is identified, so that the duration time of the current state is monitored.
And 104, if the duration reaches a preset threshold, controlling the household appliance to operate according to the operation parameters corresponding to the current state.
In this embodiment, the duration of the monitored current state is compared with a preset threshold in real time, when the duration reaches the preset threshold, it is indicated that the identified current state of the user is a stable state, which is relatively accurate, and further, when the duration of the current state exceeds the threshold, it is indicated that the user is currently in the current state all the time, a corresponding operation parameter can be obtained according to the current state, and the household appliance is controlled to operate according to the current operation parameter.
In practical application, a user may repeatedly change the state within a short period of time, and through monitoring the duration, the current state can be identified as a temporary state or a stable state, so as to finally determine the operating parameters of the household appliance. In the embodiment, the condition that the running parameters of the household appliance are changed along with the current state is avoided, so that the household appliance is controlled more intelligently and accurately.
In the method for controlling the household appliance of the embodiment, the monitoring data for identifying the state of the user is acquired, the current state of the user is identified according to the monitoring data, the duration of the current state is monitored, and when the duration reaches a preset threshold, the household appliance is controlled to operate according to the operating parameters corresponding to the current state. Therefore, the accuracy of controlling the household electrical appliance can be improved, the control of the household electrical appliance is more in line with the actual state of a user, the repeated operation of the household electrical appliance is avoided, and the energy is saved. Compared with the prior art, the method and the device have the advantages that the duration of the current state is monitored, the current state of the user is determined according to the duration, the household appliance is controlled to operate according to the operating parameters corresponding to the current state, the judged user state is more accurate, the problem of repeated switching operation of the household appliance caused by misjudgment is avoided, and the problem of energy waste caused by frequent switching operation of the household appliance in the prior art can be solved.
Fig. 2 is a flowchart illustrating a method for controlling a home appliance according to another embodiment of the present invention. As mentioned above, the implementation manner of identifying the current state of the user according to the monitoring data is different for different monitoring data, and the step 102 will be described in detail below by taking the monitoring data as the first signal generated when the user moves within the monitoring range of the monitoring device, where the specific process is as shown in fig. 2.
In step 201, the variation trend of the first signal is analyzed.
In this embodiment, the monitoring data is a first signal formed when the user moves within the monitoring range of the monitoring device, the corresponding monitoring device may be an infrared sensor, the infrared sensor may be installed on a door, and a wireless communication module is installed on the door, so as to implement wireless communication between the door and the household appliance.
In order to avoid the situation that the state of the user identified by the household appliance according to the monitoring data is inaccurate due to frequent change of the monitoring data caused by the movement of the user near the door, the infrared sensor can be arranged outside the door. The infrared sensor transmits infrared rays in real time and receives the infrared rays reflected back after the infrared rays are reflected at a human body, namely a first signal. It will be appreciated that the closer the human body is to the infrared sensor, the stronger the intensity of the first signal. Therefore, the state of the user can be judged according to the strength of the first signal. In practical applications, when the position between the user and the monitoring device changes, the monitoring data, i.e., the first signal, also changes. After the monitoring data is acquired, the variation trend of the first signal can be analyzed.
Step 202, when the change trend is that the signal intensity of the first signal is strengthened along with the increase of time, the user is determined to be gradually close to the monitoring device from a distance, and the user is identified to be in a home state.
And step 203, when the trend of change is that the signal intensity of the first signal is attenuated along with the increase of time, and the user is determined to be gradually far away from the monitoring equipment, identifying that the user is in the away state.
In this embodiment, according to a first signal formed when a user moves within a monitoring range of a monitoring device, a change trend of signal intensity in the first signal can be analyzed, and when it is analyzed that the signal intensity of the first signal becomes stronger along with the increase of time, it can be determined that the user gradually approaches the monitoring device from a distance, and it is recognized that the user is in a home state; when it is analyzed that the signal intensity of the first signal is attenuated as time increases, it is determined that the user is gradually away from the monitoring apparatus, and it is recognized that the user is in a state of leaving home.
It should be noted here that the monitoring device may also be a camera or other device, and may collect a video image, and may use an image formed by a human body in the video image as the first signal. Along with the closer to the camera of the human body, the area of the first signal in the whole image is larger, and the strength of the first signal is higher, so that the state of the user can be judged according to the strength of the image corresponding to the human body in the video image.
The control method of the household appliance equipment of the embodiment identifies the state of the user according to the change trend of the signal intensity in the first signal along with the time by analyzing the change trend of the first signal, has certain reliability, and lays a foundation for accurately adjusting the operation parameters of the household appliance equipment according to the state of the user.
Step 102 will be described in detail below with respect to an example in which the monitoring data is a first signal generated when the user moves within the monitoring range of the monitoring device:
when the monitoring data is a second signal generated when the user controls the opening or closing of the target object, in this embodiment, the target object may be a door lock, and thus, the second signal may be a door opening signal or a door closing signal generated when the user controls the opening or closing of the door lock. The corresponding monitoring equipment is a sensor arranged on the door lock, and can detect a door opening signal generated when the door lock is opened and a door closing signal generated when the door lock is closed. When the user controls the door lock to be opened, the user can be considered to go home; when the user locks the door, the user may be considered away from home. Therefore, in the embodiment of the invention, the state of the user can be identified according to the operations of opening and closing the door lock by the user.
Specifically, identifying the current state of the user according to a second signal formed when the user controls the opening or closing of the target object may include: and determining the current state of the user according to the value of the second signal. The value of the second signal can be preset, for example, the values of the second signal can be set to 0 and 1, and when the value of the second signal is set to 0, it indicates that the user controls the door lock to be opened, and the user is at home; when the value of the second signal is set to be 1, the user is indicated to control the door lock to be closed, and the user is in a leaving state. And then, after the household appliance receives the monitoring data, the current state of the user can be identified according to the value of the second signal.
Further, when the monitoring data is a second signal formed when the user controls the opening or closing of the target object, after the current state of the user is recognized according to the second signal, the duration of the current state may be monitored. Specifically, the time may be counted from the time when the second signal is acquired, and the duration of the current state may be counted.
Generally, when a user opens a door to enter a house, the user usually does not lock the door with a key after entering the house, but only closes the door at any time; when a user goes out, the door is usually locked by a key to ensure safety. Therefore, the values of the two adjacent second signals are respectively formed when the user controls the door lock to be opened and closed. And when the current state of the user is recognized as the home state according to the second signal, recording the time at the moment, starting timing from the recorded time, and counting the duration of the current home state.
When it needs to be described here, the monitoring data may also include a first signal and a second signal at the same time, and when the signal intensity in the first signal gradually increases and the value of the second signal indicates that the user controls the target object to be turned on, it is recognized that the user is currently at home; when the signal intensity in the first signal is gradually weakened and the value of the second signal indicates that the user controls the target object to be closed, the user is identified to be in the state away from the home, so that the identification accuracy of the user state is further improved.
Fig. 3 is a flowchart illustrating a method for controlling a home appliance according to another embodiment of the present invention.
As shown in fig. 3, the method for controlling a home device may include the steps of:
step 301, acquiring monitoring data for identifying the state of the user.
Step 302, identifying the current state of the user according to the monitoring data.
It should be noted that, in the present embodiment, for the descriptions of step 301 to step 302, reference may be made to the description of related contents in the foregoing embodiments, and the implementation principle is similar, and is not described herein again.
Step 303, starting timing when the user is identified to be in the current state, and counting the duration of the current state.
In this embodiment, a timer may be further set in the home appliance device, and when the home appliance device identifies the current state of the user according to the acquired monitoring data, the timer is started to start timing. The household appliance continues to acquire the monitoring data and identifies the state of the user corresponding to the monitoring data, when the state different from the current state of the user is identified, the timer stops timing, and the time displayed after the timer stops timing is the duration of the current state.
As an example, when the monitoring data is a first signal formed when the user moves within the monitoring range of the monitoring device, timing is started after the current state of the user is identified according to the acquired first signal, the monitoring data is continuously acquired, when the monitoring data carrying the first signal is acquired again, the variation trend of the signal intensity of the first signal is analyzed, whether the variation trend of the current first signal is consistent with the variation trend when the current state is identified is compared, if the variation trends of the signal intensities of the two first signals are consistent, it is indicated that the user states identified twice are the same, and timing is continuously performed; and if the change trends of the signal intensity of the two first signals are inconsistent, stopping timing, wherein the counted time length is the duration of the current state. When the change trends of the signal strengths of the two first signals are inconsistent, the current state can be updated, for example, the current state is the home state, and if the change trend of the signal strength of the first signal in the subsequently acquired monitoring data is inconsistent with the change trend of the signal strength of the first signal identified as the home state, the current state is updated to the away state.
And 304, if the duration reaches a preset threshold, controlling the household appliance to operate according to the operation parameters corresponding to the current state.
Specifically, the household appliance may compare the duration of the current state with a preset threshold in real time, and if the duration of the current state is greater than or equal to the preset threshold, identify the current state as a stable state, obtain an operation parameter corresponding to the current state, and control the household appliance to operate according to the operation parameter; and if the duration of the current state is less than a preset threshold, identifying the current state as a temporary state, maintaining the current operating parameters of the household appliance, and updating the current state by using the last identified state.
For example, the current state is a home state, and if a time interval (duration of the home state) from the recognition that the user is in the home state to the recognition that the user is in the away state is smaller than a preset threshold, the home state is a temporary state, the home appliance device still operates according to the corresponding operating parameter when the user is in the away state, and the current state is updated to the away state.
According to the control method of the household appliance, the time is counted when the user is identified to be in the current state, the duration of the current state is counted, the duration is compared with the preset threshold, the state of the user and the corresponding operation parameters are determined according to the comparison result, the household appliance is controlled to operate according to the operation parameters, the identification accuracy of the state of the user can be improved, the matching degree of the operation parameters of the household appliance and the actual state of the user is further ensured, and the user experience is improved.
In order to implement the foregoing embodiment, the present invention further provides a control device of a home appliance, and fig. 4 is a schematic structural diagram of the control device of the home appliance according to an embodiment of the present invention.
As shown in fig. 4, the control device 30 of the home appliance includes: an acquisition module 310, an identification module 320, a monitoring module 330, and a control module 340. Wherein,
the obtaining module 310 is configured to obtain monitoring data for identifying a state of a user.
And the identifying module 320 is used for identifying the current state of the user according to the monitoring data.
As an example, when the monitoring data is a first signal formed when the user moves within the monitoring range of the monitoring device, the identification module 320 is specifically configured to identify that the user is in a home state when it is determined that the user gradually approaches the monitoring device from a far distance as the signal strength of the first signal is increased with the increase of time; and when the signal intensity of the first signal is analyzed to be attenuated along with the increase of time, and the user is determined to be away from the monitoring equipment gradually, the user is identified to be in the away-from-home state.
As another example, when the monitoring data is a second signal formed when the user controls the on or off of the target object, the identifying module 320 is specifically configured to determine the current state of the user according to a value of the second signal.
And the monitoring module 330 is configured to monitor a duration of the current state.
Specifically, the monitoring module 330 is configured to count the duration of the current state by counting the time from when the user is identified as being in the current state.
As an example, when the monitoring data is a first signal generated when the user moves within the monitoring range of the monitoring device, the monitoring module 330 is specifically configured to continuously collect the monitoring data; when the monitoring data carrying the first signal is obtained again, analyzing the change trend of the signal intensity of the first signal; comparing whether the change trend of the current first signal is consistent with the change trend in the current state; if the two changing trends are not consistent, the timing is stopped, and/or the current state is updated.
As another example, when the monitoring data is a second signal formed when the user controls the target object to be turned on or off, the monitoring module 330 is specifically configured to count the duration of the current state corresponding to the second signal by starting timing from the time when the second signal is acquired.
And the control module 340 is configured to control the home appliance to operate according to the operation parameter corresponding to the current state when the duration reaches a preset threshold.
Specifically, the control module 340 is configured to compare the duration of the current state with a preset threshold in real time, identify the current state as a stable state if the duration of the current state is greater than or equal to the preset threshold, acquire an operation parameter corresponding to the current state, and control the home appliance device to operate according to the operation parameter; and if the duration of the current state is less than a preset threshold, identifying the current state as a temporary state, maintaining the current operating parameters of the household appliance, and updating the current state by using the last identified state.
It should be noted that the foregoing explanation of the embodiment of the control method for a home appliance is also applicable to the control apparatus for a home appliance in this embodiment, and the implementation principle is similar, and is not repeated here.
The control device of the household appliance in this embodiment identifies the current state of the user according to the monitoring data by acquiring the monitoring data for identifying the state of the user, monitors the duration of the current state, and controls the household appliance to operate according to the operation parameters corresponding to the current state when the duration reaches a preset threshold. Therefore, the accuracy of controlling the household electrical appliance can be improved, the control of the household electrical appliance is more in line with the actual state of a user, the repeated operation of the household electrical appliance is avoided, and the energy is saved. Compared with the prior art, the method and the device have the advantages that the duration of the current state is monitored, the current state of the user is determined according to the duration, the household appliance is controlled to operate according to the operating parameters corresponding to the current state, the judged user state is more accurate, the problem of repeated switching operation of the household appliance caused by misjudgment is avoided, and the problem of energy waste caused by frequent switching operation of the household appliance in the prior art can be solved.
In order to implement the foregoing embodiment, the present invention further provides a computer device, and fig. 5 is a schematic structural diagram of the computer device according to an embodiment of the present invention.
As shown in fig. 5, the computer device 40 includes: a memory 401, a processor 402 and a computer program 403 stored in the memory 401 and executable on the processor 402, wherein the processor 402 implements the control method of the home appliance according to the foregoing embodiment when executing the computer program 403.
In order to implement the foregoing embodiments, the present invention also proposes a non-transitory computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the control method of the home appliance as described in the foregoing embodiments.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
Claims (12)
1. A method for controlling a home appliance, comprising:
acquiring monitoring data for identifying the state of a user;
identifying the current state of the user according to the monitoring data;
monitoring the duration of the current state;
and if the duration reaches a preset threshold value, controlling the household appliance to operate according to the operation parameters corresponding to the current state.
2. The method of claim 1, wherein the monitoring data is a first signal generated when the user moves within a monitoring range of a monitoring device, and identifying the current state of the user based on the monitoring data comprises:
and when the analyzed signal intensity of the first signal becomes stronger along with the increase of time, determining that the user gradually approaches to the monitoring equipment from a distance, and recognizing that the user is in a home state.
3. The method of claim 2, wherein identifying the current state of the user based on the monitoring data comprises:
and when the fact that the signal intensity of the first signal is attenuated along with the increase of time is analyzed, the user is determined to be away from the monitoring equipment gradually, and the user is identified to be in a leaving state.
4. The method of claim 1, wherein monitoring the duration of the current state comprises:
and starting timing when the user is identified to be in the current state, and counting the duration of the current state.
5. The method of claim 4, wherein if the duration reaches a preset threshold, controlling the home appliance to operate according to an operation parameter corresponding to the current state comprises:
comparing the duration of the current state with the preset threshold in real time;
if the duration of the current state is greater than or equal to the preset threshold, identifying the current state as a stable state, and acquiring the operation parameters corresponding to the current state;
and controlling the household appliance to operate according to the operation parameters.
6. The method of claim 5, further comprising:
and if the duration of the current state is less than the preset threshold, identifying the current state as a temporary state, maintaining the current operating parameters of the household appliance, and updating the current state by using the last identified state.
7. The method of claim 4, further comprising:
continuously collecting the monitoring data;
when the monitoring data carrying the first signal is obtained again, analyzing the change trend of the signal intensity of the first signal;
comparing whether the variation trend of the current first signal is consistent with the variation trend when the current state is identified;
and if the two change trends are not consistent, stopping timing.
8. The method of claim 7, further comprising:
and if the two change trends are not consistent, updating the current state.
9. The method of claim 1, wherein the monitoring data is a second signal generated when the user controls the on or off of the target object, and the identifying the current state of the user according to the monitoring data comprises:
and determining the current state of the user according to the value of the second signal.
10. A control device for a home appliance, comprising:
the acquisition module is used for acquiring monitoring data for identifying the state of a user;
the identification module is used for identifying the current state of the user according to the monitoring data;
the monitoring module is used for monitoring the duration of the current state;
and the control module is used for controlling the household appliance to operate according to the operation parameters corresponding to the current state when the duration reaches a preset threshold value.
11. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for controlling a home device according to any one of claims 1 to 9 when executing the computer program.
12. A non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method for controlling an electric home appliance according to any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710818365.9A CN107703892B (en) | 2017-09-12 | 2017-09-12 | Control method and device of household appliance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710818365.9A CN107703892B (en) | 2017-09-12 | 2017-09-12 | Control method and device of household appliance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107703892A true CN107703892A (en) | 2018-02-16 |
CN107703892B CN107703892B (en) | 2020-11-20 |
Family
ID=61172635
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710818365.9A Active CN107703892B (en) | 2017-09-12 | 2017-09-12 | Control method and device of household appliance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107703892B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108873787A (en) * | 2018-07-27 | 2018-11-23 | 广东美的制冷设备有限公司 | Household appliance and its control method, control device, terminal control equipment |
CN110427526A (en) * | 2019-07-26 | 2019-11-08 | 珠海格力电器股份有限公司 | Unit, control method, device, equipment, electrical equipment and storage medium thereof |
CN110986302A (en) * | 2019-12-18 | 2020-04-10 | 广东美的制冷设备有限公司 | Air conditioner, control method thereof, control terminal, server and storage medium |
CN111983929A (en) * | 2019-05-23 | 2020-11-24 | 江苏美的清洁电器股份有限公司 | Household appliance, control method thereof and computer-readable storage medium |
CN112367358A (en) * | 2020-10-20 | 2021-02-12 | 珠海格力电器股份有限公司 | Equipment monitoring method, storage medium, electronic equipment and door lock device |
CN114115084A (en) * | 2020-08-31 | 2022-03-01 | 无锡小天鹅电器有限公司 | Control method of household appliance, household appliance and computer readable storage medium |
CN114690657A (en) * | 2022-03-04 | 2022-07-01 | 深圳绿米联创科技有限公司 | Automatic instruction processing method and device and intelligent home system |
CN115309065A (en) * | 2022-08-12 | 2022-11-08 | 深圳市完物物联科技有限公司 | Intelligent home safety control system and method based on Internet of things |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1137840A (en) * | 1997-07-14 | 1999-02-12 | Masatake Akagawa | Man detector |
CN101197744A (en) * | 2007-12-21 | 2008-06-11 | 当代天启技术(北京)有限公司 | Scene mode switching system and method for Smart Home Network System, lock head detection unit |
CN201491094U (en) * | 2009-09-15 | 2010-05-26 | 陕西科技大学 | Remote control system for home appliances |
CN202472320U (en) * | 2012-03-12 | 2012-10-03 | 山东建筑大学 | Out-of-home mode intelligent control device for indoor electricity |
CN102843469A (en) * | 2012-08-16 | 2012-12-26 | 广东欧珀移动通信有限公司 | Method for setting threshold of infrared proximity sensor and mobile terminal |
CN203250194U (en) * | 2013-04-11 | 2013-10-23 | 上海控江中学附属民办学校 | Household intelligent control device for electric power consumption |
CN104879883A (en) * | 2015-04-30 | 2015-09-02 | 广东美的制冷设备有限公司 | Terminal, device and method for controlling household appliances |
CN105137781A (en) * | 2015-07-31 | 2015-12-09 | 深圳广田智能科技有限公司 | Triggering method and system for smart home mode |
CN105246045A (en) * | 2015-10-29 | 2016-01-13 | 小米科技有限责任公司 | Method and device for determining user position change |
CN105445812A (en) * | 2015-11-12 | 2016-03-30 | 青岛海信电器股份有限公司 | Human body sensor detection method and human body sensor detection device |
CN106679079A (en) * | 2016-12-13 | 2017-05-17 | 珠海格力电器股份有限公司 | Control method of air conditioning system and air conditioning system |
-
2017
- 2017-09-12 CN CN201710818365.9A patent/CN107703892B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1137840A (en) * | 1997-07-14 | 1999-02-12 | Masatake Akagawa | Man detector |
CN101197744A (en) * | 2007-12-21 | 2008-06-11 | 当代天启技术(北京)有限公司 | Scene mode switching system and method for Smart Home Network System, lock head detection unit |
CN201491094U (en) * | 2009-09-15 | 2010-05-26 | 陕西科技大学 | Remote control system for home appliances |
CN202472320U (en) * | 2012-03-12 | 2012-10-03 | 山东建筑大学 | Out-of-home mode intelligent control device for indoor electricity |
CN102843469A (en) * | 2012-08-16 | 2012-12-26 | 广东欧珀移动通信有限公司 | Method for setting threshold of infrared proximity sensor and mobile terminal |
CN203250194U (en) * | 2013-04-11 | 2013-10-23 | 上海控江中学附属民办学校 | Household intelligent control device for electric power consumption |
CN104879883A (en) * | 2015-04-30 | 2015-09-02 | 广东美的制冷设备有限公司 | Terminal, device and method for controlling household appliances |
CN105137781A (en) * | 2015-07-31 | 2015-12-09 | 深圳广田智能科技有限公司 | Triggering method and system for smart home mode |
CN105246045A (en) * | 2015-10-29 | 2016-01-13 | 小米科技有限责任公司 | Method and device for determining user position change |
CN105445812A (en) * | 2015-11-12 | 2016-03-30 | 青岛海信电器股份有限公司 | Human body sensor detection method and human body sensor detection device |
CN106679079A (en) * | 2016-12-13 | 2017-05-17 | 珠海格力电器股份有限公司 | Control method of air conditioning system and air conditioning system |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108873787A (en) * | 2018-07-27 | 2018-11-23 | 广东美的制冷设备有限公司 | Household appliance and its control method, control device, terminal control equipment |
CN111983929A (en) * | 2019-05-23 | 2020-11-24 | 江苏美的清洁电器股份有限公司 | Household appliance, control method thereof and computer-readable storage medium |
CN111983929B (en) * | 2019-05-23 | 2024-03-12 | 美智纵横科技有限责任公司 | Household appliance, control method thereof and computer readable storage medium |
CN110427526A (en) * | 2019-07-26 | 2019-11-08 | 珠海格力电器股份有限公司 | Unit, control method, device, equipment, electrical equipment and storage medium thereof |
CN110986302A (en) * | 2019-12-18 | 2020-04-10 | 广东美的制冷设备有限公司 | Air conditioner, control method thereof, control terminal, server and storage medium |
CN110986302B (en) * | 2019-12-18 | 2021-09-14 | 广东美的制冷设备有限公司 | Air conditioner, control method thereof, control terminal, server and storage medium |
CN114115084A (en) * | 2020-08-31 | 2022-03-01 | 无锡小天鹅电器有限公司 | Control method of household appliance, household appliance and computer readable storage medium |
CN112367358A (en) * | 2020-10-20 | 2021-02-12 | 珠海格力电器股份有限公司 | Equipment monitoring method, storage medium, electronic equipment and door lock device |
CN112367358B (en) * | 2020-10-20 | 2021-12-14 | 珠海格力电器股份有限公司 | Equipment monitoring method, storage medium, electronic equipment and door lock device |
CN114690657A (en) * | 2022-03-04 | 2022-07-01 | 深圳绿米联创科技有限公司 | Automatic instruction processing method and device and intelligent home system |
CN115309065A (en) * | 2022-08-12 | 2022-11-08 | 深圳市完物物联科技有限公司 | Intelligent home safety control system and method based on Internet of things |
Also Published As
Publication number | Publication date |
---|---|
CN107703892B (en) | 2020-11-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107703892B (en) | Control method and device of household appliance | |
CN107808669B (en) | Voice control method, intelligent home system, storage medium and computer equipment | |
US11002798B2 (en) | Apparatus and method for sensing event in smart plug device | |
CN108427298A (en) | User's inlet/outlet intelligent home control system based on image recognition | |
CN104633841A (en) | Air conditioner and control method thereof | |
CN109298638B (en) | Control method and system for smart home, smart foot pad and smart gateway | |
CN107621784A (en) | Intelligent home furnishing control method, apparatus and system | |
CN107450329A (en) | The control method and its device of home appliance | |
CN105627513A (en) | Control method, device and system of air conditioner | |
CN112305923A (en) | Control method of household appliance, control terminal and electronic device | |
CN110512396A (en) | Control method of clothes treatment equipment and clothes treatment equipment | |
US11493222B2 (en) | Advanced monitoring of an HVAC system | |
CN111580175A (en) | Infrared signal processing method and device and household appliance | |
CN112305922A (en) | Control method and device of household appliance, household appliance and electronic equipment | |
CN112506401A (en) | Intelligent household appliance control method, terminal, device and storage medium based on Internet of things | |
CN113757957B (en) | Air conditioner control method, air conditioner control system and air conditioner | |
CN107153358B (en) | Control method, device and system of household equipment | |
CN104075412A (en) | Control method and control system of air-conditioner | |
CN109849844B (en) | Method and device for avoiding false start of back door | |
CN116540320A (en) | Detection device, method and system | |
CN116699714A (en) | Detection device, method and system | |
CN109784018B (en) | Operation identification method and device and electronic equipment | |
CN114999137A (en) | Remote controller, controlled equipment and method for realizing packet control based on off-line voice | |
EP3076764A1 (en) | Motion detection and lighting means | |
CN108870657A (en) | Control system for central air-conditioning |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |