摘要 |
The present invention relates to an anti-interference infrared remote control decoding method and system. An existing infrared remote control decoding method has generally taken the problem of resisting external interference less into consideration. Moreover, current infrared remote control decoding is generally real-time decoding, that is, real-time decoding is performed when each pulse arrives. This method is very difficult for anti-interference error correction, since error correction needs to be performed by comparing pulses before and after, thus resulting in a relatively poor anti-interference performance of decoding. By truncating a valid infrared remote control data pulse segment from a pulse sequence containing infrared remote control data, performing restoration processing on same, and performing decoding after obtaining decoded data, in the present invention, the influence of external interference is taken into consideration, and a data restoration algorithm is used to restore the infrared remote control data, so that the infrared remote control data subject to interference is restored and decoded correctly with great probability. |