CN117378931A - Intelligent water shortage monitoring and soft protecting method and system for coffee machine - Google Patents

Intelligent water shortage monitoring and soft protecting method and system for coffee machine Download PDF

Info

Publication number
CN117378931A
CN117378931A CN202311528103.0A CN202311528103A CN117378931A CN 117378931 A CN117378931 A CN 117378931A CN 202311528103 A CN202311528103 A CN 202311528103A CN 117378931 A CN117378931 A CN 117378931A
Authority
CN
China
Prior art keywords
water
shortage
coffee machine
water level
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311528103.0A
Other languages
Chinese (zh)
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.)
Zhejiang Biyi Electric Appliance Co Ltd
Original Assignee
Zhejiang Biyi Electric Appliance 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 Zhejiang Biyi Electric Appliance Co Ltd filed Critical Zhejiang Biyi Electric Appliance Co Ltd
Priority to CN202311528103.0A priority Critical patent/CN117378931A/en
Publication of CN117378931A publication Critical patent/CN117378931A/en
Pending legal-status Critical Current

Links

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/54Water boiling vessels in beverage making machines
    • A47J31/56Water boiling vessels in beverage making machines having water-level controls; having temperature controls
    • 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)
  • Apparatus For Making Beverages (AREA)

Abstract

The invention discloses an intelligent water shortage monitoring and soft protecting method and system of a coffee machine.A water tank of the coffee machine is provided with a photoelectric sensor for detecting water shortage, and the photoelectric sensor is not in direct contact with water in the water tank; the method comprises the following steps: acquiring a water level detection signal fed back by a photoelectric sensor, and analyzing the water level detection signal to obtain a water level state of the water tank, wherein the water level state comprises a first water level state or a non-first water level state which indicates that the current water level of the water tank is lower than a preset first detection water level; when the water level state of the water tank is determined to be the first water level state, according to a preset water shortage soft protection program, water shortage control operation is executed on the coffee machine so as to prompt a user that the coffee machine needs to be added with water, and the water shortage control operation comprises water shortage prompt and/or water discharge forbidden control. Therefore, by implementing the invention, non-contact water level sensing can be realized, the reliability of water level detection is improved, and the cleaning difficulty of the sensor is reduced.

Description

Intelligent water shortage monitoring and soft protecting method and system for coffee machine
Technical Field
The invention relates to the technical field of water shortage control, in particular to an intelligent water shortage monitoring and soft protecting method and system of a coffee machine.
Background
In existing coffee machine products, basically, an intelligent detection function of the water level of the water tank is configured. The common water tank water level monitoring function mostly adopts a float switch or carries out water level detection of the water tank through a Hall sensor. However, the hall sensor equipped in the conventional means, after being in contact with the water stored in the water tank for a long time, has various contaminants attached to the sensor itself, resulting in a decrease in sensitivity and service life of the sensor. And the pollutant attached to the sensor all the year round can also cause the rise of the cleaning difficulty of the sensor. Therefore, aiming at the technical problems of easy pollution and high cleaning difficulty of the existing water level sensor, the method for reducing the cleaning difficulty while ensuring the normal operation of the water level sensor is particularly important.
Disclosure of Invention
The invention aims to solve the technical problem of providing an intelligent water shortage monitoring and soft protecting method and system for a coffee machine, which can realize non-contact water level sensing, improve the reliability of water level detection and reduce the cleaning difficulty of a sensor.
In order to solve the technical problems, a first aspect of the invention discloses an intelligent water shortage monitoring and soft protection method of a coffee machine, wherein a water tank of the coffee machine is provided with a photoelectric sensor for water shortage detection, and the photoelectric sensor is not in direct contact with water in the water tank; the method comprises the following steps:
Acquiring a water level detection signal fed back by the photoelectric sensor, and analyzing the water level detection signal to obtain a water level state of the water tank, wherein the water level state comprises a first water level state or a non-first water level state which indicates that the current water level of the water tank is lower than a preset first detection water level;
when the water level state of the water tank is determined to be the first water level state, according to a preset water shortage soft protection program, water shortage control operation is executed on the coffee machine so as to prompt a user that the coffee machine needs to be added with water, and the water shortage control operation comprises water shortage prompt and/or water outlet forbidden control.
As an optional implementation manner, in the first aspect of the present invention, the first water level state includes a first sub-state or a second sub-state, and when the water tank is in the first sub-state, the remaining water amount of the water tank is not lower than a preset second detection water level; when the water tank is in the second sub-state, the residual water quantity of the water tank is lower than the second detection water level or the residual water quantity is 0; the first detected water level is higher than the second detected water level;
when the water level state of the water tank is determined to be the first water level state, the water shortage control operation is executed on the coffee machine according to a preset water shortage soft protection program, and the method comprises the following steps:
When the water level state of the water tank is in the first sub-state, generating a first control parameter for the coffee machine according to a preset first water shortage control program in combination with the water level state, wherein the first control parameter comprises a first lamp control parameter and a first sensing control parameter;
switching a water shortage prompting lamp of the coffee machine to be in a normally-on state according to the first lamp control parameter; meanwhile, controlling the photoelectric sensor to carry out water supplementing detection according to the first sensing control parameter to obtain a corresponding water supplementing detection result;
and after the water supplementing detection result is determined to indicate that the water level of the water tank is in the non-first water level state, switching the water shortage indicator lamp of the coffee machine to be in a normally dark state.
In an optional implementation manner, in the first aspect of the present invention, when it is determined that the water level state of the water tank is the first water level state, the performing, according to a preset water shortage soft protection program, a water shortage control operation on the coffee machine further includes:
when the water level state of the water tank is in the second sub-state, generating a second control parameter for the coffee machine according to a preset second water shortage control program in combination with the water level state, wherein the second control parameter comprises a second lamp control parameter, a second sensing control parameter and a water outlet control parameter;
Switching a water shortage indicator lamp of the coffee machine to be in a continuous flashing state according to the second lamp control parameter; meanwhile, the functions of all the coffee machines which need water are forbidden forcedly according to the water outlet control parameters;
and then controlling the photoelectric sensor to carry out water supplementing detection according to the second sensing control parameter until the water level of the water tank is determined to be in the non-first water level state, switching the water shortage prompting lamp of the coffee machine to be in a normally dark state, and simultaneously recovering all functions of the coffee machine which need water.
In a first aspect of the present invention, when it is determined that the water level state of the water tank is the non-first water level state, the method further includes:
acquiring water consumption information corresponding to each water consumption function in the coffee machine, wherein the water consumption information corresponding to each water consumption function comprises the use frequency, single water consumption and use time period of the water consumption function;
according to the water consumption information corresponding to all the water consumption functions, combining the current monitoring time and the real-time residual water quantity of the water tank, and determining first water consumption information and second water consumption information; the first water consumption information is the water consumption information corresponding to the function with the highest next starting probability of the user in all the water using functions; the second water consumption information is the water consumption information corresponding to the function with the highest water consumption in all the water consumption functions;
Judging whether the real-time residual water quantity meets a preset water shortage pre-prompting condition according to the first water consumption information and the second water consumption information;
when the real-time residual water quantity is judged to not meet the water shortage pre-prompting condition, and when the real-time residual water quantity is determined to be higher than a preset third detection water level, switching the photoelectric sensor to a dormant state;
the time length of the photoelectric sensor in the dormant state corresponds to a difference time length, and the difference time length is a time length which is calculated in advance and is needed to be consumed from the third detection water level to the first detection water level.
In an optional implementation manner, in the first aspect of the present invention, when it is determined that the real-time remaining water amount meets the water shortage pre-prompting condition, the method further includes:
determining a first water function corresponding to the first water consumption information and a second water function corresponding to the second water consumption information;
generating water shortage pre-prompt information according to the first water function and the second water function;
feeding the water shortage pre-prompt information back to a terminal associated with the coffee machine by the user; or,
when the user starts the coffee machine next time, matching a certain water use function selected by the user with the water shortage pre-prompting information, and when the user determines that the water use function and the water shortage pre-prompting information are matched, switching the water shortage prompting lamp of the coffee machine to be in a normally-on state according to the water shortage pre-prompting information, and generating a pre-control parameter according to the water shortage pre-prompting information, wherein the pre-control parameter is used for directly interrupting the operation of all the water use functions when the fact that the real-time residual water quantity is lower than the second detection water level is detected.
In an optional implementation manner, in a first aspect of the present invention, the determining, according to the water consumption information corresponding to all the water consumption functions, the first water consumption information and the second water consumption information in combination with the current monitoring time and the real-time remaining water volume of the water tank includes:
according to the water use frequency and the water use time period corresponding to each water use function, combining the current monitoring time and the monitoring time period of the current monitoring time, and determining all to-be-determined water use functions of the user in the monitoring time period or the next preset time period corresponding to the monitoring time period;
recording the function with the forefront water sequence corresponding to all the undetermined water functions as a first prediction function, and determining the water consumption information corresponding to the first prediction function as first water consumption information;
and determining the function with the highest single water consumption according to the single water consumption corresponding to each water consumption function, marking the function as a second prediction function, and determining the water consumption information corresponding to the second prediction function as second water consumption information.
As an optional implementation manner, in the first aspect of the present invention, the meeting of the real-time residual water quantity to the water shortage pre-prompting condition specifically includes:
The real-time residual water quantity is lower than the single water consumption corresponding to the second prediction function; or the real-time residual water quantity is lower than the single water consumption corresponding to the first prediction function;
the real-time residual water quantity does not meet the water shortage pre-prompting condition specifically comprises the following steps:
and the real-time residual water quantity is higher than or equal to the single water consumption corresponding to the second prediction function.
The invention discloses an intelligent water shortage monitoring and soft protecting system of a coffee machine, wherein a water tank of the coffee machine is provided with a photoelectric sensor for water shortage detection, and the photoelectric sensor is not in direct contact with water in the water tank; the system comprises:
the acquisition module is used for acquiring a water level detection signal fed back by the photoelectric sensor;
the analysis module is used for analyzing the water level detection signal to obtain the water level state of the water tank, wherein the water level state comprises a first water level state or a non-first water level state which indicates that the current water level of the water tank is lower than a preset first detection water level;
and the water shortage control module is used for executing water shortage control operation on the coffee machine according to a preset water shortage soft protection program when the water level state of the water tank is determined to be the first water level state so as to prompt a user that the coffee machine needs to be added with water, wherein the water shortage control operation comprises a water shortage prompt and/or water outlet forbidden control.
As an optional implementation manner, in the second aspect of the present invention, the first water level state includes a first sub-state or a second sub-state, and when the water tank is in the first sub-state, the remaining water amount of the water tank is not lower than a preset second detection water level; when the water tank is in the second sub-state, the residual water quantity of the water tank is lower than the second detection water level or the residual water quantity is 0; the first detected water level is higher than the second detected water level;
the water shortage control module is used for executing water shortage control operation on the coffee machine according to a preset water shortage soft protection program, and the mode specifically comprises the following steps:
when the water level state of the water tank is determined to be the first water level state, and when the water level state of the water tank is in the first sub-state, generating a first control parameter for the coffee machine according to a preset first water shortage control program by combining the water level state, wherein the first control parameter comprises a first lamp control parameter and a first sensing control parameter;
switching a water shortage prompting lamp of the coffee machine to be in a normally-on state according to the first lamp control parameter; meanwhile, controlling the photoelectric sensor to carry out water supplementing detection according to the first sensing control parameter to obtain a corresponding water supplementing detection result;
And after the water supplementing detection result is determined to indicate that the water level of the water tank is in the non-first water level state, switching the water shortage indicator lamp of the coffee machine to be in a normally dark state.
In a second aspect of the present invention, as an optional implementation manner, the water shortage control module performs the water shortage control operation on the coffee machine according to a preset water shortage soft protection program, and specifically further includes:
when the water level state of the water tank is determined to be the first water level state, and when the water level state of the water tank is in the second sub-state, generating second control parameters for the coffee machine according to a preset second water shortage control program in combination with the water level state, wherein the second control parameters comprise a second lamp control parameter, a second sensing control parameter and a water outlet control parameter;
switching a water shortage indicator lamp of the coffee machine to be in a continuous flashing state according to the second lamp control parameter; meanwhile, the functions of all the coffee machines which need water are forbidden forcedly according to the water outlet control parameters;
and then controlling the photoelectric sensor to carry out water supplementing detection according to the second sensing control parameter until the water level of the water tank is determined to be in the non-first water level state, switching the water shortage prompting lamp of the coffee machine to be in a normally dark state, and simultaneously recovering all functions of the coffee machine which need water.
In a second aspect of the present invention, the obtaining module is further configured to obtain, when it is determined that the water level state of the water tank is the non-first water level state, water consumption information corresponding to each water usage function in the coffee machine, where each water consumption information corresponding to the water usage function includes a usage frequency, a single water consumption, and a usage period of the water usage function;
the system further comprises:
the determining module is used for determining first water consumption information and second water consumption information according to the water consumption information corresponding to all the water consumption functions and combining the current monitoring moment and the real-time residual water quantity of the water tank; the first water consumption information is the water consumption information corresponding to the function with the highest next starting probability of the user in all the water using functions; the second water consumption information is the water consumption information corresponding to the function with the highest water consumption in all the water consumption functions;
the judging module is used for judging whether the real-time residual water quantity meets a preset water shortage pre-prompting condition according to the first water consumption information and the second water consumption information;
the switching module is used for switching the photoelectric sensor to a dormant state when the judging module judges that the real-time residual water quantity does not meet the water shortage pre-prompting condition and the real-time residual water quantity is higher than a preset third detection water level;
The time length of the photoelectric sensor in the dormant state corresponds to a difference time length, and the difference time length is a time length which is calculated in advance and is needed to be consumed from the third detection water level to the first detection water level.
In a second aspect of the present invention, the determining module is further configured to determine a first water function corresponding to the first water consumption information and a second water function corresponding to the second water consumption information when the judging module judges that the real-time remaining water amount meets the water shortage pre-indication condition;
the system further comprises:
the generation module is used for generating water shortage pre-prompt information according to the first water function and the second water function;
the pre-control module is used for feeding back the water shortage pre-prompt information to a terminal associated with the coffee machine by the user; or when the user starts the coffee machine next time, matching a certain water use function selected by the user with the water shortage pre-prompting information, and when the user determines that the water use function and the water shortage pre-prompting information are matched, switching the water shortage prompting lamp of the coffee machine to be in a normally-on state according to the water shortage pre-prompting information, and generating a pre-control parameter according to the water shortage pre-prompting information, wherein the pre-control parameter is used for directly interrupting the operation of all the water use functions when the fact that the real-time residual water quantity is lower than the second detection water level is detected.
In a second aspect of the present invention, the determining module determines, according to the water consumption information corresponding to all the water consumption functions, the first water consumption information and the second water consumption information by combining the current monitoring time and the real-time remaining water volume of the water tank, where the method specifically includes:
according to the water use frequency and the water use time period corresponding to each water use function, combining the current monitoring time and the monitoring time period of the current monitoring time, and determining all to-be-determined water use functions of the user in the monitoring time period or the next preset time period corresponding to the monitoring time period;
recording the function with the forefront water sequence corresponding to all the undetermined water functions as a first prediction function, and determining the water consumption information corresponding to the first prediction function as first water consumption information;
and determining the function with the highest single water consumption according to the single water consumption corresponding to each water consumption function, marking the function as a second prediction function, and determining the water consumption information corresponding to the second prediction function as second water consumption information.
As an optional implementation manner, in the second aspect of the present invention, the meeting of the real-time residual water quantity to the water shortage pre-prompting condition specifically includes:
The real-time residual water quantity is lower than the single water consumption corresponding to the second prediction function; or the real-time residual water quantity is lower than the single water consumption corresponding to the first prediction function;
the real-time residual water quantity does not meet the water shortage pre-prompting condition specifically comprises the following steps:
and the real-time residual water quantity is higher than or equal to the single water consumption corresponding to the second prediction function.
The third aspect of the invention discloses an intelligent water shortage monitoring and soft protecting system of another coffee machine, the system comprises:
a memory storing executable program code;
a processor coupled to the memory;
the processor invokes the executable program codes stored in the memory to execute the intelligent water shortage monitoring and soft protecting method of the coffee machine disclosed in the first aspect of the invention.
In a fourth aspect, the present invention discloses a computer storage medium storing computer instructions for performing the intelligent water deficiency monitoring and soft protecting method of the coffee machine disclosed in the first aspect of the present invention when the computer instructions are called.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
In the embodiment of the invention, an intelligent water shortage monitoring and soft protecting method of a coffee machine is provided, a water tank of the coffee machine is provided with a photoelectric sensor for detecting water shortage, and the photoelectric sensor is not in direct contact with water in the water tank; the method comprises the following steps: acquiring a water level detection signal fed back by a photoelectric sensor, and analyzing the water level detection signal to obtain a water level state of the water tank, wherein the water level state comprises a first water level state or a non-first water level state which indicates that the current water level of the water tank is lower than a preset first detection water level; when the water level state of the water tank is determined to be the first water level state, according to a preset water shortage soft protection program, water shortage control operation is executed on the coffee machine so as to prompt a user that the coffee machine needs to be added with water, and the water shortage control operation comprises water shortage prompt and/or water discharge forbidden control. Therefore, the intelligent detection of the water level in the water tank can be realized through the non-contact type photoelectric sensor, and the non-contact type photoelectric sensor is arranged so as to avoid direct contact with the water stored in the water tank, and the intelligent detection device is different from the traditional Hall sensor, so that the water corrosion and pollution of the water stored to the photoelectric sensor are reduced, the cleaning difficulty of the photoelectric sensor is reduced, and the service life of the photoelectric sensor is prolonged; in addition, when the water tank meets the water shortage condition (in a first water level detection state), the water shortage control of the coffee machine can be accurately started, the condition that the coffee machine is damaged due to the fact that the water pump is empty is reduced, namely, the soft protection measure of the flowmeter is beneficial to prolonging the service life of the coffee machine.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of an intelligent water shortage monitoring and soft protection method of a coffee machine according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of an intelligent water shortage monitoring and soft protection method of another coffee machine according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a system for intelligent water shortage monitoring and soft protection of a coffee machine according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an intelligent water shortage monitoring and soft protection system of another coffee machine according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an intelligent water shortage monitoring and soft protecting system of a coffee machine according to another embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms first, second and the like in the description and in the claims and in the above-described figures are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, apparatus, article, or article that comprises a list of steps or elements is not limited to only those listed but may optionally include other steps or elements not listed or inherent to such process, method, article, or article.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The invention discloses an intelligent water shortage monitoring and soft protecting method and system of a coffee machine, which can intelligently detect the water level in a water tank through a non-contact photoelectric sensor, wherein the non-contact photoelectric sensor is arranged so as not to be in direct contact with water stored in the water tank; in addition, when the water tank meets the water shortage condition (in a first water level detection state), the water shortage control of the coffee machine can be accurately started, the condition that the coffee machine is damaged due to the fact that the water pump is empty is reduced, namely, the soft protection measure of the flowmeter is beneficial to prolonging the service life of the coffee machine. The following will describe in detail.
Example 1
Referring to fig. 1, fig. 1 is a schematic flow chart of an intelligent water shortage monitoring and soft protection method of a coffee machine according to an embodiment of the invention. The intelligent water shortage monitoring and soft protecting method of the coffee machine described in fig. 1 can be applied to an intelligent water shortage monitoring and soft protecting system and device of the coffee machine, the method can also be applied to an intelligent coffee machine, a water tank of the coffee machine is provided with a photoelectric sensor for detecting water shortage, and the photoelectric sensor is not in direct contact with water in the water tank. Specifically, a light-permeable rhombic equilateral triangle is arranged at the vertical wall of the water tank, a photoelectric sensor is arranged at the rhombic equilateral triangle, and the emitting end of the photoelectric sensor is positioned in the rhombic triangle. Through the rhombic triangle structure capable of transmitting light and isolating water, the photoelectric sensor can accurately detect the water storage state in the water tank without barriers, and therefore the non-contact design of the photoelectric sensor and the water storage is realized. The non-contact design solves the problem of difficulty in cleaning the photoelectric sensor, and simultaneously ensures the complete water level detection function. In addition, as shown in fig. 1, the intelligent water shortage monitoring and soft protecting method of the coffee machine may include the following operations:
101. And acquiring a water level detection signal fed back by the photoelectric sensor, and analyzing the water level detection signal to obtain the water level state of the water tank, wherein the water level state comprises a first water level state or a non-first water level state which indicates that the current water level of the water tank is lower than a preset first detection water level.
In the embodiment of the invention, specifically, the water level in the water tank is intelligently detected through the photoelectric sensor transmitting end, wherein when the water level detection information corresponding to the transmitting end indicates that the water level is lower than the photoelectric sensor transmitting end, the water tank is judged to be free of water or the residual water amount is extremely small (for example, only 1% of the total water storage amount of the water tank is left), and the water tank corresponds to the first water level state; when the water level detection information corresponding to the transmitting end indicates that the water level is higher than or equal to the transmitting end of the photoelectric sensor, the water tank is judged to have water, and the water tank corresponds to the non-first water level state.
Further, when the current water level of the water tank is judged to be in a first water level state or a non-first water level state, the first water level state can correspond to a first height of the transmitting end of the photoelectric sensor; the non-first water level state may correspond to the second height of the emitting end of the photoelectric sensor, that is, two different water level height values are set as more accurate determination states of the remaining water volume of the water tank. Further, the first height and the second height can be respectively divided into a plurality of small height division sections, so that the residual water quantity in the water tank can be determined more precisely.
102. When the water level state of the water tank is determined to be the first water level state, according to a preset water shortage soft protection program, water shortage control operation is executed on the coffee machine so as to prompt a user that the coffee machine needs to be added with water, and the water shortage control operation comprises water shortage prompt and/or water discharge forbidden control.
Therefore, by implementing the intelligent water shortage monitoring and soft protection method of the coffee machine described in fig. 1, the water level in the water tank can be intelligently detected through the non-contact photoelectric sensor, and the non-contact photoelectric sensor is arranged, so that direct contact with the water stored in the water tank is not needed, and the intelligent water shortage monitoring and soft protection method is different from the traditional Hall sensor arrangement; in addition, when the water tank meets the water shortage condition (in a first water level detection state), the water shortage control of the coffee machine can be accurately started, the condition that the coffee machine is damaged due to the fact that the water pump is empty is reduced, namely, the soft protection measure of the flowmeter is beneficial to prolonging the service life of the coffee machine.
In an alternative embodiment, the first water level state includes a first sub-state or a second sub-state, and when the water tank is in the first sub-state, the remaining water amount of the water tank is not lower than a preset second detection water level; when the water tank is in the second sub-state, the residual water quantity of the water tank is lower than the second detection water level or the residual water quantity is 0; the first detected water level is higher than the second detected water level;
In this alternative embodiment, the first water level state is used to indicate that the water tank is deficient, and at this time, the first water level state may be further divided into two sub-divided states; that is, the water tank of the coffee machine can still discharge water in the first sub-state, but the water discharge amount is very small (the water can reach the state of being lower than the first detection water level and higher than or equal to the second detection water level, such as being lower than 8% of the total water storage amount and higher than or equal to 1% of the total water storage amount); in contrast, the water tank of the coffee machine in the second sub-state is already close to being unable to discharge water, i.e. below the second detection level, below 1% of the total water storage. The embodiment of the invention is not limited by the parameter settings of the first detected water level, the second detected water level and the total water storage amount.
When it is determined that the water level state of the water tank is the first water level state, the step 102 specifically includes:
when the water level state of the water tank is in a first sub-state, generating first control parameters for the coffee machine according to a preset first water shortage control program in combination with the water level state, wherein the first control parameters comprise first lamp control parameters and first sensing control parameters;
Switching a water shortage prompting lamp of the coffee machine to be in a normally-on state according to the first lamp control parameter; meanwhile, controlling the photoelectric sensor to carry out water supplementing detection according to the first sensing control parameter to obtain a corresponding water supplementing detection result;
after the water supplementing detection result is determined to indicate that the water level of the water tank is in a non-first water level state, the water shortage indicator lamp of the coffee machine is switched to be in a normally dark state.
In this alternative embodiment, a basic water shortage prompting function is provided, and when the water level of the water tank is in a first sub-state (the water tank of the coffee machine can still discharge water, but the water discharge amount is very small), the first sub-state can be that after the water tank is maintained for more than 4 seconds, the water shortage prompting lamp of the coffee machine is directly controlled to be normally on, so that a user is directly prompted to need to supplement water for the water tank. In the process of controlling the photoelectric sensor according to the first sensing control parameter, the detection of the water replenishment by the photoelectric sensor may be performed continuously, preferably, once every 5s, which is not limited in the embodiment of the present invention.
In the optional embodiment, a control program for water shortage prompt is set for the water level state of the water tank in the first sub-state, so that a user can intuitively and clearly determine that the water tank is in the water shortage state; the water replenishing detection flow can timely adjust the water shortage indicator lamp to be in a normally dark state after the water tank is replenished with water, and display accuracy of the water shortage indicator lamp is improved.
In another optional embodiment, when it is determined that the water level state of the water tank is the first water level state, the step 102 performs the water shortage control operation on the coffee machine according to the preset water shortage soft protection program, which specifically further includes:
when the water level state of the water tank is in a second sub-state, generating second control parameters for the coffee machine according to a preset second water shortage control program in combination with the water level state, wherein the second control parameters comprise second lamp control parameters, second sensing control parameters and water outlet control parameters;
switching the water shortage indicator lamp of the coffee machine to be in a continuous flashing state according to the second lamp control parameter; meanwhile, all functions of the coffee machine which need water are forbidden forcedly according to the water outlet control parameters;
and then controlling the photoelectric sensor to carry out water supplementing detection according to the second sensing control parameter until the water level of the water tank is determined to be in a state other than the first water level, switching the water shortage indicator lamp of the coffee machine to be in a normally dark state, and simultaneously recovering all functions of the coffee machine which need water.
In this alternative embodiment, when the water level state of the water tank is in the second sub-state (the water tank of the coffee machine is already close to being unable to discharge water), if the operation of the coffee machine is not interrupted in time by the user at this time, all water using functions of the terminal coffee machine are forced by the water discharge control parameter, so that dry burning prevention and water pump air pumping prevention functions are realized. Meanwhile, the water shortage prompting lamp is switched to a state of continuous flashing so as to strongly remind a user of water shortage of the water tank, and further, the buzzer can be controlled to output a water shortage prompting sound while the water shortage prompting lamp is controlled to strongly remind through the built-in buzzer. In addition, the second sensing control parameter needs to be set to timely detect the water replenishment of the coffee machine, and for the control flow of the water replenishment detection, please refer to the control flow of the above embodiment, and the embodiments of the present invention are not described herein.
In the optional embodiment, the water level state of the water tank is in the second sub-state, the water level of the water tank is close to 0, and the user still continues to operate the coffee machine, and a forced control program is set at the moment, so that on one hand, the continuous flashing lamp is used for strongly reminding that the coffee machine is in the water shortage state, and the reminding intensity of the user for definitely determining that the water tank is in the water shortage state is improved; the water outlet forced disabling program can force to disable all water using functions of the coffee machine, timely start the functions of preventing idle burning and preventing idle pumping of the water pump of the coffee machine, and is beneficial to improving the use safety of the coffee machine and prolonging the service life; further, after the completion of water supplementing of the water tank is detected, the water-lack prompting lamp can be timely adjusted to be dark, the water-using function of the coffee machine is recovered, and the display accuracy and timeliness of the water-lack prompting lamp and the recovery and forbidden accuracy of the water-using function of the coffee machine are improved.
Example two
Referring to fig. 2, fig. 2 is a flow chart of an intelligent water shortage monitoring and soft protection method of another coffee machine according to an embodiment of the invention. The intelligent water shortage monitoring and soft protecting method of the coffee machine described in fig. 2 can be applied to the intelligent water shortage monitoring and soft protecting device of the coffee machine, and the embodiment of the invention is not limited. As shown in fig. 2, the intelligent water shortage monitoring and soft protecting method of the coffee machine may include the following operations:
201. And acquiring a water level detection signal fed back by the photoelectric sensor, and analyzing the water level detection signal to obtain the water level state of the water tank, wherein the water level state comprises a first water level state or a non-first water level state which indicates that the current water level of the water tank is lower than a preset first detection water level.
202. When the water level state of the water tank is determined to be the first water level state, according to a preset water shortage soft protection program, water shortage control operation is executed on the coffee machine so as to prompt a user that the coffee machine needs to be added with water, and the water shortage control operation comprises water shortage prompt and/or water discharge forbidden control.
In the embodiment of the present invention, the other descriptions of the steps 201 to 202 refer to the other specific descriptions of the steps 101 to 102 in the first embodiment, and the description of the embodiment of the present invention is omitted.
203. When the water level state of the water tank is determined to be the non-first water level state, water consumption information corresponding to each water consumption function in the coffee machine is obtained.
In the embodiment of the invention, the water consumption information corresponding to each water consumption function comprises the use frequency, the single water consumption and the use time period of the water consumption function; the water consumption information corresponding to each water consumption function may be history record information in a history record period, and the history record period may be one week or one month.
204. And according to the water consumption information corresponding to all the water consumption functions, determining the first water consumption information and the second water consumption information by combining the current monitoring time and the real-time residual water quantity of the water tank.
In the embodiment of the invention, the first water consumption information is the water consumption information corresponding to the function with the highest next starting probability of the user in all water consumption functions; the second water consumption information is corresponding to the function with the highest water consumption in all water consumption functions;
205. and judging whether the real-time residual water quantity meets the preset water shortage pre-prompting condition according to the first water consumption information and the second water consumption information.
206. And when the real-time residual water quantity is judged to not meet the water shortage pre-prompting condition and the real-time residual water quantity is determined to be higher than a preset third detection water level, switching the photoelectric sensor to a dormant state.
In the embodiment of the invention, the time length of the photoelectric sensor in the dormant state corresponds to the difference time length, and the difference time length is the time length required by the consumption of the third detection water level to the first detection water level, which is calculated in advance.
In the embodiment of the present invention, optionally, the calculation mode of the difference duration may specifically include:
calculating a water quantity difference value corresponding to the first detection water level and the third detection water level;
Determining a first water consumption amount included in the first water consumption information and a second water consumption amount included in the second water consumption information;
respectively calculating quotient corresponding to the water consumption difference and the first water consumption and the second water consumption to obtain first water consumption times corresponding to the first water consumption and second water consumption times corresponding to the second water consumption;
according to the first water consumption frequency, the first use period and the first water consumption times included in the first water consumption information, calculating to obtain a first water consumption time length required for ending the consumption of the water quantity difference value when only the first water function is started; the first water function is a water function corresponding to the first water consumption information;
similarly, according to the second water consumption frequency, the second use period and the second water consumption times included in the second water consumption information, calculating to obtain a second water consumption time length required for ending the consumption of the water quantity difference value when only the second water consumption function is started; the second water use function is a water use function corresponding to the second water consumption information;
determining a first frequency duty ratio corresponding to a first water consumption duration according to a first water consumption frequency included in the first water consumption information; determining a second frequency duty ratio corresponding to the second water consumption duration according to a second water consumption frequency included in the second water consumption information;
And multiplying the first water-consuming time duration by the first frequency duty ratio, multiplying the second water-consuming time duration by the second frequency duty ratio, and summing the products of the first water-consuming time duration and the second water-consuming time duration to obtain a target time duration as a difference time duration.
Therefore, by implementing the intelligent water shortage monitoring and soft protection method of the coffee machine described in fig. 2, a water shortage prediction program is set, so that the subsequent water consumption of the coffee machine can be intelligently evaluated, and when the condition that the water consumption of the next water use function is not excessive (the real-time residual water quantity does not meet the preset water shortage pre-prompting condition) is evaluated, the photoelectric sensor is controlled to be in a dormant state, the running time of the photoelectric sensor is reduced, the service life of the photoelectric sensor is prolonged, and the energy consumption of the coffee machine is reduced.
In an alternative embodiment, when the real-time residual water quantity is judged to meet the water shortage pre-prompting condition, the method further comprises:
determining a first water function corresponding to the first water consumption information and a second water function corresponding to the second water consumption information;
generating water shortage pre-prompt information according to the first water function and the second water function;
feeding back the water shortage pre-prompt information to a terminal associated with the coffee machine by a user; or,
when the user starts the coffee machine next time, a certain water use function selected by the user is matched with the water shortage pre-prompting information, when the water shortage pre-prompting information is determined to be matched with the water shortage pre-prompting information, a water shortage prompting lamp of the coffee machine is switched to be in a normally-on state, and meanwhile, a pre-control parameter is generated according to the water shortage pre-prompting information and is used for directly interrupting the operation of all the water use functions when the fact that the real-time residual water quantity is lower than the second detection water level is detected.
In this optional embodiment, the situation that a certain water usage function is matched with the water shortage pre-prompt information specifically includes that a certain water usage function is matched with an early warning water usage function corresponding to the water shortage pre-prompt information, and when the user starts the early warning water usage function, the real-time residual water in the water tank does not meet the water consumption required by executing the early warning water usage function.
In the optional embodiment, aiming at the condition that the real-time residual water quantity meets the water shortage pre-prompting condition, the water shortage pre-prompting information can be automatically generated and directly fed back to the terminal of the user, so that the direct water shortage early warning is realized; when the user detects that a certain water use function is matched with the water shortage pre-prompt information when the coffee machine is started subsequently, the water shortage control is directly carried out through the water shortage pre-prompt information, so that the speed of the real control is improved.
In another optional embodiment, the determining the first water consumption information and the second water consumption information in step 204 according to the water consumption information corresponding to all the water consumption functions and in combination with the current monitoring time and the real-time remaining water volume of the water tank specifically includes:
according to the water use frequency and the water use time period corresponding to each water use function, combining the current monitoring time and the monitoring time period in which the current monitoring time is positioned, determining all the water use functions to be determined by a user in the monitoring time period or the next preset time period corresponding to the monitoring time period;
In this alternative embodiment, all water functions of the coffee machine may include a coffee extraction function, a steam function, and a hot water function. If the current monitoring period is 3 pm, enabling the usual users in the period: a coffee extraction function and a hot water function, the two functions serve as pending water functions.
Recording the function with the forefront water sequence corresponding to all the undetermined water functions as a first prediction function, and determining water consumption information corresponding to the first prediction function as first water consumption information;
in this alternative embodiment, if the water order of the coffee extraction function is the foremost, then the coffee extraction function is noted as the first predictive function;
and determining the function with the highest single water consumption according to the single water consumption corresponding to each water consumption function, marking the function as a second prediction function, and determining the water consumption information corresponding to the second prediction function as second water consumption information.
In this alternative embodiment, the second prediction function and the first prediction function may be the same water use function, such as a hot water function; two different water-consuming functions are also possible, for example, the first predictive function is a coffee extraction function and the second predictive function is a hot water function; the embodiment of the invention is not limited.
In this optional embodiment, the real-time remaining water amount meeting the water shortage pre-prompting condition specifically includes:
the real-time residual water quantity is lower than the single water consumption corresponding to the second prediction function; or the real-time residual water quantity is lower than the single water consumption corresponding to the first prediction function;
the real-time residual water quantity does not meet the water shortage pre-prompting condition specifically comprises the following steps:
the real-time residual water quantity is higher than or equal to the single water consumption corresponding to the second prediction function.
In the optional embodiment, the water consumption functions of the historical use coffee machine of the user can be checked and analyzed through big data, the water consumption frequency, the water consumption period and the water consumption of each combined water consumption function are analyzed through big data, the first water consumption information and the second water consumption information are checked, and the accuracy of determining the information required by the water shortage early warning is improved; thereby being beneficial to improving the accuracy of the subsequent determination of the water shortage pre-prompt information.
Example III
Referring to fig. 3, fig. 3 is a schematic structural diagram of an intelligent water shortage monitoring and soft protection system of a coffee machine according to an embodiment of the present invention. As shown in fig. 3, the intelligent water shortage monitoring and soft protecting system of the coffee machine may include an acquisition module 301, an analysis module 302, and a water shortage management module 303, wherein:
The acquisition module 301 is configured to acquire a water level detection signal fed back by the photoelectric sensor.
The analysis module 302 is configured to analyze the water level detection signal to obtain a water level state of the water tank, where the water level state includes a first water level state or a non-first water level state that indicates that a current water level of the water tank is lower than a preset first detected water level.
The water-shortage control module 303 is configured to execute a water-shortage control operation on the coffee machine according to a preset soft protection program when it is determined that the water level state of the water tank is the first water level state, so as to prompt a user that the coffee machine needs to be filled with water, where the water-shortage control operation includes a water-shortage prompt and/or a water-shortage disabling control
Therefore, the intelligent water shortage monitoring and soft protection system of the coffee machine described in the embodiment 3 can intelligently detect the water level in the water tank through the non-contact photoelectric sensor, and the non-contact photoelectric sensor is arranged so as not to be in direct contact with the water stored in the water tank, and is different from the traditional Hall sensor arrangement; in addition, when the water tank meets the water shortage condition (in a first water level detection state), the water shortage control of the coffee machine can be accurately started, the condition that the coffee machine is damaged due to the fact that the water pump is empty is reduced, namely, the soft protection measure of the flowmeter is beneficial to prolonging the service life of the coffee machine.
In an alternative embodiment, the first water level state includes a first sub-state or a second sub-state, and when the water tank is in the first sub-state, the remaining water amount of the water tank is not lower than a preset second detection water level; when the water tank is in the second sub-state, the residual water quantity of the water tank is lower than the second detection water level or the residual water quantity is 0; the first detected water level is higher than the second detected water level;
the water-lack pipe control module 303 performs water-lack pipe control operation on the coffee machine according to a preset soft protection program, which specifically includes:
when the water level state of the water tank is determined to be a first water level state, and when the water level state of the water tank is in a first sub-state, generating a first control parameter for the coffee machine according to a preset first water shortage control program in combination with the water level state, wherein the first control parameter comprises a first lamp control parameter and a first sensing control parameter;
switching a water shortage prompting lamp of the coffee machine to be in a normally-on state according to the first lamp control parameter; meanwhile, controlling the photoelectric sensor to carry out water supplementing detection according to the first sensing control parameter to obtain a corresponding water supplementing detection result;
after the water supplementing detection result is determined to indicate that the water level of the water tank is in a non-first water level state, the water shortage indicator lamp of the coffee machine is switched to be in a normally dark state.
In the optional embodiment, a control program for water shortage prompt is set for the water level state of the water tank in the first sub-state, so that a user can intuitively and clearly determine that the water tank is in the water shortage state; the water replenishing detection flow can timely adjust the water shortage indicator lamp to be in a normally dark state after the water tank is replenished with water, and display accuracy of the water shortage indicator lamp is improved.
In another alternative embodiment, the water-lack management module 303 performs water-lack management operation on the coffee machine according to a preset soft protection program, and specifically further includes:
when the water level state of the water tank is determined to be the first water level state, and when the water level state of the water tank is in the second sub-state, generating second control parameters for the coffee machine according to a preset second water shortage control program in combination with the water level state, wherein the second control parameters comprise a second lamp control parameter, a second sensing control parameter and a water outlet control parameter;
switching the water shortage indicator lamp of the coffee machine to be in a continuous flashing state according to the second lamp control parameter; meanwhile, all functions of the coffee machine which need water are forbidden forcedly according to the water outlet control parameters;
and then controlling the photoelectric sensor to carry out water supplementing detection according to the second sensing control parameter until the water level of the water tank is determined to be in a state other than the first water level, switching the water shortage indicator lamp of the coffee machine to be in a normally dark state, and simultaneously recovering all functions of the coffee machine which need water.
In the optional embodiment, the water level state of the water tank is in the second sub-state, the water level of the water tank is close to 0, and the user still continues to operate the coffee machine, and a forced control program is set at the moment, so that on one hand, the continuous flashing lamp is used for strongly reminding that the coffee machine is in the water shortage state, and the reminding intensity of the user for definitely determining that the water tank is in the water shortage state is improved; the water outlet forced disabling program can force to disable all water using functions of the coffee machine, timely start the functions of preventing idle burning and preventing idle pumping of the water pump of the coffee machine, and is beneficial to improving the use safety of the coffee machine and prolonging the service life; further, after the completion of water supplementing of the water tank is detected, the water-lack prompting lamp can be timely adjusted to be dark, the water-using function of the coffee machine is recovered, and the display accuracy and timeliness of the water-lack prompting lamp and the recovery and forbidden accuracy of the water-using function of the coffee machine are improved.
In yet another optional embodiment, the obtaining module 301 is further configured to obtain water consumption information corresponding to each water usage function in the coffee machine when it is determined that the water level state of the water tank is not the first water level state, where the water consumption information corresponding to each water usage function includes a usage frequency, a single water consumption, and a usage period of the water usage function;
As shown in fig. 4, the system further includes a determining module 304, a judging module 305, and a switching module 306, where:
the determining module 304 is configured to determine, according to the water consumption information corresponding to all the water consumption functions, the first water consumption information and the second water consumption information by combining the current monitoring time and the real-time residual water quantity of the water tank; the first water consumption information is corresponding to the function with the highest next starting probability of the user in all water consumption functions; the second water consumption information is corresponding to the function with the highest water consumption in all water consumption functions;
the judging module 305 is configured to judge whether the real-time residual water amount meets a preset water shortage pre-prompting condition according to the first water consumption information and the second water consumption information;
a switching module 306, configured to switch the photoelectric sensor to a sleep state when the determining module 305 determines that the real-time remaining water amount does not meet the water shortage pre-prompting condition and determines that the real-time remaining water amount is higher than a preset third detection water level;
the time length of the photoelectric sensor in the dormant state corresponds to the difference time length, and the difference time length is the time length required by the consumption of the third detection water level to the first detection water level, which is calculated in advance.
Therefore, in this optional embodiment, a prediction program of water shortage is set, so that the subsequent water consumption of the coffee machine can be intelligently evaluated, and when the water consumption of the next water consumption function is evaluated not to be excessive (the real-time residual water quantity does not meet the preset water shortage pre-prompting condition), the photoelectric sensor is controlled to be in a dormant state, so that the running time of the photoelectric sensor is reduced, the service life of the photoelectric sensor is prolonged, and the energy consumption of the coffee machine is reduced.
In another optional embodiment, the determining module 304 is further configured to determine a first water function corresponding to the first water consumption information and a second water function corresponding to the second water consumption information when the judging module 305 judges that the real-time remaining water amount meets the water shortage pre-prompting condition;
the system further comprises a generation module 307, a pre-management module 308, wherein:
a generating module 307, configured to generate a water shortage pre-prompt message according to the first water function and the second water function;
the pre-control module 308 is configured to feed back a water shortage pre-prompt message to a terminal associated with the coffee machine by a user; or when the user starts the coffee machine next time, matching a certain water use function selected by the user with the water shortage pre-prompting information, and when the two are matched, switching the water shortage prompting lamp of the coffee machine to be in a normally-on state according to the water shortage pre-prompting information, and generating a pre-control parameter according to the water shortage pre-prompting information, wherein the pre-control parameter is used for directly interrupting the operation of all the water use functions when the real-time residual water quantity is detected to be lower than the second detection water level.
In the optional embodiment, aiming at the condition that the real-time residual water quantity meets the water shortage pre-prompting condition, the water shortage pre-prompting information can be automatically generated and directly fed back to the terminal of the user, so that the direct water shortage early warning is realized; when the user detects that a certain water use function is matched with the water shortage pre-prompt information when the coffee machine is started subsequently, the water shortage control is directly carried out through the water shortage pre-prompt information, so that the speed of the real control is improved.
In yet another alternative embodiment, the determining module 304 determines the first water consumption information and the second water consumption information according to the water consumption information corresponding to all the water usage functions, in combination with the current monitoring time and the real-time remaining water volume of the water tank, where the determining method specifically includes:
according to the water use frequency and the water use time period corresponding to each water use function, combining the current monitoring time and the monitoring time period in which the current monitoring time is positioned, determining all the water use functions to be determined by a user in the monitoring time period or the next preset time period corresponding to the monitoring time period;
recording the function with the forefront water sequence corresponding to all the undetermined water functions as a first prediction function, and determining water consumption information corresponding to the first prediction function as first water consumption information;
and determining the function with the highest single water consumption according to the single water consumption corresponding to each water consumption function, marking the function as a second prediction function, and determining the water consumption information corresponding to the second prediction function as second water consumption information.
In this optional embodiment, it should be noted that the meeting of the water shortage pre-prompting condition by the real-time residual water amount specifically includes:
the real-time residual water quantity is lower than the single water consumption corresponding to the second prediction function; or the real-time residual water quantity is lower than the single water consumption corresponding to the first prediction function;
The real-time residual water quantity does not meet the water shortage pre-prompting condition specifically comprises the following steps:
the real-time residual water quantity is higher than or equal to the single water consumption corresponding to the second prediction function.
In the optional embodiment, the water consumption functions of the historical use coffee machine of the user can be checked and analyzed through big data, the water consumption frequency, the water consumption period and the water consumption of each combined water consumption function are analyzed through big data, the first water consumption information and the second water consumption information are checked, and the accuracy of determining the information required by the water shortage early warning is improved; thereby being beneficial to improving the accuracy of the subsequent determination of the water shortage pre-prompt information.
Example IV
Referring to fig. 5, fig. 5 is a schematic structural diagram of an intelligent water shortage monitoring and soft protection system of a coffee machine according to another embodiment of the present invention. As shown in fig. 5, the intelligent water shortage monitoring and soft protecting system of the coffee machine may include:
a memory 401 storing executable program codes;
a processor 402 coupled with the memory 401;
the processor 402 invokes executable program codes stored in the memory 401 to execute the steps in the intelligent water shortage monitoring and soft protection method of the coffee machine described in the first or second embodiment of the present invention.
Example five
The embodiment of the invention discloses a computer storage medium which stores computer instructions for executing the steps in the intelligent water shortage monitoring and soft protecting method of the coffee machine described in the first or second embodiment of the invention when the computer instructions are called.
Example six
An embodiment of the present invention discloses a computer program product comprising a non-transitory computer storage medium storing a computer program, and the computer program is operable to cause a computer to perform the steps of the intelligent water deficiency monitoring and soft protecting method of a coffee machine described in embodiment one or embodiment two.
The apparatus embodiments described above are merely illustrative, in which the modules illustrated as separate components may or may not be physically separate, and the components shown as modules may or may not be physical, i.e., may be located in one place, or may be distributed over multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above detailed description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course by means of hardware. Based on such understanding, the foregoing technical solutions may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer storage medium including Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), programmable Read-Only Memory (PROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), one-time programmable Read-Only Memory (OTPROM), electrically erasable programmable Read-Only Memory (EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM) or other optical disc Memory, magnetic disk Memory, tape Memory, or any other medium readable by a computer that can be used to carry or store data.
Finally, it should be noted that: the embodiment of the invention discloses an intelligent water shortage monitoring and soft protecting method and system of a coffee machine, which are disclosed by the embodiment of the invention only as a preferred embodiment of the invention, and are only used for illustrating the technical scheme of the invention, but not limiting the technical scheme; although the invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that; the technical scheme recorded in the various embodiments can be modified or part of technical features in the technical scheme can be replaced equivalently; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (10)

1. An intelligent water shortage monitoring and soft protecting method of a coffee machine is characterized in that a water tank of the coffee machine is provided with a photoelectric sensor for detecting water shortage, and the photoelectric sensor is not in direct contact with water in the water tank; the method comprises the following steps:
acquiring a water level detection signal fed back by the photoelectric sensor, and analyzing the water level detection signal to obtain a water level state of the water tank, wherein the water level state comprises a first water level state or a non-first water level state which indicates that the current water level of the water tank is lower than a preset first detection water level;
When the water level state of the water tank is determined to be the first water level state, according to a preset water shortage soft protection program, water shortage control operation is executed on the coffee machine so as to prompt a user that the coffee machine needs to be added with water, and the water shortage control operation comprises water shortage prompt and/or water outlet forbidden control.
2. The intelligent water shortage monitoring and soft protecting method of a coffee machine according to claim 1, wherein the first water level state includes a first sub-state or a second sub-state, and when the water tank is in the first sub-state, the remaining water amount of the water tank is not lower than a preset second detection water level; when the water tank is in the second sub-state, the residual water quantity of the water tank is lower than the second detection water level or the residual water quantity is 0; the first detected water level is higher than the second detected water level;
when the water level state of the water tank is determined to be the first water level state, the water shortage control operation is executed on the coffee machine according to a preset water shortage soft protection program, and the method comprises the following steps:
when the water level state of the water tank is in the first sub-state, generating a first control parameter for the coffee machine according to a preset first water shortage control program in combination with the water level state, wherein the first control parameter comprises a first lamp control parameter and a first sensing control parameter;
Switching a water shortage prompting lamp of the coffee machine to be in a normally-on state according to the first lamp control parameter; meanwhile, controlling the photoelectric sensor to carry out water supplementing detection according to the first sensing control parameter to obtain a corresponding water supplementing detection result;
and after the water supplementing detection result is determined to indicate that the water level of the water tank is in the non-first water level state, switching the water shortage indicator lamp of the coffee machine to be in a normally dark state.
3. The intelligent water shortage monitoring and soft protecting method of a coffee machine according to claim 2, wherein when it is determined that the water level state of the water tank is the first water level state, the performing water shortage control operation on the coffee machine according to a preset water shortage soft protecting program further comprises:
when the water level state of the water tank is in the second sub-state, generating a second control parameter for the coffee machine according to a preset second water shortage control program in combination with the water level state, wherein the second control parameter comprises a second lamp control parameter, a second sensing control parameter and a water outlet control parameter;
switching a water shortage indicator lamp of the coffee machine to be in a continuous flashing state according to the second lamp control parameter; meanwhile, the functions of all the coffee machines which need water are forbidden forcedly according to the water outlet control parameters;
And then controlling the photoelectric sensor to carry out water supplementing detection according to the second sensing control parameter until the water level of the water tank is determined to be in the non-first water level state, switching the water shortage prompting lamp of the coffee machine to be in a normally dark state, and simultaneously recovering all functions of the coffee machine which need water.
4. A method of intelligent water shortage monitoring and soft protection for a coffee machine according to claim 2 or 3, characterized in that when it is determined that the water level state of the water tank is the non-first water level state, the method further comprises:
acquiring water consumption information corresponding to each water consumption function in the coffee machine, wherein the water consumption information corresponding to each water consumption function comprises the use frequency, single water consumption and use time period of the water consumption function;
according to the water consumption information corresponding to all the water consumption functions, combining the current monitoring time and the real-time residual water quantity of the water tank, and determining first water consumption information and second water consumption information; the first water consumption information is the water consumption information corresponding to the function with the highest next starting probability of the user in all the water using functions; the second water consumption information is the water consumption information corresponding to the function with the highest water consumption in all the water consumption functions;
Judging whether the real-time residual water quantity meets a preset water shortage pre-prompting condition according to the first water consumption information and the second water consumption information;
when the real-time residual water quantity is judged to not meet the water shortage pre-prompting condition, and when the real-time residual water quantity is determined to be higher than a preset third detection water level, switching the photoelectric sensor to a dormant state;
the time length of the photoelectric sensor in the dormant state corresponds to a difference time length, and the difference time length is a time length which is calculated in advance and is needed to be consumed from the third detection water level to the first detection water level.
5. The intelligent water shortage monitoring and soft protecting method of a coffee machine according to claim 4, wherein when it is judged that the real-time remaining water amount satisfies the water shortage pre-hint condition, the method further comprises:
determining a first water function corresponding to the first water consumption information and a second water function corresponding to the second water consumption information;
generating water shortage pre-prompt information according to the first water function and the second water function;
feeding the water shortage pre-prompt information back to a terminal associated with the coffee machine by the user; or,
When the user starts the coffee machine next time, matching a certain water use function selected by the user with the water shortage pre-prompting information, and when the user determines that the water use function and the water shortage pre-prompting information are matched, switching the water shortage prompting lamp of the coffee machine to be in a normally-on state according to the water shortage pre-prompting information, and generating a pre-control parameter according to the water shortage pre-prompting information, wherein the pre-control parameter is used for directly interrupting the operation of all the water use functions when the fact that the real-time residual water quantity is lower than the second detection water level is detected.
6. The intelligent water shortage monitoring and soft protecting method of the coffee machine according to claim 4, wherein the determining the first water consumption information and the second water consumption information according to the water consumption information corresponding to all the water consumption functions, in combination with the current monitoring time and the real-time residual water amount of the water tank, includes:
according to the water use frequency and the water use time period corresponding to each water use function, combining the current monitoring time and the monitoring time period of the current monitoring time, and determining all to-be-determined water use functions of the user in the monitoring time period or the next preset time period corresponding to the monitoring time period;
recording the function with the forefront water sequence corresponding to all the undetermined water functions as a first prediction function, and determining the water consumption information corresponding to the first prediction function as first water consumption information;
And determining the function with the highest single water consumption according to the single water consumption corresponding to each water consumption function, marking the function as a second prediction function, and determining the water consumption information corresponding to the second prediction function as second water consumption information.
7. The intelligent water shortage monitoring and soft protecting method of a coffee machine according to claim 6, wherein the real-time residual water quantity meeting the water shortage pre-prompting condition specifically comprises:
the real-time residual water quantity is lower than the single water consumption corresponding to the second prediction function; or the real-time residual water quantity is lower than the single water consumption corresponding to the first prediction function;
the real-time residual water quantity does not meet the water shortage pre-prompting condition specifically comprises the following steps:
and the real-time residual water quantity is higher than or equal to the single water consumption corresponding to the second prediction function.
8. An intelligent water shortage monitoring and soft protecting system of a coffee machine is characterized in that a water tank of the coffee machine is provided with a photoelectric sensor for detecting water shortage, and the photoelectric sensor is not in direct contact with water in the water tank; the system comprises:
the acquisition module is used for acquiring a water level detection signal fed back by the photoelectric sensor;
The analysis module is used for analyzing the water level detection signal to obtain the water level state of the water tank, wherein the water level state comprises a first water level state or a non-first water level state which indicates that the current water level of the water tank is lower than a preset first detection water level;
and the water shortage control module is used for executing water shortage control operation on the coffee machine according to a preset water shortage soft protection program when the water level state of the water tank is determined to be the first water level state so as to prompt a user that the coffee machine needs to be added with water, wherein the water shortage control operation comprises a water shortage prompt and/or water outlet forbidden control.
9. An intelligent water shortage monitoring and soft protection system for a coffee machine, the system comprising:
a memory storing executable program code;
a processor coupled to the memory;
the processor invokes the executable program code stored in the memory to perform the intelligent water deficiency monitoring and soft protecting method of the coffee machine of any one of claims 1-7.
10. A computer storage medium storing computer instructions for performing the intelligent water deficiency monitoring and soft protecting method of the coffee machine according to any one of claims 1-7 when called.
CN202311528103.0A 2023-11-15 2023-11-15 Intelligent water shortage monitoring and soft protecting method and system for coffee machine Pending CN117378931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311528103.0A CN117378931A (en) 2023-11-15 2023-11-15 Intelligent water shortage monitoring and soft protecting method and system for coffee machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311528103.0A CN117378931A (en) 2023-11-15 2023-11-15 Intelligent water shortage monitoring and soft protecting method and system for coffee machine

Publications (1)

Publication Number Publication Date
CN117378931A true CN117378931A (en) 2024-01-12

Family

ID=89468365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311528103.0A Pending CN117378931A (en) 2023-11-15 2023-11-15 Intelligent water shortage monitoring and soft protecting method and system for coffee machine

Country Status (1)

Country Link
CN (1) CN117378931A (en)

Similar Documents

Publication Publication Date Title
CN106527664B (en) Self-service terminal energy-saving control method and device
CN107063387B (en) Water fullness detection method and device for water storage equipment and dehumidifier
FR2737616A1 (en) CONTROL SYSTEM AND CONTROL METHOD FOR NON-BREAKING POWER SUPPLY
CN105865037B (en) A kind of interior water heater group group automatic control system with learning algorithm of building
JP2004528972A (en) Automatic salt level monitor for water softeners.
CN110244580B (en) Method and device for controlling replacement of water bucket, drinking water supply device and storage medium
CN111202437A (en) Method for monitoring water level of steam box
CN117378931A (en) Intelligent water shortage monitoring and soft protecting method and system for coffee machine
CN107767292B (en) Intelligent water supply management system and method thereof
KR970027445A (en) Water level detection method of washing machine using weight sensor
CN105425004A (en) Electric energy measuring equipment and method and device for detecting electricity stealing event of same
CN110720840A (en) Full-automatic liquid filling method and device for liquid drinking machine and liquid drinking machine
CN108776310A (en) A kind of battery fuel gauge systems based on big data
US6215280B1 (en) Portable optical code reader with a device for controlling the charge state of the reader battery
CN111208758A (en) Single-path wine distribution method and device based on internet of things metering control of wine distribution amount
CN115728642A (en) Method and device for determining percentage of electric quantity of battery, electric energy meter and storage medium
CN113749588A (en) Dish washing device, salt amount control method thereof and computer storage medium
CN113029285B (en) Self-learning water level detection method of coffee machine and coffee machine
CN116644870B (en) Method and device for realizing gas information prediction
CN111305969A (en) Control method and device for LNG pump in HPDI gas supply system
CN202209801U (en) Intelligent water-feeding and alarming device of solar water heater
CN117306224A (en) Control method of clothes care machine
CN206320920U (en) A kind of water heater
CN111120708B (en) Operation control method and device of liquid inlet valve, cooking utensil and storage medium
CN112391793A (en) Washing machine control method, washing machine and storage medium

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