Liquid discharge control method, drinking water apparatus, and storage medium
AssigneeBeijing Xiaomi Mobile Software Co., Ltd.
InventorKe ZENG
Life of this patent
Estimating the term…
Abstract
A liquid discharge control method includes acquiring a cup height of a cup in response to detecting that a cup is placed in a preset position, controlling a liquid outlet to open for liquid discharge in response to receiving a liquid discharge instruction; acquiring a real-time liquid level height in the cup during the liquid discharge, and controlling the liquid outlet to open or close based on the cup height and the real-time liquid level height.
Claims13
A liquid discharge control method, comprising:
- acquiring a cup height of a cup in response to detecting that a cup is placed in a preset position;
- controlling a liquid outlet to open for liquid discharge in response to receiving a liquid discharge instruction;
- acquiring a real-time liquid level height in the cup during the liquid discharge;
- and
- controlling the liquid outlet to open or close based on the cup height and the real-time liquid level height.
A drinking water apparatus, comprising a body, wherein the body comprises a liquid circulation pipeline and a liquid outlet communicated with the liquid circulation pipeline, and the body further comprises a height detection module, a liquid level detection module, a liquid discharge control component, a processor and a memory for storing computer programs;
- wherein the height detection module is configured to detect a cup height of a cup, the liquid level detection module is configured to detect a liquid level height in the cup, and the liquid discharge control component is configured to control the liquid outlet to open or close;
- and
- wherein when executing the computer programs, the processor is configured to:
- acquire the cup height of the cup in response to detecting that the cup is placed in a preset position;
- control the liquid outlet to open for liquid discharge in response to receiving a liquid discharge instruction;
- acquire a real-time liquid level height in the cup during the liquid discharge;
- and
- control the liquid outlet to open or close based on the cup height and the real-time liquid level height.
A computer-readable storage medium, storing computer programs thereon, wherein when executed by a processor, the computer programs are configured to:
- acquire a cup height of a cup in response to detecting that the cup is placed in a preset position;
- control a liquid outlet to open for liquid discharge in response to receiving a liquid discharge instruction;
- acquire a real-time liquid level height in the cup during the liquid discharge;
- and
- control the liquid outlet to open or close based on the cup height and the real-time liquid level height.
Dependencies are inferred from the claim text.