







技术领域technical field
本申请涉及智能家居技术领域,尤其涉及一种家电设备的控制方法、装置、系统和计算机可读存储介质。The present application relates to the field of smart home technology, and in particular, to a control method, device, system and computer-readable storage medium for household electrical appliances.
背景技术Background technique
随着智能家居系统的发展,用户在离家/回家的时候通过智能门锁的打开与关闭通知家里的其他家电设备关闭或者开启。现有的智能门锁当用户离家关门/回家开门时,便会启动离家模式/回家模式,但是,对于多用户共同使用的智能家居系统,就可能出现一个用户离家/回家之后,将智能家居系统的工作模式设置为离家模式/回家模式,但还有其他用户在家,导致错误关闭/开启其他家电设备,从而影响家里其他人的正常生活。With the development of the smart home system, the user informs other home appliances to turn off or on by opening and closing the smart door lock when leaving or returning home. In the existing smart door lock, when the user leaves the house to close the door or go home to open the door, the leaving home mode/going home mode will be activated. After that, the working mode of the smart home system is set to leave home mode/home mode, but there are other users at home, which causes other home appliances to be turned off/on by mistake, thus affecting the normal life of other people at home.
发明内容SUMMARY OF THE INVENTION
本申请实施例通过提供一种家电设备的控制方法、装置、系统和计算机可读存储介质,旨在解决在获取到用户的出门信息便启动离家模式,导致错误关闭家中其他设备,从而影响家里其他人的正常生活的问题。The embodiments of the present application provide a control method, device, system, and computer-readable storage medium for household electrical appliances, aiming to solve the problem that when the user's going out information is obtained, the home-away mode is activated, causing other devices in the home to be closed by mistake, thereby affecting the home. the normal life of others.
为实现上述目的,本申请一方面提供一种家电设备的控制方法,包括:In order to achieve the above purpose, on the one hand, the present application provides a control method for household electrical appliances, comprising:
接收智能门锁发送的开门信息;Receive the door opening information sent by the smart door lock;
根据开门信息在目标区域内获取分别与用户以及家中其他用户对应的各个目标设备的状态信息,目标区域为预先设置的检测区域,目标设备为预先设置的被检测设备;According to the door opening information, the status information of each target device corresponding to the user and other users in the home is obtained in the target area, the target area is a preset detection area, and the target device is a preset detected device;
根据各个目标设备的状态信息确定与各个用户对应的工作模式,以及根据工作模式控制家电设备的工作状态。The working mode corresponding to each user is determined according to the state information of each target device, and the working state of the home appliance is controlled according to the working mode.
此外,为实现上述目的,本申请另一方面还提供一种家电设备的控制装置,包括:In addition, in order to achieve the above purpose, another aspect of the present application also provides a control device for household electrical appliances, comprising:
接收模块,用于接收智能门锁发送的开门信息;The receiving module is used to receive the door opening information sent by the smart door lock;
获取模块,用于根据开门信息在目标区域内获取分别与用户以及家中其他用户对应的各个目标设备的状态信息,目标区域为预先设置的检测区域,目标设备为预先设置的被检测设备;The acquisition module is used to acquire the status information of each target device corresponding to the user and other users in the home in the target area according to the door opening information, the target area is a preset detection area, and the target device is a preset detected device;
确定模块,用于根据各个目标设备的状态信息确定与各个用户对应的工作模式;a determining module, configured to determine the working mode corresponding to each user according to the state information of each target device;
控制模块,用于根据工作模式控制家电设备的工作状态。The control module is used to control the working state of the household appliance according to the working mode.
此外,为实现上述目的,本申请另一方面还提供一种家电设备的控制系统,控制系统包括处理器、存储器以及存储在存储器上并可在处理器上运行的家电设备的控制程序,家电设备的控制程序被处理器执行时实现如上家电设备的控制的方法的步骤。In addition, in order to achieve the above object, the present application further provides a control system for household electrical appliances, the control system includes a processor, a memory and a control program for household electrical appliances stored in the memory and running on the processor, the household electrical appliances When the control program is executed by the processor, the steps of the method for controlling the household appliance as described above are realized.
此外,为实现上述目的,本申请另一方面还提供一种计算机可读存储介质,计算机可读存储介质上存储有家电设备的控制程序,家电设备的控制程序被处理器执行时实现如上家电设备的控制的方法的步骤。In addition, in order to achieve the above object, the present application also provides a computer-readable storage medium on the other hand, the computer-readable storage medium is stored with a control program of the household appliance, and when the control program of the household appliance is executed by the processor, the above household appliance is realized. The steps of the method of control.
本实施例在用户离家/回家时,通过接收智能门锁发送的开门信息,根据开门信息在目标区域内获取分别与用户以及家中其他用户对应的各个目标设备的状态信息,以判断是否还有其他用户在家,进一步根据各个目标设备的状态信息确定与各个用户对应的离家/回家模式,根据离家/回家模式控制家电设备的关闭/开启。解决了在获取到用户的离家/回家信息便启动离家/回家模式,导致错误关闭/开启家中其他设备,从而影响家里其他人的正常生活的问题,使得可以正确的启动离家/回家模式,为用户提供简单高效的智能生活方式。In this embodiment, when the user leaves/comes home, by receiving the door opening information sent by the smart door lock, the state information of each target device corresponding to the user and other users in the home is obtained in the target area according to the door opening information, so as to determine whether to return the door. When there are other users at home, the leave/home mode corresponding to each user is further determined according to the status information of each target device, and the home appliance is controlled to be turned off/on according to the leave/home mode. Solved the problem of starting the leaving/going mode after obtaining the user's home/going information, resulting in incorrectly turning off/on other devices in the home, thus affecting the normal life of other people at home, so that the home/going can be activated correctly. The home mode provides users with a simple and efficient smart lifestyle.
附图说明Description of drawings
图1为本申请实施例方案涉及的硬件运行环境的终端结构示意图;FIG. 1 is a schematic structural diagram of a terminal of a hardware operating environment involved in a solution according to an embodiment of the present application;
图2为本申请家电设备的控制方法第一实施例的流程示意图;FIG. 2 is a schematic flowchart of the first embodiment of the control method of the household electrical appliance of the application;
图3为本申请家电设备的控制方法第二实施例的流程示意图;FIG. 3 is a schematic flowchart of a second embodiment of a control method for a household appliance according to the application;
图4为本申请家电设备的控制方法第三实施例的流程示意图;FIG. 4 is a schematic flowchart of the third embodiment of the control method for household electrical appliances of the application;
图5为本申请家电设备的控制方法第四实施例的流程示意图;FIG. 5 is a schematic flowchart of a fourth embodiment of the control method for household electrical appliances of the application;
图6为本申请家电设备的控制方法第五实施例的流程示意图;FIG. 6 is a schematic flowchart of a fifth embodiment of the control method for household electrical appliances of the application;
图7为本申请家电设备的控制方法中将与用户具有单独绑定关系的所有家电设备的工作状态均调整为运行状态的流程示意图;7 is a schematic flowchart of adjusting the working states of all household electrical appliances that have a separate binding relationship with a user to a running state in the control method for household electrical appliances of the application;
图8为本申请家电设备的控制装置的结构示意图。FIG. 8 is a schematic structural diagram of the control device of the household electrical appliance of the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics and advantages of the purpose of the present application will be further described with reference to the accompanying drawings in conjunction with the embodiments.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
本申请实施例的主要解决方案是:接收智能门锁发送的开门信息;根据开门信息在目标区域内获取分别与用户以及家中其他用户对应的各个目标设备的状态信息,目标区域为预先设置的检测区域,目标设备为预先设置的被检测设备;根据各个目标设备的状态信息确定与各个用户对应的工作模式,以及根据工作模式控制家电设备的工作状态。The main solutions of the embodiments of the present application are: receiving the door opening information sent by the smart door lock; obtaining the status information of each target device corresponding to the user and other users in the home in the target area according to the door opening information, and the target area is a preset detection area. The target device is a preset detected device; the work mode corresponding to each user is determined according to the state information of each target device, and the work state of the home appliance is controlled according to the work mode.
由于现有的智能门锁当用户离家关门/回家开门时,便会启动离家模式/回家模式,但是,对于多用户共同使用的智能家居系统,可能出现一个用户离家/回家之后,将智能家居系统的工作模式设置为离家模式/回家模式,但还有其他用户在家,导致错误关闭/开启其他家电设备,从而影响家里其他人的正常生活。而本申请在接收智能门锁发送的回家信息/离家信息时,根据回家信息/离家信息在目标区域内获取分别与用户以及家中其他用户对应的各个目标设备的状态信息;根据各个目标设备的状态信息确定与各个用户对应的离家/回家模式,根据离家/回家模式控制家电设备的关闭/开启。通过在用户离家/回家时,获取家中其他用户对应的目标设备的状态信息,以判断是否还有其他用户在家,使得可以正确的启动离家/回家模式,为用户提供简单高效的智能生活方式。Due to the existing smart door lock, when the user leaves the house to close the door or go home to open the door, the leaving home mode/going home mode is activated. After that, the working mode of the smart home system is set to leave home mode/home mode, but there are other users at home, which causes other home appliances to be turned off/on by mistake, thus affecting the normal life of other people at home. However, when receiving the homecoming information/leaving home information sent by the smart door lock, the present application obtains the status information of each target device corresponding to the user and other users in the home in the target area according to the homecoming information/leaving home information; The state information of the target device determines the leaving/going home mode corresponding to each user, and controls the turning off/on of the home appliance according to the leaving home/coming home mode. When the user leaves/comes home, the status information of the target device corresponding to other users in the home is obtained to determine whether there are other users at home, so that the leave/home mode can be started correctly, and the user can be provided with simple and efficient intelligent lifestyle.
如图1所示,图1为本申请实施例方案涉及的硬件运行环境的终端结构示意图。As shown in FIG. 1 , FIG. 1 is a schematic structural diagram of a terminal of a hardware operating environment involved in the solution of an embodiment of the present application.
如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1 , the terminal may include: a
可选地,终端还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、遥控器、音频电路、WiFi模块、检测器等等。当然,终端还可配置陀螺仪、气压计、湿度计、温度传感器等其他传感器,在此不再赘述。Optionally, the terminal may further include a camera, an RF (Radio Frequency, radio frequency) circuit, a sensor, a remote control, an audio circuit, a WiFi module, a detector, and the like. Of course, the terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a temperature sensor, etc., which will not be repeated here.
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the terminal structure shown in FIG. 1 does not constitute a limitation on the terminal device, and may include more or less components than the one shown, or combine some components, or arrange different components.
如图1所示,作为一种计算机可读存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及家电设备的控制程序。As shown in FIG. 1 , the
在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的家电设备的控制程序,并执行以下操作:In the terminal shown in FIG. 1 , the
接收智能门锁发送的开门信息;Receive the door opening information sent by the smart door lock;
根据开门信息在目标区域内获取分别与用户以及家中其他用户对应的各个目标设备的状态信息,目标区域为预先设置的检测区域,目标设备为预先设置的被检测设备;According to the door opening information, the status information of each target device corresponding to the user and other users in the home is obtained in the target area, the target area is a preset detection area, and the target device is a preset detected device;
根据各个目标设备的状态信息确定与各个用户对应的工作模式,以及根据工作模式控制家电设备的工作状态。The working mode corresponding to each user is determined according to the state information of each target device, and the working state of the home appliance is controlled according to the working mode.
参考图2,图2为本申请家电设备的控制方法第一实施例的流程示意图。Referring to FIG. 2 , FIG. 2 is a schematic flowchart of a first embodiment of a method for controlling a household electrical appliance of the present application.
本申请实施例提供了家电设备的控制方法的实施例,需要说明的是,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The embodiments of the present application provide embodiments of the control methods for household electrical appliances. It should be noted that although the logic sequence is shown in the flowchart, in some cases, the shown sequence may be performed in a different sequence than the one shown here. or the described steps.
家电设备的控制方法包括:Control methods for home appliances include:
步骤S10,智能家居的中控系统接收智能门锁发送的开门信息;Step S10, the central control system of the smart home receives the door opening information sent by the smart door lock;
智能门锁是基于智能终端的普及而发展起来的新兴门锁,用户可不需要物理钥匙,通过智能终端就可以直接开锁;其中,智能门锁可通过WIFI、蓝牙等接入网络,能感知用户出门和进门的信息,并将开门信息反馈至智能终端,开门信息可包括用户的回家信息和离家信息、用户的头像信息以及用户的指纹信息等。Smart door locks are new door locks developed based on the popularization of smart terminals. Users do not need physical keys, but can unlock them directly through smart terminals; among them, smart door locks can be connected to the network through WIFI, Bluetooth, etc., and can sense when users go out. and the information of entering the door, and feedback the information of opening the door to the intelligent terminal. The information of opening the door may include the user's home information and leaving home information, the user's avatar information, and the user's fingerprint information.
当用户回家/离家开门时,通过指纹解锁开启智能门锁,例如:当用户的手指放置在智能门锁的指纹扫描检测区域时,获取用户指纹的扫描数据,若扫描数据为目标用户的扫描数据时,则开启智能门锁,目标用户为家中的其他用户,如爷爷、奶奶、父亲以及母亲等。其中,还可以通过刷卡验证、刷脸验证、密码输入、语音输入等方式开启智能门锁。智能门锁在被开启时,进一步判断用户当前是开门离家还是开门回家,若用户当前是开门离家,则生成用户离家信息;若用户当前是开门回家,则生成用户回家信息,并通过家庭中的局域网将离家信息或回家信息发送至智能家居的中控系统。其中,判断用户当前是开门离家还是开门回家可通过在智能门锁上设置摄像头,通过摄像头拍摄用户在开启智能门锁时所处的环境,进一步分析摄像头拍摄的图像信息,从而得知用户是开门离家还是开门回家。When the user goes home/leaves the door to open the door, the smart door lock is unlocked through fingerprint unlocking. For example: when the user's finger is placed in the fingerprint scanning detection area of the smart door lock, the scanning data of the user's fingerprint is obtained. If the scanning data is the target user's When the data is scanned, the smart door lock is turned on, and the target users are other users in the home, such as grandpa, grandma, father and mother. Among them, smart door locks can also be opened by card verification, face verification, password input, voice input, etc. When the smart door lock is opened, it further determines whether the user is currently opening the door to leave the house or open the door to go home. If the user is currently opening the door and leaving the house, the user's leaving home information is generated; if the user is currently opening the door and going home, the user's home information is generated. , and send the information of leaving home or returning home to the central control system of the smart home through the local area network in the home. Among them, to determine whether the user is currently opening the door to leave the house or open the door to go home, a camera can be set on the smart door lock, and the camera can capture the environment where the user is when the smart door lock is opened, and further analyze the image information captured by the camera, so as to know the user. Whether to open the door to leave the house or open the door to go home.
步骤S20,智能家居的中控系统根据开门信息在目标区域内获取分别与用户以及家中其他用户对应的各个目标设备的状态信息,目标区域为预先设置的检测区域,目标设备为预先设置的被检测设备;Step S20, the central control system of the smart home obtains the status information of each target device corresponding to the user and other users in the target area in the target area according to the door opening information, the target area is a preset detection area, and the target device is a preset detected area. equipment;
目前,根据局域网的适用性以及其协定,一个家庭内的家电设备或者一定区域范围内的家电设备,大多能适用于接入到同一个局域网中。本实施例中,目标区域包括家中局域网覆盖的区域,如客厅、房间、厨房、庭院等区域;目标设备是指用户随身携带的设备,如手机,手环,手表等,这些设备的特点在于用户出门/进门会随身携带,即等同于设备在家则用户在家,而设备离家则用户离家。At present, according to the applicability of the local area network and its agreement, most of the household appliances in a family or the household appliances in a certain area can be adapted to be connected to the same local area network. In this embodiment, the target area includes the area covered by the local area network in the home, such as the living room, room, kitchen, courtyard, etc.; the target device refers to the device carried by the user, such as a mobile phone, a wristband, a watch, etc. The characteristics of these devices are that the user When you go out or enter the door, you will carry it with you, that is, the user is at home when the device is at home, and the user is at home when the device is away.
智能家居的中控系统根据开门信息在目标区域内获取分别与用户以及家中其他用户对应的各个目标设备的状态信息;其中,智能家居的中控系统在接收到智能门锁发送的开门信息后,获取探测器在目标区域探测到的用户以及家中其他用户对应的各个目标设备的状态信息;其中,探测器是一个或者多个可以感知家庭中的IP/蓝牙设备的实体,如可以是运行的电视、路由器、冰箱、空调上的一段程序;探测器具备IP能力,连接到家庭局域网,通过局域网内的IP感知技术(比如upnp等协议)可以感知家庭中的某个IP设备是否存在,比如手机,手表等wifi设备;还具备蓝牙能力,通过蓝牙设备的搜索可以检测到蓝牙设备是否存在,比如手环、手表等蓝牙设备。具体地,在执行目标设备的状态信息的检测操作前,先确定家中每个用户需要被检测的目标设备,其中,每个用户的目标设备的类型以及个数可以不同,如父亲对应的目标设备为手机、手表;小孩对应的目标设备为手环。进一步地,为每个用户对应的目标设备设置标识信息,用于区分不同的用户,其中,标识信息包括:设备名称、设备编号、设备型号等。探测器基于局域网通信协议,如CoAP协议,通过发出CoAP广播,检测并获取局域网内的目标设备;在检测到一个或多个目标设备时,获取目标设备对应的状态信息,并将各个目标设备分别对应的状态信息发送至智能家居的中控系统。智能家居的中控系统将获取到的各个目标设备的状态信息同步至家中用户的手机或电话手表中,用户通过手机或电话手表可以查看自己和其他用户的目标设备对应的状态信息。The central control system of the smart home obtains the status information of each target device corresponding to the user and other users in the home in the target area according to the door opening information; wherein, after receiving the door opening information sent by the smart door lock, the central control system of the smart home Obtain the status information of each target device corresponding to the user detected by the detector in the target area and other users in the home; wherein the detector is one or more entities that can sense IP/Bluetooth devices in the home, such as a running TV , a program on routers, refrigerators, and air conditioners; the detector has IP capabilities and is connected to the home LAN. Through the IP sensing technology (such as upnp and other protocols) in the LAN, it can sense whether an IP device exists in the home, such as a mobile phone, Watches and other wifi devices; also have Bluetooth capabilities, through the search of Bluetooth devices can detect the existence of Bluetooth devices, such as bracelets, watches and other Bluetooth devices. Specifically, before performing the detection operation of the state information of the target device, first determine the target device that needs to be detected for each user in the home, wherein the type and number of the target device of each user can be different, such as the target device corresponding to the father It is a mobile phone and a watch; the target device corresponding to the child is a bracelet. Further, identification information is set for the target device corresponding to each user to distinguish different users, wherein the identification information includes: device name, device number, device model, and the like. The detector is based on the local area network communication protocol, such as CoAP protocol, by sending out CoAP broadcast, it detects and obtains the target device in the local area network; when one or more target devices are detected, it obtains the state information corresponding to the target device, and separates each target device separately. The corresponding status information is sent to the central control system of the smart home. The central control system of the smart home synchronizes the obtained status information of each target device to the mobile phone or phone watch of the user at home, and the user can view the status information corresponding to the target device of himself and other users through the mobile phone or phone watch.
需要说明的是,能被探测器检测识别的目标设备,可以是具有网络通信模块,能通过WIFI路由器接入到局域网中,或者能通过WIFI路由器进行局域网组网。It should be noted that the target device that can be detected and identified by the detector may have a network communication module, can be connected to a local area network through a WIFI router, or can be networked in a local area network through a WIFI router.
步骤S30,智能家居的中控系统根据各个目标设备的状态信息确定与各个用户对应的工作模式,以及根据工作模式控制家电设备的工作状态。In step S30, the central control system of the smart home determines the working mode corresponding to each user according to the state information of each target device, and controls the working state of the home appliance according to the working mode.
智能家居的中控系统根据各个目标设备的状态信息确定与各个用户对应的工作模式,以及根据工作模式控制家电设备的工作状态,其中,各个目标设备的状态信息包括信号强度状态、登陆状态、是否已经属于某个WIFI局域网、以及是否为某个WIFI局域网的热点设备等。具体地,当用户开启智能门锁出门时,智能门锁将用户离家的信息上报给到智能家居的中控系统,智能家居中控在30秒或1分钟后读取家中各个用户分别对应的随身携带设备的状态信息,并转化为对应用户回家/离家信息。如果用户状态从在家转变为离家,则启动用户对应的离家模式;再判断其他用户对应的各个目标设备的状态信息,若其他用户对应的各个目标设备状态为离家状态,则说明当前出门的用户是最后一个离家的,则启动全家离家模式。当用户开启智能门锁进门时,智能门锁将用户回家的信息上报给到智能家居的中控系统,智能家居中控在30秒或1分钟后读取家中各个用户对应的随身携带设备的状态信息,并转化为对应用户回家/离家信息。如果用户状态从离家转变为在家,则启动用户对应的回家模式;再判断其他用户对应的各个目标设备的状态信息,若其他用户对应的各个目标设备状态为在家状态,则说明当前进门的用户是最后一个回家的。其中,当前出门/进门的用户可通过手机或电话手表查看其他用户对应的目标设备的状态信息,通过在手机或电话手表上设置其他用户的工作模式。The central control system of the smart home determines the work mode corresponding to each user according to the state information of each target device, and controls the work state of the home appliance according to the work mode, wherein the state information of each target device includes signal strength status, login status, whether It already belongs to a WIFI local area network, and whether it is a hotspot device of a WIFI local area network. Specifically, when the user opens the smart door lock to go out, the smart door lock reports the user's departure information to the central control system of the smart home, and the central control of the smart home reads the corresponding information of each user in the home after 30 seconds or 1 minute. Carry the status information of the device with you and convert it into the corresponding user's home/leave information. If the user's status changes from home to leaving home, the home-away mode corresponding to the user is activated; then the status information of each target device corresponding to other users is judged. If the status of each target device corresponding to other users is the home-away state, it means that the user is currently going out. If the user is the last to leave home, the whole family leaving home mode is activated. When the user opens the smart door lock to enter the door, the smart door lock reports the user's home information to the central control system of the smart home, and the central control of the smart home reads the information of the portable device corresponding to each user in the home after 30 seconds or 1 minute. The status information is converted into the corresponding user's home/leave information. If the status of the user changes from leaving home to being at home, the home mode corresponding to the user is activated; then the status information of each target device corresponding to other users is judged. If the status of each target device corresponding to other users is the home status, it means that the The user is the last to go home. Among them, the user who is currently going out/entering the door can view the status information of the target device corresponding to the other user through the mobile phone or the phone watch, and set the working mode of the other user on the mobile phone or the phone watch.
若启动用户离家模式后,智能家居的中控系统向用户各自绑定的家电设备发送离家模式指令,以关闭正在运行的家电设备;若启动用户回家指令后,智能家居的中控系统向用户各自绑定的家电设备发送回家模式指令,以开启关闭的家电设备。If the user's home-away mode is activated, the smart home central control system sends a home-away mode command to the home appliances bound to the user to turn off the running home appliances; if the user's home command is activated, the smart home central control system Send a home mode command to the home appliance device bound to the user to turn on the closed home appliance device.
本实施例的智能家居的中控系统通过接收智能门锁发送的用户回家/离家信息,进一步根据用户回家/离家信息在目标区域内获取分别与用户以及家中其他用户对应的各个目标设备的状态信息,根据各个目标设备的状态信息确定与各个用户对应的工作模式,以及根据工作模式控制家电设备的运行或关闭。通过在用户离家/回家时,获取家中其他用户对应的目标设备的状态信息,以判断是否还有其他用户在家,从而为每个用户确定不同的工作模式,使得可以正确的启动离家/回家模式,为用户提供简单高效的智能生活方式。The central control system of the smart home in this embodiment obtains the respective targets corresponding to the user and other users in the home in the target area by receiving the user's home/leave information sent by the smart door lock, and further according to the user's home/leave information in the target area. The state information of the device determines the working mode corresponding to each user according to the state information of each target device, and controls the running or closing of the home appliance according to the working mode. When the user leaves/comes home, the status information of the target device corresponding to other users in the home is obtained to determine whether there are other users at home, so as to determine different working modes for each user, so that the leaving home/home can be correctly activated. The home mode provides users with a simple and efficient smart lifestyle.
进一步地,参考图3,提出本申请家电设备的控制方法第二实施例。Further, with reference to FIG. 3 , a second embodiment of the control method for the household electrical appliance of the present application is proposed.
家电设备的控制方法第二实施例与家电设备的控制方法第一实施例的区别在于,根据工作模式控制家电设备的工作状态,包括:The difference between the second embodiment of the control method for household electrical appliances and the first embodiment of the control method for household electrical appliances is that controlling the working state of the household electrical appliance according to the working mode includes:
步骤S31,若用户对应的工作模式为离家模式,智能家居的中控系统则将与用户具有单独绑定关系的所有家电设备的工作状态均调整为关闭状态;Step S31, if the working mode corresponding to the user is the away-from-home mode, the central control system of the smart home adjusts the working states of all household appliances that have a separate binding relationship with the user to the off state;
步骤S32,若与家电设备A具有绑定关系的家中其他用户中的每个用户对应的工作模式均为离家模式,智能家居的中控系统则将家电设备A的工作状态调整为关闭状态,家电设备A为与用户具有公共绑定关系的至少一个家电设备中的任意一个;或者,Step S32, if the working mode corresponding to each of the other users in the home that has a binding relationship with the home appliance A is the home away mode, the central control system of the smart home adjusts the working state of the home appliance A to the off state, The home appliance A is any one of at least one home appliance that has a public binding relationship with the user; or,
步骤S33,若与家电设备A具有绑定关系的家中其他用户中的至少一个用户对应的工作模式均为回家模式,智能家居的中控系统则维持家电设备A的工作状态为运行状态不变。Step S33, if the working mode corresponding to at least one of the other users in the home that has a binding relationship with the home appliance A is the home mode, the central control system of the smart home maintains the working state of the home appliance A as the running state unchanged. .
当智能家居的中控系统接收到智能门锁发送的离家信息时,确定当前出门的用户对应的工作模式为离家模式,进一步智能家居的中控系统则将与当前出门的用户具有单独绑定关系的所有家电设备的工作状态均调整为关闭状态;其中,由于家中有多个场景,如客厅、房间、厨房、卫生间、书房等,不同的场景对应的家电设备不同。因此,基于场景的不同,用户单独绑定的家电设备也不同,例如:小孩可单独绑定书房中的台灯、空调以及自己房间中的灯管、风扇等家电设备。在确定小孩的工作模式为离家模式时,智能家居的中控系统会自动检测小孩单独绑定的家电设备的工作状态,如:运行状态、关闭状态;并向工作状态为运行状态的家电设备发送离家模式指令,以关闭正在运行的家电设备。When the central control system of the smart home receives the leaving home information sent by the smart door lock, it determines that the working mode corresponding to the user who is currently going out is the leaving home mode. Further, the central control system of the smart home will have a separate binding with the current user who is going out. The working state of all household appliances in a certain relationship is adjusted to the off state; among them, since there are multiple scenes in the home, such as living room, room, kitchen, bathroom, study, etc., different scenes correspond to different household appliances. Therefore, based on different scenarios, the home appliances that users bind individually are also different. For example, a child can bind a desk lamp, an air conditioner in a study, and a lamp, fan and other home appliances in his own room. When it is determined that the child's working mode is the home-away mode, the central control system of the smart home will automatically detect the working status of the home appliances bound by the child alone, such as: running status, off status; Send the AWAY MODE command to turn off running appliances.
若与家电设备A具有绑定关系的家中其他用户中的每个用户对应的工作模式均为离家模式,智能家居的中控系统则将家电设备A的工作状态调整为关闭状态;其中,家电设备A为与用户具有公共绑定关系的至少一个家电设备中的任意一个。进一步,家电设备A一般为家中公共场景(如客厅、厨房、卫生间等)中对应的家电设备,若家电设备A为客厅中的空调,空调与家中的每一个用户都具有绑定关系,当家中任意一个用户出门时,智能家居的中控系统会自动检测与空调具有绑定关系的其他用户对应的目标设备的状态信息,以确定用户的工作模式。若与空调具有绑定关系的其他用户对应的工作模式均为离家模式,则说明当前离家的用户为最后一个离家的,智能家居的中控系统自动发送关闭指令至空调,以关闭正在运行的空调。若与空调具有绑定关系的其他用户中存在至少一个用户对应的工作模式为回家模式,则说明当前家中还有其他的用户,智能家居的中控系统则维持空调的工作状态为运行状态不变。需要说明的是,与用户具有公共绑定关系的家电设备可以存在多个。If the working mode corresponding to each of the other users in the home that has a binding relationship with the home appliance A is the home away mode, the central control system of the smart home adjusts the working state of the home appliance A to the off state; Device A is any one of at least one home appliance that has a public binding relationship with the user. Further, home appliance A is generally the home appliance corresponding to the public scenes (such as living room, kitchen, bathroom, etc.) in the home. If home appliance A is the air conditioner in the living room, the air conditioner has a binding relationship with each user in the home. When any user goes out, the central control system of the smart home will automatically detect the status information of the target device corresponding to other users who have a binding relationship with the air conditioner to determine the user's working mode. If the working modes corresponding to other users who are bound to the air conditioner are all leaving home mode, it means that the current user leaving home is the last one to leave home, and the central control system of the smart home automatically sends a shutdown command to the air conditioner to close the Air conditioner running. If at least one of the other users with a binding relationship with the air conditioner has a working mode corresponding to the home mode, it means that there are other users in the current home, and the central control system of the smart home maintains the working state of the air conditioner as not running. Change. It should be noted that there may be multiple home appliances that have a public binding relationship with the user.
本实施例通过确定每个用户对应的工作模式,根据工作模式确定与用户具有绑定关系的家电设备的工作状态,当用户对应的工作模式为离家模式时,关闭所有与用户具有单独绑定关系的家电设备;进一步确定具有公共绑定关系的家电设备对应的其他用户的工作模式,若其他用户的工作模式均为离家模式,则关闭具有公共绑定关系的所有家电设备,若存在至少一个用户的工作模式为回家模式,则使具有公共绑定关系的所有家电设备保持原来的运行状态。根据每个用户对应的工作模式控制家电设备的工作状态,使得能合理关闭家中的家电设备,不影响家中其他用户的正常生活,同时节约了资源。In this embodiment, the working mode corresponding to each user is determined, and the working state of the home appliance that has a binding relationship with the user is determined according to the working mode. When the working mode corresponding to the user is the away-from-home mode, all the home appliances that are individually bound to the user are turned off. Home appliances with public binding relationships; further determine the working modes of other users corresponding to home appliances with public binding relationships. If the working modes of other users are all in the away-from-home mode, turn off all home appliances with public binding relationships. If there are at least If the working mode of a user is the home mode, all the home appliances with the public binding relationship are kept in the original running state. The working state of the home appliance is controlled according to the working mode corresponding to each user, so that the home appliance can be turned off reasonably, without affecting the normal life of other users in the home, and at the same time saving resources.
进一步地,参考图4,提出本申请家电设备的控制方法第三实施例。Further, referring to FIG. 4 , a third embodiment of the control method of the household electrical appliance of the present application is proposed.
家电设备的控制方法第三实施例与家电设备的控制方法第一实施例和第二实施例的区别在于,根据工作模式控制家电设备的工作状态,包括:The difference between the third embodiment of the control method for household electrical appliances and the first and second embodiments of the control method for household electrical appliances is that controlling the working state of the household electrical appliance according to the working mode includes:
步骤S33,若用户对应的工作模式为回家模式,智能家居的中控系统则将与用户具有单独绑定关系的所有家电设备的工作状态均调整为运行状态;Step S33, if the working mode corresponding to the user is the home mode, the central control system of the smart home adjusts the working state of all household appliances that have a separate binding relationship with the user to the running state;
步骤S34,若与家电设备B具有绑定关系的家中其他用户中的至少一个用户对应的工作模式均为回家模式,智能家居的中控系统则保持家电设备B的工作状态为运行状态不变,家电设备B为与用户具有公共绑定关系的至少一个家电设备中的任意一个。Step S34, if the working mode corresponding to at least one of the other users in the home that has a binding relationship with the home appliance B is the home mode, the central control system of the smart home keeps the working state of the home appliance B as the running state unchanged. , the home appliance B is any one of at least one home appliance that has a public binding relationship with the user.
当智能家居的中控系统接收到智能门锁发送的回家信息时,确定当前进门的用户对应的工作模式为回家模式,进一步智能家居的中控系统则将与当前进门的用户具有单独绑定关系的所有家电设备的工作状态均调整为运行状态。例如:若爷爷单独绑定的家电设备有自己房间中的空调、灯管、电视,智能家居的中控系统在确定当前进门的用户为爷爷时,进一步确定爷爷的工作模式为回家模式,并根据爷爷对应的回家模式向与爷爷单独绑定的家电设备发送回家模式指令,以开启与爷爷单独绑定的家电设备。When the central control system of the smart home receives the home information sent by the smart door lock, it determines that the working mode corresponding to the current user entering the door is the home mode, and further, the central control system of the smart home will have a separate binding with the current user entering the door. The working state of all household appliances in a given relationship is adjusted to the running state. For example: if the home appliances bound by grandpa include air conditioners, lamps, and TVs in his own room, when the central control system of the smart home determines that the current user who enters the door is grandpa, it further determines that grandpa's work mode is home mode, and According to the grandfather's corresponding home mode, send a home mode command to the home appliance device bound to the grandpa alone, so as to turn on the home appliance device bound to the grandpa alone.
若与家电设备B具有绑定关系的家中其他用户中的至少一个用户对应的工作模式均为回家模式,智能家居的中控系统则保持家电设备B的工作状态为运行状态不变;其中,家电设备B为与用户具有公共绑定关系的至少一个家电设备中的任意一个。进一步家电设备B一般为家中公共场景(如客厅、厨房、卫生间等)中对应的家电设备,若家电设备B为客厅中的灯管时,灯管与家中的每一个用户都具有绑定关系,当家中任意一个人进门时,智能家居的中控系统会自动检测与灯管具有绑定关系的其他用户对应的目标设备的状态信息,以确定用户的工作模式。若与灯管具有绑定关系的其他用户对应的工作模式均为离家模式,则说明当前进门的用户为最早一个回家的,智能家居的中控系统自动发送开启指令至与进门用户具有单独和公共绑定关系的家电设备。若与灯管具有绑定关系的其他用户中存在至少一个用户对应的工作模式为回家模式,则说明当前家中还有其他的用户,智能家居的中控系统则维持灯管的工作状态为运行状态不变。If the working mode corresponding to at least one of the other users in the home that has a binding relationship with the home appliance B is the home mode, the central control system of the smart home keeps the working state of the home appliance B unchanged; wherein, The home appliance B is any one of at least one home appliance that has a public binding relationship with the user. Further, the home appliance B is generally the corresponding home appliance in the public scenes at home (such as living room, kitchen, bathroom, etc.). If the home appliance B is a lamp in the living room, the lamp has a binding relationship with each user in the home. When anyone in the home enters the door, the central control system of the smart home will automatically detect the status information of the target device corresponding to other users who have a binding relationship with the lamp to determine the user's working mode. If the working modes corresponding to other users who have a binding relationship with the lamp are all leaving home mode, it means that the current user who enters the door is the first to go home. Home appliances that are bound to the public. If at least one of the other users with a binding relationship with the lamp has a working mode corresponding to the home mode, it means that there are other users in the current home, and the central control system of the smart home maintains the working state of the lamp as running Status unchanged.
可选地,若当前进门的用户是通过密码输入开启智能门锁,则无法判断当前开门回家的是哪一个用户。此时,智能家居的中控系统需要根据用户的回家信息获取用户对应的设备,进一步判断设备是否为目标设备,例如若当前基于小孩的回家信息获取到的设备有智能电话手表,判断智能手表与预先存储的智能手表是否相同,如可通过判断两个智能手表的IP信息是否相同或编号信息是否相同;在确定智能手表的IP信息或编号信息与预先存储的智能手表相同时,则说明当前获取到的智能手表为目标设备;进一步获取目标设备的标识信息,由于标识信息能区分家中的每一个用户,因此,在获取到目标设备的标识信息时,即能获取到标识信息对应的用户,并开启目标用户对应的回家模式。Optionally, if the current user entering the door unlocks the smart door lock through password input, it cannot be determined which user is currently opening the door and going home. At this time, the central control system of the smart home needs to obtain the device corresponding to the user according to the user's home information, and further determine whether the device is the target device. Whether the watch is the same as the pre-stored smart watch, for example, it can be judged whether the IP information or serial number information of the two smart watches is the same; when it is determined that the IP information or serial number information of the smart watch is the same as the pre-stored smart watch, then The currently obtained smart watch is the target device; further obtain the identification information of the target device. Since the identification information can distinguish each user in the home, when the identification information of the target device is obtained, the user corresponding to the identification information can be obtained. , and enable the home mode corresponding to the target user.
进一步地,参考图7,将与用户具有单独绑定关系的所有家电设备的工作状态均调整为运行状态,包括:Further, referring to FIG. 7 , the working states of all household appliances that have a separate binding relationship with the user are adjusted to the running state, including:
步骤S330,智能家居的中控系统向与用户具有单独绑定关系的所有家电设备中的每个家电设备均发送唤醒指令;Step S330, the central control system of the smart home sends a wake-up instruction to each of all the household appliances that have a separate binding relationship with the user;
步骤S331,智能家居的中控系统获取与用户具有单独绑定关系的所有家电设备中的每个家电设备上一次的运行参数;Step S331, the central control system of the smart home obtains the last operating parameter of each household appliance in all household appliances that have a separate binding relationship with the user;
步骤S332,智能家居的中控系统根据与用户具有单独绑定关系的所有家电设备中的每个家电设备上一次的运行参数执行运行参数配置操作。Step S332, the central control system of the smart home performs an operation parameter configuration operation according to the last operation parameter of each household appliance in all household appliances that have a separate binding relationship with the user.
当开启用户对应的回家模式时,智能家居的中控系统向与用户具有单独绑定关系的所有家电设备中的每个家电设备均发送唤醒指令,根据唤醒指令获取与用户具有单独绑定关系的所有家电设备中的每个家电设备上一次的运行参数,进一步根据与用户具有单独绑定关系的所有家电设备中的每个家电设备上一次的运行参数执行运行参数配置操作。具体地,在用户出门开启离家模式时,智能家居的中控系统会自动获取不同家电设备在关闭前对应的运行参数,如获取到父亲房间中的空调在启动离家模式前的运行参数为运行制冷温度为26℃、风速为中档、扫风方式为上下扫风;灯管的运行参数为暖光模式,亮度档位为中档;风扇的运行参数为风速为三挡、摇摆方式为左右摇摆。当启动父亲的回家模式后,智能家居的中控系统会将预先存储的设备的运行参数发送至与家电设备匹配的被唤醒设备,如当前被唤醒的设备为空调、灯管和风扇,则被唤醒的空调的运行制冷温度为26℃、风速为中档、扫风方式为上下扫风;被唤醒的灯管为暖光模式,亮度档位为中档;被唤醒的风扇的风速为三挡、摇摆方式为左右摇摆,即被唤醒设备的运行参数与被关闭前的运行参数一致。When the home mode corresponding to the user is turned on, the central control system of the smart home sends a wake-up command to each of all household appliances that have a separate binding relationship with the user, and obtains a separate binding relationship with the user according to the wake-up command. The last operating parameters of each household appliance among all the household appliances, and further perform the operation parameter configuration operation according to the last operating parameters of each household appliance among all the household appliances that have a separate binding relationship with the user. Specifically, when the user goes out to turn on the home-away mode, the central control system of the smart home will automatically obtain the corresponding operating parameters of different home appliances before they are turned off. For example, the operating parameters of the air conditioner in the father's room before starting the home-away mode are: The operating cooling temperature is 26°C, the wind speed is mid-range, and the sweeping method is up and down sweeping; the operating parameters of the lamp are warm light mode, and the brightness gear is mid-range; the operating parameters of the fan are that the wind speed is in the third gear, and the swing mode is left and right swing. . When the father's home mode is activated, the central control system of the smart home will send the pre-stored operating parameters of the device to the awakened device that matches the home appliance. If the currently awakened devices are air conditioners, lamps and fans, then The operating cooling temperature of the awakened air conditioner is 26°C, the wind speed is mid-range, and the sweeping method is up and down sweeping; the awakened lamp is in warm light mode, and the brightness gear is mid-range; the wind speed of the awakened fan is in the third gear, The swing mode is left and right swing, that is, the operating parameters of the awakened device are consistent with the operating parameters before being turned off.
本实施例通过确定每个用户对应的工作模式,根据工作模式确定与用户具有绑定关系的家电设备的工作状态,当用户的工作模式为回家模式时,开启所有与用户具有单独绑定关系的家电设备;进一步确定具有公共绑定关系的家电设备对应的其他用户的工作模式,若其他用户的工作模式均为离家模式,则开启所有具有公共绑定关系的家电设备,若存在至少一个用户的工作模式为回家模式,则使所有具有公共绑定关系的家电设备保持原来的运行状态。根据每个用户对应的工作模式控制家电设备的工作状态,使得能合理关闭家中的家电设备,不影响家中其他用户的正常生活,同时节约了资源;此外,通过为被唤醒的设备配置预先存储的运行参数,使得被唤醒的设备无需按照默认的参数进行运行,实现了智能地设置家电设备的运行参数。In this embodiment, the working mode corresponding to each user is determined, and the working state of the home appliance that has a binding relationship with the user is determined according to the working mode. When the working mode of the user is the home mode, all the home appliances that have an independent binding relationship with the user are enabled. the home appliances; further determine the working modes of other users corresponding to the home appliances with the public binding relationship, and if the working modes of other users are the home-away mode, turn on all the home appliances with the public binding relationship, if there is at least one If the working mode of the user is the home mode, all the home appliances with the public binding relationship are kept in the original running state. Control the working state of home appliances according to the working mode corresponding to each user, so that the home appliances can be reasonably shut down, without affecting the normal life of other users in the home, and at the same time saving resources; The running parameters make it unnecessary for the awakened device to run according to the default parameters, so that the running parameters of the home appliance can be intelligently set.
进一步地,参考图5,提出本申请家电设备的控制方法第四实施例。Further, referring to FIG. 5 , a fourth embodiment of the control method of the household electrical appliance of the present application is proposed.
家电设备的控制方法第四实施例与家电设备的控制方法第一实施例、第二实施例和第三实施例的区别在于,根据各个目标设备的状态信息确定与各个用户对应的工作模式,包括:The difference between the fourth embodiment of the control method for household electrical appliances and the first, second and third embodiments of the control method for household electrical appliances is that the working mode corresponding to each user is determined according to the status information of each target device, including: :
步骤S35,若目标设备C的状态信息为离家状态,智能家居的中控系统则确定与目标设备C具有绑定关系的用户对应的工作模式为离家模式,离家状态是在目标区域内无法检测到目标设备C,目标设备C为各个目标设备中的任意一个;或者,Step S35, if the state information of the target device C is the home-away state, the central control system of the smart home determines that the working mode corresponding to the user with the binding relationship with the target device C is the home-away mode, and the home-away state is within the target area. The target device C cannot be detected, and the target device C is any one of the target devices; or,
步骤S36,若目标设备D的状态信息为回家状态,智能家居的中控系统则确定与目标设备D具有绑定关系的用户对应的工作模式为回家模式,回家状态是在目标区域内能够检测到目标设备D,目标设备D为各个目标设备中的任意一个。Step S36, if the state information of the target device D is the home state, the central control system of the smart home determines that the work mode corresponding to the user who has a binding relationship with the target device D is the home mode, and the home state is within the target area. The target device D can be detected, and the target device D is any one of the various target devices.
若目标设备C的状态信息为离家状态,智能家居的中控系统则确定与目标设备C具有绑定关系的用户对应的工作模式为离家模式;其中,离家状态是在目标区域内无法检测到目标设备C,目标设备C为各个目标设备中的任意一个,如手机、手表、手环等。具体地,若目标设备C为手机,且手机与父亲绑定,当探测器在家中未检测到手机的状态信息时,确定手机的状态信息为离家状态,说明父亲不在家中,即父亲对应的工作模式为离家模式。If the state information of the target device C is the home-away state, the central control system of the smart home determines that the working mode corresponding to the user who has a binding relationship with the target device C is the home-away mode. The target device C is detected, and the target device C is any one of the target devices, such as a mobile phone, a watch, a wristband, and the like. Specifically, if the target device C is a mobile phone and the mobile phone is bound to the father, when the detector does not detect the status information of the mobile phone at home, it is determined that the status information of the mobile phone is the away state, indicating that the father is not at home, that is, the corresponding The working mode is the away-from-home mode.
若目标设备D的状态信息为回家状态,智能家居的中控系统则确定与目标设备D具有绑定关系的用户对应的工作模式为回家模式;其中,回家状态是在目标区域内能够检测到目标设备D,目标设备D为各个目标设备中的任意一个,如手机、手表、手环等。具体地,若目标设备D为手表,且手表与奶奶绑定,当探测器在家中检测到手表的状态信息时,确定手表的状态信息为回家状态,说明奶奶在家中,即奶奶对应的工作模式为回家模式。If the state information of the target device D is the home state, the central control system of the smart home determines that the working mode corresponding to the user who has a binding relationship with the target device D is the home mode; The target device D is detected, and the target device D is any one of the various target devices, such as a mobile phone, a watch, a wristband, and the like. Specifically, if the target device D is a watch and the watch is bound to grandma, when the detector detects the state information of the watch at home, it is determined that the state information of the watch is the home state, indicating that grandma is at home, that is, the work corresponding to grandma The mode is home mode.
本实施例通过确定目标设备的状态信息,进一步确定与目标设备绑定的用户对应的工作模式,使得为用户提供个性化的回家/离家模式。In this embodiment, by determining the state information of the target device, the working mode corresponding to the user bound to the target device is further determined, so as to provide the user with a personalized home/away mode.
进一步地,参考图6,提出本申请家电设备的控制方法第五实施例。Further, referring to FIG. 6 , a fifth embodiment of the control method of the household electrical appliance of the present application is proposed.
家电设备的控制方法第五实施例与上述其他实施例的区别在于,接收智能门锁发送的开门信息之前,方法还包括:The difference between the fifth embodiment of the control method for household electrical appliances and the other embodiments above is that, before receiving the door opening information sent by the smart door lock, the method further includes:
步骤S11,智能家居的中控系统获取家中每个用户对应的目标设备;Step S11, the central control system of the smart home obtains the target device corresponding to each user in the home;
步骤S12,智能家居的中控系统为每个用户对应的目标设备配置标识信息,使得用户与目标设备一一绑定。Step S12, the central control system of the smart home configures identification information for the target device corresponding to each user, so that the user and the target device are bound one by one.
由于家中的用户类型有多种,如小学生、高中生、老人以及成人等,基于用户类型的不同,每个用户类型对应的目标设备的类型以及个数也不同;进一步对于同一类型的不同用户,其对应的目标设备的类型以及个数也可以不同,如父亲与母亲所属的用户类型为成人,父亲对应的目标设备为手机和手表,而母亲对应的目标设备为手机。其中,每个用户至少包括一个目标设备。Since there are many types of users at home, such as primary school students, high school students, the elderly, and adults, based on different user types, the type and number of target devices corresponding to each user type are also different; further, for different users of the same type, The types and numbers of corresponding target devices may also be different. For example, the user types to which the father and mother belong are adults, the target devices corresponding to the father are mobile phones and watches, and the target devices corresponding to the mother are mobile phones. Wherein, each user includes at least one target device.
智能家居的中控系统在获取到家中每个用户对应的目标设备后,为每个用户对应的目标设备配置标识信息,使得用户与目标设备一一绑定;其中,标识信息可设置为数字、英文字母、编号、用户名称等,具体的标识信息以家中每个用户的使用习惯进行设置;例如当以数字编号配置标识信息时,爷爷设置为数字1、奶奶设置为数字2、父亲设置为数字3、母亲设置为数字4等,由于每个用户对应的数字不同,使得用户与目标设备一一绑定。After acquiring the target device corresponding to each user in the home, the central control system of the smart home configures identification information for the target device corresponding to each user, so that the user and the target device are bound one by one; English letters, numbers, user names, etc. The specific identification information is set according to the usage habits of each user in the home; for example, when the identification information is configured with a number number, the grandfather is set to number 1, grandma is set to number 2, and father is set to number 3. The mother is set to number 4, etc. Since the number corresponding to each user is different, the user is bound to the target device one by one.
本实施例通过获取家中每个用户对应的目标设备,为每个用户对应的目标设备配置标识信息,进一步根据标识信息为每个用户设置不同的工作模式。由于每个用户设置有不同的工作模式,使得用户在回家/离家时,不会盲目地关闭/开启家中的家电设备,从而保证了用户的正常生活,增强了用户的体验。This embodiment configures identification information for the target device corresponding to each user by acquiring the target device corresponding to each user in the home, and further sets different working modes for each user according to the identification information. Since each user is set with a different working mode, the user will not blindly turn off/on the home appliances when going home/leaving, thereby ensuring the normal life of the user and enhancing the user experience.
为实现上述实施例,本申请还提供一种家电设备的控制装置,图8是根据本申请一个实施例的家电设备的控制装置的结构示意图,该装置包括接收模块10、获取模块20、确定模块30和控制模块40,其中:In order to realize the above-mentioned embodiments, the present application also provides a control apparatus for household electrical appliances. FIG. 8 is a schematic structural diagram of a control apparatus for household electrical appliances according to an embodiment of the present application. The apparatus includes a receiving
接收模块10,用于接收智能门锁发送的开门信息;The receiving
获取模块20,用于根据开门信息在目标区域内获取分别与用户以及家中其他用户对应的各个目标设备的状态信息,目标区域为预先设置的检测区域,目标设备为预先设置的被检测设备;The
确定模块30,用于根据各个目标设备的状态信息确定与各个用户对应的工作模式;a determining
控制模块40,用于根据工作模式控制家电设备的工作状态。The
在本申请的一个实施例中,在如图8所示的基础上,在根据工作模式控制家电设备的工作状态方面,控制模块40具体用于:In an embodiment of the present application, on the basis shown in FIG. 8 , in terms of controlling the working state of the household electrical appliance according to the working mode, the
若用户对应的工作模式为离家模式,智能家居的中控系统则将与用户具有单独绑定关系的所有家电设备的工作状态均调整为关闭状态;If the working mode corresponding to the user is the home-away mode, the central control system of the smart home will adjust the working status of all household appliances that have a separate binding relationship with the user to the off state;
若与家电设备A具有绑定关系的家中其他用户中的每个用户对应的工作模式均为离家模式,智能家居的中控系统则将家电设备A的工作状态调整为关闭状态,家电设备A为与用户具有公共绑定关系的至少一个家电设备中的任意一个;或者,If the working mode corresponding to each of the other users in the home that has a binding relationship with the home appliance A is the home-away mode, the central control system of the smart home adjusts the working state of the home appliance A to the off state, and the home appliance A is any one of at least one home appliance that has a public binding relationship with the user; or,
若与家电设备A具有绑定关系的家中其他用户中的至少一个用户对应的工作模式均为回家模式,智能家居的中控系统则维持家电设备A的工作状态为运行状态不变。If the working mode corresponding to at least one of the other users in the home that has a binding relationship with the home appliance A is the home mode, the central control system of the smart home maintains the working state of the home appliance A as the running state unchanged.
此外,本申请还提供一种家电设备的控制系统,控制系统包括处理器、存储器以及存储在存储器上并可在处理器上运行的家电设备的控制程序,家电设备的控制程序被处理器执行时实现如上家电设备的控制的方法的步骤。In addition, the present application also provides a control system for household electrical appliances, the control system includes a processor, a memory, and a control program for the household electrical appliance that is stored in the memory and can be run on the processor. When the control program of the household electrical appliance is executed by the processor Steps of the method for implementing the control of the household electrical appliance as above.
此外,本申请还提供一种计算机可读存储介质,计算机可读存储介质上存储有家电设备的控制程序,家电设备的控制程序被处理器执行时实现如上家电设备的控制的方法的步骤。In addition, the present application also provides a computer-readable storage medium on which a control program of a household appliance is stored, and when the control program of the household appliance is executed by a processor, the steps of the above method for controlling a household appliance are implemented.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
应当注意的是,在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的部件或步骤。位于部件之前的单词“一”或“一个”不排除存在多个这样的部件。本申请可以借助于包括有若干不同部件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that, in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not preclude the presence of a plurality of such elements. The present application may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names.
尽管已描述了本申请的可选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括可选实施例以及落入本申请范围的所有变更和修改。While alternative embodiments of the present application have been described, additional changes and modifications to these embodiments may occur to those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include alternative embodiments and all changes and modifications that fall within the scope of the present application.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010964405.2ACN112365633A (en) | 2020-09-14 | 2020-09-14 | Control method, device and system of household appliance and computer readable storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010964405.2ACN112365633A (en) | 2020-09-14 | 2020-09-14 | Control method, device and system of household appliance and computer readable storage medium |
| Publication Number | Publication Date |
|---|---|
| CN112365633Atrue CN112365633A (en) | 2021-02-12 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010964405.2APendingCN112365633A (en) | 2020-09-14 | 2020-09-14 | Control method, device and system of household appliance and computer readable storage medium |
| Country | Link |
|---|---|
| CN (1) | CN112365633A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113009843A (en)* | 2021-02-26 | 2021-06-22 | 青岛海尔洗衣机有限公司 | Household appliance control method and device, household appliance and storage medium |
| CN113093561A (en)* | 2021-03-24 | 2021-07-09 | 青岛海尔科技有限公司 | Door equipment control method and device, storage medium and electronic device |
| CN113568320A (en)* | 2021-07-19 | 2021-10-29 | 珠海格力电器股份有限公司 | Device control method and device, electronic device and computer-readable storage medium |
| CN116645746A (en)* | 2023-05-11 | 2023-08-25 | 深圳市欧瑞博科技股份有限公司 | Response method, device, computer equipment and storage medium of intelligent gate control equipment |
| CN118170037A (en)* | 2024-03-13 | 2024-06-11 | 广州视声智能股份有限公司 | Function-oriented intelligent home environment sensing system and method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103914038A (en)* | 2013-12-31 | 2014-07-09 | 海尔集团公司 | Method and system for controlling domestic equipment according to position of user |
| CN105939236A (en)* | 2016-06-14 | 2016-09-14 | 北京小米移动软件有限公司 | Method and device for controlling intelligent home device |
| CN108052014A (en)* | 2017-12-18 | 2018-05-18 | 美的集团股份有限公司 | Control method, system and the computer readable storage medium of smart home |
| CN108469792A (en)* | 2018-03-20 | 2018-08-31 | 广东欧珀移动通信有限公司 | Intelligent home furnishing control method, device, computer equipment and readable storage medium storing program for executing |
| CN109541959A (en)* | 2019-01-17 | 2019-03-29 | 深圳市沃特沃德股份有限公司 | Smart home system multi-user control method thereof, device and storage medium |
| CN109725619A (en)* | 2019-01-24 | 2019-05-07 | 深圳市欧瑞博科技有限公司 | Control method, device and the server of smart home system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103914038A (en)* | 2013-12-31 | 2014-07-09 | 海尔集团公司 | Method and system for controlling domestic equipment according to position of user |
| CN105939236A (en)* | 2016-06-14 | 2016-09-14 | 北京小米移动软件有限公司 | Method and device for controlling intelligent home device |
| CN108052014A (en)* | 2017-12-18 | 2018-05-18 | 美的集团股份有限公司 | Control method, system and the computer readable storage medium of smart home |
| CN108469792A (en)* | 2018-03-20 | 2018-08-31 | 广东欧珀移动通信有限公司 | Intelligent home furnishing control method, device, computer equipment and readable storage medium storing program for executing |
| CN109541959A (en)* | 2019-01-17 | 2019-03-29 | 深圳市沃特沃德股份有限公司 | Smart home system multi-user control method thereof, device and storage medium |
| CN109725619A (en)* | 2019-01-24 | 2019-05-07 | 深圳市欧瑞博科技有限公司 | Control method, device and the server of smart home system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113009843A (en)* | 2021-02-26 | 2021-06-22 | 青岛海尔洗衣机有限公司 | Household appliance control method and device, household appliance and storage medium |
| CN113093561A (en)* | 2021-03-24 | 2021-07-09 | 青岛海尔科技有限公司 | Door equipment control method and device, storage medium and electronic device |
| CN113093561B (en)* | 2021-03-24 | 2023-09-19 | 青岛海尔科技有限公司 | Door equipment control method and device, storage medium, electronic device |
| CN113568320A (en)* | 2021-07-19 | 2021-10-29 | 珠海格力电器股份有限公司 | Device control method and device, electronic device and computer-readable storage medium |
| CN116645746A (en)* | 2023-05-11 | 2023-08-25 | 深圳市欧瑞博科技股份有限公司 | Response method, device, computer equipment and storage medium of intelligent gate control equipment |
| CN118170037A (en)* | 2024-03-13 | 2024-06-11 | 广州视声智能股份有限公司 | Function-oriented intelligent home environment sensing system and method |
| Publication | Publication Date | Title |
|---|---|---|
| CN112365633A (en) | Control method, device and system of household appliance and computer readable storage medium | |
| CN111742292B (en) | Electronic device, control method of electronic device, and server | |
| US20190229943A1 (en) | System and method for crowdsourcing generalized smart home automation scenes | |
| WO2016065812A1 (en) | Scenario mode setting-based smart device control method and apparatus | |
| KR102084507B1 (en) | Method and apparatus for controlling a home device remotely in a home network system | |
| WO2016065813A1 (en) | Method and apparatus for customising smart device scenario mode | |
| JP6782229B2 (en) | Methods and equipment for operating intelligent electrical equipment | |
| KR102344021B1 (en) | Method and appratus for controlling a device | |
| CN109918273B (en) | Data display method and device, terminal equipment and storage medium | |
| CN111766798A (en) | Intelligent household equipment control method and device | |
| CN113268005B (en) | Intelligent scene control method, system, device and storage medium | |
| CN111025925A (en) | Intelligent home furnishing system based on cloud computing | |
| WO2016065825A1 (en) | Method and apparatus for recommending scenario mode for smart device | |
| CN109799716B (en) | A scene push method, device and smart home system | |
| WO2017008399A1 (en) | Smart device control method, terminal, and server | |
| RU2627940C2 (en) | Method and device for controlling intelligent home power source | |
| CN111970180A (en) | Networking configuration method and device for intelligent household equipment, electronic equipment and storage medium | |
| WO2016192458A1 (en) | User terminal, home central controller and smart home control method and system | |
| CN105431820A (en) | Method and apparatus for configuring and recommending device actions using user context | |
| CN106054620A (en) | Intelligent control device and system | |
| TW201617784A (en) | Control system capable of periodically driving a corresponding device based on trigger policy and method thereof | |
| CN112180753B (en) | Smart home control method, system and server | |
| WO2023098002A1 (en) | Method, system and apparatus for controlling household appliance, and storage medium and electronic apparatus | |
| CN106023578A (en) | Wearable device and control method of household device | |
| CN116364079A (en) | Equipment control method, device, storage medium and electronic device |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20210212 | |
| RJ01 | Rejection of invention patent application after publication |