Water purification equipment fault detection method and device, electronic equipment and storage medium
By obtaining and detecting the flowmeter readings of the water purification equipment and deploying it to the target equipment for fault detection without fault detection, the problem of low fault detection accuracy in the prior art is solved, and higher fault detection accuracy is achieved.
Patent Information
- Application Number
- CN202411938051.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2044-12-26
AI Technical Summary
Existing water purification equipment fault detection methods rely too much on flowmeter readings, resulting in low accuracy in fault detection.
By obtaining a first flowmeter reading of the flowmeter deployed in the unfailed water purification equipment, the operation failure of the flowmeter is detected, and the second flowmeter reading when the flowmeter is deployed on the target water purification equipment without fault is obtained, and the target water purification equipment is fault-detected based on the reading.
It improves the accuracy of water purification equipment fault detection and reduces the risk of misjudgment caused by flowmeter failure.
Smart Images

Figure CN119797454A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of water purification technology, and in particular to a method, device, electronic device and storage medium for detecting faults in water purification equipment. Background Art
[0002] As people's living standards improve, the safety and health of drinking water are receiving more and more attention, and the application of water purification equipment is becoming more and more popular.
[0003] At present, whether a water purification device has a fault is judged by the flow meter reading of the flow meter deployed on the water purification device, so that when it is determined that the water purification device has a fault, the user is reminded to perform timely maintenance on the water purification device. In this way, the fault judgment of the water purification device is too dependent on the flow meter reading, resulting in low accuracy in fault detection of the water purification device. Summary of the invention
[0004] Based on this, it is necessary to provide a water purification equipment fault detection method, device, electronic device, computer-readable storage medium and computer program product that can improve the accuracy of water purification equipment fault detection in response to the above technical problems.
[0005] In a first aspect, the present application provides a method for detecting faults in a water purification device. The method comprises:
[0006] Obtain a first flow meter reading of a flow meter deployed on a non-faulty water purification device;
[0007] Detecting an operation fault of the flow meter according to the first flow meter reading to obtain flow meter fault detection information of the flow meter;
[0008] When the flow meter fault detection information shows that there is no fault, a second flow meter reading is obtained when the flow meter is deployed on the target water purification equipment, and a fault detection is performed on the target water purification equipment based on the operating state of the target water purification equipment when the second flow meter reading corresponds to the reading, to obtain equipment fault detection information.
[0009] In one of the embodiments, the first flow meter reading includes a plurality of first flow meter sub-readings respectively read at a plurality of time points; based on the first flow meter reading, the operation fault of the flow meter is detected to obtain flow meter fault detection information of the flow meter, including: obtaining a first flow range when the non-faulty water purification equipment is in operation; when there are a plurality of first target sub-readings corresponding to flow values outside the first flow range among the plurality of first flow meter sub-readings, and the flow duration corresponding to the plurality of first target sub-readings is greater than a first preset duration threshold, the flow meter fault detection information of the flow meter is determined to be a fault.
[0010] In one embodiment, obtaining the first flow range when the non-faulty water purification equipment is in operation includes: obtaining first equipment information of the non-faulty water purification equipment, wherein the first equipment information includes at least one of equipment component information, equipment usage information and equipment processing information; based on the first equipment information, generating the first flow range when the non-faulty water purification equipment is in operation.
[0011] In one embodiment, generating a first flow range when the non-faulty water purification device is in operation based on the first device information includes: evaluating the water purification capacity of the water purification device based on the device information to obtain water purification capacity evaluation information of the water purification device; generating a first flow range when the non-faulty water purification device is in operation based on the water purification capacity evaluation information.
[0012] In one of the embodiments, the second flow meter reading includes a plurality of second flow meter sub-readings respectively read at a plurality of time points; the target water purification equipment is subjected to fault detection according to the operating state of the target water purification equipment at the time of the reading corresponding to the second flow meter reading, and equipment fault detection information is obtained, including: obtaining the second flow range when the target water purification equipment is operating in the operating state corresponding to the second flow meter reading; when there are a plurality of flow values corresponding to the second target sub-readings among the plurality of second flow meter sub-readings that are outside the second flow range, and the flow duration corresponding to the plurality of second target sub-readings is greater than a second preset duration threshold, it is determined that the equipment fault detection information of the target water purification equipment includes a switch valve fault.
[0013] In one of the embodiments, the method further includes: obtaining the time required for cleaning the target water purification equipment; and determining the second preset time threshold according to the time required for cleaning the equipment.
[0014] In one of the embodiments, the method also includes: obtaining at least one pressure switch signal of a pressure switch deployed in the target water purification equipment; if it is detected that the cumulative number of signals of the at least one pressure switch signal within the second preset time threshold is greater than the preset number threshold, then determining that the equipment fault detection information of the target water purification equipment includes a pressure switch fault.
[0015] In a second aspect, the present application also provides a water purification equipment fault detection device. The device comprises:
[0016] An acquisition module, used for acquiring a first flow meter reading of a flow meter deployed in a non-faulty water purification device;
[0017] A detection module is used to detect an operating fault of the flow meter according to the flow meter reading to obtain flow meter fault detection information of the flow meter; when the flow meter fault detection information shows that there is no fault, obtain a second flow meter reading when the flow meter is deployed on a target water purification device, and perform fault detection on the target water purification device according to the operating state of the target water purification device when the second flow meter reading corresponds to the reading, to obtain equipment fault detection information.
[0018] In a third aspect, the present application further provides an electronic device. The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0019] Obtain a first flow meter reading of a flow meter deployed on a non-faulty water purification device;
[0020] Detecting an operation fault of the flow meter according to the first flow meter reading to obtain flow meter fault detection information of the flow meter;
[0021] When the flow meter fault detection information shows that there is no fault, a second flow meter reading is obtained when the flow meter is deployed on the target water purification equipment, and a fault detection is performed on the target water purification equipment based on the operating state of the target water purification equipment when the second flow meter reading corresponds to the reading, to obtain equipment fault detection information.
[0022] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0023] Obtain a first flow meter reading of a flow meter deployed on a non-faulty water purification device;
[0024] Detecting an operation fault of the flow meter according to the first flow meter reading to obtain flow meter fault detection information of the flow meter;
[0025] When the flow meter fault detection information shows that there is no fault, a second flow meter reading is obtained when the flow meter is deployed on the target water purification equipment, and a fault detection is performed on the target water purification equipment based on the operating state of the target water purification equipment when the second flow meter reading corresponds to the reading, to obtain equipment fault detection information.
[0026] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0027] Obtain a first flow meter reading of a flow meter deployed on a non-faulty water purification device;
[0028] Detecting an operation fault of the flow meter according to the first flow meter reading to obtain flow meter fault detection information of the flow meter;
[0029] When the flow meter fault detection information shows that there is no fault, a second flow meter reading is obtained when the flow meter is deployed on the target water purification equipment, and a fault detection is performed on the target water purification equipment based on the operating state of the target water purification equipment when the second flow meter reading corresponds to the reading, to obtain equipment fault detection information.
[0030] The above-mentioned water purification equipment fault detection system, method, device, electronic device and storage medium obtain a first flow meter reading of a flow meter deployed on a non-faulty water purification equipment; detect the operating fault of the flow meter according to the first flow meter reading to obtain flow meter fault detection information of the flow meter; when the flow meter fault detection information shows that there is no fault, obtain a second flow meter reading when the flow meter is deployed on the target water purification equipment, and perform fault detection on the target water purification equipment according to the operating state of the target water purification equipment when the second flow meter reading corresponds to the reading, to obtain equipment fault detection information, when ensuring that the flow meter fault detection information shows that there is no fault, that is, when ensuring that the second flow meter reading when the flow meter is deployed on the target water purification equipment is accurate, the second flow meter reading is used as the basis for the corresponding fault detection of the target water purification equipment, considering the risk of low accuracy of water purification equipment fault detection when the flow meter fails and the second flow meter reading is used as the basis for the fault detection of the target water purification equipment, the accuracy of water purification equipment fault detection is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A schematic diagram of an application scenario of a method for detecting faults in a water purification device in an embodiment;
[0032] Figure 2 A schematic diagram of an application scenario of a method for detecting faults in water purification equipment in another embodiment;
[0033] Figure 3 A schematic diagram of a flow chart of a method for detecting a fault of a water purification device in one embodiment;
[0034] Figure 4 A schematic diagram of a flow chart of detecting an operation fault of a flow meter according to a first flow meter reading to obtain flow meter fault detection information of the flow meter in an embodiment;
[0035] Figure 5 A schematic diagram of a flow chart of performing fault detection on a target water purification device to obtain device fault detection information according to the operating state of the target water purification device when the second flow meter reading corresponds to the reading in one embodiment;
[0036] Figure 6 is a structural block diagram of a water purification equipment fault detection device in one embodiment;
[0037] Figure 7 FIG. 4 is a diagram showing the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. 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.
[0039] The water purification equipment fault detection method provided in the embodiment of the present application can be applied to Figure 1In the application scenario shown. The target water purification device 102 communicates with the flow meter 104, which can be achieved through a network or through a connecting line, and there is no limitation here; the target water purification device 102 includes a storage component and a detection component, and the storage component can store data that the target water purification device 102 needs to process (for example, a first flow meter reading, a second flow meter reading, a first flow range, a second flow range, equipment information, and the time required for equipment cleaning, etc.), and the target water purification device 102 receives the first flow meter reading sent by the flow meter 104 when it is deployed in a non-faulty water purification device, and the detection component detects the operating fault of the flow meter 104 according to the first flow meter reading to obtain the flow meter fault detection information of the flow meter 104; when the flow meter fault detection information is that there is no fault, the second flow meter reading when the flow meter 104 is deployed in the target water purification device 102 is obtained, and according to the operating state of the target water purification device 102 when the second flow meter reading corresponds to the reading, the target water purification device 102 is fault-detected to obtain the device fault detection information. The target water purification device 102 can also communicate with the terminal 106 through the network, or through a connecting line, which is not limited here; the target water purification device 102 can push the flow meter fault detection information to the terminal 106, so that the user can timely maintain or replace the flow meter 104, and the target water purification device 102 can also push the device fault detection information to the terminal 106, so that the user can timely maintain the target water purification device 102. The terminal 106 can be, but not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc.
[0040] In another application scenario, it is applied to Figure 2In the application scenario shown. Among them, the server 202 communicates with the target water purification equipment 102 and the flow meter 104 respectively through the network, and can also communicate through a connecting line, which is not limited here; the data storage system can store the data that the server 202 needs to process (for example, the first flow meter reading, the second flow meter reading, the first flow range, the second flow range, the equipment information, the time required for equipment cleaning, etc.), and receives the first flow meter reading collected when the flow meter 104 is deployed in the non-faulty water purification equipment through the server 202. According to the first flow meter reading, the operation fault of the flow meter 104 is detected to obtain the flow meter fault detection information of the flow meter 104; when the flow meter fault detection information is that there is no fault, the second flow meter reading when the flow meter 104 is deployed in the target water purification equipment 102 is obtained, and according to the operating state of the target water purification equipment 102 when the second flow meter reading corresponds to the reading, the target water purification equipment 102 is fault detected to obtain the equipment fault detection information. The data storage system can be integrated on the server 202, or it can be placed on the cloud or other network servers. The server 202 can be implemented as an independent server or a server cluster composed of multiple servers. The server 202 can also communicate with the terminal 106 through the network, or through a connecting line, which is not limited here; the server 202 can push the flow meter fault detection information to the terminal 106, so that the user can timely maintain or replace the flow meter 104; the server 202 can also push the equipment fault detection information to the terminal 106, so that the user can timely maintain the target water purification equipment 102. The terminal 106 can be, but not limited to, various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head-mounted device can be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc.
[0041] In one embodiment, Figure 3 As shown, a water purification equipment fault detection method is provided, and the method is applied to Figure 2 Taking the server 202 in the example as an example, the following steps are included:
[0042] Step 302, obtaining a first flow meter reading of a flow meter deployed in a non-faulty water purification device.
[0043] The non-faulty water purification device and the target water purification device are not the same device, and the device structures of the non-faulty water purification device and the target water purification device may be the same or different, which is not limited here.
[0044] Among them, the flow meter readings involved in the full text (including the first flow meter reading and the second flow meter reading mentioned above) may include pulse readings, electrical parameter readings, and flow readings. The electrical parameter readings include but are not limited to current readings and voltage readings.
[0045] As an embodiment, step 302 includes: obtaining a first pulse reading, a first electrical parameter reading, or a first flow reading when the flow meter is deployed in a non-faulty water purification device.
[0046] Step 304: Detect the operation fault of the flow meter according to the first flow meter reading to obtain flow meter fault detection information of the flow meter.
[0047] Among them, the flow meter fault detection information in step 304 may include a flow meter fault detection label, and may also include a flow meter fault risk value. The flow meter fault detection label includes a fault label or a fault label. The flow meter fault risk value is used to characterize the risk level of a flow meter fault.
[0048] Exemplarily, step 304 includes: converting the first flow meter reading into a first flow value, and detecting an operation fault of the flow meter according to the first flow value to obtain flow meter fault detection information of the flow meter.
[0049] As an embodiment, converting the first flow meter reading into the first flow value includes: when the first flow meter reading includes the first flow reading, determining the first flow reading as the first flow value.
[0050] As another embodiment, converting a first flow meter reading into a first flow value includes: when the first flow meter reading includes a pulse reading, obtaining a pulse coefficient corresponding to the first flow meter, and converting the pulse reading into the first flow value based on the pulse coefficient. Specifically, the product of the pulse coefficient and the pulse reading is determined as the first flow value.
[0051] As another embodiment, converting the first flow meter reading into the first flow value includes: when the first flow meter reading includes an electrical parameter reading, obtaining a mapping relationship corresponding to the first flow meter, wherein the mapping relationship includes a corresponding relationship between the electrical parameter value and the flow value, and converting the electrical parameter reading included in the first flow meter reading into the first flow value through the mapping relationship. For example, the current range of the flow meter is 0-10mA, and the flow value range is 0%-100%. When the electrical parameter reading included in the first flow meter reading is 0mA, the converted first flow value is 0%, and when the electrical parameter reading included in the first flow meter reading is 10mA, the converted first flow value is 100%; the voltage range of the flow meter is 0-5V, and the flow value range is 0%-100%. When the electrical parameter reading included in the first flow meter reading is 0V, the converted first flow value is 0%, and when the electrical parameter reading included in the first flow meter reading is 5V, the converted first flow value is 100%.
[0052] Step 306, when the flow meter fault detection information shows that there is no fault, obtain the second flow meter reading when the flow meter is deployed on the target water purification equipment, and perform fault detection on the target water purification equipment according to the operating state of the target water purification equipment when the second flow meter reading corresponds to the reading, to obtain equipment fault detection information.
[0053] Optionally, the method also includes: when the flow meter fault detection information includes a flow meter fault detection label, if the flow meter fault detection label includes a fault non-existence label, determining the flow meter fault detection information as no fault exists; when the flow meter fault detection information includes a flow meter fault risk value, if the flow meter fault risk value is lower than a preset risk threshold, determining the flow meter fault detection information as no fault exists, wherein the preset risk threshold can be set by the user as needed, or can be an empirical value.
[0054] Exemplarily, obtaining a second flow meter reading when the flow meter is deployed in the target water purification equipment includes: obtaining a second pulse reading, a second electrical parameter reading, or a second flow reading when the flow meter is deployed in the target water purification equipment.
[0055] Exemplarily, according to the operating state of the target water purification equipment when the second flow meter reading corresponds to the reading, fault detection is performed on the target water purification equipment to obtain equipment fault detection information, including: converting the second flow meter reading into a second flow value, and according to the second flow value and the operating state of the target water purification equipment when the second flow meter reading corresponds to the reading, fault detection is performed on the target water purification equipment to obtain equipment fault detection information.
[0056] Optionally, the specific implementation of converting the second flow meter reading into the second flow value may refer to the specific implementation content of the above-mentioned step of converting the first flow meter reading into the first flow value, which will not be described in detail here.
[0057] In this embodiment, a first flow meter reading of a flow meter deployed on a non-faulty water purification device is obtained; based on the first flow meter reading, an operating fault of the flow meter is detected to obtain flow meter fault detection information of the flow meter; when the flow meter fault detection information shows that there is no fault, a second flow meter reading when the flow meter is deployed on the target water purification device is obtained, and based on the operating state of the target water purification device when the second flow meter reading corresponds to the reading, a fault detection is performed on the target water purification device to obtain device fault detection information. When the flow meter fault detection information is ensured to show that there is no fault, that is, when the second flow meter reading when the flow meter is deployed on the target water purification device is ensured to be accurate, the second flow meter reading is used as a basis for corresponding fault detection of the target water purification device. Considering that when the flow meter fails, the risk of low accuracy of water purification device fault detection is brought about when the second flow meter reading is used as the basis for fault detection of the target water purification device. Therefore, the accuracy of water purification device fault detection is improved.
[0058] In one embodiment, Figure 4 As shown, steps of a flow meter fault detection method are provided, in which a first flow meter reading includes a plurality of first flow meter sub-readings respectively read at a plurality of time points; Figure 3 In step 304, the operation fault of the flow meter is detected according to the first flow meter reading to obtain flow meter fault detection information of the flow meter, including:
[0059] Step 402, obtaining a first flow range when the water purification device is not in failure and is in operation.
[0060] Exemplarily, step 402 includes: obtaining the first flow range when a non-faulty water purification device is in operation as set by the user as needed; or, obtaining the first usage flow rate of a non-faulty water purification device during use, and generating the first flow range when the non-faulty water purification device is in operation based on the first usage flow rate; or, obtaining first device information of a non-faulty water purification device, and generating the first flow range when the non-faulty water purification device is in operation based on the device information.
[0061] Furthermore, based on the first usage flow, a first flow range when the water purification device is not faulty is generated, including: the first usage flow includes the first usage sub-flows at multiple time points, and the first flow range when the water purification device is not faulty is generated according to the flow distribution corresponding to the first usage sub-flows at multiple time points. Specifically, it can be to generate the flow range corresponding to the water purification device without fault according to the minimum flow value and the maximum flow value in the first usage sub-flows at multiple time points (determine the minimum flow value as the minimum value in the first flow range, and determine the maximum flow value as the maximum value in the first flow range). It can also be to generate the first flow range when the water purification device is not faulty according to the sum and difference between the average flow value and the average flow difference in the first usage sub-flows at multiple time points (determine the sum of the flow average value and the flow average difference as the maximum value in the first flow range, and determine the difference between the flow average value and the flow average difference as the minimum value in the first flow range).
[0062] In this way, a variety of ways of generating the first flow range are provided, ensuring that the generated flow range can match the flow rate used during normal use of the water purification device.
[0063] The device information involved in the full text (including the first device information mentioned above and the second device information mentioned below) includes at least one of device component information, device usage information and device processing information.
[0064] As one embodiment, based on the first equipment information, a first flow range when a non-faulty water purification device is in operation is generated, including: based on the first equipment information, evaluating the water purification capacity of the non-faulty water purification device to obtain water purification capacity evaluation information of the non-faulty water purification device; based on the water purification capacity evaluation information of the non-faulty water purification device, generating the first flow range when the non-faulty water purification device is in operation.
[0065] Among them, the equipment component information includes at least one of the component model of the water purification components constituting the corresponding water purification equipment (when the equipment information is the first equipment information, the corresponding water purification equipment is a non-faulty water purification equipment, and when the equipment information is the second equipment information, the corresponding water purification equipment is the target water purification equipment) and the component depreciation rate of the water purification components constituting the corresponding water purification equipment, the equipment usage information includes at least one of the equipment usage time, the equipment usage depreciation rate and the water quality of the equipment inlet water, and the equipment processing information includes the equipment processing flow information. The better the component quality of the water purification components represented by the component models of the water purification components constituting the corresponding water purification equipment, the stronger the water purification capacity represented by the water purification capacity assessment information obtained by evaluation; the lower the component depreciation rate of the water purification components constituting the corresponding water purification equipment, the stronger the water purification capacity represented by the water purification capacity assessment information obtained by evaluation; the shorter the equipment is used, the stronger the water purification capacity represented by the water purification capacity assessment information obtained by evaluation; the lower the equipment use depreciation rate, the stronger the water purification capacity represented by the water purification capacity assessment information obtained by evaluation; the better the water quality of the inlet water used by the equipment, the stronger the water purification capacity represented by the water purification capacity assessment information obtained by evaluation; the larger the processing flow value represented by the equipment processing flow information, the stronger the water purification capacity represented by the water purification capacity assessment information obtained by evaluation.
[0066] In this way, the influence of the equipment component information, equipment usage information and equipment processing information on the water purification capacity of the corresponding water purification equipment is taken into consideration, so that the water purification capacity evaluation information obtained by evaluation is more accurate.
[0067] The stronger the water purification capacity represented by the water purification capacity evaluation information is, the higher the flow critical value (maximum value or minimum value in the flow range) generated in the first flow range is.
[0068] In this way, considering that the stronger the water purification capacity of the non-faulty water purification equipment is, the greater the flow rate of water that can be purified by the water purification equipment per unit time is, therefore, the flow critical value in the generated first flow range is higher, so that the first flow range matches the water purification capacity of the non-faulty water purification equipment, thereby improving the generation accuracy of the first flow range.
[0069] Step 404, when there are flow values corresponding to multiple first target sub-readings among multiple first flow meter sub-readings that are outside the first flow range, and the flow duration corresponding to the multiple first target sub-readings is greater than the first preset duration threshold, determine that the flow meter fault detection information of the flow meter is faulty.
[0070] Among them, the first preset time threshold can be set by the user as needed, and can also be determined according to the water purification status corresponding to the non-faulty water purification equipment, and there is no restriction here.
[0071] The flow duration corresponding to the plurality of first target sub-readings is the time difference between the latest reading time and the earliest reading time corresponding to the plurality of first target sub-readings.
[0072] It is understandable that during the use of a non-faulty water purification device, there may be abnormal water purification conditions such as water pressure fluctuations, water outages, water purification device drainage, and water purification device self-cleaning. At this time, the first flow meter reading collected by the flow meter deployed in the non-faulty water purification device is abnormal in itself, and does not mean that the flow meter must be faulty. If the instantaneous first flow meter sub-reading is directly used as the basis for judging whether the flow meter is faulty, and the instantaneous first flow meter sub-reading is under the abnormal water purification condition of the non-faulty water purification device, it is easy to misjudge the flow meter failure, resulting in low accuracy in flow meter failure judgment.
[0073] As an embodiment, the method also includes: selecting a first maximum time duration from at least one of the water pressure fluctuation time duration, water outage time duration, drainage time duration and self-cleaning time duration corresponding to the non-faulty water purification equipment, and determining a first preset time duration threshold value based on the first maximum time duration. Specifically, the first maximum time duration may be determined as the first preset time duration threshold value, or the first preset time duration threshold value may be set to be greater than the first maximum time duration.
[0074] In this way, taking into account the impact of abnormal water purification conditions such as water pressure fluctuations, water outages, water purification equipment drainage, and water purification equipment self-cleaning during the use of a non-faulty water purification equipment on the misjudgment of a flow meter failure, by adding a first preset time threshold that is the same as the maximum duration of the above-mentioned abnormal water purification conditions, when the corresponding flow duration is greater than the first preset time threshold, it is determined that the first flow meter reading of the flow meter is not affected by the abnormal water purification conditions of the water purification equipment, thereby improving the accuracy of the flow meter fault judgment.
[0075] Optionally, the method also includes: when there are no multiple first target sub-readings among the multiple first flow meter readings, or when there are multiple first target sub-readings among the multiple first flow meter readings, and the flow durations corresponding to the multiple first target sub-readings are all no greater than a first preset duration threshold, determining the flow meter fault detection information of the flow meter as no fault exists.
[0076] In this way, when there are no multiple first target sub-readings among multiple first flow meter readings, it means that the non-faulty water purification equipment does not have the above-mentioned abnormal water purification condition. Therefore, the multiple first flow meter readings will not be affected by the above-mentioned abnormal water purification condition of the non-faulty water purification equipment. At this time, the multiple first flow meter readings match the flow rate of the non-faulty water purification equipment during normal use, so it is determined that the flow meter has no fault; when there are multiple first target sub-readings among multiple first flow meter readings, it means that the non-faulty water purification equipment may have the above-mentioned abnormal water purification condition, and when the flow duration corresponding to the multiple first target sub-readings is not greater than the first preset duration threshold, it means that the multiple first target sub-readings are generated after being affected by the abnormal water purification condition of the non-faulty water purification equipment. Then, even if the multiple first target sub-readings do not match the flow rate of the non-faulty water purification equipment during normal use, their duration is short, so it can be determined that the flow meter has no fault; in summary, the detection accuracy of the flow meter fault is improved.
[0077] In this embodiment, by obtaining the first flow range when the non-faulty water purification equipment is running; when there are multiple first target sub-readings among multiple first flow meter sub-readings whose corresponding flow values are outside the first flow range, and the flow duration corresponding to the multiple first target sub-readings is greater than the first preset time threshold, the flow meter fault detection information of the flow meter is determined to be a fault. When there are multiple first target sub-readings among multiple first flow meter sub-readings whose corresponding flow values are outside the first flow range, and the flow duration corresponding to the multiple first target sub-readings is greater than the first preset time threshold, it means that the multiple first target sub-readings are not affected by the water purification conditions of the abnormal use of the non-faulty water purification equipment, that is, the multiple first target sub-readings at this time can characterize that the flow meter readings do not match the flow during normal use of the non-faulty water purification equipment. Therefore, it is determined that the flow meter has a fault, thereby improving the fault detection accuracy of the flow meter.
[0078] In one embodiment, Figure 5 As shown, steps of a method for detecting faults in a water purification device are provided, in which the second flow meter reading includes a plurality of second flow meter sub-readings respectively read at a plurality of time points; Figure 3 In step 306, according to the operating state of the target water purification equipment when the second flow meter reading corresponds to the reading, the target water purification equipment is fault-detected to obtain equipment fault detection information, including:
[0079] Step 502: Obtain a second flow range when the target water purification device is operating in an operating state corresponding to a second flow meter reading.
[0080] Among them, the operating state corresponding to the second flow meter reading is the operating state of the target water purification equipment when the second flow meter reading is read, and the operating state corresponding to the second flow meter reading includes at least one of a water purification operating state and a standby operating state.
[0081] Exemplarily, step 502 includes: when the operating state corresponding to the second flow meter reading of the flow meter includes a water purification operating state, obtaining a first flow sub-range when the target water purification equipment is operating in the water purification state, and determining the first flow sub-range as the second flow range; when the operating state corresponding to the second flow meter reading of the flow meter includes a standby operating state, obtaining a second flow sub-range when the target water purification equipment is operating in the standby operating state, and determining the second flow sub-range as the second flow range; when the operating state corresponding to the second flow meter reading of the flow meter includes a water purification operating state and a standby operating state, obtaining the first flow sub-range when the target water purification equipment is operating in the water purification state, and obtaining the second flow sub-range when the target water purification equipment is operating in the standby operating state, and jointly determining the first flow sub-range and the second flow sub-range as the second flow range.
[0082] Furthermore, obtaining a first flow sub-range when the target water purification equipment is operating in a water purification state includes: obtaining second equipment information of the target water purification equipment, evaluating the water purification capacity of the target water purification equipment based on the second equipment information, and obtaining water purification capacity evaluation information of the target water purification equipment; generating a first flow sub-range when the target water purification equipment is operating in a water purification state based on the water purification capacity evaluation information of the target water purification equipment.
[0083] Optionally, based on the second equipment information, the water purification capacity of the target water purification equipment is evaluated to obtain the water purification capacity evaluation information of the target water purification equipment; based on the water purification capacity evaluation information of the target water purification equipment, a specific implementation method of generating the first flow sub-range when the target water purification equipment is operating in a water purification state can refer to the above-mentioned step of evaluating the water purification capacity of a non-faulty water purification equipment based on the first equipment information to obtain the water purification capacity evaluation information of a non-faulty water purification equipment; and generating the first flow range when the non-faulty water purification equipment is operating based on the water purification capacity evaluation information of the non-faulty water purification equipment. The specific implementation content of the step will not be repeated here.
[0084] The highest value corresponding to the second flow sub-range is lower than the lowest value corresponding to the first flow sub-range.
[0085] It is understandable that when the target water purification equipment is operating in standby mode, no water will enter the target water purification equipment. Therefore, the flow rate of the water channel in the target water purification equipment should be small. Therefore, the maximum value corresponding to the second flow sub-range is set lower than the minimum value corresponding to the first flow sub-range.
[0086] Step 504, when there are multiple second target sub-readings among the multiple second flow meter sub-readings whose flow values correspond to the multiple second target sub-readings are outside the second flow range, and the flow duration corresponding to the multiple second target sub-readings is greater than the second preset duration threshold, it is determined that the equipment fault detection information of the target water purification equipment includes a switch valve fault.
[0087] The plurality of second flow meter sub-readings include at least one of a plurality of third flow sub-readings corresponding to a water purification operation state and a plurality of fourth flow sub-readings corresponding to a standby operation state.
[0088] The second preset time threshold includes at least one of a first preset sub-time threshold corresponding to the first traffic sub-range and a second preset sub-time threshold corresponding to the second traffic sub-range.
[0089] As an embodiment, the method also includes: in a case where multiple second flow meter sub-readings include multiple third flow sub-readings whose corresponding operating states are water purification operating states, if there are multiple third target sub-readings among the multiple third flow sub-readings whose corresponding flow values are outside the first flow sub-range, and the flow duration corresponding to the multiple third target sub-readings is greater than the first preset sub-time threshold, then it is determined that there are multiple second target sub-readings among the multiple second flow meter sub-readings whose corresponding flow values are outside the second flow range, and the flow duration corresponding to the multiple second target sub-readings is greater than the second preset time threshold.
[0090] As another embodiment, the method also includes: in a case where multiple second flow meter sub-readings include multiple fourth flow sub-readings whose corresponding operating state is a standby operating state, if there are multiple fourth target sub-readings among the multiple fourth flow sub-readings whose corresponding flow values are outside the second flow sub-range, and the flow duration corresponding to the multiple fourth target sub-readings is greater than the second preset sub-time threshold, then it is determined that there are multiple second target sub-readings among the multiple second flow meter sub-readings whose corresponding flow values are outside the second flow range, and the flow duration corresponding to the multiple second target sub-readings is greater than the second preset time threshold.
[0091] Optionally, the method also includes: selecting a second maximum duration from at least one of the water pressure fluctuation duration and the water outage duration corresponding to the target water purification equipment, and determining a first preset sub-time threshold in the second preset time threshold based on the second maximum time. Specifically, the second maximum duration may be determined as the first preset sub-time threshold in the second preset time threshold, or the first preset sub-time threshold in the second preset time threshold may be set to be greater than the second maximum duration.
[0092] In this way, taking into account the impact of abnormal water purification conditions such as water pressure fluctuations and water outages on the misjudgment of the target water purification equipment failure when the target water purification equipment is running in the water purification operation state, by adding a first preset sub-time threshold that is the same as or longer than the maximum duration of the water purification condition with the above-mentioned abnormal water purification use, when the corresponding flow duration is greater than the first preset sub-time threshold, it is determined that the third flow sub-reading of the flow meter is not affected by the abnormal water purification condition of the water purification equipment, thereby improving the accuracy of water purification equipment failure judgment.
[0093] It is understandable that when the target water purification equipment is operating in the standby operation state, the target water purification equipment may perform equipment cleaning processes such as equipment drainage or equipment self-cleaning. At this time, the second flow meter reading collected by the flow meter deployed on the target water purification equipment is likely to not match the standby operation state, which does not mean that the target water purification equipment must have a fault. If the instantaneous fourth flow meter sub-reading is directly used as the basis for judging whether the target water purification equipment is faulty, and the instantaneous fourth flow meter sub-reading is collected during the equipment cleaning process of the target water purification equipment, it is easy to misjudge the fault of the target water purification equipment, resulting in low accuracy in the judgment of the fault of the target water purification equipment.
[0094] Optionally, the method further includes: obtaining the time required for cleaning the target water purification equipment; and determining a second preset sub-time threshold in the second preset time threshold according to the time required for cleaning the equipment.
[0095] Furthermore, obtaining the time required for cleaning the target water purification equipment includes: selecting a third maximum time from at least one of the drainage time and the equipment self-cleaning time of the target water purification equipment, and determining the time required for cleaning the equipment according to the third maximum time. Specifically, the third maximum time may be determined as the time required for cleaning the equipment, or the time required for cleaning the equipment may be set to be greater than the third maximum time.
[0096] As one embodiment, based on the time required for equipment cleaning, a second preset sub-time threshold in the second preset time threshold is determined, including: determining the time required for equipment cleaning as the second preset sub-time threshold in the second preset time threshold, or setting the second preset sub-time threshold in the second preset time threshold to be greater than the time required for equipment cleaning.
[0097] In this way, taking into account that when the target water purification equipment is running in the standby operation state, there may be equipment cleaning processes such as water purification equipment drainage and water purification equipment self-cleaning, which may affect the misjudgment of the target water purification equipment failure. By adding a second preset sub-time threshold that is the same as or longer than the maximum duration of the above-mentioned equipment cleaning process, when the corresponding flow duration is greater than the second preset sub-time threshold, it is determined that the second target sub-reading of the flow meter is not affected by the equipment cleaning process of the water purification equipment, thereby improving the accuracy of the target water purification equipment failure judgment.
[0098] Optionally, the method also includes: when there are no multiple second target sub-readings among the multiple second flow meter sub-readings, or when there are multiple second target sub-readings among the multiple second flow meter sub-readings, and the flow durations corresponding to the multiple second target sub-readings are all no greater than a second preset duration threshold, then determining that the equipment fault detection information of the target water purification equipment includes that there is no fault in the switch valve.
[0099] In this way, when there are no multiple second target sub-readings among the multiple second flow meter sub-readings, it means that the target water purification equipment does not have the above-mentioned abnormal water purification condition. Therefore, the multiple second flow meter sub-readings will not be affected by the above-mentioned abnormal water purification condition of the target water purification equipment. At this time, the multiple second flow meter sub-readings match the flow rate of the target water purification equipment during normal use. Therefore, it is determined that the switch valve of the target water purification equipment has no fault. When there are multiple second target sub-readings among the multiple second flow meter sub-readings, it means that the target water purification equipment may have the above-mentioned abnormal water purification condition. When the flow duration corresponding to the multiple second target sub-readings is not greater than the preset duration threshold, it means that the multiple second target sub-readings are generated after being affected by the abnormal water purification condition of the target water purification equipment. Then, even if the multiple second target sub-readings do not match the flow rate of the target water purification equipment during normal use, their duration is short. Therefore, it can be determined that the switch valve of the target water purification equipment has no fault. In summary, the detection accuracy of the target water purification equipment fault is improved.
[0100] As an embodiment, the method also includes: in a case where multiple second flow meter sub-readings only include multiple third flow sub-readings whose corresponding operating state is a water purification operating state, if multiple third flow sub-readings do not have multiple third target sub-readings, then determining that multiple second flow meter sub-readings do not have multiple second target sub-readings; or, in a case where multiple second flow meter sub-readings only include multiple fourth flow sub-readings whose corresponding operating state is a standby operating state, if multiple fourth flow sub-readings do not have multiple fourth target sub-readings, then determining that multiple second flow meter sub-readings do not have multiple second target sub-readings; or, in a case where multiple second flow meter sub-readings include multiple third flow sub-readings whose corresponding operating state is a water purification operating state and multiple fourth flow sub-readings whose corresponding operating state is a standby operating state, if multiple third flow sub-readings do not have multiple third target sub-readings and multiple fourth flow sub-readings do not have multiple fourth target sub-readings, then determining that multiple second flow meter sub-readings do not have multiple second target sub-readings.
[0101] As another embodiment, the method further includes: in a case where the multiple second flow meter sub-readings only include multiple third flow sub-readings whose corresponding operating state is a water purification operating state, if the multiple third flow sub-readings have multiple third target sub-readings, and the flow durations corresponding to the multiple third target sub-readings are not greater than the first preset sub-time threshold, then determining that the multiple second flow meter sub-readings have multiple second target sub-readings, and the flow durations corresponding to the multiple second target sub-readings are not greater than the second preset time threshold; or, in a case where the multiple second flow meter sub-readings only include multiple fourth flow sub-readings whose corresponding operating state is a standby operating state, if the multiple fourth flow sub-readings have multiple fourth target sub-readings, and the flow durations corresponding to the multiple fourth target sub-readings are not greater than the second preset sub-time threshold, It is determined that there are multiple second target sub-readings among the multiple second flow meter sub-readings, and the flow durations corresponding to the multiple second target sub-readings are not greater than the second preset duration threshold; or, when the multiple second flow meter sub-readings include multiple third flow sub-readings whose corresponding operating states are water purification operating states and multiple fourth flow sub-readings whose corresponding operating states are standby operating states, if the flow durations corresponding to multiple third target sub-readings in the multiple third flow sub-readings are not greater than the first preset sub-time threshold, and the flow durations corresponding to multiple fourth target sub-readings in the multiple fourth flow sub-readings are not greater than the second preset sub-time threshold, it is determined that there are multiple second target sub-readings among the multiple second flow meter sub-readings, and the flow durations corresponding to the multiple second target sub-readings are not greater than the second preset time threshold.
[0102] In this way, it is considered that the second flow meter sub-readings include determination conditions corresponding to different types of readings.
[0103] Optionally, the method also includes: obtaining at least one pressure switch signal of a pressure switch deployed in the target water purification equipment; if it is detected that the cumulative number of signals of at least one pressure switch signal within a second preset time threshold is greater than a preset number threshold, then determining that the equipment fault detection information of the target water purification equipment includes a pressure switch fault.
[0104] Optionally, the method also includes: if the cumulative number of detected pressure switch signals is not greater than a preset number threshold, or the signal duration corresponding to the pressure switch signal is greater than a second preset duration threshold, then determining that the equipment fault detection information of the target water purification equipment includes that the pressure switch does not have a fault.
[0105] In which, when the second preset duration threshold includes the first preset sub-duration threshold and the second preset sub-duration threshold, the longer threshold of the first preset sub-duration threshold and the second preset sub-duration threshold is used as the detection duration threshold of the pressure switch signal in the above steps.
[0106] In this way, it is ensured that the pressure switch signal is not affected by the equipment cleaning process of the target water purification equipment, thereby improving the accuracy of fault judgment of the target water purification equipment.
[0107] In the present embodiment, the second flow range of the target water purification equipment when it is operating in the operating state corresponding to the second flow meter reading is obtained; when there are flow values corresponding to multiple second target sub-readings among multiple second flow meter sub-readings that are outside the second flow range, and the flow duration corresponding to the multiple second target sub-readings is greater than the second preset time threshold, it is determined that the equipment fault detection information of the target water purification equipment includes a switch valve fault. When there are flow values corresponding to multiple second target sub-readings among multiple second flow meter sub-readings that are outside the second flow range, and the flow duration corresponding to the multiple second target sub-readings is greater than the second preset time threshold, it means that the multiple second target sub-readings are not affected by the water purification condition of abnormal use of the target water purification equipment, that is, the multiple second target sub-readings at this time can characterize that the flow meter readings do not match the flow when the target water purification equipment is operating in the corresponding operating state, so it is determined that the switch valve of the target water purification equipment is faulty, thereby improving the accuracy of water purification equipment fault detection.
[0108] As a more detailed embodiment, a first flow meter reading of a flow meter deployed on a non-faulty water purification device is obtained; first device information of the non-faulty water purification device is obtained, wherein the first device information includes at least one of device component information, device usage information and device processing information; based on the device information, the water purification capacity of the water purification device is evaluated to obtain water purification capacity evaluation information of the water purification device; based on the water purification capacity evaluation information, a first flow range when the non-faulty water purification device is in operation is generated; when there are multiple first target sub-readings among multiple first flow meter sub-readings whose corresponding flow values are outside the first flow range, and the flow duration corresponding to the multiple first target sub-readings is greater than a first preset duration threshold, the flow meter fault detection information of the flow meter is determined to be a fault.
[0109] Furthermore, when the flow meter fault detection information indicates that there is no fault, a second flow meter reading is obtained when the flow meter is deployed on the target water purification equipment, and a second flow range when the target water purification equipment is operating in the operating state corresponding to the second flow meter reading is obtained; the time required for equipment cleaning of the target water purification equipment is obtained; based on the time required for equipment cleaning, a second preset time threshold is determined; when there are multiple second target sub-readings among multiple second flow meter sub-readings whose flow values are outside the second flow range, and the flow duration corresponding to the multiple second target sub-readings is greater than the second preset time threshold, it is determined that the equipment fault detection information of the target water purification equipment includes a fault in the switch valve; at least one pressure switch signal of the pressure switch deployed on the target water purification equipment is obtained; if it is detected that the cumulative number of signals of at least one pressure switch signal within the second preset time threshold is greater than the preset number threshold, it is determined that the equipment fault detection information of the target water purification equipment includes a fault in the pressure switch.
[0110] In this way, by ensuring that the flow meter fault detection information is that there is no fault, that is, ensuring that the second flow meter reading when the flow meter is deployed in the target water purification equipment is accurate, the second flow meter reading is used as the basis for the corresponding fault detection of the target water purification equipment. Taking into account the risk of low accuracy of water purification equipment fault detection when the flow meter fails and the second flow meter reading is used as the basis for target water purification equipment fault detection, the accuracy of water purification equipment fault detection is improved.
[0111] Further, when, among multiple first flow meter sub-readings, there are multiple first target sub-readings whose corresponding flow values are outside the first flow range, and the flow duration corresponding to the multiple first target sub-readings is greater than the first preset time threshold, it means that the multiple first target sub-readings are not affected by the water purification condition of the abnormal use of the non-faulty water purification equipment, that is, the multiple first target sub-readings at this time can characterize that the flow meter readings do not match the flow during normal use of the non-faulty water purification equipment, so it is determined that the flow meter has a fault, which improves the accuracy of flow meter fault detection; and, when, among multiple second flow meter sub-readings, there are multiple second target sub-readings whose corresponding flow values are outside the second flow range, and the flow duration corresponding to the multiple second target sub-readings is greater than the second preset time threshold, it means that the multiple second target sub-readings are not affected by the water purification condition of the abnormal use of the target water purification equipment, that is, the multiple second target sub-readings at this time can characterize that the flow meter readings do not match the flow during operation of the corresponding operating state of the target water purification equipment, so it is determined that the switch valve of the target water purification equipment has a fault, which improves the accuracy of water purification equipment fault detection.
[0112] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0113] Based on the same inventive concept, the embodiment of the present application also provides a water purification equipment fault detection device for implementing the water purification equipment fault detection method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more water purification equipment fault detection device embodiments provided below can refer to the limitations of the water purification equipment fault detection method above, and will not be repeated here.
[0114] In one embodiment, Figure 6 As shown, a water purification equipment fault detection device 600 is provided, including: an acquisition module 602 and a detection module 604, wherein:
[0115] An acquisition module 602 is used to acquire a first flow meter reading of a flow meter deployed in a non-faulty water purification device;
[0116] The detection module 604 is used to detect the operating fault of the flow meter according to the first flow meter reading, and obtain the flow meter fault detection information of the flow meter; when the flow meter fault detection information shows that there is no fault, obtain the second flow meter reading when the flow meter is deployed on the target water purification equipment, and perform fault detection on the target water purification equipment according to the operating state of the target water purification equipment when the second flow meter reading corresponds to the reading, and obtain the equipment fault detection information.
[0117] In one embodiment, the first flow meter reading includes multiple first flow meter sub-readings read at multiple time points respectively; the detection module 604 is also used to: obtain the first flow range when the non-faulty water purification equipment is running; when there are multiple first target sub-readings among the multiple first flow meter sub-readings whose flow values are outside the first flow range, and the flow duration corresponding to the multiple first target sub-readings is greater than the first preset duration threshold, the flow meter fault detection information of the flow meter is determined to be a fault.
[0118] In one embodiment, the detection module 604 is also used to obtain the first device information of the non-faulty water purification equipment, wherein the first device information includes at least one item of equipment component information, equipment usage information and equipment processing information; based on the first device information, a first flow range when the non-faulty water purification equipment is in operation is generated.
[0119] In one embodiment, the detection module 604 is also used to evaluate the water purification capacity of the water purification equipment according to the equipment information to obtain the water purification capacity evaluation information of the water purification equipment; and generate the first flow range when the non-faulty water purification equipment is running according to the water purification capacity evaluation information.
[0120] In one embodiment, the second flow meter reading includes multiple second flow meter sub-readings read at multiple time points respectively; the detection module 604 is also used to obtain the second flow range when the target water purification equipment is operating in the operating state corresponding to the second flow meter reading; when there are multiple flow values corresponding to the second target sub-readings among the multiple second flow meter sub-readings that are outside the second flow range, and the flow duration corresponding to the multiple second target sub-readings is greater than the second preset time threshold, it is determined that the equipment fault detection information of the target water purification equipment includes a fault in the switch valve.
[0121] In one embodiment, the detection module 604 is further used to obtain the time required for cleaning the target water purification equipment; and determine the second preset time threshold according to the time required for cleaning the equipment.
[0122] In one embodiment, the detection module 604 is also used to obtain at least one pressure switch signal of a pressure switch deployed in the target water purification equipment; if it is detected that the cumulative number of signals of at least one pressure switch signal within a second preset time threshold is greater than the preset number threshold, it is determined that the equipment fault detection information of the target water purification equipment includes a pressure switch fault.
[0123] Each module in the above-mentioned water purification equipment fault detection device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or can be stored in the memory of the electronic device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0124] In one embodiment, an electronic device is provided. The electronic device may be a terminal, and its internal structure diagram may be as follows: Figure 7 As shown. The electronic device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the electronic device is used to exchange information between the processor and the external device. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for detecting faults in a water purification device is implemented. The display unit of the electronic device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the electronic device casing, or an external keyboard, touchpad or mouse.
[0125] Those skilled in the art will understand that Figure 7 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0126] In one embodiment, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0127] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0128] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0129] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0130] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0131] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for detecting faults in water purification equipment, characterized in that: The method comprises: Obtain a first flow meter reading of a flow meter deployed on a non-faulty water purification device; Detecting an operation fault of the flow meter according to the first flow meter reading to obtain flow meter fault detection information of the flow meter; When the flow meter fault detection information shows that there is no fault, a second flow meter reading is obtained when the flow meter is deployed on the target water purification equipment, and a fault detection is performed on the target water purification equipment based on the operating state of the target water purification equipment when the second flow meter reading corresponds to the reading, to obtain equipment fault detection information.
2. The method according to claim 1, characterized in that The first flow meter reading includes a plurality of first flow meter sub-readings respectively read at a plurality of time points; the detecting the operation fault of the flow meter according to the first flow meter reading to obtain flow meter fault detection information of the flow meter includes: Obtaining a first flow range when the non-faulty water purification device is in operation; When, among the multiple first flow meter sub-readings, there are multiple first target sub-readings whose corresponding flow values are outside the first flow range, and when the flow duration corresponding to the multiple first target sub-readings is greater than the first preset duration threshold, the flow meter fault detection information of the flow meter is determined to be faulty.
3. The method according to claim 2, characterized in that The step of obtaining the first flow range of the non-faulty water purification device during operation includes: Acquire first device information of the non-faulty water purification device, wherein the first device information includes at least one of device component information, device usage information, and device processing information; A first flow rate range when the non-faulty water purification device is in operation is generated according to the first device information.
4. The method according to claim 3, characterized in that The step of generating a first flow range when the non-faulty water purification device is in operation according to the first device information includes: According to the equipment information, the water purification capacity of the water purification equipment is evaluated to obtain water purification capacity evaluation information of the water purification equipment; A first flow rate range when the non-faulty water purification equipment is in operation is generated according to the water purification capacity evaluation information.
5. The method according to claim 1, characterized in that The second flow meter reading includes a plurality of second flow meter sub-readings respectively read at a plurality of time points; the target water purification equipment is subjected to fault detection according to the operating state of the target water purification equipment at the time when the second flow meter reading corresponds to the reading, and the equipment fault detection information is obtained, including: Obtaining a second flow range when the target water purification equipment operates in an operating state corresponding to the second flow meter reading; When there are multiple second target sub-readings among the multiple second flow meter sub-readings whose flow values correspond to are outside the second flow range, and when the flow duration corresponding to the multiple second target sub-readings is greater than the second preset duration threshold, it is determined that the equipment fault detection information of the target water purification equipment includes a fault in the switch valve.
6. The method according to claim 5, characterized in that The method further comprises: Obtaining the time required for cleaning the target water purification equipment; The second preset time threshold is determined according to the time required for cleaning the equipment.
7. The method according to claim 5, characterized in that The method further comprises: Acquire at least one pressure switch signal of a pressure switch deployed in the target water purification equipment; If it is detected that the cumulative number of signals of the at least one pressure switch signal within the second preset time threshold is greater than the preset number threshold, it is determined that the equipment fault detection information of the target water purification equipment includes a pressure switch fault.
8. A water purification equipment fault detection device, characterized in that: The device comprises: An acquisition module, used to obtain a flow meter reading of a flow meter deployed in a water purification device; A detection module is used to detect the operating fault of the flow meter according to the flow meter reading to obtain flow meter fault detection information of the flow meter; when the flow meter fault detection information shows that there is no fault, the water purification equipment is fault detected according to the operating state of the water purification equipment when the flow meter reading corresponds to the reading, and the equipment fault detection information is obtained.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Brake system detection method, device and equipment, storage medium and program product
CN118032368A
Fault detection method and system of water purifier, water purifier, equipment and storage medium
CN118149906A