[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114947540A - Control method and device of water dispenser, water dispenser and storage medium - Google Patents

Control method and device of water dispenser, water dispenser and storage medium Download PDF

Info

Publication number
CN114947540A
CN114947540A CN202210019949.0A CN202210019949A CN114947540A CN 114947540 A CN114947540 A CN 114947540A CN 202210019949 A CN202210019949 A CN 202210019949A CN 114947540 A CN114947540 A CN 114947540A
Authority
CN
China
Prior art keywords
water dispenser
water
time
dispenser
users
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210019949.0A
Other languages
Chinese (zh)
Other versions
CN114947540B (en
Inventor
黄卉君
薛祥玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Economic And Technology Development District Haier Water Heater Co ltd
Qingdao Haier Strauss Water Equipment Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Economic And Technology Development District Haier Water Heater Co ltd
Qingdao Haier Strauss Water Equipment Co Ltd
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Economic And Technology Development District Haier Water Heater Co ltd, Qingdao Haier Strauss Water Equipment Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Economic And Technology Development District Haier Water Heater Co ltd
Priority to CN202210019949.0A priority Critical patent/CN114947540B/en
Publication of CN114947540A publication Critical patent/CN114947540A/en
Application granted granted Critical
Publication of CN114947540B publication Critical patent/CN114947540B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J31/00Apparatus for making beverages
    • A47J31/44Parts or details or accessories of beverage-making apparatus
    • A47J31/52Alarm-clock-controlled mechanisms for coffee- or tea-making apparatus ; Timers for coffee- or tea-making apparatus; Electronic control devices for coffee- or tea-making apparatus
    • A47J31/521Alarm-clock-controlled mechanisms for coffee- or tea-making apparatus ; Timers for coffee- or tea-making apparatus; Electronic control devices for coffee- or tea-making apparatus the electronic control being performed over a network, e.g. by means of a computer or a handheld device
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J31/00Apparatus for making beverages
    • A47J31/44Parts or details or accessories of beverage-making apparatus
    • A47J31/52Alarm-clock-controlled mechanisms for coffee- or tea-making apparatus ; Timers for coffee- or tea-making apparatus; Electronic control devices for coffee- or tea-making apparatus
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J31/00Apparatus for making beverages
    • A47J31/44Parts or details or accessories of beverage-making apparatus
    • A47J31/52Alarm-clock-controlled mechanisms for coffee- or tea-making apparatus ; Timers for coffee- or tea-making apparatus; Electronic control devices for coffee- or tea-making apparatus
    • A47J31/525Alarm-clock-controlled mechanisms for coffee- or tea-making apparatus ; Timers for coffee- or tea-making apparatus; Electronic control devices for coffee- or tea-making apparatus the electronic control being based on monitoring of specific process parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Food Science & Technology (AREA)
  • General Engineering & Computer Science (AREA)
  • Devices For Dispensing Beverages (AREA)

Abstract

本发明实施例公开了一种饮水机的控制方法、装置、饮水机及存储介质,该方法包括:获取饮水机的控制模型;获取监测设备监测到的当前用户信息;根据当前用户信息和控制模型确定是否满足饮水机的工作条件;若满足饮水机的工作条件,则控制饮水机工作。通过本发明的技术方案,避免了饮水机以固定的时间启动和关闭,能够根据实际情况动态控制饮水机的启动和关闭,提升饮水机的性能,提高用户的使用感受。

Figure 202210019949

The embodiment of the present invention discloses a control method, device, water dispenser and storage medium of a water dispenser. The method includes: acquiring a control model of the water dispenser; acquiring current user information monitored by a monitoring device; according to the current user information and the control model Determine whether the working conditions of the water dispenser are met; if the working conditions of the water dispenser are met, control the working of the water dispenser. The technical scheme of the present invention avoids starting and closing the water dispenser at a fixed time, and can dynamically control the starting and closing of the water dispenser according to the actual situation, improve the performance of the water dispenser, and improve the user's use experience.

Figure 202210019949

Description

一种饮水机的控制方法、装置、饮水机及存储介质A water dispenser control method, device, water dispenser and storage medium

技术领域technical field

本发明实施例涉及电器控制技术领域,尤其涉及一种饮水机的控制方法、装置、饮水机及存储介质。Embodiments of the present invention relate to the technical field of electrical appliance control, and in particular, to a control method and device for a water dispenser, a water dispenser and a storage medium.

背景技术Background technique

随着物质生活水平的不断提高,人民群众对家用电器的性能需求也越来越高,其中,饮水机的性能也深受广大人民群众的关注。With the continuous improvement of material living standards, the people's demand for the performance of household appliances is also getting higher and higher. Among them, the performance of water dispensers is also deeply concerned by the general public.

目前,饮水机的控制是通过手机应用程序(Application,APP)设置定时时间,并按照设置的时间开启和关闭饮水机,但设置的时间为固定时间,不能根据实际情况进行动态调整。At present, the control of the water dispenser is to set the timing time through a mobile phone application (Application, APP), and turn on and off the water dispenser according to the set time, but the set time is a fixed time and cannot be dynamically adjusted according to the actual situation.

发明内容SUMMARY OF THE INVENTION

本发明提供一种饮水机的控制方法、装置、饮水机及存储介质,能够避免饮水机以固定的时间启动和关闭,不能根据实际情况进行动态控制的问题。The invention provides a water dispenser control method, device, water dispenser and storage medium, which can avoid the problem that the water dispenser starts and closes at a fixed time and cannot be dynamically controlled according to actual conditions.

第一方面,本发明实施例提供了一种饮水机的控制方法,该方法包括:In a first aspect, an embodiment of the present invention provides a method for controlling a water dispenser, the method comprising:

获取饮水机的控制模型;Get the control model of the water dispenser;

获取监测设备监测到的当前用户信息;Obtain the current user information monitored by the monitoring device;

根据当前用户信息和控制模型确定是否满足饮水机的工作条件;Determine whether the working conditions of the water dispenser are met according to the current user information and control model;

若满足饮水机的工作条件,则控制饮水机工作。If the working conditions of the water dispenser are met, the water dispenser is controlled to work.

第二方面,本发明实施例还提供了一种饮水机的控制装置,该装置包括:In a second aspect, an embodiment of the present invention also provides a control device for a water dispenser, the device comprising:

模型获取模块,用于获取饮水机的控制模型;The model acquisition module is used to acquire the control model of the water dispenser;

信息获取模块,用于获取监测设备监测到的当前用户信息;The information acquisition module is used to acquire the current user information monitored by the monitoring equipment;

状态确认模块,用于根据当前用户信息和控制模型确定是否满足饮水机的工作条件;The status confirmation module is used to determine whether the working conditions of the water dispenser are met according to the current user information and the control model;

设备控制模块,用于若满足饮水机的工作条件,则控制饮水机工作。The device control module is used to control the water dispenser to work if the working conditions of the water dispenser are met.

第三方面,本发明实施例还提供了一种饮水机,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器用于在执行计算机程序时实现如本发明实施例中任一所述的饮水机的控制方法。In a third aspect, an embodiment of the present invention further provides a water dispenser, including a memory, a processor, and a computer program stored in the memory and running on the processor, the processor being configured to implement the present invention when executing the computer program. The control method of the water dispenser described in any one of the embodiments of the invention.

第四方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本发明实施例中任一所述的饮水机的控制方法。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the method for controlling a water dispenser according to any one of the embodiments of the present invention .

本发明实施例通过获取饮水机的控制模型;获取监测设备监测到的当前用户信息;根据当前用户信息和控制模型确定是否满足饮水机的工作条件;若满足饮水机的工作条件,则控制饮水机工作。通过本发明的技术方案,避免了饮水机以固定的时间启动和关闭,能够根据实际情况动态控制饮水机的启动和关闭,提升饮水机的性能,提高用户的使用感受。The embodiment of the present invention obtains the control model of the water dispenser; obtains the current user information monitored by the monitoring equipment; determines whether the working conditions of the water dispenser are satisfied according to the current user information and the control model; if the working conditions of the water dispenser are satisfied, the water dispenser is controlled Work. Through the technical scheme of the present invention, it is avoided that the water dispenser starts and closes at a fixed time, and the startup and shutdown of the water dispenser can be dynamically controlled according to the actual situation, the performance of the water dispenser is improved, and the user's use experience is improved.

进一步地,在饮水机水箱内侧设置水位检测装置,让水位检测装置按照预设水量检测饮用水的剩余量,可以及时感应到水量不足,避免饮水机缺水,能够延长饮水机的使用寿命。Further, a water level detection device is arranged inside the water tank of the water dispenser, so that the water level detection device detects the remaining amount of drinking water according to the preset water amount, which can sense the insufficient water in time, avoid water shortage of the water dispenser, and prolong the service life of the water dispenser.

另外,在检测到剩余水量低于预设水量时,可以根据当前时间采用对应的报警方式报警,在提醒用户的同时避免了给用户带来不必要的干扰,提升了用户体验。In addition, when it is detected that the remaining water volume is lower than the preset water volume, a corresponding alarm method can be used to alarm according to the current time, which avoids unnecessary interference to the user while reminding the user and improves the user experience.

附图说明Description of drawings

图1是本发明实施例中的一种饮水机的控制方法的流程示意图;1 is a schematic flowchart of a control method for a water dispenser in an embodiment of the present invention;

图2是本发明实施例提供的一种水位检测装置的结构示意图;2 is a schematic structural diagram of a water level detection device provided by an embodiment of the present invention;

图3是本发明实施例中的又一种饮水机的控制方法的流程示意图;3 is a schematic flowchart of another method for controlling a water dispenser in an embodiment of the present invention;

图4是本发明实施例提供的一种饮水机的控制装置的结构示意图;4 is a schematic structural diagram of a control device for a water dispenser provided by an embodiment of the present invention;

图5是本发明实施例提供的饮水机的一个结构示意图。FIG. 5 is a schematic structural diagram of a water dispenser provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the present invention.

图1为本发明实施例提供的一种饮水机的控制方法的流程示意图,本实施例可适用于饮水机的控制的情况,该方法可以由本发明实施例提供的饮水机的控制装置来执行,该装置可采用软件和/或硬件的方式实现。在一个具体的实施例中,该装置可以集成在饮水机中。以下实施例将以该装置集成在饮水机中为例进行说明,参考图1,该方法具体可以包括如下步骤:1 is a schematic flowchart of a method for controlling a water dispenser provided by an embodiment of the present invention. This embodiment is applicable to the control of a water dispenser, and the method can be executed by the control device of the water dispenser provided by the embodiment of the present invention, The apparatus can be implemented in software and/or hardware. In a specific embodiment, the device may be integrated in a water dispenser. The following embodiments will be described by taking the device integrated in a water dispenser as an example. Referring to FIG. 1 , the method may specifically include the following steps:

S101、获取饮水机的控制模型。S101. Obtain a control model of the water dispenser.

其中,模型是对实际问题、客观事物和规律进行的一种抽象化表达,具体的,饮水机的控制模型是通过对饮水机的用户的相关饮水数据进行分析、高度抽象和训练而得的计算机语言程序,进一步的,饮水机的控制模型可以是卷积神经网络(Convolutional NeuralNetworks,CNN)模型、深度神经网络(Deep Neural Networks,DNN)模型等,本发明实施例对此不进行限定。Among them, the model is an abstract expression of practical problems, objective things and laws. Specifically, the control model of the water dispenser is a computer obtained by analyzing, highly abstracting and training the relevant drinking water data of the users of the water dispenser. The language program, further, the control model of the water dispenser may be a convolutional neural network (Convolutional Neural Networks, CNN) model, a deep neural network (Deep Neural Networks, DNN) model, etc., which is not limited in this embodiment of the present invention.

具体的,饮水机的控制模型包含饮水机的启动时间、关闭时间、启动模式、加热温度、待加热的饮用水水量等信息。Specifically, the control model of the water dispenser includes information such as startup time, shutdown time, startup mode, heating temperature, and amount of drinking water to be heated, etc. of the water dispenser.

S102、获取监测设备监测到的当前用户信息。S102: Acquire current user information monitored by the monitoring device.

其中,监测设备是一个环境监测设备,可以用来监测当前家庭的用户数,具体的,检测设备包括家庭入户监测仪、集成在饮水机上的图像采集设备等,本发明实施例对此不进行限定。The monitoring device is an environmental monitoring device, which can be used to monitor the number of users in the current household. Specifically, the detection device includes a home-entry monitor, an image acquisition device integrated on a water dispenser, and the like, which is not performed in this embodiment of the present invention. limited.

可选的,当前用户信息包括当前用户数量。Optionally, the current user information includes the current number of users.

其中,当前用户数量是指当前家庭环境中的人数,具体的,当前环境的用户数量可以是零、一、三等,本发明实施例对此不进行限定。The current number of users refers to the number of people in the current family environment. Specifically, the number of users in the current environment may be zero, one, three, etc., which is not limited in this embodiment of the present invention.

示例性的,如若监测设备为家庭入户监测仪,那么将使用家庭入户监测仪监测当前家庭环境的用户信息,具体的,当用户从外界环境进入家庭环境时,入户监测仪记录的当前用户数量加一,当用户从家庭环境进入外部环境时,入户监测仪记录的当前用户数量减一。如若监测设备为集成在饮水机上的图像采集设备,那么将使用图像采集设备实时监测当前家庭环境的用户信息,例如,图像采集装置会按照预设时间扫视当前家庭环境中的用户数量,记录最新时刻的当前用户数量,具体的,预设时间可以是五分钟、十分钟、三十分钟等,本发明实施例对此不进行限定。Exemplarily, if the monitoring device is a home entry monitor, the home entry monitor will be used to monitor the user information of the current home environment. The number of users is increased by one, and when the user enters the external environment from the home environment, the current number of users recorded by the home monitor is reduced by one. If the monitoring device is an image acquisition device integrated on the water dispenser, the image acquisition device will be used to monitor the user information of the current home environment in real time. For example, the image acquisition device will scan the number of users in the current home environment according to a preset time, and record the latest time Specifically, the preset time may be five minutes, ten minutes, thirty minutes, etc., which is not limited in this embodiment of the present invention.

可选的,监测设备和饮水机上均附带WiFi(Wireless Fidelity)模块,可以通过WiFi模块进行信息交互,例如,监测设备通过WiFi模块将监测到的当前用户信息传送给饮水机,以便饮水机进行后续工作。Optionally, both the monitoring device and the water dispenser are equipped with a WiFi (Wireless Fidelity) module, and information can be exchanged through the WiFi module. For example, the monitoring device transmits the monitored current user information to the water dispenser through the WiFi module, so that the water dispenser can follow up. Work.

S103、根据当前用户信息和控制模型确定是否满足饮水机的工作条件。S103. Determine whether the working conditions of the water dispenser are satisfied according to the current user information and the control model.

其中,饮水机的工作条件是衡量饮水机是否开始工作的标准,具体的,当前用户信息包括当前家庭环境中的用户数量,控制模型包括饮水机的启动时间、启动模式、加热温度、待加热的饮用水水量等信息,根据当前用户信息和控制模型确定是否满足饮水机的工作条件是指根据当前家庭环境中的用户数量和饮水机的启动时间、启动模式、加热温度、待加热的饮用水水量等信息,判断当前时刻是否满足饮水机的工作条件。Among them, the working condition of the water dispenser is a criterion for measuring whether the water dispenser starts to work. Specifically, the current user information includes the number of users in the current home environment, and the control model includes the start time, start mode, heating temperature, and to-be-heated water dispenser. Drinking water quantity and other information, according to the current user information and control model to determine whether it meets the working conditions of the water dispenser refers to the number of users in the current home environment and the start time, start mode, heating temperature, and the amount of drinking water to be heated. and other information to determine whether the current moment meets the working conditions of the water dispenser.

S104、若满足饮水机的工作条件,则控制饮水机工作。S104, if the working conditions of the water dispenser are met, control the water dispenser to work.

具体的,根据当前用户信息和控制模型确定满足饮水机的工作条件,则控制饮水机工作;如若根据当前用户信息和控制模型确定不满足饮水机的工作条件,则返回执行S101步骤。Specifically, according to the current user information and the control model, it is determined that the working conditions of the water dispenser are met, and the water dispenser is controlled to work; if it is determined that the working conditions of the water dispenser are not met according to the current user information and the control model, the process returns to step S101.

示例性的,当前家庭环境中的用户数量为一人或一人以上,控制模型中饮水机的启动时间为九点、启动模式为持续加热、加热温度为六十五摄氏度、待加热的饮用水水量为五百毫升。如若在九点前家庭用户数量保持在一人或一人以上,那么在九点将满足饮水机的工作条件,此时会根据饮水机的启动时间、启动模式、加热温度、待加热的饮用水水量等信息控制饮水机工作,例如,在九点启动饮水机,并控制饮水机将五百毫升的饮用水加热至六十五摄氏度。如若在九点时家庭用户数量为零,那么将不满足饮水机的工作条件,同理,九点前亦不满足饮水机的工作条件,饮水机不工作。Exemplarily, the number of users in the current home environment is one or more, the start time of the water dispenser in the control model is nine o'clock, the start mode is continuous heating, the heating temperature is 65 degrees Celsius, and the amount of drinking water to be heated is five hundred milliliters. If the number of household users remains at one or more before nine o'clock, the working conditions of the water dispenser will be met at nine o'clock. At this time, the water dispenser will be activated according to the start time, start mode, heating temperature, and the amount of drinking water to be heated, etc. The information controls the water dispenser to work, for example, start the water dispenser at nine o'clock, and control the water dispenser to heat five hundred milliliters of drinking water to sixty-five degrees Celsius. If the number of household users is zero at nine o'clock, the working conditions of the water dispenser will not be met. Similarly, the working conditions of the water dispenser will not be met before nine o'clock, and the water dispenser will not work.

可选的,在控制饮水机工作之后,还包括:根据控制模型确定饮水机的关机时间;根据当前用户数量和关机时间确定是否满足饮水机的关机条件;在满足饮水机的关机条件时,控制饮水机关机。Optionally, after controlling the water dispenser to work, it further includes: determining the shutdown time of the water dispenser according to the control model; determining whether the shutdown condition of the water dispenser is satisfied according to the current number of users and the shutdown time; when the shutdown condition of the water dispenser is satisfied, controlling Water dispenser machine.

具体的,控制模型中包含饮水机的关机时间,根据当前用户数量和饮水机的关机时间即可确定饮水机是否满足关机条件,在当前用户数量和饮水机的关机时间满足饮水机的关机条件时,控制饮水机关机,不满足饮水机的关机条件时,饮水机正常工作。Specifically, the control model includes the shutdown time of the water dispenser. According to the current number of users and the shutdown time of the water dispenser, it can be determined whether the water dispenser meets the shutdown condition. When the current number of users and the shutdown time of the water dispenser meet the shutdown condition of the water dispenser , Control the shutdown of the water dispenser. When the shutdown conditions of the water dispenser are not met, the water dispenser works normally.

可选的,根据当前用户数量和关机时间确定是否满足饮水机的关机条件,包括:在当前用户数量为零和/或当前时间为关机时间时,确定满足饮水机的关机条件。Optionally, determining whether the shutdown condition of the water dispenser is satisfied according to the current number of users and the shutdown time includes: determining that the shutdown condition of the water dispenser is satisfied when the current number of users is zero and/or the current time is the shutdown time.

具体的,当前用户数量为零和当前时间为饮水机的关机时间这两个条件只要满足一个,即可确定满足饮水机的关机条件。Specifically, as long as one of the two conditions of the current number of users being zero and the current time being the shutdown time of the water dispenser is satisfied, the shutdown condition of the water dispenser can be determined to be satisfied.

示例性的,饮水机的控制模型中的关机时间是十点,当前家庭环境中的用户数量为三人,如若在十点前家庭中的用户数量一直保持在一人或一人以上,那么在十点时,确定满足饮水机的关机条件,此时将控制饮水机关机;如若在十点前的某一时刻,家庭中的三位用户因故外出,那么,家庭中的用户数量为零,亦满足饮水机的关机条件。Exemplarily, the shutdown time in the control model of the water dispenser is ten o'clock, and the number of users in the current home environment is three. At this time, it is determined that the shutdown conditions of the water dispenser are met, and the water dispenser will be turned off at this time; if three users in the family go out for some reason before ten o'clock, then the number of users in the family is zero, which is also satisfied The shutdown condition of the water dispenser.

本实施例的技术方案,通过获取饮水机的控制模型;获取监测设备监测到的当前用户信息;根据当前用户信息和控制模型确定是否满足饮水机的工作条件;若满足饮水机的工作条件,则控制饮水机工作。通过本发明的技术方案,避免了饮水机以固定的时间启动和关闭,能够根据实际情况动态控制饮水机的启动和关闭,提升饮水机的性能,提高用户的使用感受。In the technical solution of this embodiment, the control model of the water dispenser is obtained; the current user information monitored by the monitoring equipment is obtained; according to the current user information and the control model, it is determined whether the working conditions of the water dispenser are met; if the working conditions of the water dispenser are met, then Control the water dispenser to work. Through the technical scheme of the present invention, it is avoided that the water dispenser starts and closes at a fixed time, and the startup and shutdown of the water dispenser can be dynamically controlled according to the actual situation, the performance of the water dispenser is improved, and the user's use experience is improved.

在一个具体的实施例中,以上述实施例为基础,对获取饮水机的控制模型的步骤的具体实现方法进行了说明,主要包括:确定饮水机是否为首次启动;若饮水机是首次启动,则获取预设模型,并将预设模型确定为控制模型;若饮水机不是首次启动,则获取基于饮水机的用户的历史饮水数据生成的目标模型,将目标模型确定为控制模型。In a specific embodiment, based on the above-mentioned embodiment, the specific implementation method of the step of obtaining the control model of the water dispenser is described, which mainly includes: determining whether the water dispenser is started for the first time; if the water dispenser is started for the first time, The preset model is acquired, and the preset model is determined as the control model; if the water dispenser is not started for the first time, the target model generated based on the user's historical drinking water data of the water dispenser is acquired, and the target model is determined as the control model.

其中,预设模型是一个预先设定的饮水机的通用加热方案,具体的,预设模型可以是从服务器获取的一个根据国家饮水标准的相关数据进行分析、高度抽象和训练而得的计算机语言程序;目标模型是通过对当前饮水机的用户的饮水时间、饮水量、饮水温度等历史饮水数据进行分析、抽象、训练而得的计算机语言程序。Wherein, the preset model is a preset general heating scheme of the water dispenser. Specifically, the preset model can be a computer language obtained from a server that is analyzed, highly abstracted and trained according to the relevant data of the national drinking water standard. Program; the target model is a computer language program obtained by analyzing, abstracting and training the historical drinking water data such as drinking time, drinking water volume, drinking water temperature, etc. of the current water dispenser user.

示例性的,当饮水机为首次启动时,饮水机处于全新、未使用的状态,并未存储任何用户的历史饮水数据,此时,将以国家饮水标准为参考,从服务器处获取与国家饮水标准相关的预设模型作为饮水机的控制模型,从而控制饮水机工作。待到饮水机获取到用户的饮水时间、饮水量、饮水温度等饮水数据之后,会根据用户的历史饮水数据生成目标模型,此后将以与用户饮水习惯相关的目标模型为依据,控制饮水机工作。Exemplarily, when the water dispenser is started for the first time, the water dispenser is in a brand-new, unused state, and no historical drinking water data of any user is stored. The standard-related preset model is used as the control model of the water dispenser to control the water dispenser to work. After the water dispenser obtains the drinking water data such as the user's drinking water time, drinking water volume, and drinking water temperature, a target model will be generated based on the user's historical drinking water data. .

可选的,目标模型是通过对最近某一预设时间内的用户的历史饮水数据进行分析、抽象、训练而得的,其中,预设时间可以是五天、十天、二十天等,目的在于根据用户的最新饮水习惯不断地更新目标模型,使饮水机的工作方式始终符合于用户的生活习惯。其中,历史饮水数据可以包括历史饮水时间、历史饮水量、历史饮水温度等。Optionally, the target model is obtained by analyzing, abstracting, and training the user's historical drinking water data within a recent preset time, where the preset time may be five days, ten days, twenty days, etc., The purpose is to continuously update the target model according to the user's latest drinking habits, so that the working mode of the water dispenser is always in line with the user's living habits. The historical drinking water data may include historical drinking water time, historical drinking water quantity, historical drinking water temperature, and the like.

通过本实施例的方法,可以有针对性的选取饮水机的控制模型,匹配出符合用户需求的饮水机的控制方案,提高用户的使用感受。Through the method of this embodiment, the control model of the water dispenser can be selected in a targeted manner, and a control scheme of the water dispenser that meets the user's needs can be matched, so as to improve the user's use experience.

在一个具体的实施例中,以上述实施例为基础,对根据当前用户信息和控制模型确定是否满足饮水机的工作条件的步骤的具体实现方法进行了说明,主要包括:根据控制模型确定饮水机的启动时间;根据当前用户数量和启动时间确定是否满足饮水机的工作条件。In a specific embodiment, based on the above-mentioned embodiment, the specific implementation method of the step of determining whether the working conditions of the water dispenser are satisfied according to the current user information and the control model is described, which mainly includes: determining the water dispenser according to the control model. Start time; determine whether the working conditions of the water dispenser are met according to the current number of users and the start time.

其中,饮水机的工作条件是衡量饮水机是否开始工作的标准;控制模型是通过对饮水机的用户的饮水信息进行分析、高度抽象和训练而得的计算机语言程序,具体的,控制模型包括饮水机的启动时间、启动模式、加热温度、待加热的饮用水水量等信息,根据控制模型中的饮水机的启动时间和当前用户数量即可确定是否满足饮水机的工作条件。Among them, the working condition of the water dispenser is the standard for measuring whether the water dispenser starts to work; the control model is a computer language program obtained by analyzing, highly abstracting and training the drinking water information of the users of the water dispenser. Specifically, the control model includes drinking water According to the start-up time, start-up mode, heating temperature, and the amount of drinking water to be heated, etc., it can be determined whether the working conditions of the water dispenser are met according to the start-up time of the water dispenser and the current number of users in the control model.

可选的,根据当前用户数量和启动时间确定是否满足饮水机的工作条件,包括:在当前用户数量不为零、且当前时间为启动时间时,确定满足饮水机的工作条件。Optionally, determining whether the working conditions of the water dispenser are met according to the current number of users and the start-up time includes: when the current number of users is not zero and the current time is the start-up time, determining that the working conditions of the water dispenser are met.

其中,当前用户数量是指当前时刻家庭中的人数。具体的,饮水机的工作条件为当前时刻为饮水机的启动时间,且当前时刻家庭中有人,两者必须同时具备,饮水机才会开始工作,当有任一条件无法满足时,饮水机都不会启动。The current number of users refers to the number of people in the family at the current moment. Specifically, the working conditions of the water dispenser are that the current moment is the start time of the water dispenser, and there is someone in the family at the current moment. Both must be present, and the water dispenser will start to work. When either condition cannot be met, the water dispenser will won't start.

示例性的,当前家庭环境中的用户数量为X,饮水机的启动时间为九点,如若在九点时家庭用户数量X大于或等于一,那么在九点将满足饮水机的工作条件,如若在九点时家庭用户数量X为零,那么将不满足饮水机的工作条件,同理,时间未到九点亦不满足饮水机的工作条件。Exemplarily, the number of users in the current home environment is X, and the start-up time of the water dispenser is nine o'clock. If the number of home users X is greater than or equal to one at nine o'clock, then the working conditions of the water dispenser will be satisfied at nine o'clock. At nine o'clock, the number of household users X is zero, then the working conditions of the water dispenser will not be met. Similarly, the working conditions of the water dispenser will not be met until nine o'clock.

可选的,控制饮水机工作,包括:根据控制模型确定目标饮水温度,并根据当前用户数量确定目标饮水量;在启动时间启动饮水机,并控制饮水机将目标饮水量的饮用水加热至目标饮水温度。Optionally, controlling the water dispenser to work includes: determining the target drinking water temperature according to the control model, and determining the target drinking water volume according to the current number of users; starting the water dispenser at the start-up time, and controlling the water dispenser to heat the drinking water with the target drinking water volume to the target drinking water temperature.

其中,目标饮水温度为根据用户饮水习惯计算而得的用户偏好饮水温度,目标饮水量为根据用户饮水习惯计算而得的用户偏好饮水量,具体的,饮水量可根据当前环境中的用户数量做相应调整,本发明实施例对此不进行限定。The target drinking water temperature is the user's preferred drinking water temperature calculated according to the user's drinking habits, and the target drinking water amount is the user's preferred drinking water amount calculated according to the user's drinking habits. Specifically, the drinking water amount can be determined according to the number of users in the current environment. Adjust accordingly, which is not limited in this embodiment of the present invention.

示例性的,控制模型中饮水机的启动时间为九点、目标饮水温度为六十五摄氏度、目标饮水量为五百毫升。那么在九点将启动饮水机,并控制饮水机将五百毫升的饮用水加热至六十五摄氏度,以供用户饮用。Exemplarily, in the control model, the starting time of the water dispenser is nine o'clock, the target drinking water temperature is sixty-five degrees Celsius, and the target drinking water volume is five hundred milliliters. Then at nine o'clock, the water dispenser will be activated, and the water dispenser will be controlled to heat 500 ml of drinking water to 65 degrees Celsius for users to drink.

可选的,饮水机上包括显示频,用于显示待流出的饮用水水量,当用户将水杯放入接水区域时,饮用水即可自动流入水杯,不需要用户手动控制,解放用户的双手。Optionally, the water dispenser includes a display frequency to display the amount of drinking water to be discharged. When the user puts the water cup into the water receiving area, the drinking water can automatically flow into the water cup without manual control by the user, freeing the user's hands.

其中,待流出的饮用水水量是根据用户饮水习惯计算而得的,具体的,当显示的水量不符合用户当下的饮水需求时,亦可以对待流出的饮用水水量进行调整,使其符合用户当下的需求,还可以通过手动按压饮水机的水流控制按键来控制饮用水的水量。Among them, the amount of drinking water to be flowed out is calculated according to the user's drinking habits. Specifically, when the displayed water amount does not meet the current drinking water demand of the user, the amount of drinking water to be flowed out can also be adjusted to meet the current drinking water demand of the user. You can also control the amount of drinking water by manually pressing the water flow control button of the water dispenser.

示例性的,从控制模型中解析出用户在早上九点半需要饮用五百毫升的饮用水,那么,用户在早上九点半接水时,饮水机上的显示屏显示的待流出的饮用水水量将为五百毫升,此时用户只需将水杯放入接水区域,饮水机即可控制饮用水自动流入水杯,直至流出五百毫升饮用水。如若用户接水时水杯中已有一百毫升饮用水,那么,可以将待流出的饮用水水量调整为四百毫升,再将水杯放入接水区域,由饮水机控制四百毫升的饮用水自动流入至水杯,也可以手动按压饮水机的水流控制按键,为水杯接水。Exemplarily, it is parsed from the control model that the user needs to drink 500 ml of drinking water at 9:30 in the morning. Then, when the user picks up the water at 9:30 in the morning, the display screen on the water dispenser shows the amount of drinking water to be discharged. It will be 500ml. At this time, the user only needs to put the water cup into the water receiving area, and the water dispenser can control the drinking water to flow into the water cup automatically until 500ml of drinking water flows out. If there is 100ml of drinking water in the cup when the user receives the water, then the amount of drinking water to be discharged can be adjusted to 400ml, and then the cup is placed in the water-receiving area, and the water dispenser controls the 400ml of drinking water Automatically flows into the water cup, or you can manually press the water flow control button of the water dispenser to receive water for the water cup.

通过本实施例的方法,可以有效的匹配饮水机的工作条件,在满足饮水机的工作条件时,控制饮水机工作,能够减少饮水机过度使用造成的损耗,提升饮水机的使用寿命,此外,还可以根据用户的饮水习惯生成对应的饮用水加热方案,提升用户的幸福感。Through the method of this embodiment, the working conditions of the water dispenser can be effectively matched, and when the working conditions of the water dispenser are met, the water dispenser can be controlled to work, the loss caused by the excessive use of the water dispenser can be reduced, and the service life of the water dispenser can be improved. In addition, A corresponding drinking water heating scheme can also be generated according to the user's drinking habits to improve the user's sense of happiness.

在一个具体的实施例中,饮水机包括水箱,水箱用于存放饮用水,图2是本发明实施例提供的一种水位检测装置的结构示意图,从图中可以看出,水箱内侧设置有水位检测装置,水位检测装置用于按照预设水量检测饮用水的剩余水量,当水箱中的剩余水量低于预设水量时,水位检测装置将感应到水箱中水量不够,机器会发生报警声响,提醒用户加水。通过本申请的水位检测方法,在饮水机发生缺水警报时,水箱内还有预设水量的饮用水,当用户没有及时补水,饮水机还可以继续使用一段时间,为用户提供充足的反应时间,在这期间家庭中用到饮水机时,控制系统会根据时间控制饮水机的报警方式,提醒用户进行加水操作。In a specific embodiment, the water dispenser includes a water tank, and the water tank is used to store drinking water. FIG. 2 is a schematic structural diagram of a water level detection device provided by an embodiment of the present invention. It can be seen from the figure that a water level is provided inside the water tank. Detection device, the water level detection device is used to detect the remaining water volume of drinking water according to the preset water volume. When the remaining water volume in the water tank is lower than the preset water volume, the water level detection device will sense that the water volume in the water tank is not enough, and the machine will produce an alarm sound to remind User adds water. Through the water level detection method of the present application, when a water shortage alarm occurs in the water dispenser, there is still drinking water with a preset amount of water in the water tank. When the user does not replenish water in time, the water dispenser can continue to be used for a period of time, providing sufficient response time for the user. , During this period, when the water dispenser is used in the family, the control system will control the alarm mode of the water dispenser according to the time, reminding the user to add water.

图3是本发明实施例提供的又一种饮水机的控制方法的流程示意图,如图3所示,该方法具体包括:FIG. 3 is a schematic flowchart of another method for controlling a water dispenser provided by an embodiment of the present invention. As shown in FIG. 3 , the method specifically includes:

S310、设置预设水量及设定时间。S310. Set the preset water volume and the set time.

其中,预设水量是饮用水水量的一个衡量标准,当水量降低至预设水量时,饮水机还可以继续为家庭提供预设时间的饮用水,具体的,预设时间包括半天、一天、三天等;设定时间可以是白天或用户不处于休息状态的时间,比如设定时间为八点至二十一点的时间段,本发明实施例对此不进行限定。The preset water volume is a measure of the drinking water volume. When the water volume is reduced to the preset water volume, the water dispenser can continue to provide drinking water for the family for a preset time. Specifically, the preset time includes half a day, one day, three days The set time may be daytime or a time when the user is not in a rest state, for example, the set time is a time period from 8:00 to 2:00, which is not limited in this embodiment of the present invention.

S320、进行水位检测。S320, perform water level detection.

其中,水位检测指检测饮水机水箱的饮用水的剩余量。Among them, the water level detection refers to detecting the remaining amount of drinking water in the water tank of the water dispenser.

S330、判断水位是否低于预设水位。S330. Determine whether the water level is lower than a preset water level.

其中,判断水位是否低于预设水位是指比较饮水机水箱的饮用水的剩余量和预设水位,若判断结果为否,重复S320步骤,若判断结果为是,即饮水机缺水,此时,如果用户加水,加水后需要用户手动解除报警;如果用户家中没有存储饮用水,用户可以选择不加水,用手动取消报警,此时饮水机还可以继续为家庭提供预设时间的饮用水,给予用户足够的时间采购饮用水,在这期间家庭中可以继续使用饮水机。Wherein, judging whether the water level is lower than the preset water level refers to comparing the remaining amount of drinking water in the water tank of the water dispenser with the preset water level. If the judgment result is no, repeat step S320; if the judgment result is yes, that is, the water dispenser is short of water, and this If the user adds water, the user needs to manually cancel the alarm after adding water; if there is no drinking water stored in the user's home, the user can choose not to add water and cancel the alarm manually. Give users enough time to purchase drinking water, during which the household can continue to use the water dispenser.

S340、确定当前时间。S340. Determine the current time.

其中,确认当前时间为读取检测到饮水机水箱的水位低于预设水位时的时间。Wherein, confirming the current time is the time when it is detected that the water level of the water tank of the water dispenser is lower than the preset water level.

S350、判断当前时间是否为设定时间。S350. Determine whether the current time is the set time.

其中,判断当前时间是否为设定时间是对饮水机水箱的水位低于预设水位时的时间进行分析,看其是否在八点至二十一点的时间段,若在,进行S360步骤,若不在,则进行S370步骤。Among them, judging whether the current time is the set time is to analyze the time when the water level of the water tank of the water dispenser is lower than the preset water level to see if it is in the time period from 8:00 to 2:00; if so, go to step S360, If not, go to step S370.

S360、饮水机进行声音报警。S360, the water dispenser makes a sound alarm.

其中,声音报警是指饮水机发出吱吱吱,叮叮叮,啦啦啦等声音提醒用户饮水机缺水,本发明实施例对此不进行限定,这种报警方式可以快速有效地引起用户的注意。Among them, the sound alarm means that the water dispenser emits squeaking, ding ding ding, la la la and other sounds to remind the user that the water dispenser is short of water, which is not limited in the embodiment of the present invention, and this alarm method can quickly and effectively cause the user to Notice.

S370、饮水机进行显示屏报警。S370, the water dispenser performs an alarm on the display screen.

其中,显示屏报警是指饮水机显示屏以常亮、闪烁等方式提醒用户饮水机缺水,本发明实施例对此不进行限定,这种报警方式可以在实现报警提示的同时,减少对用户生活作息的干扰。The display alarm means that the display screen of the water dispenser reminds the user that the water dispenser is short of water by means such as constant light or flashing, which is not limited in the embodiment of the present invention. Interference with daily routine.

可选的,用户在设定的时间使用饮水机则饮水机发出声音报警,在其它时间使用饮水机时饮水机的报警方式为屏幕显示报警;此时若用户加水且取消报警则饮水机正常工作,若用户没有加水,则饮水机持续报警直至饮用水用完,关闭饮水机,待到添加饮用水且再次启动饮水机时继续重复此流程。为了提高用户使用体验,饮水机上还可以附带WiFi(Wireless Fidelity)模块,饮水机报警后,用户可以通过相应应用程序(Application,APP)取消报警,避免持续报警影响周边家庭日常生活。Optionally, when the user uses the water dispenser at the set time, the water dispenser will sound an alarm, and when the water dispenser is used at other times, the water dispenser will display an alarm on the screen; at this time, if the user adds water and cancels the alarm, the water dispenser will work normally. , if the user does not add water, the water dispenser will continue to alarm until the drinking water is used up, turn off the water dispenser, and continue to repeat this process when drinking water is added and the water dispenser is turned on again. In order to improve the user experience, the water dispenser can also be equipped with a WiFi (Wireless Fidelity) module. After the water dispenser alarms, the user can cancel the alarm through the corresponding application (Application, APP) to avoid the continuous alarm affecting the daily life of surrounding families.

通过本实施例的方法,水位检测装置可以不持续工作,增加了水位检测装置的寿命;饮水机在进行缺水报警后,还可以继续为家庭提供一定时间的饮用水,防止因用户没有存储饮用水而不能使用饮水机;饮水机在不同时间段可以以不同的方式报警,避免晚上使用饮水机吵到用户。Through the method of this embodiment, the water level detection device can not work continuously, which increases the lifespan of the water level detection device; after the water dispenser performs a water shortage alarm, it can continue to provide drinking water for a certain period of time to the family, preventing users from not storing drinking water for a certain period of time. The water dispenser can not use the water dispenser; the water dispenser can alarm in different ways at different time periods, so as to avoid disturbing the user by using the water dispenser at night.

本发明实施例所提供的饮水机的控制装置可执行本发明上述实施例中任意实施例所提供的饮水机的控制方法,具备执行方法相应的功能模块和有益效果。The control device of the water dispenser provided by the embodiment of the present invention can execute the control method of the water dispenser provided by any of the above embodiments of the present invention, and has functional modules and beneficial effects corresponding to the execution method.

图4为实施例提供的另一种饮水机的控制装置的结构示意图,如图4所示,包括:模型获取模块401、信息获取模块402、状态确认模块403和设备控制模块404。FIG. 4 is a schematic structural diagram of another water dispenser control device provided by the embodiment, as shown in FIG.

模型获取模块401,用于获取饮水机的控制模型;The model obtaining module 401 is used to obtain the control model of the water dispenser;

信息获取模块402,用于获取监测设备监测到的当前用户信息;an information acquisition module 402, configured to acquire current user information monitored by the monitoring device;

状态确认模块403,用于根据当前用户信息和控制模型确定是否满足饮水机的工作条件;The status confirmation module 403 is used to determine whether the working conditions of the water dispenser are satisfied according to the current user information and the control model;

设备控制模块404,用于若满足饮水机的工作条件,则控制饮水机工作。The device control module 404 is configured to control the water dispenser to work if the working conditions of the water dispenser are met.

本实施例提供的饮水机的控制装置为实现上述实施例中的饮水机的控制方法,本实施例提供的饮水机的控制装置实现原理和技术效果与上述实施例类似,此处不再赘述。The control device of the water dispenser provided in this embodiment is to realize the control method of the water dispenser in the above embodiment. The realization principle and technical effect of the control device of the water dispenser provided by this embodiment are similar to those of the above embodiment, and are not repeated here.

可选的,模型获取模块401,具体用于确定饮水机是否为首次启动;若饮水机是首次启动,则获取预设模型,并将预设模型确定为控制模型;若饮水机不是首次启动,则获取基于饮水机的用户的历史饮水数据生成的目标模型,将目标模型确定为控制模型。Optionally, the model obtaining module 401 is specifically configured to determine whether the water dispenser is started for the first time; if the water dispenser is started for the first time, obtain a preset model, and determine the preset model as the control model; if the water dispenser is not started for the first time, Then, the target model generated based on the user's historical drinking water data of the water dispenser is obtained, and the target model is determined as the control model.

可选的,当前用户信息包括当前用户数量。Optionally, the current user information includes the current number of users.

可选的,状态确认模块403,具体用于根据控制模型确定饮水机的启动时间;根据当前用户数量和启动时间确定是否满足饮水机的工作条件。Optionally, the status confirmation module 403 is specifically configured to determine the start-up time of the water dispenser according to the control model; and to determine whether the working conditions of the water dispenser are satisfied according to the current number of users and the start-up time.

可选的,状态确认模块403,具体用于在当前用户数量不为零、且当前时间为启动时间时,确定满足饮水机的工作条件。Optionally, the status confirmation module 403 is specifically configured to determine that the working conditions of the water dispenser are satisfied when the current number of users is not zero and the current time is the start-up time.

可选的,设备控制模块404,具体用于根据控制模型确定目标饮水温度,并根据当前用户数量确定目标饮水量;在启动时间启动饮水机,并控制饮水机将目标饮水量的饮用水加热至目标饮水温度。Optionally, the device control module 404 is specifically configured to determine the target drinking water temperature according to the control model, and determine the target drinking water volume according to the current number of users; start the water dispenser at the startup time, and control the water dispenser to heat the drinking water of the target drinking water volume to Target drinking water temperature.

可选的,设备控制模块404,还用于根据控制模型确定饮水机的关机时间;根据当前用户数量和关机时间确定是否满足饮水机的关机条件;在满足饮水机的关机条件时,控制饮水机关机。Optionally, the device control module 404 is further configured to determine the shutdown time of the water dispenser according to the control model; determine whether the shutdown condition of the water dispenser is satisfied according to the current number of users and the shutdown time; when the shutdown condition of the water dispenser is satisfied, control the water dispenser Shut down.

可选的,设备控制模块404,具体用于在当前用户数量为零和/或当前时间为关机时间时,确定满足饮水机的关机条件。Optionally, the device control module 404 is specifically configured to determine that the shutdown condition of the water dispenser is satisfied when the current number of users is zero and/or the current time is the shutdown time.

可选的,饮水机包括水箱,水箱用于存放饮用水,水箱内侧设置有水位检测装置,水位检测装置用于检测饮用水的剩余水量。Optionally, the water dispenser includes a water tank, the water tank is used to store drinking water, and a water level detection device is arranged inside the water tank, and the water level detection device is used to detect the remaining water amount of the drinking water.

可选的,饮水机的控制装置还包括报警模块,用于在剩余水量低于预设水量时,进行缺水报警。Optionally, the control device of the water dispenser further includes an alarm module, configured to issue a water shortage alarm when the remaining water volume is lower than the preset water volume.

可选的,报警模块,具体用于在剩余水量低于预设水量时,根据当前时间确定报警方式;根据报警方式进行缺水报警。Optionally, the alarm module is specifically configured to determine an alarm mode according to the current time when the remaining water volume is lower than the preset water volume; and perform a water shortage alarm according to the alarm mode.

图5为本发明实施例中的一种饮水机的结构示意图。图5示出了适于用来实现本发明实施方式的示例性饮水机12的框图。图5显示的饮水机12仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。FIG. 5 is a schematic structural diagram of a water dispenser in an embodiment of the present invention. Figure 5 shows a block diagram of an exemplary water dispenser 12 suitable for use in implementing embodiments of the present invention. The water dispenser 12 shown in FIG. 5 is only an example, and should not impose any limitation on the function and scope of use of the embodiment of the present invention.

如图5所示,饮水机12以通用计算设备的形式表现。饮水机12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。As shown in Figure 5, the water dispenser 12 takes the form of a general purpose computing device. Components of the water dispenser 12 may include, but are not limited to, one or more processors or processing units 16, a system memory 28, and a bus 18 that connects the various system components, including the system memory 28 and the processing unit 16.

总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. By way of example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect ( PCI) bus.

饮水机12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被饮水机12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。The water dispenser 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the water dispenser 12, including volatile and non-volatile media, removable and non-removable media.

系统存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)30和/或高速缓存存储器32。饮水机12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图5未显示,通常称为“硬盘驱动器”)。尽管图5中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明各实施例的功能。System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32 . The water dispenser 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media. For example only, storage system 34 may be used to read and write to non-removable, non-volatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard disk drive"). Although not shown in Figure 5, a disk drive may be provided for reading and writing to removable non-volatile magnetic disks (eg "floppy disks"), as well as removable non-volatile optical disks (eg CD-ROM, DVD-ROM) or other optical media) to read and write optical drives. In these cases, each drive may be connected to bus 18 through one or more data media interfaces. Memory 28 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present invention.

具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如存储器28中,这样的程序模块42包括——但不限于——操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本发明所描述的实施例中的功能和/或方法。A program/utility 40 having a set (at least one) of program modules 42, which may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other programs Modules and program data, each or some combination of these examples may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the described embodiments of the present invention.

饮水机12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该饮水机12交互的设备通信,和/或与使得该饮水机12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。另外,本实施例中的饮水机12,显示器24不是作为独立个体存在,而是嵌入镜面中,在显示器24的显示面不予显示时,显示器24的显示面与镜面从视觉上融为一体。并且,饮水机12还可以通过网络适配器20与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图5所示,网络适配器20通过总线18与饮水机12的其它模块通信。应当明白,尽管图5中未示出,可以结合饮水机12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The water dispenser 12 may also communicate with one or more external devices 14 (eg, keyboards, pointing devices, displays 24, etc.), with one or more devices that enable a user to interact with the water dispenser 12, and/or with Any device (eg, network card, modem, etc.) that enables the water dispenser 12 to communicate with one or more other computing devices. Such communication may take place through input/output (I/O) interface 22 . In addition, in the water dispenser 12 in this embodiment, the display 24 does not exist as an independent entity, but is embedded in the mirror surface. When the display surface of the display 24 is not displayed, the display surface of the display 24 and the mirror surface are visually integrated. Also, the water dispenser 12 may communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through a network adapter 20 . As shown in FIG. 5 , the network adapter 20 communicates with other modules of the water dispenser 12 via the bus 18 . It should be understood that, although not shown in FIG. 5, other hardware and/or software modules may be used in conjunction with the water dispenser 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tapes drives and data backup storage systems, etc.

处理单元16通过运行存储在系统存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现本发明实施例所提供的饮水机的控制方法,该方法包括:The processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28, for example, to realize the control method of the water dispenser provided by the embodiment of the present invention, and the method includes:

获取饮水机的控制模型;Get the control model of the water dispenser;

获取监测设备监测到的当前用户信息;Obtain the current user information monitored by the monitoring device;

根据当前用户信息和控制模型确定是否满足饮水机的工作条件;Determine whether the working conditions of the water dispenser are met according to the current user information and control model;

若满足饮水机的工作条件,则控制饮水机工作。If the working conditions of the water dispenser are met, the water dispenser is controlled to work.

本发明实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本发明所有发明实施例提供的饮水机的控制方法,该方法包括:An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, implements the control method for a water dispenser provided by all the inventive embodiments of the present invention, and the method includes:

获取饮水机的控制模型;Get the control model of the water dispenser;

获取监测设备监测到的当前用户信息;Obtain the current user information monitored by the monitoring device;

根据当前用户信息和控制模型确定是否满足饮水机的工作条件;Determine whether the working conditions of the water dispenser are met according to the current user information and control model;

若满足饮水机的工作条件,则控制饮水机工作。If the working conditions of the water dispenser are met, the water dispenser is controlled to work.

可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Any combination of one or more computer-readable media may be employed. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (a non-exhaustive list) of computer readable storage media include: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .

计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言,诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言,诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out operations of the present invention may be written in one or more programming languages, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional A procedural programming language, such as the "C" language or similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention. The scope is determined by the scope of the appended claims.

Claims (13)

1.一种饮水机的控制方法,其特征在于,包括:1. a control method of a drinking fountain, is characterized in that, comprises: 获取饮水机的控制模型;Get the control model of the water dispenser; 获取监测设备监测到的当前用户信息;Obtain the current user information monitored by the monitoring device; 根据所述当前用户信息和所述控制模型确定是否满足所述饮水机的工作条件;Determine whether the working conditions of the water dispenser are satisfied according to the current user information and the control model; 若满足所述饮水机的工作条件,则控制所述饮水机工作。If the working conditions of the water dispenser are satisfied, the water dispenser is controlled to work. 2.根据权利要求1所述的方法,其特征在于,所述获取饮水机的控制模型,包括:2. The method according to claim 1, wherein the acquiring the control model of the water dispenser comprises: 确定所述饮水机是否为首次启动;determining whether the water dispenser is activated for the first time; 若所述饮水机是首次启动,则获取预设模型,并将所述预设模型确定为所述控制模型;If the water dispenser is started for the first time, a preset model is acquired, and the preset model is determined as the control model; 若所述饮水机不是首次启动,则获取基于所述饮水机的用户的历史饮水数据生成的目标模型,将所述目标模型确定为所述控制模型。If the water dispenser is not started for the first time, a target model generated based on historical water drinking data of users of the water dispenser is acquired, and the target model is determined as the control model. 3.根据权利要求1所述的方法,其特征在于,所述当前用户信息包括当前用户数量。3. The method according to claim 1, wherein the current user information comprises the current number of users. 4.根据权利要求3所述的方法,其特征在于,所述根据所述当前用户信息和所述控制模型确定是否满足所述饮水机的工作条件,包括:4. The method according to claim 3, wherein the determining whether the working conditions of the water dispenser are satisfied according to the current user information and the control model comprises: 根据所述控制模型确定所述饮水机的启动时间;determining the start-up time of the water dispenser according to the control model; 根据所述当前用户数量和所述启动时间确定是否满足所述饮水机的工作条件。Whether the working conditions of the water dispenser are satisfied is determined according to the current number of users and the start-up time. 5.根据权利要求4所述的方法,其特征在于,所述根据所述当前用户数量和所述启动时间确定是否满足所述饮水机的工作条件,包括:5. The method according to claim 4, wherein the determining whether the working conditions of the water dispenser are satisfied according to the current number of users and the start-up time comprises: 在所述当前用户数量不为零、且当前时间为所述启动时间时,确定满足所述饮水机的工作条件。When the current number of users is not zero and the current time is the start time, it is determined that the working conditions of the water dispenser are satisfied. 6.根据权利要求5所述的方法,其特征在于,所述控制所述饮水机工作,包括:6. The method according to claim 5, wherein the controlling the operation of the water dispenser comprises: 根据所述控制模型确定目标饮水温度,并根据所述当前用户数量确定目标饮水量;Determine the target drinking water temperature according to the control model, and determine the target drinking water amount according to the current number of users; 在所述启动时间启动所述饮水机,并控制所述饮水机将所述目标饮水量的饮用水加热至所述目标饮水温度。The water dispenser is activated at the start-up time, and the water dispenser is controlled to heat the drinking water of the target drinking water amount to the target drinking water temperature. 7.根据权利要求1所述的方法,其特征在于,在控制所述饮水机工作之后,还包括:7. The method according to claim 1, characterized in that, after controlling the water dispenser to work, it further comprises: 根据所述控制模型确定所述饮水机的关机时间;determining the shutdown time of the water dispenser according to the control model; 根据所述当前用户数量和所述关机时间确定是否满足所述饮水机的关机条件;Determine whether the shutdown condition of the water dispenser is satisfied according to the current number of users and the shutdown time; 在满足所述饮水机的关机条件时,控制所述饮水机关机。When the shutdown condition of the water dispenser is satisfied, the water dispenser is controlled to be shut down. 8.根据权利要求7所述的方法,其特征在于,所述根据所述当前用户数量和所述关机时间确定是否满足所述饮水机的关机条件,包括:8. The method according to claim 7, wherein the determining whether a shutdown condition of the water dispenser is satisfied according to the current number of users and the shutdown time comprises: 在所述当前用户数量为零和/或当前时间为所述关机时间时,确定满足所述饮水机的关机条件。When the current number of users is zero and/or the current time is the shutdown time, it is determined that the shutdown condition of the water dispenser is satisfied. 9.根据权利要求1所述的方法,其特征在于,所述饮水机包括水箱,所述水箱用于存放饮用水,所述水箱内侧设置有水位检测装置,所述水位检测装置用于检测所述饮用水的剩余水量,在控制所述饮水机工作之后,还包括:9 . The method according to claim 1 , wherein the water dispenser comprises a water tank, the water tank is used for storing drinking water, and a water level detection device is arranged inside the water tank, and the water level detection device is used to detect all the 9 . The remaining water amount of the drinking water, after controlling the operation of the water dispenser, also includes: 在所述剩余水量低于预设水量时,进行缺水报警。When the remaining water volume is lower than the preset water volume, a water shortage alarm is performed. 10.根据权利要求9所述的方法,其特征在于,所述在所述剩余水量低于预设水量时,进行缺水报警,包括:10. The method according to claim 9, wherein when the remaining water amount is lower than a preset water amount, performing a water shortage alarm, comprising: 在所述剩余水量低于预设水量时,根据当前时间确定报警方式;When the remaining water volume is lower than the preset water volume, the alarm mode is determined according to the current time; 根据所述报警方式进行缺水报警。The water shortage alarm is performed according to the alarm mode. 11.一种饮水机的控制装置,其特征在于,包括:11. A control device for a water dispenser, comprising: 模型获取模块,用于获取饮水机的控制模型;The model acquisition module is used to acquire the control model of the water dispenser; 信息获取模块,用于获取监测设备监测到的当前用户信息;The information acquisition module is used to acquire the current user information monitored by the monitoring equipment; 状态确认模块,用于根据所述当前用户信息和所述控制模型确定是否满足所述饮水机的工作条件;a state confirmation module, configured to determine whether the working conditions of the water dispenser are met according to the current user information and the control model; 设备控制模块,用于若满足所述饮水机的工作条件,则控制所述饮水机工作。The device control module is configured to control the water dispenser to work if the working conditions of the water dispenser are satisfied. 12.一种饮水机,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1至10中任一所述的饮水机的控制方法。12. A water dispenser, comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor implements the program as claimed in claim 1 when executing the program The control method of the water dispenser described in any one of to 10. 13.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1至10中任一所述的饮水机的控制方法。13. A computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the control method for a water dispenser according to any one of claims 1 to 10 is implemented.
CN202210019949.0A 2022-01-10 2022-01-10 A control method and device for a water dispenser, a water dispenser and a storage medium Active CN114947540B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210019949.0A CN114947540B (en) 2022-01-10 2022-01-10 A control method and device for a water dispenser, a water dispenser and a storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210019949.0A CN114947540B (en) 2022-01-10 2022-01-10 A control method and device for a water dispenser, a water dispenser and a storage medium

Publications (2)

Publication Number Publication Date
CN114947540A true CN114947540A (en) 2022-08-30
CN114947540B CN114947540B (en) 2025-02-11

Family

ID=82974843

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210019949.0A Active CN114947540B (en) 2022-01-10 2022-01-10 A control method and device for a water dispenser, a water dispenser and a storage medium

Country Status (1)

Country Link
CN (1) CN114947540B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101147652A (en) * 2007-11-09 2008-03-26 王德洋 Automatic controlling drinking machine
WO2016187855A1 (en) * 2015-05-28 2016-12-01 深圳市赛亿科技开发有限公司 Intelligent water dispenser and control method therefor
CN106338129A (en) * 2016-09-28 2017-01-18 广东美的制冷设备有限公司 Air purifier control method and device
CN107692831A (en) * 2017-10-26 2018-02-16 东莞市极酷机电科技有限公司 A water dispenser and its control device
CN108181884A (en) * 2017-12-29 2018-06-19 深圳市欧瑞博科技有限公司 A kind of drinking equipment control method and device
CN111870121A (en) * 2020-06-30 2020-11-03 江门职业技术学院 Intelligent control method, device, storage medium and water dispenser of water dispenser
CN112205872A (en) * 2020-09-15 2021-01-12 珠海格力电器股份有限公司 Drinking water reminding method and device, water dispenser and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101147652A (en) * 2007-11-09 2008-03-26 王德洋 Automatic controlling drinking machine
WO2016187855A1 (en) * 2015-05-28 2016-12-01 深圳市赛亿科技开发有限公司 Intelligent water dispenser and control method therefor
CN106338129A (en) * 2016-09-28 2017-01-18 广东美的制冷设备有限公司 Air purifier control method and device
CN107692831A (en) * 2017-10-26 2018-02-16 东莞市极酷机电科技有限公司 A water dispenser and its control device
CN108181884A (en) * 2017-12-29 2018-06-19 深圳市欧瑞博科技有限公司 A kind of drinking equipment control method and device
CN111870121A (en) * 2020-06-30 2020-11-03 江门职业技术学院 Intelligent control method, device, storage medium and water dispenser of water dispenser
CN112205872A (en) * 2020-09-15 2021-01-12 珠海格力电器股份有限公司 Drinking water reminding method and device, water dispenser and storage medium

Also Published As

Publication number Publication date
CN114947540B (en) 2025-02-11

Similar Documents

Publication Publication Date Title
US10219222B2 (en) Adjusting mobile device state based on user intentions and/or identity
KR102311817B1 (en) Electronic device and method for managung power in electronic device
US9342972B2 (en) Life management apparatus and life management method
KR20180060328A (en) Electronic apparatus for processing multi-modal input, method for processing multi-modal input and sever for processing multi-modal input
KR102294180B1 (en) Electronic device and method for controlling power in electronic device
KR102335925B1 (en) An electronic apparatus and a gateway for network service, a method therefor
KR20180117485A (en) Electronic device for processing user utterance and method for operation thereof
KR20180109624A (en) Method for operating speech recognition service and electronic device supporting the same
KR102523859B1 (en) Electronic device for managing power and method for controlling thereof
JP5760093B2 (en) Self-sales change environment control device
KR20180109625A (en) Method for operating speech recognition service and electronic device supporting the same
KR20170088649A (en) Electronic device for controlling air condition based on location information and method of operating the same
KR20170055287A (en) Electronic device providing health information and operating the same
KR20160126802A (en) Measuring method of human body information and electronic device thereof
KR102318642B1 (en) Online platform using voice analysis results
TW201523443A (en) System and method for waking up an operating system of an electronic device
CN106197468B (en) Method and system for updating step number of pedometer
WO2019132772A1 (en) Method and system for monitoring emotions
KR20220164822A (en) Menstrual cycle tracking and prediction
CN105893756A (en) Health state monitoring method and device
CN114947540A (en) Control method and device of water dispenser, water dispenser and storage medium
CN110833400A (en) Health information monitoring method and system
CN107277906B (en) Mode selection method, device, terminal and computer readable storage medium
CN113691603B (en) Method, device and system for controlling Internet of things device based on context awareness
KR101993368B1 (en) Electronic apparatus for processing multi-modal input, method for processing multi-modal input and sever for processing multi-modal input

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant