Receiving circuit and signal processing method for high-resolution multimedia interface

文档序号:1060071 发布日期:2020-10-13 浏览:16次 中文

阅读说明:本技术 用于高分辨率多媒体接口的接收电路及信号处理方法 (Receiving circuit and signal processing method for high-resolution multimedia interface ) 是由 吴宗轩 童旭荣 郑景升 于 2019-03-29 设计创作,主要内容包括:本发明公开了一种用于一高分辨率多媒体接口的接收电路及信号处理方法,所述接收电路包含有一解码器、一图框金钥计算电路、一线金钥计算电路以及一控制电路。在该接收电路的操作中,该解码器对一数据串流进行解码操作以产生至少一影像图框,该图框金钥计算电路用以根据该影像图框来计算出一图框金钥,该线金钥计算电路用以根据该影像图框来计算出多个线金钥,以及该控制电路根据该影像图框是否在一显示面板上播放来决定关闭或开启该线金钥计算电路。(The invention discloses a receiving circuit and a signal processing method for a high-resolution multimedia interface. In operation of the receiving circuit, the decoder decodes a data stream to generate at least one image frame, the frame key calculating circuit is configured to calculate a frame key according to the image frame, the line key calculating circuit is configured 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 the image frame is played on a display panel.)

1. A receiving circuit for a high-resolution multimedia interface, comprising:

a decoder for decoding a data stream to generate at least one image frame;

a frame key calculation circuit, coupled to the decoder, for calculating a frame key according to the image frame;

a line key calculation circuit, coupled to the decoder, for calculating a plurality of line keys according to the image frame; and

a control circuit for determining to turn off or turn on the line key calculation circuit according to whether the image frame is played on a display panel.

2. The receiving circuit of claim 1, wherein the frame key calculating circuit calculates the frame key according to data of the image frame in a period of time after a vertical synchronization signal is enabled, and the frame key relates to frame key calculation of a next image frame of the image frame; and the line key calculation circuit calculates the line keys according to active display data in at least the image frame, wherein the line keys are independent of frame key calculation and line key calculation of the next image frame.

3. The receiving circuit of claim 1, wherein the control circuit turns off the line key calculation circuit when the image frame is not to be played on the display panel; and when the image frame is played on the display panel, the control circuit starts the line key calculation circuit to calculate the line keys.

4. The receiver circuit of claim 1, wherein the control circuit further selectively controls the frame key calculation circuit to enter a sleep mode or a normal mode.

5. The receiving circuit of claim 4, further comprising:

a timer;

the control circuit determines a time point of a vertical synchronization signal according to the time information provided by the timer, and controls the frame key calculation circuit to enter a sleep mode or a normal mode according to the time point of the vertical synchronization signal.

6. The receiving circuit of claim 5, wherein the control circuit controls the frame key calculation circuit to enter a normal mode before a time point of occurrence of the vertical synchronization signal according to the time information provided by the timer, and controls the frame key calculation circuit to enter a sleep mode at a time period after the occurrence of the vertical synchronization signal.

7. The receiver circuit of claim 4, wherein when the controller circuit controls the frame key computation circuit to enter the sleep mode, a register within the frame key computation circuit remains operative to store the previously computed frame key.

8. The receive circuit as recited in claim 7, wherein when said control circuit disables said line key calculation circuit, a register within said line key calculation circuit is disabled and does not store any previously calculated line key.

9. A signal processing method for a high-resolution multimedia interface, comprising:

decoding a data stream to generate at least one image frame;

calculating a frame key according to the image frame; and

whether a plurality of line keys are calculated according to the image frame is determined according to whether the image frame is played on a display panel.

10. The method of claim 9, wherein determining whether to calculate the line keys according to the image frame according to whether the image frame is displayed on the display panel comprises:

when the image frame cannot be played on the display panel, not calculating the line keys; and

when the image frame is played on the display panel, the line keys are calculated according to the image frame.

Technical Field

The present invention relates to a High Definition Multimedia Interface (HDMI), and more particularly, to a receiver circuit conforming to the HDMI and HDCP (High-bandwidth digital Content Protection) specifications.

Background

Under the current HDMI and HDCP protocols, when the display device is connected to multiple signal sources through HDMI connectors and a user switches between different signal sources, several seconds may be required for switching from the source to the display screen on the screen, which causes inconvenience to the user. Therefore, in order to enable a user to quickly display on a screen when switching between different signal sources, each HDMI connection needs to be continuously connected to a corresponding signal source and maintain HDCP authentication, however, this method of maintaining HDCP authentication will greatly increase power consumption.

Disclosure of Invention

Therefore, an objective of the present invention is to provide a receiving circuit and a related signal processing method for HDMI, which can greatly reduce the power consumption of the display device while maintaining HDCP authentication to avoid display latency, so as to solve the problems in the prior art.

In one embodiment of the present invention, a receiving circuit for a high resolution multimedia interface is disclosed, which comprises a decoder, a frame key calculating circuit, a line key calculating circuit and a control circuit. In operation of the receiving circuit, the decoder decodes a data stream to generate at least one image frame, the frame key calculating circuit is configured to calculate a frame key according to the image frame, the line key calculating circuit is configured 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 the image frame is played on a display panel.

In another embodiment of the present invention, a signal processing method applied to a high-resolution multimedia interface is disclosed, which comprises the following steps: decoding a data stream to generate at least one image frame; calculating a frame key according to the image frame; and determining whether to calculate a plurality of line keys according to the image frame according to whether the image frame is played on a display panel.

Drawings

Fig. 1 is a schematic diagram of a display device according to an embodiment of the invention.

Fig. 2 is a schematic diagram of a receiving circuit according to an embodiment of the invention.

Fig. 3 is a timing diagram of the clock signal, the vertical synchronization signal, and the encryption status signal.

FIG. 4 is a diagram illustrating the operation of the frame key calculation circuit in a normal mode and a sleep mode.

FIG. 5 is a flowchart of a signal processing method applied to HDMI according to an embodiment of the present invention

Description of the symbols

100 display device

102. 104 electronic device

110_1 ~ 110_ N HDMI connector

130 processing circuit

140 display panel

120_1 to 120_ N, 200 receiving circuit

210 physical layer circuit

220 decoder

230 frame key calculation circuit

240-wire key calculation circuit

250 control circuit

260 timer

400 image frame

500 to 506 steps

CLK clock signal

Enc _ en/Enc _ dis encryption status signal

H _ sync horizontal synchronization signal

V _ sync vertical synchronization signal

Vc1, Vc2 control signals

Detailed Description

Fig. 1 is a schematic diagram of a display device 100 according to an embodiment of the invention. As shown in FIG. 1, the display device 100 includes a plurality of HDMI connectors 110_1 to 110_ N, a plurality of receiving circuits 120_1 to 120_ N, a processing circuit 130 and a display panel 140. In the embodiment, the HDMI connectors 110_1 to 110_ N of the display device 100 can be used to connect a plurality of signal sources, such as the illustrated electronic devices 102 and 104, to receive audio/video data from the electronic devices 102 and 104 for playback. In the embodiment, the image data received by the display device 100 complies with the HDCP protocol, that is, the image data can be smoothly played after passing the key authentication.

In the embodiment shown in fig. 1, the display device 100 can be connected to a plurality of signal sources, such as the two illustrated electronic devices 102 and 104, simultaneously, and the user can control the display device 100 to select the image data from one of the electronic devices for playing. For example, when the user selects to play the video data from the electronic device 102, the receiving circuit 120_1 receives the video data from the electronic device 102 through the HDMI connector 110_1, performs the processes of decoding and key authentication, and then transmits the video data to the processing circuit 130 for subsequent processing and playing on the display panel. In addition, in order to enable the display panel 140 to rapidly play the image data from the electronic device 104 when the user switches to the electronic device 104, the receiving circuit 120_2 continuously receives the image data from the electronic device 104, and performs the decoding and key authentication even though the image data of the electronic device 104 is not currently played.

As described above, since the display device 100 decodes and key authenticates all the received video signals, the receiving circuits 120_1 to 120_ N have larger power consumption, and thus, the present embodiment provides a circuit and a method capable of reducing the power consumption of the key authentication in the receiving circuits 120_1 to 120_ N.

FIG. 2 is a schematic diagram of a receiving circuit 200 according to an embodiment of the invention, wherein the receiving circuit 200 may be any one of the receiving circuits 120_1 to 120_ N shown in FIG. 1. In fig. 2, the receiving circuit 200 includes a physical layer circuit 210, a decoder 220, a frame key calculating circuit 230, a line key calculating circuit 240, a control circuit 250 and a timer 260.

In the present embodiment, the receiving circuit 200 operates differently according to whether the received image data is played on the display panel 140. Specifically, when the video data received by the receiving circuit 200 is played on the display panel 140, the phy layer circuit 210 receives the video data stream through one of the HDMI connectors 110_1 to 110_ N, and generates a corresponding clock signal accordingly; the decoder 220 then receives the video data stream and the clock signal from the phy layer 210 and decodes the video data stream to generate a plurality of video frames; the frame key calculation circuit 230 is configured to calculate a frame key according to each image frame, and the line key calculation circuit is configured to calculate a plurality of line keys according to each image frame for key authentication. After the key is successfully authenticated, the processing circuit 130 may process the image frame generated by the receiving circuit 200 and play the image frame on the display panel 140. In this embodiment, the control circuit 250 generates the control signals Vc1, Vc2 to continuously turn on the frame key calculation circuit 230 and the line key calculation circuit 240, and the frame key calculation circuit 230 calculates the corresponding frame key according to the partial content of each image frame corresponding to a vertical synchronization signal, and the calculated frame key of each image relates to the frame key calculation of the next image frame; and the line key calculation circuit 240 calculates the line keys according to at least the active display data in each image frame, wherein the line keys are only related to key authentication of the current frame, i.e. the line keys are independent of the frame key calculation and line key calculation of the next image frame. It should be noted that, since the frame key and the line key can be calculated and authenticated by referring to the specification of the HDCP protocol, and the frame key and the line key are not essential to the present invention, the details thereof are not repeated.

On the other hand, when the video data received by the receiving circuit 200 is not played on the display panel 140, the phy layer circuit 210 receives the video data stream through one of the HDMI connectors 110_1 to 110_ N, and generates a corresponding clock signal accordingly; the decoder 220 then receives the data stream and the clock signal from the phy layer 210 and decodes the video data stream to generate a plurality of video frames. At this time, since the image frame generated by the decoder 220 does not need to be played on the display panel 140, the control circuit 250 can directly turn off the line key calculation circuit 240 to avoid unnecessary power consumption; in addition, in order to enable the user to play quickly when switching the signal source, the control circuit 250 may periodically control the frame key calculation circuit 230 to operate in the normal mode and the sleep mode, so that the frame key calculation circuit 230 may calculate the frame key of each image frame for the next image frame to perform frame key calculation.

In detail, referring to fig. 3 and fig. 4, fig. 3 is a timing diagram of the clock signal CLK, the vertical synchronization signal V _ sync, a signal win _ of _ opp, and the encryption status signal enc _ en/enc _ dis, and fig. 4 is a schematic diagram of the frame key calculation circuit 230 operating in the normal mode and the sleep mode. When the decoder 220 decodes the video data to start generating the video frame 400, the frame key calculation circuit 230 operates in a normal mode, and when the decoder 220 or the frame key calculation circuit 230 detects a time range T1 after the vertical synchronization signal V _ sync is enabled and a time range of the signal win _ of _ opp is enabled, it starts to determine the encryption status signal enc/enc _ dis according to the data received in the time range T2, wherein in an example, the encryption status signal enc _ en/enc _ dis can be determined by a plurality of control bits (control bits) carried in the signal from the electronic device 102/104 in the time range T2. The encryption status signal enc _ en/enc _ dis is used to determine whether to calculate the frame key of the image frame 400 according to the data received within the time period T1 and the frame key of the previous image frame, and in detail, when the encryption status signal enc _ en is determined according to the data received within the time range T2, the frame key calculating circuit 230 calculates a new frame key; if the encryption status signal enc _ dis is determined according to the data received within the time range T2, the frame key calculation circuit 230 uses the frame key of the previous image frame as the frame key of the image frame 400. In one example, the time T2 is shown as the time to determine the encryption status signal enc _ en/enc _ dis. In one example, the time T1 may be the period of 0 to 511 clock signals CLK after the vertical synchronization signal V _ sync is asserted, the time T2 may be the period of 512 to 527 clock signals CLK, and the frame key calculation circuit 230 may calculate the frame key within a period of time after the encryption status signals enc _ en/enc _ dis are determined, such as (48+56) clock signal CLK periods. Regarding the calculation of the frame key, in the specification of HDCP 1.4, the frame key calculation circuit 230 calculates the frame key of the image frame 400 according to the data received within the time T1 and the frame key of the previous image frame, whereas in the specification of HDCP 2.2, the frame key calculation circuit 230 only needs to record the count value of the frame. Then, in the case that the frame key needs to be calculated, and the frame key is calculated, the frame key may be stored in a register in the frame key calculation circuit 230, and the control circuit 250 controls the frame key calculation circuit 230 to enter the sleep mode to save power consumption, but the internal register is still powered to store the frame key therein.

At this time, the control circuit 250 continuously determines the time point when the frame key calculation circuit 230 is turned on according to the time information provided by the timer 260. For example, the control circuit 250 may turn on the frame key calculation circuit 230 before the vertical synchronization signal V _ sync of the next image frame occurs according to the time information provided by the timer 260, e.g., the control circuit 250 may turn on the frame key calculation circuit 230 when the decoder 220 outputs the last rows of active display data of the image frame 400, so as to prepare the frame key calculation of the next image frame. In addition, FIG. 4 shows an image frame 400 and associated horizontal synchronization signals H _ sync and vertical synchronization signals V _ sync. In fig. 4, the active display data (active display data) of the image frame 400 is actually displayed on the display panel 140, and the remaining areas are the vertical blank space and the horizontal blank space, wherein the frame key calculation circuit 230 starts to enter the normal mode during the last rows of the active display data of the image frame 400, to prepare for the frame key calculation after the vertical synchronization signal V _ sync is enabled, and enters the sleep mode after the frame key calculation is completed (generally before the active display data starts). Since the structure of the image frame 400 is well known to those skilled in the art, the details thereof are not described herein.

In one embodiment, when the audio/video data received by the receiving circuit 200 is not played on the display panel 140, the line key calculation circuit 240 is completely turned off and does not store any line key information, e.g., a register inside the line key calculation circuit 240 stops operating and does not store any previously calculated line key information. The frame key calculation circuit 230 is only turned off in the sleep mode (e.g., the circuits associated with clock signal processing are turned off), and the register still stores the calculated frame key for the frame key calculation of the next image frame.

As described above, by determining to turn off or turn on the line key calculation circuit 240 according to whether the image frame 400 is displayed on the display panel 140 and periodically controlling the frame key calculation circuit 230 to enter the sleep mode or the normal mode in the embodiment, the power consumption of the display device 100 can be effectively reduced while the connection between the display device 100 and the electronic devices 102 and 104 is maintained.

Fig. 5 is a flowchart of a signal processing method applied to HDMI according to an embodiment of the present invention, and the flowchart refers to the content described in the above embodiment, and is as follows.

Step 500: the process begins.

Step 502: if the image frame is played on the display panel, the flow proceeds to step 504; otherwise, the flow proceeds to step 506.

Step 504: the frame key calculation circuit and the line key calculation circuit are turned on to calculate a frame key and a line key of the image frame, respectively.

Step 506: the line key calculation circuit is turned off, and periodically controls the frame key calculation circuit to operate in a normal mode and a sleep mode, and calculates the frame key of the image frame.

The above-mentioned embodiments are only preferred embodiments of the present invention, and all equivalent changes and modifications made by the claims of the present invention should be covered by the scope of the present invention.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:电视摄像头升降组件及电视机

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类