Display device and cross-chip processing method of HDMI signal
By setting up independent target communication links in the display device to transmit the frame rate and resolution attributes of HDMI signals, the problem of information loss under multi-chip architecture is solved, achieving screen tear-free display and synchronization of display parameters, thus improving the display effect.
Patent Information
- Application Number
- CN202611281277.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-21
- Publication Date
- 2026-11-27
AI Technical Summary
In multi-chip display devices, some HDMI-related information is lost during the transmission of HDMI signals between master and slave chips, resulting in the failure of the variable refresh rate function and abnormal image display.
A target communication link, independent of the video conversion link, is set up between the first controller and the second controller. The frame rate and resolution attributes of the HDMI signal are transmitted through this link to ensure that the second controller can synchronously configure the display parameters.
It solves the problems of screen tearing and display errors under multi-chip architecture, achieves reliability and real-time processing of HDMI signals across chips, and adapts to the interface limitations of ultra-wide screen dual-master hardware architecture.
Smart Images

Figure FT_1 
Figure FT_2 
Figure FT_3
Abstract
Description
Technical Field
[0001] This application relates to the field of display device technology, and in particular to a display device and a cross-chip processing method for HDMI signals. Background Technology
[0002] Display devices are intelligent devices capable of presenting a user interface and supporting user interaction. Taking smart TVs as an example, smart TVs are television products based on Internet application technology, equipped with open operating systems and chips, possessing open application platforms, enabling two-way human-computer interaction, and integrating multiple functions such as audio-visual, entertainment, and data to meet diverse and personalized user needs.
[0003] Display devices support Variable Refresh Rate (VRR) technology, designed to eliminate screen tearing in gaming and video playback scenarios. When implementing VRR signal processing in a single-chip architecture display device, the external signal source inputs a complete signal containing HDMI-related data packets, including video, audio, and VRR-specific information frames (InfoFrames), via a High-Definition Multimedia Interface (HDMI). The HDMI driver within the single chip can directly capture the complete data packets. After internal callbacks and middleware processing, local display parameters, such as local VRR, are directly configured. The entire process is completed within the single chip, eliminating the risk of information loss.
[0004] However, in multi-chip display devices, which include a master chip and at least one slave chip, the master chip receives the raw HDMI signal and performs image processing. Then, a conversion chip performs format conversion for protocols such as embedded DisplayPort (eDP) and Mobile Industry Processor Interface (MIPI). The converted video signal is then sent to the slave display driver chip for display. In this architecture, the display device transmits all image-related information via the video signal link. Because the eDP and MIPI intermediate conversion protocols are incompatible with HDMI standard data packets, some HDMI-related information is directly discarded during transmission between the master and slave chips (e.g., VRR information is lost). This causes the slave chip to be unable to obtain the corresponding HDMI-related information, leading to malfunctions of some functions (such as variable refresh rate functionality) and abnormal image display, affecting the user experience. Summary of the Invention
[0005] This application provides a cross-chip processing method for display devices and HDMI signals to solve the problem of poor cross-chip processing performance of HDMI signals.
[0006] In a first aspect, this application provides a display device, comprising: monitor; A first controller is configured to receive a raw HDMI signal via the HDMI interface and to convert the raw HDMI signal into a first signal of a first format. The second controller is electrically connected to the display. The video conversion link is configured to convert a first signal output by the first controller into a second signal in a second format, and transmit the second signal to the second controller; The target communication link is configured to connect the first controller and the second controller, and the target communication link is independent of the video conversion link; The first controller is configured as follows: When the target attribute is parsed from the original HDMI signal, the target attribute is encapsulated into a data frame according to a preset communication protocol, and the data frame is sent to the second controller through the target communication link; the target attribute includes at least one of frame rate and resolution; The second controller is configured as follows: The data frame is received through the target communication link; The target attribute is parsed from the data frame, and the display parameters are configured according to the target attribute; The display is driven to output the second signal display image according to the configured display parameters.
[0007] The above technical solution has the following beneficial effects: This system establishes a physically independent target communication link, separate from the video conversion link, to transmit native HDMI target attributes such as frame rate and resolution. This addresses the shortcomings of multi-level protocol conversion links, such as lost attribute packets and the inability of the second controller to synchronize configuration parameters. The first controller parses HDMI signal attribute changes in real time and sends them out in a bypass manner, enabling the second controller to synchronously match the screen refresh rate and pixel specifications, eliminating screen tearing and frame display errors in multi-chip architectures. Simultaneously, video streams and configuration information are transmitted on separate channels without interference, adapting to the inherent interface limitations of ultra-widescreen dual-master control hardware architectures.
[0008] In some embodiments of this application, the first controller is configured as follows: The information frames carrying the target attributes within the original HDMI signal are monitored through the HDMI underlying driver. When a change in the information frame is detected, the underlying callback function is triggered to generate a state change event; The first controller is configured as follows: The underlying callback function notifies the HDMI middleware of the state change event, and the HDMI middleware reads the target attribute based on the original HDMI signal.
[0009] The above technical solution has the following beneficial effects: Employing a low-level driver monitoring and hardware callback event triggering mechanism, it eliminates the need for continuous resource consumption to poll signal status, thus reducing the computing power consumption of the first controller. Subsequent reading and encapsulation processes are only triggered when the information frame actually changes, resulting in lower response latency, stronger real-time performance, and adaptability to high-speed signal scenarios such as dynamic switching of variable refresh rates.
[0010] In some embodiments of this application, the first controller encapsulates the target attribute into a data frame according to a preset communication protocol, specifically configured as follows: The data frame is encapsulated according to the preset communication protocol. The data frame defined by the preset communication protocol includes a frame header identifier, the target attribute, a reference checksum, and a frame tail identifier. The frame header identifier is used by the second controller to identify the start of the data frame. The reference checksum is used to verify the data integrity of the data frame. The frame tail identifier is used by the second controller to identify the end of the data frame. After receiving the frame header identifier of the data frame through the target communication link, the second controller is further configured to: In response to receiving the frame end identifier of the data frame, calculate the current checksum of the data frame; If the current checksum does not match the baseline checksum, the data frame is discarded, and a retransmission request is sent to the first controller via the target communication link; the retransmission request is used to instruct the first controller to retransmit the data frame.
[0011] The above technical solution has the following beneficial effects: Employing a standardized proprietary communication frame structure with frame headers, frame trailers, and checksums, the second controller can accurately distinguish data frame boundaries, preventing multiple frames from sticking together and parsing errors. Simultaneously, by verifying transmission integrity through checksums, a retransmission mechanism is added to address packet loss and error issues caused by interference in the target communication link. This ensures reliable cross-chip transmission of critical configuration parameters such as frame rate and resolution, preventing display anomalies caused by parameter transmission errors.
[0012] In some embodiments of this application, the video conversion link includes a first conversion chip and a second conversion chip; the first format is an embedded display port format, and the second format is a mobile industry processor interface format and an HDMI format; The video conversion link converts the first signal output by the first controller into a second signal in a second format, and transmits the second signal to the second controller, specifically configured as follows: The first controller outputs a first signal in embedded display port format to the first conversion chip; The first conversion chip converts the first signal in the embedded display port format into a second signal in the mobile industry processor interface format, and outputs the second signal in the mobile industry processor interface format to the second conversion chip. The second conversion chip converts the second signal in the mobile industry processor interface format into a second signal in the HDMI format, and then transmits the second signal in the HDMI format to the second controller.
[0013] The above technical solution has the following beneficial effects: With the first controller supporting only eDP output and the second controller supporting only HDMI input, a two-stage conversion chip is used to cascade the conversion between the various protocols, enabling hardware-based image transmission between the two controllers. Simultaneously, it is clarified that the multi-stage conversion link only transmits pure pixel images; native HDMI frame rate and resolution attributes cannot be transmitted with the video stream, thus defining the core role of the independent target communication link.
[0014] In some embodiments of this application, the first controller is further configured to: At preset time intervals, a heartbeat packet is sent to the second controller through the target communication link, and the heartbeat packet carries summary information corresponding to the target attribute; The second controller is also configured to: The heartbeat packet is received through the target communication link, and a response feedback of the heartbeat packet is sent to the first controller through the target communication link; Based on the heartbeat packet, verify whether the display parameters configured by the second controller are consistent with the display parameters of the first controller; If the displayed parameters are inconsistent, a synchronization request is sent to the first controller through the target communication link so that the first controller resends the target attribute.
[0015] The above technical solution has the following beneficial effects: A periodic heartbeat synchronization mechanism is added to continuously verify the consistency of display configuration parameters at both ends, compensating for the asynchrony issues caused by lost or missed data frames during a single transmission. The heartbeat packet only carries an attribute summary, resulting in a small data volume and minimal bandwidth consumption. Furthermore, the second controller can proactively initiate synchronization requests to automatically correct parameter mismatch faults, thereby improving the stability of display parameter synchronization between the two controllers.
[0016] In some embodiments of this application, the second controller is further configured to: If the data frame or heartbeat packet is not received through the target communication link within a preset time, it is determined that the target communication link is in an abnormal communication state, and the display parameters are kept unchanged. When the second controller receives the heartbeat packet again, it determines that the target communication link has returned to normal communication status; After the target communication link returns to normal communication status, the first controller is further configured to: Actively send the target attribute to the second controller; The second controller is also configured to: The system receives the target attribute actively sent by the first controller and reconfigures the display parameters based on the target attribute.
[0017] The above technical solution has the following beneficial effects: It possesses the ability to identify and self-heal communication link faults. When the link is abnormal, it maintains the original display parameters, thus avoiding random screen configuration errors. After the link is restored, the first controller actively sends out all target attributes, and both ends automatically resynchronize the frame rate and resolution configurations, eliminating the need for users to switch signal sources, thereby improving the device's fault tolerance and user experience.
[0018] In some embodiments of this application, the first controller is further configured to: After continuously sending a preset number of heartbeat packets to the second controller through the target communication link, if no response feedback is received from the second controller within the preset time, a whole machine restart command is generated. In response to the system restart command, the display device is restarted.
[0019] The above technical solution has the following beneficial effects: A system-wide restart mechanism is implemented to address faults such as complete communication link disconnection and unresponsive secondary controllers. This resolves issues like dual-controller communication freezes and persistent screen anomalies without remedial measures. Furthermore, a hardware freeze fault is identified by the absence of continuous heartbeat responses, enabling automatic system reset to restore the communication link and reduce the probability of failure.
[0020] In some embodiments of this application, the target communication link is a physical channel corresponding to a universal asynchronous transceiver, the physical channel is configured to support bidirectional communication between the first controller and the second controller, and the physical channel is also used to send configuration instructions for screen timing parameters.
[0021] The above technical solution has the following beneficial effects: The channel uses a universal asynchronous transceiver interface as the bidirectional communication carrier, resulting in low pin resource consumption. In addition to transmitting HDMI frame rate and resolution-related attributes, the channel can also send local panel configuration commands such as screen timing parameters, thereby expanding the channel's versatility.
[0022] In some embodiments of this application, the target attribute is a variable refresh rate attribute corresponding to the frame rate, and the first controller is further configured to: In response to detecting the disappearance of the variable refresh rate attribute in the original HDMI signal, a shutdown command is sent to the second controller via the target communication link; The second controller is also configured to: In response to the shutdown command, the variable refresh rate function of the second controller is disabled, and the display mode is switched to a fixed refresh rate mode, which is used to output the display screen according to a preset fixed refresh rate; The display is driven to output the display image based on the preset fixed refresh rate.
[0023] The above technical solution has the following beneficial effects: For variable refresh rate scenarios such as VRR, when the variable refresh rate indicator is removed from the HDMI signal, the first controller simultaneously issues a shutdown command, and the second controller promptly shuts down the VRR module and switches to fixed refresh rate mode. This avoids mutual exclusion and conflict between VRR and fixed refresh rate mode parameters, and solves the problems of screen flickering and timing abnormalities caused by the second controller continuously turning on VRR.
[0024] Secondly, this application also provides a cross-chip processing method for variable refresh rate signals, applied to a display device, the display device including a display, a first controller, and a second controller electrically connected to the display; the first controller is configured with an HDMI interface, and the first controller is configured to receive a raw HDMI signal based on the HDMI interface, and to convert the raw HDMI signal into a first signal of a first format; the first controller and the second controller are provided with mutually independent video conversion links and target communication links, the video conversion links being used to convert the first signal output by the first controller into a second signal of a second format, and to transmit the second signal to the second controller; the method includes: When the first controller parses the change in the target attribute based on the original HDMI signal, it encapsulates the target attribute into a data frame according to a preset communication protocol and sends the data frame to the second controller through the target communication link. The target attribute includes at least one of frame rate and resolution. The second controller receives the data frame through the target communication link; Based on the second controller, the target attribute is parsed from the data frame, and display parameters are configured according to the target attribute; The second controller drives the display to output the display image of the second signal according to the configured display parameters.
[0025] The above technical solution has the following beneficial effects: By synchronizing frame rate and resolution attributes through an independent bypass channel, the defect of losing HDMI control information in multi-level video conversion links can be improved. This method can be directly deployed in the display device's firmware without changing the hardware structure. By synchronously updating the display parameters of the second controller, it can ensure that there is no screen tearing or stretching during variable refresh rate and resolution switching, thereby improving the display effect of the multi-controller architecture. Attached Figure Description
[0026] To more clearly illustrate the technical solution of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0027] Figure 1 This is a schematic diagram illustrating the operation scenarios of a display device provided in some embodiments of this application; Figure 2 This is a schematic diagram of the hardware configuration of a display device provided in some embodiments of this application; Figure 3 This is a schematic diagram of the software configuration of a display device provided in some embodiments of this application; Figure 4 This application provides a connection architecture diagram for a dual controller in some embodiments. Figure 5 This application provides schematic diagrams of signal transmission paths for a multi-controller architecture as shown in some embodiments. Figure 6 This is a schematic flowchart of a cross-chip processing method for HDMI signals provided in some embodiments of this application; Figure 7 This is a schematic diagram of the communication protocol data frame structure provided in some embodiments of this application; Figure 8 Interaction diagrams of the heartbeat synchronization process provided in some embodiments of this application; Figure 9 Interaction diagrams for communication link anomaly handling and recovery provided in some embodiments of this application; Figure 10 This is a schematic diagram of the whole machine restart process provided in some embodiments of this application; Figure 11Interaction diagrams of the variable refresh rate shutdown process provided in some embodiments of this application; Figure 12 A diagram illustrating a dual-controller connection architecture based on UART communication provided for some embodiments of this application; Figure 13 A method for processing HDMI signals is provided for some embodiments of this application; Figure 14 Another method for processing HDMI signals is provided for some embodiments of this application. Detailed Implementation
[0028] In this embodiment, the display device 200 generally refers to a device with screen display and data processing capabilities. For example, the display device 200 includes, but is not limited to, smart TVs, mobile terminals, computers, monitors, advertising screens, wearable devices, virtual reality devices, augmented reality devices, etc.
[0029] Figure 1 This is a schematic diagram illustrating an operational scenario between a display device and a control device provided in some embodiments of this application. For example... Figure 1 As shown, a user can operate the display device 200 via touch operation, a mobile terminal 300, and a control device 100. The control device 100 receives user input commands and converts them into control commands that the display device 200 can recognize and respond to. For example, the control device 100 can be a remote control, a stylus, a gamepad, etc.
[0030] The mobile terminal 300 can function as a control device for human-computer interaction between the user and the display device 200. It can also function as a communication device for establishing a communication connection with the display device 200 and exchanging data. In some embodiments, the mobile terminal 300 can have software applications installed on it and communicate with the display device 200 via network communication protocols to achieve one-to-one control and data communication. Furthermore, it can transmit audio and video content displayed on the mobile terminal 300 to the display device 200 for synchronized display.
[0031] In some embodiments, the mobile terminal 300 or other electronic devices may also simulate the functions of the control device 100 by running an application that controls the display device 200.
[0032] like Figure 1 The diagram also shows that the display device 200 communicates with the server 400 via various communication methods. This allows the display device 200 to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks.
[0033] Display device 200 can provide broadcast television reception function, and can also be equipped with intelligent network television function that provides computer support, including but not limited to network television, smart television, Internet Protocol television (IPTV), etc.
[0034] Figure 2 Provided for some embodiments of this application Figure 1 Hardware configuration block diagram of display device 200.
[0035] In some embodiments, the display device 200 may include at least one of a tuner 210, a communication device 220, a detector 230, a device interface 240, a controller 250, a display 260, an audio output device 270, a memory, a power supply, and a user input interface 280.
[0036] In some embodiments, the display device 200 may employ a multi-controller architecture to... Figure 2 Taking the hardware configuration block diagram of the display device 200 shown as an example, the display device 200 adopts a dual-controller architecture. The controller 250 includes a first controller 251 and a second controller 252. The first controller 251 and the second controller 252 have the same hardware configuration.
[0037] The first controller 251 is connected to the display 260 and is used to control the display 260 to show the image and to perform switching and scheduling of signal source channels. The first controller 251 and the second controller 252 are connected through an internal channel used to transmit the display image between the first controller 251 and the second controller 252. The internal channel can be an internal HDMI channel, which is invisible to the application and does not display an entry for the internal HDMI channel in the signal source list. The application does not need to be aware of the existence of the internal HDMI channel.
[0038] It should be understood that the display device 200 provided in this embodiment may also adopt a multi-controller architecture with two or more controllers. The above-mentioned dual-controller architecture is only an exemplary embodiment of this application and is not a specific limitation on the number of controllers used by the display device 200.
[0039] In some embodiments, detector 230 is used to acquire signals from the external environment or to interact with the outside world. For example, detector 230 includes a light receiver, a sensor for acquiring ambient light intensity; or, detector 230 includes an image acquisition device, such as a camera, which can be used to acquire external environmental scenes, user attributes, or user interaction gestures; or, detector 230 includes a sound acquisition device, such as a microphone, for receiving external sounds.
[0040] In some embodiments, the display 260 includes display function components for presenting images and driving components for driving image display. The display 260 is used to receive and display image signals output from the controller 250. For example, the display 260 can be used to display video content, image content, menu control interface components, and user control UI interfaces, etc.
[0041] In some embodiments, the communication device 220 is a component used to communicate with external devices or the server 400 according to various communication protocol types. The display device 200 may have multiple communication devices 220 depending on the supported communication methods. For example, when the display device 200 supports wireless network communication, it may have a communication device 220 with WiFi functionality. When the display device 200 supports Bluetooth connectivity, it needs to have a communication device 220 with Bluetooth functionality.
[0042] The communication device 220 enables the display device 200 to communicate with external devices or the server 400 via wireless or wired connections. Wired connections utilize data cables, interfaces, or other components to connect the display device 200 to external devices. Wireless connections utilize wireless signals or wireless networks. The display device 200 can directly establish a connection with external devices or indirectly through gateways, routers, or other connection devices.
[0043] In some embodiments, the controller 250 may include at least one of a central processing unit, a video processor, an audio processor, a graphics processor, and a power processor, and a first to an nth interface for input / output. The controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display device 200.
[0044] In some embodiments, the controller 250 and the tuner 210 may be located in different separate devices, that is, the tuner 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
[0045] In some embodiments, a user can input user commands through a graphical user interface (GUI) displayed on a display 260, and the user input interface 280 receives the user input commands through the graphical user interface (GUI).
[0046] In some embodiments, the audio output device 270 can be a built-in speaker of the display device 200 or an external audio output device connected to the display device 200. For the external audio output device connected to the display device 200, the display device 200 may also be provided with an external audio output terminal, through which the audio output device can be connected to the display device 200 to output sound from the display device 200.
[0047] In some embodiments, the user input interface 280 can be used to receive instructions from user input.
[0048] To enable user interaction, in some embodiments, the display device 200 may run an operating system. The operating system is a computer program used to manage and control the hardware and software resources of the display device 200. The operating system can control the display device to provide a user interface; for example, the operating system can directly control the display device to provide a user interface, or it can provide a user interface by running an application. The operating system also allows users to interact with the display device 200.
[0049] It should be noted that the operating system can be a native operating system based on a specific operating platform, a third-party operating system that is deeply customized based on a specific operating platform, or an independent operating system specifically developed for display devices.
[0050] An operating system can be divided into different modules or levels based on the functions it implements, for example... Figure 3 As shown, in some embodiments, the system is divided into four layers, from top to bottom: the Applications layer (referred to as the "Application Layer"), the Application Framework layer (referred to as the "Framework Layer"), the System Runtime Library layer, and the Kernel Layer.
[0051] In some embodiments, the application layer provides services and interfaces for applications, enabling the display device 200 to run applications and interact with the user based on the applications. The application layer may contain at least one application, which may be a built-in Windows program, system settings program, or clock program of the operating system; or it may be an application developed by a third-party developer. In specific implementations, the application packages in the application layer are not limited to the examples above.
[0052] In some embodiments, based on the multi-controller architecture provided in the foregoing embodiments, the application layer may include multiple sub-application layers, each corresponding to a controller, for different controllers to run applications in their respective sub-application layers. For example, taking the dual-controller architecture provided in the foregoing embodiments, the application layer includes a first sub-application layer and a second sub-application layer. The first sub-application layer includes applications 1, 2, etc., which are applications running on the first controller 251; the second sub-application layer includes applications 3, 4, etc., which are applications running on the second controller 252.
[0053] It should be noted that the number of sub-application layers is the same as the number of controllers in the multi-controller architecture. This ensures a one-to-one correspondence between sub-application layers and controllers, allowing controllers to run applications in isolation, preventing resource contention between applications running on different controllers, guaranteeing the stability of each controller, and improving the overall smoothness of the display device 200. The framework layer provides application programming interfaces (APIs) and programming frameworks for applications. The application framework layer includes some predefined functions. The application framework layer acts as a processing center, determining the actions of applications within the application layer. Applications can access system resources and obtain system services during execution through the API interface.
[0054] like Figure 3 As shown, the application framework layer in this embodiment includes a view system, managers, and content providers. The view system designs and implements the application's interface and interactions, and includes lists, grids, text boxes, and buttons. The managers include at least one of the following modules: an activity manager for interacting with all running activities in the system; a location manager for providing system services or applications with access to system location services; a package manager for retrieving various information related to application packages currently installed on the device; a notification manager for controlling the display and clearing of notification messages; and a window manager for managing icons, windows, toolbars, wallpapers, and desktop widgets on the user interface.
[0055] In some embodiments, the Activity Manager manages the lifecycle of individual applications and common navigation and back functions, such as controlling application exit, opening, and back actions. The Window Manager manages all window programs, such as obtaining the screen size, determining if a status bar is present, locking the screen, capturing the screen, and controlling changes to the display window, such as shrinking the display window, shaking the display, or distorting the display.
[0056] In some embodiments, the system runtime library layer can provide support for the framework layer. When the framework layer is used, the operating system runs the instruction library contained in the system runtime library layer, such as the C / C++ instruction library, to implement the functions to be performed by the framework layer.
[0057] In some embodiments, the kernel layer is a functional layer situated between the hardware and software of the display device 200. The kernel layer can implement functions such as hardware abstraction, multitasking, and memory management. For example, ... Figure 3 As shown, hardware drivers can be configured in the kernel layer. The kernel layer can contain at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.
[0058] It should be noted that the above examples are merely a simple division of operating system functions and do not limit the specific form of the operating system of the display device 200 in this application embodiment. Depending on the function of the display device, the type of operating system, and other factors, the number of levels and the specific level type of the operating system may be expressed in other forms.
[0059] Figure 4 This is a diagram illustrating the connection architecture of a dual controller provided in some embodiments of this application. For example... Figure 4 As shown, in some embodiments, the first controller 251 is equipped with an HDMI interface to receive the raw HDMI signal input from an external signal source via the HDMI interface, and performs image quality processing, scaling, and other operations on the raw HDMI signal before outputting it to the second controller 252 via the video conversion link 410. The second controller 252 is electrically connected to the display 260 and is used to receive the image signal transmitted via the video conversion link 410 and drive the display 260 to output the display image.
[0060] For example, the display device 200 can be a 21:9 widescreen television. Due to the special characteristics of the 21:9 widescreen panel, a multi-controller collaborative architecture is required. The first controller 251, as the main chip, is responsible for receiving external HDMI signals and performing the main image quality processing; the second controller 252, as the slave chip, is responsible for receiving video signals transmitted via the video conversion link 410 and driving the display 260 to display the signal.
[0061] Due to the hardware interface limitations of the first controller 251, the first controller 251 only supports HDMI signal input, but does not support HDMI signal output; similarly, the second controller 252 does not support other signal inputs, and can only support HDMI signal input.
[0062] Therefore, due to the aforementioned hardware interface limitations, a video conversion link 410 must be established between the first controller 251 and the second controller 252. The first controller 251 converts the received raw HDMI signal into an eDP signal and outputs it to the video conversion link 410. The video conversion link 410 then processes the signal through a series of steps, converts it back into an HDMI signal, and outputs the converted HDMI signal to the second controller 252, thereby enabling cross-chip transmission of the HDMI signal.
[0063] In some implementations, the video conversion link 410 first converts the eDP signal output by the first controller 251 into a MIPI signal, and then converts the MIPI signal into an HDMI signal. Multi-stage conversion can distribute the high refresh rate bandwidth load and adapt to the native MIPI image processing path.
[0064] However, during the transmission of the image signal in the aforementioned video conversion link 410, the original HDMI signal carries various InfoFrame data packets in addition to video and audio data. These packets include native HDMI attribute information such as frame rate, resolution, and Variable Refresh Rate (VRR). When the original HDMI signal undergoes multi-level format conversion via any intermediate protocol such as eDP or MIPI, because these intermediate protocols only transmit pixel data and basic image timing signals and are not compatible with the HDMI standard's data packet format, all HDMI-related attribute information encapsulated within the InfoFrames is directly discarded during the conversion process.
[0065] In other words, since the first controller 251 cannot output HDMI signals, if it wants to transmit HDMI signals to other controllers, such as the second controller 252, it must convert the original HDMI signal to another format. This inevitably results in the loss of HDMI-related attribute information encapsulated within the InfoFrame. Consequently, the signal received by the second controller 252 through the video conversion link contains only pure video data; key configuration information such as frame rate, resolution, and VRR are lost. This causes the second controller 252 to be unable to correctly configure display parameters, leading to display problems such as variable refresh rate failure, screen tearing, and frame display errors.
[0066] To address the aforementioned issues, this application provides a cross-chip processing method for display devices and HDMI signals. A target communication link, independent of the video conversion link, is established between the first controller 251 and the second controller 252. Through this target communication link, the target attributes (including frame rate, resolution, etc.) parsed from the original HDMI signal by the first controller 251 are transmitted to the second controller 252 in real time, enabling the second controller 252 to synchronously configure display parameters. This eliminates the attribute loss problem caused by protocol conversion in a multi-chip architecture.
[0067] Figure 5 This is a schematic diagram of the signal transmission path for a multi-controller architecture provided in some embodiments of this application. For example... Figure 5 As shown, the display device 200 includes a first controller 251, a second controller 252, a video conversion link 510, and a target communication link 520.
[0068] The video conversion link 510 is used to transmit the image signal output by the first controller 251 to the second controller 252 after undergoing multi-level format conversion. In some embodiments, the video conversion link 510 includes a first conversion chip 511 and a second conversion chip 512. The first conversion chip 511 is used to convert the signal in a first format output by the first controller 251 into a signal in a first second format, and the second conversion chip 512 is used to convert the signal in the first second format into a signal in a second second format, and then transmit it to the second controller 252.
[0069] In some embodiments, the first format is the embedded DisplayPort (eDP) format, the second format is the Mobile Industry Processor Interface (MIPI) format, and the third format is the HDMI format.
[0070] That is, the first conversion chip can be used to convert the eDP signal to a MIPI signal, and the second conversion chip is used to convert the MIPI signal to an HDMI signal. The first controller 251 outputs a first signal in eDP format to the first conversion chip, the first conversion chip converts the first signal in eDP format to a second signal in MIPI format and outputs it to the second conversion chip, and the second conversion chip converts the second signal in MIPI format to a second signal in HDMI format and transmits it to the second controller 252.
[0071] It should be noted that the model and format conversion method of the above-mentioned conversion chip are merely illustrative examples and are not intended to limit this application. In other embodiments, depending on the differences in the hardware interfaces of the first controller 251 and the second controller 252, the video conversion link may also employ other protocol conversion combinations, such as V-by-One, LVDS (Low-Voltage Differential Signaling), etc., and the number of conversion chips may also be one or more, which is not specifically limited in this application. Alternatively, in other embodiments, the target communication link may also be implemented in software.
[0072] The target communication link is configured to connect the first controller 251 and the second controller 252, and the target communication link is independent of the video conversion link. In other words, the target communication link is a bypass communication channel independent of the video transmission link, specifically used to transmit HDMI-related attribute information that the video conversion link cannot carry. The target communication link and the video conversion link are physically completely isolated, and the data transmitted by the two links do not interfere with each other, thus ensuring the reliability of attribute information transmission.
[0073] In some embodiments, the target communication link can be a physical channel corresponding to a Universal Asynchronous Receiver / Transmitter (UART). The UART channel consumes few pin resources and supports bidirectional communication between the first controller 251 and the second controller 252. It can both send attribute information parsed by the first controller 251 to the second controller 252 and allow the second controller 252 to send back acknowledgments or synchronization requests to the first controller 251. Furthermore, the UART physical channel can also be used to send local panel configuration commands such as screen timing parameters, thereby expanding the channel's versatility.
[0074] In other embodiments, the target communication link may also be a communication channel independent of the video conversion link, such as an Ethernet channel corresponding to the Transmission Control Protocol (TCP), a Universal Serial Bus (USB) channel, a Serial Peripheral Interface (SPI) channel, or a Peripheral Component Interconnect Express (PCIe) channel. This application does not limit the specific communication interface type of the target communication link, as long as it enables bidirectional communication between the first controller 251 and the second controller 252 independent of the video conversion link.
[0075] Based on the above architecture Figure 6 This is a schematic flowchart illustrating a cross-chip processing method for HDMI signals provided in some embodiments of this application. Figure 6 As shown, the first controller 251 is configured to perform the following steps: S601 receives raw HDMI signals based on the HDMI interface and converts the raw HDMI signals into a first signal of a first format.
[0076] The first controller 251 receives raw HDMI signals from external signal sources (such as game consoles, personal computers, set-top boxes, etc.) via its configured HDMI interface. In some embodiments, the raw HDMI signal includes video data, audio data, and various InfoFrame data packets. The InfoFrame data packets carry native HDMI attribute information such as frame rate, resolution, and variable refresh rate. After receiving the raw HDMI signal, the first controller 251 performs image quality processing, scaling, and other operations on the video data, and converts the processed signal into a first signal in a first format (such as eDP format), which is then output through the video conversion link.
[0077] S602. When the change in target attribute is detected based on the original HDMI signal, the target attribute is encapsulated into a data frame according to the preset communication protocol, and the data frame is sent to the second controller through the target communication link.
[0078] During the processing of the raw HDMI signal, the first controller 251 continuously parses the target attributes carried in the raw HDMI signal. These target attributes include at least one of frame rate and resolution. When the first controller 251 detects a change in the target attribute, such as a frame rate switch, a resolution change, or the variable refresh rate being enabled or disabled, it encapsulates the changed target attribute into a data frame according to a preset communication protocol. In some embodiments, the data frame encapsulation format includes fields such as a frame header identifier, target attribute content, a reference checksum, and a frame tail identifier.
[0079] In some embodiments, the target attribute can be a basic parameter such as resolution or frame rate, or a variable refresh rate derived from the frame rate, or a screen timing parameter derived from the resolution.
[0080] After encapsulation, the first controller 251 sends the data frame to the second controller 252 through a target communication link (such as a UART channel) that is independent of the video conversion link. Since the target communication link is physically independent of the video conversion link, the transmission of target attributes is not affected by the video signal conversion process. Even if intermediate protocols such as eDP and MIPI in the video conversion link cannot carry HDMI attribute data packets, the target attributes can still be transmitted completely and in real time to the second controller 252 through the target communication link.
[0081] Accordingly, the second controller 252 is configured to perform the following steps: S603, Receive data frames through the target communication link.
[0082] The second controller 252 continuously listens for and receives data frames sent by the first controller 251 through the target communication link. In some embodiments, the second controller 252 has an internal IPC (Inter-Process Communication) service interface. The IPC service interface continuously listens to the UART receive buffer. When a complete data frame is detected (the start and end of the frame are determined by the frame header identifier and the frame trailer identifier), the data frame is received.
[0083] S604. Parse the target attributes from the data frame and configure the display parameters according to the target attributes.
[0084] After receiving a data frame, the second controller 252 parses the target attribute content in the data frame according to a preset communication protocol. The parsed target attributes include information such as frame rate and resolution. The second controller 252 configures local display parameters based on the parsed target attributes, such as variable refresh rate parameters, refresh rate range, and resolution mode. For example, when the target attribute is that VRR is enabled and the refresh rate range is 48Hz to 120Hz, the second controller 252 configures the refresh rate range of the local VRR function module to be 48Hz to 120Hz; when the target attribute is that the resolution is switching from 1080P to 4K, the second controller 252 configures the local resolution parameter to 4K mode.
[0085] S605. Drive the display to output the second signal display screen according to the configured display parameters.
[0086] After configuring the display parameters, the second controller 252 drives the display 260 to output the display image of the second signal transmitted via the video conversion link according to the configured display parameters. Since the display parameters of the second controller 252 are synchronized in real time with the target attributes parsed by the first controller 251, the image output by the display 260 can correctly match the current frame rate, resolution and other attributes, avoiding display problems such as screen tearing and frame distortion.
[0087] In this embodiment, by setting a target communication link physically independent of the video conversion link, the image data stream and image configuration attributes are transmitted in separate channels, which solves the problem of losing HDMI-related attributes during multi-level protocol conversion. The first controller 251 analyzes HDMI signal attribute changes in real time and bypasses them, enabling the second controller 252 to synchronously match the image refresh rate and pixel specifications, eliminating image tearing and frame display errors under multi-chip architecture. Simultaneously, the video stream and configuration information are transmitted in separate channels without interference, adapting to the inherent interface limitations of ultra-wide screen dual-controller architectures.
[0088] In some embodiments, the first controller 251 listens to the information frames carrying target attributes in the original HDMI signal through the HDMI underlying driver. When a change in the information frame is detected, the underlying callback function is triggered to generate a state change event. The underlying callback function then notifies the HDMI middleware of the state change event, and the HDMI middleware reads the target attributes based on the original HDMI signal.
[0089] For example, the first controller 251 internally runs an HDMI driver and HDMI middleware. The HDMI driver, as the lowest-level hardware driver, directly interfaces with the HDMI physical interface and can completely receive all HDMI data packets sent from external devices, including various InfoFrame information frames. The HDMI driver continuously monitors the packet content in the raw HDMI signal. When it detects a change in an information frame carrying target attributes, it triggers a low-level callback function to notify the upper-level HDMI middleware of the state change event.
[0090] In some embodiments, the scenarios in which the information frame changes include, but are not limited to: receiving a VRR-related packet for the first time, changes in VRR parameters, loss of VRR signal, resolution switching, and changes in frame rate.
[0091] After receiving the callback notification, the HDMI middleware calls the interface provided by the HDMI underlying driver to obtain the complete content of the changed target attributes. Subsequently, the HDMI middleware encapsulates the target attribute information according to a preset communication protocol format through the local IPC interface and sends it to the second controller 252 via the target communication link.
[0092] The aforementioned underlying driver listening and hardware callback event triggering mechanism eliminates the need for continuous resource consumption to poll signal status, thus reducing the computing power consumption of the first controller 251. Subsequent reading and encapsulation processes are only triggered when the information frame actually changes, resulting in lower response latency, stronger real-time performance, and adaptability to high-speed signal scenarios such as dynamic switching of variable refresh rates.
[0093] It should be noted that the aforementioned HDMI underlying driver callback mechanism is a preferred implementation method for the first controller 251 to identify changes in target attributes, primarily applicable to the detection of changes in attributes such as variable refresh rate and resolution originating from the HDMI input signal. However, in practical applications, the target communication link needs to carry various types of attribute information and configuration instructions, and the sources of change, triggering conditions, and identification methods differ for different types of target attributes. The following sections provide detailed explanations of the identification methods and application scenarios for various target attribute changes.
[0094] In some embodiments, the target attribute can be an attribute derived from the HDMI input signal, meaning attribute information that can be directly parsed from the original HDMI signal, including variable refresh rate parameters, resolution, native aspect ratio, etc. These attributes are all stored in the InfoFrame data packet defined by the HDMI protocol. An InfoFrame (Information Frame) is a data packet structure in the HDMI standard used to transmit auxiliary information during the video signal blanking period. It does not occupy effective screen transmission bandwidth and can carry various metadata such as video frame rate, resolution, color space, and aspect ratio. The first controller 251 uses an event-driven low-level callback mechanism to recognize changes in these attributes.
[0095] In some implementations, for changes in the variable refresh rate attribute, the VRR-related parameters in the HDMI protocol are carried in a dedicated VRR InfoFrame data packet (i.e., VRR Packet), including the VRR switch identifier, the minimum refresh rate (V... min ), highest refresh rate (V max Key parameters such as V. min and V max The refresh rate range supported by the current signal source is defined together; for example, 48Hz to 120Hz means that the panel refresh rate can dynamically change between 48Hz and 120Hz. The HDMI underlying driver of the first controller 251 continuously monitors the VRR Packet status in the HDMI signal. Based on the changes in the VRR Packet, the first controller 251 needs to identify the following multi-scenario changes: The VRR Packet is received for the first time. When an external signal source (such as a game console) outputs a VRR signal for the first time, VRR InfoFrame data packets begin to appear in the HDMI signal. The HDMI underlying driver, during continuous monitoring, detects the first appearance of a previously absent VRR Packet, triggering a low-level callback function to notify the HDMI middleware of the VRR Packet Active (variable refresh rate data packet valid) state change event. Upon receiving the notification, the HDMI middleware reads the complete attribute information from the VRR Packet, encapsulates the VRR attribute information into a data frame, and sends it to the second controller 252 via the target communication link. After receiving and parsing the data, the second controller 252 enables the local VRR function module, configures the refresh rate range, and puts the display 260 panel into variable refresh rate operating mode.
[0096] The VRR parameters change. When the refresh rate range of the VRR signal output by the external signal source changes, for example, when a game scene switch causes the frame rate range to change from 48Hz-120Hz to 40Hz-90Hz, the V in the VRR Packet... min and V max The parameter values will change accordingly. The HDMI underlying driver identifies the V by comparing the content of the currently received VRR Packet with the content of the VRR Packet in the previous frame frame by frame. min or V max When a parameter value changes, the underlying callback function is triggered, notifying the HDMI middleware of the VRR ParameterChanged state change event. It's important to note that dynamic frame rate fluctuations in VRR mode are normal variable refresh rate operation and do not constitute a parameter change event, thus requiring no repeated notifications. The target attribute is only triggered when the VRR state switches on or off, or when the refresh rate range itself changes. This prevents the communication channel from being occupied by frequent frame rate fluctuations, ensuring efficient use of channel bandwidth.
[0097] The VRR signal disappears. When an external device stops outputting the VRR signal, such as when a user switches a game console to non-VRR mode, or when a peripheral switches from VRR mode to fixed refresh rate output mode, or when an external device is physically unplugged from the HDMI cable, the VRR Packet in the HDMI signal will no longer appear. The HDMI underlying driver detects the disappearance of the VRR Packet during continuous monitoring, triggering a low-level callback function to notify the HDMI middleware of the VRR Packet Inactive (Variable Refresh Rate Data Packet Invalid) status change event. After confirming the disappearance of the VRR signal, the HDMI middleware sends a VRR shutdown command to the second controller 252 via the target communication link. Upon receiving the shutdown command, the second controller 252 disables its local VRR function module and switches to a fixed refresh rate display mode (e.g., 60Hz).
[0098] VRR protocol type switching. Due to the existence of various protocol standards for variable refresh rate technology, including Game-VRR (Game Variable Refresh Rate) defined by the HDMI 2.1 standard, QMS-VRR (Quick Media Switching VRR), and FreeSync (Adaptive Synchronization Technology), the packet format and parameter definitions of different VRR protocols differ. When an external signal source switches from one VRR protocol to another (e.g., from Game-VRR to FreeSync), the HDMI underlying driver identifies the change in the protocol type field in the VRR packet and triggers a low-level callback to notify the HDMI middleware. The HDMI middleware reads the switched VRR protocol type and its corresponding complete parameter set, and synchronizes it to the second controller 252 via the target communication link. The second controller 252 reconfigures the operating mode of its local VRR function module according to the new VRR protocol type, ensuring compatibility with the current signal source's VRR protocol.
[0099] In some implementations, the target attribute can be a resolution-related attribute. Resolution refers to the total number of pixels in the displayed image, expressed as the horizontal pixel count multiplied by the vertical pixel count, such as 3840×2160 (4K), 1920×1080 (1080P), etc. The resolution attribute is stored in the HDMI AVI InfoFrame (Auxiliary Video Information InfoFrame) data packet. The AVI InfoFrame is a data packet in the HDMI protocol specifically used to transmit auxiliary information related to the video format, including parameters such as resolution, color space, aspect ratio, and scanning mode.
[0100] In some implementations, the first controller 251 also identifies resolution changes via the HDMI underlying driver. When listening to the AVI InfoFrame, the HDMI underlying driver detects changes in resolution-related fields (such as horizontal and vertical pixel counts) and triggers a low-level callback function to notify the HDMI middleware. For example, this might occur when a user switches signal sources (e.g., from a game console to a set-top box, where the two signals have different resolutions), or when an external device switches its output resolution (e.g., from a game console switching from 1080P to 4K). The HDMI middleware reads the changed resolution parameters and encapsulates the resolution attributes into a data frame via the target communication link, sending it to the second controller 252. The second controller 252 configures the resolution mode of the local display module based on the received resolution parameters, ensuring the panel outputs the image according to the correct pixel specifications and avoiding issues such as image stretching, distortion, or black borders.
[0101] In some implementations, the target attribute can also be a change in the native aspect ratio. The native aspect ratio refers to the aspect ratio identifier inherent to the HDMI signal source, stored in the PictureAspect Ratio field of the AVI InfoFrame, such as 16:9 or 21:9. The native aspect ratio reflects the original aspect ratio format of the output image from the signal source. For example, when the external signal source outputs 21:9 aspect ratio movie content, the aspect ratio field in the AVI InfoFrame is identified as 21:9; when switching to a 16:9 aspect ratio television program, the field changes to 16:9.
[0102] In some implementations, for changes in the native aspect ratio of the image, the HDMI underlying driver of the first controller 251 listens to the Picture Aspect Ratio field in the AVI InfoFrame. When this field value changes, a low-level callback function is triggered to notify the HDMI middleware. The HDMI middleware reads the changed aspect ratio identifier and sends it to the second controller 252 via the target communication link. The second controller 252 adjusts its local image display strategy based on the native aspect ratio information, such as selecting the correct scaling ratio or mailbox mode, i.e., adding black bars at the top, bottom, left, or right of the image to maintain the original aspect ratio, thereby ensuring that the image content is correctly presented according to the native aspect ratio of the signal source and avoiding incorrect stretching or cropping of the image.
[0103] In some embodiments, in addition to the attributes derived from the HDMI input signal described above, the target communication link also carries configuration instructions generated locally by the display device 200 that are not parsed from the HDMI signal. These instructions are actively generated and issued by the first controller 251 and are not bound to changes in the HDMI input signal. They also cannot be transmitted through the video conversion link and must rely on the target communication link for cross-chip transmission. For changes in locally generated attributes, the first controller 251 no longer uses the HDMI underlying driver callback mechanism for identification, but instead triggers them through internal events of the system service layer or user interaction events.
[0104] In some embodiments, the target attribute can also be the screen parameter attribute corresponding to the screen timing parameters (i.e., screen parameters). Screen parameters are inherent driving timing parameters of the display 260 hardware, including parameters such as horizontal sync signal width, horizontal sync trailing edge, horizontal sync leading edge, vertical sync signal width, vertical sync trailing edge, vertical sync leading edge, and pixel clock frequency. Screen parameters determine the timing base of the display 260 panel drive; different screen parameter configurations are required for different resolutions and different aspect ratios. For example, in a 21:9 widescreen TV, when the picture mode switches from 16:9 to 21:9, the panel's driving timing needs to be adjusted accordingly, and the corresponding screen parameter configuration must be issued.
[0105] In some implementations, changes in screen parameter attributes are triggered by the system or application layer of the first controller 251. When the system detects events requiring screen parameter updates, such as frame mode switching or resolution mode switching, the system service module of the first controller 251 actively generates screen parameter configuration instructions. For example, when a user selects to switch frame modes via a control device 100 (such as a remote control), or when the system automatically triggers frame adjustment due to a change in signal source resolution, the application layer of the first controller 251 sends a frame mode switching request to the system framework layer. The system framework layer looks up the corresponding screen parameter configuration table based on the target frame mode, generates screen parameter configuration instructions, encapsulates them into CMD (Command) data frames via the IPC interface, and sends them to the second controller 252 via the target communication link (UART channel). After receiving and parsing the screen parameter configuration instructions, the second controller 252 updates the panel driver timing parameters of the display 260, enabling the display 260 to operate according to the new timing reference.
[0106] In some embodiments, the target communication link also carries configuration instructions for a widescreen adaptation mode, which refers to the stretching and scaling mode of the image manually selected by the user through the control device 100 (such as a remote control). For example, when watching 16:9 content on a 21:9 widescreen TV, the user can choose a full-screen stretching mode to stretch the 16:9 image to fill the 21:9 panel, or choose an original aspect ratio mode to maintain the 16:9 aspect ratio and display black bars on both sides. The local widescreen adaptation mode and the native aspect ratio of the HDMI signal source are two independent sets of parameters. The native aspect ratio describes the aspect ratio format output by the signal source, while the local widescreen adaptation mode describes the scaling processing strategy of the display device 200 for the image.
[0107] In some implementations, for widescreen adaptation mode switching scenarios, when a user presses the aspect ratio switch button via remote control or selects different scaling modes in the settings menu, the application layer of the first controller 251 receives the aspect ratio mode switching command input by the user and generates a corresponding local widescreen adaptation mode configuration command. The local widescreen adaptation mode configuration command is encapsulated into a CMD data frame via the IPC interface and sent to the second controller 252 via the target communication link. Based on the received widescreen adaptation mode command, the second controller 252 configures its local screen scaling module (Scaler) and processes the image according to the scaling strategy selected by the user.
[0108] It is important to note that the native aspect ratio and the widescreen adaptation mode have different sources and triggering mechanisms. The native aspect ratio comes from the AVI InfoFrame of the HDMI signal source and is triggered by a callback from the HDMI underlying driver; the widescreen adaptation mode comes from user remote control operations and is triggered by user interaction events at the application layer. Both operate independently through different recognition paths, but both can be transmitted to the second controller 252 via the same target communication link. The second controller 252 then integrates both types of information to execute the final image scaling strategy.
[0109] Figure 7 This is a schematic diagram of the communication protocol data frame structure provided in some embodiments of this application. For example... Figure 7 As shown, in some embodiments, the data frame defined by the preset communication protocol includes a frame header identifier, a target attribute, a reference checksum, and a frame tail identifier.
[0110] The frame header identifier is used by the second controller 252 to identify the start position of the data frame, the frame tail identifier is used by the second controller 252 to identify the end position of the data frame, and the benchmark checksum is used to verify the data integrity of the data frame.
[0111] In some implementations, the data frame may also include a command type field (used to distinguish different types such as attribute update, status query, parameter synchronization, etc.), a port number field (identifying the HDMI input port), and a data length field (identifying the byte length of the target attribute content).
[0112] At the sending end, when the first controller 251 encapsulates a data frame according to a preset communication protocol, it sequentially concatenates the frame header identifier, command type, port number, data length, target attribute content, baseline checksum, and frame trailer identifier to generate a complete data frame. The checksum can be calculated by using Cyclic Redundancy Check (CRC) or a simple checksum algorithm on all bytes from the frame header identifier to the target attribute content.
[0113] At the receiving end, after receiving the frame header identifier of the data frame through the target communication link, the second controller 252 continues to receive subsequent fields until it receives the frame tail identifier of the data frame. In response to receiving the frame tail identifier, the second controller 252 calculates the checksum of the currently received data frame and compares the calculated current checksum with the reference checksum carried in the data frame. If the current checksum matches the reference checksum, the data frame is determined to be complete and error-free, the target attribute content in the data frame is parsed, and the display parameters are configured.
[0114] If the current checksum does not match the baseline checksum, it is determined that an error occurred in the data frame during transmission (such as packet loss or misplaced packets). The second controller 252 discards the current data frame and sends a retransmission request to the first controller 251 through the target communication link. After receiving the retransmission request, the first controller 251 retransmits the corresponding data frame.
[0115] In this embodiment, a communication frame structure with a frame header, frame trailer, and checksum is adopted. The second controller 252 can distinguish data frame boundaries, avoiding the concatenation of multiple frames and parsing errors. Simultaneously, by verifying transmission integrity through the checksum, a retransmission mechanism is added to address packet loss and error issues caused by interference in the target communication link. This ensures reliable cross-chip transmission of key configuration parameters such as frame rate and resolution, preventing display anomalies caused by parameter transmission errors.
[0116] In some embodiments, when the video conversion link includes a first conversion chip and a second conversion chip, the first format is eDP format, and the second format is MIPI format and HDMI format. The first controller 251 outputs a first signal in eDP format to the first conversion chip. The first conversion chip converts the first signal in eDP format to a second signal in MIPI format and outputs the second signal in MIPI format to the second conversion chip. The second conversion chip converts the second signal in MIPI format to a second signal in HDMI format and transmits the second signal in HDMI format to the second controller 252.
[0117] In other embodiments, depending on the interface configuration differences between the first controller 251 and the second controller 252, the video conversion link may also employ other protocol conversion combinations. For example, when the first controller 251 supports V-by-One output, V-by-One to HDMI format conversion can be achieved through a single-stage conversion chip. This application does not limit the specific protocol conversion method or the number of conversion chips in the video conversion link.
[0118] Figure 8 Interactive diagrams illustrating the heartbeat synchronization process provided in some embodiments of this application. For example... Figure 8 As shown, in some embodiments, the first controller 251 is further configured to perform the following steps: S801. Send a heartbeat packet to the second controller through the target communication link at a preset time interval.
[0119] The heartbeat packet carries summary information corresponding to the target attributes. It is a short, periodically sent data packet used to continuously verify the communication status of the target communication link and the consistency of display parameters at both ends. For example, the preset time interval can be 200 milliseconds, meaning the first controller 251 sends a heartbeat packet to the second controller 252 via the UART channel every 200 milliseconds. The heartbeat packet carries summary information of the current target attributes, such as the summary values of key parameters like VRR on / off status, current refresh rate, and current resolution. Because the data size of the heartbeat packet is much smaller than a complete data frame, it does not consume excessive bandwidth of the target communication link.
[0120] Accordingly, the second controller 252 is configured to perform the following steps: S802, Receive heartbeat packets through the target communication link, and send heartbeat packet response feedback to the first controller through the target communication link.
[0121] After receiving the heartbeat packet through the target communication link, the second controller 252 sends a response feedback to the first controller 251 to confirm that the communication link is normal.
[0122] S803. Verify whether the displayed parameters of the second controller after configuration are consistent with the displayed parameters of the first controller based on the heartbeat packet.
[0123] The second controller 252 also verifies whether the locally configured display parameters are consistent with the display parameters of the first controller 251 based on the summary information carried in the heartbeat packet, so as to ensure state synchronization between the two controllers.
[0124] S804. If the displayed parameters are inconsistent, a synchronization request is sent to the first controller through the target communication link so that the first controller resends the target attributes.
[0125] If the second controller 252 detects inconsistencies in the displayed parameters, it sends a synchronization request to the first controller 251 via the target communication link. Upon receiving the synchronization request, the first controller 251 resends the complete target attribute information to the second controller 252, causing the second controller 252 to reconfigure the displayed parameters and achieve resynchronization of the displayed parameters at both ends.
[0126] In this embodiment, heartbeat synchronization can compensate for the asynchrony between the two ends caused by packet loss or missed transmission of a single data frame. The heartbeat packet only carries an attribute digest, has a small data volume, and does not occupy the communication channel bandwidth. Furthermore, the second controller 252 can proactively initiate synchronization requests to automatically repair parameter mismatch faults, thereby improving the stability of display parameter synchronization in the dual controllers.
[0127] Figure 9 Interaction diagrams illustrating communication link anomaly handling and recovery provided in some embodiments of this application. For example... Figure 9 As shown, in some embodiments, under normal operating conditions, the second controller 252 continuously receives data frames or heartbeat packets sent by the first controller 251 through the target communication link. If the second controller 252 does not receive any data frames or heartbeat packets through the target communication link within a preset time, it determines that the target communication link is in an abnormal communication state. For example, the preset time can be 500 milliseconds; if the second controller 252 does not receive any data frames or heartbeat packets from the first controller 251 within 500 milliseconds, it determines that the target communication link is abnormal.
[0128] After determining that the target communication link is in an abnormal communication state, the second controller 252 maintains the current display parameters unchanged, that is, it keeps the last valid configuration display parameters working, so as to avoid the screen configuration being randomly disordered or frequently switching due to communication interruption, which would affect the display effect.
[0129] When the target communication link is restored to normal, the second controller 252 determines that the target communication link has returned to normal communication status upon receiving the heartbeat packet sent by the first controller 251. At this time, the first controller 251 actively sends the complete target attributes to the second controller 252. The second controller 252 receives the target attributes actively sent by the first controller 251 and reconfigures the display parameters based on the target attributes, thereby achieving automatic resynchronization of the display parameters at both ends.
[0130] In this embodiment, the original display parameters remain unchanged when the link is abnormal, thus avoiding random screen configuration errors. After the link is restored, the first controller 251 actively sends out the target attributes in full, and both ends automatically resynchronize the frame rate and resolution configurations, eliminating the need for the user to switch signal sources again, thereby improving the device's fault tolerance and user experience.
[0131] Figure 10 This is a schematic diagram illustrating the process of restarting the entire machine as provided in some embodiments of this application. For example... Figure 10 As shown, in some embodiments, the first controller 251 is also configured to execute a system restart mechanism to deal with fault scenarios such as a complete disconnection of the communication link or a lack of response from the second controller 252. That is, after the first controller 251 continuously sends a preset number of heartbeat packets to the second controller 252 through the target communication link, if it does not receive a response from the second controller 252 within a preset time, it determines that the second controller 252 has experienced a hardware failure or a complete disconnection of the communication link, and generates a system restart command (S1001).
[0132] In response to the whole machine restart command, the first controller 251 controls the restart of the entire display device 200 to reinitialize the first controller 251, the second controller 252, the video conversion link and the target communication link, so that the communication link resumes operation and the second controller 252 resumes normal operation (S1002).
[0133] This embodiment addresses the problem of communication link disconnection and unresponsive second controller 252, resolving the issues of dual-controller communication freeze and prolonged abnormal screen display without repair methods. By identifying hardware freeze faults through continuous unresponsive heartbeat packets, it automatically resets the entire device to restore the communication link, reducing the probability of failure and improving the reliability of the display device 200.
[0134] Figure 11 This is an interactive diagram illustrating the variable refresh rate shutdown process provided in some embodiments of this application. For example... Figure 11 As shown, in some embodiments, the target attribute is the variable refresh rate attribute corresponding to the frame rate. When the external signal source stops sending the VRR signal, or the external device is unplugged, the variable refresh rate attribute in the original HDMI signal disappears. After the first controller 251 detects the disappearance of the VRR-related packet through the HDMI underlying driver, it notifies the HDMI middleware through the underlying callback mechanism. After the HDMI middleware confirms the disappearance of the VRR signal, it sends a shutdown command to the second controller 252 through the target communication link.
[0135] In response to a shutdown command, the second controller 252 disables its local variable refresh rate function and switches to a fixed refresh rate display mode. The fixed refresh rate display mode is used to output the display image at a preset fixed refresh rate, such as 60Hz. The second controller 252 drives the display 260 to output the display image based on the preset fixed refresh rate.
[0136] It should be noted that the variable refresh rate (VRR) mode and the fixed refresh rate (CRR) mode are mutually exclusive, and the second controller 252 cannot operate in both modes simultaneously. If the second controller 252 continuously maintains the VRR mode without switching in time, screen flickering and timing abnormalities will occur when the input signal has changed to a fixed refresh rate signal. Therefore, by having the first controller 251 simultaneously issue a shutdown command when it detects the disappearance of the VRR signal, and the second controller 252 promptly shuts down the VRR module and switches to the fixed refresh rate mode, the mutual exclusion conflict between the VRR and fixed refresh rate modes can be avoided, thus resolving the screen flickering and timing abnormalities caused by the second controller 252 continuously operating the VRR mode.
[0137] In some embodiments, in addition to frame rate and resolution, the target communication link can also be used to transmit other attribute information derived from the HDMI input signal that can be parsed from the raw HDMI signal. Examples include native aspect ratio (such as a 16:9 or 21:9 aspect ratio identifier from the signal source), color depth information, High Dynamic Range (HDR) metadata, and low latency mode flags for games, among other HDMI metadata information. This information is stored in HDMI InfoFrame data packets and is lost in the video conversion link; therefore, it needs to be bypassed and transmitted via the target communication link.
[0138] As can be seen from the above embodiments, this application can transmit configuration information that cannot be carried by various conversion links through an independent bypass channel, which can fully cover a variety of application scenarios.
[0139] It should be noted that, in this embodiment, the internal architecture of both the first controller 251 and the second controller 252 includes corresponding software components such as an HDMI driver module, HDMI middleware, an IPC service module, and a UART communication module. The IPC service module on the first controller 251 side is responsible for encapsulating the attribute information parsed by the HDMI middleware into CMD data frames according to a preset communication protocol, and sending them via the UART transmission module. The IPC service module on the second controller 252 side is responsible for receiving the data frames via the UART receiving module, performing verification, and then distributing the attribute information to the local display configuration module (such as a VRR configuration module) of the second controller 252 to complete the function configuration.
[0140] Figure 12 This diagram illustrates a dual-controller connection architecture based on UART communication, as provided in some embodiments of this application. Figure 12As shown, in some embodiments, UART ports are respectively located on the first controller 251 and the second controller 252. The first controller 251 and the second controller 252 are directly connected through the UART ports to form a UART physical channel. The UART physical channel can be used not only to transmit HDMI frame rate and resolution-related attributes, but also to send configuration commands for screen timing parameters. Since screen timing parameters cannot be transmitted through the video conversion link, using the UART channel to additionally carry screen parameter configuration commands can expand the channel's versatility and avoid adding additional communication channels.
[0141] Based on the aforementioned display device 200, some embodiments of this application also provide a method for processing HDMI signals, applied to a first controller 251, i.e., a main chip. The first controller 251 and a second controller 252 (a slave chip) are connected to a video conversion link via independent target communication links. For example... Figure 13 As shown, the method includes the following steps: receiving a raw HDMI signal input from an external device; converting the raw HDMI signal into a first signal of a first format; converting the first signal into a second signal of a second format via a video conversion link, and transmitting the second signal to a second controller, so that the second controller drives the display to output the display image of the second signal; when a change in target attributes is detected based on the raw HDMI signal, encapsulating the target attributes into a data frame according to a preset communication protocol. The target attributes include at least one of frame rate and resolution. Sending the data frame to the second controller via a target communication link, so that the second controller configures local display parameters based on the target attributes of the data frame and drives the display 260 to output the display image.
[0142] Based on the aforementioned display device 200 and cross-chip processing method, some embodiments of this application also provide another HDMI signal processing method, applied to a second controller 252, i.e., a slave chip. The second controller 252 and the first controller 251 (i.e., the master chip) are connected to the video conversion link via independent target communication links. For example... Figure 14 As shown, the method includes the following steps: receiving a second signal sent by a first controller via a video conversion link, and receiving a data frame sent by the first controller via a target communication link. Parsing target attributes from the data frame and configuring display parameters according to the target attributes. Driving the display 260 to output the display screen of the second signal according to the configured display parameters.
[0143] Based on the above-described display device 200 and cross-chip processing method, some embodiments of this application also provide a cross-chip processing method for HDMI signals, applied to the display device 200. The display device 200 includes a display 260, a first controller 251, and a second controller 252 electrically connected to the display 260. The first controller 251 is configured with an HDMI interface to receive raw HDMI signals and convert the raw HDMI signals into a first signal of a first format. Independent video conversion links and target communication links are provided between the first controller 251 and the second controller 252. The video conversion link is used to convert the first signal output by the first controller 251 into a second signal of a second format and transmit the second signal to the second controller 252. The method includes the following steps: When the first controller detects a change in the target attribute based on the original HDMI signal, it encapsulates the target attribute into a data frame according to a preset communication protocol and sends the data frame to the second controller via the target communication link. The target attribute includes at least one of frame rate and resolution. The second controller receives the data frame via the target communication link. Based on the second controller, it parses the target attribute from the data frame and configures display parameters according to the target attribute. The second controller then drives the display to output the second signal display image according to the configured display parameters.
[0144] Based on the aforementioned cross-chip processing method for HDMI signals, the frame rate and resolution correspondence attributes can be synchronized through an independent bypass channel, improving the problem of lost HDMI control information in multi-level video conversion links. This method can be directly deployed in the firmware of the display device 200 without changing the hardware structure. By synchronously updating the display parameters of the second controller 252, it ensures that there is no screen tearing or stretching during variable refresh rate and resolution switching, thereby improving the display effect of the multi-controller architecture.
[0145] It should be noted that the cross-chip processing method for HDMI signals described in this application embodiment can adopt the same principle and implementation as the above-mentioned display device 200 embodiment, and will not be described again here.
[0146] Similar parts between the embodiments provided in this application can be referred to mutually. The specific implementation methods provided above are only a few examples under the overall concept of this application and do not constitute a limitation on the scope of protection of this application. For those skilled in the art, any other implementation methods extended from the solution of this application without creative effort shall fall within the scope of protection of this application.
Claims
1. A display device, characterized in that, include: monitor; A first controller is configured to receive a raw HDMI signal via the HDMI interface and to convert the raw HDMI signal into a first signal of a first format. The second controller is electrically connected to the display. The video conversion link is configured to convert a first signal output by the first controller into a second signal in a second format, and transmit the second signal to the second controller; The target communication link is configured to connect the first controller and the second controller, and the target communication link is independent of the video conversion link; The first controller is configured as follows: When the target attribute is parsed from the original HDMI signal, the target attribute is encapsulated into a data frame according to a preset communication protocol, and the data frame is sent to the second controller through the target communication link; the target attribute includes at least one of frame rate and resolution; The second controller is configured as follows: The data frame is received through the target communication link; The target attribute is parsed from the data frame, and the display parameters are configured according to the target attribute; The display is driven to output the second signal display image according to the configured display parameters.
2. The display device according to claim 1, characterized in that, The first controller is configured as follows: The information frames carrying the target attributes within the original HDMI signal are monitored through the HDMI underlying driver. When a change in the information frame is detected, the underlying callback function is triggered to generate a state change event; The first controller is also configured to: The underlying callback function notifies the HDMI middleware of the state change event, and the HDMI middleware reads the target attribute based on the original HDMI signal.
3. The display device according to claim 2, characterized in that, The first controller encapsulates the target attributes into data frames according to a preset communication protocol, specifically configured as follows: The data frame is encapsulated according to the preset communication protocol. The data frame defined by the preset communication protocol includes a frame header identifier, the target attribute, a reference checksum, and a frame tail identifier. The frame header identifier is used by the second controller to identify the start of the data frame. The reference checksum is used to verify the data integrity of the data frame. The frame tail identifier is used by the second controller to identify the end of the data frame. After receiving the frame header identifier of the data frame through the target communication link, the second controller is further configured to: In response to receiving the frame end identifier of the data frame, calculate the current checksum of the data frame; If the current checksum does not match the baseline checksum, the data frame is discarded, and a retransmission request is sent to the first controller via the target communication link; the retransmission request is used to instruct the first controller to retransmit the data frame.
4. The display device according to claim 1, characterized in that, The video conversion link includes a first conversion chip and a second conversion chip; the first format is an embedded display port format, and the second format is a mobile industry processor interface format and an HDMI format; The video conversion link converts the first signal output by the first controller into a second signal in a second format, and transmits the second signal to the second controller, specifically configured as follows: The first controller outputs a first signal in embedded display port format to the first conversion chip; The first conversion chip converts the first signal in the embedded display port format into a second signal in the mobile industry processor interface format, and outputs the second signal in the mobile industry processor interface format to the second conversion chip. The second conversion chip converts the second signal in the mobile industry processor interface format into a second signal in the HDMI format, and then transmits the second signal in the HDMI format to the second controller.
5. The display device according to claim 1, characterized in that, The first controller is also configured to: At preset time intervals, a heartbeat packet is sent to the second controller through the target communication link, and the heartbeat packet carries summary information corresponding to the target attribute; The second controller is also configured to: The heartbeat packet is received through the target communication link, and a response feedback of the heartbeat packet is sent to the first controller through the target communication link; Based on the heartbeat packet, verify whether the display parameters configured by the second controller are consistent with the display parameters of the first controller; If the displayed parameters are inconsistent, a synchronization request is sent to the first controller through the target communication link so that the first controller resends the target attribute.
6. The display device according to claim 5, characterized in that, The second controller is also configured to: If the data frame or heartbeat packet is not received through the target communication link within a preset time, it is determined that the target communication link is in an abnormal communication state, and the display parameters are kept unchanged. When the second controller receives the heartbeat packet again, it determines that the target communication link has returned to normal communication status; After the target communication link returns to normal communication status, the first controller is further configured to: Actively send the target attribute to the second controller; The second controller is also configured to: The system receives the target attribute actively sent by the first controller and reconfigures the display parameters based on the target attribute.
7. The display device according to claim 6, characterized in that, The first controller is also configured to: After continuously sending a preset number of heartbeat packets to the second controller through the target communication link, if no response feedback is received from the second controller within the preset time, a whole machine restart command is generated. In response to the system restart command, the display device is restarted.
8. The display device according to claim 1, characterized in that, The target communication link is a physical channel corresponding to a universal asynchronous transceiver. The physical channel is configured to support bidirectional communication between the first controller and the second controller, and the physical channel is also used to send configuration instructions for screen timing parameters.
9. The display device according to claim 1, characterized in that, The target attribute is a variable refresh rate attribute corresponding to the frame rate, and the first controller is further configured to: In response to detecting the disappearance of the variable refresh rate attribute in the original HDMI signal, a shutdown command is sent to the second controller via the target communication link; The second controller is also configured to: In response to the shutdown command, the variable refresh rate function of the second controller is disabled, and the display mode is switched to a fixed refresh rate mode, which is used to output the display screen according to a preset fixed refresh rate; The display is driven to output the display image based on the preset fixed refresh rate.
10. A cross-chip processing method for HDMI signals, characterized in that, An application is made in a display device, the display device including a display, a first controller, and a second controller electrically connected to the display; the first controller is configured with an HDMI interface, and is configured to receive a raw HDMI signal based on the HDMI interface, and to convert the raw HDMI signal into a first signal of a first format; the first controller and the second controller are provided with independent video conversion links and target communication links, the video conversion links being used to convert the first signal output by the first controller into a second signal of a second format, and to transmit the second signal to the second controller; the method includes: When the first controller parses the change in the target attribute based on the original HDMI signal, it encapsulates the target attribute into a data frame according to a preset communication protocol and sends the data frame to the second controller through the target communication link. The target attribute includes at least one of frame rate and resolution. The second controller receives the data frame through the target communication link; Based on the second controller, the target attribute is parsed from the data frame, and display parameters are configured according to the target attribute; The second controller drives the display to output the display image of the second signal according to the configured display parameters.
