TWI465923B - Interface apparatus, connecting system thereof and connecting method thereof - Google Patents

Interface apparatus, connecting system thereof and connecting method thereof Download PDF

Info

Publication number
TWI465923B
TWI465923B TW101111123A TW101111123A TWI465923B TW I465923 B TWI465923 B TW I465923B TW 101111123 A TW101111123 A TW 101111123A TW 101111123 A TW101111123 A TW 101111123A TW I465923 B TWI465923 B TW I465923B
Authority
TW
Taiwan
Prior art keywords
interface
channel
type
interface device
controller
Prior art date
Application number
TW101111123A
Other languages
Chinese (zh)
Other versions
TW201321988A (en
Inventor
Kim-Yeung Sip
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to US13/565,818 priority Critical patent/US9117037B2/en
Priority to EP12180043.7A priority patent/EP2595063B1/en
Publication of TW201321988A publication Critical patent/TW201321988A/en
Application granted granted Critical
Publication of TWI465923B publication Critical patent/TWI465923B/en

Links

Description

介面裝置及其串接系統與串接方法Interface device and its serial system and serial connection method

本發明是有關於一種介面裝置及其串接方法,且特別是有關於一種採用雷電介面的介面裝置及其串接系統與串接方法。The present invention relates to an interface device and a serial connection method thereof, and more particularly to an interface device using a lightning interface and a tandem system and a serial connection method thereof.

隨著科技的進步,電腦的功能趨於多樣化,各式各樣的周邊設備也不斷推陳出新。為了能夠方便使用者提升電腦效能或是擴充電腦功能,電腦的主機板上一般會配置加速圖形埠(Accelerated Graphics Port,AGP)、週邊元件內連接(Peripheral Component Interconnect,PCI)、快捷PCI(PCI Express,PCI-E)等匯流排插槽,以供使用者插入顯示卡、音效卡、網路卡等擴充卡。此外,電腦主機上也會配置火線(Firewire)、通用序列匯流排(Universal Serial Bus,USB)等擴充介面,以供使用者連接硬碟、印表機等外部裝置。With the advancement of technology, the functions of computers tend to be diversified, and various peripheral devices are constantly being introduced. In order to facilitate the user to improve the computer performance or expand the computer function, the computer's motherboard is usually equipped with Accelerated Graphics Port (AGP), Peripheral Component Interconnect (PCI), and Fast PCI (PCI Express). , PCI-E) and other bus slots for users to insert expansion cards such as video cards, sound cards, and network cards. In addition, the computer will also be equipped with expansion interfaces such as Firewire and Universal Serial Bus (USB) for users to connect external devices such as hard disks and printers.

最近,美國英特爾(Intel)公司推出了全新的雷電(Thunderbolt)介面,其係整合PCI-E和顯示埠(DisplayPort)兩項技術,而可在同一條纜線中同時傳送資料及影像串流。圖1是依照本發明一實施例所繪示之雷電介面的資料傳輸示意圖。請參照圖1,雷電傳輸技術是在同一條纜線12中提供兩個通道122、124作為PCI-E和顯示埠,以分別傳輸資料及影像串流。藉由配置在纜線12兩端之雷電控制器14、16的控制,每個通道在兩個方向上的傳輸都可達到每秒10十億位元(GigaBit,Gb)的傳輸量,使得電腦與周邊設備之間可來回高速傳輸資料。雷電傳輸技術提供的頻寬還可供多台高速裝置以菊花鏈(Daisy-chain)的方式串接,而毋須使用集線器或交換器。Recently, Intel Corporation of the United States introduced a new Thunderbolt interface that integrates both PCI-E and DisplayPort technologies to simultaneously transmit data and video streams over the same cable. FIG. 1 is a schematic diagram of data transmission of a lightning interface according to an embodiment of the invention. Referring to FIG. 1, the lightning transmission technology provides two channels 122 and 124 as the PCI-E and the display port in the same cable 12 to respectively transmit data and video streams. By controlling the lightning controllers 14, 16 disposed at both ends of the cable 12, the transmission of each channel in both directions can reach a transmission capacity of 10 billion bits per second (GigaBit, Gb), so that the computer Data can be transferred back and forth between the peripheral device and the peripheral device. The bandwidth provided by lightning transmission technology can also be cascaded in multiple Daisy-chains for multiple high-speed devices without the need for a hub or switch.

舉例來說,圖2是習知雷電介面的菊花鏈串接架構。請參照圖2,為了實現菊花鏈(Daisy-chain)的串接方式,作為主控端的主機22需要配置一個雷電介面埠222及一個支援雙通道傳輸的雷電控制器224,其後續串接的雷電介面裝置24、26、28則都需要配置兩個以上的雷電介面埠242、244、262、264、282、284。其中,由於每個雷電介面均具有兩個通道,因此這些雷電介面裝置24、26、28內還需要配置一個支援4個通道的雷電控制器246、266、286,無形之間也增加了裝置的生產成本。For example, FIG. 2 is a daisy-chain serial connection architecture of a conventional lightning interface. Referring to FIG. 2, in order to implement the Daisy-chain serial connection mode, the host 22 as the master terminal needs to be configured with a lightning interface 222 and a lightning controller 224 supporting dual channel transmission, and the subsequent tandem lightning The interface devices 24, 26, 28 all need to have more than two lightning interface 埠242, 244, 262, 264, 282, 284. Among them, since each lightning interface has two channels, a lightning controller 246, 266, 286 supporting four channels needs to be disposed in the lightning interface devices 24, 26, and 28, and the device is also added between the invisible devices. Cost of production.

然而,目前雷電介面的兩個通道僅個別用以傳送資料及影像串流,不支援通道集成(channel aggregation),從而使得傳輸效能受到限制。當使用者串接的雷電裝置中不包含顯示相關裝置時,用以傳輸影像串流的通道將被閒置,連帶使得高成本配置的雷電介面埠及雷電控制器只能提供一半的傳輸效能,形成資源浪費。此外,菊花鏈的串接架構也不具備容錯(fault tolerance)功能,一旦有某個雷電裝置發生異常或故障時,串接在後的雷電裝置也隨即失去連結而無法工作,嚴重時甚至會造成資料遺失的結果。However, the two channels of the lightning interface are only used to transmit data and video streams, and channel aggregation is not supported, which limits transmission performance. When the user-connected lightning device does not include the display related device, the channel for transmitting the video stream will be idle, and the high-cost configuration of the lightning interface and the lightning controller can only provide half of the transmission performance. Waste of resources. In addition, the daisy chain serial connection structure does not have fault tolerance function. Once an abnormality or failure occurs in a lightning device, the lightning device connected in series will not be connected and will not work. In severe cases, it may even cause The result of missing data.

有鑑於此,本發明提出一種介面裝置及其串接系統與方法,可有效提升介面的傳輸效能並支援容錯功能。In view of this, the present invention provides an interface device and a serial connection system and method thereof, which can effectively improve the transmission performance of the interface and support the fault tolerance function.

本發明提出一種介面裝置串接系統,其包括主機、第一類介面裝置及第二類介面裝置。主機具有第一控制器及第一介面埠,其中第一控制器透過第一介面埠提供第一通道及第二通道的資料傳輸。第一類介面裝置具有第二控制器、第二介面埠及第三介面埠,其中第二介面埠串接第一介面埠,第三介面埠串接第二介面埠,第二控制器串接第二介面埠及第三介面埠,使得第一通道的資料經由第二介面埠傳輸至第二控制器再由第二控制器傳輸至第三介面埠,第二通道的資料經由第二介面埠直接傳輸至第三介面埠。第二類介面裝置具有第三控制器、第四介面埠及第五介面埠,其中第四介面埠串接第三介面埠,第五介面埠串接第四介面埠,第三控制器串接第四介面埠及第五介面埠,使得第二通道的資料經由第四介面埠傳輸至第三控制器再由第三控制器傳輸至第五介面埠,第一通道的資料經由第四介面埠直接傳輸至第五介面埠。The invention provides an interface device serial connection system, which comprises a host, a first type of interface device and a second type of interface device. The host has a first controller and a first interface, wherein the first controller provides data transmission of the first channel and the second channel through the first interface. The first type of interface device has a second controller, a second interface layer, and a third interface layer, wherein the second interface is connected in series with the first interface layer, the third interface is connected in series with the second interface layer, and the second controller is connected in series The second interface 第三 and the third interface 埠 enable the data of the first channel to be transmitted to the second controller via the second interface and then transmitted to the third interface by the second controller, and the data of the second channel is transmitted through the second interface Transfer directly to the third interface. The second type of interface device has a third controller, a fourth interface layer, and a fifth interface layer, wherein the fourth interface is connected in series with the third interface layer, the fifth interface is connected in series with the fourth interface layer, and the third controller is connected in series The fourth interface and the fifth interface 埠 enable the data of the second channel to be transmitted to the third controller via the fourth interface, and then transmitted to the fifth interface by the third controller, and the data of the first channel is transmitted through the fourth interface. Transfer directly to the fifth interface.

在本發明之一實施例中,上述之介面裝置串接系統更包括多個第一類介面裝置,分別串接於第二類介面裝置之後,以處理經由第一通道傳輸的資料。In an embodiment of the present invention, the interface device serial system further includes a plurality of first type interface devices, which are respectively connected in series with the second type interface device to process data transmitted via the first channel.

在本發明之一實施例中,上述之介面裝置串接系統更包括多個第二類介面裝置,分別串接於第一類介面裝置之後,以處理經由第二通道傳輸的資料。In an embodiment of the present invention, the interface device serial system further includes a plurality of second type interface devices, which are respectively connected in series with the first type of interface device to process data transmitted via the second channel.

在本發明之一實施例中,上述之第一類介面裝置與第二類介面裝置分別作為磁碟陣列(RAID)中的兩個磁碟。In an embodiment of the invention, the first type of interface device and the second type of interface device are respectively used as two disks in a disk array (RAID).

本發明提出一種介面裝置串接方法。首先,提供主機,此主機具有第一控制器及第一介面埠。接著,將第一類介面裝置串接於主機,使得第一通道的資料經由第一類介面裝置的第二介面埠傳輸至第二控制器再由第二控制器傳輸至第三介面埠,第二通道的資料經由第二介面埠直接傳輸至第三介面埠。然後,將第二類介面裝置串接於第一類介面裝置,使得第二通道的資料經由第二類介面裝置的第四介面埠傳輸至第三控制器再由第三控制器傳輸至第五介面埠,第一通道的資料經由第四介面埠直接傳輸至第五介面埠。The invention provides a method for serially connecting interface devices. First, a host is provided, the host having a first controller and a first interface. Then, the first type of interface device is serially connected to the host, so that the data of the first channel is transmitted to the second controller via the second interface of the first type interface device, and then transmitted to the third interface by the second controller. The two channels of data are directly transmitted to the third interface via the second interface. Then, the second type of interface device is serially connected to the first type of interface device, so that the data of the second channel is transmitted to the third controller via the fourth interface of the second type interface device, and then transmitted to the fifth controller by the third controller. After the interface, the data of the first channel is directly transmitted to the fifth interface via the fourth interface.

在本發明之一實施例中,上述之方法更包括串接另一個第一類介面裝置於第二類介面裝置之後,以處理經由第一通道傳輸的資料。In an embodiment of the invention, the method further includes serially connecting another first type of interface device to the second type of interface device to process the data transmitted via the first channel.

在本發明之一實施例中,上述之方法更包括串接另一個第二類介面裝置於上述另一個第一類介面裝置之後,以處理經由第二通道傳輸的資料。In an embodiment of the invention, the method further includes serially connecting another second type of interface device to the another first type of interface device to process data transmitted via the second channel.

在本發明之一實施例中,上述之方法更包括透過第一通道及第二通道傳輸一備份資料至第一類介面裝置及第二類介面裝置,以將此備份資料儲存於第一類介面裝置及第二類介面裝置。In an embodiment of the present invention, the method further includes transmitting, by using the first channel and the second channel, a backup data to the first type of interface device and the second type of interface device to store the backup data in the first type interface. Device and second type of interface device.

在本發明之一實施例中,上述之第一控制器、第二控制器及第三控制器為支援雙通道資料傳輸的雷電控制器。In an embodiment of the invention, the first controller, the second controller, and the third controller are lightning controllers that support dual channel data transmission.

在本發明之一實施例中,上述之第一類介面裝置與第二類介面裝置包括採用雷電介面傳輸資料的圖形處理裝置、顯示裝置、儲存裝置或燒錄裝置。In an embodiment of the invention, the first type of interface device and the second type of interface device comprise a graphics processing device, a display device, a storage device or a burning device that uses a lightning interface to transmit data.

本發明提出一種介面裝置,其包括第一介面埠、控制器及第二介面埠。其中,第一介面埠係串接主機或另一個介面裝置,用以接收透過第一通道與第二通道傳輸的資料。控制器係連接第一介面埠,用以接收第一通道的資料,並輸出處理後的第一通道的資料。第二介面埠係連接第一介面埠及控制器,用以由第一介面埠接收第二通道的資料,並由第一控制器接收處理後的第一通道的資料。The invention provides an interface device comprising a first interface layer, a controller and a second interface layer. The first interface is connected to the host or another interface device for receiving data transmitted through the first channel and the second channel. The controller is connected to the first interface port for receiving the data of the first channel and outputting the processed data of the first channel. The second interface is connected to the first interface and the controller for receiving the data of the second channel by the first interface, and receiving, by the first controller, the processed data of the first channel.

在本發明之一實施例中,上述之第一通道與第二通道分別為雷電介面的兩個資料傳輸通道之一。In an embodiment of the invention, the first channel and the second channel are respectively one of two data transmission channels of a lightning interface.

在本發明之一實施例中,上述之控制器為支援雙通道資料傳輸的雷電控制器。In an embodiment of the invention, the controller is a lightning controller that supports dual channel data transmission.

基於上述,本發明之介面裝置及其串接系統與方法係更改介面裝置中介面埠與控制器的連接關係,將雷電介面的兩個資料傳輸通道錯開,使得串接在主機之後的兩個介面裝置可分別處理不同通道的資料。藉此,可有效提升介面的傳輸效能,並支援資料容錯功能。Based on the above, the interface device and the serial connection system and method of the present invention change the connection relationship between the interface device and the controller of the interface device, and the two data transmission channels of the lightning interface are staggered so that the two interfaces after the host are serially connected The device can process data of different channels separately. This can effectively improve the transmission performance of the interface and support data fault tolerance.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the present invention will be more apparent from the following description.

本發明係利用雷電介面的高傳輸頻寬以及菊花鏈串接特性,將雷電介面的兩個資料傳輸通道均用來傳輸資料,並將介面裝置設計為僅針對其中一個通道的資料進行處理,並將另一個通道的資料越過(bypass)該介面裝置而提供給串接在後的另一個介面裝置來處理。藉此,不僅可有效利用兩個通道的傳輸效能,也可使系統具備容錯功能。The invention utilizes the high transmission bandwidth of the lightning interface and the daisy chain serial connection characteristic, and uses two data transmission channels of the lightning interface to transmit data, and the interface device is designed to process only the data of one channel, and The data of the other channel is bypassed by the interface device and provided to another interface device that is serially connected for processing. In this way, not only can the transmission efficiency of the two channels be effectively utilized, but also the system can be provided with fault tolerance.

圖3是依照本發明一實施例所繪示之雷電介面的資料傳輸示意圖。請參照圖3,本實施例是在同一條纜線32中提供兩個通道322、324,藉由配置在纜線32兩端之雷電控制器34、36的控制,使得這兩個通道322、324均可用來傳輸資料,包括快捷週邊元件內連接(PCI-E)介面和/或顯示埠(DisplayPort)的資料。FIG. 3 is a schematic diagram of data transmission of a lightning interface according to an embodiment of the invention. Referring to FIG. 3, in this embodiment, two channels 322, 324 are provided in the same cable 32. The two channels 322 are controlled by the lightning controllers 34, 36 disposed at both ends of the cable 32. The 324 can be used to transfer data, including the Quick Peripheral Component Interconnect (PCI-E) interface and/or DisplayPort data.

圖4是依照本發明一實施例所繪示之介面裝置串接系統的方塊圖。請參照圖4,本實施例的介面裝置串接系統40包括主機42、第一類介面裝置44及第二類介面裝置46,其功能分述如下:主機42例如是桌上型電腦、筆記型電腦、工作站等終端裝置,其中包括處理器及各種輸入輸出介面,而可連接周邊設備,並處理使用者執行的程式。主機42中還包括記憶體或硬碟等儲存設備,而可儲存處理器所執行的程式或其他資料。需說明的是,主機42還具有第一控制器422及第一介面埠424,而可由第一控制器422透過第一介面埠424提供第一通道及第二通道的資料傳輸。其中,第一控制器422例如是支援雷電介面之雙通道資料傳輸的雷電控制器,其可透過第一介面埠424提供雙通道的資料傳輸功能。4 is a block diagram of a serial connection system of interface devices according to an embodiment of the invention. Referring to FIG. 4, the interface device serial connection system 40 of the present embodiment includes a host 42, a first type of interface device 44, and a second type of interface device 46. The functions are as follows: the host 42 is, for example, a desktop computer or a notebook. Terminal devices such as computers and workstations, including a processor and various input and output interfaces, can be connected to peripheral devices and process programs executed by the user. The host 42 also includes a storage device such as a memory or a hard disk, and can store programs or other materials executed by the processor. It should be noted that the host 42 further has a first controller 422 and a first interface 424, and the first controller 422 can provide data transmission of the first channel and the second channel through the first interface 424. The first controller 422 is, for example, a lightning controller that supports dual channel data transmission of the lightning interface, and provides a dual channel data transmission function through the first interface 424.

第一類介面裝置44例如是採用雷電介面傳輸資料的圖形處理裝置(包含圖形處理單元(GPU))、顯示裝置、儲存裝置、燒錄裝置或其他周邊裝置,其具有第二控制器442、第二介面埠444及第三介面埠446。其中,第二介面埠444串接於第一介面埠424,第三介面埠446串接於第二介面埠444,第二控制器442則串接於第二介面埠444及第三介面埠446,使得主機42輸出的第一通道的資料可經由第二介面埠444傳輸至第二控制器442再由第二控制器442傳輸至第三介面埠446。而主機42輸出的第二通道的資料則可經由第二介面埠444直接傳輸至第三介面埠446。The first type of interface device 44 is, for example, a graphics processing device (including a graphics processing unit (GPU)) that uses a lightning interface to transmit data, a display device, a storage device, a programming device, or other peripheral devices, and has a second controller 442, The second interface is 444 and the third interface is 446. The second interface 444 is connected in series with the first interface 424, the third interface 446 is connected to the second interface 444, and the second controller 442 is connected to the second interface 444 and the third interface 446. The data of the first channel output by the host 42 can be transmitted to the second controller 442 via the second interface 444 and then transmitted to the third interface 446 by the second controller 442. The data of the second channel output by the host 42 can be directly transmitted to the third interface 446 via the second interface 444.

第二類介面裝置46同樣可以是採用雷電介面傳輸資料的圖形處理裝置(包含圖形處理單元(GPU))、顯示裝置、儲存裝置、燒錄裝置或其他周邊裝置,其具有第三控制器462、第四介面埠464及第五介面埠466。其中,第四介面埠464串接於第三介面埠446,第五介面埠466串接於第四介面埠464,第三控制器462則串接於第四介面埠464及第五介面埠466,使得第一類介面裝置44輸出的第二通道的資料可經由第四介面埠464傳輸至第三控制器462再由第三控制器462傳輸至第五介面埠466。The second type of interface device 46 can also be a graphics processing device (including a graphics processing unit (GPU)) that uses a lightning interface to transmit data, a display device, a storage device, a burning device, or other peripheral devices, and has a third controller 462, The fourth interface 埠 464 and the fifth interface 埠 466. The fourth interface 464 is connected in series to the third interface 446, the fifth interface 466 is connected in series to the fourth interface 464, and the third controller 462 is connected in series to the fourth interface 464 and the fifth interface 466. The data of the second channel output by the first type interface device 44 can be transmitted to the third controller 462 via the fourth interface 464 and then transmitted to the fifth interface 466 by the third controller 462.

藉由上述之介面裝置串接系統的架構,配置在主機42、第一類介面裝置44及第一類介面裝置46中的雷電控制器均只需支援雙通道資料傳輸,無需支援到4通道資料傳輸,從而降低了介面裝置的生產成本。The lightning controllers configured in the host 42, the first type of interface device 44, and the first type of interface device 46 only need to support dual channel data transmission, and do not need to support four channels of data. Transmission, thereby reducing the production cost of the interface device.

此外,由於第二通道的資料是直接由第一類介面裝置44的第二介面埠444直接傳輸給第三介面埠446,因此即使第一類介面裝置44發生異常或故障,第二通道的資料仍可直接越過第一類介面裝置44,而傳輸給串接在第一類介面裝置44之後的第二類介面裝置46。同理,由於第一通道的資料是直接由第二類介面裝置46的第四介面埠464直接傳輸給第五介面埠466,因此即使第二類介面裝置46發生異常或故障,第一通道的資料仍可直接越過第二類介面裝置46,而傳輸給串接在第二類介面裝置46之後的另一個第一類介面裝置(未繪示)。藉上述架構,本實施例的介面裝置串接系統40可進一步實現資料的容錯功能。In addition, since the data of the second channel is directly transmitted from the second interface 444 of the first type interface device 44 to the third interface 446, even if the first type interface device 44 is abnormal or faulty, the data of the second channel It is still possible to pass directly over the first type of interface device 44 and to the second type of interface device 46 that is serially connected after the first type of interface device 44. Similarly, since the data of the first channel is directly transmitted to the fifth interface 466 directly by the fourth interface 464 of the second type interface device 46, even if the second type interface device 46 is abnormal or malfunctions, the first channel The data may still pass directly over the second type of interface device 46 and be transmitted to another first type of interface device (not shown) that is serially connected to the second type of interface device 46. With the above architecture, the interface device serial connection system 40 of the present embodiment can further implement the fault tolerance function of the data.

舉例來說,上述的第一類介面裝置44及第二類介面裝置46可分別作為磁碟陣列(RAID)中的兩個磁碟,例如是分別作為RAID 0及RAID 1。其中,若將主機42所提供的第一通道及第二通道的資料傳輸路徑拆開來看,可得到如圖5所繪示的系統架構。其中,主機42係透過第一通道及第二通道分別傳輸備份資料至第一類介面裝置44及第二類介面裝置46,而可將備份資料分別儲存於第一類介面裝置44及第二類介面裝置46。藉此,即便第一類介面裝置44及第二類介面裝置46中的任何一個裝置發生異常或故障,另一個裝置仍保有備份資料,從而達到資料容錯功能。For example, the first type of interface device 44 and the second type of interface device 46 can be used as two disks in a disk array (RAID), for example, as RAID 0 and RAID 1, respectively. If the data transmission paths of the first channel and the second channel provided by the host 42 are taken apart, the system architecture as shown in FIG. 5 can be obtained. The host device 42 transmits the backup data to the first type interface device 44 and the second type interface device 46 through the first channel and the second channel, respectively, and the backup data can be stored in the first type interface device 44 and the second class respectively. Interface device 46. Thereby, even if any one of the first type interface device 44 and the second type interface device 46 is abnormal or faulty, the other device retains the backup data, thereby achieving the data fault tolerance function.

需說明的是,上述的系統架構還可支援多個第一類介面裝置與第二類介面裝置的串接,其串接方法即是將第一類介面裝置串接於主機或第二介面裝置之後,以及將第二類介面裝置串接於第一介面裝置之後。藉由雷電介面的菊花鏈串接特性,串接在主機之後的介面裝置可分享雷電介面雙通道的傳輸頻寬,進而提供主機所需的功能。It should be noted that the above system architecture can also support the serial connection of multiple first type interface devices and the second type interface device, and the serial connection method is to connect the first type interface device to the host device or the second interface device. Thereafter, and after the second type of interface device is serially connected to the first interface device. Through the daisy-chain serial connection feature of the lightning interface, the interface device serially connected to the host can share the transmission bandwidth of the lightning interface and thus provide the functions required by the host.

舉例來說,圖6是依照本發明一實施例所繪示之介面裝置串接系統的方塊圖。請參照圖6,本實施例的介面裝置串接系統60包括主機61、第一類介面裝置62、64、66,以及第二類介面裝置63、65、67。由圖中可知,經由本實施例的系統架構,主機61所提供的第一通道的資料只會送入第一類介面裝置62、64、66的控制器,而由第一類介面裝置62、64、66進行處理;另一方面,主機61所提供的第二通道的資料只會送入第二類介面裝置63、65、67的控制器,而由第二類介面裝置63、65、67進行處理。For example, FIG. 6 is a block diagram of an interface device serial connection system according to an embodiment of the invention. Referring to FIG. 6, the interface device serial connection system 60 of the present embodiment includes a host 61, first type interface devices 62, 64, 66, and second type interface devices 63, 65, 67. It can be seen from the figure that, through the system architecture of the embodiment, the data of the first channel provided by the host 61 is only sent to the controllers of the first type of interface devices 62, 64, 66, and the first type of interface device 62, 64, 66 processing; on the other hand, the data of the second channel provided by the host 61 will only be sent to the controller of the second type of interface device 63, 65, 67, and the second type of interface device 63, 65, 67 Process it.

值得一提的是,若將主機61提供的第一通道及第二通道的資料傳輸路徑拆開來看,可得到如圖7所繪示的系統架構。其中,就雷電介面的規格而言,每個通道在兩個方向上的傳輸都可達到每秒10十億位元(GigaBit,Gb)的傳輸量,而此通道的頻寬是由路徑上的所有介面裝置共用。據此,本發明還進一步根據各個介面裝置的頻寬需求,選擇將頻寬需求較高的介面裝置(例如圖形處理裝置)與頻寬需求較低的介面裝置(例如光碟機)搭配,一同配置在相同通道的資料傳輸路徑上;而將其他頻寬需求較低的介面裝置配置在另一個通道的資料傳輸路徑上,藉此達到傳輸效能的最佳化。It is worth mentioning that if the data transmission paths of the first channel and the second channel provided by the host 61 are taken apart, the system architecture as shown in FIG. 7 can be obtained. Among them, in terms of the specification of the lightning interface, the transmission of each channel in both directions can reach the transmission capacity of 10 billion bits per second (GigaBit, Gb), and the bandwidth of this channel is determined by the path. All interface devices are shared. Accordingly, the present invention further selects an interface device (such as a graphics processing device) having a higher bandwidth requirement and an interface device (such as a CD player) having a lower bandwidth requirement according to the bandwidth requirement of each interface device, and is configured together. The transmission efficiency is optimized by configuring other interface devices with lower bandwidth requirements on the data transmission path of the other channel.

舉例來說,圖8是依照本發明一實施例所繪示之介面裝置串接系統的資料傳輸路徑示意圖。請參照圖8,本實施例的介面裝置串接系統80包括主機81、外接座(dock)82、硬碟83、硬碟84、圖形處理裝置85及光碟機86。其中,主機81係透過雷電介面提供第一通道及第二通道的資料傳輸功能,而外接座82、硬碟83、硬碟84即配置在第一通道的資料傳輸路徑上,而分享第一通道的傳輸頻寬;另一方面,圖形處理裝置85及光碟機86則配置在第二通道的資料傳輸路徑上,而分享第二通道的傳輸頻寬。其中,由於光碟機86的使用率較低,且頻寬需求較低,因此第二通道的傳輸頻寬幾乎都可提供給圖形處理裝置85使用,從而達到傳輸效能的最佳化。For example, FIG. 8 is a schematic diagram of a data transmission path of a serial device serial connection system according to an embodiment of the invention. Referring to FIG. 8 , the interface device serial connection system 80 of the present embodiment includes a host 81 , an external dock 82 , a hard disk 83 , a hard disk 84 , a graphics processing device 85 , and an optical disk drive 86 . The host 81 provides the data transmission function of the first channel and the second channel through the lightning interface, and the external socket 82, the hard disk 83, and the hard disk 84 are disposed on the data transmission path of the first channel, and share the first channel. On the other hand, the graphics processing device 85 and the optical disk drive 86 are disposed on the data transmission path of the second channel, and share the transmission bandwidth of the second channel. Among them, since the usage rate of the optical disk drive 86 is low and the bandwidth requirement is low, the transmission bandwidth of the second channel can be almost provided to the graphics processing device 85, thereby optimizing the transmission performance.

綜上所述,本發明的介面裝置及其串接系統與方法採用將雷電介面的兩個資料傳輸通道錯開的設計,使得介面裝置的控制器僅需處理兩個通道的資料傳輸,從而降低了介面裝置的生產成本。此外,採用上述設計還使得串接在主機之後的介面裝置可分別處理不同通道的資料,且不會受到介面裝置故障的影響,因此可有效利用介面的傳輸效能,並支援資料容錯功能。In summary, the interface device and the serial connection system and method of the present invention adopt a design in which two data transmission channels of the lightning interface are staggered, so that the controller of the interface device only needs to process data transmission of two channels, thereby reducing the The production cost of the interface device. In addition, the above design also enables the interface device serially connected to the host to process the data of different channels separately, and is not affected by the interface device failure, thereby effectively utilizing the transmission performance of the interface and supporting the data fault tolerance function.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

12、32...纜線12, 32. . . Cable

122、124、322、324...通道122, 124, 322, 324. . . aisle

14、16、246、266、286、34、36...雷電控制器14, 16, 246, 266, 286, 34, 36. . . Lightning controller

22、42、61、81...主機22, 42, 61, 81. . . Host

24、26、28...雷電介面裝置24, 26, 28. . . Lightning interface device

242、244、262、264、282、284...雷電介面埠242, 244, 262, 264, 282, 284. . . Lightning interface埠

40、60、80‧‧‧介面裝置串接系統40, 60, 80‧‧ ‧ interface device tandem system

44、62、64、66‧‧‧第一類介面裝置44, 62, 64, 66‧‧‧ first type interface devices

46、63、65、67‧‧‧第二類介面裝置46, 63, 65, 67‧‧‧ second type interface devices

422‧‧‧第一控制器422‧‧‧First controller

424‧‧‧第一介面埠424‧‧‧First interface埠

442‧‧‧第二控制器442‧‧‧second controller

444‧‧‧第二介面埠444‧‧‧Second interface

446‧‧‧第三介面埠446‧‧‧ Third interface埠

462‧‧‧第三控制器462‧‧‧ Third controller

464‧‧‧第四介面埠464‧‧‧Fourth interface埠

466‧‧‧第五介面埠466‧‧‧Fifth Interface埠

82‧‧‧外接座82‧‧‧External seat

83、84‧‧‧硬碟83, 84‧‧‧ hard disk

85‧‧‧圖形處理裝置85‧‧‧Graphic processing device

86‧‧‧光碟機86‧‧‧CD player

圖1是依照本發明一實施例所繪示之雷電介面的資料傳輸示意圖。FIG. 1 is a schematic diagram of data transmission of a lightning interface according to an embodiment of the invention.

圖2是習知雷電介面的菊花鏈串接架構。2 is a daisy-chain serial connection architecture of a conventional lightning interface.

圖3是依照本發明一實施例所繪示之雷電介面的資料傳輸示意圖。FIG. 3 is a schematic diagram of data transmission of a lightning interface according to an embodiment of the invention.

圖4是依照本發明一實施例所繪示之介面裝置串接系統的方塊圖。4 is a block diagram of a serial connection system of interface devices according to an embodiment of the invention.

圖5是依照本發明一實施例所繪示之介面裝置串接系統的資料傳輸路徑示意圖。FIG. 5 is a schematic diagram of a data transmission path of a serial device serial connection system according to an embodiment of the invention.

圖6是依照本發明一實施例所繪示之介面裝置串接系統的方塊圖。FIG. 6 is a block diagram of a serial connection system of interface devices according to an embodiment of the invention.

圖7是依照本發明一實施例所繪示之介面裝置串接系統的資料傳輸路徑示意圖。FIG. 7 is a schematic diagram of a data transmission path of a serial device serial connection system according to an embodiment of the invention.

圖8是依照本發明一實施例所繪示之介面裝置串接系統的資料傳輸路徑示意圖。FIG. 8 is a schematic diagram of a data transmission path of a serial device serial connection system according to an embodiment of the invention.

40...介面裝置串接系統40. . . Interface device tandem system

42...主機42. . . Host

44...第一類介面裝置44. . . First type interface device

46...第二類介面裝置46. . . Second type interface device

422...第一控制器422. . . First controller

424...第一介面埠424. . . First interface埠

442...第二控制器442. . . Second controller

444...第二介面埠444. . . Second interface埠

446...第三介面埠446. . . Third interface埠

462...第三控制器462. . . Third controller

464...第四介面埠464. . . Fourth interface埠

466...第五介面埠466. . . Fifth interface埠

Claims (14)

一種介面裝置串接系統,包括:一主機,具有一第一控制器及一第一介面埠,該第一控制器透過該第一介面埠提供一第一通道及一第二通道的資料傳輸;一第一類介面裝置,具有一第二控制器、一第二介面埠及一第三介面埠,其中該第二介面埠串接該第一介面埠,該第三介面埠串接該第二介面埠,使得該第一通道的資料經由該第二介面埠傳輸至該第二控制器再由該第二控制器傳輸至該第三介面埠,該第二通道的資料經由該第二介面埠直接傳輸至該第三介面埠;以及一第二類介面裝置,具有一第三控制器、一第四介面埠及一第五介面埠,其中該第四介面埠串接該第三介面埠,該第五介面埠串接該第四介面埠,使得該第二通道的資料經由該第四介面埠傳輸至該第三控制器再由該第三控制器傳輸至該第五介面埠,該第一通道的資料經由該第四介面埠直接傳輸至該第五介面埠。 An interface device serial connection system includes: a host having a first controller and a first interface, wherein the first controller provides a first channel and a second channel for data transmission through the first interface; a first type of interface device having a second controller, a second interface layer, and a third interface layer, wherein the second interface layer is connected in series with the first interface layer, and the third interface layer is connected in series with the second interface layer The interface 埠 is such that the data of the first channel is transmitted to the second controller via the second interface, and then transmitted by the second controller to the third interface, and the data of the second channel is transmitted through the second interface. Directly transmitting to the third interface device; and a second type of interface device having a third controller, a fourth interface layer, and a fifth interface layer, wherein the fourth interface layer is connected in series with the third interface layer The fifth interface is connected in series with the fourth interface, so that the data of the second channel is transmitted to the third controller via the fourth interface, and then transmitted by the third controller to the fifth interface, the first interface One channel of data is directly through the fourth interface Input to the fifth interface port. 如申請專利範圍第1項所述之介面裝置串接系統,更包括:多個第一類介面裝置,分別串接於該第二類介面裝置之後,以處理經由該第一通道傳輸的資料。 The interface device serial connection system of claim 1, further comprising: a plurality of first type interface devices, which are respectively connected in series with the second type interface device to process data transmitted via the first channel. 如申請專利範圍第1項所述之介面裝置串接系統,更包括:多個第二類介面裝置,分別串接於該第一類介面裝置 之後,以處理經由該第二通道傳輸的資料。 The interface device serial connection system of claim 1, further comprising: a plurality of second type interface devices connected in series to the first type interface device Thereafter, the data transmitted via the second channel is processed. 如申請專利範圍第1項所述之介面裝置串接系統,其中該第一控制器、該第二控制器及該第三控制器為支援雙通道資料傳輸的雷電控制器。 The interface device tandem system of claim 1, wherein the first controller, the second controller, and the third controller are lightning controllers that support dual channel data transmission. 如申請專利範圍第1項所述之介面裝置串接系統,其中該第一類介面裝置與該第二類介面裝置包括採用雷電介面傳輸資料的圖形處理裝置、顯示裝置、儲存裝置或燒錄裝置。 The interface device tandem system according to claim 1, wherein the first type interface device and the second type interface device comprise a graphic processing device, a display device, a storage device or a burning device that uses a lightning interface to transmit data. . 如申請專利範圍第1項所述之介面裝置串接系統,其中該第一類介面裝置與該第二類介面裝置分別作為一磁碟陣列中的兩個磁碟。 The interface device tandem system of claim 1, wherein the first type of interface device and the second type of interface device respectively serve as two disks in a disk array. 一種介面裝置串接方法,包括:提供一主機,該主機具有一第一控制器及一第一介面埠;串接一第一類介面裝置於該主機,使得該第一通道的資料經由該第一類介面裝置的一第二介面埠傳輸至一第二控制器再由該第二控制器傳輸至一第三介面埠,該第二通道的資料經由該第二介面埠直接傳輸至該第三介面埠;以及串接一第二類介面裝置於該第一類介面裝置,使得該第二通道的資料經由該第二類介面裝置的一第四介面埠傳輸至一第三控制器再由該第三控制器傳輸至一第五介面埠,該第一通道的資料經由該第四介面埠直接傳輸至該第五介面埠。 A method for serially connecting an interface device includes: providing a host having a first controller and a first interface; serially connecting a first type of interface device to the host, so that the data of the first channel is via the first A second interface of the interface device is transmitted to a second controller and then transmitted by the second controller to a third interface, and the data of the second channel is directly transmitted to the third via the second interface Interface 埠; and serially connecting a second type of interface device to the first type of interface device, such that the data of the second channel is transmitted to a third controller via a fourth interface of the second type of interface device The third controller transmits to a fifth interface, and the data of the first channel is directly transmitted to the fifth interface through the fourth interface. 如申請專利範圍第7項所述之介面裝置串接方法,更包括:串接另一第一類介面裝置於該第二類介面裝置之後,以處理經由該第一通道傳輸的資料。 The interface device serial connection method of claim 7, further comprising: connecting another type of interface device in the second type of interface device to process data transmitted via the first channel. 如申請專利範圍第8項所述之介面裝置串接方法,更包括:串接另一第二類介面裝置於該另一第一類介面裝置之後,以處理經由該第二通道傳輸的資料。 The interface device serial connection method of claim 8, further comprising: concatenating another second type of interface device after the another first type of interface device to process data transmitted via the second channel. 如申請專利範圍第7項所述之介面裝置串接方法,更包括:透過該第一通道及該第二通道傳輸一備份資料至該第一類介面裝置及該第二類介面裝置;以及儲存該備份資料於該第一類介面裝置及該第二類介面裝置。 The interface device serial connection method of claim 7, further comprising: transmitting a backup data to the first type interface device and the second type interface device through the first channel and the second channel; and storing The backup data is in the first type of interface device and the second type of interface device. 如申請專利範圍第7項所述之介面裝置串接方法,其中該第一控制器、該第二控制器及該第三控制器為支援雙通道資料傳輸的雷電控制器。 The interface device serial connection method according to claim 7, wherein the first controller, the second controller, and the third controller are lightning controllers that support dual channel data transmission. 如申請專利範圍第7項所述之介面裝置串接方法,其中該第一類介面裝置與該第二類介面裝置包括採用雷電介面傳輸資料的圖形處理裝置、顯示裝置、儲存裝置或燒錄裝置。 The interface device serial connection method according to claim 7, wherein the first type interface device and the second type interface device comprise a graphic processing device, a display device, a storage device or a burning device that uses a lightning interface to transmit data. . 一種介面裝置,包括:一第一介面埠,串接一主機或另一介面裝置,接收透過一第一通道與一第二通道傳輸的資料,其中該介面裝置 為一第一類介面裝置;一控制器,連接該第一介面埠,接收該第一通道的資料,並輸出處理後的該第一通道的資料;以及一第二介面埠,連接該第一介面埠及該控制器,由該第二介面埠從該第一介面埠接收該第二通道的資料並傳送至一第二類介面裝置,並由該第二介面埠接收處理後的該第一通道的資料。 An interface device includes: a first interface 串 connected in series with a host or another interface device for receiving data transmitted through a first channel and a second channel, wherein the interface device a first type of interface device; a controller, connected to the first interface, receiving data of the first channel, and outputting the processed data of the first channel; and a second interface, connecting the first The interface and the controller receive, by the second interface, the data of the second channel from the first interface and transmit the data to a second type of interface device, and receive the processed first by the second interface Channel information. 如申請專利範圍第13項所述之介面裝置,其中該第一通道與該第二通道分別為雷電介面的兩個資料傳輸通道之一。 The interface device of claim 13, wherein the first channel and the second channel are respectively one of two data transmission channels of a lightning interface.
TW101111123A 2011-11-21 2012-03-29 Interface apparatus, connecting system thereof and connecting method thereof TWI465923B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US13/565,818 US9117037B2 (en) 2011-11-21 2012-08-03 Interface apparatus, cascading system thereof and cascading method thereof
EP12180043.7A EP2595063B1 (en) 2011-11-21 2012-08-10 Interface apparatus, cascading system thereof and cascading method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US201161562409P 2011-11-21 2011-11-21

Publications (2)

Publication Number Publication Date
TW201321988A TW201321988A (en) 2013-06-01
TWI465923B true TWI465923B (en) 2014-12-21

Family

ID=48495996

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101111123A TWI465923B (en) 2011-11-21 2012-03-29 Interface apparatus, connecting system thereof and connecting method thereof

Country Status (2)

Country Link
CN (1) CN103136153A (en)
TW (1) TWI465923B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108694249B (en) * 2018-05-30 2022-02-25 平安科技(深圳)有限公司 Data processing method, data processing device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1291746A (en) * 1999-08-31 2001-04-18 韩旭 Universal processor for serial bus fault-to/erant system
TW476030B (en) * 1999-09-22 2002-02-11 Netcell Corp RAID controller system and method with ATA emulation host interface
CN2627744Y (en) * 2003-08-12 2004-07-21 劲永国际股份有限公司 Data-transmission interface and serial bus interface equipment
TW200821852A (en) * 2006-11-15 2008-05-16 Kwok-Yan Leung Dual-channel network storage management device and method
US20100088436A1 (en) * 2007-08-16 2010-04-08 Matthias Knauss Communication method and interface between a companion chip and a microcontroller
TW201122832A (en) * 2009-12-22 2011-07-01 Ind Tech Res Inst A cascade device of serial bus with clock and cascade method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6055225A (en) * 1997-06-02 2000-04-25 Hewlett-Packard Company Ring architecture for quad port bypass circuits
US20100183004A1 (en) * 2009-01-16 2010-07-22 Stmicroelectronics, Inc. System and method for dual mode communication between devices in a network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1291746A (en) * 1999-08-31 2001-04-18 韩旭 Universal processor for serial bus fault-to/erant system
TW476030B (en) * 1999-09-22 2002-02-11 Netcell Corp RAID controller system and method with ATA emulation host interface
CN2627744Y (en) * 2003-08-12 2004-07-21 劲永国际股份有限公司 Data-transmission interface and serial bus interface equipment
TW200821852A (en) * 2006-11-15 2008-05-16 Kwok-Yan Leung Dual-channel network storage management device and method
US20100088436A1 (en) * 2007-08-16 2010-04-08 Matthias Knauss Communication method and interface between a companion chip and a microcontroller
TW201122832A (en) * 2009-12-22 2011-07-01 Ind Tech Res Inst A cascade device of serial bus with clock and cascade method

Also Published As

Publication number Publication date
TW201321988A (en) 2013-06-01
CN103136153A (en) 2013-06-05

Similar Documents

Publication Publication Date Title
US10162779B2 (en) Increasing data throughput of a universal serial bus (USB) type-C port
US20110302357A1 (en) Systems and methods for dynamic multi-link compilation partitioning
CN100445981C (en) Computer system using serial connect bus, and method for interconnecting a plurality of CPU using serial connect bus
KR101200998B1 (en) Hybrid raid controller having multi pci bus switching
TWI465922B (en) Apparatus, system and method for data flow analysis and management of interface apapratuses
CN103152397A (en) Method for designing multi-control storage system
US20120192038A1 (en) Sas-based semiconductor storage device memory disk unit
US9547616B2 (en) High bandwidth symmetrical storage controller
JP2014154157A (en) Chained, scalable storage devices
CN105007307A (en) Storage control method and system
EP2608048A1 (en) Apparatus, system, and method for analyzing and managing data flow of interface apparatuses
TWI465923B (en) Interface apparatus, connecting system thereof and connecting method thereof
JP2010205264A (en) Switch for transferring file between computers
CN110806989A (en) Storage server
KR20120012951A (en) Raid controller having multi pci bus switching
US9117037B2 (en) Interface apparatus, cascading system thereof and cascading method thereof
US20140032802A1 (en) Data routing system supporting dual master apparatuses
CN109033002A (en) A kind of multipath server system
US20130132630A1 (en) System and method for video routing and display
TWI474182B (en) A server system with a small computer system interface express
TW201403334A (en) Route switching system for daisy-chained apparatuses and interface apparatus
TWI483115B (en) Data routing system and method for daisy-chained apparatuses
TWI475510B (en) System and method for video routing and display
Mittal et al. Super speed USB–Improvements and future scope
Vaishya A Survey of USB 3.0 with Data Transmission Techniques