Water intake measuring method and intelligent water cup
By acquiring the measured weight and temperature of the smart water cup, and combining the temperature drift model and motion state, the problem of low accuracy in measuring the amount of water consumed by the smart water cup is solved, achieving accurate water consumption measurement and improving the user experience.
Patent Information
- Application Number
- CN202510948336.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-09
- Publication Date
- 2025-11-14
AI Technical Summary
Existing smart water bottles lack accuracy in measuring water intake, which limits their application value in health management and user trust.
By acquiring the measured weight, first temperature, and second temperature, weight correction is performed based on the temperature drift model, and the amount of water consumed is determined by combining the motion state of the water cup.
It achieves temperature drift compensation for the overall weight of the water cup, accurately measures the amount of water consumed, and improves the user experience and application value for health management.
Smart Images

Figure CN120938231A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of smart water cups, and more particularly to a method for measuring water intake and a smart water cup. Background Technology
[0002] With the increasing public awareness of health and the popularization of smart hardware technology, smart water bottles, as an emerging personal health management tool, have received widespread attention from the market. One of their core functions is to automatically monitor users' drinking behavior, providing personalized drinking reminders and health suggestions to help users develop scientific drinking habits and maintain good hydration. Therefore, accurately and reliably measuring the actual amount of liquid consumed by users is the absolute prerequisite and data foundation for realizing all subsequent advanced health management functions (such as hydration status assessment, drinking pattern analysis, and precise hydration guidance).
[0003] However, existing smart water cups generally suffer from low accuracy in measuring water intake, which severely limits their application value in actual health management and user trust. Summary of the Invention
[0004] In view of this, the present application provides a method for measuring water intake and a smart water cup to solve the problem of low accuracy in water intake measurement in the prior art.
[0005] A first aspect of this application provides a method for measuring water consumption, applied to a smart water cup. The smart water cup includes a detachably connected cup and a base, the base including a weighing unit. The method includes:
[0006] The system acquires the measured weight, a first temperature, and a second temperature; wherein the measured weight represents the total weight of the water cup measured in real time by the weighing unit, the first temperature represents the real-time temperature of the weighing unit, and the second temperature represents the real-time temperature of the environment where the base is located.
[0007] Based on the first and second temperatures, the measured weight is corrected to obtain the corrected weight.
[0008] The amount of water consumed is determined based on the corrected weight and the movement of the water cup.
[0009] In one possible implementation, weight compensation is performed on the measured weight based on a first temperature and a second temperature to obtain a corrected weight, including:
[0010] The compensation weight is determined based on the first temperature, the second temperature, and the preset temperature drift model.
[0011] The correction weight is determined based on the measured weight and the compensation weight.
[0012] In one possible implementation, the base includes a top plate for supporting the water cup, and the weighing unit includes a plurality of weighing sensors spaced apart below the top plate;
[0013] To obtain the measured weight, including:
[0014] Obtain the weight values of each weighing sensor, determine the sum of the weight values, and obtain the total weight;
[0015] The intermediate weight for correction is determined based on the product of the preset first correction parameter and the total weight.
[0016] The measured weight is obtained by summing the calibrated intermediate weight and the preset second calibration parameter.
[0017] In one possible implementation, the amount of water consumed is determined based on the corrected weight and the motion state of the water cup, including:
[0018] Obtain the water cup's identification information;
[0019] The weight of the water cup is determined based on the correspondence between the identification information and the pre-stored identification information and the weight of the water cup.
[0020] Determine the net liquid weight based on the calibrated weight and the weight of the water cup;
[0021] The amount of water consumed is determined based on the net liquid weight and the movement of the cup.
[0022] In one possible implementation, the base includes a motion sensing unit;
[0023] Determine the amount of water consumed based on the net liquid weight and the movement of the cup, including:
[0024] The motion of the water cup is detected by a motion sensing unit and / or a weighing unit to determine the motion state of the water cup; the motion state includes the water cup being picked up, the water cup being put down, and the drinking event;
[0025] If the current motion state of the water cup is that the water cup is picked up and the water cup meets the first preset condition, then the current motion state of the water cup is switched to a drinking event, and the current net liquid weight is determined as the initial weight for drinking.
[0026] If the current motion state of the water cup is a drinking event and the water cup meets the second preset condition, then the current motion state of the water cup is switched to the water cup being put down, and the current net liquid weight is determined as the weight at the end of drinking.
[0027] The amount of water consumed is determined based on the initial weight and the final weight of the water consumed.
[0028] In one possible implementation, the first precondition includes at least one of the following:
[0029] The weighing unit detected a continuous decrease in the overall weight of the water cup.
[0030] The weighing unit detected that the rate of decrease of the overall weight of the water cup was greater than the first speed threshold.
[0031] The motion sensing unit detected that the angle at which the water cup was tilted was greater than a preset angle.
[0032] The motion sensing unit detected that the water cup was tilted for a period exceeding a first preset time.
[0033] And / or, the second preset condition includes at least one of the following:
[0034] The weighing unit detects that the overall weight of the water cup changes less than a first weight threshold within a second preset time period.
[0035] The motion sensing unit detects that the water cup remains stationary for a third preset time period.
[0036] In one possible implementation, the motion state of the cup also includes at least one of a stationary state, a disturbed state, and a water-adding event;
[0037] Detecting the movement of the water cup using a motion sensing unit and / or a weighing unit to determine the motion state of the water cup, and further including at least one of the following:
[0038] If the motion sensing unit detects that the water cup has been picked up when the water cup is currently stationary, then the current motion state of the water cup will be switched to that of the water cup being picked up.
[0039] If the weighing unit detects that the overall weight of the water cup is continuously increasing or the rate of increase of the overall weight of the water cup is greater than the second speed threshold when the current motion state of the water cup is stationary, the current motion state of the water cup will be switched to a water filling event.
[0040] If the vibration time of the water cup is detected by the motion sensing unit when the current motion state of the water cup is stationary, the current motion state of the water cup is switched to the interference state and the detection of the water cup's motion is stopped.
[0041] When the current motion state of the water cup is when the water cup is put down, if the time when the motion state of the water cup is when the water cup is put down is greater than the fifth preset time or the weight change of the overall weight of the water cup detected by the weighing unit within the second preset time is less than the first weight threshold, then the current motion state of the water cup is switched to the stationary state.
[0042] If the vibration of the water cup ends when the current motion state of the water cup is in a disturbed state, the current motion state of the water cup will be switched to a stationary state if the motion sensing unit detects that the vibration of the water cup has ended.
[0043] When the water cup is in the process of adding water, if the weighing unit detects that the weight change of the water cup within a second preset time period is less than the first weight threshold, then the water cup's current motion state is switched to a stationary state.
[0044] In one possible implementation, the pre-stored correspondence between the identifier information and the weight of the water cup is obtained in the following way:
[0045] When the water cup is placed on the base, obtain the water cup's identification information;
[0046] When the identification information does not match the identification information in the database, a prompt message is sent to the terminal device. The prompt message is used to remind the user to check whether the water cup is empty. The database stores the identification information, the weight of the water cup, and the correspondence between the identification information and the weight of the water cup.
[0047] In response to the binding command sent by the terminal device, the weight of the water cup is measured by the weighing unit, and a correspondence between the identification information and the weight of the water cup is established based on the identification information and the weight of the water cup.
[0048] In one possible implementation, the net liquid weight is determined based on the corrected weight and the weight of the water cup, including:
[0049] Based on the net liquid weight, the cup is determined to be empty.
[0050] If the empty cup remains empty for more than a sixth predetermined time, the weight of the cup is remeasured by the weighing unit, and the correspondence between the identification information and the weight of the cup is updated based on the remeasured weight.
[0051] And / or, in response to the tare calibration command from the terminal device, the weight of the water cup is remeasured by the weighing unit, and the correspondence between the identification information and the weight of the water cup is updated based on the remeasured weight.
[0052] A second aspect of this application provides a smart water cup, comprising: a detachably connected water cup and a base, the base including a weighing unit that measures the overall weight of the water cup in real time;
[0053] The base also includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method of the first aspect.
[0054] The beneficial effects of the embodiments in this application compared with the prior art are:
[0055] The water consumption measurement method of this application embodiment can acquire the measured weight, a first temperature, and a second temperature. Since the first temperature represents the real-time temperature of the weighing unit and the second temperature represents the real-time temperature of the environment where the base is located, the overall weight of the water cup measured in real-time can be corrected based on the real-time temperature of the weighing unit and the real-time temperature of the environment to obtain a corrected weight. Then, based on the corrected weight and the movement state of the water cup, the water consumption can be determined. Therefore, this application embodiment can compensate for temperature drift in the overall weight of the water cup and combine the overall weight of the water cup with its movement state. It can accurately measure water consumption when the overall weight of the water cup decreases and the movement state of the water cup also indicates drinking, is less susceptible to environmental interference, and maximizes the application value and user trust of smart water cups in actual health management, thereby improving the user experience.
[0056] It is understandable that the beneficial effects of the second aspect mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description
[0057] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0058] Figure 1 This is a schematic diagram of the structure of a smart water cup provided in an embodiment of this application;
[0059] Figure 2 This is a flowchart of a method for measuring drinking water volume provided in an embodiment of this application;
[0060] Figure 3 This is a flowchart provided in an embodiment of the present application for determining the amount of water consumed based on the corrected weight and the motion state of the water cup;
[0061] Figure 4 This application provides a flowchart for determining the amount of water consumed based on the net liquid weight and the movement state of the water cup;
[0062] Figure 5 This is a schematic diagram of the structure of a drinking water volume measuring device provided in an embodiment of this application;
[0063] Figure 6 This is a schematic diagram of the structure of a base provided in an embodiment of this application.
[0064] Figure label:
[0065] 1- Smart water bottle;
[0066] 11-Water cup;
[0067] 12-Base, 121-Weighing unit, 1211-Weighing sensor, 122-Processor, 123-Memory, 124-Computer program. Detailed Implementation
[0068] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0069] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0070] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0071] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."
[0072] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0073] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0074] The technical solution of this application and how it solves the above-mentioned technical problems are described in detail below with specific embodiments. It should be noted that the following embodiments can be referenced, borrowed, or combined with each other, and the same terms, similar features, and similar implementation steps in different embodiments will not be described again.
[0075] See Figure 1 As shown in the figure, this application provides a structural schematic diagram of a smart water cup 1. The smart water cup 1 includes: a detachably connected water cup 11 and a base 12, the base 12 including a weighing unit 121 for real-time measurement of the overall weight of the water cup 11.
[0076] Specifically, the overall weight of the water cup 11 includes the weight of the water cup and the weight of the liquid contained within the water cup 11.
[0077] Optionally, the base 12 includes a top plate for supporting the water cup 11, and the weighing unit 121 includes a plurality of weighing sensors 1211 spaced apart below the top plate. The total weight of the water cup 11 can be obtained through the weighing sensors 1211, and the weight reduction can be converted into volume reduction by using water density to obtain the amount of water consumed. The base 12 of this embodiment is used to perform the water consumption measurement method of this embodiment.
[0078] See Figure 2 As shown, this application provides a flowchart of a method for measuring drinking water volume. The method for measuring drinking water volume in this application is applied to a smart water bottle 1. The smart water bottle 1 includes a detachably connected base 12 and a water bottle 11. The base 12 includes a weighing unit 121. Figure 2 As shown, the method for measuring drinking water volume includes steps S201 to S202.
[0079] S201. Obtain the measured weight, the first temperature, and the second temperature; wherein, the measured weight is used to represent the total weight of the water cup 11 measured in real time by the weighing unit 121, the first temperature is used to represent the real-time temperature of the weighing unit 121, and the second temperature is used to represent the real-time temperature of the environment where the base 12 is located.
[0080] Optionally, the base 12 is used to perform the water consumption measurement method of the embodiments of this application.
[0081] In some embodiments, the base 12 includes a top plate for supporting the water cup 11, and the weighing unit 121 includes a plurality of weighing sensors 1211 spaced apart below the top plate; acquiring the measured weight includes:
[0082] Obtain the weight values of each weighing sensor 1211, and determine the sum of the weight values to obtain the total weight;
[0083] The intermediate weight for correction is determined based on the product of the preset first correction parameter and the total weight.
[0084] The measured weight is obtained by summing the calibrated intermediate weight and the preset second calibration parameter.
[0085] Optionally, in this embodiment of the application, four weighing sensors 1211 may be used, and the four weighing sensors 1211 are evenly arranged below the top plate.
[0086] S202. Based on the first temperature and the second temperature, perform weight correction on the measured weight to obtain the corrected weight.
[0087] In some embodiments, weight compensation is performed on the measured weight based on a first temperature and a second temperature to obtain a corrected weight, including:
[0088] The compensation weight is determined based on the first temperature, the second temperature, and the preset temperature drift model.
[0089] The correction weight is determined based on the measured weight and the compensation weight.
[0090] Optionally, the weighing unit 121 further includes a signal processing circuit and an analog-to-digital conversion circuit. The signal processing circuit is used to amplify and filter the sensing data output by the weighing sensor 1211, and the analog-to-digital conversion circuit is used to convert the analog signal output by the signal processing circuit into a digital signal.
[0091] Optionally, the first temperature is measured by a first temperature sensor, and the second temperature is measured by a second temperature sensor. The first temperature sensor is located at the analog-to-digital conversion circuit, and the second temperature sensor is located at the base 12.
[0092] Optionally, the preset temperature drift model is a pre-stored temperature drift model obtained through factory calibration or self-learning.
[0093] S203. Determine the amount of water consumed based on the calibrated weight and the motion state of the water cup 11.
[0094] The water consumption measurement method of this application embodiment can acquire the measured weight, a first temperature, and a second temperature. Since the first temperature represents the real-time temperature of the weighing unit 121 and the second temperature represents the real-time temperature of the environment where the base 12 is located, the overall weight of the water cup 11 measured in real time can be corrected based on the real-time temperature of the weighing unit 121 and the real-time temperature of the environment to obtain the corrected weight. Then, based on the corrected weight and the motion state of the water cup 11, the water consumption can be determined. Therefore, this application embodiment can compensate for temperature drift in the overall weight of the water cup 11 and combine the overall weight of the water cup 11 with the motion state of the water cup 11. It can accurately measure the water consumption when the overall weight of the water cup 11 decreases and the motion state of the water cup 11 also indicates drinking, which is not easily affected by environmental interference. This enhances the application value and user trust of the smart water cup 111 in actual health management and improves the user experience.
[0095] See Figure 3 As shown, this application embodiment provides a flowchart for determining the amount of water consumed based on the corrected weight and the motion state of the water cup 11. Figure 3 As shown, the amount of water consumed is determined based on the corrected weight and the motion state of the water cup 11, including steps S301 to S304.
[0096] S301. Obtain the identification information of water cup 11.
[0097] Optionally, the water cup 11 is equipped with a label module, and the base 12 is equipped with an identification module. The base 12 has an MCU (Micro Controller Unit) inside, and the identification module is used by the base 12 to read the identification information corresponding to the label module.
[0098] S302. Determine the weight of the water cup based on the correspondence between the identification information and the pre-stored identification information and the weight of the water cup.
[0099] In some embodiments, the correspondence between the pre-stored identification information and the weight of the water cup is obtained in the following way:
[0100] When the water cup 11 is placed on the base 12, the identification information of the water cup 11 is obtained;
[0101] When the identification information does not match the identification information in the database, a prompt message is sent to the terminal device. The prompt message is used to remind the user to check whether the water cup 11 is empty. The database stores the identification information, the weight of the water cup, and the correspondence between the identification information and the weight of the water cup.
[0102] In response to the binding command sent by the terminal device, the weight of the water cup 11 is measured by the weighing unit 121, and a correspondence between the identification information and the weight of the water cup is established based on the identification information and the weight of the water cup.
[0103] Optionally, when the base 12 is powered on or the water cup 11 is placed, the MCU control and identification module of the base 12 attempts to read the label on the bottom of the water cup 11. If the reading is successful, the unique ID of the water cup 11 is obtained, and the tare weight of the water cup corresponding to that ID is queried from the memory of the MCU or obtained from the cloud server as the water cup weight and water cup capacity. If it is a new water cup 11, the user is prompted to bind it and record the tare weight through the App, and the user is guided to empty the water cup 11 before confirmation.
[0104] S303. Determine the net liquid weight based on the calibrated weight and the weight of the water cup.
[0105] In this embodiment, the net liquid weight is obtained by subtracting the weight of the water cup from the corrected weight.
[0106] S304. Determine the amount of water consumed based on the net liquid weight and the motion state of the water cup 11.
[0107] See Figure 4 As shown, this application embodiment provides a flowchart for determining the amount of water consumed based on the net liquid weight and the motion state of the water cup 11. The base 12 of this application embodiment includes a motion sensing unit, such as... Figure 4 As shown, the amount of water consumed is determined based on the net liquid weight and the motion state of the water cup 11, including steps S401 to S404.
[0108] S401, The motion of the water cup 11 is detected by the motion sensing unit and / or the weighing unit 121, and the motion state of the water cup 11 is determined; the motion state includes the water cup 11 being picked up, the water cup 11 being put down, and drinking events.
[0109] S402. If the current motion state of the water cup 11 is that the water cup 11 is picked up and the water cup 11 meets the first preset condition, then the current motion state of the water cup 11 is switched to a drinking event, and the current net liquid weight is determined as the initial weight for drinking.
[0110] S403. If the current motion state of the water cup 11 is a drinking event and the water cup 11 meets the second preset condition, then the current motion state of the water cup 11 is switched to the water cup 11 being put down, and the current net liquid weight is determined as the weight at the end of drinking.
[0111] S403. Determine the amount of water consumed based on the initial weight and the final weight of the water consumed.
[0112] Optionally, the motion sensing unit includes a six-axis IMU (Inertial Measurement Unit), which can be used to measure the acceleration and angular velocity of the base 12.
[0113] This application embodiment can determine the current state of the base 12, such as: stationary, picked up, put down, tilted, continuously vibrating, etc., and the corresponding motion state can be determined based on the current state. Detecting drastic changes in acceleration or angular velocity can determine the event of picking up / putting down the cup 11, detecting changes in tilt angle can determine the drinking action, and detecting high-frequency vibration can determine environmental interference.
[0114] This application embodiment can use a Kalman filter to estimate a smoother and more accurate "true" net liquid weight by using the net liquid weight as an observation and combining it with the motion state as input or state transition constraints. The state vector of the Kalman filter can include weight, rate of weight change, sensor bias, etc. When violent motion or vibration is detected, the weight of the weight observation can be reduced or state updates can be temporarily stopped.
[0115] In some embodiments, the first preset condition includes at least one of the following:
[0116] The weighing unit 121 detected that the overall weight of the water cup 11 continued to decrease;
[0117] The weighing unit 121 detected that the rate of decrease of the overall weight of the water cup 11 was greater than the first speed threshold.
[0118] The motion sensing unit detected that the angle at which the water cup 11 was tilted was greater than the preset angle.
[0119] The motion sensing unit detected that the water cup 11 was tilted for a period of time exceeding a first preset time.
[0120] In some embodiments, the second preset condition includes at least one of the following:
[0121] The weighing unit 121 detects that the overall weight change of the water cup 11 within a second preset time is less than the first weight threshold.
[0122] The motion sensing unit detects that the water cup 11 remains stationary for a third preset time.
[0123] This application embodiment can store the identified drinking events (timestamp, amount consumed) in the non-volatile memory of the MCU. The total daily consumption is calculated cumulatively, and the data is periodically synchronized to the user's app and the cloud server.
[0124] In some embodiments, the motion state of the water cup 11 also includes at least one of a stationary state, a disturbed state, and a water-adding event;
[0125] The motion state of the water cup 11 is determined by detecting the motion of the water cup 11 through the motion sensing unit and / or weighing unit 121, and the method further includes at least one of the following:
[0126] If the motion sensing unit detects that the water cup 11 has been picked up when the water cup 11 is currently in a stationary state, then the current motion state of the water cup 11 will be switched to the state where the water cup 11 has been picked up.
[0127] When the current motion state of the water cup 11 is a stationary state, if the weighing unit 121 detects that the overall weight of the water cup 11 continues to increase or the rate of increase of the overall weight of the water cup 11 is greater than the second speed threshold, then the current motion state of the water cup 11 is switched to a water filling event.
[0128] When the current motion state of the water cup 11 is a stationary state, if the vibration time of the water cup 11 detected by the motion sensing unit is greater than the fourth preset time, the current motion state of the water cup 11 will be switched to the interference state and the motion detection of the water cup 11 will be stopped.
[0129] When the current motion state of the water cup 11 is when the water cup 11 is put down, if the time when the motion state of the water cup 11 is put down is greater than the fifth preset time or the weight change of the overall weight of the water cup 11 detected by the weighing unit 121 within the second preset time is less than the first weight threshold, then the current motion state of the water cup 11 is switched to the stationary state.
[0130] If the vibration of the water cup 11 ends when the current motion state of the water cup 11 is in a disturbed state, the current motion state of the water cup 11 will be switched to a stationary state when the motion sensing unit detects that the vibration of the water cup 11 has ended.
[0131] When the current motion state of the water cup 11 is a water-adding event, if the weighing unit 121 detects that the weight change of the overall weight of the water cup 11 within a second preset time is less than the first weight threshold, then the current motion state of the water cup 11 is switched to a stationary state.
[0132] Specifically, if the weight change of the water cup 11 within a second preset time period is less than the first weight threshold, it indicates that the overall weight of the water cup 11 is no longer changing.
[0133] As an example, the base 12 maintains several states, such as "stationary state", "cup 11 picked up", "cup 11 put down", "drinking event", "water adding event", "interference state", etc. For example, various thresholds (rate, time, tilt angle, etc.) in the embodiments of this application need to be calibrated and optimized through a large amount of experimental data.
[0134] This application embodiment can combine the motion sensing unit and the weighing unit 121 to detect various movements of the water cup 11 and determine the motion state of the water cup 11, thereby facilitating accurate determination of the amount of water consumed.
[0135] In some embodiments, determining the net liquid weight based on the calibrated weight and the weight of the water cup includes:
[0136] Based on the net liquid weight, it is determined that water cup 11 is empty.
[0137] If the empty cup state lasts for more than a sixth predetermined time, the weight of the water cup 11 is remeasured by the weighing unit 121, and the correspondence between the identification information and the weight of the water cup is updated based on the remeasured weight.
[0138] And / or, in response to the tare calibration command of the terminal device, the weight of the water cup 11 is remeasured by the weighing unit 121, and the correspondence between the identification information and the weight of the water cup is updated based on the remeasured weight of the water cup.
[0139] This embodiment of the application can perform automatic tare calibration. When the base 12 is in a static state and the net liquid weight is close to 0 (e.g., within a small error range, such as ±2g), and this continues for a period of time, the MCU can automatically perform a tare operation to update the internal zero-point reference. Alternatively, when the user confirms that the water cup 11 is empty via an App or voice command, a tare calibration can be forced, and the tare weight record corresponding to the ID of the water cup 11 can be selectively updated to update the water cup weight.
[0140] See Figure 5 As shown in the diagram, this application provides a schematic diagram of the structure of a water consumption measuring device 50. The water consumption measuring device 50 of this application embodiment is applied to a smart water cup 1. The smart water cup 1 includes a detachably connected base 12 and a water cup 11. The base 12 includes a weighing unit 121. Figure 5 As shown, the drinking water volume measuring device 50 includes: an acquisition module 501, a calibration module 502, and a determination module 503.
[0141] The acquisition module 501 is used to acquire the measured weight, the first temperature, and the second temperature; wherein, the measured weight is used to represent the total weight of the water cup 11 measured in real time by the weighing unit 121, the first temperature is used to represent the real-time temperature of the weighing unit 121, and the second temperature is used to represent the real-time temperature of the environment where the base 12 is located.
[0142] The calibration module 502 is used to perform weight calibration on the measured weight based on the first temperature and the second temperature to obtain the calibrated weight.
[0143] The determination module 503 is used to determine the amount of water consumed based on the calibrated weight and the motion state of the water cup 11.
[0144] The acquisition module 501 is used to acquire the measured weight, the first temperature and the second temperature; wherein, the measured weight is used to represent the total weight of the water cup 11 measured in real time by the weighing unit 121, the first temperature is used to represent the real-time temperature of the weighing unit 121, and the second temperature is used to represent the real-time temperature of the environment where the base 12 is located.
[0145] The calibration module 502 is used to perform weight calibration on the measured weight based on the first temperature and the second temperature to obtain the calibrated weight;
[0146] The determination module 503 is used to determine the amount of water consumed based on the calibrated weight and the motion state of the water cup 11.
[0147] Optionally, the calibration module 502 is used to determine the compensation weight based on the first temperature, the second temperature and a preset temperature drift model; and to determine the calibration weight based on the measured weight and the compensation weight.
[0148] Optionally, the base 12 includes a top plate for supporting the water cup 11, and the weighing unit 121 includes a plurality of weighing sensors 1211 spaced apart below the top plate.
[0149] Optionally, the acquisition module 501 is used to acquire the weight value of each weighing sensor 1211, and determine the sum of the weight values to obtain the total weight; based on the product of the preset first calibration parameter and the total weight, determine the calibration intermediate weight; and based on the sum of the calibration intermediate weight and the preset second calibration parameter, obtain the measured weight.
[0150] Optionally, the determining module 503 is used to obtain the identification information of the water cup 11; determine the weight of the water cup based on the identification information and the correspondence between the pre-stored identification information and the weight of the water cup; determine the net liquid weight based on the calibrated weight and the weight of the water cup; and determine the amount of water consumed based on the net liquid weight and the motion state of the water cup 11.
[0151] The pre-stored correspondence between the identification information and the weight of the water cup is obtained as follows: when the water cup 11 is placed on the base 12, the identification information of the water cup 11 is obtained; when the identification information does not match the identification information in the database, a prompt message is sent to the terminal device; the prompt message is used to prompt the user to check whether the water cup 11 is empty; the database stores the identification information, the weight of the water cup, and the correspondence between the identification information and the weight of the water cup; in response to the binding command sent by the terminal device, the weight of the water cup 11 is measured by the weighing unit 121, and the correspondence between the identification information and the weight of the water cup is established based on the identification information and the weight of the water cup.
[0152] In some embodiments, the base 12 includes a motion sensing unit.
[0153] Optionally, the determining module 503 is used to detect the movement of the water cup 11 through the motion sensing unit and / or the weighing unit 121, and determine the movement state of the water cup 11; the movement state includes the water cup 11 being picked up, the water cup 11 being put down, and a drinking event; if the current movement state of the water cup 11 is that the water cup 11 is picked up and the water cup 11 meets the first preset condition, then the current movement state of the water cup 11 is switched to a drinking event, and the current net liquid weight is determined as the initial drinking weight; if the current movement state of the water cup 11 is a drinking event and the water cup 11 meets the second preset condition, then the current movement state of the water cup 11 is switched to that of the water cup 11 being put down, and the current net liquid weight is determined as the final drinking weight; based on the initial drinking weight and the final drinking weight, the amount of water consumed is determined.
[0154] The first preset condition includes at least one of the following:
[0155] The weighing unit 121 detected that the overall weight of the water cup 11 continued to decrease;
[0156] The weighing unit 121 detected that the rate of decrease of the overall weight of the water cup 11 was greater than the first speed threshold.
[0157] The motion sensing unit detected that the angle at which the water cup 11 was tilted was greater than the preset angle.
[0158] The motion sensing unit detected that the water cup 11 was tilted for a period of time exceeding a first preset time.
[0159] The second preset condition includes at least one of the following:
[0160] The weighing unit 121 detects that the overall weight change of the water cup 11 within a second preset time is less than the first weight threshold.
[0161] The motion sensing unit detects that the water cup 11 remains stationary for a third preset time.
[0162] In some embodiments, the motion state of the water cup 11 also includes at least one of a stationary state, a disturbed state, and a water-adding event;
[0163] Optionally, the determining module 503 is also used to implement at least one of the following:
[0164] If the motion sensing unit detects that the water cup 11 has been picked up when the water cup 11 is currently in a stationary state, then the current motion state of the water cup 11 will be switched to the state where the water cup 11 has been picked up.
[0165] When the current motion state of the water cup 11 is a stationary state, if the weighing unit 121 detects that the overall weight of the water cup 11 continues to increase or the rate of increase of the overall weight of the water cup 11 is greater than the second speed threshold, then the current motion state of the water cup 11 is switched to a water filling event.
[0166] When the current motion state of the water cup 11 is a stationary state, if the vibration time of the water cup 11 detected by the motion sensing unit is greater than the fourth preset time, the current motion state of the water cup 11 will be switched to the interference state and the motion detection of the water cup 11 will be stopped.
[0167] When the current motion state of the water cup 11 is when the water cup 11 is put down, if the time when the motion state of the water cup 11 is put down is greater than the fifth preset time or the weight change of the overall weight of the water cup 11 detected by the weighing unit 121 within the second preset time is less than the first weight threshold, then the current motion state of the water cup 11 is switched to the stationary state.
[0168] If the vibration of the water cup 11 ends when the current motion state of the water cup 11 is in a disturbed state, the current motion state of the water cup 11 will be switched to a stationary state when the motion sensing unit detects that the vibration of the water cup 11 has ended.
[0169] When the current motion state of the water cup 11 is a water-adding event, if the weighing unit 121 detects that the weight change of the overall weight of the water cup 11 within a second preset time is less than the first weight threshold, then the current motion state of the water cup 11 is switched to a stationary state.
[0170] Optionally, the determining module 503 is used to determine that the water cup 11 is empty based on the net liquid weight; when the empty cup state lasts for more than a sixth predetermined time, the water cup weight of the water cup 11 is remeasured by the weighing unit 121, and the correspondence between the identification information and the water cup weight is updated based on the remeasured water cup weight; and / or, in response to the tare calibration command of the terminal device, the water cup weight of the water cup 11 is remeasured by the weighing unit 121, and the correspondence between the identification information and the water cup weight is updated based on the remeasured water cup weight.
[0171] The apparatus in this application embodiment can execute the method provided in this application embodiment, and the implementation principle is similar. The actions performed by each module in the apparatus of each embodiment of this application correspond to the steps in the method of each embodiment of this application. For detailed functional descriptions of each module of the apparatus, please refer to the descriptions in the corresponding methods shown above, which will not be repeated here.
[0172] This application embodiment also provides a smart water cup 1, which includes: a detachably connected water cup 11 and a base 12, the base 12 including a weighing unit 121 for real-time measurement of the overall weight of the water cup 11.
[0173] The base 12 also includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the drinking water measurement method of the present application embodiment.
[0174] See Figure 6 As shown in the diagram, this application provides a schematic structural diagram of a base 12. Figure 6 As shown, the base 12 of this embodiment includes: at least one processor 122 ( Figure 6 (Only one is shown in the diagram), memory 123, and computer program 124 stored in memory 123 and executable on at least one processor 122, wherein processor 122 executes computer program 124 to implement the steps in any of the above method embodiments.
[0175] The processor 122 can be a Central Processing Unit (CPU), but it can 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. The general-purpose processor can be a microprocessor or any conventional processor.
[0176] In some embodiments, memory 123 may be an internal storage unit, such as a hard disk or RAM. In other embodiments, memory 123 may be an external storage device, such as a plug-in hard disk mounted on dock 12, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. Memory 123 is used to store operating systems, applications, bootloaders, data, and other programs, such as program code for computer programs. Memory 123 may also be used to temporarily store data that has been output or will be output.
[0177] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0178] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0179] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in the above-described method embodiments.
[0180] If the integrated units described above are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a device / terminal equipment, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks.
[0181] The program of this application embodiment can be stored in a computer-readable storage medium. When the program is executed, it can include the flow of the above-described method embodiments. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk drive (HDD), or solid-state drive (SSD), etc. The storage medium can also include combinations of the above types of memory.
[0182] This application provides a computer program product that, when run on a smart water bottle 1, enables the smart water bottle 1 to perform the steps described in the above-described method embodiments.
[0183] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0184] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0185] In the embodiments provided in this application, it should be understood that the disclosed apparatus / network devices and methods can be implemented in other ways. For example, the apparatus / network device embodiments described above are merely illustrative. For instance, the division of modules or units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0186] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0187] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for measuring drinking water volume, characterized in that, Applied to a smart water bottle, the smart water bottle includes a detachably connected water bottle and a base, the base including a weighing unit, the method includes: The system acquires a measured weight, a first temperature, and a second temperature; wherein the measured weight represents the total weight of the water cup as measured in real time by the weighing unit, the first temperature represents the real-time temperature of the weighing unit, and the second temperature represents the real-time temperature of the environment where the base is located. Based on the first temperature and the second temperature, the measured weight is corrected to obtain the corrected weight; The amount of water consumed is determined based on the corrected weight and the motion state of the water cup.
2. The method for measuring drinking water volume according to claim 1, characterized in that, The step of performing weight compensation on the measured weight based on the first temperature and the second temperature to obtain a corrected weight includes: The compensation weight is determined based on the first temperature, the second temperature, and the preset temperature drift model. The correction weight is determined based on the measured weight and the compensation weight.
3. The method for measuring drinking water volume according to claim 1, characterized in that, The base includes a top plate for supporting the water cup, and the weighing unit includes a plurality of weighing sensors spaced apart below the top plate; The process of obtaining the measured weight includes: Obtain the weight value of each of the weighing sensors, and determine the sum of the weight values to obtain the total weight; The intermediate weight for correction is determined based on the product of the preset first correction parameter and the total weight. The measured weight is obtained based on the sum of the corrected intermediate weight and the preset second correction parameter.
4. The method for measuring drinking water volume according to claim 1, characterized in that, The determination of water intake based on the corrected weight and the motion state of the water cup includes: Obtain the identification information of the water cup; The weight of the water cup is determined based on the identification information and the pre-stored correspondence between the identification information and the weight of the water cup. Determine the net liquid weight based on the corrected weight and the weight of the water cup; The amount of water consumed is determined based on the net liquid weight and the movement state of the water cup.
5. The method for measuring drinking water volume according to claim 4, characterized in that, The base includes a motion sensing unit; Determining the amount of water consumed based on the net liquid weight and the movement state of the water cup includes: The motion of the water cup is detected by the motion sensing unit and / or the weighing unit to determine the motion state of the water cup; the motion state includes events such as picking up the water cup, putting down the water cup, and drinking water events. If the current motion state of the water cup is that the water cup is picked up and the water cup meets the first preset condition, then the current motion state of the water cup is switched to a drinking event, and the current net liquid weight is determined as the initial weight for drinking. If the current motion state of the water cup is a drinking event and the water cup meets the second preset condition, then the current motion state of the water cup is switched to the water cup being put down, and the current net liquid weight is determined as the weight at the end of drinking. The amount of water consumed is determined based on the initial weight of the water consumed and the final weight of the water consumed.
6. The method for measuring drinking water volume according to claim 5, characterized in that, The first preset condition includes at least one of the following: The weighing unit detected a continuous decrease in the overall weight of the water cup. The weighing unit detected that the rate of decrease of the overall weight of the water cup was greater than a first speed threshold. The motion sensing unit detected that the angle at which the water cup was tilted was greater than a preset angle. The motion sensing unit detects that the water cup has been tilted for a period exceeding a first preset time. And / or, the second preset condition includes at least one of the following: The weighing unit detects that the overall weight change of the water cup within a second preset time period is less than a first weight threshold. The motion sensing unit detects that the water cup remains stationary for a third preset time period.
7. The method for measuring drinking water volume according to claim 5, characterized in that, The movement state of the water cup also includes at least one of the following: a stationary state, a disturbed state, and a water-adding event; The step of detecting the movement of the water cup through the motion sensing unit and / or the weighing unit to determine the motion state of the water cup further includes at least one of the following: If the motion sensing unit detects that the water cup has been picked up when the water cup is currently in a stationary state, then the current motion state of the water cup will be switched to the state where the water cup has been picked up. When the water cup is currently in a stationary state, if the weighing unit detects that the overall weight of the water cup is continuously increasing or the rate of increase of the overall weight of the water cup is greater than the second speed threshold, then the current motion state of the water cup is switched to a water-adding event. When the water cup is in a stationary state, if the vibration time of the water cup detected by the motion sensing unit is greater than a fourth preset time, the current motion state of the water cup is switched to an interference state, and the detection of the water cup's motion is stopped. When the current motion state of the water cup is when the water cup is put down, if the time when the motion state is when the water cup is put down is greater than a fifth preset time or the weight change of the overall weight of the water cup detected by the weighing unit within a second preset time is less than a first weight threshold, then the current motion state of the water cup is switched to a stationary state. When the current motion state of the water cup is in a disturbed state, if the motion sensing unit detects that the vibration of the water cup has ended, then the current motion state of the water cup is switched to a stationary state. When the current motion state of the water cup is a water-adding event, if the weight change of the overall weight of the water cup detected by the weighing unit within a second preset time period is less than a first weight threshold, then the current motion state of the water cup is switched to a stationary state.
8. The method for measuring drinking water volume according to claim 4, characterized in that, The pre-stored correspondence between the identification information and the weight of the water cup is obtained in the following way: When the water cup is placed on the base, the identification information of the water cup is obtained; When the identification information does not match the identification information in the database, a prompt message is sent to the terminal device; wherein, the prompt message is used to prompt the user to check whether the water cup is empty, and the database stores the identification information, the weight of the water cup, and the correspondence between the identification information and the weight of the water cup; In response to the binding command sent by the terminal device, the weight of the water cup is measured by the weighing unit, and a correspondence between the identification information and the weight of the water cup is established based on the identification information and the weight of the water cup.
9. The method for measuring drinking water volume according to claim 8, characterized in that, Determining the net liquid weight based on the corrected weight and the weight of the water cup includes: Based on the net liquid weight, the water cup is determined to be empty. When the empty cup state lasts for more than a sixth predetermined time, the weight of the cup is remeasured by the weighing unit, and the correspondence between the identification information and the weight of the cup is updated based on the remeasured weight. And / or, in response to the tare calibration command of the terminal device, the weight of the water cup is remeasured by the weighing unit, and the correspondence between the identification information and the weight of the water cup is updated based on the remeasured weight of the water cup.
10. A smart water cup, characterized in that, include: A detachably connected water cup and base, the base including a weighing unit that measures the overall weight of the water cup in real time; The base also includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method as claimed in any one of claims 1 to 9.