The present invention relates to a High Definition Multimedia Interface (HDMI), and more particularly, to a receiving circuit that conforms the HDMI and a High-Bandwidth Digital Content Protection (HDCP) specification.
In the HDMI and HDCP specifications, when the display device is connected to multiple signal sources by using the HDMI connector and the user switches from one signal source to another signal source, it may take several seconds to display the images of the other signal source, causing inconvenience to the user. Therefore, in order to make the display device quickly display the images when the user switches the signal source, each HDMI port needs to be continuously connected to the corresponding signal source and maintain HDCP authentication. However, maintaining HDCP authentication will greatly increase the power consumption.
It is therefore an objective of the present invention to provide a receiving circuit applied to HDMI and associated signal processing method, which can greatly reduce the power consumption of the display device while maintaining the HDCP authentication to avoid the display waiting time, to solve the above-mentioned problems.
In one embodiment of the present invention, a receiving circuit applied to an HDMI is disclosed, wherein the receiving circuit includes a decoder, a frame key calculating circuit, a line key calculating circuit and a control circuit. In the operations of the receiving circuit, the decoder decodes a data stream to generate at least one image frame, the frame key calculating circuit is arranged to calculate a frame key according to the image frame, the line key calculating circuit is arranged to calculate a plurality of line keys according to the image frame, and the control circuit determines to turn off or turn on the line key calculating circuit according to whether or not the image frame is displayed on a display panel.
In another embodiment of the present invention, a signal processing method applied to an HDMI is disclosed, wherein the signal processing method includes the steps of: decoding a data stream to generate at least one image frame; calculating a frame key according to the image frame; and determining if referring to the image frame to calculate a plurality of line keys according to whether or not the image frame is displayed on a display panel.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
In the embodiment shown in
As described above, since the display device 100 performs the decoding operation and the key authentication for all of the received image signals, the receiving circuits 120_1-120_N have large power consumption. Therefore, the present embodiment provides a method for reducing the power consumption of the key authentication in the receiving circuits 120_1-120_N.
In the present embodiment, the receiving circuit 200 has different operations according to whether or not the received image data is displayed on the display panel 140. Specifically, when image data received by the receiving circuit 200 will be displayed on the display panel 140, the physical layer circuit 210 receives an image data stream via one of the HDMI connectors 110_1-110_N to generate a corresponding clock signal. The decoder 220 receives the image data stream and the clock signal from the physical layer circuit 210, and decodes the image data stream to generate a plurality of image frames. The frame key calculating circuit 230 is configured to calculate a frame key according to each image frame, and the line key calculating circuit is configured to calculate a plurality of line keys according to each image frame for the key authentication. After the key authentication succeeds, the processing circuit 130 can process the image frames generated by the receiving circuit 200, and the display panel 140 displays the processed image frames. In this embodiment, the control circuit 250 generates control signals Vc1 and Vc2 to continuously enable the frame key calculating circuit 230 and the line key calculating circuit 240, and the frame key calculating circuit 230 calculates the frame key according to a portion of contents of a vertical synchronization signal of the corresponding image frame, and the frame key of each image frame is related to the frame key calculation of the next image frame. The line key calculating circuit 240 calculates the plurality of line keys based on at least the active display data in each image frame, wherein the line keys are only related to the key authentication of the current frame, that is, the line keys does not relate to the frame key calculation and line key calculation for the next image frame. It should be noted that since the calculation of the frame key and the line key and the authentication method can refer to the HDCP specification, and the present invention does not focus on the calculation of the frame key and the line key and the authentication method, so the details are not described here.
In addition, when the image data received by the receiving circuit will not be displayed on the display panel 140, the physical layer circuit 210 receives an image data stream via one of the HDMI connectors 110_1-110_N to generate a corresponding clock signal. Then, the decoder 220 receives the image data stream and the clock signal from the physical layer circuit 210, and decodes the image data stream to generate a plurality of image frames. At this time, because the image frame generated by the decoder 220 does not need to be displayed on the display panel 140, the control circuit 250 can directly disable the line key calculating circuit 240 to avoid unnecessary power consumption. In addition, in order to quickly display the image frames when the user switches the signal source, the control circuit 250 can periodically control the frame key calculating circuit 230 to operate in a normal mode and a sleep mode, so that the frame key calculating circuit 230 can calculate the frame key of each image frame for the calculation of the frame key for the next image frame.
In detail, referring to
At this time, the control circuit 250 continuously determines the time point at which the frame key calculating circuit 230 is enabled according to the time information provided by the timer 260. The control circuit 250 can enable the frame key calculating circuit 230 before the vertical synchronization signal V_sync of the next image frame appears according to the time information provided by the timer 260, for example, the control circuit 250 can enable the frame key calculating circuit 230 when the decoder 220 outputs the last few rows of the active display data of the image frame 400, for preparing the frame key calculation of the next image frame. In addition, the image frame shown in
In one embodiment, when the data stream received by the receiving circuit 200 is not displayed on the display panel 140, the line key calculating circuit 240 is completely disabled without storing any line key, for example, the registers inside the line key calculating circuit 240 stops working and does not store any previously calculated line key. In addition, when the frame key calculating circuit 230 operates in the sleep mode, only part of the circuit is disabled (for example, the circuit related to the clock signal processing is disabled), and the register still stores the calculated frame key for the calculation of the next image frame.
As described above, by enabling or disabling the line key calculating circuit 240 according to whether or not the image frame 400 is displayed on the display panel 140, and the frame key calculating circuit 230 is periodically controlled to enter the sleep mode or the normal mode, the display device 100 can effectively reduce the power consumption while maintaining the connection between the display device 100 and the electronic devices 102, 104.
Step 500: the flow starts.
Step 502: determine if the image frame is displayed on the display panel, and if yes, the flow enters Step 504; and if not, the flow enters Step 506.
Step 504: enable the frame key calculating circuit and the line key calculating circuit to calculate the frame key and the line keys of the image frame, respectively.
Step 506: disable the line key calculating circuit, and periodically control the frame key calculating circuit to operate in the normal mode and the sleep mode, and calculate the frame key of the image frame.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
108110365 | Mar 2019 | TW | national |