Dual-mode remote control method, dual-mode remote control system and matching method for smart television
By using a dual-mode remote control method and system to uniformly process infrared and Bluetooth signals, the compatibility and operational complexities of smart TVs under multi-mode interaction are resolved, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-30
- Publication Date
- 2026-04-10
AI Technical Summary
Existing smart TVs suffer from poor interaction quality across various communication methods. Traditional infrared remote controls cannot support real-time audio input, and external Bluetooth microphones require separate pairing and management, leading to cumbersome operation, device redundancy, and a lack of integrated interaction solutions that combine voice input and physical control.
A dual-mode remote control method is provided, which receives heterogeneous key-value codes and converts them into standard Android input events. By combining a signal receiving and parsing module, a dual-mode key-code adaptation module, a device identification and management module, and a binding engine module, it achieves unified processing of infrared signals and Bluetooth signals and optimizes the binding process.
It achieves unified and standardized processing of infrared and Bluetooth signals, solves system compatibility issues, reduces latency and packet loss caused by Bluetooth bandwidth contention, simplifies user operation, and improves the user experience of smart TVs.
Smart Images

Figure CN121842433A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart TV system control technology, and more specifically, to a dual-mode remote control method, a dual-mode remote control system, and a matching method for smart TVs. Background Technology
[0002] As the entertainment functions of Android smart TVs become more diversified, users' demands for interaction methods are increasing. Existing smart TVs support one or more communication interaction modes such as Bluetooth and infrared, but in some scenarios, multiple communication interaction methods can actually lead to poor interaction quality.
[0003] Especially in scenarios like home karaoke, traditional infrared remote controls cannot support real-time audio input, while external Bluetooth microphones require separate pairing and management, leading to cumbersome operation and device redundancy. Meanwhile, users still rely on remote controls for basic operations such as playback control and volume adjustment, necessitating an integrated interactive solution that can simultaneously handle voice input and physical control. Summary of the Invention
[0004] This invention overcomes the shortcomings of existing technologies in interactive control and provides a dual-mode remote control method, dual-mode remote control system and matching method for smart TVs, in order to solve the problems existing in the prior art.
[0005] To address the aforementioned technical problems, one aspect of the present invention provides a dual-mode remote control method for smart TVs:
[0006] A dual-mode remote control method for smart TVs includes the following steps:
[0007] The television receives dual-mode control signals from an external remote control device and obtains heterogeneous key-value codes;
[0008] By using predefined key code mapping rules, the heterogeneous key-value codes are uniformly converted into standard Android input events;
[0009] Standard Android input events are transmitted to the application layer, where the application handles the event processing.
[0010] A further technical solution is that the heterogeneous key value code includes infrared signals and Bluetooth signals;
[0011] The Bluetooth signal receiving step is as follows: the Bluetooth protocol stack receives the BLE HID report.
[0012] A further technical solution involves converting the heterogeneous key-value codes into standard Android input events using predefined key-code mapping rules, specifically including the following steps:
[0013] In the Android input subsystem layer, load the key mapping table (KL) file;
[0014] The first key value code obtained by parsing the infrared signal and the second key value code obtained by parsing the BLE HID report are mapped to the same Android key value enumeration value through the KL file.
[0015] The standard input_event structure is generated and reported through the Linux kernel's input event interface.
[0016] The present invention also provides a dual-mode remote control system for smart TVs.
[0017] A dual-mode remote control system for smart TVs includes a smart TV and a dual-mode control device.
[0018] The smart TV receives the dual-mode control signal from the dual-mode control device and processes it using the dual-mode remote control method described above.
[0019] The dual-mode control device is used to send dual-mode control signals.
[0020] A further technical solution is that the smart TV includes a signal receiving and parsing module, a dual-mode keycode adaptation module, a device identification and management module, and a binding engine module.
[0021] The signal receiving and parsing module is used to receive and parse infrared signals and BLE control commands;
[0022] The dual-mode key code adaptation module is used to load the key code mapping table and uniformly convert heterogeneous key values into standard input events;
[0023] The device identification and management module is used to identify the device type based on the device feature identifier, generate corresponding connection policy instructions, and send the connection policy instructions to the Bluetooth protocol stack.
[0024] The binding engine module is used to scan and filter Bluetooth broadcast packets and automatically complete the secure binding process.
[0025] The present invention also provides a matching method for a dual-mode remote control system.
[0026] A method for matching a dual-mode remote control system, applied to the dual-mode remote control system of a smart TV as described above, includes the following steps:
[0027] After receiving external remote control information, the smart TV identifies the device type of the external remote control device;
[0028] Based on the identified device type, the smart TV sends a connection policy instruction to the Bluetooth protocol stack, triggering the Bluetooth protocol stack to adapt different connection parameters for different types of devices.
[0029] Listen to the Bluetooth broadcast channel and filter the scanned devices based on the pre-stored device feature identifiers; if the device feature filter is successful, automatically initiate the encrypted binding process with the device.
[0030] A further technical solution is that the filtering based on pre-stored device feature identifiers includes at least one of the following methods:
[0031] Match the specific service UUID in the broadcast packet;
[0032] Matches the length and content of custom data segments defined by the broadcast packet manufacturer;
[0033] Match the Bluetooth device name to the pre-stored name list.
[0034] A further technical solution is that the automatic initiation of the encrypted binding process with the device specifically includes:
[0035] Initiate pairing by calling the system binding interface;
[0036] Intercept the request just as the system is about to display the pairing confirmation screen;
[0037] If the current device identifier matches the pre-stored target, the preset key is automatically retrieved from the secure storage area and authentication is completed, while the pop-up process of the user interface is terminated.
[0038] A further technical solution involves performing the following steps after the encryption binding process is completed:
[0039] Once the external remote control device is bound, if it communicates with the television via infrared, the infrared signal will be processed normally.
[0040] If it communicates with the TV via BLE, a connection optimization strategy is applied to the control commands it issues.
[0041] A further technical solution is that the connection optimization strategy specifically involves setting the Bluetooth connection interval to the theoretical minimum value through the bluename of the remote control, based on the Android protocol stack source code.
[0042] Compared with existing technologies, the present invention has at least the following beneficial effects: The dual-mode remote control method disclosed in this invention converts heterogeneous key-value codes into standard Android input events through key code mapping, solving the system compatibility problem caused by heterogeneous key values in dual-mode remote controls. It achieves unified and standardized processing of microphone remote control infrared and Bluetooth dual-mode commands. Through the Bluetooth protocol stack priority scheduling mechanism, it solves the high latency and packet loss problems of empty finger commands caused by Bluetooth bandwidth contention in existing technologies, simplifying user needs for microphone usage scenarios on Android TVs. Furthermore, the present invention also improves the traditional binding process, solving the problem of high user operation threshold in the traditional binding process. Attached Figure Description
[0043] Figure 1 This is a schematic diagram of the dual-mode remote control method.
[0044] Figure 2 This is a schematic diagram of the system architecture and remote control and matching process of the present invention. Detailed Implementation
[0045] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0046] Example 1
[0047] A dual-mode remote control method for smart TVs, see [link / reference]. Figure 1 This includes the following steps:
[0048] The S1 TV receives dual-mode control signals from an external remote control device and obtains heterogeneous key value codes.
[0049] In this embodiment, the heterogeneous key code includes infrared signals and Bluetooth signals;
[0050] It should be noted that the dual-mode control signal is issued by the dual-mode control signal device. Taking a heterogeneous microphone remote control as an example, this remote control supports one button and two signal modules. When Bluetooth is connected, the Bluetooth module is used; when Bluetooth is not connected, the infrared module is used. After the TV's infrared receiver captures the NEC protocol signal, the driver layer parses it into a 16-bit key code value. The Bluetooth protocol stack receives the BLE HID report from the heterogeneous microphone remote control and extracts the 8-bit function key value through the hidraw interface.
[0051] The Bluetooth signal receiving step is as follows: the Bluetooth protocol stack receives the BLE HID report.
[0052] S2 uses predefined key mapping rules to uniformly convert the heterogeneous key-value codes into standard Android input events, and then generates standardized input events;
[0053] For example, the step of uniformly converting the heterogeneous key-value codes into standard Android input events through predefined key-code mapping rules specifically includes the following steps:
[0054] In the Android input subsystem layer, load the key mapping table (KL) file;
[0055] For example, a .kl file defining the mapping rules is pre-defined in the system's keylayout directory. Below are some examples:
[0056] key 224 BRIGHTNESS_DOWN;
[0057] key 225 BRIGHTNESS_UP;
[0058] key 226 HEADSETHOOK;
[0059] The KL file maps the first key code obtained by parsing the infrared signal and the second key code obtained by parsing the BLE HID report to the same Android key enumeration value, such as 0XA15E corresponding to KEYCODE_VOLUME_UP.
[0060] The standard input_event structure is generated and reported through the Linux kernel's input event interface.
[0061] For example, the input subsystem calls the input_event() function to generate standard events:
[0062] struct input_event ev ={.type=EV_KEY, .code=KEY_VOLUMEUP, .value=1}
[0063] S3 transmits standard Android input events to the application layer, where the application handles the event processing.
[0064] Example 2
[0065] A dual-mode remote control system for smart TVs includes a smart TV and a dual-mode control device.
[0066] The smart TV receives the dual-mode control signal from the dual-mode control device and processes it using the dual-mode remote control method described above.
[0067] The dual-mode control device is used to send dual-mode control signals.
[0068] In a further preferred embodiment, the smart TV includes a signal receiving and parsing module, a dual-mode keycode adaptation module, a device identification and management module, and a binding engine module.
[0069] The signal receiving and parsing module is used to receive and parse infrared signals and BLE control commands;
[0070] The dual-mode key code adaptation module is used to load the key code mapping table and uniformly convert heterogeneous key values into standard input events;
[0071] The device identification and management module is used to identify the device type based on the device feature identifier, generate corresponding connection policy instructions, and send the connection policy instructions to the Bluetooth protocol stack.
[0072] The binding engine module is used to scan and filter Bluetooth broadcast packets and automatically complete the secure binding process.
[0073] Example 3
[0074] A matching method for a dual-mode remote control system, applied to the dual-mode remote control system of a smart TV as described above, is characterized by comprising the following steps:
[0075] After receiving external remote control information, the S10 smart TV identifies the device type of the external remote control device;
[0076] Based on the identified device type, the smart TV sends a connection policy instruction to the Bluetooth protocol stack, triggering the Bluetooth protocol stack to adapt different connection parameters for different types of devices.
[0077] For example, parsing the characteristic identifier in the Bluetooth device name (such as containing the target device Bluename string);
[0078] The S30 listens to the Bluetooth broadcast channel and filters the scanned devices based on pre-stored device feature identifiers; if the device feature filter is successfully matched, it automatically initiates an encrypted binding process with the device.
[0079] For example, the filtering based on pre-stored device feature identifiers includes at least one of the following methods:
[0080] Match the specific service UUID in the broadcast packet; in this embodiment, the range is 0xFF00-0xFFFE.
[0081] Matches the length and content of custom data segments defined by the broadcast packet manufacturer;
[0082] The Bluetooth device name is matched to the pre-stored name list. In this embodiment, the similarity matching threshold is 90%.
[0083] In this embodiment, two-stage filtering is performed:
[0084] The first level of filtering is service data verification. For example, service data associated with a preset service UUID (e.g., SERVICE_UUID_A) is extracted from the broadcast packet.
[0085] If the service data exists AND the length of the service data is equal to the preset value L (e.g., L = 3 bytes):
[0086] Read the byte value at a specific offset N (e.g., N=1) in the service data.
[0087] If the byte value is equal to the preset value V1 (e.g., 24) or equal to the preset value V2 (e.g., 28), then:
[0088] If the first level of filtering passes, a log is recorded, and the process proceeds to the second level of filtering.
[0089] If the value is below the preset value V2, the first-level filtering fails (no data or length mismatch), the log is logged, and the device is discarded.
[0090] If the first-level filtration is successful, proceed to the second-level filtration, which involves device name verification.
[0091] Get the broadcast name of the Bluetooth device.
[0092] If the device name is empty, the filtering will fail.
[0093] If not empty, obtain the device name and compare it with a pre-stored list of target device names.
[0094] If a device name exactly matches any name in the list, the second-level filter passes and the device is marked as the target device.
[0095] Otherwise, if the second-stage filtration fails, the device should be discarded.
[0096] In this embodiment, the automatic initiation of the encrypted binding process with the device specifically includes:
[0097] S301 initiates pairing by calling the system binding interface;
[0098] S302 intercepts the request just as the system is about to display the pairing confirmation screen;
[0099] If the current device identifier matches the pre-stored target, S303 will automatically retrieve the preset key from the secure storage area and complete the authentication, while terminating the pop-up process of the user interface.
[0100] In this embodiment, specifically, a judgment logic is inserted before the system constructs and sends the message intent for popping up the pairing dialog box.
[0101] If the name of the device to be paired contains specific keywords (e.g., "KR1 Max"), the pairing confirmation status will be automatically simulated and set to confirmed.
[0102] The process of constructing and sending pairing request intents is terminated.
[0103] The pairing process is completed automatically within the system without the user's awareness.
[0104] Otherwise, the system's default process is executed, a pairing request intent is constructed and sent, and the system interface component processes it and pops up a dialog box for user confirmation.
[0105] In a further preferred embodiment, after the encryption binding process is completed, the following steps are performed:
[0106] S40: After the external remote control device is bound, if it communicates with the TV via infrared, the infrared signal will be processed normally.
[0107] If it communicates with the TV via BLE, a connection optimization strategy is applied to the control commands it issues.
[0108] The connection optimization strategy specifically involves setting the Bluetooth connection interval to the theoretical minimum value using the remote control's bluename, based on the Android protocol stack source code.
[0109] The above optimization method can ensure that voice packet loss caused by insufficient bandwidth resources is eliminated when other Bluetooth peripherals are connected at the same time. The process is as follows:
[0110] Based on device_address, read the name of the device from persistent storage and store it in the variable device_name.
[0111] If the device name is successfully read, continue matching;
[0112] If device_name matches target_device_name exactly, skip the process of adjusting the connection interval for this device.
[0113] Call the function: Adjust the connection interval to min_interval (max_interval is the minimum allowed interval by the system);
[0114] This function will adjust the passed-in connection interval value to a smaller value to reduce latency and increase throughput.
[0115] Although the invention has been described herein with reference to illustrative embodiments, it should be understood that many other modifications and implementations can be devised by those skilled in the art, which will fall within the scope and spirit of the principles disclosed herein. More specifically, various variations and modifications can be made to the components and / or layout of the subject matter combination within the scope of this disclosure. Besides variations and modifications to the components and / or layout, other uses will be apparent to those skilled in the art.
Claims
1. A dual-mode remote control method for smart TVs, characterized in that, Includes the following steps: The television receives dual-mode control signals from an external remote control device and obtains heterogeneous key-value codes; By using predefined key code mapping rules, the heterogeneous key-value codes are uniformly converted into standard Android input events; Standard Android input events are transmitted to the application layer, where the application handles the event processing.
2. The dual-mode remote control method for smart TVs as described in claim 1, characterized in that, The heterogeneous key value code includes infrared signals and Bluetooth signals; The Bluetooth signal receiving step is as follows: the Bluetooth protocol stack receives the BLE HID report.
3. The dual-mode remote control method for smart TVs as described in claim 2, characterized in that, The process of uniformly converting heterogeneous key-value codes into standard Android input events using predefined key-code mapping rules specifically includes the following steps: In the Android input subsystem layer, load the key mapping table (KL) file; The first key value code obtained by parsing the infrared signal and the second key value code obtained by parsing the BLE HID report are mapped to the same Android key value enumeration value through the KL file. The standard input_event structure is generated and reported through the Linux kernel's input event interface.
4. A dual-mode remote control system for smart TVs, characterized in that, This includes smart TVs and dual-mode control devices; The smart TV receives the dual-mode control signal from the dual-mode control device and processes it using the dual-mode remote control method as described in claims 1-3. The dual-mode control device is used to send dual-mode control signals.
5. A dual-mode remote control system for smart TVs as described in claim 4, characterized in that, The smart TV includes a signal receiving and parsing module, a dual-mode keycode adaptation module, a device identification and management module, and a binding engine module. The signal receiving and parsing module is used to receive and parse infrared signals and BLE control commands; The dual-mode key code adaptation module is used to load the key code mapping table and uniformly convert heterogeneous key values into standard input events; The device identification and management module is used to identify the device type based on the device feature identifier, generate corresponding connection policy instructions, and send the connection policy instructions to the Bluetooth protocol stack. The binding engine module is used to scan and filter Bluetooth broadcast packets and automatically complete the secure binding process.
6. A matching method for a dual-mode remote control system, applied to the dual-mode remote control system of a smart TV as described in claim 4 or 5, characterized in that, Includes the following steps: After receiving external remote control information, the smart TV identifies the device type of the external remote control device; Based on the identified device type, the smart TV sends a connection policy instruction to the Bluetooth protocol stack, triggering the Bluetooth protocol stack to adapt different connection parameters for different types of devices. Listen to the Bluetooth broadcast channel and filter the scanned devices based on the pre-stored device feature identifiers; if the device feature filter is successful, automatically initiate the encrypted binding process with the device.
7. The matching method for a dual-mode remote control system as described in claim 6, characterized in that, The filtering based on pre-stored device feature identifiers includes at least one of the following methods: Match the specific service UUID in the broadcast packet; Matches the length and content of custom data segments defined by the broadcast packet manufacturer; Match the Bluetooth device name to the pre-stored name list.
8. The matching method for a dual-mode remote control system as described in claim 6, characterized in that, The automatic initiation of the encrypted binding process with the device specifically includes: Initiate pairing by calling the system binding interface; Intercept the pairing confirmation request just as the system is about to display the pairing confirmation interface; If the current device identifier matches the pre-stored target, the preset key is automatically retrieved from the secure storage area and authentication is completed, while the pop-up process of the user interface is terminated.
9. The matching method for a dual-mode remote control system as described in claim 6, characterized in that, After completing the encryption binding process, perform the following steps: Once the external remote control device is bound, if it communicates with the television via infrared, the infrared signal will be processed normally. If it communicates with the TV via BLE, a connection optimization strategy is applied to the control commands it issues.
10. The matching method for a dual-mode remote control system as described in claim 9, characterized in that, The connection optimization strategy specifically involves setting the Bluetooth connection interval to the theoretical minimum value using the bluename of the remote control, based on the Android protocol stack source code.