TWI465922B - Apparatus, system and method for data flow analysis and management of interface apapratuses - Google Patents
Apparatus, system and method for data flow analysis and management of interface apapratuses Download PDFInfo
- Publication number
- TWI465922B TWI465922B TW101104257A TW101104257A TWI465922B TW I465922 B TWI465922 B TW I465922B TW 101104257 A TW101104257 A TW 101104257A TW 101104257 A TW101104257 A TW 101104257A TW I465922 B TWI465922 B TW I465922B
- Authority
- TW
- Taiwan
- Prior art keywords
- data
- interface
- channel
- interface device
- transmission path
- Prior art date
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Description
本發明是有關於一種介面裝置的管理裝置、系統與方法,且特別是有關於一種採用雷電介面的介面裝置的資料流量分析管理裝置、系統與方法。The present invention relates to a management device, system and method for an interface device, and more particularly to a data flow analysis management device, system and method for an interface device using a lightning interface.
隨著科技的進步,電腦的功能趨於多樣化,各式各樣的周邊設備也不斷推陳出新。為了能夠方便使用者提升電腦效能或是擴充電腦功能,電腦的主機板上一般會配置加速圖形埠(Accelerated Graphics Port,AGP)、週邊元件內連接(PeripheralComponent 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 PCI Express (PCI Express, PCI-E) 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十億位元組(GigaByte,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 amount of 10 gigabytes per second (GigaByte, GB), Data can be transferred back and forth between the computer and peripheral devices. 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 a data flow analysis management device, system and method for an interface device, which can balance data traffic in two channels of a lightning interface according to the characteristics of the serial interface device.
本發明提出一種介面裝置的資料流量分析管理系統,其包括主機及至少一個介面裝置。主機具有第一控制器及第一介面埠,其中第一控制器透過第一介面埠提供第一通道及第二通道的資料傳輸。各個介面裝置包括第二控制器、切換器、第二介面埠及第三介面埠。其中,第二介面埠係串接第一介面埠以接收第一通道及第二通道的資料,並分流第一通道及第二通道的資料於第一傳輸路徑及第二傳輸路徑上傳輸。第二控制器係配置於第一傳輸路徑上,用以處理經由第一傳輸路徑傳輸的資料。切換器係分別連接第一傳輸路徑與第二傳輸路徑,用以根據第一控制器發送的控制訊號,切換在第一傳輸路徑與第二傳輸路徑上傳輸的第一通道及第二通道的資料。第三介面埠係連接切換器,用以輸出切換後的第一通道及第二通道的資料。The invention provides a data flow analysis management system of an interface device, which comprises a host and at least one 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. Each interface device includes a second controller, a switch, a second interface, and a third interface. The second interface is connected to the first interface 埠 to receive the data of the first channel and the second channel, and the data of the first channel and the second channel are split and transmitted on the first transmission path and the second transmission path. The second controller is configured on the first transmission path for processing the data transmitted via the first transmission path. The switch is connected to the first transmission path and the second transmission path respectively, and is configured to switch the data of the first channel and the second channel transmitted on the first transmission path and the second transmission path according to the control signal sent by the first controller. . The third interface is connected to the switch for outputting the data of the switched first channel and the second channel.
在本發明的一實施例中,上述各個介面裝置更包括第三控制器,其係配置於第二傳輸路徑上,用以處理經由第二傳輸路徑傳輸的資料。In an embodiment of the invention, each of the interface devices further includes a third controller disposed on the second transmission path for processing data transmitted via the second transmission path.
在本發明的一實施例中,上述各個介面裝置更利用第三介面埠串接另一個介面裝置的第二介面埠,以透過第三介面埠輸出切換後的第一通道及第二通道的資料至另一個介面裝置。In an embodiment of the present invention, each of the interface devices further uses a third interface to serially connect the second interface of the other interface device to output the data of the switched first channel and the second channel through the third interface To another interface device.
在本發明的一實施例中,上述的第一控制器包括偵測模組、分析模組及管理模組。其中,偵測模組係用以偵測串接於第一介面埠之後的介面裝置,並取得各個介面裝置的裝置資訊。分析模組係用以分析各個介面裝置的裝置資訊,並採用流量管理策略決定第一通道及第二通道的資料在所述介面裝置中的傳輸路徑。管理模組係根據所決定的傳輸路徑,發送控制訊號至各個介面裝置,以控制切換器切換在第一傳輸路徑與第二傳輸路徑上傳輸的第一通道及第二通道的資料。In an embodiment of the invention, the first controller includes a detection module, an analysis module, and a management module. The detection module is configured to detect the interface device serially connected to the first interface, and obtain device information of each interface device. The analysis module is configured to analyze the device information of each interface device, and uses a traffic management policy to determine the transmission path of the data of the first channel and the second channel in the interface device. The management module sends a control signal to each interface device according to the determined transmission path to control the switch to switch the data of the first channel and the second channel transmitted on the first transmission path and the second transmission path.
本發明提出一種介面裝置的資料流量分析管理方法,適用於採用菊花鏈方式串接的主機與至少一個介面裝置,其中主機係提供第一通道及第二通道的資料傳輸,並切換此第一通道及第二通道的資料在介面裝置中的傳輸路徑。此方法係先偵測串接在後的介面裝置,並取得各個介面裝置的裝置資訊。接著,分析各個介面裝置的裝置資訊,並採用流量管理策略決定第一通道及第二通道的資料在所述介面裝置中的傳輸路徑。最後,根據所決定的傳輸路徑,發送控制訊號至各個介面裝置,以控制各個介面裝置中的切換器切換第一通道及第二通道的資料的傳輸路徑。The invention provides a data flow analysis management method for an interface device, which is suitable for a host connected by a daisy chain method and at least one interface device, wherein the host system provides data transmission of the first channel and the second channel, and switches the first channel And the transmission path of the data of the second channel in the interface device. The method first detects the serially connected interface device and obtains the device information of each interface device. Then, the device information of each interface device is analyzed, and the traffic management strategy is used to determine the transmission path of the data of the first channel and the second channel in the interface device. Finally, according to the determined transmission path, the control signal is sent to each interface device to control the switching path of the data of the first channel and the second channel by the switch in each interface device.
本發明提出一種介面裝置的資料流量分析管理裝置,其包括介面埠及控制器。其中,介面埠係用以串接至少一個介面裝置,控制器則用以提供第一通道及第二通道的資料,控制器包括偵測模組、分析模組及管理模組。其中,偵測模組係用以偵測串接在後的介面裝置,並取得各個介面裝置的裝置資訊。分析模組係用以分析各個介面裝置的裝置資訊,並採用流量管理策略決定所提供的第一通道及第二通道的資料在介面裝置中的傳輸路徑。管理模組係用以根據所決定的傳輸路徑,發送控制訊號至各個介面裝置,以控制切換器切換第一通道及第二通道的資料的傳輸路徑。The invention provides a data flow analysis management device of an interface device, which comprises an interface and a controller. The interface is used to connect at least one interface device, and the controller is configured to provide data of the first channel and the second channel. The controller includes a detection module, an analysis module and a management module. The detection module is configured to detect the serially connected interface device and obtain device information of each interface device. The analysis module is used to analyze the device information of each interface device, and uses a traffic management strategy to determine the transmission path of the provided first channel and the second channel data in the interface device. The management module is configured to send a control signal to each interface device according to the determined transmission path, so as to control the switch to switch the transmission path of the data of the first channel and the second channel.
在本發明的一實施例中,上述的流量管理策略包括負載平衡(load balancing)策略、資料容錯(fault tolerance)策略或針對特定介面裝置的流量最佳化策略。In an embodiment of the invention, the traffic management policy includes a load balancing policy, a data fault tolerance policy, or a traffic optimization policy for a specific interface device.
在本發明的一實施例中,上述的裝置資訊包括各個介面裝置的頻寬需求、資料備份需求及處理資料的優先順序。In an embodiment of the invention, the device information includes a bandwidth requirement of each interface device, a data backup requirement, and a priority order of processing data.
在本發明的一實施例中,上述的控制器、第一控制器、該第二控制器及該第三控制器為支援雙通道資料傳輸的雷電控制器。In an embodiment of the invention, the controller, 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 interface device includes a graphics processing device, a display device, a sound device, a storage device, a network connection device, or a burning device that transmits data by using a lightning interface.
基於上述,本發明之介面裝置的資料流量分析管理裝置、系統與方法係將進入介面裝置的兩個通道資料分流為兩個傳輸路徑,並利用切換器進行切換,而可由主機依照其所串接之各個介面裝置的特性,動態調整兩個通道資料的傳輸路徑資料流量的負載平衡,並支援資料容錯功能。Based on the above, the data traffic analysis management device, system and method of the interface device of the present invention divides two channels of data entering the interface device into two transmission paths, and switches by using a switch, which can be connected by the host according to the connection. The characteristics of each interface device dynamically adjust the load balance of the data flow of the transmission data of the two channels and support the data fault tolerance function.
為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the present invention will be more apparent from the following description.
本發明係利用雷電介面的高傳輸頻寬以及菊花鏈串接特性,將雷電介面的兩個資料傳輸通道均用來傳輸資料,並根據透過雷電介面串接的各個介面裝置的特性,動態切換兩個資料傳輸通道的資料在介面裝置中的傳輸路徑,藉此達到資料流量的負載平衡,並支援資料容錯(fault tolerance)功能。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 dynamically switches two according to the characteristics of each interface device connected through the lightning interface. The data transmission channel's data transmission path in the interface device, thereby achieving load balancing of data traffic and supporting data fault tolerance.
圖3(a)及圖3(b)分別是依照本發明一實施例所繪示之介面裝置方塊圖。請參照圖3(a),本實施例的介面裝置32例如是採用雷電介面傳輸資料的圖形處理裝置(包含圖形處理單元(GPU))、顯示裝置、音效裝置、儲存裝置、網路連結裝置、燒錄裝置或其他周邊裝置,其中包括第一介面埠321、控制器322、切換器323及第二介面埠324,這些元件的功能分述如下:3(a) and 3(b) are block diagrams of interface devices according to an embodiment of the invention, respectively. Referring to FIG. 3( a ), the interface device 32 of the present embodiment 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 sound effect device, a storage device, and a network connection device. The programming device or other peripheral device includes a first interface 321 and a controller 322, a switch 323, and a second interface 324. The functions of these components are as follows:
第一介面埠321係串接主機(未繪示)或另一介面裝置(未繪示)的輸出介面埠,而用以接收第一通道及第二通道的資料,並將此第一通道及第二通道的資料分流以於第一傳輸路徑及第二傳輸路徑上傳輸。其中,所述的第一通道及第二通道例如是雷電介面的兩個資料傳輸通道。The first interface 321 is connected to the output interface of the host device (not shown) or another interface device (not shown) for receiving the data of the first channel and the second channel, and the first channel and the first channel and The data splitting of the second channel is transmitted on the first transmission path and the second transmission path. The first channel and the second channel are, for example, two data transmission channels of a lightning interface.
控制器322係配置於第一傳輸路徑上,用以處理經由第一傳輸路徑傳輸的資料。其中,控制器322還包括連接至介面裝置32的裝置主體,使得該裝置主體可經由第一傳輸路徑接收並處理第一通道的資料。此裝置主體即為上述圖形處理裝置、顯示裝置、音效裝置、儲存裝置、網路連結裝置、燒錄裝置等裝置的硬體部分。The controller 322 is configured on the first transmission path for processing the data transmitted via the first transmission path. Wherein, the controller 322 further includes a device body connected to the interface device 32 such that the device body can receive and process the data of the first channel via the first transmission path. The main body of the device is a hardware portion of the device such as the graphic processing device, the display device, the sound effect device, the storage device, the network connection device, and the burning device.
切換器323係分別連接第一傳輸路徑與第二傳輸路徑,而可根據所串接之主機發送的控制訊號,切換第一傳輸路徑與第二傳輸路徑上傳輸之第一通道及第二通道的資料。其中,所述的控制訊號例如是由控制器322由第一傳輸路徑中擷取,從而輸入切換器323的控制接點,藉以控制切換器323切換傳輸路徑上傳輸的資料。The switch 323 is connected to the first transmission path and the second transmission path respectively, and can switch the first channel and the second channel transmitted on the first transmission path and the second transmission path according to the control signal sent by the serially connected host. data. The control signal is, for example, captured by the controller 322 from the first transmission path, thereby inputting the control contact of the switch 323, thereby controlling the switch 323 to switch the data transmitted on the transmission path.
舉例來說,圖4是依照本發明一實施例所繪示之切換器的示意圖。請參照圖4,本實施例的切換器40例如是路由器市場上常見的高速切換器,其中包括一個控制接點E與四個資料接點A、B、C、D,接點A、B係分別連接上述的第一傳輸路徑與第二傳輸路徑。切換器40的標準切換模式為當控制接點E接收到的控制訊號為邏輯0時,即將接點A連接至接點C,並將接點B連接至接點D,此即代表原先在第一傳輸路徑與第二傳輸路徑上傳輸的第一通道及第二通道的資料維持不變;當控制接點E接收到的控制訊號為邏輯1時,則將接點A連接至接點D,並將接點B連接至接點C,此即代表原先在第一傳輸路徑與第二傳輸路徑上傳輸的第一通道及第二通道的資料已經由切換器40的切換而對調。For example, FIG. 4 is a schematic diagram of a switch according to an embodiment of the invention. Referring to FIG. 4, the switch 40 of the present embodiment is, for example, a high-speed switch commonly used in the router market, and includes a control contact E and four data contacts A, B, C, and D, and contacts A and B. The first transmission path and the second transmission path are respectively connected. The standard switching mode of the switch 40 is that when the control signal received by the control contact E is logic 0, the contact A is connected to the contact C, and the contact B is connected to the contact D, which means that the original is in the first The data of the first channel and the second channel transmitted on a transmission path and the second transmission path remain unchanged; when the control signal received by the control contact E is logic 1, the contact A is connected to the contact D, The contact B is connected to the contact C, which means that the data of the first channel and the second channel originally transmitted on the first transmission path and the second transmission path have been reversed by the switching of the switch 40.
第二介面埠324係連接切換器323,用以輸出經由切換器323切換的第一通道及第二通道的資料。第二介面埠324還用以串接另一個介面裝置(未繪示)的第一介面埠,使得介面裝置32可透過第二介面埠324將經由切換器323切換的第一通道及第二通道的資料輸出至另一個介面裝置。The second interface 324 is connected to the switch 323 for outputting data of the first channel and the second channel switched via the switch 323. The second interface 324 is further configured to serially connect the first interface 另一个 of the other interface device (not shown), so that the interface device 32 can switch the first channel and the second channel via the switch 323 through the second interface 324 The data is output to another interface device.
上述的介面裝置32中僅配置一個支援雷電介面之雙通道資料傳輸的控制器322,以針對第一介面埠321所接收的其中一個通道的資料進行處理,並將另一個通道的資料越過(bypass)該介面裝置32而提供給串接在後的另一個介面裝置來處理。藉此,不僅可有效利用兩個通道的傳輸效能,也可使系統具備容錯功能。Only one controller 322 supporting the dual channel data transmission of the lightning interface is disposed in the interface device 32, and the data of one channel received by the first interface 321 is processed, and the data of the other channel is bypassed. The interface device 32 is 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(b),介面裝置34同樣是採用雷電介面傳輸資料的圖形處理裝置、顯示裝置、音效裝置、儲存裝置、網路連結裝置、燒錄裝置或其他周邊裝置,其中包括第一介面埠341、第一控制器342、第二控制器343、切換器344及第二介面埠345。所述的第一介面埠341、第一控制器342切換器344及第二介面埠345的功能係與介面裝置32中的第一介面埠321、第一控制器322切換器323及第二介面埠324相同或相似,故其詳細內容在此不再贅述。On the other hand, referring to FIG. 3(b), the interface device 34 is also a graphic processing device, a display device, a sound effect device, a storage device, a network connection device, a burning device or other peripheral devices that use a lightning interface to transmit data. The first interface 埠341, the first controller 342, the second controller 343, the switch 344, and the second interface 345 are included. The function of the first interface 埠341, the first controller 342 switch 344 and the second interface 345, and the first interface 321 in the interface device 32, the first controller 322 switch 323 and the second interface埠324 is the same or similar, so the details thereof will not be repeated here.
與介面裝置32不同的是,介面裝置34還額外在第二傳輸介面上配置第二控制器343,而用以處理經由第二傳輸路徑傳輸的資料。其中,第二控制器343還包括連接至介面裝置34的裝置主體,使得該裝置主體可經由第二傳輸路徑接收並處理第二通道的資料。此裝置主體即為上述圖形處理裝置、顯示裝置、音效裝置、儲存裝置、網路連結裝置、燒錄裝置等裝置的硬體部分。Different from the interface device 32, the interface device 34 additionally configures the second controller 343 on the second transmission interface to process the data transmitted via the second transmission path. Wherein, the second controller 343 further includes a device body connected to the interface device 34 such that the device body can receive and process the data of the second channel via the second transmission path. The main body of the device is a hardware portion of the device such as the graphic processing device, the display device, the sound effect device, the storage device, the network connection device, and the burning device.
藉由上述架構,即可在同一個介面裝置中配置兩種不同功能的裝置主體,並可藉由切換器40的切換,將原先在第一傳輸路徑與第二傳輸路徑上傳輸的第一通道及第二通道的資料對調。With the above architecture, two different functional device bodies can be configured in the same interface device, and the first channel originally transmitted on the first transmission path and the second transmission path can be switched by the switching of the switch 40. And the data of the second channel is reversed.
圖5是依照本發明一實施例所繪示之介面裝置的資料流量分析管理系統方塊圖。請參照圖5,本實施例的流量分析管理系統50包括採用雷電介面之菊花鏈方式串接的主機51及介面裝置52、53、54、55,其功能分述如下:FIG. 5 is a block diagram of a data flow analysis management system of an interface device according to an embodiment of the invention. Referring to FIG. 5, the traffic analysis management system 50 of the present embodiment includes a host 51 and interface devices 52, 53, 54, and 55 connected in a daisy-chain manner using a lightning interface. The functions are as follows:
主機51例如是桌上型電腦、筆記型電腦、工作站等終端裝置,其中包括處理器及各種輸入輸出介面,而可連接周邊設備,並處理使用者執行的程式。主機51中還包括記憶體或硬碟等儲存設備,而可儲存處理器所執行的程式或其他資料。需說明的是,主機51還具有控制器511及介面埠512,而可由控制器511透過介面埠512提供第一通道及第二通道的資料。其中,控制器511例如是支援雷電介面之雙通道資料傳輸的雷電控制器,其可透過介面埠512提供雙通道的資料傳輸功能,包括快捷週邊元件內連接(PCI-E)介面和/或顯示埠(DisplayPort,DP)的資料。The host computer 51 is, for example, a terminal device such as a desktop computer, a notebook computer, or a workstation, and includes a processor and various input/output interfaces, and can connect peripheral devices and process programs executed by the user. The host 51 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 51 further has a controller 511 and an interface 512, and the controller 511 can provide the data of the first channel and the second channel through the interface 512. The controller 511 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 interface 512, including a quick peripheral component connection (PCI-E) interface and/or display.埠 (DisplayPort, DP) information.
介面裝置52、53、54、55例如是採用上述實施例中介面裝置34的架構,其中均包含兩個介面埠、兩個控制器以及一個切換器,其詳細功能已揭露於前述實施例,故在此不再贅述。The interface device 52, 53, 54, 55 is, for example, the architecture of the interposer device 34 of the above embodiment, which includes two interface ports, two controllers and a switch. The detailed functions of the interface device are disclosed in the foregoing embodiments. I will not repeat them here.
在此需說明的是,主機51可做為介面裝置52、53、54、55的資料流量分析管理裝置。而藉由控制器511偵測串接於介面埠512之後的介面裝置52、53、54、55的種類及數目,並根據各個介面裝置52、53、54、55的特性,發送控制訊號以控制其中的切換器切換第一通道及第二通道的資料的傳輸路徑,而達到資料流量的負載平衡。It should be noted that the host 51 can be used as the data traffic analysis management device of the interface devices 52, 53, 54, and 55. The controller 511 detects the type and number of interface devices 52, 53, 54, 55 connected after the interface 512, and sends a control signal according to the characteristics of each interface device 52, 53, 54, 55 to control The switch switches the data transmission path of the first channel and the second channel to achieve load balancing of the data traffic.
詳言之,圖6是依照本發明一實施例所繪示之介面裝置的資料流量分析管理裝置方塊圖。圖7是依照本發明一實施例所繪示之介面裝置的資料流量分析管理方法流程圖。請同時參照圖6及圖7,本實施例的流量分析管理裝置60包括介面埠61及控制器62。其中,介面埠61係用以串接介面裝置(未繪示),控制器62則用以提供第一通道及第二通道的資料,其中包括偵測模組621、分析模組622及管理模組623。以下即搭配圖6中流量分析管理裝置60的各項元件說明本實施例之流量分析管理方法的詳細步驟。In more detail, FIG. 6 is a block diagram of a data flow analysis management apparatus of an interface device according to an embodiment of the invention. FIG. 7 is a flow chart of a data flow analysis management method of an interface device according to an embodiment of the invention. Referring to FIG. 6 and FIG. 7 simultaneously, the traffic analysis management device 60 of the present embodiment includes an interface 61 and a controller 62. The interface 埠 61 is used for serial interface devices (not shown), and the controller 62 is configured to provide data of the first channel and the second channel, including the detection module 621, the analysis module 622, and the management module. Group 623. The detailed steps of the flow analysis management method of the present embodiment will be described below in conjunction with the components of the flow analysis management device 60 of FIG.
首先,由偵測模組621偵測串接在流量分析管理裝置60之後的介面裝置,並取得各個介面裝置的裝置資訊(步驟S702)。所述的裝置資訊包括各個介面裝置的頻寬需求、資料備份需求或處理資料的優先順序等,在此不設限。First, the detection module 621 detects the interface device serially connected to the traffic analysis management device 60, and obtains the device information of each interface device (step S702). The device information includes bandwidth requirements of each interface device, data backup requirements, or priority order of processing data, and is not limited herein.
接著,分析模組622會分析這些介面裝置的裝置資訊,並採用一種流量管理策略來決定由控制器62所提供之第一通道及第二通道的資料在介面裝置中的傳輸路徑(步驟S704)。所述的流量管理策略包括負載平衡(load balancing)策略、資料容錯(fault tolerance)策略或針對特定介面裝置的流量最佳化策略等,在此不設限。Next, the analysis module 622 analyzes the device information of the interface devices, and uses a traffic management policy to determine the transmission path of the data of the first channel and the second channel provided by the controller 62 in the interface device (step S704). . The traffic management policy includes a load balancing policy, a data fault tolerance policy, or a traffic optimization policy for a specific interface device, and is not limited herein.
然後,管理模組623會根據分析模組622所決定的傳輸路徑,發送控制訊號至各個介面裝置,以控制其中的切換器切換第一通道及第二通道的資料的傳輸路徑(步驟S706)。Then, the management module 623 sends a control signal to each interface device according to the transmission path determined by the analysis module 622 to control the switch between the data of the first channel and the second channel by the switch (step S706).
舉例來說,圖8是依照本發明一實施例所繪示之介面裝置的資料流量分析管理系統的範例。請參照圖8,本實施例的資料流量分析管理系統80包括採用雷電介面之菊化鏈方式串接的資料流量分析管理裝置81以及介面裝置82、83、84、85。其中,資料流量分析管理裝置81係由控制器811透過雷電介面提供第一通道及第二通道的資料傳輸功能。For example, FIG. 8 is an example of a data flow analysis management system of an interface device according to an embodiment of the invention. Referring to FIG. 8, the data traffic analysis management system 80 of the present embodiment includes a data traffic analysis management device 81 and interface devices 82, 83, 84, and 85 that are connected in series by a lightning interface of a lightning interface. The data traffic analysis management device 81 is configured to provide the data transmission function of the first channel and the second channel by the controller 811 through the lightning interface.
介面裝置82係將第一通道及第二通道的資料分流於第一傳輸路徑及第二傳輸路徑上傳輸,控制器821則配置於第一傳輸路徑上,使得控制器821所連接的圖形處理單元(Graphic Processing Unit,GPU)823可對第一通道的資料進行處理。切換器822則可根據控制器811輸出的控制訊號切換在第一傳輸路徑及第二傳輸路徑上傳輸的資料。The interface device 82 divides the data of the first channel and the second channel into the first transmission path and the second transmission path, and the controller 821 is disposed on the first transmission path, so that the graphic processing unit connected to the controller 821 The (Graphic Processing Unit, GPU) 823 can process the data of the first channel. The switch 822 can switch the data transmitted on the first transmission path and the second transmission path according to the control signal output by the controller 811.
介面裝置83係將第一通道及第二通道的資料分流於第一及第二傳輸路徑上傳輸,控制器831、832分別配置於第一及第二傳輸路徑上,使得控制器831所連接之硬碟834中的資料可提供第一通道上的裝置進行存取,而控制器832所連接之硬碟835中的資料則可提供第二通道上的裝置進行存取。切換器833係根據控制器811輸出的控制訊號切換在第一傳輸路徑及第二傳輸路徑上傳輸的資料。The interface device 83 distributes the data of the first channel and the second channel to the first and second transmission paths, and the controllers 831 and 832 are respectively disposed on the first and second transmission paths, so that the controller 831 is connected. The data in the hard disk 834 can be accessed by the device on the first channel, and the data in the hard disk 835 to which the controller 832 is connected can provide access to the device on the second channel. The switch 833 switches the data transmitted on the first transmission path and the second transmission path according to the control signal output from the controller 811.
硬碟834、835可分別作為磁碟陣列(RAID)中的兩個磁碟,例如是作為RAID 0及RAID 1,而可用以備份資料流量分析管理裝置81中的重要資料。其中,資料流量分析管理裝置81係透過第一通道及第二通道分別傳輸備份資料至硬碟834、835,而可將備份資料分別儲存於硬碟834、835。藉此,即便硬碟834、835中的任何一個裝置發生異常或故障,另一個裝置仍保有備份資料,從而達到資料容錯功能。The hard disks 834, 835 can be used as two disks in a disk array (RAID), for example, as RAID 0 and RAID 1, and can be used to back up important data in the data traffic analysis management device 81. The data traffic analysis management device 81 transmits the backup data to the hard disks 834 and 835 through the first channel and the second channel, respectively, and the backup data can be stored on the hard disks 834 and 835, respectively. Thereby, even if any one of the hard disks 834, 835 is abnormal or malfunctions, the other device retains the backup data, thereby achieving the data fault tolerance function.
介面裝置84係將第一通道及第二通道的資料分流於第一傳輸路徑及第二傳輸路徑上傳輸,控制器841則配置於第一傳輸路徑上,使得控制器841所連接的光碟機可提供第一通道上的裝置進行光碟的讀取及寫入操作。切換器842則可根據控制器811輸出的控制訊號切換在第一傳輸路徑及第二傳輸路徑上傳輸的資料。The interface device 84 distributes the data of the first channel and the second channel to the first transmission path and the second transmission path, and the controller 841 is disposed on the first transmission path, so that the optical disk drive connected to the controller 841 can be The device on the first channel is provided for reading and writing of the optical disc. The switch 842 can switch the data transmitted on the first transmission path and the second transmission path according to the control signal output by the controller 811.
介面裝置85係將第一通道及第二通道的資料分流於第一及第二傳輸路徑上傳輸,控制器851、852分別配置於第一及第二傳輸路徑上,使得控制器851所連接之網路卡854可提供第一通道上的裝置連接區域網路或網際網路以存取網路資料,而控制器852所連接之音效卡855則對第二通道上的資料進行音效處理。切換器853係根據控制器811輸出的控制訊號切換在第一傳輸路徑及第二傳輸路徑上傳輸的資料。The interface device 85 distributes the data of the first channel and the second channel to the first and second transmission paths, and the controllers 851 and 852 are respectively disposed on the first and second transmission paths, so that the controller 851 is connected. The network card 854 can provide a device on the first channel to connect to the local area network or the Internet to access the network data, and the sound card 855 connected to the controller 852 performs sound processing on the data on the second channel. The switch 853 switches the data transmitted on the first transmission path and the second transmission path according to the control signal output from the controller 811.
需說明的是,資料流量分析管理裝置81係由控制器 811例如是在有介面裝置82、83、84、85串接時,即透過上述的第一通道及第二通道取得各個介面裝置82、83、84、85的裝置資訊,並據以決定第一通道及第二通道的資料在各個介面裝置82、83、84、85中的傳輸路徑。其中,控制器811例如會判斷GPU 823及網路卡854的資料流量較大,需要占用較大的傳輸頻寬,因此會採用負載平衡策略,將這兩種裝置的傳輸路徑分開。而又由於GPU 823對於傳輸頻寬的需求最大,因此控制器811例如會針對GPU 823採用流量最佳化策略,而控制切換器833切換GPU 823所在的傳輸路徑,以避開光碟機843。如圖8中的粗箭頭所示,控制器811針對GPU 823所規劃的傳輸路徑上只包括GPU 823、硬碟835及音效卡855,藉此可讓GPU 823獲得最大的傳輸頻寬,從而達到傳輸效能的最佳化。It should be noted that the data traffic analysis management device 81 is controlled by a controller. For example, when the interface devices 82, 83, 84, and 85 are connected in series, that is, the device information of each of the interface devices 82, 83, 84, and 85 is obtained through the first channel and the second channel, and the first information is determined. The transmission path of the channel and the second channel data in the respective interface devices 82, 83, 84, 85. For example, the controller 811 determines that the data traffic of the GPU 823 and the network card 854 is large, and needs to occupy a large transmission bandwidth. Therefore, a load balancing policy is adopted to separate the transmission paths of the two devices. Since the GPU 823 has the greatest demand for the transmission bandwidth, the controller 811 adopts a traffic optimization strategy for the GPU 823, for example, and the control switch 833 switches the transmission path where the GPU 823 is located to avoid the optical disk drive 843. As shown by the thick arrows in FIG. 8, the controller 811 includes only the GPU 823, the hard disk 835, and the sound card 855 on the transmission path planned by the GPU 823, thereby allowing the GPU 823 to obtain the maximum transmission bandwidth. Optimize transmission performance.
綜上所述,本發明的介面裝置的資料流量分析管理裝置、系統與方法藉由分析主機所串接之介面裝置的特性,據以分配並切換雷電介面兩個通道的資料傳輸路徑,而可達到資料流量的負載平衡、資料容錯,以及流量最佳化等功效。In summary, the data flow analysis management device, system and method of the interface device of the present invention analyze and analyze the characteristics of the interface device connected in series by the host, and thereby allocate and switch the data transmission paths of the two channels of the lightning interface. Achieve load balancing, data fault tolerance, and traffic optimization for data traffic.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。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...纜線12. . . Cable
122、124...通道122, 124. . . aisle
14、16、222、242、262、282...雷電控制器14, 16, 222, 242, 262, 282. . . Lightning controller
22、51...主機22, 51. . . Host
24、26、28...雷電介面裝置24, 26, 28. . . Lightning interface device
224、244、246、264、266、284、286...雷電介面埠224, 244, 246, 264, 266, 284, 286. . . Lightning interface埠
32、34、52、53、54、55、82、83、84、85...介面裝置32, 34, 52, 53, 54, 55, 82, 83, 84, 85. . . Interface device
321、341...第一介面埠321, 341. . . First interface埠
322、511、62、811、821、831、832、841、851、852...控制器322, 511, 62, 811, 821, 831, 832, 841, 851, 852. . . Controller
323、344、822、833、842、853、40...切換器323, 344, 822, 833, 842, 853, 40. . . Switcher
324、345...第二介面埠324, 345. . . Second interface埠
342...第一控制器342. . . First controller
343...第二控制器343. . . Second controller
50、80...流量分析管理系統50, 80. . . Traffic analysis management system
512、61...介面埠512, 61. . . Interface埠
60、81...流量分析管理裝置60, 81. . . Traffic analysis management device
621...偵測模組621. . . Detection module
622...分析模組622. . . Analysis module
623...管理模組623. . . Management module
823...GPU823. . . GPU
834、835...硬碟834, 835. . . Hard disk
843...光碟機843. . . CD player
854...網路卡854. . . Network card
855...音效卡855. . . Sound Card
A、B、C、D...資料接點A, B, C, D. . . Data contact
E...控制接點E. . . Control contact
S702~S706...本發明一之介面裝置的資料流量分析管理方法的步驟S702~S706. . . The steps of the data flow analysis management method of the interface device of the invention
圖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(a)及圖3(b)分別是依照本發明一實施例所繪示之介面裝置方塊圖。3(a) and 3(b) are block diagrams of interface devices according to an embodiment of the invention, respectively.
圖4是依照本發明一實施例所繪示之切換器的示意圖。4 is a schematic diagram of a switch according to an embodiment of the invention.
圖5是依照本發明一實施例所繪示之介面裝置的資料流量分析管理系統方塊圖。FIG. 5 is a block diagram of a data flow analysis management system of an interface device according to an embodiment of the invention.
圖6是依照本發明一實施例所繪示之介面裝置的資料流量分析管理裝置方塊圖。FIG. 6 is a block diagram of a data flow analysis management apparatus of an interface device according to an embodiment of the invention.
圖7是依照本發明一實施例所繪示之介面裝置的資料流量分析管理方法流程圖。FIG. 7 is a flow chart of a data flow analysis management method of an interface device according to an embodiment of the invention.
圖8是依照本發明一實施例所繪示之介面裝置的資料流量分析管理系統的範例。FIG. 8 is a diagram showing an example of a data flow analysis management system of an interface device according to an embodiment of the invention.
50...流量分析管理系統50. . . Traffic analysis management system
51...主機51. . . Host
52、53、54、55...介面裝置52, 53, 54, 55. . . Interface device
511...控制器511. . . Controller
512...介面埠512. . . Interface埠
Claims (17)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/474,736 US20130159593A1 (en) | 2011-12-20 | 2012-05-18 | Apparatus, system, and method for analyzing and managing data flow of interface apapratuses |
EP12169720.5A EP2608048A1 (en) | 2011-12-20 | 2012-05-29 | Apparatus, system, and method for analyzing and managing data flow of interface apparatuses |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201161577676P | 2011-12-20 | 2011-12-20 |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201327187A TW201327187A (en) | 2013-07-01 |
TWI465922B true TWI465922B (en) | 2014-12-21 |
Family
ID=48636817
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW101104257A TWI465922B (en) | 2011-12-20 | 2012-02-09 | Apparatus, system and method for data flow analysis and management of interface apapratuses |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103176925A (en) |
TW (1) | TWI465922B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI525451B (en) * | 2014-07-21 | 2016-03-11 | 緯創資通股份有限公司 | Storage system and data transferring method thereof |
CN106610789B (en) * | 2015-10-26 | 2019-08-16 | 华为技术有限公司 | A kind of data processing method, apparatus and system |
CN105975299B (en) * | 2016-04-28 | 2019-06-11 | 广州视源电子科技股份有限公司 | Channel switching device, burning data detection method and system, and data burning method and system |
TWI756860B (en) * | 2020-10-08 | 2022-03-01 | 緯創資通股份有限公司 | Channel structure for signal transmission |
CN113868171B (en) * | 2021-09-28 | 2024-06-18 | 上海兆芯集成电路股份有限公司 | Interconnection system |
CN114071523A (en) * | 2021-10-14 | 2022-02-18 | 深圳市有方科技股份有限公司 | Communication terminal and communication method based on double wireless communication modules |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030217182A1 (en) * | 2002-05-15 | 2003-11-20 | Xiaodong Liu | Interface architecture |
TW200519731A (en) * | 2003-10-27 | 2005-06-16 | Intel Corp | Method, system, and program for constructing a packet |
TW200705193A (en) * | 2005-07-21 | 2007-02-01 | Via Tech Inc | Data processing method and system based on a serial transmission interface |
TW201020571A (en) * | 2008-11-26 | 2010-06-01 | Inventec Corp | A testing method of the bus of the PCI-E |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1476210A (en) * | 2002-08-13 | 2004-02-18 | 高速浏览股份有限公司 | Method and system used for module resident gateway |
US7272774B2 (en) * | 2004-04-16 | 2007-09-18 | Kingston Technology Corp. | Extender card for testing error-correction-code (ECC) storage area on memory modules |
US20100183004A1 (en) * | 2009-01-16 | 2010-07-22 | Stmicroelectronics, Inc. | System and method for dual mode communication between devices in a network |
-
2012
- 2012-02-09 TW TW101104257A patent/TWI465922B/en active
- 2012-03-06 CN CN2012100568167A patent/CN103176925A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030217182A1 (en) * | 2002-05-15 | 2003-11-20 | Xiaodong Liu | Interface architecture |
TW200519731A (en) * | 2003-10-27 | 2005-06-16 | Intel Corp | Method, system, and program for constructing a packet |
TW200705193A (en) * | 2005-07-21 | 2007-02-01 | Via Tech Inc | Data processing method and system based on a serial transmission interface |
TW201020571A (en) * | 2008-11-26 | 2010-06-01 | Inventec Corp | A testing method of the bus of the PCI-E |
Also Published As
Publication number | Publication date |
---|---|
CN103176925A (en) | 2013-06-26 |
TW201327187A (en) | 2013-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10210121B2 (en) | System for switching between a single node PCIe mode and a multi-node PCIe mode | |
TWI465922B (en) | Apparatus, system and method for data flow analysis and management of interface apapratuses | |
JP7105710B2 (en) | Systems and methods for supporting multi-mode and/or multi-speed NVMe-oF devices | |
US8694723B2 (en) | Method and system for coupling serial attached SCSI (SAS) devices and internet small computer system internet (iSCSI) devices through single host bus adapter | |
JP6137313B2 (en) | High availability computer system | |
US7565474B2 (en) | Computer system using serial connect bus, and method for interconnecting a plurality of CPU using serial connect bus | |
US9535866B2 (en) | Asymmetric storage device wide link | |
KR101209920B1 (en) | Ssd memory system | |
CN103152397A (en) | Method for designing multi-control storage system | |
US10095652B2 (en) | Host configured multi serial interface device | |
US20140250239A1 (en) | System and Method for Routing Data to Devices within an Information Handling System | |
US20150113181A1 (en) | Seamless Switching of USB Devices Connected to a Monitor Hub | |
US20130159593A1 (en) | Apparatus, system, and method for analyzing and managing data flow of interface apapratuses | |
US9547616B2 (en) | High bandwidth symmetrical storage controller | |
CN105007307A (en) | Storage control method and system | |
US9430436B1 (en) | Event-based in-band host registration | |
US20080052431A1 (en) | Method and Apparatus for Enabling Virtual Channels Within A Peripheral Component Interconnect (PCI) Express Bus | |
US20140032802A1 (en) | Data routing system supporting dual master apparatuses | |
US9253276B2 (en) | Multi-protocol bridge with integrated performance accelerating cache | |
CN101290556A (en) | Magnetic disc array sharing device | |
US9117037B2 (en) | Interface apparatus, cascading system thereof and cascading method thereof | |
US10938904B2 (en) | Multi-processor/endpoint data splitting system | |
TWI465923B (en) | Interface apparatus, connecting system thereof and connecting method thereof | |
US9876874B2 (en) | Network selecting apparatus and operating method thereof | |
US20130132630A1 (en) | System and method for video routing and display |