Sensor fault determination method and device, water treatment equipment and storage medium
By analyzing the water outlet temperature difference under different operating parameters and combining the operating parameters of the water outlet regulation component, the problem of difficulty in accurately determining the fault status of the flow sensor in the prior art is solved, achieving higher accuracy and convenience.
Patent Information
- Application Number
- CN202510192543.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-20
- Publication Date
- 2025-05-23
AI Technical Summary
It is difficult to accurately determine the fault status of the flow sensor, especially when there is a water flow rate in the water supply pipeline and the sensor does not generate a pulse signal.
By obtaining the water outlet temperature difference under different operating parameters and combining the operating parameters of the water outlet regulation component, the fault status of the flow sensor is determined. The specific methods include responding to the water withdrawal instruction, controlling the water outlet regulation component to enter the working state, obtaining the water outlet temperature and operating parameters, analyzing the temperature changes and parameter differences to judge the sensor failure.
Improves the accuracy and convenience of determining the fault status of the flow sensor, and can accurately determine the status of the sensor in real-time water outlet temperature changes without the need to install additional detection components.
Smart Images

Figure CN120027888A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data detection, and more specifically, to a sensor fault determination method, device, water treatment equipment and storage medium in the field of data detection. Background Art
[0002] The instant water treatment equipment has a heating component independent of the water tank. When the user takes hot water, it takes out drinking water from the water tank, quickly heats it to the set temperature through the heating component, and then directly discharges the water. When determining whether there is water flow in the water supply pipeline through the water flow rate detected by the flow sensor installed in the water supply pipeline, it first needs to determine whether the flow sensor is currently in a failed state. Summary of the invention
[0003] The present application provides a sensor fault determination method, device, water treatment equipment and storage medium, which can determine the fault state of a flow sensor based on the real-time water outlet temperature under different operating parameters, thereby improving the accuracy of determining the fault state of the flow sensor.
[0004] In a first aspect, a sensor fault determination method is provided, which is applied to a control component of a water treatment device, wherein the water treatment device comprises a flow sensor and a water outlet regulating component, wherein the water outlet regulating component and the flow sensor are installed in a water supply pipeline of the water treatment device, and the flow sensor and the water outlet regulating component are respectively connected to the control component; the method comprises: in response to a water intake instruction, controlling the water outlet regulating component to enter a working state, and if it is determined that the flow sensor does not generate a pulse signal, obtaining a first operating parameter of the water outlet regulating component and a first water outlet temperature of the water supply pipeline, controlling the water outlet regulating component to operate according to the first operating parameter, obtaining a second water outlet temperature of the water supply pipeline under the first operating parameter, and determining the fault state of the flow sensor based on the first water outlet temperature, the second water outlet temperature, the first operating parameter, and the second operating parameter of the water outlet regulating component when entering the working state.
[0005] In a second aspect, a device for controlling a water treatment device is provided, which is applied to the water treatment device. The water treatment device includes a flow sensor and a water outlet regulating component. The water outlet regulating component and the flow sensor are installed in the water supply pipeline of the water treatment device, and the flow sensor and the water outlet regulating component are respectively connected to the control component; the device includes: a response unit, which is used to respond to a water intake instruction to control the water outlet regulating component to enter a working state, and if it is determined that the flow sensor does not generate a pulse signal, obtain a first operating parameter of the water outlet regulating component and a first water outlet temperature of the water supply pipeline; a control unit, which is used to control the water outlet regulating component to operate according to the first operating parameter; an acquisition unit, which is used to obtain a second water outlet temperature of the water supply pipeline under the first operating parameter; and a determination unit, which is used to determine the fault state of the flow sensor based on the first water outlet temperature, the second water outlet temperature, the first operating parameter and the second operating parameter of the water outlet regulating component when it enters the working state.
[0006] In a third aspect, a water treatment device is provided, comprising: a memory for storing executable program code; and a control component for calling and running the executable program code from the memory, so that the water treatment device executes the method in the above-mentioned first aspect or any possible implementation method of the first aspect.
[0007] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.
[0008] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.
[0009] In the embodiment of the present application, the control component obtains the outlet water temperature difference corresponding to the first operating parameter and the second operating parameter under different water flow rates. If it is determined that the difference between the first outlet water temperature and the second outlet water temperature is greater than any outlet water temperature difference, it is determined that the temperature change is large and does not conform to the temperature change when there is a water flow in the water supply pipeline. It is determined that there is no water flow in the water supply pipeline. When there is no water flow in the water supply pipeline, the blades of the flow sensor will not rotate, that is, no pulse signal sent to the control component will be generated, so it can be determined that the fault state of the flow sensor is not faulty. If it is determined that there is any outlet water temperature difference that is equal to the difference between the first outlet water temperature and the second outlet water temperature, it is determined that the temperature change conforms to the temperature change when there is a water flow in the water supply pipeline. It is determined that there is a water flow in the water supply pipeline. When there is water flow in the water supply pipeline, the blades of the flow sensor will rotate and generate a pulse signal, but the control component does not receive the pulse signal sent by the flow sensor, so it can be determined that the fault state of the flow sensor is faulty. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 It is a structural schematic diagram of a water treatment device provided in an embodiment of the present application;
[0011] Figure 2 is a flow chart of a sensor fault determination method provided in an embodiment of the present application;
[0012] Figure 3 is a flow chart of a sensor fault determination method provided in an embodiment of the present application;
[0013] Figure 4 is a structural schematic diagram of a sensor fault determination device provided in an embodiment of the present application;
[0014] Figure 5 is a structural schematic diagram of a sensor fault determination device provided in an embodiment of the present application;
[0015] Figure 6 is a structural schematic diagram of a sensor fault determination device provided in an embodiment of the present application;
[0016] Figure 7 It is a structural schematic diagram of a water treatment device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0017] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0018] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0019] Figure 1 It is a structural schematic diagram of a water treatment device provided in an embodiment of the present application. The water treatment device 1 includes a flow control component 2, a water outlet regulating component 3, a flow sensor 4, and a control component (not shown in the figure). The water outlet regulating component 3, the flow sensor 4, and the flow control component 2 are installed in the water supply pipeline of the water treatment device, wherein the flow control component 2 is used to control the start of delivering water from an external water source to the water supply pipeline, the water outlet regulating component 3 is used to adjust the outlet water temperature in the water supply pipeline, and the flow sensor 4 is used to obtain the water flow rate in the water supply pipeline during water intake.
[0020] It can be understood that, when the heating power of the water flow in the water supply pipeline remains unchanged, the smaller the water flow rate in the water supply pipeline, the higher the outlet water temperature of the water supply pipeline, and conversely, the larger the water flow rate in the water supply pipeline, the lower the outlet water temperature of the water supply pipeline; when the water flow rate in the water supply pipeline remains unchanged, the smaller the heating power of the water flow in the water supply pipeline, the lower the outlet water temperature of the water supply pipeline, and conversely, the larger the heating power of the water flow in the water supply pipeline, the higher the outlet water temperature of the water supply pipeline.
[0021] It can be seen that the outlet water temperature of the water supply pipeline can be controlled by adjusting the water flow rate of the water supply pipeline and the heating power for heating the water flow in the water supply pipeline. Therefore, in the embodiment of the present application, the outlet water regulating component 3 may include a water pump 31 for regulating the water flow rate of the water supply pipeline and a heating component 32 for heating the water flow (or liquid) in the water supply pipeline.
[0022] The water pump 31 generates negative pressure at the water inlet end through its internal mechanical structure, thereby transporting water from the external water source to the water supply pipeline of the water treatment equipment. In addition, the water pump 31 is adjustable, and the control component can adjust the water flow rate of the water treatment equipment by adjusting the operating voltage of the water pump 31.
[0023] The flow sensor 4 is used to detect the flow rate of water in the water supply pipeline. It can obtain the flow rate of water in the water supply pipeline through different methods, including:
[0024] Differential pressure method: Calculate water flow by measuring the pressure difference generated when water flows in the water supply pipeline;
[0025] Electromagnetic method: Using Faraday's electromagnetic induction principle, the induced potential generated by water cutting magnetic lines of force is measured to calculate the water flow in the water supply pipeline;
[0026] Ultrasonic method: by transmitting and receiving ultrasonic signals, measuring the time difference of water flow to calculate the water flow in the water supply pipeline;
[0027] Vortex street method: When water flows in a water supply pipe, a vortex is formed behind the water supply pipe. The water flow rate in the water supply pipe is calculated by measuring the frequency of the vortex.
[0028] The heating component 32 is used to heat the water flow in the water supply pipeline. After the water flow in the water supply pipeline is heated by the heating component 32, it is output from the water treatment device through the water outlet for users to drink. The water outlet is located at the end of the water supply pipeline.
[0029] Optionally, the flow control assembly 2 may also include a solenoid valve 21 and a negative pressure valve 22 installed in the water supply pipeline. The solenoid valve 21 is generally composed of an electromagnet, a valve body, a valve core, a seal, etc., wherein the electromagnet is a device that generates a magnetic field, the valve body is the pipe part through which water flows, and the valve core is a moving part controlled by the electromagnet, which is used to open or close the water flow channel. The negative pressure valve 22 is a valve used to control the flow of water under negative pressure to prevent air or external substances from entering the pipeline system.
[0030] Optionally, the water treatment equipment also includes a temperature detection component, which is installed at the water outlet of the water supply pipeline to obtain the outlet water temperature of the outlet. The temperature detection component is connected to the control component to send the collected outlet water temperature to the control component so that the control component adjusts the operation of each component of the water treatment equipment (including the water pump and the heating component) according to the outlet water temperature.
[0031] Optionally, the control component of the water treatment device can be arranged in the accommodating chamber of the water treatment device, and the accommodating chamber can be located at the top of the body of the water treatment device. The control component is connected to the flow sensor, the heating component, and the water pump respectively, and the control component is used to process the relevant calculations and control logic in the water treatment device. For example, the water treatment device can also include physical control buttons, a touch screen, etc., and the control logic such as the start-up and temperature adjustment of the water treatment device can be controlled by the physical control buttons or the virtual buttons of the touch screen.
[0032] The water treatment equipment may also include a network module, which may be used to provide wireless network services or wired network services, such as wireless networks such as wireless local area networks (WLAN), local area networks (LAN), cellular networks, 2G networks, 3G networks, 4G networks, 5G networks, etc. When the network module is in a networked state, users can control the water discharge, water discharge stop or temperature adjustment functions of the water treatment equipment through mobile phones, tablets and other devices, thereby realizing remote control of the water treatment equipment. In addition, the water treatment equipment may also include a power supply, which may be electrically connected to the control component and the network module respectively, and is used to provide power to each component module.
[0033] It should be noted that Figure 1 The structural schematic diagram of the water treatment equipment shown is only an example. The structural schematic diagram of the water treatment equipment described in the embodiment of the present application is to more clearly illustrate the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided in the embodiment of the present application. Ordinary technicians in this field can know that with the evolution of water treatment equipment, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
[0034] like Figure 1 It can be seen from the structural schematic diagram that in the embodiment of the present application, the water source of the water treatment equipment is outside the water treatment equipment, that is, the water treatment equipment does not have a water tank to store drinking water. When the user needs to use the water treatment equipment to take hot water, he can input the water temperature and water volume, and then the water treatment equipment obtains water from its external water source, heats it to the water temperature set by the user, and then directly discharges water. There is no need to pre-heat the water or keep it warm for a long time, and it can be heated up when used.
[0035] In the related art, after the control component of the water treatment equipment receives the water extraction instruction input by the user, it controls the start of the water pump to transport water from the external water source to the water supply pipeline, and the flow sensor can detect the water flow rate in the water supply pipeline. Then the control component determines whether there is water flow in the water supply pipeline through the water flow rate sent by the flow sensor, and controls the operation of the heating component accordingly to avoid the problem of dry burning of the heating component when there is no water flow in the water supply pipeline. When there is water flow in the water supply pipeline, the blades of the flow sensor are driven to rotate by the water flow. The greater the water flow rate, the faster the blade rotates. Since a pulse signal is generated when the blade rotates, the faster the blade rotates, the higher the frequency of the pulse signal. When there is no water flow in the water supply pipeline or the flow sensor fails, the blades of the flow sensor will not rotate, and no pulse signal will be generated. The control component cannot determine whether there is no water flow in the water supply pipeline or the flow sensor fails.
[0036] Based on this, in the embodiment of the present application, the control component obtains the outlet water temperature difference corresponding to the first operating parameter and the second operating parameter under different water flow rates. If it is determined that the difference between the first outlet water temperature and the second outlet water temperature is greater than any outlet water temperature difference, it is determined that the temperature change is large and does not conform to the temperature change when there is water flow in the water supply pipeline, and it is determined that there is no water flow in the water supply pipeline. From the above description, it can be seen that when there is no water flow in the water supply pipeline, the blades of the flow sensor will not rotate, that is, no pulse signal sent to the control component will be generated, so it can be determined that the fault state of the flow sensor is not faulty. If it is determined that there is any outlet water temperature difference that is equal to the difference between the first outlet water temperature and the second outlet water temperature, it is determined that the temperature change conforms to the temperature change when there is water flow in the water supply pipeline, and it is determined that there is water flow in the water supply pipeline. From the above description, it can be seen that when there is water flow in the water supply pipeline, the blades of the flow sensor will rotate and generate a pulse signal, but the control component does not receive the pulse signal sent by the flow sensor, so it can be determined that the fault state of the flow sensor is faulty.
[0037] based on Figure 1 The structural diagram shown below will be combined with Figure 2-Figure 3 , the sensor fault determination method provided in the embodiment of the present application is introduced in detail.
[0038] See also Figure 2 , is a flow chart of a sensor fault determination method provided in an embodiment of the present application. Figure 2 As shown, the method of the embodiment of the present application may include the following steps S101-S104.
[0039] S101, in response to a water intake instruction, controlling the water outlet regulating component to enter a working state, and if it is determined that the flow sensor does not generate a pulse signal, obtaining a first operating parameter of the water outlet regulating component and a first water outlet temperature of the water supply pipeline;
[0040] Specifically, the water intake instruction is an instruction for obtaining water flow treated by the water treatment device. It can be triggered by a hardware / software button on the water treatment device, or by a terminal device (such as a mobile terminal) connected to the water treatment device. When the control component receives the water intake instruction, it controls the water outlet regulating component to enter a working state.
[0041] The second operating parameter is an operating parameter for controlling the water outlet regulating component to enter a working state when the control component receives a water intake instruction. Optionally, when receiving a water intake instruction, the control component obtains the water outlet temperature and water outlet flow indicated by the water intake instruction, determines the second operating parameter of the water outlet regulating component corresponding to the water outlet temperature and water outlet flow indicated by the water intake instruction, and controls the water outlet regulating component to enter a working state based on the second operating parameter, so as to heat the water flow from the external water source of the water treatment device for drinking by the user.
[0042] It is understandable that after the control component receives the water intake instruction, it controls the water outlet regulating component, the solenoid valve, the negative pressure valve and other components to enter the working state, and transports the water flow in the external water source to the water supply pipeline. When water flows through the water supply pipeline, it drives the blades of the flow sensor to rotate and generates a pulse signal. After generating the pulse signal, the flow sensor sends the pulse signal or the water flow rate of the water supply pipeline obtained by converting the pulse signal to the control component. In this way, the control component can determine whether the flow sensor generates a pulse signal based on whether the pulse signal or water flow rate sent by the flow sensor is received.
[0043] Specifically, when the control component receives a pulse signal or water flow sent by the flow sensor, it determines that the flow sensor generates a pulse signal; when the control component does not receive a pulse signal or water flow sent by the flow sensor, it determines that the flow sensor does not generate a pulse signal.
[0044] Further, the control component determines that the flow sensor does not generate a pulse signal, obtains a first operating parameter of the water outlet regulating component and a first water outlet temperature of the water supply pipeline obtained when the water outlet regulating component is in a second operating parameter.
[0045] In one embodiment, a first outlet water temperature of the water supply pipeline when the outlet water regulating component is in the second operating parameter can be obtained by a temperature sensor installed at the water outlet of the water supply pipeline of the water treatment equipment.
[0046] In one embodiment, the first operating parameter may be a preset parameter, which is pre-stored in the memory of the water treatment device, so that when the control component determines that the flow sensor does not generate a pulse signal, the first operating parameter of the water outlet regulating component can be obtained from the memory.
[0047] S102, controlling the water outlet regulating component to operate according to the first operating parameter;
[0048] S103, obtaining a second outlet water temperature of the water supply pipeline under the first operating parameter;
[0049] In one embodiment, after determining the first operating parameter, the water outlet regulating component is controlled to operate according to the first operating parameter, and when the time for which the water outlet regulating component operates according to the first operating parameter reaches a time threshold, the second water outlet temperature of the water supply pipeline when the water outlet regulating component is in the first operating parameter is obtained by a temperature sensor installed at the water outlet of the water supply pipeline.
[0050] It is understandable that, in the embodiment, by obtaining the second outlet water temperature when the duration of the water outlet regulating component running according to the first operating parameter reaches the duration threshold, it is possible to ensure that the second outlet water temperature obtained is the outlet water temperature obtained after the water outlet regulating component runs stably according to the first operating parameter, thereby providing a guarantee for the accuracy of the subsequent determination of the fault state of the flow sensor based on the second outlet water temperature. Similarly, in the embodiment of the present application, the first outlet water temperature can also be obtained when the duration of the water outlet regulating component running according to the second operating parameter reaches the duration threshold. The duration threshold can be a pre-set value, and illustratively, the duration threshold can be 1 second.
[0051] S104, determining a fault state of the flow sensor based on the first outlet water temperature, the second outlet water temperature, the first operating parameter, and the second operating parameter when the outlet water regulating component enters the working state.
[0052] In one embodiment, when a first outlet water temperature of a water outlet regulating component under a second operating parameter and a second outlet water temperature under a first operating parameter are obtained, the fault state of the flow sensor is determined based on the first outlet water temperature, the second outlet water temperature, and the first operating parameter.
[0053] In one embodiment, the control component obtains the outlet water temperature difference corresponding to the first operating parameter and the second operating parameter under different water flow rates. If it is determined that the difference between the first outlet water temperature and the second outlet water temperature is greater than any outlet water temperature difference, it is determined that the temperature change is large and does not conform to the temperature change when there is water flow in the water supply pipeline, and it is determined that there is no water flow in the water supply pipeline. From the above description, it can be seen that when there is no water flow in the water supply pipeline, the blades of the flow sensor will not rotate, that is, no pulse signal sent to the control component will be generated, so it can be determined that the fault state of the flow sensor is not faulty. If it is determined that any outlet water temperature difference is equal to the difference between the first outlet water temperature and the second outlet water temperature, it is determined that the temperature change conforms to the temperature change when there is water flow in the water supply pipeline, and it is determined that there is water flow in the water supply pipeline. From the above description, it can be seen that when there is water flow in the water supply pipeline, the blades of the flow sensor will rotate and generate a pulse signal, but the control component does not receive the pulse signal sent by the flow sensor, so it can be determined that the fault state of the flow sensor is faulty.
[0054] In an embodiment of the present application, after controlling the water outlet regulating component to enter the working state, if it is determined that the flow sensor does not generate a pulse signal, the first water outlet temperature of the water outlet regulating component under the second operating parameter and the second water outlet temperature of the water outlet regulating component under the first operating parameter are obtained, and then the fault state of the flow sensor is determined based on the first operating parameter, the second operating parameter, the first water outlet temperature and the second water outlet temperature. The fault state of the flow sensor is determined by the change of the water outlet temperature under different operating parameters. The fault state of the flow sensor can be determined without installing a detection component, which improves the convenience of determining the fault state of the flow sensor, and can determine the fault state of the flow sensor based on the real-time water outlet temperature under different operating parameters, which improves the accuracy of determining the fault state of the flow sensor.
[0055] See also Figure 3 , is a flow chart of a sensor fault determination method provided in an embodiment of the present application. Figure 3 As shown, the method of the embodiment of the present application may include the following steps S201-S207.
[0056] S201, in response to a water intake instruction, controlling a water outlet regulating component to enter a working state;
[0057] S202, if it is determined that the flow sensor does not generate a pulse signal, obtaining a first operating parameter of the water outlet regulating component and a first water outlet temperature of the water supply pipeline;
[0058] S203, controlling the water outlet regulating component to operate according to the first operating parameter;
[0059] S204, obtaining a second outlet water temperature of the water supply pipeline under the first operating parameter;
[0060] For details, please refer to the description of steps S101-S103 in the above-mentioned embodiment of the specification, which will not be elaborated here.
[0061] S205, obtaining a third operating parameter of the water outlet regulating component, and controlling the water outlet regulating component to operate according to the third operating parameter;
[0062] S206, obtaining a third outlet water temperature of the water supply pipeline under a third operating parameter;
[0063] In one embodiment, after the water supply pipeline reaches the second outlet water temperature under the first operating parameter, the third operating parameter of the outlet water regulating component is obtained, and the outlet water regulating component is controlled to operate according to the third operating parameter. When the time for which the outlet water regulating component operates according to the third operating parameter reaches a time threshold, the third outlet water temperature of the water supply pipeline obtained when the outlet water regulating component is in the third operating parameter is obtained by a temperature sensor installed at the water outlet of the water supply pipeline.
[0064] In this embodiment, by obtaining the third water outlet temperature when the time for which the water outlet regulating component operates according to the first operating parameter reaches a time threshold, it can be ensured that the obtained third water outlet temperature is the water outlet temperature obtained after the water outlet regulating component operates stably according to the third operating parameter, thereby providing a guarantee for the accuracy of subsequently determining the fault state of the flow sensor based on the third water outlet temperature.
[0065] S207, determining a fault state of the flow sensor based on the first outlet water temperature, the second outlet water temperature, the third outlet water temperature, the first operating parameter, the second operating parameter, and the third operating parameter;
[0066] Specifically, after obtaining the first water outlet temperature, the second water outlet temperature, and the third water outlet temperature, the fault state of the flow sensor is determined based on the first water outlet temperature, the second water outlet temperature, the third water outlet temperature, the first operating parameter, the second operating parameter, and the third operating parameter.
[0067] Furthermore, after obtaining the first water outlet temperature, the second water outlet temperature, and the third water outlet temperature, a first temperature difference between the second water outlet temperature and the first water outlet temperature, and a second temperature difference between the third water outlet temperature and the second water outlet temperature are determined, and a first parameter difference between the first operating parameter and the second operating parameter, and a second parameter difference between the third operating parameter and the first operating parameter are determined, and then based on the first temperature difference and the first parameter difference, a first temperature change rate of the water outlet temperature of the water outlet pipe after the operating parameter of the water outlet regulating component changes from the second operating parameter to the first operating parameter is determined; and based on the second temperature difference and the second parameter difference, a second temperature change rate of the water outlet temperature of the water outlet pipe after the operating parameter of the water outlet regulating component changes from the first operating parameter to the third operating parameter is determined.
[0068] The first temperature change rate k 1 = first temperature difference Δt 1 / First parameter difference Δn 1 ;
[0069] The second temperature change rate k 2 = first temperature difference Δt 2 / First parameter difference Δn 2 ;
[0070] After obtaining the first change rate and the second change rate, a fault state of the flow sensor is determined based on the first change rate and the second change rate.
[0071] Specifically, the change rate difference between the first temperature change rate and the second temperature change rate can be obtained. If it is determined that the change rate difference is within the difference threshold, it means that when the water outlet regulating component is operating according to different operating parameters, the change rate of the outlet water temperature of the water supply pipeline is within the preset range, and it is determined that there is water flow in the water supply pipeline. When there is water flow in the water supply pipeline, the flow sensor does not generate a pulse signal, and it can be determined that the fault state of the flow sensor is a fault; if it is determined that the change rate difference is not within the difference threshold, it means that when the water outlet regulating component is operating according to different operating parameters, the change rate of the outlet water temperature of the water supply pipeline is not within the preset range, and it is determined that there is no water flow in the water supply pipeline. When there is no water flow in the water supply pipeline, the flow sensor will not generate a pulse signal, and it can be determined that the fault state of the flow sensor is no fault.
[0072] S208: If it is determined that the flow sensor generates a pulse signal, it is determined that the fault state of the flow sensor is not faulty.
[0073] Specifically, when the control component controls the water outlet regulating component to enter the working state with the second operating parameter, if a pulse signal or water flow rate sent by the flow sensor is received, it is determined that the flow sensor generates a pulse signal. It can be understood that when the control component controls the water outlet regulating component to enter the working state, the water outlet regulating component controls the water flow to be delivered from the external water source to the water supply pipeline, that is, when there is water flow in the water supply pipeline, the flow sensor can generate a pulse signal obtained by the rotation of its blades driven by the water flow in the water supply pipeline, indicating that the flow sensor is in a normal working state, that is, the fault state of the flow sensor is that no fault has occurred.
[0074] Furthermore, in an embodiment of the present application, the operating parameters may include a voltage parameter for controlling the operation of a water pump of a water outlet regulating component and a power parameter for controlling the heating of a heating component of the water outlet regulating component. It can be understood that, within a reasonable range, the greater the voltage parameter, the more water can be transported from an external water source to the water supply pipeline, the greater the water flow in the water supply pipeline, and the greater the frequency of the generated pulse signal; the greater the power parameter, the stronger the heating effect on the water flow in the water supply pipeline, and the higher the outlet water temperature of the water supply pipeline.
[0075] In an embodiment of the present application, when determining the fault state of the flow sensor based on the water outlet temperature obtained by adjusting the operating parameters of the water outlet regulating component, any one of the voltage parameters of the water pump and the power parameters of the heating component in the water outlet regulating component can be adjusted. When it is determined to change the operating parameters of one of the water outlet regulating components to change the water outlet temperature in the water supply pipeline, the operating parameters of the other water outlet regulating component maintain the operating parameters of the water treatment equipment when it enters the working state until the water extraction is completed.
[0076] In one embodiment, the water outlet regulating component includes a water pump for regulating the water flow rate of the water supply pipeline and a heating component for heating the water flow in the water supply pipeline. The first operating parameter is the first voltage parameter of the water pump, the second operating parameter is the second voltage parameter of the water pump, and the third operating parameter is the third voltage parameter of the water pump. The power parameter of the heating component during water extraction is the power parameter when entering the working state.
[0077] Optionally, the first voltage parameter is the maximum voltage parameter of the water pump, the second voltage parameter is the voltage parameter corresponding to the water intake amount in the water intake instruction, the third voltage parameter is the minimum voltage parameter of the water pump, and the power parameter maintains the power parameter corresponding to the outlet water temperature indicated by the water intake instruction. It can be understood that when the power parameter of the heating component is controlled to remain unchanged in the water intake device, the voltage parameter of the water pump is controlled to be different, so that the amount of water required to be heated by the heating component is different, and the outlet water temperature will change. By setting the first voltage parameter as the maximum voltage parameter of the water pump and the third voltage parameter as the minimum voltage parameter of the water pump, the second water outlet temperature and the third water outlet temperature at the maximum water flow rate and the minimum water flow rate are obtained. Due to the rapid change of the water flow rate, the second temperature change rate of the third water outlet temperature and the second water outlet temperature is relatively large. When there is water flow in the water supply pipe, the water flow absorbs the heat of the heating component, and there is some heat loss in the conversion process. Therefore, when there is water flow in the water supply pipe, the obtained water outlet temperature is lower than the water outlet temperature when there is no water flow in the water supply pipe, that is, when there is dry burning in the water supply pipe. Therefore, the temperature change rate of the water outlet temperature collected when the voltage parameter is at the maximum value state can accurately reflect whether there is water flow in the water supply pipe.
[0078] In another embodiment, the water outlet regulating component includes a water pump for regulating the water flow rate of the water supply pipeline and a heating component for heating the water flow in the water supply pipeline, the first operating parameter is a first power parameter of the heating component, the second operating parameter is a second power parameter of the heating component, and the third operating parameter is a third power parameter of the heating component, and the voltage parameter of the water pump during water extraction is the voltage parameter when entering the working state.
[0079] Optionally, the first power parameter is the maximum voltage parameter of the heating component, the second power parameter is the power parameter corresponding to the outlet water temperature in the water intake instruction, the third power parameter is the minimum power parameter of the heating component, and the voltage parameter maintains the voltage parameter corresponding to the water output indicated by the water intake instruction. It can be understood that when the voltage parameter of the heating component is controlled to remain unchanged in the water intake device, the power parameter of the heating component is controlled differently, thereby the heating effect is different and the outlet water temperature will change. Therefore, the temperature change rate of the outlet water temperature collected when the power parameter is at the maximum value state can accurately reflect whether there is water flow in the water supply pipeline.
[0080] In an embodiment of the present application, after obtaining the second water outlet temperature of the water supply pipeline obtained by the water outlet regulating component under the first operating parameter and the first water outlet temperature of the water supply pipeline obtained under the second operating parameter to obtain the third operating parameter of the water outlet regulating component, the water outlet regulating component is controlled to operate according to the third operating parameter, and the third water outlet temperature of the water supply pipeline under the third operating parameter is obtained, and then the first temperature change rate is determined based on the first temperature difference determined by the second water outlet temperature and the first water outlet temperature, and the first parameter difference determined by the first operating parameter and the second operating parameter, and the first temperature change rate is determined based on the first temperature difference determined by the third water outlet temperature and the second water outlet temperature. The method comprises the following steps: determining the first temperature difference, the second temperature change rate of the outlet water temperature, and the second temperature change rate of the outlet water temperature based on the second temperature difference and the second parameter difference; and finally determining the fault state of the flow sensor based on the first temperature change rate and the second temperature change rate. The temperature change rate of the outlet water temperature collected under different operating parameters can accurately reflect whether there is water flow in the water supply pipeline, thereby improving the accuracy of determining the fault state of the flow sensor. By determining that there is water flow in the water supply pipeline, the fault state of the flow sensor is determined to be no fault, thereby accurately determining the fault state of the flow sensor.
[0081] based on Figure 1 The structural diagram of Figure 4-Figure 6 , the sensor fault determination device provided in the embodiment of the present application is introduced in detail. It should be noted that, Figure 4-Figure 6 The sensor fault determination device in the present application is used to execute Figure 2 , Figure 3 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 2 , Figure 3 Specifically, the sensor fault determination device 1 includes:
[0082] The response unit 11 is used to respond to the water intake instruction, control the water outlet regulating component to enter the working state, and if it is determined that the flow sensor does not generate a pulse signal, obtain the first operating parameter of the water outlet regulating component and the first water outlet temperature of the water supply pipeline;
[0083] A control unit 12, used to control the water outlet regulating component to operate according to a first operating parameter;
[0084] An acquisition unit 13 is used to acquire a second outlet water temperature of the water supply pipeline under the first operating parameters;
[0085] The determination unit 14 is used to determine the fault state of the flow sensor based on the first outlet water temperature, the second outlet water temperature, the first operating parameter, and the second operating parameter when the outlet water regulating component enters the working state.
[0086] Optionally, see Figure 5 , the sensor fault determination device 1 further includes:
[0087] The operation unit 15 is used to obtain a third operation parameter of the water outlet regulating component and control the water outlet regulating component to operate according to the third operation parameter;
[0088] A temperature acquisition unit 16, used to acquire a third outlet water temperature of the water supply pipeline under a third operating parameter;
[0089] The fault determination unit 17 is used to determine the fault state of the flow sensor based on the first water outlet temperature, the second water outlet temperature, the third water outlet temperature, the first operating parameter, the second operating parameter and the third operating parameter.
[0090] Optionally, the fault determination unit 17 is specifically configured to:
[0091] Determine a first temperature difference between the second outlet water temperature and the first outlet water temperature, and a first parameter difference between the first operating parameter and the second operating parameter, and determine a first temperature change rate of the outlet water temperature based on the first temperature difference and the first parameter difference;
[0092] Determine a second temperature difference between the third outlet water temperature and the second outlet water temperature, and a second parameter difference between the third operating parameter and the first operating parameter, and determine a second temperature change rate of the outlet water temperature based on the second temperature difference and the second parameter difference;
[0093] A fault condition of the flow sensor is determined based on the first rate of temperature change and the second rate of temperature change.
[0094] Optionally, the fault determination unit 17 is specifically configured to:
[0095] If the difference between the first temperature change rate and the second temperature change rate is within the difference threshold, determining that the fault state of the flow sensor is a fault;
[0096] If the difference between the first temperature change rate and the second temperature change rate is not within the difference threshold, it is determined that the fault state of the flow sensor is not faulty.
[0097] Optionally, see Figure 5 , the sensor fault determination device 1 further includes:
[0098] The signal generating unit 18 is used to determine that the fault state of the flow sensor is not a fault if it is determined that the flow sensor generates a pulse signal.
[0099] In the embodiment of the present application, the control component obtains the outlet water temperature difference corresponding to the first operating parameter and the second operating parameter under different water flow rates. If it is determined that the difference between the first outlet water temperature and the second outlet water temperature is greater than any outlet water temperature difference, it is determined that the temperature change is large and does not conform to the temperature change when there is water flow in the water supply pipeline, and it is determined that there is no water flow in the water supply pipeline. From the above description, it can be seen that when there is no water flow in the water supply pipeline, the blades of the flow sensor will not rotate, that is, no pulse signal sent to the control component will be generated, so it can be determined that the fault state of the flow sensor is not faulty. If it is determined that there is any outlet water temperature difference that is equal to the difference between the first outlet water temperature and the second outlet water temperature, it is determined that the temperature change conforms to the temperature change when there is water flow in the water supply pipeline, and it is determined that there is water flow in the water supply pipeline. From the above description, it can be seen that when there is water flow in the water supply pipeline, the blades of the flow sensor will rotate and generate a pulse signal, but the control component does not receive the pulse signal sent by the flow sensor, so it can be determined that the fault state of the flow sensor is faulty.
[0100] See also Figure 7 , which is a schematic diagram of the structure of a water treatment device provided in the embodiment of the present application. Figure 7 As shown, the water treatment device 500 includes a control component 501 and a memory 502. The control component 501 is electrically connected to the memory 502.
[0101] The control component 501 is the control center of the water treatment device 500, and may include one or more processing cores. The control component 501 uses various interfaces and lines to connect the various parts of the entire water treatment device 500, and executes various functions and processes data of the water treatment device 500 by running or calling the computer program stored in the memory 502, and calling the data stored in the memory 502, so as to control the water treatment device 500 as a whole. Optionally, the control component 501 can be implemented in at least one hardware form of digital signal processing (DSP), field programmable gate array (FPGA), and programmable logic array (PLA). The control component 501 can integrate one or more combinations of CPU, graphics processing unit (GPU), modem, etc. Among them, the CPU mainly processes the operating system, user pages, and applications, etc.; the GPU is responsible for rendering and drawing the display content; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the control component 501, and may be implemented separately through a communication chip.
[0102] The memory 502 can be used to store software programs and modules, and the control component 501 executes various functional applications and data processing by running the computer programs and modules stored in the memory 502. The memory 502 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, a computer program required for at least one function, etc.; the data storage area can store data created according to the use of the water treatment device 500, etc.
[0103] In addition, the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 502 may also include a memory controller to provide the control component 501 with access to the memory 502.
[0104] In this embodiment, the control component 501 in the water treatment device 500 will load the instructions corresponding to the processes of one or more computer programs into the memory 502 according to the following steps, and the control component 501 will run the computer program stored in the memory 502 to achieve various functions, as follows:
[0105] In response to the water taking instruction, the water outlet regulating component is controlled to enter a working state, and if it is determined that the flow sensor does not generate a pulse signal, a first operating parameter of the water outlet regulating component and a first water outlet temperature of the water supply pipeline are obtained;
[0106] Controlling the water outlet regulating component to operate according to the first operating parameter;
[0107] Obtaining a second outlet water temperature of the water supply pipeline under the first operating parameter;
[0108] The fault state of the flow sensor is determined based on the first outlet water temperature, the second outlet water temperature, the first operating parameter, and the second operating parameter when the outlet water regulating component enters the working state.
[0109] Optionally, after obtaining the second outlet water temperature of the water supply pipeline under the first operating parameter, the control component 501 further executes:
[0110] Acquire a third operating parameter of the water outlet regulating component, and control the water outlet regulating component to operate according to the third operating parameter;
[0111] Obtaining a third outlet water temperature of the water supply pipeline under a third operating parameter;
[0112] When the control component 501 determines the fault state of the flow sensor based on the first outlet water temperature, the second outlet water temperature, the first operating parameter, and the second operating parameter when the outlet water regulating component enters the working state, the control component 501 specifically performs:
[0113] A fault state of the flow sensor is determined based on the first outlet water temperature, the second outlet water temperature, the third outlet water temperature, the first operating parameter, the second operating parameter, and the third operating parameter.
[0114] Optionally, when the control component 501 determines the fault state of the flow sensor based on the first outlet water temperature, the second outlet water temperature, the third outlet water temperature, the first operating parameter, the second operating parameter, and the third operating parameter, it specifically performs:
[0115] Determine a first temperature difference between the second outlet water temperature and the first outlet water temperature, and a first parameter difference between the first operating parameter and the second operating parameter, and determine a first temperature change rate of the outlet water temperature based on the first temperature difference and the first parameter difference;
[0116] Determine a second temperature difference between the third outlet water temperature and the second outlet water temperature, and a second parameter difference between the third operating parameter and the first operating parameter, and determine a second temperature change rate of the outlet water temperature based on the second temperature difference and the second parameter difference;
[0117] A fault condition of the flow sensor is determined based on the first rate of temperature change and the second rate of temperature change.
[0118] Optionally, when determining the fault state of the flow sensor based on the first temperature change rate and the second temperature change rate, the control component 501 specifically performs:
[0119] If the difference between the first temperature change rate and the second temperature change rate is within the difference threshold, determining that the fault state of the flow sensor is a fault;
[0120] If the difference between the first temperature change rate and the second temperature change rate is not within the difference threshold, it is determined that the fault state of the flow sensor is not faulty.
[0121] Optionally, after the control component 501 executes the control in response to the water intake instruction and controls the water outlet regulating component to enter the working state, it further executes:
[0122] If it is determined that the flow sensor generates a pulse signal, it is determined that the fault state of the flow sensor is not a fault.
[0123] Optionally, the water outlet regulating component includes a water pump for regulating the water flow rate of the water supply pipeline and a heating component for heating the water flow in the water supply pipeline, the first operating parameter is the first voltage parameter of the water pump, the second operating parameter is the second voltage parameter of the water pump, and the third operating parameter is the third voltage parameter of the water pump, and the power parameter of the heating component during water extraction is the power parameter when entering the working state.
[0124] Optionally, the water outlet regulating component includes a water pump for regulating the water flow rate of the water supply pipeline and a heating component for heating the water flow in the water supply pipeline, the first operating parameter is the first power parameter of the heating component, the second operating parameter is the second power parameter of the heating component, and the third operating parameter is the third power parameter of the heating component. The voltage parameter of the water pump during water extraction is the voltage parameter when entering the working state.
[0125] In the embodiment of the present application, the control component obtains the outlet water temperature difference corresponding to the first operating parameter and the second operating parameter under different water flow rates. If it is determined that the difference between the first outlet water temperature and the second outlet water temperature is greater than any outlet water temperature difference, it is determined that the temperature change is large and does not conform to the temperature change when there is water flow in the water supply pipeline, and it is determined that there is no water flow in the water supply pipeline. From the above description, it can be seen that when there is no water flow in the water supply pipeline, the blades of the flow sensor will not rotate, that is, no pulse signal sent to the control component will be generated, so it can be determined that the fault state of the flow sensor is not faulty. If it is determined that there is any outlet water temperature difference that is equal to the difference between the first outlet water temperature and the second outlet water temperature, it is determined that the temperature change conforms to the temperature change when there is water flow in the water supply pipeline, and it is determined that there is water flow in the water supply pipeline. From the above description, it can be seen that when there is water flow in the water supply pipeline, the blades of the flow sensor will rotate and generate a pulse signal, but the control component does not receive the pulse signal sent by the flow sensor, so it can be determined that the fault state of the flow sensor is faulty.
[0126] It should be understood that the device provided in the embodiment of the present application is used to execute the above-mentioned sensor fault determination method, and thus can achieve the same effect as the above-mentioned implementation method.
[0127] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a water treatment device, the processing module may be used to control and manage the actions of the water treatment device. The storage module may be used to support the water treatment device in executing related program codes, etc.
[0128] The processing module may be a control component or a controller, which may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the present application. The control component may also be a combination that implements a computing function, such as a combination of one or more microcontroller components, a combination of digital signal processing (DSP) and microcontroller components, etc. The storage module may be a memory.
[0129] In addition, the device provided in the embodiment of the present application can specifically be a chip, a component or a module. The chip may include a connected control component and a memory; wherein the memory is used to store instructions, and when the control component calls and executes the instructions, the chip can execute a sensor fault determination method provided in the above embodiment.
[0130] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a sensor fault determination method provided in the above embodiment.
[0131] This embodiment further provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a sensor fault determination method provided in the above-mentioned embodiment.
[0132] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0133] Through the description of the above implementation methods, technical personnel in the relevant field can 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 can be divided into different functional modules to complete all or part of the functions described above.
[0134] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0135] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A sensor fault determination method, characterized in that: A control component applied to a water treatment device, wherein the water treatment device comprises a flow sensor and a water outlet regulating component, wherein the water outlet regulating component and the flow sensor are installed in a water supply pipeline of the water treatment device, and the flow sensor and the water outlet regulating component are respectively connected to the control component; The method comprises: In response to the water taking instruction, the water outlet regulating component is controlled to enter a working state, and if it is determined that the flow sensor does not generate a pulse signal, a first operating parameter of the water outlet regulating component and a first water outlet temperature of the water supply pipeline are obtained; Controlling the water outlet regulating component to operate according to the first operating parameter; Acquire a second outlet water temperature of the water supply pipeline under the first operating parameters; The fault state of the flow sensor is determined based on the first water outlet temperature, the second water outlet temperature, the first operating parameter, and the second operating parameter of the water outlet regulating component when it enters the working state.
2. The method according to claim 1, characterized in that After obtaining the second outlet water temperature of the water supply pipeline under the first operating parameter, the method further includes: Acquiring a third operating parameter of the water outlet regulating component, and controlling the water outlet regulating component to operate according to the third operating parameter; Acquire a third outlet water temperature of the water supply pipeline under the third operating parameter; The determining the fault state of the flow sensor based on the first outlet water temperature, the second outlet water temperature, the first operating parameter, and the second operating parameter of the outlet water regulating component when it enters the working state includes: A fault state of the flow sensor is determined based on the first water outlet temperature, the second water outlet temperature, the third water outlet temperature, the first operating parameter, the second operating parameter, and the third operating parameter.
3. The method according to claim 2, characterized in that The determining the fault state of the flow sensor based on the first water outlet temperature, the second water outlet temperature, the third water outlet temperature, the first operating parameter, the second operating parameter, and the third operating parameter includes: Determine a first temperature difference between the second outlet water temperature and the first outlet water temperature, and a first parameter difference between the first operating parameter and the second operating parameter, and determine a first temperature change rate of the outlet water temperature based on the first temperature difference and the first parameter difference; Determine a second temperature difference between the third outlet water temperature and the second outlet water temperature, and a second parameter difference between the third operating parameter and the first operating parameter, and determine a second temperature change rate of the outlet water temperature based on the second temperature difference and the second parameter difference; A fault condition of the flow sensor is determined based on the first temperature change rate and the second temperature change rate.
4. The method according to claim 3, characterized in that The determining the fault state of the flow sensor based on the first temperature change rate and the second temperature change rate comprises: If the difference between the first temperature change rate and the second temperature change rate is within a difference threshold, determining that the fault state of the flow sensor is a fault; If the difference between the first temperature change rate and the second temperature change rate is not within the difference threshold, it is determined that the fault state of the flow sensor is not a fault.
5. The method according to claim 1, characterized in that After the water outlet regulating component is controlled to enter a working state in response to the water intake instruction, the method further includes: If it is determined that the flow sensor generates the pulse signal, it is determined that the fault state of the flow sensor is not faulty.
6. The method according to any one of claims 2 to 4, characterized in that: The water outlet regulating component includes a water pump for regulating the water flow rate of the water supply pipeline and a heating component for heating the water flow in the water supply pipeline. The first operating parameter is a first voltage parameter of the water pump, the second operating parameter is a second voltage parameter of the water pump, and the third operating parameter is a third voltage parameter of the water pump. The power parameter of the heating component during water extraction is the power parameter when entering the working state.
7. The method according to any one of claims 2 to 4, characterized in that: The water outlet regulating component includes a water pump for regulating the water flow rate of the water supply pipeline and a heating component for heating the water flow in the water supply pipeline. The first operating parameter is a first power parameter of the heating component, the second operating parameter is a second power parameter of the heating component, and the third operating parameter is a third power parameter of the heating component. The voltage parameter of the water pump during water extraction is the voltage parameter when entering the working state.
8. A sensor fault determination device, characterized in that: The device is applied to water treatment equipment, which includes a flow sensor and a water outlet regulating component. The water outlet regulating component and the flow sensor are installed in the water supply pipeline of the water treatment equipment, and the flow sensor and the water outlet regulating component are respectively connected to the control component; The device comprises: a response unit, configured to respond to a water intake instruction, control the water outlet regulating component to enter a working state, and if it is determined that the flow sensor does not generate a pulse signal, obtain a first operating parameter of the water outlet regulating component and a first water outlet temperature of the water supply pipeline; A control unit, used for controlling the water outlet regulating component to operate according to the first operating parameter; an acquisition unit, configured to acquire a second outlet water temperature of the water supply pipeline under the first operating parameters; A determination unit is used to determine the fault state of the flow sensor based on the first water outlet temperature, the second water outlet temperature, the first operating parameter, and the second operating parameter of the water outlet regulating component when it enters the working state.
9. A water treatment device, characterized in that: The water treatment equipment comprises: A memory for storing executable program codes; A control component, used to call and run the executable program code from the memory, so that the water treatment equipment executes the method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program code, and when the computer program code is executed, the method according to any one of claims 1 to 7 is implemented.