Method and device for realizing unidirectional optical fiber transmission of HDMI ultra-high-definition video
By using a microcontroller and EEPROM on the transmitting and receiving ends, it supports the reading of EDID and SCDC registers by the video source, and simulates the DDC communication between the video source and the display, and solves the problem that 4K60Hz resolution cannot be transmitted in the prior art, and realizes the implementation of Efficient and compatible unidirectional fiber transmission HDMI ultra-high definition video.
Patent Information
- Application Number
- CN202410777845.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2044-06-17
AI Technical Summary
The existing mini series extenders adopt a one-way fiber transmission solution that cannot support EDID and SCDC bidirectional communication with 4K60Hz resolution in the HDMI 2.0 specification, resulting in the inability to transmit video with 4K60Hz resolution and above.
By setting the first microcontroller and EEPROM on the transmitting end, the video source supports reading of EDID and SCDC registers, and using the second microcontroller to simulate the DDC communication between the video source and the display at the receiving end, achieving 4K60Hz resolution unidirectional transmission.
It realizes one-way optical fiber transmission with 4K60Hz resolution, improves device compatibility and video transmission quality, and reduces device size and cost.
Smart Images

Figure CN119211465A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication-related technologies, and in particular to a method and device for implementing unidirectional optical fiber transmission of HDMI ultra-high-definition video. Background Art
[0002] The mini series extenders currently on the market use a unidirectional optical fiber transmission solution, do not support bidirectional communication of the display data channel (DDC) between the video source and the display, and cannot transmit and read the EDID and SCDC required for the 4K60Hz resolution in the HDMI 2.0 specification. Therefore, they only support resolutions of 4K30Hz and below, and cannot support compatibility with all resolutions of 4K60Hz and below. The remote receiving device of the present invention realizes unidirectional transmission of 4K60Hz resolution by simulating the communication between the video source and the display through a single-chip microcomputer. Summary of the invention
[0003] In view of this, the embodiments of the present application are directed to providing a method and device for implementing unidirectional optical fiber transmission of HDMI ultra-high-definition video.
[0004] The present application provides a method for implementing unidirectional optical fiber transmission of HDMI ultra-high-definition video, including: Based on the first single chip microcomputer and EEPROM set at the transmitting end, the video source is supported to read the EDID and SCDC registers; Based on the second single chip microcomputer arranged at the receiving end, the analog video source realizes DDC communication with the display.
[0005] In some embodiments, it also includes: Control the SCDC register according to the resolution of the image transmitted by the video source; The resolution of the image actually transmitted is determined based on the value stored in the register of SCDC.
[0006] In some embodiments, the register of SCDC is controlled according to the resolution of the image transmitted by the video source, including: The value of TMDS_BIT_CLOCK_RATIO is controlled according to the resolution of the image transmitted by the video source; when the image with the TMDS clock higher than 340MHZ is transmitted, TMDS_BIT_CLOCK_RATIO=1 is controlled; when the image with the TMDS clock lower than 340MHZ is transmitted, TMDS_BIT_CLOCK_RATIO=0 is controlled; The method of determining the resolution of the image actually transmitted based on the value stored in the register of the SCDC comprises: When TMDS_BIT_CLOCK_RATIO=1, images with a TMDS clock higher than 340MHZ are transmitted; when TMDS_BIT_CLOCK_RATIO=0, images with a TMDS clock lower than 340MHZ are transmitted.
[0007] In some embodiments, it also includes: Detects whether the display supports SCDC status register reading.
[0008] In some embodiments, it also includes: Display whether the display supports SCDC status register reading; In some embodiments, it also includes: When the display does not support SCDC status register reading, the working mode is switched to HDMI 1.4.
[0009] In some embodiments, it also includes: Get the switching instruction; Based on the switching instruction, the working mode is switched from HDMI 1.4 to HDMI 2.0, or the working mode is switched from HDMI 2.0 to HDMI 1.4.
[0010] The present application also provides a device for implementing unidirectional optical fiber transmission of HDMI ultra-high-definition video, including: A support module, for supporting the video source to read the EDID and SCDC registers based on a first single chip microcomputer and an EEPROM arranged at a transmitting end; The simulation module is used to simulate the video source to realize DDC communication with the display based on the second single chip microcomputer arranged at the receiving end.
[0011] The present application also provides an electronic device, comprising: A processor, and a memory for storing a program executable by the processor; The processor is used to implement the above-mentioned method for transmitting HDMI ultra-high-definition video via unidirectional optical fiber by running the program in the memory.
[0012] The present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the processor executes the method for implementing the unidirectional optical fiber transmission of HDMI ultra-high-definition video as described above.
[0013] In the solution provided by the present application, based on the first single-chip microcomputer and EEPROM set at the transmitting end, the video source is supported to read the EDID and SCDC registers; based on the second single-chip microcomputer set at the receiving end, the video source is simulated to realize DDC communication with the display. In this way, through the cooperation of the first single-chip microcomputer and the EEPROM, the video source can be supported to read the EDID (Extended Display Identification Data) and SCDC (Secondary Data Channel) registers. EDID contains relevant information of the display, such as manufacturer, model, supported resolution, etc., and SCDC is a channel for transmitting additional control information. This enables the system to better identify and adapt to different displays and improve compatibility. More importantly, based on the above method, one-way optical fiber transmission of HDMI ultra-high-definition video can be realized, which first solves the problem of large equipment size and inconvenient installation in the solution using dual optical fibers, and further reduces the cost of the equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0015] Figure 1 It is a flowchart of a method for implementing unidirectional optical fiber transmission of HDMI ultra-high-definition video provided by an embodiment of the present application.
[0016] Figure 2 It is a circuit diagram of the solution provided in this application.
[0017] Figure 3 It is a circuit diagram of the solution provided in this application.
[0018] Figure 4 This is a partial flow chart of the implementation method of unidirectional optical fiber transmission of HDMI ultra-high-definition video provided by this application. Figure 5 It is a structural schematic diagram of the implementation device of unidirectional optical fiber transmission of HDMI ultra-high-definition video in this application. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0020] Application Overview With the continuous improvement of high-definition video resolution, it has now reached 4K and 8K resolution, which puts forward higher requirements for long-distance transmission. In order to ensure the minimum delay of video images, uncompressed image quality, no loss of color depth, and the transmission process is not disturbed by the external environment, and to support a transmission distance of more than 300 meters, optical fiber has become the preferred transmission medium. However, in some existing solutions, dual optical fibers are required to achieve ultra-high-definition video transmission. Such a setting makes the equipment volume large and inconvenient to install. In some solutions, such as the OH18xx series ultra-high-definition mini optical fiber extender, it is favored by the market because of its small size and easy installation. However, due to the size limitation, it is impossible to adopt the standard two-way optical fiber transmission solution, and can only be transmitted through unidirectional optical fiber. HDMI's DDC protocol and SCDC control become the key to overcome unidirectional transmission.
[0021] Based on this, the present invention maintains DDC communication between the local single-chip microcomputer and the video source, and remotely uses the single-chip microcomputer to simulate the joint mechanism of DDC communication between the video source and the display, thereby realizing long-distance transmission of HDMI ultra-high-definition 4K60 video source without HDCP protection through unidirectional optical fiber.
[0022] After introducing the basic principles of the present application, various non-limiting embodiments of the present application will be described in detail with reference to the accompanying drawings.
[0023] Exemplary Methods like Figure 1 Figure 2 , Figure 3 , the implementation method of unidirectional optical fiber transmission of HDMI ultra-high-definition video provided by the present application includes: Step S110, based on the first single chip microcomputer and EEPROM arranged at the transmitting end, the video source is supported to read the EDID and SCDC registers; Specifically, the role of EDID (Extended Display Identification Data): EDID is a type of information sent by displays (such as monitors, projectors, etc.), which contains key information such as the manufacturer, model, supported resolution, refresh rate, etc. of the device. During video transmission, the sending device can better adapt to the display characteristics of the receiving device by reading EDID information, thereby optimizing the transmission of video signals.
[0024] Function of SCDC (Secondary Data Channel): SCDC is a channel in the HDMI interface used to transmit additional control information. It allows more complex communication between the sending device and the receiving device, such as adjusting the parameters of the video signal (such as resolution, color space, etc.).
[0025] The role of the first MCU: On the transmitting end, the first MCU is responsible for communicating with the video source to obtain relevant information about the EDID and SCDC registers. This is usually achieved through communication protocols such as I2C or I2S, through which the MCU interacts with the EDID register and SCDC register of the video source.
[0026] Function of EEPROM: EEPROM (Electrically Erasable Programmable Read-Only Memory) is a non-volatile memory used to store EDID and SCDC register information. On the transmitting end, EEPROM is used to store EDID and SCDC register information read from the video source for use in subsequent transmission.
[0027] The specific technical implementation is as follows: At the transmitting end, the first MCU interacts with the EDID register of the video source through a specific communication protocol (such as I2C or I2S) to read the required information. At the same time, the EEPROM is used to store this information for use during the transmission process. This process ensures that the transmitting device can adjust the transmission parameters of the video signal according to the EDID information of the receiving device to achieve the best compatibility and performance.
[0028] Step S120: Based on the second single chip microcomputer arranged at the receiving end, the video source is simulated to realize DDC communication with the display.
[0029] Specifically, the role of DDC communication: DDC (Display Data Channel) is the channel used to transmit video signals in the HDMI interface. During the video transmission process, the receiving device interacts with the display through DDC communication to obtain control information of the video signal.
[0030] The role of the second MCU: On the receiving end, the second MCU is responsible for the DDC communication between the analog video source and the display. This means that the second MCU needs to simulate the signal sent by the video source, including video data and control information.
[0031] The specific technical implementation is as follows: the second single-chip microcomputer simulates the corresponding DDC communication process by analyzing the video signal received from the transmitter. This includes sending video data, adjusting resolution, color space and other control information. In this way, the second single-chip microcomputer can communicate effectively with the display to ensure the correct transmission of the video signal.
[0032] It should be noted that the second MCU needs to have certain video processing capabilities to simulate the signal sent by the video source. This may involve operations such as encoding, decoding, and resolution adjustment of the video signal. The second MCU interacts with the display through DDC communication to ensure that the transmission parameters of the video signal match the expectations of the display. This includes adjusting the resolution, refresh rate, color space, etc. of the video signal to achieve the best display effect. By simulating DDC communication, the second MCU can optimize the transmission of the video signal according to the characteristics of the receiving end display. This not only improves the video quality, but also reduces display problems caused by device mismatch.
[0033] In summary, these two steps achieve efficient, flexible and optimized transmission of video signals by using a single-chip microcomputer and EEPROM at the transmitting end and receiving end respectively, and using a second single-chip microcomputer at the receiving end to simulate the DDC communication between the video source and the display. This technical solution not only improves the compatibility and quality of video transmission, but also reduces costs and complexity, providing possibilities for future technological development.
[0034] Furthermore, in some embodiments, the solution provided by the present application also includes: controlling the register of SCDC according to the resolution of the image transmitted by the video source; and determining the resolution of the image actually transmitted based on the value stored in the register of SCDC.
[0035] Specifically, in HDMI (High-Definition Multimedia Interface) technology, SCDC (Secondary Data Channel) is a mechanism for transmitting control information, which allows more flexible communication between the sending and receiving devices.
[0036] Further, the register of SCDC is controlled according to the resolution of the image transmitted by the video source, including: controlling the value of TMDS_BIT_CLOCK_RATIO according to the resolution of the image transmitted by the video source; when the image with the TMDS clock higher than 340MHZ is transmitted, TMDS_BIT_CLOCK_RATIO=1 is controlled; when the image with the TMDS clock lower than 340MHZ is transmitted, TMDS_BIT_CLOCK_RATIO=0 is controlled; The value stored in the register based on SCDC determines the resolution of the actual transmitted image, including: when TMDS_BIT_CLOCK_RATIO=1, transmitting an image with a TMDS clock higher than 340MHZ; when TMDS_BIT_CLOCK_RATIO=0, transmitting an image with a TMDS clock lower than 340MHZ.
[0037] Specifically, TMDS_BIT_CLOCK_RATIO is a term related to HDMI (High-Definition Multimedia Interface) technology. It is a parameter used to control and indicate the transmission rate of HDMI signals. In the HDMI interface, TMDS (Transition Minimized Differential Signaling) is an encoding and transmission technology for transmitting high-speed digital video and audio data. By dynamically adjusting the value of TMDS_BIT_CLOCK_RATIO, the HDMI transmitter and receiver can communicate with each other to ensure that the video signal is transmitted at a rate that is most suitable for the current content, thereby optimizing bandwidth usage and ensuring video quality.
[0038] In the solution provided by this application, when high-resolution video needs to be transmitted, that is, when the TMDS clock is higher than 340MHz, TMDS_BIT_CLOCK_RATIO is set to 1. This is equivalent to a signal that tells the receiving end (such as a TV or monitor): "Be prepared to receive high-speed data streams because high-resolution video is coming." When lower-resolution video is transmitted, that is, when the TMDS clock is lower than 340MHz, TMDS_BIT_CLOCK_RATIO is set to 0. This tells the receiver: "Standard definition video is about to be transmitted, which does not require such a high transmission rate. The SCDC register stores the value of TMDS_BIT_CLOCK_RATIO, which is set by the transmitter (such as a Blu-ray player) according to the resolution of the video source. When the TMDS_BIT_CLOCK_RATIO value in the SCDC register is 1, it means that the transmitter is transmitting a TMDS clock higher than 340MHz, so the receiver configures itself to receive and display high-resolution video. When the TMDS_BIT_CLOCK_RATIO value is 0, it means that the transmitter is transmitting a TMDS clock lower than 340MHz, and the receiver adjusts itself accordingly to receive and display lower resolution video.
[0039] Furthermore, the method for implementing unidirectional optical fiber transmission of HDMI ultra-high-definition video further includes: detecting whether the display supports SCDC status register reading, displaying whether the display supports SCDC status register reading; and switching the working mode to HDMI 1.4 when the display does not support SCDC status register reading.
[0040] In the solution provided by this application, detecting whether the display supports SCDC (Secondary Data Channel) status register reading is an important step, because it affects whether the sending device can effectively communicate with the display and adjust the parameters of video transmission according to the capabilities of the display. The following are the general steps of the detection process: Initialize communication: When an HDMI transmitter device (such as a player or computer) is connected to a display (such as a TV or monitor), the transmitter device will initialize communication with the display.
[0041] Send Query: The sending device sends a specific query signal or command through the HDMI interface to request the display to provide a list of supported functions. This usually involves sending a specific HDMI signal or sending a message through the I2C bus.
[0042] Read Response: After receiving the query, the display will respond with a signal or data packet containing information about the functions it supports. This response will indicate whether the display supports SCDC.
[0043] Parsing support information: The sending device receives and parses the display's response to check if it contains a confirmation of SCDC support. The SCDC support information may be in the form of a specific bit field, flag, or code.
[0044] Determine compatibility: If the display confirms that it supports SCDC, the sender device will know that it can utilize SCDC to transmit additional control information, such as resolution preference, color space settings, etc. If not, the sender device may need to fall back to other communication methods or default settings.
[0045] Adjust transmission parameters: Based on the detection results, the sending device adjusts its transmission parameters to ensure that the video signal can be transmitted to the display with the best quality and resolution.
[0046] User interface feedback: In some cases, the sending device may provide feedback in the user interface to inform the user whether the display supports SCDC and the currently selected video transmission settings.
[0047] Through this process, the HDMI transmitter device can intelligently communicate with the display and optimize video transmission based on the display's capabilities, either automatically or through manual user settings. This is critical to providing a high-quality visual experience, especially with the widespread use of multiple displays and multiple video formats.
[0048] It should be noted that, in some embodiments, the process of determining the working mode is as follows: Figure 4 shown.
[0049] In some embodiments, the solution provided by the present application also includes: obtaining a switching instruction; based on the switching instruction, switching the working mode from HDMI 1.4 to HDMI 2.0, or switching the working mode from HDMI 2.0 to HDMI 1.4; with such a setting, if the display does not support SCDC, the user may need to manually select the video transmission setting. Of course, in actual applications, the transmitting device may provide other mechanisms to ensure compatibility. Specifically, when the non-standard display does not support the reading of the SCDC status register, the transmission mode is forced to switch to HDMI 2.0 mode or HDMI 1.4 mode by pressing and holding an external button for 6 seconds.
[0050] Exemplary Devices The device embodiments of the present application can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
[0051] Figure 5 FIG. 1 is a block diagram of a device for implementing unidirectional optical fiber transmission of HDMI ultra-high-definition video provided by an embodiment of the present application. Figure 5 As shown, the device comprises: A support module 51 is used for supporting the video source to read the EDID and SCDC registers based on the first single chip microcomputer and EEPROM arranged at the transmitting end; The simulation module 52 is used to simulate the video source to realize DDC communication with the display based on the second single chip microcomputer arranged at the receiving end.
[0052] In some embodiments, it also includes: Control the SCDC register according to the resolution of the image transmitted by the video source; The resolution of the image actually transmitted is determined based on the value stored in the register of SCDC.
[0053] In some embodiments, the register of SCDC is controlled according to the resolution of the image transmitted by the video source, including: The value of TMDS_BIT_CLOCK_RATIO is controlled according to the resolution of the image transmitted by the video source; when the image with the TMDS clock higher than 340MHZ is transmitted, TMDS_BIT_CLOCK_RATIO=1 is controlled; when the image with the TMDS clock lower than 340MHZ is transmitted, TMDS_BIT_CLOCK_RATIO=0 is controlled; The method of determining the resolution of the image actually transmitted based on the value stored in the register of the SCDC comprises: When TMDS_BIT_CLOCK_RATIO=1, images with a TMDS clock higher than 340MHZ are transmitted; when TMDS_BIT_CLOCK_RATIO=0, images with a TMDS clock lower than 340MHZ are transmitted.
[0054] In some embodiments, it also includes: Detects whether the display supports SCDC status register reading.
[0055] In some embodiments, it also includes: Display whether the display supports SCDC status register reading; In some embodiments, it also includes: When the display does not support SCDC status register reading, the working mode is switched to HDMI 1.4.
[0056] In some embodiments, it also includes: Get the switching instruction; Based on the switching instruction, the working mode is switched from HDMI 1.4 to HDMI 2.0, or the working mode is switched from HDMI 2.0 to HDMI 1.4.
[0057] Exemplary computer program products and computer-readable storage media In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the implementation method of unidirectional optical fiber transmission of HDMI ultra-high-definition video according to various embodiments of the present application described in the above "Exemplary Method" section of this specification.
[0058] The computer program product may be written in any combination of one or more programming languages to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0059] In addition, an embodiment of the present application may also be a computer-readable storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the processor executes the steps in the method for implementing unidirectional optical fiber transmission of HDMI ultra-high-definition video according to various embodiments of the present application as described in the above “Exemplary Method” section of this specification.
[0060] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0061] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present application to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A method for implementing unidirectional optical fiber transmission of HDMI ultra-high-definition video, characterized in that: include: Based on the first single chip microcomputer and EEPROM set at the transmitting end, the video source is supported to read the EDID and SCDC registers; Based on the second single chip microcomputer arranged at the receiving end, the analog video source realizes DDC communication with the display.
2. The method for implementing unidirectional optical fiber transmission of HDMI ultra-high-definition video according to claim 1, characterized in that: Also includes: Control the SCDC register according to the resolution of the image transmitted by the video source; The resolution of the image actually transmitted is determined based on the value stored in the register of SCDC.
3. The method for implementing unidirectional optical fiber transmission of HDMI ultra-high-definition video according to claim 2, characterized in that: The register of SCDC is controlled according to the resolution of the image transmitted by the video source, including: The value of TMDS_BIT_CLOCK_RATIO is controlled according to the resolution of the image transmitted by the video source; when the image with the TMDS clock higher than 340MHZ is transmitted, TMDS_BIT_CLOCK_RATIO=1 is controlled; when the image with the TMDS clock lower than 340MHZ is transmitted, TMDS_BIT_CLOCK_RATIO=0 is controlled; The method of determining the resolution of the image actually transmitted based on the value stored in the register of the SCDC comprises: When TMDS_BIT_CLOCK_RATIO=1, images with a TMDS clock higher than 340MHZ are transmitted; when TMDS_BIT_CLOCK_RATIO=0, images with a TMDS clock lower than 340MHZ are transmitted.
4. The method for implementing unidirectional optical fiber transmission of HDMI ultra-high-definition video according to claim 1, characterized in that: Also includes: Detects whether the display supports SCDC status register reading.
5. The method for implementing unidirectional optical fiber transmission of HDMI ultra-high-definition video according to claim 4, characterized in that: Also includes: Shows whether the display supports SCDC status register reading.
6. The method for implementing unidirectional optical fiber transmission of HDMI ultra-high-definition video according to claim 1, characterized in that: Also includes: When the display does not support SCDC status register reading, the working mode is switched to HDMI 1.
4.
7. The method for implementing unidirectional optical fiber transmission of HDMI ultra-high-definition video according to claim 1, characterized in that: Also includes: Get the switching instruction; Based on the switching instruction, the working mode is switched from HDMI 1.4 to HDMI 2.0, or the working mode is switched from HDMI 2.0 to HDMI 1.
4.
8. A device for implementing unidirectional optical fiber transmission of HDMI ultra-high-definition video, characterized in that: include: A support module, for supporting the video source to read the EDID and SCDC registers based on a first single chip microcomputer and an EEPROM arranged at a transmitting end; The simulation module is used to simulate the video source to realize DDC communication with the display based on the second single chip microcomputer arranged at the receiving end.
Citation Information
Patent Citations
EDID self-adapting method and system
CN106937071A
Remotely-operable multi-interface ultra-high definition video long-distance transmission system
CN108924456A
Transmission method and system supporting HDMI 2.1 signal single-path input and multi-path output
CN112261334A
Display device and transmission protocol automatic switching method
CN114286143A
Display device and interaction method of display device and CEC device
CN117834967A
