Search

CN-121982873-A - Infrared controlled equipment and method supporting dynamic reconfiguration of remote controller keys

CN121982873ACN 121982873 ACN121982873 ACN 121982873ACN-121982873-A

Abstract

The invention discloses infrared controlled equipment and a method for supporting dynamic reconfiguration of remote controller keys, and relates to the technical field of infrared remote control. The method is characterized in that a reconfigurable mapping table is established in infrared controlled equipment, an operation mode and a remote controller key configuration mode are set, the equipment can enter the configuration mode according to power-on, external triggering or learned instruction triggering, in the mode, the equipment learns and stores the binding relation between external remote controller key codes and own control instructions, and then, in the operation mode, the remote controller operation is responded according to the mapping relation. The invention gets rid of the dependence on the specific remote controller by software architecture innovation, can adapt to any external remote controller, and has the advantages of strong universality, low cost and good user experience.

Inventors

  • XU GUANGYAO

Assignees

  • 徐光耀

Dates

Publication Date
20260505
Application Date
20260209

Claims (7)

  1. 1. A remote control key code reconfiguration method for an infrared controlled device, the method comprising: Maintaining a reconfigurable mapping table in a memory of the infrared controlled equipment, wherein the reconfigurable mapping table is used for storing a mapping relation between an external remote controller key code and a control instruction of the infrared controlled equipment; responding to a configuration triggering event, and controlling the infrared controlled equipment to switch from an operation mode to a remote controller key configuration mode; receiving an infrared signal sent by an external remote controller, decoding the infrared signal to obtain a target key code, establishing association between the target key code and a preset control instruction of the infrared controlled equipment, and updating the reconfigurable mapping table to record the association; responding to a configuration exit condition, and controlling the infrared controlled equipment to switch from the remote controller key configuration mode back to the operation mode; and in the operation mode, the infrared controlled equipment responds to a control instruction corresponding to the received infrared signal according to the reconfigurable mapping table.
  2. 2. The method of claim 1, wherein the configuration triggering event comprises at least one of powering up the infrared controlled device, the infrared controlled device detecting operation of a particular physical input device on its body in an operational mode.
  3. 3. The method of claim 2, wherein the configuration triggering event further comprises, in the run mode, receiving a particular key code associated with a mode switch instruction pre-stored in the reconfigurable mapping table.
  4. 4. The method of claim 3, wherein the configuration exit condition comprises at least one of receiving the particular key code associated with the mode switch instruction in a remote control key configuration mode, detecting operation of the particular physical input device, completing updating of the reconfigurable mapping table, and continuing to incomplete mapping table updating for a time exceeding a preset threshold from entering the remote control key configuration mode.
  5. 5. The method of claim 1, wherein the remote control key configuration mode is entered automatically upon power-up for the infrared controlled device without the specific physical input device.
  6. 6. An infrared controlled device supporting remote control key code reconfiguration, comprising: a processing unit; a memory coupled to the processing unit for storing program instructions and a reconfigurable mapping table; An infrared signal interface coupled to the processing unit; the user indication unit is coupled with the processing unit and prompts a configuration mode; Wherein the processing unit is configured to execute the program instructions to implement the method of any one of claims 1 to 5.
  7. 7. A computer readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the method according to any one of claims 1 to 5.

Description

Infrared controlled equipment and method supporting dynamic reconfiguration of remote controller keys Technical Field The invention relates to the technical field of infrared remote control, in particular to a method, equipment and storage medium for realizing dynamic reconfiguration of key codes of a remote controller of infrared controlled equipment through software architecture innovation. Background The remote control function of conventional infrared controlled devices (e.g., intelligent light fixtures, fans, air conditioners, etc.) relies on a static code mapping table that is cured in the device memory at the time of shipment. The mapping table is fixedly associated with a preset remote controller key code and a preset device control instruction. The static binding structure causes the equipment to be strictly coupled with a specific remote controller, so that the inherent technical problems are that the main function of the equipment is invalid due to the loss of an original remote controller, a user cannot control by using other idle remote controllers, and the remote controllers among different equipment cannot be commonly used. The existing architecture lacks a flexible and hierarchical configuration triggering mechanism, and cannot intelligently provide an optimal configuration entry and user experience according to the hardware resource condition of the equipment. Disclosure of Invention The present invention aims to overcome the above-mentioned drawbacks of the prior art, and is directed to providing an innovative software architecture. In the infrared controlled equipment, the architecture replaces the original static mapping table with a reconfigurable mapping table which can be dynamically modified in operation, and designs an independent remote controller key configuration mode to safely and conveniently update the table. In order to achieve the above purpose, the present invention provides a remote controller key reconfiguration method for an infrared controlled device. The method manages a reconfigurable mapping table and switches the device between an operating mode and a configuration mode. In the configuration mode, the device decodes the infrared signal of the external remote controller, obtains the key code thereof, dynamically associates the code with a predetermined control instruction of the device, and updates the code to the mapping table. In the operation mode, the device responds to the remote control operation according to the updated mapping table. Furthermore, the invention defines three triggering modes of entering the key configuration mode of the remote controller, namely power-on triggering, external triggering (through a physical input device on the equipment body) and instruction triggering (through a learned mode switching instruction). The external trigger and the instruction trigger are bidirectional trigger mechanisms and can also be used for switching from a configuration mode to a running mode. In particular, whether the device is provided with the physical input device determines an initial state policy after power-up of the device, so that an optimal balance between cost and user experience is achieved. Correspondingly, the invention also provides an infrared controlled device for realizing the method and a computer readable storage medium storing the related program. Advantageous effects Compared with the prior art, the invention has the following remarkable advantages: architecture-level innovation, namely, the paradigm conversion from 'static coding mapping' to 'dynamic reconfigurable mapping' is realized from the bottom layer of device-side software. And the intelligent state management provides an intelligent triggering strategy based on hardware configuration, and ensures the availability and convenience of various devices (from extremely low cost to high user experience). The method has extremely strong universality and flexibility, and enables the equipment to learn to adapt to the remote controller compatible with any coding format. The method has high cost performance, the core is realized by software, the hardware cost is extremely low, and the storage scheme can be flexibly selected according to the requirement. Drawings Fig. 1 is a schematic diagram of main logic modules and data flow inside an infrared controlled device according to an embodiment of the present invention. The figure shows the connection relationship and data flow direction among the functional modules in the infrared controlled equipment, including but not limited to a processing unit, a memory, an infrared interface and a user indication unit. Fig. 2 is a general flowchart of a remote controller key reconfiguration method according to an embodiment of the present invention. The figure shows the key steps of the remote controller key code reconfiguration of the infrared controlled equipment, describes the specific flow from equipment starting to completion of remote controller c