Method for controlling electric blanket, device for controlling electric blanket and electronic equipment

文档序号:1580145 发布日期:2020-01-31 浏览:31次 中文

阅读说明:本技术 控制电热毯的方法、控制电热毯的装置及电子设备 (Method for controlling electric blanket, device for controlling electric blanket and electronic equipment ) 是由 崔祺琪 于 2019-10-15 设计创作,主要内容包括:本公开是关于一种控制电热毯的方法、控制电热毯的装置及电子设备。控制电热毯的方法,包括:获取用户睡眠时间信息;获取实时环境温度;基于睡眠时间信息及环境温度,开启或关闭电热毯。通过使用本公开提供的控制电热毯的方法,电热毯可以根据用户的睡眠时间情况和环境温度进行预判,判断开启电热毯和关闭电热毯的时间,使电热毯发热的时间和温度适合用户的睡眠状态,从而提升用户的睡眠体验。(The method for controlling the electric blanket comprises the steps of obtaining sleep time information of a user, obtaining real-time environment temperature, and turning on or turning off the electric blanket based on the sleep time information and the environment temperature.)

A method of controlling an electric blanket of the type , comprising:

acquiring sleep time information of a user;

acquiring real-time environment temperature;

turning on or off the electric blanket based on the sleep time information and the ambient temperature.

2. The method of claim 1, wherein turning on or off the electric blanket based on the sleep time information and the ambient temperature comprises:

determining a sleep start time and a sleep end time of a user based on the sleep time information;

determining th time period for the electric blanket to warm up in advance and a second time period for the electric blanket to cool down in advance based on the ambient temperature;

turning on the electric blanket at the th time period earlier than the sleep start time;

turning off the electric blanket for the second period of time earlier than the sleep end time.

3. The method of claim 2, wherein the obtaining the sleep time information of the user comprises:

acquiring the historical use time of a user through a pressure sensor of the electric blanket to obtain the sleep time information; or the like, or, alternatively,

receiving the sleep time information which is detected and sent by the wearable device; or the like, or, alternatively,

and sending a request to a terminal device, receiving alarm clock information sent by the terminal device in response to the request, and obtaining the sleep time information based on the alarm clock information.

4. The method of controlling an electric blanket of claim 1, wherein said obtaining a real-time ambient temperature comprises:

monitoring to obtain the environment temperature through an external temperature sensor of the electric blanket; or the like, or, alternatively,

sending a request to a terminal device, receiving weather forecast information sent by the terminal device in response to the request, and obtaining the ambient temperature based on the weather forecast information.

5. The method of controlling an electric blanket of any one of claims 1-4 and , further comprising:

acquiring body state information;

and adjusting the temperature of the electric blanket according to the body state information.

6. The method of controlling an electric blanket of claim 5, the obtaining the body state information comprising:

receiving a heart rate and a body temperature of the user, and determining the physical state information based on the heart rate and the body temperature; or

Receiving the body state information sent by the wearable device, wherein the body state information is determined by monitoring the heart rate and the body temperature of the user through the wearable device.

An apparatus for controlling an electric blanket of the type 7, , comprising:

the acquisition unit is used for acquiring the sleep time information of the user and the real-time environment temperature;

and the control unit is used for switching on or switching off the electric blanket based on the sleep time information and the ambient temperature.

8. The device of claim 7, wherein the control unit is configured to:

determining a sleep start time and a sleep end time of a user based on the sleep time information;

determining th time period for the electric blanket to warm up in advance and a second time period for the electric blanket to cool down in advance based on the ambient temperature;

turning on the electric blanket at the th time period earlier than the sleep start time;

turning off the electric blanket for the second period of time earlier than the sleep end time.

9. The device for controlling an electric blanket according to claim 7, wherein the obtaining unit is further configured to:

acquiring the historical use time of a user through a pressure sensor of the electric blanket to obtain the sleep time information; or the like, or, alternatively,

receiving the sleep time information which is detected and sent by the wearable device; or the like, or, alternatively,

and sending a request to a terminal device, receiving alarm clock information sent by the terminal device in response to the request, and obtaining the sleep time information based on the alarm clock information.

10. The device for controlling an electric blanket according to claim 7, wherein the obtaining unit is further configured to:

monitoring to obtain the environment temperature through an external temperature sensor of the electric blanket; or the like, or, alternatively,

sending a request to a terminal device, receiving weather forecast information sent by the terminal device in response to the request, and obtaining the ambient temperature based on the weather forecast information.

11. An apparatus for controlling an electric blanket as claimed in any one of claims 7 to 10 and ,

the acquisition unit is further configured to: acquiring body state information;

the control unit is further configured to: and adjusting the temperature of the electric blanket according to the body state information.

12. The apparatus of claim 11, the obtaining unit further configured to:

receiving a heart rate and a body temperature of the user, and determining the physical state information based on the heart rate and the body temperature; or the like, or, alternatively,

receiving the body state information sent by the wearable device, wherein the body state information is determined by monitoring the heart rate and the body temperature of the user through the wearable device.

electronic device, wherein the electronic device comprises:

a memory to store instructions; and

a processor for invoking the memory stored instructions to perform the method of controlling an electric blanket of any of claims 1-6 of .

A non-transitory computer readable storage medium of , wherein the non-transitory computer readable storage medium stores computer executable instructions which, when executed by a processor, perform the method of controlling an electric blanket of any of claims 1-6.

Technical Field

The disclosure relates to the technical field of internet of things, in particular to methods for controlling an electric blanket, a device for controlling the electric blanket and electronic equipment.

Background

Disclosure of Invention

To overcome the problems in the related art, the present disclosure provides methods and apparatuses for controlling an electric blanket.

According to aspects of the disclosed embodiment, methods of controlling an electric blanket are provided, including acquiring sleep time information of a user, acquiring real-time ambient temperature, and turning on or off the electric blanket based on the sleep time information and the ambient temperature.

In an alternative embodiment , turning on or off the electric blanket based on the sleep time information and the ambient temperature includes determining a sleep start time and a sleep end time of the user based on the sleep time information, determining a th time period during which the electric blanket is preheated and a second time period during which the electric blanket is cooled down in advance based on the ambient temperature, turning on the electric blanket at a th time period earlier than the sleep start time, and turning off the electric blanket at the second time period earlier than the sleep end time.

In alternative embodiment, the obtaining of the user sleep time information includes obtaining the user's historical use time through a pressure sensor of an electric blanket to obtain sleep time information, or receiving sleep time information detected and sent by a wearable device, or sending a request to a terminal device and receiving alarm clock information sent by the terminal device in response to the request, and obtaining the sleep time information based on the alarm clock information.

In an alternative embodiment , the obtaining of the real-time ambient temperature includes monitoring the ambient temperature by an external temperature sensor of the electric blanket, or sending a request to the terminal device and receiving weather forecast information sent by the terminal device in response to the request, and obtaining the ambient temperature based on the weather forecast information.

In an alternative embodiment , the method further includes obtaining body state information and adjusting the temperature of the electric blanket based on the body state information.

In another alternative embodiment, the obtaining the body state information includes receiving a heart rate and a body temperature of the user and determining the body state information based on the heart rate and the body temperature, or receiving the body state information sent by the wearable device, wherein the body state information is determined by the wearable device monitoring the heart rate and the body temperature of the user.

According to another aspects of the disclosed embodiment, there are provided apparatus for controlling an electric blanket, including an obtaining unit for obtaining sleep time information of a user and a real-time ambient temperature, and a control unit for turning on or off the electric blanket based on the sleep time information and the ambient temperature.

In an alternative embodiment , the control unit is configured to determine a sleep start time and a sleep end time of the user based on the sleep time information, determine a th time period during which the electric blanket is pre-warmed and a second time period during which the electric blanket is pre-cooled based on the ambient temperature, turn on the electric blanket at a th time period earlier than the sleep start time, and turn off the electric blanket at the second time period earlier than the sleep end time.

In an alternative embodiment of , the obtaining unit is further configured to obtain the sleep time information by obtaining the historical usage time of the user through the pressure sensor of the electric blanket, or receive the sleep time information detected and sent by the wearable device, or send a request to the terminal device, and receive alarm clock information sent by the terminal device in response to the request, and obtain the sleep time information based on the alarm clock information.

In an alternative embodiment of , the obtaining unit is further configured to monitor and obtain the ambient temperature through an external temperature sensor of the electric blanket, or send a request to the terminal device, receive weather forecast information sent by the terminal device in response to the request, and obtain the ambient temperature based on the weather forecast information.

In an alternative embodiment of , the obtaining unit is further configured to obtain the body condition information, and the control unit is further configured to adjust the temperature of the electric blanket according to the body condition information.

In another optional embodiment, the obtaining unit is further configured to receive a heart rate and a body temperature of the user and determine the body state information based on the heart rate and the body temperature, or receive the body state information sent by the wearable device, wherein the body state information is determined by the wearable device monitoring the heart rate and the body temperature of the user.

According to yet another aspects of embodiments of the present disclosure, there is provided electronic devices including a memory for storing instructions and a processor for invoking the instructions stored by the memory to perform any of methods of controlling an electric blanket according to embodiments of the present disclosure.

According to yet another aspects of embodiments of the present disclosure, there are provided non-transitory computer-readable storage media including computer-executable instructions stored thereon that, when executed by a processor, perform any of methods of controlling an electric blanket in embodiments of the present disclosure.

The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the electric blanket can be used for carrying out prejudgment according to the sleeping time condition and the ambient temperature of the user, and judging the time for turning on the electric blanket and the time for turning off the electric blanket, so that the heating time and the heating temperature of the electric blanket are suitable for the sleeping state of the user, and the sleeping experience of the user is improved.

It is to be understood that both the foregoing -general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification , illustrate embodiments consistent with the invention and together with the description , serve to explain the principles of the invention.

Fig. 1 is a flow chart illustrating a method of controlling an electric blanket according to an exemplary embodiment of .

FIG. 2 is a flow chart illustrating another method of controlling an electric blanket, according to an exemplary embodiment of

Fig. 3 is a block diagram of a device for controlling an electric blanket, shown in accordance with an exemplary embodiment of .

Fig. 4 is a block diagram illustrating another means of controlling an electric blanket, according to an exemplary embodiment of .

Detailed Description

The embodiments described in the exemplary embodiments below do not represent all embodiments consistent with the invention's , rather, they are merely examples consistent with the invention's aspects , as detailed in the appended claims.

At present, a user controls the switch and the temperature of the electric blanket through a remote controller; or after the electric blanket confirms that the user lies on the electric blanket through the sensor, the electric blanket controls the temperature by itself. When the user can not lie down and use the electric blanket, the electric blanket adjusts the temperature to be suitable for the user. According to the method for controlling the electric blanket provided by the embodiment of the disclosure, the electric blanket can be prejudged according to the sleeping time condition and the ambient temperature of a user, and the time for turning on the electric blanket and the time for turning off the electric blanket are judged, so that the heating time and the heating temperature of the electric blanket are suitable for the sleeping state of the user, and the sleeping experience of the user is improved.

Fig. 1 is a flowchart illustrating a method 10 of controlling an electric blanket according to an exemplary embodiment of . as shown in fig. 1, the method 10 of controlling an electric blanket includes the following steps.

In step S11, user sleep time information is acquired.

And determining the time for the user to use the electric blanket by acquiring the sleep time information of the user. The electric blanket is convenient to pre-judge whether to turn on or turn off according to the use time of a user.

In an alternative embodiment , the sleep time information is obtained by acquiring the user's historical usage time through the pressure sensor of the electric blanket.

When the user uses the electric blanket, the electric blanket pressure sensor can sense the pressure from the user, so that the historical use time of the user using the electric blanket can be obtained. According to the record of the electric blanket used for a long time, the sleep time information of the user can be acquired.

In another alternative embodiment, sleep time information detected and transmitted by the wearable device is received.

The electric blanket is in interactive connection with the wearable device, and sleep time information recorded in the wearable device is acquired. Wherein, wearable equipment includes: smart band, smart watch, etc.

In yet another alternative embodiment, a request is sent to the terminal device and alarm clock information sent by the terminal device in response to the request is received, and sleep time information is obtained based on the alarm clock information.

Through interacting with the terminal, the alarm clock information of the user in the terminal application is obtained, for example: in the clock application, the alarm clock ringing time is set, and the user getting-up state can be determined through alarm clock information; in the application of the schedule plan, the work and rest time of the user is acquired, and the alarm clock time is combined. And predicting the sleep time information of the user using the electric blanket through the alarm clock information.

In step S12, a real-time ambient temperature is acquired.

And judging the trend of the ambient temperature according to the acquired ambient information, thereby determining the time for preheating and turning off the electric blanket in advance or turning on the gear of the electric blanket, and facilitating the temperature of the electric blanket to be suitable for the sleep of a user when the user uses the electric blanket.

In an alternative embodiment , the ambient temperature is monitored by an external temperature sensor of the electric blanket.

And the external temperature is monitored in real time through the external temperature sensor. The temperature change trend can be conveniently predicted, and the time for turning on or turning off the electric blanket is determined.

In an alternative embodiment of , the real-time ambient temperature may be obtained by acquiring the real-time temperature monitored by the indoor temperature detector in conjunction with the indoor temperature detector.

In another alternative embodiment, a request is sent to the terminal device and weather forecast information sent by the terminal device in response to the request is received, and the ambient temperature is derived based on the weather forecast information.

The method comprises the steps of acquiring weather forecast information monitored by the terminal equipment through interaction with the terminal equipment, judging the trend of the ambient temperature, determining the ambient temperature state of a user during sleeping by combining the sleeping time information of the user, and using the time of the electric blanket, so that the temperature change of the electric blanket is adjusted in advance, and the use by the user is facilitated. The weather forecast information directly acquired by the external terminal equipment can quickly acquire the environmental temperature change, so that the prediction cost is reduced.

In step S13, the electric blanket is turned on or off based on the sleep time information and the ambient temperature.

Determining the time for using the electric blanket according to the obtained sleep time information; the time for turning on or turning off the electric blanket can be automatically pre-judged by combining the acquired environmental temperature. The user can directly obtain comfortable temperature brought by the electric blanket when the user needs to sleep; or when the user wants to get up, the electric blanket is turned off in advance, so that the user can adapt to the ambient temperature in advance.

In an alternative embodiment , the user's sleep start time and sleep end time are determined based on the sleep time information, the electric blanket is pre-warmed for a th period based on ambient temperature and pre-cooled for a second period, the electric blanket is turned on for a th period prior to the sleep start time, and the electric blanket is turned off for the second period prior to the sleep end time.

The method comprises the steps of obtaining a time period when a user normally uses the electric blanket or a use start time of the electric blanket according to information of historical use of the electric blanket in , and determining a waking time of the user according to alarm clock information, wherein a th time period when the electric blanket is started in advance is determined by predicting the time period when the user normally uses the electric blanket according to the information of historical use of the electric blanket, and the time period is used for preheating by using the electric blanket before the sleep start time, so that the temperature is suitable for the user to rest.

Through the embodiment, the electric blanket can be used for prejudging according to the sleeping time condition and the ambient temperature of the user, and the time for turning on the electric blanket and the time for turning off the electric blanket are judged, so that the heating time and the heating temperature of the electric blanket are suitable for the sleeping state of the user, and the sleeping experience of the user is improved.

Based on inventive concepts, the present disclosure also provides another flow chart of an exemplary method of controlling an electric blanket.

Fig. 2 shows a flow chart 20 of the exemplary method of controlling an electric blanket. As shown in fig. 2, the method for controlling an electric blanket includes the following steps.

In step S201, user sleep time information is acquired.

The sleep time information of the user is acquired and used for determining the sleep time of the user, so that the electric blanket can be turned on or off in advance.

In step S202, a real-time ambient temperature is acquired.

The real-time ambient temperature is acquired, so that the ambient temperature change of a user when the user needs to use the electric blanket to prepare for sleeping or finishes the sleep to prepare for getting up is conveniently predicted, the preheating time of the electric blanket is controlled to be started in advance or the electric blanket is closed in advance, and the temperature is cooled, so that the user can adapt to the ambient temperature outside after being awake.

In step S203, body state information is acquired.

The physical state information may include: the user can adjust the heat degree of the electric blanket by himself or herself, and pre-judge the time for preheating the electric blanket in advance or the time for closing the electric blanket in advance by acquiring the body state information when the user is in the current body temperature change and sleep state.

In an alternative embodiment of , a heart rate and a body temperature of the user are received and the physical state information is determined based on the heart rate and the body temperature.

By acquiring the heart rate and the body temperature of the user, the electric blanket can confirm whether the current state of the user gradually enters the sleep state, is in the sleep state or is gradually awake. According to the physical state of the user, the proper temperature is provided, and the sleeping experience of the user is effectively improved.

In another alternative embodiment, the body state information sent by the wearable device is received, wherein the body state information is determined by the wearable device monitoring the heart rate and the body temperature of the user.

Through wearing equipment, the heart rate and the body temperature of monitoring user that can be real-time accurate judge user's activity state through the heartbeat, according to user's body temperature, judge whether the user needs to use the electric blanket heating. For example: when the heartbeat frequency of the user is gradually reduced, the body temperature of the user is gradually stabilized, and the user can be judged to gradually sleep.

In step S204, the electric blanket is turned on or off based on the sleep time information and the ambient temperature.

Determining the time for using the electric blanket according to the obtained sleep time information; the time for turning on or turning off the electric blanket can be automatically pre-judged by combining the acquired environmental temperature. The user can directly obtain comfortable temperature brought by the electric blanket when the user needs to sleep; or when the user wants to get up, the electric blanket is turned off in advance, so that the user can adapt to the ambient temperature in advance.

In step S205, the temperature of the electric blanket is adjusted according to the body state information.

After the electric blanket is started, the temperature of the electric blanket is automatically adjusted according to the detected body state information of the user, so that the temperature provided by the electric blanket is suitable for the sleep and rest of the user when the user uses the electric blanket. For example: when a user just sleeps, the temperature provided by the electric blanket is relatively high; when the deep sleep is started, the temperature is gradually reduced to the proper temperature of the user; when the user gradually changes from the sleep state to the waking state, the temperature of the electric blanket is gradually reduced or the electric blanket is closed in advance, so that the user can adapt to the ambient temperature when being awake.

Through the embodiment, the electric blanket judges the time of the user using the electric blanket according to the sleep time information of the user, judges the time of turning on or off the electric blanket according to the ambient temperature, and timely adjusts the temperature according to the body state information of the user monitored in real time so as to realize the stable sleep state of the user and provide a comfortable sleep environment.

Fig. 3 is a block diagram 100 illustrating a apparatus for controlling an electric blanket according to an exemplary embodiment of , and referring to fig. 3, the apparatus may include an obtaining unit 110 and a control unit 120.

The obtaining unit 110 is used for obtaining the sleep time information of the user and the real-time environment temperature.

The control unit 120 is configured to turn on or off the electric blanket based on the sleep time information and the ambient temperature.

In an alternative embodiment , the control unit 110 is configured to determine a sleep start time and a sleep end time of the user based on the sleep time information, determine a th time period during which the electric blanket is warmed up in advance and a second time period during which the electric blanket is cooled down in advance based on the ambient temperature, turn on the electric blanket at a th time period earlier than the sleep start time, and turn off the electric blanket at the second time period earlier than the sleep end time.

In , the obtaining unit 110 is further configured to obtain the user's historical usage time through the pressure sensor of the electric blanket to obtain the sleep time information, or receive the sleep time information detected and sent by the wearable device, or send a request to the terminal device, and receive alarm clock information sent by the terminal device in response to the request, and obtain the sleep time information based on the alarm clock information.

In , the obtaining unit 110 is further configured to monitor and obtain the ambient temperature through an external temperature sensor of the electric blanket, or send a request to the terminal device, and receive weather forecast information sent by the terminal device in response to the request, and obtain the ambient temperature based on the weather forecast information.

in an alternative embodiment, the obtaining unit 110 is further configured to obtain the body state information, and the control unit 120 is further configured to adjust the temperature of the electric blanket according to the body state information.

In another optional embodiment, the obtaining unit 110 is further configured to receive a heart rate and a body temperature of the user and determine the body state information based on the heart rate and the body temperature, or receive the body state information sent by the wearable device, wherein the body state information is determined by the wearable device monitoring the heart rate and the body temperature of the user.

With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

Fig. 4 is a block diagram of the apparatus 200 for controlling an electric blanket shown in accordance with an exemplary embodiment of , for example, the apparatus 200 may be provided as a server with reference to fig. 4, the apparatus 200 includes a processing component 222 further includes or more processors and memory resources, represented by memory 232, for storing instructions executable by the processing component 222, such as an application program, the application program stored in the memory 232 may include or more than modules per corresponding to sets of instructions.

The device 200 may also include power components 226 configured to perform power management of the device 200, wired or wireless network interfaces 250 configured to connect the device 200 to a network, and input output (I/O) interfaces 258 the device 200 may operate based on an operating system stored in memory 232, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.

non-transitory computer readable storage media having instructions thereon that, when executed by a processor of a mobile terminal, enable the mobile terminal to perform any of the methods of controlling an electric blanket of the disclosed embodiments.

This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the -like principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains and as may be applied to the essential features hereinbefore set forth, the specification and examples are to be considered as illustrative, the true scope and spirit of the invention being indicated by the following claims.

It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:用于材料热传导性能表征的发热装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!