CN107510335B - A kind of cup amount of drinking water statistical method - Google Patents
A kind of cup amount of drinking water statistical method Download PDFInfo
- Publication number
- CN107510335B CN107510335B CN201710748966.7A CN201710748966A CN107510335B CN 107510335 B CN107510335 B CN 107510335B CN 201710748966 A CN201710748966 A CN 201710748966A CN 107510335 B CN107510335 B CN 107510335B
- Authority
- CN
- China
- Prior art keywords
- cup
- water
- angle
- drinking water
- tilted towards
- 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.)
- Active
Links
Classifications
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47G—HOUSEHOLD OR TABLE EQUIPMENT
- A47G23/00—Other table equipment
- A47G23/10—Devices for counting or marking the number of consumptions
- A47G23/12—Consumption counters combined with table-ware or table-service
- A47G23/16—Consumption counters combined with table-ware or table-service combined with drinking vessels or with lids therefor
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C1/00—Measuring angles
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C9/00—Measuring inclination, e.g. by clinometers, by levels
Abstract
The invention discloses a kind of cup amount of drinking water statistical methods, are related to cup field, which comprises firstly, obtaining the initial water of cup;It is tilted towards secondly, obtaining cup, obtains user and grasp the grasping of the cup to being tilted towards projection in the horizontal plane and first angle grasped to projection in the horizontal plane described in solution;Finally, matching in response to first angle with default angle, according to the initial water of the cup and the current water of the cup, the water for counting reduced is newly-increased amount of drinking water.The present invention by cup be tilted towards and the grasping of user is to matching, when matching operation of drinking water, then amount of drinking water is counted, effectively improves amount of drinking water statistical accuracy.
Description
Technical field
The present invention relates to Intelligent water cup field, in particular to a kind of cup amount of drinking water statistical method.
Background technique
In the prior art, have Intelligent water cup for monitoring user's amount of drinking water, it is general its by the water in cup into
Row measurement, judge by the variation of water the daily drink amount of user.Disadvantage is that if user outwells water,
Also it can be mistakenly identified as the behavior of drinking water, influence the statistics of amount of drinking water.
Summary of the invention
In view of the above drawbacks of the prior art, technical problem to be solved by the invention is to provide a kind of cup amounts of drinking water
Statistical method, it is intended to avoid the pouring behavioral statistics by user into the amount of drinking water of user, improve the essence of user's amount of drinking water statistics
Exactness.
To achieve the above object, the present invention provides a kind of cup amount of drinking water statistical method, which comprises
Obtain the initial water of cup;
It obtains cup to be tilted towards, obtains user and grasp the grasping of the cup to being tilted towards described in solution in horizontal plane
On projection with first angle grasped to projection in the horizontal plane;
Match in response to first angle with default angle, according to the initial water of the cup and the water
The current water of cup, the water for counting reduced are newly-increased amount of drinking water.
In one embodiment, described to match in response to first angle with default angle, according to the institute of the cup
The current water for stating initial water and the cup, the water for counting reduced are newly-increased amount of drinking water, further includes:
It persistently being matched in response to first angle with default angle, the inclination angle to cup is less than first threshold, according to
The initial water of the cup and the current water of the cup, the water for counting reduced are newly-increased amount of drinking water.
It is in one embodiment, described to obtain being tilted towards for cup, further includes:
It obtains to be set on the cup cup body and is tilted towards being tilted towards for detection device detection.
Optionally, the detection device that is tilted towards includes being tilted towards sensor.
Optionally, the detection device that is tilted towards includes gyroscope.
Optionally, the detection device that is tilted towards includes accelerometer.
Optionally, the detection device that is tilted towards includes electronic compass.
Optionally, the detection device that is tilted towards is set to bottom of a cup.
Optionally, the detection device that is tilted towards is set on wall of cup.Optionally, the detection device that is tilted towards is set to
Cup inner wall.Optionally, the detection device that is tilted towards is set to cup outer wall.
In one embodiment, it is described obtain user grasp the grasping of the cup to, further includes:
The user for acquiring sense of touch module on the cup cup body holds signal;
In response to the holding signal, determine the user grasp the holding of the cup to.
Optionally, the sense of touch module includes but is not limited to touch sensor, pressure sensor.
Furthermore, the determination user grasp the holding of the cup to, further includes:
Signal is held according to the user of the sense of touch module, determines the phase of the cup two sides at least two finger of user
Corresponding at least two graspings point;
By the vertical line of the projection of the line of two of the cup two sides grasping points in the horizontal plane, it is determined as institute
State holding to.
In another optional embodiment, in the horizontal plane by the line of two of the cup two sides grasping points
Projection, be determined as it is described hold to.
In one embodiment, described to match in response to first angle with default angle, according to the cup
The initial water and the cup current water, counting reduced water is newly-increased amount of drinking water, further includes:
First angle is compared with angle threshold value;
If first angle is inclined to more than or equal to the angle threshold value, the inclination angle to cup is less than the first threshold
Value, according to the initial water of the cup and the current water of the cup, the water for counting reduced is newly-increased amount of drinking water.
In one embodiment, described to match in response to first angle with default angle, according to the cup
The initial water and the cup current water, counting reduced water is newly-increased amount of drinking water, further includes:
First angle is compared with the first default tendency section and/or the second default tendency section;
If first angle is contained within the described first default tendency section or the second default tendency section, to cup
Inclination angle is less than first threshold and counts reduction according to the initial water of the cup and the current water of the cup
Water is newly-increased amount of drinking water.
In one embodiment, the method also includes:
Detect the inclination angle of the cup;
It is greater than tilt threshold in response to the inclination angle of the cup, obtains being tilted towards for cup.
Preferably, the method also includes:
According to the current water of cup, the tilt threshold is set.
In one embodiment, it is described obtain being tilted towards of cup before, further includes:
Detect the motion state of the cup;
Changed in response to the motion state, wake up for detect cup inclination angle inclination angle detection module and/
Or it wakes up and is tilted towards acquisition module for obtain that cup is tilted towards.
In one embodiment, described be tilted towards of the cup is by three axis angular rate sensors and/or three axis
What acceleration transducer obtained;The method also includes:
Set the bottom of a cup of cup to cup top the Z axis of three axis angular rate sensors and/or 3-axis acceleration sensor, it will
The bottom of a cup of cup is set as the X-Y plane of three axis angular rate sensors and/or 3-axis acceleration sensor;
Cup bottom of a cup is obtained in real time to the first diameter of cup top by carrying out Integration Solving to three axis angular rates based on initial angle
To the coordinate in three-axis reference;
Determine that the described first radial angle between the Z axis is inclination angle;
When the inclination angle is greater than threshold value, determine that first radial direction is projected as being tilted towards on the X-Y plane.
It is noted that setting three axis angular rate sensors and/or 3-axis acceleration for the bottom of a cup of cup to cup top
The Z axis of sensor sets the bottom of a cup of cup to the X-Y plane of three axis angular rate sensors and/or 3-axis acceleration sensor, is
Optional one embodiment, can be set as needed coordinate system in other embodiments.
Based on this, inclination angle is realized by same sensor and is tilted towards acquisition, saves hardware cost.
Optionally, the method also includes: based on experiment test, choose suitable tolerance, and the default angle is set.
In one embodiment, the method also includes:
The historical data being tilted towards for obtaining the cup, matches from the historical data and is respectively used to identify
First historical data and the cup of the cup in state of drinking water are in the second historical data of pouring state;
According to first historical data and/or the second historical data, the default angle is determined or corrected.
Optionally, the method also includes: obtain the historical data being tilted towards of the cup, incline to described
The slanting historical data carries out clustering.
The beneficial effects of the present invention are: the present invention by cup be tilted towards and hold to angle carry out discrimination, should
Angle itself, which contains identification, that user drinks water and pouring operation information has by counting to the water for meeting operation of drinking water
Effect improves the precision of amount of drinking water statistics.Inventor is the study found that the folder for being tilted towards and holding to composition operated that drinks water and pour
Angle is different, effectively discrimination can go out operation of drinking water by the angle, and avoiding to pour operating is mistakenly identified as operation of drinking water, while
The operation that avoids drinking water is mistakenly identified as the operation that pours, and drink water the recognition accuracy height that pours.
Detailed description of the invention
Fig. 1 is that user drinks water the structural schematic diagram of operation in one specific implementation of the present invention;
Fig. 2 is drink water in one specific implementation of the present invention cup tendency and the structural representation of finger grip positional relationship of operation
Figure;
Fig. 3 is the top view of operation of drinking water in one specific implementation of the present invention;
Fig. 4 is the structural schematic diagram of user's pouring operation in one specific implementation of the present invention;
Fig. 5 is pour in one specific implementation of the present invention cup tendency and the structural representation of finger grip positional relationship of operation
Figure;
Fig. 6 is to pour to operate the front view in user direction in one specific implementation of the present invention;
Fig. 7 is the top view of operation of pouring in one specific implementation of the present invention.
Wherein, 100- cup;201- left hand thumb press section;202- left index finger middle finger press section;301- cup diameter
To;302- hold to;303- is tilted towards;304- is held to projection;The inclination angle 305-.
Specific embodiment
Present invention will be further explained below with reference to the attached drawings and examples:
Inventive concept to facilitate the understanding of the present invention, inventor inventor drinks water to the mankind first pour that posture does must
Illustrate.
As shown in figs. 1-7, inventor drinks water to the mankind and pouring posture carries out research discovery:
(1), when drinking water, user holds cup 100, and elbow is lower than wrist, and wrist is easy to inward turning, and is easy to so that cup
100 mouthfuls tilt to mouth.At this point, user's forearm and cup 100 are tilted towards in 90 °.
(2), for psychological levels, when pouring, due to safety concerns, in mankind's subconsciousness, cup 100 can be placed in low
Place simultaneously carries out pouring operation, and when pouring will not rim of a cup face user, can at least be angularly offset.From physiology level and
Speech, by human figure test find, pour when, topple over since cup 100 is placed in lower, elbow be higher than wrist, at this time compared with
Difficulty is biased to human body and makes the tiger's jaw gone smoothly and body parallel, and wrist also more difficult inward turning and carries out pouring operation at this time.
Furthermore, in operation of drinking water, user is grasped to, in 90 ° or so, offset is smaller with the tendency of cup 100.
And the operation that pours, user grasp parallel to being intended to the tendency of cup 100;According to user's individual difference, scene and not of the same race
The factors such as class cup 100, otherness are larger.In pouring and operate one, handle is directed toward the projection of 100 glasss of hearts of cup in the horizontal plane
It is tilted towards with cup 100 in 45° angle.It pours in operation one, handle is directed toward the projection in the horizontal plane of 100 glasss of hearts of cup and water
Cup 100 is parallel.It is found through experiments that, under pouring state, according to Different Individual, 100 type of cup and application scenarios, handle
Be directed toward the cup heart and cup 100 be tilted towards projection in the horizontal plane be about 30 ° to 100 ° (be herein vector angle, non-straight wire clamp
Angle), i.e., it is 30 ° to 90 ° with included angle of straight line;It is worth 30 ° to 60 ° of pouring scene, it is usually more demanding to pouring precision
In the case where, such as by the water in cup 100 pour into face of noggin it is more.
To sum up, it pours to operate and be tilted towards with the cup 100 for operation of drinking water there are physics parameter differences, the present invention is based on this
Difference, detection user hold to the angled relationships between the tendency of cup 100, judge the operation of drinking water and pour of user, and right
The operation statistics amount of drinking water that drinks water of user.Be worth mentioning when, in fact, only needing the angled relationships (to be without explaining user properly
It is no in drinking water state, and its state of substantially drinking water), can counting user amount of drinking water.
It is described further below with embodiment.
As shown in figs. 1-7, in the first embodiment of the invention, a kind of drinking-water quantity measuring method of Intelligent water cup 100 is provided,
The described method includes:
Obtain the initial water of cup 100;
It obtains cup 100 to be tilted towards, obtains user and grasp the grasping of the cup 100 to being tilted towards described in solution
Projection and first angle grasped to projection in the horizontal plane on horizontal plane;
Match in response to first angle with default angle, according to the initial water of the cup 100 and institute
The current water for stating cup 100, the water for counting reduced are newly-increased amount of drinking water.
It is noted that in the present embodiment, being tilted towards 303 projection for cup radial 301 in the horizontal plane, holding
It is to hold to 302 projection in the horizontal plane to projection 304, inclination angle 305 is the angle of cup radial 303 with vertical direction.
In the present embodiment, cup is needed without handle with finger grip cup, wherein the finger pressing on cup respectively includes thumb
Press section 201, left index finger middle finger press section 202.It is noted that compression sensor is provided on cup, for detecting
User's finger pressing area.
In order to accurately identify the amount of drinking water of user, in the present embodiment, to cup 100 be tilted towards and the grasping of user to
It is matched, when matching operation of drinking water, then amount of drinking water is counted.In the present embodiment, drink water operation and pour operation
Show as respectively it is different be tilted towards and grasp to angle.Drink water operation and the operation that pours difference major embodiment in the
In the difference of one angle, whether selecting to count to amount of drinking water by this species diversity, the statistical accuracy of amount of drinking water is effectively improved, is avoided
The water for the operation that pours is counted into user's amount of drinking water.In the present embodiment, the operation that pours refers to, water is poured out from cup.
In the present embodiment, described to match in response to first angle with default angle, according to the cup 100
The current water of the initial water and the cup 100, the water for counting reduced are newly-increased amount of drinking water, further includes:
It is persistently matched in response to first angle with default angle, the inclination angle to cup 100 is less than first threshold, root
According to the initial water of the cup 100 and the current water of the cup 100, the water for counting reduced is newly-increased drinking-water
Amount.
Based on above-mentioned steps, avoids user from drinking water first operation, cup 100 is not restored to vertical direction or inclination angle
Less than first threshold, and the operation that directly pours, caused amount of drinking water mistake of statistics;Meanwhile by setting first threshold, meeting
Amount of drinking water is counted in the case where first threshold, is on the one hand avoided amount of drinking water data from updating too fast, is caused solution amount big, on the other hand
Avoid user execute drink water operation after do not reply vertical direction, cause that amount of drinking water statistics is insufficient or statistics is excessive, improve amount of drinking water
Statistical accuracy.
It is optionally, described to obtain being tilted towards for cup 100, further includes:
It obtains to be set on the cup cup body and is tilted towards being tilted towards for detection device detection.
Optionally, the detection device that is tilted towards includes being tilted towards sensor.
Optionally, the detection device that is tilted towards includes gyroscope.
Optionally, the detection device that is tilted towards includes accelerometer.
Optionally, the detection device that is tilted towards includes electronic compass.
Optionally, the detection device that is tilted towards is set to bottom of a cup.
Optionally, the detection device that is tilted towards is set on wall of cup.Optionally, the detection device that is tilted towards is set to
100 inner wall of cup.Optionally, the detection device that is tilted towards is set to 100 outer wall of cup.
Based on above-mentioned steps, detection obtains cup 100 and is tilted towards, to be tilted towards and to hold compared with, accurate judgement
The operation of drinking water and pour of user avoids counting the water of pouring into amount of drinking water accurately to determine the amount of drinking water of user.
In the present embodiment, optionally, described to be tilted towards as the cup 100 from bottom of a cup to the radial vector on cup top;
When cup 100 is statically placed on horizontal plane, plumb line is to be tilted towards.Optionally, described to be tilted towards as the cup 100 from cup
Radial vector projection in the horizontal plane of the bottom to cup top;When cup 100 is statically placed on horizontal plane, it can be considered that being tilted towards is 0, and
It is directionless.
In the present embodiment, it is described obtain user grasp the grasping of the cup 100 to, further includes:
The user for acquiring sense of touch module on the cup cup body holds signal;
In response to the holding signal, determine the user grasp the holding of the cup 100 to.
Based on this, the grasping of user is effectively acquired to carry out the grasping to the angle formed with the tendency of cup 100
Matching, to count the water for operation of drinking water into amount of drinking water.
Optionally, the sense of touch module includes but is not limited to touch sensor, pressure sensor.It is noted that touching
Capacitance touching technology can also be used, the vacuum of Double-layer cup 100 is arranged throughout the outer surface with cup 100 by feeling module
In interlayer.
Furthermore, the determination user grasp the holding of the cup 100 to, further includes:
Signal is held according to the user of the sense of touch module, determines 100 two sides of cup and at least two finger of user
It is corresponding at least two grasping point;
By the vertical line of the projection of the line of two of 100 two sides of the cup grasping points in the horizontal plane, determine
For it is described hold to.
In the present embodiment, by the centre of the palm direction cup heart be defined as hold to;At this point, holding to being intended to hang down with being tilted towards
Directly, then to drink water;It is intended to parallel, then it is assumed that be to pour.
In another optional embodiment, by the line of two of 100 two sides of the cup grasping points in level
Projection on face, be determined as it is described hold to.
In the present embodiment, described to match in response to first angle with default angle, according to the cup 100
The current water of the initial water and the cup 100, the water for counting reduced are newly-increased amount of drinking water, further includes:
First angle is compared with angle threshold value;
If first angle is inclined to more than or equal to the angle threshold value, the inclination angle to cup 100 is less than first
Threshold value, according to the initial water of the cup 100 and the current water of the cup 100, the water for counting reduced is new
Increase amount of drinking water.
Based on by threshold value comparison, user's operation is divided into two, quickly identifies drink water operation and the operation that pours.
Due to operation of drinking water, user hand water holding cup 100 drinks water, and the first angle tends to be vertical;And when pouring, cup 100 inclines
It is oblique with hold it is parallel to region.So setting angle threshold value carries out determining whether user is in the mode of operation that drinks water, and carries out
Amount of drinking water statistics.In addition, directly judging the case where the first angle, without directly indicating whether user is in the shape that drinks water
State implies state judgement of drinking water, then directly counts amount of drinking water.
In another embodiment, described to match in response to first angle with default angle, according to the cup 100
The initial water and the cup 100 current water, counting reduced water is newly-increased amount of drinking water, further includes:
First angle is compared with the first default tendency section and/or the second default tendency section;
If first angle is contained within the described first default tendency section or the second default tendency section, to cup
100 inclination angle is less than first threshold, according to the initial water of the cup 100 and the current water of the cup 100,
The water for counting reduced is newly-increased amount of drinking water.
Based on setting section, effectively improves user and drink water the accuracy of operation and pouring operation judges, avoid unexpected data
Cause amount of drinking water statistics not normal.
It in the present embodiment, can also be common grasping since user removes drink water operation and the operation that pours, so, if
Inclination angle tolerance is set, is greater than threshold value at inclination angle and is just drunk water and poured identification.The method also includes:
Detect the inclination angle of the cup 100;
It is greater than tilt threshold in response to the inclination angle of the cup 100, obtains being tilted towards for cup 100.
It is noted that when inclination angle is less than or equal to third tilt threshold, it is believed that cup 100 without being tilted towards,
User counts without operation of drinking water without amount of drinking water at this time.
Preferably, the method also includes:
According to the current water of cup 100, the tilt threshold is set.
It is noted that tilt threshold is variable, tilt threshold is related with water;Water is higher, and threshold value is smaller.Its principle
It is: only needs to tilt little by little when water is more in cup 100, so that it may it drinks water, so, when water is higher, inclination angle threshold
It is worth smaller.
In addition, can be called out by detection 100 motion state of cup before cup 100 identifies pouring and operation of drinking water
It wakes up relevant functional module, mitigates and solve burden, reduce power consumption.In the present embodiment, in the inclination for obtaining cup 100
To before, further includes:
Detect the motion state of the cup 100;
It is changed in response to the motion state, wakes up the inclination angle detection module for detecting 100 inclination angle of cup
And/or it wakes up and is tilted towards acquisition module for obtain that cup 100 is tilted towards.
Optionally, described be tilted towards acquires acquisition by movement sensing module with the inclination angle.
Optionally, described be tilted towards acquires acquisition by attitude transducer with the inclination angle.
In the present embodiment, described be tilted towards of the cup 100 is added by three axis angular rate sensors and/or three axis
What velocity sensor obtained;The method also includes:
Set the bottom of a cup of cup 100 to cup top the Z of three axis angular rate sensors and/or 3-axis acceleration sensor
Axis sets the bottom of a cup of cup 100 to the X-Y plane of three axis angular rate sensors and/or 3-axis acceleration sensor;
100 bottom of a cup of cup is obtained in real time to cup top first by carrying out Integration Solving to three axis angular rates based on initial angle
The radial coordinate in three-axis reference;
Determine that the described first radial angle between the Z axis is inclination angle;
When the inclination angle is greater than threshold value, determine that first radial direction is projected as being tilted towards on the X-Y plane.
Based on this, inclination angle is realized by same sensor and is tilted towards acquisition, saves hardware cost.
It is noted that the default tendency for pouring and identifying of drinking water optionally presets tendency in being applied to cup 100
It is that factory test obtains;Optionally, due to individual difference, tendency is preset by user individual and tests acquisition;Optionally, it presets and inclines
To there is a default setting, and corrected in use by user.
Optionally, the method also includes: based on experiment test, choose suitable tolerance, and the default angle is set.
In the present embodiment, the method also includes:
The historical data being tilted towards for obtaining the cup 100, matches from the historical data and is respectively used to
Identify that first historical data and the cup 100 of the cup 100 in state of drinking water are in the second history of pouring state
Data;
According to first historical data and/or the second historical data, the default angle is determined or corrected.
Optionally, the method also includes: the historical data being tilted towards of the cup 100 is obtained, to institute
It states the historical data being tilted towards and carries out clustering.
Clustering refers to that the set by physics or abstract object is grouped into the analysis for the multiple classes being made of similar object
Process.The target of clustering is exactly that data are collected on the basis of similar to classify.Cluster is derived from many fields, including number
It learns, computer science, statistics, biology and economics.In different application fields, many clustering techniques are all sent out
Exhibition, these technical methods are used as describing data, measure the similitude between different data sources, and data source is categorized into difference
Cluster in.Its step is: the first step, one by one scanned samples, each sample according to it at a distance from scanned sample, quilt
It is classified as pervious class, or generates a new class;Second step is merged to all kinds of in the first step according between class distance, by certain
Standard, stop merge.
In the default tendency setting that cup 100 drinks water pouring, it can classify to user's operation data, be classified
For data and the pouring data of drinking water, and threshold value is set, both to distinguish, achievees the purpose that identification drinks water and pours.Due to poly-
Alanysis is the prior art, and which is not described herein again.
As shown in figs. 1-7, in second embodiment of the invention, a kind of drinking-water amount detecting device of Intelligent water cup 100 is provided,
Described device includes:
Initial water obtains module, for obtaining the initial water of cup 100;
First angle solves module, for obtaining being tilted towards for cup 100, obtains user and grasps grabbing for the cup 100
Hold to, be tilted towards described in solution in the horizontal plane projection with first angle grasped to projection in the horizontal plane;
Amount of drinking water statistical module, for matching in response to first angle with default angle, according to the cup 100
The initial water and the cup 100 current water, counting reduced water is newly-increased amount of drinking water.
In order to accurately identify the amount of drinking water of user, in the present embodiment, to cup 100 be tilted towards and the grasping of user to
It is matched, when matching operation of drinking water, then amount of drinking water is counted.In the present embodiment, drink water operation and pour operation
Show as respectively it is different be tilted towards and grasp to angle.Drink water operation and the operation that pours difference major embodiment in the
In the difference of one angle, whether selecting to count to amount of drinking water by this species diversity, the statistical accuracy of amount of drinking water is effectively improved, is avoided
The water for the operation that pours is counted into user's amount of drinking water.In the present embodiment, the operation that pours refers to, water is poured out from cup.
In the present embodiment, the amount of drinking water statistical module further includes the first amount of drinking water statistic unit, in response to institute
It states the first angle persistently to match with default angle, the inclination angle to cup 100 is less than first threshold, according to the cup 100
The current water of the initial water and the cup 100, the water for counting reduced are newly-increased amount of drinking water.
Based on above-mentioned module, avoids user from drinking water first operation, cup 100 is not restored to vertical direction or inclination angle
Less than first threshold, and the operation that directly pours, caused amount of drinking water mistake of statistics;Meanwhile by setting first threshold, meeting
Amount of drinking water is counted in the case where first threshold, is on the one hand avoided amount of drinking water data from updating too fast, is caused solution amount big, on the other hand
Avoid user execute drink water operation after do not reply vertical direction, cause that amount of drinking water statistics is insufficient or statistics is excessive, improve amount of drinking water
Statistical accuracy.
Optionally, it further includes being tilted towards acquiring unit that first angle, which solves module, is set to the water for obtaining
Being tilted towards for detection device detection is tilted towards on cup cup body.
Optionally, the detection device that is tilted towards includes being tilted towards sensor.
Optionally, the detection device that is tilted towards includes gyroscope.
Optionally, the detection device that is tilted towards includes accelerometer.
Optionally, the detection device that is tilted towards includes electronic compass.
Optionally, the detection device that is tilted towards is set to bottom of a cup.
Optionally, the detection device that is tilted towards is set on wall of cup.Optionally, the detection device that is tilted towards is set to
100 inner wall of cup.Optionally, the detection device that is tilted towards is set to 100 outer wall of cup.
Based on above-mentioned module, detection obtains cup 100 and is tilted towards, to be tilted towards and to hold compared with, accurate judgement
The operation of drinking water and pour of user avoids counting the water of pouring into amount of drinking water accurately to determine the amount of drinking water of user.
In the present embodiment, optionally, described to be tilted towards as the cup 100 from bottom of a cup to the radial vector on cup top;
When cup 100 is statically placed on horizontal plane, plumb line is to be tilted towards.Optionally, described to be tilted towards as the cup 100 from cup
Radial vector projection in the horizontal plane of the bottom to cup top;When cup 100 is statically placed on horizontal plane, it can be considered that being tilted towards is 0, and
It is directionless.
In the present embodiment, it further includes grasping to acquiring unit that first angle, which solves module, for acquiring the water
The user of sense of touch module holds signal on cup cup body, in response to the holding signal, determines that the user grasps the cup 100
The holding to.
Based on this, the grasping of user is effectively acquired to carry out the grasping to the angle formed with the tendency of cup 100
Matching, to count the water for operation of drinking water into amount of drinking water.
Optionally, the sense of touch module includes but is not limited to touch sensor, pressure sensor.It is noted that touching
Capacitance touching technology can also be used, the vacuum of Double-layer cup 100 is arranged throughout the outer surface with cup 100 by feeling module
In interlayer.
Furthermore, described to grasp to acquiring unit, further include sense of touch securing component, is used for:
Signal is held according to the user of the sense of touch module, determines 100 two sides of cup and at least two finger of user
It is corresponding at least two grasping point;
By the vertical line of the projection of the line of two of 100 two sides of the cup grasping points in the horizontal plane, determine
For it is described hold to.
In the present embodiment, by the centre of the palm direction cup heart be defined as hold to;At this point, holding to being intended to hang down with being tilted towards
Directly, then to drink water;It is intended to parallel, then it is assumed that be to pour.
In another optional embodiment, by the line of two of 100 two sides of the cup grasping points in level
Projection on face, be determined as it is described hold to.
In the present embodiment, the amount of drinking water statistical module, further includes:
Angle threshold value comparing unit, for first angle to compare with angle threshold value;
First amount of drinking water statistic unit, for being inclined in response to first angle more than or equal to the angle threshold value,
Inclination angle to cup 100 is less than first threshold, according to the initial water of the cup 100 and working as the cup 100
Preceding water, the water for counting reduced are newly-increased amount of drinking water.
Based on by threshold value comparison, user's operation is divided into two, quickly identifies drink water operation and the operation that pours.
Due to operation of drinking water, user hand water holding cup 100 drinks water, and the first angle tends to be vertical;And when pouring, cup 100 inclines
It is oblique with hold it is parallel to region.So setting angle threshold value carries out determining whether user is in the mode of operation that drinks water, and carries out
Amount of drinking water statistics.In addition, directly judging the case where the first angle, without directly indicating whether user is in the shape that drinks water
State implies state judgement of drinking water, then directly counts amount of drinking water.
In another embodiment, the amount of drinking water statistical module, further includes:
Angle section comparing unit inclines for presetting first angle with the first default tendency section and/or second
It compares to section;
Second amount of drinking water statistic unit is contained within the described first default tendency section or second in response to first angle
Default tendency section, the inclination angle to cup 100 is less than first threshold, according to the initial water of the cup 100 and institute
The current water for stating cup 100, the water for counting reduced are newly-increased amount of drinking water.
Based on setting section, effectively improves user and drink water the accuracy of operation and pouring operation judges, avoid unexpected data
Cause amount of drinking water statistics not normal.
It in the present embodiment, can also be common grasping since user removes drink water operation and the operation that pours, so, if
Inclination angle tolerance is set, is greater than threshold value at inclination angle and is just drunk water and poured identification.
In the present embodiment, described device further includes the first tendency detection wake-up module, for detecting the cup 100
Inclination angle is greater than tilt threshold in response to the inclination angle of the cup 100, obtains being tilted towards for cup 100.
It is noted that when inclination angle is less than or equal to third tilt threshold, it is believed that cup 100 without being tilted towards,
User counts without operation of drinking water without amount of drinking water at this time.
Preferably, the first tendency detection wake-up module, further includes tilt threshold setup unit, for according to cup
100 current water, is arranged the tilt threshold.
It is noted that tilt threshold is variable, tilt threshold is related with water;Water is higher, and threshold value is smaller.Its principle
It is: only needs to tilt little by little when water is more in cup 100, so that it may it drinks water, so, when water is higher, inclination angle threshold
It is worth smaller.
In addition, can be called out by detection 100 motion state of cup before cup 100 identifies pouring and operation of drinking water
It wakes up relevant functional module, mitigates and solve burden, reduce power consumption.
In the present embodiment, described device further includes the second tendency detection wake-up module, for detecting the cup 100
Motion state is changed in response to the motion state, wakes up the inclination angle detection module for detecting 100 inclination angle of cup
And/or it wakes up and is tilted towards acquisition module for obtain that cup 100 is tilted towards.
Optionally, described be tilted towards acquires acquisition by movement sensing module with the inclination angle.
Optionally, described be tilted towards acquires acquisition by attitude transducer with the inclination angle.
In the present embodiment, described be tilted towards of the cup 100 is added by three axis angular rate sensors and/or three axis
What velocity sensor obtained;Described device further includes that acquiring unit is tilted towards for second based on motion sensor, and described
Two, which are tilted towards acquiring unit, is configured as:
Set the bottom of a cup of cup 100 to cup top the Z of three axis angular rate sensors and/or 3-axis acceleration sensor
Axis sets the bottom of a cup of cup 100 to the X-Y plane of three axis angular rate sensors and/or 3-axis acceleration sensor;
100 bottom of a cup of cup is obtained in real time to cup top first by carrying out Integration Solving to three axis angular rates based on initial angle
The radial coordinate in three-axis reference;
Determine that the described first radial angle between the Z axis is inclination angle;
When the inclination angle is greater than threshold value, determine that first radial direction is projected as being tilted towards on the X-Y plane.
It is noted that setting three axis angular rate sensors and/or the acceleration of three axis for the bottom of a cup of cup 100 to cup top
The Z axis for spending sensor, sets the bottom of a cup of cup 100 to the X-Y of three axis angular rate sensors and/or 3-axis acceleration sensor
Face is optional one embodiment, can be set as needed coordinate system in other embodiments.
Based on this, inclination angle is realized by same sensor and is tilted towards acquisition, saves hardware cost.
It is noted that the default tendency for pouring and identifying of drinking water optionally presets tendency in being applied to cup 100
It is that factory test obtains;Optionally, due to individual difference, tendency is preset by user individual and tests acquisition;Optionally, it presets and inclines
To there is a default setting, and corrected in use by user.
Optionally, in one embodiment, based on experiment test, choose suitable tolerance, and the default angle is set.
In the present embodiment, described device further includes the first default angle correction module, the first default angle correction
Module is used for:
The historical data being tilted towards for obtaining the cup 100, matches from the historical data and is respectively used to
Identify that first historical data and the cup 100 of the cup 100 in state of drinking water are in the second history of pouring state
Data;
According to first historical data and/or the second historical data, the default angle is determined or corrected.
Optionally, the described first default angle correction module is also used to obtain the institute being tilted towards of the cup 100
Historical data is stated, clustering is carried out to the historical data being tilted towards.
Clustering refers to that the set by physics or abstract object is grouped into the analysis for the multiple classes being made of similar object
Process.The target of clustering is exactly that data are collected on the basis of similar to classify.Cluster is derived from many fields, including number
It learns, computer science, statistics, biology and economics.In different application fields, many clustering techniques are all sent out
Exhibition, these technical methods are used as describing data, measure the similitude between different data sources, and data source is categorized into difference
Cluster in.Its step is: the first step, one by one scanned samples, each sample according to it at a distance from scanned sample, quilt
It is classified as pervious class, or generates a new class;Second step is merged to all kinds of in the first step according between class distance, by certain
Standard, stop merge.
In the default tendency setting that cup 100 drinks water pouring, it can classify to user's operation data, be classified
For data and the pouring data of drinking water, and threshold value is set, both to distinguish, achievees the purpose that identification drinks water and pours.Due to poly-
Alanysis is the prior art, and which is not described herein again.
The preferred embodiment of the present invention has been described in detail above.It should be appreciated that those skilled in the art without
It needs creative work according to the present invention can conceive and makes many modifications and variations.Therefore, all technologies in the art
Personnel are available by logical analysis, reasoning, or a limited experiment on the basis of existing technology under this invention's idea
Technical solution, all should be within the scope of protection determined by the claims.
Claims (8)
1. a kind of cup amount of drinking water statistical method, which is characterized in that the described method includes:
Obtain the initial water of cup;
It obtains to be set on the cup cup body and is tilted towards being tilted towards for detection device detection;It is described to be tilted towards as cup radial direction
Projection in the horizontal plane;
The user for acquiring sense of touch module on the cup cup body holds signal;It includes the cup two sides that the user, which holds signal,
At least two graspings point corresponding at least two fingers of user;
According to the user hold signal determine user grasp the holding of the cup to;It is described to hold to being described at least two
The vertical line of the projection of the line of the grasping point in the horizontal plane;
It is tilted towards described in solution and holds with described to being formed by the first angle;
Match in response to first angle with default angle, according to the initial water of the cup and the cup
Current water, the water for counting reduced are newly-increased amount of drinking water.
2. a kind of cup amount of drinking water statistical method as described in claim 1, which is characterized in that described in response to first folder
Angle matches with default angle, according to the initial water of the cup and the current water of the cup, counts reduction
Water is newly-increased amount of drinking water, further includes:
It is persistently matched in response to first angle with default angle, the inclination angle to cup is less than first threshold, according to described
The initial water of cup and the current water of the cup, the water for counting reduced are newly-increased amount of drinking water.
3. a kind of cup amount of drinking water statistical method as described in claim 1, which is characterized in that described in response to first folder
Angle matches with default angle, according to the initial water of the cup and the current water of the cup, counts reduction
Water is newly-increased amount of drinking water, further includes:
First angle is compared with angle threshold value;
If first angle is greater than or equal to the angle threshold value, the inclination angle to cup is less than first threshold, according to institute
The initial water of cup and the current water of the cup are stated, the water for counting reduced is newly-increased amount of drinking water.
4. a kind of cup amount of drinking water statistical method as described in claim 1, which is characterized in that described in response to first folder
Angle matches with default angle, according to the initial water of the cup and the current water of the cup, counts reduction
Water is newly-increased amount of drinking water, further includes:
First angle is compared with the first default tendency section and/or the second default tendency section;
If first angle is contained within the described first default tendency section or the second default tendency section, the inclination to cup
Angle is less than first threshold and counts reduced water according to the initial water of the cup and the current water of the cup
To increase amount of drinking water newly.
5. a kind of cup amount of drinking water statistical method as described in claim 1, which is characterized in that the method also includes:
Detect the inclination angle of the cup;
It is greater than tilt threshold in response to the inclination angle of the cup, obtains being tilted towards for cup.
6. a kind of cup amount of drinking water statistical method as claimed in claim 1 or 5, which is characterized in that in the acquisition cup
Before being tilted towards, further includes:
Detect the motion state of the cup;
It changes, is waken up for detecting the inclination angle detection module at cup inclination angle and/or calling out in response to the motion state
It wakes up and is tilted towards acquisition module for obtain that cup is tilted towards.
7. a kind of cup amount of drinking water statistical method as described in claim 1, which is characterized in that the described of the cup is tilted towards
It is to be obtained by three axis angular rate sensors and/or 3-axis acceleration sensor;The method also includes:
Set the bottom of a cup of cup to cup top the Z axis of three axis angular rate sensors and/or 3-axis acceleration sensor, by cup
Bottom of a cup be set as the X-Y plane of three axis angular rate sensors and/or 3-axis acceleration sensor;
Cup bottom of a cup to the first radial direction of cup top is obtained in real time and is existed by carrying out Integration Solving to three axis angular rates based on initial angle
Coordinate in three-axis reference;
Determine that the described first radial angle between the Z axis is inclination angle;
When the inclination angle is greater than threshold value, determine that first radial direction is projected as being tilted towards on the X-Y plane.
8. a kind of cup amount of drinking water statistical method as described in claim 1, which is characterized in that the method also includes:
The historical data being tilted towards for obtaining the cup, matches from the historical data and is respectively used to described in identification
First historical data and the cup of the cup in state of drinking water are in the second historical data of pouring state;
According to first historical data and/or the second historical data, the default angle is determined or corrected.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710748966.7A CN107510335B (en) | 2017-08-28 | 2017-08-28 | A kind of cup amount of drinking water statistical method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710748966.7A CN107510335B (en) | 2017-08-28 | 2017-08-28 | A kind of cup amount of drinking water statistical method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107510335A CN107510335A (en) | 2017-12-26 |
CN107510335B true CN107510335B (en) | 2018-12-11 |
Family
ID=60724304
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710748966.7A Active CN107510335B (en) | 2017-08-28 | 2017-08-28 | A kind of cup amount of drinking water statistical method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107510335B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10856792B2 (en) * | 2018-02-22 | 2020-12-08 | Medtronic, Inc. | Urinary symptom management |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105496133A (en) * | 2014-09-24 | 2016-04-20 | 上海华博信息服务有限公司 | Self-powered smart water cup with functions of temperature displaying and intraday water intake recording |
KR20170053194A (en) * | 2015-11-05 | 2017-05-16 | 코웨이 주식회사 | Cup capable of measuring drinking amount |
CN107048920A (en) * | 2017-03-23 | 2017-08-18 | 广东万事达智能科技有限公司 | Intelligent water cup capable of automatically measuring water intake and measuring method thereof |
-
2017
- 2017-08-28 CN CN201710748966.7A patent/CN107510335B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105496133A (en) * | 2014-09-24 | 2016-04-20 | 上海华博信息服务有限公司 | Self-powered smart water cup with functions of temperature displaying and intraday water intake recording |
KR20170053194A (en) * | 2015-11-05 | 2017-05-16 | 코웨이 주식회사 | Cup capable of measuring drinking amount |
CN107048920A (en) * | 2017-03-23 | 2017-08-18 | 广东万事达智能科技有限公司 | Intelligent water cup capable of automatically measuring water intake and measuring method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN107510335A (en) | 2017-12-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017156835A1 (en) | Smart method and system for body building posture identification, assessment, warning and intensity estimation | |
WO2017156834A1 (en) | Intelligent gloves for measuring calorie consumption and monitoring hand gesture recognition, and estimation method and system | |
KR101157073B1 (en) | Method for finger language recognition using emg and gyro sensor and apparatus thereof | |
CN108670263A (en) | A kind of sleep pose discrimination method based on MPU-6050 | |
CN103543834A (en) | Gesture recognition device and method | |
CN108196668B (en) | Portable gesture recognition system and method | |
CN111998829B (en) | Method for judging read-write posture based on sensor | |
CN104731307A (en) | Somatic action identifying method and man-machine interaction device | |
US10424224B2 (en) | Glove for use in collecting data for sign language recognition | |
Murao et al. | Evaluating gesture recognition by multiple-sensor-containing mobile devices | |
CN107550197B (en) | A kind of drinking-water quantity measuring method of the Intelligent water cup with handle part | |
CN107510335B (en) | A kind of cup amount of drinking water statistical method | |
CN107485253B (en) | Drink water pouring identification cup | |
CN107518737B (en) | A kind of cup drinks water the recognition methods that pours | |
CN107510326B (en) | A kind of appreciation method that pours of drinking water of the Intelligent water cup with handle part | |
CN107510336B (en) | Water-holding cup capable of detecting water intake | |
CN107456031B (en) | It is a kind of can recognize drink water pouring can water holding cup | |
CN109099827B (en) | Method for detecting posture of pen body through capacitance and electromagnetic positioning double sensors | |
CN107319883B (en) | Amount of drinking water counts cup | |
US20220194295A1 (en) | Method and device for measuring a contact or proximity with a vehicle steering wheel | |
WO2022267290A1 (en) | Step counting method and apparatus, and electronic device and readable storage medium | |
CN106767800B (en) | A kind of paces segmentation detection method | |
CN112426709B (en) | Forearm movement posture recognition method, interface interaction control method and device | |
KR101958334B1 (en) | Method and apparatus for recognizing motion to be considered noise | |
TWI581765B (en) | Movement-orbit sensing system and movement-orbit collecting method by using the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |