CN114360220A - Method for monitoring water leakage and electronic equipment - Google Patents

Method for monitoring water leakage and electronic equipment Download PDF

Info

Publication number
CN114360220A
CN114360220A CN202111470410.9A CN202111470410A CN114360220A CN 114360220 A CN114360220 A CN 114360220A CN 202111470410 A CN202111470410 A CN 202111470410A CN 114360220 A CN114360220 A CN 114360220A
Authority
CN
China
Prior art keywords
water
switch
water outlet
user
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111470410.9A
Other languages
Chinese (zh)
Inventor
韦宇颖
叶呈亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Angel Drinking Water Equipment Co Ltd
Original Assignee
Shenzhen Angel Drinking Water Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Angel Drinking Water Equipment Co Ltd filed Critical Shenzhen Angel Drinking Water Equipment Co Ltd
Priority to CN202111470410.9A priority Critical patent/CN114360220A/en
Publication of CN114360220A publication Critical patent/CN114360220A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Water Treatment By Sorption (AREA)

Abstract

The application relates to the field of intelligent electrical appliances, and provides a method for monitoring water leakage, which comprises the following steps: detecting the state of a water switch; when the water outlet switch is in an open state, detecting whether a user exists or not; when the user is not detected, recording the water outlet time; when the water outlet time is greater than or equal to a first preset time, closing the water outlet switch; and when the water outlet time is less than the first preset time, determining not to close the water outlet switch. The method can be used for treating the water leakage condition of the water purifier, so that the user experience is improved.

Description

Method for monitoring water leakage and electronic equipment
Technical Field
The application relates to the field of intelligent electrical appliances, in particular to a method for monitoring water leakage and electronic equipment.
Background
With the continuous improvement of the living standard of people, the quality requirement of people on drinking water is higher and higher. The water purifier is popular among people because the water purifier can provide high-quality drinking water for people. Various water purifiers in the market enter families, offices and markets at present. However, the existing water purifier cannot meet the requirements of users, for example, after the users finish water taking, the users forget to turn off the water outlet switch to cause the water purifier to continuously leak water, and the existing water purifier cannot timely treat the water leakage condition, so that the user experience is very poor.
Therefore, how to deal with the water leakage situation of the water purifier is a problem which needs to be solved urgently at present.
Disclosure of Invention
The application provides a method and electronic equipment for monitoring water leakage, which can be used for processing the water leakage condition of a water purifier, so that the user experience is improved.
In a first aspect, a method for monitoring water leakage is provided, which includes: detecting the state of a water switch; when the water outlet switch is in an open state, detecting whether a user exists or not; when the user is not detected, recording the water outlet time; when the water outlet time is greater than or equal to a first preset time, closing the water outlet switch; and when the water outlet time is less than the first preset time, determining not to close the water outlet switch.
The above method may be performed by a chip in an electronic device. For example, the electronic device is a water purifier, and when the water purifier detects that a water outlet switch is turned on, whether a user exists around the water purifier or not can be detected; if no user exists, the user leaves the water purifier, at the moment, the user can complete the task of taking water, and can also place an empty water cup under the water purifier to leave. The water purifier can record the water outlet time of the water outlet switch after a user leaves; when the water outlet time is greater than or equal to the first preset time, the water outlet switch of the water purifier is closed, so that water resource waste can be reduced in a scene that a user finishes a water taking task; when the water outlet time is less than the first preset time, the water purifier does not close the water outlet switch and continues to provide water for the user, and the waiting time for the user to fetch water can be reduced in the scene that the user leaves the empty water cup under the water purifier. Thereby reaching the comprehensive effect of reducing water resource waste and improving water taking efficiency.
Optionally, when the water outlet switch is closed, detecting the water inlet flow; when the water inlet flow is not zero, closing a water inlet switch; and when the water inlet flow is zero, determining not to close the water inlet switch.
In this embodiment, when the water outlet switch is turned off, if the water purifier detects that there is water flow at the water inlet switch, it indicates that the water purifier may have an excessively long service life and cause internal water leakage, and at this time, the water purifier turns off the water inlet switch to avoid water resource waste and user property loss; when the water purifier detects that the water outlet switch is closed, the water inlet switch is not detected, the water purifier is in a normal state, and the water inlet switch is not closed, so that a user can conveniently take water from the water purifier in the follow-up use process.
Optionally, when the inflow water flow is not zero, turning off the inflow water switch includes: and when the water inlet flow is not zero and the duration time of the water inlet flow is greater than or equal to a second preset time, closing the water inlet switch.
In this embodiment, when the water outlet switch is turned off, if the water purifier detects that there is water flow at the water inlet switch, the duration time of the water inlet flow is recorded (i.e., the water inlet time is recorded); if the duration time of the water inlet flow is longer than or equal to the second preset time, the water purifier really leaks water instead of filling water into the water storage tank of the water purifier by the water inlet switch, and at the moment, the water purifier closes the water inlet switch. Therefore, the water inlet switch is determined to be closed only when the water purifier detects that the duration of the water inlet flow is greater than or equal to the second preset time; the water inlet switch is closed immediately instead of detecting the water inlet flow at the water inlet switch, so that the accuracy of water leakage detection is improved.
Optionally, when the water outlet time is greater than or equal to a first preset time, displaying first alarm information.
When the water outlet time is longer than or equal to the first preset time, the user may complete the water taking task and place the empty water cup under the water purifier, at the moment, the water purifier can immediately send first alarm information about abnormal water leakage to remind the user to close the water faucet next time or remind the user to take the water cup away in time, and therefore user experience is improved.
Optionally, receiving a water fetching instruction; and removing the first alarm information according to the water taking instruction, and starting the water outlet switch.
When a user forgets to close the water outlet switch, the water purifier automatically closes the water outlet switch and sends out first alarm information; when the user next triggered the water intaking instruction, first alarm information can be relieved according to this water intaking instruction to the water purifier to open out the water switch and provide the water for the user, thereby improve user experience.
Optionally, when the water inlet switch is turned off, a second alarm message is displayed.
When the water inlet switch is closed, the water purifier can send second alarm information to inform a user that water leakage occurs in the water purifier and the water inlet switch is forcibly closed, so that the user can timely handle the water leakage condition.
Optionally, receiving a restart instruction; removing the second alarm information according to the restart instruction; receiving a water getting instruction; and opening the water outlet switch according to the water taking instruction.
When the user receives water next time, the user restarts the water purifier according to the second alarm information; after the water purifier receives the restart instruction, the water purifier can be restarted and the second alarm information is removed; after the water purifier is restarted, the water inlet switch is turned on; after the water purifier is restarted successfully, the user needs to press the water taking switch again to send a water taking instruction to the water purifier; the water purifier controls the water outlet switch to be opened according to the water taking instruction so as to provide water for the user. The embodiment can temporarily provide water for the user under the condition that water leakage in the water purifier is not eliminated, so that the user experience is improved.
Optionally, the method is applied to a water purifier, the method further comprising: detecting whether the water purifier is in a normal working state or not; the detecting the state of the water switch comprises: and when the water purifier is in a normal working state, detecting the state of the water outlet switch.
In this embodiment, the state of the water switch is detected only when the water purifier switch is in a normal working state (i.e., a state of normally providing water for a user); and the state of the water switch is not detected in the standby state, thereby reducing the power consumption of the water purifier.
In a second aspect, an electronic device is provided, which includes a processor and a memory, the memory is used for storing a computer program, and the processor is used for calling and running the computer program from the memory, so that the electronic device executes the method of any one of the first aspect.
In a third aspect, a computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, causes the processor to perform the method of any of the first aspects.
Advantageous effects in the second and third aspects of the present application refer to advantageous effects of the first aspect.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic flow chart illustrating a method for monitoring water leakage according to an embodiment of the present invention;
fig. 2 is a schematic structural view of a water purifier 200 according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating a method for monitoring water leakage according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device in an embodiment of the invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
As is well known, water purifiers are very popular for providing high quality drinking water. However, the existing water purifier cannot meet the requirements of users, for example, when the users forget to turn off the water outlet switch after water taking is finished, the water purifier continuously leaks water; or, when a user uses the water receiving container to receive water and has something suddenly, and leaves the water purifier, the water outlet switch still injects water into the water receiving container, and after the user finishes handling the things, the user returns to the water purifier, and serious water leakage occurs. Because the existing water purifier can not timely treat the water leakage condition, the user experience is poor. Therefore, how to deal with the water leakage situation of the water purifier is a problem which needs to be solved urgently at present.
The present application will now be described in further detail with reference to the accompanying drawings and specific examples.
Fig. 1 is a schematic flow chart of a method for monitoring water leakage in the embodiment of the present application, and the method for monitoring water leakage provided in the embodiment of the present application is applied to electronic devices, where the electronic devices include a water purifier and a water dispenser. The application takes a water purifier as an example to explain the method for monitoring water leakage; as shown in fig. 2, the water purifier 200 includes: the water purifier comprises an electronic control unit 201, a water inlet electromagnetic valve 202, a water flow sensor 203, a human body induction sensor 204, a water outlet switch 205, an electronic load 206, an audible and visual alarm 207, a power adapter 208 and a power plug 209, wherein the electronic control unit 201 is used for controlling the coordinated work of the parts of the water purifier 200; the purified water electromagnetic valve 202 is a water inlet switch of the water purifier 200; a water flow sensor 203 installed at a water inlet of the water purifier 200 for detecting whether water flows into the water purifier 200 at the water inlet; the human body induction sensor 204 is used for inducing whether a user exists around the water purifier 200; the water outlet switch 205 is used for controlling the water outlet of the water purifier 200; the switch monitoring unit 206 is used for monitoring the on or off state of the water outlet switch 205; the audible and visual alarm 207 is used for giving audible and visual alarm prompt to the fault information when the water purifier 200 has a water leakage fault; the power adapter 208 is used to provide a suitable operating voltage for the water purifier 200; the power plug 209 is used to power up the water purifier 200.
Because the human body induction sensor 204 has the characteristic of strong penetrating power, the human body induction sensor 204 can be arranged in the non-metal shell of the water purifier 200; the angle and the distance of the human body induction sensor 204 for detecting the user can be adjusted according to the installation height and the angle of the water purifier 200, so that the angle of the human body induction sensor 204 for detecting the user can cover the area to be monitored, and meanwhile, the accuracy of the human body induction signal is ensured by adjusting the sensitivity of the human body induction sensor 204. In addition, the human body sensor 204 includes an electronic switching value sensor, which can set a sensor switching value signal according to the actual application requirement. The electronic switching value sensor supports human body static detection, has adjustable sensitivity, and can judge whether a user exists near the water purifier 200 according to the double indexes of the amplitude and the frequency width of the human body induction signal, thereby effectively improving the accuracy of the detection result.
The method for monitoring water leakage provided by the present application is described below by taking the water purifier 200 as an example, and the method includes:
s101, detecting the state of the water switch.
Illustratively, the water purifier 200 is connected to 220V mains supply through a power plug 209; the 220V voltage is converted into an operating voltage (for example, 60V) of the water purifier through the power adapter 208; the water purifier 200 is in a standby state after being powered on. When a user presses a water taking switch of the water purifier 200, the electronic control unit triggers the switch monitoring unit 206 to monitor whether the water outlet switch 205 is in an on state in real time; the switch monitoring unit 206 may also be in a normal working state after the water purifier 200 is powered on to monitor whether the water outlet switch 205 is in an open state in real time; the switch monitoring unit 206 sends the state monitoring result of the water outlet switch 205 to the electronic control unit 201; the electronic control unit 201 further controls the actions of other components according to the monitoring result. For example, the switch monitoring unit 206 sends the monitoring result that the water outlet switch 205 is in the open state to the electronic control unit 201; the electronic control unit 201 triggers the human body induction sensor 204 to operate according to the monitoring result of the opened state to monitor whether the user leaves the water purifier 200. For another example, the switch monitoring unit 206 sends the monitoring result that the water outlet switch 205 is in the off state to the electronic control unit 201; the electronic control unit 201 triggers the water flow sensor 203 to operate according to the monitoring result of the closed state to monitor whether water flows into the water purifier 200 from the water inlet. The water inlet is a passage for the tap water to enter the water purifier 200.
And S102, detecting whether a user exists or not when the state of the water outlet switch is an opening state.
Illustratively, when the electronic control unit 201 receives a water getting instruction, the water outlet switch 205 is controlled to output water; at this time, the switch monitoring unit 206 monitors that the water outlet switch 205 is in an open state; the switch monitoring unit 206 sends the monitoring result that the water outlet switch 205 is in the open state to the electronic control unit 201; the electronic control unit 201 triggers the human body induction sensor 204 to monitor whether the user leaves the water purifier 200 in real time according to the monitoring result of the opening state; when the electronic control unit 201 receives the human body sensing signal of the user collected by the human body sensing sensor 204, the electronic control unit 201 does not do any action, that is, the water outlet switch 205 is normally turned on and continues to provide water for the user; when the electronic control unit 201 receives the human body sensing signal sent by the human body sensing sensor 204 and not collected by the user (i.e., the user has left the water purifier 200), the electronic control unit 201 triggers a timing unit (not shown in fig. 3) in the water purifier 200 to record the water outlet time of the water outlet switch after the user leaves the water purifier 200.
Illustratively, when the water outlet switch is closed, the water inlet flow is detected; when the water inlet flow is not zero, closing a water inlet switch; and when the water inlet flow is zero, determining not to close the water inlet switch. For example, when the switch monitoring unit 206 detects that the water outlet switch 205 is turned off, if the water flow sensor 203 detects that there is water inlet flow (i.e., the water inlet flow is not zero) at the water inlet switch (e.g., the water inlet solenoid valve 202), it indicates that the water purifier 200 may be used for a long time to cause water leakage from the inner sealing structure; at this time, the water purifier 200 turns off the water inlet switch to avoid water waste. When the switch monitoring unit 206 detects that the water outlet switch 205 is turned off, if the water flow sensor 203 does not detect the water inlet flow at the water inlet switch (i.e., the water inlet flow is zero), it indicates that the water purifier 200 is not abnormal and can provide water for the user normally. Therefore, in this embodiment, when the water outlet switch 205 is turned off, if the water purifier 200 detects that there is water flow at the water inlet switch, it indicates that the water purifier 200 may have an excessively long service life and cause internal water leakage, and at this time, the water purifier 200 turns off the water inlet switch to avoid water resource waste and user property loss; when the water purifier 200 detects that the water outlet switch 205 is turned off and does not detect that the water inlet switch has water inlet flow, the water purifier 200 is in a normal state, and the water purifier 200 determines not to turn off the water inlet switch, so that a user can conveniently use the water purifier 200 to take water subsequently.
Illustratively, when the inflow water flow is not zero, closing the inflow water switch comprises: and when the water inlet flow is not zero and the duration time of the water inlet flow is greater than or equal to a second preset time, closing the water inlet switch. For example, when the switch monitoring unit 206 detects that the water outlet switch 205 is closed, if the water flow sensor 203 detects that there is water inlet flow (i.e. the water inlet flow is not zero) at the water inlet switch (e.g. the water inlet solenoid valve 202), the electronic control unit 201 triggers a timing unit (not shown in fig. 3) in the water purifier 200 to record the duration of the water inlet flow at the water inlet switch; if the duration of the inflow is greater than or equal to a second preset time (for example, the second preset time is 10 seconds), it indicates that the water purifier with the water storage tank is actually leaking water instead of the water inlet switch, and at this time, the electronic control unit 201 turns off the water inlet switch.
Because some water purifiers 200 contain water storage tanks inside, after the user receives water, the electronic control unit 201 fills the water storage tanks with water, so that the user can receive water for the next time; therefore, after the user finishes taking water and turns off the water outlet switch 205, the water inlet switch may fill the water storage tank with water within a second preset time period. The second preset time is the maximum time for the water inlet switch to continuously feed water after the water outlet switch is turned off; the second preset time may be set according to an application scenario of the actual water purifier 200. For example, the water purifier 200 is a household water purifier, the second preset time is set to 3 seconds, if the household water purifier has no water storage tank (that is, the user takes water and the water inlet switch continuously feeds water into the water pipe inside the household water purifier in real time, the water inlet switch has water flow when the user closes the water outlet switch 205 within three seconds, and it may be that the user does not close the water outlet switch 205 tightly or the internal sealing structure of the household water purifier leaks water; at this time, the household water purifier waits for 3 seconds (i.e., a second preset time) to wait for the user to process; if the user has not treated the water after 3 seconds, the electronic control unit 201 in the household water purifier will force the water inlet switch to be closed.
For another example, if the household water purifier has a water storage tank and the second preset time is 5 seconds, after the user finishes taking water and closes the water outlet switch 205, the electronic control unit 201 controls the water inlet switch to fill the water storage tank with water within five seconds after the user closes the water outlet switch 205; at this time, even if the water flow sensor 203 detects that there is water flow at the water inlet switch (for example, the water inlet solenoid valve 202) within five seconds after the water outlet switch 205 is turned off, the electronic control unit 201 will not control the water inlet switch to be turned off; after five seconds, if the water flow sensor 203 can still detect that water flow exists at the water inlet switch, the water leakage phenomenon possibly exists in the sealing structure inside the household water purifier; at this time, the electronic control unit 201 in the household water purifier turns off the water inlet switch.
As can be seen, the water inlet switch is determined to be turned off only when the water purifier 200 detects that the duration of the water inlet flow is greater than or equal to the second preset time; the water inlet switch is closed immediately instead of detecting the water inlet flow at the water inlet switch, so that the accuracy of water leakage detection is improved.
Illustratively, when the water inlet switch is closed, a second alarm message is displayed. The second alarm information is used for showing that the water inlet switch of the water purifier 200 is closed and the user can not discharge water when pressing the water taking switch; and the processing method for releasing the second alarm information is displayed to the user. The second alarm information comprises intelligent voice alarm information, sound alarm information, character alarm information, photoelectric alarm information or a combination of the intelligent voice alarm information, the sound alarm information, the character alarm information and the photoelectric alarm information, and the specific form of the second alarm information is not limited by the application. For example, when the water outlet switch 205 is turned off, the electronic control unit 201 turns off the water inlet solenoid valve 202 according to the detection result of the water flow sensor 203, and at the same time, the electronic control unit 201 controls the audible and visual alarm 207 to emit an alarm sound and flash a red alarm signal to inform the user that water leakage occurs inside the water purifier 200 and the water inlet solenoid valve 202 is forcibly turned off, so that the user can handle the water leakage situation in time, thereby improving the user experience.
Illustratively, a restart instruction is received; removing the second alarm information according to the restart instruction; receiving a water getting instruction; and opening a water outlet switch according to the water taking instruction. For example, after the electronic control unit 201 closes the water inlet electromagnetic valve 202 and sends the second alarm information to the user, the user needs to cancel the second alarm information according to the processing method for canceling the second alarm information prompted by the second alarm information when the user gets water next time; for example, the processing method for releasing the second alarm information is as follows: the user needs to press a restart button of the water purifier 200; after the water purifier 200 receives the restart instruction, the water purifier 200 is restarted to remove the second alarm information; after the water purifier 200 is restarted, the water inlet switch is turned on; after the water purifier is restarted successfully, the user needs to press the water taking switch again to send a water taking instruction to the water purifier 200; at this time, the water purifier 200 controls the water outlet switch 205 to be turned on according to the water intake command to supply water again to the user. Therefore, the embodiment can provide water for the user temporarily under the condition that the water leakage in the water purifier 200 is not eliminated, thereby improving the user experience.
And S103, recording the water outlet time when the user is not detected.
Illustratively, when the user presses the water intake switch of the water purifier 200, the electronic control unit 201 controls the water outlet switch 205 to discharge water according to the water intake instruction of the user; at this time, the switch monitoring unit 206 monitors that the water outlet switch 205 is in an open state; the switch monitoring unit 206 sends the monitoring result that the water outlet switch 205 is in the open state to the electronic control unit 201; the electronic control unit 201 triggers the human body induction sensor 204 to monitor whether the user leaves the water purifier 200 in real time according to the monitoring result of the opening state; when the electronic control unit 201 receives a human body induction signal sent by the human body induction sensor 204 and not collected by the user (i.e., the user has left the water purifier 200), the electronic control unit 201 triggers a timing unit (not shown in fig. 3) in the water purifier 200 to record the water outlet time of the water outlet switch 205 (i.e., the time when the user leaves the water purifier 200); the electronic control unit 201 further determines whether the water outlet switch 205 needs to be turned off according to the water outlet time. The water intake switch may be in the form of a water intake button switch, a touch switch, or a mechanical switch, which is not limited in this application.
And S104, when the water outlet time is greater than or equal to the first preset time, closing the water outlet switch.
Illustratively, when the electronic control unit 201 triggers the timing unit in the water purifier 200 to record that the water outlet time of the water outlet switch 205 is greater than or equal to a first preset time, it indicates that the user forgets to close the water outlet switch 205 after water taking is finished or forgets to return to close the water outlet switch 205 after the user leaves the water purifier 200 in the middle of water taking; at this time, the electronic control unit 201 in the water purifier 200 forcibly turns off the water outlet switch 205. The first preset time refers to the maximum time for the water outlet switch 205 to continuously discharge water after the user leaves the water purifier; the first preset time may be set according to an application scenario of the actual water purifier 200. For example, the water purifier 200 is a small water purifier a; the first preset time is 3 seconds; when the small water purifier A detects that the water outlet switch 205 is opened, whether a user exists around the water purifier A or not is immediately detected; if no user exists, the user may forget to close the water outlet switch 205 after water receiving is finished or the user puts the water receiving container under the water outlet switch 205 to receive water, something goes away; at this time, the water purifier 200 records the water outlet time of the water outlet switch 205 after the user leaves; for example, the water outlet time is 5 seconds, the water outlet time 5 seconds is greater than the first preset time 3 seconds, and if the user does not return to the water purifier a to close the water outlet switch 205, it indicates that the user forgets to close the water outlet switch 205 after receiving water or forgets to place the water receiving container under the water purifier a to receive water, and at this time, the water purifier a immediately closes the water outlet switch 205, so as to further reduce the waste of water resources.
Illustratively, when the water outlet time is greater than or equal to a first preset time, first alarm information is displayed. The first alarm information is used for showing to a user that the water outlet switch 205 of the water purifier 200 is forcibly turned off; the first alarm information is used for informing a user that the water outlet switch 205 is not closed after the last water taking is finished; above-mentioned first alarm information includes intelligent pronunciation alarm information, sound alarm information, characters alarm information, photoelectricity alarm information or the combination between them, and this application does not limit to the concrete form of first alarm information. For example, when the water outlet switch 205 is turned on and the user leaves the water purifier 200, the electronic control unit 201 triggers a timer unit in the water purifier 200 to record the water outlet time of the water outlet switch 205; when the electronic control unit 201 determines that the water outlet time is greater than or equal to the first preset time, it indicates that the user forgets to turn off the water outlet switch 205 after water taking is finished or the user forgets to turn back to turn off the water outlet switch 205 after the user leaves the empty water cup under the water purifier 200; at this time, the electronic control unit 201 in the water purifier 200 closes the water outlet switch 205, and at the same time, the electronic control unit 201 controls the audible and visual alarm 207 to emit an alarm sound and flash a red light alarm signal to remind the user to close the faucet next time or remind the user to take the water cup away in time, thereby improving the user experience.
Illustratively, receiving a water fetch instruction; and removing the first alarm information according to the water taking instruction, and starting a water outlet switch. For example, after the electronic control unit 201 turns off the water outlet switch 205 and sends the first alarm information to the user, the user can see the first alarm information when getting water next time, and know that the last water getting forgets to turn off the water outlet switch 205, so that the water purifier 200 forcibly turns off the water outlet switch 205, so as to remind him to turn off the water outlet switch 205 after the water getting is finished this time. In addition, the user can get water next time, as long as press the water intaking switch and just can remove first alarm information to direct water intaking and need not restart water purifier 200, thereby improve user experience.
And S105, when the water outlet time is less than the first preset time, determining not to close the water outlet switch.
Illustratively, when the timing unit in the water purifier 200 records that the water outlet time of the water outlet switch 205 is less than the first preset time, the water purifier 200 continues to provide water for the user to wait for the user to turn off the water outlet switch 205, instead of forcibly turning off the water outlet switch 205 immediately upon the user leaving the water purifier 200; because it is possible that the user puts the water receiving container below the delivery port of water switch 205 and receives water, oneself leaves a moment in other words, want to continue to let water purifier 200 give the water receiving container water injection during leaving rather than just finishing getting water when oneself leaves the water purifier, it follows that this embodiment can continue to provide the water for the user in this period that the user left to user experience has been improved.
Exemplarily, the method is applied to a water purifier, the method further comprising: detecting whether the water purifier is in a normal working state; detecting the state of the water switch, comprising: when the water purifier is in a normal working state, the state of the water switch is detected. For example, the switch monitoring unit 206 in the water purifier 200 monitors the on and off states of the water outlet switch 205 only when the water purifier 200 is operating normally (i.e., when the water outlet switch 205 is turned on to provide water to the user), and the switch monitoring unit 206 does not monitor the state of the water outlet switch 205 when the water purifier 200 is in the standby state, thereby reducing the power consumption of the water purifier 200.
In summary, when the water purifier 200 detects that the water outlet switch 205 is turned on, it is detected whether a user exists around the water purifier 200; if no user exists, the user leaves the water purifier 200, and at this time, the user may complete the task of getting water, or may leave the water purifier 200 with an empty cup. The water purifier 200 may record the water discharge time of the water discharge switch 205 after the user leaves; when the water outlet time is greater than or equal to the first preset time, the water purifier 200 closes the water outlet switch 205, so that water resource waste can be reduced in a scene that a user finishes a water taking task; when the water outlet time is less than the first preset time, the water purifier 200 does not close the water outlet switch 205 and continues to provide water for the user, and the waiting time for the user to take water can be reduced in the scene that the user leaves the empty water cup under the water purifier 200, so that the comprehensive effects of reducing water resource waste and improving water taking efficiency are achieved.
For ease of understanding, the overall flow steps of the method for water leakage monitoring provided by the present application are exemplified below with reference to fig. 3.
Step 1: the user energizes the water purifier to make the water purifier in a state of being normally operable.
Step 2: when a user gets water from the water purifier, the water getting switch is pressed, and after the electronic control unit in the water purifier receives a water getting instruction, the trigger switch monitoring unit monitors whether the water outlet switch is opened or not (namely, monitors the opening or closing state of the water outlet switch).
And step 3: when the switch monitoring unit monitors that the water outlet switch is opened, executing the steps (4) to (5); and (5) when the switch monitoring unit monitors that the water outlet switch is closed, executing the steps (6) to (8).
And 4, step 4: after receiving the water taking instruction, an electronic control unit in the water purifier can trigger a human body induction sensor to detect whether a user leaves the water purifier or not when taking water; when the human body induction sensor induces that the user is near the water purifier, water is continuously supplied to the user; when the human body induction sensor induces that the user is not near the water purifier, the electronic control unit triggers the timing unit to record the water outlet time of the water outlet switch after the user leaves.
And 5: when the water outlet time is greater than or equal to a first alarm time (namely a first preset time), the electronic control unit closes the water outlet switch and displays first alarm information to a user; when the water outlet time is less than the alarm time (for example, the first preset time), the water purifier continues to provide water for the user.
Step 6: when the switch monitoring unit monitors that the water outlet switch is closed, the electronic control unit monitors whether the water flow switch (namely the water flow sensor) detects water flow.
And 7: when the electronic control unit monitors that the water flow switch displays that the water flow is not zero, the electronic control unit triggers the timing unit to record the water inlet time at the water inlet switch.
And 8: when the water inlet time is greater than or equal to a second alarm time (namely a second preset time), the electronic control unit closes the water inlet switch and displays second alarm information to a user; and when the water inlet time is less than the second alarm time (namely the second preset time), the water purifier continues to provide water for the user.
Fig. 4 shows a schematic structural diagram of an electronic device provided in the present application. The dashed lines in fig. 4 indicate that the unit or the module is optional. The electronic device 400 may be used to implement the methods described in the method embodiments above. The electronic device 400 may be a terminal device or a chip.
The electronic device 400 includes one or more processors 401, and the one or more processors 401 may support the electronic device 400 to implement the method in the method embodiment corresponding to fig. 1. The processor 401 may be a general purpose processor or a special purpose processor. For example, processor 401 may be a Central Processing Unit (CPU). The CPU may be configured to control the electronic device 400, execute software programs, and process data of the software programs. The electronic device 400 may further comprise an alarm unit 405 for emergency warning of a fault condition.
For example, the electronic device 400 may be a chip, and the alarm unit 405 may be one of a screen, a flash, a buzzer, and a speaker, or a combination of multiple ones of the screen, the flash, the buzzer, and the speaker.
The electronic device 400 may include one or more memories 402, on which programs 404 are stored, and the programs 404 may be executed by the processor 401 to generate instructions 403, so that the processor 401 may execute the method described in the above method embodiments according to the instructions 403. Optionally, data may also be stored in the memory 402. Alternatively, the processor 401 may also read data stored in the memory 402, the data may be stored at the same memory address as the program 404, and the data may be stored at a different memory address from the program 404.
The processor 401 and the memory 402 may be provided separately or integrated together, for example, On a System On Chip (SOC) of the electronic device.
The specific manner in which the processor 401 executes the method for monitoring for water leaks can be seen in the description related to the method embodiments.
It should be understood that the steps of the above-described method embodiments may be performed by logic circuits in the form of hardware or instructions in the form of software in the processor 401. The Processor 401 may be a CPU, a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or other Programmable logic device, such as discrete gates, transistor logic, or discrete hardware components.
The application also provides a computer program product which, when executed by a processor 401, implements the method according to any of the method embodiments of the application.
The computer program product may be stored in the memory 402, for example, as a program 404, and the program 404 is finally converted into an executable object file capable of being executed by the processor 401 through preprocessing, compiling, assembling, and linking.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a computer, implements the method of any of the method embodiments of the present application. The computer program may be a high-level language program or an executable object program.
Such as memory 402. Memory 402 may be either volatile memory or nonvolatile memory, or memory 402 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous dynamic random access memory (DDR SDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM).
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes and the generated technical effects of the above-described apparatuses and devices may refer to the corresponding processes and technical effects in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the disclosed system, apparatus and method may be implemented in other ways. For example, some features of the method embodiments described above may be omitted, or not performed. The above-described embodiments of the apparatus are merely exemplary, the division of the unit is only one logical function division, and there may be other division ways in actual implementation, and a plurality of units or components may be combined or integrated into another system. In addition, the coupling between the units or the coupling between the components may be direct coupling or indirect coupling, and the coupling includes electrical, mechanical or other connections.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same. Although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: it is to be understood that modifications may be made to the above-described embodiments, or equivalents may be substituted for some of the features of the embodiments, and such modifications or substitutions are not to be construed as essential to the spirit and scope of the embodiments of the present invention.

Claims (10)

1. A method of monitoring for water leaks, the method comprising:
detecting the state of a water switch;
when the water outlet switch is in an open state, detecting whether a user exists or not;
when the user is not detected, recording the water outlet time;
when the water outlet time is greater than or equal to a first preset time, closing the water outlet switch;
and when the water outlet time is less than the first preset time, determining not to close the water outlet switch.
2. The method of claim 1, further comprising:
when the water outlet switch is closed, detecting the water inlet flow;
when the water inlet flow is not zero, closing a water inlet switch;
and when the water inlet flow is zero, determining not to close the water inlet switch.
3. The method of claim 2, wherein said closing a water inlet switch when said inlet flow is not zero comprises:
and when the water inlet flow is not zero and the duration time of the water inlet flow is greater than or equal to a second preset time, closing the water inlet switch.
4. The method of claim 1, further comprising:
and when the water outlet time is greater than or equal to a first preset time, displaying first alarm information.
5. The method of claim 4, further comprising:
receiving a water getting instruction;
and removing the first alarm information according to the water taking instruction, and starting the water outlet switch.
6. The method of claim 2 or 3, further comprising:
and when the water inlet switch is closed, displaying second alarm information.
7. The method of claim 6, further comprising:
receiving a restart instruction;
removing the second alarm information according to the restart instruction;
receiving a water getting instruction;
and opening the water outlet switch according to the water taking instruction.
8. The method according to any one of claims 1 to 5, applied to a water purifier, further comprising:
detecting whether the water purifier is in a normal working state or not;
the detecting the state of the water switch comprises:
and when the water purifier is in a normal working state, detecting the state of the water outlet switch.
9. An electronic device, comprising a processor and a memory, the memory storing a computer program, the processor being configured to invoke and run the computer program from the memory, such that the electronic device performs the method of any of claims 1 to 8.
10. A computer-readable storage medium, in which a computer program is stored which, when executed by a processor, causes the processor to carry out the method of any one of claims 1 to 8.
CN202111470410.9A 2021-12-03 2021-12-03 Method for monitoring water leakage and electronic equipment Pending CN114360220A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111470410.9A CN114360220A (en) 2021-12-03 2021-12-03 Method for monitoring water leakage and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111470410.9A CN114360220A (en) 2021-12-03 2021-12-03 Method for monitoring water leakage and electronic equipment

Publications (1)

Publication Number Publication Date
CN114360220A true CN114360220A (en) 2022-04-15

Family

ID=81097308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111470410.9A Pending CN114360220A (en) 2021-12-03 2021-12-03 Method for monitoring water leakage and electronic equipment

Country Status (1)

Country Link
CN (1) CN114360220A (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201731981U (en) * 2009-11-05 2011-02-02 无锡职业技术学院 Water tank leakage alarm
CN201834773U (en) * 2010-08-09 2011-05-18 深圳安吉尔饮水产业集团有限公司 Water leakage protection system for water purification machine
CN202547892U (en) * 2012-02-03 2012-11-21 方曙光 Device for detecting pipeline water leakage
CN104949805A (en) * 2014-12-03 2015-09-30 佛山市云米电器科技有限公司 Water leakage detection method and apparatus
CN105485399A (en) * 2014-09-19 2016-04-13 汤仁民 Intelligent faucet control device
CN205424073U (en) * 2015-12-06 2016-08-03 董熙荣 Leak water alarming tap
CN205479636U (en) * 2016-03-30 2016-08-17 台州市米诺特洁具有限公司 Water tap
CN107940762A (en) * 2016-10-12 2018-04-20 青岛经济技术开发区海尔热水器有限公司 A kind of leakage detection method for water heater and water heater
CN108105450A (en) * 2017-12-16 2018-06-01 浙江倍世环境科技有限公司 Ultrasonic wave water leakage monitoring protector and its monitoring method
CN207501467U (en) * 2017-12-01 2018-06-15 广东万家乐燃气具有限公司 A kind of leak water detdction control system and safety-type water heater
CN207852048U (en) * 2017-12-20 2018-09-11 新智数字科技有限公司 Water leakage alarm system
CN208747697U (en) * 2018-07-05 2019-04-16 龙口市海丰环境科技工程有限公司 Household water treatment centers
CN111735204A (en) * 2020-08-12 2020-10-02 宁波方太厨具有限公司 Water inlet joint and gas water heater comprising same
CN111981699A (en) * 2020-08-18 2020-11-24 海信(广东)厨卫系统有限公司 Water heater and control method
US20210215568A1 (en) * 2018-06-11 2021-07-15 Hitachi, Ltd. Water leakage detection method, water leakage detection apparatus, and vibration sensor terminal

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201731981U (en) * 2009-11-05 2011-02-02 无锡职业技术学院 Water tank leakage alarm
CN201834773U (en) * 2010-08-09 2011-05-18 深圳安吉尔饮水产业集团有限公司 Water leakage protection system for water purification machine
CN202547892U (en) * 2012-02-03 2012-11-21 方曙光 Device for detecting pipeline water leakage
CN105485399A (en) * 2014-09-19 2016-04-13 汤仁民 Intelligent faucet control device
CN104949805A (en) * 2014-12-03 2015-09-30 佛山市云米电器科技有限公司 Water leakage detection method and apparatus
CN205424073U (en) * 2015-12-06 2016-08-03 董熙荣 Leak water alarming tap
CN205479636U (en) * 2016-03-30 2016-08-17 台州市米诺特洁具有限公司 Water tap
CN107940762A (en) * 2016-10-12 2018-04-20 青岛经济技术开发区海尔热水器有限公司 A kind of leakage detection method for water heater and water heater
CN207501467U (en) * 2017-12-01 2018-06-15 广东万家乐燃气具有限公司 A kind of leak water detdction control system and safety-type water heater
CN108105450A (en) * 2017-12-16 2018-06-01 浙江倍世环境科技有限公司 Ultrasonic wave water leakage monitoring protector and its monitoring method
CN207852048U (en) * 2017-12-20 2018-09-11 新智数字科技有限公司 Water leakage alarm system
US20210215568A1 (en) * 2018-06-11 2021-07-15 Hitachi, Ltd. Water leakage detection method, water leakage detection apparatus, and vibration sensor terminal
CN208747697U (en) * 2018-07-05 2019-04-16 龙口市海丰环境科技工程有限公司 Household water treatment centers
CN111735204A (en) * 2020-08-12 2020-10-02 宁波方太厨具有限公司 Water inlet joint and gas water heater comprising same
CN111981699A (en) * 2020-08-18 2020-11-24 海信(广东)厨卫系统有限公司 Water heater and control method

Similar Documents

Publication Publication Date Title
US5004014A (en) Automatic fluid flow sensor and fluid shut-off system
CN110432778A (en) Control method, device, water dispenser and the machine readable storage medium of water dispenser
US20170009435A1 (en) Shower head water regulator
WO2018192258A1 (en) Water heater control method and device, water heater, and control system
CN106859337A (en) A kind of intelligent drinking-water system
CN108317740A (en) A kind of energy conservation and environmental protection shower
CN111265165A (en) Control method and device of dish washing machine, storage medium and dish washing machine
CN114360220A (en) Method for monitoring water leakage and electronic equipment
CN108507178A (en) A kind of energy-saving bathing equipment
CN208429881U (en) A kind of water purifier and water purifier control system
CN111578524A (en) Liquid storage tank sterilization control method and device and water heater
CN208183857U (en) A kind of water saving fixtures efficiently utilized
US6161557A (en) Method and apparatus for washing manufacturing line of drink or the like
CN204883265U (en) House water intelligent management device
CN104422138B (en) Water heater and its control method
CN208561728U (en) Purifier
JP5717260B1 (en) Water storage system and water storage amount control method
CN205424073U (en) Leak water alarming tap
CN207035500U (en) A kind of gas heater water outlet cold-hot separator
CN106247623B (en) Hot water machine and its control method
CN109059301A (en) The control method of instant electric water heater, electronic equipment, storage medium
CN103264023A (en) Box body water drainage control device and method for rubber plug or aluminum cap cleaning machine
CN206360027U (en) It is electromagnetically shielded the supply and drain water system electromagnetic protective device of building structure
CN218146007U (en) Cooling water treatment agent supplementing system
CN220352437U (en) STM 32-based liquid medicine consumption statistics system for commercial washing machine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination