CN111568193A - Water outlet device control method, water outlet device and computer readable storage medium - Google Patents

Water outlet device control method, water outlet device and computer readable storage medium Download PDF

Info

Publication number
CN111568193A
CN111568193A CN202010132790.4A CN202010132790A CN111568193A CN 111568193 A CN111568193 A CN 111568193A CN 202010132790 A CN202010132790 A CN 202010132790A CN 111568193 A CN111568193 A CN 111568193A
Authority
CN
China
Prior art keywords
water outlet
water
container
weight
rate
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.)
Withdrawn
Application number
CN202010132790.4A
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.)
Foshan Viomi Electrical Technology Co Ltd
Original Assignee
Foshan Viomi Electrical Technology 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 Foshan Viomi Electrical Technology Co Ltd filed Critical Foshan Viomi Electrical Technology Co Ltd
Priority to CN202010132790.4A priority Critical patent/CN111568193A/en
Publication of CN111568193A publication Critical patent/CN111568193A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J31/00Apparatus for making beverages
    • A47J31/44Parts or details or accessories of beverage-making apparatus
    • 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/002Apparatus for making beverages following a specific operational sequence, e.g. for improving the taste of the extraction product
    • 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/58Safety devices

Landscapes

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

Abstract

The embodiment of the application discloses a water outlet device control method, a water outlet device and a computer readable storage medium, wherein the water outlet device can be controlled to discharge water at a first water outlet rate; acquiring the current first weight of a container receiving water; when the difference value between the first weight and the container weight of the container in the empty state is larger than a first preset threshold value, controlling the water outlet equipment to discharge water at a second water outlet rate, wherein the first water outlet rate is larger than the second water outlet rate; acquiring a current second weight of the container; and when the difference value between the second weight and the container weight is larger than a second preset threshold value, controlling the water outlet equipment to stop water outlet, wherein the first preset threshold value is smaller than the second preset threshold value. This scheme carries out different control through the different weight of container to water outlet rate, has improved flexibility and the security to water outlet device control.

Description

Water outlet device control method, water outlet device and computer readable storage medium
Technical Field
The application relates to the technical field of electronic equipment, in particular to a water outlet equipment control method, water outlet equipment and a computer readable storage medium.
Background
Along with the improvement of the living standard of people, the water dispenser is more and more popularized. At present, in the process of using a water dispenser, a user needs to control the water dispenser through key operation arranged on the water dispenser so as to finish water taking, and needs to continuously pay attention to the change of the water level in a water cup when receiving water, judge the water yield by human eyes, manually control water outlet, water cut-off and the like through keys, the user possibly overflows water if not paying attention to the water, waste of water resources is caused, the overflowing hot water also possibly causes scalding of the user and the like, and the flexibility and the safety of controlling the water dispenser are reduced.
Disclosure of Invention
The embodiment of the application provides a water outlet device control method, a water outlet device and a computer readable storage medium, which can improve the flexibility and the safety of water outlet device control.
In a first aspect, an embodiment of the present application provides a method for controlling a water outlet device, including:
controlling the water outlet equipment to discharge water according to the first water outlet rate;
acquiring the current first weight of a container receiving water;
when the difference value between the first weight and the container weight of the container in the empty state is larger than a first preset threshold value, controlling the water outlet equipment to discharge water at a second water outlet rate, wherein the first water outlet rate is larger than the second water outlet rate;
acquiring a current second weight of the container;
and when the difference value between the second weight and the container weight is larger than a second preset threshold value, controlling the water outlet equipment to stop water outlet, wherein the first preset threshold value is smaller than the second preset threshold value.
In a second aspect, an embodiment of the present application further provides a water outlet device, which includes a memory and a processor, where the memory stores a computer program, and the processor executes any one of the water outlet device control methods provided in the embodiments of the present application when calling the computer program in the memory.
In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium is used for storing a computer program, and the computer program is loaded by a processor to execute any one of the water outlet device control methods provided in the embodiments of the present application.
According to the embodiment of the application, the water outlet equipment can be controlled to discharge water according to the first water outlet rate; acquiring the current first weight of a container receiving water; when the difference value between the first weight and the container weight of the container in the empty state is larger than a first preset threshold value, the fact that the water in the container is more or is full is indicated, in order to avoid splashing of the water in the container, the water outlet equipment is controlled to discharge water according to a second water outlet rate, and the first water outlet rate is larger than the second water outlet rate; acquiring a current second weight of the container; when the difference between the second weight and the weight of the container is larger than a second preset threshold, the container finishes receiving water or the container is full of water, the water outlet device can be controlled to stop water outlet, and the first preset threshold is smaller than the second preset threshold. This scheme carries out different control through the different weight of container to water outlet rate, has improved flexibility and the security to water outlet device control.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a control method of a water outlet device provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of a container moving according to an embodiment of the present disclosure;
FIG. 3 is a schematic view of a base of the water outlet apparatus provided by the embodiment of the present application with a pressure sensor;
FIG. 4 is a schematic view of a base setting button of the water outlet device provided in the embodiment of the present application;
fig. 5 is a schematic structural diagram of a water outlet device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The embodiment of the application provides a water outlet device control method, a water outlet device and a computer readable storage medium. The water outlet equipment control method can be applied to water outlet equipment, and the water outlet equipment can comprise a water dispenser, a faucet, a coffee machine, a soybean milk machine, a fruit juice machine and the like.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a control method of a water outlet apparatus according to an embodiment of the present application. The water outlet equipment control method may include steps S101 to S105, and the like, and specifically may be as follows:
s101, controlling the water outlet equipment to discharge water according to a first water outlet rate.
When the water outlet device is a water dispenser, the type, structure and the like of the water dispenser can be flexibly arranged according to actual needs, for example, the water dispenser can be provided with a water outlet, a base below the water outlet and used for placing a container for receiving water, a machine body for placing a water source and the like. The first water outlet rate can be flexibly set according to actual needs, for example, the first water outlet rate input by a user can be received, or the first water outlet rate can be dynamically and automatically determined according to the current situation, and the like.
In some embodiments, controlling the water output device to output water at the first water output rate may include: acquiring identity information of a user placing a container; determining a first water outlet rate according to the identity information; and controlling the water outlet equipment to discharge water according to the first water outlet rate.
In order to improve the flexibility of water outlet of the water outlet equipment, water can be discharged at different water outlet rates according to the requirements of different users. Specifically, the identity information of the user placing the container may be obtained first, for example, a face image of the user may be collected by a camera, and the identity information of the user may be determined according to the face image. For another example, the fingerprint of the user may be collected by a fingerprint collecting module preset on the water outlet device, and the identity information of the user may be determined according to the fingerprint. Then, a first water outlet rate can be determined according to the identity information of the user, and the first water outlet rate can be flexibly set according to actual needs, for example, the first water outlet rate corresponding to the user a is a, and for example, the first water outlet rate corresponding to the user B is B, and the like. At this time, the water outlet device can be controlled to start water outlet according to the first water outlet rate.
Alternatively, the water may be discharged at different discharge rates depending on the volume of the different containers. Specifically, first, a volume of the container is obtained, for example, the volume of the container input by a user may be received, or a plurality of images including the container are acquired from different angles, a bottom area, a height and the like of the container are respectively determined according to different images, and the volume of the container is calculated according to the bottom area and the height; alternatively, the bottom area, height, port area, etc. of the container are obtained and the volume of the container is calculated from the bottom area, height, and port area. At this time, the first water outlet rate can be determined according to the volume of the container, and the larger the volume of the container is, the larger the first water outlet rate is; the smaller the volume of the container, the smaller the first water outflow rate.
Alternatively, the water may be discharged at different discharge rates depending on the port size of the different containers. Specifically, the port size of the container is first obtained, for example, an image containing the container may be captured by a camera, the port size of the container may be determined from the image, or the port size of the container input by the user may be received. At this time, the first water outlet rate can be determined according to the size of the port of the container, and the larger the size of the port of the container is, the larger the first water outlet rate is; the smaller the port size of the vessel, the smaller the first water exit rate.
In some embodiments, controlling the water output device to output water at the first water output rate may include: detecting the position of a container placed below a water outlet of the water outlet equipment; when the position is not matched with the water outlet area of the water outlet, detecting the moving direction and the moving distance of the container needing to move when the container is matched with the water outlet area; adjusting the container according to the moving direction and the moving distance; and after the container is adjusted, controlling the water outlet device to discharge water according to the first water outlet rate.
The type of the container can be flexibly set according to actual needs, and the container is a water cup such as a plastic cup, a ceramic cup, a glass cup or a vacuum cup.
Before the water outlet device starts to discharge water, the position of a container placed below a water outlet of the water outlet device may be detected in advance, for example, the position of the container may be detected by a sensor or a camera, when the position of the container does not match a water outlet area of the water outlet, it is described that a port of the container is not aligned with the water outlet of the water outlet device, so that water flowing out of the water outlet cannot flow into the container, at this time, as shown in fig. 2, a moving direction and a moving distance in which the container needs to move when the container matches the water outlet area may be detected, the container may be adjusted (e.g., moved) according to the moving direction and the moving distance, for example, prompt information may be output to prompt a user to adjust the container according to the moving direction and the moving distance, or the container may be automatically adjusted according to the moving direction and. After the container is adjusted, the water outlet device is controlled to start water outlet according to the first water outlet rate, so that water can accurately flow into the container, and water resources are prevented from being wasted due to the fact that the water flows out of the container.
In some embodiments, controlling the water output device to output water at the first water output rate may include: detecting a pressure value through a pressure sensor preset on a base below a water outlet of the water outlet equipment, when the pressure value is larger than a preset pressure threshold value, determining that a container is placed below the water outlet of the water outlet equipment, and controlling the water outlet equipment to discharge water according to a first water discharge rate; or when detecting that a button preset on a base below a water outlet of the water outlet equipment is triggered, determining that a container is placed below the water outlet of the water outlet equipment, and controlling the water outlet equipment to discharge water according to a first water discharge rate; or acquiring an initial image below the water outlet of the water outlet device, determining that the container is placed below the water outlet of the water outlet device when the container is identified from the initial image, and controlling the water outlet device to discharge water according to the first water discharge rate.
In order to improve the accuracy of water outlet of the water outlet equipment, a container can be placed below the water outlet of the water outlet equipment, and then water outlet is carried out. In an embodiment, a pressure sensor may be preset at a position for placing the container in the water receiving area of the water outlet device, for example, as shown in fig. 3, a base for placing the water receiving area of the container (i.e., a base below the water outlet of the water outlet device) may be covered with the pressure sensor, and when an object is placed at the position, the pressure sensor may detect the pressure value. At the moment, when a container is placed in a water receiving area of the water outlet device, a pressure sensor preset at the position where the container is placed can be used for detecting the received pressure value, when the pressure value is larger than a preset pressure threshold value, the container is placed below a water outlet of the water outlet device, and at the moment, the water outlet device can be controlled to discharge water according to a first water outlet speed; when the pressure value is less than or equal to the preset pressure threshold value, the container is not placed below the water outlet of the water outlet device, wherein the preset pressure threshold value can be flexibly set according to actual needs.
In another embodiment, one or more buttons may be pre-arranged on the base below the water outlet of the water outlet device, and the type, size, position, color, etc. of the buttons may be flexibly arranged according to actual needs, for example, as shown in fig. 4, when the container is placed on the base, the bottom of the container may press the button, and the button is triggered. When detecting that a button preset on a base below a water outlet of the water outlet equipment is triggered, determining that a container is placed below the water outlet of the water outlet equipment, and controlling the water outlet equipment to discharge water at a first water discharge rate; when detecting that a button preset on a base below a water outlet of the water outlet equipment is not triggered, determining that a container is not placed below the water outlet of the water outlet equipment.
In another embodiment, an initial image below the water outlet of the water outlet device may be collected by a preset camera near the water outlet of the water outlet device or by a camera outside the water outlet device, and then the initial image is recognized by a preset recognition model or a pixel ratio equivalent mode, where the recognition model may be obtained by training based on a plurality of sample images including a container. When the container is identified from the initial image, determining that the container is placed below a water outlet of the water outlet device, and controlling the water outlet device to discharge water according to a first water outlet rate; and when the container is not identified from the initial image, determining that the container is not placed below the water outlet of the water outlet device.
S102, acquiring the current first weight of the container receiving water.
After the water outlet equipment starts to discharge water, the current first weight of the container for receiving water can be acquired in real time or at preset time intervals, and the preset time can be flexibly set according to actual needs.
In some embodiments, obtaining the current first weight of the receptacle receiving water may include: a first weight of water currently loaded in the container is detected through a gravity sensor preset on a base where the container is placed.
For example, a gravity sensor or an electronic scale may be disposed on a base of the container for placing the water outlet apparatus, and the gravity sensor or the electronic scale may be disposed on the base for detecting a weight of the container, and during the process of discharging water from the water outlet apparatus at the first water discharge rate, a first weight of the container currently loaded with water may be detected by the gravity sensor or the electronic scale, and the first weight may include a weight of the container itself and a weight of the water.
In some embodiments, obtaining the current first weight of the receptacle receiving water may include: acquiring the current water outlet time when the water outlet equipment is used for discharging water according to the first water outlet speed; determining a first water amount according to the water outlet time and the first water outlet speed; a first weight of the container currently loaded with water is determined based on the first amount of water and the density of the water.
For example, the time for starting water output may be recorded when the water output device starts to output water according to the first water output rate, and the current time may be recorded when the current first water amount is obtained, and the current water output time when the water output device outputs water according to the first water output rate may be determined according to the difference between the time for starting water output and the current time. Or when the water outlet equipment starts to discharge water according to the first water discharge rate, starting a timer to start timing until the current time, so as to obtain the current water discharge time when the water outlet equipment discharges water according to the first water discharge rate, wherein the water discharge time is the total time consumed from the beginning of water discharge to the current water discharge. The first water outlet rate can be the water amount in unit time, then the first water amount can be determined according to the product of the water outlet time and the first water outlet rate, the weight of the currently loaded water in the container is determined according to the first water amount and the density of the water, the first weight is obtained by adding the weight of the water and the weight of the container in an empty state, and the accuracy and convenience of determining the first weight are improved.
S103, when the difference value between the first weight and the container weight of the container in the empty state is larger than a first preset threshold value, controlling the water outlet equipment to discharge water at a second water outlet rate, wherein the first water outlet rate is larger than the second water outlet rate.
In some embodiments, when the difference between the first weight and the container weight of the container in the empty state is greater than the first preset threshold, before the water outlet device is controlled to discharge water at the second water discharge rate, the water outlet device control method may further include: detecting the weight of the container in an empty state by a gravity sensor preset on a base for placing the container; alternatively, a user input of a container weight of the container in an empty state is received.
For example, the weight of the container in an empty state can be detected by a gravity sensor preset on a base on which the container is placed, or the weight of the container in an empty state can be detected by an electronic scale, and the water outlet device can receive the weight of the container sent by the electronic scale. For another example, an input interface may be displayed in a display screen of the water outlet apparatus, and then the container weight input by the user may be received in the input interface, or the water outlet apparatus may establish a communication connection with a mobile terminal (e.g., a mobile phone), at this time, the water outlet apparatus may receive the container weight sent by the mobile terminal, where the container weight may be input by the user through the input interface of the mobile terminal, so that the mobile terminal may send the container weight to the water outlet apparatus after receiving the container weight input by the user.
After the current first weight and the container weight are obtained, the difference between the first weight and the container weight can be obtained, and whether the difference between the first weight and the container weight is larger than a first preset threshold value or not is judged, wherein the first preset threshold value can be flexibly set according to actual needs. When the difference between the first weight and the container weight is greater than a first preset threshold value, it is indicated that the amount of water in the container is large, that is, water receiving is to be completed, and at this time, in order to avoid continuing to perform water discharging at the first water discharging rate, water is easily splashed out from the container, so that the water discharging rate of the water discharging device can be reduced, that is, the water discharging device is controlled to perform water discharging at the second water discharging rate, and the first water discharging rate is greater than the second water discharging rate.
The second water outlet rate may be flexibly set according to actual needs, for example, the remaining volume of the container that is not currently filled with water may be calculated by the first water level, or the water amount of water that is currently discharged is determined according to the first water outlet rate and the time for the water dispenser to discharge water according to the first water outlet rate, the time and the first water outlet rate, the water amount is compared with the volume of the container, and the remaining volume of the container that is not currently filled with water is determined, at this time, the second water outlet rate may be determined according to the remaining volume, where the larger the remaining volume is, the larger the second water outlet rate is, the smaller the remaining volume is, and the smaller the second water outlet rate is.
And S104, acquiring the current second weight of the container.
And in the process that the water outlet equipment discharges water according to the second water outlet rate, the current second weight of the container for receiving water can be acquired in real time or at preset time intervals, and the preset time can be flexibly set according to actual needs.
In some embodiments, obtaining the current second weight of the container may include: and detecting a second weight of the currently loaded water in the container through a gravity sensor preset on a base on which the container is placed.
For example, a gravity sensor or an electronic scale may be disposed on the base of the container for placing the water outlet device, so as to detect the weight of the container, and during the process of discharging water from the water outlet device at the second water discharge rate, a second weight of the container currently loaded with water may be detected by the gravity sensor or the electronic scale, which is preset on the base, and the second weight may include the weight of the container itself and the weight of the water.
In some embodiments, obtaining the current second weight of the container may include: acquiring first water outlet time when the water outlet equipment is used for discharging water according to the first water outlet speed, and acquiring second water outlet time when the water outlet equipment is used for discharging water according to the second water outlet speed; determining a second water quantity according to the first water outlet time, the second water outlet time, the first water outlet speed and the second water outlet speed; a second weight of the container currently loaded with water is determined based on the second quantity of water and the density of the water.
For example, when the water outlet device starts to outlet water according to the first water outlet rate, the time for starting to outlet water is recorded, when the water outlet device finishes to outlet water according to the first water outlet rate, the current time is recorded, and the first water outlet time when the water outlet device outputs water according to the first water outlet rate is determined according to the difference value between the time for starting to outlet water and the current time. Or when the water outlet equipment starts to discharge water according to the first water discharge rate, starting a timer to start timing until the water outlet equipment finishes discharging water according to the first water discharge rate, and obtaining first water discharge time, wherein the first water discharge time is the total consumed time from water discharge start to water discharge finish according to the first water discharge rate.
And when the water outlet equipment starts to outlet water according to the second water outlet rate, recording the time for starting to outlet water, recording the current time for discharging water according to the second water outlet rate, and determining the second water outlet time when the water outlet equipment discharges water according to the second water outlet rate according to the difference between the time for starting to discharge water and the current time. Or when the water outlet equipment starts to discharge water according to the second water discharge rate, starting a timer to start timing until the current water outlet equipment discharges water according to the second water discharge rate to obtain second water discharge time, wherein the second water discharge time is the total consumed time from water discharge start to current according to the second water discharge rate. At this time, the second water quantity can be obtained according to the product between the first water outlet time and the first water outlet speed and the product between the second water outlet speed and the second water outlet time, the weight of the currently loaded water in the container is determined according to the second water quantity and the density of the water, and the second weight is obtained by adding the weight of the water and the weight of the container in the empty state of the container, so that the accuracy and convenience of determining the second weight are improved.
And S105, when the difference value between the second weight and the container weight is larger than a second preset threshold value, controlling the water outlet equipment to stop water outlet, wherein the first preset threshold value is smaller than the second preset threshold value.
After the second weight is obtained, the difference between the second weight and the container weight can be obtained, and whether the difference between the second weight and the container weight is larger than a second preset threshold or not is judged, wherein the second preset threshold can be flexibly set according to actual needs. When the difference value between the second weight and the container weight is larger than the second preset threshold value, the fact that the water in the container is full or is full quickly is indicated, water receiving is completed, the water outlet device is controlled to stop water outlet, the water outlet speed of the water outlet device is dynamically controlled in the process of using the container to receive water, and convenient water receiving is achieved.
In some embodiments, the method for controlling a water outlet device may further include: in the process of water outlet of the water outlet equipment, detecting whether the container moves or whether foreign matters enter the container or not; when the container moves or foreign matters enter the container, controlling the water outlet equipment to stop water outlet; when the container does not move or foreign matters do not enter the container, the water outlet state of the water outlet device is maintained.
In the process of water outlet of the water outlet device, images of a water receiving area, where a container is placed, below a water outlet of the water outlet device can be collected in real time or at preset time intervals, and the preset time can be flexibly set according to actual needs. Then, whether the container moves or not is judged according to the image, for example, when the container is judged to shake or move from the lower part of the water outlet device based on one or more current images, identified by an identification model or through pixel ratio equality between different images, the container is judged to move. When the container moves, the water outlet device can be controlled to stop water outlet in order to avoid the situation that the container is easy to pour due to shaking or the container is moved away from the lower part of the water outlet device to cause water resource waste.
And judging whether foreign matters enter the container or not according to the image, wherein the foreign matters can comprise mosquitoes, insects and the like, for example, when the container is judged to have mosquitoes falling into the container based on one or more current images through recognition by a recognition model or through pixel ratio equality between different frame images, in order to avoid that a user drinks unclean water, the water outlet device can be controlled to stop water outlet. It should be noted that, whether the container moves or not and whether foreign matter enters the container or not may be detected at the same time, or only whether the container moves or not may be detected, or only whether foreign matter enters the container or not may be detected, and the specific content is not limited herein. When the container does not move or foreign matters do not enter the container, the water outlet state of the water outlet device is maintained until the condition of stopping water outlet is met, and the water outlet device is controlled to stop water outlet.
According to the embodiment of the application, the water outlet equipment can be controlled to discharge water according to the first water outlet rate; acquiring the current first weight of a container receiving water; when the difference value between the first weight and the container weight of the container in the empty state is larger than a first preset threshold value, the fact that the water in the container is more or is full is indicated, in order to avoid splashing of the water in the container, the water outlet equipment is controlled to discharge water according to a second water outlet rate, and the first water outlet rate is larger than the second water outlet rate; acquiring a current second weight of the container; when the difference between the second weight and the weight of the container is larger than a second preset threshold, the container finishes receiving water or the container is full of water, the water outlet device can be controlled to stop water outlet, and the first preset threshold is smaller than the second preset threshold. This scheme carries out different control through the different weight of container to water outlet rate, has improved flexibility and the security to water outlet device control.
Referring to fig. 5, fig. 5 is a schematic block diagram of a structure of a water outlet apparatus according to an embodiment of the present disclosure.
As shown in FIG. 5, the water outlet apparatus 300 may include a processor 302, a memory 303, and a communication interface 304 connected by a system bus 301, wherein the memory 303 may include a non-volatile computer-readable storage medium and an internal memory.
The non-transitory computer readable storage medium may store a computer program. The computer program includes program instructions that, when executed, cause a processor to perform any one of the methods of controlling a water outlet device.
The processor 302 is used to provide computing and control capabilities to support the operation of the overall water treatment apparatus.
The memory 303 provides an environment for the execution of computer programs in a non-transitory computer readable storage medium that, when executed by the processor 302, cause the processor 302 to perform any of the methods of controlling the water outlet device.
The communication interface 304 is used for communication. Those skilled in the art will appreciate that the structure shown in fig. 5 is only a block diagram of a part of the structure related to the present application, and does not constitute a limitation to the outlet device 300 to which the present application is applied, and a specific outlet device 300 may include more or less components than those shown in the figure, or combine some components, or have a different arrangement of components.
It should be understood that the bus 301 is, for example, an I2C (Inter-Integrated Circuit) bus, the Memory 303 may be a Flash chip, a Read-Only Memory (ROM), a magnetic disk, an optical disk, a usb disk, or a removable hard disk, the Processor 302 may be a Central Processing Unit (CPU), the Processor 302 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein, in some embodiments, the processor 302 is configured to run a computer program stored in the memory 303 to perform the steps of:
controlling the water outlet equipment to discharge water according to a first water discharge rate, acquiring the current first weight of a container for receiving water, and controlling the water outlet equipment to discharge water according to a second water discharge rate when the difference value between the first weight and the container weight of the container in an empty state is greater than a first preset threshold value, wherein the first water discharge rate is greater than the second water discharge rate; and acquiring the current second weight of the container, and controlling the water outlet equipment to stop water outlet when the difference value between the second weight and the weight of the container is greater than a second preset threshold value, wherein the first preset threshold value is smaller than the second preset threshold value.
In some embodiments, in controlling the water output apparatus to output water at the first water output rate, the processor 302 further performs: acquiring identity information of a user placing a container; determining a first water outlet rate according to the identity information; and controlling the water outlet equipment to discharge water according to the first water outlet rate.
In some embodiments, in controlling the water output apparatus to output water at the first water output rate, the processor 302 further performs: detecting the position of a container placed below a water outlet of the water outlet equipment; when the position is not matched with the water outlet area of the water outlet, detecting the moving direction and the moving distance of the container needing to move when the container is matched with the water outlet area; adjusting the container according to the moving direction and the moving distance; and after the container is adjusted, controlling the water outlet device to discharge water according to the first water outlet rate.
In some embodiments, in controlling the water output apparatus to output water at the first water output rate, the processor 302 further performs: detecting a pressure value through a pressure sensor preset on a base below a water outlet of the water outlet equipment, when the pressure value is larger than a preset pressure threshold value, determining that a container is placed below the water outlet of the water outlet equipment, and controlling the water outlet equipment to discharge water according to a first water discharge rate; or when detecting that a button preset on a base below a water outlet of the water outlet equipment is triggered, determining that a container is placed below the water outlet of the water outlet equipment, and controlling the water outlet equipment to discharge water according to a first water discharge rate; or acquiring an initial image below the water outlet of the water outlet device, determining that the container is placed below the water outlet of the water outlet device when the container is identified from the initial image, and controlling the water outlet device to discharge water according to the first water discharge rate.
In some embodiments, in obtaining the current first weight of the receptacle receiving water, processor 302 further performs: detecting a first weight of the current loaded water of the container through a gravity sensor preset on a base for placing the container; or acquiring the current water outlet time when the water outlet equipment is used for discharging water according to the first water outlet speed; determining a first water amount according to the water outlet time and the first water outlet speed; a first weight of the container currently loaded with water is determined based on the first amount of water and the density of the water.
In some embodiments, in obtaining the current second weight of the container, processor 302 further performs: detecting a second weight of the currently loaded water in the container through a gravity sensor preset on a base on which the container is placed; or acquiring a first water outlet time when the water outlet equipment is used for discharging water according to the first water outlet speed, and acquiring a second water outlet time when the water outlet equipment is used for discharging water according to the second water outlet speed; determining a second water quantity according to the first water outlet time, the second water outlet time, the first water outlet speed and the second water outlet speed; a second weight of the container currently loaded with water is determined based on the second quantity of water and the density of the water.
In some embodiments, before controlling the water output apparatus to output water at the second water output rate, the processor 302 further performs: detecting the weight of the container in an empty state by a gravity sensor preset on a base for placing the container; alternatively, a user input of a container weight of the container in an empty state is received.
In some embodiments, processor 302 further performs: in the process of water outlet of the water outlet equipment, detecting whether the container moves or whether foreign matters enter the container or not; when the container moves or foreign matters enter the container, controlling the water outlet equipment to stop water outlet; when the container does not move or foreign matters do not enter the container, the water outlet state of the water outlet device is maintained.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and a part which is not described in detail in a certain embodiment may refer to the above detailed description of the water outlet device control method, and is not described herein again.
The embodiment of the application further provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, the computer program comprises program instructions, and a processor executes the program instructions to realize any water outlet equipment control method provided by the embodiment of the application. For example, the computer program is loaded by a processor and may perform the following steps:
controlling the water outlet equipment to discharge water according to a first water discharge rate, acquiring the current first weight of a container for receiving water, and controlling the water outlet equipment to discharge water according to a second water discharge rate when the difference value between the first weight and the container weight of the container in an empty state is greater than a first preset threshold value, wherein the first water discharge rate is greater than the second water discharge rate; and acquiring the current second weight of the container, and controlling the water outlet equipment to stop water outlet when the difference value between the second weight and the weight of the container is greater than a second preset threshold value, wherein the first preset threshold value is smaller than the second preset threshold value.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The computer readable storage medium may be an internal storage unit of the water outlet device of the foregoing embodiment, for example, a hard disk or a memory of the water outlet device. The computer readable storage medium may also be an external storage device of the outlet device, such as a plug-in hard disk equipped on the outlet device, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like.
As the computer program stored in the computer-readable storage medium can execute any water outlet device control method provided in the embodiments of the present application, beneficial effects that can be achieved by any water outlet device control method provided in the embodiments of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
It is to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments. While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and various equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A control method of water outlet equipment is characterized by comprising the following steps:
controlling the water outlet equipment to discharge water according to the first water outlet rate;
acquiring the current first weight of a container receiving water;
when the difference value between the first weight and the container weight of the container in the empty state is larger than a first preset threshold value, controlling the water outlet equipment to discharge water at a second water outlet rate, wherein the first water outlet rate is larger than the second water outlet rate;
acquiring a current second weight of the container;
and when the difference value between the second weight and the container weight is larger than a second preset threshold value, controlling the water outlet equipment to stop water outlet, wherein the first preset threshold value is smaller than the second preset threshold value.
2. The method as claimed in claim 1, wherein said controlling the water output device to output water at the first water output rate comprises:
acquiring identity information of a user placing the container;
determining a first water outlet rate according to the identity information;
and controlling the water outlet equipment to discharge water according to the first water outlet rate.
3. The method as claimed in claim 1, wherein said controlling the water output device to output water at the first water output rate comprises:
detecting the position of the container placed below a water outlet of the water outlet device;
when the position is not matched with the water outlet area of the water outlet, detecting the moving direction and the moving distance of the container needing to move when the container is matched with the water outlet area;
adjusting the container according to the moving direction and the moving distance;
and after the container is adjusted, controlling the water outlet equipment to discharge water according to the first water outlet rate.
4. The method as claimed in claim 1, wherein said controlling the water output device to output water at the first water output rate comprises:
detecting a pressure value through a pressure sensor preset on a base below a water outlet of the water outlet equipment, and when the pressure value is greater than a preset pressure threshold value, determining that a container is placed below the water outlet of the water outlet equipment, and controlling the water outlet equipment to discharge water according to a first water outlet rate; alternatively, the first and second electrodes may be,
when detecting that a button preset on a base below a water outlet of the water outlet equipment is triggered, determining that a container is placed below the water outlet of the water outlet equipment, and controlling the water outlet equipment to discharge water according to a first water discharge rate; alternatively, the first and second electrodes may be,
the method comprises the steps of collecting an initial image below a water outlet of the water outlet device, determining that a container is placed below the water outlet of the water outlet device when the container is identified from the initial image, and controlling the water outlet device to discharge water according to a first water discharge rate.
5. The method for controlling a water outlet device according to claim 1, wherein the acquiring a current first weight of the container for receiving water comprises:
detecting a first weight of the currently loaded water of the container through a gravity sensor preset on a base on which the container is placed; alternatively, the first and second electrodes may be,
acquiring the current water outlet time when the water outlet equipment performs water outlet according to a first water outlet speed;
determining a first water amount according to the water outlet time and the first water outlet rate;
determining a first weight of the container currently loaded with water based on the first amount of water and the density of the water.
6. The method of claim 1, wherein the obtaining the current second weight of the container comprises:
detecting a second weight of the currently loaded water in the container through a gravity sensor preset on a base on which the container is placed; alternatively, the first and second electrodes may be,
acquiring first water outlet time when the water outlet equipment performs water outlet according to a first water outlet rate, and acquiring second water outlet time when the water outlet equipment performs water outlet according to a second water outlet rate;
determining a second water quantity according to the first water outlet time, the second water outlet time, the first water outlet rate and the second water outlet rate;
determining a second weight of the container currently loaded with water based on the second amount of water and the density of the water.
7. The method for controlling a water outlet device according to claim 1, wherein when the difference between the first weight and the weight of the container in the empty state of the container is greater than a first preset threshold, before the water outlet device is controlled to discharge water at a second water discharge rate, the method for controlling a water outlet device further comprises:
detecting the weight of the container in an empty state through a gravity sensor preset on a base for placing the container; alternatively, the first and second electrodes may be,
receiving a user input of a container weight of the container in an empty state.
8. The outlet equipment control method according to any one of claims 1 to 7, further comprising:
detecting whether the container moves or whether foreign matters enter the container or not in the water outlet process of the water outlet equipment;
when the container moves or foreign matters enter the container, controlling the water outlet equipment to stop water outlet;
when the container has no movement or foreign matters enter the container, the water outlet state of the water outlet device is maintained.
9. A water outlet device, characterized by comprising a processor and a memory, wherein the memory stores a computer program, and the processor executes the water outlet device control method according to any one of claims 1 to 8 when calling the computer program in the memory.
10. A computer-readable storage medium for storing a computer program which is loaded by a processor to perform the outlet control method of any one of claims 1 to 8.
CN202010132790.4A 2020-02-29 2020-02-29 Water outlet device control method, water outlet device and computer readable storage medium Withdrawn CN111568193A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010132790.4A CN111568193A (en) 2020-02-29 2020-02-29 Water outlet device control method, water outlet device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010132790.4A CN111568193A (en) 2020-02-29 2020-02-29 Water outlet device control method, water outlet device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111568193A true CN111568193A (en) 2020-08-25

Family

ID=72089654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010132790.4A Withdrawn CN111568193A (en) 2020-02-29 2020-02-29 Water outlet device control method, water outlet device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111568193A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112754292A (en) * 2021-01-27 2021-05-07 广东智源机器人科技有限公司 Discharging control method and system, controller, storage medium and beverage machine
CN114104770A (en) * 2021-10-09 2022-03-01 煤科院节能技术有限公司 Method and system for controlling feeding speed of powder feeder
CN115316852A (en) * 2022-07-11 2022-11-11 杭州斐彼科技有限公司 Milk mixing device and water output control method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201641652U (en) * 2010-04-08 2010-11-24 穆太力扑·麦提亚库普 Intelligent water dispenser and detection device installed thereon
CN103549882A (en) * 2013-11-20 2014-02-05 泰州乐金电子冷机有限公司 Water dispensing device and refrigerator comprising same
CN108567330A (en) * 2018-05-29 2018-09-25 陈泽涛 Water dispenser control method, device, water dispenser and computer readable storage medium
CN108670031A (en) * 2018-03-01 2018-10-19 陈永兵 Water dispenser cup and water outlet are directed at control method
CN109453668A (en) * 2018-10-11 2019-03-12 广东韦博科技有限公司 Method for fetching water and water intaking device based on gravity sensing judgement
CN110674977A (en) * 2019-09-09 2020-01-10 珠海横琴万智联科技有限公司 Water flow measuring, calculating and drinking water distribution system based on electric tea tray

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201641652U (en) * 2010-04-08 2010-11-24 穆太力扑·麦提亚库普 Intelligent water dispenser and detection device installed thereon
CN103549882A (en) * 2013-11-20 2014-02-05 泰州乐金电子冷机有限公司 Water dispensing device and refrigerator comprising same
CN108670031A (en) * 2018-03-01 2018-10-19 陈永兵 Water dispenser cup and water outlet are directed at control method
CN108567330A (en) * 2018-05-29 2018-09-25 陈泽涛 Water dispenser control method, device, water dispenser and computer readable storage medium
CN109453668A (en) * 2018-10-11 2019-03-12 广东韦博科技有限公司 Method for fetching water and water intaking device based on gravity sensing judgement
CN110674977A (en) * 2019-09-09 2020-01-10 珠海横琴万智联科技有限公司 Water flow measuring, calculating and drinking water distribution system based on electric tea tray

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112754292A (en) * 2021-01-27 2021-05-07 广东智源机器人科技有限公司 Discharging control method and system, controller, storage medium and beverage machine
CN114104770A (en) * 2021-10-09 2022-03-01 煤科院节能技术有限公司 Method and system for controlling feeding speed of powder feeder
CN114104770B (en) * 2021-10-09 2024-06-04 北京天地融创科技股份有限公司 Method and system for controlling feeding rate of powder feeder
CN115316852A (en) * 2022-07-11 2022-11-11 杭州斐彼科技有限公司 Milk mixing device and water output control method thereof
CN115316852B (en) * 2022-07-11 2023-11-21 杭州斐彼科技有限公司 Milk regulator and water yield control method thereof

Similar Documents

Publication Publication Date Title
CN111568193A (en) Water outlet device control method, water outlet device and computer readable storage medium
CN111568245A (en) Water dispenser control method, water dispenser and computer readable storage medium
CN111568201A (en) Water outlet control method, water dispenser and computer readable storage medium
CN111568242A (en) Water dispenser control method, water dispenser and computer readable storage medium
CN110742511A (en) Water outlet control method and device for water purifying dispenser, storage medium and water purifying dispenser
CN111568179A (en) Water dispenser control method, water dispenser and computer readable storage medium
CN111568243B (en) Electric kettle control method, electric kettle and computer readable storage medium
CN111568229A (en) Water outlet device control method, water outlet device and computer readable storage medium
CN111568178A (en) Water outlet device control method, water outlet device and computer readable storage medium
WO2016183631A1 (en) A system and method for dispensing a substance
CN111568185A (en) Control method of water dispenser, water dispenser and computer readable storage medium
CN111568194A (en) Water dispenser control method, water dispenser and computer readable storage medium
CN111568226A (en) Water outlet control method of water dispenser, water dispenser and computer readable storage medium
CN111568208A (en) Water dispenser control method, water dispenser and computer readable storage medium
CN111642975A (en) Water outlet control method, water dispenser and computer readable storage medium
CN111568232A (en) Water outlet control method of water dispenser, water dispenser and computer readable storage medium
CN111568244A (en) Water dispenser control method, water dispenser and computer readable storage medium
CN111568233A (en) Water dispenser control method, water dispenser and computer readable storage medium
CN114224174B (en) Method, device, computer equipment and storage medium for automatically stopping water of water purifying and drinking machine
CN111568237A (en) Water dispenser control method, water dispenser and computer readable storage medium
CN111568207A (en) Water dispenser control method, water dispenser and computer readable storage medium
CN111568236A (en) Water dispenser control method, water dispenser and computer readable storage medium
CN111568177A (en) Water outlet control method, water outlet equipment and computer readable storage medium
CN111568231A (en) Water dispenser control method, water dispenser and computer readable storage medium
CN111557593A (en) Water dispenser control method, water dispenser and computer readable 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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200825