CN107497811B - Cleaning method and device for sensor and computer readable storage medium - Google Patents

Cleaning method and device for sensor and computer readable storage medium Download PDF

Info

Publication number
CN107497811B
CN107497811B CN201710778281.7A CN201710778281A CN107497811B CN 107497811 B CN107497811 B CN 107497811B CN 201710778281 A CN201710778281 A CN 201710778281A CN 107497811 B CN107497811 B CN 107497811B
Authority
CN
China
Prior art keywords
sensor
target
abnormal
data
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710778281.7A
Other languages
Chinese (zh)
Other versions
CN107497811A (en
Inventor
杨春喜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, GD Midea Air Conditioning Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201710778281.7A priority Critical patent/CN107497811B/en
Publication of CN107497811A publication Critical patent/CN107497811A/en
Application granted granted Critical
Publication of CN107497811B publication Critical patent/CN107497811B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B08CLEANING
    • B08BCLEANING IN GENERAL; PREVENTION OF FOULING IN GENERAL
    • B08B13/00Accessories or details of general applicability for machines or apparatus for cleaning

Landscapes

  • Electric Vacuum Cleaner (AREA)
  • Emergency Alarm Devices (AREA)

Abstract

The invention provides a cleaning method, a cleaning device and a computer readable storage medium of a sensor, wherein the cleaning method of the sensor acquires current target data of a target sensor; judging whether the current target data is abnormal or not according to a preset rule; and when the current target data is abnormal, starting the dust removal device to clean the target sensor. Through the mode, when the abnormal current target data of the target sensor is detected, the dust removal device is started to clean the target sensor. Through certain or a plurality of sensors of in time cleaning taking place unusually, can not only increase the reliability that the sensor gathered data, can prolong the working life of sensor moreover, solved the technical problem of traditional sensor deposit dust easily.

Description

Cleaning method and device for sensor and computer readable storage medium
Technical Field
The invention relates to the field of household appliances, in particular to a cleaning method and a cleaning device for a sensor and a computer readable storage medium.
Background
In order to acquire comprehensive target data, a plurality of sensors are usually arranged in a conventional data acquisition device, and the acquisition of sample data is completed through the mutual cooperation of the plurality of sensors. The sensor carries out gaseous interaction through shell trompil and external environment to acquire the air sample data of current environment. However, the sensor is susceptible to the influence of the size of the opening and the current environmental gas, and after a long time, the sensor is prone to dust deposition, so that the acquired data of the sensor generates numerical deviation. Smoke sensors such as those in conventional air quality detectors are prone to dust deposition, which can cause data collection anomalies. If the dust deposited by the sensor is not cleaned in time, the sensor can not work normally.
Disclosure of Invention
The invention mainly aims to provide a cleaning method of a sensor, a terminal and a computer readable storage medium, and aims to solve the technical problem that the traditional sensor is easy to deposit dust.
In order to achieve the above object, the present invention provides a cleaning method for a sensor, the cleaning method for a sensor being applied to a cleaning system for a sensor, the cleaning system for a sensor including a dust removing device electrically or communicatively connected to the target sensor, the cleaning method for a sensor including the steps of:
acquiring current target data of a target sensor;
judging whether the current target data is abnormal or not according to a preset rule;
and when the current target data is abnormal, starting the dust removal device to clean the target sensor.
Optionally, the current target data includes target acquisition data, and the step of determining whether the current target data is abnormal according to a preset rule includes:
acquiring associated acquisition data of an associated sensor associated with the target sensor;
judging whether the associated collected data matched with the target collected data exists or not;
and when the associated collected data does not exist, judging that the current target data is abnormal.
Optionally, the current target data includes a current working parameter, and the step of determining whether the current target data is abnormal according to a preset rule includes:
judging whether the current working parameters are abnormal or not according to a preset parameter threshold;
and when the current working parameters are abnormal, judging that the current target data are abnormal.
Optionally, when the current operating parameter is abnormal, the step of determining that the current target data is abnormal includes:
when the current working parameters are abnormal, acquiring the associated working parameters of other sensors within the preset distance threshold of the target sensor;
judging whether the associated working parameters have abnormal working parameters or not according to a preset associated parameter threshold value, wherein,
and when the abnormal working parameters do not exist, judging that the target sensor is abnormal.
Optionally, after the step of determining whether the current target data is abnormal according to a preset rule, the method further includes:
when abnormal current target data do not exist, acquiring the accumulated working time of the target sensor;
and when the accumulated working time reaches a preset time threshold, starting the dust removal device to clean the target sensor.
Optionally, after the step of starting the dust removing device to clean the target sensor when the current target data is abnormal, the method further includes:
acquiring second target data of the target sensor;
resetting the target sensor when it is determined that the second target data is abnormal.
Optionally, after the step of starting the dust removing device to clean the target sensor when the current target data is abnormal, the method further includes:
acquiring second target data of the target sensor;
and when the second target data is judged to be abnormal, setting the second target data as a reference value for judging whether the current target data of the target sensor is abnormal or not.
Optionally, after the step of starting the dust removing device to clean the target sensor when the current target data is abnormal, the method further includes:
acquiring third target data of the target sensor;
and when the third target data is judged to be abnormal, generating an abnormal reminding message and sending the abnormal reminding message to a corresponding terminal and/or server.
In addition, in order to achieve the above object, the present invention further provides a cleaning device for a sensor, which is characterized in that the cleaning device for a sensor comprises a processor, a memory and a cleaning program for a sensor stored in the memory and capable of running on the processor, wherein the cleaning program for a sensor realizes the steps as described above when being executed by the processor.
In addition, to achieve the above object, the present invention also provides a computer readable storage medium having stored thereon a cleaning program of a sensor, which when executed by a processor, implements the steps of the cleaning method of a sensor described above.
The invention provides a cleaning method and a cleaning device for a sensor and a computer readable storage medium, wherein the cleaning method for the sensor is applied to a cleaning system for the sensor, the cleaning system for the sensor comprises a dust removal device which is in circuit connection or communication connection with a target sensor, and the cleaning method for the sensor is realized by acquiring current target data of the target sensor; judging whether the current target data is abnormal or not according to a preset rule; and when the current target data is abnormal, starting the dust removal device to clean the target sensor. Through the mode, when the abnormal current target data of the target sensor is detected, the dust removal device is started to clean the target sensor. Through certain or a plurality of sensors of in time cleaning taking place unusually, can not only increase the reliability that the sensor gathered data, can prolong the working life of sensor moreover, solved the technical problem of traditional sensor deposit dust easily.
Drawings
FIG. 1 is a schematic diagram of a terminal structure of a hardware operating environment of a cleaning device for a sensor according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of a cleaning method for a sensor according to the present invention;
FIG. 3 is a schematic flow chart of a cleaning method of a sensor according to a second embodiment of the present invention;
FIG. 4 is a schematic flow chart of a cleaning method of a sensor according to a third embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main idea of the embodiment scheme of the invention is as follows: acquiring current target data of a target sensor;
judging whether the current target data is abnormal or not according to a preset rule; when the current target data is abnormal, the dust removal device is started to clean the target sensor, and the technical problem that dust is easily accumulated in a traditional sensor is solved.
Referring to fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment of a cleaning device for a sensor according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a PC, and can also be a mobile terminal device with a display function, such as a smart phone, a tablet computer, an electronic book reader, an MP4(Moving Picture Experts Group Audio Layer IV) player, a portable computer and the like. As shown in fig. 1, the terminal may include a processor 1001 (e.g., CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface); the memory 1005 may be a high-speed RAM memory, or may be a non-volatile memory (e.g., a magnetic disk memory), and optionally, the memory 1005 may be a storage device independent of the processor 1001.
Those skilled in the art will appreciate that the end configuration of the sensor cleaning apparatus hardware operating environment shown in FIG. 1 does not constitute a limitation of the cleaning apparatus of the present invention and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
With continued reference to FIG. 1, the memory 1005 of FIG. 1, which is one type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a cleaning program for the sensors.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a cloud server and performing data communication with the cloud server; the user interface 1003 may be connected to a client (user side) and performs data communication with the client; the user interface 1003 may also be connected with a dust removing device to control the dust removing device to clean the target sensor; and the processor 1001 may be used to invoke a cleaning program for the sensors stored in the memory 1005 and perform the following operations:
acquiring current target data of a target sensor;
judging whether the current target data is abnormal or not according to a preset rule;
and when the current target data is abnormal, starting the dust removal device to clean the target sensor.
Further, the processor 1001 may also call a cleaning program of the sensor stored in the memory 1005 to perform the following operations:
acquiring associated acquisition data of an associated sensor associated with the target sensor;
judging whether the associated collected data matched with the target collected data exists or not;
and when the associated collected data does not exist, judging that the current target data is abnormal.
Further, the processor 1001 may also call a cleaning program of the sensor stored in the memory 1005 to perform the following operations:
judging whether the current working parameters are abnormal or not according to a preset parameter threshold;
and when the current working parameters are abnormal, judging that the current target data are abnormal.
Further, the processor 1001 may also call a cleaning program of the sensor stored in the memory 1005 to perform the following operations:
when the current working parameters are abnormal, acquiring the associated working parameters of other sensors within the preset distance threshold of the target sensor;
judging whether the associated working parameters have abnormal working parameters or not according to a preset associated parameter threshold value, wherein,
and when the abnormal working parameters do not exist, judging that the target sensor is abnormal.
Further, the processor 1001 may also call a cleaning program of the sensor stored in the memory 1005 to perform the following operations:
when abnormal current target data do not exist, acquiring the accumulated working time of the target sensor;
judging whether the accumulated working time reaches a preset time threshold value or not;
and when the accumulated working time reaches a preset time threshold, starting the dust removal device to clean the target sensor.
Further, the processor 1001 may also call a cleaning program of the sensor stored in the memory 1005 to perform the following operations:
acquiring second target data of the target sensor;
resetting the target sensor when it is determined that the second target data is abnormal.
Further, the processor 1001 may also call a cleaning program of the sensor stored in the memory 1005 to perform the following operations:
acquiring second target data of the target sensor;
and when the second target data is judged to be abnormal, setting the second target data as a reference value for judging whether the current target data of the target sensor is abnormal or not.
Further, the processor 1001 may also call a cleaning program of the sensor stored in the memory 1005 to perform the following operations:
acquiring third target data of the target sensor;
and when the third target data is judged to be abnormal, generating an abnormal reminding message and sending the abnormal reminding message to a corresponding terminal and/or server.
Based on the hardware structure, the embodiment of the cleaning method of the sensor is provided.
Referring to fig. 2, fig. 2 is a schematic flow chart of a cleaning method of a sensor according to a first embodiment of the present invention.
In this embodiment, the cleaning method for the sensor is applied to a cleaning system for the sensor, the cleaning system for the sensor includes a dust removing device electrically or communicatively connected to the target sensor, and the cleaning method for the sensor includes the following steps:
step S10, acquiring current target data of the target sensor;
in this embodiment, in order to solve the technical problem that a conventional sensor is prone to dust deposition, when detecting that current target data of the sensor is abnormal, a corresponding dust removal device is started to clean the target sensor. Therefore, the accuracy of data acquisition of the sensor is improved, and the service life of the sensor is prolonged. The cleaning method of the sensor provided by the embodiment can be particularly applied to a data acquisition device, and the method can also be applied to sensor detection in other devices in the embodiment. Specifically, the cleaning device of the sensor corresponding to the cleaning method of the sensor provided in this embodiment may be a data acquisition device such as an embedded central coprocessor of an air quality detector, where the coprocessor performs exception judgment on current target data when the current target data is acquired. The current target data may be data acquired by the target sensor, such as smoke data acquired by the smoke sensor, formaldehyde content acquired by the formaldehyde sensor, fine particle content acquired by the TVOC sensor, or working parameter data, such as a working current value, a working voltage value, or a working frequency. In a specific embodiment, a user can add the associated current target data type according to the actual situation of the user, and add the corresponding current target data into the acquisition list according to the adding operation of the user. In further embodiments, the current target data may be related data in the data acquisition device, or may be related data in other data acquisition devices communicatively connected or associated with the data acquisition device.
Step S20, judging whether the current target data is abnormal according to a preset rule;
specifically, since the current target data includes multiple types of data, whether the current target data is abnormal or not can be determined according to a corresponding type data threshold. Or when the current target data is judged according to the associated data of other associated sensors associated with the target sensor, whether the change value of the current target data is matched with the change value of the associated data can be judged. If the associated data change is increased, whether the current target data change is correspondingly increased or not is judged. It may be determined whether the current target data and the history data of the target sensor satisfy a certain functional relationship or not. In a specific embodiment, the current target data in a fixed range can be corresponded according to the historical data of the target sensor, and the corresponding relation is stored in a corresponding table. And judging whether the current target data conforms to the value range corresponding to the historical data or not according to the corresponding table. Or judging whether the current target data change trend is consistent with the associated data change trend of the target sensor.
Further, the current target data includes target collection data, and the step S10 includes:
step S21, acquiring the associated acquisition data of the associated sensor associated with the target sensor;
specifically, when the target acquisition data is acquired, the associated acquisition data associated with the target sensor in the data acquisition device is further acquired. The other sensors associated with the target sensor may be a preset association list, for example, if the target sensor is a smoke sensor in an air quality detector, one or more of a PM2.5 sensor, a TVOC sensor, or a formaldehyde sensor in the air quality detector is added to the association list. Smoke sensors, PM2.5 sensors, TVOC sensors or formaldehyde sensors in the air quality detector may also be added to the association list, with one sensor being the target sensor and the remainder being the associated sensor. In a specific embodiment, a user can add the associated sensor according to the actual situation of the user, and add the corresponding sensor into the association list according to the adding operation of the user. In further embodiments, the associated collected data may be sensor data in the data collecting apparatus, or may be sensor data in other data collecting apparatuses communicatively connected to the data collecting apparatus.
Step S22, determining whether the associated collected data matched with the target collected data exists;
specifically, the associated collected data may be one set of data or multiple sets of data. If the target acquisition data is one of formaldehyde sensor data, PM2.5 sensor data, or TVOC sensor data, the associated acquisition data may include one or more of these. The target sensor parameter anomaly may be a mismatch with the set of target acquisition data or a mismatch with none of the sets of target acquisition data. When the target collected data and the associated collected data are obtained, according to a preset matching rule, when the associated collected data change rises, the target collected data change correspondingly rises. Or associating the collected data with the target collected data in a certain functional relationship, etc. In a specific embodiment, the associated collected data may correspond to target collected data within a fixed range, and the corresponding relationship is stored in a corresponding table. For example, the formaldehyde sensor data is 0.2mg/m3When the data is below, the TVOC sensor data should be at 0.6mg/m3Hereinafter, the PM2.5 sensor data should be 75 μ g/m3 or less, and so on. And judging whether the target collected data conforms to the value range corresponding to the associated collected data or not according to the corresponding table. Or judging whether the change trend of the associated collected data is consistent with the change trend of the target collected data.
And step S23, when the associated collected data does not exist, judging that the current target data is abnormal.
Specifically, when the variation trend of the target collected data is inconsistent with the variation trend of the associated collected data, or the standard data range of the target sensor corresponding to the associated collected data is obtained according to the correspondence table, and the target collected data is inconsistent with the associated collected data, it is determined that the target collected data is not matched with the associated collected data. And when the target collected data is judged not to be matched with the associated collected data, namely the target collected data is abnormal, namely the target sensor is abnormal, sending a reset instruction to the target sensor so as to reset the target sensor.
Further, the current target data includes current operating parameters, and step S10 includes:
step S24, judging whether the current working parameter is abnormal according to a preset parameter threshold;
specifically, the working parameter data of the target sensor is obtained in real time, wherein the working parameter data may include one or more of a working current value, a working voltage value, a working frequency, or the like. In this embodiment, a name list of working parameters to be acquired may be preset, and corresponding current working parameters may be acquired according to the name list, where the current working parameters may reflect a working state of the sensor, and for example, when a working current value is lower than a normal value or higher than a normal value, a working voltage value is lower than a normal value or higher than a normal value, and a working frequency value is lower than a normal value or higher than a normal value, both indicate that the working state of the sensor is abnormal. Therefore, whether the current working state of the sensor is abnormal or not is judged according to the current working parameters.
And step S25, when the current operating parameter is abnormal, determining that the current target data is abnormal.
Specifically, when the current working parameters of the target sensor are acquired, according to a preset first preset threshold, that is, the first preset threshold is a working parameter standard value for normal working of the target sensor, where the first preset threshold may be single data or a data set. And when the first preset threshold is a data set, the current working parameters comprise a plurality of working parameters. And judging whether the current working parameter is equal to the first preset threshold value or not according to a preset matching rule, or judging whether the difference value of the current working parameter and the first preset threshold value is within an allowable error. Therefore, whether the current working parameters of the target sensor are abnormal or not is judged, and whether the target parameters of the target sensor are abnormal or not is judged. And when the current working parameter is not equal to the first preset threshold value, or the difference value between the current working parameter and the first preset threshold value is not within an allowable error, judging that the current working parameter is not matched with the first preset threshold value. When the current working parameter is judged not to be matched with the first preset threshold value, namely, the target parameter of the target sensor is abnormal, the working state of the target sensor is judged to be abnormal, namely, the target sensor is abnormal.
And step S30, when the current target data is abnormal, starting the dust removal device to clean the target sensor.
Specifically, when it is determined that the current target data is abnormal, that is, an abnormality occurs in the target sensor. The abnormality of the target sensor may be caused by clogging of an opening of the target sensor. And sending a cleaning instruction to an associated dust removal device, wherein the dust removal device can be an ultrasonic cleaning device or a wind energy cleaning device. And removing dust deposited on the target sensor through the dust removing device so as to restore the normal operation of the target sensor. The dust removal device and the target sensor can be in circuit connection or communication connection, so that the dust removal device is started when the target sensor triggers the dust removal device.
The embodiment provides a cleaning method, a cleaning device and a computer-readable storage medium of a sensor, wherein the cleaning method of the sensor is realized by acquiring current target data of a target sensor; judging whether the current target data is abnormal or not according to a preset rule; and when the current target data is abnormal, starting the dust removal device to clean the target sensor. Through the mode, when the abnormal current target data of the target sensor is detected, the dust removal device is started to clean the target sensor. Through certain or a plurality of sensors of in time cleaning taking place unusually, can not only increase the reliability that the sensor gathered data, can prolong the working life of sensor moreover, solved the technical problem of traditional sensor deposit dust easily.
Referring to fig. 3, fig. 3 is a schematic flow chart of a cleaning method of a sensor according to a second embodiment of the present invention.
In this embodiment, based on the above embodiment shown in fig. 2, after step S30, the method further includes:
step 40, when the current abnormal target data does not exist, acquiring the accumulated working time of the target sensor;
specifically, when it is determined that the current target data of the target sensor is not abnormal, that is, the current operating state of the target sensor is not abnormal. And further acquiring the accumulated working time corresponding to the target sensor. The accumulated working time may be an accumulated working time in one day, a working time in a preset time period, or a total working time of the target sensor.
And 50, starting the dust removal device to clean the target sensor when the accumulated working time reaches a preset time threshold.
Specifically, in order to prolong the service life of the sensor, the target sensor may be stopped for a certain period of time after being operated for a certain period of time. When the accumulated working time of the target sensor is judged to reach an upper limit, namely a preset time threshold, a cleaning finger is sent to the dust removal device, wherein the dust removal device can be an ultrasonic cleaning device or a wind energy cleaning device. And removing dust deposited on the target sensor through the dust removing device so as to restore the normal operation of the target sensor. The preset time threshold may be for a single data or a range of values.
In the present embodiment, a method and an apparatus for cleaning a sensor and a computer-readable storage medium are provided, where the method and the apparatus start the dust removing device to clean the target sensor when detecting that the target sensor has abnormal current target data. Through certain or a plurality of sensors of in time cleaning taking place unusually, can not only increase the reliability that the sensor gathered data, can prolong the working life of sensor moreover, solved the technical problem of traditional sensor deposit dust easily.
Referring to fig. 4, fig. 4 is a schematic flow chart of a cleaning method of a sensor according to a third embodiment of the present invention.
In this embodiment, based on the above embodiment shown in fig. 2, after step S30, the method further includes:
step S60, acquiring second target data of the target sensor;
specifically, in order to determine whether the target sensor after cleaning works normally, after the target sensor is cleaned, that is, after a preset time threshold value is obtained, the preset time threshold value may be a time after the sensor starts to work normally, the second target data of the target parameter is obtained again, and whether the second target data is abnormal is determined.
And step S70, when it is determined that there is no abnormality in the second target data, setting the second target data as a reference value for determining whether there is an abnormality in the current target data of the target sensor.
Specifically, whether the second target data is abnormal is judged according to a corresponding abnormality judgment rule. And when the second target data is judged to have no abnormality, the second target data at least comprising one group of data all belong to normal target data. The second target data is set as a reference value of the target sensor. Wherein the reference value can be used as a standard value for whether the target sensor detects the current environment to be abnormal. And when the target data of the current environment is higher or lower than the reference value within a certain range, judging that the current environment is abnormal. In a specific implementation, a difference between the second target data and the detected target data may be further calculated, where when the second target data is a range value, a middle value of the range value is taken. And judging whether the difference value between the second target data and the target data reaches a preset threshold value. The preset threshold is a data threshold set according to the current sensor data acquisition error. Thereby determining whether the current sensor data is abnormal within an allowable error range.
Further, in this embodiment, the method for cleaning a sensor further includes:
step S80, acquiring second target data of the target sensor;
specifically, when it is determined that there is still an abnormality in the data acquired by the target sensor after cleaning, the target sensor needs to be subjected to a reset process. After the target sensor is cleaned, that is, after the preset time threshold is obtained, the preset time threshold may be a minimum time value for starting the sensor to normally work, the second target data of the target sensor is obtained again, and whether the second target data is abnormal or not is determined.
In step S90, when it is determined that the second target data is abnormal, the target sensor is reset.
Specifically, according to the preset determination rule in the above embodiment, the abnormal condition of the second target data is determined. And when the second target data is judged to be abnormal, sending a reset finger to the target sensor, and resetting the target sensor.
Further, in this embodiment, the method for cleaning a sensor further includes:
step S100, acquiring third target data of the target sensor;
specifically, in order to confirm whether the target sensor after being reset works normally, after the target sensor is reset, that is, the preset time threshold may be the time after the sensor starts working normally, the third target data of the target parameter is acquired again, and it is determined whether the third target data is abnormal.
And step S110, when the third target data is judged to be abnormal, generating an abnormal reminding message and sending the abnormal reminding message to a corresponding terminal and/or server.
Specifically, according to the preset determination rule in the above embodiment, the abnormal condition of the third target data is determined. When it is determined that the third target data is abnormal, an abnormal reminding message may be generated after the target sensor is reset or the abnormal target data is generated, and the abnormal reminding message may be sent to a corresponding terminal and/or server, so as to remind a user that the target sensor has an abnormal problem that cannot be solved by resetting.
Further, step S25 in this embodiment includes:
step S251, when the current working parameters are abnormal, obtaining the relevant working parameters of other sensors within the preset distance threshold of the target sensor;
specifically, when it is determined that the current working parameter is abnormal, the associated working parameter associated with the target sensor in the data acquisition device is further acquired. The other sensors associated with the target sensor may be a preset association list, for example, if the target sensor is a smoke sensor in an air quality detector, one or more of a PM2.5 sensor, a TVOC sensor, or a formaldehyde sensor in the air quality detector is added to the association list. Smoke sensors, PM2.5 sensors, TVOC sensors or formaldehyde sensors in the air quality detector may also be added to the association list, with one sensor being the target sensor and the remainder being the associated sensor. In a specific embodiment, a user can add the associated sensor according to the actual situation of the user, and add the corresponding sensor into the association list according to the adding operation of the user. In further embodiments, the associated other sensor data may be the sensor data in the data acquisition device, or may be the sensor data in another data acquisition device communicatively connected to the data acquisition device. When other sensors associated with the target sensor are obtained, the associated working parameters of the other sensors are obtained, and whether the associated working parameters of the other associated sensors are abnormal or not is judged, so that the problem that the current working parameters are abnormal due to the working environment problem of the target sensor is solved. Namely, whether the working parameters of other sensors in the same working environment are abnormal simultaneously with the working parameters of the target sensor is judged. Wherein the preset distance threshold of the target sensor is to ensure that the other associated sensors are in the same working environment as the target sensor. The same working environment is the same working voltage or the same working frequency, and the like.
Step S252, judging whether the associated working parameters have abnormal working parameters or not according to a preset associated parameter threshold;
specifically, a standard value of the working parameter of the other associated sensors, that is, a standard parameter threshold value, is preset, and whether the associated working parameter of the other sensor is abnormal is determined according to the standard parameter threshold value. When the related working parameters are judged to be abnormal, namely the current working parameters and the related working parameters are abnormal, the possibility of judging that the working environments of the target sensor and the other sensors are abnormal is higher. At this time, a reset instruction may be sent to the target sensor and the other sensors to reset the target sensor and the sensors thereof. Or, a reminding instruction of the working environment abnormity can be sent to a specified terminal or server address. When the working parameters of the other sensors are normal, namely only the working parameters of the target sensor are abnormal, the target parameters of the target sensor are judged to be abnormal, and the target sensor is abnormal, so that the target parameters are abnormal.
And step S253, if the abnormal operating parameter does not exist, determining that the target sensor is abnormal.
Specifically, the associated operating parameter may be a single set of data or a plurality of sets of data. If only one set of data with normal working parameters exists, the working environment of the sensor can be indicated to be normal. It is determined that the abnormality of the operating parameter of the target sensor is not an abnormality due to the operating environment. But abnormality occurs in the target sensor, causing abnormality in the operating parameter of the target sensor, and the like. One group is an average value or a median value of the sensor data of the same type, and the like, and can be set according to the actual situation of a user.
The invention also provides a computer readable storage medium.
The computer-readable storage medium of the present invention stores thereon a cleaning program for a sensor, which when executed by a processor implements the steps of the intelligent method as described above.
The method for implementing the cleaning procedure of the sensor when executed can refer to the embodiments of the cleaning method of the sensor of the present invention, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A method for cleaning a sensor, wherein the method is applied to a cleaning system of the sensor, the cleaning system of the sensor comprises a dust removing device which is connected with a target sensor circuit or in communication connection with the target sensor circuit, and the method for cleaning the sensor comprises the following steps:
acquiring current target data of a target sensor;
judging whether the current target data is abnormal or not according to a preset rule;
when the current target data are abnormal, starting the dust removal device to clean the target sensor;
when abnormal current target data do not exist, acquiring the accumulated working time of the target sensor;
when the accumulated working time reaches a preset time threshold, starting the dust removal device to clean the target sensor;
the current target data comprises target acquisition data, and the step of judging whether the current target data is abnormal according to a preset rule comprises the following steps of:
acquiring associated acquisition data of an associated sensor associated with the target sensor;
and judging whether the target collected data is abnormal or not according to a preset corresponding table and the change trend of the target collected data and the change trend of the associated collected data.
2. The method of claim 1, wherein the current target data includes current operating parameters, and the step of determining whether the current target data is abnormal according to a preset rule comprises:
judging whether the current working parameters are abnormal or not according to a preset parameter threshold;
and when the current working parameters are abnormal, judging that the current target data are abnormal.
3. The sensor cleaning method of claim 2, wherein the step of determining that the current target data is abnormal when the current operating parameter is abnormal comprises:
when the current working parameters are abnormal, acquiring the associated working parameters of other sensors within the preset distance threshold of the target sensor;
judging whether the associated working parameters have abnormal working parameters or not according to a preset associated parameter threshold value, wherein,
and when the abnormal working parameters do not exist, judging that the target sensor is abnormal.
4. The method of cleaning a sensor of claim 1, wherein after the step of activating the dust removing device to clean the target sensor when the current target data is abnormal, further comprising:
acquiring second target data of the target sensor;
resetting the target sensor when it is determined that the second target data is abnormal.
5. The method of cleaning a sensor of claim 1, wherein after the step of activating the dust removing device to clean the target sensor when the current target data is abnormal, further comprising:
acquiring second target data of the target sensor;
and when the second target data is judged to be abnormal, setting the second target data as a reference value for judging whether the current target data of the target sensor is abnormal or not.
6. The method of cleaning a sensor of any one of claims 1-5, wherein after the step of activating the dust removing device to clean the target sensor when the current target data is abnormal, further comprising:
acquiring third target data of the target sensor;
and when the third target data is judged to be abnormal, generating an abnormal reminding message and sending the abnormal reminding message to a corresponding terminal and/or server.
7. A cleaning device for a sensor, characterized in that the cleaning device for a sensor comprises a processor, a memory and a cleaning program for a sensor stored on the memory and executable on the processor, wherein the cleaning program for a sensor, when executed by the processor, implements the steps of the cleaning method for a sensor according to any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a cleaning program of a sensor, which when executed by a processor implements the steps of the cleaning method of a sensor according to any one of claims 1 to 6.
CN201710778281.7A 2017-08-31 2017-08-31 Cleaning method and device for sensor and computer readable storage medium Active CN107497811B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710778281.7A CN107497811B (en) 2017-08-31 2017-08-31 Cleaning method and device for sensor and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710778281.7A CN107497811B (en) 2017-08-31 2017-08-31 Cleaning method and device for sensor and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107497811A CN107497811A (en) 2017-12-22
CN107497811B true CN107497811B (en) 2021-04-27

Family

ID=60694799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710778281.7A Active CN107497811B (en) 2017-08-31 2017-08-31 Cleaning method and device for sensor and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107497811B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108495284B (en) * 2018-03-26 2021-02-09 王智华 Sensor connection method, sensor connection device and computer-readable storage medium
CN110901594B (en) * 2019-11-22 2022-10-28 阿波罗智能技术(北京)有限公司 Sensor cleaning system for vehicle and vehicle
CN111141239A (en) * 2019-12-26 2020-05-12 广东美的厨房电器制造有限公司 Cooking apparatus, detection method, detection device and computer readable memory
CN111427283A (en) * 2020-04-03 2020-07-17 北京海益同展信息科技有限公司 Self-cleaning control method, device, system, equipment and storage medium
CN112628972B (en) * 2020-12-25 2022-05-27 珠海格力电器股份有限公司 Dust sensor cleaning control method, device and system and air conditioner

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102121900A (en) * 2010-01-07 2011-07-13 泰怡凯电器(苏州)有限公司 Method for judging pollution of dust sensor, wiping system and cleaning robot thereof
CN105046340A (en) * 2015-08-31 2015-11-11 宇龙计算机通信科技(深圳)有限公司 Intelligent appliance cleaning method and user terminal

Also Published As

Publication number Publication date
CN107497811A (en) 2017-12-22

Similar Documents

Publication Publication Date Title
CN107497811B (en) Cleaning method and device for sensor and computer readable storage medium
CN107576346B (en) Sensor detection method and device and computer readable storage medium
CN108021259B (en) False touch prevention method and electronic equipment
CN105611330B (en) Smart television maintenance method and system, server and mobile terminal
CN107389878B (en) Self-checking method and device of sensor and computer readable storage medium
CN105302120A (en) Remote service device, system and method of intelligent equipment
CN101963873B (en) Method for setting and calibrating capacitive-type touch panel capacitance base value
EP3602255A1 (en) Automated user device damage remidiation
CN110363888B (en) Door lock management method and device, electronic equipment and readable storage medium
CN104967550A (en) Method and apparatus for displaying unread messages
CN104539492A (en) Intelligent household system and data processing method thereof
CN108107780B (en) Power-off method, device and system of intelligent household appliance and computer readable storage medium
CN107526638B (en) Application processing method and device, mobile terminal and storage medium
CN108334530B (en) User behavior information analysis method, device and storage medium
CN105743774B (en) Pushed information monitoring device, pushed information monitoring method and client
EP3086577B1 (en) Method and device for event notification in home network system
CN107526637B (en) Application processing method and device, mobile terminal and storage medium
CN105045468A (en) Processing method and apparatus for suspended notice in mobile terminal
CN112050970A (en) Environment monitoring method and device
CN103810823A (en) Alarm processing method and device
CN111130867B (en) Intelligent household equipment alarm method and device based on Internet of things
CN113530790B (en) Control method and device of air compressor and readable storage medium
CN103995719A (en) System reset method and device and electronic equipment
CN106980402B (en) Method and device for judging reset calibration and terminal
KR101344411B1 (en) Using smart device for the error of a local power plant diagnosis device and method

Legal Events

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