Home multimedia gateway information source switching method and device and storage medium

By calculating dynamic weight values and hierarchical response strategies, the inconvenience of multimedia devices to manually switch signal sources is solved, intelligent signal switching is realized, and user experience is improved.

CN120455770APending Publication Date: 2025-08-08SHANGHAI JINLING SMT ASSEMBLY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510793934.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-13
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

When a multimedia device is connected to the TV HDMI interface, it is necessary to manually switch the signal source, which is inconvenient to operate and is prone to incorrect operation.

Method used

The default display device is determined by calculating the dynamic weight value, and a hierarchical response strategy is adopted, including monitoring signal changes, infrared remote control and 2.4G wireless signal recognition, to achieve intelligent switching.

Benefits of technology

It realizes intelligent display management with zero user intervention, reduces operation steps, and improves the user experience of collaborative use of multiple devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120455770A_ABST
    Figure CN120455770A_ABST
Patent Text Reader

Abstract

The invention relates to a home multimedia gateway information source switching method, which comprises the following steps of: S101, after equipment is electrified, acquiring a dynamic weight value of each multimedia output end, and calculating the dynamic weight value through a formula W = a.F + b.E; wherein F is an equipment use frequency coefficient, the default value is 1.00, and the value range is 0.50-1.50; e is a manual compensation coefficient, the default value is 1.00, and the value range is 1.00-5.00; a and b are regulatory factors; s102, polling the signal state of each multimedia output end from high to low according to the dynamic weight value: if detecting that the output end with the highest weight has a signal, switching to the equipment; if not, continuing to poll the output end with the second highest weight until all the output ends are detected; and S103, after weight polling is completed, executing a hierarchical response strategy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of multimedia device control, and in particular to a method, device and storage medium for switching information sources of a home multimedia gateway. Background Art

[0002] Traditional TV set-top boxes (STBs), such as IPTV set-top boxes, digital TV set-top boxes, and Internet TV set-top boxes, typically output multimedia signals (such as HDMI) to a TV screen. However, some non-TV devices, such as laptops, tablets, or other dedicated devices (such as the home gateway in the present invention), also require HDMI output to a TV screen. These devices run specific applications and need to output software interfaces to the TV screen via HDMI, but do not inherently have the ability to receive or play broadcast television programs.

[0003] When multiple devices are connected to the HDMI audio and video input of a TV, there is a problem of manually switching the TV signal input source between different devices, which is very inconvenient. Summary of the Invention

[0004] To solve the above problem, the present invention provides a method for switching information sources for a home multimedia gateway, comprising the following steps: S101: After the device is powered on, a dynamic weight value of each multimedia output terminal is obtained, and the dynamic weight value is calculated using the formula W = a·F + b·E; wherein:

[0005] F is the equipment usage frequency coefficient, with a default value of 1.00 and a range of 0.50 to 1.50;

[0006] E is the manual compensation coefficient, with a default value of 1.00 and a range of 1.00 to 5.00;

[0007] a and b are adjustment factors, with default values of a=0.6 and b=0.3;

[0008] S102 polls the signal status of each multimedia output terminal from high to low according to the dynamic weight value:

[0009] If a signal is detected at the output with the highest weight, the device is switched to;

[0010] If not, continue polling the output port with the next highest weight until all output ports are tested;

[0011] S103 When the weight polling is completed, the hierarchical response strategy is executed:

[0012] Monitor the signal changes of the first preset device port and preemptively switch if a new signal is detected;

[0013] Receive infrared remote control signals. If a valid infrared protocol is identified and the corresponding device has output, it will switch to the infrared control device.

[0014] Receive 2.4G wireless signals. If the signature code is recognized and the gateway has output, it will switch to the gateway device.

[0015] Optionally, the device usage frequency coefficient F is dynamically updated in the following manner:

[0016] Calculated every 24 hours: F_new = y·F_old + (1-y)·U_current, where y = 0.9 is the forgetting factor and U_current is the percentage of time the device is used per day.

[0017] After updating, perform normalization and save the data.

[0018] Optionally, the manual compensation coefficient E is dynamically updated in the following manner:

[0019] When the user manually switches the output and continues to use it for more than 30 seconds, E_new = E_old + 1 is triggered;

[0020] Perform decay calibration every 24 hours: E_new = y·E_old, where y = 0.9, and save the data.

[0021] Optionally, in the hierarchical response strategy:

[0022] The signal change is a level jump of a multimedia output signal, a protocol renegotiation, or a change in a physical connection state;

[0023] The infrared protocol includes but is not limited to RC5 and NEC protocols, and is used to distinguish different infrared control devices.

[0024] On the other hand, the present application also provides a home multimedia gateway source switching device, comprising:

[0025] Main control processor, integrated multimedia signal output module;

[0026] A multimedia switching module connected to the main control processor via a UART or I2C bus;

[0027] Multi-channel multimedia input interface, connecting external equipment groups, including:

[0028] Class 1 port: used to access temporary devices;

[0029] Type II port: used to access set-top box devices;

[0030] The third type of port: used to access the multimedia output of the gateway;

[0031] The dynamic weight arbitration module is used to execute the home multimedia gateway information source switching method described in the above embodiment and output a switching instruction to the multimedia switching module.

[0032] Optionally, in the dual-mode receiver, the infrared receiving unit is configured to parse at least two infrared protocols to distinguish between different devices;

[0033] The 2.4G receiving unit supports feature code recognition of Bluetooth or StarFlash protocol.

[0034] Optionally, the multimedia switching module is configured to:

[0035] Construct a four-stage pipeline architecture of "signal monitoring-physical layer verification-weight arbitration-channel execution";

[0036] The signal validity is double-verified through level detection at the physical layer and multimedia protocol handshake at the protocol layer.

[0037] Optionally, the multimedia interface is an HDMI input interface, a DisplayPort or a GPMI audio and video interface.

[0038] On the other hand, the present invention further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the aforementioned home multimedia gateway information source switching method.

[0039] By adopting the above technical means, it has the following beneficial effects:

[0040] The above method first obtains the weight of each output terminal and determines the default display device at power-up based on the weighted result. The weight of each output can be dynamically adjusted during user operation. The first device priority monitoring function continuously polls the signal status of the first device and immediately seizes the display channel when a new signal is detected.

[0041] When a user uses an infrared remote control or a 2.4G remote control, the system responds and switches to the corresponding device. Ultimately, by monitoring physical and protocol layer signals, it achieves the goal of "zero user intervention" intelligent display management. Compared with traditional technical solutions, it can reduce the number of operation steps and significantly improve the user experience in scenarios where multiple devices are used in coordination. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0043] Figure 1 A flow chart of a method for switching a home multimedia gateway information source provided by an exemplary embodiment of the present invention;

[0044] Figure 2A topological diagram of a home multimedia gateway provided by an exemplary embodiment of the present invention;

[0045] Figure 3 A flowchart of an exemplary embodiment of the present invention is provided. DETAILED DESCRIPTION

[0046] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0047] like Figures 1 to 3 As shown, the present application provides a method for switching a home multimedia gateway signal source, comprising the following steps:

[0048] After the device is powered on, S101 obtains a dynamic weight value of each multimedia output terminal. The dynamic weight value is calculated using the formula W=a·F+b·E; wherein:

[0049] F is the equipment usage frequency coefficient, with a default value of 1.00 and a range of 0.50 to 1.50;

[0050] E is the manual compensation coefficient, with a default value of 1.00 and a range of 1.00 to 5.00;

[0051] a and b are adjustment factors, with default values of a=0.6 and b=0.3;

[0052] S102 polls the signal status of each multimedia output terminal from high to low according to the dynamic weight value:

[0053] If a signal is detected at the output with the highest weight, the device is switched to;

[0054] If not, continue polling the output port with the next highest weight until all output ports are tested;

[0055] S103 When the weight polling is completed, the hierarchical response strategy is executed:

[0056] Monitor the signal changes of the first preset device port and preemptively switch if a new signal is detected;

[0057] Receive infrared remote control signals. If a valid infrared protocol is identified and the corresponding device has output, it will switch to the infrared control device.

[0058] Receive 2.4G wireless signals. If the signature code is recognized and the gateway has output, it will switch to the gateway device.

[0059] Specifically, see Figure 2 and Figure 3 In one embodiment, the present application relates to a method for switching signal sources in a home multimedia gateway. This method is primarily used in home environments to address issues such as manual signal source switching and misoperation when multiple devices are connected to a television via multimedia interfaces. Its core approach is to achieve intelligent display management with "zero user intervention" through a dynamic priority arbitration mechanism and intelligent switching control strategies.

[0060] The following takes HDMI as an example to illustrate the method and device of the present application. First, after the device is powered on, the system will obtain the dynamic weight value of each HDMI output port. The dynamic weight value is calculated by the formula W = a·F+b·E. Among them, F is the device usage frequency coefficient, the default value is 1.00, and the value range is 0.50~1.50; E is the manual compensation coefficient, the default value is 1.00, and the value range is 1.00~5.00; a and b are adjustment factors, and the default values are a=0.6 and b=0.3 respectively.

[0061] The device usage frequency coefficient F is dynamically updated every 24 hours using the formula: F_new = y·F_old + (1-y)·U_current, where y = 0.9 is the forgetting factor and U_current is the percentage of time the device is used per day. After updating, the system normalizes the coefficient and saves the data.

[0062] The dynamic update mechanism of the manual compensation coefficient E is as follows: when the user manually switches the output and continues to use it for more than 30 seconds, E_new = E_old + 1 is triggered; attenuation calibration is performed every 24 hours, E_new = y·E_old, where y = 0.9, and the data is saved.

[0063] The system polls the signal status of each HDMI output port from high to low according to the dynamic weight value. If the output port with the highest weight is detected to have a signal, it will immediately switch to the device; if not, it will continue to poll the output port with the second highest weight until all output ports are tested.

[0064] After the weighted polling is completed, the system will implement a hierarchical response strategy. The first step is to monitor the signal changes of the first preset device port (such as the port connected to the temporary device tablet / computer / camera device). If a new signal is detected (such as plugging and unplugging the signal line or the output signal disappears and then regenerates, etc.), it will preemptively switch to the device. At the same time, the system receives infrared remote control signals through an infrared receiver. If a valid infrared protocol (such as RC5, NEC protocol, etc.) is identified and the corresponding device has an output signal, it will switch to the infrared control device. In addition, the system also receives 2.4G wireless signals through a 2.4G receiver. If the feature code is identified and the home gateway body has an output signal, it will switch to the gateway device.

[0065] In this embodiment, the 2.4G signal can also be expanded to Bluetooth or StarFlash protocols to adapt to more types of devices. At the same time, the system has built a four-stage pipeline architecture of "signal monitoring - physical layer verification - weight arbitration - channel execution". Through dual verification of signal validity at the physical layer (level detection) and protocol layer (HDMI protocol handshake), it ensures the accuracy and stability of switching.

[0066] The present embodiment is further elaborated in detail below in conjunction with specific usage scenarios. In a home environment, the user has multiple devices connected to the HDMI interface of the TV, including a laptop (first preset device), an IPTV set-top box (second type of device) and a home gateway body (third type of device). When the device is powered on, the system finds that the IPTV set-top box has the highest weight based on the dynamic weight value calculated previously, and detects that it has a signal output, so it automatically switches to the IPTV set-top box display. If the user then uses a laptop and connects it to the TV via an HDMI cable, the system detects a new signal on the first preset device port and immediately preempts the switch to the laptop display without manual operation by the user. If the user uses an infrared remote control to operate the set-top box, the system recognizes the infrared signal and switches to the corresponding set-top box device. If the user uses a 2.4G remote control to operate the home gateway, the system recognizes the 2.4G signal and switches to the gateway device.

[0067] In another embodiment, the present application provides a home multimedia gateway source switching device. The device includes a main control processor, an HDMI switching module, multiple HDMI input interfaces, and a dynamic weight arbitration module. Exemplarily, the main control processor is an HMG home multimedia gateway (HMG) SoC chip.

[0068] The main control processor integrates a dual-mode receiver (supporting infrared and 2.4G wireless signals) and an HDMI signal output module. The infrared receiver can parse at least two infrared protocols to distinguish different devices, while the 2.4G receiver supports Bluetooth or StarFlash protocol signature recognition, which can identify the specific signatures of different devices, thus achieving compatibility and precise switching between multiple devices.

[0069] The HDMI switch module connects to the host processor via a UART or I2C bus. This UART or I2C connection transmits control and query commands from the host processor and status reports from the switch module. The switch module utilizes a four-stage pipeline architecture: signal monitoring - physical layer verification - weight arbitration - channel execution. This ensures reliable signal switching by verifying signal validity at both the physical layer (level detection) and the protocol layer (HDMI protocol handshake).

[0070] Multiple HDMI input interfaces are used to connect external devices, including: Type 1 ports for connecting to temporary devices (such as tablets, computers, cameras, etc.); Type 2 ports for connecting to set-top boxes (such as OTT, IPTV, DVB STB, etc.); and Type 3 ports for connecting to the HDMI output of the gateway itself.

[0071] The dynamic weight arbitration module is used to execute the source switching method described in the first embodiment above, and output a switching instruction to the HDMI switching module according to the dynamic weight value and the hierarchical response strategy, thereby realizing intelligent switching of the signals of each device.

[0072] In addition, the HDMI input interface can also be replaced with a DisplayPort or GPMI audio and video interface to adapt to different types of audio and video output devices, thereby improving the versatility and flexibility of the device.

[0073] In actual applications, the device can be seamlessly integrated into the home multimedia system, automatically managing the signal source switching of multiple devices, avoiding the tedious manual operation and possible misoperation of the user, and greatly improving the user experience.

[0074] In another embodiment, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, can implement the steps of the home multimedia gateway information source switching method described in the first embodiment above.

[0075] The storage medium can be any type of storage device, such as ROM, RAM, magnetic disk, optical disk, etc. By storing the program code of the source switching method in a computer-readable storage medium, the method can be conveniently applied to various home multimedia gateway devices to realize intelligent source switching function.

[0076] For example, when a manufacturer produces a home multimedia gateway, they can pre-install this program code in the device's memory chip, enabling the device to intelligently switch between signal sources. This allows users to enjoy a convenient multi-device collaborative experience without having to install additional software or perform complex settings.

[0077] Through the detailed explanation of the above three embodiments, the home multimedia gateway signal source switching method, device and storage medium provided by this application can effectively solve the problems existing in the prior art such as multi-signal source conflicts, device switching confusion and high user operation complexity, and achieve the "zero user intervention" intelligent display management goal, reduce the operation steps, and significantly improve the user experience in the scenario of multi-device collaborative use.

[0078] This application uses dynamic weight calculation and hierarchical response strategies to automatically adjust display priority based on the frequency of device use and the user's manual operation habits, without the need for manual settings by the user; secondly, it constructs a four-level pipeline architecture to ensure signal switching reliability through dual verification of the physical layer and protocol layer, avoiding switching errors caused by signal interference or misidentification; thirdly, it designs differentiated switching modes for different device types, such as priority monitoring and rapid preemption of the first device, specific remote control signal response for infrared devices and 2.4G devices, etc., to meet the switching needs of multiple devices in different usage scenarios; fourthly, the 2.4G signal can be expanded to Bluetooth or Star Flash protocol, and the HDMI input interface can also be replaced with other audio and video interfaces, which improves the versatility and flexibility of the device; fifthly, through "zero user intervention" intelligent display management, the operation steps are reduced, and the user experience in multi-device collaborative use scenarios is significantly improved.

[0079] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the technical solutions disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0080] It should be understood that the present application is not limited to the exact structures described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for switching a home multimedia gateway signal source, characterized in that: The following steps are involved: After the device is powered on, S101 obtains a dynamic weight value of each multimedia output terminal. The dynamic weight value is calculated using the formula W=a·F+b·E; wherein: F is the equipment usage frequency coefficient, with a default value of 1.00 and a range of 0.50 to 1.50; E is the manual compensation coefficient, with a default value of 1.00 and a range of 1.00 to 5.00; a and b are adjustment factors, with default values of a=0.6 and b=0.3; S102 polls the signal status of each multimedia output terminal from high to low according to the dynamic weight value: If a signal is detected at the output with the highest weight, the device is switched to; If not, continue polling the output port with the next highest weight until all output ports are tested; S103 When the weight polling is completed, the hierarchical response strategy is executed: Monitor the signal changes of the first preset device port and preemptively switch if a new signal is detected; Receive infrared remote control signals. If a valid infrared protocol is identified and the corresponding device has output, it will switch to the infrared control device. Receive 2.4G wireless signals. If the signature code is recognized and the gateway body has output, it will switch to the gateway device.

2. The method according to claim 1, characterized in that The device usage frequency coefficient F is dynamically updated in the following way: Calculated every 24 hours: F_new = y·F_old + (1-y)·U_current, where y = 0.9 is the forgetting factor and U_current is the percentage of time the device is used per day. After updating, perform normalization and save the data.

3. The method according to claim 1, characterized in that The manual compensation coefficient E is dynamically updated in the following manner: When the user manually switches the output and continues to use it for more than 30 seconds, E_new = E_old + 1 is triggered; Perform decay calibration every 24 hours: E_new = y·E_old, where y = 0.9, and save the data.

4. The method according to claim 1, wherein In the hierarchical response strategy: The signal change is a level jump of a multimedia output signal, a protocol renegotiation, or a change in a physical connection state; The infrared protocol includes but is not limited to RC5 and NEC protocols, and is used to distinguish different infrared control devices.

5. A home multimedia gateway source switching device, characterized in that: include: Main control processor, integrated multimedia signal output module; A multimedia switching module connected to the main control processor via a UART or I2C bus; Multi-channel multimedia input interface, connecting external equipment groups, including: Class 1 port: used to access temporary devices; Type II port: used to access set-top box devices; The third type of port: used to access the multimedia output of the gateway; A dynamic weight arbitration module is used to execute the method described in any one of claims 1 to 4 and output a switching instruction to the multimedia switching module.

6. The device according to claim 5, characterized in that: In the dual-mode receiver, the infrared receiving unit is configured to parse at least two infrared protocols to distinguish between different devices; The 2.4G receiving unit supports feature code recognition of Bluetooth or StarFlash protocol.

7. The device according to claim 5, characterized in that The multimedia switching module is configured as follows: Build a four-stage pipeline architecture of "signal monitoring - physical layer verification - weight arbitration - channel execution"; The signal validity is double-verified through level detection at the physical layer and multimedia protocol handshake at the protocol layer.

8. The device according to claim 5, characterized in that The multimedia interface is an HDMI input interface, DisplayPort or GPMI audio and video interface.

9. A computer-readable storage medium, characterized in that A computer program is stored, and when the program is executed by a processor, the steps of the method according to claims 1 to 4 are implemented.