TWI692235B - Half-duplex data transmission method and communication system using the same - Google Patents

Half-duplex data transmission method and communication system using the same Download PDF

Info

Publication number
TWI692235B
TWI692235B TW108107920A TW108107920A TWI692235B TW I692235 B TWI692235 B TW I692235B TW 108107920 A TW108107920 A TW 108107920A TW 108107920 A TW108107920 A TW 108107920A TW I692235 B TWI692235 B TW I692235B
Authority
TW
Taiwan
Prior art keywords
data
tmds
reverse
data transmission
channel
Prior art date
Application number
TW108107920A
Other languages
Chinese (zh)
Other versions
TW202034650A (en
Inventor
雍尚剛
婁新磊
Original Assignee
大陸商北京集創北方科技股份有限公司
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 大陸商北京集創北方科技股份有限公司 filed Critical 大陸商北京集創北方科技股份有限公司
Priority to TW108107920A priority Critical patent/TWI692235B/en
Application granted granted Critical
Publication of TWI692235B publication Critical patent/TWI692235B/en
Publication of TW202034650A publication Critical patent/TW202034650A/en

Links

Images

Abstract

一種半雙工數據傳輸方法,用以在一主設備和一從設備之間進行一正向數據傳輸程序及一反向數據傳輸程序,所述正向數據傳輸程序係用以傳輸至少一幀圖像數據,其特徵在於,所述的反向數據傳輸程序包含以下步驟:該主設備通過一TMDS時鐘通道提供一時鐘信號並通過一第一TMDS數據通道提供一幀同步信號;該從設備在偵測到該幀同步信號呈現一作用狀態時,轉入一發送狀態,然後在該時鐘信號的控制下,由一第二TMDS數據通道及/或一第三TMDS數據通道傳送反向數據;以及該主設備依該時鐘信號對所述反向數據進行採樣。A half-duplex data transmission method for performing a forward data transmission procedure and a reverse data transmission procedure between a master device and a slave device, the forward data transmission program is used to transmit at least one frame picture Like data, the reverse data transmission procedure includes the following steps: the master device provides a clock signal through a TMDS clock channel and a frame synchronization signal through a first TMDS data channel; the slave device is investigating When it is detected that the frame synchronization signal assumes an active state, it transitions to a transmission state, and then under the control of the clock signal, reverse data is transmitted from a second TMDS data channel and/or a third TMDS data channel; and the The master device samples the reverse data according to the clock signal.

Description

半雙工數據傳輸方法及利用其之通信系統Half-duplex data transmission method and communication system using the same

本發明係有關於一種高速數據傳輸方法,特別是關於一種半雙工的高速數據傳輸方法。The invention relates to a high-speed data transmission method, in particular to a half-duplex high-speed data transmission method.

TMDS(transition minimized differential signaling)又稱為最小化傳輸差動信號,是指通過互斥或等邏輯運算對原始信號數據進行轉換以產生10位元的數據,其中第9位元是用來指示運算的方式,而第10位元則是用來確保直流平衡(指在編碼過程中保證通道中直流偏移為零),且轉換後的數據是以差動的方式傳送,以降低電磁干擾並提高信號傳輸的速度和可靠性。TMDS (transition minimized differential signaling), also known as minimized differential signaling, refers to the conversion of the original signal data through mutual exclusion or other logical operations to generate 10-bit data, of which the 9th bit is used to indicate the operation The 10th bit is used to ensure DC balance (referring to ensuring that the DC offset in the channel is zero during the encoding process), and the converted data is transmitted in a differential manner to reduce electromagnetic interference and improve The speed and reliability of signal transmission.

就一般的HDMI(high definition multimedia interface;高畫質多媒體介面)或DVI(digital visual interface;數位視訊介面)裝置而言,其可為一TMDS輸入設備或一TMDS輸出設備,而一般的TMDS輸出設備和TMDS輸入設備之間是藉由三個不同的TMDS數據資訊通道和一個時鐘通道單向傳輸視頻、音訊數據和附加資訊。For a general HDMI (high definition multimedia interface) or DVI (digital visual interface) device, it can be a TMDS input device or a TMDS output device, and a general TMDS output device Between the TMDS input device and three different TMDS data information channels and a clock channel, one-way transmission of video, audio data and additional information.

然而,現有的TMDS輸出設備和TMDS輸入設備之間只能單向傳輸數據,此乃其不足之處。However, the existing TMDS output device and TMDS input device can only transmit data in one direction, which is its shortcoming.

為解決上述問題,本領域亟需一新穎的TMDS數據傳輸方案。In order to solve the above problems, a novel TMDS data transmission solution is urgently needed in the art.

本發明之一目的在於揭露一種半雙工數據傳輸方法,其可藉由TMDS圖像數據的傳輸空檔,利用既有的通道進行反向數據傳輸。An object of the present invention is to disclose a half-duplex data transmission method, which can use the existing channel to perform reverse data transmission through the transmission gap of TMDS image data.

本發明之另一目的在於揭露一種通信系統,其可藉由TMDS圖像數據的傳輸空檔,利用既有的通道進行反向數據傳輸。Another object of the present invention is to disclose a communication system which can utilize the existing channels for reverse data transmission through the transmission gap of TMDS image data.

為達前述目的,一種半雙工數據傳輸方法乃被提出,用以在一主設備和一從設備之間進行一正向數據傳輸程序及一反向數據傳輸程序,所述正向數據傳輸程序係用以傳輸至少一幀圖像數據,其包含利用一TMDS時鐘通道傳輸一時鐘信號,利用一第一TMDS數據通道傳輸一幀同步信號,及利用由該第一TMDS數據通道、一第二TMDS數據通道和一第三TMDS數據通道所組成的群組所選擇的至少一個數據通道傳輸所述至少一幀圖像數據,其特徵在於,所述的反向數據傳輸程序包含以下步驟:To achieve the aforementioned objective, a half-duplex data transmission method is proposed for performing a forward data transmission procedure and a reverse data transmission procedure between a master device and a slave device, the forward data transmission procedure It is used to transmit at least one frame of image data, which includes using a TMDS clock channel to transmit a clock signal, using a first TMDS data channel to transmit a frame synchronization signal, and using the first TMDS data channel and a second TMDS At least one data channel selected by a group consisting of a data channel and a third TMDS data channel transmits the at least one frame of image data, characterized in that the reverse data transmission procedure includes the following steps:

該主設備通過該TMDS時鐘通道輸出該時鐘信號並通過該第一TMDS數據通道輸出該幀同步信號;The master device outputs the clock signal through the TMDS clock channel and the frame synchronization signal through the first TMDS data channel;

該從設備在由該第一TMDS數據通道偵測到該幀同步信號呈現一作用狀態時,轉入一發送狀態,然後在該TMDS時鐘信號的控制下,由該第二TMDS數據通道及/或該第三TMDS通道傳送反向數據;以及When detecting that the frame synchronization signal assumes an active state from the first TMDS data channel, the slave device transitions to a transmitting state, and then under the control of the TMDS clock signal, the second TMDS data channel and/or The third TMDS channel carries reverse data; and

該主設備依該時鐘信號對所述反向數據進行採樣,其中,所述反向數據具有同步頭以供該主設備正確解析出所述的反向數據。The master device samples the reverse data according to the clock signal, wherein the reverse data has a synchronization head for the master device to correctly parse the reverse data.

在一實施例中,所述的反向數據傳輸程序係發生在至少一垂直消隱期間。In one embodiment, the reverse data transmission procedure occurs during at least one vertical blanking period.

在一實施例中,所述的反向數據傳輸程序進一步包含一反向傳輸停止步驟,其係通過該主設備下達一命令給該從設備而使該從設備停止傳輸所述的反向數據。In an embodiment, the reverse data transmission procedure further includes a reverse transmission stop step, which is to stop the slave device from transmitting the reverse data by issuing a command to the slave device from the master device.

在一實施例中,所述的反向數據傳輸程序進一步包含一反向傳輸停止步驟,其係在該幀同步信號傳輸達一指定次數後使該從設備停止傳輸所述的反向數據。In one embodiment, the reverse data transmission procedure further includes a reverse transmission stop step, which stops the slave device from transmitting the reverse data after the frame synchronization signal is transmitted for a specified number of times.

在可能的實施例中,該從設備係由該主設備下達的一命令中獲得所述的指定次數,或所述的指定次數係預設在該從設備中。In a possible embodiment, the slave device obtains the specified number of times from a command issued by the master device, or the specified number of times is preset in the slave device.

在一實施例中,所述反向數據具有數據尾以供該主設備結束所述的接收模式。In an embodiment, the reverse data has a data tail for the master device to end the receiving mode.

在一實施例中,所述反向數據具有校驗碼以供該主設備驗證所述反向數據的正確性。In an embodiment, the reverse data has a check code for the host device to verify the correctness of the reverse data.

另外,本發明進一步提出一種通信系統,其具有一主設備及一從設備,且能夠在該主設備和該從設備之間進行一正向數據傳輸程序及一反向數據傳輸程序,所述正向數據傳輸程序係用以傳輸至少一幀圖像數據,其包含利用一TMDS時鐘通道傳輸一時鐘信號,利用一第一TMDS數據通道傳輸一幀同步信號,及利用由該第一TMDS數據通道、一第二TMDS數據通道和一第三TMDS數據通道所組成的群組所選擇的至少一個數據通道傳輸所述至少一幀圖像數據,其特徵在於,所述的反向數據傳輸程序包含以下步驟:In addition, the present invention further proposes a communication system having a master device and a slave device, and capable of performing a forward data transmission procedure and a reverse data transmission procedure between the master device and the slave device. The data transmission procedure is used to transmit at least one frame of image data, which includes using a TMDS clock channel to transmit a clock signal, using a first TMDS data channel to transmit a frame synchronization signal, and using the first TMDS data channel, At least one data channel selected by the group consisting of a second TMDS data channel and a third TMDS data channel transmits the at least one frame of image data, characterized in that the reverse data transmission procedure includes the following steps :

該主設備通過該TMDS時鐘通道輸出該時鐘信號並通過該第一TMDS數據通道輸出該幀同步信號;The master device outputs the clock signal through the TMDS clock channel and the frame synchronization signal through the first TMDS data channel;

該從設備在由該第一TMDS數據通道偵測到該幀同步信號呈現一作用狀態時,轉入一發送狀態,然後在該TMDS時鐘信號的控制下,由該第二TMDS數據通道及/或該第三TMDS數據通道傳送反向數據;以及When detecting that the frame synchronization signal assumes an active state from the first TMDS data channel, the slave device transitions to a transmitting state, and then under the control of the TMDS clock signal, the second TMDS data channel and/or The third TMDS data channel carries reverse data; and

該主設備依該時鐘信號對所述反向數據進行採樣,其中,所述反向數據具有同步頭以供該主設備正確解析出所述的反向數據。The master device samples the reverse data according to the clock signal, wherein the reverse data has a synchronization head for the master device to correctly parse the reverse data.

在可能的實施例中,所述的反向數據傳輸程序係發生在至少一垂直消隱期間;所述的反向數據傳輸程序進一步包含一反向傳輸停止步驟,其係通過該主設備下達一命令給該從設備而使該從設備停止傳輸所述的反向數據,或係在該幀同步信號傳輸達一指定次數後使該從設備停止傳輸所述的反向數據,其中,該從設備係由該主設備下達的一命令中獲得所述的指定次數,或所述的指定次數係預設在該從設備中。In a possible embodiment, the reverse data transmission procedure occurs during at least one vertical blanking period; the reverse data transmission procedure further includes a reverse transmission stop step, which is issued by the master device Command to the slave device to stop the slave device from transmitting the reverse data, or to stop the slave device from transmitting the reverse data after the frame synchronization signal has been transmitted a specified number of times, wherein the slave device The specified number of times is obtained from a command issued by the master device, or the specified number of times is preset in the slave device.

在可能的實施例中,所述反向數據具有數據尾以供該主設備結束所述的接收模式,及/或所述反向數據具有校驗碼以供該主設備驗證所述反向數據的正確性。In a possible embodiment, the reverse data has a data tail for the master device to end the receiving mode, and/or the reverse data has a check code for the master device to verify the reverse data Correctness.

另外,本發明進一步提出一種顯示裝置,其具有如前述之通信系統,且其可為陰極射線管顯示裝置、數位光處理顯示裝置、液晶顯示器、發光二極體顯示裝置、有機發光二極體顯示裝置、量子點發光二極體顯示裝置、Mirco-LED顯示裝置或Mini-LED顯示裝置。In addition, the present invention further provides a display device having the aforementioned communication system, and it can be a cathode ray tube display device, a digital light processing display device, a liquid crystal display, a light emitting diode display device, an organic light emitting diode display Device, quantum dot light-emitting diode display device, Mirco-LED display device or Mini-LED display device.

為使 貴審查委員能進一步瞭解本發明之結構、特徵及其目的,茲附以圖式及較佳具體實施例之詳細說明如後。In order to enable your reviewing committee to further understand the structure, features and purpose of the present invention, the drawings and the detailed description of the preferred embodiments are attached as follows.

請參照圖1,其繪示本發明半雙工數據傳輸方法之一實施例流程圖,其中,該方法係用以在一主設備和一從設備之間進行一正向數據傳輸程序及一反向數據傳輸程序,所述正向數據傳輸程序係用以傳輸至少一幀圖像數據,其包含利用一TMDS時鐘通道傳輸一時鐘信號,利用一第一TMDS數據通道傳輸一幀同步信號,及利用由該第一TMDS數據通道、一第二TMDS數據通道和一第三TMDS數據通道所組成的群組所選擇的至少一個數據通道傳輸所述至少一幀圖像數據,其特徵在於,所述的反向數據傳輸程序包含以下步驟:該主設備通過該TMDS時鐘通道輸出該時鐘信號並通過該第一TMDS數據通道輸出該幀同步信號(步驟a);該從設備在由該第一TMDS數據通道偵測到該幀同步信號呈現一作用狀態時,轉入一發送狀態,然後在該TMDS時鐘信號的控制下,由該第二TMDS數據通道及/或該第三TMDS數據通道傳送反向數據(步驟b);以及該主設備依該時鐘信號對所述反向數據進行採樣,其中,所述反向數據具有同步頭以供該主設備正確解析出所述的反向數據(步驟c)。Please refer to FIG. 1, which illustrates a flowchart of an embodiment of a half-duplex data transmission method of the present invention. The method is used to perform a forward data transmission procedure and a reverse process between a master device and a slave device To the data transmission program, the forward data transmission program is used to transmit at least one frame of image data, which includes using a TMDS clock channel to transmit a clock signal, using a first TMDS data channel to transmit a frame synchronization signal, and using At least one data channel selected by the group consisting of the first TMDS data channel, a second TMDS data channel, and a third TMDS data channel transmits the at least one frame of image data, characterized in that the The reverse data transmission procedure includes the following steps: the master device outputs the clock signal through the TMDS clock channel and the frame synchronization signal through the first TMDS data channel (step a); the slave device uses the first TMDS data channel When it is detected that the frame synchronization signal assumes an active state, it transitions to a transmission state, and then under the control of the TMDS clock signal, reverse data is transmitted from the second TMDS data channel and/or the third TMDS data channel ( Step b); and the master device samples the reverse data according to the clock signal, wherein the reverse data has a synchronization header for the master device to correctly parse the reverse data (step c).

另外,所述的反向數據傳輸程序係發生在至少一垂直消隱期間(vertical blanking interval)。In addition, the reverse data transmission procedure occurs during at least one vertical blanking interval.

較佳地,所述的反向數據傳輸程序進一步包含一反向傳輸停止步驟,而該反向傳輸停止步驟可為:通過該主設備下達一命令給該從設備而使該從設備停止傳輸所述的反向數據;或在該幀同步信號傳輸達一指定次數後使該從設備停止傳輸所述的反向數據,其中,該從設備係由該主設備下達的一命令中獲得所述的指定次數,或所述的指定次數係預設在該從設備中。Preferably, the reverse data transmission procedure further includes a reverse transmission stop step, and the reverse transmission stop step may be: the master device issues a command to the slave device to stop the slave device from transmitting the data. The reverse data; or after the frame synchronization signal is transmitted for a specified number of times to stop the slave device from transmitting the reverse data, wherein the slave device is obtained from a command issued by the master device The specified number of times, or the specified number of times is preset in the slave device.

較佳地,所述反向數據具有數據尾以供該主設備結束所述的接收模式。Preferably, the reverse data has a data tail for the master device to end the receiving mode.

較佳地,所述反向數據具有校驗碼(例如(但不限於)數據的互斥或運算結果)以供該主設備驗證所述反向數據的正確性。Preferably, the reverse data has a check code (such as (but not limited to) data mutual exclusion or operation result) for the host device to verify the correctness of the reverse data.

另外,考慮到該主設備和該從設備的狀態翻轉速度,在完成所述反向數據的傳輸後,該從設備必須先停止發送狀態並立即切換到接收狀態,且該從設備在該接收狀態下會將非視頻數據全部丟棄,以準備正常接收下一幀圖像數據。In addition, considering the state reversal speed of the master device and the slave device, after completing the reverse data transmission, the slave device must first stop the sending state and immediately switch to the receiving state, and the slave device is in the receiving state Next, all non-video data will be discarded in preparation for receiving the next frame of image data normally.

另外,雖然該從設備是按該主設備提供的該時鐘信號的頻率發送所述的反向數據,其數據傳輸速率可低於或等於該時鐘信號的頻率。In addition, although the slave device sends the reverse data at the frequency of the clock signal provided by the master device, its data transmission rate may be lower than or equal to the frequency of the clock signal.

請參照圖2,其繪示圖1所示方法之一操作示意圖。如圖2所示,在第一步中,一主設備100向一從設備110進行一正向數據傳輸程序以傳輸一幀圖像數據,其包含利用一TMDS時鐘通道傳輸一時鐘信號,利用一TMDS數據通道0傳輸一幀同步信號,及利用TMDS數據通道0、一TMDS數據通道1和一TMDS數據通道2等三個數據通道中之至少一數據通道傳輸該幀圖像數據;在第二步中,主設備100在將該幀圖像數據傳輸完畢後,轉成接收模式,且主設備100通過TMDS時鐘通道輸出該時鐘信號並通過TMDS數據通道0輸出該幀同步信號;在第三步中,從設備110在接收完該幀圖像數據後停止接收數據,並在由TMDS數據通道0偵測到該幀同步信號呈現一作用狀態(例如為高電位)時,轉入一發送狀態,然後在該TMDS時鐘信號的控制下,由TMDS數據通道1及/或TMDS數據通道2傳送反向數據,且主設備100依該時鐘信號對所述反向數據進行採樣;在第四步中,從設備110執行一反向傳輸停止步驟,而該反向傳輸停止步驟可為:通過主設備100下達一命令給從設備110而使從設備110停止傳輸所述的反向數據;或在該幀同步信號傳輸達一指定次數後使從設備110停止傳輸所述的反向數據,其中,從設備110係由主設備100下達的一命令中獲得所述的指定次數,或所述的指定次數係預設在從設備110中;以及在第五步中,主設備100恢復向從設備110進行所述的正向數據傳輸程序。Please refer to FIG. 2, which illustrates an operation diagram of the method shown in FIG. 1. As shown in FIG. 2, in the first step, a master device 100 performs a forward data transmission procedure to a slave device 110 to transmit a frame of image data, which includes using a TMDS clock channel to transmit a clock signal, using a TMDS data channel 0 transmits a frame synchronization signal, and uses at least one of the three data channels TMDS data channel 0, a TMDS data channel 1 and a TMDS data channel 2 to transmit the frame of image data; in the second step In the master device 100, after transmitting the frame of image data, it switches to the receiving mode, and the master device 100 outputs the clock signal through the TMDS clock channel and the frame synchronization signal through the TMDS data channel 0; in the third step , After receiving the frame of image data, the slave device 110 stops receiving the data, and when the TMDS data channel 0 detects that the frame synchronization signal exhibits an active state (such as a high potential), it transitions to a sending state, and then Under the control of the TMDS clock signal, reverse data is transmitted by TMDS data channel 1 and/or TMDS data channel 2, and the master device 100 samples the reverse data according to the clock signal; in the fourth step, the slave The device 110 executes a reverse transmission stop step, and the reverse transmission stop step may be: the master device 100 issues a command to the slave device 110 to stop the slave device 110 from transmitting the reverse data; or synchronize at the frame After the signal is transmitted for a specified number of times, the slave device 110 stops transmitting the reverse data. The slave device 110 obtains the specified number of times from a command issued by the master device 100, or the specified number of times Set in the slave device 110; and in the fifth step, the master device 100 resumes the forward data transmission procedure to the slave device 110.

另外,依上述的說明,本發明進一步揭示一種通信系統。In addition, according to the above description, the present invention further discloses a communication system.

請參照圖3,其繪示一種採用圖1之半雙工數據傳輸方法之通信系統之方塊圖。如圖3所示,一通信系統200包括一主設備210及一從設備220,且能夠在主設備210和從設備220之間進行一正向數據傳輸程序及一反向數據傳輸程序,所述正向數據傳輸程序係用以傳輸至少一幀圖像數據,其包含利用一TMDS時鐘通道傳輸一時鐘信號,利用一TMDS數據通道0傳輸一幀同步信號,及利用TMDS數據通道0、一TMDS數據通道1及一TMDS數據通道2中之至少一個數據通道傳輸所述至少一幀圖像數據,其特徵在於,所述的反向數據傳輸程序包含以下步驟:主設備210通過該TMDS時鐘通道輸出該時鐘信號並通過TMDS數據通道0輸出該幀同步信號;從設備220在由TMDS數據通道0偵測到該幀同步信號呈現一作用狀態(例如為高電位)時,轉入一發送狀態,然後在該TMDS時鐘信號的控制下,由TMDS數據通道1及/或TMDS數據通道2傳送反向數據;以及主設備210依該時鐘信號對所述反向數據進行採樣,其中,所述反向數據具有同步頭以供主設備210正確解析出所述的反向數據。Please refer to FIG. 3, which illustrates a block diagram of a communication system adopting the half-duplex data transmission method of FIG. 1. As shown in FIG. 3, a communication system 200 includes a master device 210 and a slave device 220, and can perform a forward data transmission procedure and a reverse data transmission procedure between the master device 210 and the slave device 220. The forward data transmission procedure is used to transmit at least one frame of image data, which includes using a TMDS clock channel to transmit a clock signal, using a TMDS data channel 0 to transmit a frame synchronization signal, and using TMDS data channel 0 and a TMDS data At least one data channel of channel 1 and a TMDS data channel 2 transmits the at least one frame of image data, characterized in that the reverse data transmission procedure includes the following steps: the master device 210 outputs the data through the TMDS clock channel Clock signal and output the frame synchronization signal through TMDS data channel 0; when the slave device 220 detects that the frame synchronization signal exhibits an active state (such as a high potential) from the TMDS data channel 0, it switches to a transmission state, and then Under the control of the TMDS clock signal, TMDS data channel 1 and/or TMDS data channel 2 transmits reverse data; and the master device 210 samples the reverse data according to the clock signal, wherein the reverse data has The synchronization header is used by the main device 210 to correctly parse out the reverse data.

另外,所述的反向數據傳輸程序係發生在至少一垂直消隱期間(vertical blanking interval)。In addition, the reverse data transmission procedure occurs during at least one vertical blanking interval.

較佳地,所述的反向數據傳輸程序進一步包含一反向傳輸停止步驟,而該反向傳輸停止步驟可為:通過主設備210下達一命令給從設備220而使從設備220停止傳輸所述的反向數據;或在該幀同步信號傳輸達一指定次數後使從設備220停止傳輸所述的反向數據,其中,從設備220係由主設備210下達的一命令中獲得所述的指定次數,或所述的指定次數係預設在從設備220中。Preferably, the reverse data transmission procedure further includes a reverse transmission stop step, and the reverse transmission stop step may be: the master device 210 issues a command to the slave device 220 to stop the slave device 220 from transmitting. The reverse data; or after the frame synchronization signal is transmitted for a specified number of times to stop the slave device 220 from transmitting the reverse data, wherein the slave device 220 is obtained from a command issued by the master device 210 The specified number of times, or the specified number of times is preset in the slave device 220.

較佳地,所述反向數據具有數據尾以供主設備210結束所述的接收模式。Preferably, the reverse data has a data tail for the main device 210 to end the receiving mode.

較佳地,所述反向數據具有校驗碼(例如(但不限於)數據的互斥或運算結果)以供主設備210驗證所述反向數據的正確性。Preferably, the reverse data has a check code (such as (but not limited to) data mutual exclusion or operation result) for the host device 210 to verify the correctness of the reverse data.

另外,考慮到主設備210和從設備220的狀態翻轉速度,在完成所述反向數據的傳輸後,從設備220必須先停止發送狀態並立即切換到接收狀態,且從設備220在該接收狀態下會將非視頻數據全部丟棄,以準備正常接收下一幀圖像數據。 In addition, considering the state reversal speed of the master device 210 and the slave device 220, after completing the reverse data transmission, the slave device 220 must first stop the sending state and immediately switch to the receiving state, and the slave device 220 is in the receiving state Next, all non-video data will be discarded in preparation for receiving the next frame of image data normally.

另外,雖然從設備220是按主設備210提供的該時鐘信號的頻率發送所述的反向數據,其數據傳輸速率可低於或等於該時鐘信號的頻率。 In addition, although the slave device 220 transmits the reverse data at the frequency of the clock signal provided by the master device 210, its data transmission rate may be lower than or equal to the frequency of the clock signal.

另外,依上述的說明,本發明進一步提出一種顯示裝置,其具有如前述之通信系統200,且其可為陰極射線管顯示裝置、數位光處理顯示裝置、液晶顯示器、發光二極體顯示裝置、有機發光二極體顯示裝置、量子點發光二極體顯示裝置、Mirco-LED顯示裝置或Mini-LED顯示裝置。 In addition, according to the above description, the present invention further provides a display device having the aforementioned communication system 200, and it can be a cathode ray tube display device, a digital light processing display device, a liquid crystal display, a light emitting diode display device, Organic light emitting diode display device, quantum dot light emitting diode display device, Mirco-LED display device or Mini-LED display device.

藉由前述所揭露的設計,本發明乃具有以下的優點: With the design disclosed above, the present invention has the following advantages:

1.本發明之半雙工數據傳輸方法可藉由TMDS圖像數據的傳輸空檔,利用既有的通道進行反向數據傳輸,以在不增加硬體成本的情況下擴增資訊傳輸量。 1. The half-duplex data transmission method of the present invention can use the existing channels to perform reverse data transmission through the transmission gap of TMDS image data, so as to increase the amount of information transmission without increasing the hardware cost.

2.本發明之種通信系統可在不增加硬體成本的情況下,藉由TMDS圖像數據的傳輸空檔,利用既有的通道進行反向數據傳輸以擴增資訊傳輸量。 2. The communication system of the present invention can utilize existing channels for reverse data transmission to increase the amount of information transmission without increasing the cost of hardware by using the transmission gap of TMDS image data.

本案所揭示者,乃較佳實施例,舉凡局部之變更或修飾而源於本案之技術思想而為熟習該項技藝之人所易於推知者,俱不脫本案之專利權範疇。 The case disclosed in this case is a preferred embodiment, and any part of the modification or modification that originates from the technical idea of this case and can be easily inferred by those skilled in the art, does not deviate from the patent scope of this case.

綜上所陳,本案無論目的、手段與功效,皆顯示其迥異於習知技術,且其首先發明合於實用,確實符合發明之專利要件,懇請 貴審查委員明察,並早日賜予專利俾嘉惠社會,是為至禱。 In summary, regardless of the purpose, means and efficacy of this case, it shows that it is very different from the conventional technology, and its first invention is practical and practical, and it does meet the patent requirements of the invention. I urge your review committee to investigate and give the patent as soon as possible. Society is for supreme prayer.

100、210:主設備 100, 210: main device

110、220:從設備 110, 220: slave device

200:通信系統 200: Communication system

步驟a:該主設備通過該TMDS時鐘通道輸出該時鐘信號並通過該第一TMDS數據通道輸出該幀同步信號 Step a: The master device outputs the clock signal through the TMDS clock channel and the frame synchronization signal through the first TMDS data channel

步驟b:該從設備在由該第一TMDS數據通道偵測到該幀同步信號呈現一作用狀態時,轉入一發送狀態,然後在該TMDS時鐘信號的控制下,由該第二TMDS數據通道及/或該第三TMDS數據通道傳送反向數據 Step b: When detecting that the frame synchronization signal exhibits an active state from the first TMDS data channel, the slave device transitions to a transmitting state, and then under the control of the TMDS clock signal, the second TMDS data channel And/or the third TMDS data channel transmits reverse data

步驟c:該主設備依該時鐘信號對所述反向數據進行採樣,其中,所述反向數據具有同步頭以供該主設備正確解析出所述的反向數據 Step c: The master device samples the reverse data according to the clock signal, wherein the reverse data has a synchronization header for the master device to correctly parse the reverse data

圖1繪示本發明半雙工數據傳輸方法之一實施例流程圖。 圖2繪示圖1所示方法之一操作示意圖。 圖3繪示一種採用圖1之半雙工數據傳輸方法之通信系統之方塊圖。FIG. 1 is a flowchart of an embodiment of a half-duplex data transmission method of the present invention. FIG. 2 is a schematic diagram of one operation of the method shown in FIG. 1. 3 is a block diagram of a communication system using the half-duplex data transmission method of FIG.

步驟a:該主設備通過該TMDS時鐘通道輸出該時鐘信號並通過該第一TMDS數據通道輸出該幀同步信號 Step a: The master device outputs the clock signal through the TMDS clock channel and the frame synchronization signal through the first TMDS data channel

步驟b:該從設備在由該第一TMDS數據通道偵測到該幀同步信號呈現一作用狀態時,轉入一發送狀態,然後在該TMDS時鐘信號的控制下,由該第二TMDS數據通道及/或該第三TMDS數據通道傳送反向數據 Step b: When detecting that the frame synchronization signal exhibits an active state from the first TMDS data channel, the slave device transitions to a transmitting state, and then under the control of the TMDS clock signal, the second TMDS data channel And/or the third TMDS data channel transmits reverse data

步驟c:該主設備依該時鐘信號對所述反向數據進行採樣,其中,所述反向數據具有同步頭以供該主設備正確解析出所述的反向數據 Step c: The master device samples the reverse data according to the clock signal, wherein the reverse data has a synchronization header for the master device to correctly parse the reverse data

Claims (11)

一種半雙工數據傳輸方法,用以在一主設備和一從設備之間進行一正向數據傳輸程序及一反向數據傳輸程序,所述正向數據傳輸程序係用以傳輸至少一幀圖像數據,其包含利用一TMDS時鐘通道傳輸一時鐘信號,利用一第一TMDS數據通道傳輸一幀同步信號,及利用由該第一TMDS數據通道、一第二TMDS數據通道和一第三TMDS數據通道所組成的群組所選擇的至少一個數據通道傳輸所述至少一幀圖像數據,其特徵在於,所述的反向數據傳輸程序包含以下步驟:     該主設備通過該TMDS時鐘通道輸出該時鐘信號並通過該第一TMDS數據通道輸出該幀同步信號;  該從設備在由該第一TMDS數據通道偵測到該幀同步信號呈現一作用狀態時,轉入一發送狀態,然後在該TMDS時鐘信號的控制下,由該第二TMDS數據通道及/或該第三TMDS數據通道傳送反向數據;以及  該主設備依該時鐘信號對所述反向數據進行採樣,其中,所述反向數據具有同步頭以供該主設備正確解析出所述的反向數據。A half-duplex data transmission method for performing a forward data transmission procedure and a reverse data transmission procedure between a master device and a slave device, the forward data transmission program is used to transmit at least one frame picture Like data, it includes using a TMDS clock channel to transmit a clock signal, using a first TMDS data channel to transmit a frame synchronization signal, and using the first TMDS data channel, a second TMDS data channel, and a third TMDS data The at least one data channel selected by the group formed by the channels transmits the at least one frame of image data, characterized in that the reverse data transmission procedure includes the following steps: The master device outputs the clock through the TMDS clock channel Signal and output the frame synchronization signal through the first TMDS data channel; when the slave device detects that the frame synchronization signal exhibits an active state from the first TMDS data channel, it transitions to a transmission state and then clocks on the TMDS Under the control of the signal, reverse data is transmitted by the second TMDS data channel and/or the third TMDS data channel; and the master device samples the reverse data according to the clock signal, wherein the reverse data There is a synchronization header for the master device to correctly parse out the reverse data. 如申請專利範圍第1項所述之半雙工數據傳輸方法,其中,所述的反向數據傳輸程序係發生在至少一垂直消隱期間。The half-duplex data transmission method as described in item 1 of the patent application scope, wherein the reverse data transmission procedure occurs during at least one vertical blanking period. 如申請專利範圍第1項所述之半雙工數據傳輸方法,其中,所述的反向數據傳輸程序進一步包含一反向傳輸停止步驟,其係通過該主設備下達一命令給該從設備而使該從設備停止傳輸所述的反向數據。The half-duplex data transmission method as described in item 1 of the patent scope, wherein the reverse data transmission procedure further includes a reverse transmission stop step, which is a command given to the slave device by the master device Stop the slave device from transmitting the reverse data. 如申請專利範圍第1項所述之半雙工數據傳輸方法,其中,所述的反向數據傳輸程序進一步包含一反向傳輸停止步驟,其係在該幀同步信號傳輸達一指定次數後使該從設備停止傳輸所述的反向數據。The half-duplex data transmission method as described in item 1 of the patent application scope, wherein the reverse data transmission procedure further includes a reverse transmission stop step, which is performed after the frame synchronization signal is transmitted for a specified number of times The slave device stops transmitting the reverse data. 如申請專利範圍第4項所述之半雙工數據傳輸方法,其中,該從設備係由該主設備下達的一命令中獲得所述的指定次數,或所述的指定次數係預設在該從設備中。The half-duplex data transmission method as described in item 4 of the patent application scope, wherein the slave device obtains the specified number of times from a command issued by the master device, or the specified number of times is preset in the From the device. 如申請專利範圍第1項所述之半雙工數據傳輸方法,其中,所述反向數據具有數據尾以供該主設備結束所述的接收模式。The half-duplex data transmission method as described in item 1 of the patent application range, wherein the reverse data has a data tail for the master device to end the reception mode. 如申請專利範圍第1項所述之半雙工數據傳輸方法,其中,所述反向數據具有校驗碼以供該主設備驗證所述反向數據的正確性。The half-duplex data transmission method as described in item 1 of the patent application scope, wherein the reverse data has a check code for the master device to verify the correctness of the reverse data. 一種通信系統,具有一主設備及一從設備,且能夠在該主設備和該從設備之間進行一正向數據傳輸程序及一反向數據傳輸程序,所述正向數據傳輸程序係用以傳輸至少一幀圖像數據,其包含利用一TMDS時鐘通道傳輸一時鐘信號,利用一第一TMDS數據通道傳輸一幀同步信號,及利用由該第一TMDS數據通道、一第二TMDS數據通道和一第三TMDS數據通道所組成的群組所選擇的至少一個數據通道傳輸所述至少一幀圖像數據,其特徵在於,所述的反向數據傳輸程序包含以下步驟:     該主設備通過該TMDS時鐘通道輸出該時鐘信號並通過該第一TMDS數據通道輸出該幀同步信號;  該從設備在由該第一TMDS數據通道偵測到該幀同步信號呈現一作用狀態時,轉入一發送狀態,然後在該TMDS時鐘信號的控制下,由該第二TMDS數據通道及/或該第三TMDS數據通道傳送反向數據;以及  該主設備依該時鐘信號對所述反向數據進行採樣,其中,所述反向數據具有同步頭以供該主設備正確解析出所述的反向數據。A communication system has a master device and a slave device, and can perform a forward data transmission program and a reverse data transmission program between the master device and the slave device, the forward data transmission program is used to Transmitting at least one frame of image data, which includes using a TMDS clock channel to transmit a clock signal, using a first TMDS data channel to transmit a frame synchronization signal, and using the first TMDS data channel, a second TMDS data channel and At least one data channel selected by a group consisting of a third TMDS data channel transmits the at least one frame of image data, characterized in that the reverse data transmission procedure includes the following steps: The master device passes the TMDS The clock channel outputs the clock signal and outputs the frame synchronization signal through the first TMDS data channel; the slave device switches to a transmission state when it detects that the frame synchronization signal exhibits an active state from the first TMDS data channel, Then under the control of the TMDS clock signal, reverse data is transmitted by the second TMDS data channel and/or the third TMDS data channel; and the master device samples the reverse data according to the clock signal, wherein, The reverse data has a synchronization header for the master device to correctly parse the reverse data. 如申請專利範圍第8項所述之通信系統,其中,所述的反向數據傳輸程序係發生在至少一垂直消隱期間;所述的反向數據傳輸程序進一步包含一反向傳輸停止步驟,其係通過該主設備下達一命令給該從設備而使該從設備停止傳輸所述的反向數據,或係在該幀同步信號傳輸達一指定次數後使該從設備停止傳輸所述的反向數據,其中,該從設備係由該主設備下達的一命令中獲得所述的指定次數,或所述的指定次數係預設在該從設備中。The communication system according to item 8 of the patent application scope, wherein the reverse data transmission procedure occurs during at least one vertical blanking period; the reverse data transmission procedure further includes a reverse transmission stop step, It is to stop the slave device from transmitting the reverse data by issuing a command to the slave device from the master device, or to stop the slave device from transmitting the reverse data after the frame synchronization signal is transmitted a specified number of times. To the data, wherein the slave device is obtained the specified number of times from a command issued by the master device, or the specified number of times is preset in the slave device. 如申請專利範圍第8項所述之通信系統,其中,所述反向數據具有數據尾以供該主設備結束所述的接收模式,及/或所述反向數據具有校驗碼以供該主設備驗證所述反向數據的正確性。The communication system according to item 8 of the patent application scope, wherein the reverse data has a data tail for the master device to end the receiving mode, and/or the reverse data has a check code for the The master device verifies the correctness of the reverse data. 一種顯示裝置,其具有如申請專利範圍第8-10項中任一項所述之通信系統,且其係由陰極射線管顯示裝置、數位光處理顯示裝置、液晶顯示器、發光二極體顯示裝置、有機發光二極體顯示裝置、量子點發光二極體顯示裝置、Mirco-LED顯示裝置和Mini-LED顯示裝置所組成的群組所選擇的一種顯示裝置。A display device having the communication system as described in any one of the patent application items 8-10, and which is composed of a cathode ray tube display device, a digital light processing display device, a liquid crystal display, and a light emitting diode display device , A display device selected by the group consisting of an organic light-emitting diode display device, a quantum dot light-emitting diode display device, a Mirco-LED display device, and a Mini-LED display device.
TW108107920A 2019-03-08 2019-03-08 Half-duplex data transmission method and communication system using the same TWI692235B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108107920A TWI692235B (en) 2019-03-08 2019-03-08 Half-duplex data transmission method and communication system using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108107920A TWI692235B (en) 2019-03-08 2019-03-08 Half-duplex data transmission method and communication system using the same

Publications (2)

Publication Number Publication Date
TWI692235B true TWI692235B (en) 2020-04-21
TW202034650A TW202034650A (en) 2020-09-16

Family

ID=71134545

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108107920A TWI692235B (en) 2019-03-08 2019-03-08 Half-duplex data transmission method and communication system using the same

Country Status (1)

Country Link
TW (1) TWI692235B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120274849A1 (en) * 2006-05-16 2012-11-01 Sony Corporation Transmission system, transmission apparatus, and transmission method for transmitting video data
TWI393443B (en) * 2008-03-27 2013-04-11 Silicon Image Inc Bi-directional digital interface for video and audio (diva)
TW201414306A (en) * 2007-06-26 2014-04-01 Sony Corp Communication system, transmitting device, receiving device, communication method, program and communication cable
TW201448578A (en) * 2013-03-15 2014-12-16 Apple Inc Methods and apparatus for scrambling symbols over multi-lane serial interfaces
CN104243873A (en) * 2014-09-22 2014-12-24 李世聪 Transmission method and device for TMDS clock signal
CN104618677A (en) * 2015-02-09 2015-05-13 李鑫建 TMDS (transition minimized differential signaling) bidirectional transmission system of signal
US20150293879A1 (en) * 2014-04-14 2015-10-15 Silicon Image, Inc. Bidirectional Transmission Of USB Data Using Audio/Video Data Channel
US9215059B2 (en) * 2007-02-07 2015-12-15 Valens Semiconductor Ltd. Transmitting digital video and data over the same wires

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120274849A1 (en) * 2006-05-16 2012-11-01 Sony Corporation Transmission system, transmission apparatus, and transmission method for transmitting video data
US9215059B2 (en) * 2007-02-07 2015-12-15 Valens Semiconductor Ltd. Transmitting digital video and data over the same wires
TW201414306A (en) * 2007-06-26 2014-04-01 Sony Corp Communication system, transmitting device, receiving device, communication method, program and communication cable
TWI393443B (en) * 2008-03-27 2013-04-11 Silicon Image Inc Bi-directional digital interface for video and audio (diva)
TW201448578A (en) * 2013-03-15 2014-12-16 Apple Inc Methods and apparatus for scrambling symbols over multi-lane serial interfaces
US20150293879A1 (en) * 2014-04-14 2015-10-15 Silicon Image, Inc. Bidirectional Transmission Of USB Data Using Audio/Video Data Channel
CN104243873A (en) * 2014-09-22 2014-12-24 李世聪 Transmission method and device for TMDS clock signal
CN104618677A (en) * 2015-02-09 2015-05-13 李鑫建 TMDS (transition minimized differential signaling) bidirectional transmission system of signal

Also Published As

Publication number Publication date
TW202034650A (en) 2020-09-16

Similar Documents

Publication Publication Date Title
JP5474160B2 (en) Robust control and rendering method in serial stream
CN103024366B (en) A kind of ultra high-definition video signal remote transmitting system
WO2017032081A1 (en) Audio and video playback device, data display method, and storage medium
US9954674B2 (en) Multimedia signal transmission device and transmission method thereof
JP2008283561A (en) Communication system, video signal transmission method, transmitter, transmitting method, receiver, and receiving method
US9769417B1 (en) Metadata transfer in audio video systems
CN108183749A (en) A kind of fiber optic communications devices of DVI videos and communication signal mixed transport
US11356237B1 (en) HDMI signal communication over an optical link
US20090040287A1 (en) Video communication device and video communication method
CN104104893A (en) Device capable of carrying out remote transmission on mixed signals simultaneously through single optical fiber and transmission method
CN1897672A (en) Multimedia interface input method for conversing high resolution in tv
TWI692235B (en) Half-duplex data transmission method and communication system using the same
US9852103B2 (en) Bidirectional transmission of USB data using audio/video data channel
US9876634B2 (en) Transmission device, reception device, and transmission/reception system
US20090055694A1 (en) Apparatus and method for measuring skew in serial data communication
CN106464946A (en) Media stream data and control parameter synchronization
US20070052869A1 (en) Long-distance digital visual interface (DVI) apparatus
US20140016032A1 (en) Video signal processing circuit
KR101292782B1 (en) Transmission apparatus for compositing signal included of hdmi signal and usb signal and method therefor
US20160065356A1 (en) Inter-device Conflict Resolution on a Multimedia Link
US9661192B2 (en) Video signal transmission apparatus
WO2017085968A1 (en) Frame generation device, frame generation method, signal extraction device, signal extraction method, and image transmission system
KR101605181B1 (en) Method for correction of error code included in control signal of hdmi/mhl
US20200374580A1 (en) Transmission control device, transmission control method, reception control device, reception control method, and signal transmission system
JPWO2017090284A1 (en) Frame generation apparatus, frame generation method, image restoration apparatus, image restoration method, and image transmission system