CN105698894B - A kind of container cushion, the method and device for determining solution state in container - Google Patents

A kind of container cushion, the method and device for determining solution state in container Download PDF

Info

Publication number
CN105698894B
CN105698894B CN201410697273.6A CN201410697273A CN105698894B CN 105698894 B CN105698894 B CN 105698894B CN 201410697273 A CN201410697273 A CN 201410697273A CN 105698894 B CN105698894 B CN 105698894B
Authority
CN
China
Prior art keywords
container
pressure
solution
period
temperature
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
Application number
CN201410697273.6A
Other languages
Chinese (zh)
Other versions
CN105698894A (en
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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201410697273.6A priority Critical patent/CN105698894B/en
Publication of CN105698894A publication Critical patent/CN105698894A/en
Application granted granted Critical
Publication of CN105698894B publication Critical patent/CN105698894B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses the method and devices of solution state, container cushion in a kind of determining container, which comprises obtains first state locating for the container cushion in the T1 period;Judge whether the first state meets preset condition, obtains the first judging result;When first judging result shows that the first state meets preset condition, the first pressure that the container cushion is born is obtained in the T2 period, the T2 period is adjacent with the T1 period and occurs after the T1 period;The second pressure that container cushion is born described in the T3 period is obtained, the T3 period adjacent and described with the T1 period T3 period is before the T1 period;The pressure that the container cushion is born in the T1 period is different from the pressure that the container cushion described in the T2 period is born;The volume change of solution in the container is determined according to the first pressure and the second pressure.

Description

A kind of container cushion, the method and device for determining solution state in container
Technical field
The present invention relates to electronic technology more particularly to a kind of container cushions, the method and dress that determine solution state in container It sets.
Background technique
The water way and health of science are closely bound up, therefore drink water be important drinking habit in right amount." Chinese residents meals Index finger south " suggest, the adult of physical exertion live under the conditions of mild climate, light, it is proposed that minimum 1200 milli of drinking-water daily It rises (ml), about 6 glasss of 200ml amount.If activity causes greatly perspiration more, the amount of drinking water is increase accordingly so as to timely moisturizing. In addition, drink water in due course be also another important drinking habit, such as after the meal half an hour should drink one glass of water, body disappears Change function, endocrine function need water, and the toxicant in metabolite will also rely on moisture, drink one after half an hour after meal Cup water can reinforce the digestive function of body, avoid functions of intestines and stomach disorder, and help maintains stature.
The decline of modern's physical exertion ratio, the especially personage of sitting office, it is all comfortable to be in temperature humidity for a long time In the environment of, it is easy to form undesirable drinking habit.This mainly includes two aspects: being to forget to drink water for a long time first, for a long time Sitting and be absorbed in work, often forget to drink water, when feel thirsty want to drink water when intracorporal dehydration have reached 2%, it is thirsty It itself is the performance having been seriously lack of water in vivo in fact, this is one of the fatal habit for causing " inferior health " state;Followed by drink With the inappropriate water of temperature, the excessively high water of long-term drinking temperature can scald esophageal mucosa, cause oral mucositis, esophagitis etc., It may even happen that canceration, while the easy stimulation bottleneck throat of water and stomach that long-term drinking temperature is too low over time, cause larynx Bitterly, the diseases such as hoarseness, diarrhea, abdominal pain.
It mainly includes container cushion method that how exploration, which promotes the research method of healthy water, and container cushion method is exactly a kind of benefit The technology that drinking-water metering is carried out with container cushion, main problem present in existing container cushion method include: 1) container cushion method Also rest on the availability for focusing on container cushion itself design and system;2) container cushion method is mostly when carrying out water temperature detection By materialogy method, quantitative monitoring result can not be obtained;3) container cushion method lacks long-term record, the inspection of drinking habit Surveying and intervening is a dynamic, long-term process, and the statistics of data and trend analysis are extremely important, these work are ground existing Study carefully in achievement and does not embody.
Summary of the invention
In view of this, the embodiment of the present invention be solve the problems, such as it is existing in the prior art at least one and container pad is provided Son, the method and device for determining solution state in container, can monitor the drinking behavior of user, and user is promoted to form good drink Water habit.
The technical solution of the embodiment of the present invention is achieved in that
In a first aspect, the embodiment of the present invention provides a kind of method of solution state in determining container, the container is placed in On container cushion, which comprises
First state locating for the container cushion is obtained in the T1 period;
Judge whether the first state meets preset condition, obtains the first judging result;
When first judging result shows that the first state meets preset condition, the container is obtained in the T2 period The first pressure that cushion is born, the T2 period is adjacent with the T1 period and occurs after the T1 period;
Obtain container cushion is born described in the T3 period second pressure, the T3 period it is adjacent with the T1 period and The T3 period is before the T1 period;
The pressure that the container cushion is born in the T1 period and the container cushion institute in the T2 period The pressure of receiving is different, the pressure that the container cushion is born in the T1 period and the container in the T3 period The pressure that cushion is born is different;
The volume change of solution in the container is determined according to the first pressure and the second pressure.
Second aspect, the embodiment of the present invention provide a kind of device of solution state in determining container, and the container is placed in On container cushion, described device include first acquisition unit, the first judging unit, second acquisition unit, third acquiring unit and First determination unit, in which:
The first acquisition unit, for obtaining first state locating for the container cushion in the T1 period;
First judging unit obtains the first judgement knot for judging whether the first state meets preset condition Fruit;
The second acquisition unit, for showing that the first state meets preset condition when first judging result When, the first pressure that the container cushion is born is obtained in the T2 period, the T2 period is adjacent with the T1 period and occurs After the T1 period;
The third acquiring unit, for obtaining the second pressure that container cushion is born described in the T3 period, the T3 The T3 period adjacent and described with T1 period period is before the T1 period;
The pressure that the container cushion is born in the T1 period and the container cushion institute in the T2 period The pressure of receiving is different, the pressure that the container cushion is born in the T1 period and the container in the T3 period The pressure that cushion is born is different;
First determination unit, for determining solution in the container according to the first pressure and the second pressure Volume change.
The third aspect, the embodiment of the present invention provide a kind of container cushion, and the container cushion is for placing container, the appearance Device cushion includes container cushion body, the first temperature sensor, second temperature sensor, pressure sensor, acceleration transducer And processor, in which:
First temperature sensor is set in the container cushion, for sensing container cushion upper container bottom Temperature, and the temperature of the container bottom is sent to processor;
The second temperature sensor is set in the container cushion, is sent for sensing room temperature, and by the room temperature To processor;
The pressure sensor is set in the container cushion, for sensing the container to container cushion in T2 The first pressure and second pressure in the T3 period of section, and the first pressure and the second pressure are sent to the processing Device;
The acceleration transducer is set in the container cushion, and the acceleration for sensing the container cushion is believed Breath, and the acceleration information is sent to processor;
The processor is used to correct the first pressure according to the acceleration information, and according to the acceleration Then second pressure described in Information revision determines in the container according to revised first pressure and revised second pressure The volume change of solution;It is also used to determine held solution in the container according to the temperature of the room temperature and the container bottom Temperature.
Container cushion provided in an embodiment of the present invention, the method and device for determining solution state in container, wherein in T1 Section obtains first state locating for the container cushion;Judge whether the first state meets preset condition, obtains first and sentence Disconnected result;When first judging result shows that the first state meets preset condition, the container is obtained in the T2 period The first pressure that cushion is born;Obtain the second pressure that container cushion is born described in the T3 period;According to first pressure Power and the second pressure determine the volume change of solution in the container;It so, it is possible the drinking behavior of monitoring user, promote User forms good drinking habit.
Detailed description of the invention
Fig. 1-1 is the composed structure schematic diagram of one container cushion of the embodiment of the present invention;
Fig. 1-2 is that one container of the embodiment of the present invention is placed in the schematic diagram on container cushion;
Fig. 2-1 is the implementation process schematic diagram that the embodiment of the present invention two determines the method for solution state in container;
Fig. 2-2 is the schematic diagram that the three state of container coaster in the embodiment of the present invention two is mutually converted;
Fig. 2-3 is the schematic diagram of user's drinking-water process in the embodiment of the present invention two;
Fig. 3 is the implementation process schematic diagram that the embodiment of the present invention three determines the method for solution state in container;
Fig. 4-1 is the implementation process schematic diagram that the embodiment of the present invention four determines the method for solution state in container;
Fig. 4-2 is the schematic diagram at the first inclination angle in the embodiment of the present invention four;
Fig. 5-1 is the implementation process schematic diagram that the embodiment of the present invention five determines the method for solution state in container;
Fig. 5-2 is the relation schematic diagram in the embodiment of the present invention five between container cushion and client;
Fig. 6 is the implementation process schematic diagram that the embodiment of the present invention six determines the method for solution state in container;
Fig. 7-1 is the implementation process schematic diagram that the embodiment of the present invention seven determines the method for solution state in container;
Fig. 7-2 is in the embodiment of the present invention seven for correcting the implementation process schematic diagram of the algorithm of pressure;
Fig. 8 is the composed structure schematic diagram that the embodiment of the present invention eight determines the device of solution state in container.
Specific embodiment
The technical solution of the present invention is further elaborated in the following with reference to the drawings and specific embodiments.
Embodiment one
The embodiment of the present invention first provides a kind of container cushion, and the container cushion is the present invention for placing container, Fig. 1-1 The composed structure schematic diagram of one container cushion of embodiment, as Figure 1-1, the container cushion 10 include container cushion body 11, First temperature sensor 12, second temperature sensor 13, pressure sensor 14, acceleration transducer 15 and processor 16, in which:
First temperature sensor 12 is set in the container cushion, for sensing container cushion upper container bottom Temperature, and the temperature of the container bottom is sent to processor 16;
The second temperature sensor 13 is set in the container cushion, is sent out for sensing room temperature, and by the room temperature Give processor 16;
The pressure sensor 14 is set in the container cushion, for sensing the container to container cushion in T2 The first pressure of period and second pressure in the T3 period, and the first pressure and the second pressure are sent to the place Manage device 16;
The acceleration transducer 15 is set in the container cushion, for sensing the acceleration of the container cushion Information, and the acceleration information is sent to processor 16;
The processor 16, for determining the appearance of solution in the container according to the first pressure and the second pressure Amount variation;
The processor 16 as a preferred technical solution, is also used to correct described first according to the acceleration information Pressure, and the second pressure is corrected according to the acceleration information, then according to revised first pressure and after correcting Second pressure determine the volume change of solution in the container.
The processor 16, is held for being determined in the container according to the temperature of the room temperature and the container bottom The temperature of solution;
It should be noted that processor 16 determine container in solution volume change and determine container in hold it is molten The temperature of liquid, and amendment first pressure and second pressure will be described in detail below in an example.
In the embodiment of the present invention, as Figure 1-1, the upper surface of the container cushion body 11 includes 111 He of first area Second area 112, the first area 111 are the area being in contact with the bottom of a cup for the container being placed in the container cushion body Domain, the second area 112 are the region in the container cushion body in addition to the first area;
Here, suppose that container is cup, accordingly, container cushion is coaster, as shown in Figs. 1-2, the coaster ontology 11 Upper surface includes first area 111 and second area 112, wherein and the bottom of a cup that first area 111 is placed on cup is covered, Second area 112 is the region on coaster in addition to first area;
In the embodiment of the present invention, as Figure 1-1, first temperature sensor 12, pressure sensor 14 and acceleration Sensor 15 is set in the orthographic projection region of the first area 111;The second temperature sensor 13 and the temperature pass Sensor 16 is set in the orthographic projection region of the second area 112.
Here, it is most important that the first temperature sensor is provided separately with second temperature sensor, institute by first It is because when holding solution in container or temperature when object, in container that temperature sensor and second temperature sensor, which are provided separately, Degree and outdoor temperature are usually different, and for second temperature sensor due to room temperature to be sensed, it is therefore preferred to be placed in Second area in addition to first area 111, and the first temperature sensor will sense temperature in container, therefore by the first temperature Sensor is set to first area 111.
When the container cushion is coaster, it is desired nonetheless to by each component (i.e. above-mentioned each sensor and the place in coaster Reason device) subregion setting be because are as follows: when holding solution in cup, temperature in cup and the temperature of outdoor are usually different , second temperature sensor is due to room temperature to be sensed, the secondth area that it is therefore preferred to be placed in addition to first area 111 Domain, and the first temperature sensor will sense temperature in cup, therefore the first temperature sensor is set to first area 111, And in general, the solution held in cup is either excessively high or too low for the operating temperature of processor, unlike room temperature It is so constant, it is suitable for that processor is set in second area therefore.
In the embodiment of the present invention, the container cushion further includes communication unit, which is set to container cushion sheet Body 11, it is preferable that communication unit is set in second area;The communication unit can be using short-range communication such as bluetooth, red Outside, the modes such as near-field communication (NFC) realize that certain communication unit can also utilize various networks such as Wireless Fidelity (wifi) net Network realizes the interaction with external other users equipment or server.
The embodiment of the present invention one provides a kind of intelligent container cushion, which can be coaster, the container Cushion is due to incorporating multiple sensors, and the container cushion is provided with processor, and therefore, which can be terminal, Sensor data collected are transferred to processor, it even can be by the communication that is additionally arranged after the processing of processor Unit issues server or user equipment;Wherein user equipment includes smart phone, desktop computer, laptop, puts down Plate computer etc., server here can be one of above-mentioned user equipment.
Embodiment two
Based on the container cushion that the embodiment of the present invention one provides, the embodiment of the present invention provides solution shape in a kind of determining container The method of state, more specifically, provided in an embodiment of the present invention is a kind of method of the volume change of solution in determining container, The container is placed on container cushion, and method provided in an embodiment of the present invention is applied to the processor in container cushion, the appearance Device cushion includes the device of solution state in a determining container, the function that the device of solution state is realized in the determination container It can be realized by the processor caller code in container cushion, certain program code can be stored in computer storage In medium.It should be noted that the container cushion is other than including pocessor and storage media, it further include described in embodiment one Various sensors and communication unit.
Fig. 2-1 is the implementation process schematic diagram that the embodiment of the present invention two determines the method for solution state in container, such as Fig. 2-1 It is shown, this method comprises:
Step 201, first state locating for the container cushion is obtained in the T1 period;
Here, the first state may have blank state S0, empty cup stage S1 and have solution state S2, wherein vacant State S0 is the state for not being placed with container on container cushion;Empty cup stage S1 is to be placed with container and the appearance on container cushion The state of solution is not contained in device;Having solution state S2 is to be placed with container on container cushion, and be contained in the container The state of solution.
It is coaster that container cushion, which is assumed below, simultaneously, it is assumed that container is cup, then as shown in Fig. 2-2 and Fig. 2-3, three A state, that is, blank state S0, empty cup stage S1 and having can be mutually converted between solution state S2, when user picks up cup, Container cushion is in blank state S0;Wherein, user, which picks up cup, may include two kinds of situations, and one is pick up cup to drink Water, one is pick up cup to go to pour to cup.When user picks up cup and the water in cup is drunk up, and empty When cup is placed on container cushion, container cushion is in empty cup stage S1;When user drinks the water in cup up, user is just Cup can be picked up to go to pour, then user is placed on container cushion cup, and at this moment, container cushion has been in solution state S2,;Then user picks up cup and drinks water, and within a period of time for picking up cup, container cushion is in blank state S0;When User is there is no the water in cup is finished off, and when then cup being placed on coaster, at this moment container cushion is to be in have solution State S2's.
Step 202, judge whether the first state meets preset condition, obtain the first judging result;
Here, the preset condition is the state S0 that container cushion does not place container.
Step 203, it when first judging result shows that the first state meets preset condition, is obtained in the T2 period The first pressure that the container cushion is born;
Here, the T2 period is different from the T1 period, and the T2 period is adjacent with the T1 period and occurs in institute After stating the T1 period;
Step 204, the second pressure that container cushion is born described in the T3 period is obtained;
Here, the T3 period adjacent and described with the T1 period T3 period is before the T1 period;In the T1 The pressure that the container cushion is born when the period is different from the pressure that the container cushion described in the T2 period is born, The pressure that the container cushion is born when the T1 period and the pressure that the container cushion is born in the T3 period It is different;
Step 205, the volume change of solution in the container is determined according to the first pressure and the second pressure.
In the embodiment of the present invention, step 201 to step 203 is to judge whether the current state of container cushion is blank state S0 obtains the second pressure of the T3 period before the T1 period, and obtain when the state for determining container cushion is blank state S0 Take the first pressure of T2 period after the T1 period;Two kinds of determining container pads will be provided in following embodiment three and example IV Sub- current state whether the method for being blank state S0.
It is step 205, described that the container is determined according to the first pressure and the second pressure in the embodiment of the present invention The volume change of middle solution, comprising:
Step 2051, judge the size relation between the first pressure and the second pressure, obtain the second judgement knot Fruit;
Step 2052, when second judging result shows that the second pressure is less than the first pressure, then basis The second pressure and the first pressure determine the first amount of solution;
Here, first amount of solution by the secondary container reduction amount of solution;When container is cup, the first solution Amount may be considered the amount that user drinks water.
Step 2053, when second judging result shows that the second pressure is greater than the first pressure, then basis The second pressure and the first pressure determine the second amount of solution;
Here, second amount of solution is increased amount of solution in the secondary container, when container is cup, the second solution Amount may be considered the amount that user pours into water into cup.
In the embodiment of the present invention, first state locating for the container cushion is obtained in the T1 period;Judge first shape Whether state meets preset condition, obtains the first judging result;When first judging result shows that the first state meets in advance If when condition, obtaining the first pressure that the container cushion is born in the T2 period;Obtain the container cushion institute described in the T3 period The second pressure of receiving;The volume change of solution in the container is determined according to the first pressure and the second pressure;Such as This, can monitor the drinking behavior of user, and user is promoted to form good drinking habit.
Embodiment three
Based on the container cushion that the embodiment of the present invention one provides, the embodiment of the present invention provides solution shape in a kind of determining container The method of state, the container are placed on container cushion, and method provided in an embodiment of the present invention is applied to the place in container cushion Device is managed, which includes the device of solution state in a determining container, the device institute of solution state in the determination container The function of realization can realize that certain program code can be stored in by the processor caller code in container cushion In computer storage medium.It should be noted that the container cushion other than including pocessor and storage media, further includes implementing Various sensors and communication unit described in example one.
It is mainly provided in the embodiment of the present invention three and a kind of realizes mode of the step 201 to step 203, this hair in embodiment two The mode provided in bright embodiment three is the pressure born based on container cushion to realize, Fig. 3 is that the embodiment of the present invention three is true The implementation process schematic diagram of the method for solution state in constant volume device, as shown in figure 3, this method comprises:
Step 301, in the T1 period, the initial pressure that the container cushion is born is obtained;
Here, initial pressure is the pressure that container cushion is born in the T1 period, when due to the embodiment of the present invention being with T1 Duan Weiyi judges that (i.e. therefore the pressure of T1 period is defined as initial pressure to node by step 302).
Step 302, judge the size relation between the initial pressure and preset pressure threshold, obtain the first judgement knot Fruit;
Here, container cushion senses pressure when the preset pressure threshold is in blank state S0 by container cushion Power, in the ideal case, the sensed pressure of container cushion should be 0, it is contemplated that the weight of container cushion itself and The reasons such as null offset, the pressure that container cushion is sensed in blank state S0 are not 0, may be one smaller Pressure value;Therefore, during specific implementation, preset pressure threshold can have a pressure limit, the pressure limit Maximum value can be equal to container cushion and be in the pressure value sensed when empty cup stage S1, and the minimum value of the pressure limit can be set It is set to 0.
Step 303, when first judging result shows that the initial pressure is less than the pressure threshold, in the T2 period Obtain the first pressure that the container cushion is born;
Here, the T2 period is different from the T1 period, and the T2 period is adjacent with the T1 period and occurs in institute After stating the T1 period;
Step 304, the second pressure that container cushion is born described in the T3 period is obtained;
Here, the T3 period adjacent and described with the T1 period T3 period is before the T1 period;In the T1 The pressure that the container cushion is born when the period is different from the pressure that the container cushion described in the T2 period is born, The pressure that the container cushion is born when the T1 period and the pressure that the container cushion is born in the T3 period It is different;
Step 305, the volume change of solution in the container is determined according to the first pressure and the second pressure.
Example IV
Based on the container cushion that the embodiment of the present invention one provides, the embodiment of the present invention provides solution shape in a kind of determining container The method of state, the container are placed on container cushion, and method provided in an embodiment of the present invention is applied to the place in container cushion Device is managed, which includes the device of solution state in a determining container, the device institute of solution state in the determination container The function of realization can realize that certain program code can be stored in by the processor caller code in container cushion In computer storage medium.It should be noted that the container cushion other than including pocessor and storage media, further includes implementing Various sensors and communication unit described in example one.
It is mainly provided in the embodiment of the present invention four and a kind of realizes mode of the step 201 to step 203, this hair in embodiment two The mode provided in bright example IV is realized based on the acceleration of container cushion, and Fig. 4-1 determines for the embodiment of the present invention four The implementation process schematic diagram of the method for solution state in container, as shown in Fig. 4-1, this method comprises:
Step 401, in the T1 period, the acceleration of the container cushion is obtained;
Step 402, by the acceleration decompose under the first coordinate system X-axis, on three directions of Y-axis and Z axis, respectively To the acceleration, the acceleration of Y-axis and the acceleration of Z axis of X-axis;
Here, first coordinate system is as shown in Figs. 1-2, wherein being mutually perpendicular to for X-axis, Y-axis and Z axis and intersecting at original Point, the origin may be considered the position where sensor or the position of centre of gravity of container cushion, determined by X-axis and Z axis Plane is the plane where container cushion, and Y-axis is vertically and perpendicular to the plane where container cushion.It should be noted that working as When plane where container cushion is horizontal plane, then the direction of gravity acceleration g with Y-axis on the contrary, and container cushion born Pressure with the gravity that container cushion is born be equal.When the plane where container cushion is inclined-plane, then gravity accelerates There is certain angle between direction and Y-axis opposite direction where degree g, as shown in the Fig. 4-2, this angle is in the embodiment of the present invention In be defined as the first inclination angle or the second inclination angle, at this moment, the pressure that container cushion is born is less than what container cushion was born Gravity.
Step 403, acceleration quadratic sum is determined according to the acceleration of the acceleration of the X-axis, the acceleration of Y-axis and Z axis TFA;
Here, acceleration quadratic sum TFA can be calculated using formula (1):
Wherein,For square for decomposing acceleration in X-axis under the first coordinate system,For in the first coordinate system Square of acceleration of the lower decomposition in Y-axis,For square for decomposing the acceleration on Z axis under the first coordinate system.
Step 404, judge the size relation between the acceleration quadratic sum TFA and preset acceleration rate threshold, obtain First judging result;
Step 405, when first judging result shows that the acceleration quadratic sum TFA is less than the acceleration rate threshold, The first pressure that the container cushion is born is obtained in the T2 period;
Here, the T2 period is different from the T1 period, and the T2 period is adjacent with the T1 period and occurs in institute After stating the T1 period;
Step 406, the second pressure that container cushion is born described in the T3 period is obtained;
Here, the T3 period adjacent and described with the T1 period T3 period is before the T1 period;In the T1 The pressure that the container cushion is born when the period is different from the pressure that the container cushion described in the T2 period is born, The pressure that the container cushion is born when the T1 period and the pressure that the container cushion is born in the T3 period It is different;
Step 407, the volume change of solution in the container is determined according to the first pressure and the second pressure.
There is provided a kind of combination pressure and gravity speed again below to judge method which kind of state container cushion is in, first Determine several parameters, the pressure that container cushion senses when first parameter Th is in empty cup stage S1 by container cushion, Two parameter Tst are the 3-axis acceleration quadratic sum of the gravity sensor of container cushion when container cushion is in empty cup stage S1 Empirical value, third parameter TFA are the quadratic sum of 3-axis acceleration, and wherein 3-axis acceleration is to decompose acceleration first The quadratic sum of the acceleration of the acceleration and Z axis on acceleration, Y-axis in the X-axis of coordinate system expresses TFA using formula are as follows:
Wherein,For square for decomposing acceleration in X-axis under the first coordinate system,For under the first coordinate system Square of the acceleration in Y-axis is decomposed,For square for decomposing the acceleration on Z axis under the first coordinate system.
When initial pressure be less than Th, and three axis quadratic sum TFA be less than empirical value Tst, it may be considered that container cushion In blank state S0;When initial pressure is equal to Th, it is determined that be in empty cup stage S1 for container cushion;When initial pressure is greater than Th, it is determined that being in for container cushion has solution state S2.
Embodiment five
Based on the container cushion that the embodiment of the present invention one provides, the embodiment of the present invention provides solution shape in a kind of determining container The method of state, the container are placed on container cushion, and method provided in an embodiment of the present invention is applied to the place in container cushion Device is managed, which includes the device of solution state in a determining container, the device institute of solution state in the determination container The function of realization can realize that certain program code can be stored in by the processor caller code in container cushion In computer storage medium.It should be noted that the container cushion other than including pocessor and storage media, further includes implementing Various sensors and communication unit described in example one.
Fig. 5-1 is the implementation process schematic diagram that the embodiment of the present invention five determines the method for solution state in container, such as Fig. 5-1 It is shown, this method comprises:
Step 501, first state locating for the container cushion is obtained in the T1 period;
Here, the first state may have blank state S0, empty cup stage S1 and have solution state S2, wherein vacant State S0 is the state for not being placed with container on container cushion;Empty cup stage S1 is to be placed with container and the appearance on container cushion The state of solution is not contained in device;Having solution state S2 is to be placed with container on container cushion, and be contained in the container The state of solution.
It is coaster that container cushion, which is assumed below, simultaneously, it is assumed that container is cup, then as shown in Fig. 2-2 and Fig. 2-3, three A state, that is, blank state S0, empty cup stage S1 and having can be mutually converted between solution state S2, when user picks up cup, Container cushion is in blank state S0;Wherein, user, which picks up cup, may include two kinds of situations, and one is pick up cup to drink Water, one is pick up cup to go to pour to cup.When user picks up cup and the water in cup is drunk up, and empty When cup is placed on container cushion, container cushion is in empty cup stage S1;When user drinks the water in cup up, user is just Cup can be picked up to go to pour, then user is placed on container cushion cup, and at this moment, container cushion has been in solution state S2;Then user picks up cup and drinks water, and within a period of time for picking up cup, container cushion is in blank state S0;When User is there is no the water in cup is finished off, and when then cup being placed on coaster, at this moment container cushion is to be in have solution State S2's.
Step 502, judge whether the first state meets preset condition, obtain the first judging result;
Here, the preset condition is the state S0 that container cushion does not place container.
Step 503, it when first judging result shows that the first state meets preset condition, is obtained in the T2 period The first pressure that the container cushion is born;
Here, the T2 period is different from the T1 period, and the T2 period is adjacent with the T1 period and occurs in institute After stating the T1 period;
Step 504, the second pressure that container cushion is born described in the T3 period is obtained;
Here, the T3 period adjacent and described with the T1 period T3 period is before the T1 period;In the T1 The pressure that the container cushion is born when the period is different from the pressure that the container cushion described in the T2 period is born, The pressure that the container cushion is born when the T1 period and the pressure that the container cushion is born in the T3 period It is different;
Step 505, judge the size relation between the first pressure and the second pressure, obtain the second judgement knot Fruit;
Step 506, when second judging result shows that the second pressure is less than the first pressure, then according to institute It states second pressure and the first pressure determines the first amount of solution;
Here, first amount of solution by the secondary container reduction amount of solution;When container is the first solution in cup Amount may be considered the amount that user drinks water.
Step 507, when second judging result shows that the second pressure is greater than the first pressure, then according to institute It states second pressure and the first pressure determines the second amount of solution;
Here, second amount of solution is increased amount of solution in the secondary container, when container is cup, the second solution Amount may be considered the amount that user pours into water into cup.
Step 508, the first amount of solution and first time information are recorded, first list is formed;
Here, the first time information is temporal information corresponding to first amount of solution;
Step 509, the first list is uploaded to the second equipment, or the first list is exported to user, with Just user understands the reduction amount of solution in container.
Here, second equipment can be user equipment such as tablet computer, smart phone etc., or server, The server can be an ordinary computer during specific implementation, certainly can also be smart phone, plate Computer etc..
In the embodiment of the present invention, as described in the previous embodiment, the first amount of solution may be considered the amount of solution consumed, work as appearance When device cushion is coaster, accordingly container is cup, and the solution held in cup is the amount that user drinks up.User is each The secondary water drunk up and corresponding time formation first list, the period that user can be allowed to recognize that user drinks water every time, and The corresponding amount drunk water.
Technical solution provided in an embodiment of the present invention can be also used for following scene, method provided in an embodiment of the present invention It can be applied in hospital, such as the amount of drinking water that the patient after surgery in monitoring hospital is daily, at this moment, second equipment can Think a computer in hospital, the amount and corresponding time that patient can drink water in daily in the embodiment of the present invention are sent to the Two equipment, doctor can recognize daily situation of drinking water from the second equipment, build to targetedly provide to patient very much View, therefore, it is convenient to omit fall the case where nurse drinks water to patient's inquiry heavyly daily.
In the embodiment of the present invention, the method also includes:
Step 510-1 counts the total amount of the first amount of solution in preset time period;
The total amount of first amount of solution is uploaded to the second equipment by step 511-2, or by the total amount of the first amount of solution It exports to user, so that user understands the reduction amount or incrementss of solution in container.
In the embodiment of the present invention, the method also includes:
Step 510-2 counts the total amount of the second amount of solution in preset time period;
The total amount of second amount of solution is uploaded to the second equipment, or the total amount of the second amount of solution is exported by step 511-2 To user, so that user understands the reduction amount or incrementss of solution in container.
In the embodiment of the present invention, the method also includes:
Step 510-3 counts the total amount of the first amount of solution in preset time period and counts second in the preset time period The total amount of amount of solution;
The total amount of the total amount of first amount of solution and the second amount of solution is uploaded to the second equipment by step 511-2, or The total amount of the total amount of first amount of solution and the second amount of solution is exported to user, so that user understands the reduction amount of solution in container Or incrementss.
In above-described embodiment, the preset time period can be one day i.e. 24 hours, such as open within 00 second 00 minute from 0 point of the same day 59 divide 59 seconds when beginning to the same day 23;The preset time period is also for 5 points of morning to 10 points of morning.Preset time period can by with Family self-setting can also be configured certainly by the production firm of container cushion, by user setting count period when, hold Device cushion can have a display unit, and such as the display unit of touch, such user can input the time for oneself thinking statistics Section;Certain container cushion can also not have display unit, and as shown in Fig. 5-2, user can pacify on user terminal such as mobile phone Fill an application software, which is properly termed as client, user can be arranged on the client oneself think statistics when Between section;In addition to this, user can also by the client be arranged the age, gender and drinking-water target, the user setting complete age, After gender and drinking-water target, which will be transferred to these parameters on container cushion, and then container cushion can determine whether User drinks water the period out, to remind user to drink water when reaching the period of drinking water.Certain client can also be according to year Age, gender and drinking-water target determine the drinking-water period, so that the drinking-water period is sent to container cushion, container cushion is to be not required to It wants itself to calculate, it is only necessary to remind user to drink water according to the period.User can also check historical data on the client, should Historical data can be the second list in the first list and embodiment six in the embodiment of the present invention.
Embodiment six
Based on the container cushion that the embodiment of the present invention one provides, the embodiment of the present invention provides solution shape in a kind of determining container The method of state, the container are placed on container cushion, and method provided in an embodiment of the present invention is applied to the place in container cushion Device is managed, which includes the device of solution state in a determining container, the device institute of solution state in the determination container The function of realization can realize that certain program code can be stored in by the processor caller code in container cushion In computer storage medium.It should be noted that the container cushion other than including pocessor and storage media, further includes implementing Various sensors and communication unit described in example one.
Fig. 6 is the implementation process schematic diagram that the embodiment of the present invention six determines the method for solution state in container, such as Fig. 6 institute Show, this method comprises:
Step 601, first state locating for the container cushion is obtained in the T1 period;
Here, the first state may have blank state S0, empty cup stage S1 and have solution state S2, wherein vacant State S0 is the state for not being placed with container on container cushion;Empty cup stage S1 is to be placed with container and the appearance on container cushion The state of solution is not contained in device;Having solution state S2 is to be placed with container on container cushion, and be contained in the container The state of solution.
It is coaster that container cushion, which is assumed below, simultaneously, it is assumed that container is cup, then as shown in Fig. 2-2 and Fig. 2-3, three A state, that is, blank state S0, empty cup stage S1 and having can be mutually converted between solution state S2, when user picks up cup, Container cushion is in blank state S0;Wherein, user, which picks up cup, may include two kinds of situations, and one is pick up cup to drink Water, one is pick up cup to go to pour to cup.When user picks up cup and the water in cup is drunk up, and empty When cup is placed on container cushion, container cushion is in empty cup stage S1;When user drinks the water in cup up, user is just Cup can be picked up to go to pour, then user is placed on container cushion cup, and at this moment, container cushion has been in solution state S2,;Then user picks up cup and drinks water, and within a period of time for picking up cup, container cushion is in blank state S0;When User is there is no the water in cup is finished off, and when then cup being placed on coaster, at this moment container cushion is to be in have solution State S2's.
Step 602, judge whether the first state meets preset condition, obtain the first judging result;
Here, the preset condition is the state S0 that container cushion does not place container.
Step 603, it when first judging result shows that the first state meets preset condition, is obtained in the T2 period The first pressure that the container cushion is born;
Here, the T2 period is different from the T1 period, and the T2 period is adjacent with the T1 period and occurs in institute After stating the T1 period;
Step 604, the second pressure that container cushion is born described in the T3 period is obtained;
Here, the T3 period adjacent and described with the T1 period T3 period is before the T1 period;In the T1 The pressure that the container cushion is born when the period is different from the pressure that the container cushion described in the T2 period is born, The pressure that the container cushion is born when the T1 period and the pressure that the container cushion is born in the T3 period It is different;
Step 605, the volume change of solution in the container is determined according to the first pressure and the second pressure;
Step 606, the thermal coefficient k of the temperature of container bottom, room temperature and the container is obtained;
Step 607, according to the thermal coefficient k of the temperature and container of the room temperature and the container cushion, the appearance is determined The temperature of held solution in device;
Here, in step 607, it is assumed that room temperature T0, it is assumed that the temperature of container cushion is T1, dry by filtering removal It disturbs, the temperature of chamber wall is estimated using T0 compensation T1, then referring to the thermal coefficient k of container material, according to formula (2) It can estimate the temperature T of solution in container.
T=f (k, T1+ λ | T1-T0 |)
T=T1-log (1+k) * λ | T1-T0 | (2);
In formula (2), f () is preset function, and the value range of λ is between 1.0 to 1.1.
Step 608, according to the solution temperature determined, the temperature for reminding user to drink water.
The method that above-mentioned step 606 to step 607 provides the temperature of solution in a kind of determining container;Wherein, institute Stating step 608 includes:
Step 608-1, when determining that the temperature is greater than the maximum value of preset temperature threshold range, output the first temperature letter Breath, first temperature information are used to show the maximum value that temperature is higher than temperature threshold range;
Here, the preset temperature threshold range can by user's self-setting, can with the age input by user, The subscriber datas such as gender are determined, and when by subscriber data temperature threshold range, can preset a table, so Afterwards by subscriber data enquiry form to obtain temperature threshold range.
Step 608-2 when determining that the temperature is within the scope of preset temperature threshold, exports second temperature information, described Second temperature information is for showing temperature within the scope of preset temperature threshold;
Step 608-3, when determining minimum value of the temperature within the scope of preset temperature threshold, output third temperature letter Breath, the third temperature information are used to show the minimum value that temperature is less than the temperature threshold range.
Technical solution provided by the embodiment of the present invention, referring to shown in Fig. 5-2, can use the first temperature sensor and Two temperature sensors determine solution temperature, so that whether the temperature for reminding user to drink water is suitable for drinking when user drinks water.
In the embodiment of the present invention, in step 605 the following steps are included:
Step 605-1 judges the size relation between the first pressure and the second pressure, obtains the second judgement knot Fruit;
Step 605-2, when second judging result shows that the second pressure is less than the first pressure, then basis The second pressure and the first pressure determine the first amount of solution;
Here, first amount of solution by the secondary container reduction amount of solution;When container is cup, the first solution Amount may be considered the amount that user drinks water.
Step 605-3, when second judging result shows that the second pressure is greater than the first pressure, then basis The second pressure and the first pressure determine the second amount of solution;
Here, second amount of solution is increased amount of solution in the secondary container, when container is cup, the second solution Amount may be considered the amount that user pours into water into cup.
Based on above-mentioned the first amount of solution and the second amount of solution, the above method further include:
Step 609, according to the first amount of solution, the first temperature and first time information, second list is formed;
Here, first temperature is temperature corresponding to first amount of solution, and the first time information is described Temporal information corresponding to first amount of solution;
Step 610, the second list is uploaded to the second equipment, or the second list is exported to user, with Just user understands the reduction amount and corresponding water temperature of solution in container.
Embodiment seven
Based on the container cushion that the embodiment of the present invention one provides, the embodiment of the present invention provides solution shape in a kind of determining container The method of state, the container are placed on container cushion, and method provided in an embodiment of the present invention is applied to the place in container cushion Device is managed, which includes the device of solution state in a determining container, the device institute of solution state in the determination container The function of realization can realize that certain program code can be stored in by the processor caller code in container cushion In computer storage medium.It should be noted that the container cushion other than including pocessor and storage media, further includes implementing Various sensors and communication unit described in example one.
Fig. 7-1 is the implementation process schematic diagram that the embodiment of the present invention seven determines the method for solution state in container, such as Fig. 7-1 It is shown, this method comprises:
Step 701, first state locating for the container cushion is obtained in the T1 period;
Here, the first state may have blank state S0, empty cup stage S1 and have solution state S2, wherein vacant State S0 is the state for not being placed with container on container cushion;Empty cup stage S1 is to be placed with container and the appearance on container cushion The state of solution is not contained in device;Having solution state S2 is to be placed with container on container cushion, and be contained in the container The state of solution.
It is coaster that container cushion, which is assumed below, simultaneously, it is assumed that container is cup, then as shown in Fig. 2-2 and Fig. 2-3, three A state, that is, blank state S0, empty cup stage S1 and having can be mutually converted between solution state S2, when user picks up cup, Container cushion is in blank state S0;Wherein, user, which picks up cup, may include two kinds of situations, and one is pick up cup to drink Water, one is pick up cup to go to pour to cup.When user picks up cup and the water in cup is drunk up, and empty When cup is placed on container cushion, container cushion is in empty cup stage S1;When user drinks the water in cup up, user is just Cup can be picked up to go to pour, then user is placed on container cushion cup, and at this moment, container cushion has been in solution state S2;Then user picks up cup and drinks water, and within a period of time for picking up cup, container cushion is in blank state S0;When User is there is no the water in cup is finished off, and when then cup being placed on coaster, at this moment container cushion is to be in have solution State S2's.
Step 702, judge whether the first state meets preset condition, obtain the first judging result;
Here, the preset condition is the state S0 that container cushion does not place container.
Step 703, it when first judging result shows that the first state meets preset condition, is obtained in the T2 period The first pressure and the first inclination angle theta 1 that the container cushion is born;
Here, the T2 period is different from the T1 period, and the T2 period is adjacent with the T1 period and occurs in institute After stating the T1 period;First inclination angle theta 1 is the angle where T2 period container cushion between plane and horizontal plane.
In the embodiment of the present invention, the first inclination angle theta can be obtained according to the acceleration of gravity that acceleration transducer is sensed 1;It should be noted that the second inclination angle of acquisition is similar with the first inclination angle is obtained, only describe the first inclination angle is how to obtain below It takes.Since user can pick up container from container cushion or container is placed on container cushion, is picking up container or putting down During container, it will lead to container cushion and shaken, this shaking also causes coaster to move, i.e. coaster displacement To generate acceleration, acceleration produced by coaster displacement shows as height in data collected on acceleration transducer In other words frequency component includes some high fdrequency components in acceleration transducer acceleration information collected, therefore, in this hair In bright embodiment, the acceleration Xga in the X-axis of the first coordinate system, the acceleration on the acceleration Yga and Z axis in Y-axis are first obtained Then Zga filters out the high fdrequency component generated due to shaking using low-pass filter, then just obtain according to after filtering Gravitational acceleration component Zg on gravitational acceleration component Xg and Z axis in gravitational acceleration component Yg and X-axis in Y-axis, according to Yg, Xg and Zg can be obtained by the first inclination angle theta 1, specifically, can determine the first inclination angle theta 1 according to following formula (3):
Wherein, subscript g is meant that the component of acceleration only generated by acceleration of gravity, and the meaning of subscript ga is by weight Power acceleration and object displacement and the sum of acceleration for generating and the component of acceleration generated.It should be noted that in Y-axis There is between gravitational acceleration component Zg on gravitational acceleration component Xg and Z axis following pass on gravitational acceleration component Yg, X-axis System is as shown in formula (4):
Here, suppose that acceleration of gravity is 9.8 meter per second ^2 (m/s2), therefore, formula (3) can be deformed into formula (5):
θ 1=arccos (Yg/9.8) (5);
Acceleration transducer senses acceleration when moving other than acceleration of gravity there are also coaster in the embodiment of the present invention Degree.When determining the first inclination angle, needs to move coaster generated acceleration and filter out, only retain gravitational acceleration component.
Step 704, the first pressure P1 is modified to by P1 ' according to P1 '=P1/cos θ 1;
Step 705, the second pressure and the second inclination angle theta 2 that container cushion is born described in the T3 period are obtained;
Here, the T3 period adjacent and described with the T1 period T3 period is before the T1 period;In the T1 The pressure that the container cushion is born when the period is different from the pressure that the container cushion described in the T2 period is born, The pressure that the container cushion is born when the T1 period and the pressure that the container cushion is born in the T3 period It is different;Second inclination angle is the angle in the T3 period where the container cushion between plane and horizontal plane
Step 706, the second pressure P2 is modified to by P2 ' according to P2 '=P2/cos θ 2;
Step 707, the appearance of solution in the container is determined according to revised first pressure and revised second pressure Amount variation.
Technical solution provided by the embodiment of the present invention can overcome the defect for measuring inaccuracy in the prior art, because Pressure sensor is only used mostly when Dosing Solution amount in the prior art, the meter drunk water by the variation of pressure Amount, not can be carried out accurate metering in some conditions in this way;Such as meeting in the case where movement coaster (being put down as picked up) Cause erroneous metrology;Metering on non-horizontal desktop can be less than normal than actual value.And technical solution provided in an embodiment of the present invention It is to combine to carry out drinking-water metering by pressure sensor and acceleration transducer, as shown in Fig. 7-2, the embodiment of the present invention is provided Technical solution, three axis quadratic sum TFA by calculating acceleration identify whether container cushion is in blank state S0, work as appearance When device cushion is in blank state S0, acceleration is filtered out by low-pass filter, since user is picking up container or putting down Lead to the acceleration that container cushion is mobile and generates when container, first direction and acceleration of gravity are obtained by low-pass filter The angle in direction, wherein first direction is the direction perpendicular with container cushion.Technical solution provided in an embodiment of the present invention is also It will acquire pressure different twice, then pressure different twice be modified using above-mentioned angle, finally repaired in utilization The situation of change of solution in the real time measure container of pressure twice after just can by the amendment to pressure in the embodiment of the present invention To overcome defect caused by metering inaccuracy in the prior art.
Embodiment eight
Based on above-mentioned embodiment of the method, the embodiment of the present invention provides a kind of device of solution state in determining container, institute It states container to be placed on container cushion, Fig. 8 is the composed structure that the embodiment of the present invention eight determines the device of solution state in container Schematic diagram, as shown in figure 8, the device 800 of solution state includes that the judgement of first acquisition unit 801, first is single in the determination container Member 802, second acquisition unit 803, third acquiring unit 804 and the first determination unit 805, in which:
The first acquisition unit 801, for obtaining first state locating for the container cushion in the T1 period;
First judging unit 802 obtains the first judgement for judging whether the first state meets preset condition As a result;
The second acquisition unit 803, for showing that the first state meets default item when first judging result When part, the first pressure that the container cushion is born is obtained in the T2 period, the T2 period is adjacent with the T1 period and sends out Life is after the T1 period;
The third acquiring unit 804, it is described for obtaining the second pressure that container cushion is born described in the T3 period The T3 period adjacent and described with T1 period T3 period is before the T1 period;
Here, the pressure that the container cushion is born in the T1 period and the container pad in the T2 period The pressure born of son is different, the pressure that the container cushion is born in the T1 period in the T3 period described in The pressure that container cushion is born is different;
First determination unit 805, for being determined in the container according to the first pressure and the second pressure The volume change of solution.
In the embodiment of the present invention, the first acquisition unit, for obtaining what the container cushion was born in the T1 period Initial pressure;
Accordingly, the first judging unit, for judging that the size between the initial pressure and preset pressure threshold is closed System, obtains the first judging result;
Accordingly, first judging result shows that the first state meets preset condition, comprising: first judgement The result shows that the initial pressure is less than the pressure threshold.
In the embodiment of the present invention, the first acquisition unit includes the first acquisition module, decomposing module and the first determining mould Block, in which:
Described first obtains module, for obtaining the acceleration of the container cushion in the T1 period;
The decomposing module, for the acceleration to be decomposed to three X-axis under the first coordinate, Y-axis and Z axis directions On, obtain the acceleration of X-axis, Y-axis and Z axis;
First determining module, for determining acceleration quadratic sum TFA according to the acceleration of the X-axis, Y-axis and Z axis;
Accordingly, first judging unit, for judging the acceleration quadratic sum TFA and preset acceleration rate threshold Between size relation, obtain the first judging result;
Accordingly, first judging result shows that the first state meets preset condition, comprising: first judgement The result shows that the acceleration quadratic sum TFA is less than the acceleration rate threshold.
In the embodiment of the present invention, described device further includes amending unit, the amending unit include second obtain module and Correction module, in which:
Described second obtains module, for obtaining the first inclination angle theta 1 of the container cushion, described first inclines in the T2 period Angle is the angle where T2 period container cushion between plane and horizontal plane;
The correction module, for the first pressure P1 to be modified to P1 ' according to P1 '=P1/cos θ 1;
Described second obtains module, is also used to obtain the second inclination angle theta 2 of the container cushion in the T3 period, and described the Two inclination angles are the angle in the T3 period where the container cushion between plane and horizontal plane;
The correction module is also used to that the second pressure P2 is modified to P2 ' according to P2 '=P2/cos θ 2.
In the embodiment of the present invention, first determination unit includes first judgment module and third determining module, in which:
The first judgment module is obtained for judging the size relation between the first pressure and the second pressure To the second judging result;
The third determining module, for showing that the second pressure is less than first pressure when second judging result When power, then determine that the first amount of solution, first amount of solution are the secondary container according to the second pressure and the first pressure The amount of solution of middle reduction.
In the embodiment of the present invention, first determination unit further includes the 4th determining module, for when second judgement The result shows that when the second pressure is greater than the first pressure, then the is determined according to the second pressure and the first pressure Two amount of solution, second amount of solution are increased amount of solution in the secondary container.
In the embodiment of the present invention, described device further includes forming unit and processing unit, in which:
The formation unit, for forming first list according to the first amount of solution and first time information;When described first Between information be first amount of solution corresponding to temporal information;
The processing unit for the first list to be uploaded to the second equipment, or the first list is exported To user, so that user understands the reduction amount and corresponding temporal information of solution in container.
In the embodiment of the present invention, described device further includes statistic unit, for counting the first amount of solution in preset time period Total amount;And/or count the total amount of the second amount of solution in preset time period;
The processing unit is also used to for the total amount of the total amount of first amount of solution and/or the second amount of solution being uploaded to Second equipment, or the total amount of the total amount of the first amount of solution and/or the second amount of solution is exported to user, hold so that user understands The reduction amount or incrementss of solution in device.
In the embodiment of the present invention, described device further includes the 4th acquiring unit, the second determination unit and output unit, In:
4th acquiring unit, for obtaining the temperature of container bottom, room temperature and the thermal coefficient k of the container;
Second determination unit, for the thermal coefficient according to the temperature and container of the room temperature and the container cushion K determines the temperature of held solution in the container;
The output unit, when for determining that the temperature is greater than the maximum value of preset temperature threshold range, output the One temperature information, first temperature information are used to show the maximum value that temperature is higher than temperature threshold range;
The output unit when being also used to determine that the temperature is within the scope of preset temperature threshold, exports second temperature Information, the second temperature information is for showing temperature within the scope of preset temperature threshold;
The output unit, when being also used to determine minimum value of the temperature within the scope of preset temperature threshold, output Third temperature information, the third temperature information are used to show the minimum value that temperature is less than the temperature threshold range.
In the embodiment of the present invention, the formation unit is also used to be believed according to the first amount of solution, the first temperature and first time Breath forms second list;
Here, first temperature is temperature corresponding to first amount of solution, and the first time information is described Temporal information corresponding to first amount of solution;
The processing unit is also used to for the second list to be uploaded to the second equipment, or the second list is defeated Out to user, so that user understands the reduction amount and corresponding temporal information and temperature of solution in container.
It need to be noted that: apparatus above implements the description of item, is similar, same method with above method description Beneficial effect description, do not repeat them here.For undisclosed technical detail in apparatus of the present invention embodiment, present invention side is please referred to The description of method embodiment.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit;Both it can be located in one place, and may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated in one processing unit, it can also To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, which exists When execution, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: movable storage device, read-only deposits The various media that can store program code such as reservoir (Read Only Memory, ROM), magnetic or disk.
If alternatively, the above-mentioned integrated unit of the present invention is realized in the form of software function module and as independent product When selling or using, it also can store in a computer readable storage medium.Based on this understanding, the present invention is implemented Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words, The computer software product is stored in a storage medium, including some instructions are used so that computer equipment (can be with It is personal computer, server or network equipment etc.) execute all or part of each embodiment the method for the present invention. And storage medium above-mentioned includes: various Jie that can store program code such as movable storage device, ROM, magnetic or disk Matter.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (19)

1. a kind of method of solution state in determining container, which is characterized in that the container is placed on container cushion, the side Method includes:
In the T1 period, the acceleration of the container cushion is obtained;By the acceleration decompose X-axis under the first coordinate, Y-axis and On three directions of Z axis, X-axis acceleration, Y-axis acceleration and Z axis acceleration are obtained;According to the X-axis acceleration, Y-axis acceleration Acceleration quadratic sum TFA is determined with Z axis acceleration;
Judge the size relation between the acceleration quadratic sum TFA and preset acceleration rate threshold, obtains the first judging result;
When first judging result shows that the acceleration quadratic sum TFA is less than the acceleration rate threshold, obtained in the T2 period The first pressure P1 for taking the container cushion to be born, the T2 period is adjacent with the T1 period and occurs in the T1 period Later;
Obtain the second pressure P2 that is born of the container cushion described in the T3 period, the T3 period is adjacent with the T1 period and institute The T3 period is stated before the T1 period;
The pressure that the container cushion is born in the T1 period is born with the container cushion described in the T2 period Pressure it is different, the pressure that the container cushion is born in the T1 period and the container cushion in the T3 period The pressure born is different;
The volume change of solution in the container is determined according to the first pressure P1 and the second pressure P2.
2. the method according to claim 1, wherein the method also includes:
The first pressure P1 is corrected, specifically,
In the T2 period, the first inclination angle theta 1 of the container cushion is obtained, first inclination angle theta 1 is in T2 period container cushion institute Angle between plane and horizontal plane;
The first pressure P1 is modified to P1 ' according to P1 '=P1/cos θ 1;
The second pressure is corrected, specifically,
The second inclination angle theta 2 of the container cushion in the T3 period is obtained, second inclination angle theta 2 is the container in the T3 period Angle where cushion between plane and horizontal plane;
The second pressure P2 is modified to P2 ' according to P2 '=P2/cos θ 2.
3. method according to claim 1 or 2, which is characterized in that described according to the first pressure P1 and described second Pressure P2 determines the volume change of solution in the container, comprising:
Judge the size relation between the first pressure P1 and the second pressure P2, obtains the second judging result;
When second judging result shows that the second pressure P2 is less than the first pressure P1, then according to second pressure Power P2 and the first pressure P1 determine the first amount of solution, first amount of solution by the secondary container reduction amount of solution.
4. according to the method described in claim 3, it is characterized in that, described according to the first pressure P1 and the second pressure P2 determines the volume change of solution in the container, comprising:
When second judging result shows that the second pressure P2 is greater than the first pressure P1, then according to second pressure Power P2 and the first pressure P1 determine that the second amount of solution, second amount of solution are increased amount of solution in the secondary container.
5. according to the method described in claim 3, it is characterized in that, the method also includes:
The first amount of solution and first time information are recorded, first list is formed;The first time information is first solution The corresponding temporal information of amount;
The first list is uploaded to the second equipment, or the first list is exported to user, is held so that user understands The reduction amount of solution in device.
6. according to the method described in claim 3, it is characterized in that, the method also includes:
Count the total amount of the first amount of solution in preset time period;And/or count the total amount of the second amount of solution in preset time period;
The total amount of the total amount of first amount of solution and/or the second amount of solution is uploaded to the second equipment, or by the first solution The total amount of the total amount of amount and/or the second amount of solution is exported to user, so that user understands the reduction amount or increase of solution in container Amount.
7. method according to claim 1 or 2, which is characterized in that the method also includes:
Obtain the thermal coefficient k of the temperature of container bottom, room temperature and the container;
According to the thermal coefficient k of the temperature and container of the room temperature and the container cushion, determine held in the container it is molten The temperature of liquid;
When determining that the temperature is greater than the maximum value of preset temperature threshold range, the first temperature information, first temperature are exported Degree information is used to show the maximum value that temperature is higher than temperature threshold range;
When determining that the temperature is within the scope of preset temperature threshold, second temperature information is exported, the second temperature information is used In showing temperature within the scope of preset temperature threshold;
When determining minimum value of the temperature within the scope of preset temperature threshold, third temperature information, the third temperature are exported Degree information is used to show the minimum value that temperature is less than the temperature threshold range.
8. the method according to the description of claim 7 is characterized in that the method also includes:
According to the first amount of solution, the first temperature and first time information, second list is formed;First temperature is described first Temperature corresponding to amount of solution, the first time information are temporal information corresponding to first amount of solution;
The second list is uploaded to the second equipment, or the second list is exported to user, is held so that user understands The reduction amount of solution in device.
9. the device of solution state in a kind of determining container, which is characterized in that the container is placed on container cushion, the dress It sets including first acquisition unit, the first judging unit, second acquisition unit, third acquiring unit and the first determination unit, in which:
The first acquisition unit, including the first acquisition module, decomposing module and the first determining module, in which: described first obtains Modulus block, for obtaining the acceleration of the container cushion in the T1 period;The decomposing module, for dividing the acceleration Solution under the first coordinate X-axis, on three directions of Y-axis and Z axis, obtain X-axis acceleration, Y-axis acceleration and Z axis acceleration;Institute The first determining module is stated, for determining acceleration quadratic sum TFA according to the X-axis acceleration, Y-axis acceleration and Z axis acceleration;
First judging unit, for judging the size between the acceleration quadratic sum TFA and preset acceleration rate threshold Relationship obtains the first judging result;
The second acquisition unit, for showing that the acceleration quadratic sum TFA is less than described add when first judging result When threshold speed, the first pressure P1 that the container cushion is born, the T2 period and the T1 period are obtained in the T2 period Adjacent and generation is after the T1 period;
The third acquiring unit, when for obtaining second pressure P2, the T3 that the container cushion described in the T3 period is born The section T3 period adjacent and described with the T1 period is before the T1 period;
The pressure that the container cushion is born in the T1 period is born with the container cushion described in the T2 period Pressure it is different, the pressure that the container cushion is born in the T1 period and the container cushion in the T3 period The pressure born is different;
First determination unit, for determining solution in the container according to the first pressure P1 and the second pressure P2 Volume change.
10. device according to claim 9, which is characterized in that described device further includes amending unit, the amending unit Module and correction module are obtained including second, in which:
Described second obtains module, for obtaining the first inclination angle theta 1 of the container cushion, first inclination angle is in the T2 period Angle where T2 period container cushion between plane and horizontal plane;
The correction module, for the first pressure P1 to be modified to P1 ' according to P1 '=P1/cos θ 1;
Described second obtains module, is also used to obtain the second inclination angle theta 2 of the container cushion in the T3 period, described second inclines Angle is the angle in the T3 period where the container cushion between plane and horizontal plane;
The correction module is also used to that the second pressure P2 is modified to P2 ' according to P2 '=P2/cos θ 2.
11. device according to claim 9 or 10, which is characterized in that first determination unit judges mould including first Block and third determining module, in which:
The first judgment module is obtained for judging the size relation between the first pressure P1 and the second pressure P2 To the second judging result;
The third determining module, for showing that the second pressure P2 is less than the first pressure when second judging result When P1, then determine that the first amount of solution, first amount of solution are this time according to the second pressure P2 and the first pressure P1 In container reduction amount of solution.
12. device according to claim 11, which is characterized in that first determination unit further includes the 4th determining mould Block, for when second judging result shows that the second pressure is greater than the first pressure, then being pressed according to described second Power and the first pressure determine that the second amount of solution, second amount of solution are increased amount of solution in the secondary container.
13. device according to claim 11, which is characterized in that described device further includes forming unit and processing unit, Wherein:
The formation unit, for forming first list according to the first amount of solution and first time information;The first time letter Breath is temporal information corresponding to first amount of solution;
The processing unit for the first list to be uploaded to the second equipment, or the first list is exported to use Family, so that user understands the reduction amount and corresponding temporal information of solution in container.
14. device according to claim 13, which is characterized in that described device further includes statistic unit, pre- for counting If the total amount of the first amount of solution in the period;And/or count the total amount of the second amount of solution in preset time period;
The processing unit is also used to the total amount of the total amount of first amount of solution and/or the second amount of solution being uploaded to second Equipment, or the total amount of the total amount of the first amount of solution and/or the second amount of solution is exported to user, so that user understands in container The reduction amount or incrementss of solution.
15. device according to claim 9 or 10, which is characterized in that described device further includes the 4th acquiring unit, second Determination unit and output unit, in which:
4th acquiring unit, for obtaining the temperature of container bottom, room temperature and the thermal coefficient k of the container;
Second determination unit, for the thermal coefficient k according to the temperature and container of the room temperature and the container cushion, really The temperature of held solution in the fixed container;
The output unit, when for determining that the temperature is greater than the maximum value of preset temperature threshold range, the first temperature of output Information is spent, first temperature information is used to show the maximum value that temperature is higher than temperature threshold range;
The output unit when being also used to determine that the temperature is within the scope of preset temperature threshold, exports second temperature information, The second temperature information is for showing temperature within the scope of preset temperature threshold;
The output unit when being also used to determine minimum value of the temperature within the scope of preset temperature threshold, exports third Temperature information, the third temperature information are used to show the minimum value that temperature is less than the temperature threshold range.
16. device according to claim 13, which is characterized in that the formation unit, be also used to according to the first amount of solution, First temperature and first time information form second list;First temperature is temperature corresponding to first amount of solution, The first time information is temporal information corresponding to first amount of solution;
The processing unit, is also used to for the second list being uploaded to the second equipment, or by the second list export to User, so that user understands the reduction amount and corresponding temporal information and temperature of solution in container.
17. a kind of container cushion, the container cushion is for placing container, which is characterized in that the container pad attached bag includes container Cushion body, the first temperature sensor, second temperature sensor, pressure sensor, acceleration transducer and processor, in which:
First temperature sensor is set in the container cushion, for sensing the temperature of container cushion upper container bottom, And the temperature of the container bottom is sent to processor;
The second temperature sensor is set in the container cushion, is sent to place for sensing room temperature, and by the room temperature Manage device;
The pressure sensor is set in the container cushion, for sensing the container to container cushion in the T2 period First pressure P1 and second pressure P2 in the T3 period, and the first pressure P1 and the second pressure P2 be sent to described Processor;
The acceleration transducer is set in the container cushion, for sensing the acceleration information of the container cushion, and The acceleration information is sent to processor;
The processor, for believing according to the acceleration information amendment first pressure P1, and according to the acceleration Breath corrects the second pressure P2, then determines the appearance according to revised first pressure P1 and revised second pressure P2 The volume change of solution in device;It is also used to be determined according to the temperature of the room temperature and the container bottom and be held in the container The temperature of solution.
18. container cushion according to claim 17, which is characterized in that the upper surface of the container cushion body includes the One region and second area, the first area are to be in contact with the bottom of a cup for the container being placed in the container cushion body Region, the second area are the region in the container cushion body in addition to the first area;
First temperature sensor, pressure sensor and acceleration transducer, are set to the forward projection region of the first area In domain;The second temperature sensor and the temperature sensor are set in the orthographic projection region of the second area.
19. container cushion described in 7 or 18 according to claim 1, which is characterized in that the container is cup, the container pad Son is coaster.
CN201410697273.6A 2014-11-26 2014-11-26 A kind of container cushion, the method and device for determining solution state in container Active CN105698894B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410697273.6A CN105698894B (en) 2014-11-26 2014-11-26 A kind of container cushion, the method and device for determining solution state in container

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410697273.6A CN105698894B (en) 2014-11-26 2014-11-26 A kind of container cushion, the method and device for determining solution state in container

Publications (2)

Publication Number Publication Date
CN105698894A CN105698894A (en) 2016-06-22
CN105698894B true CN105698894B (en) 2019-06-21

Family

ID=56295282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410697273.6A Active CN105698894B (en) 2014-11-26 2014-11-26 A kind of container cushion, the method and device for determining solution state in container

Country Status (1)

Country Link
CN (1) CN105698894B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI612279B (en) * 2016-10-11 2018-01-21 緯創資通股份有限公司 Measuring device for measuring a volume variation of liquid

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3076050U (en) * 2000-07-11 2001-03-16 理基 禹 Underlay of cup with built-in audio equipment
DE202006003621U1 (en) * 2006-03-06 2006-06-08 Universität des Saarlandes Campus Saarbrücken Interactive device for putting beverage container e.g. glasses, cups, jugs has housing with standing surface, sensor unit for detecting number of items and transmission unit for sending individual tray information
CN201312699Y (en) * 2008-11-03 2009-09-23 杨春光 Intelligent measuring cup mat
CN201977468U (en) * 2010-12-15 2011-09-21 四川虹视显示技术有限公司 Electronic cup mat
CN103217198A (en) * 2013-04-18 2013-07-24 中国工程物理研究院电子工程研究所 Water drinking monitoring device based on smart phone
CN103680109A (en) * 2013-11-16 2014-03-26 深圳市炎志科技有限公司 Device for monitoring water drinking conditions in real time

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200994648Y (en) * 2006-12-25 2007-12-26 宏塑工业股份有限公司 Temperature-sensing cup pad
CN101576419A (en) * 2009-01-16 2009-11-11 清华大学 Method for calculating temperature of inner wall from temperature of outer wall of circular tube
CN101660951B (en) * 2009-09-21 2014-04-09 重庆大学 Method for detecting internal temperature of heat apparatus
TWI485662B (en) * 2012-08-08 2015-05-21 Taiwan Gomet Technology Co Ltd Water drinking reminding system and reminding method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3076050U (en) * 2000-07-11 2001-03-16 理基 禹 Underlay of cup with built-in audio equipment
DE202006003621U1 (en) * 2006-03-06 2006-06-08 Universität des Saarlandes Campus Saarbrücken Interactive device for putting beverage container e.g. glasses, cups, jugs has housing with standing surface, sensor unit for detecting number of items and transmission unit for sending individual tray information
CN201312699Y (en) * 2008-11-03 2009-09-23 杨春光 Intelligent measuring cup mat
CN201977468U (en) * 2010-12-15 2011-09-21 四川虹视显示技术有限公司 Electronic cup mat
CN103217198A (en) * 2013-04-18 2013-07-24 中国工程物理研究院电子工程研究所 Water drinking monitoring device based on smart phone
CN103680109A (en) * 2013-11-16 2014-03-26 深圳市炎志科技有限公司 Device for monitoring water drinking conditions in real time

Also Published As

Publication number Publication date
CN105698894A (en) 2016-06-22

Similar Documents

Publication Publication Date Title
EP3079090B1 (en) Method for processing data and electronic device thereof
US20160071423A1 (en) Systems and method for monitoring an individual's compliance with a weight loss plan
CN104834827A (en) Health data processing method and system based on terminal equipment and cloud computation storage
US20160148536A1 (en) Tracking Nutritional Information about Consumed Food with a Wearable Device
JP2022133330A (en) System and method for monitoring intake compliance
JP6029061B2 (en) Storage case, storage case design device, article management system, storage case design method, and article management method
CN201532246U (en) Vessel capable of displaying once dosage and accumulated dosage
CN205658768U (en) Water dispenser, electron device and drinking water warning system
WO2014052929A1 (en) Health, lifestyle and fitness management system
JP5749121B2 (en) Sleep state evaluation apparatus, sleep state evaluation system, and program
CN106667528A (en) Wearable intelligent armlet and method for detecting best female gestational day
Li et al. An interoperable pillbox system for smart medication adherence
CN105698894B (en) A kind of container cushion, the method and device for determining solution state in container
Plecher et al. Interactive drinking gadget for the elderly and Alzheimer patients
WO2017142969A1 (en) Method and apparatus for tracking liquid consumption behavior
KR101952295B1 (en) A nutrition measuring system for foods in the tray
CN107438384A (en) A kind of Intelligent cup and detection method
CN201870967U (en) Box convenient for taking medicine
CN105572420B (en) A kind of method and device obtaining eating speed
JP6169643B2 (en) Sleep state evaluation apparatus, sleep state evaluation system, and program
CN114446493A (en) Diabetes therapy based on determination of food items
CN211269794U (en) Intelligent tableware based on artificial intelligence thing networking
CN109843155A (en) For providing the electronic device and method of blood glucose care
JP6446509B2 (en) Sleep state evaluation apparatus, sleep state evaluation system, and program
CN104715437A (en) System for obtaining health indexes by intelligently collecting human body eaten food

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant