Method and system for switching multiple hdmi in information sources, terminal and storage medium

By customizing and registering extcon in HDMI IN drivers, the method addresses compatibility issues and automates HDMI IN source switching, ensuring smooth transitions and robust operation across different system versions.

CN119071413APending Publication Date: 2024-12-03JWIPC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411198223.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

Existing HDMI IN source switching methods lack compatibility with various system versions and fail to automatically switch multiple sources, leading to confusion during plug and unplug operations.

Method used

A method involving customizing and registering an extcon in the HDMI IN driver, utilizing an extcon custom unit, registration unit, monitoring unit, and switching unit to associate HDMI IN states with plug/unplug events, enabling system-level monitoring and application-level switching.

Benefits of technology

Enables accurate detection of plug/unplug events and automatic switching of multiple HDMI IN sources with strong compatibility, simplifying operations and ensuring seamless signal source transitions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071413A_ABST
    Figure CN119071413A_ABST
Patent Text Reader

Abstract

The invention relates to a method and a system for switching multiple hdmi in information sources, a terminal and a storage medium. The method comprises the following steps of: adding a user-defined type of extcon in an extcon driving subsystem of a Linux kernel; registering a user-defined type of extcon in the drive of each hdmi in, and changing the state of the registered extcon when the interruption plugging occurs; when the system service monitors that the specified extcon under the extcon driving subsystem is changed, a specified broadcast is sent out; after the application receives the specified broadcast, the video signal and the audio signal are switched to the specified hdmi in; by applying the method provided by the invention, the operation is simple, the compatibility is strong, and a plurality of hdmin in information sources can be automatically switched.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer business OPS, and more specifically, to a method, system, terminal and storage medium for switching multiple HDMI IN signal sources. Background Art

[0002] With the popularization of HDMI IN function in the field of educational OPS, it is common to use multiple HDMI INs on the same motherboard to collect display information of external systems. At present, most of the information collection programs on the boards cannot automatically switch the source, and some conventional switching methods cannot be compatible with various system versions, and the reporting of upper-level applications is easy to be confused in the case of plugging and unplugging. Therefore, there is an urgent need for a method with strong compatibility and the ability to automatically switch multiple HDMI IN source pairs. Summary of the invention

[0003] The technical problem to be solved by the present invention is that, in view of the above-mentioned defects of the prior art, a method for switching multiple HDMI IN sources is provided, and a system for switching multiple HDMI IN sources, a terminal for switching multiple HDMI IN sources and a computer storage medium are also provided.

[0004] The technical solution adopted by the present invention to solve its technical problem is:

[0005] Construct a method for switching multiple HDMI IN signal sources, which includes the following steps:

[0006] Add a custom type of extcon to the extcon driver subsystem of the Linux kernel;

[0007] Register a custom type of extcon in each HDMI in driver, and change the state of the registered extcon when an interrupt occurs;

[0008] When the system service monitors the change of the specified extcon under the extcon driver subsystem, it sends out a specified broadcast;

[0009] After receiving the specified broadcast, the application switches the video and audio signals to the specified HDMI in.

[0010] A multiple HDMI IN source switching system, including an extcon custom unit, an extcon registration unit, an extcon monitoring unit and a source switching unit;

[0011] The extcon custom unit is used to add a custom type of extcon in the extcon driver subsystem of the Linux kernel;

[0012] The extcon registration unit is used to register a custom type of extcon in the driver of each HDMI in, and change the state of the registered extcon when an interrupt plug occurs;

[0013] The extcon monitoring unit is used to monitor the specified extcon under the extcon driver subsystem through the system service, and send a specified broadcast when the specified extcon changes;

[0014] The source switching unit is used to switch the video signal and the audio signal to the designated HDMI in after receiving the designated broadcast.

[0015] A terminal for switching multiple HDMI-in signal sources comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0016] A computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the above method when executed by a processor.

[0017] The beneficial effects of the present invention are: by applying the method of the present application, by customizing extcon and registering it in the driver of HDMI IN, the extcon state is associated with HDMI IN, and the extcon state is changed when plugging and unplugging occurs. The plugging and unplugging situation can be accurately grasped through system monitoring, and the signal source can be switched at the application level; the method is simple to operate, has strong compatibility, and can automatically switch multiple HDMI IN signal sources. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the present invention will be further described below in conjunction with the accompanying drawings and embodiments. The drawings described below are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work:

[0019] Figure 1 is a flow chart of a method for switching multiple HDMI IN sources according to a preferred embodiment of the present invention;

[0020] Figure 2 It is a principle block diagram of a multiple HDMI IN signal source switching system according to a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the following will be described clearly and completely in combination with the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are partial embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the protection scope of the present invention.

[0022] A method for switching multiple HDMI IN signal sources in a preferred embodiment of the present invention is as follows: Figure 1 As shown, the following steps are included:

[0023] S01: Add a custom type of extcon in the extcon driver subsystem of the Linux kernel;

[0024] S02: Register the custom type of extcon in each HDMI in driver, and change the state of the registered extcon when the plug-in interrupt occurs;

[0025] S03: When the system service (such as windowsmanger) monitors the change of the specified extcon under the extcon driver subsystem (path / sys / class / extcon), a specified broadcast is issued;

[0026] S04: After receiving the specified broadcast, the application switches the video signal and audio signal to the specified HDMI in;

[0027] By applying the method of the present application, by customizing extcon and registering it in the HDMI in driver, the extcon state is associated with the HDMI in, and the extcon state is changed when plugging and unplugging occurs. The plugging and unplugging situation can be accurately grasped through system monitoring, and the signal source can be switched at the application level. The method is simple to operate, has strong compatibility, and can automatically switch multiple HDMI in signal sources.

[0028] A multiple HDMI IN source switching system, comprising an extcon customization unit 100, an extcon registration unit 101, an extcon monitoring unit 102 and a source switching unit 103;

[0029] An extcon custom unit 100 is used to add a custom type of extcon in the extcon driver subsystem of the Linux kernel;

[0030] The extcon registration unit 101 is used to register the extcon of the custom type in the driver of each HDMI in, and change the state of the registered extcon when the plug-in interrupt occurs;

[0031] The extcon monitoring unit 102 is used to monitor the specified extcon under the extcon driver subsystem through the system service, and send a specified broadcast when the specified extcon changes;

[0032] The source switching unit 103 is used to switch the video signal and the audio signal to the designated HDMI IN after receiving the designated broadcast;

[0033] The system of the present application customizes extcon and registers it in the driver of HDMI IN, associates the extcon state with HDMI IN, changes the extcon state when plugging and unplugging occurs, accurately grasps the plugging and unplugging situation through system monitoring, and switches the signal source at the application level; the method is simple to operate, has strong compatibility, and can automatically switch multiple HDMI IN signal sources.

[0034] A terminal for switching multiple HDMI IN signal sources comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0035] A computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the above method when executed by a processor.

[0036] It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the scope of protection of the appended claims of the present invention.

Claims

1. A method for switching multiple HDMI sources, characterized in that: The following steps are involved: Add a custom type of extcon to the extcon driver subsystem of the Linux kernel; Register a custom type of extcon in each hdmiin driver, and change the state of the registered extcon when an interrupt occurs; When the system service monitors the change of the specified extcon under the extcon driver subsystem, it sends out a specified broadcast; After receiving the specified broadcast, the application switches the video and audio signals to the specified HDMI input.

2. A multiple HDMI source switching system, characterized in that: Including extcon custom unit, extcon registration unit, extcon monitoring unit and source switching unit; The extcon custom unit is used to add a custom type of extcon in the extcon driver subsystem of the Linux kernel; The extcon registration unit is used to register the custom type of extcon in each hdmiin driver and change the state of the registered extcon when an interrupt plug occurs; The extcon monitoring unit is used to monitor the specified extcon under the extcon driver subsystem through the system service, and send a specified broadcast when the specified extcon changes; The source switching unit is used to switch the video signal and the audio signal to the designated HDMI after receiving the designated broadcast.

3. A multiple HDMI source switching terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method according to claim 1 are implemented.

4. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to claim 1 are implemented.