Summary of the invention
The present invention is based at least one above-mentioned technical problem, proposes a kind of control program of new water dispenser, can
Effectively to avoid the hot water in water dispenser from scalding children, the safety and intelligence of water dispenser in use are improved.
In view of this, according to the first aspect of the invention, proposing a kind of control method of water dispenser, the water dispenser is extremely
Less include hot water valve, the control method of the water dispenser, including:The distance between the water dispenser and user are detected, and is determined
The type of the user;It is less than or equal to first predetermined value at a distance from detecting the user between the water dispenser, and
Determine the user be the first kind user when, control the hot water valve be in can open state;Detecting the user and institute
When stating the distance between water dispenser less than or equal to first predetermined value, and determining that the user is the second class user, described in control
Hot water valve is in the lock state.
In the technical scheme, predetermined by being less than or equal to first at a distance from detecting user between water dispenser
Value, and determine user be the first kind user when, control water dispenser hot water valve be in can open state so that first kind user
(such as adult and the people that can be taken care of oneself) being capable of normal use hot water;And by a distance from detecting user between water dispenser
Less than or equal to first predetermined value, and when determining that user is the second class user, control hot water valve is in the lock state, can be to avoid
The hot water valve of the second class user (such as children and non compos mentis user) false triggering water dispenser and the problem of scald accident occurs,
Realize the technology effect for effectively avoiding the second class user from being burned under the premise of guaranteeing first kind user normal use water dispenser
Fruit.
Wherein, hot water valve be in can open state when, user can open hot water valve;When hot water valve is in the lock state,
User fail to open hot water valve, i.e. water dispenser can not flow out hot water.
In the above-mentioned technical solutions, it is preferable that be less than at a distance from detecting the user between the water dispenser or
Equal to first predetermined value, and after determining the step of user is first kind user, and it is in controlling the hot water valve
Can open state the step of before, further include:
Judge whether the distance between the user and the water dispenser are gradually shortened;Determining the user and the drink
When the distance between water dispenser is gradually shortened, execute control the hot water valve be in can open state the step of;Determining the use
When the distance between family and the water dispenser gradually become remote, controls the hot water valve and be in the lock state.
In the technical scheme, first predetermined value is less than or equal at a distance from detecting user between water dispenser, and
After determining that user is first kind user, by judging whether the distance between user and water dispenser are gradually shortened, the can be determined
Whether a kind of user needs is fetched water at water dispenser.Specifically, when the distance between user and water dispenser are gradually shortened, explanation
User needs to fetch water, then can control hot water valve be in can open state;And at a distance from determining user between water dispenser by
When gradual change is remote, it can control hot water valve and be in the lock state, avoid user and do not needing to fetch water, but enter hot water valve
It is just controlled at hot water valve in trigger range (i.e. the range of the distance between user and water dispenser less than or equal to first predetermined value)
In can open state and the problem of lead to false triggering hot water valve.
In any of the above-described technical solution, it is preferable that further include:Detecting that institute associated with the water dispenser is useful
When the distance between family and the water dispenser are greater than or equal to second predetermined value, control the water dispenser and close refrigeration and/or add
Heat function;And
It is less than or equal to third at a distance from detecting any user in all users between the water dispenser
When predetermined value, controls the water dispenser and open refrigeration and/or heating function.
In the technical scheme, by detecting at a distance between the associated all users of water dispenser and water dispenser
When more than or equal to second predetermined value, control water dispenser closes refrigeration and/or heating function, so that not needing in user using drink
(be such as away from home) when water dispenser, can temporary close refrigeration and/or heating function, reduce the power consumption of water dispenser;And by examining
When measuring the distance between any user and water dispenser less than or equal to third predetermined value, control water dispenser open refrigeration and/or
Heating function can automatically turn on refrigeration and/or heating function so that (such as going home) when user may need using water dispenser
Can, to ensure user's normal use water dispenser.
In any of the above-described technical solution, it is preferable that detecting all users associated with the water dispenser and institute
After stating the step of the distance between water dispenser is more than or equal to second predetermined value, and controlling the water dispenser closing refrigeration
And/or further include before the step of heating function:Whether gradually to judge the distance between all users and the water dispenser
The 4th predetermined value is increased to, controls the step of water dispenser closes refrigeration and/or heating function if so, executing.
In the technical scheme, by detecting that it is pre- that the distance between all users and water dispenser is greater than or equal to second
When definite value, and when the distance between all users and water dispenser are gradually increased to four predetermined values, control water dispenser closes refrigeration
And/or heating function, make it possible to whether confirm far from water dispenser user, avoid user in water dispenser apart
When movable in the range of second predetermined value, false triggering water dispenser closes refrigeration and/or heating function.
In any of the above-described technical solution, it is preferable that detecting any user in all users and the drink
The distance between water dispenser was less than or equal to after the step of third predetermined value, and control the water dispenser open refrigeration and/
Or further include before the step of heating function:Judge whether the distance between all users and the water dispenser are gradually shortened
To the 5th predetermined value, the step of water dispenser opens refrigeration and/or heating function is controlled if so, executing.
In the technical scheme, pre- by being less than or equal to third at a distance from detecting any user between water dispenser
Definite value, and when being gradually shortened with the distance between water dispenser to five predetermined values, control water dispenser opens refrigeration and/or heating function
Can, make it possible to whether walk close to water dispenser to user and confirm, avoid user in water dispenser at a distance of third predetermined value
In the range of activity when, false triggering water dispenser open refrigeration and/or heating function.
In any of the above-described technical solution, it is preferable that detect the distance between the water dispenser and user, and described in determination
The step of type of user, specifically includes:By detect between the mobile terminal that the water dispenser and the user wear away from
From determining the distance between the water dispenser and the user;And mark and user class by pre-stored mobile terminal
Corresponding relationship between type determines the type of the user.
Specifically, mobile terminal (such as wearable device) and water dispenser that user wears can be subjected to pairing company in advance
It connects, and then the distance between user and water dispenser can be determined by detection the distance between mobile terminal and water dispenser.Together
When, the corresponding relationship that can be pre-stored between the mark of mobile terminal and user type, and then user is determined according to mobile terminal
Type.
According to the second aspect of the invention, it is also proposed that a kind of control device of water dispenser, the water dispenser include at least
Hot water valve, the control device of the water dispenser, including:Detection unit, for detecting the distance between the water dispenser and user;
Determination unit, for determining the type of the user;First control unit, for detecting the user in the detection unit
The distance between described water dispenser is less than or equal to first predetermined value, and the determination unit determines that the user is the first kind
When user, control the hot water valve be in can open state, and for the detection unit detect the user with it is described
The distance between water dispenser is less than or equal to first predetermined value, and the determination unit determines that the user is the second class user
When, it controls the hot water valve and is in the lock state.
In the technical scheme, predetermined by being less than or equal to first at a distance from detecting user between water dispenser
Value, and determine user be the first kind user when, control water dispenser hot water valve be in can open state so that first kind user
(such as adult and the people that can be taken care of oneself) being capable of normal use hot water;And by a distance from detecting user between water dispenser
Less than or equal to first predetermined value, and when determining that user is the second class user, control hot water valve is in the lock state, can be to avoid
The hot water valve of the second class user (such as children and non compos mentis user) false triggering water dispenser and the problem of scald accident occurs,
Realize the technology effect for effectively avoiding the second class user from being burned under the premise of guaranteeing first kind user normal use water dispenser
Fruit.
Wherein, hot water valve be in can open state when, user can open hot water valve;When hot water valve is in the lock state,
User fail to open hot water valve, i.e. water dispenser can not flow out hot water.
In the above-mentioned technical solutions, it is preferable that further include:First judging unit, for being detected in the detection unit
The distance between the user and the water dispenser are less than or equal to first predetermined value, and the determination unit determines the user
When for first kind user, judge whether the distance between the user and the water dispenser are gradually shortened;First control is single
Member is specifically used for, and when being gradually shortened at a distance from first judging unit determines the user between the water dispenser, holds
Row control the hot water valve be in can open state operation, and for determining the user and institute in first judging unit
When stating the distance between water dispenser and gradually becoming remote, controls the hot water valve and be in the lock state.
In the technical scheme, first predetermined value is less than or equal at a distance from detecting user between water dispenser, and
After determining that user is first kind user, by judging whether the distance between user and water dispenser are gradually shortened, the can be determined
Whether a kind of user needs is fetched water at water dispenser.Specifically, when the distance between user and water dispenser are gradually shortened, explanation
User needs to fetch water, then can control hot water valve be in can open state;And at a distance from determining user between water dispenser by
When gradual change is remote, it can control hot water valve and be in the lock state, avoid user and do not needing to fetch water, but enter hot water valve
It is just controlled at hot water valve in trigger range (i.e. the range of the distance between user and water dispenser less than or equal to first predetermined value)
In can open state and the problem of lead to false triggering hot water valve.
In any of the above-described technical solution, it is preferable that further include:Second control unit, for being examined in the detection unit
When measuring the distance between all users associated with the water dispenser and described water dispenser more than or equal to second predetermined value,
It controls the water dispenser and closes refrigeration and/or heating function, and for being detected in all users in the detection unit
Any user and the distance between water dispenser when being less than or equal to third predetermined value, control the water dispenser and open refrigeration
And/or heating function.
In the technical scheme, by detecting at a distance between the associated all users of water dispenser and water dispenser
When more than or equal to second predetermined value, control water dispenser closes refrigeration and/or heating function, so that not needing in user using drink
(be such as away from home) when water dispenser, can temporary close refrigeration and/or heating function, reduce the power consumption of water dispenser;By detecting
When being less than or equal to third predetermined value to the distance between any user and water dispenser, control water dispenser is opened refrigeration and/or is added
Heat function can automatically turn on refrigeration and/or heating function so that (such as going home) when user may need using water dispenser,
To ensure user's normal use water dispenser.
In any of the above-described technical solution, it is preferable that further include:Second judgment unit, for being examined in the detection unit
When measuring the distance between all users associated with the water dispenser and described water dispenser more than or equal to second predetermined value,
Judge whether the distance between all users and the water dispenser are gradually increased to the 4th predetermined value;Third judging unit,
For being less than at a distance from detecting any user in all users between the water dispenser in the detection unit or
When equal to third predetermined value, judges whether the distance between all users and the water dispenser are gradually shortened to the 5th and make a reservation for
Value;Second control unit is specifically used for, the second judgment unit determine all users and the water dispenser it
Between distance when being gradually increased to four predetermined value, execute and control the water dispenser and close refrigeration and/or heating function
Operation, and for be gradually shortened at a distance from the third judging unit determines all users between the water dispenser to
When five predetermined values, executes and control the operation that the water dispenser opens refrigeration and/or heating function.
In the technical scheme, by detecting that it is pre- that the distance between all users and water dispenser is greater than or equal to second
When definite value, and when the distance between all users and water dispenser are gradually increased to four predetermined values, control water dispenser closes refrigeration
And/or heating function, make it possible to whether confirm far from water dispenser user, avoid user in water dispenser apart
When movable in the range of second predetermined value, false triggering water dispenser closes refrigeration and/or heating function;By detecting any use
The distance between family and water dispenser are less than or equal to third predetermined value, and are gradually shortened with the distance between water dispenser to the 5th pre-
When definite value, control water dispenser opens refrigeration and/or heating function, makes it possible to whether walk close to water dispenser to user and confirms,
Avoid user in water dispenser at a distance of third predetermined value in the range of activity when, false triggering water dispenser open refrigeration and/or
Heating function.
In any of the above-described technical solution, it is preferable that the detection unit is specifically used for, by detect the water dispenser with
The distance between the mobile terminal that the user wears, determines the distance between the water dispenser and the user;The determination
Unit is specifically used for, and by the corresponding relationship between the mark and user type of pre-stored mobile terminal, determines the user
Type.
Specifically, mobile terminal (such as wearable device) and water dispenser that user wears can be subjected to pairing company in advance
It connects, and then the distance between user and water dispenser can be determined by detection the distance between mobile terminal and water dispenser.Together
When, the corresponding relationship that can be pre-stored between the mark of mobile terminal and user type, and then user is determined according to mobile terminal
Type.
In actual use, the manufacturer of water dispenser or user can be according to the actual situation in flexible setting above schemes
First predetermined value, second predetermined value, third predetermined value, the 4th predetermined value and the 5th predetermined value.
By above technical scheme, it is possible to prevente effectively from the hot water in water dispenser scalds children, improving water dispenser makes
With safety in the process;And can when user does not need using water dispenser, the refrigeration of temporary close water dispenser and/or add
Heat function reduces the power consumption of water dispenser.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real
Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application
Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also
To be implemented using other than the one described here other modes, therefore, protection scope of the present invention is not by described below
Specific embodiment limitation.
Fig. 1 shows the schematic flow diagram of the control method of water dispenser according to first embodiment of the invention.
Water dispenser in the present invention includes at least hot water valve.As shown in Figure 1, drink according to first embodiment of the invention
The control method of water dispenser, including:
Step 102, the distance between the water dispenser and user are detected, and determines the type of the user;
Step 104, first predetermined value is less than or equal at a distance from detecting the user between the water dispenser, and
Determine the user be the first kind user when, control the hot water valve be in can open state;
Step 106, first predetermined value is less than or equal at a distance from detecting the user between the water dispenser, and
When determining that the user is the second class user, controls the hot water valve and be in the lock state.
In the technical scheme, predetermined by being less than or equal to first at a distance from detecting user between water dispenser
Value, and determine user be the first kind user when, control water dispenser hot water valve be in can open state so that first kind user
(such as adult and the people that can be taken care of oneself) being capable of normal use hot water;And by a distance from detecting user between water dispenser
Less than or equal to first predetermined value, and when determining that user is the second class user, control hot water valve is in the lock state, can be to avoid
The hot water valve of the second class user (such as children and non compos mentis user) false triggering water dispenser and the problem of scald accident occurs,
Realize the technology effect for effectively avoiding the second class user from being burned under the premise of guaranteeing first kind user normal use water dispenser
Fruit.
In the above-mentioned technical solutions, it is preferable that be less than at a distance from detecting the user between the water dispenser or
Equal to first predetermined value, and after determining the step of user is first kind user, and it is in controlling the hot water valve
Can open state the step of before, further include:
Judge whether the distance between the user and the water dispenser are gradually shortened;Determining the user and the drink
When the distance between water dispenser is gradually shortened, execute control the hot water valve be in can open state the step of;Determining the use
When the distance between family and the water dispenser gradually become remote, controls the hot water valve and be in the lock state.
In the technical scheme, first predetermined value is less than or equal at a distance from detecting user between water dispenser, and
After determining that user is first kind user, by judging whether the distance between user and water dispenser are gradually shortened, the can be determined
Whether a kind of user needs is fetched water at water dispenser.Specifically, when the distance between user and water dispenser are gradually shortened, explanation
User needs to fetch water, then can control hot water valve be in can open state;And at a distance from determining user between water dispenser by
When gradual change is remote, it can control hot water valve and be in the lock state, avoid user and do not needing to fetch water, but enter hot water valve
It is just controlled at hot water valve in trigger range (i.e. the range of the distance between user and water dispenser less than or equal to first predetermined value)
In can open state and the problem of lead to false triggering hot water valve.
In any of the above-described technical solution, it is preferable that further include:Detecting that institute associated with the water dispenser is useful
When the distance between family and the water dispenser are greater than or equal to second predetermined value, control the water dispenser and close refrigeration and/or add
Heat function;And
It is less than or equal to third at a distance from detecting any user in all users between the water dispenser
When predetermined value, controls the water dispenser and open refrigeration and/or heating function.
In the technical scheme, by detecting at a distance between the associated all users of water dispenser and water dispenser
When more than or equal to second predetermined value, control water dispenser closes refrigeration and/or heating function, so that not needing in user using drink
(be such as away from home) when water dispenser, can temporary close refrigeration and/or heating function, reduce the power consumption of water dispenser;By detecting
When being less than or equal to third predetermined value to the distance between any user and water dispenser, control water dispenser is opened refrigeration and/or is added
Heat function can automatically turn on refrigeration and/or heating function so that (such as going home) when user may need using water dispenser,
To ensure user's normal use water dispenser.
In any of the above-described technical solution, it is preferable that detecting all users associated with the water dispenser and institute
After stating the step of the distance between water dispenser is more than or equal to second predetermined value, and controlling the water dispenser closing refrigeration
And/or further include before the step of heating function:Whether gradually to judge the distance between all users and the water dispenser
The 4th predetermined value is increased to, controls the step of water dispenser closes refrigeration and/or heating function if so, executing.
In the technical scheme, by detecting that it is pre- that the distance between all users and water dispenser is greater than or equal to second
When definite value, and when the distance between all users and water dispenser are gradually increased to four predetermined values, control water dispenser closes refrigeration
And/or heating function, make it possible to whether confirm far from water dispenser user, avoid user in water dispenser apart
When movable in the range of second predetermined value, false triggering water dispenser closes refrigeration and/or heating function.
In any of the above-described technical solution, it is preferable that detecting any user in all users and the drink
The distance between water dispenser was less than or equal to after the step of third predetermined value, and control the water dispenser open refrigeration and/
Or further include before the step of heating function:Judge whether the distance between all users and the water dispenser are gradually shortened
To the 5th predetermined value, the step of water dispenser opens refrigeration and/or heating function is controlled if so, executing.
In the technical scheme, pre- by being less than or equal to third at a distance from detecting any user between water dispenser
Definite value, and when being gradually shortened with the distance between water dispenser to five predetermined values, control water dispenser opens refrigeration and/or heating function
Can, make it possible to whether walk close to water dispenser to user and confirm, avoid user in water dispenser at a distance of third predetermined value
In the range of activity when, false triggering water dispenser open refrigeration and/or heating function.
In any of the above-described technical solution, it is preferable that detect the distance between the water dispenser and user, and described in determination
The step of type of user, specifically includes:By detect between the mobile terminal that the water dispenser and the user wear away from
From determining the distance between the water dispenser and the user;And mark and user class by pre-stored mobile terminal
Corresponding relationship between type determines the type of the user.
Specifically, mobile terminal (such as wearable device) and water dispenser that user wears can be subjected to pairing company in advance
It connects, and then the distance between user and water dispenser can be determined by detection the distance between mobile terminal and water dispenser.Together
When, the corresponding relationship that can be pre-stored between the mark of mobile terminal and user type, and then user is determined according to mobile terminal
Type.
Fig. 2 shows the schematic block diagrams of the control device of the water dispenser of embodiment according to the present invention.
Water dispenser in the present invention includes at least hot water valve.As shown in Fig. 2, the water dispenser of embodiment according to the present invention
Control device 200, including:Detection unit 202, determination unit 204 and first control unit 206.
Wherein, detection unit 202, for detecting the distance between the water dispenser and user;Determination unit 204, is used for
Determine the type of the user;First control unit 206, for the detection unit 202 detect the user with it is described
The distance between water dispenser is less than or equal to first predetermined value, and the determination unit 204 determines the user for first kind use
When family, control the hot water valve be in can open state, and for the detection unit 202 detect the user with it is described
The distance between water dispenser is less than or equal to first predetermined value, and the determination unit 204 determines the user for the second class use
When family, controls the hot water valve and be in the lock state.
In the technical scheme, predetermined by being less than or equal to first at a distance from detecting user between water dispenser
Value, and determine user be the first kind user when, control water dispenser hot water valve be in can open state so that first kind user
(such as adult and the people that can be taken care of oneself) being capable of normal use hot water;And by a distance from detecting user between water dispenser
Less than or equal to first predetermined value, and when determining that user is the second class user, control hot water valve is in the lock state, can be to avoid
The hot water valve of the second class user (such as children and non compos mentis user) false triggering water dispenser and the problem of scald accident occurs,
Realize the technology effect for effectively avoiding the second class user from being burned under the premise of guaranteeing first kind user normal use water dispenser
Fruit.
In the above-mentioned technical solutions, it is preferable that further include:First judging unit 208, in the detection unit 202
Detect that the distance between the user and the water dispenser are less than or equal to first predetermined value, and the determination unit 204 is true
When the fixed user is first kind user, judge whether the distance between the user and the water dispenser are gradually shortened;It is described
First control unit 206 is specifically used for, first judging unit 208 determine between the user and the water dispenser away from
When from being gradually shortened, execute control the hot water valve be in can open state operation, and in first judging unit
When 208 judgement the distance between the users and the water dispenser gradually become remote, controls the hot water valve and be in the locking shape
State.
In the technical scheme, first predetermined value is less than or equal at a distance from detecting user between water dispenser, and
After determining that user is first kind user, by judging whether the distance between user and water dispenser are gradually shortened, the can be determined
Whether a kind of user needs is fetched water at water dispenser.Specifically, when the distance between user and water dispenser are gradually shortened, explanation
User needs to fetch water, then can control hot water valve be in can open state;And at a distance from determining user between water dispenser by
When gradual change is remote, it can control hot water valve and be in the lock state, avoid user and do not needing to fetch water, but enter hot water valve
It is just controlled at hot water valve in trigger range (i.e. the range of the distance between user and water dispenser less than or equal to first predetermined value)
In can open state and the problem of lead to false triggering hot water valve.
In any of the above-described technical solution, it is preferable that further include:Second control unit 210, in the detection unit
202 detect that the distance between all users associated with the water dispenser and described water dispenser are greater than or equal to second and make a reservation for
When value, controls the water dispenser and close refrigeration and/or heating function, and for detecting the institute in the detection unit 202
When thering is the distance between any user and described water dispenser in user to be less than or equal to third predetermined value, the water dispenser is controlled
Open refrigeration and/or heating function.
In the technical scheme, by detecting at a distance between the associated all users of water dispenser and water dispenser
When more than or equal to second predetermined value, control water dispenser closes refrigeration and/or heating function, so that not needing in user using drink
(be such as away from home) when water dispenser, can temporary close refrigeration and/or heating function, reduce the power consumption of water dispenser;By detecting
When being less than or equal to third predetermined value to the distance between any user and water dispenser, control water dispenser is opened refrigeration and/or is added
Heat function can automatically turn on refrigeration and/or heating function so that (such as going home) when user may need using water dispenser,
To ensure user's normal use water dispenser.
In any of the above-described technical solution, it is preferable that further include:Second judgment unit 212, in the detection unit
202 detect that the distance between all users associated with the water dispenser and described water dispenser are greater than or equal to second and make a reservation for
When value, judge whether the distance between all users and the water dispenser are gradually increased to the 4th predetermined value;Third judgement
Unit 214, for being detected between any user and the water dispenser in all users in the detection unit 202
When distance is less than or equal to third predetermined value, judge whether the distance between all users and the water dispenser are gradually shortened
To the 5th predetermined value;Second control unit 212 is specifically used for, and determines that the institute is useful in the second judgment unit 210
When the distance between family and the water dispenser are gradually increased to four predetermined value, execute to control the water dispenser and close and freeze
And/or the operation of heating function, and for the third judging unit 214 determine all users and the water dispenser it
Between distance when being gradually shortened to five predetermined values, execute and control the operation that the water dispenser opens refrigeration and/or heating function.
In the technical scheme, by detecting that it is pre- that the distance between all users and water dispenser is greater than or equal to second
When definite value, and when the distance between all users and water dispenser are gradually increased to four predetermined values, control water dispenser closes refrigeration
And/or heating function, make it possible to whether confirm far from water dispenser user, avoid user in water dispenser apart
When movable in the range of second predetermined value, false triggering water dispenser closes refrigeration and/or heating function;By detecting any use
The distance between family and water dispenser are less than or equal to third predetermined value, and are gradually shortened with the distance between water dispenser to the 5th pre-
When definite value, control water dispenser opens refrigeration and/or heating function, makes it possible to whether walk close to water dispenser to user and confirms,
Avoid user in water dispenser at a distance of third predetermined value in the range of activity when, false triggering water dispenser open refrigeration and/or
Heating function.
In any of the above-described technical solution, it is preferable that the detection unit 202 is specifically used for, by detecting the drinking-water
The distance between the mobile terminal that machine and the user wear, determines the distance between the water dispenser and the user;It is described
Determination unit 204 is specifically used for, and by the corresponding relationship between the mark and user type of pre-stored mobile terminal, determines institute
State the type of user.
Specifically, mobile terminal (such as wearable device) and water dispenser that user wears can be subjected to pairing company in advance
It connects, and then the distance between user and water dispenser can be determined by detection the distance between mobile terminal and water dispenser.Together
When, the corresponding relationship that can be pre-stored between the mark of mobile terminal and user type, and then user is determined according to mobile terminal
Type.
Below in conjunction with Fig. 3 to Fig. 6 technical solution that the present invention will be described in detail.
As shown in figure 3, in one embodiment of the invention, water dispenser 302 has access to wireless network (such as Wi-Fi
Network) in, wearable device 304 also has access in wireless network (such as passing through mobile communications network), and then realizes drinking-water
Pairing connection between machine 302 and wearable device 304.
After water dispenser 302 and wearable device 304 access network, user can be arranged each wearable corresponding in advance
The attribute of user, wherein the corresponding wearable device of every user.
Specifically, it is selected in the set interface of water dispenser 302:Increase user's --- search wearable device --- to find
Equipment P1 --- P1 is arranged to first user of water dispenser 302, and selects to be adult or children.It repeats the above process,
Complete the addition of other kinsfolks.
Secondly, setting preset value L, Smin, Smax and Cmin.
After the setup, water dispenser 302 may be implemented to automatically control hot water valve and heat refrigerating function.Specifically:
When the distance between user and water dispenser 302 are less than preset value L (such as 50 centimetres), water dispenser 302 is according to user
The information of the wearable device of wearing judges automatically the identity of user;When distance is more and more closer, and user is adult, control heat
Water valve be in can open state, otherwise control hot water valve be in the lock state.
When user's working, go to school or outgoing when withdrawing from a room, water dispenser 302 detect and between related user
Distance be more than preset threshold Smin (such as 0.5 km) and in increasing trend to preset threshold Smax (such as 1 km) when, then touch automatically
Hair stops the functions such as heating refrigeration, to reduce power consumption.
When user comes off duty, classes are over or it is outgoing go home when, the detection of water dispenser 302 is less than to the distance between some user
Preset threshold Smax (such as 1 km) and the trend that tapers off is to preset threshold Smin (such as 0.5 km), then it is automatic to enable heating refrigeration
Function.
Water dispenser 302 can also obtain Weather information by network in real time, when temperature is lower than preset value Cmin, stop system
Cold function.
The above process is as shown in Figures 4 to 6.
As shown in figure 4, the control method of the water dispenser of second embodiment according to the present invention, including:
Step 402, the distance between the user P1 of water dispenser investigation and wearing wearable device.
Step 404, judge whether distance is less than L, if so, thening follow the steps 406;Otherwise, return step 402.
Step 406, water dispenser judges the identity of user P1.
Step 408, judge user P1 be it is adult and whether true apart from reducing, if so, thening follow the steps 410;Otherwise, it holds
Row step 412.
Step 410, control hot water valve be in can open state.
Step 412, control hot water valve is in the lock state.
As shown in figure 5, the control method of the water dispenser of third embodiment according to the present invention, including:
Step 502, water dispenser investigation and all the distance between user Pn for wearing wearable device.
Step 504, judge whether the distance between water dispenser and all user Pn for wearing wearable device are both greater than or wait
In Smin, if so, thening follow the steps 506;Otherwise, return step 502.
Step 506, water dispenser investigation and all the distance between user Pn for wearing wearable device.
Step 508, judge whether the distance between water dispenser and all user Pn for wearing wearable device are both greater than or wait
In Smax, if so, thening follow the steps 510;Otherwise, terminate.
Step 510, stop refrigeration heating function.
As shown in fig. 6, the control method of the water dispenser of the 4th embodiment according to the present invention, including:
Step 602, water dispenser investigation and all the distance between user Pn for wearing wearable device.
Step 604, judge whether the distance between water dispenser and all user Pn for wearing wearable device are both less than or wait
In Smax, if so, thening follow the steps 606;Otherwise, return step 602.
Step 606, water dispenser investigation and all the distance between user Pn for wearing wearable device.
Step 608, judge whether the distance between water dispenser and all user Pn for wearing wearable device are both less than or wait
In Smin, if so, thening follow the steps 610;Otherwise, terminate.
Step 610, refrigeration heating function is opened.
The technical solution of the above embodiment of the present invention can not only be prevented because user is not note that cause the hot water of water dispenser to scald
The problem of hurting children;It is whether all outgoing that user can also be judged automatically simultaneously, to determine whether to close drinking-water mechanism cold heating function
Can, energy-saving and emission-reduction;And whether have user go home, enable the heating refrigeration function of water dispenser automatically in advance if can also judge automatically
Can, with ensure being capable of normal use after user goes home.
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, and the invention proposes a kind of controls of new water dispenser
Scheme processed improves the safety of water dispenser in use it is possible to prevente effectively from the hot water in water dispenser scalds children;And
And can be when user does not need using water dispenser, the refrigeration and/or heating function of temporary close water dispenser reduce water dispenser
Power consumption.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.