Infrared Remote Code Encoding for Fast Library Matching

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing infrared remote control code matching methods are time-consuming due to manual intervention or lengthy hard computing, and are inefficient in rapidly identifying corresponding codes in a diverse and fluctuating environment.

Innovation Solution

An infrared remote control code matching method that divides the code stream into subregions based on occurrence frequencies, encodes the data, and matches it with a library using encoded streams to rapidly identify corresponding codes, reducing environmental fluctuations' impact.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If conventional infrared code matching is implemented by continuous code sending and testing under manual intervention, then matching can be performed, but time consumption is high

Engineering Contradiction:
Improvematching timeVSAvoidmatching efficiency
Core Design Contradiction:
Loss of timeVSProductivity

Solution Approach 1:

The patent applies preliminary action by pre-processing the infrared code stream before matching. The code stream is divided into data subregions based on occurrence frequencies of code data, and encoding is performed in advance according to the sizes of code data and the divided subregions. This preliminary encoding and division significantly reduces the time required during the actual matching process, as the complex processing is completed beforehand.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies segmentation by dividing the data region of the infrared remote control code stream into multiple data subregions according to the occurrence frequency of each piece of code data. This segmentation allows the encoding process to be applied more efficiently and enables faster comparison with the encoded infrared code stream in the library, thereby reducing matching time and improving productivity.

Inventive Principle:
Principle #1Segmentation

2Measurement precision

If similarities between infrared remote control codes are calculated by hard computing, then matching can be achieved, but time consumption is relatively long

Engineering Contradiction:
Improvematching accuracyVSAvoidcomputing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent applies parameter changes by transforming the infrared code data through encoding based on occurrence frequencies and data subregion division. Instead of directly comparing raw code data, the system encodes the data according to specific parameters (occurrence frequencies and subregion sizes), which changes the representation form and enables faster, more accurate matching with reduced computing time.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent applies preliminary action by performing encoding and data subregion division before the matching process. This preliminary processing transforms the raw infrared code stream into an encoded format that is optimized for comparison, thereby reducing the computational burden during actual matching while maintaining or improving matching accuracy.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If infrared codes are learned in large numbers according to self-learning function, then code library coverage is improved, but rapid matching of device button and infrared code becomes difficult

Engineering Contradiction:
Improvecode library coverageVSAvoidmatching speed
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent applies segmentation by dividing the infrared code stream into multiple data subregions based on occurrence frequencies. This segmentation organizes the large number of learned codes in a structured manner, making it easier to perform rapid matching even with extensive code library coverage. The division into subregions allows for more efficient comparison operations.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies preliminary action by encoding the infrared code stream in advance according to data subregion division and occurrence frequencies. This preliminary encoding process prepares the code data for rapid comparison, enabling fast matching performance even when the code library contains a large number of learned codes across various devices and brands.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentEP4024360B1Infrared remote control code matching method and apparatus, computer device, and readable storage medium
Publication Date: 2025.10.01 HANGZHOU TUYA INFORMATION TECH CO LTD
  • EP4024360B1 patent drawingFigure 1~2
  • EP4024360B1 patent drawingFigure 3~4
  • EP4024360B1 patent drawingFigure 5~7

AI summary

The present disclosure relates to an infrared remote control code matching method and apparatus, a computer device, and a readable storage medium. The method includes that: an infrared remote control code stream is acquired; a data region of the infrared remote control code stream is divided into multiple data subregions according to occurrence frequencies of the code data in the infrared remote control code stream; an encoding process is performed on each piece of code data in the infrared remote control code stream according to a size of each piece of code data in the infrared remote control code stream and the multiple data subregions to obtain an encoded stream; and the encoded stream is matched with an encoded infrared remote control code stream recorded in an infrared remote control code library to find a corresponding infrared remote control code stream from the infrared remote control code library.