CN109060067A - A kind of detection method of amount of drinking water, system and Intelligent water cup - Google Patents

A kind of detection method of amount of drinking water, system and Intelligent water cup Download PDF

Info

Publication number
CN109060067A
CN109060067A CN201810765113.9A CN201810765113A CN109060067A CN 109060067 A CN109060067 A CN 109060067A CN 201810765113 A CN201810765113 A CN 201810765113A CN 109060067 A CN109060067 A CN 109060067A
Authority
CN
China
Prior art keywords
water
cup
drinking
amount
pulses
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810765113.9A
Other languages
Chinese (zh)
Inventor
卢甸
江海燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Jiji Intellectual Property Operation Co., Ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201810765113.9A priority Critical patent/CN109060067A/en
Publication of CN109060067A publication Critical patent/CN109060067A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F22/00Methods or apparatus for measuring volume of fluids or fluent solid material, not otherwise provided for

Landscapes

  • Physics & Mathematics (AREA)
  • Fluid Mechanics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Volume Flow (AREA)

Abstract

The present invention provides a kind of detection method of amount of drinking water, system and Intelligent water cup, method includes: to obtain the number of pulses that flow sensor detects in current slot;The flow sensor is set to the bubbler of Intelligent water cup;According to the corresponding duration of the current slot and the number of pulses, operation obtains amount of drinking water of the user in the current slot.Low cost of the invention precisely detects the amount of drinking water of user, promotes amount of drinking water detection experience.

Description

A kind of detection method of amount of drinking water, system and Intelligent water cup
Technical field
The present invention relates to Intelligent water cup field, espespecially a kind of detection method of amount of drinking water, system and Intelligent water cup.
Background technique
As the improvement of people's living standards, increasingly focusing on the health of oneself, health also becomes society's recent years The topic of concern can be compared, daily the sufficient moisture of supplement, maintaining the physiological function of human normal is the substantially normal of health care Know.
With the continuous improvement of people's living standards, people increasingly pay attention to healthy quality life, air, food, water Etc. be all emphasis concerned by people, special water is extremely important to human body, because the cell of human body is most of to be made of water , only user, which drinks enough water, could make the internal water of user sufficient, to ensure the health of user.
The mode of existing amount of drinking water detection mainly has:
1, amount of drinking water is detected in the way of pressure sensor, but disadvantage is that cup static must be in desktop It just can be carried out accurate detection on equal seating surfaces, amount of drinking water detection experience is not high.
2, amount of drinking water is detected in the way of ultrasound examination water level, but disadvantage is that testing cost is higher.
Summary of the invention
The object of the present invention is to provide a kind of detection method of amount of drinking water, system and Intelligent water cups, realize low cost precisely While detecting the amount of drinking water of user, the purpose of amount of drinking water detection experience is promoted.
Technical solution provided by the invention is as follows:
The present invention provides a kind of detection method of amount of drinking water, comprising steps of
Obtain the number of pulses that flow sensor detects in current slot;The flow sensor is set to intelligent water The bubbler of cup;
According to the corresponding duration of the current slot and the number of pulses, operation obtains user in the current time Amount of drinking water in section.
It further, include step before the number of pulses that flow sensor detects in the acquisition current slot It is rapid:
Obtain amount of drinking water data sample, number of pulses sample;
Linear equality is established according to the relationship between the amount of drinking water data sample and the number of pulses sample;
It is described according to the corresponding duration of the current slot and the number of pulses, operation obtains user described current Amount of drinking water in period specifically includes step:
The number of pulses is substituted into the linear equality, water flow numerical quantity corresponding in the number of pulses is obtained;
The corresponding duration of current slot described in operation and the water flow numerical quantity, obtain user in the current time Corresponding amount of drinking water in section.
Further, the number of pulses that flow sensor detects in the acquisition current slot specifically includes step It is rapid:
Judge whether Intelligent water cup is in drinking-water state;
When the Intelligent water cup is in drinking-water state, the flow sensing within the drinking-water state corresponding period is obtained The number of pulses that device detects.
Further, if Intelligent water cup is equipped with the cup plug for blocking bubbler, the drink is blocked when the cup plug is not in When the state at the mouth of a river, determine that the Intelligent water cup is in drinking-water state;Or,
If the top of cup chamber is equipped with bubbler, and is not provided with envelope with the cup chamber of open top in the cup body of Intelligent water cup When the cup plug of stifled bubbler, when the Intelligent water cup is in drinking-water state, the institute within the drinking-water state corresponding period is obtained State the number of pulses that flow sensor detects.
The present invention also provides a kind of Intelligent water cups, comprising:
Flow sensor obtains the number of pulses in current slot;The flow sensor is set to the drink of Intelligent water cup The mouth of a river;
Processor, according to the corresponding duration of the current slot and the number of pulses, operation obtains user described Amount of drinking water in current slot.
Further, further includes:
Input interface obtains amount of drinking water data sample, number of pulses sample;
Training aids is established linear etc. according to the relationship between the amount of drinking water data sample and the number of pulses sample Formula;
The number of pulses obtained from the flow sensor is substituted into the training aids training and obtained by the processor The linear equality in, obtain the water flow numerical quantity in the number of pulses corresponding user drinking-water;When current described in operation Between the corresponding duration of section and the water flow numerical quantity, obtain user's corresponding amount of drinking water in the current slot.
Further, further includes:
Detector, judges whether Intelligent water cup is in drinking-water state;
The processor obtains within the drinking-water state corresponding period when the Intelligent water cup is in drinking-water state The number of pulses that the flow sensor detects.
Further, if Intelligent water cup is equipped with the cup plug for blocking bubbler, when the detector detects the cup plug When being not in the state for blocking the bubbler, determine that the Intelligent water cup is in drinking-water state;Or,
If the top of cup chamber is equipped with bubbler, and is not provided with envelope with the cup chamber of open top in the cup body of Intelligent water cup When the cup plug of stifled bubbler, when the detector detects that the Intelligent water cup is in drinking-water state, obtain in drinking-water state The number of pulses that the flow sensor detects in the corresponding period.
The present invention also provides a kind of detection systems of amount of drinking water, comprising: Intelligent water cup and mobile terminal;The Intelligent water cup It include: the flow sensor and first transceiver of the bubbler set on Intelligent water cup;The mobile terminal includes processor and Two transceivers;
The flow sensor obtains the number of pulses in current slot;
The second transceiver obtains the current slot and the number of pulses from the first transceiver;
The processor, according to the corresponding duration of the current slot and the number of pulses, operation obtains user and exists Amount of drinking water in the current slot.
Further, the mobile terminal further include:
Input interface obtains amount of drinking water data sample, number of pulses sample;
Training aids is established linear etc. according to the relationship between the amount of drinking water data sample and the number of pulses sample Formula;
The number of pulses obtained from the flow sensor is substituted into the training aids training and obtained by the processor The linear equality in, obtain the water flow numerical quantity in the number of pulses corresponding user drinking-water;When current described in operation Between the corresponding duration of section and the water flow numerical quantity, obtain user's corresponding amount of drinking water in the current slot.
Detection method, system and the Intelligent water cup of a kind of amount of drinking water provided through the invention, can bring it is following at least It is a kind of the utility model has the advantages that
1) present invention detects to obtain the amount of drinking water of user by being set to the flow sensor of the bubbler of Intelligent water cup, is promoted Amount of drinking water detects accuracy, and amount of drinking water testing cost is low, promotes the experience of the detection amount of drinking water of user.
2) present invention calculates the linear equality obtained between water flow data and number of pulses, algorithm according to least square method Simply, convenient for calculating, error is small, and amount of drinking water testing result is accurate, and amount of drinking water detection efficiency is high.
3) present invention obtains in the drinking-water state corresponding period, stream when detecting that Intelligent water cup is in drinking-water state The number of pulses that quantity sensor detects carries out calculating amount of drinking water, excludes arteries and veins when the unused Intelligent water cup of user is drunk water The interference of the number of signal is rushed, the accuracy of amount of drinking water detection is promoted.
4) flow sensor and processor are set at Intelligent water cup by the present invention, do not need additionally to carry other mobile Terminal locally voluntarily can accurately detect the amount of drinking water of user by Intelligent water cup, to promote the intelligence of Intelligent water cup.
5) flow sensor is set to Intelligent water cup by the present invention, and the processor carried using mobile terminal is carried out operation and obtained The amount of drinking water of user does not need the other addition processing device at Intelligent water cup, reduces the composition complexity and hardware of Intelligent water cup Cost reduces the price of Intelligent water cup, increases the popularization degree of Intelligent water cup.
Detailed description of the invention
Below by clearly understandable mode, preferred embodiment is described with reference to the drawings, to a kind of detection side of amount of drinking water Above-mentioned characteristic, technical characteristic, advantage and its implementation of method, system and Intelligent water cup are further described.
Fig. 1 is the flow chart of one embodiment of the detection method of amount of drinking water of the present invention;
Fig. 2 is the flow chart of another embodiment of the detection method of amount of drinking water of the present invention;
Fig. 3 is the structural schematic diagram of one embodiment of Intelligent water cup of the present invention;
Fig. 4 is the structural schematic diagram of another embodiment of Intelligent water cup of the present invention.
Fig. 5 is the structural schematic diagram of one embodiment of the detection system of amount of drinking water of the present invention;
Fig. 6 is the structural schematic diagram of another embodiment of the detection system of amount of drinking water of the present invention.
Specific embodiment
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, Detailed description of the invention will be compareed below A specific embodiment of the invention.It should be evident that drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing, and obtain other embodiments.
To make simplified form, part related to the present invention is only schematically shown in each figure, they are not represented Its practical structures as product.In addition, there is identical structure or function in some figures so that simplified form is easy to understand Component only symbolically depicts one of those, or has only marked one of those.Herein, "one" is not only indicated " only this ", can also indicate the situation of " more than one ".
The kinetic energy of flow sensor, fluid acts on turbo blade, since turbo blade and fluid are flowed into certain angle Degree, turbine generates rotating torque at this time, starts after turbine overcomes the moment of resistance and moment of friction.When all torque reaches balance, Stabilization of speed, turbine rotation angular speed and flow are in a linear relationship, are periodically changed by the magnet of rotation transmitted on disk Sensor magnetic resistance, to induce the pulse signal directly proportional to fluid volume flow at sensor both ends.
First embodiment of the invention, as shown in Figure 1, a kind of detection method of amount of drinking water, comprising:
S100 obtains the number of pulses that flow sensor detects in current slot;The flow sensor is set to intelligence The bubbler of energy cup;
For S200 according to the corresponding duration of the current slot and the number of pulses, operation obtains user described current Amount of drinking water in period.
Specifically, when flowing through flow sensor due to liquid, flow sensor is able to detect to obtain pulse in the present embodiment The time (i.e. current slot) that the number (i.e. number of pulses) of signal and user are drunk using cup, by being set to intelligence Flow sensor at the bubbler of energy cup carries out number of pulses and current slot when detection user drinks water, according to pulse Quantity and current slot carry out operation, to obtain amount of drinking water when user carries out drinking behavior in the period in this prior. The present invention detects to obtain the amount of drinking water of user by being set to the flow sensor of the bubbler of Intelligent water cup, compared with the existing technology For detecting amount of drinking water using pressure sensor, while being able to ascend amount of drinking water detection accuracy, also avoid passing using pressure The phenomenon that Intelligent water cup can only be placed in the seating surfaces such as desktop or ground when sensor detects amount of drinking water, so as to ensure user It still is able to accurately detect the purpose of the amount of drinking water of user during the motion, also as amount of drinking water testing conditions are unlike existing skill Art is harsh like that, and the detection mode generalization of amount of drinking water is stronger, and application scenarios are more.Again much because of the cost of flow sensor Lower than ultrasonic detection sensor, to reduce the cost that user detects amount of drinking water, the experience of the detection amount of drinking water of user is promoted.
Second embodiment of the invention, as shown in Figure 2:
S001 obtains amount of drinking water data sample, number of pulses sample;
S002 establishes linear equality according to the relationship between the amount of drinking water data sample and the number of pulses sample;
S100 obtains the number of pulses that flow sensor detects in current slot;The flow sensor is set to intelligence The bubbler of energy cup;
According to the corresponding duration of the current slot and the number of pulses described in S200, operation obtains user described Amount of drinking water in current slot specifically includes step:
S210 substitutes into the number of pulses in the linear equality, obtains water flow number corresponding in the number of pulses Value;
The corresponding duration of current slot described in S220 operation and the water flow numerical quantity obtain user described current Corresponding amount of drinking water in period.
Specifically, this is no longer going to repeat them for part identical with above-mentioned first embodiment in the present embodiment.User is each The amount of drinking water V (L) generated when drinking-water=water flow numerical quantity Q (L/s) × current slot t (s), i.e. water flow numerical quantity Q (L/s)= Amount of drinking water V (L) ÷ current slot t (s), and flow sensor when user drinks water every time at the bubbler of Intelligent water cup Turbo blade speed f (Hz)=number of pulses (N) ÷ current slot t (s) because, water flow numerical quantity Q (L/s)= When amount of drinking water V (L) ÷ current slot t (s)=(cross-sectional area S × flow sensor length L of flow sensor)/current Between section t (s), and the length L ÷ current slot t (s) of flow sensor=water velocity V, so water flow numerical quantity Q (L/s) =cross-sectional area S × water velocity V, and angular velocity omega × flow sensor radius r of flow rate V=turbo blade rotation =2 π f × r, therefore water flow numerical quantity Q (L/s) and turbo blade speed f (Hz) are in a linear relationship, that is, meet following linear Regression model (1):
Water flow numerical quantity Q=a × frequency f+b (1)
Wherein, a and b is unknown constant.
When carrying out practical amount of drinking water when detection user drinks water every time, rotated in water flow numerical quantity Q (L/s) and turbo blade Under the premise of frequency f (Hz) is in a linear relationship, amount of drinking water is established in advance and is calculated between amount of drinking water data and number of pulses Linear equality, i.e., amount of drinking water when acquisition user drinks water every time obtain what user drank water every time as amount of drinking water data sample The corresponding flow sensor of amount of drinking water is because drinking-water leads to the i.e. number of pulses conduct of number of the pulse signal of turbo blade generation Number of pulses sample, according to least square method, linear regression model (LRM) (1) and a large amount of amount of drinking water data sample Qi=Q1, Q2, Q3 ... ..., Qm;It is positive natural number with number of pulses sample Ni=N1, N2, N3 ... ..., Nm, m, constant a and constant is calculated b.Assuming that the a=0.5, the b=0.8 that are calculated, therefore the linear equality being calculated is shown in following equalities (2):
Water flow numerical quantity Q=0.5 × frequency f+0.8 (2)
In the situation known to the constant a and b of linear equality, and the flow sensing at the bubbler of Intelligent water cup In situation known to the number of pulses of device acquisition, due to amount of drinking water V (L)=water flow numerical quantity Q (L/s) × current slot t (s), therefore Intelligent water cup is after being calculated the corresponding water flow numerical quantity of the number of pulses, according to flow sensor real-time detection The time of pulse signal is as current slot, and the water flow numerical quantity being calculated according to linear equality, is calculated To the amount of drinking water of user.
The amount of drinking water that the present invention obtains when user drinks water every time for accurate detection provides algorithm, is calculated according to least square method The linear equality between water flow data and number of pulses is obtained, algorithm is simple, and convenient for calculating, and least square method calculates To constant be infinitely close to reality, error is small, and practical amount of drinking water when drinking water every time for user provides more accurate detection As a result while, since algorithm simply makes amount of drinking water detection efficiency high, to improve the usage experience of user.
Third embodiment of the invention, the present embodiment are the optimal enforcement examples of above-mentioned first or second embodiments, with above-mentioned One or second embodiment compare, the improvement is that, the S100 obtains what flow sensor in current slot detected Number of pulses specifically includes step:
S110 judges whether Intelligent water cup is in drinking-water state;
S120 obtains the flow within the drinking-water state corresponding period when the Intelligent water cup is in drinking-water state The number of pulses that sensor detects.
Specifically, liquid can drive the turbo blade of flow sensor to rotate when flowing, thus the pulse signal generated, by Intelligent water cup may be rocked during user uses Intelligent water cup, cause Intelligent water cup to rock and liquid flowing is caused to cause There is the case where erroneous detection in flow sensor, it is therefore desirable to judge whether Intelligent water cup is in drinking-water state, thus only in determination When Intelligent water cup is in drinking-water state, just obtain flow sensor Intelligent water cup be in the drinking-water state corresponding period be work as The quantity of the pulse signal detected in the preceding period.Illustratively, when Intelligent water cup is not in drinking-water state, flow sensor Detecting obtained number of pulses is 50, and when Intelligent water cup is in drinking-water state, the umber of pulse that flow sensor detects Amount is 40, and this 40 number of pulses are only the arteries and veins that flow sensor generates when user carries out drinking behavior using Intelligent water cup Rush the number of signal.The present invention excludes the interference of the number of pulse signal when the unused Intelligent water cup of user is drunk water, and mentions Rise the accuracy of amount of drinking water detection.
Fourth embodiment of the invention, it is and upper as shown in figure 4, the present embodiment is the optimal enforcement example of above-mentioned 3rd embodiment It states 3rd embodiment to compare, the improvement is that:
If S101 Intelligent water cup is equipped with the cup plug for blocking bubbler, the bubbler is blocked when the cup plug is not in When state, determine that the Intelligent water cup is in drinking-water state;Or,
If the top of cup chamber is equipped with bubbler, and does not set with the cup chamber of open top in the cup body of S102 Intelligent water cup When having the cup plug for blocking bubbler, when the Intelligent water cup is in drinking-water state, the period corresponding in drinking-water state is obtained The number of pulses that the interior flow sensor detects.
Specifically, if Intelligent water cup be equipped with block bubbler cup plug when, when the detector detects the cup plug not When in the state for blocking the bubbler, determining that the Intelligent water cup is in drinking-water state includes following two situation:
If 1, Intelligent water cup includes cup body, suction pipe and cup lid, when flow sensor is set at suction pipe, i.e. Intelligent water cup With the cup chamber of open top in cup body, the top of cup chamber is equipped with rim of a cup, and cup is intracavitary to be equipped with suction pipe, and the water inlet of suction pipe is set to cup Intracavitary, the bubbler of suction pipe is arranged across rim of a cup, and flow sensor is around appointing between the water inlet and bubbler of suction pipe It anticipates position, cup lid correspond at the top of cup chamber equipped with the cup plug for blocking the bubbler of suction pipe, when detecting at Intelligent water cup When the state of drinking-water, i.e., when being not in the state for blocking bubbler for blocking the cup plug of bubbler, it is corresponding to obtain drinking-water state Current slot in, number of pulses that flow sensor detects.It avoids because user carries Intelligent water cup and moves, But user leads to Intelligent water cup actually and when being not switched on the cup lid of Intelligent water cup and drinking water by the bubbler of suction pipe The intracavitary liquid flowing of cup causes the turbine of the flow sensor of any part between the water inlet and bubbler of suction pipe The pulse signal that blade rotation generates is acquired addition and calculates, to exclude arteries and veins when the unused Intelligent water cup of user is drunk water The interference of the number of signal is rushed, the accuracy of amount of drinking water detection is promoted.If 2, Intelligent water cup includes cup body, cup plug and cup lid, Cup plug sleeve is set to the inner sidewall of the rim of a cup of cup body, and cup lid is sheathed on the lateral wall of the rim of a cup of cup body, and the cock body of cup plug is far from cup body Side be provided with holding tank, the water outlet bracket of cup plug is covered in the open end of holding tank, and water outlet branch is provided with bubbler and stomata, Cock body corresponds to bubbler equipped with flow sensor, so that bubbler is connected to by flow sensor with cup chamber, cup lid direction water outlet Bracket side protrusion has the lug boss for blocking bubbler.When detecting that Intelligent water cup is in drinking-water state, that is, judge for sealing When the cup plug of stifled bubbler is not in the state for blocking bubbler, obtain in the corresponding current slot of drinking-water state, flow passes The number of pulses that sensor detects.It avoids because user carries Intelligent water cup and moves, but user does not beat actually When opening the cup lid of Intelligent water cup and being drunk water, the whirlpool of flow sensor caused by the liquid for causing the cup of Intelligent water cup intracavitary flows The pulse signal that impeller blade rotation generates is acquired addition and calculates, and is not used when Intelligent water cup is drunk water to exclude user The interference of the number of pulse signal promotes the accuracy of amount of drinking water detection.
If the top of cup chamber is equipped with bubbler, and is not provided with envelope with the cup chamber of open top in the cup body of Intelligent water cup When the cup plug of stifled bubbler, when the detector detects that the Intelligent water cup is in drinking-water state, obtain in drinking-water state The number of pulses that the flow sensor detects in the corresponding period is i.e.:
If Intelligent water cup includes cup body, there is the cup chamber of open top in the cup body of Intelligent water cup, set at the top of cup chamber There is rim of a cup, which is the bubbler of Intelligent water cup, and flow sensor is set to bubbler, since Intelligent water cup is not provided with closing greatly The cup lid of gas and cup chamber, therefore when angular transducer (the including but not limited to acceleration transducer or gyro set on cup body Instrument) angle between the detection obtained bubbler and horizontal plane of Intelligent water cup is when being greater than predetermined angle threshold value, when detecting intelligence Energy cup is in drinking-water state, obtains in the corresponding current slot of drinking-water state, the umber of pulse that flow sensor detects Amount.
For the present invention in the case where Intelligent water cup different structure construction, corresponding different detection mode detects Intelligent water cup Whether it is in drinking-water state, when detecting that Intelligent water cup is in drinking-water state, obtains the corresponding current slot of drinking-water state Interior, the number of pulses that flow sensor detects carries out calculating amount of drinking water, excludes the unused Intelligent water cup of user and drinks water When pulse signal number interference, promoted amount of drinking water detection accuracy.
Preferably, the S200 is used according to the corresponding duration of the current slot and the number of pulses, operation Family after the amount of drinking water in the current slot comprising steps of
The drinking-water total amount of S300 counting user within a preset period of time;
S400 generates prompt information and reminds user's drinking-water when total amount of drinking water is less than default amount of drinking water.
Specifically, the default amount of drinking water of each user within a preset period of time is preset, when detection obtains user pre- If the drinking-water total amount in the period just generates prompt information when being less than default amount of drinking water, by the human-computer interaction for being set to Intelligent water cup Interface reminds user to drink water in time by sound, light, any one or various ways in vibration, can be by being set to intelligence Human-computer interaction interface and user at energy cup carry out human-computer interaction and remind user's drinking-water, so that Intelligent water cup is with preferable people Machine interactive function sufficient moisture is replenished in time convenient for user, to promote the health of user.
In addition, Intelligent water cup can send the drinking-water total amount of the user for counting and obtaining within a preset period of time to mobile end End, is carried out judging whether to meet by mobile terminal according to the drinking-water total amount of the user obtained from Intelligent water cup within a preset period of time Default amount of drinking water, when total amount of drinking water is lower than default amount of drinking water, mobile device passes through any one in sound, light, vibration Or various ways remind user drinking-water, due to mobile phone, the mobile terminals such as intelligent wearable device be the frequent band of user at one's side , thus by mobile terminal remind user drinking-water, can when Intelligent water cup not at one's side when, pass through mobile terminal at one's side User's drinking-water is reminded, to guarantee that user can perceive prompting, to reach more preferably drinking reminder effect, and then promotes user Usage experience.
Fifth embodiment of the invention, as shown in figure 3, a kind of Intelligent water cup 100 includes:
Flow sensor 110 obtains the number of pulses in current slot;The flow sensor 110 is set to intelligent water The bubbler of cup 100;
Processor 120, according to the corresponding duration of the current slot and the number of pulses, operation obtains user in institute State the amount of drinking water in current slot.
Specifically, when flowing through flow sensor 110 due to liquid, flow sensor 110 is able to detect in the present embodiment The time (i.e. current slot) drunk to the number (i.e. number of pulses) of pulse signal and user using cup, pass through Flow sensor 110 at the bubbler of Intelligent water cup 100 carry out number of pulses of detection user when drinking water and it is current when Between section, operation is carried out according to number of pulses and current slot, so that obtaining user carries out drinking-water row in the period in this prior For when amount of drinking water.The present invention obtains the drink of user by being set to the detection of flow sensor 110 of the bubbler of Intelligent water cup 100 Water for detecting amount of drinking water using pressure sensor compared with the existing technology, is able to ascend the same of amount of drinking water detection accuracy When, Intelligent water cup 100 can only be placed in the seating surfaces such as desktop or ground when also avoiding detecting amount of drinking water using pressure sensor The phenomenon that, so as to ensure that user still is able to accurately detect the purpose of the amount of drinking water of user during the motion, also as Amount of drinking water testing conditions are harsh unlike the prior art, and the detection mode generalization of amount of drinking water is stronger, and application scenarios are more.Again Because the cost of flow sensor 110 is well below ultrasonic detection sensor, so that the cost that user detects amount of drinking water is reduced, Promote the experience of the detection amount of drinking water of user.
In addition, can make since flow sensor 110 and processor 120 are set at Intelligent water cup 100 by the present embodiment It obtains the local voluntarily detection of Intelligent water cup 100 and obtains the amount of drinking water of user, to promote the intelligence of Intelligent water cup 100.
Sixth embodiment of the invention, it is and upper as shown in figure 4, the present embodiment is the optimal enforcement example of above-mentioned 5th embodiment It states the 5th embodiment to compare, the improvement is that, further includes:
Input interface 130 obtains amount of drinking water data sample, number of pulses sample;
Training aids 140 is established linear according to the relationship between the amount of drinking water data sample and the number of pulses sample Equation;
The number of pulses obtained from the flow sensor 110 is substituted into the training aids by the processor 120 In the linear equality that 140 training obtain, the water flow numerical quantity in the corresponding user's drinking-water of the number of pulses is obtained;Operation The corresponding duration of current slot and the water flow numerical quantity, obtain user's corresponding drink in the current slot Water.
Specifically, the amount of drinking water V (L) generated when user drinks water every time=water flow numerical quantity Q (L/s) × current slot t (s), i.e. water flow numerical quantity Q (L/s)=amount of drinking water V (L) ÷ current slot t (s), and intelligent water is set to when user drinks water every time Turbo blade speed f (Hz)=number of pulses (N) ÷ current time of flow sensor 110 at the bubbler of cup 100 Section t (s), because, water flow numerical quantity Q (L/s)=amount of drinking water V (L) ÷ current slot t (s)=(cross of flow sensor 110 Sectional area S × flow sensor 110 length L)/current slot t (s), and when the length L ÷ of flow sensor 110 is current Between section t (s)=water velocity V, so water flow numerical quantity Q (L/s)=cross-sectional area S × water velocity V, and flow rate V= Radius r=2 π f × r of angular velocity omega × flow sensor 110 of turbo blade rotation, therefore water flow numerical quantity Q (L/s) and whirlpool Impeller blade speed f (Hz) is in a linear relationship, that is, meets following linear regression model (1):
Water flow numerical quantity Q=a × frequency f+b (1)
Wherein, a and b is unknown constant.
When carrying out practical amount of drinking water when detection user drinks water every time, rotated in water flow numerical quantity Q (L/s) and turbo blade Under the premise of frequency f (Hz) is in a linear relationship, amount of drinking water is established in advance and is calculated between amount of drinking water data and number of pulses Linear equality, i.e., amount of drinking water when acquisition user drinks water every time obtain what user drank water every time as amount of drinking water data sample The corresponding flow sensor 110 of amount of drinking water is because the number i.e. number of pulses for the pulse signal that drinking-water causes turbo blade to generate is made For number of pulses sample, according to least square method, linear regression model (LRM) (1) and a large amount of amount of drinking water data sample Qi=Q1, Q2, Q3 ... ..., Qm;Be positive natural number with number of pulses sample Ni=N1, N2, N3 ... ..., Nm, m, be calculated constant a and Constant b.Assuming that the a=0.5, the b=0.8 that are calculated, therefore the linear equality being calculated is shown in following equalities (2):
Water flow numerical quantity Q=0.5 × frequency f+0.8 (2)
In the situation known to the constant a and b of linear equality, and the flow at the bubbler of Intelligent water cup 100 Known to the number of pulses that sensor 110 acquires in situation, when due to amount of drinking water V (L)=water flow numerical quantity Q (L/s) × current Between section t (s), therefore Intelligent water cup 100 is after being calculated the corresponding water flow numerical quantity of the number of pulses, according to flow sensor The time of 110 real-time detection pulse signals is as current slot, and the water flow numerical quantity being calculated according to linear equality, It is calculated to obtain the amount of drinking water of user.
The amount of drinking water that the present invention obtains when user drinks water every time for accurate detection provides algorithm, is calculated according to least square method The linear equality between water flow data and number of pulses is obtained, algorithm is simple, and convenient for calculating, and least square method calculates To constant be infinitely close to reality, error is small, and practical amount of drinking water when drinking water every time for user provides more accurate detection As a result while, since algorithm simply makes amount of drinking water detection efficiency high, to improve the usage experience of user.
In addition, can make since flow sensor 110 and processor 120 are set at Intelligent water cup 100 by the present embodiment It obtains the local voluntarily detection of Intelligent water cup 100 and obtains the amount of drinking water of user, so that the intelligence of Intelligent water cup 100 is promoted, because with The mobile terminal at family may be mobile phone, wearable device etc., if user's carrying is the movement for not storing linear equality When terminal, user can not detect to obtain the amount of drinking water of user, it is necessary to and user carries the mobile terminal for storing linear equality, or While person stores linear equality, the in this way memory of occupancy mobile terminal on all mobile terminals, user experience is not Height, and by the training storage linear equality of Intelligent water cup 100, it will be able to when user is drunk water using Intelligent water cup 100, do not need volume The other mobile terminals of outer carrying, can accurately be detected the amount of drinking water of user by Intelligent water cup 100.
Seventh embodiment of the invention, the present embodiment are the optimal enforcement examples of the above-mentioned 5th or sixth embodiment, with above-mentioned Five or sixth embodiment compare, the improvement is that, further includes:
Whether detector judges Intelligent water cup 100 in drinking-water state;
When the Intelligent water cup 100 is in drinking-water state, the flow within the drinking-water state corresponding period is obtained Sensor 110 detects obtained number of pulses.
Specifically, liquid can drive the turbo blade of flow sensor 110 to rotate when flowing, thus the pulse letter generated Number.Intelligent water cup 100 may be rocked during using Intelligent water cup 100 due to user, causes Intelligent water cup 100 to rock and draws Whether playing liquid flowing causes flow sensor 110 the case where erroneous detection occur, it is therefore desirable to judge Intelligent water cup 100 in drinking-water State, to just obtain flow sensor 110 in Intelligent water cup 100 only when determining that Intelligent water cup 100 is in drinking-water state The quantity of the pulse signal detected in drinking-water state corresponding period, that is, current slot.Illustratively, intelligent water When cup 100 is not in drinking-water state, it is 50 that flow sensor 110, which detects obtained number of pulses, and Intelligent water cup 100 is in When drinking-water state, it is 40 that flow sensor 110, which detects obtained number of pulses, and this 40 number of pulses are only user's use Intelligent water cup 100 carries out the number for the pulse signal that flow sensor 110 generates when drinking behavior.The present invention, which excludes user, not to be made The interference of the number of pulse signal when being drunk water with Intelligent water cup 100 promotes the accuracy of amount of drinking water detection.
Eighth embodiment of the invention, the present embodiment are the optimal enforcement examples of above-mentioned 5th embodiment, are implemented with the above-mentioned 5th Example is compared, and is theed improvement is that:
If Intelligent water cup 100 is equipped with the cup plug for blocking bubbler, when the detector detects that the cup plug is not in When blocking the state of the bubbler, determine that the Intelligent water cup 100 is in drinking-water state;Or,
If the top of cup chamber is equipped with bubbler, and is not provided with the cup chamber of open top in the cup body of Intelligent water cup 100 When blocking the cup plug of bubbler, the angle between the bubbler and horizontal plane that the detector detects the Intelligent water cup 100 When degree is greater than predetermined angle threshold value, determine that the Intelligent water cup 100 is in drinking-water state.
Specifically, if Intelligent water cup 100 includes cup body, suction pipe and cup lid, when flow sensor 110 is set at suction pipe, That is the cup chamber with open top in the cup body of Intelligent water cup 100, the top of cup chamber are equipped with rim of a cup, and cup is intracavitary to be equipped with suction pipe, inhale The water inlet of pipe is intracavitary set on cup, and the bubbler of suction pipe is arranged across rim of a cup, and flow sensor 110 is around the water inlet set on suction pipe Any part between mouth and bubbler, cup lid correspond to the cup plug being equipped at the top of cup chamber for blocking the bubbler of suction pipe, When detecting that Intelligent water cup 100 is in drinking-water state, i.e., the closure bubbler is not in for blocking the cup plug of bubbler State when, obtain in the corresponding current slot of drinking-water state, flow sensor 110 detects obtained number of pulses.It avoids Because user carries Intelligent water cup 100 and moves, but user actually and is not switched on the cup lid of Intelligent water cup 100 and passes through suction When the bubbler of pipe is drunk water, the liquid flowing for causing the cup of Intelligent water cup 100 intracavitary cause water inlet set on suction pipe with The pulse signal that the turbo blade rotation of the flow sensor 110 of any part between bubbler generates is acquired addition meter It calculates, to exclude the interference of the number of pulse signal when the unused Intelligent water cup 100 of user is drunk water, promotes amount of drinking water inspection The accuracy of survey.
If Intelligent water cup 100 includes cup body, cup plug and cup lid, cup plug sleeve is set to the inner sidewall of the rim of a cup of cup body, cup lid It is sheathed on the lateral wall of the rim of a cup of cup body, the cock body of cup plug is provided with holding tank, the water outlet bracket envelope of cup plug far from the side of cup body It is placed on the open end of holding tank, water outlet branch is provided with bubbler and stomata, and cock body corresponds to bubbler and is equipped with flow sensor 110, So that bubbler is connected to by flow sensor 110 with cup chamber, cup lid has towards water outlet bracket side protrusion blocks bubbler Lug boss.When detecting that Intelligent water cup 100 is in drinking-water state, just obtains flow sensor 110 and detect obtained umber of pulse Amount and current slot.It avoids because user carries Intelligent water cup 100 and moves, but user actually and is not switched on intelligence When the cup lid of cup 100 is drunk water, flow sensor 110 caused by the liquid for causing the cup of Intelligent water cup 100 intracavitary flows Turbo blade rotation generate pulse signal be acquired addition calculate, thus exclude user be not used Intelligent water cup 100 carry out The interference of the number of pulse signal when drinking-water promotes the accuracy of amount of drinking water detection.
If Intelligent water cup 100 includes cup body, there is the cup chamber of open top in the cup body of Intelligent water cup 100, cup chamber Top is equipped with rim of a cup, and flow sensor 110 is set to rim of a cup, since Intelligent water cup 100 is not provided with the cup lid of closed atmosphere Yu cup chamber, Therefore when the angular transducer (including but not limited to acceleration transducer or gyroscope) set on cup body detects obtained intelligence Can the angle between the bubbler and horizontal plane of cup 100 when being greater than predetermined angle threshold value, when detecting that Intelligent water cup 100 is in Drinking-water state obtains in the corresponding current slot of drinking-water state, and flow sensor 110 detects obtained number of pulses.
The present invention just obtains what the detection of flow sensor 110 obtained when detecting that Intelligent water cup 100 is in drinking-water state Number of pulses and current slot carry out calculating amount of drinking water, exclude pulse when the unused Intelligent water cup 100 of user is drunk water The interference of the number of signal promotes the accuracy of amount of drinking water detection.
Preferably, the processor 120 goes back the drinking-water total amount of counting user within a preset period of time;When drinking-water total amount is small When default amount of drinking water, generates prompt information and remind user's drinking-water.
Specifically, the default amount of drinking water of each user within a preset period of time is preset, when detection obtains user pre- If the drinking-water total amount in the period just generates prompt information when being less than default amount of drinking water, by being set to the man-machine of Intelligent water cup 100 Interactive interface reminds user to drink water in time by sound, light, any one or various ways in vibration, can be by setting Human-computer interaction interface and user at Intelligent water cup 100 carry out human-computer interaction and remind user's drinking-water, so that Intelligent water cup 100 has There is preferable human-computer interaction function, sufficient moisture is replenished in time convenient for user, to promote the health of user.
Ninth embodiment of the invention, as shown in figure 5, a kind of detection system of amount of drinking water, comprising: Intelligent water cup 10 and movement Terminal 20;The Intelligent water cup 10 includes: the flow sensor 11 and first transceiver 12 set on the bubbler of Intelligent water cup 10; The mobile terminal 20 includes processor 22 and second transceiver 21;
The flow sensor 11 obtains the number of pulses in current slot;
The second transceiver 21 obtains the current slot and the number of pulses from the first transceiver 12;
The processor 22 obtains user according to the corresponding duration of the current slot and the number of pulses, operation Amount of drinking water in the current slot.
Specifically, when flowing through flow sensor 11 due to liquid, flow sensor 11 is able to detect to obtain in the present embodiment The time (i.e. current slot) that the number (i.e. number of pulses) of pulse signal and user are drunk using cup, by setting Flow sensor 11 at the bubbler of Intelligent water cup 10 carries out number of pulses and current slot when detection user drinks water, Operation is carried out according to number of pulses and current slot, to obtain when user carries out drinking behavior in the period in this prior Amount of drinking water.The present invention obtains the amount of drinking water of user, phase by being set to the detection of flow sensor 11 of the bubbler of Intelligent water cup 10 For the prior art is using pressure sensor detection amount of drinking water, while being able to ascend amount of drinking water detection accuracy, also keep away The phenomenon that Intelligent water cup 10 can only be placed in the seating surfaces such as desktop or ground when exempting to detect amount of drinking water using pressure sensor, from And can ensure that user still is able to accurately detect the purpose of the amount of drinking water of user during the motion, also as amount of drinking water detects Condition is harsh unlike the prior art, and the detection mode generalization of amount of drinking water is stronger, and application scenarios are more.Again because flow passes The cost of sensor 11, to reduce the cost that user detects amount of drinking water, promotes user's well below ultrasonic detection sensor Detect the experience of amount of drinking water.
In addition, flow sensor 11 is set to Intelligent water cup 10, transported using the processor 22 that mobile terminal 20 carries Calculation obtains the amount of drinking water of user, does not need the other addition processing device 22 at Intelligent water cup 10, reduces the composition of Intelligent water cup 10 Complexity and hardware cost reduce the price of Intelligent water cup 10, increase the popularization degree of Intelligent water cup 10.
Tenth embodiment of the invention, as shown in fig. 6, the present embodiment is the optimization reality of above-mentioned 6th to the 9th any embodiment Example is applied, compared with above-mentioned first embodiment, is theed improvement is that, the mobile terminal 20 further include:
Input interface 23 obtains amount of drinking water data sample, number of pulses sample;
Training aids 24 is established linear etc. according to the relationship between the amount of drinking water data sample and the number of pulses sample Formula;
The number of pulses obtained from the flow sensor 11 is substituted into the training aids 24 and instructed by the processor 22 In the linear equality got, the water flow numerical quantity in the corresponding user's drinking-water of the number of pulses is obtained;Described in operation The corresponding duration of current slot and the water flow numerical quantity obtain user's corresponding drinking-water in the current slot Amount.
Specifically, the amount of drinking water V (L) generated when user drinks water every time=water flow numerical quantity Q (L/s) × current slot t (s), i.e. water flow numerical quantity Q (L/s)=amount of drinking water V (L) ÷ current slot t (s), and intelligent water is set to when user drinks water every time Turbo blade speed f (Hz)=number of pulses (N) ÷ current slot t of flow sensor 11 at the bubbler of cup 10 (s), because, water flow numerical quantity Q (L/s)=÷ current slot t (s)=(cross section of flow sensor 11 amount of drinking water V (L) The length L of product S × flow sensor 11)/current slot t (s), and the length L ÷ current slot t of flow sensor 11 (s)=water velocity V, so water flow numerical quantity Q (L/s)=cross-sectional area S × water velocity V, and flow rate V=turbine leaf Radius r=2 π f × r of angular velocity omega × flow sensor 11 of piece rotation, therefore water flow numerical quantity Q (L/s) and turbo blade Speed f (Hz) is in a linear relationship, that is, meets following linear regression model (1):
Water flow numerical quantity Q=a × frequency f+b (1)
Wherein, a and b is unknown constant.
When carrying out practical amount of drinking water when detection user drinks water every time, rotated in water flow numerical quantity Q (L/s) and turbo blade Under the premise of frequency f (Hz) is in a linear relationship, amount of drinking water is established in advance and is calculated between amount of drinking water data and number of pulses Linear equality, i.e., amount of drinking water when acquisition user drinks water every time obtain what user drank water every time as amount of drinking water data sample The corresponding flow sensor 11 of amount of drinking water is because the number i.e. number of pulses for the pulse signal that drinking-water causes turbo blade to generate is made For number of pulses sample, according to least square method, linear regression model (LRM) (1) and a large amount of amount of drinking water data sample Qi=Q1, Q2, Q3 ... ..., Qm;Be positive natural number with number of pulses sample Ni=N1, N2, N3 ... ..., Nm, m, be calculated constant a and Constant b.Assuming that the a=0.5, the b=0.8 that are calculated, therefore the linear equality being calculated is shown in following equalities (2):
Water flow numerical quantity Q=0.5 × frequency f+0.8 (2)
Flow in the situation known to the constant a and b of linear equality, and at the bubbler of Intelligent water cup 10 passes In situation known to the number of pulses that sensor 11 acquires, due to amount of drinking water V (L)=water flow numerical quantity Q (L/s) × current slot T (s), therefore Intelligent water cup 10 is after being calculated the corresponding water flow numerical quantity of the number of pulses, it is real according to flow sensor 11 When detection pulse signal time as current slot, and the water flow numerical quantity being calculated according to linear equality, calculating Obtain the amount of drinking water of user.
The amount of drinking water that the present invention obtains when user drinks water every time for accurate detection provides algorithm, is calculated according to least square method The linear equality between water flow data and number of pulses is obtained, algorithm is simple, and convenient for calculating, and least square method calculates To constant be infinitely close to reality, error is small, and practical amount of drinking water when drinking water every time for user provides more accurate detection As a result while, since algorithm simply makes amount of drinking water detection efficiency high, to improve the usage experience of user.
Preferably, the Intelligent water cup 10 further include:
Whether detector judges Intelligent water cup 10 in drinking-water state;
The processor 22 obtains the time corresponding in drinking-water state when the Intelligent water cup 10 is in drinking-water state The flow sensor 11 detects obtained number of pulses in section.
Specifically, liquid can drive the turbo blade of flow sensor 11 to rotate when flowing, thus the pulse signal generated. Intelligent water cup 10 may be rocked during using Intelligent water cup 10 due to user, causes Intelligent water cup 10 to rock and causes liquid Flowing causes flow sensor 11 the case where erroneous detection occur, it is therefore desirable to judge whether Intelligent water cup 10 is in drinking-water state, from And only when determining that Intelligent water cup 10 is in drinking-water state, flow sensor 11, which is just obtained, in Intelligent water cup 10 is in drinking-water shape The quantity of the pulse signal detected in state corresponding period, that is, current slot.The present invention excludes user and intelligent water is not used The interference of the number of pulse signal when cup 10 is drunk water promotes the accuracy of amount of drinking water detection.
If Intelligent water cup 10 is equipped with the cup plug for blocking bubbler, when the detector detects that the cup plug is not in envelope When blocking up the state of the bubbler, determine that the Intelligent water cup 10 is in drinking-water state;Or,
If the top of cup chamber is equipped with bubbler, and is not provided with the cup chamber of open top in the cup body of Intelligent water cup 10 When blocking the cup plug of bubbler, the angle between the bubbler and horizontal plane that the detector detects the Intelligent water cup 10 When greater than predetermined angle threshold value, determine that the Intelligent water cup 10 is in drinking-water state.
Specifically, if Intelligent water cup 10 includes cup body, suction pipe and cup lid, when flow sensor 11 is set at suction pipe, i.e., With the cup chamber of open top in the cup body of Intelligent water cup 10, the top of cup chamber is equipped with rim of a cup, and cup is intracavitary to be equipped with suction pipe, suction pipe Water inlet is set to that cup is intracavitary, and the bubbler of suction pipe passes through rim of a cup and is arranged, flow sensor 11 around set on suction pipe water inlet and Any part between bubbler, cup lid correspond to the cup plug being equipped at the top of cup chamber for blocking the bubbler of suction pipe, work as inspection When measuring Intelligent water cup 10 and being in drinking-water state, i.e., the state for blocking the bubbler is not in for blocking the cup plug of bubbler When, it obtains in the corresponding current slot of drinking-water state, flow sensor 11 detects obtained number of pulses.It avoids because of user It carries Intelligent water cup 10 to be moved, but user actually and is not switched on the cup lid of Intelligent water cup 10 and passes through the bubbler of suction pipe When being drunk water, the liquid flowing for causing the cup of Intelligent water cup 10 intracavitary causes between the water inlet and bubbler of suction pipe The pulse signal that the turbo blade rotation of the flow sensor 11 of any part generates is acquired addition and calculates, to exclude user The interference of the number of pulse signal when Intelligent water cup 10 is drunk water is not used, promotes the accuracy of amount of drinking water detection.
If Intelligent water cup 10 includes cup body, cup plug and cup lid, cup plug sleeve is set to the inner sidewall of the rim of a cup of cup body, cup lid set Set on the lateral wall of the rim of a cup of cup body, the cock body of cup plug is provided with holding tank, the water outlet bracket capping of cup plug far from the side of cup body In the open end of holding tank, water outlet branch is provided with bubbler and stomata, and cock body corresponds to bubbler equipped with flow sensor 11, so that Bubbler is connected to by flow sensor 11 with cup chamber, and cup lid has the protrusion for blocking bubbler towards water outlet bracket side protrusion Portion.When detecting that Intelligent water cup 10 is in drinking-water state, just obtains flow sensor 11 and detect obtained number of pulses and work as The preceding period.It avoids because user carries Intelligent water cup 10 and moves, but user actually and is not switched on Intelligent water cup 10 Cup lid when being drunk water, the turbo blade of flow sensor 11 caused by the liquid for causing the cup of Intelligent water cup 10 intracavitary flows The pulse signal that rotation generates is acquired addition and calculates, to exclude pulse when the unused Intelligent water cup 10 of user is drunk water The interference of the number of signal promotes the accuracy of amount of drinking water detection.
If Intelligent water cup 10 includes cup body, the cup chamber with open top in the cup body of Intelligent water cup 10, the top of cup chamber Portion is equipped with rim of a cup, and flow sensor 11 is set to rim of a cup, since Intelligent water cup 10 is not provided with the cup lid of closed atmosphere Yu cup chamber, When the angular transducer (including but not limited to acceleration transducer or gyroscope) for being set to cup body detects obtained intelligent water Cup 10 bubbler and horizontal plane between angle be greater than predetermined angle threshold value when, when detect Intelligent water cup 10 be in drinking-water shape State obtains in the corresponding current slot of drinking-water state, and flow sensor 11 detects obtained number of pulses.
The present invention just obtains flow sensor 11 and detects obtained arteries and veins when detecting that Intelligent water cup 10 is in drinking-water state It rushes quantity and current slot carries out calculating amount of drinking water, exclude pulse signal when the unused Intelligent water cup 10 of user is drunk water Number interference, promoted amount of drinking water detection accuracy.
Preferably, the processor 22 goes back the drinking-water total amount of counting user within a preset period of time;When drinking-water total amount is less than When default amount of drinking water, generates prompt information and remind user's drinking-water.
Specifically, the default amount of drinking water of each user within a preset period of time is preset, when detection obtains user pre- If the drinking-water total amount in the period just generates prompt information when being less than default amount of drinking water, by the man-machine friendship for being set to Intelligent water cup 10 Mutual interface reminds user to drink water in time by any one or the various ways in sound, light, vibration, can be by being set to Human-computer interaction interface at Intelligent water cup 10 and user carry out human-computer interaction and remind user's drinking-water so that Intelligent water cup 10 have compared with Good human-computer interaction function sufficient moisture is replenished in time convenient for user, to promote the health of user.
In addition, Intelligent water cup 10 can send the drinking-water total amount of the user for counting and obtaining within a preset period of time to mobile end End 20, carrying out judgement according to the drinking-water total amount of the user obtained from Intelligent water cup 10 within a preset period of time by mobile terminal 20 is No to meet default amount of drinking water, when total amount of drinking water is lower than default amount of drinking water, mobile device 20 passes through in sound, light, vibration Any one or various ways remind user's drinking-water, and due to mobile phone, the mobile terminals such as intelligent wearable device 20 are user's warps Normal band at one's side, therefore by mobile terminal 20 reminds user's drinking-water, can when Intelligent water cup 10 not at one's side when, by Mobile terminal 20 at one's side reminds user's drinking-water, to guarantee that user can perceive prompting, to reach more preferably drinking reminder Effect, and then promote the usage experience of user.
Based on the above embodiment, the above-mentioned ratio for only illustrating number of pulses and current slot and water flow numerical quantity it Between it is in a linear relationship, but due to fluid temperature T (DEG C), between kind of liquid H and the bubbler and horizontal plane of Intelligent water cup Angle, θ (°) can all influence water flow numerical quantity, therefore can detect fluid temperature based on demand, and the type and Intelligent water cup of liquid are inclined Oblique angle obtains number of pulses sample, fluid temperature sample, the bubbler and horizontal plane of kind of liquid sample and Intelligent water cup Between angle samples combination linear regression model (LRM) (3) carry out that corresponding linear equality is calculated:
Water flow numerical quantity Q=a1 × frequency f+a2 × T+a3 × angle, θ+b (3)
It should be noted that above-described embodiment can be freely combined as needed.The above is only of the invention preferred Embodiment, it is noted that for those skilled in the art, in the premise for not departing from the principle of the invention Under, several improvements and modifications can also be made, these modifications and embellishments should also be considered as the scope of protection of the present invention.

Claims (10)

1. a kind of detection method of amount of drinking water, which is characterized in that comprising steps of
Obtain the number of pulses that flow sensor detects in current slot;The flow sensor is set to Intelligent water cup Bubbler;
According to the corresponding duration of the current slot and the number of pulses, operation obtains user in the current slot Amount of drinking water.
2. the detection method of amount of drinking water according to claim 1, which is characterized in that flow in the acquisition current slot Before the number of pulses that sensor detects comprising steps of
Obtain amount of drinking water data sample, number of pulses sample;
Linear equality is established according to the relationship between the amount of drinking water data sample and the number of pulses sample;
It is described according to the corresponding duration of the current slot and the number of pulses, operation obtains user in the current time Amount of drinking water in section specifically includes step:
The number of pulses is substituted into the linear equality, water flow numerical quantity corresponding in the number of pulses is obtained;
The corresponding duration of current slot described in operation and the water flow numerical quantity, obtain user in the current slot Corresponding amount of drinking water.
3. the detection method of amount of drinking water according to claim 1 or 2, which is characterized in that in the acquisition current slot The number of pulses that flow sensor detects specifically includes step:
Judge whether Intelligent water cup is in drinking-water state;
When the Intelligent water cup is in drinking-water state, the flow sensor inspection within the drinking-water state corresponding period is obtained The number of pulses measured.
4. the detection method of amount of drinking water according to claim 3, which is characterized in that described to judge whether Intelligent water cup is in drink Water state specifically includes step:
If Intelligent water cup is equipped with the cup plug for blocking bubbler, when the cup plug is not in the state for blocking the bubbler, Determine that the Intelligent water cup is in drinking-water state;Or,
If the top of cup chamber is equipped with bubbler, and is not provided with closure drink with the cup chamber of open top in the cup body of Intelligent water cup When the cup plug at the mouth of a river, when the Intelligent water cup is in drinking-water state, the stream within the drinking-water state corresponding period is obtained The number of pulses that quantity sensor detects.
5. a kind of Intelligent water cup characterized by comprising
Flow sensor obtains the number of pulses in current slot;The flow sensor is set to the bubbler of Intelligent water cup;
Processor, according to the corresponding duration of the current slot and the number of pulses, operation obtains user described current Amount of drinking water in period.
6. Intelligent water cup according to claim 5, which is characterized in that further include:
Input interface obtains amount of drinking water data sample, number of pulses sample;
Training aids establishes linear equality according to the relationship between the amount of drinking water data sample and the number of pulses sample;
The number of pulses obtained from the flow sensor is substituted into the institute that the training aids training obtains by the processor It states in linear equality, obtains the water flow numerical quantity in the corresponding user's drinking-water of the number of pulses;Current slot described in operation Corresponding duration and the water flow numerical quantity obtain user's corresponding amount of drinking water in the current slot.
7. Intelligent water cup according to claim 5 or 6, which is characterized in that further include:
Detector, judges whether Intelligent water cup is in drinking-water state;
The processor obtains described within the drinking-water state corresponding period when the Intelligent water cup is in drinking-water state The number of pulses that flow sensor detects.
8. Intelligent water cup according to claim 7, it is characterised in that:
If Intelligent water cup is equipped with the cup plug for blocking bubbler, when the detector detects that the cup plug is not in described in closure When the state of bubbler, determine that the Intelligent water cup is in drinking-water state;Or,
If the top of cup chamber is equipped with bubbler, and is not provided with closure drink with the cup chamber of open top in the cup body of Intelligent water cup When the cup plug at the mouth of a river, when the detector detects that the Intelligent water cup is in drinking-water state, obtain corresponding in drinking-water state Period in the number of pulses that detects of the flow sensor.
9. a kind of detection system of amount of drinking water characterized by comprising Intelligent water cup and mobile terminal;The Intelligent water cup packet It includes: set on the flow sensor and first transceiver of the bubbler of Intelligent water cup;The mobile terminal includes processor and second Transceiver;
The flow sensor obtains the number of pulses in current slot;
The second transceiver obtains the current slot and the number of pulses from the first transceiver;
The processor, according to the corresponding duration of the current slot and the number of pulses, operation obtains user described Amount of drinking water in current slot.
10. the detection system of amount of drinking water according to claim 9, which is characterized in that the mobile terminal further include:
Input interface obtains amount of drinking water data sample, number of pulses sample;
Training aids establishes linear equality according to the relationship between the amount of drinking water data sample and the number of pulses sample;
The number of pulses obtained from the flow sensor is substituted into the institute that the training aids training obtains by the processor It states in linear equality, obtains the water flow numerical quantity in the corresponding user's drinking-water of the number of pulses;Current slot described in operation Corresponding duration and the water flow numerical quantity obtain user's corresponding amount of drinking water in the current slot.
CN201810765113.9A 2018-07-12 2018-07-12 A kind of detection method of amount of drinking water, system and Intelligent water cup Pending CN109060067A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810765113.9A CN109060067A (en) 2018-07-12 2018-07-12 A kind of detection method of amount of drinking water, system and Intelligent water cup

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810765113.9A CN109060067A (en) 2018-07-12 2018-07-12 A kind of detection method of amount of drinking water, system and Intelligent water cup

Publications (1)

Publication Number Publication Date
CN109060067A true CN109060067A (en) 2018-12-21

Family

ID=64816136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810765113.9A Pending CN109060067A (en) 2018-07-12 2018-07-12 A kind of detection method of amount of drinking water, system and Intelligent water cup

Country Status (1)

Country Link
CN (1) CN109060067A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109975486A (en) * 2019-04-01 2019-07-05 济南大学 Probe into the device and method that environment influences growing process
CN110232814A (en) * 2019-07-05 2019-09-13 苏州南极光电子科技有限公司 A kind of self application method improving commercial purifier flow collection precision
CN110319900A (en) * 2019-04-26 2019-10-11 珠海格力电器股份有限公司 A kind of determination method, apparatus, storage medium and the washing machine of washing machine water consumption
CN114145613A (en) * 2021-08-31 2022-03-08 佛山市顺德区美的饮水机制造有限公司 Drinking water prompting method and device and water cup

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109975486A (en) * 2019-04-01 2019-07-05 济南大学 Probe into the device and method that environment influences growing process
CN110319900A (en) * 2019-04-26 2019-10-11 珠海格力电器股份有限公司 A kind of determination method, apparatus, storage medium and the washing machine of washing machine water consumption
CN110319900B (en) * 2019-04-26 2021-09-07 珠海格力电器股份有限公司 Method and device for determining water consumption of washing machine, storage medium and washing machine
CN110232814A (en) * 2019-07-05 2019-09-13 苏州南极光电子科技有限公司 A kind of self application method improving commercial purifier flow collection precision
CN114145613A (en) * 2021-08-31 2022-03-08 佛山市顺德区美的饮水机制造有限公司 Drinking water prompting method and device and water cup

Similar Documents

Publication Publication Date Title
CN109060067A (en) A kind of detection method of amount of drinking water, system and Intelligent water cup
CN104202466B (en) A kind of method for carrying out safety instruction using mobile phone in traveling
CN107576365B (en) Liquid container capable of displaying flow and liquid flow detection method thereof
CN104819752B (en) A kind of method of accurate detection cup amount of drinking water
US9945708B2 (en) Universal device for monitoring and reporting fluid consumption and method using same
CN105435337B (en) A kind of liquid parameter detection method and system
WO2007008958A3 (en) Coriolis mode processing techniques
WO2015200904A1 (en) Systems and methods for tracking hydration
JPWO2005083372A1 (en) Ultrasonic flowmeter compatible with both pulse Doppler method and propagation time difference method, method and program for automatically selecting measurement method in the flowmeter, and electronic device for the flowmeter
US20140099615A1 (en) Auditory feedback device and method for swimming speed
CN108618531A (en) Intelligent water cup and drinking reminder method based on Intelligent water cup
RU2012134702A (en) CHECK THE CORRECTNESS OF THE FLOW METER
RU2015102443A (en) ULTRASONIC COLOR FLOW MAP FOR RESEARCH OF MITRAL REGURGITATION
CN106643937A (en) Flow measuring method and device based on ultrasonic flowmeter
KR20120019772A (en) Cup for person with eye-disability
CN109044060A (en) A kind of Intelligent water cup, the detection method and its system of amount of drinking water
CN207923213U (en) A kind of two-channel integral ultrasonic flowmeter
KR101059931B1 (en) Flow measurement method
CN209186757U (en) A kind of color ultrasound-frequency spectrum Doppler universal performance detection system
JP6129480B2 (en) Ultrasonic liquid level measuring device
KR101329178B1 (en) A Flow Measuring Apparatus and Method using a Photo Sensor
CN206303615U (en) A kind of intelligent container
CN105534600A (en) Intelligent checkout blood-sampling platform
CN106643940B (en) The method for calculating the ultrasonic flowmeter propagation time based on backward energy
US20180338716A1 (en) Apparatus, Method and Computer Program for Measuring a Flow of Milk Expressed from a Mammary Gland

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201209

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Hangzhou Jiji Intellectual Property Operation Co., Ltd

Address before: 201616 No. 3666 Sixian Road, Songjiang District, Shanghai

Applicant before: Phicomm (Shanghai) Co.,Ltd.

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination