CN117615091A - Display device and HDMI port identification method for accessing CEC device - Google Patents

Display device and HDMI port identification method for accessing CEC device Download PDF

Info

Publication number
CN117615091A
CN117615091A CN202310893056.3A CN202310893056A CN117615091A CN 117615091 A CN117615091 A CN 117615091A CN 202310893056 A CN202310893056 A CN 202310893056A CN 117615091 A CN117615091 A CN 117615091A
Authority
CN
China
Prior art keywords
cec
port
hdmi
display device
access signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310893056.3A
Other languages
Chinese (zh)
Inventor
卢平光
何营昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN202310893056.3A priority Critical patent/CN117615091A/en
Publication of CN117615091A publication Critical patent/CN117615091A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0125Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level one of the standards being a high definition standard
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application provides a display device and an HDMI port identification method for accessing a CEC device, if the CEC device accesses the display device through a native HDMI port, the native HDMI port is identified based on a first mapping relation according to a first identification of an HDMI controller generating an HPD signal. If the CEC device accesses the display device through the extended HDMI port, the extended HDMI port is identified based on a second mapping relationship according to a second identification of the access signal detection interface that generates the access signal. Thus, even if the extended HDMI port and the native HDMI port share the HDMI controller, the extended HDMI port cannot be determined according to the HPD signal generated by the HDMI controller, and the extended HDMI port of the access CEC device can be determined according to the second identifier of the access signal detection interface that generates the access signal, thereby realizing the effect of accurately identifying the HDMI port of the access CEC device.

Description

Display device and HDMI port identification method for accessing CEC device
Technical Field
The invention relates to the technical field of display equipment, in particular to a display equipment and an HDMI port identification method for accessing CEC equipment.
Background
The high definition multimedia interface (High Definition Multimedia Interface, HDMI) is a dedicated digital interface suitable for video transmission, capable of transmitting audio signals and image signals simultaneously. HDMI has now been standardized and consumer electronics control (Consumer Electronics Control, CEC) is a complete set of single bus protocols resulting from HDMI standardization. The display device may control an external device connected to the HDMI port using a CEC signal, wherein the controlled external device is referred to as a CEC device.
If the CEC device accesses the display device using the native HDMI port, the native HDMI port has a correspondence with the HDMI controller, so that it can be determined explicitly which way of the native HDMI port the CEC device accesses according to the HPD (Hot Plug Detection, hot plug) signal. The display device is capable of CEC interaction with the CEC device using the determined native HDMI port.
In practical application, the native HDMI port may be extended to multiple channels by using the multiple-channel switch, so that the CEC device may also access the display device by using the extended HDMI port. At this time, the multiple extended HDMI ports share one HDMI controller, i.e., the multiple extended HDMI ports share one HPD event. In this way, it cannot be clearly determined which path of the extended HDMI port is accessed by the CEC device, so that the display device cannot perform CEC interaction with the CEC device.
Disclosure of Invention
The application provides a display device and an HDMI port identification method for accessing CEC equipment, which can accurately identify the HDMI port accessed to CEC equipment no matter whether the HDMI port accessed to CEC equipment is a native HDMI port or an extended HDMI port.
In a first aspect, some embodiments of the present application provide a display device, including:
a display;
at least one HDMI controller having a first mapping relationship between a first identification of the HDMI controller and a first port number of a native HDMI port, the HDMI controller configured to generate an HPD signal upon detecting that a CEC device accesses the display device;
At least one access signal detection interface, wherein a second mapping relation exists between a second identifier of the access signal detection interface and a second port number of an extended HDMI port, the access signal detection interface is configured to generate an access signal when detecting that a CEC device accesses the display device, at least one extended HDMI port shares one HDMI controller with one native HDMI port, and the access signal and the HPD signal are different signals;
a processor configured to:
if the CEC device accesses the display device through the native HDMI port, identifying the first port number of the native HDMI port to which the CEC device accesses based on the first mapping relationship according to the first identification of the HDMI controller generating the HPD signal;
and if the CEC device accesses the display device through the extended HDMI port, identifying the second port number of the extended HDMI port accessed by the CEC device based on the second mapping relation according to the second identification of the access signal detection interface generating the access signal.
In a second aspect, some embodiments of the present application provide an HDMI port identification method of an access CEC device, where the HDMI port identification method of the access CEC device is applied to a display device, the display device at least includes at least one HDMI controller, a first mapping relationship exists between a first identifier of the HDMI controller and a first port number of a native HDMI port, and the HDMI controller is configured to generate an HPD signal when detecting that the CEC device is accessed to the display device; the display device further comprises at least one access signal detection interface, a second mapping relationship exists between a second identifier of the access signal detection interface and a second port number of the extended HDMI port, the access signal detection interface is configured to generate an access signal when detecting that the CEC device accesses the display device, wherein the at least one extended HDMI port shares one HDMI controller with one native HDMI port, and the access signal is a different signal from the HPD signal, and the method comprises:
If the CEC device accesses the display device through the native HDMI port, identifying the first port number of the native HDMI port to which the CEC device accesses based on the first mapping relationship according to the first identification of the HDMI controller generating the HPD signal;
and if the CEC device accesses the display device through the extended HDMI port, identifying the second port number of the extended HDMI port accessed by the CEC device based on the second mapping relation according to the second identification of the access signal detection interface generating the access signal.
As can be seen from the above technical solutions, in the display device and the method for identifying an HDMI port connected to a CEC device provided in the foregoing embodiments, a first mapping relationship exists between a first port number of a native HDMI port and a first identifier of an HDMI controller, where the HDMI controller is configured to generate an HPD signal when detecting that the CEC device is connected to the display device. A second mapping relationship exists between a second port number of the extended HDMI port and a second identifier of an access signal detection interface, where the access signal detection interface is configured to generate an access signal when it is detected that the CEC device is connected to the display device. If the CEC device accesses the display device through the native HDMI port, a first port number of the native HDMI port to which the CEC device accesses may be identified based on the first mapping relationship according to a first identification of the HDMI controller generating the HPD signal. If the CEC device accesses the display device through the extended HDMI port, a second port number of the extended HDMI port to which the CEC device accesses may be identified based on the second mapping relationship according to a second identification of the access signal detection interface that generates the access signal. In this way, even if the CEC device accesses the display device through the extended HDMI port, the extended HDMI port shares the HDMI controller with the corresponding native HDMI port, the second port number of the extended HDMI port cannot be determined according to the HPD signal generated by the HDMI controller, and the second port number of the extended HDMI port accessing the CEC device can be determined according to the second identification of the access signal detection interface generating the access signal, thereby achieving the effect of accurately identifying the HDMI port accessing the CEC device.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an operation scenario between a display device and a control device provided in some embodiments of the present application;
FIG. 2 is a block diagram of a hardware configuration of a display device provided in some embodiments of the present application;
FIG. 3 is a block diagram of a hardware configuration of a control device provided in some embodiments of the present application;
fig. 4 is a schematic diagram of software configuration in a display device according to some embodiments of the present application;
fig. 5 is a signaling diagram illustrating interaction between a display device 200 and a CEC device according to some embodiments of the present application;
FIG. 6 is a flowchart of logical address allocation for a CEC device provided in some embodiments of the present application;
FIG. 7 is a block diagram of a hardware circuit connection including a native HDMI port provided in some embodiments of the present application;
fig. 8 is a block diagram of a hardware circuit connection including a native HDMI port and an extended HDMI port provided in some embodiments of the present application;
FIG. 9 is a block diagram of the hardware connections of some functional modules of the display device 200 provided in some embodiments of the present application;
fig. 10 is a flowchart illustrating a method for executing HDMI port identification by the display device 200 accessing the CEC device according to some embodiments of the present application;
fig. 11 is a block diagram of a circuit connection with an extended HDMI interface provided in some embodiments of the present application;
fig. 12 is a block diagram of still another circuit connection with an extended HDMI interface provided in some embodiments of the present application;
fig. 13 is an interaction signaling diagram of an HDMI port identification procedure provided in some embodiments of the present application;
fig. 14 is an interaction signaling diagram of yet another HDMI port identification procedure provided in some embodiments of the present application;
FIG. 15 is a flowchart of a method for obtaining a physical address of a CEC device according to some embodiments of the present application;
fig. 16 is a schematic diagram of EDID file transmission provided in some embodiments of the present application;
fig. 17 is an EDID file transfer schematic diagram of a display device having a plurality of extended HDMI ports provided in some embodiments of the present application;
fig. 18 is a flowchart illustrating a method for establishing CEC connection according to some embodiments of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the exemplary embodiments of the present application will be clearly and completely described below in connection with the exemplary embodiments of the present application and the corresponding drawings. It will be apparent that the exemplary embodiments described are only some, but not all, of the embodiments of the present application.
It should be noted that the brief description of the terms in the present application is only for convenience of understanding the embodiments described below, and is not intended to limit the embodiments of some examples of the present application. Unless otherwise indicated, these terms should be construed in their ordinary and customary meaning.
The terms "first," second, "" third and the like in the description and in the claims and in the above-described figures are used for distinguishing between similar or similar objects or entities and not necessarily for limiting a particular order or sequence, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to all elements explicitly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The display device provided in the embodiment of the application may have various implementation forms, for example, may be a television, an intelligent television, a laser projection device, a display (monitor), an electronic whiteboard (electronic bulletin board), an electronic desktop (electronic table), and the like.
Fig. 1 and 2 are specific embodiments of a display device of the present application.
Fig. 1 is a schematic diagram of an operation scenario between a display device and a control device in an exemplary embodiment of the present application. As shown in fig. 1, a user may operate the display device 200 through the mobile terminal 300 and the control device 100.
In some embodiments, the control apparatus 100 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication or bluetooth protocol communication, and other short-range communication modes, and the display device 200 is controlled by a wireless or wired mode. The user may control the display device 200 by inputting user instructions through keys on a remote control, voice input, control panel input, etc.
In some embodiments, a smart device 300 (e.g., mobile terminal, tablet, computer, notebook, etc.) may also be used to control the display device 200. For example, the display device 200 is controlled using an application running on a smart device.
In some embodiments, the display device may receive instructions not using the smart device or control device described above, but rather receive control of the user by touch or gesture, or the like.
In some embodiments, the display device 200 may also perform control in a manner other than the control apparatus 100 and the smart device 300, for example, the voice command control of the user may be directly received through a module configured inside the display device 200 device for acquiring voice commands, or the voice command control of the user may be received through a voice control device configured outside the display device 200 device.
In some embodiments, the display device 200 is also in data communication with a server 400. The display device 200 may be permitted to make communication connections via a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display device 200. The server 400 may be a cluster, or may be multiple clusters, and may include one or more types of servers.
Fig. 2 exemplarily shows a hardware configuration block diagram of the control apparatus 100 in accordance with an exemplary embodiment. As shown in fig. 2, the control device 100 includes a controller 110, a communication interface 130, a user input/output interface 140, a memory, and a power supply. The control apparatus 100 may receive an input operation instruction of a user and convert the operation instruction into an instruction recognizable and responsive to the display device 200, and function as an interaction between the user and the display device 200. As shown in fig. 3, the display apparatus 200 includes at least one of a modem 210, a communicator 220, a detector 230, an external device interface 240, a processor 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface.
In some embodiments the processor includes a video processor, an audio processor, a graphics processor, RAM, ROM, a first interface for input/output to an nth interface. The display 260 includes a display screen component for presenting a picture, and a driving component for driving an image display, a component for receiving an image signal derived from the processor output, displaying video content, image content, and a menu manipulation interface, and a user manipulation UI interface. The display 260 may be a liquid crystal display, an OLED display, a projection device, or a projection screen.
The communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. For example: the communicator may include at least one of a Wifi module, a bluetooth module, a wired ethernet module, or other network communication protocol chip or a near field communication protocol chip, and an infrared receiver. The display device 200 may establish transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220.
A user interface, which may be used to receive control signals from the control device 100 (e.g., an infrared remote control, etc.).
The detector 230 is used to collect signals of the external environment or interaction with the outside. For example, detector 230 includes a light receiver, a sensor for capturing the intensity of ambient light; alternatively, the detector 230 includes an image collector such as a camera, which may be used to collect external environmental scenes, user attributes, or user interaction gestures, or alternatively, the detector 230 includes a sound collector such as a microphone, or the like, which is used to receive external sounds.
The external device interface 240 may include, but is not limited to, the following: high Definition Multimedia Interface (HDMI), analog or data high definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, etc. The input/output interface may be a composite input/output interface formed by a plurality of interfaces.
The modem 210 receives broadcast television signals through a wired or wireless reception manner, and demodulates audio and video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
In some embodiments, the processor 250 and the modem 210 may be located in separate devices, i.e., the modem 210 may also be located in an external device to the host device in which the processor 250 is located, such as an external set-top box or the like.
The processor 250 controls the operation of the display device and responds to the user's operations by various software control programs stored on the memory. The processor 250 controls the overall operation of the display device 200. For example: in response to receiving a user command to select to display a UI object on the display 260, the processor 250 may perform operations related to the object selected by the user command.
In some embodiments the processor includes at least one of a central processing unit (Central Processing Unit, CPU), video processor, audio processor, graphics processor (Graphics Processing Unit, GPU), RAM (Random AccessMemory, RAM), ROM (Read-Only Memory, ROM), first to nth interfaces for input/output, a communication Bus (Bus), etc.
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 the user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through the sensor to receive the user input command.
A "user interface" is a media interface for interaction and exchange of information between an application or operating system and a user, which enables conversion between an internal form of information and a user-acceptable form. A commonly used presentation form of the user interface is a graphical user interface (Graphic User Interface, GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in a display screen of the electronic device, where the control may include a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
As shown in fig. 4, the system of the display device is divided into three layers, an application layer, a middleware layer, and a hardware layer, from top to bottom.
The application layer mainly comprises common applications on the television, and an application framework (Application Framework), wherein the common applications are mainly applications developed based on Browser, such as: HTML5 APPs; and Native applications (Native APPs).
The application framework (Application Framework) is a complete program model with all the basic functions required by standard application software, such as: file access, data exchange, and the interface for the use of these functions (toolbar, status column, menu, dialog box).
Native applications (Native APPs) may support online or offline, message pushing, or local resource access.
The middleware layer includes middleware such as various television protocols, multimedia protocols, and system components. The middleware can use basic services (functions) provided by the system software to connect various parts of the application system or different applications on the network, so that the purposes of resource sharing and function sharing can be achieved.
The hardware layer mainly comprises a HAL interface, hardware and a driver, wherein the HAL interface is a unified interface for all the television chips to be docked, and specific logic is realized by each chip. The driving mainly comprises: audio drive, display drive, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (e.g., fingerprint sensor, temperature sensor, pressure sensor, etc.), and power supply drive, etc.
For clarity of explanation of the technical solutions of the present application, firstly, explanation will be made on the terms designed in the present application:
CEC (Consumer Electronics Control), consumer electronics control, which allows an end user to control a plurality of CEC-capable HD devices using one remote control, thereby eliminating the need to use multiple remote controls to control the electronic device, such as: television (TV), set-top box and portable HD device.
EDID (Extended Display Identification Data), i.e. the extended display identification data, is a data specification designed by the video standards organization VESA for the optimized display format set by the PC display. EDID contains basic parameters of the display device, such as manufacturer, product name, maximum line frequency, supportable resolution, etc., and is data after realizing plug-and-play function. The storage mode of the EDID comprises an internal mode and an external mode. The EDID built-in mode is to write EDID data into a program, write the EDID data into an electrically erasable programmable read-Only Memory (EEPROM) chip when the intelligent television is powered on by direct current, and obtain the EDID data of the intelligent television from the EEPROM chip when the intelligent television is used. The external EDID mode is to directly write the EDID data in an external EEPROM chip, and directly read by external equipment through a display data channel without being controlled by a main program of the intelligent television.
HDMI (High Definition Multimedia Interface, HDMI), a high definition multimedia interface, is a digital video/audio interface technology, is a special digital interface suitable for video transmission, can simultaneously transmit audio and video signals, has a maximum data transmission speed of 48Gbps (version 2.1), and does not need to perform digital/analog or analog/digital conversion before signal transmission. The HDMI interface has a hot plug function.
HPD (Hot Plug Detection) it is designed to implement hot plug of HDMI connection, in short, when the transmitting end accesses to the receiving end, the receiving end responds to the HPD signal to the transmitting end, and then the transmitting end starts the DDC channel, reads EDID information of the receiving end, and then performs HDCP (High-bandwidth Digital Content Protection, high bandwidth digital content protection technology) interaction, if authentication of both sides is successful, the video and audio work normally, otherwise, the connection fails, and different systems will have different processes.
SOC (System on Chip), a System on Chip, also known as a System on Chip, is a System or product formed by combining multiple integrated circuits with specific functions on a Chip, including a complete hardware System and embedded software carried thereby. In the embodiment of the application, the SOC detects whether the device is accessed, reads EDID information, and the like.
ARC (Audio Return Channel), i.e. sound feedback, the use of a single HDMI connection line enables the television to send audio signals upstream to a connected sound bar, single box home theater or AV receiver creating a channel of bi-directional information by forming a "handshake" between the television and audio equipment, eliminating the need for fiber optic audio cables and thus reducing the confusion of the home center line.
GPIOs (General-Purpose Input/Output Ports), in embedded systems, often require control of many simply structured external devices or circuits, some of which need to be controlled by a CPU, and some of which need the CPU to provide Input signals. Also, many devices or circuits require only two on/off states, such as on and off of the LED. The control of these devices is complicated by the use of conventional serial or parallel ports, so a "general purpose programmable I/O port", i.e., GPIO, is typically provided on an embedded microprocessor. One GPIO port requires at least two registers, one for control, "general IO port control registers", and one for data storage, "general I/O port data registers". Each bit of the data register corresponds to a hardware pin of the GPIO, and the data transfer direction is set by the control register, through which the data flow direction of each bit pin can be set.
In some embodiments, the display device 200 may control an external device connected on the HDMI port using the CEC signal, and the controlled external device is referred to as a CEC device. After the CEC device accesses the display device 200 through the HDMI port, the display device 200 needs to acquire device information of the CEC device using the CEC instruction, and then the display device 200 establishes a connection with the CEC device using the device information of the CEC device and the logical address of the CEC device.
For example, as shown in the interactive signaling diagram of the display device 200 and the CEC device in fig. 5, since the HDMI port has a hot plug function, when the CEC device is connected to the display device 200 through the HDMI port, the display device 200 detects the connection action of the CEC device using the hot plug function. The system hardware of the display device 200 triggers a HPD (Hot Plug Detection) signal (hereinafter referred to as an HPD pull-up signal) by which the display device 200 knows CEC device access. After receiving the HPD pull-up signal, the display device 200 broadcasts its own physical address to the outside, and all CEC devices of the CEC line where the display device 200 is located can acquire the physical address broadcast by the display device 200.
After receiving the physical address broadcast by the display device 200, the CEC device calculates its own logical address (usually, the CEC line allocates an address to the CEC device) according to the HDMI standard protocol, and broadcasts the allocated logical address. Among them, CEC is a protocol based on a bus system, and physical addresses are allocated through Physical Address Discovery Process (physical address discovery mechanism). When a CEC-enabled device gets a new physical address, the following steps are performed: it is decided to apply for allocation of a logical address corresponding to the device type of the CEC device; the binding of its physical address and logical address is reported by broadcast (Report Physical Address). The type of logical address may be as shown in table 1:
Table 1 logical address type
The logical addresses of the CEC devices are also dynamically allocated, and as shown in fig. 6, the logical address allocation manner of the CEC devices may be as follows:
the root node (typically display device 200) is directly assigned logical address 0. When a CEC Device is inserted into the display Device 200, a first preset logical address is allocated to the CEC Device according to the Device type of the inserted CEC Device, for example, if the CEC Device is a DVD, the Device type is a Playback Device1, the CEC Device is allocated with the first preset logical address 4 as needed in table 1, and the first preset logical address is broadcast to other CEC devices by broadcasting. If the first preset logical address 4 is not occupied, the currently accessed CEC device does not receive the acknowledgement message.
If the first preset logical address 4 is already occupied, the CEC device occupying the first preset logical address 4 will feed back a reply acknowledge message to the currently accessed CEC device, where the reply acknowledge message is used to inform the currently accessed CEC device that the first preset logical address 4 is already occupied. After receiving the acknowledgement message, the currently accessed CEC device continues to allocate the logical address according to table 1 until no acknowledgement message fed back by other CEC devices is received after the logical address is allocated.
For example, a second preset logical address 8 is allocated to the currently accessed CEC device, after broadcasting the logical address, no acknowledgement message fed back by other CEC devices is received, and the second preset logical address 8 is not occupied, so that the currently accessed CEC device may occupy the second preset logical address 8. After the currently accessed CEC device occupies the second preset logical address 8, a broadcast "Report Physical Address (report logical address)", which includes the physical address and the logical address of the currently accessed CEC device, is transmitted for declaring the occupation of the second preset logical address 8 to other CEC devices. If the logical addresses are all occupied after one round of interrogation according to table 1, the logical address 15 in table 1 is allocated to the CEC device currently accessed.
After the display device 200 receives the logical address of the CEC device, the logical address of the CEC device is added to the list of devices in the system of the display device 200. And transmitting a first CEC instruction to the CEC device, the first CEC instruction requesting manufacturer information of the CEC device. After receiving the first CEC instruction, the CEC device feeds back the manufacturer information of the CEC device to the display device 200. The display device 200 then continues to transmit a second CEC instruction to the CEC device, the second CEC instruction requesting the device name of the CEC device. After receiving the second CEC instruction, the CEC device feeds back the device name of the CEC device to the display device 200. After acquiring the manufacturer information and the device name of the CEC device, the display device 200 may send a connection request to the CEC device, and the CEC device may establish a connection with the CEC device when feeding back a connection success message according to the connection request.
In the same CEC line, CECs of all CEC devices are equivalent to being suspended on the same line. Accordingly, after issuing a CEC instruction, all CEC devices in the line are able to receive the CEC instruction by the CEC of the display device 200. It is necessary to distinguish which CEC device the CEC instruction is addressed to, based on the logical address. The logical address is present in the header data of the CEC instruction. If the header data of the CEC instruction includes a logical address that matches the logical address, the corresponding CEC device performs a corresponding execution action on the operation code in the CEC instruction. If the header data of the CEC instruction includes a logical address that does not match its logical address, the corresponding CEC device ignores the CEC instruction.
For example, the CEC instruction is a Standby instruction whose content is "start signal +00ff+0x36", in which: 00 denotes a logical address of the display device 200, FF denotes a broadcast address (i.e., a logical address set of all CEC devices), and 0x36 denotes a standby operation. This instruction is a CEC instruction that the display device 200 transmits to all CEC devices, and indicates that the display device 200 notifies all CEC devices to enter a standby state. The CEC devices on the same CEC line as the display device 200 enter a standby state upon receiving the instruction.
The display device 200 is used as an audio and video display device, and requires a signal source to be accessed to transmit audio and video data, and the display device 200 generally supports 4-way HDMI access signal source (CEC device). If more than 4 CEC devices need to be used, this can only be achieved by the method of the external HDMI port. For example, the HDMI switch may switch one path of HDMI channel to a different HDMI port on the main board of the display device 200 in real time. However, since the CEC function relies on the CEC tree network to enable bi-directional communication between all interconnected devices, the display device 200 is typically a root device in the CEC network. It is therefore necessary to make clear which HDMI port of the display device 200 the CEC device has access to if two-way communication between the display device 200 and the CEC device is to be achieved.
And when the HDMI channels are used for watching video resources, the corresponding HMDI channels need to be switched, and other HDMI channels are in an inactive state. Based on the characteristics, the HDMI port working on the circuit board can be connected with the HDMI controller on the SOC through the change-over switch, so that the HDMI port can work in a time-sharing mode. However, the CEC function attached to the HDMI port does not work in a time-sharing manner, and even if the HDMI port is not located in the HDMI channel, CEC messages need to be received and transmitted in real time, and the CEC messages need to be received and transmitted from and to the HDMI port. It can be seen that if the display device 200 needs to establish CEC interaction with the CEC device, whether the non-road CEC device is in an operating state, the display device 200 needs to know which path of HDMI port the CEC device accesses.
If only the native HDMI port is configured on the display device 200, a hardware circuit diagram of the HDMI port as shown in fig. 7, in which the native HDMI port is shown: hdmi_1, hdmi_2, and hdmi_3. And the original HDMI port is connected with an HDMI controller in a unique corresponding mode. As shown in fig. 7, hdmi_1 corresponds to hdmi_a controller, hdmi_2 corresponds to hdmi_b controller, and hdmi_3 corresponds to hdmi_c controller. If the CEC device accesses the display device by using the native HDMI port, it is determined explicitly which native HDMI port is accessed by the current CEC device according to the HPD pull-up signal generated by the HDMI controller because the native HDMI port has a corresponding relationship with the HDMI controller. After determining the connected native HDMI port, the display device can establish an HDMI channel using the determined native HDMI port, and then make a CEC connection with the CEC device by using the established HDMI.
For example, as shown in fig. 7, if the CEC device accesses the display device using the native HDMI port hdmi_1, the hdmi_a controller connected to the native HDMI port hdmi_1 generates the HPD-up signal after detecting the CEC device access, and since the hdmi_1 corresponds to the hdmi_a controller (i.e., has the first mapping relationship), it may be determined that the HDMI port to which the CEC device accesses is hdmi_1 based on the first mapping relationship according to the first identification of the hdmi_a controller generating the HPD-up signal. It is thus possible to establish an HDMI channel between the CEC device and the display device and to establish a CEC connection between the CEC device and the display device according to the port hdmi_1.
It should be noted that, the connection between the display device 200 and the CEC device may be a normal CEC connection or an ARC connection, and if an ARC connection needs to be established between the display device 200 and the CEC device, the CEC device needs to access an HDMI port supporting ARC, that is, an HDMI ARC channel is established, and the SOC may output sound through the HDMI ARC channel. The audio and video data are input into the SOC through the HDMI original channel, video images and audio are separated through SOC decoding, wherein the video images can be output through the display screen, and the audio is output to the power amplifier through the HDMI ARC channel. The difference between the HDMI port with the ARC function and the HDMI port without the ARC function is: the HDMI port with ARC function has one ARC sound transmission connected to the main chip.
If the display device 200 is configured with an extended HDMI port in addition to the native HDMI port, a hardware circuit diagram of the HDMI port as shown in fig. 8, in which not only the native HDMI port is shown: hdmi_1, hdmi_2, and hdmi_3, also show extended HDMI ports: hdmi_4 and hdmi_5. In fig. 8, the hdmi_a controller is directly connected to the hdmi_1 port of the circuit board, the hdmi_b controller is directly connected to the hdmi_2 port of the circuit board, and the hdmi_c controller can be time-division switched to the native HDMI port hdmi_3, the extended HDMI port hdmi_4, and the extended port hdmi_5 of the circuit board by HDMI SWITCH (switch).
If the CEC device accesses the display device using the extended HDMI port, since the native HDMI port hdmi_3, the extended HDMI port hdmi_4, and the extended HDMI port hdmi_5 share one hdmi_c controller, the HPD up signal generated by the hdmi_c controller cannot be determined because which of the native HDMI port hdmi_3, the extended HDMI port hdmi_4, and the extended port hdmi_5 has accessed the CEC device. And thus the CEC connection between the display device 200 and the CEC device cannot be established.
In view of the above, some embodiments of the present application provide a display apparatus 200. In order to facilitate understanding of the technical solutions in some embodiments of the present application, the following details of each step are described with reference to some specific embodiments and the accompanying drawings. Fig. 9 is a block diagram of hardware connection of some functional modules of the display device 200 according to some embodiments of the present application. Fig. 10 is a flowchart illustrating a method for executing HDMI port identification of an access CEC device by the display device 200 according to some embodiments of the present application.
As shown in fig. 9, the functional modules of the display device 200 according to the embodiment of the present application mainly include: processor 250, power supply, display 260, HDMI controller, access signal detection interface (which may be a GPIO interface, hereinafter described with a GPIO interface as an example), and CEC module. The above-mentioned functional modules are merely modules described for illustration, and are not intended to implement all of the functional modules of the present application.
The processor 250 is a control and signal processing core of the whole display device 200, and is responsible for controlling the system operation of the whole display device 200, including receiving external image signals, decoding the image signals, processing the image quality, outputting the image signals, controlling the backlight assembly to operate, and ensuring the normal operation of peripheral devices or devices such as Wi-Fi and bluetooth.
The power supply is a power output module of the entire display apparatus 200, and provides power guarantee to all modules of the display apparatus 200. The display 260 is used to display video pictures. The CEC module is used for CEC interaction with the CEC device by using the HPD event, namely, CEC message transceiving with the CEC device. The CEC module may specifically include a CEC protocol stack in an embodiment of the present application.
The HDMI controller is configured to generate an HPD pull-up signal when it is detected that the CEC device is connected to the display device 200. For example, a circuit connection block diagram with an extended HDMI interface as shown in fig. 11. The extended HDMI interface 1 and the extended HDMI interface 2 share one HDMI controller. If the CEC device 1 is connected to the display device 200 via the extended HDMI interface 1, the processor will first pull the 5V pin level of the extended HDMI interface 1 high (i.e. it is detected that the CEC device is connected to the display device 200), and then send a signal to the HDMI controller that the 5V pin level is pulled high. The HDMI controller receives the signal of pulling up the 5V pin level, and generates an HPD pulling up signal, namely pulling up the HPD pin level. The HDMI controller transmits the HPD up signal to the CEC protocol stack to cause the CEC protocol stack to generate an HPD event according to the HPD up signal, and then the CEC protocol stack may interact CEC messages with the CEC device according to the HPD event.
However, since the extended HDMI interface 1 and the extended HDMI interface 2 share one HDMI controller at this time, the CEC protocol stack cannot know whether the HPD pull-up signal is generated because the extended HDMI interface 1 has accessed the CEC device or the extended HDMI interface 2 has accessed the CEC device.
Therefore, two GPIO interfaces are added on the basis of the circuit connection block diagram shown in fig. 11, so as to obtain the circuit connection block diagram shown in fig. 12. As shown in the improved circuit connection block diagram of fig. 12, the GPIO interface is connected to the 5V pin of the extended HDMI interface, so that the GPIO interface can detect the state of the 5V pin, and the GPIO interface can also generate an access signal (hereinafter referred to as a GPIO pull-up signal) according to the state of the 5V pin, and report the GPIO pull-up signal to the CEC protocol stack. And the different extended HDMI interfaces correspond to one GPIO interface, respectively.
Based on the functional modules shown in fig. 9 and the circuit connection block diagram shown in fig. 12, as shown in fig. 10, the HDMI port identification method for accessing the CEC device, which is executed by the display device 200 and is executed by the embodiment of the present application, includes the following steps:
step S100: if the CEC device accesses the display device through the native HDMI port, the first port number of the native HDMI port accessed by the CEC device is identified based on the first mapping relationship according to the first identification of the HDMI controller generating the HPD pull-up signal.
Step S200: if the CEC device accesses the display device through the extended HDMI port, identifying a second port number of the extended HDMI port accessed by the CEC device based on a second mapping relation according to a second identification of the GPIO interface generating the GPIO pull-up signal.
The scenario of the embodiment of the present application is that at least one extended HDMI port shares one HDMI controller with one native HDMI port, so that there are two cases where the HDMI port shares the HDMI controller:
in the first case, one native HDMI port shares the same HDMI controller as at least one extended HDMI port. At this time, if the CEC device accesses the display device 200 through the native HDMI port, the HPD pull-up signal generated by the HDMI controller is still not determined as to which HDMI port accessed the CEC device. At this time, the following determination can be made: if in this case, the CEC protocol stack only receives the HPD pull-up signal, it indicates that the CEC device has access to the native HDMI port (since the native HDMI port is not connected to the GPIO interface); if the CEC protocol stack receives the HPD pull-up signal and also receives the GPIO pull-up signal in this case, it indicates that the CEC device has access to an extended HDMI port (since the extended HDMI port is connected to the GPIO interface, the CEC protocol stack is able to receive the GPIO pull-up signal). Although it can be determined that the CEC device has accessed an extended HDMI port at this time, since one HDMI controller is shared by a plurality of extended HDMI ports, it is still necessary to determine which extended HDMI port the CEC device has accessed according to the method of the present application.
In the second case, one native HDMI port shares the same HDMI controller as at least two extended HDMI ports. At this time, if the CEC device accesses the display device 200 through the native HDMI port, it is still possible to first determine whether the CEC device accesses the native HDMI port or the extended HDMI port by: if the CEC protocol stack receives the HPD up signal and does not receive the GPIO up signal, it may be determined that the CEC device accesses a native HDMI port, and then a port number of the native HDMI port accessed by the CEC device may be identified based on the first mapping relationship according to a first identification of the HDMI controller that generates the HPD signal. If the CEC protocol stack receives the HPD pull-up signal and receives the GPIO pull-up signal, it may be determined that the CEC device accesses an extended HDMI port, and at this time, the HPD pull-up signal generated by the HDMI controller may not be determined yet due to which HDMI port accesses the CEC device. At this time, according to the GPIO interface generating the GPIO pull-up signal, it is determined which path of HDMI port is connected to the CEC device.
Thus, if the CEC device is connected to the display device 200 through the native HDMI port, the CEC protocol stack can only receive the HPD pull-up signal transmitted from the HDMI controller, whether in the first or second case. The first port number of the native HDMI port to which the CEC device has access may then be identified based on the first mapping relationship according to the first identification of the HDMI controller generating the HPD pull-up signal. If the CEC device accesses the display device 200 through the extended HDMI port, both the CEC protocol stack can receive the HPD pull-up signal sent by the HDMI controller and the GPIO pull-up signal sent by the GPIO interface. Because the HPD pull-up signal cannot distinguish which path of HDMI port is accessed, the second port number of the extended HDMI port accessed by the CEC device can be identified based on the second mapping relationship according to the second identifier of the GPIO interface generating the GPIO pull-up signal.
For example, as shown in the circuit connection block diagram shown in fig. 12 and the recognition procedure signaling diagram shown in fig. 13, if CEC device 1 is connected to display device 200 through extended HDMI port 1, extended HDMI port 1 first pulls its 5V pin level high when CEC device 1 is connected to display device 200. The HDMI controller and the GPIO interface 1 detect the 5V pin level pulling-up signal at the same time, the HDMI controller generates an HPD pulling-up signal according to the 5V pin level pulling-up signal, and the GPIO interface 1 generates a GPIO pulling-up signal according to the 5V pin level pulling-up signal. The HDMI controller then sends the HPD pull-up signal to the CEC protocol stack and the GPIO interface 1 sends the GPIO pull-up signal to the CEC protocol stack. The HPD pull-up signal carries a first identifier of the HDMI controller, and the GPIO pull-up signal carries a second identifier of the GPIO interface 1.
Since the extended HDMI port 1 and the extended HDMI port 2 share one HDMI controller, it cannot be determined from the HPD pull-up signal which one of the extended HDMI interfaces has accessed the CEC device. However, since the second mapping relationship exists between the second identifier of the GPIO interface 1 and the second port number of the extended HDMI port 2, the second port number of the extended HDMI port 2 currently accessed to the CEC device may be determined according to the second identifier of the GPIO interface 1. It can be determined that the port currently accessing the CEC device is the extended HDMI port 2.
In this embodiment of the present application, the first mapping relationship and the second mapping relationship may be stored in a configuration file, where the configuration file may be stored in an SOC, or may be stored in another memory of the display device 200, or may be stored in a device that is externally attached to the display device, for example, in a server accessible to the display device 200. The configuration file may include a mapping relationship between the native HDMI port and the first identifier and a mapping relationship between the extended HDMI port and the second identifier, and may also include specific port information, where the port information may include a port number and port capability information; the configuration file may also include only a mapping relationship between the native HDMI port and the first identifier and a mapping relationship between the extended HDMI port and the second identifier, without including specific port information. The specific port information can be stored in other memories, and after the mapping relation between the native HDMI port and the first identifier and the mapping relation between the expanded HDMI port and the second identifier are searched from the configuration file, the corresponding specific port information is obtained from other memories or servers according to the searched mapping relation.
In some embodiments, multiple configuration files may be stored in the SOC, and if the mapping relationship associated with the first identifier or the mapping relationship associated with the second identifier is not found in one configuration file, the mapping relationship associated with the first identifier or the mapping relationship associated with the second identifier may be continuously found in other configuration files. Here, the mapping relation associated with the first identifier or the mapping relation associated with the second identifier may be that the mapping relation is marked with the first identifier or the second identifier obtains the identifier information.
In addition, the plurality of configuration files can be ranked in priority, namely, when the mapping relation associated with the first identifier or the mapping relation associated with the second identifier is searched, the configuration file with the highest priority is searched first, if the mapping relation associated with the first identifier or the mapping relation associated with the second identifier is not searched in the configuration file with the highest priority, the configuration file with the second highest priority is continuously searched, and the like until the mapping relation associated with the first identifier or the mapping relation associated with the second identifier is searched. In this case, the priority of the configuration file may be determined according to the frequency of use corresponding to the port, where the configuration file corresponding to the port with higher frequency of use is generally set to a higher priority.
For example, the SOC includes a configuration file 1, a configuration file 2, and a configuration file 3 …, where the configuration file 1 stores a mapping relationship associated with the first identifier or a mapping relationship associated with the second identifier of a port with the highest frequency of use, the frequency of use of the relevant port stored in the configuration file 2 is lower than the frequency of use of the relevant port stored in the configuration file 1, and the frequency of use of the relevant port stored in the configuration file 3 is lower than the frequency of use … of the relevant port stored in the configuration file 2. Thus, the search priority order of the profiles is profile 1, profile 2, profile 3 …, profile N.
After the CEC device is connected to the display device 200, the mapping relationship associated with the first identifier or the mapping relationship associated with the second identifier is first searched from the configuration file 1, and as the port corresponding to the information stored in the configuration file 1 has the highest use frequency, for the port more commonly used by the user, the device information can be quickly searched from the configuration file 1, thereby further improving the connection efficiency. And different mapping relations are divided into different configuration files, so that the efficiency of searching the equipment information can be improved in the process of searching the mapping relations again. For example, the frequency of using the native HDMI port 1 by the user is highest, the mapping relation related to the native HDMI port 1 is stored in the configuration file 1, the priority level of the configuration file 1 is highest, and when searching, the user starts searching from the configuration file 1, so that the port information of the native HDMI port 1 can be searched more quickly, and the port identification connection efficiency is achieved.
The mapping relationship can be integrated on the SOC in the form of a plug-in, so that if a new mapping relationship needs to be added to the configuration file, the SOC can be directly written in the form of the plug-in. And after the configuration file can be modified, the modified configuration file is rewritten into the SOC in the form of a plug-in, so that the configuration file can be conveniently added or modified.
Based on the above embodiment, there is a first mapping relationship between the first port number of the native HDMI port and the first identifier of the HDMI controller, and the HDMI controller is configured to generate the HPD up signal when detecting that the CEC device is connected to the display device. A second mapping relation exists between a second port number of the extended HDMI port and a second identifier of the GPIO interface, and the GPIO interface is used for generating a GPIO pull-up signal when the CEC device is detected to be accessed to the display device. If the CEC device accesses the display device through the native HDMI port, a first port number of the native HDMI port to which the CEC device accesses may be identified based on the first mapping relationship according to a first identification of the HDMI controller generating the HPD pull-up signal. If the CEC device accesses the display device through the extended HDMI port, a second port number of the extended HDMI port to which the CEC device accesses may be identified based on the second mapping relationship according to a second identification of the GPIO interface generating the GPIO high signal.
Thus, even if the CEC device accesses the display device through the extended HDMI port, the extended HDMI port shares the HDMI controller with the corresponding native HDMI port, the second port number of the extended HDMI port cannot be determined according to the HPD pull-up signal generated by the HDMI controller, and the second port number of the extended HDMI port accessing the CEC device can be determined according to the GPIO interface second identifier generating the GPIO pull-up signal, thereby realizing the effect of accurately identifying the HDMI port accessing the CEC device.
In some embodiments, if a single CEC device accesses a display device through an extended HDMI port, only one GPIO interface generates a GPIO high signal and the process of determining the extended HDMI port may be:
and identifying a second port number of the extended HDMI port accessed by the single CEC device based on a second mapping relation according to a second identification of the GPIO interface generating the GPIO pull-up signal.
For example, in the port identification signaling diagram shown in fig. 12, only a single CEC device 1 is connected to the display device 200 through the extended HDMI port 1, so that only the GPIO interface 2 detects the 5V pin level pull-up signal, only the GPIO interface 2 generates the GPIO pull-up signal, and according to the GPIO pull-up signal generated by the GPIO interface 2, it may also be determined that the port connected to the CEC device is the extended HDMI port 2. Similarly, if only a single CEC device 2 is connected to the display device through the extended HDMI port 2, and therefore only the GPIO interface 1 detects the 5V pin level pull-up signal, only the GPIO interface 1 generates the GPIO pull-up signal, and according to the GPIO pull-up signal generated by the GPIO interface 1, it may also be determined that the port connected to the CEC device is the extended HDMI port 2.
In some embodiments, if at least two CEC devices access the display device through the extended HDMI port, then at least two GPIO interfaces are present to generate GPIO pull-up signals, and the process of determining the extended HDMI port may be: acquiring the time sequence of detecting GPIO pull-up signals by at least two GPIO interfaces; and identifying the latest second port number based on a second mapping relation according to a second identification of the GPIO interface generating the GPIO pull-up signal with the latest time sequence, wherein the latest second port number is the port number of the HDMI port which is accessed to the CEC device newly.
If at least two CEC devices access the display device 200 through the extended HDMI port, the at least two GPIO interfaces may detect the 5V pin level pull-up signal and the at least two GPIO interfaces may generate the GPIO pull-up signal. Since the two GPIO interfaces generate GPIO pull-up signals at the same time, it cannot be determined which HDMI port is connected to the CEC device to cause the HPD pull-up signal (the multiple extended HDMI ports share one HDMI controller, and the HDMI controller only generates one HPD pull-up signal, so that the multiple extended HDMI ports share one HPD pull-up signal). The HPD event corresponding to the HDMI port cannot be generated and CEC connection establishment between the display device 200 and the CEC device cannot be triggered.
Since the GPIO up signal is a pulse event, that is, when different CEC devices are connected to the display device 200, the GPIO up signal generated by the corresponding GPIO interface has a time sequence. The order of CEC devices accessing the display device 200 may thus be determined based on this principle. The specific GPIO high signal is generated in a time before, and is correspondingly connected to the extended HDMI port of the CEC device, and the GPIO high signal is generated in a time after, and is correspondingly connected to the extended HDMI port of the CEC device.
For example, as shown in the port identification signaling diagram of fig. 14, CEC device 1 is connected to display device 200 through extended HDMI port 1, CEC device 2 is connected to display device 200 through extended HDMI port 2, and extended HDMI port 1 is connected to GPIO interface 2, and extended HDMI port 2 is connected to GPIO interface 1. If the access sequence is that the CEC device 1 is accessed first and the CEC device 2 is accessed later, the sequence of generating the GPIO pull-up signal by the GPIO interface 1 and the GPIO interface 2 is that the GPIO interface 2 generates the GPIO pull-up signal (recorded as the first GPIO pull-up signal) first and the GPIO interface 2 generates the GPIO pull-up signal (recorded as the second GPIO pull-up signal) later. Therefore, the CEC protocol stack can determine the extended HDMI ports to which the CEC device 1 and the CEC device 2 are respectively connected according to the time sequence of receiving the GPIO pull-up signal. At this time, the time of the first GPIO up signal is earlier than that of the second GPIO up signal, and the CEC device is given an access sequence that CEC device 1 is accessed first, CEC device 2 is accessed later, and then it may be determined that CEC device 1 corresponds to the first GPIO up signal, that is, corresponds to GPIO interface 2, so that CEC device 1 may be determined to access display device 200 by expanding HDMI port 1. It may also be determined that CEC device 2 corresponds to the second GPIO up signal, i.e., corresponds to GPIO interface 1, and thus it may be determined that CEC device 2 accesses display device 200 through extended HDMI port 2.
In some embodiments, after determining the HDMI port to which the CEC device accesses, an HPD event corresponding to the HDMI port may also be generated, where the generated HPD event is used to trigger the display device 200 to establish a CEC connection with the CEC device accessed on the corresponding HDMI port. Wherein the procedure of generating the HPD event when a single CEC device is connected to the display device 200 is different from the procedure of generating the HPD event when a plurality of CEC devices are connected to the display device 200.
If a single CEC device accesses the display device 200 through an extended HDMI port, there is one GPIO interface detecting a GPIO up signal, and the process of generating the HPD event may be: and generating an HPD event corresponding to the extended HDMI port with the port number being the second port number according to the GPIO pull-up signal and the HPD pull-up signal, and establishing CEC connection with the CEC device by utilizing the HPD event, wherein the HPD pull-up signal is a signal generated when the CEC device is detected to be accessed to the display device 200 by the HDMI controller corresponding to the extended HDMI port.
Since only a single CEC device accesses the display device 200 through the extended HDMI port at this time, it can be known that the CEC device is operating normally through the HPD signal. Thus, if a single CEC device accesses the display device 200 through the extended HDMI port, only the HPD event corresponding to the identified extended HDMI port needs to be generated from the GPIO pull-up signal and the HPD pull-up signal. The display device 200 may then establish a CEC connection with the CEC device using the generated HPD event.
For example, in the circuit connection block diagram shown in fig. 12, when the CEC device 1 accesses the display device 200 through the extended HDMI port 1, the 5V pin level signal is pulled up, and the GPIO interface 2 is connected to the extended HDMI port 1, so that the GPIO interface 2 can detect the 5V pin level pulled up signal, and then the GPIO pulled up signal can be generated according to the 5V pin level pulled up signal. The HDMI port to which CEC device 1 has access can be identified as extended HDMI port 1 according to the GPIO high signal. And when receiving the 5V pin level pulling-up signal, the HDMI controller pulls up the HPD pin level according to the 5V pin level pulling-up signal, namely generates an HPD pulling-up signal. And since the single device is connected to the display device 200 at this time, it is possible to judge that the current CEC device is operating normally only according to the HPD pull-up signal. Therefore, the HPD event corresponding to the extended HDMI port 1 can be directly generated using the GPIO pull-up signal and the HPD signal. The display device 200 can then establish a CEC connection with the CEC device 1 connected to the extended HDMI port 1 using the generated HPD event.
If at least two CEC devices access the display device through the extended HDMI port, there are at least two GPIO interfaces generating GPIO pull-up signals, and the process of generating the HPD event may be: traversing a physical address of a CEC device accessed to the display device 200, wherein a third mapping relationship exists between the physical address and a second identifier of the GPIO interface; determining a physical address of the latest access CEC equipment according to the second identifier of the GPIO interface of the GPIO pull-up signal with the latest time sequence; and generating an HPD event corresponding to the extended HDMI port with the port number being the latest second port number according to the GPIO pull-up signal and the physical address, and establishing CEC connection with the latest accessed CEC device by utilizing the HPD event.
Since at this time at least two CEC devices access the display device through the extended HDMI port, the operating states of the respective CEC devices cannot be known through the HPD signal. The operating state of the CEC device may be determined at this time using the physical address of the CEC device. Namely, if the working state of the CEC equipment capable of acquiring the physical address is normal, the HPD event can be correspondingly generated under the condition; if the operation state of the CEC device, which cannot acquire the physical address, is abnormal, the HPD event cannot be correspondingly generated in this case. A specific traversal accesses the physical address of the CEC device of display device 200. And a third mapping relationship exists between the physical address and the second identifier of the GPIO interface. And then judging whether a physical address corresponding to the second identifier of the GPIO interface of the latest GPIO pull-up signal exists in the physical address of the traversed CEC equipment according to the third mapping relation according to the second identifier of the GPIO interface of the latest GPIO pull-up signal. If there is a physical address corresponding to the second identifier of the GPIO interface of the latest GPIO high signal, an HPD event corresponding to the extended HDMI port with the latest second port number may be generated according to the GPIO high signal and the finally determined physical address.
For example, as shown in the circuit connection block diagram of fig. 12, CEC device 1 accesses display device 200 through extended HDMI port 1, CEC device 2 accesses display device 200 through extended HDMI port 2, and both of the corresponding GPIO interface 1 and GPIO interface 2 are able to detect a 5V pin level pull-up signal and generate a first GPIO pull-up signal and a second GPIO pull-up signal, respectively. Since CEC device 1 is first connected to display device 200 and CEC device 2 is then connected to display device 200, the second GPIO high signal is later in time than the first GPIO high signal. And then traversing the physical address of the CEC equipment, and searching the physical addresses with corresponding relations with the GPIO interface 1 and the GPIO interface 2 from the traversed physical addresses according to a third mapping relation, wherein the physical addresses are the physical address 1 and the physical address 2 respectively. And if the signal corresponding to the CEC device 2 is the second GPIO pull-up signal and the corresponding physical address is the physical address 1, determining that the CEC device 2 works normally according to the found physical address, generating by using the second GPIO pull-up signal and the physical address 1, and expanding the HPD event corresponding to the HDMI port 2. The display device 200 can then establish a CEC connection with the CEC device 2 connected to the extended HDMI port 1 using the generated HPD event.
As shown in fig. 15, the step of acquiring the physical address of the CEC device may be as follows:
step S201, a ping message is sent to the CEC device of the device type of the first type (device type number X), if the ping message is successful, indicating that the connection of the information interaction channel between the CEC device and the display device 200 is successful, then step S202 is performed, and if the ping message is unsuccessful, step S204 is performed.
Step S202, a device physical address request is sent to the CEC device with the device type of the first type, if the physical address returned by the CEC device with the device type of the first type is received, step S204 is performed, and if the physical address returned by the CEC device with the device type of the first type is not received, step S203 is performed.
Step S203, determining whether the number of times of retrying the request physical address reaches a threshold, if the number of times reaches the threshold, performing step S204, and if the number of times does not reach the threshold, performing step S202, that is, resending the request of the device physical address to the CEC device of the device type of the first type.
Step S204, if the traversal completes the physical address request for all types of CEC devices (i.e., there is no CEC device of the second type of device type), then step S205 is performed, and if the traversal completes the physical address request for all types of CEC devices, then step S201 is returned, i.e., a ping message is sent to the CEC device of the second type of device type (device type number x+1).
In step S205, HPD events corresponding to HDMI ports of all online devices are sequentially generated.
In some embodiments, the HDMI controller further sends the HPD up signal to the CEC device after generating the HPD up signal, and the CEC device starts a DDC (Display Data Channel ) channel after receiving the HPD up signal to read EDID information of the display device 200, and then performs HDCP (High-bandwidth Digital Content Protection, high bandwidth digital content protection technology) interaction.
As shown in fig. 16, the HDMI module of the display device 200 and the HDMI module of the CEC device interact with each other, wherein solid lines are data signal lines, broken lines are control signal lines, and the display device 200 may include an HDMI receiving and decoding chip and an EDID memory. The HDMI module of the CEC device may include an HDMI output chip and an EDID memory. The HDMI output chip outputs digital audio and video signals, which are transmitted from the HDMI line to the HDMI decoding chip of the display device 200 through the HDMI port.
The digital audio and video signals input through the HDMI port can enter the HDMI receiving and decoding chip in the form of 4 pairs of minimized transmission differential signals TMDS, and the EDID information is read through the EDID memory. The EDID information of the display device 200 may contain parameters related to the display and its capabilities, including vendor information, maximum image size, color settings, vendor presets, limitations of frequency ranges, and strings of display names and serial numbers. The video signal contacted with the HDMI decoding chip is sent to a video processor for output and display; the audio signal is restored into a stereo audio signal through the audio processor and sent to the loudspeaker for sound playing.
In this embodiment of the present application, for different CEC devices accessed by different HDMI ports, different EDID information needs to be transmitted to the CEC devices according to different port capabilities of the HDMI ports. As shown in fig. 17, the SOC chip of the display device 200 sends different EDID files to the SWITCH chip through IIC (Inter-Integrated Circuit, integrated circuit bus), and then the SWITCH chip transmits the EDID files to different HDMI ports, and after the CEC device is accessed, the corresponding EDID files are actively read. Before transmitting the EDID file to the SWITCH chip, the SOC chip needs to determine the port capacity of the HDMI port, wherein the port capacity comprises the capacity parameters of play format, play speed and the like supported by the port. After the port capacity of the HDMI port is obtained, the EDID file corresponding to the port capacity is transmitted to the corresponding HDMI port. The CEC device accesses the display device 200 through the HDMI port, i.e., can read the EDID file matching the port capability of the corresponding HDMI port.
Based on the HDMI port identification method of the CEC device described in the foregoing embodiment, as shown in the flowchart of fig. 18, the following is a specific application flow of the CEC connection establishment method based on the HDMI port identification method provided in the embodiment of the present application, where the flow specifically includes:
After the CEC device accesses the display device 200, the CEC device detection interactive thread is started and it is determined whether the port currently accessed to the CEC device is a native HDMI port or an extended HDMI port in step S3010. The judging method may be that the CEC device accesses an extended HDMI port if the GPIO high signal is received, and accesses a native HDMI port if the GPIO high signal is not received. If the port currently accessing the CEC device is a native HDMI port, step S3011 is performed, and if the port currently accessing the CEC device is an extended HDMI port, step S3012 is performed.
Step S3011, after identifying the first port of the native HDMI port of the access CEC device from the HPD signal, proceeds to step S3016.
Step S3012, it is determined whether or not the access is single-device access, if so, step S3013 is performed, and if the access is multi-device access, step S3014 is performed.
Step S3013, identify the second port number of the extended HDMI port connected to the CEC device according to the GPIO high signal, and then proceed to step S3020.
Step S3014, the step of transmitting a CEC message "request physical address" to all CEC device types is traversed, and if the physical address of the CEC device is acquired, step S3015 is performed.
Step S3015, determining which path of the extended HDMI port is accessed by the CEC device according to the mapping table, that is, identifying the extended HDMI port to the first port number, and then performing step S3016. Wherein the mapping table contains the mapping relationship between the GPIO interface and the HDMI port physical address (i.e., CEC device physical address).
Step S3016, an HPD event of generating an extended HDMI port with the port number of the first port is simulated, and then step S3017 is performed.
Step S3017, a CEC connection between the display device 200 and the CEC device is established according to the HPD event, wherein CEC interaction is established, a logical address is further allocated to the CEC device, device information of the CEC device is obtained, and a process of determining whether the CEC device is an ARC device is performed.
The same and similar parts of the embodiments in this specification are referred to each other, and are not described herein.
It will be apparent to those skilled in the art that the techniques of embodiments of the present invention may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied essentially or in parts contributing to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods of the embodiments or parts of the embodiments of the present invention.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.

Claims (10)

1. A display device, characterized by comprising:
a display;
at least one HDMI controller having a first mapping relationship between a first identification of the HDMI controller and a first port number of a native HDMI port, the HDMI controller configured to generate an HPD signal upon detecting that a CEC device accesses the display device;
At least one access signal detection interface, wherein a second mapping relation exists between a second identifier of the access signal detection interface and a second port number of an extended HDMI port, the access signal detection interface is configured to generate an access signal when detecting that a CEC device accesses the display device, at least one extended HDMI port shares one HDMI controller with one native HDMI port, and the access signal and the HPD signal are different signals;
a processor configured to:
if the CEC device accesses the display device through the native HDMI port, identifying the first port number of the native HDMI port to which the CEC device accesses based on the first mapping relationship according to the first identification of the HDMI controller generating the HPD signal;
and if the CEC device accesses the display device through the extended HDMI port, identifying the second port number of the extended HDMI port accessed by the CEC device based on the second mapping relation according to the second identification of the access signal detection interface generating the access signal.
2. The display device according to claim 1, wherein if a single CEC device accesses the display device through the extended HDMI port, there is one of the access signal detection interfaces generating the access signal, the processor, upon executing the second identification of the access signal detection interface from which the access signal was detected, based on the second mapping, identifying the second port number of the extended HDMI port to which the CEC device accesses, is configured to:
And identifying the second port number of the extended HDMI port accessed by the single CEC device based on the second mapping relation according to the second identification of the access signal detection interface which detects the access signal.
3. The display device of claim 1, wherein if at least two of the CEC devices access the display device through the extended HDMI port, at least two of the access signal detection interfaces are present to generate the access signal, the processor, upon executing the second identification of the access signal detection interface from which the access signal was detected, based on the second mapping, is configured to identify the second port number of the extended HDMI port to which the CEC device accesses:
acquiring the time sequence of the detection of the access signals by at least two access signal detection interfaces;
and identifying the latest second port number based on the second mapping relation according to the second identification of the access signal detection interface which detects the access signal with the latest time sequence, wherein the latest second port number is the port number of the HDMI port which is accessed to the CEC device.
4. The display device of claim 3, wherein if at least two of the CEC devices access the display device through the extended HDMI port, the processor is further configured to:
traversing a physical address of the CEC device accessing the display device, wherein a third mapping relationship exists between the physical address and the second identifier of the access signal detection interface;
determining the physical address of the CEC device which is accessed latest according to the second identification of the access signal detection interface which detects the access signal with the latest time sequence;
generating, according to the access signal and the physical address, an HPD event corresponding to the extended HDMI port with the port number being the latest second port number, and establishing CEC connection with the CEC device that has been newly accessed using the HPD event.
5. The display device of claim 4, wherein the processor, when performing traversing the physical address of the CEC device accessing the display device, is configured to:
sending a physical address request to the CEC device of which the device type is the first type;
if a physical address returned by the CEC equipment with the equipment type of the first type is received, continuing to send a physical address request to the CEC equipment with the equipment type of the second type until the physical addresses of the CEC equipment with all the equipment types are traversed;
If the physical address returned by the CEC device with the device type of the first type is not received, and the number of times of sending the physical address request to the current CEC device does not reach the threshold, sending the physical address request to the CEC device with the device type of the first type again;
if the physical address returned by the current CEC device is not received, and the number of times of sending the physical address request to the CEC device with the first type reaches a threshold, continuing to send the physical address request to the CEC device with the second type until the physical addresses of all the CEC devices with the first type are traversed.
6. The display device of claim 1, wherein if a single CEC device accesses the display device through the extended HDMI port, there is one of the access signal detection interfaces detecting the access signal, the processor further configured to:
generating, according to the access signal and an HPD signal, an HPD event corresponding to the extended HDMI port with a port number being the second port number, and establishing CEC connection with the CEC device using the HPD event, where the HPD signal is a signal generated when the HDMI controller corresponding to the extended HDMI port detects that the CEC device accesses the display device.
7. The display device according to claim 1, characterized in that the display device further comprises:
a converter configured to:
if the CEC device is accessed to the display device through the extended HDMI port, determining the port capacity of the extended HDMI port according to the second port number of the extended HDMI port accessed by the CEC device;
and according to the port capability, determining an EDID file transmitted to the extended HDMI port based on a fourth mapping relation, and transmitting the determined EDID file to the CEC device, wherein the fourth mapping relation at least comprises a corresponding relation between the port capability and the EDID file.
8. The HDMI port identification method for accessing the CEC device is characterized in that the HDMI port identification method for accessing the CEC device is applied to a display device, the display device at least comprises at least one HDMI controller, a first mapping relation exists between a first identifier of the HDMI controller and a first port number of a native HDMI port, and the HDMI controller is configured to generate an HPD signal when detecting that the CEC device accesses the display device; the display device further comprises at least one access signal detection interface, a second mapping relationship exists between a second identifier of the access signal detection interface and a second port number of the extended HDMI port, the access signal detection interface is configured to generate an access signal when detecting that the CEC device accesses the display device, wherein the at least one extended HDMI port shares one HDMI controller with one native HDMI port, and the access signal is a different signal from the HPD signal, and the method comprises:
If the CEC device accesses the display device through the native HDMI port, identifying the first port number of the native HDMI port to which the CEC device accesses based on the first mapping relationship according to the first identification of the HDMI controller generating the HPD signal;
and if the CEC device accesses the display device through the extended HDMI port, identifying the second port number of the extended HDMI port accessed by the CEC device based on the second mapping relation according to the second identification of the access signal detection interface generating the access signal.
9. The HDMI port identification method for accessing a CEC device according to claim 8, wherein if a single CEC device accesses the display device through the extended HDMI port, there is one of the access signal detection interfaces to generate the access signal, and the identifying the second port number of the extended HDMI port accessed by the CEC device based on the second mapping relationship according to the second identification of the access signal detection interface to which the access signal is detected, comprises:
and identifying the second port number of the extended HDMI port accessed by the single CEC device based on the second mapping relation according to the second identification of the access signal detection interface which detects the access signal.
10. The HDMI port identification method for accessing a CEC device according to claim 8, wherein if at least two of the CEC devices access the display device through the extended HDMI port, at least two of the access signal detection interfaces are present to generate the access signal, and the identifying the second port number of the extended HDMI port to which the CEC device accesses based on the second mapping relationship according to the second identification of the access signal detection interface that detected the access signal, comprises:
acquiring the time sequence of the detection of the access signals by at least two access signal detection interfaces;
and identifying the latest second port number based on the second mapping relation according to the second identification of the access signal detection interface which detects the access signal with the latest time sequence, wherein the latest second port number is the port number of the HDMI port which is accessed to the CEC device.
CN202310893056.3A 2023-07-20 2023-07-20 Display device and HDMI port identification method for accessing CEC device Pending CN117615091A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310893056.3A CN117615091A (en) 2023-07-20 2023-07-20 Display device and HDMI port identification method for accessing CEC device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310893056.3A CN117615091A (en) 2023-07-20 2023-07-20 Display device and HDMI port identification method for accessing CEC device

Publications (1)

Publication Number Publication Date
CN117615091A true CN117615091A (en) 2024-02-27

Family

ID=89954763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310893056.3A Pending CN117615091A (en) 2023-07-20 2023-07-20 Display device and HDMI port identification method for accessing CEC device

Country Status (1)

Country Link
CN (1) CN117615091A (en)

Similar Documents

Publication Publication Date Title
CN111954044B (en) Channel switching method and display device
CN114286143B (en) Display device and automatic switching method of transmission protocol
JP5007343B2 (en) Network system, control device, terminal device, and connection state determination method
US8612634B2 (en) Terminal apparatus and method for controlling USB apparatus thereof
CN108494895B (en) Interactive intelligent panel, network domain conflict control method, device and medium
US9460030B2 (en) Host device and slave device controlling method
JP2010283749A (en) Video output device and control method thereof, and video display device and control method thereof
CN115802096B (en) Multi-channel HDMI cooperative control method and system
WO2024012030A1 (en) Display device and control method for display device
CN117615091A (en) Display device and HDMI port identification method for accessing CEC device
CN117834967A (en) Display device and interaction method of display device and CEC device
CN117812320A (en) Display device and CEC device connection method applied to display device
CN117812304A (en) Display device and play content search method
CN117896570A (en) Display device and video playing method
CN215121051U (en) Display device
JP2014011525A (en) Operation learning device and operation learning method
CN108924458B (en) EDID data rewriting method and device for HDMI extended channel and display terminal
CN116527971A (en) Display device and audio playing method
WO2022033153A1 (en) Display method and display device
CN115914073A (en) Display device and android system-based intelligent routing method
CN118055296A (en) Display equipment and channel switching method
CN117812135A (en) Electronic device, device list acquisition method, and storage medium
CN117979084A (en) Display device and HDMI device updating method
CN115914732A (en) Display device and intelligent routing method based on USB channel
JP2002152210A (en) Control device, network system, device recognition method and recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination