CN111830852A - Water purifier control method, water purifier and computer readable storage medium - Google Patents
Water purifier control method, water purifier and computer readable storage medium Download PDFInfo
- Publication number
- CN111830852A CN111830852A CN201910307225.4A CN201910307225A CN111830852A CN 111830852 A CN111830852 A CN 111830852A CN 201910307225 A CN201910307225 A CN 201910307225A CN 111830852 A CN111830852 A CN 111830852A
- Authority
- CN
- China
- Prior art keywords
- faucet
- water purifier
- water
- state
- service life
- 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
Links
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 title claims abstract description 282
- 238000000034 method Methods 0.000 title claims abstract description 56
- 230000008859 change Effects 0.000 claims abstract description 38
- 239000007787 solid Substances 0.000 claims description 47
- 239000008213 purified water Substances 0.000 claims description 7
- 230000006870 function Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 9
- 238000000746 purification Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 230000035622 drinking Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- C—CHEMISTRY; METALLURGY
- C02—TREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
- C02F—TREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
- C02F1/00—Treatment of water, waste water, or sewage
- C02F1/001—Processes for the treatment of water whereby the filtration technique is of importance
-
- C—CHEMISTRY; METALLURGY
- C02—TREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
- C02F—TREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
- C02F1/00—Treatment of water, waste water, or sewage
- C02F1/008—Control or steering systems not provided for elsewhere in subclass C02F
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25257—Microcontroller
Landscapes
- Engineering & Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Hydrology & Water Resources (AREA)
- Environmental & Geological Engineering (AREA)
- Water Supply & Treatment (AREA)
- Chemical & Material Sciences (AREA)
- Organic Chemistry (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Water Treatment By Sorption (AREA)
Abstract
The invention discloses a water purifier control method, which comprises the following steps: acquiring state information of a high-pressure switch of the water purifier, wherein the high-pressure switch is communicated with a water faucet through a pipeline; determining whether a state change exists in the high-voltage switch currently based on the state information; when the current state of the high-pressure switch is changed, a control instruction corresponding to the state change is sent to the faucet, so that the faucet controls a display module of the faucet based on the control instruction. The invention also discloses a water purifier and a computer readable storage medium. The invention can control the starting or closing of the faucet display module according to the opening or closing of the faucet, so that the display function of the faucet is started in time after the faucet is opened, or the display function of the faucet is closed in time after the faucet is closed, and the user experience is improved.
Description
Technical Field
The invention relates to the technical field of water purification, in particular to a water purifier control method, a water purifier and a computer readable storage medium.
Background
Along with the continuous improvement of living standard, people's demand for quality of life is higher and higher for kitchen supplies that have water purification effect such as purifier have walked into thousands of households.
At present, most of water faucets are mechanical switches for controlling water outlet, and electronic water faucets with display functions and mechanical switches cannot directly convert control valve core switches of the mechanical switches into electric signals, so that control panels of the water faucets cannot directly obtain the switch states of the water faucets, the start and stop of the display functions cannot be controlled according to the switch states of the water faucets, the display functions of the water faucets are still operated after the water faucets are closed, or the display functions are not started and information cannot be displayed after the water faucets are opened.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a water purifier control method, a water purifier and a computer readable storage medium, and aims to solve the technical problem that the existing water purifier faucet cannot control the starting and stopping of a display function according to the on-off state of the faucet.
In order to achieve the above object, the present invention provides a water purifier control method, including the following steps:
acquiring state information of a high-pressure switch of the water purifier, wherein the high-pressure switch is communicated with a water faucet through a pipeline;
determining whether a state change exists in the high-voltage switch currently based on the state information;
when the current state of the high-pressure switch is changed, a control instruction corresponding to the state change is sent to the faucet, so that the faucet controls a display module of the faucet based on the control instruction.
Further, when there is a current state change of the high-voltage switch, the step of sending a control instruction corresponding to the state change to the faucet so that the faucet controls a display module of the faucet based on the control instruction includes:
when the state of the high-voltage switch is changed currently, determining whether the high-voltage switch is in an open state currently or not based on the state information;
and when the high-voltage switch is in an on state currently, sending a starting instruction to the water faucet so that the water faucet controls the display module to be powered on and started based on the starting instruction.
Further, after the step of determining whether the state of the high-voltage switch is changed currently, the method for controlling the water purifier further comprises the following steps:
when the high-pressure switch is in a closed state, a closing instruction is sent to the water faucet, so that the water faucet controls the display module to be closed based on the closing instruction.
Further, after the step of sending a bright screen control instruction to the faucet so that the faucet controls the display module to be powered on and started based on the bright screen control instruction, the control method of the water purifier further includes:
acquiring current service life information of a filter element of the water purifier;
determining whether the remaining service life of the filter element is greater than a preset service life based on the service life information;
and when the residual service life is longer than the preset service life, sending the residual service life to the faucet so that the faucet displays the residual service life on the display module.
Further, after the step of determining whether the remaining service life of the filter element is greater than the preset service life, the control method of the water purifier further includes:
and when the residual service life is less than or equal to the preset service life, sending first prompt information for replacing the filter element to the faucet so that the faucet displays the first prompt information on the display module.
Further, after the step of sending a bright screen control instruction to the faucet so that the faucet controls the display module to be powered on and started based on the bright screen control instruction, the control method of the water purifier further includes:
when the high-voltage switch is in an on state currently, acquiring a first total amount of soluble solids of raw water corresponding to the faucet within a preset time interval;
and sending the first total dissolved solids to the water faucet so that the water faucet displays the first total dissolved solids and second prompt information on the display module.
Further, after the step of sending the first total amount of dissolved solids to the faucet, the method for controlling the water purifier further comprises:
when the duration of the on state of the high-voltage switch reaches the preset time interval, acquiring the total amount of second soluble solids of the purified water in the water purifier in real time;
and sending the second total dissolved solids to the faucet so that the faucet displays the second total dissolved solids and third prompt information on the display module.
Further, after the step of sending the control instruction corresponding to the state change to the faucet, the water purifier control method further includes:
when the state of the high-voltage switch changes and the high-voltage switch is in an open state, controlling a booster pump of the water purifier to start;
and when the high-voltage switch has a state change at present and is in a closed state at present, controlling a booster pump of the water purifier to be closed.
In addition, to achieve the above object, the present invention further provides a water purifier, including: the control method comprises a memory, a processor and a water purifier control program which is stored on the memory and can run on the processor, wherein the water purifier control program realizes the steps of the water purifier control method when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer-readable storage medium, wherein a water purifier control program is stored on the computer-readable storage medium, and the water purifier control program, when executed by a processor, implements the steps of the water purifier control method described above.
According to the invention, the state information of a high-voltage switch of the water purifier is acquired, wherein the high-voltage switch is communicated with a water faucet through a pipeline, and then whether the state of the high-voltage switch is changed currently is determined based on the state information; when the high-pressure switch has a current state change, the control instruction corresponding to the state change is sent to the faucet, so that the faucet controls the display module of the faucet based on the control instruction, the state change of the high-pressure switch is inevitably caused by the opening or closing of the faucet, and the starting or the closing of the faucet display module can be controlled according to the opening or the closing of the faucet, so that the display function of the faucet is started in time after the faucet is opened, or the display function of the faucet is closed in time after the faucet is closed, and the user experience is improved.
Drawings
Fig. 1 is a schematic structural diagram of a water purifier in a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating a water purifier control method according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a water purifier in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the water purifier may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display module (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the water purifier configuration shown in FIG. 1 does not constitute a limitation of the water purifier and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is one type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a water purifier control program.
In the water purifier shown in fig. 1, the network interface 1004 is mainly used for connecting a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and processor 1001 may be configured to invoke a water purifier control program stored in memory 1005.
In this embodiment, the water purifier control device includes: a memory 1005, a processor 1001, and a water purifier control program stored in the memory 1005 and executable on the processor 1001, wherein the processor 1001, when calling the water purifier control program stored in the memory 1005, performs the following operations:
acquiring state information of a high-pressure switch of the water purifier, wherein the high-pressure switch is communicated with a water faucet through a pipeline;
determining whether a state change exists in the high-voltage switch currently based on the state information;
when the current state of the high-pressure switch is changed, a control instruction corresponding to the state change is sent to the faucet, so that the faucet controls a display module of the faucet based on the control instruction.
Further, processor 1001 may call a water purifier control program stored in memory 1005, and also perform the following operations:
when the state of the high-voltage switch is changed currently, determining whether the high-voltage switch is in an open state currently or not based on the state information;
and when the high-voltage switch is in an on state currently, sending a starting instruction to the water faucet so that the water faucet controls the display module to be powered on and started based on the starting instruction.
Further, processor 1001 may call a water purifier control program stored in memory 1005, and also perform the following operations:
when the high-pressure switch is in a closed state, a closing instruction is sent to the water faucet, so that the water faucet controls the display module to be closed based on the closing instruction.
Further, processor 1001 may call a water purifier control program stored in memory 1005, and also perform the following operations:
acquiring current service life information of a filter element of the water purifier;
determining whether the remaining service life of the filter element is greater than a preset service life based on the service life information;
and when the residual service life is longer than the preset service life, sending the residual service life to the faucet so that the faucet displays the residual service life on the display module.
Further, processor 1001 may call a water purifier control program stored in memory 1005, and also perform the following operations:
and when the residual service life is less than or equal to the preset service life, sending first prompt information for replacing the filter element to the faucet so that the faucet displays the first prompt information on the display module.
Further, processor 1001 may call a water purifier control program stored in memory 1005, and also perform the following operations:
when the high-voltage switch is in an on state currently, acquiring a first total amount of soluble solids of raw water corresponding to the faucet within a preset time interval;
and sending the first total dissolved solids to the water faucet so that the water faucet displays the first total dissolved solids and second prompt information on the display module.
Further, processor 1001 may call a water purifier control program stored in memory 1005, and also perform the following operations:
when the duration of the on state of the high-voltage switch reaches the preset time interval, acquiring the total amount of second soluble solids of the purified water in the water purifier in real time;
and sending the second total dissolved solids to the faucet so that the faucet displays the second total dissolved solids and third prompt information on the display module.
Further, processor 1001 may call a water purifier control program stored in memory 1005, and also perform the following operations:
when the state of the high-voltage switch changes and the high-voltage switch is in an open state, controlling a booster pump of the water purifier to start;
and when the high-voltage switch has a state change at present and is in a closed state at present, controlling a booster pump of the water purifier to be closed.
The invention also provides a water purifier control method, and referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the water purifier control method of the invention.
According to the invention, the water faucet is provided with the mechanical switch, and the booster pump is arranged in the water purifier, so that when the mechanical switch of the water faucet is closed, namely the water faucet is changed from an open state to a closed state, the booster pump is still in a working state, the pressure in the water purifier is released everywhere, when the pressure reaches a certain value, the high-pressure switch is closed, and after a signal of closing the high-pressure switch is acquired by the water purifier, the water purifier can accurately judge that the water faucet is currently in the closed state. When tap mechanical switch opened, when the tap changed into the open mode by the closure state promptly, the pressure in the water purifier can consequently release for high-voltage switch opens, and when the signal that high-voltage switch opened was gathered to the purifier, can accurately judge that tap is in the open mode at present.
In this embodiment, the method for controlling the water purifier includes the following steps:
step S110, acquiring state information of a high-pressure switch of the water purifier, wherein the high-pressure switch is communicated with a water faucet through a pipeline;
in this embodiment, the water purifier obtains state information of a high-voltage switch of the water purifier in real time, where the state information includes a closed state and an open state, and the state information includes a current state of the high-voltage switch, or the state information includes the current state of the high-voltage switch and a state within a preset time before the current time of the high-voltage switch, for example, a state within 1S before the current time.
Step S120, determining whether the state of the high-voltage switch is changed currently or not based on the state information;
in this embodiment, when state information of the high-voltage switch is acquired, whether a state change exists in the high-voltage switch currently is determined according to the state information, wherein when the state information includes a current state of the high-voltage switch, whether the state change exists in the high-voltage switch currently is determined based on the state information and state information before the high-voltage switch received before the current time, and when the state information includes the current state of the high-voltage switch and a state within a preset time period before the current time of the high-voltage switch, whether the state change exists in the high-voltage switch currently is directly determined according to the state information.
The state change means that the high-voltage switch is switched from a closed state to an open state or from the open state to the closed state.
Step S130, when the state of the high-voltage switch is changed currently, sending a control instruction corresponding to the state change to the faucet, so that the faucet controls a display module of the faucet based on the control instruction.
In this embodiment, if there is a state change in the high-pressure switch, a control instruction corresponding to the state change is sent to the faucet at the water purifier, so that the faucet controls the display module of the faucet based on the control instruction.
Specifically, when the high-voltage switch is changed in state currently and is in an open state currently, the water purifier sends a starting instruction to the water faucet so that the water faucet controls the display module to be powered on and started based on the starting instruction, and when the high-voltage switch is changed in state currently and is in a closed state currently, a closing instruction is sent to the water faucet so that the water faucet controls the display module to be closed based on the closing instruction.
According to the control method of the water purifier, the state information of a high-pressure switch of the water purifier is acquired, wherein the high-pressure switch is communicated with a water faucet through a pipeline, and then whether the state of the high-pressure switch is changed currently is determined based on the state information; when the high-pressure switch has a current state change, the control instruction corresponding to the state change is sent to the faucet, so that the faucet controls the display module of the faucet based on the control instruction, the state change of the high-pressure switch is inevitably caused by the opening or closing of the faucet, and the starting or the closing of the faucet display module can be controlled according to the opening or the closing of the faucet, so that the display function of the faucet is started in time after the faucet is opened, or the display function of the faucet is closed in time after the faucet is closed, and the user experience is improved.
Based on the first embodiment, a second embodiment of the water purifier control method according to the present invention is provided, in this embodiment, step S130 includes:
step S131, when the state of the high-voltage switch changes, determining whether the high-voltage switch is in an open state or not based on the state information;
step S132, when the high-voltage switch is in an on state currently, a starting instruction is sent to the water faucet, so that the water faucet controls the display module to be powered on and started based on the starting instruction.
In this embodiment, when the high-voltage switch has a current state change, whether the high-voltage switch is currently in an on state is determined based on the state information, and if so, a start instruction is sent to the faucet, so that the faucet controls the display module to be powered on and started based on the start instruction, that is, the faucet controls the power supply circuit to supply power to the display module according to the control instruction, so that the display function of the faucet is started in time after the faucet is turned on.
Further, in an embodiment, after the step S131, the method further includes:
when the high-pressure switch is in a closed state, a closing instruction is sent to the water faucet, so that the water faucet controls the display module to be closed based on the closing instruction.
In this embodiment, if the high-voltage switch is currently in the off state, a turn-off instruction is sent to the faucet, so that the faucet controls the display module to turn off based on the turn-off instruction, specifically, the faucet can control the power supply circuit of the display module to power off based on the turn-off instruction, or control the display module to turn off the screen, so as to realize the display function of turning off the faucet in time after the faucet is turned off.
According to the control method of the water purifier, when the state of the high-voltage switch changes, whether the high-voltage switch is in the on state at present is determined based on the state information, and then when the high-voltage switch is in the on state at present, a starting instruction is sent to the water faucet, so that the water faucet controls the display module to be powered on and started based on the starting instruction, the display module of the water faucet can be controlled to be powered on and started according to the starting instruction, the display module is controlled to be started according to the starting of the water faucet, and user experience is further improved.
Based on the second embodiment, a third embodiment of the water purifier control method according to the present invention is provided, and in this embodiment, after step S132, the water purifier control method further includes:
step S140, acquiring current service life information of a filter element of the water purifier;
step S150, determining whether the residual service life of the filter element is greater than a preset service life or not based on the service life information;
and step S160, when the residual service life is longer than the preset service life, sending the residual service life to the water faucet so that the water faucet displays the residual service life on the display module.
The water faucet is in communication connection with the water purifier, for example, the water faucet is provided with a first WI-FI module, the water purifier is provided with a second WI-FI module, the water faucet can be connected to a WI-FI network through the first WI-FI module, meanwhile, the water purifier is connected to the WI-FI network through the second WI-FI module, and then communication and data transmission can be carried out between the water faucet and the water purifier through the WI-FI network, or a WI-FI hotspot can be created by the water purifier through the second WI-FI module, and the water faucet is connected to the WI-FI hotspot created by the water purifier through the first WI-FI module, so that communication and data transmission can be carried out between the water faucet and the water purifier through the WI-FI hotspot. The preset life may be set reasonably, for example, 24 hours, 5 days, 10 days, 2% -5% of the total life of the filter element, etc., preferably, in order to facilitate the user to have sufficient time to replace the filter element, the preset life may be set to 3% of the total life of the filter element, for example, when the total life of the filter element is 1 year, the preset life may be set to 10 days.
In this embodiment, after the display module is powered on and started, the water purifier acquires current life information of the filter element, the life information may be the current used life of the filter element and the total life of the filter element, or the remaining service life of the filter element, and determines whether the remaining service life of the filter element is longer than a preset life based on the life information. If the service life information is the current service life of the filter element and the total service life of the filter element, calculating the remaining service life based on the current service life and the total service life of the filter element, comparing the remaining service life with the preset service life, and determining whether the remaining service life of the filter element is greater than the preset service life.
Then, when the remaining life of filter core was greater than and predetermines the life-span, the purifier sent remaining life to tap to make tap be in display module shows remaining life, because the purifier body is generally laid under the kitchen, tap lays the position in the kitchen, consequently, through the remaining life of tap display filter core, so that the user looks over the remaining life of filter core through tap's display module, in time knows the in service behavior of filter core.
The display module is provided with a first display area which is specially used for displaying the remaining service life of the filter element, when the remaining service life is longer than the preset service life, a target display area corresponding to the remaining service life is determined in the first display area, and the remaining service life is displayed based on the target display area.
Specifically, the first display area includes a plurality of bar-shaped LED lamps disposed at edges of the display module. The lengths of the strip-shaped LED lamps are the same, and when the tap receives the residual service life, the number of the LED lamps to be lightened is determined based on the residual service life and the total service life of the filter element, and the LED lamps corresponding to the number are lightened.
The faucet can determine the number of the LED lamps to be lightened through the ratio of the residual service life to the total service life of the filter element and the total number of the LED lamps, and then lighten the LED lamps corresponding to the number based on a preset rule. Or, in order to improve the accuracy of the corresponding relation between the LED lamps to be lightened and the residual service life, the faucet calculates the difference between the total service life of the filter element and the preset service life, and the number of the LED lamps to be lightened is determined according to the ratio of the residual service life to the difference and the total number of the LED lamps.
It should be noted that the faucet may further determine a service life range corresponding to each LED lamp according to a difference between the total service life of the filter element and a preset service life, and the total number of the LED lamps, and determine the number of the LED lamps to be lit according to the service life range and the remaining service life, for example, when the total number of the LED lamps is 8, the service life ranges respectively corresponding to 1 to 8 LED lamps to be lit are determined by the service life ranges, and when the remaining service life belongs to one of the 8 service life ranges, the number of the LED lamps corresponding to the service life range is the number of the LED lamps to be lit.
In this embodiment, the selection order of the LED lamps may be preset, the initial LED lamp and the last LED lamp of the LED lamp are set, and the initial LED lamp and the last LED lamp are adjacent LED lamps, the LED lamp to be lit includes the last LED lamp and the LED lamp before the last LED lamp all the time, the number of the LED lamps before the last LED lamp is reduced by one for the number of the LED lamps to be lit, so that the LED lamps to be lit are adjacent LED lamps, and when the LED lamps corresponding to the number are lit based on the preset rule, the LEDs to be lit are lit simultaneously. And, only when the number of the LED lamps to be lit is the same as the total number, the starting LED lamp is lit.
Further, in an embodiment, after the step S150, the method further includes:
and when the residual service life is less than or equal to the preset service life, sending first prompt information for replacing the filter element to the faucet so that the faucet displays the first prompt information on the display module.
In this embodiment, when the remaining service life is less than or equal to the preset service life, the filter element of the water purifier is about to expire, and the first prompt message for replacing the filter element is sent to the faucet, so that the faucet displays the first prompt message on the display module to prompt a user to replace the filter element as soon as possible.
Specifically, an LED display unit that displays first prompt information is disposed in the display module, for example, when the first prompt information is "please replace the filter element", if the faucet receives the first prompt information, the faucet controls the LED display unit to be powered on, so as to display the first prompt information of "please replace the filter element". In other embodiments, an indicator light corresponding to the first prompt message may be further set, and when the faucet receives the first prompt message, the indicator light is turned on, and the first prompt message of "please replace the filter element" is displayed, where the indicator light may be a red light, and the indicator light corresponding to the first prompt message may be set between the start LED light and the end LED light.
According to the water purifier control method provided by the embodiment, the current service life information of the filter element of the water purifier is acquired, then whether the residual service life of the filter element is longer than the preset service life or not is determined based on the service life information, and then when the residual service life is longer than the preset service life, the residual service life is sent to the faucet, so that the faucet is used for displaying the residual service life through the display module, the residual service life of the filter element of the water purifier is displayed through the faucet located in a kitchen, a user can check the service life of the filter element and other information more conveniently, and the user experience is improved.
Based on the second embodiment, a fourth embodiment of the water purifier control method according to the present invention is provided, and in this embodiment, after step S132, the water purifier control method further includes:
step S170, when the high-voltage switch is in an on state at present, acquiring a first total amount of soluble solids of raw water corresponding to the faucet within a preset time interval;
step S180, sending the first total soluble solid amount to the faucet, so that the faucet displays the first total soluble solid amount and the second prompt message on the display module.
In this embodiment, when the high voltage switch is currently in the on state, water flows into the water purifier through the faucet, and at this time, the water purifier obtains a first TDS (Total dissolved solids) of raw water corresponding to the faucet within a preset time interval. Wherein, can set up TDS check out test set such as TDS water quality sensor in the water pipe between the water inlet of purifier and tap, detect the first TDS of raw water through TDS check out test set. Then send first TDS to tap to make tap show at display module first TDS and second prompt information
In this embodiment, be equipped with the second display area who shows TDS and second prompt message in the display module to in the second display area demonstration first dissolubility solid total amount and second prompt message, so that distinguish the surplus life who shows into water TDS and filter core, and then information such as the TDS of simultaneous display surplus life and the TDS of intaking.
In this embodiment, 3 "8" shaped LED lamps may be disposed in the central area of the display module, the specific value of the first TDS is displayed through the 3 "8" shaped LED lamps, and the display area of the second prompt message is disposed at the edge of the 3 "8" shaped LED lamps, for example, an LED display unit for displaying the second prompt message is disposed at the edge of the 3 "8" shaped LED lamps, and when the second prompt message is the "TDS of the inlet water", the LED display unit for displaying the second prompt message is controlled to be powered on, so as to display the second prompt message of the "TDS of the inlet water". Specifically, an LED display unit displaying the second prompt information is disposed above the 3 "8" -shaped LED lamps.
The preset time interval can be set reasonably, for example, the preset time interval is 2S.
The water purifier control method that this embodiment provided, through when high-voltage switch is in the on state at present, acquire in the preset time interval the first solubility solid total amount of the raw water that tap corresponds, send then first solubility solid total amount extremely tap, so that tap is in display module shows first solubility solid total amount and second tip information can show current TDS of intaking through tap's display module to make the user in time know the quality of water information of raw water, improved user experience. Simultaneously, the display module through tap shows the surplus life of intaking TDS and filter core, can show more information in limited display space, makes the user can both know the all information of purifier when switching on and off water at every turn, has further promoted user experience.
Based on the fourth embodiment, a fifth embodiment of the water purifier control method according to the present invention is provided, and in this embodiment, after step S180, the water purifier control method further includes:
step S190, when the duration of the on state of the high-voltage switch reaches the preset time interval, acquiring the total amount of second soluble solids of the purified water in the water purifier in real time;
and step S200, sending the second total soluble solid amount to the water faucet so that the water faucet displays the second total soluble solid amount and third prompt information on the display module.
In this embodiment, when high tension switchgear is in the on state at present, carry out the timing operation, when the duration that high tension switchgear is in the on state at present reaches preset time interval, the raw water that carries out the purifier from the water inlet has been purified by the purifier, and then acquires the second TDS of water purification in the purifier in real time, and shows in the second display area second TDS and third prompt information to distinguish the remaining life who shows second TDS and filter core, and then information such as remaining life and second TDS of simultaneous display.
In this embodiment, the specific numerical value of the second TDS can be displayed by 3 "8" shaped LED lamps, and a display area for displaying the third prompt information is provided at the edge of the 3 "8" shaped LED lamps, for example, an LED display unit for displaying the third prompt information is provided at the edge of the 3 "8" shaped LED lamps, if the LED display unit for displaying the second prompt information is provided above the 3 "8" shaped LED lamps, the LED display unit for displaying the third prompt information is provided below the 3 "8" shaped LED lamps, and when the third prompt information is "direct drinking TDS", the LED display unit for displaying the second prompt information is controlled to be powered on to display the third prompt information of the "direct drinking TDS".
Further, in an embodiment, after step S200, the method further includes:
step a, determining whether the total amount of the second soluble solids is less than or equal to a preset total amount of soluble solids;
b, if yes, sending first control information to a faucet so that the faucet can light a first water quality indicator lamp;
and c, if not, sending second control information to the faucet so that the faucet lights the second water quality indicator lamp.
The total amount of the preset soluble solids is preset, when the total amount of the soluble solids is larger than the total amount of the preset soluble solids, the current water quality of the purified water is poor, and otherwise, the water quality of the purified water is good.
In this embodiment, the display module is provided with a first water quality indicator light and a second water quality indicator light, the water purifier determines whether the total amount of the second soluble solids is less than or equal to the total amount of the preset soluble solids so as to judge the water quality of the water purified in the water purifier at the current time, if so, first control information is sent to the faucet so that the faucet lights the first water quality indicator light to prompt that the water quality of the current water purified by the user is better, otherwise, second control information is sent to the faucet so that the faucet lights the second water quality indicator light to prompt that the water quality of the current water purified by the user is poorer.
Wherein, can set up first quality of water pilot lamp and second quality of water pilot lamp at the edge of 3 "8" font LED lamps, specifically, first quality of water pilot lamp and second quality of water pilot lamp can set up in the below of the LED display element who shows second prompt message, and set up side by side, specifically, can set up two second quality of water pilot lamps to set up first quality of water pilot lamp between two second quality of water pilot lamps. Preferably, the first water quality indicator lamp emits blue light when the first water quality indicator lamp is turned on, and the second water quality indicator lamp emits red light when the second water quality indicator lamp is turned on.
The water purifier control method that this embodiment provided, through the duration that high-voltage switch is in the on state reaches when presetting the time interval, acquire in real time the second dissolubility solid total amount of water purification in the water purifier, send after that the second dissolubility solid total amount extremely tap, so that tap is in display module shows second dissolubility solid total amount and third tip information can show the straight drink TDS of water purification in the current water purifier through tap's display module to make the user in time know the quality of water information of water purification, further improved user experience. Simultaneously, the display module through tap shows the surplus life who directly drinks TDS and filter core, can show more information in limited display space, makes the user can both know the all information of purifier when switching on and off water at every turn, has promoted user experience.
Based on the foregoing embodiment, a sixth embodiment of the water purifier control method according to the present invention is provided, in this embodiment, in step S130, the water purifier control method further includes:
step S210, when the state of the high-voltage switch changes and the high-voltage switch is in an open state, controlling a booster pump of the water purifier to start;
and S220, controlling a booster pump of the water purifier to be closed when the high-voltage switch is changed in state and is in a closed state.
In this embodiment, when the high-voltage switch is currently in a state change and the high-voltage switch is currently in an on state, the water purifier controls the booster pump to start and operate so as to realize the water purification function of the water purifier, and when the high-voltage switch is currently in an off state, the water purifier controls the booster pump of the water purifier to be closed so as to timely close the water purification function of the water purifier when the mechanical switch of the faucet is closed.
According to the water purifier control method provided by the embodiment, the high-voltage switch is controlled to be started when the high-voltage switch is in the current open state, or the high-voltage switch is controlled to be stopped when the high-voltage switch is in the current close state, so that the booster pump of the water purifier is controlled according to the state change of the high-voltage switch, the state change of the high-voltage switch is inevitably caused by the opening or closing of a faucet, the booster pump of the water purifier can be controlled in real time according to the state of the faucet, and the user experience is further improved.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a water purifier control program is stored on the computer-readable storage medium, and when executed by a processor, the water purifier control program implements the following operations:
acquiring state information of a high-pressure switch of the water purifier, wherein the high-pressure switch is communicated with a water faucet through a pipeline;
determining whether a state change exists in the high-voltage switch currently based on the state information;
when the current state of the high-pressure switch is changed, a control instruction corresponding to the state change is sent to the faucet, so that the faucet controls a display module of the faucet based on the control instruction.
Further, the water purifier control program, when executed by the processor, further implements the following operations:
when the state of the high-voltage switch is changed currently, determining whether the high-voltage switch is in an open state currently or not based on the state information;
and when the high-voltage switch is in an on state currently, sending a starting instruction to the water faucet so that the water faucet controls the display module to be powered on and started based on the starting instruction.
Further, the water purifier control program, when executed by the processor, further implements the following operations:
when the high-pressure switch is in a closed state, a closing instruction is sent to the water faucet, so that the water faucet controls the display module to be closed based on the closing instruction.
Further, the water purifier control program, when executed by the processor, further implements the following operations:
acquiring current service life information of a filter element of the water purifier;
determining whether the remaining service life of the filter element is greater than a preset service life based on the service life information;
and when the residual service life is longer than the preset service life, sending the residual service life to the faucet so that the faucet displays the residual service life on the display module.
Further, the water purifier control program, when executed by the processor, further implements the following operations:
and when the residual service life is less than or equal to the preset service life, sending first prompt information for replacing the filter element to the faucet so that the faucet displays the first prompt information on the display module.
Further, the water purifier control program, when executed by the processor, further implements the following operations:
when the high-voltage switch is in an on state currently, acquiring a first total amount of soluble solids of raw water corresponding to the faucet within a preset time interval;
and sending the first total dissolved solids to the water faucet so that the water faucet displays the first total dissolved solids and second prompt information on the display module.
Further, the water purifier control program, when executed by the processor, further implements the following operations:
when the duration of the on state of the high-voltage switch reaches the preset time interval, acquiring the total amount of second soluble solids of the purified water in the water purifier in real time;
and sending the second total dissolved solids to the faucet so that the faucet displays the second total dissolved solids and third prompt information on the display module.
Further, the water purifier control program, when executed by the processor, further implements the following operations:
when the state of the high-voltage switch changes and the high-voltage switch is in an open state, controlling a booster pump of the water purifier to start;
and when the high-voltage switch has a state change at present and is in a closed state at present, controlling a booster pump of the water purifier to be closed.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
1. A control method of a water purifier is characterized by comprising the following steps:
acquiring state information of a high-pressure switch of the water purifier, wherein the high-pressure switch is communicated with a water faucet through a pipeline;
determining whether a state change exists in the high-voltage switch currently based on the state information;
when the current state of the high-pressure switch is changed, a control instruction corresponding to the state change is sent to the faucet, so that the faucet controls a display module of the faucet based on the control instruction.
2. The water purifier control method according to claim 1, wherein the step of sending a control command corresponding to the state change to the faucet when the state change currently exists in the high-pressure switch, so that the faucet controls a display module of the faucet based on the control command comprises:
when the state of the high-voltage switch is changed currently, determining whether the high-voltage switch is in an open state currently or not based on the state information;
and when the high-voltage switch is in an on state currently, sending a starting instruction to the water faucet so that the water faucet controls the display module to be powered on and started based on the starting instruction.
3. The water purifier control method according to claim 2, wherein after said step of determining whether there is a change in state of said high voltage switch, said water purifier control method further comprises:
when the high-pressure switch is in a closed state, a closing instruction is sent to the water faucet, so that the water faucet controls the display module to be closed based on the closing instruction.
4. The water purifier control method according to claim 2, wherein after the step of sending the bright screen control command to the faucet so that the faucet controls the display module to be powered on and started based on the bright screen control command, the water purifier control method further comprises:
acquiring current service life information of a filter element of the water purifier;
determining whether the remaining service life of the filter element is greater than a preset service life based on the service life information;
and when the residual service life is longer than the preset service life, sending the residual service life to the faucet so that the faucet displays the residual service life on the display module.
5. The water purifier control method of claim 4, wherein after the step of determining whether the remaining useful life of the filter element is greater than a predetermined life, the water purifier control method further comprises:
and when the residual service life is less than or equal to the preset service life, sending first prompt information for replacing the filter element to the faucet so that the faucet displays the first prompt information on the display module.
6. The water purifier control method according to claim 2, wherein after the step of sending the bright screen control command to the faucet so that the faucet controls the display module to be powered on and started based on the bright screen control command, the water purifier control method further comprises:
when the high-voltage switch is in an on state currently, acquiring a first total amount of soluble solids of raw water corresponding to the faucet within a preset time interval;
and sending the first total dissolved solids to the water faucet so that the water faucet displays the first total dissolved solids and second prompt information on the display module.
7. The water purifier control method of claim 6, wherein after said step of sending said first total amount of dissolved solids to said faucet, said water purifier control method further comprises:
when the duration of the on state of the high-voltage switch reaches the preset time interval, acquiring the total amount of second soluble solids of the purified water in the water purifier in real time;
and sending the second total dissolved solids to the faucet so that the faucet displays the second total dissolved solids and third prompt information on the display module.
8. The water purifier control method according to any one of claims 1 to 7, wherein after said step of sending a control command corresponding to said state change to said faucet, said water purifier control method further comprises:
when the state of the high-voltage switch changes and the high-voltage switch is in an open state, controlling a booster pump of the water purifier to start;
and when the high-voltage switch has a state change at present and is in a closed state at present, controlling a booster pump of the water purifier to be closed.
9. A water purifier, characterized in that the water purifier comprises: a memory, a processor, and a water purifier control program stored on the memory and executable on the processor, the water purifier control program when executed by the processor implementing the steps of the water purifier control method as recited in any one of claims 1 to 8.
10. A computer-readable storage medium, having stored thereon a water purifier control program that, when executed by a processor, performs the steps of the water purifier control method of any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910307225.4A CN111830852A (en) | 2019-04-15 | 2019-04-15 | Water purifier control method, water purifier and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910307225.4A CN111830852A (en) | 2019-04-15 | 2019-04-15 | Water purifier control method, water purifier and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111830852A true CN111830852A (en) | 2020-10-27 |
Family
ID=72914693
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910307225.4A Pending CN111830852A (en) | 2019-04-15 | 2019-04-15 | Water purifier control method, water purifier and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111830852A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203355447U (en) * | 2013-07-22 | 2013-12-25 | 上海欣玖环保科技有限公司 | Water purifier |
CN103939653A (en) * | 2014-04-04 | 2014-07-23 | 中山市能创电器科技有限公司 | Multifunctional faucet for water purifier |
CN105351590A (en) * | 2015-10-26 | 2016-02-24 | 佛山市美的清湖净水设备有限公司 | Faucet system, faucet and water purifier with faucet |
CN205084509U (en) * | 2015-11-10 | 2016-03-16 | 太原创客空间科技有限公司 | Purifier intelligence observing and controlling system |
CN105692945A (en) * | 2016-04-06 | 2016-06-22 | 滁州富达机械电子有限公司 | Bluetooth-wireless-controlled lower-cabinet water purifier with external display screen |
CN106227069A (en) * | 2016-08-30 | 2016-12-14 | 芜湖美的厨卫电器制造有限公司 | Water purifier and the control method of water purifier |
CN206582391U (en) * | 2017-01-23 | 2017-10-24 | 深圳市美迪宝智能科技有限公司 | A kind of leading module and purifier |
CN108786465A (en) * | 2018-06-20 | 2018-11-13 | 潍坊海润网络科技有限公司 | Water purifier management method based on Internet of Things and water purifier system |
CN109147629A (en) * | 2018-09-10 | 2019-01-04 | 珠海格力电器股份有限公司 | A kind of water purifier and its display control method that low-power consumption is shown |
CN208429881U (en) * | 2018-05-10 | 2019-01-25 | 广东万家乐燃气具有限公司 | A kind of water purifier and water purifier control system |
-
2019
- 2019-04-15 CN CN201910307225.4A patent/CN111830852A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203355447U (en) * | 2013-07-22 | 2013-12-25 | 上海欣玖环保科技有限公司 | Water purifier |
CN103939653A (en) * | 2014-04-04 | 2014-07-23 | 中山市能创电器科技有限公司 | Multifunctional faucet for water purifier |
CN105351590A (en) * | 2015-10-26 | 2016-02-24 | 佛山市美的清湖净水设备有限公司 | Faucet system, faucet and water purifier with faucet |
CN205084509U (en) * | 2015-11-10 | 2016-03-16 | 太原创客空间科技有限公司 | Purifier intelligence observing and controlling system |
CN105692945A (en) * | 2016-04-06 | 2016-06-22 | 滁州富达机械电子有限公司 | Bluetooth-wireless-controlled lower-cabinet water purifier with external display screen |
CN106227069A (en) * | 2016-08-30 | 2016-12-14 | 芜湖美的厨卫电器制造有限公司 | Water purifier and the control method of water purifier |
CN206582391U (en) * | 2017-01-23 | 2017-10-24 | 深圳市美迪宝智能科技有限公司 | A kind of leading module and purifier |
CN208429881U (en) * | 2018-05-10 | 2019-01-25 | 广东万家乐燃气具有限公司 | A kind of water purifier and water purifier control system |
CN108786465A (en) * | 2018-06-20 | 2018-11-13 | 潍坊海润网络科技有限公司 | Water purifier management method based on Internet of Things and water purifier system |
CN109147629A (en) * | 2018-09-10 | 2019-01-04 | 珠海格力电器股份有限公司 | A kind of water purifier and its display control method that low-power consumption is shown |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7852234B1 (en) | Cross-walk safety lighting with multiple enhanced flash rate | |
CN202430023U (en) | Water purifier with filter element replacing display device | |
MX2010008821A (en) | Automatic switch configuration. | |
CN111882075A (en) | Faucet-based display method, faucet and computer-readable storage medium | |
US9170576B2 (en) | Energy conservation diagnosis system | |
CN111830852A (en) | Water purifier control method, water purifier and computer readable storage medium | |
CN105883972A (en) | Self-check method for control part of water purifier | |
CN105530733A (en) | Intelligent lighting device | |
CN103854611A (en) | Backlight control method and device, controller and mobile terminal | |
CN105433777A (en) | Electric pot with booking function and booking control method thereof | |
CN202339692U (en) | Detection device for light emitting diode (LED) display screen driving plate | |
CN103081570A (en) | Appliance control system | |
CN105022266A (en) | Smart watch and display method thereof | |
CN112336277B (en) | Method and device for detecting water quality of cleaning equipment and cleaning equipment | |
CN210243787U (en) | Device for testing photoelectric switch | |
KR20100058164A (en) | System for controlling alarm lamp in vehicle | |
KR101487334B1 (en) | Water providing apparatus having external interface and diagnosis system for the water providing apparatus | |
JP2012018702A (en) | Control system and method for traffic regulation light | |
KR101408121B1 (en) | Water providing apparatus having external interface and diagnosis system for the water providing apparatus | |
CN202583867U (en) | Debugging and experimenting equipment for vehicle body controller | |
CN202404401U (en) | Multifunctional signal switching matrix device | |
CN101231326A (en) | Device and method for testing general DVD-P/DVD-R front panel | |
CN101169756A (en) | Display method for using LED half intensity as item background operation state and device | |
KR200397906Y1 (en) | apparatus for controlling traffic signal lamp | |
CN203082538U (en) | Air channel switching system of steel bottles |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201027 |