Water dispenser control method

文档序号:519340 发布日期:2021-06-01 浏览:2次 中文

阅读说明:本技术 一种饮水机控制方法 (Water dispenser control method ) 是由 狄震 于 2021-02-07 设计创作,主要内容包括:本发明提供一种饮水机控制方法,该控制方法包括:S10:获取多个用户端的位置信息;S20:判断多个用户是否与饮水机处于同一空间;S30:根据判断结果选择饮水机的工作模式。本发明实施例通过判断多个用户是否与饮水机处于同一空间,来对饮水机的而工作模式进行选择,其包括两种控制模式,一是远程控制模式,在远程控制模式下,该饮水机远程接收控制指令,并且按照远程控制信息选择的加热模式进行加热;二是语音控制模式,在语音控制模式下,饮水机可以识别用户的语音控制信息,无须通过按键或触摸屏手动调节出水量等取水参数。(The invention provides a control method of a water dispenser, which comprises the following steps: s10: acquiring position information of a plurality of user terminals; s20: judging whether a plurality of users are in the same space with the water dispenser or not; s30: and selecting the working mode of the water dispenser according to the judgment result. The embodiment of the invention selects the working mode of the water dispenser by judging whether a plurality of users are in the same space with the water dispenser, and the working mode comprises two control modes, namely a remote control mode, wherein the water dispenser receives a control instruction remotely and heats according to a heating mode selected by remote control information in the remote control mode; and the water dispenser can identify the voice control information of the user in the voice control mode without manually adjusting water taking parameters such as water yield and the like through keys or a touch screen.)

1. A control method of a water dispenser is characterized in that: the control method comprises the following steps:

s10: acquiring position information of a plurality of user terminals;

s20: judging whether a plurality of users are in the same space with the water dispenser or not;

s30: and selecting the working mode of the water dispenser according to the judgment result.

2. The water dispenser control method according to claim 1, characterized in that: the working mode of the water dispenser comprises a remote control mode and a voice control mode.

3. The water dispenser control method according to claim 2, characterized in that: if one or more members in the group are in the same space with the water dispenser, the position information of other members is not acquired, and the voice control mode is directly entered; and when all the members in the group are judged not to be in the same space with the water dispenser, the remote control mode is entered.

4. The control method of the water dispenser according to claim 2 or 3, characterized in that: the starting control process of the water dispenser in the remote control mode comprises the following steps:

s311: judging whether each user side is in a moving state;

s312: judging whether the moving route of the user side in the moving state accords with a preset route or not;

s313: calculating the preset time length of each user side which accords with the preset moving route to reach the water dispenser, and obtaining the minimum preset time length in all the preset time lengths;

s314: and controlling the water dispenser to be started according to the minimum preset time.

5. The control method of the water dispenser according to claim 4, characterized in that: if all the user terminals are not in the moving state, repeatedly acquiring the position information of all the user terminals according to a second time period; if one or more user terminals are in the mobile state, the process proceeds to step S312.

6. The control method of the water dispenser according to claim 4, characterized in that: if the route does not conform to the preset route, repeating the step S311 according to a second time period, that is, waiting for a next second time period to obtain the location information of the plurality of user terminals; if one or more clients conform to the predetermined route, step S313 is entered.

7. The control method of the water dispenser according to claim 2 or 3, characterized in that: the control process of the voice control mode of the water dispenser is as follows:

s321: acquiring voice information;

s322: identifying effective control instructions in the voice information;

s323: and executing corresponding action according to the effective control instruction.

8. The water dispenser control method of claim 7, characterized in that: and acquiring a voice command of water outlet, and executing water outlet action when the water receiving container is judged to be arranged in the water receiving area.

9. The water dispenser control method according to claim 1, characterized in that: the water receiving area is provided with three gravity sensors distributed in an equilateral triangle, the center of the equilateral triangle is opposite to the water outlet of the water dispenser, and when the three gravity sensors sense the gravity signals, the water receiving area is judged to be provided with the water receiving container.

10. The water dispenser control method according to claim 1, characterized in that: the control method further includes step S00: and acquiring a starting time, and acquiring the position information of each client when the starting time is reached.

Technical Field

The invention relates to the technical field of intelligent home furnishing, in particular to a control method of a water dispenser.

Background

In the prior art, the control of the water dispenser is generally realized by adopting field control, even though remote control can be realized, the water dispenser can be controlled by only one member, for the same family or unit, a plurality of members usually control the same water dispenser at the same time, the problems of disordered control, repeated operation and the like usually occur, and the control is usually realized by keys or a touch screen in the field operation.

Disclosure of Invention

In view of the above, the present invention provides a drinking water and control method, which includes two control modes, one is a remote control mode, in which the drinking water machine receives a control instruction remotely and heats according to a heating mode selected by remote control information; and the water dispenser can identify the voice control information of the user in the voice control mode without manually adjusting water taking parameters such as water yield and the like through keys or a touch screen.

In order to solve the technical problems, the invention adopts the technical scheme that: a control method of a water dispenser comprises the following steps:

s10: acquiring position information of a plurality of user terminals;

s20: judging whether a plurality of users are in the same space with the water dispenser or not;

s30: and selecting the working mode of the water dispenser according to the judgment result.

Preferably, the working mode of the water dispenser comprises two control modes, namely a remote control mode and a voice control mode.

Preferably, if one or more members in the group are in the same space with the water dispenser, the position information of other members is not acquired, and the voice control mode is directly entered; and when all the members in the group are judged not to be in the same space with the water dispenser, the remote control mode is entered.

Preferably, the starting control process of the water dispenser in the remote control mode comprises the following steps:

s311: judging whether each user side is in a moving state;

s312: judging whether the moving route of the user side in the moving state accords with a preset route or not;

s313: calculating the preset time length of each user side which accords with the preset moving route to reach the water dispenser, and obtaining the minimum preset time length in all the preset time lengths;

s314: and controlling the water dispenser to be started according to the minimum preset time.

Preferably, if all the clients are not in the mobile state, repeatedly acquiring the location information of all the clients according to a second time period; if one or more user terminals are in the mobile state, the process proceeds to step S312.

Preferably, if none of the routes conforms to the preset route, repeating step S311 according to a second time period, that is, waiting for a next second time period to obtain the location information of the plurality of user terminals; if one or more clients conform to the predetermined route, step S313 is entered.

Preferably, the control process of the voice control mode of the water dispenser is as follows:

s321: acquiring voice information;

s322: identifying effective control instructions in the voice information;

s323: and executing corresponding action according to the effective control instruction.

Preferably, when the voice command of the water outlet is acquired and the water receiving container is judged to be arranged in the water receiving area, the water outlet action is executed.

Preferably, the water receiving area is provided with three gravity sensors distributed in an equilateral triangle, the center position of the equilateral triangle is opposite to the water outlet of the water dispenser, and when the three gravity sensors sense the gravity signals, the water receiving container is judged to be placed in the water receiving area.

Preferably, the control method further includes step S00: and acquiring a starting time, and acquiring the position information of each client when the starting time is reached.

The invention has the advantages and positive effects that: the embodiment of the invention selects the working mode of the water dispenser by judging whether a plurality of users are in the same space with the water dispenser, and the working mode comprises two control modes, namely a remote control mode, wherein the water dispenser receives a control instruction remotely and heats according to a heating mode selected by remote control information in the remote control mode; and the water dispenser can identify the voice control information of the user in the voice control mode without manually adjusting water taking parameters such as water yield and the like through keys or a touch screen.

Drawings

FIG. 1 is a flow chart diagram of a control method of a water dispenser according to an embodiment of the invention;

fig. 2 is a flowchart illustrating a start-up control process of the water dispenser in the remote control mode according to the embodiment of the present invention;

fig. 3 is a flow chart of a control process of a voice control mode of a water dispenser according to an embodiment of the present invention.

Detailed Description

For a better understanding of the present invention, reference is made to the following detailed description and accompanying drawings that illustrate the invention.

The drinking water of the invention comprises two control modes, namely a remote control mode, wherein in the remote control mode, the drinking water machine receives a control instruction remotely and heats according to a heating mode selected by remote control information; and the water dispenser can identify the voice control information of the user in the voice control mode without manually adjusting water taking parameters such as water yield and the like through keys or a touch screen.

The remote control mode of the embodiment of the invention supports a plurality of user terminals to control the water dispenser simultaneously in the moving process, and the embodiment of the invention at least comprises the water dispenser and the user terminal for controlling the water dispenser; the water dispenser can at least receive a remote control instruction and is opened and closed according to the remote control instruction; the user side is an intelligent terminal device capable of acquiring the mobile location information, such as a smart phone, a tablet computer, and the like, which is not limited in this embodiment of the present invention.

In the embodiment of the invention, the user side can be installed in the corresponding intelligent terminal equipment in the form of APP, the APP supports grouping, each group comprises at least one member, usually two or more members, and the members in the group remotely control the same water dispenser at the same time; each member registers member information on line, and selects a group to be joined in the registration process, for example, each family or unit is a group, and the group includes a plurality of family members.

In the embodiment of the invention, the working mode of all members in the group is judged by acquiring the position information of all members in the group; specifically, the method comprises the following steps:

s10: acquiring position information of a plurality of user terminals;

s20: judging whether a plurality of users are in the same space with the water dispenser or not;

s30: and selecting the working mode of the water dispenser according to the judgment result.

In the embodiment of the present invention, the location information of each user terminal in the same group needs to be acquired at the same time, and when the location information of each user terminal is acquired, the location information may be acquired in any location information acquisition manner, which is not limited in the embodiment of the present invention. For example, the mobile location information may be obtained by using Global Positioning System (GPS) Positioning, obtained by using Positioning of a base station based on a mobile operator network, and obtained by using WIreless-Fidelity (Wifi) Positioning in a small area.

In the embodiment of the present invention, the method further includes step S00: and acquiring a starting time, and acquiring the position information of each client when the starting time is reached.

If the location information of each user terminal is continuously or periodically acquired, the energy consumption of the user terminal is relatively high, and in the embodiment of the invention, the time for acquiring the location information of the user terminal is limited, and the location information of the user terminal is acquired in a specific time period.

The starting time is usually set by each user side, specifically, each user side can obtain at least one first preset time t1 of each user, and the embodiment of the present invention obtains an earliest first preset time as the starting time; for example, in a specific embodiment, the water dispenser is located in a home, the family members include member a who goes to work, member b who goes to school and member c who goes to school and school every day, then members a and b can set their off-duty time as the first preset time at the user end, and member c can set their school time as the first preset time at the user end, and the embodiment of the present invention obtains the earliest first preset time as the starting time.

When the starting time is reached, the position information of a plurality of user terminals is obtained at the same time, if one or more members in the group are in the same space with the water dispenser, the position information of other members is not obtained any more, and the voice control mode is directly entered; and when all the members in the group are judged not to be in the same space with the water dispenser, the remote control mode is entered.

In the embodiment of the invention, whether a plurality of users are in the same space with the water dispenser or not is judged, and the distance between the users and the water dispenser controlled by the users needs to be judged, so that whether the user side is in the same space with the water dispenser or not is judged; if the geographical position information of the member is the same as or similar to that of the water dispenser, the member and the water dispenser are in the same space, and specifically, for example, if the distance between the member and the water dispenser is smaller than a preset distance, the member and the water dispenser are in the same space.

The starting control process of the water dispenser in the remote control mode comprises the following steps:

s311: judging whether each user side is in a moving state;

s312: judging whether the moving route of the user side in the moving state accords with a preset route or not;

s313: calculating the preset time length of each user side which accords with the preset moving route to reach the water dispenser, and obtaining the minimum preset time length in all the preset time lengths;

s314: and controlling the water dispenser to be started according to the minimum preset time.

Step S311: judging whether each user side is in a mobile state, acquiring the position information of each user side according to a first time period, judging whether the position of the user side is changed and the size of the changed range, and judging whether the user side is in the mobile state or not according to the change; the first time period may be set according to a requirement for a location information collection amount, which is not limited in the specific embodiment of the present invention.

If all the user terminals are not in the moving state, repeatedly acquiring the position information of all the user terminals according to a second time period; if one or more user terminals are in the mobile state, the process proceeds to step S312.

S312: and judging whether the moving route of the user terminal in the moving state accords with a preset route.

In a specific embodiment, the setting can be performed when the user registers, for example, a starting point (for example, a work place, a school, and the like where the user is located) and an ending point (for example, a home address where the water dispenser is located) of the common route are set on map software, and one route is selected from the searched multiple routes as the preset route; certainly, the GPS system of the user end may also be used to record the movement trajectory of the user end reaching the water dispenser in a certain time when the user end uses different transportation modes, and the movement trajectory with a higher repetition rate is used as the preset route of the user, which does not limit the method for obtaining the preset route in the embodiment of the present invention; wherein the preset route may be one or more.

The embodiment of the invention matches the moving route of the user end with the preset route, the moving route is overlapped with a part of tracks of the preset route but not all tracks of the preset route, and concretely, as long as the moving route of the user end is overlapped with the tracks of the preset route from the initial position of the user end to a preset node position, the user end can be determined to be in line with the preset route; the preset node position may be set according to a specific preset route of the user, which is not limited herein.

If the route does not conform to the preset route, repeating the step S311 according to a second time period, that is, waiting for a next second time period to obtain the location information of the plurality of user terminals; if one or more clients conform to the predetermined route, step S313 is entered.

S313: and calculating the preset time length of each user side which accords with the preset moving route to reach the water dispenser, and obtaining a minimum preset time length.

Specifically, the moving speed of each user side conforming to the preset moving route is obtained, the preset time length of each user side is calculated according to the moving speed and the preset route, and the minimum preset time length in all the preset time lengths is obtained.

S314: and controlling the water dispenser to be started according to the minimum preset time.

Specifically, the minimum preset time is updated all the time according to the second time period, because a new member is added in the process, when all the members are in the moving state and the moving state accords with the preset route, the minimum preset time is not updated, the minimum preset time at the moment is the final minimum preset time, and at the moment, the water dispenser is started according to the minimum preset time when the minimum preset time reaches the preset starting time.

However, when the minimum preset time is always in the updating state and the minimum preset time reaches a preset starting time, and if the member is not in the moving state and the moving state meets the preset route, the updating is stopped and the water dispenser is directly started.

The expected starting time is the time when the water dispenser is expected to be started in advance, for example, the expected starting time is 5 minutes, which means that the water dispenser is expected to be started 5 minutes before the water dispenser arrives at the place where the water dispenser is located; in the embodiment of the invention, when the obtained minimum preset time is 20 minutes, the water dispenser is started after 15 minutes, if the minimum preset time reaches 5 minutes, and if the member is not in the moving state and the moving state accords with the preset route, the updating is stopped, and the water dispenser is directly started.

After the water dispenser is started, the water dispenser heats water to a preset temperature; in the embodiment of the invention, the water dispenser is provided with at least two water outlets, one is a hot water outlet and the other is a cold water outlet; after the water dispenser is started, the hot water outlet is directly heated to a first target temperature, the first target temperature can be set according to user requirements, for example, 50 ℃ or 100 ℃, multiple heating modes can be defined, for example, a tea making mode, a milk powder making mode and the like, and the heating modes, for example, a milk powder making mode, can be selected through a user side; the cold water outlet comprises two modes, namely a normal temperature mode, wherein the outlet water temperature is the room temperature, and a refrigeration mode, wherein the outlet water temperature is a second target refrigeration temperature which can be set according to the requirements of users, after the water dispenser is started, the normal temperature mode is defaulted, if the refrigeration mode is required to be selected, the cold water outlet can be selected at a user side, and after the refrigeration mode is selected, the cold water outlet can be directly refrigerated to the second target temperature.

In the remote control mode, after the water dispenser is started, the working mode of the water dispenser can be selected, so that the water dispenser runs to a target state when the space where the water dispenser is located is reached.

When one or more members in the group are in the same space with the water dispenser, ending the remote control mode and entering a voice control mode; under the voice control mode, the hot water outlet can adjust the working mode, the water yield and the like of the water dispenser according to the voice control information, and manual adjustment through keys or a touch screen is avoided.

The control process of the voice control mode of the water dispenser is as follows:

s321: acquiring voice information;

s322: identifying effective control instructions in the voice information;

s323: and executing corresponding action according to the effective control instruction.

In the embodiment of the invention, a conversation mode with the water dispenser needs to be activated through an activation instruction, wherein the activation instruction is, for example, xxx and hello, after the conversation mode is activated, the water dispenser gives a voice prompt, for example, "welcome to enter the voice control mode", after the voice prompt is given, a user sends voice to obtain the voice dispenser, after the voice information is obtained, the voice information is identified, the information in the voice information is extracted and compared with a preset effective control instruction, and if the effective control instruction is not identified, the water dispenser prompts the user to input the voice information again; when a valid control command is recognized, the water dispenser repeats the valid control command, and after the user confirms the valid control command, the user starts to execute, for example, a tea making mode, such as 300ml of water.

When the water outlet action is executed, firstly, a voice instruction of water outlet needs to be acquired, and whether a water receiving container is arranged in a water receiving area needs to be judged; in a specific embodiment of the invention, the gravity sensors are arranged in the water receiving area below the water outlet, in order to prevent the placement positions of the water receiving containers from deviating, the gravity sensors in the embodiment of the invention are arranged in three, are distributed in an equilateral triangle, and the central positions of the gravity sensors are opposite to the water outlet of the water dispenser, when only three gravity sensors sense gravity signals, the water receiving containers are determined to be placed in the water receiving area, and when a water outlet instruction is obtained and the water receiving area prevents the water receiving containers, the water outlet instruction can be executed.

The embodiment of the invention selects the working mode of the water dispenser by judging whether a plurality of users are in the same space with the water dispenser, and the working mode comprises two control modes, namely a remote control mode, wherein the water dispenser receives a control instruction remotely and heats according to a heating mode selected by remote control information in the remote control mode; and the water dispenser can identify the voice control information of the user in the voice control mode without manually adjusting water taking parameters such as water yield and the like through keys or a touch screen.

The embodiments of the present invention have been described in detail, but the description is only for the preferred embodiments of the present invention and should not be construed as limiting the scope of the present invention. All equivalent changes and modifications made within the scope of the present invention should be covered by the present patent.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:单份包装、应用和制备机

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类