CN114963549A - Water heater preheating control method, device, electronic device and storage medium - Google Patents
Water heater preheating control method, device, electronic device and storage medium Download PDFInfo
- Publication number
- CN114963549A CN114963549A CN202110611239.2A CN202110611239A CN114963549A CN 114963549 A CN114963549 A CN 114963549A CN 202110611239 A CN202110611239 A CN 202110611239A CN 114963549 A CN114963549 A CN 114963549A
- Authority
- CN
- China
- Prior art keywords
- user
- water heater
- sleep
- time
- state data
- 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
Links
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24H—FLUID HEATERS, e.g. WATER OR AIR HEATERS, HAVING HEAT-GENERATING MEANS, e.g. HEAT PUMPS, IN GENERAL
- F24H9/00—Details
- F24H9/20—Arrangement or mounting of control or safety devices
- F24H9/2007—Arrangement or mounting of control or safety devices for water heaters
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)
- Heat-Pump Type And Storage Water Heaters (AREA)
Abstract
本发明属于智能家电技术领域,具体涉及一种热水器预加热控制方法、装置、电子设备及存储介质。本发明旨在解决现有现有智能热水器加热时机不准确,影响用水舒适度的问题。通过接收终端设备发送的身体状态数据,身体状态数据用于表征用户当前的生理指标;根据身体状态数据,确定用户苏醒时间;基于用户苏醒时间,控制智能热水器进行水温预加热,以使智能热水器的水温在用户苏醒时间达到预设温度,由于根据终端设备发送的身体状态数据,可以确定对应的用户苏醒时间,因此,基于用户苏醒时间控制智能热水器进行水温预加热,可以使智能热水器的加热时机与用户苏醒时间相匹配,避免了智能热水器加热过早或过晚的问题,提高用水舒适度,降低能耗。
The invention belongs to the technical field of intelligent household appliances, and in particular relates to a water heater preheating control method, device, electronic equipment and storage medium. The invention aims to solve the problem that the heating timing of the existing intelligent water heater is inaccurate and affects the comfort of water use. By receiving the body state data sent by the terminal device, the body state data is used to represent the user's current physiological indicators; according to the body state data, the user's wake-up time is determined; based on the user's wake-up time, the smart water heater is controlled to preheat the water temperature, so that the The water temperature reaches the preset temperature when the user wakes up. Since the corresponding user wake-up time can be determined according to the body state data sent by the terminal device, controlling the smart water heater to preheat the water temperature based on the user’s wake-up time can make the heating timing of the smart water heater different from that of the smart water heater. The wake-up time of the user is matched, which avoids the problem that the intelligent water heater is heated too early or too late, improves the comfort of water use and reduces energy consumption.
Description
技术领域technical field
本发明属于智能家电技术领域,具体涉及一种热水器预加热控制方法、装置、电子设备及存储介质。The invention belongs to the technical field of intelligent household appliances, and in particular relates to a water heater preheating control method, device, electronic equipment and storage medium.
背景技术Background technique
目前,随着智能控制技术和物联网技术的发展,基于智能控制技术和物联网技术的智能家电设备越来越普及。智能热水器作为一种常见的智能家电设备,可以利用智能控制技术,对储水型热水器的加热启动时机进行控制,从而起到降低能耗,提高使用舒适度的目的。At present, with the development of intelligent control technology and Internet of Things technology, smart home appliances based on intelligent control technology and Internet of Things technology are becoming more and more popular. As a common smart home appliance, smart water heaters can use intelligent control technology to control the heating and start timing of water storage water heaters, thereby reducing energy consumption and improving user comfort.
现有技术中,对储水型热水器的加热控制,通常是基于任务规划,根据用户设置,在固定时间进行水温加热,然而,当下用户每天的入睡时间和起床时间不固定,根据固定时间进行水温加热,常会导致用户起床后热水未加热至理想温度,影响用水舒适度;或者过早进行加热,造成能耗增加的问题。In the prior art, the heating control of the storage type water heater is usually based on task planning, and according to user settings, water temperature heating is performed at a fixed time. Heating often results in that the hot water is not heated to the ideal temperature after the user gets up, which affects the comfort of water use; or heating is performed too early, causing the problem of increased energy consumption.
相应地,本领域需要一种新的热水器预加热控制方法、装置、电子设备及存储介质来解决上述问题。Accordingly, there is a need in the art for a new water heater preheating control method, device, electronic device and storage medium to solve the above problems.
发明内容SUMMARY OF THE INVENTION
为了解决现有技术中的上述问题,即为了解决现有智能热水器的水温加热时机不准确,影响用水舒适度、增加能耗的问题,本发明提供了一种热水器预加热控制方法、装置、电子设备及存储介质。In order to solve the above problems in the prior art, that is, in order to solve the problems of inaccurate water temperature heating timing of the existing intelligent water heater, affecting the comfort of water use and increasing energy consumption, the present invention provides a water heater preheating control method, device, electronic equipment and storage media.
根据本发明实施例的第一方面,本发明提供了一种热水器预加热控制方法,包括:According to a first aspect of the embodiments of the present invention, the present invention provides a water heater preheating control method, including:
接收终端设备发送的身体状态数据,所述身体状态数据用于表征用户当前的生理指标;根据所述身体状态数据,确定用户苏醒时间;基于所述用户苏醒时间,控制智能热水器进行水温预加热,以使所述智能热水器的水温在所述用户苏醒时间达到预设温度。Receive body state data sent by the terminal device, where the body state data is used to represent the current physiological index of the user; determine the user's wake-up time according to the body state data; control the smart water heater to preheat the water temperature based on the user's wake-up time, So that the water temperature of the intelligent water heater reaches a preset temperature when the user wakes up.
在上述热水器预加热控制方法的优选技术方案中,根据所述身体状态数据,确定用户苏醒时间,包括:根据所述身体状态数据,确定用户当前的睡眠阶段;根据所述睡眠阶段,确定剩余睡眠时长;根据所述剩余睡眠时长,确定所述用户苏醒时间。In a preferred technical solution of the above water heater preheating control method, determining the wake-up time of the user according to the body state data includes: determining the user's current sleep stage according to the body state data; determining the remaining sleep according to the sleep stage duration; according to the remaining sleep duration, determine the wake-up time of the user.
在上述热水器预加热控制方法的优选技术方案中,根据所述身体状态数据,确定用户当前的睡眠阶段,包括:获取历史睡眠数据,所述历史睡眠数据用于表征用户处于睡眠状态时,所述用户的生理指标随时间的变化;根据所述历史睡眠数据,确定不同所述用户的多个睡眠阶段,以及与各所述睡眠阶段对应的生理指标,其中,在同一所述睡眠阶段内,所述用户的生理指标具有对应的变化规律;根据所述历史睡眠数据确定的多个睡眠阶段,确定所述身体状态数据对应的睡眠阶段。In a preferred technical solution of the above water heater preheating control method, determining the current sleep stage of the user according to the body state data includes: acquiring historical sleep data, where the historical sleep data is used to represent that when the user is in a sleep state, the Changes of the physiological indicators of the user over time; according to the historical sleep data, determine multiple sleep stages of different users, and the physiological indicators corresponding to each of the sleep stages, wherein, within the same sleep stage, all The physiological index of the user has a corresponding change rule; according to the multiple sleep stages determined by the historical sleep data, the sleep stage corresponding to the body state data is determined.
在上述热水器预加热控制方法的优选技术方案中,所述方法还包括:获取终端设备发送的用户标识;根据所述用户标识,获取对应的历史睡眠数据。In a preferred technical solution of the above water heater preheating control method, the method further includes: acquiring a user identifier sent by a terminal device; and acquiring corresponding historical sleep data according to the user identifier.
在上述热水器预加热控制方法的优选技术方案中,所述身体状态数据包括用户体温,基于所述用户苏醒时间,控制智能热水器进行水温预加热,包括:根据所述用户体温,确定对应的目标加热温度;控制所述热水器进行水温预加热,以使所述热水器的水温在所述用户苏醒时间,达到所述目标加热温度。In a preferred technical solution of the above water heater preheating control method, the body state data includes the user's body temperature, and controlling the smart water heater to perform water temperature preheating based on the user's wake-up time includes: determining a corresponding target heating according to the user's body temperature temperature; control the water heater to preheat the water temperature, so that the water temperature of the water heater reaches the target heating temperature during the wake-up time of the user.
在上述热水器预加热控制方法的优选技术方案中,所述身体状态数据包括以下至少一种:体温、心跳频率、血压。In a preferred technical solution of the above water heater preheating control method, the body state data includes at least one of the following: body temperature, heartbeat frequency, and blood pressure.
在上述热水器预加热控制方法的优选技术方案中,在接收终端设备发送的身体状态数据之前,所述方法还包括:接收所述终端设备发送的检测信息,所述检测信息用于判断用户是否处于睡眠状态;接收终端设备发送的身体状态数据,包括:若根据所述检测信息,确定所述用户处于睡眠状态,则接收所述终端设备发送的身体状态数据。In a preferred technical solution of the above water heater preheating control method, before receiving the body state data sent by the terminal device, the method further includes: receiving detection information sent by the terminal device, where the detection information is used to determine whether the user is in a Sleep state; receiving the body state data sent by the terminal device includes: if it is determined according to the detection information that the user is in the sleep state, receiving the body state data sent by the terminal device.
根据本发明实施例的第二方面,本发明提供了一种热水器联动控制装置,包括:According to a second aspect of the embodiments of the present invention, the present invention provides a water heater linkage control device, comprising:
接收模块,用于接收终端设备发送的身体状态数据,所述身体状态数据用于表征用户当前的生理指标;a receiving module, configured to receive the body state data sent by the terminal device, where the body state data is used to represent the current physiological index of the user;
确定模块,用于根据所述身体状态数据,确定用户苏醒时间;a determining module, configured to determine the wake-up time of the user according to the body state data;
控制模块,用于基于所述用户苏醒时间,控制智能热水器进行水温预加热,以使所述智能热水器的水温在所述用户苏醒时间达到预设温度。The control module is configured to control the smart water heater to preheat the water temperature based on the wake-up time of the user, so that the water temperature of the smart water heater reaches a preset temperature at the wake-up time of the user.
在上述热水器联动控制装置的优选技术方案中,所述确定模块,具体用于:根据所述身体状态数据,确定用户当前的睡眠阶段;根据所述睡眠阶段,确定剩余睡眠时长;根据所述剩余睡眠时长,确定所述用户苏醒时间。In the preferred technical solution of the above water heater linkage control device, the determining module is specifically configured to: determine the current sleep stage of the user according to the body state data; determine the remaining sleep duration according to the sleep stage; The sleep duration determines the wake-up time of the user.
在上述热水器联动控制装置的优选技术方案中,所述确定模块在根据所述身体状态数据,确定用户当前的睡眠阶段时,具体用于:获取历史睡眠数据,所述历史睡眠数据用于表征用户处于睡眠状态时,所述用户的生理指标随时间的变化;根据所述历史睡眠数据,确定不同所述用户的多个睡眠阶段,以及与各所述睡眠阶段对应的生理指标,其中,在同一所述睡眠阶段内,所述用户的生理指标具有对应的变化规律;根据所述历史睡眠数据确定的多个睡眠阶段,确定所述身体状态数据对应的睡眠阶段。In the preferred technical solution of the above water heater linkage control device, when determining the current sleep stage of the user according to the body state data, the determining module is specifically configured to: acquire historical sleep data, where the historical sleep data is used to characterize the user When in the sleep state, the physiological indicators of the user change with time; according to the historical sleep data, determine multiple sleep stages of different users, and the physiological indicators corresponding to each sleep stage, wherein, in the same In the sleep stage, the physiological index of the user has a corresponding change rule; according to the multiple sleep stages determined by the historical sleep data, the sleep stage corresponding to the body state data is determined.
在上述热水器联动控制装置的优选技术方案中,所述接收模块,还用于:获取终端设备发送的用户标识;根据所述用户标识,获取对应的历史睡眠数据。In the preferred technical solution of the above water heater linkage control device, the receiving module is further configured to: acquire a user identifier sent by the terminal device; and acquire corresponding historical sleep data according to the user identifier.
在上述热水器联动控制装置的优选技术方案中,所述身体状态数据包括用户体温,所述控制模块,具体用于:根据所述用户体温,确定对应的目标加热温度;控制所述热水器进行水温预加热,以使所述热水器的水温在所述用户苏醒时间,达到所述目标加热温度。In a preferred technical solution of the above water heater linkage control device, the body state data includes a user's body temperature, and the control module is specifically configured to: determine a corresponding target heating temperature according to the user's body temperature; control the water heater to perform water temperature pre-heating Heating is performed so that the water temperature of the water heater reaches the target heating temperature during the wake-up time of the user.
在上述热水器联动控制装置的优选技术方案中,所述身体状态数据包括以下至少一种:体温、心跳频率、血压。In a preferred technical solution of the above water heater linkage control device, the body state data includes at least one of the following: body temperature, heartbeat frequency, and blood pressure.
在上述热水器联动控制装置的优选技术方案中,在接收终端设备发送的身体状态数据之前,所述接收模块,还用于:接收所述终端设备发送的检测信息,所述检测信息用于判断用户是否处于睡眠状态;所述控制模块在接收终端设备发送的身体状态数据时,具体用于:若根据所述检测信息,确定所述用户处于睡眠状态,则接收所述终端设备发送的身体状态数据。In the preferred technical solution of the above water heater linkage control device, before receiving the body state data sent by the terminal device, the receiving module is further configured to: receive detection information sent by the terminal device, where the detection information is used to determine the user Whether the user is in a sleep state; when receiving the body state data sent by the terminal device, the control module is specifically configured to: if it is determined according to the detection information that the user is in a sleep state, receive the body state data sent by the terminal device .
根据本发明实施例的第三方面,本发明提供了一种电子设备,包括:存储器,处理器以及计算机程序;According to a third aspect of the embodiments of the present invention, the present invention provides an electronic device, including: a memory, a processor, and a computer program;
其中,所述计算机程序存储在所述存储器中,并被配置为由所述处理器执行如本发明实施例第一方面任一项所述的热水器预加热控制方法。Wherein, the computer program is stored in the memory, and is configured to execute the water heater preheating control method according to any one of the first aspect of the embodiments of the present invention by the processor.
根据本发明实施例的第四方面,本发明提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如本发明实施例第一方面任一项所述的热水器预加热控制方法。According to a fourth aspect of the embodiments of the present invention, the present invention provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, are used to implement the The water heater preheating control method according to any one of the first aspect of the embodiments of the present invention.
根据本发明实施例的第五方面,本发明提供了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行如本发明实施例第一方面任一项所述的热水器预加热控制方法。According to a fifth aspect of the embodiments of the present invention, the present invention provides a computer program product, including a computer program, and the computer program is executed by a processor according to any one of the first aspect of the embodiments of the present invention. Preheating control method for a water heater .
本领域技术人员能够理解的是,本发明的热水器预加热控制方法、装置、电子设备及存储介质,通过接收终端设备发送的身体状态数据,所述身体状态数据用于表征用户当前的生理指标;根据所述身体状态数据,确定用户苏醒时间;基于所述用户苏醒时间,控制智能热水器进行水温预加热,以使所述智能热水器的水温在所述用户苏醒时间达到预设温度,由于根据终端设备发送的身体状态数据,可以确定对应的用户苏醒时间,因此,基于用户苏醒时间控制智能热水器进行水温预加热,可以使智能热水器的加热时机与用户苏醒时间相匹配,避免了智能热水器由于无法确定用户用水时间,加热过早或过晚的问题,提高用水舒适度,降低能耗。Those skilled in the art can understand that the water heater preheating control method, device, electronic device and storage medium of the present invention receive the body state data sent by the terminal device, and the body state data is used to represent the current physiological index of the user; Determine the wake-up time of the user according to the physical state data; control the smart water heater to preheat the water temperature based on the wake-up time of the user, so that the water temperature of the smart water heater reaches the preset temperature at the wake-up time of the user, because according to the terminal device The sent body state data can determine the corresponding wake-up time of the user. Therefore, controlling the smart water heater to preheat the water temperature based on the wake-up time of the user can match the heating timing of the smart water heater with the wake-up time of the user, avoiding the smart water heater's inability to determine the user Water time, heating too early or too late, improve water comfort and reduce energy consumption.
附图说明Description of drawings
下面参照附图来描述本发明的热水器预加热控制方法、装置、电子设备的优选实施方式。附图为:Preferred embodiments of the water heater preheating control method, device and electronic device of the present invention will be described below with reference to the accompanying drawings. Attached is:
图1为本发明实施例提供的热水器预加热控制方法的一种应用场景图;FIG. 1 is an application scenario diagram of a water heater preheating control method provided by an embodiment of the present invention;
图2为本发明一个实施例提供的热水器预加热控制方法的流程图;2 is a flowchart of a water heater preheating control method provided by an embodiment of the present invention;
图3为本发明实施例提供的一种睡眠阶段的示意图,如图3所示;FIG. 3 is a schematic diagram of a sleep stage provided by an embodiment of the present invention, as shown in FIG. 3 ;
图4为本发明另一个实施例提供的热水器预加热控制方法的流程图;4 is a flowchart of a water heater preheating control method provided by another embodiment of the present invention;
图5为本发明实施例提供的一种历史睡眠数据对应的睡眠阶段的示意图;5 is a schematic diagram of sleep stages corresponding to historical sleep data according to an embodiment of the present invention;
图6为本发明一个实施例提供的热水器联动控制装置的结构示意图;6 is a schematic structural diagram of a water heater linkage control device provided by an embodiment of the present invention;
图7为本发明一个实施例提供的电子设备的示意图。FIG. 7 is a schematic diagram of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
首先,本领域技术人员应当理解的是,这些实施方式仅仅用于解释本发明的技术原理,并非旨在限制本发明的保护范围。本领域技术人员可以根据需要对其作出调整,以便适应具体的应用场合。例如,虽然本发明的热水器预加热控制方法是结合电热水器来描述的,但是这并不是限定的,其他具有热水器预加热控制需求的设备均可配置本发明的热水器预加热控制方法,如空气能热水器等。First of all, those skilled in the art should understand that these embodiments are only used to explain the technical principle of the present invention, and are not intended to limit the protection scope of the present invention. Those skilled in the art can adjust it as needed to adapt to specific applications. For example, although the water heater preheating control method of the present invention is described in conjunction with an electric water heater, this is not a limitation, and other devices with water heater preheating control requirements can be configured with the water heater preheating control method of the present invention, such as air energy water heater etc.
此外,还需要说明的是,在本发明的描述中,除非另有明确的规定和限定,术语“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个构件内部的连通。对于本领域技术人员而言,可根据具体情况理解上述术语在本发明中的具体含义。In addition, it should also be noted that, in the description of the present invention, unless otherwise expressly specified and limited, the terms "connected" and "connected" should be understood in a broad sense, for example, it may be a fixed connection or a detachable connection , or integrally connected; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal communication of the two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.
首先对本发明所涉及的名词进行解释:First, the terms involved in the present invention are explained:
1)智能家电设备,是指将微处理器、传感器技术、网络通信技术引入家电设备后形成的家电产品,具有智能控制、智能感知及智能应用的特征,智能家电设备的运作过程往往依赖于物联网、互联网以及电子芯片等现代技术的应用和处理,例如智能家电设备可以通过连接电子设备,实现用户对智能家电设备的远程控制和管理。1) Smart home appliances refer to home appliances formed by introducing microprocessors, sensor technology, and network communication technology into home appliances. They have the characteristics of intelligent control, intelligent perception and intelligent application. The operation process of intelligent home appliances often depends on the The application and processing of modern technologies such as networking, the Internet, and electronic chips, for example, smart home appliances can be connected to electronic devices to realize remote control and management of smart home appliances by users.
2)终端设备,指具有无线连接功能的电子设备,终端设备可以通过连接互联网,与如上的智能家电设备进行通信连接,也可以直接通过蓝牙、wifi等方式与如上的智能家电设备进行通信连接。在一些实施例中,终端设备例如为移动设备、电脑、或悬浮车中内置的车载设备等,或其任意组合。移动设备例如可以包括手机、智能家居设备、可穿戴设备、智能移动设备、虚拟现实设备等,或其任意组合,其中,可穿戴设备例如包括:智能手表、终端设备、计步器等。2) Terminal equipment refers to the electronic equipment with wireless connection function. The terminal equipment can communicate with the above-mentioned smart home appliances by connecting to the Internet, or directly communicate with the above-mentioned smart home appliances through Bluetooth, wifi, etc. In some embodiments, the terminal device is, for example, a mobile device, a computer, an in-vehicle device built in a hover vehicle, or the like, or any combination thereof. Mobile devices may include, for example, mobile phones, smart home devices, wearable devices, smart mobile devices, virtual reality devices, etc., or any combination thereof, wherein the wearable devices include, for example, smart watches, terminal devices, pedometers, and the like.
3)“多个”是指两个或两个以上,其它量词与之类似。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。3) "Multiple" refers to two or more, and other quantifiers are similar. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects are an "or" relationship.
4)“对应”可以指的是一种关联关系或绑定关系,A与B相对应指的是A与B之间是一种关联关系或绑定关系。4) "Correspondence" may refer to an association relationship or binding relationship, and the correspondence between A and B refers to an association relationship or binding relationship between A and B.
下面对本发明实施例的应用场景进行解释:The application scenarios of the embodiments of the present invention are explained below:
图1为本发明实施例提供的热水器预加热控制方法的一种应用场景图,本发明实施例提供的热水器预加热控制方法可以用于智慧家庭的应用场景下,执行本实施例提供方法的执行主体,可以为智能热水器,或者与智能热水器通信连接的云服务器,本实施例中,以云服务器为执行主体进行说明,更具体地,如图1所示,云服务器11能够分别与智能热水器12及终端设备13通信,其中,终端设备13例如为智能手表、智能手环等可穿戴设备,终端设备13可以采集用户的生理指标而生成身体状态数据,并将身体状态数据发送至云服务器11,云服务器11接收终端设备13发送的身体状态数据,并基于身体状态数据对智能热水器12进行预加热控制,从而实现智能热水器12的水温控制,使智能热水器12进行水温加热的时机与用户的苏醒时间相匹配。FIG. 1 is an application scenario diagram of the water heater preheating control method provided by the embodiment of the present invention. The water heater preheating control method provided by the embodiment of the present invention can be used in a smart home application scenario, and the execution of the method provided by this embodiment is performed. The main body may be a smart water heater or a cloud server connected to the smart water heater. In this embodiment, the cloud server is used as the execution body for description. More specifically, as shown in FIG. 1 , the cloud server 11 can be connected to the
现有技术中,对储水型热水器的加热控制,传统的水温加热控制,是基于温度传感器,在水温低于预设温度一定范围后,进行加热,直至水温升高至预设温度,由于水箱的水温会随着热量散失始终不同降低,因此,此种方法会造成较高的电能消耗,提高用户的使用成本。其他相关技术中的智能热水器,是基于任务规划,根据用户设置,在固定时间进行水温加热,然而,当下用户每天的入睡时间和起床时间不固定,根据固定时间进行水温加热,常会导致用户起床后热水未加热至理想温度,影响用水舒适度;或者过早进行加热,造成能耗增加的问题。In the prior art, the heating control of the water storage type water heater, the traditional water temperature heating control, is based on a temperature sensor. The water temperature of the water tank will always decrease with the heat dissipation. Therefore, this method will cause higher power consumption and increase the user's use cost. Smart water heaters in other related technologies are based on task planning and set by the user to heat the water temperature at a fixed time. However, the current user’s daily sleep time and wake-up time are not fixed. The hot water is not heated to the ideal temperature, which affects the comfort of water; or it is heated too early, causing the problem of increased energy consumption.
造成上述问题的原因,是由于储水型热水器需要预加热,才能保证水箱温度达到理想的使用温度,但是用户处于睡眠状态时,无法准确判断用户苏醒的时间,进而无法判断用户的用水时间,相应地,也无法控制热水器在准确的时间提前进行预加热。因此,当前亟需一种能够准确判断用户的苏醒时间,并基于该苏醒时间提前进行预加热的控制方法,来实现智能热水器的预加热控制。The reason for the above problem is that the storage water heater needs to be pre-heated to ensure that the temperature of the water tank reaches the ideal temperature for use. However, when the user is in a sleep state, it is impossible to accurately judge the time when the user wakes up, and thus cannot judge the user's water use time. There is also no way to control the water heater to preheat in advance at the exact time. Therefore, there is an urgent need for a control method capable of accurately judging the wake-up time of the user and preheating in advance based on the wake-up time, so as to realize the preheating control of the intelligent water heater.
下面以具体地实施例对本发明的技术方案以及本发明的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本发明的实施例进行描述。The technical solutions of the present invention and how the technical solutions of the present invention solve the above-mentioned technical problems will be described in detail below with specific examples. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
图2为本发明一个实施例提供的热水器预加热控制方法的流程图,应用于云服务器,如图2所示,本实施例提供的热水器预加热控制方法包括以下几个步骤:FIG. 2 is a flowchart of a water heater preheating control method provided by an embodiment of the present invention, which is applied to a cloud server. As shown in FIG. 2 , the water heater preheating control method provided by this embodiment includes the following steps:
步骤S101,接收终端设备发送的身体状态数据,身体状态数据用于表征用户当前的生理指标。Step S101: Receive body state data sent by the terminal device, where the body state data is used to represent the current physiological index of the user.
示例性地,终端设备例如为智能手表、智能手环等可穿戴设备,通过与用户身体表面接触,可以测量用户的生理指标,例如体温、心跳、血压等。终端设备与云服务器通信连接,可以向与云服务器发送数据,更具体地,终端设备与云服务器通信连接的方式有多种,可以是终端设备直接接入互联网而与云服务器通信,也可以是终端设备通过其他中继网络设备而接入互联网,从而与云服务器通信,此次不再一一赘述。Exemplarily, the terminal device is, for example, a wearable device such as a smart watch and a smart bracelet. By contacting the user's body surface, the user's physiological indicators, such as body temperature, heartbeat, and blood pressure, can be measured. The terminal device is connected to the cloud server for communication, and can send data to and from the cloud server. More specifically, there are many ways for the terminal device to communicate with the cloud server. The terminal device can directly access the Internet and communicate with the cloud server, or it can be The terminal device is connected to the Internet through other relay network devices, so as to communicate with the cloud server, which will not be described in detail this time.
进一步的,云服务器接收终端设备上传的身体状态数据时,可以是一次性的接收一段时间的身体状态数据,从而获知用户在当前以及之前一段时间内的生理指标,也可以是按照预设时间间隔,获取当前的身体状态数据,从而得到用户在当前时刻的生理指标,具体实现方式可根据需要设置,此次不进行一一赘述。Further, when the cloud server receives the physical state data uploaded by the terminal device, it can receive the physical state data for a period of time at one time, so as to know the physiological indicators of the user in the current and previous period of time, or it can be based on preset time intervals. , to obtain the current body state data, so as to obtain the physiological index of the user at the current moment.
步骤S102,根据身体状态数据,确定用户苏醒时间。Step S102: Determine the wake-up time of the user according to the body state data.
示例性地,在云服务器获得身体状态数据后,对身体状态数据进行分析,可以确定用户当前的状态,更具体地,可以确定用户当前的睡眠阶段,例如,刚刚入睡或者接近苏醒。睡眠阶段是用于表征用户处于睡眠状态时不同的时间阶段,睡眠阶段可以是人为按照时间划分,或者根据用户在不同时间段内的生理指标进行划分。各睡眠阶段的时间长度可以相同,也可以不同,此次不进行具体限制。Exemplarily, after the cloud server obtains the body state data and analyzes the body state data, the current state of the user may be determined, and more specifically, the current sleep stage of the user may be determined, for example, just falling asleep or nearly awake. The sleep stages are used to represent different time stages when the user is in a sleep state, and the sleep stages can be divided artificially according to time, or according to the physiological indicators of the user in different time periods. The time length of each sleep stage may be the same or different, which is not specifically limited this time.
进一步的,根据预设的历史睡眠数据,每一睡眠阶段对应一段持续时长,确定当前睡眠阶段后,即可确定当前睡眠阶段对应的持续时长,进而,根据当前睡眠阶段的持续时长,以及在当前睡眠阶段之后的睡眠阶段的持续时长,可以确定当前睡眠阶段距离用户苏醒的时间,即剩余睡眠时长,进而根据剩余睡眠时长可以确定用户苏醒时间。Further, according to the preset historical sleep data, each sleep stage corresponds to a duration, and after the current sleep stage is determined, the duration corresponding to the current sleep stage can be determined, and then, according to the duration of the current sleep stage, and the current sleep stage The duration of the sleep stage after the sleep stage can determine the time between the current sleep stage and the user waking up, that is, the remaining sleep time, and then the user waking time can be determined according to the remaining sleep time.
图3为本发明实施例提供的一种睡眠阶段的示意图,如图3所示,示例性地,身体状态数据表征用户体温,在用户进入睡眠状态后,由于身体机能代谢下降,用户体温逐渐降低,并维持在较低水平,随着睡眠时间的逐渐累积,用户的身体机能代谢能力逐渐回复,用户体温也随之逐渐升高。根据用户体温在不同时间段的分布,可以划分为三个睡眠阶段,即图3中所示的第一阶段、第二节点以及第三阶段,在第一阶段,用户体温较高;而在第二阶段,用户体温下降至较低水平,在三阶段,用户体温回升。其中,第一阶段维持的时间为a分钟,第二阶段维持的时间为b分钟,第三阶段维持的时间为c分钟,由此,根据身体状态数据(本实施例中为用户体温),即可确定当前的睡眠阶段,进而,可以确定在本阶段之后的阶段的时长,为剩余睡眠时长。进一步的,根据剩余睡眠时长以及当前的系统时间,即可确定用户苏醒时间。Fig. 3 is a schematic diagram of a sleep stage provided by an embodiment of the present invention. As shown in Fig. 3, exemplarily, the body state data represents the user's body temperature. After the user enters the sleep state, the user's body temperature gradually decreases due to the decrease in body function and metabolism , and maintain it at a low level. With the gradual accumulation of sleep time, the user's physical function and metabolic capacity gradually recover, and the user's body temperature also gradually increases. According to the distribution of the user's body temperature in different time periods, it can be divided into three sleep stages, namely the first stage, the second node and the third stage shown in Figure 3. In the first stage, the user's body temperature is higher; In the second stage, the user's body temperature drops to a lower level, and in the third stage, the user's body temperature rises. Among them, the maintenance time of the first stage is a minutes, the maintenance time of the second stage is b minutes, and the maintenance time of the third stage is c minutes. The current sleep stage can be determined, and further, the duration of the stage after this stage can be determined as the remaining sleep duration. Further, according to the remaining sleep duration and the current system time, the wake-up time of the user can be determined.
示例性地,本实施例中,当睡眠阶段的数量,可以根据需要进行设置,睡眠阶段的数量越多,即睡眠阶段的划分越细致,则用户苏醒时间越准确,当相对所需要的身体状态数据的数据量越大,在一种可能的实现方式中,睡眠阶段的数量,可以根据智能热水器的类型进行确定,例如,当智能热水器为配有循环泵的零冷水热水器,设置较多数量的睡眠阶段,以提高零冷水热水器的供水效果,降低能耗。Exemplarily, in this embodiment, the number of sleep stages can be set as required. The more the number of sleep stages, that is, the more detailed the division of sleep stages, the more accurate the wake-up time of the user. The larger the amount of data is, in a possible implementation, the number of sleep stages can be determined according to the type of smart water heater. For example, when the smart water heater is a zero-cold water heater equipped with a circulating pump, a larger number of Sleep stage to improve the water supply effect of the zero-cold water heater and reduce energy consumption.
步骤S103,基于用户苏醒时间,控制智能热水器进行水温预加热,以使智能热水器的水温在用户苏醒时间达到预设温度。Step S103 , based on the wake-up time of the user, control the smart water heater to preheat the water temperature, so that the water temperature of the smart water heater reaches a preset temperature at the wake-up time of the user.
示例性地,在确定用户苏醒时间后,可以根据用户苏醒时间,进行水温预加热。在一种可能的实现方式中,可以将用户苏醒时间视为用水时间,即在系统时间到达用户苏醒时间时,保证水箱内的水温达到预设温度,进而根据该用户苏醒时间,以及预设的加热功率与温升速度之间的映射关系,结合当前水温和预设温度,确定出开始进行水温预加热的时间,并控制热水器在该水温预加热的时间,以对应的加热功率进行加热,以实现在系统时间到达用户苏醒时间时,水箱中的温度能够达到预设温度。Exemplarily, after the wake-up time of the user is determined, water temperature preheating may be performed according to the wake-up time of the user. In a possible implementation manner, the wake-up time of the user can be regarded as the water-use time, that is, when the system time reaches the wake-up time of the user, it is ensured that the water temperature in the water tank reaches the preset temperature, and then according to the wake-up time of the user and the preset temperature The mapping relationship between the heating power and the temperature rise rate, combined with the current water temperature and the preset temperature, determine the time to start the water temperature preheating, and control the water heater preheating time at the water temperature to heat with the corresponding heating power to It is realized that when the system time reaches the user's wake-up time, the temperature in the water tank can reach the preset temperature.
其中,可选地,若智能热水器为配有循环泵的零冷水热水器,在控制智能热水器进行水温预加热,使水温到达预设温度后,控制循环泵启动,并将热水泵至出水口,实现零冷水供水。Wherein, optionally, if the intelligent water heater is a zero-cold water heater equipped with a circulating pump, after the intelligent water heater is controlled to preheat the water temperature so that the water temperature reaches the preset temperature, the circulating pump is controlled to start, and the hot water is pumped to the water outlet to achieve Zero cold water supply.
需要说明的是,本实施例中,是云服务器作为执行主体对本实施例提供的热水器预加热控制方法进行介绍的,其中云服务分别能够与智能热水器及终端设备通信。当本实施例提供的热水器预加热控制方法的执行主体为智能热水器时,则智能热水器可以通过与终端设备的通信,在无需云服务器的情况下,实现热水器的预加热控制方法,并达到与本实施例相同的技术效果和目的,其执行步骤与本实施例步骤类型,区别仅在于执行主体的不同,因此对于以智能热水器为执行主体的实施例,此次不再进行重复介绍,可参见本实施例中的各步骤的说明。It should be noted that, in this embodiment, the cloud server is used as the execution subject to introduce the water heater preheating control method provided in this embodiment, wherein the cloud service can communicate with the smart water heater and the terminal device respectively. When the executive body of the water heater preheating control method provided in this embodiment is an intelligent water heater, the intelligent water heater can realize the preheating control method of the water heater without the need of a cloud server through communication with the terminal device, and achieve the The embodiment has the same technical effect and purpose, and its execution steps are different from the steps of the present embodiment, and the difference is only in the execution body. Therefore, for the embodiment with the intelligent water heater as the execution body, the description will not be repeated this time. Description of the steps in the examples.
本实施例中,通过接收终端设备发送的身体状态数据,身体状态数据用于表征用户当前的生理指标;根据身体状态数据,确定用户苏醒时间;基于用户苏醒时间,控制智能热水器进行水温预加热,以使智能热水器的水温在用户苏醒时间达到预设温度,由于根据终端设备发送的身体状态数据,可以确定对应的用户苏醒时间,因此,基于用户苏醒时间控制智能热水器进行水温预加热,可以使智能热水器的加热时机与用户苏醒时间相匹配,避免了智能热水器由于无法确定用户用水时间,加热过早或过晚的问题,提高用水舒适度,降低能耗。In this embodiment, the body state data sent by the terminal device is received, and the body state data is used to represent the current physiological index of the user; according to the body state data, the wake-up time of the user is determined; based on the wake-up time of the user, the intelligent water heater is controlled to preheat the water temperature, In order to make the water temperature of the smart water heater reach the preset temperature when the user wakes up, the corresponding wake-up time of the user can be determined according to the body state data sent by the terminal device. The heating timing of the water heater matches the wake-up time of the user, which avoids the problem that the intelligent water heater cannot determine the user's water use time and heats up too early or too late, improving the comfort of water use and reducing energy consumption.
图4为本发明另一个实施例提供的热水器预加热控制方法的流程图,如图4所示,本实施例提供的热水器预加热控制方法在图2所示实施例提供的热水器预加热控制方法的基础上,对步骤S102和S103进一步细化,并增加了接收终端设备发送的检测信息的步骤,则本实施例提供的热水器预加热控制方法包括以下几个步骤:FIG. 4 is a flowchart of a water heater preheating control method provided by another embodiment of the present invention. As shown in FIG. 4 , the water heater preheating control method provided by this embodiment is the same as the water heater preheating control method provided by the embodiment shown in FIG. 2 . On the basis of , steps S102 and S103 are further refined, and the step of receiving the detection information sent by the terminal device is added, the water heater preheating control method provided by this embodiment includes the following steps:
步骤S201,接收终端设备发送的检测信息,检测信息用于判断用户是否处于睡眠状态。Step S201: Receive detection information sent by a terminal device, where the detection information is used to determine whether the user is in a sleep state.
步骤S202,若根据检测信息,确定用户处于睡眠状态,则接收终端设备发送的身体状态数据。Step S202 , if it is determined according to the detection information that the user is in a sleep state, the body state data sent by the terminal device is received.
示例性地,以终端设备为智能手环为例,当用户佩戴智能手环时,智能手环能够根据内置的重力感应单元,捕捉用户的手臂摆动动作,从而生成用于判断用户是否处于睡眠状态的检测信息。由于在通过采集用户的身体状态数据的步骤,通常需要持续一段时间,例如,采集用户心跳信号,通常需要智能手环持续采集10秒以上的振动信号,才能较为准确的确定用户的心跳频率,该过程的电量消耗比较大,会增加智能手环的电量损耗。而智能手环生成检测信息的过程,只需要检测到用户手臂发生摆动,即可确定用户处于非睡眠状态。且对于热水器预加热控制的应用场景,实时性要求比较低,可以以较长的时间间隔,例如10分钟,接收一次智能手环发送的检测信息,相应地,智能手环也可以较大的时间间隔生成并上传检测信息。因此,智能手环不需要长时间保持较高的采样率进行信号采样,降低智能手环等终端设备的电量消耗,提高续航。Exemplarily, taking the terminal device as a smart bracelet as an example, when the user wears the smart bracelet, the smart bracelet can capture the user's arm swinging motion according to the built-in gravity sensing unit, so as to generate a data for judging whether the user is in a sleep state. detection information. Because the step of collecting the user's physical state data usually takes a period of time. For example, to collect the user's heartbeat signal, the smart bracelet usually needs to continuously collect the vibration signal for more than 10 seconds to accurately determine the user's heartbeat frequency. The power consumption of the process is relatively large, which will increase the power consumption of the smart bracelet. In the process of generating detection information, the smart bracelet only needs to detect that the user's arm swings to determine that the user is in a non-sleep state. And for the application scenario of water heater preheating control, the real-time requirements are relatively low, and the detection information sent by the smart bracelet can be received at a long time interval, such as 10 minutes. Correspondingly, the smart bracelet can also be used for a long time. Generate and upload detection information at intervals. Therefore, the smart bracelet does not need to maintain a high sampling rate for signal sampling for a long time, which reduces the power consumption of terminal devices such as smart bracelets and improves battery life.
进一步的,若根据检测信息,确定用户处于睡眠状态,则接收终端设备发送的身体状态数据,云服务器接收终端设备发送的身体状态数据的过程,可以是云服务器向终端设备发送请求信息,终端设备接收到该请求信息后,进行身体状态数据的采集,因此,若云服务器根据检测信息,确定用户不处于睡眠状态,则不向终端设备发送请求信息,而相应地,终端设备也对用户的身体状态数据进行采集,从而实现降低电量消耗的目的。Further, if it is determined that the user is in a sleeping state according to the detection information, the process of receiving the physical state data sent by the terminal device, and the cloud server receiving the physical state data sent by the terminal device may be that the cloud server sends request information to the terminal device, and the terminal device sends the request information to the terminal device. After receiving the request information, the collection of physical state data is carried out. Therefore, if the cloud server determines that the user is not in a sleep state according to the detection information, it will not send the request information to the terminal device. The state data is collected to achieve the purpose of reducing power consumption.
因此,本实施例中,通过首先智能手环对用户是否处于睡眠状态进行检测,生成检测信息,并将检测信息发送云服务器,云服务器接收检测信息,并根据检测信息确定是否接收终端设备发送的身体状态数据。Therefore, in this embodiment, the smart bracelet first detects whether the user is in a sleep state, generates detection information, and sends the detection information to the cloud server. The cloud server receives the detection information, and determines whether to receive the information sent by the terminal device according to the detection information. Body status data.
步骤S203,获取终端设备发送的用户标识。Step S203, acquiring the user identifier sent by the terminal device.
步骤S204,根据用户标识,获取对应的历史睡眠数据,历史睡眠数据用于表征用户处于睡眠状态时,用户的生理指标随时间的变化。Step S204: Acquire corresponding historical sleep data according to the user identification, and the historical sleep data is used to represent the changes of the physiological indicators of the user over time when the user is in a sleep state.
步骤S205,根据历史睡眠数据,确定不同用户的多个睡眠阶段,以及与各睡眠阶段对应的生理指标,其中,在同一睡眠阶段内,用户的生理指标具有对应的变化规律。Step S205 , according to the historical sleep data, determine multiple sleep stages of different users, and physiological indicators corresponding to each sleep stage, wherein, within the same sleep stage, the physiological indicators of the user have corresponding change rules.
示例性地,智能手环与智能热水器之间具有绑定关系,该绑定关系可以通过统一的用户标识实现。具体地,例如,通过另外的用户终端设备,例如智能手机,运行相应的应用程序,对智能手环和智能热水器进行绑定,智能手环和智能热水器对应同一个用户标识,并将该绑定信息存储在云服务中。当智能手环向云服务发送信息时,同步上传智能手环的用户标识,通过用户标识,可以确定智能手环的使用用户。Exemplarily, there is a binding relationship between the smart bracelet and the smart water heater, and the binding relationship can be implemented through a unified user identity. Specifically, for example, through another user terminal device, such as a smart phone, run a corresponding application to bind the smart bracelet and the smart water heater, the smart bracelet and the smart water heater correspond to the same user ID, and bind the smart bracelet to the smart water heater. Information is stored in cloud services. When the smart bracelet sends information to the cloud service, the user ID of the smart bracelet is uploaded synchronously, and the user of the smart bracelet can be determined through the user ID.
示例性地,根据用户标识,确定对应的历史睡眠数据。历史睡眠数据是之前生成的,用户记录用户处于睡眠状态时,用户的生理指标随时间的变化的数据。例如,用户的平均睡眠开始时间和结束时间、用户的平均睡眠时长,以及用户处于睡眠状态时,在多个时间点所对应的生理指标。其中,示例性地,历史睡眠数据还可以包括月份、季节、温度等字段,用于表征用户在不同月份、季节、温度等条件下,处于睡眠状态时生理指标随时间的变化的数据,此次不再一一赘述。Exemplarily, according to the user identification, the corresponding historical sleep data is determined. The historical sleep data is generated before, and the user records the data of the changes of the user's physiological indicators over time when the user is in a sleep state. For example, the user's average sleep start time and end time, the user's average sleep duration, and the physiological indicators corresponding to multiple time points when the user is in a sleep state. Wherein, exemplarily, the historical sleep data may also include fields such as month, season, temperature, etc., which are used to represent the data of changes in physiological indicators over time when the user is in a sleep state under different months, seasons, temperatures and other conditions. I won't repeat them one by one.
进一步的,根据历史睡眠数据,可以确定用户处于睡眠状态时,所具有的多个睡眠阶段,以及各睡眠阶段对应的生理指标。其中,对于不同的用户(以及用户标识),其处于睡眠状态时,所具有的睡眠阶段的个数,以及各睡眠阶段的开始时间、结束时间、持续时长,均可能是不同的。即通过用户标识对应的历史睡眠数据,可以确定佩戴智能手环的用户所对应的个性化的睡眠数据,从而可以精确的判断该用户的苏醒时间,提高判断用户苏醒时间的精确度,以及基于用户苏醒时间对智能热水器进行水温预加热控制的精确度,降低智能热水器的能耗。Further, according to the historical sleep data, it is possible to determine multiple sleep stages when the user is in a sleep state, and physiological indicators corresponding to each sleep stage. Wherein, for different users (and user IDs), when they are in a sleep state, the number of sleep stages, and the start time, end time, and duration of each sleep stage may be different. That is, through the historical sleep data corresponding to the user identification, the personalized sleep data corresponding to the user wearing the smart bracelet can be determined, so that the user's wake-up time can be accurately determined, the accuracy of determining the user's wake-up time can be improved, and the user's wake-up time can be judged accurately. The wake-up time controls the accuracy of the water temperature preheating of the smart water heater and reduces the energy consumption of the smart water heater.
步骤S206,根据历史睡眠数据确定的多个睡眠阶段,确定身体状态数据对应的睡眠阶段。Step S206: Determine the sleep stage corresponding to the physical state data according to the multiple sleep stages determined by the historical sleep data.
步骤S207,根据睡眠阶段,确定剩余睡眠时长,并根据剩余睡眠时长,确定用户苏醒时间。Step S207: Determine the remaining sleep duration according to the sleep stage, and determine the wake-up time of the user according to the remaining sleep duration.
示例性地,根据历史睡眠数据可以确定的多个睡眠阶段,每一睡眠阶段,对应有一组或多组身体状态数据,更具体地,例如,根据用户标识对应的历史睡眠数据,确定该用户具有的睡眠阶段包括睡眠阶段A、睡眠阶段B和睡眠阶段C,其中,各睡眠阶段对应不同的生理指标,以睡眠阶段B为例,睡眠阶段B对应的生理指标为,心跳频率为50次每秒,体温为36摄氏度。进一步的,根据身体状态数据所对应的生理指标,确定各睡眠阶段中,与身体状态数据所对应的生理指标最靠近的生理指标所处的睡眠阶段,进而根据历史睡眠数据,确定该睡眠阶段的持续时长,以及该睡眠阶段之后的睡眠阶段(如存在)的持续时长的和,确定为剩余睡眠时长。进而,根据当前系统时间以及剩余睡眠时长,可以确定用户苏醒时间。Exemplarily, according to the multiple sleep stages that can be determined according to the historical sleep data, each sleep stage corresponds to one or more sets of physical state data. More specifically, for example, according to the historical sleep data corresponding to the user identification, it is determined that the user has The sleep stages include sleep stage A, sleep stage B and sleep stage C, wherein, each sleep stage corresponds to different physiological indicators, taking sleep stage B as an example, the physiological index corresponding to sleep stage B is, the heartbeat frequency is 50 beats per second , the body temperature is 36 degrees Celsius. Further, according to the physiological index corresponding to the body state data, determine the sleep stage of the physiological index closest to the physiological index corresponding to the body state data in each sleep stage, and then determine the sleep stage according to the historical sleep data. The duration, and the sum of the durations of the sleep stages following this sleep stage (if any), is determined as the remaining sleep duration. Furthermore, according to the current system time and the remaining sleep duration, the wake-up time of the user can be determined.
为了更好的介绍确定用户苏醒时间的过程,下面以一个更具体的实施例进行说明。图5为本发明实施例提供的一种历史睡眠数据对应的睡眠阶段的示意图,如图5所示,历史睡眠数据对应的睡眠阶段中包括包括睡眠阶段A、睡眠阶段B和睡眠阶段C,其中,睡眠阶段A的持续时间为2小时、睡眠阶段B的持续时间为4小时、睡眠阶段C的持续时间为2小时。在睡眠阶段A中,包括2个检测时间点(A1、A2),每一检测时间点对应有一组心跳频率和体温的数据。A1时间点的心跳频率为70、体温为36.3摄氏度;A2时间点的心跳频率为65、体温为36.1摄氏度。在睡眠阶段B中,包括4个检测时间点(B1、B2、B3和B4),B1时间点的心跳频率为62、体温为36摄氏度;B2时间点的心跳频率为60、体温为35.6摄氏度;B3时间点的心跳频率为58、体温为35.3摄氏度;B4时间点的心跳频率为52、体温为35摄氏度。在睡眠阶段C中,包括2个检测时间点(C1、C2),C1时间点的心跳频率为60、体温为35.5摄氏度;C2时间点的心跳频率为65、体温为36摄氏度。In order to better introduce the process of determining the wake-up time of the user, a more specific embodiment will be described below. FIG. 5 is a schematic diagram of sleep stages corresponding to historical sleep data according to an embodiment of the present invention. As shown in FIG. 5 , the sleep stages corresponding to the historical sleep data include sleep stage A, sleep stage B, and sleep stage C, wherein , the duration of sleep stage A is 2 hours, the duration of sleep stage B is 4 hours, and the duration of sleep stage C is 2 hours. In sleep stage A, two detection time points (A1, A2) are included, and each detection time point corresponds to a set of data of heartbeat frequency and body temperature. The heart rate at time point A1 was 70, and the body temperature was 36.3 degrees Celsius; at time point A2, the heartbeat frequency was 65, and the body temperature was 36.1 degrees Celsius. In sleep stage B, including 4 detection time points (B1, B2, B3 and B4), the heartbeat frequency at time point B1 is 62, and the body temperature is 36 degrees Celsius; the heartbeat frequency at time point B2 is 60, and the body temperature is 35.6 degrees Celsius; The heartbeat frequency at time point B3 was 58 and the body temperature was 35.3 degrees Celsius; the heartbeat frequency at time point B4 was 52 and the body temperature was 35 degrees Celsius. In sleep stage C, two detection time points (C1 and C2) are included. The heartbeat frequency at time C1 is 60 and the body temperature is 35.5 degrees Celsius; the heartbeat frequency at time C2 is 65 and the body temperature is 36 degrees Celsius.
进一步的,根据智能手环当前上传的身体状态数据,身体状态数据中包括的用户当前的生理指标,例如为心跳频率为60、体温为35.5;以及一小时前的生理指标,例如为心跳频率为62、体温为36摄氏度,根据智能手环当前上传的身体状态数据所包含的生理指标,与历史睡眠数据对应的睡眠阶段的生理指标进行对比,确定用户当前的睡眠阶段为睡眠阶段B。更具体地,用户当前的睡眠阶段为睡眠阶段B中B1至B2时间段,进一步地,根据用户当前的睡眠阶段B(B1至B2时间段)的持续时长,以及睡眠阶段B之后的睡眠阶段C的持续时长,可以确定剩余睡眠时长,以及用户苏醒时间。Further, according to the physical status data currently uploaded by the smart bracelet, the current physiological indicators of the user included in the physical status data include, for example, a heartbeat frequency of 60 and a body temperature of 35.5; and physiological indicators one hour ago, such as a heartbeat frequency of 35.5. 62. The body temperature is 36 degrees Celsius. According to the physiological indicators contained in the physical state data currently uploaded by the smart bracelet, and the physiological indicators of the sleep stage corresponding to the historical sleep data are compared, it is determined that the user's current sleep stage is sleep stage B. More specifically, the current sleep stage of the user is the time period from B1 to B2 in the sleep stage B, and further, according to the duration of the user's current sleep stage B (B1 to B2 time period), and the sleep stage C after the sleep stage B The duration of , can determine the remaining sleep time, and the user wake-up time.
其中,以上实施例中的数据是通过历史睡眠数据确定的,且仅为示例性地,睡眠阶段的划分可以根据需要自由设置,此次不再进行赘述。Wherein, the data in the above embodiments are determined by historical sleep data, and are only exemplary, and the division of sleep stages can be freely set as required, which will not be repeated here.
本实施例中,通过历史睡眠数据所表征的睡眠阶段与终端设备上传的身体状态数据进行对比,确定匹配的睡眠阶段,并据此确定用户苏醒时间,实现了基于用户个性化的睡眠数据进行精准的用户苏醒时间预测,提高了对智能热水器进行预加热控制的控制精度。In this embodiment, the sleep stage represented by the historical sleep data is compared with the body state data uploaded by the terminal device to determine the matching sleep stage, and then determine the user's wake-up time, so as to realize accurate sleep data based on the user's individualization. The prediction of user wake-up time improves the control accuracy of pre-heating control of smart water heaters.
步骤S208,根据用户体温,确定对应的目标加热温度。Step S208: Determine the corresponding target heating temperature according to the user's body temperature.
可选地,在身体状态数据中,包含有用户体温,在用户苏醒后,不同用户的用户体温存在差异。在确定用户苏醒时间后,根据用户体温,确定一个与用户体温匹配的目标加热温度,并以该目标加热温度进行预加热控制,从而提高用户的用水舒适度。Optionally, the body state data includes the user's body temperature, and after the user wakes up, there are differences in the user's body temperature for different users. After determining the wake-up time of the user, a target heating temperature matching the user's body temperature is determined according to the user's body temperature, and pre-heating control is performed with the target heating temperature, thereby improving the user's water comfort.
步骤S209,控制热水器进行水温预加热,以使热水器的水温在用户苏醒时间,达到目标加热温度。In step S209, the water heater is controlled to preheat the water temperature, so that the water temperature of the water heater reaches the target heating temperature at the time when the user wakes up.
本实施例中,步骤S209的实现方式与本发明图2所示实施例中的步骤S103的实现方式相同,在此不再一一赘述。In this embodiment, the implementation of step S209 is the same as the implementation of step S103 in the embodiment shown in FIG. 2 of the present invention, and details are not repeated here.
图6为本发明一个实施例提供的热水器联动控制装置的结构示意图,应用于云服务器,如图6所示,本实施例提供的热水器联动控制装置3包括:FIG. 6 is a schematic structural diagram of a water heater linkage control device provided by an embodiment of the present invention, which is applied to a cloud server. As shown in FIG. 6 , the water heater linkage control device 3 provided in this embodiment includes:
接收模块31,用于接收终端设备发送的身体状态数据,身体状态数据用于表征用户当前的生理指标;The receiving
确定模块32,用于根据身体状态数据,确定用户苏醒时间;A
控制模块33,用于基于用户苏醒时间,控制智能热水器进行水温预加热,以使智能热水器的水温在用户苏醒时间达到预设温度。The
在一种可能的实现方式中,确定模块32,具体用于:根据身体状态数据,确定用户当前的睡眠阶段;根据睡眠阶段,确定剩余睡眠时长;根据剩余睡眠时长,确定用户苏醒时间。In a possible implementation manner, the determining
在一种可能的实现方式中,确定模块32在根据身体状态数据,确定用户当前的睡眠阶段时,具体用于:获取历史睡眠数据,历史睡眠数据用于表征用户处于睡眠状态时,用户的生理指标随时间的变化;根据历史睡眠数据,确定不同用户的多个睡眠阶段,以及与各睡眠阶段对应的生理指标,其中,在同一睡眠阶段内,用户的生理指标具有对应的变化规律;根据历史睡眠数据确定的多个睡眠阶段,确定身体状态数据对应的睡眠阶段。In a possible implementation manner, when determining the current sleep stage of the user according to the body state data, the determining
在一种可能的实现方式中,接收模块31,还用于:获取终端设备发送的用户标识;根据用户标识,获取对应的历史睡眠数据。In a possible implementation manner, the receiving
在上述热水器联动控制装置的优选技术方案中,身体状态数据包括用户体温,控制模块33,具体用于:根据用户体温,确定对应的目标加热温度;控制热水器进行水温预加热,以使热水器的水温在用户苏醒时间,达到目标加热温度。In the preferred technical solution of the above water heater linkage control device, the body state data includes the user's body temperature, and the
在上述热水器联动控制装置的优选技术方案中,身体状态数据包括以下至少一种:体温、心跳频率、血压。In the preferred technical solution of the above water heater linkage control device, the body state data includes at least one of the following: body temperature, heartbeat frequency, and blood pressure.
在上述热水器联动控制装置的优选技术方案中,在接收终端设备发送的身体状态数据之前,接收模块31,还用于:接收终端设备发送的检测信息,检测信息用于判断用户是否处于睡眠状态;控制模块33在接收终端设备发送的身体状态数据时,具体用于:若根据检测信息,确定用户处于睡眠状态,则接收终端设备发送的身体状态数据。In the preferred technical solution of the above water heater linkage control device, before receiving the physical state data sent by the terminal device, the receiving
其中,接收模块31、确定模块32和控制模块33依次连接。本实施例提供的热水器联动控制装置3可以执行如图2-图5任一所示的方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The receiving
图7为本发明一个实施例提供的电子设备的示意图,如图7所示,本实施例提供的电子设备4包括:存储器41,处理器42以及计算机程序。FIG. 7 is a schematic diagram of an electronic device provided by an embodiment of the present invention. As shown in FIG. 7 , the electronic device 4 provided by this embodiment includes: a
其中,计算机程序存储在存储器41中,并被配置为由处理器42执行以实现本发明图2-图5所对应的实施例中任一实施例提供的热水器联动控制方法。The computer program is stored in the
其中,存储器41和处理器42通过总线43连接。The
相关说明可以对应参见图2-图5所对应的实施例中的步骤所对应的相关描述和效果进行理解,此处不做过多赘述。The relevant descriptions can be understood by referring to the relevant descriptions and effects corresponding to the steps in the embodiments corresponding to FIG. 2 to FIG. 5 , and details are not repeated here.
本发明一个实施例提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行以实现本发明图2-图5所对应的实施例中任一实施例提供的热水器联动控制方法。An embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the water heater linkage provided by any one of the embodiments corresponding to FIG. 2 to FIG. 5 of the present invention Control Method.
其中,计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。Among them, the computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
本发明一个实施例提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行如本发明图2-图5所对应的实施例中任一实施例提供的热水器联动控制方法。An embodiment of the present invention provides a computer program product, including a computer program, and the computer program is executed by a processor as the water heater linkage control method provided by any one of the embodiments corresponding to FIG. 2 to FIG. 5 of the present invention.
在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of modules is only a logical function division. In actual implementation, there may be other division methods, for example, multiple modules or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or modules, and may be in electrical, mechanical or other forms.
本领域技术人员在考虑说明书及实践这里公开的申请后,将容易想到本发明的其它实施方案。本发明旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求书指出。Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the applications disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention which follow the general principles of the present invention and include common knowledge or conventional techniques in the technical field not disclosed by the present invention . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the invention being indicated by the following claims.
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求书来限制。It should be understood that the present invention is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from its scope. The scope of the present invention is limited only by the appended claims.
至此,已经结合附图所示的优选实施方式描述了本发明的技术方案,但是,本领域技术人员容易理解的是,本发明的保护范围显然不局限于这些具体实施方式。在不偏离本发明的原理的前提下,本领域技术人员可以对相关技术特征作出等同的更改或替换,这些更改或替换之后的技术方案都将落入本发明的保护范围之内。So far, the technical solutions of the present invention have been described with reference to the preferred embodiments shown in the accompanying drawings, however, those skilled in the art can easily understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110611239.2A CN114963549A (en) | 2021-06-01 | 2021-06-01 | Water heater preheating control method, device, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110611239.2A CN114963549A (en) | 2021-06-01 | 2021-06-01 | Water heater preheating control method, device, electronic device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114963549A true CN114963549A (en) | 2022-08-30 |
Family
ID=82971160
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110611239.2A Pending CN114963549A (en) | 2021-06-01 | 2021-06-01 | Water heater preheating control method, device, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114963549A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102707644A (en) * | 2012-07-02 | 2012-10-03 | 陕西科技大学 | Management system controlling household hydroelectric equipment by utilizing pulse and realization method of system |
CN104110888A (en) * | 2014-06-18 | 2014-10-22 | 芜湖美的厨卫电器制造有限公司 | Water heater, water heater system, control method, wearable intelligent device and mobile terminal |
CN104819576A (en) * | 2015-05-14 | 2015-08-05 | 芜湖美的厨卫电器制造有限公司 | Water outlet temperature control method of water heater and water heater system |
CN109682074A (en) * | 2017-10-19 | 2019-04-26 | 芜湖美的厨卫电器制造有限公司 | The control method of water heater and the control method of air-conditioning |
CN110101392A (en) * | 2018-02-01 | 2019-08-09 | 德国福维克控股公司 | System with vital sign data sensor and analytical unit |
CN110567164A (en) * | 2019-09-10 | 2019-12-13 | 恒大智慧科技有限公司 | Control method and system of water heater and storage medium |
CN111568380A (en) * | 2020-05-19 | 2020-08-25 | 北京顺源开华科技有限公司 | Alarm clock setting method, device and equipment based on wake-up time prediction |
US20210106275A1 (en) * | 2019-10-11 | 2021-04-15 | Boe Technology Group Co., Ltd. | Method, device and storage medium for sleep monitoring |
-
2021
- 2021-06-01 CN CN202110611239.2A patent/CN114963549A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102707644A (en) * | 2012-07-02 | 2012-10-03 | 陕西科技大学 | Management system controlling household hydroelectric equipment by utilizing pulse and realization method of system |
CN104110888A (en) * | 2014-06-18 | 2014-10-22 | 芜湖美的厨卫电器制造有限公司 | Water heater, water heater system, control method, wearable intelligent device and mobile terminal |
CN104819576A (en) * | 2015-05-14 | 2015-08-05 | 芜湖美的厨卫电器制造有限公司 | Water outlet temperature control method of water heater and water heater system |
CN109682074A (en) * | 2017-10-19 | 2019-04-26 | 芜湖美的厨卫电器制造有限公司 | The control method of water heater and the control method of air-conditioning |
CN110101392A (en) * | 2018-02-01 | 2019-08-09 | 德国福维克控股公司 | System with vital sign data sensor and analytical unit |
CN110567164A (en) * | 2019-09-10 | 2019-12-13 | 恒大智慧科技有限公司 | Control method and system of water heater and storage medium |
US20210106275A1 (en) * | 2019-10-11 | 2021-04-15 | Boe Technology Group Co., Ltd. | Method, device and storage medium for sleep monitoring |
CN111568380A (en) * | 2020-05-19 | 2020-08-25 | 北京顺源开华科技有限公司 | Alarm clock setting method, device and equipment based on wake-up time prediction |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105192995A (en) | Intelligent insole with wireless charging function and capable of monitoring heart rate and regulating temperature | |
WO2016070376A1 (en) | Thermal control device and method | |
CN109247621A (en) | Method for controlling heating temp of microwaven and device, electronic cigarette equipment based on electronic cigarette | |
CN113925356B (en) | Cooking control method, device, electronic device and storage medium | |
JP2020129188A (en) | Method for learning, learning program, and learning device | |
EP3267555A1 (en) | Electronic device driving unpowered sensor, and method of controlling same | |
CN113669912A (en) | Water heater heating method and system | |
CN107917535A (en) | Method for predicting bathing habits and water heater | |
CN112781173A (en) | Control method, device and equipment for bathroom temperature control equipment | |
CN111609537A (en) | Air conditioner, control method and device thereof and air conditioning system | |
CN108055179A (en) | The method, apparatus and system of Intelligent housing | |
CN114963549A (en) | Water heater preheating control method, device, electronic device and storage medium | |
CN114963494B (en) | Intelligent water heater control method, device, electronic equipment and storage medium | |
CN108286814A (en) | Electric heater and its control method | |
CN114963358A (en) | Heat pump equipment start control method and device, electronic equipment and storage medium | |
CN112781248A (en) | Voice control method and device for intelligent water heater, electronic equipment and storage medium | |
CN114838505B (en) | Intelligent water heater control method and device, electronic equipment and storage medium | |
CN114963279B (en) | Air energy heat pump heating control method, device, electronic equipment and storage medium | |
CN115978763A (en) | Method and device for controlling air conditioner and air conditioner | |
CN114963497B (en) | Water temperature correction control method and device for water heater, electronic equipment and storage medium | |
CN111053438B (en) | Electric heating appliance control method and device and electric heating appliance | |
CN114992702A (en) | Heating stove starting control method and device, electronic equipment and storage medium | |
CN114963514A (en) | Water heater control method and device, electronic equipment and storage medium | |
CN114963516B (en) | Air source heat pump control method, device, electronic equipment and storage medium | |
JP2020103431A (en) | Menstruation date estimation device and program |
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 |