Display device and device control method
By designing multiple HDMI extension interfaces and native interfaces in the display device, and using the processor to identify the interfaces accessed by the CEC device, and combining the Switch switch to switch the communication link, the problem of long interaction time in the prior art is solved, and a faster interaction process is achieved.
Patent Information
- Application Number
- PCT/CN2024/121220
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-21
- Filing Date
- 2024-09-25
- Publication Date
- 2025-06-19
AI Technical Summary
When existing display devices interact with SCDC between CEC devices and display devices, they need to perform two-stage interaction through the Switch switch, resulting in a long interaction time and affecting the user experience.
A display device is designed, including at least two HDMI expansion interfaces communicating with the HDMI native interface through a Switch switch, and using at least one processor to identify the HDMI expansion interface accessed by the CEC device, and switching the communication link through the second Switch switch to avoid two-stage SCDC interaction.
By reducing the relay step of SCDC interaction, the interaction time is shortened and the user experience is improved.
Smart Images

Figure CN2024121220_19062025_PF_FP_ABST
Abstract
Description
Display device and device control method
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This disclosure claims priority to Chinese applications filed on December 12, 2023, with application number 202311704162.9; filed on December 12, 2023, with application number 202311705265.7; and filed on December 21, 2023, with application number 202311771270.8, the entire contents of which are incorporated by reference into this disclosure. Technical Field
[0003] The present disclosure relates to the technical field of display devices, and in particular to a display device and a device control method. Background Art
[0004] High Definition Multimedia Interface (HDMI) is a specialized digital interface suitable for video transmission, capable of transmitting both audio and video signals. HDMI has been standardized, and Consumer Electronics Control (CEC) is a complete single-bus protocol resulting from HDMI standardization. Display devices can use CEC signals to control external devices connected to the HDMI interface. These controlled external devices are called CEC devices.
[0005] After a CEC device inputs an HDMI signal to a display device, if the display device supports the SCDC (Status and Control Data Channel) function, the CEC device will interact with the display device through SCDC. The values generated during the SCDC interaction process can be used to determine whether the interaction between the display device and the CEC device is normal. In actual applications, CEC devices can use switches to expand the native HDMI interface into multiple channels. In this case, the SCDC interaction between the display device and the CEC device requires two levels of SCDC interaction in the switch (including the transmit pin SwitchRX and the receive pin SwitchTX). This will cause the SCDC interaction to take a long time, affecting the user experience.
[0006] Summary of the Invention
[0007] In a first aspect, an embodiment of the present disclosure provides a display device, which may include: a display; at least two HDMI extension interfaces, wherein the HDMI extension interface is communicatively connected to the HDMI native interface via a Switch switch; the Switch switch includes a first Switch switch and a second Switch switch; the first Switch switch includes a transmitting pin SwitchTX and a receiving pin SwitchRX, and the SwitchRX is used to send a status and control data channel SCDC interaction trigger signal to a consumer electronics control device CEC when the CEC is connected to the display device via the HDMI extension interface; the second Switch switch does not include the SwitchTX and the SwitchRX; at least one processor, connected to the display, the HDMI extension interface, and the HDMI native interface. The native interface is connected to the switch and is configured to execute computer instructions so that the display device performs the following: when the CEC device is connected to the display device through the HDMI extended interface, identifying the first interface number of the HDMI extended interface connected to the CEC device, and receiving SCDC interaction information fed back by the CEC device, wherein the SCDC interaction information is information fed back by the CEC device according to the SCDC interaction trigger signal; sending the first interface number to the second switch, so as to switch the communication link to the HDMI extended interface corresponding to the first interface number through the second switch; and if the CEC device determines that the display device supports the SCDC function based on the SCDC interaction information, performing SCDC interaction with the CEC device based on the communication link.
[0008] In a second aspect, an embodiment of the present disclosure further provides a device control method, which may include: when a CEC device is connected to a display device through an HDMI extended interface, identifying the first interface number of the HDMI extended interface to which the CEC device is connected, and receiving SCDC interaction information fed back by the CEC device, wherein the display device includes at least two HDMI extended interfaces, and the HDMI extended interface is communicatively connected to the HDMI native interface through a Switch switch; the Switch switch includes a first Switch switch and a second Switch switch; the first Switch switch includes SwitchTX and SwitchRX, and the SwitchRX is used to control the CEC device. When the display device is accessed through the HDMI extended interface, an SCDC interaction trigger signal is sent to the CEC device; the second Switch switch does not include the SwitchTX and the SwitchRX; the SCDC interaction information is information fed back by the CEC device according to the SCDC interaction trigger signal; the first interface number is sent to the second Switch switch, so as to switch the communication link to the HDMI extended interface corresponding to the first interface number through the second Switch switch; if the CEC device determines that the display device supports the SCDC function based on the SCDC interaction information, SCDC interaction is performed with the CEC device based on the communication link. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] FIG1 is a schematic diagram of an operation scenario between a display device and a control device according to some embodiments;
[0010] FIG2 is a block diagram of a hardware configuration of a control device according to some embodiments;
[0011] FIG3 is a block diagram of a hardware configuration of a display device according to some embodiments;
[0012] FIG4 is a block diagram of a software configuration of a display device according to some embodiments;
[0013] FIG5 is a hardware circuit diagram of a SOC including only a native HDMI interface according to some embodiments;
[0014] FIG6 is a hardware circuit diagram of a SOC including an HDMI native interface and an HDMI extended interface according to some embodiments;
[0015] FIG7 is a hardware circuit diagram of a SOC including a Switch chip according to some embodiments;
[0016] FIG8 is a hardware connection block diagram of some functional modules of a display device according to some embodiments;
[0017] FIG9 is a hardware circuit diagram of another SOC including a Switch chip according to some embodiments;
[0018] FIG10 is a flow chart of a method for a display device to interact with a CEC device according to some embodiments;
[0019] FIG11 is a flow chart of sending an SCDC interaction trigger signal through a first Switch according to some embodiments;
[0020] FIG12 is a flowchart illustrating interaction between a display device and a CEC device according to some embodiments;
[0021] FIG13 is a flowchart illustrating logical address allocation for a CEC device according to some embodiments;
[0022] FIG14 is a flow chart illustrating identifying a first interface number according to some embodiments;
[0023] FIG15 is a schematic diagram illustrating an EDID file transmission principle according to some embodiments;
[0024] FIG16 is a flow chart of performing SCDC interaction through a first Switch according to some embodiments;
[0025] FIG17 is a flow chart of SCDC interaction via a second Switch according to some embodiments;
[0026] FIG18 is another flowchart of sending an SCDC interaction trigger signal through a first Switch according to some embodiments;
[0027] FIG19 is a schematic diagram of a user interface according to some embodiments;
[0028] FIG20 is a schematic diagram of an application panel according to some embodiments;
[0029] FIG21 is a schematic diagram illustrating connections between a display device and an external device according to some embodiments;
[0030] FIG22 is a schematic diagram of confirmation information of a media asset signal abnormal state repair mode according to some embodiments;
[0031] FIG23 is a flow chart showing how components in a display device repair an abnormal state of a media resource signal according to some embodiments;
[0032] FIG24 is a diagram illustrating 256-byte EDID and 512-byte EDID according to some embodiments;
[0033] FIG25 is a schematic diagram of frame data of an information frame according to some embodiments;
[0034] FIG26 is a schematic diagram illustrating the data block type corresponding to each byte of PB3 according to some embodiments;
[0035] FIG27 is a schematic diagram of first prompt information according to some embodiments;
[0036] FIG28 is a schematic diagram of second prompt information according to some embodiments;
[0037] FIG29 is a schematic diagram of a signal source interface according to some embodiments;
[0038] FIG30 is a flow chart illustrating the process of executing video playback by various components within a display device according to some embodiments;
[0039] FIG31 is a schematic diagram of hardware connection between a power amplifier device and a display device according to some embodiments;
[0040] FIG32 is a schematic diagram of a display showing first prompt information according to some embodiments;
[0041] FIG33 is a schematic diagram illustrating connections among a media resource device, a power amplifier device, and a display device according to some embodiments;
[0042] FIG34 is a schematic diagram illustrating connections among a media resource device, a power amplifier device, and a display device according to some embodiments;
[0043] FIG35 is a video playback channel setting interface according to some embodiments. DETAILED DESCRIPTION
[0044] FIG1 is a schematic diagram of an operation scenario between a display device and a control device according to some embodiments. As shown in FIG1 , a user can operate the display device through a mobile terminal 300 and a control device 100 .
[0045] In some embodiments, the control device 100 may be a remote control. Communication between the remote control and the display device may include infrared protocol communication, Bluetooth protocol communication, or other short-range communication methods, allowing the display device to be controlled wirelessly or wired. The user may control the display device by inputting user commands through buttons on the remote control, voice input, control panel input, etc.
[0046] In some embodiments, a smart device (such as a mobile terminal, tablet computer, computer, laptop computer, etc.) may also be used to control the display device. For example, the display device may be controlled using an application running on the smart device.
[0047] In some embodiments, the display device may not use the aforementioned smart device or control device to receive instructions, but may receive user control through touch or gestures.
[0048] In some embodiments, the display device can also be controlled in ways other than the control device 100 and the smart device. For example, the user's voice command control can be directly received through a module for obtaining voice commands configured inside the display device, or the user's voice command control can be received through a voice control device set outside the display device.
[0049] In some embodiments, the display device also communicates data with the server 400. The display device may be connected to a local area network (LAN), a wireless local area network (WLAN), or other networks. The server 400 may provide various content and interactions to the display device 200. The server 400 may be a single cluster or multiple clusters, and may include one or more types of servers.
[0050] Figure 2 is a block diagram of the hardware configuration of a control device according to some embodiments. As shown in Figure 2, the control device 100 may include a processor 110, a communication device 130, a user input / output interface 140, a memory, and a power supply. The control device 100 can receive user input commands and convert them into commands that the display device can recognize and respond to, acting as an intermediary for interaction between the user and the display device.
[0051] Figure 3 is a hardware configuration block diagram of a display device according to some embodiments. As shown in Figure 3, the display device may include at least one of a tuner and demodulator 210, a communication device 220, a detector 230, an external device interface 240, at least one processor 250, a display 260, an audio output interface 270, a memory, a power supply, and a user input interface.
[0052] In some embodiments, at least one processor in the display device may include a video processor, an audio processor, a graphics processor, RAM, ROM, and first to nth interfaces for input / output. Display 260 may include a display screen component for presenting images, a driver component for driving image display, a component for receiving image signals output from the processor, and displaying video content, image content, and a menu control interface, as well as a user control UI interface. Display 260 may be a liquid crystal display, an OLED display, or a projection display, and may also be a projection device and projection screen.
[0053] The communication device 220 is a component used to communicate with external devices or servers using various communication protocols. For example, the communication device may include at least one of a Wi-Fi module, a Bluetooth module, a wired Ethernet module, or other network communication protocol chip or a near-field communication protocol chip, as well as an infrared receiver. The display device can use the communication device 220 to send and receive control signals and data signals with the external control device 100 or the server 400.
[0054] The user input interface can be used to receive control signals from the control device 100 (such as an infrared remote controller, etc.).
[0055] Detector 230 is used to collect signals from the external environment or external interactions. For example, detector 230 may include a light receiver, a sensor for collecting ambient light intensity; or, detector 230 may include an image collector, such as a camera, for collecting external environmental scenes, user attributes, or user interaction gestures; or, detector 230 may include a sound collector, such as a microphone, for receiving external sounds.
[0056] The external device interface 240 may include, but is not limited to, any one or more of the following: a high-definition multimedia interface (HDMI), an analog or digital high-definition component input interface (component), a composite video input interface (CVBS), a USB input interface (USB), an RGB interface, etc. It may also be a composite input / output interface formed by multiple of the above interfaces.
[0057] The tuner-demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
[0058] In some embodiments, the at least one processor 250 and the tuner / demodulator 210 may be located in different separate devices, that is, the tuner / demodulator 210 may also be located in an external device of the main device where the at least one processor 250 is located, such as an external set-top box.
[0059] In some embodiments, at least one processor 250 can control the operation of the display device and respond to user operations through various software control programs stored in the memory. At least one processor 250 can control the overall operation of the display device. For example, in response to receiving a user command for selecting a UI object to be displayed on the display 260, at least one processor 250 performs an operation related to the object selected by the user command.
[0060] In some embodiments, at least one processor in the display device may include a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), RAM (Random Access Memory, RAM), ROM (Read-Only Memory, ROM), a first interface to an nth interface for input / output, a communication bus (Bus), etc.
[0061] The user may input a user command through a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the graphical user interface (GUI). Alternatively, the user may input a user command through a specific voice or gesture, and the user input interface may recognize the voice or gesture through a sensor to receive the user input command.
[0062] A "user interface" is a medium interface for interaction and information exchange between an application or operating system and a user. It enables the conversion between the internal form of information and a form acceptable to the user. A common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operations that is displayed graphically. It can be an interface element such as an icon, window, or control displayed on the display of an electronic device. Among them, the aforementioned controls may include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets.
[0063] FIG4 is a block diagram of a software configuration of a display device according to some embodiments. As shown in FIG4 , the system of the display device is divided into three layers, namely, an application layer, a middleware layer, and a hardware layer from top to bottom.
[0064] The application layer mainly includes commonly used applications on the TV and the application framework. Among them, commonly used applications are mainly applications developed based on the browser, such as HTML5 APPs; and native applications (Native APPs).
[0065] The Application Framework is a complete programming model that provides all the basic functions required by standard application software, such as file access, data exchange, etc., as well as the user interfaces for these functions (toolbars, status bars, menus, and dialog boxes).
[0066] Native apps can support online or offline, message push or local resource access.
[0067] The middleware layer includes various television protocols, multimedia protocols, and system components. Middleware can leverage the fundamental services (functions) provided by system software to connect various parts of the application system or different applications on the network, enabling resource and function sharing.
[0068] The hardware layer mainly includes the HAL interface, hardware, and drivers. The HAL interface is a unified interface for all TV chips, and the specific logic is implemented by each chip. Drivers mainly include: 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.
[0069] In order to clearly explain the technical solution of the present disclosure, the terms of the present disclosure are first explained:
[0070] CEC (Consumer Electronics Control) allows end users to control multiple CEC-enabled HD (High Definition) devices with a single remote control, eliminating the need to use multiple remote controls to control electronic devices such as televisions, set-top boxes, and portable HD devices.
[0071] In order to interact with external devices, the display device is equipped with Extended Display Identification Data (EDID). EDID is a standard data format of the Video Electronics Standards Association (VESA), which contains some information about the display device, such as the manufacturer information of the display device, supported display resolutions, supported sound formats, and sound channels, etc. EDID can be stored in two ways: built-in and external. The built-in EDID method means that the EDID data is written in the program. When the smart TV is powered on by DC, the EDID data is written into the Electrically Erasable Programmable Read-Only Memory (EEPROM) chip. When in use, the EDID data of the smart TV is obtained from the EEPROM chip. The external EDID method means that the EDID data is directly written into the external EEPROM chip and is directly read by the external device through the display data channel without being controlled by the main program of the smart TV.
[0072] HDMI (High Definition Multimedia Interface) is a digital video / audio interface technology. It is a specialized digital interface suitable for image transmission. It can transmit both audio and image signals simultaneously, with a maximum data transmission speed of 48Gbps (version 2.1). It also eliminates the need for digital-to-analog or analog-to-digital conversion before signal transmission. HDMI interfaces are hot-swappable.
[0073] HPD (Hot Plug Detection) is designed to achieve hot plugging of HDMI connections. Simply put, when the transmitter is connected to the receiver, the receiver responds with an HPD signal to the transmitter, and then the transmitter starts the DDC channel, reads the receiver's EDID information, and then performs HDCP (High-bandwidth Digital Content Protection) interaction. If the authentication of both parties is successful, the video and audio will work normally. Otherwise, the connection fails and different systems will have different processing.
[0074] A system-on-chip (SOC), also known as a system-on-chip (SoC), is a system or product composed of multiple integrated circuits with specific functions combined on a single chip. This system or product includes a complete hardware system and the embedded software it supports. In the disclosed embodiment, the SOC detects device connectivity and reads EDID information.
[0075] DDC (Digital Display Channel) is an information channel between CEC devices and display devices. Through this information channel, the display device can transmit the internal data of its display directly to the CEC device.
[0076] After the CEC device inputs the HDMI signal to the display device, if the display device supports the SCDC function, the CEC device will perform SCDC interaction with the display device. The CEC device will then determine whether there is any abnormality in the interaction between the display device and the CEC device based on the value generated during the SCDC interaction. As an audio and video display device, the display device requires a signal source to access and transmit audio and video data. The display device usually supports 4-channel HDMI access signal sources (CEC devices). If more than 4 CEC devices need to be used, it can only be achieved through the external HDMI interface method. For example, an HDMI switch can be used to switch an HDMI channel to a different HDMI interface on the display device motherboard in real time.
[0077] When a display device is equipped with only a native HDMI interface, its SOC hardware circuit diagram can be shown in Figure 5. The circuit shown in Figure 5 includes the native HDMI interfaces: HDMIrx1, HDMIrx2, and HDMIrx3. A CEC device can access the display device via the native HDMI interface. Since there is no switch between the CEC device and the display device, the CEC device can directly interact with the display device for SCDC. Alternatively, when a display device is equipped with both a native HDMI interface and an HDMI expansion interface, its SOC hardware circuit diagram can be shown in Figure 6. The circuit shown in Figure 6 includes not only the native HDMI interfaces: HDMIrx1, HDMIrx2, and HDMIrx3, but also the HDMI expansion interfaces: HDMI3 and HDMI4. When a CEC device is connected to the display device via the HDMI expansion interface, since there is a switch between the CEC device and the display device, CEC device 3 cannot directly interact with the display device for SCDC; SCDC interaction must be performed through the switch.
[0078] Figure 7 is a hardware circuit diagram of a SOC chip including a Switch chip, according to some embodiments. As shown in Figure 7, a Switch chip typically has specific pins for transmitting and receiving data and signals, namely the aforementioned transmit pin SwitchTX and receive pin SwitchRX. When a display device interacts with a CEC device through SCDC, it must go through two stages of SCDC interaction, namely SwitchTX and SwitchRX. This means that the interaction process requires data and signals to be transferred through SwitchTX and SwitchRX. This results in a longer SCDC interaction time, affecting the efficiency of the CEC device outputting audio and video signals to the display device.
[0079] In view of this, an embodiment of the present disclosure provides a display device. Figure 8 is a hardware connection block diagram of some functional modules of the display device provided by the embodiment of the present disclosure. As shown in Figure 8, the display device of the embodiment of the present disclosure mainly includes the following functional modules: at least one processor (including SOC and registers), a display, an HDMI native interface, an HDMI extension interface, a first switch, and a second switch. It should be understood that the functional modules mentioned above are only for the purpose of illustrating the modules described in the solution, rather than for implementing all the functional modules of the present disclosure.
[0080] At least one processor of a display device is the control and signal processing core of the entire display device. It is responsible for controlling the operation of the entire display device system, including receiving external image signals, image signal decoding, image quality processing, image signal output, controlling the operation of the backlight component, and ensuring the normal operation of peripheral devices or components such as Wi-Fi and Bluetooth.
[0081] The display is used to display the video screen. The CEC module is used to use the HPD event to perform CEC interaction with the CEC device, that is, to send and receive CEC messages with the CEC device. The CEC module may specifically include the CEC protocol stack in the embodiment of the present disclosure. In addition, the display device should also include a power supply (not shown in the figure), which is the power output module of the entire display device and provides power guarantee for all modules of the display device. Display
[0082] In some embodiments, the HDMI extended interface may be communicatively connected to the HDMI native interface via a switch, and the switch may include the aforementioned first switch and second switch.
[0083] FIG9 is a hardware circuit diagram of a display device provided by an embodiment of the present disclosure. In the display device of the embodiment of the present disclosure, the connection relationship between the HDMI extended interface and the HDMI native interface can be shown in FIG9 . The HDMI extended interfaces are HDMI3 and HDMI4, and a communication connection is established with the HDMI native interface HDMIrx3 through a Switch switch. Among them, the first Switch switch includes SwitchTX and SwitchRX (the form can be seen in the Switch chip of FIG7 ), and the second Switch switch does not include SwitchTX and SwitchRX. Therefore, the second Switch switch is a Switch switch that can directly switch the signal source. That is, the signal source can be switched without passing through SwitchTX and SwitchRX to transfer the signal. In some embodiments, the second Switch switch can be a Port Switch switch.
[0084] Based on the functional modules shown in FIG8 and the circuit connection block diagram shown in FIG9 , the embodiment of the present disclosure further provides a device control method, which can include the following steps as shown in FIG10 :
[0085] S1001: When a CEC device is connected to a display device through an HDMI extension interface, identifying the first interface number of the HDMI extension interface to which the CEC device is connected, and receiving SCDC interaction information fed back by the CEC device; the SCDC interaction information is information fed back by the CEC device according to an SCDC interaction trigger signal;
[0086] When the CEC device is connected to the display device through the HDMI extension interface, after the first Switch sends an SCDC interaction trigger signal to the CEC device, the CEC device feeds back SCDC interaction information to the display device according to the SCDC interaction trigger signal.
[0087] FIG11 shows a process of sending an SCDC interaction trigger signal to the CEC device through the first switch when the CEC device is connected to the display device through the HDMI extension interface, which may include the following steps:
[0088] S1101, after the CEC device is plugged in, the HDMI expansion interface pulls up the 5V pin level to generate a 5V pull-up signal for the device;
[0089] S1102, sends a 5V pull-up signal to SwitchTX;
[0090] S1103, SwitchTX pulls the 5V pin high to generate a SwitchTX 5V pull-high signal;
[0091] S1104, sends SwitchTX 5V high signal to SOC;
[0092] S1105, SOC pulls the HDMIRX Hotplug pin high to generate a SOC Hotplug pull-high signal;
[0093] S1106, sends a SOC Hotplug pull-high signal to SwitchRX;
[0094] S1107, SwitchRX pulls the SwitchRX Hotplug pin high to generate a SwitchRX Hotplug pull-high signal;
[0095] S1108: Send a SwitchRX Hotplug high signal to the CEC device.
[0096] In the process shown in Figure 11, when a CEC device is connected to a display device via an HDMI expansion interface (i.e., the CEC device is plugged into the display device), the HDMI expansion interface first pulls up its 5V pin, generating a device 5V pull-up signal, and sends the device 5V pull-up signal to the SwitchTX pin. After receiving the device 5V pull-up signal, SwitchTX simultaneously pulls up its 5V pin. In other words, the SwitchTX 5V pull-up signal is then generated, and the SwitchTX 5V pull-up signal is sent to at least one processor in the display device, i.e., the SoC chip shown in Figure 11.
[0097] The SOC hotplug pin, designated as HDMIRX Hotplug, is pulled high after receiving a 5V pull-high signal. When this pin is pulled high, it generates a SOC Hotplug pull-high signal. The SOC transmits the SOC Hotplug pull-high signal to the SwitchRX pin. Based on the SOC Hotplug pull-high signal, SwitchRX pulls high the SwitchRX Hotplug pin, generating a SwitchRX Hotplug pull-high signal and transmitting it to the CEC device.
[0098] The SwitchRX Hotplug high signal in the above process is the SCDC interaction trigger signal. The CEC device can feedback SCDC interaction information to the display device based on the SCDC interaction trigger signal. In other words, the CEC device receives the SwitchRX Hotplug high signal from SwitchRX and feedbacks SCDC interaction information to the display device.
[0099] After receiving the SCDC interaction trigger signal, the CEC device also needs to determine whether the display device supports the SCDC function. Therefore, after receiving the SCDC interaction trigger signal from the display device, the CEC device also needs to send SCDC interaction information to the display device to confirm whether the display device supports the SCDC function. The SCDC interaction information includes at least an SCDC interaction request. After the CEC device sends the SCDC interaction request to the display device, the display device provides feedback to the CEC device regarding whether it supports the SCDC function. For example, the SCDC interaction request may include a value that the CEC device needs to write to a register. Based on the value written by the CEC device in the register, the SOC then writes a value corresponding to whether the display device supports the SCDC function in the register.
[0100] It should be noted that the embodiments of the present disclosure are used to improve the interaction speed between the display device and the CEC device. Therefore, the embodiments of the present disclosure are based on the fact that the display device supports the SCDC function, and automatically exclude the special case that the display device does not support the SCDC function.
[0101] If the display device is only equipped with a native HDMI interface, as shown in the hardware circuit diagram of Figure 5 above, the native HDMI interface is uniquely connected to a single HDMI processor. If a CEC device accesses the display device using the native HDMI interface, since the native HDMI interface corresponds to the HDMI processor, the HPD high signal generated by the HDMI processor can be used to clearly determine which native HDMI interface the CEC device is currently connected to. After determining the connected native HDMI interface, the display device can establish an HDMI channel using the determined native HDMI interface, and then use the established HDMI channel to establish a CEC connection with the CEC device.
[0102] Continuing with Figure 6, if a CEC device uses the native HDMI interface HDMIrx1 to connect to a display device, the HDMI processor connected to the native HDMI interface HDMIrx1 generates an HPD high signal after detecting the connection of the CEC device. Based on the identification of the HDMI processor that generates the HPD high signal and a mapping relationship, it can be determined that the HDMI interface connected to the CEC device is HDMIrx1. Therefore, an HDMI channel can be established between the CEC device and the display device through the interface HDMIrx1, and a CEC connection can be established between the CEC device and the display device.
[0103] However, if the display device is configured with an HDMI extended interface in addition to the HDMI native interface. For example, the circuit diagram shown in Figure 6 above shows not only the HDMI native interface, but also the HDMI extended interfaces: HDMI3 and HDMI4. The HDMI native interface HDMIrx3 is connected to the HDMI extended interfaces: HDMI3 and HDMI4 through a switch. Then, when the CEC device uses the HDMI extended interface to access the display device, since the HDMI native interface HDMIrx3, the HDMI extended interface HDMI3 and the extended interface HDMI4 share a HDMI processor, it cannot be determined whether HDMIrx3 recognizes the access as the access to the extended interface HDMI3 or the access to the extended interface HDMI4. It can be seen that after the HDMI native interface HDMIrx3 recognizes the access, it is still necessary to determine whether the access is to the extended interface HDMI3 or the extended HDMI4.
[0104] In some embodiments, a display device can use CEC signals to control external devices connected to its HDMI interface. These controlled external devices are called CEC devices. When a CEC device is connected to a display device via its HDMI interface, the display device uses CEC commands to obtain the device information of the CEC device. The display device then uses the CEC device information and the logical address of the CEC device to establish a connection with the CEC device.
[0105] For example, Figure 12 shows the flow chart for the interaction between a display device and a CEC device. Since the HDMI interface has hot-plug functionality, when a CEC device is connected to a display device via the HDMI interface, the display device uses the hot-plug functionality to detect the CEC device's connection. The display device's system hardware triggers the HotPlug signal to go high, and through this signal, the display device becomes aware of the CEC device's connection. Upon receiving the HotPlug signal, the display device broadcasts its physical address, allowing all CEC devices on the CEC line where the display device resides to obtain the physical address broadcast by the display device.
[0106] After the CEC device receives the physical address broadcast by the display device, it calculates its own logical address according to the HDMI standard protocol (usually the CEC line assigns an address to the CEC device) and broadcasts the assigned logical address. Among them, CEC is a bus-based protocol that assigns physical addresses through the Physical Address Discovery Process (physical address discovery mechanism). When a device with CEC function obtains a new physical address, it will perform the following steps: it is destined to apply for the allocation of a logical address corresponding to the device type of the CEC device; it reports the binding of its physical address and logical address through broadcast (Report Physical Address). The types of logical addresses can be shown in Table 1:
[0107] Table 1 Logical address types
[0108] The logical address of a CEC device is also dynamically allocated. As shown in FIG13 , the logical address allocation method of a CEC device may include the following steps:
[0109] S1301, determining the device type of the CEC device;
[0110] S1302, assigning a logical address to the CEC device according to the device type;
[0111] S1303, determining whether the allocated logical address is occupied;
[0112] S1304, if it is occupied, determine whether the allocated logical address is the last one;
[0113] S1305: If it is the last one, assign the logical address 15 in Table 1 to the currently connected CEC device; if it is not the last one, return to step S1302 to reallocate the logical address;
[0114] S1306: If it is not occupied, broadcast the allocated logical address and declare the occupation of the logical address;
[0115] The root node (usually a display device) is directly assigned logical address 0. When a CEC device is plugged into a display device, a first preset logical address is assigned to the CEC device based on its device type. For example, if the CEC device is a DVD and its device type is Playback Device 1, the CEC device is assigned first preset logical address 4 according to Table 1. This first preset logical address is then broadcast to other CEC devices. If first preset logical address 4 is not occupied, the currently connected CEC device will not receive a response confirmation message.
[0116] If the first preset logical address 4 is already occupied, the CEC device occupying the first preset logical address 4 will send a response confirmation message to the currently connected CEC device, informing the currently connected CEC device that the first preset logical address 4 is already occupied. After receiving the response confirmation message, the currently connected CEC device continues to allocate logical addresses according to Table 1 until it receives no response confirmation messages from other CEC devices after allocating logical addresses.
[0117] For example, the currently connected CEC device is assigned the second preset logical address 8. After broadcasting this logical address, if no response confirmation message is received from other CEC devices, it indicates that the second preset logical address 8 is not occupied. Therefore, the currently connected CEC device can occupy the second preset logical address 8. After occupying the second preset logical address 8, the currently connected CEC device sends a broadcast "Report Physical Address". This broadcast includes the physical address and logical address of the currently connected CEC device. This broadcast is used to declare the occupation of the second preset logical address 8 to other CEC devices. If all logical addresses are occupied after querying according to Table 1, logical address 15 in Table 1 is assigned to the currently connected CEC device.
[0118] After receiving the logical address of the CEC device, the display device adds the logical address of the CEC device to the device list in the display device system. It also sends a first CEC command to the CEC device, which is used to request the manufacturer information of the CEC device. After receiving the first CEC command, the CEC device feeds back the manufacturer information of the CEC device to the display device. The display device then continues to send a second CEC command to the CEC device, which is used to request the device name of the CEC device. After receiving the second CEC command, the CEC device feeds back the device name of the CEC device to the display device. After obtaining the manufacturer information and device name of the CEC device, the display device can send a connection request to the CEC device. When the CEC device feeds back a connection success message based on the connection request, the display device and the CEC device are connected.
[0119] It should be noted that within the same CEC line, the CECs of all CEC devices are connected to the same line. Therefore, after the display device's CEC sends a CEC command, all CEC devices on the line will receive it. The logical address is used to distinguish which CEC device the CEC command is intended for. The logical address is contained in the CEC command's header data. If the logical address included in the CEC command's header data matches its logical address, the corresponding CEC device will execute the corresponding action for the opcode in the CEC command. If the logical address included in the CEC command's header data does not match its logical address, the corresponding CEC device will ignore the CEC command.
[0120] For example, the CEC command for Standby consists of "Start Signal + 00FF + 0x36," where 00 represents the display device's logical address, FF represents the broadcast address (the set of logical addresses of all CEC devices), and 0x36 indicates standby operation. This command is sent by the display device to all CEC devices, instructing them to enter standby mode. Upon receiving this command, all CEC devices on the same CEC line as the display device enter standby mode.
[0121] As you can see, every time a CEC device connects to a display device, it must be assigned a physical address (dynamically assigned), and this physical address is identified through DDC / EDID. Since the EDID for each HDMI port on a display device is already defined, and the physical address of each HDMI port is written in the EDID, when a CEC device connects to a display device and reads the EDID through the DDC channel, the physical address of the CEC device is already determined. Therefore, the physical address of the CEC device requesting access can be used to determine the HDMI extension port to which the CEC device is connected.
[0122] Based on the above principle, the specific process of identifying the first interface number of the HDMI extension interface connected to the CEC device can be shown in Figure 14, including the following steps:
[0123] S1401, SOC HDMI interface initialization;
[0124] S1402, determining whether the display device supports an external switch;
[0125] S1403: If not supported, the signal switching process of the external switch is not executed;
[0126] S1404: If supported, traverse the SOC interfaces to determine the SOC interface that supports the external switch;
[0127] S1405, notifying the Switch via the integrated circuit bus ICC to read the EDID file and transmit it to the HDIMI expansion interface;
[0128] S1406, after the CEC device is connected, determine whether the 5V pin detects a high level;
[0129] S1407, if not detected, it is determined that the device has not been successfully connected;
[0130] S1408, if detected, obtain the logical address passed by the Ping command;
[0131] S1409, determining whether a physical address or active signal source message is obtained;
[0132] S1410, if yes, request the physical address of the logical address or the active signal source message to obtain the physical address corresponding to the logical address;
[0133] S1411, if not, parse the CEC message to obtain the physical address corresponding to the logical address;
[0134] S1412, notifying the upper layer application to switch the signal source;
[0135] S1413 switches the HDMIrx path of the SOC to the Switch port switch interface, and switches the external Switch switch to the working mode of the corresponding port interface.
[0136] After initializing the HDMI interface, the SOC checks whether the display device supports an external switch. If it determines that the display device does not support an external switch, the normal signal source switching process is performed (identifying the native HDMI interface and switching to the native HDMI interface). If it is determined that the display device supports an external switch, the SOC interface is traversed and the SOC interface that supports external switching is selected.
[0137] In the embodiment of the present disclosure, for different CEC devices connected to different HDMI interfaces, different EDID information needs to be transmitted to the CEC device according to the different interface capabilities of the HDMI interface. The implementation method can be shown in Figure 15. The SOC chip of the display device reads different EDID files from the Switch chip through the IIC (Inter-Integrated Circuit, integrated circuit bus), and then the Switch chip transmits the EDID files to different HDMI interfaces. After the CEC device is connected, it will actively read the corresponding EDID file. Before transmitting the EDID file to the Switch chip, the SOC chip needs to determine the interface capability of the HDMI interface. The interface capability includes the playback format, playback rate and other capability parameters supported by the interface. After obtaining the interface capability of the HDMI interface, the EDID file corresponding to the interface capability is transmitted to the corresponding HDMI interface. The CEC device is connected to the display device through the HDMI interface, that is, it can read the EDID file that matches the interface capability of the corresponding HDMI interface.
[0138] Therefore, when the CEC device is connected to different HDMI extension interfaces, the EDID file that matches the connected HDMI extension interface can be read. After the CEC device is connected to the display device through the HDMI extension interface, if the SOC 5V does not detect a high level, the display device determines that there is no CEC device connected. If the SOC 5V detects a high level, it traverses the logical addresses that are pinged (the ping command is a command to detect whether there is data transmission with the input logical address), and then obtains the pinged logical address. If the physical address or active Source (active signal source) message is not obtained, the CEC message can be directly parsed to obtain the physical address corresponding to the pinged logical address (the physical address of the HDMI extension interface connected to the CEC device). If the physical address or active Source message is obtained, it is necessary to request the pinged logical address or active Source message, and then parse the CEC message to obtain the physical address corresponding to the pinged logical address.
[0139] Since the mapping relationship between the physical address and the interface number of the HDMI extension interface is stored in the processor, the interface number with a mapping relationship with the physical address can be searched from the mapping table based on the physical address of the connected CEC device, thereby identifying the HDMI extension interface of the connected CEC device. For example, in the mapping table, physical address 1 has a mapping relationship with HDMI extension interface HDMI3, and physical address 2 has a mapping relationship with HDMI extension interface HDMI4. Then, when the CEC device is connected to the display device, the physical address corresponding to the logical address that is pinged is physical address 1, and the interface with a mapping relationship with physical address 1 is HDMI extension interface HDMI3. Therefore, it can be determined that the HDMI extension interface HDMI3 is currently connected to the CEC device.
[0140] S1002: Send the first interface number to the second switch, so that the second switch switches the communication link to the HDMI extension interface corresponding to the first interface number;
[0141] S1003, the CEC device determines whether the display device supports the SCDC function based on the SCD interaction information;
[0142] S1004: If the SCDC function is supported, perform SCDC interaction with the CEC device based on the communication link;
[0143] S1005: If the SCDC function is not supported, no SCDC interaction is performed with the CEC device.
[0144] FIG16 is a flow chart of performing SCDC interaction through a first switch according to some embodiments. As shown in FIG16 , the following steps may be included:
[0145] S1601, SwitchRX sends an SCDC interaction trigger signal to the CEC device;
[0146] S1602: The CEC device sends a device output signal to SwitchRX.
[0147] S1603: The CEC device writes the differential transmission clock signal TMDS_Bit_Clock_Ratio and the scrambling enable value Scrambling_Enable to the 0×20 register of the SwitchRX and device.
[0148] If the first interface number is sent to the first Switch, and then the communication link is switched to the HDMI extension interface corresponding to the first interface number using the first Switch, since the first Switch includes SwitchTX and SwitchRX, two-level interactions of SwitchTX and SwitchRX are required during SCDC interaction.
[0149] For example, after a CEC device inputs audio and video signals to a display device, it first needs to write the values of TMDS_Bit_Clock_Ratio and Scrambling_Enable to the 0×20 register of the SwitchRX device. The format of the 0×20 register is shown in Table 2.
[0150] Table 2 TMDS (Transition-minimized differential signaling) configuration
[0151] The values of Scrambling_Enable and TMDS_Bit_Clock_Ratio are both set by the CEC device. When the CEC device sets Scrambling_Enable to 1, scrambling is enabled on the display device. Setting Scrambling_Enable to 0 disables scrambling on the display device. When the display device supports a TMDS bit rate greater than 3.4 Gbps, the TMDS_Bit_Clock_Ratio control bit is required. If the TMDS bit rate is less than 3.4 Gbps, the CEC device must set TMDS_Bit_Clock_Ratio to 0, and the TMDS clock and data signals must comply with HDMI 1.4b. When the TMDS bit rate is between 3.4 and 6.0 Gbps, the CEC device must set TMDS_Bit_Clock_Ratio to 1, and the TMDS clock and data signals must comply with HDMI 2.0 specification 6.1.1.4. Once set, the CEC device can read the Clock_Detected status bit to ensure that the display device received the transmitted TMDS_Bit_Clock_Ratio setting.
[0152] S1604, SwitchRX and the device register write the written TMDS_Bit_Clock_Ratio and Scrambling_Enable to the 0×20 register of Switch and SOC;
[0153] S1605, SOC reads TMDS_Bit_Clock_Ratio and Scrambling_Enable;
[0154] S1606, the SOC writes the status scrambling value Scrambling_status to the 0×21 register of the switch and the device;
[0155] S1607, SwitchRX reads Scrambling_status;
[0156] S1608, SwitchRX writes Scrambling_status to the 0×21 register of SwitchRX and the device;
[0157] S1609, the CEC device reads Scrambling_status;
[0158] After the CEC device writes to the 0×20 register of the SwitchRX and device, the 0×20 register of the SwitchRX and device also needs to write the written TMDS_Bit_Clock_Ratio and Scrambling_Enable values to the 0×20 register of the SwitchTX and SOC. The SOC reads the TMDS_Bit_Clock_Ratio and Scrambling_Enable values from the 0×20 register of the SwitchTX and SOC, and then writes the Scrambling_status value to the 0×21 register of the SwitchTX and SOC.
[0159] The format of register 0×21 is shown in Table 3.
[0160] Table 3 Status Flags configuration
[0161] SwitchRX reads the Scrambling_status value from the 0×21 register of SwitchTX and SOC, and then writes the read Scrambling_status value to the 0×21 register of SwitchRX and the device. Finally, the CEC device reads the Scrambling_status value from the 0×21 register of SwitchRX and the device.
[0162] S1610, the SOC detects whether the audio and video signals are stable and whether the audio and video decoding is successful;
[0163] S1611, SOC writes the value indicating whether there is an abnormality to the 0×40 / 0×41 register of SwitchTX and SOC;
[0164] S1612, SwitchRX reads the value indicating whether there is an abnormality;
[0165] At step S1613, SwitchRX writes the value indicating whether there is an abnormality to the 0×40 / 0×41 registers of SwitchRX and the device;
[0166] S1614: The CEC device reads registers 0×40 / 0×41 and determines whether there is an abnormality in the interaction based on the written values.
[0167] If the SOC detects scrambling, it writes the Scrambling_status value of 1 to both SwitchTX and SOC register 0×21. Therefore, the CEC device can read the Scrambling_status value as 1 and determine that the display device supports SCDC based on this value. If the SOC does not detect scrambling, it writes the Scrambling_status value of 0 to both SwitchTX and SOC register 0×21. Therefore, the CEC device can read the Scrambling_status value as 0 and determine that the display device does not support SCDC based on this value. After determining that the display device supports SCDC, the CEC device obtains the detection value from the SOC to determine whether there are any anomalies in the signal exchange between the CEC device and the display device. Specifically, if the SOC detects that the audio and video signals are stable and audio and video decoding is successful, it writes the corresponding values to registers 0×40 / 0×41 of SwitchTX and SOC.
[0168] After SwitchRX reads the value corresponding to "no exception" from the 0×40 / 0×41 registers of SwitchTX and the SOC, it writes the value to the 0×40 / 0×41 registers of SwitchRX and the device. Finally, the CEC device can read the value corresponding to "no exception" from the 0×40 / 0×41 registers of SwitchRX and the device. Based on the value, it determines that there is no exception in the signal interaction between the CEC device and the display device. The CEC device can then continue to input audio and video signals to the display device.
[0169] If the SOC detects an unstable audio or video signal or unsuccessful audio or video decoding, it writes the corresponding value to the 0×40 / 0×41 registers of SwitchTX and the SOC. SwitchRX reads the corresponding value from the 0×40 / 0×41 registers of SwitchTX and the SOC and then writes it to the 0×40 / 0×41 registers of SwitchRX and the device. Finally, the CEC device reads the corresponding value from the 0×40 / 0×41 registers of SwitchRX and the device. Based on the corresponding value, it determines that the signal exchange between the CEC device and the display device is abnormal and stops inputting audio and video signals to the display device.
[0170] It should be noted that regardless of whether the SOC identifies an unstable audio or video signal or an unsuccessful audio or video decoding, the CEC device can read the corresponding value from the register. If the CEC device needs to read the corresponding value from the register without an abnormality, it must ensure that the SOC simultaneously identifies a stable audio or video signal and a successful audio or video decoding.
[0171] The format of registers 0×40 / 0×41 is shown in Table 4.
[0172] Table 4 Status Flags configuration
[0173] If the display device detects a valid clock signal (i.e., the SOC recognizes that the audio and video signals are stable), the value of Clock_Detected is set to 1. If the display device does not detect a valid clock signal (i.e., the SOC recognizes that the audio and video signals are unstable), the value of Clock_Detected is set to 0. If the display device detects that data is successfully decoded on channel 0 (i.e., the SOC recognizes that decoding is successful), the value of Ch0_Locked is set to 1. If the display device does not detect that data is successfully decoded on channel 0 (i.e., the SOC recognizes that decoding fails), the value of Ch0_Locked is set to 0. If the display device detects that data is successfully decoded on channel 1, the value of Ch1_Locked is set to 1. If the display device does not detect that data is successfully decoded on channel 1, the value of Ch1_Locked is set to 0. If the display device detects that data is successfully decoded on channel 2, the value of Ch2_Locked is set to 1. If the display device does not detect that data is successfully decoded on channel 2, the value of Ch2_Locked is set to 0. It should be noted that only one of channels 1, 2, and 3 needs to have its ChX_Locked value set to 1 for the CEC device to determine that the data is successfully decoded on the display device.
[0174] It can be seen that if the first Switch is used to establish a communication link between the CEC device and the display device, not only does it need to transfer data between SwitchTX and SwitchRX, but it also needs to configure two registers: the register between SwitchRX and the device and the register between SwitchTX and the SOC, which leads to a longer SCDC interaction time.
[0175] FIG17 is a flowchart of performing communication link switching and SCDC interaction through a second switch according to some embodiments. As shown in FIG17 , the flowchart may include the following steps:
[0176] S1701, SwitchRX sends an SCDC interaction trigger signal to the CEC device;
[0177] S1702: The CEC device sends a device output signal to SwitchRX.
[0178] S1703: The CEC device writes the differential transmission clock signal TMDS_Bit_Clock_Ratio and the scrambling enable value Scrambling_Enable to the 0×20 register of the SOC and the device;
[0179] S1704, SOC reads TMDS_Bit_Clock_Ratio and Scrambling_Enable;
[0180] Since the second Switch does not include SwitchTX and SwitchRX, SwitchRX is still required to send the SCDC interaction trigger signal to the CEC device. The second Switch can directly switch the communication link to the HDMI extension interface corresponding to the first interface number, that is, directly create a communication link between the SOC and the CEC device, thereby passing through the SwitchTX and SwitchRX of the first Switch. When the display device and the CEC device perform SCDC interaction, there is no need for two-level interaction. In addition, this process only requires the use of the SOC and the device registers for data reading and writing, without the need to use the SOC and SwitchTX registers and the SwitchRX and device registers for data reading and writing.
[0181] S1705, the SOC writes the status scrambling value Scrambling_status to the 0×21 register of the SOC and the device;
[0182] S1706, the CEC device reads Scrambling_status;
[0183] After receiving the SCDC interaction trigger signal from SwitchRX, the CEC device must first write the TMDS_Bit_Clock_Ratio and Scrambling_Enable values to register 0×20 between the SOC and the device. The SOC can directly read the TMDS_Bit_Clock_Ratio and Scrambling_Enable values from register 0×20 between the SOC and the device. It can also directly write the Scrambling_status value to register 0×21 between the SOC and the device. The CEC device can directly read the Scrambling_status value from register 0×21 between the SOC and the device and then determine whether the display device supports SCDC based on the Scrambling_status value.
[0184] S1707, the SOC detects whether the audio and video signals are stable and whether the audio and video decoding is successful;
[0185] S1708: The CEC device writes the value indicating whether there is an abnormality into the 0×40 / 0×41 register of the SOC and the device;
[0186] S1709: The CEC device reads registers 0×40 / 0×41 and determines whether there is an abnormality in the interaction based on the written values.
[0187] After the CEC device determines that the display device supports the SCDC function, it can obtain the detection value from the SOC to determine whether there are any abnormalities in the signal interaction between the CEC device and the display device. Specifically, if the SOC recognizes that the audio and video signals are stable and the audio and video decoding is successful, the value corresponding to no abnormality is written to the 0×40 / 0×41 registers of the SOC and the device. Finally, the CEC device can read the value corresponding to no abnormality from the 0×40 / 0×41 registers of the SOC and the device. Based on the value corresponding to no abnormality, it determines that there are no abnormalities in the signal interaction between the CEC device and the display device. The CEC device can then continue to input audio and video signals to the display device.
[0188] If the SOC detects that the audio and video signals are unstable or that audio and video decoding is unsuccessful, it writes the value corresponding to the abnormality into the 0×40 / 0×41 registers of the SOC and the device. Finally, the CEC device can read the value corresponding to the abnormality from the 0×40 / 0×41 registers of the SOC and the device. If the value corresponding to no abnormality is found, it determines that there is an abnormality in the signal interaction between the CEC device and the display device, and the CEC device can stop inputting audio and video signals to the display device.
[0189] The second switch switches the communication link directly to the HDMI extended interface corresponding to the first interface number, which means that the second switch can directly switch the SCL (Serial Clock) line of the SOC HDMIrx to the SCL line of the corresponding signal source interface through the first switch, and can also directly switch the SDA (Serial Data) line of the SOC HDMIrx to the SCL line of the corresponding signal source interface through the first switch. For example, as shown in Figure 9, if the extended interface connected to the CEC device is identified as the HDMI3 interface, the second switch can switch the SCL line of the SOC HDMIrx to the SCL line of the HDMI extended interface HDMI3, and at the same time, switch the SDA line of the SOC HDMIrx to the SDA line of the HDMI extended interface HDMI3, thereby establishing a communication link between the display device and the CEC device. Similarly, if it is recognized that the expansion interface connected to the CEC device is the HDMI4 interface, the second Switch switch can switch the SCL line of the SOC HDMIrx to the SCL line of the HDMI expansion interface HDMI4 interface, and at the same time, the SDA line of the SOC HDMIrx is switched to the SDA line of the HDMI expansion interface HDMI4 interface, thereby realizing the establishment of a communication link between the display device and the CEC device.
[0190] As can be seen from the above content, in the device control method provided by the embodiment of the present disclosure, when the CEC device is connected to the display device through the HDMI extended interface, the SCDC interaction trigger signal can be sent to the CEC device through the SwitchRX of the first Switch. The CEC device feeds back SCDC interaction information based on the SCDC interaction trigger signal, then identifies the first interface number of the HDMI extended interface to which the CEC device is connected, and then sends the first interface number to the second Switch. The second Switch switches the communication link to the HDMI extended interface corresponding to the first interface. If the CEC device determines that the display device supports the SCDC function based on the SCDC interaction information, the display device can perform SCDC interaction with the CEC device based on the communication link.
[0191] In this way, the second Switch can be used to directly establish a communication link between the display device and the CEC device. Since the second Switch does not include SwitchTX and SwitchRX, there is no need for two-level SCDC interaction between the display device and the CEC device, thereby shortening the SCDC interaction time.
[0192] In addition, as shown in Figures 16 and 17 above, whether the communication link is established using the first Switch or the second Switch, the CEC device needs to wait for SwitchRX to output the SCDC interaction trigger signal before it can interact with the display device through SCDC. As shown in Figure 11 above, the SCDC interaction trigger signal is the SwitchRX Hotplug pull-up signal. The generation of the SwitchRX Hotplug pull-up signal, in turn, needs to wait for the SOC Hotplug pull-up signal. The generation of the SOC Hotplug pull-up signal, in turn, needs to wait for the SwitchTX 5V signal. Therefore, when the CEC device is connected to the display device, it takes a long time for the CEC device to receive the SCDC trigger signal sent by SwitchRX.
[0193] To solve the above problem, the process of sending the SCDC interaction trigger signal to the CEC device through the first Switch in the embodiment of the present disclosure can also be shown in Figure 18, which may include the following steps:
[0194] S1801, SwitchTX keeps the 5V pin in a high state before the CEC device is plugged into the display device;
[0195] S1802, SwitchTX sends a SwitchTX 5V pull-up signal to the SOC;
[0196] S1803, S0C keeps the HDMIRXhotplug pin in a high state;
[0197] S1804, SOC sends a SOC Hotplug pull-high signal to SwitchRX;
[0198] S1805: After the CEC device is plugged in, the HDMI expansion interface pulls up the 5V pin level to generate a 5V pull-up signal for the device.
[0199] S1806, the CEC device sends a 5V pull-up signal to SwitchRX;
[0200] S1807, SwitchRX pulls the SwitchRX Hotplug pin high;
[0201] S1808, SwitchRX sends a SwitchRX Hotplug pull-high signal to the CEC device;
[0202] S1809: The CEC device sends a device output signal to SwitchRX.
[0203] Since the processing of the SOC and the first Switch is an asynchronous process, and the first Switch remains connected to the SOC, the SwitchTX 5V can be kept in a high state before the CEC device is connected to the display device. If the SwitchTX 5V is kept in a high state, the HDMIR Hotplug pin of the SOC is also kept in a high state. When the CEC device is connected to the display device, when SwitchRX detects the device 5V high signal, SwitchRX can directly pull up the SwitchRX Hotplug without waiting for the SwitchTX 5V high signal and the SOC Hotplug high signal. Then, a SwitchRX Hotplug high signal is generated and sent to the CEC device. This shortens the time from when the CEC device is connected to the display device to when the SCDC interaction trigger signal sent by SwitchRX is received, which can further shorten the SCDC interaction time between the display device and the CEC device.
[0204] As mentioned above, EDID contains some information about the display device, such as the display device's manufacturer information, supported display resolutions, supported audio formats, and audio channels, etc. External devices can read EDID data to determine the features supported by the display device.
[0205] Based on EDID data, external devices can generate corresponding media signals and send them to display devices for playback. However, when parsing EDID data, some content may be parsed abnormally. In this case, the external device generates abnormal media signals and sends them to the display device, causing the display device to display abnormal signals, preventing users from viewing the normal content and providing a poor user experience.
[0206] Specifically, when the user controls the display device to turn on, the display device can display a user interface through the display. The user interface may be a specific target image, such as various media resources obtained from a network signal source, including videos, pictures and other content. The user interface may also be some UI interfaces of the display device. Figure 19 is a schematic diagram of the user interface according to some embodiments. As shown in Figure 19, the user interface may include a first navigation bar 500, a second navigation bar 510, a function bar 520 and a content display area 530. The function bar 520 includes multiple function controls such as "watch history", "my favorites" and "my applications".
[0207] The user can view the applications installed on the display device, that is, the functions supported by the display device, through the application panel. It should be noted that the applications installed on the display device can be system applications or third-party applications. By opening an application, the user controls the display device to implement the corresponding functions of the application. Figure 20 is a schematic diagram of the application panel according to some embodiments. As shown in Figure 20, the application panel may include three controls: "Browser", "Online Media" and "Video Chat". The user can control the display device to open the browser application by clicking the "Browser" control. The user can perform corresponding operations in the browser, such as searching for media. The user can click the "Online Media" control to use the display device to watch some online media channels, including various media resources provided on the network. The user can click the "Video Chat" control to use the display device to conduct video chat.
[0208] As mentioned above, display devices have a device interface for connecting external devices, such as media devices, such as gaming devices. This device interface refers to an HDMI interface, including the aforementioned HDMI expansion interface and HDMI native interface.
[0209] The display device and external device that establish a communication connection serve as the receiving end (sink end) and the sending end (source end), respectively. The external device can perform data transmission with the display device through the device interface and send media signals to the display device. For example, when a user uses a gaming device, video and audio data can be output in real time according to the gaming process and sent to the display device, so that the video and audio data can be output as images and sounds through the display device. In this case, the gaming device serves as the sending end, and the display device serves as the receiving end.
[0210] The display device and the external device are equipped with data interfaces with the same interface specifications and functions. Figure 21 is a schematic diagram of the connection between the display device and the external device according to some embodiments. As shown in Figure 21, both the display device and the external device are equipped with a device interface: an HDMI interface. The user can plug the two ends of the HDMI interface data cable into the display device and the external device respectively. After starting the external device and the display device, the user can set the display device's signal source to the HDMI interface to enable data transmission between the display device and the external device. To achieve communication between the display device and the external device, other connection methods can be used between the display device and the external device, such as DVI (Digital Visual Interface), VGA (Video Graphics Array), USB (Universal Serial Bus), etc.; wireless connection methods such as wireless LAN, Bluetooth connection, infrared connection, etc. can also be used. Different communication connection methods can use different information transmission protocols. For example, when the HDMI interface is used for connection, the HDMI transmission protocol can be used for data transmission. After the display device and the media device are connected via HDMI, the media device can send media signals to at least one processor of the display device. The at least one processor can decode the media signals to obtain video data and audio data. A display device can display video data on its monitor and play audio data through its speakers. Once a connection is established between the display device and an external device, data transmission between the two can be bidirectional. This means the external device can send media data and other data related to audio and video output to the display device. Simultaneously, the display device can also send data to the external device, such as request data and feedback result data. Therefore, in addition to transmitting media data to complete playback, the display device and external device can also communicate control commands to achieve interactive control.
[0211] When it is detected that an external device is connected to the external device interface, in order to exchange data with the external device, the display device can generate extended display identification data EDID and notify the external device to read the EDID information. After the external device reads the EDID information, it can generate corresponding media data and send it to the display device. It should be noted that the EDID information mainly defines the image resolution, supported sound format, sound channel and 3D information supported by the display device. Its purpose is to tell the external device the characteristics supported by the display device, so that the external device can output the audio and video data supported by the display device according to these characteristics. Otherwise, the audio and video data output by the external device is not supported by the display device, and the display device cannot play the audio and video data normally. According to the EDID data, the external device can generate corresponding media data and send it to the display device for playback.
[0212] It should be noted that the external device must fully parse the EDID to determine all the capabilities supported by the display device and generate media signals that the display device can play. However, when the external device parses the EDID data, some content may be parsed abnormally. In this case, the external device will generate and output abnormal media signals. This may include the following situations:
[0213] The number of EDID bytes that the external device can read is different from the total number of EDID bytes. That is, the external device cannot read all the EDID content, and thus outputs abnormal media signals.
[0214] There are multiple versions of the HDMI interface transmission protocol, such as HDMI 1.4 and HDMI 2.0. Some external devices, such as DVD players, support HDMI 1.4 and do not recognize the HDMI 2.0 fields. If the display device uses the EDID corresponding to the HDMI 2.0 version, some external devices cannot interpret it, resulting in the output of DVI signals without audio signals.
[0215] Display devices may support a variety of functions, such as 3D display, and therefore write relevant descriptions in the EDID. However, for external devices that do not support the same function, the corresponding byte content of the description may not be parsed, resulting in abnormal media signal output.
[0216] EDID will declare the video parameters supported by the display device, including resolution and frame rate. However, the EDID may be configured with incorrect parameters, resulting in the external device being unable to recognize it and causing the output signal to be non-standard and abnormal.
[0217] There is a check bit in each field of EDID. If the check bit is configured incorrectly, the external device will consider the EDID illegal and output a DVI signal.
[0218] When an external device parses EDID abnormally, it does not notify the display device of the content parsing anomaly. Instead, it directly outputs an abnormal signal to the display device. The display device cannot determine the cause of the abnormal signal output from the external device and displays the abnormal signal. The user cannot view normal content, which provides a poor user experience.
[0219] To address the above issues, the display device of the disclosed embodiment may include a function for repairing abnormal media signal states, capable of repairing abnormal media signals. The display device may be configured with a media signal abnormality repair mode. After an external device reads the display device's EDID, if the analysis is abnormal, it may generate an information frame representing the analysis result and send it to the display device. Based on this information frame, the display device can determine the cause of the abnormal media signal and perform repairs accordingly. This ensures that the external device transmits normal media signals, thereby ensuring that the user can view normal media content and improving the user experience.
[0220] In some embodiments, the user can send a media signal abnormal state repair mode instruction to the display device by operating a designated button on the remote control. In the actual application process, the correspondence between the media signal abnormal state repair mode instruction and the remote control button is pre-bound. For example, a media signal abnormal state repair mode button is set on the remote control. When the user presses the button, the remote control sends the media signal abnormal state repair mode instruction to the display device. At this time, at least one processor of the display device can control the display device to enter the media signal abnormal state repair mode. In addition, a media signal abnormal state repair mode option can also be set in the system UI interface of the display device. When the user clicks the option, the display device can be controlled to enter or exit the media signal abnormal state repair mode.
[0221] In some embodiments, in order to prevent the user from accidentally triggering the media signal abnormal state repair mode, when the display device receives the media signal abnormal state repair mode instruction, it can display the media signal abnormal state repair mode confirmation information through the display as shown in Figure 22, so that the user can perform a second confirmation whether to enter the media signal abnormal state repair mode.
[0222] FIG23 is a flowchart of various components in a display device repairing an abnormal state of a media asset signal according to some embodiments, which may include the following steps:
[0223] S2301, obtaining the external device connection status of the device interface;
[0224] S2302: upon detecting an external device connected to the device interface, setting the extended display identification data of the display device as initial extended display identification data, so that the external device can parse the extended display identification data of the display device;
[0225] S2303: Receive an information frame sent by the external device, and parse the information frame to obtain information frame parsing data; wherein the information frame represents a parsing result of the extended display identification data by the external device when the extended display identification data cannot be normally parsed;
[0226] S2304, updating the initial extended display identification data according to the information frame parsing data;
[0227] S2305: Send an extended display identification data parsing instruction to the external device, so that the external device re-parses the extended display identification data of the display device.
[0228] In some embodiments, the display device may obtain the external device connection status of the device interface to detect whether an external device is connected to the display device.
[0229] The display device can detect each device interface in real time to determine whether the device interface is connected to an external device. The display device can obtain the device connection status of the device interface through the device insertion detection thread.
[0230] The most common HDMI interface currently includes four TMDS channels for data transmission, a display data channel (DDC), and a consumer electronics control (CEC) line. HDMI also includes a Hot Plug Detect (HPD) pin, which allows the display device to detect whether an external device is connected to the HDMI interface. When an external device is connected to the HDMI interface, it can provide a 5V voltage to the HPD. Therefore, by detecting whether the voltage at the device interface is 5V, it can be determined whether the external device is connected to the device interface.
[0231] In some embodiments, after detecting that the device interface is connected to an external device, at least one processor can set the extended display identification data EDID of the display device, so that the external device can read and parse the extended display identification data of the display device to output the media signal to the display device. The extended display identification data can include multiple types, such as 256-byte EDID and 512-byte EDID. At least one processor can set the extended display identification data of the display device as the initial extended display identification data. The initial extended display identification data can be a pre-set EDID, which can be 256 bytes or 512 bytes, and the embodiments of the present disclosure are not limited thereto. For example, the display device can use a 256-byte EDID to declare relevant parameter information of the display device. The 256-byte EDID includes two fields, namely the base field Base Block and the initial extended field CTA Block, each of which is 128 bytes.
[0232] Among them, the basic field can include the device information of the display device, and the device information can include data such as the ID and manufacturer information of the display device. The basic field can also include information such as the video parameters of the display device. The video parameters are related parameters when the display device plays the video, such as the display resolution and color parameters supported by the display. The basic field consists of 128 bytes. Among them, bytes 00H-07H represent the file header of the EDID data and are also the starting mark of the basic field. These 8 bytes are fixed and are equal to 0x00FFFFFFFFFFFFFF00;
[0233] Bytes 08H-09H represent the manufacturer's ID or name;
[0234] 0AH-0BH bytes represent product ID;
[0235] Bytes 0CH-0FH represent the production serial number;
[0236] Bytes 10H-11H represent the production time;
[0237] Bytes 12H-13H represent the version number, for example, 1.3 is represented by 01, 03;
[0238] 14H byte, represents the video input signal type, whether it is digital signal or analog signal;
[0239] 15H bytes, representing the maximum horizontal size;
[0240] 16H bytes, representing the maximum vertical size;
[0241] Byte 17H represents the display transmission characteristics, that is, the display Gamma version, such as 2.20;
[0242] 18 bytes, representing HDPMS and supported attributes, such as the display type is RGB;
[0243] Bytes 19H-22H represent chrominance information;
[0244] 23H bytes, representing the supported basic timing table 1, such as 640x480@60HZ (IBM, VGA), 800x600@
[0245] 60HZ(VESA);
[0246] 24H bytes, representing the supported basic timing table 2, such as 1024x768@60HZ (VESA);
[0247] 25H byte, represents the timing information reserved by the manufacturer;
[0248] Bytes 26H-35H represent the supported standard timing table;
[0249] Bytes 36H-47H represent the detailed description of timing 1. This segment is a more detailed description of the timing, such as horizontal and vertical image size, refresh mode is interlaced or progressive, etc.
[0250] Bytes 48H-59H represent detailed description of timing 2;
[0251] Bytes 5AH-6BH represent detailed description of timing 3;
[0252] Bytes 6CH-7DH represent the detailed description 4 of the timing. These four segments are used to describe the detailed information of different timings. Description 1 is required, and the others can be empty.
[0253] 7EH byte represents the flag bit of the extension part. If it is 0, there is no extension part. If it is 1, there is an extension part later.
[0254] Byte 7FH represents the CheckSum bit, which is used to check whether the data has been illegally modified or whether there are any transmission errors. It is the end mark of the basic field.
[0255] The basic field has only 128 bytes and can store limited information. Some other parameter information of the display device can be declared through the initial extension field.
[0256] The initial extension field may include the audio playback parameters and mode information of the display device. Among them, the mode information refers to the video and audio mode, such as analog or digital. The audio playback parameters are the relevant parameters when the display device plays audio, which may include the audio sampling frequency, audio sampling depth and audio format information. The display device can also obtain some other extended information, such as manufacturer information. The initial extension field may be a CTA Block. The original name of CTA is CEA (Consumer Electronics Association of the United States). The initial extension field may be a CEA-861D extension block. The initial extension field consists of 128 bytes. It includes the following extended information:
[0257] Image and audio modes, such as analog or digital. Color mode, such as YCbCr (4:4:4) and YCbCr (4:2:2). A brief timing description, which specifies some timing information not described in section 1. For example, 640x480p@60HZ 4:3. A brief description of the audio, such as PCM (2 channels, 32kHz, 44.1kHz, 48kHz, 16bit, 20bit, 24bit), AC-3, Dolby Digital+ (6 channels, 32kHz, 44.1kHz, 48kHz, maximum bit rate 640kbps), and speakers (left and right channels). VSDB: Manufacturer-specific information, such as CEC physical address, 3D information, deep color information, etc. CheckSum bit.
[0258] By appending the initial extension field to the base field, a 256-byte EDID can be obtained.
[0259] It should be noted that the 256-byte EDID can only store a limited amount of information, which limits the display device parameters that can be declared. For some display capabilities, such as display resolution and game optimization parameters like VRR (Variable Refresh Rate), a 512-byte EDID can be used to declare them.
[0260] The 512-byte EDID can include four 128-byte fields: the base field, the first extension field, the second extension field, and the third extension field. The base field is used to declare the device information of the display device and is the same as the base field in the 256-byte EDID, namely the Base Block. The first extension field can be the EXT-Block Map, the second extension field can be the CTA Block, and the third extension field can be the DisplayID EXT Block.
[0261] Among them, the first extended field is used to represent the order of all extended fields in the EDID, and the order is: first extended field-second extended field-third extended field. The second extended field can be modified from the initial extended field. Some functional parameters of the display device, such as VRR functional parameters, FreeSync functional parameters, and Dolby Vision functional parameters, can be written into the initial extended field to obtain the first extended field. The third extended field can include some parameter information of the display device, including other resolution parameters between the maximum resolution that can be declared in the aforementioned field and the maximum resolution supported by the display device, such as the physical resolution parameters of the display.
[0262] Figure 24 is a schematic diagram of a 256-byte EDID and a 512-byte EDID according to some embodiments. As shown in Figure 24, the 256-byte EDID includes a basic field Base Block and an initial extension field CTA Block. The basic field does not need to be changed, and a first extension field EXT-Block Map is generated and inserted between the basic field and the initial extension field. After modifying the initial extension field, a second extension field CTA Block* is obtained. At the same time, a third extension field DisplayID EXT Block is generated, and a 512-byte EDID is obtained after the second extension field. In addition to 512-byte EDID and 256-byte EDID, other EDIDs can also be used in display devices, such as 128-byte EDID and 384-byte EDID, which is not limited in the embodiments of the present disclosure.
[0263] In some embodiments, the display device may store the initial extended display identification data in a preset storage module, which may be a register RAM. The display device may send an instruction to an external device, causing the external device to read the extended display identification data of the display device. The external device may read and parse the initial extended display identification data via the DDC channel of the HDMI interface, thereby determining relevant parameter information of the display device.
[0264] In some embodiments, if the external device can parse EDID normally, a media signal can be generated and sent to the display device. If the external device cannot parse EDID normally, an information frame can be generated, and the information frame is used to represent the external device's parsing result of the extended display identification data, such as unrecognizable EDID content. The external device can send the information frame to the display device. In response to the information frame sent by the external device, the display device can mark the external device as being in an abnormal media signal state. The display device can parse the information frame to obtain information frame parsing data. It should be noted that the format declaration of the information frame, such as what kind of data the information frame includes, what format the data is in, and what meaning each block of data represents, can be pre-stored in the display device. After parsing the information frame, the display device can determine the external device's parsing result of the extended display identification data.
[0265] In some embodiments, when the external device cannot completely parse the EDID, an information frame may be generated according to the parsing result. The information frame may include a statement of the content that the external device cannot parse when parsing the EDID.
[0266] The information frame consists of a packet header and packet content. The header defines the frame type, version, and length of the frame data. The packet content defines how the external device interprets the address, including EDID content that the external device cannot recognize.
[0267] Figure 25 is a schematic diagram of frame data of an information frame according to some embodiments. As shown in Figure 25, the frame data includes multiple bytes of data, each used to declare different information.
[0268] PB0 is a fixed parity bit used to represent the checksum value.
[0269] The number of bytes of the EDID read by the external device is set in PB1 and PB2, where PB2 stores the upper 8 bits and PB1 stores the lower 8 bits. When the external device cannot fully parse the EDID content, it may not be able to read all of the EDID content, resulting in the number of bytes read being different from the total number of EDID bytes of the display device. In this case, the data generated in PB1 and PB2 is different from the total number of EDID bytes. In the disclosed embodiment, the data in PB1 and PB2 is referred to as the first quantity, and thus the first quantity is used to represent the number of bytes that can be read when the external device parses the extended display identification data.
[0270] The information of the data block (Data Block) that the external device cannot recognize is set in PB3 and PB4. In the EDID of the display device, each field can include multiple data blocks. When the external device parses the EDID, it may not be able to parse a certain data block. To this end, relevant information can be written in PB3 and PB4. Among them, PB3 can include bit7-bit0, a total of 8 bytes, and each byte may represent a type of data block. If the external device cannot parse a certain type of data block, the information of the corresponding byte can be set to 1. If a certain type of data block can be parsed, the information of the corresponding byte can be set to 0. Therefore, by the data of a certain byte in PB3 being 1, it can be determined that the data block corresponding to the byte is in a state that is not recognized by the external device. Figure 26 is a schematic diagram of the data block type corresponding to each byte of PB3 according to some embodiments. As shown in Figure 26, PB3 includes 8 bytes 0-7, and the data block types corresponding to each byte are: Reserved, Audio Data Block, Video Data Block, Vendor Specific Data Block, Speaker Allocation Data Block, VESA DTC Data Block, Reserved and Use Extended Tag.
[0271] Meanwhile, PB4 represents the specific tag of the unrecognized data block and is used to indicate the unrecognized data block. For example, if the external device cannot recognize the extended tag, byte 7 in PB3 is set to 1 and the tag information of the extended tag data block is set in PB4.
[0272] In the embodiment of the present disclosure, the data in PB3 and PB4 is referred to as first unidentified information. Therefore, the first unidentified information is used to represent the unidentified data block of the external device parsing the extended display identification data.
[0273] PB5-PB10 sets the specific bytes that the external device cannot recognize. If the external device cannot recognize a byte in a certain field of the EDID, the relevant information can be written to PB5-PB10. The value in each of the two bytes represents the specific EDID byte that is unrecognized. For example, PB5 and PB6 represent the information of an unrecognized byte, as shown in Figure 25 as "Unknown byte 0". PB5 represents the low-order 8 bits of the byte, and PB6 represents the high-order 8 bits of the byte. PB7 and PB8 represent the information of an unrecognized byte, as shown in Figure 25 as "Unknown byte 1". PB9 and PB10 represent the information of an unrecognized byte, as shown in Figure 25 as "Unknown byte 2".
[0274] In the embodiment of the present disclosure, the data in PB5-PB10 is referred to as the first unidentified information. Therefore, the second unidentified information is used to represent the unidentified bytes.
[0275] PB11-PB22 are set with byte segments that the external device cannot recognize, which are called unrecognized segments in the embodiment of the present disclosure. An unrecognized segment is a segment composed of multiple consecutive bytes. For example, if the external device cannot recognize bytes 100-120, this part of bytes is an unrecognized segment. Every four bytes can be used to represent an unrecognized segment. For example, in Figure 25, PB11-PB14 are used to store the starting and ending positions of the first unrecognized segment. PB11 is the low 8 bits of the starting byte, PB12 is the high 8 bits of the starting byte, PB13 is the low 8 bits of the ending byte, and PB14 is the high 8 bits of the ending byte. PB15-PB18 are the starting and ending positions of the second abnormal segment, and PB19-PB22 are the starting and ending positions of the third abnormal segment.
[0276] In the embodiment of the present disclosure, the data in PB11-PB22 is referred to as the third unidentified information. Therefore, the third unidentified information is used to represent the unidentified paragraph, which includes multiple consecutive bytes.
[0277] PB23 stores illegally defined configuration information discovered during EDID parsing by external devices. This information, referred to as unrecognized configuration information in this disclosure, can include both functional and parameter information. PB23 has four byte bits, each representing a single illegal configuration tag. This information can be used to identify problematic data blocks within the EDID.
[0278] In the embodiment of the present disclosure, the data in PB23 is referred to as the fourth unidentified information. Therefore, the fourth unidentified information is used to represent the unidentified configuration information.
[0279] PB24 sets parity information for abnormalities detected by external devices. Each field in the EDID contains a parity bit. After parsing each field in the EDID, the external device automatically detects and calculates the parity bit value for each field and compares it with the parity bit declared in the EDID. If the two values differ, the external device determines that the EDID parity bit information is abnormal. PB24 can mark whether the parity bit of each field is abnormal. Bits 0-3 can be used to indicate parity bit abnormalities in the four fields.
[0280] In the embodiment of the present disclosure, the data in PB24 is referred to as abnormal check bit information. Therefore, the abnormal check bit information is used to represent the abnormal check bit.
[0281] The external device can send an information frame to the display device. The display device can parse the information frame to obtain information frame parsing data, which can represent the external device's analysis of the EDID.
[0282] In some embodiments, the display device can update initial extended display identification data based on the information frame parsing data. At least one processor can send an extended display identification data parsing instruction to the external device, causing the external device to reparse the extended display identification data of the display device, thereby correcting the abnormal state of the media resource signal of the external device.
[0283] The display device may first obtain a first number, wherein the first number is used to represent the number of bytes that can be read when the external device parses the extended display identification data.
[0284] The total number of bytes of initial extended display identification data that the display device can obtain.
[0285] The display device can detect whether the first number and the total number of bytes are the same, thereby determining whether the external device has parsed every byte of the EDID.
[0286] If the first number and the total number of bytes are different, it means that the external device was unable to parse every byte of the EDI. This may be due to a byte or a segment of bytes that could not be parsed. In this case, the display device can detect the relationship between the first number and the number of bytes in the initial extended display identification data field. It should be noted that each EDID field has 128 bytes, that is, the number of bytes in the field is 128.
[0287] If the first number is an integer multiple of the field byte count, it means that the external device was able to read at least one complete field, and no field was incompletely read. Instead, one or more fields were not read at all. This may be because the external device obtained the required data from the previous field and then did not read the subsequent fields. In this case, the display device can send the total number of bytes to the external device, so that the external device can re-parse the initial extended display identification data based on the total number of bytes to fully parse the complete EDID.
[0288] If the first number is not an integer multiple of the number of field bytes, it means that the external device cannot fully parse a field, and there may be a poor signal transmission resulting in missing parsed content. The display device can control the display to display a first prompt message to prompt the user to reconnect the external device.
[0289] In some embodiments, considering that the external device may not have parsed the EDID at all, the display device may first detect the first number after obtaining the first number.
[0290] If the first number is equal to a preset value, an extended display identification data parsing instruction is sent to the external device, causing the external device to reparse the extended display identification data of the display device. In the embodiment of the present disclosure, the preset value can be 0. When the first number is 0, it indicates that the external device has not parsed any byte of the EDID, indicating that the external device has not parsed the EDID at all. The external device may not parse the EDID due to a timing issue. For example, the external device needs to detect that the device interface pulls the HPD pin high before reading the EDID, but the external device may not detect this process, resulting in the EDID not being parsed. Therefore, the display device can notify the external device to reread the EDID.
[0291] After the external device rereads the EDID, it may send an information frame to the display device again, and the display device can perform detection again. If it is detected that the number of bytes that the external device can read (the new first number) is still the preset value, it means that there is a problem with the connection between the external device and the display device, which may be a problem with the connection cable, such as poor contact. At this time, the display device can control the display to display a first prompt message, and the first prompt message is used to prompt the user to reconnect the external device. Figure 27 is a schematic diagram of the first prompt message according to some embodiments. As shown in Figure 27, the first prompt message may be "A poor connection between the external device and the display device has been detected, please replace the HDMI cable or interface". If the first number is not equal to the preset value, it means that the external device can parse the EDID, and the display device can execute the step of obtaining the first byte number of the initial extended display identification data.
[0292] In some embodiments, if the first number and the first byte number are the same, the display device may continue to obtain the first unidentified information to detect abnormal parsing of the external device. The first unidentified information is used to represent an unidentified data block parsed by the external device for the extended display identification data.
[0293] The display device can obtain the data block type of the unrecognized data block. If the data block type is a preset type, the extended display identification data of the display device is updated to the first extended display identification data. The protocol version number of the first extended display identification data is lower than the protocol version number of the initial extended display identification data. In the embodiment of the present disclosure, the preset type may be HF-VSDB. The inability to identify HF-VSDB indicates that the external device only supports the HDMI1.4 protocol. At this time, EDID may correspond to a higher version of the HDMI protocol, such as HDMI2.0. Therefore, the display device can lower the version of EDID1, for example, switching to the EDID of the HDMI1.4 protocol.
[0294] If the data block type is not a preset type, the unrecognized data block is deleted from the initial extended display identification data to update the initial extended display identification data. When the data block type is an audio field such as ADB (sound) / HDR / VSVDB (Dolby), the display device can also control the display to display a prompt message to inform the user that the external device does not support these types of audio output.
[0295] The display device may send an extended display identification data parsing instruction to the external device to notify the external device to re-parse the extended display identification data of the display device.
[0296] In some embodiments, if no unrecognized data block is detected, the display device may continue to obtain second unrecognized information to detect abnormal parsing of the external device, where the second unrecognized information is used to represent a certain unrecognized byte.
[0297] The display device can first detect the meaning of the unrecognized byte. If the unrecognized byte is a video parameter, it retrieves a replacement parameter from a pre-set video parameter database and updates the unrecognized byte in the initial extended display identification data with the replacement parameter. The video parameter declaration in the EDID may be inaccessible to the external device. Therefore, a different declaration method can be used to obtain a definition with the same meaning as the original parameter from the video parameter database and replace the original parameter. If no replacement parameter exists, the unrecognized byte is deleted.
[0298] If the unrecognized byte is an audio parameter, then when the audio parameter is an audio format, the unrecognized byte will be deleted from the initial extended display identification data; when the audio parameter is not an audio format, the unrecognized byte in the initial extended display identification data will be updated to an audio replacement parameter, and the capability value of the audio replacement parameter is lower than the audio parameter. When the audio parameter is an audio format, it means that the external device does not support this audio format and needs to be deleted directly. The audio parameter is not an audio format, but may be an audio capability value, such as the number of channels, sampling rate, and sampling bit number. In this case, the original parameter can be replaced, for example, by using a capability reduction method (gradually reducing the number of channels, sampling rate, and sampling bit number) to modify the audio capability value until the external device can recognize it after reading it. If the unrecognized byte is not a video parameter or an audio parameter, the unrecognized byte will be deleted from the initial extended display identification data.
[0299] After modifying the EDID, the display device can send an extended display identification data parsing instruction to the external device, and the external device reparses the new EDID. In some embodiments, if no unrecognized bytes are detected, the display device can continue to obtain third unrecognized information to detect abnormal parsing by the external device. The third unrecognized information is used to represent an unrecognized segment, and the unrecognized segment includes multiple consecutive bytes.
[0300] The display device can obtain the number of bytes in the unrecognized segment. If the number of bytes is an integer multiple of 128, it means that the external device is unable to parse one or more complete fields. The display device can switch to the extended display identification data of the display device. For example, if the initial EDID is 512 bytes, it can be switched to 256 bytes. If the initial EDID is 256 bytes, the user can be prompted that the current external device version is lower than the current version and it is recommended to replace the external device.
[0301] If the number of bytes is not an integer multiple of the number of field bytes, the target data block corresponding to the first byte of the unrecognized paragraph is obtained. The display device can delete the byte representing the function of the display device in the target data block. Considering that there may be multiple bytes representing functions in the data block, the display device can start from the first byte of the unrecognized paragraph and delete one function byte in turn until the external device can parse the content there. If all the function bytes in the target data block are deleted and the external device still cannot parse it, the function bytes in the next data block can be deleted. After modifying the EDID, the display device can send an extended display identification data parsing instruction to the external device.
[0302] In some embodiments, if no unidentified paragraph is detected, the display device may continue to obtain fourth unidentified information to detect abnormal parsing of the external device. The fourth unidentified information is used to represent unidentified configuration information, which may include function information and parameter information.
[0303] The display device can obtain the standard configuration information of the display device and update the unrecognized configuration information in the initial extended display identification data based on the standard configuration information. Unrecognized configuration information indicates that the configuration information of the EDID is illegally defined, which may include the following situations:
[0304] When configuring the EDID of a display device, careless addition of features can result in missing bytes in the last data block (for example, if five bytes are added before data block 248-254 of block 1, the last data block's contents will be missing). In this case, the external device can configure an illegal tag in PB23 of the information frame to indicate the presence of an illegally defined data block. The display device can then check whether the corresponding data block meets the configuration standards (length, content, etc.) based on the standard configuration information. If the configuration information does not meet the standards, the display device can modify the bytes. For example, if the declared length of the data block does not match the actual length, the display device can check whether the reserved unused length of the EDID bytes is greater than the missing length of the data block. If so, the display device can re-fill the field according to the standard configuration information based on the capabilities. If less than the missing length of the data block, the display device can simply delete the contents of the field.
[0305] When configuring the display device's EDID, if certain parameters, such as resolution and timing, are incorrectly configured (for example, for a 3840*2160P60hz signal, the receiver mistakenly configures the height information to 0), the display device will search for standard configuration information to reconfigure the information. After modifying the EDID, the display device can send extended display identification data parsing commands to the external device.
[0306] In some embodiments, if no unrecognized configuration information is detected, the display device may continue to obtain abnormal check bit information to detect abnormal parsing of the external device, and the abnormal check bit information is used to characterize the abnormal check bit.
[0307] The display device can retrieve the exception field corresponding to the abnormal check bit. For example, if the abnormal check bit information indicates that the check bit of the third field of the EDID is abnormal, then the third field is the abnormal field. The display device can recalculate the target check bit of the abnormal field and update the abnormal check bit in the initial extended display identification data to the target check bit. After modifying the EDID, the display device sends an extended display identification data parsing instruction to the external device.
[0308] In some embodiments, in response to the media asset signal sent by the external device when the external device is able to normally parse the extended display identification data, the display device may parse the media asset signal to obtain the media asset data.
[0309] In some embodiments, the extended display identification data may further include a physical address of a device interface. The external device may read the capabilities of the display device and the physical address of the currently connected target device interface based on the extended display identification data.
[0310] Considering the security of the display device. The display device can detect external devices. For example, the display device can first obtain the physical address of the target device interface, which is referred to as the first physical address in the embodiment of the present disclosure. The display device can send a physical address acquisition instruction to the target external device through the target device interface, so that the target external device feeds back a second physical address according to the physical address acquisition instruction. The target external device can read the EDID information of the target device interface and parse the first physical address of the target device interface. In response to the physical address acquisition instruction, the target external device can send the read physical address to the display device.
[0311] The display device can receive the second physical address sent by the external device and detect whether the second physical address is the same as the first physical address. If the first physical address and the second physical address are the same, it means that the target external device can read and parse the EDID normally. At this time, the display device can obtain the connection method of the target external device and the target device interface to set the video playback channel. If the first physical address and the second physical address are different, it means that there is a problem with the target external device. It may be that the target external device cannot read the EDID, indicating that there is a security problem with the device, or it may be that the target external device cannot parse the EDID or parses an error message, indicating that the device's working performance is poor or there is a problem with the device. In view of this, the device cannot be used normally. The display device can control the display to display a second prompt message to prompt the user to replace the external device connected to the target device interface. Figure 28 is a schematic diagram of the second prompt message according to some embodiments. As shown in Figure 28, the second prompt message may be "There is a problem with the current external device, please replace it with another device."
[0312] In some embodiments, the display device may be provided with at least two device interfaces, allowing the display device to be connected to multiple external devices simultaneously, such as a gaming device and a set-top box. The display device may set the playback channel to one of the device interfaces to display the playback content provided by the external device connected to that interface.
[0313] The user can also choose to switch the playback channel of the display device. Figure 29 is a schematic diagram of the signal source interface according to some embodiments. As shown in Figure 29, the signal source may include video, USB, HDMI1, HDMI2 and VGA, and each signal source corresponds to a device interface. The user can select one of the signal sources to set the device interface corresponding to the signal source as the current playback channel of the display device. For example, the user can set the playback channel of the display device to HDMI 1, so that the display device displays the content provided by the external device connected to HDMI 1.
[0314] It should be noted that when the user connects an external device to a device interface, in order to ensure that the content provided by the device is viewed, it is necessary to ensure that the playback channel of the display device is located at the current device interface. Therefore, it may be necessary to manually switch the playback channel, which is rather cumbersome. Taking into account the user experience, the display device can provide an automatic switching function for playback channels. After the external device is connected to the device interface, an electrical signal can be generated at the device interface, and the display device confirms that the external device is connected to the device interface. After detecting that the device interface is connected to an external device, the video playback channel displaying the video content is automatically switched to the device interface, thereby directly displaying the video content provided by the external device, achieving the effect of an incoming call from the external device.
[0315] When the external device is an amplifier, connecting it to the device interface also generates an electrical signal at the interface, causing the display device to switch the video playback channel to that interface. However, the amplifier may only be playing the display device's audio and not providing video content to the display device. In this case, no video data is being transmitted in the video playback channel, and the display device cannot display the video content, resulting in a black screen and no signal. In this case, the user cannot view the video properly, resulting in a poor user experience.
[0316] To solve the above problems, the display device provided by the embodiment of the present disclosure may also have a playback channel adaptive adjustment function, which can automatically adjust the video playback channel of the display device. The display device can be provided with a playback channel adaptive adjustment mode. After detecting that a certain device interface is connected to an external device, the device type of the external device can be first determined to determine whether it is a power amplifier device. If a power amplifier device is connected, it is determined whether the power amplifier device can provide video data based on the connection method between the power amplifier device and the device interface, so as to set whether to switch the video playback channel to the device interface. This ensures that users can watch video content normally and improves the user experience.
[0317] FIG30 is a flowchart of various components in a display device performing video playback according to some embodiments, which may include the following steps:
[0318] S3001, obtaining the connection status of external devices connected to at least two device interfaces;
[0319] S3002, based on detecting the target external device connected to the interface of the target device, detecting the device type of the target external device;
[0320] S3003, when the device type is a power amplifier device, obtaining a connection method between the target external device and the target device interface;
[0321] S3004, if the connection mode is cascade, switching the video playback channel of the display device to the target device interface so that the display displays the video data sent by the target external device;
[0322] S3005: If the connection mode is non-cascade, the video playback channel of the display device is not switched.
[0323] In some embodiments, the display device may obtain the external device connection status of multiple device interfaces to detect whether an external device is connected to the display device.
[0324] In some embodiments, when it is detected that the target device interface is connected to a target external device, the display device may detect the device type of the target external device.
[0325] The device type of an external device can be determined by its logical address. A matching relationship exists between the logical address and device type for each external device, and this relationship is pre-set. Each external device can store the logical address corresponding to its device type, and the display device also stores the matching relationship between logical addresses and device types. This matching relationship between logical addresses and device types can be in the form of a logical address list, as shown in Table 5.
[0326] The display device's logical address is set to 0. 1-15 represent the logical addresses of external devices. For example, an audio playback device might be an amplifier, with two logical addresses: 1 and 2. A tuner, such as a set-top box, plays media channels and has four logical addresses: 3, 6, 7, and 10. Video playback, which plays local media, can correspond to a media playback device, with two logical addresses: 4 and 8. Video recording can correspond to a video recorder, with two logical addresses: 9 and 11.
[0327] Therefore, the logical address of the power amplifier device is 5. The display device can detect whether the logical address of the target external device is 5 to confirm whether the target external device is a power amplifier device.
[0328] In some embodiments, the display device may send a connection information acquisition request to the target external device via the target device interface. The connection information acquisition request is used to cause the target external device to feedback connection information according to the connection information acquisition request. The connection information includes a logical address of the target external device.
[0329] After receiving the connection information acquisition request, the target external device can obtain its own logical address and generate connection information including the logical address. The external device can send the connection information to the display device.
[0330] The display device can receive the connection information fed back by the target external device, and parse the logical address of the target external device from the connection information.
[0331] The display device can obtain the device type of the external device based on the logical address. You can query the device type of the target external device based on the logical address list. If the logical address of the target external device is 5, it is an amplifier device.
[0332] In some embodiments, the display device may inquire whether the target external device is an amplifier device.
[0333] The display device may first obtain the logical address of the power amplifier device, which is referred to as the target logical address in the embodiment of the present disclosure. According to the logical address list, the display device may determine that the logical address of the power amplifier device type is 5.
[0334] The display device can generate a power amplifier device response command carrying a target logical address and send it to the target external device. The power amplifier device response command is used to cause the target external device to provide a response message when the logical address is the target logical address. Only the power amplifier device can respond to the power amplifier device response command sent by the display device. The power amplifier device response command can be a command for pinging the power amplifier device's logical address.
[0335] The target external device can parse the command and obtain the target logical address. If the target external device's logical address is the same as the target logical address, the device will be replied to. If the target external device's logical address is different from the target logical address, the device will not be replied to.
[0336] In response to the reply information sent by the target external device, the display device may determine that the logical address of the target external device is 5, and thus may mark the device type of the target external device as a power amplifier device.
[0337] In some embodiments, the power amplifier device has an Audio Return Channel (ARC) function. The ARC can use sound return technology to transmit audio data back to the power amplifier device for signal amplification, processing, and output, thereby improving sound quality and user experience. The display device can also be equipped with an ARC function to implement the ARC function of the power amplifier device.
[0338] The Audio Return Channel (ARC) can be configured in a display device's device interface, such as an HDMI port. When the HDMI port is connected to an amplifier, the display device can set the audio output channel to the ARC. The ARC function allows the display device to enhance the audio data and send it to the amplifier for playback.
[0339] Figure 31 is a schematic diagram of the hardware connection between the power amplifier device and the display device according to some embodiments. As shown in Figure 31, the display device and the power amplifier device support the audio return channel function. Sound return is completed using the utility signal line, while the interactive commands between the display device and the power amplifier device are completed through the CEC signal line. In this example, the transmission lines of audio data and command data are completely separated, and time-sharing control through software is not required. Among them, the transmission process of command data belongs to single-wire serial communication, which is called the CEC protocol.
[0340] It should be noted that the device interface can be configured with ARC or not. If the device interface connected to the power amplifier device does not support ARC, the power amplifier device cannot fully function. To this end, the user can be prompted to connect the power amplifier device to a device interface that supports ARC.
[0341] After detecting that the target external device is an amplifier device, the display device may obtain function information supported by the target device interface to determine whether the target device interface supports the audio return channel function.
[0342] If the target device interface supports the audio return channel function, the display device can obtain the connection method between the target external device and the target device interface to set the video playback channel.
[0343] If the target device interface does not support the audio return channel function, the display device can display a target prompt message through the display to prompt the user to switch the device interface to which the target external device is connected. Figure 32 is a schematic diagram of a display displaying target prompt message according to some embodiments. As shown in Figure 32, when the target device interface does not support the audio return channel function, the display device can obtain other device interfaces that support the audio return channel function and prompt the user to switch to the interface. For example, the target device interface is an HDMI 1 interface, which does not support the ARC function, but the HDMI 2 interface supports the ARC function. The target prompt message can be "The current device interface does not support the ARC function, please connect the power amplifier device to HDMI 2".
[0344] In some embodiments, when the target external device is an amplifier device and the target device interface supports the audio return channel function, the display device may further detect whether the amplifier device can operate normally.
[0345] In some embodiments, when the target external device is detected as an amplifier, the display device can obtain a connection method between the target external device and the target device interface. The amplifier and the display device can be connected in two ways, including cascade and non-cascade, to provide different functions.
[0346] The amplifier can exchange data with the display device in a one-way manner to play the display device's sound. The Audio Return Channel function also enables two-way data exchange between external devices and the display device. For example, while the display device is sending audio data to the amplifier, the amplifier can also send video data to the display device.
[0347] In a cascaded configuration, the power amplifier device can provide video content to a display device. The power amplifier device is equipped with multiple interfaces that can simultaneously connect to the display device and other media devices. The media device can send media data to the power amplifier device. The power amplifier device parses the media data and obtains video and audio data. The power amplifier device can directly play the audio data and send the video data to the display device for display. In this case, the power amplifier device plays the sound corresponding to the media data while providing video data to the display device, which then displays the video data.
[0348] It should be noted that, in addition to the audio data of the media asset data, the display device may also generate some other sounds, such as system sounds, etc. These sounds can be played by the display device itself or by the power amplifier device.
[0349] When all audio is played by the amplifier, the amplifier sends video data to the display device, and the display device sends its own audio data to the amplifier, forming a two-way data transmission. When the amplifier plays only audio data from the media asset data, the display device does not send data to the amplifier. In this case, the data transmission is only one-way, from the amplifier to the display device.
[0350] Figure 33 is a connection diagram of a media asset device, a power amplifier device, and a display device according to some embodiments. As shown in Figure 33, the display device includes an HDMI 1 interface and an HDMI 2 interface. The power amplifier device includes an input interface and an output interface. The HDMI 1 interface is connected to the output interface of the power amplifier device, and the HDMI 2 interface is not connected to the device. The input interface of the power amplifier device is connected to the media asset device. The media asset device sends the media asset data to the power amplifier device through the input interface of the power amplifier device. The power amplifier device can decode the media asset data to obtain video data and audio data. The audio data is processed by the power amplifier device itself, so that the audio data is played directly. At the same time, the power amplifier device sends the video data to the display device. The display device can process the video data and display the video data on the display.
[0351] In a non-cascaded mode, the power amplifier device is only used to play the audio data provided by the display device. The display device is equipped with multiple device interfaces that can simultaneously connect to the media device and the power amplifier device. The media device can send media data to the display device. The display device can parse the media device to obtain video data and audio data. The display device can parse the video data and display the parsed video data on the display. It should be noted that the display device also generates some audio data, such as system sounds. The display device can send this audio data to the power amplifier device along with the audio data in the media data. The power amplifier device can play all the audio data.
[0352] In this connection mode, the display device sends audio data to the amplifier device, but the amplifier device does not send video data to the display device.
[0353] Figure 34 is a connection diagram of a media device, a power amplifier device, and a display device according to some embodiments. As shown in Figure 34, the display device includes an HDMI 1 interface and an HDMI 2 interface. The HDMI 1 interface of the display device is connected to the media device, and the HDMI 2 interface is connected to the power amplifier device. The media device sends the media data to the display device via the HDMI 1 interface, and the display device can decode the media data to obtain video data and audio data. The video data is processed by the display device itself, thereby directly displaying the video data. At the same time, the display device sends the audio data generated by itself and the decoded audio data to the power amplifier device. The power amplifier device plays all the audio data.
[0354] In some embodiments, the display device may detect a connection mode between the target external device and the target device interface.
[0355] The display device may send an audio return channel initialization command to a target external device.
[0356] In a non-cascaded mode, the sound is sent from the display device to the amplifier. Initialization interaction is required between the amplifier and the display device to ensure that the amplifier is initialized successfully before the sound is played. In a non-cascaded mode, the sound is sent from other media devices to the amplifier. In this case, when the display device sends a command instructing the amplifier to initialize, the amplifier will not respond to this command.
[0357] The power amplifier device responds to the display device instruction, performs initialization, and then feeds back the initialization result to the display device. Therefore, the display device can detect whether the power amplifier device feeds back initialization success information.
[0358] If the display device does not receive the initialization success message fed back by the target external device, the display device may mark the connection mode as cascade. If the display device receives the initialization success message fed back by the target external device, the display device may mark the connection mode as non-cascade.
[0359] In some embodiments, if the display device and the power amplifier device are connected in cascade mode, the power amplifier device will send video data to the display device. The display device can switch the video playback channel of the display device to the target device interface so that the display displays the video data sent by the target external device.
[0360] If the connection mode is non-cascade, the amplifier device will not send video data to the display device. If the video playback channel is switched to the target device interface, no picture will be displayed on the monitor, so the display device will not switch the video playback channel of the display device.
[0361] In some embodiments, when the device type of the target external device is not an amplifier device, it indicates that the target external device will provide video content to the display device. At this time, the video playback channel can be switched to the target device interface to display the content provided by the target external device.
[0362] However, some devices will also supply power to the device interface when they are in standby mode. At this time, if the video playback channel is switched to that, the external device will not actually provide video content, resulting in the monitor being unable to display the picture.
[0363] To this end, the display device may obtain the device status of the target external device.
[0364] If the target external device is powered on, the video playback channel of the display device is switched to the target device interface.
[0365] If the target external device is in standby mode, the video playback channel of the display device will not be switched.
[0366] In some embodiments, when acquiring the device status of the target external device, the display device may detect a voltage signal of the target device interface.
[0367] If the voltage signal carries a jump signal, the display device marks that the target external device is in a power-on state.
[0368] If the voltage signal does not carry a jump signal, the display device marks that the target external device is in a standby state.
[0369] In some embodiments, the display device includes an audio output interface for connecting an audio player, such as a speaker, which can play audio data, so that the display device can play sound by itself.
[0370] If the target external device is an amplifier and the display device and target external device are connected in cascade mode, the amplifier will play the audio data of the media asset. In this case, the display device can also play system sounds and other sounds. The display device can set its audio playback channel to an audio output interface, allowing the audio player to play the display device's audio data while the target external device plays the audio data of the media asset device.
[0371] If the display device and the target external device are connected in a non-cascaded manner, the audio data of the display device can be played by the power amplifier device. In this case, the display device can set the audio playback channel of the display device to the target device interface so that the target external device plays the audio data of the display device.
[0372] In some embodiments, the display device can be connected to multiple external devices at the same time, for example, the HDMI interface and the VGA interface are connected to external devices at the same time. The display device needs to set the video playback channel to one of the device interfaces.
[0373] The display device can set the playback channel according to a preset priority. For example, the preset priority may be: HDMI > VGA > USB. The display device can detect all device interfaces currently connected to external devices and set the video playback channel according to the priority.
[0374] In some embodiments, when multiple device interfaces are detected to be connected to external devices, the display device may prompt the user to set the playback channel. The display device may detect all device interfaces currently connected to external devices and display a video playback channel setting interface. Figure 35 illustrates a video playback channel setting interface according to some embodiments. As shown in Figure 35, the video playback channel setting interface includes all device interfaces currently connected to the external device on the display device. The user can select one of them to set as the video playback channel for the display device.
[0375] Through the above process, the display device of the embodiment of the present disclosure detects the device type of the target external device when the target device interface is connected to the target external device. When the device type is a power amplifier device, the connection method of the target external device and the target device interface is obtained. If the connection method is cascade, the video playback channel is switched to the target device interface to display the video data sent by the target external device. If the connection method is non-cascade, the video playback channel is not switched. By detecting the connection method of the power amplifier device when the external device is a power amplifier device, it is determined whether the power amplifier device will provide video content to the display device, thereby setting whether to switch the video playback channel to ensure that the content is displayed normally on the display, so as to improve the user experience.
Claims
1. A display device, comprising: monitor; At least two HDMI extension interfaces, the HDMI extension interface is communicatively connected to the HDMI native interface through a Switch switch; the Switch switch includes a first Switch switch and a second Switch switch; the first Switch switch includes a transmitting pin SwitchTX and a receiving pin SwitchRX, and the SwitchRX is used to send a status and control data channel SCDC interaction trigger signal to the CEC device when the consumer electronics control device CEC is connected to the display device through the HDMI extension interface; the second Switch switch does not include the SwitchTX and the SwitchRX; At least one processor is connected to the display, the HDMI extension interface, the HDMI native interface and the Switch, and is configured to execute computer instructions so that the display device executes: When the CEC device is connected to the display device through the HDMI extension interface, identifying the first interface number of the HDMI extension interface to which the CEC device is connected, and receiving SCDC interaction information fed back by the CEC device, wherein the SCDC interaction information is information fed back by the CEC device according to the SCDC interaction trigger signal; Sending the first interface number to the second Switch switch, so as to switch the communication link to the HDMI extension interface corresponding to the first interface number through the second Switch switch; If the CEC device determines that the display device supports the SCDC function based on the SCDC interaction information, the CEC device performs SCDC interaction with the CEC device based on the communication link.
2. The display device according to claim 1, before the CEC device is connected to the display device through the HDMI extension interface, the SwitchTX keeps the 5V pulled high so that the SOC Hotplug pin is pulled high; the SwitchRX sends the SCDC interaction trigger signal to the CEC device in the following manner: Before the CEC device is connected to the display device through the HDMI extension interface, receiving a SOC Hotplug pull-up signal sent by the at least one processor; When the CEC device is connected to the display device through the HDMI extension interface, receiving a device 5V pull-up signal sent by the CEC device; The SCDC interaction trigger signal is sent to the CEC device according to the SOC Hotplug signal and the device 5V pull-up signal.
3. The display device according to claim 1, wherein the at least one processor is specifically configured to execute computer instructions so that the display device performs the identification of the first interface number of the HDMI extended interface to which the CEC device is connected in the following manner: Acquire a first physical address of the CEC device connected to the display device; Searching the mapping table for the first interface number that matches the first physical address, wherein: The mapping table includes a mapping relationship between a physical address and an interface number.
4. The display device according to claim 1, wherein the at least one processor comprises a system-on-chip (SOC) and a register; the register is configured to: receive the SCDC interaction information written by the CEC device when the CEC device is connected to the display device through the HDMI extension interface; and the SOC is configured to: read the SCDC interaction information from the register.
5. The display device according to claim 4, wherein the SCDC interaction information at least comprises a SCDC interaction request; and the at least one processor is further configured to execute computer instructions so that the display device executes: Before performing SCDC interaction with the CEC device based on the communication link, feedback information is written into the register according to the SCDC interaction request, so that the CEC device reads the feedback information from the register and determines to perform SCDC interaction with the display device based on the feedback information; wherein, The feedback information indicates that the display device supports the SCDC interaction function.
6. The display device according to claim 5, wherein the at least one processor is specifically configured to execute computer instructions so that the display device performs the SCDC interaction with the CEC device based on the communication link in the following manner: When the CEC device inputs an audio and video signal to the display device through the first Switch, detecting a signal state of the audio and video signal; The acquired signal status of the audio and video signal is written into the register, so that the CEC device reads the signal status of the audio and video signal from the register, and determines whether the SCDC interaction is normal according to the read signal status of the audio and video signal.
7. The display device according to claim 6, wherein the at least one processor is further configured to execute computer instructions to cause the display device to perform: Determining whether the SCDC interaction is abnormal according to the signal state of the read audio and video signal; If the SCDC interaction is abnormal, the receiving of audio and video signals from the CEC device is stopped. 8 . The display device according to claim 7 , wherein when the signal state is a no data state and / or a signal unstable state, it is determined that the SCDC interaction is abnormal.
9. The display device according to claim 4, wherein the at least one processor is specifically configured to execute computer instructions so that the display device switches the communication link to the HDMI extension interface corresponding to the first interface number through the second Switch in the following manner: The SCL line of the SOC is switched to the SCL line of the HDMI extended interface corresponding to the first interface number, and the SDA line of the SOC is switched to the SDA line of the HDMI extended interface corresponding to the first interface number.
10. The display device according to claim 1, wherein the at least one processor is further configured to execute computer instructions to cause the display device to perform: Based on the detection of the external device connected to the device interface, the extended display identification data of the display device is set as the initial extended display identification data, so that the external device parses the extended display identification data of the display device; wherein, The device interface is the HDMI extended interface and / or the HDMI native interface; receiving an information frame sent by an external device, parsing the information frame to obtain information frame parsing data; the information frame is used to represent the parsing result of the extended display identification data by the external device when the extended display identification data cannot be parsed normally; updating the initial extended display identification data according to the information frame parsing data; An extended display identification data parsing instruction is sent to the external device, so that the external device re-parses the extended display identification data of the display device.
11. The display device according to claim 10, wherein the at least one processor is specifically configured to execute computer instructions so that the display device updates the initial extended display identification data according to the information frame parsing data in the following manner: Obtaining the total number of bytes and the first number of the initial extended display identification data; wherein, The first number represents the number of bytes that can be read when the external device parses the extended display identification data; If the first number is an integer multiple of the field byte number, sending the total byte number to the external device, so that the external device reparses the initial extended display identification data according to the total byte number; If the first number is not an integer multiple of the field byte number, the display is controlled to display a first prompt message; wherein the first prompt message is used to prompt the user to reconnect the external device.
12. The display device according to claim 11, wherein the at least one processor is further configured to execute computer instructions to cause the display device to perform: If the first number is equal to a preset value, the step of sending an extended display identification data parsing instruction to the external device is executed; if it is detected that the number of bytes that the external device can read is equal to the preset value, the display is controlled to display a first prompt message, wherein the first prompt message is used to prompt the user to reconnect the external device; If the first number is not equal to a preset value, a step of acquiring a first byte number of the initial extended display identification data is performed.
13. The display device according to claim 11, wherein the at least one processor is further configured to execute computer instructions to cause the display device to perform: If the first number is the same as the first byte number, then obtaining the data block type and first unidentified information of the unidentified data block; wherein, The first unidentified information represents an unidentified data block of the external device parsing and extending the display identification data; If the data block type is a preset type, updating the extended display identification data of the display device to first extended display identification data; wherein the protocol version number of the first extended display identification data is lower than the protocol version number of the initial extended display identification data; If the data block type is not a preset type, the unrecognized data block is deleted from the initial extended display identification data to update the initial extended display identification data.
14. The display device according to claim 13, wherein the at least one processor is further configured to execute computer instructions to cause the display device to perform: If no unidentified data block is detected, the second unidentified information is obtained; wherein, The second unrecognized information is used to represent an unrecognized byte; If the unrecognized bytes are video parameters, obtaining replacement parameters based on a preset video parameter database, and updating the unrecognized bytes in the initial extended display identification data to the replacement parameters; If the unrecognized byte is an audio parameter, then when the audio parameter is in an audio format, the unrecognized byte is deleted from the initial extended display identification data, and when the audio parameter is not in an audio format, the unrecognized byte in the initial extended display identification data is updated to an audio replacement parameter; wherein the capability value of the audio replacement parameter is lower than that of the audio parameter; If the unrecognized byte is not a video parameter or an audio parameter, the unrecognized byte is deleted from the initial extended display identification data.
15. The display device according to claim 14, wherein the at least one processor is further configured to execute computer instructions to cause the display device to perform: If no unrecognized bytes are detected, the number of bytes of the unrecognized paragraph and the third unrecognized information are obtained; wherein, The third unrecognized information represents an unrecognized paragraph, and the unrecognized paragraph includes a plurality of consecutive bytes; If the number of bytes is an integer multiple of the number of bytes in the field, switching the extended display identification data of the display device; If the number of bytes is not an integer multiple of the number of field bytes, a target data block corresponding to the first byte of the unrecognized paragraph is obtained, and the byte representing the function of the display device in the target data block is deleted.
16. The display device according to claim 15, wherein the at least one processor is further configured to execute computer instructions to cause the display device to perform: If no unrecognized paragraph is detected, the standard configuration information of the display device and the fourth unrecognized information are obtained; wherein, The fourth unidentified information represents unidentified configuration information, and the configuration information includes function information and parameter information; The unrecognized configuration information in the initial extended display identification data is updated according to the standard configuration information.
17. The display device according to claim 16, wherein the at least one processor is further configured to execute computer instructions to cause the display device to perform: If no unrecognized configuration information is detected, abnormal check bit information is obtained; Acquire an abnormal field according to the abnormal check bit information; Calculating a target check digit of the abnormal field, and updating the abnormal check digit in the initial extended display identification data to the target check digit; Send extended display identification data parsing command to external device.
18. The display device according to claim 10, wherein the at least one processor is further configured to execute computer instructions to cause the display device to perform: In response to a media asset signal sent by the external device when parsing the extended display identification data normally, parsing the media asset signal to obtain the media asset data; Control the display to display the media asset data.
19. The display device according to any one of claims 10 to 18, wherein the at least one processor is further configured to execute computer instructions to cause the display device to execute: Obtaining the external device connection status of at least two device interfaces; Based on detecting the target external device connected to the interface of the target device, detecting the device type of the target external device; When the device type is a power amplifier device, obtaining a connection mode between the target external device and the interface of the target device; If the connection mode is cascade, switching the video playback channel of the display device to the target device interface so that the display displays the video data sent by the target external device; If the connection mode is non-cascade, the video playback channel of the display device is not switched.
20. The display device according to claim 19, wherein the at least one processor is specifically configured to execute computer instructions so that the display device detects the device type of the target external device in the following manner: Sending a connection information acquisition request to the target external device through the target device interface, so that the target external device feeds back connection information according to the connection information acquisition request, wherein the connection information includes a logical address of the target external device; receiving connection information fed back by the target external device, and parsing the logical address from the connection information; The device type of the target external device is obtained based on the logical address.
21. The display device according to claim 19, characterized in that The at least one processor is specifically configured to execute computer instructions so that the display device detects the device type of the target external device in the following manner: Get the target logical address of the power amplifier device; Sending a power amplifier device response instruction carrying the target logical address to the target external device; wherein the power amplifier device response instruction is used to enable the target external device to feedback reply information when the logical address is the target logical address; In response to the reply information sent by the target external device, the device type of the target external device is marked as a power amplifier device.
22. The display device according to claim 19, wherein the at least one processor is further configured to execute computer instructions to cause the display device to perform: When the device type is a power amplifier device, obtaining function information supported by the target device interface; If the target device interface supports the audio return channel function, executing the step of obtaining the connection mode between the target external device and the target device interface; If the target device interface does not support the audio return channel function, the display is controlled to display target prompt information, where the target prompt information is used to prompt the user to switch the device interface to which the target external device is connected.
23. The display device according to claim 22, wherein the at least one processor is further configured to execute computer instructions to cause the display device to perform: If the target device interface supports the audio return channel function, obtaining a first physical address of the target device interface; Sending a physical address acquisition instruction to the target external device through the target device interface, so that the target external device feeds back a second physical address according to the physical address acquisition instruction; Receiving a second physical address sent by the external device; If the first physical address and the second physical address are the same, executing the step of acquiring the connection mode between the target external device and the interface of the target device; If the first physical address is different from the second physical address, the display is controlled to display a second prompt message; wherein the second prompt message is used to prompt the user to replace the external device connected to the interface of the target device.
24. The display device according to claim 19, wherein the at least one processor is further configured to execute computer instructions to cause the display device to perform: When the device type is not a power amplifier device, obtaining a device status of the target external device; If the target external device is in a powered-on state, switching the video playback channel of the display device to the target device interface; If the target external device is in a standby state, the video playback channel of the display device is not switched.
25. The display device according to claim 24, wherein the at least one processor is specifically configured to execute computer instructions so that the display device performs the step of obtaining the device status of the target external device in the following manner: Detecting a voltage signal of an interface of the target device; If the voltage signal carries a jump signal, it is marked that the target external device is in a power-on state; If the voltage signal does not carry a jump signal, the target external device is marked as being in a standby state.
26. The display device according to claim 19, further comprising: An audio output interface, configured to connect to an audio player, wherein the audio player is used to play audio data; The at least one processor is further configured to execute computer instructions to cause the display device to perform: After obtaining the connection mode between the target external device and the target device interface, if the connection mode is cascade, setting the audio playback channel of the display device to the audio output interface so that the audio player plays the audio data of the display device; If the connection mode is non-cascade, the audio playback channel of the display device is set as the target device interface, so that the target external device plays the audio data of the display device.
27. The display device according to claim 26, wherein the at least one processor is specifically configured to execute computer instructions so that the display device performs the step of obtaining the connection mode between the target external device and the target device interface in the following manner: Sending an audio return channel initialization instruction to the target external device; If no initialization success information fed back by the target external device is received, marking the connection mode as cascade; If the initialization success information fed back by the target external device is received, the connection mode is marked as non-cascade.
28. A device control method, the method comprising: When a CEC device accesses a display device through an HDMI extended interface, a first interface number of the HDMI extended interface accessed by the CEC device is identified, and SCDC interaction information fed back by the CEC device is received, wherein the display device includes at least two HDMI extended interfaces, and the HDMI extended interface is communicatively connected to the HDMI native interface through a Switch switch; the Switch switch includes a first Switch switch and a second Switch switch; the first Switch switch includes SwitchTX and SwitchRX, and the SwitchRX is used to send an SCDC interaction trigger signal to the CEC device when the CEC device accesses the display device through the HDMI extended interface; the second Switch switch does not include the SwitchTX and the SwitchRX; the SCDC interaction information is information fed back by the CEC device according to the SCDC interaction trigger signal; Sending the first interface number to the second Switch switch, so as to switch the communication link to the HDMI extension interface corresponding to the first interface number through the second Switch switch; If the CEC device determines that the display device supports the SCDC function based on the SCDC interaction information, the CEC device performs SCDC interaction with the CEC device based on the communication link.
Citation Information
Patent Citations
Image apparatus
CN101873461A
Display device and interaction method of display device and CEC device
CN117834967A
Display equipment debugging device and display equipment
CN210958607U
High-definition multimedia interface apparatus and method for controlling the same
US20180285297A1
Consumer electronics control (CEC) processor
US8260975B1
Cited By
Wireless connection system for multi-node equipment control system and household air conditioning system
CN122496926A