CN112866608A - Adaptive setting method and device for HDMI resolution and electronic device - Google Patents
Adaptive setting method and device for HDMI resolution and electronic device Download PDFInfo
- Publication number
- CN112866608A CN112866608A CN202110030476.XA CN202110030476A CN112866608A CN 112866608 A CN112866608 A CN 112866608A CN 202110030476 A CN202110030476 A CN 202110030476A CN 112866608 A CN112866608 A CN 112866608A
- Authority
- CN
- China
- Prior art keywords
- hdmi
- resolution
- identification data
- data information
- receiving terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000003044 adaptive effect Effects 0.000 title claims abstract description 37
- 230000002159 abnormal effect Effects 0.000 claims description 30
- 238000004590 computer program Methods 0.000 claims description 15
- 238000001514 detection method Methods 0.000 claims description 10
- 230000005540 biological transmission Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000013459 approach Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/765—Interface circuits between an apparatus for recording and another apparatus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43632—Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wired protocol, e.g. IEEE 1394
- H04N21/43635—HDMI
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Controls And Circuits For Display Device (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The application relates to an adaptive setting method and device of HDMI resolution, an electronic device and a storage medium. The self-adaptive setting method of the HDMI resolution comprises the following steps: detecting a level signal of a hot plug pin of the HDMI; requesting extended display identification data information from the HDMI receiving terminal under the condition that the level signal is detected to be low level; and under the condition that the extended display identification data information is requested from the HDMI receiving terminal, adaptively matching the optimal resolution corresponding to the extended display identification data information, and setting the optimal resolution as the resolution supported by the HDMI receiving terminal. By the method and the device, the problem that self-adaptive setting of the resolution of the HDMI cannot be achieved in the related art is solved, and self-adaptive setting of the resolution of the HDMI is achieved.
Description
Technical Field
The present application relates to the field of image processing, and in particular, to a method and apparatus for adaptively setting an HDMI resolution, an electronic apparatus, and a storage medium.
Background
At present, devices with display output functions in the market are generally provided with an HDMI display interface, and are connected with a display through an HDMI cable to output picture contents. The HDMI detection and identification communication protocol exists between the equipment and the display, and the same image can be output only after the display is normally detected and identified. When the display or the device itself fails, the picture content cannot be displayed normally.
Fig. 1 is a schematic flow diagram of an HDMI detection and identification method in the related art, as shown in fig. 1, after the device is started, an HPD pin of an HDMI interface is pulled down by default, after a display is connected, the HPD pin is pulled up to 5V by the display, and after the device detects that the HPD is pulled up, the device starts to read EDID information of the display, confirms parameters of the display, and outputs an HDMI signal after automatically matching an optimal resolution. However, it has been found in the research process that the above-mentioned approach cannot achieve adaptive setting of the resolution of HDMI.
At present, no effective solution is provided for the problem that the adaptive setting of the resolution of the HDMI cannot be realized in the related art.
Disclosure of Invention
The embodiment of the application provides a method and a device for adaptively setting the resolution of an HDMI, an electronic device and a storage medium, so as to at least solve the problem that the adaptive setting of the resolution of the HDMI cannot be realized in the related art.
In a first aspect, an embodiment of the present application provides a method for adaptively setting an HDMI resolution, including:
detecting a level signal of a hot plug pin of the HDMI;
under the condition that the level signal is detected to be at a low level, requesting extended display identification data information from the HDMI receiving terminal;
and under the condition that the extended display identification data information is requested from the HDMI receiving terminal, adaptively matching the optimal resolution corresponding to the extended display identification data information, and setting the optimal resolution as the resolution supported by the HDMI receiving terminal.
In some embodiments, in a case where the extended display identification data information is requested from the HDMI receiving terminal, the method further includes:
and generating abnormal information of the hot plug pin of the HDMI, and sending the abnormal information to a preset terminal.
In some embodiments, in a case where it is detected that the level signal is at a low level, after requesting extended display identification data information from the HDMI receiving terminal, the method further includes:
determining a terminal identifier of the HDMI receiving terminal under the condition that the extended display identification data information is not requested from the HDMI receiving terminal;
and acquiring a preset resolution corresponding to the terminal identifier, and setting the preset resolution as the resolution supported by the HDMI receiving terminal.
In some embodiments, after obtaining a preset resolution corresponding to the terminal identifier and setting the preset resolution as a resolution supported by the HDMI receiving terminal, the method further includes:
detecting whether the level signal changes from a low level to a high level;
requesting extended display identification data information from the HDMI receiving terminal in a case where it is detected that the level signal changes from a low level to a high level;
and under the condition that the extended display identification data information is requested from the HDMI receiving terminal, adaptively matching the optimal resolution corresponding to the extended display identification data information, and setting the optimal resolution as the resolution supported by the HDMI receiving terminal.
In some embodiments, after detecting the level signal of the hot plug pin of the HDMI interface, the method further comprises:
under the condition that the level signal is detected to be at a high level, requesting extended display identification data information from the HDMI receiving terminal;
and under the condition that the extended display identification data information is requested from the HDMI receiving terminal, adaptively matching the optimal resolution corresponding to the extended display identification data information, and setting the optimal resolution as the resolution supported by the HDMI receiving terminal.
In some embodiments, in a case where it is detected that the level signal is at a high level, after requesting extended display identification data information from the HDMI receiving terminal, the method further includes:
determining a terminal identifier of the HDMI receiving terminal under the condition that the extended display identification data information is not requested from the HDMI receiving terminal;
and acquiring a preset resolution corresponding to the terminal identifier, and setting the preset resolution as the resolution supported by the HDMI receiving terminal.
In some embodiments, in a case where the extended display identification data information is not requested from the HDMI receiving terminal, the method further includes:
and generating abnormal information of an extended display identification data information link corresponding to the extended display identification data information, and sending the abnormal information to a preset terminal.
In a second aspect, an embodiment of the present application further provides an adaptive setting apparatus for an HDMI resolution, including:
the first detection module is used for detecting a level signal of a hot plug pin of the HDMI;
the first request module is used for requesting extended display identification data information from the HDMI receiving terminal under the condition that the level signal is detected to be low level;
and the first self-adaptive matching module is used for self-adaptively matching the optimal resolution corresponding to the extended display identification data information under the condition that the extended display identification data information is requested from the HDMI receiving terminal, and setting the optimal resolution as the resolution supported by the HDMI receiving terminal.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor, when executing the computer program, implements the adaptive setting method for HDMI resolution according to the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium, on which a computer program is stored, where the program, when executed by a processor, implements the adaptive setting method for HDMI resolution according to the first aspect.
Compared with the related art, the self-adaptive setting method, device, electronic device and storage medium for the HDMI resolution, provided by the embodiment of the application, are realized by detecting the level signal of the hot plug pin of the HDMI interface; requesting extended display identification data information from the HDMI receiving terminal under the condition that the level signal is detected to be low level; under the condition that the extended display identification data information is requested from the HDMI receiving terminal, the optimal resolution corresponding to the extended display identification data information is matched in a self-adaptive mode, and the optimal resolution is set to be the resolution supported by the HDMI receiving terminal, so that the problem that the self-adaptive setting of the resolution of the HDMI cannot be realized in the related technology is solved, and the self-adaptive setting of the resolution of the HDMI is realized.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart of an HDMI detection and identification method in the related art;
fig. 2 is a block diagram of a hardware configuration of a terminal of an adaptive setting method of HDMI resolution according to an embodiment of the present application;
fig. 3 is a flowchart of an adaptive setting method of HDMI resolution according to an embodiment of the present application;
fig. 4 is a flowchart illustrating an adaptive setting method of HDMI resolution according to a preferred embodiment of the present application;
fig. 5 is a block diagram of the configuration of an adaptive setting apparatus for HDMI resolution according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. Reference herein to "a plurality" means greater than or equal to two. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
The method provided by the embodiment can be executed in a terminal, a computer or a similar operation device. Taking the example of running on a terminal, fig. 2 is a block diagram of a hardware structure of the terminal of the adaptive setting method for HDMI resolution according to the embodiment of the present application. As shown in fig. 2, the terminal may include one or more processors 202 (only one is shown in fig. 2) (the processor 202 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 204 for storing data, and optionally may also include a transmission device 206 for communication functions and an input-output device 208. It will be understood by those skilled in the art that the structure shown in fig. 2 is only an illustration and is not intended to limit the structure of the terminal. For example, the terminal may also include more or fewer components than shown in FIG. 2, or have a different configuration than shown in FIG. 2.
The memory 204 may be used to store a computer program, for example, a software program and a module of an application software, such as a computer program corresponding to the adaptive setting method of HDMI resolution in the embodiment of the present invention, and the processor 202 executes various functional applications and data processing by running the computer program stored in the memory 204, so as to implement the method described above. Memory 204 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 204 may further include memory located remotely from the processor 202, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 206 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the terminal. In one example, the transmission device 206 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 206 can be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
The present embodiment provides a method for adaptively setting an HDMI resolution, and fig. 3 is a flowchart of a method for adaptively setting an HDMI resolution according to an embodiment of the present application, where as shown in the figure, the flowchart includes the following steps:
step S301, detecting a level signal of a hot plug pin of the HDMI interface.
It should be noted that a High Definition Multimedia Interface (HDMI) is a fully digital video and audio transmission Interface, and can transmit uncompressed audio and video signals. The HDMI can be used in set-top boxes, DVD players, personal computers, televisions, game consoles, integrated amplifiers, digital stereos, televisions, and the like. HDMI can send audio frequency and video signal simultaneously, because audio frequency and video signal adopt same wire rod, simplifies the installation degree of difficulty of system's circuit greatly.
Hot Plug (HPD) is a method of generating and outputting a detection signal (level signal) sent to an HDMI sink terminal (source terminal) from the HDMI sink terminal (display terminal). The hot plug detection is used for detecting the HDMI Source end (Source) through the HPD pin of the HDMI/DVI and responding when the display equipment of the HDMI interfaces such as the display end is connected with or disconnected from the HDMI Source end (Source) through the HDMI/DVI interface.
In this step, the level signal of the hot plug pin is detected, so that the high and low levels of the hot plug pin can be determined. The level signal may be a low level or a high level, the high level may indicate that a receiving terminal (e.g., a display or other device) is connected, and the low level may indicate that no receiving terminal is connected or that a device fails (e.g., a hot plug pin is abnormal, a 5V power supply is abnormal, etc.), and the like.
In step S302, in the case where it is detected that the level signal is at the low level, extended display identification data information is requested from the HDMI sink terminal.
The Extended Display Identification Data (EDID) is a standard for the display identification data that is established by the VESA when the DDC display data channel communication protocol is established. EDID is stored in DDC memory in the display, when the host computer is connected with the display, the host computer can read EDID stored in DDC memory of the display by the DDC channel.
In the related art, when the level signal is detected to be at a low level, it is determined that no receiving terminal is accessed or the device is abnormal, it is determined that the HDMI cannot support the optimal resolution, and the default resolution set by the user is used as the resolution supported by the HDMI receiving terminal.
In this step, when the level signal is detected to be at a low level, and an extended display identification data information is requested from the HDMI sink terminal, it can be further determined whether no sink terminal is connected or the device is abnormal.
Step S303, in the case where the extended display identification data information is requested from the HDMI receiving terminal, adaptively matching the optimal resolution corresponding to the extended display identification data information, and setting the optimal resolution as the resolution supported by the HDMI receiving terminal.
Based on the above steps S301 to S303, by requesting the extended display identification data information from the HDMI receiving terminal in the case where the level signal is detected to be at the low level, and adaptively matching the optimal resolution corresponding to the extended display identification data information in the case where the extended display identification data information is requested from the HDMI receiving terminal, and setting the optimal resolution as the resolution supported by the HDMI receiving terminal, the adaptive matching of the optimal resolution of the HDMI receiving terminal in the case of the low level is achieved, and the problem in the related art that the adaptive matching of the resolution of the HDMI receiving terminal in the case of the low level cannot be achieved is solved.
In some embodiments, in the case that the extended display identification data information is requested from the HDMI receiving terminal, the exception information of the hot-plug pin of the HDMI interface may also be generated and sent to the preset terminal.
In this embodiment, by generating the abnormal information of the hot plug pin and sending the abnormal information to the preset terminal, the user can obtain the abnormal information in time and perform corresponding operation according to the abnormal information, thereby avoiding the problem that the HDMI cannot realize adaptive matching with optimal resolution.
It should be noted that the preset terminal may be a user terminal, a mailbox address, and the like preset by the user.
In some embodiments, in the case that the level signal is detected to be at a low level, the terminal identifier of the HDMI receiving terminal may also be determined in the case that the extended display identification data information is not requested from the HDMI receiving terminal; and acquiring a preset resolution corresponding to the terminal identifier, and setting the preset resolution as the resolution supported by the HDMI receiving terminal.
It should be noted that the preset resolutions corresponding to different HDMI receiving terminals may be the same or different, and may be set by a user.
In this step, the terminal identifier of the HDMI receiving terminal is obtained when the level signal is at a low level, and the resolution of different HDMI receiving terminals can be matched in a manner of obtaining the corresponding preset resolution according to the terminal identifier.
In some embodiments, after the preset resolution corresponding to the terminal identifier is obtained and set as the resolution supported by the HDMI receiving terminal, it may be further detected whether the level signal changes from a low level to a high level; requesting extended display identification data information from the HDMI reception terminal in a case where a change of the level signal from a low level to a high level is detected; and under the condition that the extended display identification data information is requested from the HDMI receiving terminal, adaptively matching the optimal resolution corresponding to the extended display identification data information, and setting the optimal resolution as the resolution supported by the HDMI receiving terminal.
In the step, the level signal is obtained again, the level signal is detected, and then under the condition that the level signal is detected to be changed from the low level to the high level, the extended display identification data information is requested from the HDMI receiving terminal; under the condition that the extended display identification data information is requested from the HDMI receiving terminal, the optimal resolution corresponding to the extended display identification data information is matched in a self-adaptive mode, and the optimal resolution is set to be the resolution supported by the HDMI receiving terminal, so that the optimal resolution of the HDMI receiving terminal is matched.
It should be noted that the level signal changes from low level to high level, which may indicate that an HDMI receiving terminal is connected.
In some embodiments, after detecting the level signal of the hot plug pin of the HDMI interface, the extended display identification data information may also be requested from the HDMI receiving terminal in case that the level signal is detected to be at a high level; and under the condition that the extended display identification data information is requested from the HDMI receiving terminal, adaptively matching the optimal resolution corresponding to the extended display identification data information, and setting the optimal resolution as the resolution supported by the HDMI receiving terminal.
In this embodiment, in the above manner, adaptive matching of the optimal resolution of the HDMI receiving terminal can be achieved when the level signal is at a high level.
In some embodiments, after requesting the extended display identification data information from the HDMI receiving terminal in the case where the level signal is detected to be at the high level, the terminal identification of the HDMI receiving terminal may also be determined in the case where the extended display identification data information is not requested from the HDMI receiving terminal; and acquiring a preset resolution corresponding to the terminal identifier, and setting the preset resolution as the resolution supported by the HDMI receiving terminal.
In this embodiment, the terminal identifier of the HDMI receiving terminal is obtained when the level signal is at a high level, and the resolution of different HDMI receiving terminals can be matched in a manner of obtaining the corresponding preset resolution according to the terminal identifier.
In some embodiments, in a case that the extended display identification data information is not requested from the HDMI receiving terminal, the abnormal information of the extended display identification data information link corresponding to the extended display identification data information may also be generated and sent to the preset terminal.
In this embodiment, by generating the abnormal information of the extended display identification data information link corresponding to the extended display identification data information and sending the abnormal information to the preset terminal, the user can obtain the abnormal information in time and perform corresponding operation according to the abnormal information, thereby avoiding the problem that the HDMI cannot realize adaptive matching with optimal resolution.
In some embodiments, the terminal identification of the HDMI receiving terminal may also be determined in case that the level signal is detected to change from a high level to a low level; and acquiring a preset resolution corresponding to the terminal identifier, and setting the preset resolution as the resolution supported by the HDMI receiving terminal. By the mode, the self-adaptive matching of the resolution of the HDMI receiving terminal can be realized under the condition that the high level is changed into the low level.
The embodiments of the present application are described and illustrated below by means of preferred embodiments.
Fig. 4 is a flowchart illustrating an adaptive setting method of HDMI resolution according to a preferred embodiment of the present application. In this embodiment, taking a receiving terminal as an example, as shown in fig. 4, an adaptive setting method for an HDMI resolution in this embodiment may include the following two cases:
after the HDMI receiving terminal is started, firstly detecting whether a level signal of an HPD pin is a high level or a low level, if the level signal is the low level, representing that a display is not accessed or equipment possibly fails, reading EDID information, and if the acquisition fails, outputting default resolution (equal to preset resolution); and if the EDID information is successfully acquired, matching the optimal resolution ratio and outputting, and simultaneously prompting the abnormal state information of the HPD pin. If the HPD is detected to be in a high level, the display is accessed, the optimal resolution ratio is matched for output after the EDID is read, and if the EDID is failed to be read, the default resolution ratio (equal to the preset resolution ratio) is output and the abnormal state information of the EDID link is prompted.
In the normal output process, detecting the jump of the HPD pin, and if the state of the HPD pin is not changed, displaying that the output content is not adjusted; when the HPD pin is detected to be changed from high level to low level, the display is pulled out or the equipment fails, and the equipment outputs default resolution (equal to preset resolution); when the HPD pin is detected to be changed from low level to high level, the display is connected, and the matched optimal resolution is output after the EDID signal is read.
Through the mode, according to the scheme of the embodiment of the application, when the equipment or the HDMI receiving terminal breaks down at the HDMI interface, the equipment can still output the resolution ratio in a self-adaptive mode and display the resolution ratio. Meanwhile, whether the connection of the equipment or the display is in fault can be detected, and abnormal prompt is performed.
Meanwhile, HPD is detected and EDID is read through the HDMI interface, and an HDMI signal is still output under the condition of equipment failure, so that the display can normally output pictures; and judging whether the equipment, the HDMI receiving terminal or the EDID cable and the like are abnormal or not by detecting the states of the HPD and the EDID, and prompting the abnormal state.
The present embodiment further provides an adaptive HDMI resolution setting apparatus, which is used to implement the foregoing embodiments and preferred embodiments, and the details of the foregoing description are omitted. As used hereinafter, the terms "module," "unit," "subunit," and the like may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of a configuration of an adaptive setting apparatus for HDMI resolution according to an embodiment of the present application, which includes, as shown in fig. 5:
the first detection module 51 is configured to detect a level signal of a hot plug pin of the HDMI interface;
a first request module 52, coupled to the first detection module 51, for requesting extended display identification data information from the HDMI receiving terminal if the level signal is detected to be at a low level;
and a first adaptive matching module 53, coupled to the first requesting module 52, for adaptively matching the optimal resolution corresponding to the extended display identification data information and setting the optimal resolution as the resolution supported by the HDMI receiving terminal in the case where the extended display identification data information is requested from the HDMI receiving terminal.
In some of these embodiments, the apparatus further comprises: the first generation module is used for generating abnormal information of a hot plug pin of the HDMI and sending the abnormal information to a preset terminal.
In some of these embodiments, the apparatus further comprises: the device comprises a first determining module, a second determining module and a display module, wherein the first determining module is used for determining the terminal identification of the HDMI receiving terminal under the condition that the extended display identification data information is not requested from the HDMI receiving terminal; and the first acquisition module is used for acquiring the preset resolution corresponding to the terminal identifier and setting the preset resolution as the resolution supported by the HDMI receiving terminal.
In some of these embodiments, the apparatus further comprises: the second detection module is used for detecting whether the level signal changes from a low level to a high level; the second request module is used for requesting the extended display identification data information from the HDMI receiving terminal under the condition that the level signal is detected to change from the low level to the high level; and the second self-adaptive matching module is used for self-adaptively matching the optimal resolution corresponding to the extended display identification data information under the condition that the extended display identification data information is requested from the HDMI receiving terminal, and setting the optimal resolution as the resolution supported by the HDMI receiving terminal.
In some of these embodiments, the apparatus further comprises: the third request module is used for requesting the extended display identification data information from the HDMI receiving terminal under the condition that the level signal is detected to be high level; and the third self-adaptive matching module is used for self-adaptively matching the optimal resolution corresponding to the extended display identification data information under the condition that the extended display identification data information is requested from the HDMI receiving terminal, and setting the optimal resolution as the resolution supported by the HDMI receiving terminal.
In some of these embodiments, the apparatus further comprises: the second determining module is used for determining the terminal identifier of the HDMI receiving terminal under the condition that the extended display identifier data information is not requested from the HDMI receiving terminal; and the second acquisition module is used for acquiring the preset resolution corresponding to the terminal identifier and setting the preset resolution as the resolution supported by the HDMI receiving terminal.
In some of these embodiments, the apparatus further comprises: and the second generation module is used for generating abnormal information of the extended display identification data information link corresponding to the extended display identification data information and sending the abnormal information to the preset terminal.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
The present embodiment also provides an electronic device comprising a memory having a computer program stored therein and a processor configured to execute the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
step S301, detecting a level signal of a hot plug pin of the HDMI interface.
In step S302, in the case where it is detected that the level signal is at the low level, extended display identification data information is requested from the HDMI sink terminal.
Step S303, in the case where the extended display identification data information is requested from the HDMI receiving terminal, adaptively matching the optimal resolution corresponding to the extended display identification data information, and setting the optimal resolution as the resolution supported by the HDMI receiving terminal.
It should be noted that, for specific examples in this embodiment, reference may be made to examples described in the foregoing embodiments and optional implementations, and details of this embodiment are not described herein again.
In addition, in combination with the adaptive setting method of the HDMI resolution in the foregoing embodiment, the embodiment of the present application may provide a storage medium to implement. The storage medium having stored thereon a computer program; the computer program, when executed by a processor, implements the adaptive setting method of HDMI resolution in any of the above embodiments.
It should be understood by those skilled in the art that various features of the above-described embodiments can be combined in any combination, and for the sake of brevity, all possible combinations of features in the above-described embodiments are not described in detail, but rather, all combinations of features which are not inconsistent with each other should be construed as being within the scope of the present disclosure.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. An adaptive setting method of an HDMI resolution, comprising:
detecting a level signal of a hot plug pin of the HDMI;
under the condition that the level signal is detected to be at a low level, requesting extended display identification data information from the HDMI receiving terminal;
and under the condition that the extended display identification data information is requested from the HDMI receiving terminal, adaptively matching the optimal resolution corresponding to the extended display identification data information, and setting the optimal resolution as the resolution supported by the HDMI receiving terminal.
2. The adaptive setting method of HDMI resolution according to claim 1, wherein in a case where said extended display identification data information is requested from said HDMI reception terminal, said method further comprises:
and generating abnormal information of the hot plug pin of the HDMI, and sending the abnormal information to a preset terminal.
3. The adaptive setting method of HDMI resolution according to claim 2, wherein after requesting extended display identification data information from an HDMI reception terminal in a case where said level signal is detected to be low level, said method further comprises:
determining a terminal identifier of the HDMI receiving terminal under the condition that the extended display identification data information is not requested from the HDMI receiving terminal;
and acquiring a preset resolution corresponding to the terminal identifier, and setting the preset resolution as the resolution supported by the HDMI receiving terminal.
4. The adaptive setting method of HDMI resolution according to claim 3, wherein after obtaining a preset resolution corresponding to said terminal identifier and setting said preset resolution to a resolution supported by said HDMI sink terminal, said method further comprises:
detecting whether the level signal changes from a low level to a high level;
requesting extended display identification data information from the HDMI receiving terminal in a case where it is detected that the level signal changes from a low level to a high level;
and under the condition that the extended display identification data information is requested from the HDMI receiving terminal, adaptively matching the optimal resolution corresponding to the extended display identification data information, and setting the optimal resolution as the resolution supported by the HDMI receiving terminal.
5. The adaptive setting method of HDMI resolution according to claim 1, wherein after detecting a level signal of a hot plug pin of an HDMI interface, said method further comprises:
under the condition that the level signal is detected to be at a high level, requesting extended display identification data information from the HDMI receiving terminal;
and under the condition that the extended display identification data information is requested from the HDMI receiving terminal, adaptively matching the optimal resolution corresponding to the extended display identification data information, and setting the optimal resolution as the resolution supported by the HDMI receiving terminal.
6. The adaptive setting method of HDMI resolution according to claim 5, wherein after requesting extended display identification data information from an HDMI reception terminal in a case where said level signal is detected to be high level, said method further comprises:
determining a terminal identifier of the HDMI receiving terminal under the condition that the extended display identification data information is not requested from the HDMI receiving terminal;
and acquiring a preset resolution corresponding to the terminal identifier, and setting the preset resolution as the resolution supported by the HDMI receiving terminal.
7. The adaptive setting method of HDMI resolution according to claim 6, wherein in a case where said extended display identification data information is not requested from said HDMI reception terminal, said method further comprises:
and generating abnormal information of an extended display identification data information link corresponding to the extended display identification data information, and sending the abnormal information to a preset terminal.
8. An adaptive setting apparatus of an HDMI resolution, comprising:
the first detection module is used for detecting a level signal of a hot plug pin of the HDMI;
the first request module is used for requesting extended display identification data information from the HDMI receiving terminal under the condition that the level signal is detected to be low level;
and the first self-adaptive matching module is used for self-adaptively matching the optimal resolution corresponding to the extended display identification data information under the condition that the extended display identification data information is requested from the HDMI receiving terminal, and setting the optimal resolution as the resolution supported by the HDMI receiving terminal.
9. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and the processor is configured to execute the computer program to perform the adaptive setting method of HDMI resolution according to any one of claims 1 to 7.
10. A storage medium having stored thereon a computer program, wherein the computer program is arranged to execute the adaptive setting method of HDMI resolution of any of claims 1 to 7 when running.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110030476.XA CN112866608B (en) | 2021-01-11 | 2021-01-11 | Adaptive setting method and device for HDMI resolution and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110030476.XA CN112866608B (en) | 2021-01-11 | 2021-01-11 | Adaptive setting method and device for HDMI resolution and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112866608A true CN112866608A (en) | 2021-05-28 |
CN112866608B CN112866608B (en) | 2022-07-05 |
Family
ID=76002286
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110030476.XA Active CN112866608B (en) | 2021-01-11 | 2021-01-11 | Adaptive setting method and device for HDMI resolution and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112866608B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113691754A (en) * | 2021-08-17 | 2021-11-23 | 浙江大华技术股份有限公司 | Signal transmission control method and device, electronic equipment and storage medium |
CN113949910A (en) * | 2021-10-15 | 2022-01-18 | 深圳小湃科技有限公司 | Set top box resolution matching method and device, set top box and storage medium |
CN117055966A (en) * | 2023-10-13 | 2023-11-14 | 深圳中微电科技有限公司 | HDMI-based hot plug detection and processing method, device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008158220A (en) * | 2006-12-22 | 2008-07-10 | Toshiba Corp | Video display device, video display system, and video display method |
CN101355641A (en) * | 2007-07-26 | 2009-01-28 | 三星电子株式会社 | Video apparatus and method for recognizing digital interface thereof |
CN101620521A (en) * | 2008-07-04 | 2010-01-06 | 宏正自动科技股份有限公司 | KVM switch and method for providing expansion display identification data of screen |
CN104704445A (en) * | 2012-09-25 | 2015-06-10 | Nec显示器解决方案株式会社 | Electronic device, communication system, and hot-plug control method |
CN109408121A (en) * | 2018-09-19 | 2019-03-01 | 华东计算技术研究所(中国电子科技集团公司第三十二研究所) | EDID reading and configuring method, system and medium |
US20190295509A1 (en) * | 2018-03-20 | 2019-09-26 | Aplex Technology Inc. | Image resolution auto-identifying system and method |
-
2021
- 2021-01-11 CN CN202110030476.XA patent/CN112866608B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008158220A (en) * | 2006-12-22 | 2008-07-10 | Toshiba Corp | Video display device, video display system, and video display method |
CN101355641A (en) * | 2007-07-26 | 2009-01-28 | 三星电子株式会社 | Video apparatus and method for recognizing digital interface thereof |
CN101620521A (en) * | 2008-07-04 | 2010-01-06 | 宏正自动科技股份有限公司 | KVM switch and method for providing expansion display identification data of screen |
CN104704445A (en) * | 2012-09-25 | 2015-06-10 | Nec显示器解决方案株式会社 | Electronic device, communication system, and hot-plug control method |
US20190295509A1 (en) * | 2018-03-20 | 2019-09-26 | Aplex Technology Inc. | Image resolution auto-identifying system and method |
CN109408121A (en) * | 2018-09-19 | 2019-03-01 | 华东计算技术研究所(中国电子科技集团公司第三十二研究所) | EDID reading and configuring method, system and medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113691754A (en) * | 2021-08-17 | 2021-11-23 | 浙江大华技术股份有限公司 | Signal transmission control method and device, electronic equipment and storage medium |
CN113949910A (en) * | 2021-10-15 | 2022-01-18 | 深圳小湃科技有限公司 | Set top box resolution matching method and device, set top box and storage medium |
CN117055966A (en) * | 2023-10-13 | 2023-11-14 | 深圳中微电科技有限公司 | HDMI-based hot plug detection and processing method, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112866608B (en) | 2022-07-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112866608B (en) | Adaptive setting method and device for HDMI resolution and electronic device | |
US8255583B2 (en) | Digital interface system to support ethernet and cable connection state displaying method thereof | |
JP4968091B2 (en) | Electronic device, message response method and program | |
US8694696B2 (en) | Detection method and detection device and multimedia device for high-definition multimedia interface | |
US8255579B2 (en) | Device control apparatus and device control method in video image display system including a plurality of connected devices | |
US8713208B2 (en) | Image display device and method of changing first EDID with second EDID wherein the second EDID information is compatible with image display device | |
US7904611B2 (en) | Wireless communication apparatus and control method for the same | |
US10474241B2 (en) | Method and device for transmitting/receiving data using HDMI | |
US10162769B2 (en) | Method and apparatus for transmitting and receiving data using HDMI | |
US20140189892A1 (en) | Communication device and communication system | |
CN104380756A (en) | Electronic apparatus, electronic apparatus system, and electronic apparatus control method | |
US10997942B2 (en) | Display apparatus and control method of the same | |
US20080244680A1 (en) | Connection status checking apparatus and connection status checking method | |
CN112433689A (en) | Data transmission method and device for same-screen device, same-screen device and medium | |
EP3859540A1 (en) | Electronic apparatus capable of being connected to multiple external apparatuses having different protocols through a connection port and method of controlling the same | |
CN115802096B (en) | Multi-channel HDMI cooperative control method and system | |
US10769094B2 (en) | Configuration options for display devices | |
US20180063575A1 (en) | Content providing device and power source controlling method thereof | |
CN112423049B (en) | Information source connection display method, device, equipment and readable storage medium | |
CN112558900A (en) | Screen projection method, content source device and content receiving device | |
CN114173077B (en) | Control method and electronic equipment | |
JP2019029800A (en) | Video display device, control method thereof, program, and storage medium | |
US11493944B2 (en) | Electronic device system and power delivery method | |
CN108924458B (en) | EDID data rewriting method and device for HDMI extended channel and display terminal | |
WO2016103916A1 (en) | Communication system and communication method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |