A control method and device for a water dispenser, a water dispenser and a storage medium
By obtaining the control model of the water dispenser and the current user information, and dynamically controlling the start and shutdown of the water dispenser, the problem that fixed time control in the existing technology cannot meet user needs is solved, and a more efficient user experience is achieved.
Patent Information
- Application Number
- CN202210019949.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-10
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2042-01-10
AI Technical Summary
The control method of existing water dispensers is to start and turn off at a fixed time, and cannot be dynamically adjusted according to actual conditions, resulting in the inability to meet the personalized needs of users.
By obtaining the control model of the water dispenser and current user information, determine whether the working conditions of the water dispenser are met, and dynamically control the start and shutdown of the water dispenser based on this information.
The dynamic control of the water dispenser is realized, and the start and shutdown time is adjusted according to the actual situation of the user, improving the performance and user experience of the water dispenser.
Smart Images

Figure CN114947540B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of electrical appliance control technology, and in particular to a control method and device for a water dispenser, a water dispenser and a storage medium. Background Art
[0002] With the continuous improvement of material living standards, people's demands for the performance of household appliances are getting higher and higher. Among them, the performance of water dispensers is also deeply concerned by the general public.
[0003] At present, the control of the water dispenser is to set the timer through a mobile phone application (Application, APP), and turn the water dispenser on and off 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
[0004] The present invention provides a control method and device for a water dispenser, a water dispenser and a storage medium, which can avoid the problem that the water dispenser is started and shut down at a fixed time and cannot be dynamically controlled according to actual conditions.
[0005] In a first aspect, an embodiment of the present invention provides a method for controlling a water dispenser, the method comprising:
[0006] Get the control model of the water dispenser;
[0007] Get the current user information monitored by the monitoring device;
[0008] Determine whether the working conditions of the water dispenser are met according to the current user information and the control model;
[0009] If the working conditions of the water dispenser are met, the water dispenser is controlled to work.
[0010] In a second aspect, an embodiment of the present invention further provides a control device for a water dispenser, the device comprising:
[0011] A model acquisition module is used to obtain a control model of the water dispenser;
[0012] An information acquisition module is used to obtain the current user information monitored by the monitoring device;
[0013] A status confirmation module is used to determine whether the working conditions of the water dispenser are met based on the current user information and the control model;
[0014] The equipment control module is used to control the operation of the water dispenser if the working conditions of the water dispenser are met.
[0015] In a third aspect, an embodiment of the present invention further provides a water dispenser, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor is used to implement a control method for the water dispenser as described in any one of the embodiments of the present invention when executing the computer program.
[0016] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a method for controlling a water dispenser as described in any one of the embodiments of the present invention.
[0017] The embodiment of the present invention obtains the control model of the water dispenser; obtains the current user information monitored by the monitoring device; determines whether the working conditions of the water dispenser are met according to the current user information and the control model; and controls the water dispenser to work if the working conditions of the water dispenser are met. The technical solution of the present invention avoids the water dispenser from starting and shutting down at a fixed time, and can dynamically control the start and shut down of the water dispenser according to the actual situation, thereby improving the performance of the water dispenser and the user's experience.
[0018] Furthermore, a water level detection device is arranged inside the water tank of the water dispenser, and the water level detection device detects the remaining amount of drinking water according to a preset water volume, so as to timely sense insufficient water volume, avoid water shortage of the water dispenser, and extend the service life of the water dispenser.
[0019] In addition, when it is detected that the remaining water volume is lower than the preset water volume, the corresponding alarm method can be used according to the current time to alarm, which not only reminds the user but also avoids unnecessary interference to the user, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is a flow chart of a control method of a water dispenser in an embodiment of the present invention;
[0021] Figure 2 is a structural schematic diagram of a water level detection device provided by an embodiment of the present invention;
[0022] Figure 3 is a flow chart of another method for controlling a water dispenser in an embodiment of the present invention;
[0023] Figure 4 is a structural schematic diagram of a control device for a water dispenser provided by an embodiment of the present invention;
[0024] Figure 5 It is a structural schematic diagram of a water dispenser provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0025] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0026] Figure 1 The present invention provides a flow chart of a method for controlling a water dispenser. The present invention is applicable to the control of a water dispenser. The method can be executed by a control device for a water dispenser provided by the present invention. The device can be implemented in software and / or hardware. In a specific embodiment, the device can be integrated in a water dispenser. The following embodiments will be described by taking the device integrated in a water dispenser as an example. Figure 1 , the method may specifically include the following steps:
[0027] S101. Obtain a control model of a water dispenser.
[0028] 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 language program obtained by analyzing, highly abstracting and training the relevant drinking water data of the users of the water dispenser. Furthermore, the control model of the water dispenser can be a convolutional neural network (CNN) model, a deep neural network (DNN) model, etc., which is not limited in the embodiments of the present invention.
[0029] Specifically, the control model of the water dispenser includes information such as the start time, shut down time, start mode, heating temperature, and amount of drinking water to be heated of the water dispenser.
[0030] S102: Acquire current user information monitored by the monitoring device.
[0031] Among them, the monitoring device is an environmental monitoring device, which can be used to monitor the number of users in the current family. Specifically, the detection equipment includes a home entry monitoring instrument, an image acquisition device integrated on a water dispenser, etc., which is not limited in the embodiment of the present invention.
[0032] Optionally, the current user information includes the number of current users.
[0033] The current number of users refers to the number of people in the current home environment. Specifically, the number of users in the current environment may be zero, one, three, etc., which is not limited in the embodiment of the present invention.
[0034] Exemplarily, if the monitoring device is a home entry monitoring instrument, the home entry monitoring instrument will be used to monitor the user information of the current home environment. Specifically, when the user enters the home environment from the external environment, the current number of users recorded by the home entry monitoring instrument will increase by one, and when the user enters the external environment from the home environment, the current number of users recorded by the home entry monitoring instrument will decrease by one. If the monitoring device is an image acquisition device integrated on a 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 the preset time and record the current number of users at the latest moment. Specifically, the preset time can be five minutes, ten minutes, thirty minutes, etc., and the embodiments of the present invention do not limit this.
[0035] Optionally, both the monitoring device and the water dispenser are equipped with a WiFi (Wireless Fidelity) module, and information exchange can be performed 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 perform subsequent work.
[0036] S103: Determine whether the working conditions of the water dispenser are met according to the current user information and the control model.
[0037] Among them, the working condition of the water dispenser is the standard for measuring whether the water dispenser starts working. 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, amount of drinking water to be heated and other information of the water dispenser. Determining whether the working condition of the water dispenser is met based on the current user information and the control model means judging whether the working condition of the water dispenser is met at the current moment based on the number of users in the current home environment and the start time, start mode, heating temperature, amount of drinking water to be heated and other information of the water dispenser.
[0038] S104: If the working conditions of the water dispenser are met, the water dispenser is controlled to operate.
[0039] Specifically, if it is determined according to the current user information and the control model that the working conditions of the water dispenser are met, the water dispenser is controlled to work; if it is determined according to the current user information and the control model that the working conditions of the water dispenser are not met, the process returns to step S101.
[0040] For example, 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 sixty-five 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 controlled to work according to the start time, start mode, heating temperature, amount of drinking water to be heated, etc. of the water dispenser. For example, the water dispenser is started at nine o'clock and controlled 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.
[0041] Optionally, after controlling the water dispenser to work, it also includes: determining the shutdown time of the water dispenser according to the control model; determining whether the shutdown conditions of the water dispenser are met according to the current number of users and the shutdown time; when the shutdown conditions of the water dispenser are met, controlling the water dispenser to shut down.
[0042] Specifically, the control model includes the shutdown time of the water dispenser. Whether the water dispenser meets the shutdown conditions can be determined based on the current number of users and the shutdown time of the water dispenser. When the current number of users and the shutdown time of the water dispenser meet the shutdown conditions of the water dispenser, the water dispenser is controlled to shut down. When the shutdown conditions of the water dispenser are not met, the water dispenser works normally.
[0043] Optionally, determining whether the shutdown condition of the water dispenser is met is determined based on the current number of users and the shutdown time, including: determining that the shutdown condition of the water dispenser is met when the current number of users is zero and / or the current time is the shutdown time.
[0044] Specifically, as long as one of the two conditions, that is, the current number of users is zero and the current time is the shutdown time of the water dispenser, is met, it can be determined that the shutdown condition of the water dispenser is met.
[0045] For example, 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. If the number of users in the home remains at one or more before ten o'clock, then at ten o'clock, it is determined that the shutdown condition of the water dispenser is met, and the water dispenser will be controlled to shut down. If at some point before ten o'clock, three users in the family go out for some reason, then the number of users in the home is zero, and the shutdown condition of the water dispenser is also met.
[0046] The technical solution of this embodiment obtains the control model of the water dispenser; obtains the current user information monitored by the monitoring device; determines whether the working conditions of the water dispenser are met according to the current user information and the control model; if the working conditions of the water dispenser are met, the water dispenser is controlled to work. The technical solution of the present invention avoids the water dispenser from starting and shutting down at a fixed time, and can dynamically control the start and shut down of the water dispenser according to the actual situation, thereby improving the performance of the water dispenser and the user's experience.
[0047] In a specific embodiment, based on the above embodiment, the specific implementation method of the step of obtaining the control model of the water dispenser is described, mainly including: determining whether the water dispenser is started for the first time; if the water dispenser is started for the first time, obtaining a preset model, and determining the preset model as the control model; if the water dispenser is not started for the first time, obtaining a target model generated based on the historical drinking data of the user of the water dispenser, and determining the target model as the control model.
[0048] Among them, the preset model is a pre-set universal heating scheme for the water dispenser. Specifically, the preset model can be a computer language program obtained from the server through analysis, high abstraction and training based on relevant data of the national drinking water standards; the target model is a computer language program obtained by analyzing, abstracting and training historical drinking water data such as drinking time, drinking volume, drinking water temperature, etc. of the users of the current water dispenser.
[0049] For example, when the water dispenser is started for the first time, it is in a new and unused state and does not store any historical drinking water data of any user. At this time, the national drinking water standard is used as a reference, and a preset model related to the national drinking water standard is obtained from the server as the control model of the water dispenser to control the operation of the water dispenser. After the water dispenser obtains the user's drinking water data such as drinking time, drinking water volume, and drinking water temperature, a target model is generated based on the user's historical drinking water data. Thereafter, the target model related to the user's drinking habits is used as a basis to control the operation of the water dispenser.
[0050] Optionally, the target model is obtained by analyzing, abstracting, and training the historical drinking water data of the user within a recent preset time, wherein the preset time may be five days, ten days, twenty days, etc., with the purpose of continuously updating the target model according to the user's latest drinking water habits, so that the working mode of the water dispenser always conforms to the user's living habits. The historical drinking water data may include historical drinking water time, historical drinking water volume, historical drinking water temperature, etc.
[0051] 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 to improve the user's usage experience.
[0052] In a specific embodiment, based on the above embodiment, the specific implementation method of the steps of determining whether the working conditions of the water dispenser are met according to the current user information and the control model is described, mainly including: determining the start time of the water dispenser according to the control model; determining whether the working conditions of the water dispenser are met according to the current number of users and the start time.
[0053] Among them, the working condition of the water dispenser is the standard for measuring whether the water dispenser starts working; the control model is a computer language program obtained by analyzing, highly abstracting and training the drinking information of the users of the water dispenser. Specifically, the control model includes the start-up time, start-up mode, heating temperature, amount of drinking water to be heated and other information of the water dispenser. According to the start-up time of the water dispenser and the current number of users in the control model, it can be determined whether the working conditions of the water dispenser are met.
[0054] Optionally, determining whether the working conditions of the water dispenser are met is based on the current number of users and the startup time, including: when the current number of users is not zero and the current time is the startup time, determining that the working conditions of the water dispenser are met.
[0055] The current number of users refers to the number of people in the family at the current moment. Specifically, the working condition of the water dispenser is that the current moment is the start time of the water dispenser and there is someone in the family at the current moment. Both conditions must be met at the same time for the water dispenser to start working. When any of the conditions cannot be met, the water dispenser will not start.
[0056] For example, the number of users in the current home environment is X, and the start 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 met at nine o'clock. If the number of home users X is zero at nine o'clock, then 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.
[0057] Optionally, controlling the operation of the water dispenser includes: determining a target drinking water temperature according to a control model, and determining a target drinking water volume according to the current number of users; starting the water dispenser at a start time, and controlling the water dispenser to heat the target drinking water volume to the target drinking water temperature.
[0058] Among them, the target drinking water temperature is the user's preferred drinking water temperature calculated based on the user's drinking habits, and the target drinking water volume is the user's preferred drinking water volume calculated based on the user's drinking habits. Specifically, the drinking water volume can be adjusted accordingly according to the number of users in the current environment, and the embodiments of the present invention are not limited to this.
[0059] For example, in the control model, the start time of the water dispenser is 9 o'clock, the target drinking water temperature is 65 degrees Celsius, and the target drinking water volume is 500 milliliters. Then the water dispenser will be started at 9 o'clock, and the water dispenser will be controlled to heat 500 milliliters of drinking water to 65 degrees Celsius for the user to drink.
[0060] Optionally, the water dispenser includes a display screen for displaying the amount of drinking water to be discharged. When the user places a water cup into the water receiving area, the drinking water can automatically flow into the water cup without the need for manual control by the user, thus freeing the user's hands.
[0061] Among them, the amount of drinking water to be flowed out is calculated based on the user's drinking habits. Specifically, when the displayed water volume does not meet the user's current drinking needs, the amount of drinking water to be flowed out can also be adjusted to meet the user's current needs. The amount of drinking water can also be controlled by manually pressing the water flow control button of the water dispenser.
[0062] For example, if the control model analyzes that the user needs to drink 500 ml of drinking water at 9:30 in the morning, then when the user receives water at 9:30 in the morning, the amount of drinking water to be discharged displayed on the display screen of the water dispenser will be 500 ml. At this time, the user only needs to put the cup into the water receiving area, and the water dispenser can control the drinking water to automatically flow into the cup until 500 ml of drinking water flows out. If there is already 100 ml of drinking water in the cup when the user receives water, then the amount of drinking water to be discharged can be adjusted to 400 ml, and then the cup is placed in the water receiving area, and the water dispenser controls 400 ml of drinking water to automatically flow into the cup, or the water flow control button of the water dispenser can be manually pressed to receive water for the cup.
[0063] Through the method of this embodiment, the working conditions of the water dispenser can be effectively matched. When the working conditions of the water dispenser are met, the water dispenser can be controlled to work, which can reduce the loss caused by excessive use of the water dispenser and increase the service life of the water dispenser. In addition, the corresponding drinking water heating plan can be generated according to the user's drinking habits to enhance the user's sense of happiness.
[0064] In a specific embodiment, the water dispenser includes a water tank for storing drinking water. Figure 2It is a structural schematic 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 detection device is arranged inside the water tank. The water level detection device is used to detect the remaining amount of drinking water according to the preset water volume. When the remaining amount of water in the water tank is lower than the preset water volume, the water level detection device will sense that there is not enough water in the water tank, and the machine will sound an alarm to remind the user to add water. Through the water level detection method of the present application, when the water dispenser has a water shortage alarm, there is still a preset amount of drinking 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 the user with sufficient reaction time. 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 to remind the user to add water.
[0065] Figure 3 FIG. 1 is a flow chart of another method for controlling a water dispenser provided by an embodiment of the present invention. Figure 3 As shown, the method specifically includes:
[0066] S310, setting the preset water volume and setting time.
[0067] Among them, the preset water volume is a measure of the amount of drinking water. When the water volume is reduced to the preset water volume, the water dispenser can continue to provide drinking water to the family for a preset time. Specifically, the preset time includes half a day, one day, three days, etc.; the set time can be during the day or a time when the user is not resting, such as setting the time to the time period from 8:00 to 21:00, which is not limited to the embodiments of the present invention.
[0068] S320, perform water level detection.
[0069] Among them, water level detection refers to detecting the remaining amount of drinking water in the water tank of the water dispenser.
[0070] S330: Determine whether the water level is lower than a preset water level.
[0071] Among them, 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, at this time, if the user adds water, the user needs to manually cancel the alarm after adding water; if the user does not store drinking water at home, the user can choose not to add water and manually cancel the alarm. At this time, the water dispenser can continue to provide the family with drinking water for a preset time, giving the user enough time to purchase drinking water, during which time the family can continue to use the water dispenser.
[0072] S340: Determine the current time.
[0073] Among them, it is confirmed that the current time is the time when the water level of the water tank of the water dispenser is detected to be lower than the preset water level.
[0074] S350: Determine whether the current time is the set time.
[0075] Among them, judging whether the current time is the set time is to analyze the time when the water level in the water tank of the water dispenser is lower than the preset water level to see whether it is in the time period from 8:00 to 21:00. If so, proceed to step S360; if not, proceed to step S370.
[0076] S360, the water dispenser sounds an alarm.
[0077] Among them, the sound alarm refers to the water dispenser making sounds such as squeaking, ding-ding-ding, and la-la-la to remind the user that the water dispenser is short of water. The embodiment of the present invention is not limited to this. This alarm method can quickly and effectively attract the user's attention.
[0078] S370, the water dispenser displays an alarm.
[0079] Among them, the display screen alarm refers to the water dispenser display screen reminding the user that the water dispenser is short of water by being always on, flashing, etc. The embodiment of the present invention is not limited to this. This alarm method can reduce the interference with the user's daily life while realizing the alarm prompt.
[0080] Optionally, if the user uses the water dispenser at the set time, the water dispenser will sound an alarm, and if the user uses the water dispenser at other times, the alarm will be displayed on the screen; 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, and then turn off the water dispenser. This process will be repeated when drinking water is added and the water dispenser is started 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 continuous alarms affecting the daily life of surrounding families.
[0081] Through the method of this embodiment, the water level detection device may not work continuously, thereby increasing the life of the water level detection device; after the water shortage alarm is triggered, the water dispenser can continue to provide drinking water to the family for a certain period of time, thereby preventing the user from being unable to use the water dispenser due to the lack of drinking water stored; the water dispenser can alarm in different ways at different time periods, thereby avoiding disturbing the user when using the water dispenser at night.
[0082] The control device of the water dispenser provided in the embodiment of the present invention can execute the control method of the water dispenser provided in any of the above embodiments of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0083] Figure 4 A schematic diagram of the structure of another control device for a water dispenser provided in an embodiment, such as Figure 4As shown, it includes: a model acquisition module 401, an information acquisition module 402, a state confirmation module 403 and a device control module 404.
[0084] Model acquisition module 401, used to acquire the control model of the water dispenser;
[0085] The information acquisition module 402 is used to acquire the current user information monitored by the monitoring device;
[0086] The state confirmation module 403 is used to determine whether the working conditions of the water dispenser are met according to the current user information and the control model;
[0087] The device control module 404 is used to control the water dispenser to operate if the operating conditions of the water dispenser are met.
[0088] The control device of the water dispenser provided in this embodiment is used to implement the control method of the water dispenser in the above embodiment. The implementation principle and technical effect of the control device of the water dispenser provided in this embodiment are similar to those in the above embodiment, and will not be repeated here.
[0089] Optionally, the model acquisition module 401 is specifically used to determine whether the water dispenser is started for the first time; if the water dispenser is started for the first time, a preset model is obtained 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 the historical drinking data of the users of the water dispenser is obtained, and the target model is determined as the control model.
[0090] Optionally, the current user information includes the number of current users.
[0091] Optionally, the state confirmation module 403 is specifically used to determine the start time of the water dispenser according to the control model; and determine whether the working conditions of the water dispenser are met according to the current number of users and the start time.
[0092] Optionally, the state confirmation module 403 is specifically used to determine whether the working conditions of the water dispenser are met when the current number of users is not zero and the current time is the start time.
[0093] Optionally, the device control module 404 is specifically used 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 start time, and control the water dispenser to heat the target drinking water volume to the target drinking water temperature.
[0094] Optionally, the device control module 404 is also used to determine the shutdown time of the water dispenser according to the control model; determine whether the shutdown conditions of the water dispenser are met according to the current number of users and the shutdown time; and control the water dispenser to shut down when the shutdown conditions of the water dispenser are met.
[0095] Optionally, the device control module 404 is specifically configured to determine whether 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.
[0096] 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.
[0097] Optionally, the control device of the water dispenser also includes an alarm module for issuing a water shortage alarm when the remaining water volume is lower than a preset water volume.
[0098] Optionally, an alarm module is specifically used to determine an alarm mode according to the current time when the remaining water volume is lower than a preset water volume; and to issue a water shortage alarm according to the alarm mode.
[0099] Figure 5 Schematic diagram of the structure of a water dispenser in an embodiment of the present invention. Figure 5 A block diagram of an exemplary water dispenser 12 suitable for use in implementing embodiments of the present invention is shown. Figure 5 The water dispenser 12 shown is merely an example and should not limit the functionality and scope of use of the embodiments of the present invention.
[0100] like Figure 5 As shown, the water dispenser 12 is in the form of a general purpose computing device. The 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 connecting various system components (including the system memory 28 and the processing unit 16).
[0101] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0102] 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.
[0103] The 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. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 5 not shown, usually called a "hard drive"). Although Figure 5 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.
[0104] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0105] The water dispenser 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), and may also communicate with one or more devices that enable a user to interact with the water dispenser 12, and / or any device that enables the water dispenser 12 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed through an input / output (I / O) interface 22. In addition, in the water dispenser 12 of the present embodiment, the display 24 does not exist as an independent individual, 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 is visually integrated with the mirror surface. Furthermore, the water dispenser 12 may also communicate with one or more networks (e.g., 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 Figure 5 As shown, the network adapter 20 communicates with other modules of the water dispenser 12 via the bus 18. It should be understood that although Figure 5 Not shown, 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, tape drives, and data backup storage systems.
[0106] The processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, for example, implementing the control method of the water dispenser provided in the embodiment of the present invention, the method comprising:
[0107] Get the control model of the water dispenser;
[0108] Get the current user information monitored by the monitoring device;
[0109] Determine whether the working conditions of the water dispenser are met according to the current user information and the control model;
[0110] If the working conditions of the water dispenser are met, the water dispenser is controlled to work.
[0111] An embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, a control method for a water dispenser provided in all embodiments of the present invention is implemented. The method includes:
[0112] Get the control model of the water dispenser;
[0113] Get the current user information monitored by the monitoring device;
[0114] Determine whether the working conditions of the water dispenser are met according to the current user information and the control model;
[0115] If the working conditions of the water dispenser are met, the water dispenser is controlled to work.
[0116] Any combination of one or more computer-readable media can be used. Computer-readable media can be computer-readable signal media or computer-readable storage media. Computer-readable storage media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this document, computer-readable storage media can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0117] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. 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 above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0118] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0119] Computer program code for performing the operation of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0120] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for controlling a water dispenser, characterized in that: include: Get the control model of the water dispenser; Acquire current user information monitored by a monitoring device, wherein the monitoring device includes an environmental monitoring device for monitoring the number of users in the current household; Determining whether the working condition of the water dispenser is met according to the current user information and the control model; If the working conditions of the water dispenser are met, controlling the water dispenser to work; The step of obtaining the control model of the water dispenser includes: Determine whether the water dispenser is started for the first time; If the water dispenser is started for the first time, obtaining a preset model and determining the preset model as the control model; If the water dispenser is not started for the first time, obtaining a target model generated based on historical drinking data of users of the water dispenser, and determining the target model as the control model; Wherein, the control model includes the start time, start mode, heating temperature, and amount of drinking water to be heated of the water dispenser; Wherein, the current user information includes the number of current users; Wherein, determining whether the working condition of the water dispenser is met according to the current user information and the control model includes: Determining a start time of the water dispenser according to the control model; Determining whether the working condition of the water dispenser is met according to the current number of users and the start time; Wherein, determining whether the working condition of the water dispenser is met according to the current number of users and the start time includes: When the current number of users is not zero and the current time is the start time, determining that the working condition of the water dispenser is met; Wherein, controlling the operation of the water dispenser includes: Determining a target drinking water temperature according to the control model, and determining a target drinking water volume according to the current number of users; The water dispenser is started at the start time, and the water dispenser is controlled to heat the target drinking water volume to the target drinking water temperature.
2. The method according to claim 1, characterized in that After controlling the water dispenser to work, the method further comprises: Determining a shutdown time of the water dispenser according to the control model; Determining whether a shutdown condition of the water dispenser is met according to the current number of users and the shutdown time; When the shutdown condition of the water dispenser is met, the water dispenser is controlled to shut down.
3. The method according to claim 2, characterized in that The determining whether the shutdown condition of the water dispenser is met according to the current number of users and the shutdown time includes: 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 met.
4. The method according to claim 1, characterized in that: The water dispenser comprises a water tank for storing drinking water, a water level detection device is arranged inside the water tank, and the water level detection device is used to detect the remaining water volume of the drinking water. After controlling the operation of the water dispenser, the water dispenser further comprises: When the remaining water volume is lower than the preset water volume, a water shortage alarm is issued.
5. The method according to claim 4, characterized in that When the remaining water volume is lower than the preset water volume, a water shortage alarm is issued, including: When the remaining water volume is lower than the preset water volume, an alarm mode is determined according to the current time; A water shortage alarm is performed according to the alarm method.
6. A control device for a water dispenser, characterized in that: include: A model acquisition module is used to obtain a control model of the water dispenser; An information acquisition module, used to acquire current user information monitored by a monitoring device, wherein the monitoring device includes an environmental monitoring device, used to monitor the number of users in the current household; A status confirmation module, used to determine whether the working conditions of the water dispenser are met according to the current user information and the control model; A device control module, used to control the water dispenser to operate if the operating conditions of the water dispenser are met; The model acquisition module is specifically used for: 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, obtain a target model generated based on historical drinking data of users of the water dispenser, and determine the target model as the control model; Wherein, the control model includes the start time, start mode, heating temperature, and amount of drinking water to be heated of the water dispenser; Among them, the current user information includes the current number of users; The status confirmation module is specifically used to determine the start time of the water dispenser according to the control model; and determine whether the working conditions of the water dispenser are met according to the current number of users and the start time. The status confirmation module is specifically used to determine whether the working conditions of the water dispenser are met when the current number of users is not zero and the current time is the start time. The device control module is specifically used to determine the target drinking water temperature according to the control model and the target drinking water volume according to the current number of users; start the water dispenser at the start time and control the water dispenser to heat the target drinking water volume to the target drinking water temperature.
7. A water dispenser, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the control method of the water dispenser as described in any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the control method of the water dispenser as claimed in any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Air purifier control method and device
CN106338129A
Water dispenser and control device thereof
CN107692831A
Drinking-water equipment control method and device
CN108181884A