Invention content
The main purpose of the present invention is to provide a kind of drinking habit monitoring method, equipment, system and storage mediums, it is intended to
Solve the personal technical problem cumbersome when being accustomed to of drinking water of record in the prior art.
To achieve the above object, the present invention provides a kind of drinking habit monitoring method, the described method comprises the following steps:
In response to the pressing instruction that user inputs on fingerprint button, the fingerprint that user is obtained by the fingerprint button is believed
Breath, control intake equipment carry out water intaking operation;
After water intaking operation stops, the current water intaking information of user is recorded, and search mesh corresponding with the finger print information
Mark user identifier;
The target user is identified and information of currently fetching water is uploaded to Cloud Server, so that the Cloud Server is according to going through
History water intaking information and the current water intaking information determine that the target user identifies the drinking habit of corresponding user.
Preferably, described after water intaking operation stops, the current water intaking information of user is recorded, and search and believe with the fingerprint
Corresponding target user's mark is ceased, is specifically included:
After water intaking operation stops, the current water intaking information of user is recorded, and searched and the fingerprint in mapping relations
The corresponding target user of information identifies, and finger print information and the correspondence of user identifier are stored in the mapping relations.
Preferably, described to identify the target user and information of currently fetching water is uploaded to Cloud Server, so that the cloud
Server determines that the target user identifies the drinking-water habit of corresponding user according to history water intaking information and the current water intaking information
It is used, it specifically includes:
Target user mark and current water intaking information are uploaded to Cloud Server, so that the Cloud Server is to described
Target user identifies and current water intaking information is associated storage, extracts to identify with the target user in the Cloud Server and close
The history water intaking information of connection storage and current water intaking information so that the Cloud Server according to the history fetch water information and
Current water intaking information determines that the target user identifies the drinking habit of corresponding user.
Preferably, described after water intaking operation stops, the current water intaking information of user is recorded, and search and believe with the fingerprint
After ceasing corresponding target user's mark, the method further includes:
When not finding target user's mark corresponding with the finger print information, prompt message is sent out, to prompt user
The corresponding mark of input, and the finger print information and mark input by user are added in the mapping relations.
Preferably, the current water intaking information includes water intaking quality;
Correspondingly, the target user is identified and information of currently fetching water is uploaded to Cloud Server, so that the cloud service
Device according to history fetches water information and the current water intaking information determine the target user identify corresponding user drinking habit it
Afterwards, the method further includes:
When the water intaking quality is unsatisfactory for preset quality standard, prompt message is sent out.
Preferably, the water intaking information further includes the water intaking time;
Correspondingly, the target user is identified and information of currently fetching water is uploaded to Cloud Server, so that the cloud service
Device determines that the target user identifies the drinking habit of corresponding user, tool according to history water intaking information and the current water intaking information
Body includes:
The target user is identified and information of currently fetching water is uploaded to Cloud Server, so that the Cloud Server is based on institute
The water intaking time is stated, it is different to determine that the target user identifies corresponding user according to history water intaking information and the current water intaking information
The drinking habit in season.
Preferably, the pressing in response to being inputted on user fingerprints button instructs, and is obtained and is used by the fingerprint button
The finger print information at family, before control intake equipment carries out water intaking operation, the method further includes:
Obtain the health status of user;
The health status is uploaded to Cloud Server, storage is associated with user identifier;
Correspondingly, described to identify the target user and information of currently fetching water is uploaded to Cloud Server, so that the cloud
Server determines that the target user identifies the drinking-water habit of corresponding user according to history water intaking information and the current water intaking information
After used, the method further includes:
When the drinking habit of the user mutually conflicts with health status, prompt message is sent out.
In addition, to achieve the above object, the present invention also provides a kind of drinking equipment, the drinking equipment includes:Memory,
Processor and it is stored in the drinking habit monitoring program that can be run on the memory and on the processor, the drinking-water is practised
Used monitoring program is arranged for carrying out the step of drinking habit monitoring method as described above.
In addition, to achieve the above object, the present invention also provides a kind of drinking-water system, the drinking-water system includes:Cloud service
Device, terminal device and drinking equipment as described above
In addition, to achieve the above object, the present invention also provides a kind of storage medium, drinking-water is stored on the storage medium
It is accustomed to monitoring program, the drinking habit monitoring program realizes drinking habit monitoring side as described above when being executed by processor
The step of method.
The drinking equipment of the present invention is instructed in response to the pressing that user inputs on fingerprint button, passes through the fingerprint button
The finger print information of user is obtained, control intake equipment carries out water intaking operation, after water intaking operation stops, recording the current of user and takes
Water information, and search corresponding with finger print information target user and identify, the target user is identified and letter of currently fetching water
Breath is uploaded to Cloud Server, so that the Cloud Server determines the mesh according to history water intaking information and the current water intaking information
Mark user identifier corresponds to the drinking habit of user, and water intaking action and identification action are combined into an action, need not be additional
The purpose with regard to completing to drink water with identification is operated, more people can be met and carry out personal drinking water custom pipe on a drinking equipment
Reason, user is low using threshold, experience is good.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is the structural representation of the drinking equipment for the hardware running environment that the embodiment of the present invention is related to
Figure.
As shown in Figure 1, the drinking equipment may include:Processor 1001, such as CPU, communication bus 1002, user interface
1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is for realizing the connection communication between these components.
User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface
1003 can also include standard wireline interface and wireless interface.Network interface 1004 may include optionally that the wired of standard connects
Mouth, wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory, can also be stable memory
(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
It will be understood by those skilled in the art that structure shown in Fig. 1 does not constitute the restriction to drinking equipment, can wrap
It includes than illustrating more or fewer components, either combines certain components or different components arrangement.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage media
Believe module, Subscriber Interface Module SIM and drinking habit monitoring program.
In drinking equipment shown in FIG. 1, network interface 1004 is mainly used for external network into row data communication;User connects
Mouth 1003 is mainly used for receiving the inputs instruction of user;The drinking equipment is called in memory 1005 by processor 1001 and is deposited
The drinking habit monitoring program of storage, and execute following operation:
In response to the pressing instruction that user inputs on fingerprint button, the fingerprint that user is obtained by the fingerprint button is believed
Breath, control intake equipment carry out water intaking operation;
After water intaking operation stops, the current water intaking information of user is recorded, and search mesh corresponding with the finger print information
Mark user identifier;
The target user is identified and information of currently fetching water is uploaded to Cloud Server, so that the Cloud Server is according to going through
History water intaking information and the current water intaking information determine that the target user identifies the drinking habit of corresponding user.
Further, processor 1001 can call the drinking equipment monitoring program stored in memory 1005, also execute
It operates below:
After water intaking operation stops, the current water intaking information of user is recorded, and searched and the fingerprint in mapping relations
The corresponding target user of information identifies, and finger print information and the correspondence of user identifier are stored in the mapping relations.
Further, processor 1001 can call the drinking equipment monitoring program stored in memory 1005, also execute
It operates below:
Target user mark and current water intaking information are uploaded to Cloud Server, so that the Cloud Server is to described
Target user identifies and current water intaking information is associated storage, extracts to identify with the target user in the Cloud Server and close
The history water intaking information of connection storage and current water intaking information so that the Cloud Server according to the history fetch water information and
Current water intaking information determines that the target user identifies the drinking habit of corresponding user.
Further, processor 1001 can call the drinking equipment monitoring program stored in memory 1005, also execute
It operates below:
When not finding target user's mark corresponding with the finger print information, prompt message is sent out, to prompt user
The corresponding mark of input, and the finger print information and mark input by user are added in the mapping relations.
Further, processor 1001 can call the drinking equipment monitoring program stored in memory 1005, also execute
It operates below:
When the water intaking quality is unsatisfactory for preset quality standard, prompt message is sent out.
Further, processor 1001 can call the drinking equipment monitoring program stored in memory 1005, also execute
It operates below:
The target user is identified and information of currently fetching water is uploaded to Cloud Server, so that the Cloud Server is based on institute
The water intaking time is stated, it is different to determine that the target user identifies corresponding user according to history water intaking information and the current water intaking information
The drinking habit in season.
Further, processor 1001 can call the drinking equipment monitoring program stored in memory 1005, also execute
It operates below:
Obtain the health status of user;
The health status is uploaded to Cloud Server, storage is associated with user identifier;
Correspondingly, described to identify the target user and information of currently fetching water is uploaded to Cloud Server, so that the cloud
Server determines that the target user identifies the drinking-water habit of corresponding user according to history water intaking information and the current water intaking information
After used, the method further includes:
When the drinking habit of the user mutually conflicts with health status, prompt message is sent out.
Through the above scheme, drinking equipment instructs the present embodiment in response to the pressing that user inputs on fingerprint button, leads to
The finger print information that the fingerprint button obtains user is crossed, control intake equipment carries out water intaking operation, after water intaking operation stops, note
The current water intaking information at family is employed, and searches target user's mark corresponding with the finger print information, the target user is marked
Know and current water intaking information is uploaded to Cloud Server, so that the Cloud Server is according to history water intaking information and the current water intaking
Information determines that the target user identifies the drinking habit of corresponding user, and water intaking action and identification action, which are combined into one, to be moved
Make, do not need operation bidirectional and just completes the purpose drunk water with identification, can meet more people carried out on a drinking equipment it is a
People's drinking habit management, user is low using threshold, experience is good.
Based on above-mentioned hardware configuration, drinking habit monitoring method embodiment of the present invention is proposed.
It is the flow diagram of drinking habit monitoring method first embodiment of the present invention with reference to Fig. 2, Fig. 2.
In the first embodiment, the drinking habit monitoring method includes the following steps:
S10:In response to the pressing instruction that user inputs on fingerprint button, the finger of user is obtained by the fingerprint button
Line information, control intake equipment carry out water intaking operation.
It should be noted that the fingerprint button in the present embodiment drinking equipment is to have both Fingerprint recognition and water intaking control
The button of function triggers the finger that the drinking equipment obtains user when user carries out pressing the operation of the fingerprint button
Line information is carried out at the same time water intaking operation.
In the concrete realization, the fingerprint button can be capacitance touch fingerprint module, optical profile type fingerprint module or
Arbitrarily other physical buttons for having fingerprint recognition, the present embodiment do not limit this.
S20:After water intaking operation stops, the current water intaking information of user is recorded, and search corresponding with the finger print information
Target user mark.
It is understood that in intake equipment can built-in multiple sensors stop taking when user unclamps the button
When water operates, the time that can start and stop by recording pressing, and obtain several work as by built-in multiple sensors
Preceding water intaking information, for example, the time for starting in conjunction with pressing and stopping, the water withdrawal of user can be obtained by flowmeter;Pass through
Thermometer obtains the temperature of user's water intaking;By water quality sensor, the quality etc. that user is fetched water is obtained.
In the concrete realization, after obtaining the finger print information of user, in order to rapidly search and the finger print information
Corresponding user can indicate user by user identity information, and establish user identifier and the mapping relations of finger print information,
Target user's mark corresponding with the finger print information is searched in mapping relations to improve and search to lock corresponding user
Speed and efficiency.
It is understood that after obtaining the finger print information of user, do not find corresponding with the finger print information
When target user identifies, issue the user with prompt message, to prompt the corresponding mark of user's input, and by the finger print information with
Mark input by user is added in the mapping relations, subsequently to record, to store to the drinking-water information of user, is divided
Analysis, to obtain the drinking habit of user.
S30:The target user is identified and information of currently fetching water is uploaded to Cloud Server, so that the Cloud Server root
Determine that the target user identifies the drinking habit of corresponding user according to history water intaking information and the current water intaking information.
In the concrete realization, the water intaking information of user each time can be all uploaded to Cloud Server, cloud service by drinking equipment
Device after receiving the water intaking information of user, can to before user water intaking information and current water intaking information uniformly deposited
Storage is searched for convenience, can all water intaking information of user and user identifier be associated storage.In intake equipment by target
User identifier and current water intaking information are uploaded to after Cloud Server, and the Cloud Server extraction is identified with the target user closes
The history water intaking data that connection stores and current water intaking data, so that the Cloud Server is according to history water intaking information and currently
Water intaking information is analyzed, and the drinking habit of corresponding user is identified with the determination target user.
Further, the drinking habit due to user in each season can have bigger difference, for example, the drink of summer
Water can be significantly hotter than winter, and when drinking water summer, can be more biased towards the water in low temperature, therefore, in order to make the user of acquisition
Drinking habit is more true and has referential, can be based on the water intaking time in the water intaking information of acquisition, according to the water intaking time
To water intaking information carry out classification analysis, with determine user Various Seasonal drinking habit.
The drinking equipment of the present embodiment is instructed in response to the pressing that user inputs on fingerprint button, is pressed by the fingerprint
Key obtains the finger print information of user, and control intake equipment carries out water intaking operation, after water intaking operation stops, recording the current of user
Water intaking information, and target user's mark corresponding with the finger print information is searched, the target user is identified and is currently fetched water
Information is uploaded to Cloud Server, so that the Cloud Server is fetched water according to history described in information and the current water intaking information determination
Target user identifies the drinking habit of corresponding user, and water intaking action and identification action are combined into an action, do not need volume
Outer operation can meet more people and carry out personal drinking water custom pipe on a drinking equipment with regard to the purpose for completing to drink water with identification
Reason, user is low using threshold, experience is good.
Further, as shown in figure 3, proposing that drinking habit monitoring method second of the present invention is implemented based on first embodiment
Example, in the present embodiment, the water intaking information include water intaking quality;
Correspondingly, after step S30, the method further includes:
S40:When the water intaking quality is unsatisfactory for preset quality standard, prompt message is sent out.
It is understood that the quality of drinking water is extremely important, the health of user is directly affected, drinking equipment needs
It is periodically cleared up, to ensure the health of drinking equipment, in the present embodiment, water quality sensor can be set in intake equipment,
The water quality constantly monitored in drinking equipment issues the user with prompt message when the water quality is unsatisfactory for preset quality standard, with
It reminds user to be further examined drinking water, while checking the sanitary conditions of drinking equipment.
By obtaining the quality of drinking water in the present embodiment, and preset quality standard is unsatisfactory in the drinking water quality
When, warning prompt information is issued the user with, to provide more one layer of guarantee for the health of user, improves user experience.
Further, as shown in figure 4, proposing drinking habit monitoring side of the present invention based on the first embodiment or the second embodiment
Method 3rd embodiment, Fig. 4 is for being based on embodiment shown in Fig. 2.
In the present embodiment, before step S10, the method further includes:
S01:Obtain the health status of user.
It is understood that the situation of user includes age, history information and the current body health and fitness information of user.
S02:The health status is uploaded to Cloud Server, storage is associated with user identifier.
Correspondingly, after step 30, the method further includes:
S50:When the drinking habit of the user mutually conflicts with health status, prompt message is sent out.
It is understood that demand of the different different crowd of physical condition to drinking-water is different, child and adult
Required amount of drinking water is different within one day, and the water that the patient with certain disease can take in daily is also not with normal person
With, for example nephrotic just needs to carry out amount of drinking water certain control.
In the present embodiment, the health status of user is obtained, when the drinking habit of user mutually conflicts with health status, is reminded
User pays attention to, to carry out suitable control, matching and reminding for user's own health situation, improves user experience.
In addition, the embodiment of the present invention also proposes a kind of drinking habit monitoring system, and with reference to Fig. 5, the drinking habit monitoring
System includes:Cloud Server 20, terminal device 30 and drinking equipment 10.
The drinking equipment 10 is the executive agent for realizing each method embodiment as described above, it should be noted that institute
Data interaction can be carried out by stating between drinking equipment and Cloud Server, equally can be between the Cloud Server and terminal device
Row data interaction is exactly based on the data interaction between each section in the system, to keep drinking equipment fine
Itself function is realized on ground, executes a variety of drinking habit monitoring methods as described above.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium
On be stored with drinking habit monitoring program, following operation is realized when the drinking habit monitoring program is executed by processor:
In response to the pressing instruction that user inputs on fingerprint button, the fingerprint that user is obtained by the fingerprint button is believed
Breath, control intake equipment carry out water intaking operation;
After water intaking operation stops, the current water intaking information of user is recorded, and search mesh corresponding with the finger print information
Mark user identifier;
The target user is identified and information of currently fetching water is uploaded to Cloud Server, so that the Cloud Server is according to going through
History water intaking information and the current water intaking information determine that the target user identifies the drinking habit of corresponding user.
Further, following operation is also realized when the drinking habit monitoring program is executed by processor:
After water intaking operation stops, the current water intaking information of user is recorded, and searched and the fingerprint in mapping relations
The corresponding target user of information identifies, and finger print information and the correspondence of user identifier are stored in the mapping relations.
Further, following operation is also realized when the drinking habit monitoring program is executed by processor:
Target user mark and current water intaking information are uploaded to Cloud Server, so that the Cloud Server is to described
Target user identifies and current water intaking information is associated storage, extracts to identify with the target user in the Cloud Server and close
The history water intaking information of connection storage and current water intaking information so that the Cloud Server according to the history fetch water information and
Current water intaking information determines that the target user identifies the drinking habit of corresponding user.
Further, following operation is also realized when the drinking habit monitoring program is executed by processor:
When not finding target user's mark corresponding with the finger print information, prompt message is sent out, to prompt user
The corresponding mark of input, and the finger print information and mark input by user are added in the mapping relations.
Further, following operation is also realized when the drinking habit monitoring program is executed by processor:
When the water intaking quality is unsatisfactory for preset quality standard, prompt message is sent out.
Further, following operation is also realized when the drinking habit monitoring program is executed by processor:
The target user is identified and information of currently fetching water is uploaded to Cloud Server, so that the Cloud Server is based on institute
The water intaking time is stated, it is different to determine that the target user identifies corresponding user according to history water intaking information and the current water intaking information
The drinking habit in season.
Further, following operation is also realized when the drinking habit monitoring program is executed by processor:
Obtain the health status of user;
The health status is uploaded to Cloud Server, storage is associated with user identifier;
Correspondingly, described to identify the target user and information of currently fetching water is uploaded to Cloud Server, so that the cloud
Server determines that the target user identifies the drinking-water habit of corresponding user according to history water intaking information and the current water intaking information
After used, the method further includes:
When the drinking habit of the user mutually conflicts with health status, prompt message is sent out.
Through the above scheme, drinking equipment instructs the present embodiment in response to the pressing that user inputs on fingerprint button, leads to
The finger print information that the fingerprint button obtains user is crossed, control intake equipment carries out water intaking operation, after water intaking operation stops, note
The current water intaking information at family is employed, and searches target user's mark corresponding with the finger print information, the target user is marked
Know and current water intaking information is uploaded to Cloud Server, so that the Cloud Server is according to history water intaking information and the current water intaking
Information determines that the target user identifies the drinking habit of corresponding user, and water intaking action and identification action, which are combined into one, to be moved
Make, do not need operation bidirectional and just completes the purpose drunk water with identification, can meet more people carried out on a drinking equipment it is a
People's drinking habit management, user is low using threshold, experience is good.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.