CN108413478A - A kind of control method, device and computer readable storage medium - Google Patents

A kind of control method, device and computer readable storage medium Download PDF

Info

Publication number
CN108413478A
CN108413478A CN201810141163.XA CN201810141163A CN108413478A CN 108413478 A CN108413478 A CN 108413478A CN 201810141163 A CN201810141163 A CN 201810141163A CN 108413478 A CN108413478 A CN 108413478A
Authority
CN
China
Prior art keywords
user
sleep
state
detection
heating temperature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810141163.XA
Other languages
Chinese (zh)
Inventor
翟元义
阳雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
GD Midea Environment Appliances Manufacturing Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Environment Appliances Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, GD Midea Environment Appliances Manufacturing Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201810141163.XA priority Critical patent/CN108413478A/en
Publication of CN108413478A publication Critical patent/CN108413478A/en
Pending legal-status Critical Current

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24DDOMESTIC- OR SPACE-HEATING SYSTEMS, e.g. CENTRAL HEATING SYSTEMS; DOMESTIC HOT-WATER SUPPLY SYSTEMS; ELEMENTS OR COMPONENTS THEREFOR
    • F24D19/00Details
    • F24D19/10Arrangement or mounting of control or safety devices
    • F24D19/1096Arrangement or mounting of control or safety devices for electric heating systems
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24DDOMESTIC- OR SPACE-HEATING SYSTEMS, e.g. CENTRAL HEATING SYSTEMS; DOMESTIC HOT-WATER SUPPLY SYSTEMS; ELEMENTS OR COMPONENTS THEREFOR
    • F24D2200/00Heat sources or energy sources
    • F24D2200/08Electric heater
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24DDOMESTIC- OR SPACE-HEATING SYSTEMS, e.g. CENTRAL HEATING SYSTEMS; DOMESTIC HOT-WATER SUPPLY SYSTEMS; ELEMENTS OR COMPONENTS THEREFOR
    • F24D2220/00Components of central heating installations excluding heat sources
    • F24D2220/04Sensors
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24DDOMESTIC- OR SPACE-HEATING SYSTEMS, e.g. CENTRAL HEATING SYSTEMS; DOMESTIC HOT-WATER SUPPLY SYSTEMS; ELEMENTS OR COMPONENTS THEREFOR
    • F24D2220/00Components of central heating installations excluding heat sources
    • F24D2220/20Heat consumers
    • F24D2220/2009Radiators
    • F24D2220/2036Electric radiators

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Thermal Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The invention discloses a kind of control methods, including:Utilize the active state of sensor senses user;Active state based on detection, judges whether the user enters sleep state;When determining that the user enters sleep state, the sleep duration of the user is obtained;Using the sleep duration of acquisition, in conjunction with heating temperature of the default sleep curve controlled heater during the user sleeps.The present invention further simultaneously discloses a kind of control device and computer readable storage medium.

Description

A kind of control method, device and computer readable storage medium
Technical field
The present invention relates to a kind of internet of things field more particularly to control method, device and computer-readable storage mediums Matter.
Background technology
Currently, with the continuous development of China's power industry, it is more and more in such a way that electric energy carries out heating, one As the room lived to user by heater heat.
Currently, when user enters after sleep, the operating time of heater is set by timer, when timing does not arrive Up to when, heater is heated during user sleeps with fixed temperature;When timing reaches, heater is stopped. But heater is operated in timing mode during user sleeps, and can not realize the heating temperature of adjustment heater.
Therefore, there is an urgent need for find a kind of technical solution of the heating temperature of the sleep state control heater of combination user.
Invention content
In view of this, an embodiment of the present invention is intended to provide a kind of control method, device and computer readable storage medium, energy Enough combine the heating temperature of the sleep state control heater of user.
What the technical solution of the embodiment of the present invention was realized in:
The embodiment of the present invention provides a kind of control method, the method includes:
Utilize the active state of sensor senses user;
Active state based on detection, judges whether the user enters sleep state;
When determining that the user enters sleep state, the sleep duration of the user is obtained;
Using the sleep duration of acquisition, in conjunction with heating of the default sleep curve controlled heater during the user sleeps Temperature.
In one embodiment, the active state using sensor senses user, including:
Judge current time whether in preset time period;
When determining that current time is in preset time period, the active state of sensor senses user is utilized.
In one embodiment, the active state based on detection, judges whether the user enters sleep state, packet It includes:
Whether the luminance information of active state and active user's local environment based on detection judges the user into sleep Dormancy state.
In one embodiment, the luminance information of the active state and active user's local environment based on detection judges Whether the user enters sleep state, including:
According to the active state of detection, determine whether the user does not move;
When determining that the user does not move, using the luminance information, judge that the brightness of active user's local environment is It is no to be less than predetermined luminance threshold value;
When the brightness is less than predetermined luminance threshold value, determine that the user enters sleep state.
In one embodiment, described using the sleep duration obtained, in conjunction with default sleep curve controlled heater described Heating temperature during user's sleep, including:
Using the default sleep curve, the corresponding heating temperature of sleep duration of timing acquisition is determined, using determining Heating temperature is controlled the heater and is run with the heating temperature of the determination;The heating temperature of the determination is less than the use Heating temperature before the sleep of family.
In one embodiment, using the sleep duration of acquisition, in conjunction with default sleep curve controlled heater in the user After heating temperature during sleep, the method further includes:
Active state based on detection, judges whether the user by sleep state enters awake state;
When determining that the user enters awake state, the temperature before control heater is slept with user is run.
The embodiment of the present invention provides a kind of control device, and described device includes:
Detection module, for the active state using sensor senses user;
Judgment module is used for the active state based on detection, judges whether the user enters sleep state;
Acquisition module, the sleep duration for when determining that the user enters sleep state, obtaining the user;
Control module, for the sleep duration using acquisition, in conjunction with default sleep curve controlled heater in the user Heating temperature during sleep.
In one embodiment, whether the detection module is specifically used for judging current time in preset time period;When When determining that current time is in preset time period, the active state of sensor senses user is utilized.
In one embodiment, the judgment module is specifically used for ring residing for active state and active user based on detection The luminance information in border, judges whether the user enters sleep state.
In one embodiment, the judgment module is specifically used for the active state according to detection, whether determines the user It does not move;When determining that the user does not move, using the luminance information, judge active user's local environment brightness whether Less than predetermined luminance threshold value;When the brightness is less than predetermined luminance threshold value, determine that the user enters sleep state.
In one embodiment, the control module is specifically used for utilizing the default sleep curve, determines timing acquisition The corresponding heating temperature of sleep duration controls the heater with the heating temperature of the determination using determining heating temperature Operation;The heating temperature of the determination is less than the heating temperature before user sleep.
In one embodiment, the judgment module is additionally operable to the active state based on detection, judge the user whether by Sleep state enters awake state;
Correspondingly, the control module is additionally operable to when determining that the user enters awake state, control heater with Temperature operation before the sleep of family.
The embodiment of the present invention provides a kind of computer readable storage medium, is stored thereon with computer program, the calculating The step of machine program realizes any control method described above when being executed by processor.
The embodiment of the present invention provides a kind of control device, including:Memory, processor and storage are on a memory and can The computer program run on a processor;
Wherein, the processor is for when running the computer program, executing any control method described above Step.
Control method, device and computer readable storage medium provided in an embodiment of the present invention are detected using sensor and are used The active state at family;Active state based on detection, judges whether the user enters sleep state;When determine the user into When entering sleep state, the sleep duration of the user is obtained;Using the sleep duration of acquisition, taken in conjunction with default sleep curve controlled Heating temperature of the warmer during the user sleeps.In embodiments of the present invention, it can be controlled in conjunction with the sleep state of user Heating temperature of the heater during user sleeps.
In addition, since the sleep state of user can be combined to control heating temperature of the heater during user sleeps, It is exactly that heating temperature of the heater during user sleeps drops in the case where body temperature can reduce between sleep period in conjunction with user Temperature processing, thus, it is possible to reduce the power consumption of heater, realizes energy-efficient purpose.
Description of the drawings
Fig. 1 is the implementation process schematic diagram one of control method of the embodiment of the present invention;
Fig. 2 is the implementation process schematic diagram two of control method of the embodiment of the present invention;
Fig. 3 is the specific implementation flow schematic diagram of control method of the embodiment of the present invention;
Fig. 4 is the composed structure schematic diagram one of control device of the embodiment of the present invention;
Fig. 5 is the composed structure schematic diagram two of control device of the embodiment of the present invention;
Fig. 6 is the composed structure schematic diagram three of control device of the embodiment of the present invention.
Specific implementation mode
The characteristics of in order to more fully hereinafter understand the embodiment of the present invention and technology contents, below in conjunction with the accompanying drawings to this hair The realization of bright embodiment is described in detail, appended attached drawing purposes of discussion only for reference, is not used for limiting the present invention.
As shown in Figure 1, the present invention will be described in detail embodiment control method of the embodiment of the present invention, the method includes following steps Suddenly:
Step 101:Utilize the active state of sensor senses user.
Wherein, the active state may include motion state, non-motion state.
In one embodiment, the active state using sensor senses user, including:Judge whether current time is located In in preset time period;When determining that current time is in preset time period, the active state of sensor senses user is utilized. Wherein, preset time period can be that sunset gets into bed a period of time feted to user i.e. at night;It can also be rise to sunset day one section Time, that is, daytime.
When practical application, it is contemplated that the sleeping time of some users on daytime, the sleeping time of some users at night, because And the user for sleeping time at night, judge whether current time is at night;When it is evening to determine current time, profit With the active state of sensor senses user;User for sleeping time on daytime judges whether current time is daytime;When When determining that current time is daytime, the active state of sensor senses user is utilized.
Here it is possible to which the detection based on motion sensor, obtains the physiological parameter and kinematic parameter of the user;It utilizes The physiological parameter and kinematic parameter determine the active state of user.
When practical application, the heart rate of user can be detected by pulse transducer, and it is default to judge whether the heart rate is less than Heart rate threshold;When determining that the heart rate is less than default heart rate threshold, determine that the user is in non-motion state;Otherwise, really The fixed user is kept in motion.Whether the step number that user can also be detected by acceleration transducer, judge the step number Less than default step number threshold value;When determining that the step number is less than default step number threshold value, determine that the user is in non-motion state; Otherwise, it determines the user is kept in motion.
Step 102:Active state based on detection, judges whether the user enters sleep state.
In one embodiment, the active state based on detection, judges whether the user enters sleep state, packet It includes:The luminance information of active state and active user's local environment based on detection, judges whether the user enters sleep shape State.
When practical application, for the user of sleeping time at night, active state that can be based on detection user at night With the luminance information of active user's local environment at night, judge whether the user enters sleep state;For sleeping time In the user on daytime, can based on detection user daytime motion state and active user local environment on daytime brightness letter Breath, judges whether the user enters sleep state.
In one embodiment, the luminance information of the active state and active user's local environment based on detection judges Whether the user enters sleep state, including:According to the active state of detection, determine whether the user does not move;When true When the fixed user does not move, using the luminance information, it is default bright to judge whether the brightness of active user's local environment is less than Spend threshold value;When the brightness is less than predetermined luminance threshold value, determine that the user enters sleep state.
Here it is possible to which the detection based on photosensitive sensor, determines the luminance information.Wherein, the photosensitive sensor packet Include but be not limited to photo resistance, infrared sensor etc..
When practical application, light in active user's local environment can be determined by the change in resistance of detection photo resistance Light and shade changes, and according to the bright-dark degree of light, determines the luminance information.If the resistance value of photo resistance is very big, active user Light in local environment is very strong, i.e. the rank of brightness is very high;If the resistance value very little of photo resistance, ring residing for active user Light in border is very weak, i.e. the rank of brightness is very low.
Step 103:When determining that the user enters sleep state, the sleep duration of the user is obtained.
When practical application, when determining that the user enters sleep state, sleeping time can be carried out by timer It counts, and duration of sleeping described in timing acquisition;Wherein, timing can be periodic.
Step 104:Using the sleep duration of acquisition, in conjunction with default sleep curve controlled heater in user's sleep period Between heating temperature.
Here, the type of the heater includes but not limited to oil heater, to weighing apparatus formula, radiant type.
In one embodiment, described using the sleep duration obtained, in conjunction with default sleep curve controlled heater described Heating temperature during user's sleep, including:Using the default sleep curve, determine that the sleep duration of timing acquisition is corresponding Heating temperature is controlled the heater and is run with the heating temperature of the determination using determining heating temperature;The determination Heating temperature is less than the heating temperature before user's sleep.Wherein, the heating temperature before user's sleep can be preset temperature, Heating temperature during user sleeps can be that N degree drops in preset temperature;N is the positive integer more than or equal to 1.
Here, the default sleep curve can be by carrying out at least one sleep curve in the user one month Fitting obtains;It can also be by determining that a best sleep curve is obtained from the historical sleep curve of the correspondence user.Institute The abscissa for stating default sleep curve is the time;Ordinate is heating temperature.
When practical application, using the sleep duration of timing acquisition, the abscissa corresponding time in default sleep curve is determined Section;Using the determining period, the corresponding heating temperature of ordinate in default sleep curve is determined.Wherein, timing acquisition when Between and the period time span depending on actual demand.
As an example it is assumed that it is 8 minutes a length of when sleep, using the abscissa of default sleep curve, when determining corresponding sleep The long period can be 5 minutes to 10 minutes a period of time;Utilize the ordinate of default sleep curve, determining heating temperature The temperature of set temperature drop once before degree can be user's sleep.
Here, it is transported with the heating temperature before sleeping less than user since heater during user sleeps, can be controlled Row realizes cooling operation processing, thus, it is possible to reduce the power consumption of heater, realizes energy-efficient purpose.
In one embodiment, using the sleep duration of acquisition, in conjunction with default sleep curve controlled heater in the user After heating temperature during sleep, the method further includes:Whether the active state based on detection judges the user by sleeping Dormancy state enters awake state;When determining that the user enters awake state, before control heater is slept with the user Temperature operation.
When practical application, the heart rate of user can be detected by pulse transducer, and it is default to judge whether the heart rate is more than Heart rate threshold;When determining that the heart rate is more than default heart rate threshold, determine that the user is in awake state.It can also pass through Temperature sensor detects the body temperature of user, judges whether the body temperature is more than default body temperature threshold value;When determining that the body temperature is more than When default body temperature threshold value, determine that the user is in awake state.
Here, after user switches to awake state by sleep state, heater can be controlled with the temperature before sleeping Operation;During user sleeps, heater can be controlled and run with the heating temperature before sleeping less than user.Due to according to The variation of family body temperature between sleep period carries out cooling processing, thus, it is possible to reduce the power consumption of heater, realizes energy-efficient purpose. Meanwhile during user sleeps and after by sleep state switching to awake state, the body temp demand of user can be adapted to The heating temperature for controlling heater, thus, it is possible to improve the comfort level of user.
Temprature control method provided in an embodiment of the present invention utilizes the active state of sensor senses user;Based on detection Active state, judge the user whether enter sleep state;When determining that the user enters sleep state, described in acquisition The sleep duration of user;Using the sleep duration of acquisition, in conjunction with default sleep curve controlled heater in user's sleep period Between heating temperature.In embodiments of the present invention, heater can be controlled during user sleeps in conjunction with the sleep state of user Heating temperature.In addition, since the sleep state of user can be combined to control heating temperature of the heater during user sleeps, It is, being carried out at cooling to heating temperature of the heater during user sleeps according to the variation of user's body temperature between sleep period Reason, thus, it is possible to reduce the power consumption of heater, realizes energy-efficient purpose.
As shown in Fig. 2, the present invention will be described in detail embodiment control method of the embodiment of the present invention, the method includes following steps Suddenly:
Step 201:Utilize the active state of sensor senses user.
Wherein, the active state may include motion state, non-motion state.
In one embodiment, the active state using sensor senses user, including:Judge whether current time is located In in preset time period;When determining that current time is in preset time period, the active state of sensor senses user is utilized. Wherein, preset time period can be that sunset gets into bed a period of time feted to user i.e. at night;It can also be rise to sunset day one section Time, that is, daytime.
When practical application, it is contemplated that the sleeping time of some users on daytime, the sleeping time of some users at night, because And the user for sleeping time at night, judge whether current time is at night;When it is evening to determine current time, profit With the active state of sensor senses user;User for sleeping time on daytime judges whether current time is daytime;When When determining that current time is daytime, the active state of sensor senses user is utilized.
Here it is possible to which the detection based on motion sensor, obtains the physiological parameter and kinematic parameter of the user;It utilizes The physiological parameter and kinematic parameter determine the active state of user.
When practical application, the heart rate of user can be detected by pulse transducer, and it is default to judge whether the heart rate is less than Heart rate threshold;When determining that the heart rate is less than default heart rate threshold, determine that the user is in non-motion state;Otherwise, really The fixed user is kept in motion.Whether the step number that user can also be detected by acceleration transducer, judge the step number Less than default step number threshold value;When determining that the step number is less than default step number threshold value, determine that the user is in non-motion state; Otherwise, it determines the user is kept in motion.
Step 202:Active state based on detection, judges whether the user enters sleep state.
In one embodiment, the active state based on detection, judges whether the user enters sleep state, packet It includes:The luminance information of active state and active user's local environment based on detection, judges whether the user enters sleep shape State.
When practical application, for the user of sleeping time at night, active state that can be based on detection user at night With the luminance information of active user's local environment at night, judge whether the user enters sleep state;For sleeping time In the user on daytime, can based on detection user daytime motion state and active user local environment on daytime brightness letter Breath, judges whether the user enters sleep state.
In one embodiment, the luminance information of the active state and active user's local environment based on detection judges Whether the user enters sleep state, including:According to the active state of detection, determine whether the user does not move;When true When the fixed user does not move, using the luminance information, it is default bright to judge whether the brightness of active user's local environment is less than Spend threshold value;When the brightness is less than predetermined luminance threshold value, determine that the user enters sleep state.
Here it is possible to which the detection based on photosensitive sensor, determines the luminance information.Wherein, the photosensitive sensor packet Include but be not limited to photo resistance, infrared sensor etc..
When practical application, light in active user's local environment can be determined by the change in resistance of detection photo resistance Light and shade changes, and according to the bright-dark degree of light, determines the luminance information.If the resistance value of photo resistance is very big, active user Light in local environment is very strong, i.e. the rank of brightness is very high;If the resistance value very little of photo resistance, ring residing for active user Light in border is very weak, i.e. the rank of brightness is very low.
Step 203:When determining that the user enters sleep state, the sleep duration of the user is obtained.
When practical application, when determining that the user enters sleep state, sleeping time can be carried out by timer It counts, and duration of sleeping described in timing acquisition;Wherein, timing can be periodic.
Step 204:Utilize the sleep duration of acquisition, display of the control heater display panel during the user sleeps Brightness.
Here, the type of the heater includes but not limited to oil heater, to weighing apparatus formula, radiant type.
When practical application, using the sleep duration of acquisition, the control reduction display panel during the user sleeps Display brightness.
In one embodiment, described using the sleep duration obtained, control heater display panel is slept in the user After the display brightness of period, the method further includes:Whether the active state based on detection judges the user by sleep shape State enters awake state;When determining that the user enters awake state, control before the display panel slept with user Brightness is shown.
Here, after user switches to awake state by sleep state, the display panel can be controlled with before sleeping Brightness show;During user sleeps, the display panel can be controlled and shown with the brightness before sleeping less than user.By In display brightness can be reduced during user sleeps, thus, it is possible to reduce the power consumption of heater, energy-efficient purpose is realized.
Below for controlling the heating temperature of heater and the display brightness of display panel, the present invention will be described in detail Realization process in practical application and principle.
Fig. 3 is the specific implementation flow schematic diagram of control method of the embodiment of the present invention, in the present embodiment, in conjunction with sleeping for user Dormancy state controls the heating temperature of heater and the display brightness of display panel, implements process, includes the following steps:
Step 301:Set temperature before heater is slept with user is run;Display panel slept with user before set Determine brightness to show.
Assuming that the user is the user of sleeping time at night;Assuming that set temperature is 27 degree.
Step 302:Judge whether current time is at night;When it is evening to determine current time, step 303 is executed;It is no Then, return to step 301.
Here, judge whether current time is the clock on time that can be based on networking or heater electric-controlled plate at night System determines.
Step 303:Judge whether there is User Activity;When determination does not have User Activity, the bright of user's local environment is obtained Degree determines that user enters sleep state, executes step when determining that the brightness of user's local environment is less than predetermined luminance threshold value 304;Otherwise, return to step 301.
Step 304:Obtain the sleep duration of user.Judge whether the sleep duration obtained is more than 10 minutes;When determination is slept When dormancy duration is more than 10 minutes, step 305 is executed;Otherwise, step 306 is executed.
Step 305:2 degree of operations drop in the set temperature before heater is slept with user;Display panel is closed brightness and is shown; Return to step 302.
Here, heater drops 2 degree i.e. 25 degree of operations with set temperature;Display panel is closed brightness and is shown, can realize drop Low-power consumption reaches energy-efficient purpose.
Step 306:Judge whether the sleep duration obtained is more than 5 minutes;When determining that sleep duration is more than 5 minutes, hold Row step 307;Otherwise, return to step 301.
Step 307:1 degree of operation drops in the set temperature before heater is slept with user;Display panel is subtracted with setting brightness Half shows;Return to step 302.
Based on the control method that each embodiment of the application provides, the application also provides a kind of control device, as shown in figure 4, Described device includes:Detection module 41, judgment module 42, acquisition module 43, control module 44;Wherein,
Detection module 41, for the active state using sensor senses user;
Judgment module 42 is used for the active state based on detection, judges whether the user enters sleep state;
Acquisition module 43, the sleep duration for when determining that the user enters sleep state, obtaining the user;
Control module 44, for the sleep duration using acquisition, in conjunction with default sleep curve controlled heater in the use Heating temperature during the sleep of family.
In one embodiment, whether the detection module 41 is specifically used for judging current time in preset time period; When determining that current time is in preset time period, the active state of sensor senses user is utilized.Wherein, preset time period Can be that sunset gets into bed a period of time feted to user i.e. at night;It can also be a period of time i.e. daytime for rising to sunset day.
Wherein, the active state may include motion state, non-motion state.
When practical application, the heart rate of user can be detected by pulse transducer, and it is default to judge whether the heart rate is less than Heart rate threshold;When determining that the heart rate is less than default heart rate threshold, determine that the user is in non-motion state;Otherwise, really The fixed user is kept in motion.Whether the step number that user can also be detected by acceleration transducer, judge the step number Less than default step number threshold value;When determining that the step number is less than default step number threshold value, determine that the user is in non-motion state; Otherwise, it determines the user is kept in motion.
In one embodiment, the judgment module 42 is specifically used for residing for active state and active user based on detection The luminance information of environment, judges whether the user enters sleep state.
In one embodiment, the judgment module 42 is specifically used for the active state according to detection, determines that the user is It is no not move;When determining that the user does not move, using the luminance information, judge that the brightness of active user's local environment is It is no to be less than predetermined luminance threshold value;When the brightness is less than predetermined luminance threshold value, determine that the user enters sleep state.
Here it is possible to which the detection based on photosensitive sensor, determines the luminance information.Wherein, the photosensitive sensor packet Include but be not limited to photo resistance, infrared sensor etc..
When practical application, light in active user's local environment can be determined by the change in resistance of detection photo resistance Light and shade changes, and according to the bright-dark degree of light, determines the luminance information.If the resistance value of photo resistance is very big, active user Light in local environment is very strong, i.e. the rank of brightness is very high;If the resistance value very little of photo resistance, ring residing for active user Light in border is very weak, i.e. the rank of brightness is very low.
In one embodiment, the control module 44 is specifically used for utilizing the default sleep curve, determines timing acquisition The corresponding heating temperature of sleep duration control the heater using determining heating temperature with the heating temperature of the determination Degree operation;The heating temperature of the determination is less than the heating temperature before user sleep.
When practical application, using the sleep duration of timing acquisition, the abscissa corresponding time in default sleep curve is determined Section;Using the determining period, the corresponding heating temperature of ordinate in default sleep curve is determined.Wherein, timing acquisition when Between and the period time span depending on actual demand.
In one embodiment, the judgment module 42 is additionally operable to the active state based on detection, whether judges the user Awake state is entered by sleep state;
Correspondingly, the control module 44 is additionally operable to when determining that the user enters awake state, control heater with Temperature operation before user's sleep.
It should be noted that:The control device that above-described embodiment provides is when controlling temperature, only with above-mentioned each program module Division progress for example, in practical application, can distribute as needed and by above-mentioned processing complete by different program modules At the internal structure of device being divided into different program modules, to complete all or part of processing described above.Separately Outside, the control device that above-described embodiment provides belongs to same design, the specific implementation process side of referring to control method embodiment Method embodiment, which is not described herein again.
In practical applications, acquisition module 43 is realized by the network interface on control device;Detection module 41 judges Module 42, control module 44 can by control device central processing unit (CPU, Central Processing Unit), Microprocessor (MPU, Micro Processor Unit), digital signal processor (DSP, Digital Signal ) or the realizations such as field programmable gate array (FPGA, Field Programmable Gate Array) Processor.
Based on the control method that each embodiment of the application provides, the application also provides a kind of control device, as shown in figure 5, Described device includes:Detection module 51, judgment module 52, acquisition module 53, control module 54;Wherein,
Detection module 51, for the active state using sensor senses user.
Judgment module 52 is used for the active state based on detection, judges whether the user enters sleep state.
Acquisition module 53, the sleep duration for when determining that the user enters sleep state, obtaining the user.
Control module 54, for using the sleep duration obtained, control heater display panel to be in user's sleep period Between display brightness.
Whether the detection module 51 is specifically used for judging current time in preset time period;When determination is current Between in the preset time period when, utilize the active state of sensor senses user.Wherein, preset time period can be for sunset extremely User gets into bed a period of time feted i.e. at night;It can also be a period of time i.e. daytime for rising to sunset day.
Wherein, the active state may include motion state, non-motion state.
When practical application, the heart rate of user can be detected by pulse transducer, and it is default to judge whether the heart rate is less than Heart rate threshold;When determining that the heart rate is less than default heart rate threshold, determine that the user is in non-motion state;Otherwise, really The fixed user is kept in motion.Whether the step number that user can also be detected by acceleration transducer, judge the step number Less than default step number threshold value;When determining that the step number is less than default step number threshold value, determine that the user is in non-motion state; Otherwise, it determines the user is kept in motion.
The judgment module 52, the brightness for being specifically used for active state and active user's local environment based on detection are believed Breath, judges whether the user enters sleep state.
The judgment module 52 is specifically used for the active state according to detection, determines whether the user does not move;When true When the fixed user does not move, using the luminance information, it is default bright to judge whether the brightness of active user's local environment is less than Spend threshold value;When the brightness is less than predetermined luminance threshold value, determine that the user enters sleep state.
Here it is possible to which the detection based on photosensitive sensor, determines the luminance information.Wherein, the photosensitive sensor packet Include but be not limited to photo resistance, infrared sensor etc..
When practical application, light in active user's local environment can be determined by the change in resistance of detection photo resistance Light and shade changes, and according to the bright-dark degree of light, determines the luminance information.If the resistance value of photo resistance is very big, active user Light in local environment is very strong, i.e. the rank of brightness is very high;If the resistance value very little of photo resistance, ring residing for active user Light in border is very weak, i.e. the rank of brightness is very low.
The judgment module 52 is additionally operable to the active state based on detection, judge the user whether by sleep state into Enter awake state;
Correspondingly, the control module 54 is additionally operable to, when determining that the user enters active state, control the display Brightness before panel is slept with user is shown.
It should be noted that:The control device that above-described embodiment provides is when controlling brightness, only with above-mentioned each program module Division progress for example, in practical application, can distribute as needed and by above-mentioned processing complete by different program modules At the internal structure of device being divided into different program modules, to complete all or part of processing described above.Separately Outside, the control device that above-described embodiment provides belongs to same design, the specific implementation process side of referring to control method embodiment Method embodiment, which is not described herein again.
In practical applications, acquisition module 53 is realized by the network interface on control device;Detection module 51 judges Module 52, control module 54 can be by central processor CPU, microprocessor MPU, the digital signal processors on control device The realizations such as DSP or on-site programmable gate array FPGA.
Fig. 6 is the structural schematic diagram of control device of the present invention, and control device 600 shown in fig. 6 includes:At least one processing Device 601, memory 602, user interface 603, at least one network interface 604.Various components in control device 600 pass through total Linear system system 605 is coupled.It is understood that bus system 605 is for realizing the connection communication between these components.Bus system 605 in addition to including data/address bus, further includes power bus, controlling bus and status signal bus in addition.But for clear explanation For the sake of, various buses are all designated as bus system 605 in figure 6.
Wherein, user interface 603 may include display, keyboard, mouse, trace ball, click wheel, button, button, sense of touch Plate or touch screen etc..
It is appreciated that memory 602 can be volatile memory or nonvolatile memory, may also comprise volatibility and Both nonvolatile memories.Wherein, nonvolatile memory can be read-only memory (ROM, Read Only Memory), Programmable read only memory (PROM, Programmable Read-Only Memory), Erasable Programmable Read Only Memory EPROM (EPROM, Erasable Programmable Read-Only Memory), electrically erasable programmable read-only memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), magnetic random access store Device (FRAM, ferromagnetic random access memory), flash memory (Flash Memory), magnetic surface are deposited Reservoir, CD or CD-ROM (CD-ROM, Compact Disc Read-Only Memory);Magnetic surface storage can be Magnetic disk storage or magnetic tape storage.Volatile memory can be random access memory (RAM, Random Access Memory), it is used as External Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as Static RAM (SRAM, Static Random Access Memory), synchronous static RAM (SSRAM, Synchronous Static Random Access Memory), dynamic random access memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access Memory), double data speed synchronous dynamic RAM (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random Access memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), synchronized links Dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), direct rambus Random access memory (DRRAM, Direct Rambus Random Access Memory).Description of the embodiment of the present invention is deposited Reservoir 602 is intended to the memory of including but not limited to these and any other suitable type.
Memory 602 in the embodiment of the present invention is for storing various types of data to support the behaviour of control device 600 Make.The example of these data includes:Any computer program for being operated on control device 600, such as operating system 6021 With application program 6022;Wherein, operating system 6021 includes various system programs, such as ccf layer, core library layer, driving layer Deng for realizing various basic businesses and the hardware based task of processing.Application program 6022 can include various using journey Sequence, for realizing various applied business.Realize that the program of present invention method may be embodied in application program 6022.
The method that the embodiments of the present invention disclose can be applied in processor 601, or be realized by processor 601. Processor 601 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 601 or the instruction of software form.Above-mentioned processing Device 601 can be general processor, digital signal processor either other programmable logic device, discrete gate or transistor Logical device, discrete hardware components etc..Processor 601 may be implemented or execute the disclosed each side in the embodiment of the present invention Method, step and logic diagram.General processor can be microprocessor or any conventional processor etc..In conjunction with of the invention real The step of applying the method disclosed in example can be embodied directly in hardware decoding processor and execute completion, or use decoding processor In hardware and software module combination execute completion.Software module can be located in storage medium, which is located at storage The step of device 602, processor 601 reads the information in memory 602, preceding method is completed in conjunction with its hardware.
Specifically, the embodiment of the present invention additionally provides a kind of control device, with reference to shown in Fig. 6, the control device packet It includes:Memory 602, processor 601 and storage on a memory and the computer program that can run on a processor,
Wherein, the processor 601 is for when running the computer program, executing following operation:It is examined using sensor Survey the active state of user;Active state based on detection, judges whether the user enters sleep state;When determining the use When family enters sleep state, the sleep duration of the user is obtained;Using the sleep duration of acquisition, in conjunction with default sleep curve control Produce heating temperature of the warmer during the user sleeps.
In one embodiment, the processor 601 is for when running the computer program, also executing following operation:Sentence Whether disconnected current time is in preset time period;When determining that current time is in preset time period, examined using sensor Survey the active state of user.
In one embodiment, the processor 601 is for when running the computer program, also executing following operation:Base In the luminance information of the active state and active user's local environment of detection, judge whether the user enters sleep state.
In one embodiment, the processor 601 is for when running the computer program, also executing following operation:Root According to the active state of detection, determine whether the user does not move;When determining that the user does not move, believed using the brightness Breath, judges whether the brightness of active user's local environment is less than predetermined luminance threshold value;When the brightness is less than predetermined luminance threshold value When, determine that the user enters sleep state.
In one embodiment, the processor 601 is for when running the computer program, also executing following operation:Profit With the default sleep curve, the corresponding heating temperature of sleep duration of timing acquisition is determined, utilize determining heating temperature, control The heater is made to run with the heating temperature of the determination;Before the heating temperature of the determination is less than user sleep Heating temperature.
In one embodiment, the processor 601 is for when running the computer program, also executing following operation:Base In the active state of detection, judge whether the user by sleep state enters awake state;When determining the user into sleep When the state of waking up, the temperature before control heater is slept with user is run.
Based on the control method that each embodiment of the application provides, the application also provides a kind of computer readable storage medium, With reference to shown in Fig. 6, the computer readable storage medium may include:Memory 602 for storing computer program, it is above-mentioned Computer program can be executed by the processor 601 of control device 600, to complete step described in preceding method.It is computer-readable to deposit Storage media can be FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, CD or CD- The memories such as ROM.
Specifically, computer readable storage medium provided in an embodiment of the present invention is stored thereon with computer program, described When computer program is run by processor, following operation is executed:Utilize the active state of sensor senses user;Based on detection Active state, judges whether the user enters sleep state;When determining that the user enters sleep state, the use is obtained The sleep duration at family;Using the sleep duration of acquisition, in conjunction with default sleep curve controlled heater during the user sleeps Heating temperature.
In one embodiment, when the computer program is run by processor, following operation is executed:Judging current time is It is no to be in preset time period;When determining that current time is in preset time period, the activity of sensor senses user is utilized State.
In one embodiment, when the computer program is run by processor, following operation is executed:Activity based on detection The luminance information of state and active user's local environment, judges whether the user enters sleep state.
In one embodiment, when the computer program is run by processor, following operation is executed:According to the activity of detection State, determines whether the user does not move;When determining that the user does not move, using the luminance information, judge current Whether the brightness of user's local environment is less than predetermined luminance threshold value;When the brightness is less than predetermined luminance threshold value, described in determination User enters sleep state.
In one embodiment, when the computer program is run by processor, following operation is executed:It is slept using described preset Dormancy curve determines that the corresponding heating temperature of sleep duration of timing acquisition controls the heater using determining heating temperature It is run with the heating temperature of the determination;The heating temperature of the determination is less than the heating temperature before user sleep.
In one embodiment, when the computer program is run by processor, following operation is executed:Activity based on detection State, judges whether the user by sleep state enters awake state;When determining that the user enters awake state, control Temperature before heater is slept with user is run.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (14)

1. a kind of control method, which is characterized in that the method includes:
Utilize the active state of sensor senses user;
Active state based on detection, judges whether the user enters sleep state;
When determining that the user enters sleep state, the sleep duration of the user is obtained;
Using the sleep duration of acquisition, in conjunction with heating temperature of the default sleep curve controlled heater during the user sleeps Degree.
2. according to the method described in claim 1, it is characterized in that, the active state using sensor senses user, packet It includes:
Judge current time whether in preset time period;
When determining that current time is in preset time period, the active state of sensor senses user is utilized.
3. method according to claim 1 or 2, which is characterized in that the active state based on detection judges the use Whether family enters sleep state, including:
The luminance information of active state and active user's local environment based on detection, judges whether the user enters sleep shape State.
4. according to the method described in claim 3, it is characterized in that, residing for the active state and active user based on detection The luminance information of environment, judges whether the user enters sleep state, including:
According to the active state of detection, determine whether the user does not move;
When determining that the user does not move, using the luminance information, judge whether the brightness of active user's local environment is small In predetermined luminance threshold value;
When the brightness is less than predetermined luminance threshold value, determine that the user enters sleep state.
5. according to the method described in claim 1, it is characterized in that, described utilize the sleep duration obtained, in conjunction with default sleep Heating temperature of the curve controlled heater during the user sleeps, including:
Using the default sleep curve, determines the corresponding heating temperature of sleep duration of timing acquisition, utilize determining heating Temperature is controlled the heater and is run with the heating temperature of the determination;The heating temperature of the determination is slept less than the user Heating temperature before dormancy.
6. according to the method described in claim 1, it is characterized in that, using the sleep duration obtained, in conjunction with default sleep curve After controlling heating temperature of the heater during the user sleeps, the method further includes:
Active state based on detection, judges whether the user by sleep state enters awake state;
When determining that the user enters awake state, the temperature before control heater is slept with user is run.
7. a kind of control device, which is characterized in that described device includes:
Detection module, for the active state using sensor senses user;
Judgment module is used for the active state based on detection, judges whether the user enters sleep state;
Acquisition module, the sleep duration for when determining that the user enters sleep state, obtaining the user;
Control module, for using the sleep duration obtained, sleeping in the user in conjunction with default sleep curve controlled heater The heating temperature of period.
8. device according to claim 7, which is characterized in that
Whether the detection module is specifically used for judging current time in preset time period;When determining that current time is in When in preset time period, the active state of sensor senses user is utilized.
9. device according to claim 7 or 8, which is characterized in that
The judgment module is specifically used for the luminance information of active state and active user's local environment based on detection, judges Whether the user enters sleep state.
10. device according to claim 9, which is characterized in that
The judgment module is specifically used for the active state according to detection, determines whether the user does not move;Described in determination When user does not move, using the luminance information, judge whether the brightness of active user's local environment is less than predetermined luminance threshold value; When the brightness is less than predetermined luminance threshold value, determine that the user enters sleep state.
11. device according to claim 7, which is characterized in that
The control module is specifically used for utilizing the default sleep curve, determines the corresponding confession of sleep duration of timing acquisition Warm temperature is controlled the heater and is run with the heating temperature of the determination using determining heating temperature;The confession of the determination Warm temperature is less than the heating temperature before user sleep.
12. device according to claim 7, which is characterized in that
The judgment module is additionally operable to the active state based on detection, judges whether the user is entered by sleep state and wake up State;
Correspondingly, the control module is additionally operable to when determining that the user enters awake state, and control heater is slept with user Temperature operation before dormancy.
13. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of any one of claim 1 to 6 the method is realized when being executed by processor.
14. a kind of control device, which is characterized in that including:Memory, processor and storage on a memory and can handled The computer program run on device;
Wherein, the processor is for when running the computer program, perform claim to require any one of 1 to 6 the method Step.
CN201810141163.XA 2018-02-11 2018-02-11 A kind of control method, device and computer readable storage medium Pending CN108413478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810141163.XA CN108413478A (en) 2018-02-11 2018-02-11 A kind of control method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810141163.XA CN108413478A (en) 2018-02-11 2018-02-11 A kind of control method, device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108413478A true CN108413478A (en) 2018-08-17

Family

ID=63128522

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810141163.XA Pending CN108413478A (en) 2018-02-11 2018-02-11 A kind of control method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108413478A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109764395A (en) * 2019-01-09 2019-05-17 青岛海尔空调器有限总公司 The control method that a kind of energy resource system and its heater temperature are adjusted
CN109757900A (en) * 2019-01-09 2019-05-17 青岛海尔空调器有限总公司 The control method that a kind of energy resource system and its bed body temperature are adjusted
CN110740525A (en) * 2019-10-15 2020-01-31 北京小米移动软件有限公司 Method for controlling electric blanket, device for controlling electric blanket and electronic equipment
CN113587206A (en) * 2021-06-30 2021-11-02 青岛经济技术开发区海尔热水器有限公司 Method, device, equipment and medium for adjusting heating temperature in sleeping process
CN115854411A (en) * 2022-12-23 2023-03-28 珠海格力电器股份有限公司 Heating equipment control method and device, electronic equipment and electric heater

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014507390A (en) * 2010-12-17 2014-03-27 アントフロゲネシス コーポレーション Treatment of spinal cord injury and traumatic brain injury using placental stem cells
US20140288391A1 (en) * 2012-06-22 2014-09-25 Fitbit, Inc. Wearable heart rate monitor
CN104676854A (en) * 2015-02-15 2015-06-03 青岛海尔空调器有限总公司 Air conditioner sleep operation control method
CN104713200A (en) * 2015-03-18 2015-06-17 广东美的制冷设备有限公司 Control method and control device for air conditioner
CN104764152A (en) * 2015-03-27 2015-07-08 武汉海尔电器股份有限公司 Air conditioner sleeping and running control method
CN104764153A (en) * 2015-03-27 2015-07-08 武汉海尔电器股份有限公司 Control method for sleeping operation of air conditioner
CN105805898A (en) * 2016-04-29 2016-07-27 广东美的制冷设备有限公司 Air conditioner and sound sleep mode control method thereof
CN105953355A (en) * 2016-04-26 2016-09-21 深圳市思立普科技有限公司 Environment control system capable of improving sleep quality
JP2017150764A (en) * 2016-02-25 2017-08-31 三菱電機株式会社 Air conditioner and air conditioning system
WO2017187595A1 (en) * 2016-04-28 2017-11-02 三菱電機株式会社 Air conditioner
CN107449029A (en) * 2017-07-04 2017-12-08 广东美的环境电器制造有限公司 The control device of warmer and there is its warmer

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014507390A (en) * 2010-12-17 2014-03-27 アントフロゲネシス コーポレーション Treatment of spinal cord injury and traumatic brain injury using placental stem cells
US20140288391A1 (en) * 2012-06-22 2014-09-25 Fitbit, Inc. Wearable heart rate monitor
CN104676854A (en) * 2015-02-15 2015-06-03 青岛海尔空调器有限总公司 Air conditioner sleep operation control method
CN104713200A (en) * 2015-03-18 2015-06-17 广东美的制冷设备有限公司 Control method and control device for air conditioner
CN104764152A (en) * 2015-03-27 2015-07-08 武汉海尔电器股份有限公司 Air conditioner sleeping and running control method
CN104764153A (en) * 2015-03-27 2015-07-08 武汉海尔电器股份有限公司 Control method for sleeping operation of air conditioner
JP2017150764A (en) * 2016-02-25 2017-08-31 三菱電機株式会社 Air conditioner and air conditioning system
CN105953355A (en) * 2016-04-26 2016-09-21 深圳市思立普科技有限公司 Environment control system capable of improving sleep quality
WO2017187595A1 (en) * 2016-04-28 2017-11-02 三菱電機株式会社 Air conditioner
CN105805898A (en) * 2016-04-29 2016-07-27 广东美的制冷设备有限公司 Air conditioner and sound sleep mode control method thereof
CN107449029A (en) * 2017-07-04 2017-12-08 广东美的环境电器制造有限公司 The control device of warmer and there is its warmer

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109764395A (en) * 2019-01-09 2019-05-17 青岛海尔空调器有限总公司 The control method that a kind of energy resource system and its heater temperature are adjusted
CN109757900A (en) * 2019-01-09 2019-05-17 青岛海尔空调器有限总公司 The control method that a kind of energy resource system and its bed body temperature are adjusted
CN109764395B (en) * 2019-01-09 2021-06-29 青岛海尔空调器有限总公司 Energy system and control method for regulating heating temperature thereof
CN110740525A (en) * 2019-10-15 2020-01-31 北京小米移动软件有限公司 Method for controlling electric blanket, device for controlling electric blanket and electronic equipment
CN113587206A (en) * 2021-06-30 2021-11-02 青岛经济技术开发区海尔热水器有限公司 Method, device, equipment and medium for adjusting heating temperature in sleeping process
CN113587206B (en) * 2021-06-30 2023-10-20 青岛经济技术开发区海尔热水器有限公司 Method, device, equipment and medium for adjusting heating temperature in sleeping process
CN115854411A (en) * 2022-12-23 2023-03-28 珠海格力电器股份有限公司 Heating equipment control method and device, electronic equipment and electric heater

Similar Documents

Publication Publication Date Title
CN108413478A (en) A kind of control method, device and computer readable storage medium
CN110729006B (en) Refresh scheme in a memory controller
Mittal A survey of architectural techniques for DRAM power management
KR102235055B1 (en) Refreshing of fine grain size
CN107143984A (en) Air-conditioning and its sleep control mode implementation method and realize device and realize system
US7613941B2 (en) Mechanism for self refresh during advanced configuration and power interface (ACPI) standard C0 power state
CN103777544B (en) Application processor, corresponding mobile device and the method for selecting clock signal
US8499245B1 (en) Multi-source profiling for adaptive device operation
US9405356B1 (en) Temperature compensation in data storage device
EP2641143B1 (en) Delayed shut down of computer
TWI420304B (en) Data movement engine and memory control method
US10732871B2 (en) Storage device and method for adaptive sleep mode transitions
EP2915019B1 (en) System and method for dynamic memory power management
RU2015129563A (en) WAKEUP DEVICE
US20080276236A1 (en) Data processing device with low-power cache access mode
CN109219806A (en) Low power memory throttling
TW201435676A (en) Variable touch screen scanning rate based on user presence detection
US20140297928A1 (en) Electronic Circuit for and Method of Executing an Application Program Stored in a One-Time-Programmable (OTP) Memory in a System on Chip (SoC)
CN109100972A (en) The control method of Intelligent water cup, apparatus and system
CN106123350A (en) The control method of a kind of water heater, device and water heater
CN108678564B (en) Awakening method and device of intelligent lock
CN110848900B (en) Temperature regulation and control system and method based on embedded linux real-time operating system
JPH09189442A (en) Environment control device and method
WO2022055594A1 (en) System on a chip that drives display when cpus are powered down
Yue et al. Energy and thermal aware buffer cache replacement algorithm

Legal Events

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

Application publication date: 20180817