Water purifier water outlet method and device and electronic equipment

By using sensors to identify and fit equations to locate the center point of the water purifier's cup opening, the problem of aligning the water purifier's outlet is solved, improving the user experience and resource utilization efficiency.

CN122140118APending Publication Date: 2026-06-05NINGBO FOTILE KITCHEN WARE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
NINGBO FOTILE KITCHEN WARE CO LTD
Filing Date
2026-01-19
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

Due to structural design or operating angle limitations, users often find it difficult to accurately align the water purifier's outlet with their cup, leading to a poor user experience, water waste, and countertop contamination.

Method used

The distances between multiple measurement points on the edge of the target water cup are obtained by a preset sensor. The position of the measurement point is determined by combining the included angle information. The shape of the cup mouth is identified by a fitting equation and the center point is accurately located to control the water output of the water purifier.

Benefits of technology

It improves the accuracy and convenience of water purifier output, adapts to different cup shapes, optimizes user experience, and reduces resource waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122140118A_ABST
    Figure CN122140118A_ABST
Patent Text Reader

Abstract

The present disclosure relates to a water outlet method and device of a water purifier and an electronic device. The method comprises: in the case that a target water cup is placed on a cup holder of the water purifier, obtaining a target distance of each target measurement point from a preset sensor based on the preset sensor, the target measurement points being located on the rim of the cup mouth of the target water cup; determining target measurement point position information of the corresponding target measurement point based on the target distance and a first preset angle corresponding to the target measurement point; determining a target shape corresponding to the cup mouth of the target water cup based on the target measurement point position information; determining center point position information of the cup mouth of the target water cup based on a preset fitting equation corresponding to the target measurement point position information and the target shape; and controlling the water outlet of the water purifier based on the center point position information. The embodiments of the present disclosure can ensure that the water outlet of the water purifier is accurately aligned with the center of the cup mouth, thereby improving the safety and convenience during use of the water purifier.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of smart home appliance technology, and in particular to a water purifier water dispensing method, device and electronic equipment. Background Technology

[0002] Water purifiers, as common devices for meeting the drinking water needs of multiple people, require users to manually place their cups under the water outlet to collect purified water. However, the water outlet is often partially obstructed due to the device's structural design or limited viewing angle, making it difficult for users to accurately determine the outlet's location and precisely align their cups directly beneath it. To address this, existing water purifiers typically include specific directional signs or patterns in the designated cup placement areas of the cup holder to guide users in placing their cups accordingly. However, these traditional guidance solutions have obvious shortcomings: on the one hand, they rely entirely on users to actively observe and place the water cup according to the markings. If the ambient light is poor or the user is not focused and does not notice the markings, the water cup may be placed incorrectly, causing water to flow directly outside the cup. On the other hand, when users use water cups with small openings, the accuracy of cup placement is greatly increased. Even if the water cup is only slightly off the markings, the water may not fall into the cup properly and may spill outside, resulting in a poor user experience, water waste, and contamination of the countertop around the water purifier. Summary of the Invention

[0003] This disclosure provides a water purifier dispensing method, apparatus, and electronic device to at least solve problems in the related art such as poor user experience, water waste, and contamination of the countertop around the water purifier.

[0004] According to a first aspect of the present disclosure, a water purifier dispensing water method is provided, comprising: With a target water cup placed on the cup holder of the water purifier, the target distance of each of the multiple target measurement points from the preset sensor is obtained based on the preset sensor, and the multiple target measurement points are located on the edge of the rim of the target water cup; Based on the target distance and the first preset angle corresponding to the target measurement point, the target measurement point position information of the corresponding target measurement point is determined; Based on the target measurement point location information, the target shape corresponding to the mouth of the target water cup is determined; Based on the target measurement point location information and the preset fitting equation corresponding to the target shape, the center point location information of the mouth of the target water cup is determined; The water output of the water purifier is controlled based on the center point location information.

[0005] According to a second aspect of the present disclosure, a water purifier outlet device is provided, comprising: The target distance acquisition module is used to acquire the target distance of multiple target measurement points from the preset sensor when a target water cup is placed on the cup holder of the water purifier, based on the preset sensor. The multiple target measurement points are located on the edge of the rim of the target water cup. The target measurement point location information determination module is used to determine the target measurement point location information of the corresponding target measurement point based on the target distance and the first preset angle corresponding to the target measurement point; The target shape determination module is used to determine the target shape corresponding to the mouth of the target cup based on the target measurement point position information; The center point location information determination module is used to determine the center point location information of the mouth of the target water cup based on the target measurement point location information and the preset fitting equation corresponding to the target shape; The water outlet module is used to control the water outlet of the water purifier based on the center point location information.

[0006] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method as described in any one of the first aspects above.

[0007] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided such that, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the method described in any of the first aspects of the present disclosure. According to a fifth aspect of the present disclosure, a computer program product including instructions is provided that, when run on a computer, causes the computer to perform the method described in any of the first aspects of the present disclosure.

[0008] The technical solutions provided by the embodiments of this disclosure have at least the following beneficial effects: By acquiring the target distances of multiple target measurement points on the edge of the target water cup using preset sensors, and then combining this with the first preset angle of the corresponding target measurement points to determine the position information of the target measurement points, the interference of non-edge points on the cup rim shape recognition is reduced. Based on this target measurement point position information, the target shape corresponding to the cup rim is accurately determined, which can flexibly adapt to water cups with different rim shapes, improving the applicability and versatility of the method. Furthermore, by combining the preset fitting equation corresponding to the target shape, the position information of the center point of the cup rim is determined, thereby controlling the water output of the water purifier, ensuring the reliability of cup rim shape recognition and center point positioning, thus ensuring that the water purifier outlet is accurately aligned with the center of the cup rim, improving the safety and convenience of the water purifier during use, and optimizing the user experience.

[0009] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0010] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.

[0011] Figure 1 This is a schematic flowchart illustrating a water purifier dispensing method according to an exemplary embodiment; Figure 2 This is a schematic diagram illustrating a process for obtaining the target distance of multiple target measurement points from the preset sensor based on a preset sensor, according to an exemplary embodiment. Figure 3 This is a schematic diagram illustrating a preset sensor installation position according to an exemplary embodiment; Figure 4 This is a schematic diagram illustrating a preset sensor scanning method according to an exemplary embodiment; Figure 5 This is a schematic diagram illustrating a three-dimensional coordinate system with the origin (0,0,0) as the location of a preset sensor, according to an exemplary embodiment. Figure 6 This is a schematic diagram illustrating another three-dimensional coordinate system with the location of a preset sensor as the origin (0,0,0) according to an exemplary embodiment. Figure 7 This is a schematic diagram illustrating the installation of a telescopic rod at a preset sensor according to an exemplary embodiment; Figure 8 This is a schematic diagram illustrating a process for selecting the target distances of multiple target measurement points from the third initial distances of multiple third initial measurement points from the preset sensor, based on initial measurement point location information, a preset reference fitting equation corresponding to a preset reference shape, and a preset deviation threshold, according to an exemplary embodiment. Figure 9 This is a flowchart illustrating a process for determining the target shape corresponding to the mouth of a target water cup based on the target measurement point location information, according to an exemplary embodiment. Figure 10 This is a flowchart illustrating a process for determining a first distribution span and a second distribution span based on a change amplitude value corresponding to a first target direction, a change amplitude value corresponding to a second target direction, and target measurement point location information, according to an exemplary embodiment. Figure 11This is a schematic diagram illustrating a process for determining a first distribution span based on a first feature vector and target measurement point location information, and for determining a second distribution span based on a second feature vector and target measurement point location information, according to an exemplary embodiment. Figure 12 This is a block diagram illustrating a water purifier outlet device according to an exemplary embodiment; Figure 13 This is a block diagram illustrating an electronic device for dispensing water from a water purifier according to an exemplary embodiment. Detailed Implementation

[0012] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.

[0013] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar different contents and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0014] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data used for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.

[0015] Figure 1 This is a schematic flowchart illustrating a water purifier dispensing method according to an exemplary embodiment. This water purifier dispensing method is applied to electronic devices such as servers. Figure 1 As shown, it includes the following steps: In step S101, when the target water cup is placed on the cup holder of the water purifier, the target distance of each of the multiple target measurement points from the preset sensor is obtained based on the preset sensor.

[0016] In one specific embodiment, multiple target measurement points are located on the edge of the rim of the target water cup.

[0017] In a specific embodiment, such as Figure 2 As shown, the target distances of multiple target measurement points obtained from the preset sensor based on the preset sensor include: In step S201, the first initial distance of each of the multiple first initial measurement points in the preset area from the preset sensor is obtained based on the preset sensor.

[0018] In one specific embodiment, the preset area is located on the cup holder of the water purifier.

[0019] In one specific embodiment, the aforementioned preset sensor can be a single-line lidar sensor installed around the water outlet of the water purifier. It has a preset scanning angle range (covering a preset area on the cup holder) and a fixed scanning frequency. It can measure the straight-line distance (i.e., the first initial distance) between itself and different locations (i.e., the first initial measurement point) within the preset area by emitting a laser beam and receiving reflected signals. The scanning direction of the sensor is distributed in a fan shape along the plane of the cup holder, which can cover the space range that the target water cup may occupy when placed.

[0020] In a specific embodiment, such as Figure 3 As shown, the preset sensor can be fixedly installed horizontally in front of or diagonally above the water purifier's outlet, with the overall orientation at a "preset downward angle" (this preset angle adapts to most cup holder heights, ensuring the scanning range completely covers the preset area of ​​the cup holder directly below the water outlet), avoiding obstruction of the sensor's optical signal transmission and reception path by the water outlet's own structure; and as... Figure 4 As shown, the preset sensor uses a "single-point emission, fan-shaped scanning" scanning method (in the diagram, the fan-shaped scanning area has the sensor as its vertex and covers the cup holder plane downwards). The scanning angles are continuously distributed along the horizontal direction, and each scanning angle corresponds to a measurement point. This represents the distance between the corresponding measurement point and the preset sensor.

[0021] In a specific embodiment, such as Figure 5 and Figure 6 As shown, the sensor itself serves as the origin (0,0,0) of the three-dimensional coordinate system. The x-axis is the horizontal direction (extending laterally along the water purifier's outlet, such as the left-right extension direction), the y-axis is the direction perpendicular to the x-axis on the horizontal plane (the front-back direction perpendicular to the x-axis), and the z-axis is the vertical direction (i.e., the up-down direction perpendicular to the horizontal plane formed by the x-axis and y-axis, pointing towards the cup holder or the space below). The angle between the light beam emitted by the sensor to the measurement point and the x-axis is α, and the angle between the light beam and the z-axis is θ. These two angles are preset and fixed angles calibrated by the sensor at the factory.

[0022] Optionally, if it is inconvenient to install the preset sensor at an angle downwards, a telescopic rod can be installed at the location of the preset sensor. The sensor is installed at the bottom of the telescopic rod, and the sensing direction of the sensor is directly facing the inner wall of the water dispenser. Figure 7As shown. When the user places a water cup on the table and presses the dispensing button, the telescopic rod begins to move downwards. At the same time, a preset sensor detects the distance information in real time. When the sensor detects that the distance has shortened (because the water cup is blocking the view), the telescopic rod stops moving downwards.

[0023] Optionally, if the cup is too low, the preset sensor may not be able to detect the cup's position due to the illumination angle. A motor can be added at the preset sensor location to adjust the sensor's illumination angle, i.e., modify the angle θ between the sensor and the z-axis.

[0024] In step S203, based on the first initial distance and the preset reference distance, the second initial distance of each of the multiple first initial measurement points from the preset sensor is selected.

[0025] In one specific embodiment, multiple second initial measurement points are located on the rim and / or body and / or bottom of the target water cup; the preset reference distance is the distance of each of the multiple first initial measurement points within a preset area from the preset sensor when no water cup is placed on the cup holder of the water purifier.

[0026] In a specific embodiment, the above-mentioned selection of the second initial distances of multiple second initial measurement points from the first initial distances of multiple first initial measurement points from the preset sensor based on the first initial distance and the preset reference distance may include: calculating the average reference distance of multiple preset reference distances; if the difference between the first initial distance and the average reference distance is less than the second preset difference threshold, then the first initial distance is taken as the second initial distance, and the initial measurement point corresponding to the second initial distance is taken as the second initial measurement point.

[0027] In step S205, based on the ascending order of the preset horizontal angles corresponding to the multiple second initial measurement points, the distance difference between the second initial distances corresponding to any two adjacent measurement points among the multiple second initial measurement points is calculated.

[0028] In one specific embodiment, the preset horizontal angle is the angle α formed between the light beam emitted by the preset sensor to the measurement point and the x-axis in the three-dimensional coordinate system with the location of the preset sensor as the origin (0,0,0).

[0029] In step S207, based on the distance difference and the first preset difference threshold, the third initial distance of each of the third initial measurement points from the preset sensor is selected from the second initial distance of each of the multiple second initial measurement points from the preset sensor.

[0030] In one specific embodiment, multiple third initial measurement points are located within a region at a preset distance from the rim of the target water cup.

[0031] In a specific embodiment, the process of selecting the third initial distance of each of the third initial measurement points from the second initial distances of each of the multiple second initial measurement points from the preset sensor, based on the distance difference and a first preset difference threshold, includes: If the distance difference is greater than the first preset difference threshold, the smallest second initial distance among the second initial distances corresponding to any two adjacent measurement points is taken as the third initial distance, and the second initial measurement point corresponding to the third initial distance is taken as the third initial measurement point.

[0032] In one specific embodiment, the size of the first preset difference threshold can be preset based on actual needs.

[0033] In a specific embodiment, the process of selecting the third initial distance of each of the third initial measurement points from the second initial distances of each of the multiple second initial measurement points from the preset sensor, based on the distance difference and a first preset difference threshold, includes: If the distance difference is less than or equal to the first preset difference threshold, the second initial distance corresponding to any two adjacent measurement points is taken as the third initial distance, and the second initial measurement point corresponding to each of the third initial distances is taken as the third initial measurement point.

[0034] In a specific embodiment, when the distance difference between any two adjacent second initial measurement points is less than or equal to the first preset difference threshold, it indicates that the distance change between the two initial measurement points is relatively gradual and they are likely located in the area of ​​the edge of the cup. At this time, the second initial distances corresponding to the two adjacent measurement points are all retained as the third initial distances, and both of the two second initial measurement points are determined as the third initial measurement points.

[0035] In the above embodiments, the measurement points near the rim of the cup can be accurately determined, effectively eliminating interference from measurement points in areas such as the cup body and bottom, thereby improving the accuracy and reliability of cup rim shape recognition.

[0036] In step S209, the initial measurement point position information corresponding to the third initial measurement point is determined based on the third initial distance and the second preset angle corresponding to the third initial measurement point.

[0037] In one specific embodiment, the aforementioned second preset angle includes the horizontal angle α formed by the light beam emitted by the preset sensor to the measurement point and the x-axis in a three-dimensional coordinate system with the preset sensor's location as the origin (0,0,0), and the vertical angle θ formed with the z-axis. The initial measurement point position information may include the x-axis coordinate and y-axis coordinate of the initial measurement point in the three-dimensional coordinate system.

[0038] In a specific embodiment, determining the initial measurement point position information corresponding to the third initial measurement point based on the third initial distance and the second preset angle corresponding to the third initial measurement point can include: based on the formula Determine the initial measurement point location information, where, The x-axis coordinates are used to represent the initial measurement point location information. The initial measurement point location information is represented by the y-axis coordinate. The third initial distance, The third initial distance corresponds to the preset horizontal angle of the third initial measurement point (the angle formed by the beam emitted by the preset sensor to the measurement point and the x-axis in the three-dimensional coordinate system with the location of the preset sensor as the origin (0,0,0)). The third initial distance corresponds to the preset vertical angle of the third initial measurement point (the angle formed by the beam emitted by the preset sensor to the measurement point and the z-axis in the three-dimensional coordinate system with the preset sensor location as the origin (0,0,0)).

[0039] In step S211, based on the initial measurement point location information, the preset reference fitting equation corresponding to the preset reference shape, and the preset deviation threshold, the target distances of multiple target measurement points from the preset sensor are selected from the third initial distances of multiple third initial measurement points from the preset sensor.

[0040] In the above embodiments, through multiple rounds of screening, interference from areas without a cup, the cup body, and the bottom of the cup is effectively eliminated, improving the accuracy and targeting of the target distance and ensuring the accuracy and reliability of cup rim shape recognition.

[0041] In a specific embodiment, such as Figure 8 As shown, the target distances of multiple target measurement points from the preset sensor are selected from the third initial distances of multiple third initial measurement points from the preset sensor, based on the initial measurement point location information, the preset reference fitting equation corresponding to the preset reference shape, and the preset deviation threshold. These include: In step S801, the initial measurement point position information is substituted into the preset reference fitting equation to obtain the reference position information corresponding to the preset reference shape.

[0042] In one specific embodiment, the preset reference shape can be a pre-defined outline that conforms to most common cup rim shapes. For example, the preset reference shape can be a standard circle.

[0043] In one specific embodiment, the preset reference fitting equation corresponding to the preset reference shape can be a mathematical expression describing the preset reference shape (i.e., the standard circular outline), specifically the standard equation of a circle. ,in The coordinates of the center of the preset reference shape (i.e., the standard circular outline) The radius of the preset reference shape (i.e., the standard circular outline).

[0044] In one specific embodiment, the reference position information is a parameter that describes a preset reference shape (i.e., a standard circular outline). Specifically, it may include the center coordinates of the preset reference shape (i.e., the standard circular outline) and the radius of the preset reference shape (i.e., the standard circular outline).

[0045] In a specific embodiment, substituting the initial measurement point location information into a preset reference fitting equation to obtain the reference location information corresponding to the preset reference shape may include: substituting the initial measurement point location information ( , Substitute one by one into the preset reference fitting equation corresponding to the preset reference shape (i.e., the standard circular outline). In this process, the center coordinates and radius of the preset reference shape (i.e., the standard circular outline) are obtained by solving equations.

[0046] In step S803, based on the initial measurement point location information and the reference location information, the distance deviation value corresponding to each of the multiple third initial measurement points is determined.

[0047] In a specific embodiment, the distance deviation value characterizes the degree of deviation between the corresponding third initial measurement point and the preset reference shape. Specifically, it can be the absolute value of the difference between the actual distance from the corresponding initial measurement point to the center of the preset reference shape (i.e., the standard circular outline) and the radius of the preset reference shape (i.e., the standard circular outline).

[0048] In a specific embodiment, determining the distance deviation value corresponding to each of the multiple third initial measurement points based on the initial measurement point location information and the reference location information may include: based on the formula Determine the distance deviation value, where, For the first The distance deviation value corresponding to the third initial measurement point, ( , ) is the first The location information of the initial measurement point corresponding to the third initial measurement point. The coordinates of the center of the preset reference shape (i.e., the standard circular outline) The radius of the preset reference shape (i.e., the standard circular outline).

[0049] In step S805, the third initial measurement point corresponding to the initial measurement point position information with a distance deviation value less than or equal to the preset deviation threshold is taken as the target measurement point, and the third initial distance between the target measurement point and the preset sensor is taken as the target distance.

[0050] In one specific embodiment, a preset deviation threshold is used to determine whether the degree of fit between the third initial measurement point and the preset reference shape (i.e., the standard circular outline) meets the requirements, and can be preset based on actual needs.

[0051] In a specific embodiment, if the distance deviation value of a certain third initial measurement point is less than or equal to the preset deviation threshold, it indicates that the initial measurement point conforms to the edge features of the preset reference shape (i.e., the standard circular outline). Then, the third initial measurement point is determined as the target measurement point, and the third initial distance between the target measurement point and the preset sensor is taken as the target distance.

[0052] In the above embodiments, the target distance and target measurement point are determined based on the degree of deviation between the third initial measurement point and the preset reference shape, thereby improving the effectiveness of target distance determination and ensuring the accuracy and reliability of cup shape recognition.

[0053] In step S103, the target measurement point position information of the corresponding target measurement point is determined based on the target distance and the first preset angle corresponding to the target measurement point.

[0054] In a specific embodiment, the detailed description of the first preset angle can be found in the second preset angle, which will not be repeated here.

[0055] In a specific embodiment, the detailed process of determining the target measurement point position information of the corresponding target measurement point based on the target distance and the first preset angle corresponding to the target measurement point can be found in step S209 above. The determination of the initial measurement point position information of the corresponding third initial measurement point based on the third initial distance and the second preset angle corresponding to the third initial measurement point is not repeated here.

[0056] In step S105, the target shape corresponding to the mouth of the target water cup is determined based on the target measurement point location information.

[0057] In a specific embodiment, such as Figure 9 As shown, the target shape corresponding to the rim of the target water cup, determined based on the target measurement point location information, includes: In step S901, multiple position change information is determined based on the target measurement point position information.

[0058] In a specific embodiment, the aforementioned multiple position change information may include first direction change information, second direction change information, and cross direction change information. Specifically, the first direction change information characterizes the dispersion of the target measurement points' position distribution along the x-axis in a three-dimensional coordinate system with the preset sensor location as the origin (0,0,0), i.e., the comprehensive magnitude of each target measurement point's deviation from the overall average position in the x-axis direction; the second direction change information characterizes the dispersion of the target measurement points' position distribution along the y-axis in a three-dimensional coordinate system orthogonal to the first direction (x-axis direction) with the preset sensor location as the origin (0,0,0), i.e., the comprehensive magnitude of each target measurement point's deviation from the overall average position in the y-axis direction; and the cross direction change information characterizes the correlation between the position changes of the target measurement points in the first direction (x-axis direction) and the second direction (y-axis direction), i.e., whether a position deviation in one direction is accompanied by a regular deviation in the other direction.

[0059] Specifically, multiple positional change information constitutes a covariance matrix. The first direction change information can be the variance of the target measurement point's coordinates in the first direction (x-axis direction), the second direction change information can be the variance of the target measurement point's coordinates in the second direction (y-axis direction), and the cross direction change information can be the covariance of the target measurement point's coordinates in the first direction (x-axis direction) and the second direction (y-axis direction).

[0060] In a specific embodiment, determining multiple location change information based on the target measurement point location information may include: first obtaining the number of measurement points for multiple target measurement points; then, based on the formula... To determine multiple location change information, among which, Information indicating a change in the first direction. This is information about changes in the second direction. All of these are information about changes in the direction of intersection. The number of measurement points for multiple target measurement points. The x-axis coordinates of each of the multiple position change information are located in a three-dimensional coordinate system with the preset sensor location as the origin (0,0,0). The y-axis coordinates of each of the multiple position change information are located in a three-dimensional coordinate system with the preset sensor location as the origin (0,0,0). This represents the average x-axis coordinate of multiple position change information points in a three-dimensional coordinate system with the preset sensor location as the origin (0,0,0). It is the average value of the y-axis coordinates in a three-dimensional coordinate system with the preset sensor location as the origin (0,0,0) corresponding to multiple position change information.

[0061] In step S903, a first change amplitude value and a second change amplitude value are determined based on multiple position change information.

[0062] In a specific embodiment, the first change amplitude value characterizes the change amplitude (dispersion) of the target measurement point position information in the direction of the feature vector corresponding to the first change amplitude value, and the second change amplitude value characterizes the change amplitude (dispersion) of the target measurement point position information in the direction of the feature vector corresponding to the second change amplitude value.

[0063] Specifically, the first and second magnitude values ​​of change can be two eigenvalues, which can be obtained by performing eigenvalue decomposition on multiple positional change information (i.e., the covariance matrix). Specifically, when performing eigenvalue decomposition on the covariance matrix, two independent eigenvalues ​​that reflect the discrete nature of the matrix are extracted (because the matrix has a two-dimensional structure, only two independent eigenvalues ​​exist).

[0064] In a specific embodiment, determining the first change amplitude value and the second change amplitude value based on multiple position change information may include: performing eigenvalue decomposition on the covariance matrix composed of multiple position change information to obtain two eigenvalues, which are respectively used as the first change amplitude value and the second change amplitude value.

[0065] In step S905, the direction of the feature vector corresponding to the largest change amplitude value among the first change amplitude value and the second change amplitude value is taken as the first target direction.

[0066] In a specific embodiment, the first target direction is the direction in which the position information of the target measurement point changes the most in the direction of the corresponding feature vector, that is, the direction in which the position distribution of the target measurement point is most significantly discrete.

[0067] In step S907, the direction of the feature vector corresponding to the smallest change amplitude value among the first change amplitude value and the second change amplitude value is taken as the second target direction.

[0068] In a specific embodiment, the second target direction is the direction that is orthogonal to the first target direction and has the smallest change in the position information of the target measurement point in the direction of the corresponding feature vector. That is, it is the direction with the second most significant dispersion of the position distribution of the target measurement point (compared to the first target direction, which is the direction with the most significant dispersion of the position distribution of the target measurement point).

[0069] In step S909, the first distribution span and the second distribution span are determined based on the change amplitude value corresponding to the first target direction, the change amplitude value corresponding to the second target direction, multiple position change information, and the target measurement point position information.

[0070] In one specific embodiment, the first distribution span characterizes the extent to which the projected position information of the target measurement point is distributed along the first target direction, and the second distribution span characterizes the extent to which the projected position information of the target measurement point is distributed along the second target direction.

[0071] In a specific embodiment, such as Figure 10 As shown, the determination of the first distribution span and the second distribution span based on the change amplitude value corresponding to the first target direction, the change amplitude value corresponding to the second target direction, multiple position change information, and target measurement point position information includes: In step S1001, a first feature vector is determined based on the change amplitude value corresponding to the first target direction and multiple position change information.

[0072] In a specific embodiment, determining the first feature vector based on the change amplitude value corresponding to the first target direction and multiple position change information may include: substituting the change amplitude value corresponding to the first target direction (i.e., the feature value with the larger value among the two change amplitude values) into a homogeneous linear equation system formed by the covariance matrix and the identity matrix composed of multiple position change information, and obtaining the feature vector uniquely corresponding to the feature value by solving the non-zero solution of the equation system. The direction of the feature vector is completely consistent with the first target direction, which is the first feature vector.

[0073] In step S1003, a second feature vector is determined based on the change amplitude value corresponding to the second target direction and multiple position change information.

[0074] In a specific embodiment, the detailed refinement of determining the second feature vector based on the change amplitude value corresponding to the second target direction and multiple position change information can be found in step S1001 above, which determines the first feature vector based on the change amplitude value corresponding to the first target direction and multiple position change information, and will not be repeated here.

[0075] In step S1005, the first distribution span is determined based on the first feature vector and the target measurement point location information.

[0076] In step S1007, the second distribution span is determined based on the second feature vector and the target measurement point location information.

[0077] In a specific embodiment, such as Figure 11 As shown, the determination of the first distribution span based on the first feature vector and the target measurement point location information includes: In step S1101, the target measurement point location information is projected onto the first feature vector to obtain multiple first projection values.

[0078] In a specific embodiment, the above-mentioned projection of the target measurement point location information onto the first feature vector to obtain multiple first projection values ​​may include: firstly, decentering the x-axis and y-axis coordinates in the target measurement point location information (i.e., subtracting the mean of the x-axis and y-axis coordinates of all target measurement points from the x-axis / y-axis coordinate of each target measurement point); then performing a vector dot product operation between each decentered measurement point location data and the first feature vector to generate a corresponding projection value, thus forming multiple first projection values.

[0079] In step S1103, the difference between the maximum and minimum projection values ​​among the multiple first projection values ​​is taken as the first distribution span.

[0080] In a specific embodiment, determining the second distribution span based on the second feature vector and the target measurement point location information includes: In step S1105, the target measurement point location information is projected onto the second feature vector to obtain multiple second projection values.

[0081] In a specific embodiment, the detailed process of projecting the target measurement point location information onto the second feature vector to obtain multiple second projection values ​​can be found in step S1101 above, which projects the target measurement point location information onto the first feature vector to obtain multiple first projection values. This will not be repeated here.

[0082] In step S1107, the difference between the maximum and minimum projection values ​​among the multiple second projection values ​​is taken as the second distribution span.

[0083] In step S911, if the relationship between the first distribution span and the second distribution span matches the target relationship, the preset shape corresponding to the target relationship is taken as the target shape.

[0084] In one specific embodiment, the target relationship is any one of a plurality of preset relationships, and the plurality of preset relationships correspond to different preset shapes. For example, the relationship between the first distribution span and the second distribution span can be the ratio of the first distribution span to the second distribution span. The plurality of preset relationships can include situations where the ratio of the first distribution span to the second distribution span is less than a preset ratio and situations where the ratio of the first distribution span to the second distribution span is greater than or equal to a preset ratio.

[0085] Specifically, when the ratio of the first distribution span to the second distribution span is less than a preset ratio, the corresponding preset shape can be a near-circular shape; when the ratio of the first distribution span to the second distribution span is greater than or equal to the preset ratio, the corresponding preset shape can be an ellipse. For example, the preset ratio can be set to 1.2.

[0086] The above embodiments improve the accuracy and reliability of cup rim shape recognition, adapt to various cup rim shapes, and enhance compatibility and recognition flexibility for different cup types.

[0087] In step S107, the center point position information of the mouth of the target water cup is determined based on the target measurement point position information and the preset fitting equation corresponding to the target shape.

[0088] Specifically, when the preset shape is nearly circular, the corresponding preset fitting equation is: When the preset shape is elliptical, the corresponding preset fitting equation is: .

[0089] In a specific embodiment, the detailed process of determining the center point position information of the rim of the target cup based on the target measurement point position information and the preset fitting equation corresponding to the target shape can be found in step S801 above, where the initial measurement point position information is substituted into the preset reference fitting equation to obtain the reference position information corresponding to the preset reference shape. This will not be elaborated further here. In step S109, the water output of the water purifier is controlled based on the center point location information.

[0090] In one specific embodiment, controlling the water output of the water purifier based on the center point location information may include: after moving the water outlet of the water purifier to directly above the position corresponding to the center point location information, water is output into the target water cup.

[0091] In practical applications, if the center point location information is outside the movable range of the water purifier's outlet, a prompt message can be sent to the target object so that the target object can move the target water cup to the movable range of the water purifier's outlet.

[0092] In one specific embodiment, the prompt information may include at least one type of information, such as information about the placement of the water cup and operational guidance information. Specifically, the information about the placement of the water cup is used to inform the target user that the target water cup is placed outside the movable range of the water purifier's outlet, such as "The current position of the water cup is outside the movable range of the outlet" or "The water cup is not within the adjustable coverage area of ​​the outlet," so that the target user understands why water cannot be dispensed normally. The operational guidance information is used to provide the direction or range for adjusting the position of the water cup, such as "Please move the water cup to the area directly below the outlet" or "The water cup needs to be adjusted 3-5 cm to the left / right." Specifically, the prompt information can be fed back to the target user in a preset manner, for example, through voice prompts.

[0093] Figure 12 This is a block diagram illustrating a water purifier outlet device according to an exemplary embodiment. (Refer to...) Figure 12 The device includes: The target distance acquisition module 1210 is used to acquire the target distance of multiple target measurement points from the preset sensor based on a preset sensor when a target water cup is placed on the cup holder of the water purifier. The multiple target measurement points are located on the edge of the mouth of the target water cup. The target measurement point location information determination module 1220 is used to determine the target measurement point location information of the corresponding target measurement point based on the target distance and the first preset angle corresponding to the target measurement point; The target shape determination module 1230 is used to determine the target shape corresponding to the mouth of the target water cup based on the target measurement point position information; The center point location information determination module 1240 is used to determine the center point location information of the rim of the target water cup based on the target measurement point location information and a preset fitting equation corresponding to the target shape. The water outlet module 1250 is used to control the water outlet of the water purifier based on the center point location information.

[0094] In an optional embodiment, the target shape determination module 1230 includes: A multiple position change information determination unit is used to determine multiple position change information based on the target measurement point position information; The change amplitude value determination unit is used to determine a first change amplitude value and a second change amplitude value based on multiple position change information. The first change amplitude value represents the change amplitude of the target measurement point position information in the direction of the feature vector corresponding to the first change amplitude value, and the second change amplitude value represents the change amplitude of the target measurement point position information in the direction of the feature vector corresponding to the second change amplitude value. The first target direction determination unit is used to take the feature vector direction corresponding to the largest change amplitude value among the first change amplitude value and the second change amplitude value as the first target direction; the first target direction is the direction in which the position information of the target measurement point changes the largest amplitude in the corresponding feature vector direction. The second target direction determination unit is used to take the feature vector direction corresponding to the smallest change amplitude value between the first change amplitude value and the second change amplitude value as the second target direction; the second target direction is the direction that is orthogonal to the first target direction and has the smallest change amplitude of the target measurement point position information in the corresponding feature vector direction. The distribution span determination unit is used to determine a first distribution span and a second distribution span based on the change amplitude value corresponding to the first target direction, the change amplitude value corresponding to the second target direction, and the target measurement point position information; the first distribution span characterizes the distribution extension of the projected position information of the target measurement point position information along the first target direction, and the second distribution span characterizes the distribution extension of the projected position information of the target measurement point position information along the second target direction. The target shape determination unit is used to determine the target shape by taking the preset shape corresponding to the target relationship as the target shape when the relationship between the first distribution span and the second distribution span matches the target relationship. The target relationship is any preset relationship among multiple preset relationships, and the multiple preset relationships correspond to different preset shapes.

[0095] In an optional embodiment, the above-mentioned distribution span determination unit includes: The first feature vector determination subunit is used to determine the first feature vector based on the change amplitude value corresponding to the first target direction and multiple position change information; The second feature vector determination subunit is used to determine the second feature vector based on the change amplitude value corresponding to the second target direction and multiple position change information; The first distribution span determination subunit is used to determine the first distribution span based on the first feature vector and the target measurement point location information; The second distribution span determination sub-unit is used to determine the second distribution span based on the second feature vector and the target measurement point location information.

[0096] In an optional embodiment, the first distribution span determining subunit includes: The first projection value determination subunit is used to project the target measurement point position information onto the first feature vector to obtain multiple first projection values; The first distribution span determination sub-unit is used to take the difference between the maximum and minimum projection values ​​among multiple first projection values ​​as the first distribution span. The aforementioned second distribution span determination sub-unit includes: The second projection value determination subunit is used to project the target measurement point position information onto the second feature vector to obtain multiple second projection values; The second distribution span determination sub-unit is used to take the difference between the maximum and minimum projection values ​​among multiple second projection values ​​as the second distribution span.

[0097] In an optional embodiment, the target distance acquisition module 1210 includes: The first initial distance acquisition unit is used to acquire the first initial distance of each of multiple first initial measurement points in a preset area from the preset sensor based on a preset sensor. The preset area is located on the cup holder of the water purifier. The second initial distance determination unit is used to filter out the second initial distances of multiple second initial measurement points from the first initial distances of multiple first initial measurement points from the preset sensor, based on the first initial distance and the preset reference distance; the multiple second initial measurement points are located on the rim and / or body and / or bottom of the target water cup; the preset reference distance is the distance of multiple first initial measurement points from the preset sensor within a preset area obtained by the preset sensor when no water cup is placed on the cup holder of the water purifier; The distance difference determination unit is used to calculate the distance difference between any two adjacent measurement points among the multiple second initial measurement points, based on the ascending order of the preset horizontal angles corresponding to each of the multiple second initial measurement points. The third initial distance determination unit is used to filter out the third initial distances of multiple third initial measurement points from the second initial distances of multiple second initial measurement points from the preset sensor based on the distance difference and the first preset difference threshold; the multiple third initial measurement points are located within a region of a preset distance from the mouth of the target water cup; The initial measurement point location information determination unit is used to determine the initial measurement point location information corresponding to the third initial measurement point based on the third initial distance and the second preset angle corresponding to the third initial measurement point. The target distance determination unit is used to select the target distance of each target measurement point from the third initial distance of each third initial measurement point from the preset sensor, based on the initial measurement point position information, the preset reference fitting equation corresponding to the preset reference shape, and the preset deviation threshold.

[0098] In an optional embodiment, the third initial distance determination unit includes: The third initial distance determination subunit is used to determine the third initial distance by taking the smallest second initial distance among the second initial distances corresponding to any two adjacent measurement points as the third initial distance, and taking the second initial measurement point corresponding to the third initial distance as the third initial measurement point when the distance difference is greater than the first preset difference threshold.

[0099] In an optional embodiment, the third initial distance determination subunit is further configured to, when the distance difference is less than or equal to the first preset difference threshold, take the second initial distance corresponding to any two adjacent measurement points as the third initial distance, and take the second initial measurement points corresponding to the third initial distance as the third initial measurement points.

[0100] In an optional embodiment, the target distance determination unit includes: The reference position information determination subunit is used to substitute the initial measurement point position information into the preset reference fitting equation to obtain the reference position information corresponding to the preset reference shape; The distance deviation value determination subunit is used to determine the distance deviation value corresponding to each of the multiple third initial measurement points based on the initial measurement point position information and the reference position information. The distance deviation value represents the degree of deviation between the corresponding third initial measurement point and the preset reference shape. The target distance determination subunit is used to take the third initial measurement point corresponding to the initial measurement point position information that is less than or equal to the preset deviation threshold as the target measurement point, and to take the third initial distance between the target measurement point and the preset sensor as the target distance.

[0101] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0102] Figure 13 This is a block diagram illustrating an electronic device for dispensing water from a water purifier, according to an exemplary embodiment. The electronic device may be a server, and its internal structure diagram may be as follows: Figure 13 As shown, the electronic device includes a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface is used to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements a water purifier dispensing method. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the device's casing, or an external keyboard, touchpad, or mouse.

[0103] Those skilled in the art will understand that Figure 13 The structure shown is merely a block diagram of a portion of the structure related to the present disclosure and does not constitute a limitation on the electronic device to which the present disclosure is applied. A specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements. In an exemplary embodiment, an electronic device is also provided, including: a processor; and a memory for storing processor-executable instructions; wherein the processor is used to execute the instructions to implement the water purifier dispensing method as described in the embodiments of this disclosure.

[0104] In an exemplary embodiment, a computer-readable storage medium is also provided, wherein when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the water purifier dispensing method of the present disclosure embodiments.

[0105] In an exemplary embodiment, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to perform the water purifier dispensing method of the embodiments of this disclosure.

[0106] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

[0107] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0108] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A method for discharging water from a water purifier, characterized in that, The method includes: With a target water cup placed on the cup holder of the water purifier, the target distance of each of the multiple target measurement points from the preset sensor is obtained based on the preset sensor, and the multiple target measurement points are located on the edge of the rim of the target water cup; Based on the target distance and the first preset angle corresponding to the target measurement point, the target measurement point position information of the corresponding target measurement point is determined; Based on the target measurement point location information, the target shape corresponding to the mouth of the target water cup is determined; Based on the target measurement point location information and the preset fitting equation corresponding to the target shape, the center point location information of the mouth of the target water cup is determined; The water output of the water purifier is controlled based on the center point location information.

2. The method according to claim 1, characterized in that, The step of determining the target shape corresponding to the rim of the target water cup based on the target measurement point location information includes: Based on the target measurement point location information, multiple location change information is determined; Based on the multiple position change information, a first change amplitude value and a second change amplitude value are determined. The first change amplitude value represents the change amplitude of the target measurement point position information in the direction of the feature vector corresponding to the first change amplitude value, and the second change amplitude value represents the change amplitude of the target measurement point position information in the direction of the feature vector corresponding to the second change amplitude value. The feature vector direction corresponding to the largest change value among the first change value and the second change value is taken as the first target direction; the first target direction is the direction in which the position information of the target measurement point changes the largest change in the corresponding feature vector direction. The feature vector direction corresponding to the smallest change amplitude value between the first change amplitude value and the second change amplitude value is taken as the second target direction; the second target direction is the direction that is orthogonal to the first target direction and has the smallest change amplitude of the target measurement point position information in the corresponding feature vector direction. Based on the change amplitude value corresponding to the first target direction, the change amplitude value corresponding to the second target direction, the multiple position change information, and the target measurement point position information, a first distribution span and a second distribution span are determined; the first distribution span characterizes the distribution extension degree of the projected position information of the target measurement point position information along the first target direction, and the second distribution span characterizes the distribution extension degree of the projected position information of the target measurement point position information along the second target direction. When the relationship between the first distribution span and the second distribution span matches the target relationship, the preset shape corresponding to the target relationship is taken as the target shape. The target relationship is any one of multiple preset relationships, and the multiple preset relationships correspond to different preset shapes.

3. The method according to claim 2, characterized in that, The step of determining the first distribution span and the second distribution span based on the change amplitude value corresponding to the first target direction, the change amplitude value corresponding to the second target direction, the multiple position change information, and the target measurement point position information includes: Based on the change amplitude value corresponding to the first target direction and the multiple position change information, a first feature vector is determined; Based on the change amplitude value corresponding to the second target direction and the multiple position change information, a second feature vector is determined; Based on the first feature vector and the target measurement point location information, the first distribution span is determined; The second distribution span is determined based on the second feature vector and the location information of the target measurement point.

4. The method according to claim 3, characterized in that, Determining the first distribution span based on the first feature vector and the target measurement point location information includes: The target measurement point location information is projected onto the first feature vector to obtain multiple first projection values; The difference between the maximum and minimum projection values ​​among the plurality of first projection values ​​is taken as the first distribution span; Determining the second distribution span based on the second feature vector and the target measurement point location information includes: The target measurement point location information is projected onto the second feature vector to obtain multiple second projection values; The difference between the maximum and minimum projection values ​​among the plurality of second projection values ​​is taken as the second distribution span.

5. The method according to claim 1, characterized in that, The target distance from the preset sensor to each of the multiple target measurement points obtained based on the preset sensor includes: Based on the preset sensor, the first initial distance of each of the multiple first initial measurement points in the preset area from the preset sensor is obtained, and the preset area is located on the cup holder of the water purifier; Based on the first initial distance and the preset reference distance, a plurality of second initial measurement points are selected from the first initial distances of the plurality of first initial measurement points from the preset sensor, and each second initial measurement point is located at the mouth and / or body and / or bottom of the target water cup; the preset reference distance is the distance of the plurality of first initial measurement points from the preset sensor within the preset area obtained by the preset sensor when no water cup is placed on the cup holder of the water purifier. Based on the ascending order of the preset horizontal angles corresponding to the plurality of second initial measurement points, calculate the distance difference between the second initial distances corresponding to any two adjacent measurement points among the plurality of second initial measurement points; Based on the distance difference and the first preset difference threshold, a plurality of third initial measurement points are selected from the second initial distances of the plurality of second initial measurement points from the preset sensor, and the third initial distances of the third initial measurement points from the preset sensor are selected; the plurality of third initial measurement points are located within a region of a preset distance from the rim of the target water cup; Based on the third initial distance and the second preset angle corresponding to the third initial measurement point, the initial measurement point position information corresponding to the third initial measurement point is determined; Based on the initial measurement point location information, the preset reference fitting equation corresponding to the preset reference shape, and the preset deviation threshold, the target distances of the multiple target measurement points from the preset sensor are selected from the third initial distances of the multiple third initial measurement points from the preset sensor.

6. The method according to claim 5, characterized in that, The step of selecting the third initial distance of each of the third initial measurement points from the second initial distances of the plurality of second initial measurement points from the preset sensor based on the distance difference and the first preset difference threshold includes: If the distance difference is greater than the first preset difference threshold, the smallest second initial distance among the second initial distances corresponding to any two adjacent measurement points is taken as the third initial distance, and the second initial measurement point corresponding to the third initial distance is taken as the third initial measurement point.

7. The method according to claim 5, characterized in that, The step of selecting the third initial distance of each of the third initial measurement points from the second initial distances of the plurality of second initial measurement points from the preset sensor based on the distance difference and the first preset difference threshold includes: If the distance difference is less than or equal to the first preset difference threshold, the second initial distance corresponding to each of the two adjacent measurement points is taken as the third initial distance, and the second initial measurement point corresponding to each of the third initial distances is taken as the third initial measurement point.

8. The method according to claim 5, characterized in that, The step of selecting the target distances of the multiple target measurement points from the preset sensor based on the initial measurement point location information, the preset reference fitting equation corresponding to the preset reference shape, and the preset deviation threshold includes: Substituting the initial measurement point location information into the preset reference fitting equation, the reference location information corresponding to the preset reference shape is obtained; Based on the initial measurement point location information and the reference location information, the distance deviation value corresponding to each of the plurality of third initial measurement points is determined, and the distance deviation value represents the degree of deviation between the corresponding third initial measurement point and the preset reference shape; The third initial measurement point corresponding to the initial measurement point location information corresponding to the distance deviation value less than or equal to the preset deviation threshold is taken as the target measurement point, and the third initial distance between the target measurement point and the preset sensor is taken as the target distance.

9. A water purifier outlet device, characterized in that, include: The target distance acquisition module is used to acquire the target distance of multiple target measurement points from the preset sensor when a target water cup is placed on the cup holder of the water purifier, based on the preset sensor. The multiple target measurement points are located on the edge of the rim of the target water cup. The target measurement point location information determination module is used to determine the target measurement point location information of the corresponding target measurement point based on the target distance and the first preset angle corresponding to the target measurement point; The target shape determination module is used to determine the target shape corresponding to the mouth of the target cup based on the target measurement point position information; The center point location information determination module is used to determine the center point location information of the mouth of the target water cup based on the target measurement point location information and the preset fitting equation corresponding to the target shape; The water outlet module is used to control the water outlet of the water purifier based on the center point location information.

10. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the water purifier dispensing method as described in any one of claims 1 to 8.