Delay faucet control method and system, intelligent terminal and storage medium
By obtaining and analyzing the start trigger information and stress parameters of the delayed faucet, and combining preset relationship information, dynamically adjusting the water outlet parameters of the faucet, solving the problem that the existing delayed faucet cannot adjust the water flow speed, and realizing the time according to user needs and flow control water flow, improving the convenience of use.
Patent Information
- Application Number
- CN202411152061.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-12-13
AI Technical Summary
The existing delayed faucet cannot adjust the water flow speed, which leads to inconvenience in use and cannot meet the needs of different users for water flow speed.
By obtaining the start trigger information and stress parameter information, combined with the preset stress water effluent relationship information, the water effluent parameters of the delayed faucet are dynamically adjusted to achieve the control of the water flow according to the time and flow rate of user needs.
It improves the convenience of using the delay faucet, allows users to adjust the water outlet time and flow rate as needed, and avoids the situation of constant flow rate.
Smart Images

Figure CN119123139A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of faucet technology, and in particular to a delayed faucet control method, system, intelligent terminal and storage medium. Background Art
[0002] A time-delay faucet is a water-saving device that automatically turns water on and off through a built-in control mechanism. It is commonly used in public restrooms, schools, hospitals and other places to reduce unnecessary waste of water resources.
[0003] In the related art, the delayed faucet usually relies on mechanical structures such as springs and weights to achieve the delayed closing function. After the user turns on the faucet, the water flow will automatically shut off after a set time, thereby saving water and ensuring that water resources are not wasted.
[0004] With regard to the above-mentioned related technologies, a faucet with delayed shutoff of energy supply is realized by using mechanical structures such as springs and weights. After the user presses the start switch of the faucet hard, the faucet will discharge water according to the set time, but the speed of water discharge from the faucet remains constant. Some users want to use a high water flow rate, while some users want to use a low water flow rate. The current control mechanism of the delayed faucet cannot adjust the water flow rate, which makes the delayed faucet inconvenient to use. There is still room for improvement. Summary of the invention
[0005] In order to improve the convenience of using a time-delay faucet, the present application provides a time-delay faucet control method, system, intelligent terminal and storage medium.
[0006] In the first aspect, the present application provides a delayed faucet control method, which adopts the following technical solution: A time-delay faucet control method, comprising: Get the start trigger information of the delayed faucet; Controlling the preset water outlet device to obtain the starting force parameter information according to the starting trigger information; Determine the water output parameter information of the delayed faucet according to the starting force parameter information and the preset force-water output relationship information; Control the delayed faucet water flow according to the water flow parameter information.
[0007] By adopting the above technical solution, when a person starts the delay faucet, the water outlet device is controlled to detect the starting force parameter information, thereby determining the water outlet parameter information based on the starting force parameter information and the force-water outlet relationship information, so that the delay faucet can discharge water at the time and flow rate required by the person, and there will be no constant water outlet flow rate, thereby improving the convenience of using the delay faucet.
[0008] Optionally, the startup force parameter information includes startup force value information and startup force speed information, and the step of controlling a preset water outlet device to obtain the startup force parameter information according to the startup trigger information includes: Controlling a preset locking device to unlock a preset faucet switch according to the start trigger information; Within the preset detection time, the water outlet device is controlled to obtain the force-time curve information in real time; Analyze the force time curve information to determine the starting force value information and the starting force speed information; The starting force value information and the starting force speed information are associated to generate starting force parameter information.
[0009] By adopting the above technical solution, the locking device is controlled to unlock the faucet switch, and the force-time curve information is detected, so as to obtain the starting force value information and the starting force speed information according to the analysis of the force-time curve information, and the person's demand for faucet water output is determined according to the speed and degree of the person turning the faucet switch, thereby improving the accuracy of the starting force parameter information.
[0010] Optionally, the step of analyzing the force time curve information to determine the starting force value information and the starting force speed information includes: Analyze the force-time curve information to determine the real-time force value information and the reference force value information; Determine whether the real-time force value information meets the requirements of the reference force value information; If it does not meet the requirements, continue to analyze according to the force time curve information to determine the real-time force value information and reference force value information for cyclic judgment; If it meets the requirements, the basic force time information is determined by analyzing the force time curve information and the reference force value information, and the water outlet device is controlled to obtain the reset force curve information in real time; An analysis is performed based on the reference force value information, the basic force time information and the reset force curve information to determine the starting force value information and the starting force speed information.
[0011] By adopting the above technical scheme, the real-time force value information is compared with the reference force value information. After determining that the real-time force value information is less than the reference force value information, the basic force time information of the reference force value information is identified, and then the starting force value information and the starting force speed information are determined according to the reference force value information, the basic force time information and the reset force curve information, thereby improving the accuracy of the starting force value information and the starting force speed information.
[0012] Optionally, the step of analyzing the reference force value information, the basic force time information and the reset force curve information to determine the starting force value information and the starting force speed information includes: Determine whether the reset force curve information meets the requirements of the preset overall downward trend information; If it is in compliance, the reference force value information is defined as the starting force value information, and the starting force speed information is determined by analyzing the reference force value information and the basic force time information; If it does not meet the requirements, the force curve information is analyzed based on the reset force curve information to determine the corrected force curve information; The corrected force curve information is analyzed to determine the starting force value information and the starting force speed information.
[0013] By adopting the above technical scheme, when the reset force curve information conforms to the overall downward trend information, it means that the reference force value information is the maximum degree to which the person turns the faucet switch. Therefore, the reference force value information is defined as the starting force value information, and the starting force speed information is calculated based on the reference force value information and the basic force time information. When it does not conform, it indicates that during the reset process, the person turns the faucet switch again. Therefore, the corrected force curve information is determined in the reset force curve information, and the starting force value information and the starting force speed information are re-determined based on the corrected force curve information, thereby improving the accuracy of the starting force value information and the starting force speed information.
[0014] Optionally, the step of controlling the water outlet device to obtain reset force curve information in real time includes: Control the water outlet device to obtain foundation force curve information in real time; Analyze the force-time curve information to determine the initial force parameter information; Determine whether the foundation force curve information meets the requirements of the initial force parameter information; If it does not meet the requirements, the water outlet device will continue to be controlled to obtain the basic force curve information in real time for cyclic judgment; If it meets the requirements, the basic force curve information is defined as the reset force curve information.
[0015] By adopting the above technical solution, the water outlet device is controlled to detect the basic force curve information. When the basic force curve information meets the requirements of the initial force parameter information, it indicates that the faucet switch is reset to the original position. Therefore, the basic force curve information at this time is defined as the reset force curve information, thereby improving the accuracy of the reset force curve information.
[0016] Optionally, after defining the basic force curve information as the reset force curve information, a method for maintaining the reset force curve information is also included, and the specific steps include: Analyze the water output parameter information to determine the holding time information; When the basic force curve information meets the requirements of the initial force parameter information, the locking device is controlled to lock the faucet switch according to the holding time information and the preset unsolvable locking trigger information; After the time corresponding to the time information is maintained, the locking device is controlled to lock the faucet switch according to the preset unlocking trigger information.
[0017] By adopting the above technical solution, when the basic force curve information meets the requirements of the initial force parameter information, the locking device is controlled to lock the faucet switch according to the holding time information and the unsolvable locking trigger information, thereby preventing the person from repeatedly turning the faucet switch after resetting, causing confusion in the reset force curve information, thereby improving the accuracy of the reset force curve information.
[0018] Optionally, the forced water-outflow relationship information includes forced water-outflow time relationship information and forced water-outflow flow relationship information, and the step of determining the water-outflow parameter information of the delayed faucet according to the starting forced parameter information and the preset forced water-outflow relationship information includes: Determine the water discharge time information according to the starting force value information and the force discharge time relationship information; Determine the water flow rate information according to the starting force speed information and the force water flow rate relationship information; The water outflow time information and the water outflow flow information are associated to generate water outflow parameter information.
[0019] By adopting the above technical scheme, the water outlet time information is determined according to the starting force value information, and the water outlet flow information is determined according to the starting force speed information, so that the delayed faucet can discharge water at the time and flow required by people, and there will be no situation where the water outlet flow is constant, thereby improving the convenience of using the delay faucet.
[0020] In the second aspect, the present application provides a time-delay faucet control system, which adopts the following technical solution: A time-delay faucet control system, comprising: An acquisition module is used to acquire startup trigger information and startup force parameter information; A memory, used to store a program of a time-delay faucet control method as described in any one of the above items; The program in the processor and the memory can be loaded and executed by the processor to implement a delayed faucet control method as described in any one of the above items.
[0021] By adopting the above technical solution, the control processor loads and executes a program of a delayed faucet control method stored in the memory, so that the acquisition module obtains a series of data related to the delayed faucet control, so that the delayed faucet can discharge water at the time and flow rate required by people, and there will be no constant water flow rate, thereby improving the convenience of using the delayed faucet.
[0022] In a third aspect, the present application provides a smart terminal, which adopts the following technical solution: An intelligent terminal comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and executes a time-delay faucet control method as described in any one of the above items.
[0023] By adopting the above technical solution, by operating the smart terminal, the control processor loads and executes a program of a delayed faucet control method stored in the memory, so that the delayed faucet can discharge water at the time and flow rate required by people, and there will be no constant water flow rate, thereby improving the convenience of using the delay faucet.
[0024] In a fourth aspect, the present application provides a computer storage medium capable of storing corresponding programs, which has the characteristics of facilitating the improvement of the convenience of using a time-delay faucet, and adopts the following technical solutions: A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any of the above-mentioned delayed faucet control methods.
[0025] By adopting the above technical solution, a computer program for a delayed faucet control method is stored in a computer-readable storage medium, so that the processor loads and executes the computer program in the storage medium, so that the delayed faucet can discharge water at the time and flow rate required by people, and there will be no situation where the water flow rate is constant, thereby improving the convenience of using the delay faucet.
[0026] In summary, the present application includes at least one of the following beneficial technical effects: 1. When a person starts the delayed faucet, the water outlet device is controlled to detect the starting force parameter information, so as to determine the water outlet parameter information according to the starting force parameter information and the force-water outlet relationship information, so that the delayed faucet can discharge water at the time and flow rate required by the person, and the water outlet flow rate will not be constant, thereby improving the convenience of using the delayed faucet; 2. When the reset force curve information conforms to the overall downward trend information, it indicates that the reference force value information is the maximum degree of the personnel turning the faucet switch. Therefore, the reference force value information is defined as the starting force value information, and the starting force speed information is calculated based on the reference force value information and the basic force time information. When it does not conform, it indicates that the personnel turned the faucet switch again during the reset process. Therefore, the corrected force curve information is determined in the reset force curve information, and the starting force value information and the starting force speed information are re-determined based on the corrected force curve information, thereby improving the accuracy of the starting force value information and the starting force speed information; 3. By determining the water outlet time information according to the starting force value information, and determining the water outlet flow information according to the starting force speed information, the delayed faucet can deliver water at the time and flow required by personnel without the situation of constant water outlet flow, thereby improving the convenience of using the delayed faucet. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a flowchart of a flowchart of a delayed faucet control method in an embodiment of the present application.
[0028] Figure 2 It is a flowchart of the steps of controlling a preset water outlet device to obtain starting force parameter information according to starting trigger information in an embodiment of the present application.
[0029] Figure 3 It is a flowchart of the steps of analyzing the force time curve information to determine the starting force value information and the starting force speed information in an embodiment of the present application.
[0030] Figure 4 It is a flowchart of the steps of analyzing the reference force value information, the basic force time information and the reset force curve information in an embodiment of the present application to determine the starting force value information and the starting force speed information.
[0031] Figure 5 It is a flow chart of the steps of controlling the water outlet device to obtain reset force curve information in real time in an embodiment of the present application.
[0032] Figure 6 It is a flow chart of a method for maintaining reset force curve information in an embodiment of the present application.
[0033] Figure 7 It is a flowchart of the steps of determining the water output parameter information of the delayed faucet according to the startup force parameter information and the preset force and water output relationship information in the embodiment of the present application. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-Figure 7 It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0035] The embodiment of the present application discloses a control method for a time-delay faucet, specifically discloses a processing terminal, a water outlet device and a time-delay faucet. The processing terminal and the water outlet device are both installed in the time-delay faucet. The processing terminal is respectively connected to the water outlet device and the time-delay faucet through data wires, so as to realize data interaction and control. When a person turns on the time-delay faucet, the time-delay faucet sends a start trigger message to the processing terminal, so that the processing terminal controls the water outlet device to detect force parameter information when the person turns on the time-delay faucet, determines the water outlet parameter information according to the force parameter information and the force-water outlet relationship information, and controls the water outlet of the time-delay faucet according to the water outlet parameter information. The water outlet of the time-delay faucet is controlled with reference to the degree and speed at which the person turns on the time-delay faucet, rather than maintaining a constant flow rate. While satisfying the diversity of people's use of the time-delay faucet, the convenience of using the time-delay faucet is improved.
[0036] Reference Figure 1 The present application embodiment discloses a time-delay faucet control method, comprising the following steps: Step S100: Acquire the start trigger information of the delayed faucet.
[0037] Among them, the start trigger information refers to the trigger data when a person turns the faucet switch on the delayed faucet. When the force-sensitive sensor installed on the faucet switch detects the rotation force, the start trigger information is sent to the processing terminal.
[0038] Step S101: controlling a preset water outlet device to obtain starting force parameter information according to the starting trigger information.
[0039] Among them, the water outlet device refers to a device used to detect the delayed faucet water outlet time and flow rate required by personnel, including a force-sensitive sensor and a spring. A compression hole is provided in the delayed faucet for the spring to be installed and compressed and stretched. One end of the spring is connected to the faucet switch, and the other end of the spring is connected to the force-sensitive sensor. When a person turns the faucet switch, the faucet switch compresses the spring in the compression hole along an arc, and the degree and speed of rotation are transmitted to the force-sensitive sensor through the elastic force generated by the spring compression, so that the force-sensitive sensor detects the force condition and sends it to the processing terminal to form a force curve.
[0040] The starting force parameter information includes the starting force value information and the starting force speed information. The starting force value information refers to the force applied by the personnel when turning the faucet switch. The starting force speed information refers to the force applied by the personnel when turning the faucet switch. When the processing terminal receives the starting trigger information, the processing terminal controls the water outlet device to detect it. For specific methods, refer to Figure 2 steps.
[0041] Step S102: determining the water output parameter information of the delayed faucet according to the startup force parameter information and the preset force-water output relationship information.
[0042] Among them, the force-induced water-outflow relationship information includes the force-induced water-outflow time relationship information and the force-induced water-outflow flow relationship information. The force-induced water-outflow time relationship information refers to a database storing the corresponding relationship between the force applied by personnel and the water-outflow time. The force applied by personnel is proportional to the water-outflow time, that is, the higher the degree of personnel turning the faucet switch, the longer the required water-outflow time, and the ratio between the two is determined by the operator according to actual conditions; the force-induced water-outflow flow relationship information refers to a database storing the corresponding relationship between the speed at which personnel apply force and the water-outflow flow. The speed at which personnel apply force is proportional to the water-outflow flow, that is, the faster the personnel turn the faucet switch, the more urgent it is, and therefore the greater the water-outflow flow, and the ratio between the two is determined by the operator according to actual conditions.
[0043] The water outflow parameter information refers to the time and flow rate of the delayed faucet water outflow. The processing terminal inputs the force parameter corresponding to the start force parameter information into the database corresponding to the force and water outflow relationship information to match the output. For specific methods, refer to Figure 7 steps.
[0044] Step S103: controlling the delayed faucet water flow according to the water flow parameter information.
[0045] Among them, after the processing terminal determines the water output parameter information, the processing terminal opens the valve in the delay faucet according to the water output time and water output flow rate corresponding to the water output parameter information, thereby controlling the delay faucet to output water at the time and flow rate required by personnel, rather than at a constant flow rate, thereby improving the convenience of using the delay faucet Reference Figure 2 The starting force parameter information includes starting force value information and starting force speed information. The steps of controlling the preset water outlet device to obtain the starting force parameter information according to the starting trigger information include: Step S200: controlling a preset locking device to unlock a preset faucet switch according to the start trigger information.
[0046] The locking device refers to a device used to lock the faucet switch to prevent the faucet switch from being accidentally turned, and an electromagnet can be used to lock the faucet switch. The faucet switch refers to a wrench on the time-delay faucet that is turned by a person to open the time-delay faucet.
[0047] After the processing terminal receives the start trigger information, it indicates that the personnel needs to turn on the delayed faucet, so the processing terminal controls the locking device to unlock the faucet switch, so that the personnel can turn the faucet switch normally.
[0048] Step S201: within a preset detection time, control the water outlet device to obtain force-time curve information in real time.
[0049] Among them, the detection time refers to the time when the water discharge device detects the force parameters applied by the personnel, and the specific value is determined by the operator according to the actual situation. The force time curve information refers to the curve of the force parameters applied by the personnel detected by the water discharge device within the detection time. After the force-sensitive sensor in the water discharge device detects the force value at the set frequency, the processing terminal draws a curve with the frequency accumulation time as the horizontal coordinate and the force value as the vertical coordinate.
[0050] Step S202: Analyze the force time curve information to determine the starting force value information and the starting force speed information.
[0051] The starting force value information and starting force speed information in this step are consistent with the starting force value information and starting force speed information in step S101, and are not described in detail here. The processing terminal determines the starting force value information and starting force speed information according to the curve analysis corresponding to the force time curve information. For specific methods, refer to Figure 3 steps.
[0052] Step S203: Associating the startup force value information and the startup force speed information to generate startup force parameter information.
[0053] Among them, the starting force parameter information in this step is consistent with the starting force parameter information in step S101. The processing terminal will analyze and associate the starting force value information and the starting force speed information to obtain the force used by the person to turn the faucet switch and the speed of the force change.
[0054] Reference Figure 3 The steps of analyzing the force time curve information to determine the starting force value information and the starting force speed information include: Step S300: Analyze the force-time curve information to determine the real-time force value information and the reference force value information.
[0055] Among them, the real-time force value information refers to the magnitude of the force at the current time, and the reference force value information refers to the magnitude of the force at the previous step at the current time, which is obtained by the processing terminal based on the curve recognition corresponding to the force-time curve information.
[0056] Step S301: Determine whether the real-time force value information meets the requirements of the reference force value information.
[0057] The requirement of the reference force value information refers to the force size not greater than the force size corresponding to the reference force value information. The processing terminal determines whether the force size corresponding to the real-time force value information is not greater than the force size corresponding to the reference force value information, thereby determining whether the person has released the faucet switch, and providing data support for the subsequent determination of the start-up force value information and the start-up force speed information.
[0058] Step S3011: If not, continue to analyze according to the force-time curve information to determine the real-time force value information and reference force value information for cyclic judgment.
[0059] Among them, if the processing terminal determines that the force corresponding to the real-time force value information is greater than the force corresponding to the reference force value information, it indicates that the person is still turning the faucet switch, so the force-time curve information is continued to be followed up for analysis to determine the real-time force value information and the reference force value information, thereby performing a cyclic judgment.
[0060] Step S3012: If it is in compliance, then analyze according to the force time curve information and the reference force value information to determine the basic force time information, and control the water outlet device to obtain the reset force curve information in real time.
[0061] Among them, if the processing terminal determines that the force corresponding to the real-time force value information is not greater than the force corresponding to the reference force value information, it indicates that the person has released the faucet switch at the time corresponding to the reference force value information. Therefore, the basic force time information is determined according to the force time curve information and the reference force value information, and the water outlet device is controlled to detect the reset force curve information, so as to provide data support for the subsequent determination of the starting force value information and the starting force speed information.
[0062] The basic force time information refers to the time when the reference force value information is detected, which is identified by the processing terminal in the curve corresponding to the force time curve information according to the force corresponding to the reference force value information. The reset force curve information refers to the curve of the force change of the spring detected by the force sensitive sensor in the water outlet device when the faucet switch is reset. For specific detection methods, refer to Figure 5 steps.
[0063] Step S30121: Analyze the reference force value information, the basic force time information and the reset force curve information to determine the starting force value information and the starting force speed information.
[0064] The starting force value information and starting force speed information in this step are consistent with the starting force value information and starting force speed information in step S202, and are determined by the processing terminal after analyzing the reference force value information, the basic force time information and the reset force curve information. The specific method is referred to Figure 4 steps.
[0065] Reference Figure 4 The steps of analyzing the reference force value information, the basic force time information and the reset force curve information to determine the starting force value information and the starting force speed information include: Step S400: determining whether the reset force curve information meets the requirements of the preset overall downward trend information.
[0066] The overall downward trend information refers to the trend of the force of the spring changing with time when the faucet switch is naturally reset, that is, the downward trend, which is stored in the processing terminal by the operator. The requirement for the overall downward trend information is that the downward trend corresponding to the overall downward trend information is consistent.
[0067] The processing terminal determines whether the curve trend corresponding to the reset force curve information is consistent with the downward trend corresponding to the overall downward trend information, thereby determining whether the faucet switch is naturally reset during the resetting process.
[0068] Step S401: If it meets the requirements, the reference force value information is defined as the starting force value information, and the starting force speed information is determined by analyzing the reference force value information and the basic force time information.
[0069] Among them, if the processing terminal determines that the curve trend corresponding to the reset force curve information is consistent with the downward trend corresponding to the overall downward trend information, it indicates that the faucet switch is naturally reset during the resetting process. Therefore, the reference force value information is the maximum force value of a person turning the faucet switch, and the reference force value information is defined as the starting force value information, and the quotient between the stress value corresponding to the reference force value information and the time corresponding to the basic force time information is calculated to obtain the starting force speed information.
[0070] Step S402: If not, analyze the reset force curve information to determine the corrected force curve information.
[0071] Among them, if the processing terminal determines that the curve trend corresponding to the reset force curve information is inconsistent with the downward trend corresponding to the overall downward trend information, it indicates that during the resetting process of the faucet switch, the personnel turned the faucet switch again. Therefore, the corrected force curve information is determined in the curve corresponding to the reset force curve information, providing data support for the subsequent determination of the starting force value information and the starting force speed information.
[0072] The corrected force curve information refers to the latest rising curve segment in the corresponding curve of the reset force curve information. This curve segment represents the last time a person turned the faucet switch, and is identified and determined by the processing terminal in the corresponding curve of the reset force curve information.
[0073] Step S4021: Analyze the corrected force curve information to determine the starting force value information and the starting force speed information.
[0074] After determining the modified force curve information, the processing terminal determines the starting force value information and the starting force speed information after analyzing the modified force curve information. The analysis method is the same as Figure 3 The logic of the steps is consistent.
[0075] Reference Figure 5The steps of controlling the water outlet device to obtain reset force curve information in real time include: Step S500: Control the water outlet device to obtain foundation force curve information in real time.
[0076] The basic force curve information refers to a curve showing the change of the force detected by the water-dispensing device over time during the process of resetting the faucet switch.
[0077] Step S501: Analyze the force-time curve information to determine initial force parameter information.
[0078] The initial force parameter information refers to the initial force detected by the water outlet device when a person turns the faucet switch, which is usually zero and is obtained by the processing terminal identifying the vertical coordinate of the starting point of the curve corresponding to the force-time curve information.
[0079] Step S502: Determine whether the basic force curve information meets the requirements of the initial force parameter information.
[0080] The requirement of the initial force parameter information is that the force corresponding to the initial force parameter information is consistent. The processing terminal determines whether the force corresponding to the basic force curve information is consistent with the force corresponding to the initial force parameter information, thereby determining whether the faucet switch is reset to the starting point.
[0081] Step S5021: If not, continue to control the water outlet device to obtain basic force curve information in real time for cyclic judgment.
[0082] Among them, if the processing terminal determines that the force corresponding to the basic force curve information is inconsistent with the force corresponding to the initial force parameter information, it indicates that the faucet switch has not been reset to the starting point. Therefore, the water outlet device continues to be controlled to obtain the basic force curve information in real time, thereby continuously monitoring the force condition of the water outlet device during the reset process.
[0083] Step S5022: If it is in compliance, the basic force curve information is defined as reset force curve information.
[0084] Among them, if the processing terminal determines that the force corresponding to the basic force curve information is consistent with the force corresponding to the initial force parameter information, it indicates that the faucet switch has been reset to the starting point. The basic force curve information at this time represents the change of the force of the water outlet device over time during the entire reset process. Therefore, the basic force curve information is defined as the reset force curve information.
[0085] Reference Figure 6 After defining the basic force curve information as the reset force curve information, a method for maintaining the reset force curve information is also included, and the specific steps include: Step S600: Analyze the water output parameter information to determine the holding time information.
[0086] The holding time information refers to the time during which the faucet switch is locked and cannot be unlocked after being reset, and the processing terminal defines the water output time corresponding to the water output parameter information as the holding time.
[0087] Step S601: When the basic force curve information meets the requirements of the initial force parameter information, the locking device is controlled to lock the faucet switch according to the holding time information and the preset unsolvable locking trigger information.
[0088] Among them, when the force corresponding to the basic force curve information is consistent with the force corresponding to the initial force parameter information, that is, after the faucet switch is reset to the starting point, the processing terminal controls the locking device to maintain the time corresponding to the time information and the locking mode corresponding to the unsolvable locking trigger information to lock the faucet switch, thereby preventing the faucet switch from being reset and the person from turning the faucet switch again to do useless work during the delayed faucet water flow period.
[0089] The un-unlockable lock trigger information refers to a mode in which the faucet switch cannot be unlocked after being locked by the locking device, and is stored in the processing terminal by the operator.
[0090] Step S602: After the time corresponding to the time information is maintained, the locking device is controlled to lock the faucet switch according to the preset unlocking trigger information.
[0091] Among them, after the locking device locks the faucet switch for the time corresponding to the time information, it switches to a mode corresponding to the unlocking trigger information to lock the faucet switch, so that the person can turn the faucet switch again.
[0092] The unlock trigger information refers to a mode in which the faucet switch can be unlocked after being locked, and is stored in the processing terminal by the operator.
[0093] Reference Figure 7 The force-effect water-discharge relationship information includes the force-effect water-discharge time relationship information and the force-effect water-discharge flow relationship information. The step of determining the water-effect parameter information of the delayed faucet according to the start-up force parameter information and the preset force-effect water-discharge relationship information includes: Step S700: determining water outlet time information according to the startup force value information and the force-water outlet time relationship information.
[0094] Among them, the water outlet time information refers to the water outlet time of the delayed faucet. The processing terminal inputs the force value corresponding to the start-up force value information into the database corresponding to the force and water outlet time relationship information for matching and output.
[0095] Step S701: determining the water outflow flow rate information according to the startup force speed information and the force water outflow flow rate relationship information.
[0096] Among them, the water outflow flow information refers to the water outflow of the delayed faucet. The processing terminal inputs the force speed corresponding to the start-up force speed information into the database corresponding to the force-water outflow relationship information for matching and output.
[0097] Step S702: Associating water outflow time information and water outflow flow information to generate water outflow parameter information.
[0098] After the processing terminal determines the water outflow time information and the water outflow flow information, the processing terminal associates the water outflow time information with the water outflow flow information to obtain water outflow parameter information for water outflow at the water outflow flow rate within the water outflow time.
[0099] Based on the same inventive concept, an embodiment of the present invention provides a time-delay faucet control system, including: An acquisition module is used to acquire start trigger information, start force parameter information, force time curve information, reset force curve information and basic force curve information; A memory for storing a program of a time-delay faucet control method; The program in the memory can be loaded and executed by the processor to implement a delayed faucet control method.
[0100] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0101] An embodiment of the present invention provides a computer-readable storage medium storing a computer program that can be loaded by a processor and executed by a time-delay faucet control method.
[0102] Computer storage media include, for example, USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks, and other media that can store program codes.
[0103] Based on the same inventive concept, an embodiment of the present invention provides an intelligent terminal, including a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute a delayed faucet control method.
[0104] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0105] The above are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any feature disclosed in this specification (including the abstract and drawings), unless otherwise stated, can be replaced by other equivalent or alternative features with similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.
Claims
1. A time-delay faucet control method, characterized in that: include: Get the start trigger information of the delayed faucet; Controlling the preset water outlet device to obtain the starting force parameter information according to the starting trigger information; Determine the water output parameter information of the delayed faucet according to the starting force parameter information and the preset force-water output relationship information; Control the delayed faucet water flow according to the water flow parameter information.
2. A time-delay faucet control method according to claim 1, characterized in that: The startup force parameter information includes startup force value information and startup force speed information. The step of controlling a preset water outlet device to obtain the startup force parameter information according to the startup trigger information includes: Controlling a preset locking device to unlock a preset faucet switch according to the start trigger information; Within the preset detection time, the water outlet device is controlled to obtain the force-time curve information in real time; Analyze the force time curve information to determine the starting force value information and the starting force speed information; The starting force value information and the starting force speed information are associated to generate starting force parameter information.
3. A time-delay faucet control method according to claim 2, characterized in that: The steps of analyzing the force time curve information to determine the starting force value information and the starting force speed information include: Analyze the force-time curve information to determine the real-time force value information and the reference force value information; Determine whether the real-time force value information meets the requirements of the reference force value information; If it does not meet the requirements, continue to analyze according to the force time curve information to determine the real-time force value information and reference force value information for cyclic judgment; If it meets the requirements, the basic force time information is determined by analyzing the force time curve information and the reference force value information, and the water outlet device is controlled to obtain the reset force curve information in real time; An analysis is performed based on the reference force value information, the basic force time information and the reset force curve information to determine the starting force value information and the starting force speed information.
4. A time-delay faucet control method according to claim 3, characterized in that: The step of analyzing the reference force value information, the basic force time information and the reset force curve information to determine the starting force value information and the starting force speed information comprises: Determine whether the reset force curve information meets the requirements of the preset overall downward trend information; If it is in compliance, the reference force value information is defined as the starting force value information, and the starting force speed information is determined by analyzing the reference force value information and the basic force time information; If it does not meet the requirements, the force curve information is analyzed based on the reset force curve information to determine the corrected force curve information; The corrected force curve information is analyzed to determine the starting force value information and the starting force speed information.
5. A time-delay faucet control method according to claim 3, characterized in that: The steps of controlling the water outlet device to obtain reset force curve information in real time include: Control the water outlet device to obtain foundation force curve information in real time; Analyze the force-time curve information to determine the initial force parameter information; Determine whether the foundation force curve information meets the requirements of the initial force parameter information; If it does not meet the requirements, the water outlet device will continue to be controlled to obtain the basic force curve information in real time for cyclic judgment; If it meets the requirements, the basic force curve information is defined as the reset force curve information.
6. A time-delay faucet control method according to claim 5, characterized in that: After the basic force curve information is defined as the reset force curve information, a method for maintaining the reset force curve information is also included, and the specific steps include: Analyze the water output parameter information to determine the holding time information; When the basic force curve information meets the requirements of the initial force parameter information, the locking device is controlled to lock the faucet switch according to the holding time information and the preset unsolvable locking trigger information; After the time corresponding to the time information is maintained, the locking device is controlled to lock the faucet switch according to the preset unlocking trigger information.
7. A time-delay faucet control method according to claim 2, characterized in that: The force-effect water-outflow relationship information includes force-effect water-outflow time relationship information and force-effect water-outflow flow relationship information. The step of determining the water-outflow parameter information of the delayed faucet according to the starting force parameter information and the preset force-effect water-outflow relationship information includes: Determine the water discharge time information according to the starting force value information and the force discharge time relationship information; Determine the water flow rate information according to the starting force speed information and the force water flow rate relationship information; The water outflow time information and the water outflow flow information are associated to generate water outflow parameter information.
8. A time-delay faucet control system, characterized in that: include: An acquisition module is used to acquire startup trigger information and startup force parameter information; A memory, used to store a program of a delayed faucet control method according to any one of claims 1 to 7; The program in the processor memory can be loaded and executed by the processor to implement a delayed faucet control method as described in any one of claims 1 to 7.
9. An intelligent terminal, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and executes a time-delay faucet control method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute a time-delay faucet control method as claimed in any one of claims 1 to 7.
Citation Information
Cited By
High-flow two-way cut-off two-way cartridge valve based on quantitative control
CN119412400A
Control method of large flow bidirectional cut-off two-way cartridge valve based on quantitative control
CN119412400B
