A drinking reminder method, a water cup, and a smart device
By integrating accelerometers and cloud-based big data analysis in the water cup and combining artificial intelligence, accurate measurement and reminder of children's water drinking is achieved, solving the problem of inability to effectively measure and analyze children's water drinking in the existing technology, and promoting children's healthy growth and enlightenment education.
Patent Information
- Application Number
- CN202210726909.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-24
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2042-06-24
AI Technical Summary
The existing technology cannot effectively measure and analyze the amount of water consumed by children, and lacks intelligent solutions to remind children to replenish water, which affects children's healthy growth.
By integrating an accelerometer in the water cup, users' action data are collected, cloud-based big data and artificial intelligence are combined, users' behavioral habits are analyzed, and personal daily water drinking volume is accurately measured and continuously corrected, and children are reminded to develop good drinking habits through smart devices.
Accurate measurement and continuous correction of children's water drinking volume are achieved, reminding children to drink water reasonably, and promoting children's healthy growth and enlightenment education.
Smart Images

Figure CN115005653B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things, and in particular to a drinking water reminder method, a water cup, and a smart device. Background Art
[0002] Drinking water plays a vital role in the operation of the body's physiological functions and metabolism, helping food to be transported and transformed into human energy in the gastrointestinal system, and the excretion of various metabolites. From the perspective of the body's balance, drinking too much water will inevitably need to be excreted, and will also take away various fine nutrients and energy from the body. Drinking too little water will also lead to poor blood circulation, and it will be difficult to excrete various metabolites, increasing the burden on some organs. For example, people who do not drink enough water for a long time are prone to stones.
[0003] For children, their physiology is constantly changing, developing and growing, and they are energetic and exercise a lot. However, they lack sufficient self-discipline and autonomy in their living habits and drinking habits. Therefore, it is necessary to provide a set of intelligent solutions based on the physiological development laws and characteristics of children and remind children to replenish water in time.
[0004] In the prior art, the patent name is "A kind of children's early education smart water cup" (application number is CN201620833247.6). This smart water cup only attracts children through the special shape of the cup body, and does not have further knowledge-level early education content, nor can it interact with children in a richer way, and it is not really intelligent. At the same time, it does not measure and analyze the amount of water children drink, so as to promote the healthy growth of children. Summary of the invention
[0005] In order to solve the defects of the prior art, the present invention provides a drinking water reminder method, comprising the steps of:
[0006] S1: Set the conditions for drinking water reminder;
[0007] S2: Calculate the user's water intake and frequency;
[0008] S3: When the drinking water reminder conditions are met, a drinking water reminder message is issued.
[0009] Furthermore, in step S2, the amount of water consumed by the user is calculated, including:
[0010] S20: Determine the direction of the water cup according to the static 3-axis data of the accelerometer;
[0011] S21: The accelerometer continuously collects user motion data;
[0012] S22: Calculating the axial movement mode of the water cup according to the collected continuous user motion data;
[0013] S23: determining whether the tilting action of the water cup is a drinking action, and if so, calculating the amount of water drunk and including it in the user's drinking amount statistics record;
[0014] S24: Calculating the amount of water drunk: Calculating the amount of water drunk each time according to the cross-sectional area and height of the water cup and the difference between the initial angle and the end angle of drinking water;
[0015] S25: When the user refills the cup with water, steps S21-S24 are repeated.
[0016] Further, S23: the method for determining whether the tilting action of the water cup is a drinking action is a combination of the following steps:
[0017] Tilt the cup quickly first;
[0018] The tilt speed keeps slowing down;
[0019] The tilt angle gradually increases;
[0020] The water cup then quickly returns to the vertical position.
[0021] Further, S2 also includes step 26: optimizing the measurement of water intake, including:
[0022] S260: Modeling based on the parameters of the collected user action data;
[0023] S261: Training and optimizing the collected user action data based on a neural network;
[0024] S262: forming a personalized drinking pattern for the user according to the user's cup holding habits, drinking speed, and the learning results obtained from the training of the neural network;
[0025] S263: Based on the user's personalized drinking pattern, the user's historical data is processed, the user's drinking volume record is corrected, and the drinking volume measurement method is updated.
[0026] Further, step S1: setting the conditions for drinking water reminder includes: setting the daily drinking water amount according to the user's age, wherein:
[0027] 2-3 years old, the set water intake is 600-700 ml;
[0028] 4-5 years old, the set water intake is 700-800 ml;
[0029] 5-7 years old, the set water intake is 800 ml;
[0030] 7-10 years old, set water intake to 1000 ml.
[0031] Furthermore, step S1: setting the condition of drinking water reminder also includes modifying the set daily drinking water amount in combination with the user's eating habits: dividing the user's dietary water intake into levels, and adjusting the drinking water target benchmark according to the levels, the specific levels are:
[0032] Very low, set the water intake target at 60% of your water intake;
[0033] Lower, set the water intake target benchmark at 55% of water intake;
[0034] Normal, set the water intake target benchmark to 50% of the water intake;
[0035] Higher, set the water intake target benchmark at 45% of water intake;
[0036] Very high, set a water intake goal of 40% of your water intake.
[0037] Furthermore, step S1: setting the conditions for drinking water reminder includes setting the drinking water frequency and time, which is specifically one or more combinations of the following settings:
[0038] Set the time to wake up and the reminder to drink water within the preset time after getting up;
[0039] Set main activity time periods and reminders to replenish water in time;
[0040] Set a sleep schedule and reduce the amount of water you drink before bedtime.
[0041] Further, S3: when the drinking water reminder conditions are met, issuing a drinking water reminder message also includes: if the user is not detected drinking water, pausing the relevant functions of the device.
[0042] The present invention also provides a water cup, which includes a collection unit, an analysis unit and a prompt unit, wherein:
[0043] The collection unit is used to set the conditions for drinking water reminder and collect the user's drinking water information;
[0044] The analysis unit is used to combine and analyze the user's historical data and correct the water intake algorithm parameters;
[0045] The prompt unit is used to send a drinking water reminder message when the drinking water reminder condition is met.
[0046] The present invention also provides a smart device, wherein the smart device is integrated with a water cup, and the water cup is the water cup mentioned above.
[0047] In actual applications, the modules described in the method and system disclosed in the present invention can be deployed in multiple modules on one target server, or each module can be independently deployed on different target servers. In particular, in order to provide more powerful computing processing capabilities, the modules can also be deployed on cluster target servers as needed.
[0048] It can be seen that the technical solution adopted by the present invention uses an accelerometer to collect the actions of the entire drinking process, and combines cloud big data and artificial intelligence to analyze and learn the user's behavioral habits, so as to accurately measure and continuously correct the individual's daily water intake based on the user's action pattern, and use smart devices to remind children to develop good drinking habits, which not only helps children grow up healthily but also promotes their enlightenment education.
[0049] In order to have a clearer and more comprehensive understanding of the present invention, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application, and those skilled in the art can obtain other drawings based on these drawings without creative work.
[0051] Figure 1 This is a schematic diagram of the drinking water reminder method according to an embodiment of the present application;
[0052] Figure 2-5 Schematic diagram of various states of the water cup according to the embodiment of the present application. DETAILED DESCRIPTION
[0053] In order to solve the technical problems existing in the prior art, the present invention uses an accelerometer to collect the actions of the entire drinking process, and combines cloud big data and artificial intelligence to analyze and learn the user's behavioral habits, so as to accurately measure and continuously correct the individual's daily water intake based on the user's action pattern.
[0054] Specifically, the present application provides a drinking water reminder method, comprising the steps of:
[0055] S1: Set the conditions for drinking water reminder;
[0056] S2: Calculate the user's water intake and frequency;
[0057] S3: When the drinking water reminder conditions are met, a drinking water reminder message is issued.
[0058] The technical solution of the present application is explained below in conjunction with various preferred implementations.
[0059] S1: Setting the conditions for drinking water reminder;
[0060] When manufacturing a smart water cup, a water intake detection module is placed at a specific position on the water cup, which contains an accelerometer for continuously collecting user motion data; or the water intake detection module is embedded in additional devices such as cup sleeves and cup holders to attach to ordinary water cups, and the user's motion data can be continuously collected through the accelerometer.
[0061] In the embodiment of the present application, the conditions for setting the water drinking reminder can be placed on the smart device. For children, smart devices are devices that children often use, and it is suitable to integrate the technical solution of the present application on the smart device. While using the smart device to learn children's stories, nursery rhymes, English and other knowledge, based on the national dietary guidelines and driven by the psychological characteristics of children who like games and entertainment, children are trained to develop scientific and healthy drinking habits in a vivid and interesting way, ensuring that children drink a reasonable amount of water a day, helping children grow up healthily while promoting enlightenment education for children.
[0062] Integrate smart water cups on smart devices. Choose some water cups with bright colors and cute cartoon images to attract children's attention and operate them. Such smart devices can provide basic functions such as display, sound, buttons, and touch operation. They can also provide early childhood education functions such as storytelling, playing nursery rhymes, reading English, reading pictures, and games and entertainment as needed;
[0063] The conditions for setting a drinking reminder in the embodiment of the present application include drinking time, reminder method, drinking amount target, or drinking frequency, etc.
[0064] For specific water intake, set water intake goals for children. You can refer to the following: Taking children under 10 years old as an example, according to the recommendations of the "Dietary Guidelines for Chinese Residents", "Balanced Diet Pagoda for Chinese Preschool Children", "Dietary Guidelines for Chinese School-Age Children", etc., the reference values for daily water intake are as follows:
[0065] 2-3 years old, water intake 600-700 ml
[0066] 4-5 years old, water intake 700-800 ml
[0067] 5-7 years old, water intake 800 ml
[0068] 7-10 years old, water intake 1000 ml
[0069] In addition, because about half of a person's water intake comes from food, etc., the actual water intake target should be adjusted between 40%-60% of the above-mentioned recommended intake reference value based on family eating habits, whether other water-rich fruits and vegetables and beverages are often consumed, etc., to be closer to the actual water intake needs. For example, the water intake in the user's diet can be divided into levels, and the water intake target benchmark can be adjusted according to the level. The specific levels are:
[0070] Very low, set the water intake target at 60% of your water intake;
[0071] Lower, set the water intake target benchmark at 55% of water intake;
[0072] Normal, set the water intake target benchmark to 50% of the water intake;
[0073] Higher, set the water intake target benchmark at 45% of water intake;
[0074] Very high, set a water intake goal of 40% of your water intake.
[0075] In addition, you need to make settings based on the children's activity patterns. For the following settings, you can choose one or more of them, or combine any of the options to make settings:
[0076] 1. Drink water appropriately after getting up in the morning and set the time to get up in the device system;
[0077] 2. Replenish water in time during periods of high activity. Set the main activity periods for children in the device system and give priority to replenishing water;
[0078] 3. Drink less water before going to bed. Set the child's sleep time in the system, and the amount of water to drink during this period will be reduced according to the setting;
[0079] 4. Drink water relatively evenly during the rest of the time, once an hour on average, and allocate the daily water intake target according to the strategy in this step.
[0080] As a preferred implementation, step S2, calculating the user's drinking water volume and drinking frequency, includes steps S20-S25:
[0081] S20: Determine the direction of the water cup according to the static three-axis data of the accelerometer, and set the direction closest to 9.8 as the direction of gravity acceleration, that is, the vertical direction of the water cup;
[0082] S21: The accelerometer continuously collects user motion data;
[0083] S22: Calculating the axial movement mode of the water cup according to the collected continuous user motion data;
[0084] S23: Determine whether the tilting action of the water cup is a drinking action. If so, calculate the amount of water drunk and include it in the user's drinking amount statistics record. In this application, whether the water cup is accurately judged to be drinking water when the posture changes is an important factor in determining whether the user's drinking amount is accurately detected. As a preferred implementation, the judgment method of the embodiment of this application is as follows:
[0085] See also Figures 2 to 5 , general drinking actions, such as Figure 2 FIG. 1 is a schematic diagram of the water cup in the initial state of the embodiment, and a schematic diagram of the state of starting to drink water, such as Figure 3 As shown in the figure, the cup will have a rapid tilting process at the beginning. The cup will start with a large acceleration and tilt to the drinking position at a high speed. When the water surface touches the lips, the tilting speed will slow down, and as the drinking process progresses, Figure 4 As shown, Figure 4 This is a schematic diagram of the drinking process of the embodiment of the present application. The water cup is tilted at a stable low speed, the acceleration is close to 0, and the tilt angle gradually increases. Figure 5 As shown, after drinking, the cup starts again with a large reverse acceleration and returns to the initial vertical state at a high speed. This application determines a drinking action, and only data with such a set of complete and continuous action characteristics is regarded as a drinking process and is included in the user's drinking volume statistics.
[0086] In addition, as the amount of water in the cup decreases, the initial angle from the water surface to the mouth in step S23 will gradually increase, and the ending angle at the end of drinking water will also increase accordingly.
[0087] S24: Calculating the amount of water drunk: Calculating the amount of water drunk each time according to the cross-sectional area and height of the water cup and the difference between the initial angle and the end angle of drinking water;
[0088] S25: When the user refills the cup with water, the initial drinking angle is reduced to a nearly vertical state, and steps S21-S24 are repeated.
[0089] In addition, based on the above steps S20-S25, step 26 is also included: optimizing the measurement of water intake, the cloud server stores the user's historical data, saves, studies and analyzes the collected user action data, and corrects the water intake measurement algorithm, which specifically includes S260-S263:
[0090] S260: Modeling based on parameters of collected user action data In the embodiment of the present application, the parameters that need to be collected are as follows:
[0091] ω=Rotation angle of the water cup
[0092] v = speed of the cup in the direction of movement
[0093] aω=Acceleration in the direction of rotation of the cup
[0094] av = acceleration in the direction of the cup's motion
[0095] The detection module starts from the moment the accelerometer detects the action, and continues to detect at a frequency of 50Hz for 30 seconds. A total of 1500 sets of (ω, v, aω, av) data can be collected and uploaded to the server;
[0096] Modeling is done based on parameters such as the water cup's angle, speed, acceleration, and deep learning is performed based on all historical data.
[0097] S261: Training and optimizing the collected user action data based on a neural network;
[0098] In the embodiment of the present application, since the user's historical data is combined for analysis, a multi-layer LSTM (long short-term memory) with a memory function is used as the basis for modeling and analyzing the collected data, and a Dropout (discarding process) with a ratio of 0.5 is used to optimize the neural network to prevent overfitting. Finally, the Dense layer uses Softmax for output. The specific pseudo code for establishing the neural network model is as follows:
[0099] The pseudo code for building the algorithm model is as follows:
[0100]
[0101]
[0102] S262: forming a personalized drinking pattern for the user according to the user's cup holding habits, drinking speed, and the learning results obtained from the training of the neural network;
[0103] Since everyone's cup-holding habits and drinking speed are different, a specific drinking pattern for different users can be formed based on the results of deep learning of historical data;
[0104] The learning process can be completed with the support of algorithm libraries such as tensorflow. Assume that the data set collected in step S20 is d, and the data collected in the previous 30 times constitute a large data set D. The deep learning process is completed by calling the generator function of the model. The pseudo code is as follows:
[0105] model.fit_generator(D, batch_size, epochs = 1, shuffle = True) and save the learning results through the following steps:
[0106] model.save_weights('water_record.h5')
[0107] S263: Based on the user's personalized drinking pattern, the user's historical data is processed, the user's drinking volume record is corrected, and the drinking volume measurement method is updated.
[0108] Based on the user-specific drinking pattern generated by the server, the user's historical data is processed and the user's drinking volume record is corrected. The algorithm pseudo code is as follows:
[0109] model.load_weights('water_record.h5') / / Load learning results
[0110] predictions=model.predict(d,batch_size=config.batch_size)
[0111] / / Calculate the amount of water consumed for this data
[0112] Update the measurement method of water intake: After updating the data model of user drinking related information such as cup holding speed, water drinking speed, regular water intake each time, etc., the subsequent action detection and water intake calculation are corrected based on the user action data collected and the calculated water intake based on the updated measurement algorithm parameters.
[0113] S3: When the drinking water reminder conditions are met, a drinking water reminder message is issued
[0114] For example, according to the settings of the parents, sound and light reminders such as "It's time to drink water, I need to drink water" can be issued at regular intervals to remind children to drink water in time; you can also set a reminder to drink water again after the amount of water consumed reaches a certain value and time.
[0115] Based on the above embodiments, the present application further provides a water cup, which includes a collection unit, an analysis unit, and a prompt unit, wherein:
[0116] The collection unit is used to set the conditions for drinking water reminder and collect the user's drinking water information;
[0117] The analysis unit is used to combine the user's historical data and perform analysis to correct the water drinking algorithm parameters; the prompt unit is used to issue a water drinking prompt message when the water drinking prompt conditions are met.
[0118] Based on the above embodiment, the present application further provides a smart device, wherein the smart device is integrated with a water cup, and the water cup is the water cup of the above embodiment. It can be combined with other functions of the smart device, such as:
[0119] If the smart device does not detect that the child is drinking water, it will pause other device entertainment functions and play health-related content such as drinking water and eating for a preset time to provide children with preliminary health-related education;
[0120] If the smart device detects that the child has drunk an appropriate amount of water and meets the preset standards, the child will be praised and the completed drinking water target will be converted into points, which can be exchanged for virtual goods, virtual images and other items in the system platform, and encouraged in the entertainment items on the device, thus positively promoting the child's drinking habits. In addition, the number of times and amount of water consumed by the child can be transmitted to the parent's mobile phone through the network, so that the parent can know the child's drinking situation in time and whether the water cup needs to be refilled.
[0121] An embodiment of the present application also provides a computer-readable storage medium, in which instructions or programs are stored. The instructions or programs are loaded by a processor and executed by any of the above-mentioned drinking water measurement methods.
[0122] An embodiment of the present application also provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform any of the drinking water measurement methods described above.
[0123] It should be noted that, a person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the storage medium can include but is not limited to: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0124] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A drinking water reminder method, characterized in that: Includes steps: S1: Set the conditions for drinking water reminder; S2: Calculate the user's water intake and frequency, including: S20: Determine the direction of the water cup according to the static 3-axis data of the accelerometer; S21: The accelerometer continuously collects user motion data; S22: Calculating the axial movement mode of the water cup according to the collected continuous user motion data; S23: determining whether the tilting action of the water cup is a drinking action, and if so, calculating the amount of water drunk and including it in the user's drinking amount statistics record. The method for determining whether the tilting action of the water cup is a drinking action includes: Tilt the cup quickly first; The tilt speed keeps slowing down; The tilt angle gradually increases; The water cup then quickly returns to a vertical state; S24: Calculating the amount of water drunk: Calculating the amount of water drunk each time according to the cross-sectional area and height of the water cup and the difference between the initial angle and the end angle of drinking water; S25: When the user refills the cup with water, steps S21-S24 are repeated; 26: Optimize water intake measurement, including: S260: Modeling based on the parameters of the collected user action data; S261: Training and optimizing the collected user action data based on a neural network, wherein the neural network structure is based on a multi-layer LSTM to model and analyze the collected data, and the neural network is optimized with a Dropout ratio of 0.5, and finally the Dense layer uses Softmax for output; S262: forming a personalized drinking pattern for the user according to the user's cup holding habits, drinking speed, and the learning results obtained from the training of the neural network; S263: Based on the user's personalized drinking mode, the user's historical data is processed, the user's drinking volume record is corrected, and the drinking volume measurement method is updated; S3: When the drinking water reminder conditions are met, a drinking water reminder message is issued.
2. The drinking water reminder method according to claim 1, The feature is that step S1: setting the conditions for drinking water reminder includes: setting the daily drinking water amount according to the user's age, wherein: 2-3 years old, the set water intake is 600-700 ml; 4-5 years old, the set water intake is 700-800 ml; 5-7 years old, the set water intake is 800 ml; 7-10 years old, set water intake to 1000 ml.
3. The drinking water reminder method according to claim 1, characterized in that the step S1: The conditions for setting a water drinking reminder also include modifying the daily water intake according to the user's dietary habits: the water intake in the user's diet is divided into levels, and the water intake target benchmark is adjusted according to the levels. The specific levels are: Very low, set the water intake target at 60% of your water intake; Lower, set the water intake target benchmark at 55% of water intake; Normal, set the water intake target benchmark to 50% of the water intake; Higher, set the water intake target benchmark at 45% of water intake; Very high, set a water intake goal of 40% of your water intake.
4. The drinking water reminder method according to claim 1, characterized in that the step S1: The conditions for setting a water drinking reminder include setting the water drinking frequency and time, which can be one or more combinations of the following settings: Set the time to wake up and the reminder to drink water within the preset time after getting up; Set main activity time periods and reminders to replenish water in time; Set a sleep schedule and reduce the amount of water you drink before bedtime.
5. The drinking water reminder method according to claim 1, characterized in that: S3: When the drinking water reminder conditions are met, sending the drinking water reminder information also includes: if the user is not detected drinking water, pausing the relevant functions of the device.
6. A water cup, used to implement the drinking water reminder method according to any one of claims 1 to 5, characterized in that: The water cup includes a collection unit, an analysis unit and a prompt unit, wherein: The collection unit is used to set the conditions for drinking water reminder and collect the user's drinking water information; The analysis unit is used to combine and analyze the user's historical data and correct the water intake algorithm parameters; The prompt unit is used to send a drinking water reminder message when the drinking water reminder condition is met.
7. A smart device, the smart device being integrated with a water cup, characterized in that: The water cup is the water cup according to claim 6.
Citation Information
Patent Citations
Children early teach intelligent drinking cup
CN206303611U
Daily drinking water management network system for crowds looked after
CN104570875A
Intelligent water cup and method for automatically measuring volume of drinking water
CN107048920A
Drinking water monitoring method for vacuum cup
CN112741467A
Drinking water management method and intelligent water cup holder
CN113180445A