A multi-control remote controller running logic optimization method and device, a terminal and a medium
Patent Information
- Application Number
- CN202511678543.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-17
- Publication Date
- 2026-10-20
- Estimated Expiration
- 2045-11-17
AI Technical Summary
[0005]本发明提供一种多控遥控器运行逻辑优化方法、装置、终端及介质,旨在解决现有技术中在多控遥控器的控制对象切换时,用户按下按键还未松开的情况下,容易导致前一个控制对象将此按键识别为长按按键,错误的触发按键的长按功能的问题
[0016]有益效果:与现有技术相比,本发明提供了一种多控遥控器运行逻辑优化方法、装置及终端。本发明提供的多控遥控器运行逻辑优化方法中,通过接收目标信号,所述目标信号为将控制对象切换为第一目标设备的信号,及时的获取第二目标设备的信息,所述第二目标设备为接收所述目标信号前的控制对象,然后,判断所述第二目标设备与所述第一目标设备是否为同一设备,若不为同一设备,则查验当前是否存在第一目标按键,所述第一目标按键为已被按下且未松开的按键,若存在所述第一目标按键,则将控制对象切换对所述第一目标设备并等待所述第一目标按键被松开,最后,当识别到所述第一目标按键被松开,将所述第一目标按键的松开信号发送至所述第二目标设备。本发明为用户提供了一种多控遥控器运行逻辑优化方法,遥控器通过回溯上次的控制对象,在切换控制对象时,首先判断是否包括未抬起按键,以确保是对上次的控制对象进行释放按键操作。这样,解决了现有技术中在多控遥控器的控制对象切换时,用户按下按键还未松开的情况下,容易导致前一个控制对象将此按键识别为长按按键,错误的触发按键的长按功能的问题。有效避免了出现长按误操作的问题,提升了观众的智能观看体验及遥控器操控体验。
Smart Images

Figure CN121640693B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of remote controls, and in particular to a method, apparatus, terminal, and medium for optimizing the operating logic of a multi-control remote control. Background Technology
[0002] In today's market environment, to effectively address the cumbersome operation of multiple remote controls when using TVs and set-top boxes, technical personnel are dedicated to developing more convenient control solutions. One common approach is to integrate the remote control functions of the set-top box and TV into a single device, also known as a multi-control remote. This type of remote offers two or more connection methods: it can connect to the TV via Bluetooth technology or connect to the set-top box via a StarSignal adapter using StarSignal technology. During operation, the TV sends commands to the multi-control remote to switch between controlled devices, allowing users to control the TV, set-top box, or other connected devices with a single remote.
[0003] However, in real-world user scenarios, some issues can arise that impact the user experience. Specifically, when a user presses a button on the multi-control remote, if the TV happens to send a command to switch controlled objects at that moment, there's a chance that the key value generated by releasing the button won't be successfully transmitted to the previously controlled object. If this happens, the previously controlled object might mistakenly interpret it as a long press, thus triggering its corresponding function and causing unnecessary inconvenience for the user.
[0004] Therefore, existing technologies still need to be improved and enhanced. Summary of the Invention
[0005] This invention provides a method, device, terminal, and medium for optimizing the operating logic of a multi-control remote control. It aims to solve the problem in the prior art where, when switching between controlled objects in a multi-control remote control, if the user presses a button and has not yet released it, the previous controlled object may easily identify the button as a long press button and incorrectly trigger the long press function of the button.
[0006] A first aspect of the present invention provides a method for optimizing the operating logic of a multi-control remote controller, comprising: Receive a target signal, wherein the target signal is a signal that switches the control object to the first target device; Acquire a second target device, which is the control object before receiving the target signal; Determine whether the second target device and the first target device are the same device. If they are not the same device, check whether there is a first target button. The first target button is a button that has been pressed and has not been released. If the first target button exists, the control object is switched to the first target device and the process waits for the first target button to be released. When it is detected that the first target button has been released, the release signal of the first target button is sent to the second target device.
[0007] In one implementation, before receiving the target signal, the method further includes: Acquire the star flash adapter signal, and connect to a first device based on the star flash adapter signal, wherein the first device may be one or more; Acquire a Bluetooth signal and connect to a second device based on the Bluetooth signal, wherein the second device may be one or more.
[0008] In one implementation, before receiving the target signal, the method further includes: Construct a first target variable and a second target variable. The first target variable is used to store the received control object switching instruction, and the second target variable is used to store the control object switching instruction received when the last control object switching was successful.
[0009] In one implementation, determining whether the second target device and the first target device are the same device includes: The first target variable is compared with the second target variable. If the first target variable is the same as the second target variable, then the second target device and the first target device are determined to be the same device. If the first target variable and the second target variable are inconsistent, then it is determined that the second target device and the first target device are not the same device.
[0010] In one implementation, after determining whether the second target device and the first target device are the same device, the method further includes: If the second target device is the same as the first target device, no operation is performed.
[0011] In one implementation, after checking whether the first target button exists, the method further includes: If the first target button does not exist but the second target button does exist, the release signal of the second target button is first sent to the second target device, and then the control object is switched to the first target device. The second target button is the button that has been released but has not sent a release signal. Write the value of the first target variable into the second target variable.
[0012] In one implementation, after sending the release signal of the first target button to the second target device, the method further includes: Write the value of the first target variable into the second target variable.
[0013] A second aspect of the present invention provides a multi-control remote control operation logic optimization device, comprising: A signal receiving module is used to receive a target signal, wherein the target signal is a signal that switches the controlled object to the first target device; The device identification module is used to acquire a second target device, which is the control object before receiving the target signal; The judgment module is used to determine whether the second target device and the first target device are the same device. If they are not the same device, it checks whether there is a first target button. The first target button is a button that has been pressed and has not been released. The switching module is used to switch the control object to the first target device when the first target button is present and wait for the first target button to be released; The button recognition module is used to send a release signal of the first target button to the second target device when it is detected that the first target button has been released.
[0014] In a third aspect, embodiments of the present invention also provide a terminal device, wherein the terminal device includes a memory, a processor, and a multi-control remote control operation logic optimization program stored in the memory and executable on the processor. When the processor executes the multi-control remote control operation logic optimization program, it implements the steps of the multi-control remote control operation logic optimization method described in the above scheme.
[0015] In a fourth aspect, the present invention provides a storage medium storing one or more programs that can be executed by one or more processors to implement the steps of the multi-control remote control operation logic optimization method described in any of the preceding claims.
[0016] Beneficial Effects: Compared with existing technologies, this invention provides a method, device, and terminal for optimizing the operating logic of a multi-control remote control. In the method provided by this invention, a target signal is received, which is a signal to switch the control object to a first target device. Information about a second target device is obtained in a timely manner. The second target device is the control object before receiving the target signal. Then, it is determined whether the second target device and the first target device are the same device. If they are not the same device, it is checked whether a first target button exists. The first target button is a button that has been pressed and not released. If the first target button exists, the control object is switched to the first target device, and the system waits for the first target button to be released. Finally, when the release of the first target button is detected, a release signal for the first target button is sent to the second target device. This invention provides a method for optimizing the operating logic of a multi-control remote control. By tracing back to the last control object, when switching control objects, the remote control first determines whether it includes a button that has not been released, to ensure that the button release operation is performed on the last control object. This solves the problem in existing technologies where, when switching between controlled objects on a multi-control remote, if the user presses and holds a button, the previous controlled object may mistakenly recognize the button as a long press and incorrectly trigger its long-press function. This effectively avoids accidental long-press operations, improving both the viewer's smart viewing experience and the remote control operation experience. Attached Figure Description
[0017] Figure 1 A flowchart illustrating an embodiment of the multi-control remote control operation logic optimization method provided by the present invention; Figure 2 A system flowchart in an embodiment of the multi-control remote control operation logic optimization method provided by the present invention; Figure 3 A schematic diagram of the structural principle of an embodiment of the multi-control remote control operation logic optimization device provided by the present invention; Figure 4 A schematic diagram of the operating environment of an embodiment of the terminal provided by the present invention. Detailed Implementation
[0018] To make the objectives, technical solutions, and effects of this invention clearer and more explicit, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0019] Those skilled in the art will understand that, unless specifically stated otherwise, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the term “comprising” as used in this specification means the presence of the stated features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. It should be understood that when we say an element is “connected” or “coupled” to another element, it can be directly connected or coupled to the other element, or there may be intermediate elements. Furthermore, “connected” or “coupled” as used herein can include wireless connections or wireless coupling. The term “and / or” as used herein includes all or any units and all combinations of one or more associated listed items.
[0020] It will be understood by those skilled in the art that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. It should also be understood that terms such as those defined in general dictionaries should be understood to have the same meaning as in the context of the prior art, and should not be interpreted in an idealized or overly formal sense unless specifically defined as herein.
[0021] Example 1 The multi-control remote control operation logic optimization method provided in this embodiment can be executed by a terminal. The terminal can be, but is not limited to, a smart remote control, a multi-control remote control, etc. The following description uses a dual-control remote control as an example.
[0022] In the current market environment, to effectively address the cumbersome operation of multiple remote controls when using televisions and set-top boxes or other connected devices, a solution has been adopted that integrates the remote control functions of the set-top box and television into a single device, known as a multi-control remote control. Taking a dual-control remote control as an example, it has two connection methods: one is to establish a connection with the television via Bluetooth technology, and the other is to connect with a StarFlash adapter plugged into the set-top box using StarFlash technology.
[0023] In actual operation, the TV sends commands to the dual-control remote to switch the controlled object, thus achieving the goal of using one remote to control both the TV and the set-top box. However, in real-world user scenarios, some issues affecting user experience have arisen. Specifically, when a user presses a button on the dual-control remote, if the TV happens to send a command to switch the controlled object at that moment, there is a certain probability that the following situation will occur: Since there is approximately a 500ms time interval between the TV sending the command and the remote receiving it, if the user presses the button and waits a long time (greater than 500ms) before releasing it, the key value generated by releasing the button will not be successfully transmitted to the previously controlled object. This is because the controlled object has already switched, so the previously controlled object will incorrectly identify it as a long press, thus mistakenly triggering its corresponding function.
[0024] In this embodiment, to solve the above problems, the devices involved include a multi-control remote control and a Star Flash adapter, mainly used in scenarios where set-top boxes and televisions, or even more television-connected devices, coexist. In this application scenario, the multi-control remote control connects to the television via Bluetooth, and can also connect to the Star Flash adapter via Star Flash. The Star Flash adapter connects to the set-top box via a USB interface, ultimately enabling a single remote control to control the set-top box, television, or even more television-connected devices.
[0025] Specifically, such as Figure 1 As shown, the multi-control remote control operation logic optimization method provided in this embodiment includes the following steps: S100. Receive target signal, wherein the target signal is a signal to switch the control object to the first target device.
[0026] In this embodiment, the execution subject of the multi-control remote control operation logic optimization method is the multi-control remote control. The multi-control remote control can be a dual-control remote control, a triple-control remote control, or a remote control that can control more device subjects. The multi-control remote control can be the remote control that comes with the TV itself, and it is connected to the TV via Bluetooth, infrared, or Wi-Fi.
[0027] The target signal is a signal sent by the television to the multi-control remote control to switch the controlled object to the first target device.
[0028] Before receiving the target signal, the method further includes: Acquire the star flash adapter signal, and connect to a first device based on the star flash adapter signal, wherein the first device may be one or more; Acquire a Bluetooth signal and connect to a second device based on the Bluetooth signal, wherein the second device may be one or more.
[0029] Specifically, before receiving the target signal, a series of preparatory steps are required to ensure a stable connection between the remote control devices. First, signals emitted by the StarSignal adapter need to be acquired, and connections to one or more first devices are established based on these signals. This step involves identifying all available peripheral devices that support StarSignal technology (such as set-top boxes), and then establishing communication links between them and the remote control through a pairing process. Next, the system scans for Bluetooth signal sources in the surrounding environment and attempts to establish a wireless connection. Similarly, multiple potential second devices (such as televisions, projectors, or other smart home appliances) can be detected at this stage, and the user can select the desired connection object to complete the initial setup. The entire process aims to lay a solid foundation for efficient and accurate data transmission, while also providing flexibility for users to customize combinations of different types and quantities of peripheral accessories to enrich the user experience according to their actual needs. In this embodiment, the second device is a television, and the multi-control remote control can be the television remote control that comes pre-installed with the television. That is, the multi-control remote control is connected to the television by default at the factory.
[0030] For example, in a smart home scenario, the multi-control remote is a dual-control remote. When a user uses the dual-control remote to control their TV and set-top box, they can insert a StarSignal adapter into the set-top box, ensuring the set-top box can connect to its corresponding device via the StarSignal adapter. Then, the dual-control remote is powered on, allowing it to automatically search for nearby StarSignal adapter signals. Once the correct adapter is found, an encrypted channel is established between them for transmitting button information. Simultaneously, the dual-control remote activates its Bluetooth module to search for a matching target TV. When a suitable Bluetooth device name appears in the list, selecting the corresponding item and performing a simple confirmation action completes the pairing. Finally, the dual-control remote can manage two different types of electronic products simultaneously—thus, it can quickly respond to user input commands and ensure that no important feedback information is lost even when switching controlled objects.
[0031] Specifically, when the television receives a signal from the user via the multi-control remote, voice control, or gesture language to switch the remote control's control object to the first target device, it generates the target signal and sends it to the multi-control remote. Upon receiving the target signal, the multi-control remote switches the control object to the first target device through a series of steps. Existing multi-control remotes typically switch the control object immediately upon receiving the signal, ignoring whether the user is currently using the remote and whether any buttons are pressed and held down. This can lead to the previously controlled object being mistakenly identified as a long press, triggering the corresponding function incorrectly.
[0032] For example, in one scenario, a user is using an existing dual-control remote to control both the TV and the set-top box. When the user selects the set-top box's HDMI channel using the source button on the remote and presses the OK button to enter that channel, the TV generates a source switching signal to send a control object switching command to the remote. However, if the user presses the OK button for slightly longer than necessary—for example, longer than the interval between the TV sending the control object switching command to the remote and the remote receiving the command (e.g., more than 500ms)—the TV will have already switched to the set-top box screen after the user releases the OK button. However, because the control object on the remote has already switched, the OK button release value generated by the remote hasn't been sent to the TV. This causes the TV to recognize it as a long press of the OK button and, based on the long press logic, pops up a pop-up window and automatically confirms the action. Clearly, this causes inconvenience for the user. The sudden pop-up and accidental function triggers force the user to handle the triggered function or close the corresponding pop-up, resulting in a poor TV user experience.
[0033] Therefore, in this embodiment, by setting variables, the problem is solved that when the user presses a button and has not yet released it during the switching of the controlled object of the multi-control remote control, the previous controlled object may identify the button as a long press button and erroneously trigger the long press function of the button.
[0034] Specifically, before receiving the target signal, the procedure further includes: Construct a first target variable and a second target variable. The first target variable is used to store the received control object switching instruction, and the second target variable is used to store the control object switching instruction received when the last control object switching was successful.
[0035] In this embodiment, a dual-control remote control is used as an example for explanation. In the operating mechanism of the dual-control remote control, in order to achieve precise switching between different controlled objects and ensure the accuracy and consistency of command execution, specific variables need to be set to assist in completing the relevant operations.
[0036] In this embodiment, two important variables are set: a first target variable and a second target variable. The first target variable is "target_device," which primarily stores received control object switching commands. The second target variable is "target_device_last," which stores the last received command, specifically the control object switching command received when the last control object switch was successful. Initially, both the first and second target variables are set to 0, serving as the starting point for subsequent judgments and operations.
[0037] In everyday use, the TV will send control object switching commands to the dual-control remote control according to actual needs. For example, when the user wants to switch the remote control's operation from the set-top box to the TV, the TV will send a specific command code such as "X1" to the dual-control remote control to explicitly indicate that the control object should be changed to the TV; while if the user wants to shift the control focus to the set-top box, the TV will send a command code like "X2" to the dual-control remote control, representing switching the control object to the set-top box.
[0038] S200. Obtain the second target device, which is the control object before receiving the target signal.
[0039] In this embodiment, the second target device represents the device that the user is controlling with the remote control before wanting to switch to the first target device. The second target can be one of the first devices mentioned above, or one of the second devices mentioned above. Similarly, the first target device can also be one of the first devices mentioned above, or one of the second devices mentioned above.
[0040] S300. Determine whether the second target device and the first target device are the same device. If they are not the same device, check whether there is a first target button. The first target button is a button that has been pressed and has not been released.
[0041] Specifically, in this embodiment, the main purpose is to solve the problem in the prior art that when switching between controlled objects in a multi-control remote control, if the user presses a button and has not yet released it, the previous controlled object may easily identify the button as a long press button and incorrectly trigger the long press function of the button.
[0042] Therefore, upon receiving a signal to switch the control object to the first target device, and determining that the second target device and the first target device are not the same device, i.e., when the control object switching action is required, this embodiment adds the step of checking whether there is a button that has been pressed and not released by the user on the local device, i.e., the dual-control remote control, in order to perform the step of protecting the action and ensure that the long-press function of the button is not triggered erroneously.
[0043] Specifically, determining whether the target device and the first device are the same device includes: The first target variable is compared with the second target variable. If the first target variable is the same as the second target variable, then the second target device and the first target device are determined to be the same device. If the first target variable and the second target variable are inconsistent, then it is determined that the second target device and the first target device are not the same device.
[0044] After determining whether the target device is consistent with the first device, the method further includes: If the second target device is the same as the first target device, no operation is performed.
[0045] Specifically, whenever the dual-control remote control receives an instruction from the television to switch the control object of the local remote control to the first target device, it quickly and accurately assigns the received specific instruction value to the first target variable "target_device", and then carefully compares it with the previously received instruction value stored in the second target variable "target_device_last".
[0046] If, after rigorous comparison, it is found that "target_device" is not equal to "target_device_last", this means that the received command has changed compared to the previous one. In this case, the dual-control remote control will strictly adhere to the current value of "target_device" to make further judgments and execute the corresponding actions. Specifically, if the value of "target_device" is "X1", it clearly indicates that the controlled object should be switched to the TV; if the value of "target_device" is "X2", it indicates that the controlled object should be switched to the set-top box. In this situation, the dual-control remote control will assign the current value of "target_device" to "target_device_last". This assignment operation updates the current command status in a timely manner, allowing subsequent operations to continue based on the latest accurate information.
[0047] If, after rigorous and detailed comparison, it is found that "target_device" equals "target_device_last", it means that the instruction received this time is no different from the last one. Based on this judgment, the dual-control remote control does not need to perform any additional operations. It only needs to maintain the original state and continue to wait for the next possible different instruction or other operation input from the user. This ensures that the entire control system can operate stably and reliably, providing users with a smooth and accurate control experience.
[0048] Furthermore, before assigning the current value of "target_device" to "target_device_last", it is necessary to carefully check whether there is a first target button. The first target button is a button that has been pressed and not released. In other words, it is necessary to self-check whether there is a situation where the button has not been released.
[0049] S400: If the first target button exists, switch the control object to the first target device and wait for the first target button to be released.
[0050] S500: When it is detected that the first target button has been released, the release signal of the first target button is sent to the second target device.
[0051] After sending the release signal of the first target button to the second target device, the method further includes: Write the value of the first target variable into the second target variable.
[0052] Furthermore, after verifying whether the first target button exists, the process also includes: If the first target button does not exist but the second target button does exist, the release signal of the second target button is first sent to the second target device, and then the control object is switched to the first target device. The second target button is the button that has been released but has not sent a release signal. Write the value of the first target variable into the second target variable.
[0053] Specifically, refer to Figure 2 If the system detects that the first target button has been pressed, it will switch the current control object to the first target device and enter a waiting state until the user releases the first target button. This process ensures the continuity and accuracy of the operation and avoids unexpected behavior caused by accidental touches or other reasons.
[0054] Subsequently, when it is detected that the first target button has been released, the "release" signal of the first target button is automatically sent to the preceding control device, namely the second target device. The key here is how to define and process these signals: for each possible operation (such as pressing or releasing), there will be a corresponding code or instruction to represent its state change; and this change information will be encoded into a specific data packet form and transmitted to the designated receiver—that is, the second target device—through a network connection or other form of communication link.
[0055] Furthermore, if the first target button is not pressed and not released, but another situation is detected—the second target button is released but a release signal was not sent in time—then, in this case, the "release" information of the second target button is first transmitted to the second target device, and then the overall control focus is transferred to the first target device according to the established rules. Similarly, the same principle needs to be followed in this process to update the numerical relationship between the two related variables, that is, the latest content of the first target variable is copied to the second target variable and saved. In this way, various complex and ever-changing operating environments can be effectively handled, thereby providing users with a more stable, reliable, and easy-to-use service experience.
[0056] For example, when `target_device=X1`, it means that the TV sends a signal to the dual-control remote to switch the control object to the TV. In other words, the first target device is the TV, and the second target device is the set-top box. The user is using the directional keys on the remote to browse the TV program menu on the set-top box, and their finger is still pressed on the directional key – this is a case of not releasing the button. In this situation, to ensure the rigor of the entire operation logic and avoid false triggers due to misjudgment, the control object switching action will be completed first. That is, the control object will be switched to the first target device – the TV. After the user naturally releases the button, the accurate key value corresponding to the button release will be sent to the set-top box according to predetermined rules based on the Star Flash adapter.
[0057] Conversely, if there are no unreleased buttons, meaning all buttons are in the normal released state, but the second target button is in a state where it has been released but the corresponding release signal was not sent in time, then the corresponding operation sequence will be followed first to send the button release key value to the Star Flash adapter, and then the control object will be officially switched to the first target device, thereby ensuring the orderliness and accuracy of the entire switching and subsequent operation process.
[0058] Similarly, if the value of "target_device" equals "X2", it means that the control object needs to be switched to the set-top box. Following the same operational logic, first assign the value of "target_device" to "target_device_last". Then check again for any unreleased buttons. If a button is unreleased, switch the control object to the set-top box methodically, and send the button release key value to the TV after the button is released; if no button is unreleased, send the button release key value to the TV first, and then complete the crucial step of switching the control object to the set-top box.
[0059] Furthermore, in this embodiment, the multi-controller remote control operation logic optimization method further includes: Confirmation Mechanism: To ensure accurate information transmission, this embodiment initiates a simple confirmation process after sending the release signal. For example, it requires the second target device to reply with a message indicating that it has successfully received and understood the transmitted content. This improves system reliability and provides a basis for troubleshooting later.
[0060] Anomaly Handling Mechanism: Considering the possibility of network latency, packet loss, and other issues, this embodiment also incorporates an error recovery strategy. This includes measures such as setting retry limits and automatic disconnection upon timeout to prevent prolonged blocking or other adverse consequences due to a single failure.
[0061] The logging mechanism records every key press event and its result, generating a target log. This target log can be accessed via the key press service log button, allowing users to view the remote control's key usage. This not only helps developers analyze and optimize program performance but also provides users with a more transparent service experience. Especially when encountering controversial issues, a complete audit trail can often serve as key evidence for resolving the problem.
[0062] Based on the multi-control remote control operation logic optimization method described in this embodiment, in one application example, after a user uses the dual-control remote control to access the set-top box's HDMI channel from the TV channel, they immediately press the volume up button to adjust the TV's volume. During this period, the TV sends a switching command to the dual-control remote control; however, the user's finger remains pressed on the volume button. According to the traditional design, due to a time difference—a delay of approximately 500ms between receiving the switching command and the actual state transition—the signal corresponding to the "release" action is not promptly transmitted to the TV when the user finally releases the button. Therefore, in this situation, the TV may incorrectly interpret the previous continuous pressing as a prolonged pressing operation, thus continuously increasing or decreasing the volume, causing user experience problems.
[0063] The situation is significantly improved by adopting the optimization strategy proposed in this embodiment. According to the multi-control remote control operation logic optimization method described in this embodiment, after detecting a channel switch, even if the user continues to press on a function key (such as a volume key), the system can intelligently distinguish and process these two different event sequences: even if the TV screen has switched from the TV channel to the set-top box channel, after the current button is released, the system will first ensure that the "release" (i.e., unrelease) information is accurately transmitted to the previously responding device (the TV); only then will the transfer of control from one device to another be formally executed. This effectively avoids misjudgments caused by improper signal transmission order, ensuring a smooth, natural, and responsive experience regardless of the device used. In other words, this method ensures that even with frequent and rapid switching between different sources, functional abnormalities caused by brief overlapping interactions will not occur.
[0064] In summary, this embodiment provides a method for optimizing the operating logic of a multi-control remote control. It receives a target signal (a signal to switch the control object to a first target device), promptly acquires information about a second target device (the control object before receiving the target signal), and then determines whether the second target device and the first target device are the same device. If they are not the same device, it checks whether a first target button exists (a button that has been pressed and not released). If the first target button exists, it switches the control object to the first target device and waits for the first target button to be released. Finally, when the release of the first target button is detected, a release signal for the first target button is sent to the second target device. This embodiment provides a method for optimizing the operating logic of a multi-control remote control. By tracing back to the last control object, when switching control objects, the remote control first determines whether a button that has not been released is included to ensure that the button release operation is performed on the last control object. This solves the problem in the prior art where, when switching control objects in a multi-control remote control, if the user presses a button and it is not released, the previous control object may identify the button as a long press, incorrectly triggering the long press function. This effectively avoids the problem of accidental operation due to long presses, and improves the smart viewing experience and remote control operation experience for viewers.
[0065] It should be understood that although the steps in the flowcharts shown in the accompanying drawings are displayed sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of the steps in this invention, and these steps can be executed in other orders. Moreover, at least a portion of the steps in this invention may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least a portion of the sub-steps or stages of other steps.
[0066] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program using signal-related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided by this invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), Synchlink, DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0067] Example 2 Based on the above embodiments, the present invention also provides a multi-control remote control operation logic optimization device, the functional module diagram of which is shown below. Figure 3 As shown, the multi-control remote control operation logic optimization device includes: A signal receiving module is used to receive a target signal, which is a signal that switches the controlled object to the first target device, as described in Embodiment 1. The device identification module is used to acquire a second target device, which is the control object before receiving the target signal, as specifically described in Embodiment 1. The judgment module is used to determine whether the second target device and the first target device are the same device. If they are not the same device, it checks whether there is a first target button. The first target button is a button that has been pressed and has not been released, as described in Embodiment 1. The switching module is used to switch the control object to the first target device when the first target button is present and wait for the first target button to be released, as specifically described in Embodiment 1; The button recognition module is used to send the release signal of the first target button to the second target device when it is recognized that the first target button has been released, as described in Embodiment 1.
[0068] Example 3 like Figure 4 As shown, based on the above-mentioned multi-control remote control operation logic optimization method, the present invention also provides a terminal, which includes a processor 10, a memory 20 and a display 30. Figure 4 Only some of the terminal components are shown; however, it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0069] In some embodiments, the memory 20 may be an internal storage unit of the terminal, such as a hard disk or memory. In other embodiments, the memory 20 may be an external storage device of the terminal, such as a plug-in hard disk, smart media card (SMC), secure digital card (SD), flash card, etc. Further, the memory 20 may include both internal and external storage devices. The memory 20 is used to store application software and various types of data installed on the terminal, such as the program code installed on the terminal. The memory 20 can also be used to temporarily store data that has been output or will be output. In one embodiment, the memory 20 stores a multi-controller remote control operation logic optimization program 40, which can be executed by the processor 10 to implement the multi-controller remote control operation logic optimization method of this application.
[0070] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor, or other data processing chip, used to run program code stored in the memory 20 or process data, such as executing the multi-control remote control operation logic optimization method.
[0071] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. The display 30 is used to display information on the terminal and to display a visual user interface. The components 10-30 of the terminal communicate with each other via a system bus.
[0072] In one embodiment, when the processor 10 executes the multi-controller remote control operation logic optimization program 40 in the memory 20, the following steps are performed: Receive a target signal, wherein the target signal is a signal that switches the control object to the first target device; Acquire a second target device, which is the control object before receiving the target signal; Determine whether the second target device and the first target device are the same device. If they are not the same device, check whether there is a first target button. The first target button is a button that has been pressed and has not been released. If the first target button exists, the control object is switched to the first target device and the process waits for the first target button to be released. When it is detected that the first target button has been released, the release signal of the first target button is sent to the second target device.
[0073] Example 4 The present invention also provides a storage medium storing one or more programs that can be executed by one or more processors to implement the steps of the multi-control remote control operation logic optimization method described in the above embodiments.
[0074] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for optimizing the operating logic of a multi-control remote controller, characterized in that, include: Receive a target signal, wherein the target signal is a signal that switches the control object to the first target device; Acquire a second target device, which is the control object before receiving the target signal; Determine whether the second target device and the first target device are the same device. If they are not the same device, check whether there is a first target button. The first target button is a button that has been pressed and has not been released. If the first target button exists, the control object is switched to the first target device and the system waits for the first target button to be released. When it is detected that the first target button has been released, the release signal of the first target button is sent to the second target device.
2. The multi-control remote control operation logic optimization method according to claim 1, characterized in that, Before receiving the target signal, the method further includes: Acquire the star flash adapter signal, and connect to a first device based on the star flash adapter signal, wherein the first device may be one or more; Acquire a Bluetooth signal and connect to a second device based on the Bluetooth signal, wherein the second device may be one or more.
3. The multi-control remote control operation logic optimization method according to claim 1, characterized in that, Before receiving the target signal, the method further includes: Construct a first target variable and a second target variable. The first target variable is used to store the received control object switching instruction, and the second target variable is used to store the control object switching instruction received when the last control object switching was successful.
4. The multi-control remote control operation logic optimization method according to claim 3, characterized in that, The step of determining whether the second target device and the first target device are the same device includes: The first target variable is compared with the second target variable. If the first target variable is the same as the second target variable, then the second target device and the first target device are determined to be the same device. If the first target variable and the second target variable are inconsistent, then it is determined that the second target device and the first target device are not the same device.
5. The multi-control remote control operation logic optimization method according to claim 4, characterized in that, After determining whether the second target device and the first target device are the same device, the method further includes: If the second target device is the same as the first target device, no operation is performed.
6. The multi-control remote control operation logic optimization method according to claim 3, characterized in that, After checking whether the first target button exists, the process also includes: If the first target button does not exist but the second target button does exist, the release signal of the second target button is first sent to the second target device, and then the control object is switched to the first target device. The second target button is the button that has been released but has not sent a release signal. Write the value of the first target variable into the second target variable.
7. The method for optimizing the operating logic of a multi-control remote controller according to claim 3, characterized in that, After sending the release signal of the first target button to the second target device, the method further includes: Write the value of the first target variable into the second target variable.
8. A multi-control remote control operation logic optimization device, characterized in that, The device includes: A signal receiving module is used to receive a target signal, wherein the target signal is a signal that switches the controlled object to the first target device; The device identification module is used to acquire a second target device, which is the control object before receiving the target signal; The judgment module is used to determine whether the second target device and the first target device are the same device. If they are not the same device, it checks whether there is a first target button. The first target button is a button that has been pressed and has not been released. The switching module is used to switch the control object to the first target device when the first target button is present and wait for the first target button to be released; The button recognition module is used to send a release signal of the first target button to the second target device when it is detected that the first target button has been released.
9. A terminal, characterized in that, The terminal includes: a memory, a processor, and a multi-controller remote control operation logic optimization program stored in the memory and executable on the processor. When the multi-controller remote control operation logic optimization program is executed by the processor, it implements the steps of the multi-controller remote control operation logic optimization method as described in any one of claims 1-7.
10. A storage medium, characterized in that, The storage medium stores one or more programs, which can be executed by one or more processors to implement the steps of the multi-control remote control operation logic optimization method as described in any one of claims 1-7.
Citation Information
Patent Citations
Remote control interaction mode switching control method, remote control equipment and storage medium
CN119031168A
Control method, device and equipment of remote controller and computer storage medium
CN120676187A