技术领域technical field
本发明是有关于一种数据路由系统及方法,且特别是有关于一种采用多个霹雳装置的菊花链串接装置的数据路由系统及方法。The present invention relates to a data routing system and method, and more particularly to a data routing system and method for daisy-chained devices using multiple Thunderbolt devices.
背景技术Background technique
随着科技的进步,电脑的功能趋于多样化,各式各样的周边设备也不断推陈出新。为了能够方便使用者提升电脑效能或是扩充电脑功能,电脑的主机板上一般会配置加速图形端口(AcceleratedGraphicsPort,AGP)、外围组件互联(PeripheralComponentInterconnect,PCI)、快捷PCI(PCIExpress,PCI-E)等总线插槽,以供使用者插入显卡、声卡、网卡等扩充卡。此外,电脑主机上也会配置火线(Firewire)、通用串行总线(UniversalSerialBus,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 users to improve computer performance or expand computer functions, the motherboard of the computer is generally equipped with accelerated graphics port (Accelerated Graphics Port, AGP), peripheral component interconnect (Peripheral Component Interconnect, PCI), express PCI (PCI Express, PCI-E), etc. The bus slot is used for users to insert expansion cards such as a graphics card, a sound card, and a network card. In addition, expansion interfaces such as Firewire and Universal Serial Bus (USB) are also configured on the host computer 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 has introduced a new Thunderbolt (Thunderbolt) interface, which integrates PCI-E and DisplayPort (DisplayPort) two technologies, and can simultaneously transmit data and image streams in the same cable. FIG. 1 is a schematic diagram of data transmission of an existing Thunderbolt interface. Please refer to FIG. 1 , the Thunderbolt transmission technology provides two channels 122 , 124 in the same cable 12 as PCI-E and DisplayPort to transmit data and image streams respectively. Through the control of the thunderbolt controllers 14 and 16 arranged at the two ends of the cable 12, the transmission of each channel in both directions can reach a transmission volume of 10 billion bits (GigaBit, GB) per second, making the computer and peripheral equipment Data can be transferred back and forth at high speed. The bandwidth provided by Thunderbolt transmission technology can also allow multiple high-speed devices to be connected in daisy-chain (Daisy-chain) without using hubs or switches.
举例来说,图2是现有霹雳接口的菊花链串接架构的示意图。请参照图2,为了实现菊花链的串接方式,作为主控端的主机22需要配置一个霹雳接口端口224及一个支援双通道传输的霹雳控制器222,其后续串接的霹雳接口装置24、26、28则都需要配置两个以上的霹雳接口端口244、246、264、266、284、286。其中,由于每个霹雳接口均具有两个通道,因此这些霹雳接口装置24、26、28内还需要配置一个支援4个通道的霹雳控制器242、262、282,无形之间也增加了装置的生产成本。For example, FIG. 2 is a schematic diagram of the daisy-chain serial architecture of the existing Thunderbolt interface. Please refer to FIG. 2 , in order to realize the daisy chain connection mode, the host computer 22 as the master control terminal needs to be equipped with a Thunderbolt interface port 224 and a Thunderbolt controller 222 supporting dual-channel transmission, and its subsequent series-connected Thunderbolt interface devices 24, 26 , 28 need to configure more than two Thunderbolt interface ports 244, 246, 264, 266, 284, 286. Among them, since each Thunderbolt interface has two channels, these Thunderbolt interface devices 24, 26, 28 also need to be equipped with a Thunderbolt controller 242, 262, 282 supporting 4 channels, which also increases the number of devices. Cost of production.
然而,目前霹雳接口的两个通道仅个别用以传送数据及图像串流,不支援通道集成(channelaggregation),从而使得传输效能受到限制。当使用者串接的霹雳装置中不包含显示相关装置时,用以传输图像串流的通道将被闲置,连带使得高成本配置的霹雳接口端口及霹雳控制器只能提供一半的传输效能,形成资源浪费。此外,菊花链的串接架构也不允许两个主控(master)装置并存,只能由单一个主控装置与其他串接装置传输数据,相对的也限制了霹雳装置的应用范围。However, currently, the two channels of the Thunderbolt interface are only used to transmit data and image streams individually, and do not support channel aggregation (channel aggregation), thus limiting the transmission performance. When the Thunderbolt device connected in series by the user does not include a display-related device, the channel used to transmit the image stream will be idle, and the high-cost configuration of the Thunderbolt interface port and the Thunderbolt controller can only provide half of the transmission performance, resulting in Waste of resources. In addition, the serial connection structure of the daisy chain does not allow two master devices to coexist, and only a single master device can transmit data with other serial devices, which also limits the application range of the Thunderbolt device.
发明内容Contents of the invention
有鉴于此,本发明提供一种菊花链串接装置的数据路由系统及方法,可允许两个主控装置串接,并协调使用第一通道及第二通道传输数据。In view of this, the present invention provides a data routing system and method for daisy chain serial devices, which can allow two master devices to be connected in series, and coordinate the use of the first channel and the second channel to transmit data.
本发明提供一种菊花链串接装置的数据路由系统,其包括至少一个第一类接口装置、至少一个第二类接口装置以及第一主控装置。第一类接口装置适于使用第一通道传输数据。第二类接口装置是采用菊花链方式与第一类接口装置串接,适于使用第二通道传输数据。第一主控装置是采用菊花链方式与第一类接口装置及第二类接口装置串接,而用以根据数据存取需求,切换其与第一类接口装置及第二类接口装置之间的数据路由,以通过第一通道与第一类接口装置传输数据,或是通过第二通道与第二类接口装置传输数据。The present invention provides a data routing system for daisy chain serial devices, which includes at least one first type interface device, at least one second type interface device and a first master control device. The interface device of the first type is adapted to transmit data using the first channel. The second type of interface device is serially connected with the first type of interface device in a daisy chain manner, and is suitable for using the second channel to transmit data. The first main control device is serially connected with the first type interface device and the second type interface device in a daisy chain mode, and is used to switch between the first type interface device and the second type interface device according to the data access requirements The data routing for transmitting data through the first channel and the first type of interface device, or transmitting data through the second channel and the second type of interface device.
在本发明的一实施例中,上述的每个第一类接口装置具有第一控制器、第一接口端口及第二接口端口,其中第一控制器分别连接第一接口端口及第二接口端口以处理第一通道的数据,第二接口端口则连接第一接口端口以传输第二通道的数据。上述的每个第二类接口装置具有第二控制器、用以串接第一类接口装置的第二接口端口的第三接口端口,以及用以串接第一类接口装置的第一接口端口的第四接口端口,其中第二控制器分别连接第三接口端口及第四接口端口以处理第二通道的数据,第四接口端口连接第三接口端口以传输第一通道的数据。上述的第一主控装置包括第五接口端口、第六接口端口及第三控制器。其中,第五接口端口是用以串接第一类接口装置之一的第二接口端口,或第二类接口装置之一的第四接口端口,第六接口端口是用以串接第一类接口装置之一的第一接口端口,或第二类接口装置之一的第三接口端口。第三控制器是连接第五接口端口及第六接口端口,而用以根据数据存取需求,以通过第一通道与第一类接口装置传输数据,或是通过第二通道与第二类接口装置传输数据。In an embodiment of the present invention, each of the above-mentioned first type interface devices has a first controller, a first interface port and a second interface port, wherein the first controller is connected to the first interface port and the second interface port respectively to process the data of the first channel, and the second interface port is connected to the first interface port to transmit the data of the second channel. Each of the above-mentioned second-type interface devices has a second controller, a third interface port for serial connection with the second interface port of the first-type interface device, and a first interface port for serial connection with the first-type interface device The fourth interface port, wherein the second controller is respectively connected to the third interface port and the fourth interface port to process the data of the second channel, and the fourth interface port is connected to the third interface port to transmit the data of the first channel. The above-mentioned first main control device includes a fifth interface port, a sixth interface port and a third controller. Wherein, the fifth interface port is used to serially connect the second interface port of one of the first type interface devices, or the fourth interface port of one of the second type interface devices, and the sixth interface port is used to serially connect the first type A first interface port of one of the interface devices, or a third interface port of one of the second type of interface devices. The third controller is connected to the fifth interface port and the sixth interface port, and is used to transmit data through the first channel and the first type of interface device according to the data access requirements, or through the second channel and the second type of interface The device transmits data.
在本发明的另一实施例中,上述的第一主控装置还包括多工器,其是配置于第三控制器、第五接口端口及第六接口端口之间,用以接收第三控制器根据数据存取需求所产生的控制信号,据以切换第三控制器与第五接口端口及第六接口端口之间的数据路由,使得第三控制器通过第一通道与第一类接口装置传输数据,或是通过第二通道与第二类接口装置传输数据。In another embodiment of the present invention, the above-mentioned first master control device further includes a multiplexer, which is configured between the third controller, the fifth interface port, and the sixth interface port to receive the third control The control signal generated by the device according to the data access requirements is used to switch the data route between the third controller and the fifth interface port and the sixth interface port, so that the third controller communicates with the first type of interface device through the first channel transmit data, or transmit data through the second channel and the second type of interface device.
在本发明的另一实施例中,上述的第一主控装置还包括通信模块,其是连接第三控制器,用以建立第一主控装置与外部装置之间的通信连接,以接收外部装置对于第一类接口装置或第二类接口装置的数据存取需求,并传送此数据存取需求给第三控制器。In another embodiment of the present invention, the above-mentioned first main control device further includes a communication module, which is connected to the third controller to establish a communication connection between the first main control device and an external device to receive external The device has a data access request for the first type of interface device or the second type of interface device, and transmits the data access request to the third controller.
在本发明的又一实施例中,上述的第三控制器在接收到对于第一类接口装置的数据存取需求时,输出第一控制信号至多工器,以控制多工器将第三控制器连接至第五接口端口及第六接口端口以处理第一通道的数据,以及将第六接口端口连接至第五接口端口以传输第二通道的数据。In yet another embodiment of the present invention, when the above-mentioned third controller receives the data access request for the first type of interface device, it outputs the first control signal to the multiplexer, so as to control the multiplexer to switch the third control The connector is connected to the fifth interface port and the sixth interface port to process the data of the first channel, and the sixth interface port is connected to the fifth interface port to transmit the data of the second channel.
在本发明的又一实施例中,上述的第三控制器在接收到对于第二类接口装置的数据存取需求时,输出第二控制信号至多工器,以控制多工器将第三控制器连接至第五接口端口及第六接口端口以处理第二通道的数据,以及将第六接口端口连接至第五接口端口以传输第一通道的数据。In yet another embodiment of the present invention, when the above-mentioned third controller receives the data access demand for the second type of interface device, it outputs the second control signal to the multiplexer, so as to control the multiplexer to switch the third control The connector is connected to the fifth interface port and the sixth interface port to process the data of the second channel, and the sixth interface port is connected to the fifth interface port to transmit the data of the first channel.
在本发明的再一实施例中,上述的数据路由系统还包括第二主控装置。此第二主控装置包括第七接口端口及第四控制器,其中第七接口端口是用以与第一类接口装置之一的第一接口端口,第二类接口装置之一的第三接口端口,或第一主控装置的第五接口端口串接。第四控制器是连接该第七接口端口,用以通过第一通道与第一类接口装置传输数据,或是通过第二通道与第二类接口装置传输数据。In yet another embodiment of the present invention, the above data routing system further includes a second master control device. The second master control device includes a seventh interface port and a fourth controller, wherein the seventh interface port is used for the first interface port of one of the first type of interface devices, and the third interface of one of the second type of interface devices port, or the fifth interface port of the first master control device is connected in series. The fourth controller is connected to the seventh interface port to transmit data with the first type of interface device through the first channel, or transmit data with the second type of interface device through the second channel.
在本发明的再一实施例中,上述第一主控装置的第三控制器还与第二主控装置的第四控制器协调以使用第一通道及第二通道传输数据。其中,当第四控制器使用第一通道传输数据时,第三控制器即使用第二通道传输数据;而当第四控制器处理第二通道传输数据时,第三控制器即使用第一通道传输数据。In yet another embodiment of the present invention, the third controller of the first main control device further coordinates with the fourth controller of the second main control device to transmit data using the first channel and the second channel. Among them, when the fourth controller uses the first channel to transmit data, the third controller uses the second channel to transmit data; and when the fourth controller processes the second channel to transmit data, the third controller uses the first channel transfer data.
本发明提供一种菊花链串接装置的数据路由方法,适用于采用菊花链方式串接以通过第一通道与第二通道传输数据的第一主控装置、至少一个第一类接口装置与至少一个第二类接口装置,其中所述第一类接口装置适于使用第一通道传输数据,所述第二类接口装置适于使用第二通道传输数据,此方法包括是接收外部装置对于第一类接口装置或第二类接口装置的数据存取需求。其中,在接收到对于第一类接口装置的数据存取需求时,切换第一主控装置与第一类接口装置及第二类接口装置之间的数据路由,使得第一主控装置经由第一通道与第一类接口装置传输数据;在接收到对于第二类接口装置的存取需求时,切换第一主控装置与第一类接口装置及第二类接口装置之间的数据路由,使得第一主控装置经由第二通道与第二类接口装置传输数据。The present invention provides a data routing method for a daisy-chain serial device, which is suitable for a first master control device, at least one first-type interface device, and at least An interface device of a second type, wherein the interface device of the first type is adapted to transmit data using a first channel, and the interface device of the second type is adapted to transmit data using a second channel, the method comprising receiving an external device for the first The data access requirements of the class interface device or the second type interface device. Wherein, when receiving a data access request for the first type of interface device, switch the data route between the first main control device and the first type of interface device and the second type of interface device, so that the first main control device passes through the first type of interface device. A channel transmits data with the first type of interface device; when receiving an access request for the second type of interface device, switching the data route between the first main control device and the first type of interface device and the second type of interface device, The first main control device transmits data with the second type interface device via the second channel.
在本发明的一实施例中,上述方法还包括检测采用该菊花链方式与第一类接口装置、第二类接口装置或主控装置串接的第二主控装置,而当检测到第二主控装置时,即协调第二主控装置以使用第一通道及第二通道传输数据。其中,当第一主控装置使用第一通道传输数据时,第二主控装置使用第二通道传输数据;当第一主控装置处理第二通道传输数据时,第二主控装置则使用第一通道传输数据。In an embodiment of the present invention, the above method further includes detecting the second main control device connected in series with the first type interface device, the second type interface device or the main control device in the daisy chain mode, and when the second When the master device is used, it coordinates the second master device to use the first channel and the second channel to transmit data. Wherein, when the first main control device uses the first channel to transmit data, the second main control device uses the second channel to transmit data; when the first main control device processes the second channel to transmit data, the second main control device uses the second channel to transmit data One channel transmits data.
在本发明的另一实施例中,上述当检测到第二主控装置时,协调第二主控装置以使用第一通道及第二通道传输数据的步骤还包括当第一主控装置同时使用第一通道及第二通道传输数据时,第二主控装置不使用第一通道及第二通道传输数据;当第二主控装置同时使用第一通道及第二通道传输数据时,第一主控装置不使用第一通道及第二通道传输数据。In another embodiment of the present invention, when the second master device is detected, the step of coordinating the second master device to use the first channel and the second channel to transmit data also includes when the first master device simultaneously uses When the first channel and the second channel transmit data, the second master device does not use the first channel and the second channel to transmit data; when the second master device uses the first channel and the second channel to transmit data at the same time, the first master device The control device does not use the first channel and the second channel to transmit data.
在本发明的又一实施例中,上述的第一控制器、第二控制器及第三控制器为支援双通道或四通道数据传输的霹雳控制器。上述的第一类接口装置与第二类接口装置包括采用霹雳接口传输数据的图形处理装置、显示装置、储存装置或编程装置。In yet another embodiment of the present invention, the above-mentioned first controller, second controller and third controller are Thunderbolt controllers supporting dual-channel or four-channel data transmission. The first type of interface device and the second type of interface device mentioned above include a graphics processing device, a display device, a storage device, or a programming device that transmits data through the Thunderbolt interface.
基于上述,本发明的菊花链串接装置的数据路由系统及方法是更改霹雳接口装置的设计,分别使用霹雳接口两个数据传输通道来传输数据,并通过主控装置的控制,切换主控装置与两种霹雳接口装置之间的数据路由,以与两种霹雳接口装置传输数据。此外,主控装置还可与另一主控装置协调,以分别使用两个数据传输通道来传输数据,因此可增加霹雳装置的应用范围。Based on the above, the data routing system and method of the daisy chain serial device of the present invention is to change the design of the thunderbolt interface device, use the two data transmission channels of the thunderbolt interface to transmit data, and switch the main control device through the control of the main control device Data routing to and from two Thunderbolt interface devices to transfer data to and from both Thunderbolt interface devices. In addition, the master control device can also coordinate with another master control device to use two data transmission channels to transmit data respectively, thus increasing the application range of the Thunderbolt device.
为让本发明的上述特征和优点能更明显易懂,下文特举实施例,并配合附图作详细说明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail with reference to the accompanying drawings.
附图说明Description of drawings
图1是现有霹雳接口的数据传输示意图;FIG. 1 is a schematic diagram of data transmission of an existing Thunderbolt interface;
图2是现有霹雳接口的菊花链串接架构的示意图;FIG. 2 is a schematic diagram of a daisy-chain serial architecture of an existing Thunderbolt interface;
图3是依照本发明一实施例所绘示的菊花链串接装置的数据路由系统方块图;FIG. 3 is a block diagram of a data routing system of a daisy chain serial device according to an embodiment of the present invention;
图4是依照本发明一实施例所绘示的菊花链串接装置的数据路由方法流程图;FIG. 4 is a flow chart of a data routing method of a daisy chain serial device according to an embodiment of the present invention;
图5是依照本发明另一实施例所绘示的菊花链串接装置的数据路由系统方块图;FIG. 5 is a block diagram of a data routing system of a daisy chain serial device according to another embodiment of the present invention;
图6是依照本发明另一实施例所绘示的菊花链串接装置的数据路由方法流程图;FIG. 6 is a flow chart of a data routing method of a daisy chain serial device according to another embodiment of the present invention;
图7是依照本发明又一实施例所绘示的菊花链串接装置的数据路由系统方块图;7 is a block diagram of a data routing system of a daisy chain serial device according to yet another embodiment of the present invention;
图8是依照本发明又一实施例所绘示的菊花链串接装置的数据路由方法流程图;FIG. 8 is a flow chart of a data routing method of a daisy chain serial device according to yet another embodiment of the present invention;
图9是依照本发明再一实施例所绘示的菊花链串接装置的数据路由系统方块图。FIG. 9 is a block diagram of a data routing system of a daisy-chain device according to yet another embodiment of the present invention.
附图标记说明:Explanation of reference signs:
12:缆线;12: cable;
122、124:通道;122, 124: channel;
14、16、222、242、262、282:霹雳控制器;14, 16, 222, 242, 262, 282: Thunderbolt controller;
22:主机;22: Host;
24、26、28:霹雳接口装置;24, 26, 28: Thunderbolt interface device;
224、244、246、264、266、284、286:霹雳接口端口;224, 244, 246, 264, 266, 284, 286: Thunderbolt interface ports;
30、50、70、90:数据路由系统;30, 50, 70, 90: data routing system;
32、52、72、92:第一类接口装置;32, 52, 72, 92: the first type of interface device;
34、54、74、94:第二类接口装置;34, 54, 74, 94: the second type of interface device;
36、56、76、78、96、98:主控装置;36, 56, 76, 78, 96, 98: main control device;
322、342、362、562、722、742、762、782、962:控制器;322, 342, 362, 562, 722, 742, 762, 782, 962: controller;
324、326、344、346、364、366、564、566、724、726、744、746、764、766、784、964、966:接口端口;324, 326, 344, 346, 364, 366, 564, 566, 724, 726, 744, 746, 764, 766, 784, 964, 966: interface port;
568、968:多工器;568, 968: multiplexer;
76、96:第一主控装置;76, 96: the first main control device;
78、98:第二主控装置;78, 98: the second main control device;
A~F:接点;A~F: contacts;
P、P’、Q、Q’、R、S、T、U:通道;P, P', Q, Q', R, S, T, U: channel;
S402~S406:本发明一实施例的菊花链串接装置的数据路由方法的步骤;S402-S406: Steps of the data routing method of the daisy chain serial device according to an embodiment of the present invention;
S602~S606:本发明一实施例的菊花链串接装置的数据路由方法的步骤;S602-S606: steps of the data routing method of the daisy-chain serial device according to an embodiment of the present invention;
S802~S810:本发明一实施例的菊花链串接装置的数据路由方法的步骤。S802-S810: Steps of the data routing method of the daisy-chain serial device according to an embodiment of the present invention.
具体实施方式detailed description
本发明是利用霹雳接口的高传输带宽以及菊花链串接特性,将霹雳接口的两个数据传输通道均用来传输数据,并将霹雳装置设计为仅处理其中一个通道的数据,而直接绕道(bypass)另一个通道的数据。此外,与这些霹雳装置串接的主控装置则还可依据使用者、外部装置或另一个串接的主控装置的数据存取需求,分配使用两个通道或其中一个通道来传输数据。The present invention utilizes the high transmission bandwidth of the thunderbolt interface and the characteristics of daisy chain serial connection, uses both data transmission channels of the thunderbolt interface to transmit data, and designs the thunderbolt device to only process the data of one of the channels, and directly detours ( bypass) the data of another channel. In addition, the master control device connected in series with these thunderbolt devices can also allocate and use two channels or one of the channels to transmit data according to the data access requirements of the user, an external device or another master control device connected in series.
图3是依照本发明一实施例所绘示的菊花链串接装置的数据路由系统方块图。请参照图3,本实施例的数据路由系统30包括第一类接口装置32、第二类接口装置34及主控装置36,其功能分述如下:FIG. 3 is a block diagram of a data routing system of a daisy chain serial device according to an embodiment of the present invention. Please refer to FIG. 3, the data routing system 30 of the present embodiment includes a first type interface device 32, a second type interface device 34 and a main control device 36, and its functions are described as follows:
第一类接口装置32例如是采用霹雳接口传输数据的图形处理装置(包含图形处理单元(GPU))、显示装置、储存装置、编程装置或其他周边装置,其具有第一控制器322、第一接口端口324及第二接口端口326。其中,第一控制器322分别连接第一接口端口324及第二接口端口326以处理第一通道的数据,第二接口端口326是连接第一接口端口324以传输第二通道的数据。The first type of interface device 32 is, for example, a graphics processing device (including a graphics processing unit (GPU)), a display device, a storage device, a programming device or other peripheral devices that use a thunderbolt interface to transmit data, and it has a first controller 322, a first The interface port 324 and the second interface port 326 . Wherein, the first controller 322 is respectively connected to the first interface port 324 and the second interface port 326 to process the data of the first channel, and the second interface port 326 is connected to the first interface port 324 to transmit the data of the second channel.
第二类接口装置34同样可以是采用霹雳接口传输数据的图形处理装置、显示装置、储存装置、编程装置或其他周边装置,其具有第二控制器342、第三接口端口344及第四接口端口346。其中,第二控制器342分别连接第三接口端口344及第四接口端口346以处理第二通道的数据,第四接口端口346则连接第三接口端口344以传输第一通道的数据。由于第一类接口装置32与第二类接口装置34均仅需处理一个数据传输通道的数据,因此其中的第一控制器322及第二控制器342均仅需采用支援双通道数据传输的霹雳控制器,从而降低了接口装置的生产成本。The second type of interface device 34 can also be a graphics processing device, a display device, a storage device, a programming device or other peripheral devices that use a thunderbolt interface to transmit data, and it has a second controller 342, a third interface port 344 and a fourth interface port 346. Wherein, the second controller 342 is respectively connected to the third interface port 344 and the fourth interface port 346 to process the data of the second channel, and the fourth interface port 346 is connected to the third interface port 344 to transmit the data of the first channel. Since the first type of interface device 32 and the second type of interface device 34 only need to process the data of one data transmission channel, the first controller 322 and the second controller 342 only need to use Thunderbolt which supports dual-channel data transmission. controller, thereby reducing the production cost of the interface device.
主控装置36例如是台式电脑、笔记本电脑、工作站等终端装置,其中包括处理器及各种输入输出接口,而可连接周边设备,并处理使用者执行的程序。主控装置36中还包括存储器或硬盘等储存设备,而可储存处理器所执行的程序或其他数据。The main control device 36 is, for example, a terminal device such as a desktop computer, a notebook computer, or a workstation, which includes a processor and various input and output interfaces, and can be connected to peripheral devices to process programs executed by users. The main control device 36 also includes storage devices such as a memory or a hard disk, which can store programs executed by the processor or other data.
需说明的是,主控装置36包括第五接口端口364、第六接口端口366及第三控制器362。其中,第五接口端口364是用以串接第二类接口装置34的第四接口端口346(或第一类接口装置32的第二接口端口326),第六接口端口366是用以串接第二类接口装置34的第三接口端口344(或第一类接口装置32的第一接口端口324)。第三控制器362例如是一个支援四通道数据传输的霹雳控制器,其是连接第五接口端口364及第六接口端口366,而用以根据数据存取需求,以通过第一通道与第一类接口装置传输数据,或是通过第二通道与第二类接口装置传输数据。It should be noted that the main control device 36 includes a fifth interface port 364 , a sixth interface port 366 and a third controller 362 . Wherein, the fifth interface port 364 is used for serially connecting the fourth interface port 346 of the second type interface device 34 (or the second interface port 326 of the first type interface device 32), and the sixth interface port 366 is used for serially connecting The third interface port 344 of the second type of interface device 34 (or the first interface port 324 of the first type of interface device 32 ). The third controller 362 is, for example, a thunderbolt controller supporting four-channel data transmission, which is connected to the fifth interface port 364 and the sixth interface port 366, and is used to pass the first channel and the first channel according to data access requirements. The similar interface device transmits data, or transmits data with the second type interface device through the second channel.
详言之,主控装置36可作为一个云服务器(cloudserver),以提供外部装置对其所串接的第一类接口装置32及第二类接口装置34进行数据存取。主控装置36中例如还包括一个通信模块(未绘示),其是与第三控制器362连接,而用以建立主控装置36与外部装置(未绘示)之间的通信连接,以接收外部装置对于第一类接口装置32或第二类接口装置34的数据存取需求。所述的通信模块例如是支援电机和电子工程师协会(InstituteofElectricalandElectronicsEngineers,IEEE)802.11n/b/g等无线通信标准的无线收发器,其可提供主控装置36通过无线方式与外部装置建立网络连接。此通信模块也可以是支援有线网络连接的网卡,在此不设限。Specifically, the main control device 36 can be used as a cloud server to provide external devices with data access to the first type interface device 32 and the second type interface device 34 connected in series. For example, the main control device 36 also includes a communication module (not shown), which is connected to the third controller 362, and is used to establish a communication connection between the main control device 36 and an external device (not shown), so as to A data access request from an external device for the first-type interface device 32 or the second-type interface device 34 is received. The communication module is, for example, a wireless transceiver supporting wireless communication standards such as Institute of Electrical and Electronics Engineers (Institute of Electrical and Electronics Engineers, IEEE) 802.11n/b/g, which can provide the main control device 36 to establish a network connection with external devices in a wireless manner. The communication module can also be a network card supporting wired network connection, and there is no limitation here.
通过上述的系统架构,主控装置36即可根据外部装置的数据存取需求,选择使用霹雳接口的第一通道与第一类接口装置32传输数据,或是使用第二通道与第二类接口装置34传输数据。以下则再举一实施例详细说明。Through the above-mentioned system architecture, the main control device 36 can choose to use the first channel of the Thunderbolt interface to transmit data with the first-type interface device 32, or use the second channel and the second-type interface according to the data access requirements of the external device. The device 34 transmits data. Hereinafter, another embodiment will be given in detail.
图4是依照本发明一实施例所绘示的菊花链串接装置的数据路由方法流程图。请参照图4,本实施例的数据路由方法适用于上述实施例的数据路由系统30,以下即搭配数据路由系统30中的各项元件,说明数据路由方法的详细步骤:FIG. 4 is a flow chart of a data routing method for daisy-chained devices according to an embodiment of the present invention. Please refer to FIG. 4 , the data routing method of this embodiment is applicable to the data routing system 30 of the above-mentioned embodiment, and the following is to match various components in the data routing system 30 to illustrate the detailed steps of the data routing method:
首先,由主控装置36接收外部装置对于第一类接口装置32或第二类接口装置34的数据存取需求(步骤S402)。其中,主控装置36例如是由通信模块建立其与外部装置之间的通信连接,以接收外部装置的数据存取需求,并传送给第三控制器362。First, the main control device 36 receives a data access request from an external device for the first-type interface device 32 or the second-type interface device 34 (step S402 ). Wherein, the main control device 36 is, for example, established a communication connection with the external device by the communication module, so as to receive the data access request of the external device and send it to the third controller 362 .
接着,第三控制器362在接收到对于第一类接口装置32的数据存取需求时,即会切换主控装置36与第一类接口装置32及第二类接口装置34之间的数据路由,使得主控装置36可经由第一通道与第一类接口装置32传输数据(步骤S404)。Then, when the third controller 362 receives the data access request for the first type interface device 32, it will switch the data route between the main control device 36, the first type interface device 32 and the second type interface device 34 , so that the main control device 36 can transmit data with the first type interface device 32 via the first channel (step S404).
另一方面,第三控制器362在接收到对于第二类接口装置34的数据存取需求时,即会切换主控装置36与第一类接口装置32及第二类接口装置34之间的数据路由,使得主控装置36可经由第二通道与第二类接口装置34传输数据(步骤S406)。On the other hand, when the third controller 362 receives the data access request for the second type interface device 34, it will switch between the main control device 36 and the first type interface device 32 and the second type interface device 34. The data is routed so that the main control device 36 can transmit data with the second type interface device 34 via the second channel (step S406 ).
通过上述方法,主控装置36即可依照数据存取需求,在第一通道与第二通道之间自由切换,而与第一类接口装置32或第二类接口装置34进行数据传输。Through the above method, the main control device 36 can freely switch between the first channel and the second channel according to data access requirements, and perform data transmission with the first type interface device 32 or the second type interface device 34 .
值得一提的是,在上述数据路由系统30中,主控装置36的第三控制器362需采用支援四通道数据传输的霹雳控制器,如此才能处理两个接口端口总共四个通道的数据传输。在另一实施例中,主控装置中可再配置一个多工器,而通过控制器的控制,切换主控装置与第一类接口装置及第二类接口装置之间的数据路由,藉此主控装置36的第三控制器362只需采用支援双通道数据传输的霹雳控制器,即可以满足双通道的数据存取需求。以下则再举一实施例详细说明。It is worth mentioning that, in the above data routing system 30, the third controller 362 of the main control device 36 needs to adopt a thunderbolt controller that supports four-channel data transmission, so that it can handle a total of four channels of data transmission for two interface ports . In another embodiment, a multiplexer can be configured in the main control device, and through the control of the controller, the data route between the main control device and the first type of interface device and the second type of interface device can be switched, thereby The third controller 362 of the main control device 36 only needs to adopt a Thunderbolt controller supporting dual-channel data transmission, so as to meet the data access requirements of the dual-channel. Hereinafter, another embodiment will be given in detail.
图5是依照本发明另一实施例所绘示的菊花链串接装置的数据路由系统方块图。请参照图5,本实施例的数据路由系统50包括第一类接口装置52、第二类接口装置54及主控装置56,其功能分述如下:FIG. 5 is a block diagram of a data routing system of a daisy chain serial device according to another embodiment of the present invention. Please refer to FIG. 5, the data routing system 50 of the present embodiment includes a first type interface device 52, a second type interface device 54 and a main control device 56, and its functions are described as follows:
第一类接口装置52及第二类接口装置54的配置及功能是与上述实施例中的第一类接口装置32及第二例如接口装置34相同或相似,故在此不再赘述。The configurations and functions of the first type interface device 52 and the second type interface device 54 are the same or similar to those of the first type interface device 32 and the second type interface device 34 in the above embodiment, so details are not repeated here.
与前述实施例不同的是,本实施例的主控装置56的第三控制器562是采用支援双通道数据传输的霹雳控制器,且在第五接口端口564、第六接口端口566及第三控制器562之间还配置一个多工器568,而可依据第三控制器562的控制,切换第三控制器562与第五接口端口564及第六接口端口566之间的数据路由。Different from the previous embodiments, the third controller 562 of the main control device 56 of this embodiment is a thunderbolt controller that supports dual-channel data transmission, and the fifth interface port 564, the sixth interface port 566 and the third A multiplexer 568 is also arranged between the controllers 562 , and the data route between the third controller 562 and the fifth interface port 564 and the sixth interface port 566 can be switched according to the control of the third controller 562 .
详言之,图6是依照本发明另一实施例所绘示的菊花链串接装置的数据路由方法流程图。请参照图6,本实施例的数据路由方法适用于上述实施例的数据路由系统50,以下即搭配数据路由系统50中的各项元件,说明数据路由方法的详细步骤:In detail, FIG. 6 is a flowchart of a data routing method of a daisy-chain device according to another embodiment of the present invention. Please refer to FIG. 6, the data routing method of the present embodiment is applicable to the data routing system 50 of the above-mentioned embodiment, and the detailed steps of the data routing method are described below with the components in the data routing system 50:
首先,由主控装置56接收外部装置对于第一类接口装置52或第二类接口装置54的数据存取需求(步骤S602)。其中,主控装置56例如是由通信模块建立其与外部装置之间的通信连接,以接收外部装置的数据存取需求,并传送给第三控制器562。First, the main control device 56 receives a data access request from an external device for the first type interface device 52 or the second type interface device 54 (step S602 ). Wherein, the main control device 56 is, for example, established a communication connection with the external device by the communication module, so as to receive the data access request of the external device and send it to the third controller 562 .
其中,第三控制器562在接收到对于第一类接口装置52的数据存取需求时,即会输出控制信号至多工器568,以控制多工器568将第三控制器562连接至第五接口端口564及第六接口端口566以处理第一通道的数据,以及将第六接口端口566连接至第五接口端口564以传输第二通道的数据(步骤S604)。Wherein, when the third controller 562 receives the data access demand for the first type interface device 52, it will output a control signal to the multiplexer 568, so as to control the multiplexer 568 to connect the third controller 562 to the fifth The interface port 564 and the sixth interface port 566 are used to process the data of the first channel, and the sixth interface port 566 is connected to the fifth interface port 564 to transmit the data of the second channel (step S604 ).
另一方面,第三控制器562在接收到对于第二类接口装置54的数据存取需求时,即会输出控制信号至多工器568,以控制多工器568将第三控制器562连接至第五接口端口564及第六接口端口566以处理第二通道的数据,以及将第六接口端口566连接至第五接口端口564以传输第一通道的数据(步骤S606)。On the other hand, when the third controller 562 receives the data access request for the second type interface device 54, it will output a control signal to the multiplexer 568 to control the multiplexer 568 to connect the third controller 562 to The fifth interface port 564 and the sixth interface port 566 are used to process the data of the second channel, and the sixth interface port 566 is connected to the fifth interface port 564 to transmit the data of the first channel (step S606 ).
详言之,第三控制器562例如是将控制信号XY输入多工器568以控制多工器568切换数据路由。其中,多工器568的接点A、B分别连接第三控制器562以作为单一通道数据进出第三控制器562的传输路径,接点C、D分别连接第五接口端口564以作为第一通道及第二通道数据的传输路径,接点E、F分别连接第六接口端口566以作为第二通道及第一通道数据的传输路径。In detail, the third controller 562, for example, inputs the control signal XY into the multiplexer 568 to control the multiplexer 568 to switch data routes. Wherein, the contacts A and B of the multiplexer 568 are respectively connected to the third controller 562 as a transmission path for single-channel data in and out of the third controller 562, and the contacts C and D are respectively connected to the fifth interface port 564 as the first channel and the third controller 562. The transmission path of the second channel data, the nodes E and F are respectively connected to the sixth interface port 566 as the transmission path of the second channel and the first channel data.
下表1为多工器568的控制列表。其中,当第三控制器562输出的控制信号XY为00时,多工器568即进入绕道(bypass)模式,将接点C连接至接点F,使得第一通道的数据可直接通过多工器568传送至下个霹雳装置,而不进入第三控制器562;当第三控制器562输出的控制信号XY为01时,多工器568即进入第一通道模式,而将接点A连接至接点C,以及将接点B连接至接点F,使得第一通道的数据可传送至第三控制器562以进行处理;当第三控制器562输出的控制信号XY为10时,多工器568即进入第二通道模式,而将接点A连接至接点D,以及将接点B连接至接点E,使得第二通道的数据可传送至第三控制器562以进行处理。Table 1 below is the control list of the multiplexer 568 . Wherein, when the control signal XY output by the third controller 562 is 00, the multiplexer 568 enters the bypass mode, and the contact C is connected to the contact F, so that the data of the first channel can directly pass through the multiplexer 568 Send to the next Thunderbolt device without entering the third controller 562; when the control signal XY output by the third controller 562 is 01, the multiplexer 568 enters the first channel mode, and connects the point A to the point C , and connect the contact B to the contact F, so that the data of the first channel can be transmitted to the third controller 562 for processing; when the control signal XY output by the third controller 562 is 10, the multiplexer 568 enters the first In the two-channel mode, the node A is connected to the node D, and the node B is connected to the node E, so that the data of the second channel can be sent to the third controller 562 for processing.
表1Table 1
需说明的是,在上述的系统架构中,除了可以由一个主控装置根据不同的数据存取需求,在两个通道之间切换而与第一类接口装置或第二类接口装置传输数据外,还可允许两个主控装置同时存在,而通过两个主控装置之间的沟通,使得两个主控装置分别使用一个通道与第一类接口装置或第二类接口装置传输数据。It should be noted that, in the above system architecture, in addition to a master control device can switch between two channels according to different data access requirements to transmit data with the first type of interface device or the second type of interface device It can also allow two main control devices to exist at the same time, and through the communication between the two main control devices, the two main control devices use a channel to transmit data with the first type interface device or the second type interface device respectively.
详言之,图7是依照本发明又一实施例所绘示的菊花链串接装置的数据路由系统方块图。请参照图7,本实施例的数据路由系统70包括第一类接口装置72、第二类接口装置74、第一主控装置76及第二主控装置78,其功能分述如下:In detail, FIG. 7 is a block diagram of a data routing system of a daisy chain device according to another embodiment of the present invention. Please refer to FIG. 7, the data routing system 70 of the present embodiment includes a first type interface device 72, a second type interface device 74, a first master control device 76 and a second master control device 78, and its functions are described as follows:
第一类接口装置72具有第一控制器722、第一接口端口724及第二接口端口726。第二类接口装置74具有第二控制器742、第三接口端口744及第四接口端口746。其中,第一类接口装置72及第二类接口装置74是对应于前述实施例中的第一类接口装置32及第二类接口装置34,分别适于使用第一通道及第二通道传输数据。The first type of interface device 72 has a first controller 722 , a first interface port 724 and a second interface port 726 . The second type of interface device 74 has a second controller 742 , a third interface port 744 and a fourth interface port 746 . Wherein, the first type interface device 72 and the second type interface device 74 are corresponding to the first type interface device 32 and the second type interface device 34 in the foregoing embodiments, and are suitable for using the first channel and the second channel to transmit data respectively. .
第一主控装置76及第二主控装置78例如是台式电脑、笔记本电脑或工作站等终端装置,而可通过第一通道与第一类接口装置72传输数据,或是通过第二通道与第二类接口装置74传输数据。其中,第一主控装置76包括第五接口端口764、第六接口端口766及第三控制器762,其中第五接口端口764是串接第二类接口装置74的第四接口端口746,第三控制器762则连接第五接口端口764,以通过第一通道与第一类接口装置72传输数据,或是通过第二通道与第二类接口装置74传输数据。第二主控装置78包括第七接口端口782及第四控制器782,其中第七接口端口782是与第一类接口装置72的第一接口端口722串接,第四控制器782则连接第七接口端口784,以通过第一通道与第一类接口装置72传输数据,或是通过第二通道与第二类接口装置74传输数据。The first main control device 76 and the second main control device 78 are terminal devices such as desktop computers, notebook computers or workstations, and can transmit data through the first channel and the first type interface device 72, or through the second channel and the second The Type II interface device 74 transmits data. Wherein, the first main control device 76 includes a fifth interface port 764, a sixth interface port 766, and a third controller 762, wherein the fifth interface port 764 is connected in series with the fourth interface port 746 of the second type of interface device 74, the sixth interface port 764 The three controllers 762 are connected to the fifth interface port 764 to transmit data with the first type interface device 72 through the first channel, or transmit data with the second type interface device 74 through the second channel. The second main control device 78 includes a seventh interface port 782 and a fourth controller 782, wherein the seventh interface port 782 is connected in series with the first interface port 722 of the first type of interface device 72, and the fourth controller 782 is connected to the first interface port 722 of the first type of interface device 72. Seven interface ports 784 are used to transmit data with the first type interface device 72 through the first channel, or transmit data with the second type interface device 74 through the second channel.
为方便说明,本实施例是以云服务器与笔记本电脑为例,将第一主控装置76设定为一个云服务器,将第二主控装置78设定为使用者的笔记本电脑,而由第一主控装置76提供外部装置存取第一类接口装置72及第二类接口装置74的数据,以及由第二主控装置78提供该使用者直接取用第一类接口装置72及第二类接口装置74的数据。For the convenience of description, this embodiment takes cloud server and notebook computer as an example, the first main control device 76 is set as a cloud server, the second main control device 78 is set as a user's notebook computer, and the second main control device 76 is set as a user's notebook computer, and the A main control device 76 provides external devices to access the data of the first type interface device 72 and the second type interface device 74, and the second main control device 78 provides the user with direct access to the first type interface device 72 and the second type interface device 74. Data of class interface device 74.
需说明的是,在目前技术中,一个数据传输通道只能允许由一个主控装置做存取控制,而为了避免两个主控装置彼此相冲突,一般电脑系统的架构均不允许两个主控装置存在同一条传输线上。然而,由于本实施例的数据路由系统70是采用将霹雳接口的两个数据传输通道分开传输数据的架构,因此只要让两个主控装置分别使用霹雳接口中的一个数据传输通道,即可在避免装置相冲突的情况下,实现双主控装置共用一条传输线传输数据。It should be noted that in the current technology, a data transmission channel can only be controlled by one master control device, and in order to avoid conflicts between the two master control devices, the general computer system architecture does not allow two master devices The control device exists on the same transmission line. However, since the data routing system 70 of this embodiment adopts the structure of transmitting data separately through the two data transmission channels of the Thunderbolt interface, as long as the two main control devices respectively use one data transmission channel in the Thunderbolt interface, the In the case of avoiding device conflicts, dual-master devices share one transmission line to transmit data.
而为了实现上述功效,第一主控装置76的第三控制器762例如会检测第二主控装置78的串接,并在检测到第二主控装置78时,与第二主控装置78协调,以分别使用第一通道及第二通道传输数据。In order to achieve the above effects, the third controller 762 of the first main control device 76, for example, will detect the serial connection of the second main control device 78, and when the second main control device 78 is detected, communicate with the second main control device 78 Coordinate to transmit data using the first channel and the second channel respectively.
详言之,图8是依照本发明又一实施例所绘示的菊花链串接装置的数据路由方法流程图。请参照图8,本实施例的数据路由方法适用于上述实施例的数据路由系统70,以下即搭配数据路由系统70中的各项元件,说明数据路由方法的详细步骤:In detail, FIG. 8 is a flowchart of a data routing method of a daisy-chain device according to another embodiment of the present invention. Please refer to FIG. 8 , the data routing method of this embodiment is applicable to the data routing system 70 of the above-mentioned embodiment, and the following is to match various components in the data routing system 70 to illustrate the detailed steps of the data routing method:
首先,由第一主控装置76检测采用该菊花链方式与第一类接口装置72、第二类接口装置74或其本身串接的第二主控装置78(步骤S802)。其中,当第一主控装置76检测到第二主控装置78时,例如会与第二主控装置78协调以使用第一通道及第二通道传输数据(步骤S804)。其中,第一主控装置76例如会利用霹雳接口中尚未被使用的预备针脚与第二主控装置78传递数据,以决定哪一个主控装置要使用哪一个通道来传输数据。First, the first main control device 76 detects the second main control device 78 serially connected with the first type interface device 72 , the second type interface device 74 or itself in the daisy chain manner (step S802 ). Wherein, when the first main control device 76 detects the second main control device 78, for example, it coordinates with the second main control device 78 to use the first channel and the second channel to transmit data (step S804). Wherein, the first master device 76 transmits data with the second master device 78 by using the unused spare pins in the Thunderbolt interface, for example, to determine which master device will use which channel to transmit data.
上述第一主控装置76与第二主控装置78的协调结果例如可分为下列四种状态:The above-mentioned coordination results between the first master control device 76 and the second master control device 78 can be divided into the following four states, for example:
第一种状态是当第一主控装置76使用第一通道传输数据时,第二主控装置78即使用第二通道传输数据(步骤S806),此时第一主控装置76会使用通道R、U来与第一类接口装置72传输数据,第二主控装置78则使用通道P来与第二类接口装置74传输数据。The first state is that when the first main control device 76 uses the first channel to transmit data, the second main control device 78 uses the second channel to transmit data (step S806), at this time the first main control device 76 will use the channel R , U to transmit data with the interface device 72 of the first type, and the second main control device 78 uses the channel P to transmit data with the interface device 74 of the second type.
第二种状态是当第一主控装置76使用第二通道传输数据时,第二主控装置78则使用第一通道传输数据(步骤S808),此时第一主控装置76会使用通道S、T来与第二类接口装置74传输数据,第二主控装置78则使用通道Q来与第一类接口装置72传输数据。The second state is when the first main control device 76 uses the second channel to transmit data, and the second main control device 78 uses the first channel to transmit data (step S808), at this time the first main control device 76 will use the channel S , T to transmit data with the interface device 74 of the second type, and the second main control device 78 uses the channel Q to transmit data with the interface device 72 of the first type.
第三种状态是当第一主控装置76同时使用第一通道及第二通道传输数据时,第二主控装置78即不使用第一通道及第二通道传输数据(步骤S810),此时第一主控装置76会使用通道R、U来与第一类接口装置72传输数据,以及使用通道S、T来与第二类接口装置74传输数据,第二主控装置78则被设定为未连接模式。The third state is that when the first main control device 76 uses the first channel and the second channel to transmit data at the same time, the second main control device 78 does not use the first channel and the second channel to transmit data (step S810), at this time The first main control device 76 will use channels R, U to transmit data with the first type interface device 72, and use channels S, T to transmit data with the second type interface device 74, and the second main control device 78 is set in unconnected mode.
第四种状态是当第二主控装置78同时使用第一通道及第二通道传输数据时,第一主控装置76则不使用第一通道及第二通道传输数据(步骤S812),此时第一主控装置76会被设定为绕道模式,而将通道R、U直接连接,将通道S、T直接连接,第二主控装置78则会使用通道Q来与第一类接口装置72传输数据,以及使用通道P来与第二类接口装置74传输数据。The fourth state is that when the second main control device 78 uses the first channel and the second channel to transmit data at the same time, the first main control device 76 does not use the first channel and the second channel to transmit data (step S812), at this time The first master control device 76 will be set to the bypass mode, and the channels R and U will be directly connected, and the channels S and T will be directly connected. The second master control device 78 will use the channel Q to communicate with the first type of interface device 72 Data is transmitted, and the channel P is used to transmit data with the second type interface device 74 .
通过上述方法,即可达到双主控装置共用同一条传输线传输数据,并各自使用不同通道与不同种类的接口装置传输数据。Through the above method, the dual master control devices can share the same transmission line to transmit data, and use different channels and different types of interface devices to transmit data respectively.
上述数据路由系统70中,第一主控装置76的第三控制器762需采用支援四通道数据传输的霹雳控制器。而在另一实施例中,此第一主控装置76也可采用类似图5中第三控制器562与多工器568搭配的架构,同样可实现双主控装置共用传输线传输数据的功效。以下则再举一实施例详细说明。In the data routing system 70 mentioned above, the third controller 762 of the first main control device 76 needs to adopt a Thunderbolt controller that supports four-channel data transmission. In another embodiment, the first master control device 76 can also adopt a structure similar to that of the third controller 562 and the multiplexer 568 in FIG. Hereinafter, another embodiment will be given in detail.
图9是依照本发明再一实施例所绘示的菊花链串接装置的数据路由系统方块图。请参照图9,本实施例的数据路由系统90包括第一类接口装置92、第二类接口装置94、第一主控装置96及第二主控装置98,其功能分述如下:FIG. 9 is a block diagram of a data routing system of a daisy-chain device according to yet another embodiment of the present invention. Please refer to FIG. 9, the data routing system 90 of the present embodiment includes a first type interface device 92, a second type interface device 94, a first master control device 96 and a second master control device 98, and its functions are described as follows:
第一类接口装置92、第二类接口装置94及第二主控装置98的架构与功能是与前述实施例中的第一类接口装置72、第二类接口装置74及第二主控装置78相同或相似,故其详细内容在此不再赘述。The structure and function of the first type interface device 92, the second type interface device 94 and the second main control device 98 are the same as the first type interface device 72, the second type interface device 74 and the second main control device in the foregoing embodiments. 78 are the same or similar, so their details will not be repeated here.
与前述实施例不同的是,本实施例的第一主控装置96是在第五接口端口964、第六接口端口966及第三控制器962之间还配置一个多工器968,而可依据第三控制器962的控制,切换第三控制器962与第五接口端口964及第六接口端口966之间的数据路由。Different from the foregoing embodiments, the first master control device 96 of this embodiment is configured with a multiplexer 968 between the fifth interface port 964, the sixth interface port 966 and the third controller 962, and can be based on The control of the third controller 962 switches the data route between the third controller 962 and the fifth interface port 964 and the sixth interface port 966 .
此外,第一主控装置96亦可与第二主控装置98协调,以使用第一通道及第二通道传输数据。其中,第一主控装置96与第二主控装置98的协调结果例如可分为下列三种状态:In addition, the first main control device 96 can also coordinate with the second main control device 98 to use the first channel and the second channel to transmit data. Wherein, the coordination result between the first master control device 96 and the second master control device 98 can be divided into the following three states, for example:
第一种状态是当第二主控装置98同时使用第一通道及第二通道传输数据,此时第一主控装置96会被设定为绕道模式,而由第三控制器962输出控制信号00至多工器968,而控制多工器968将接点C连接至接点F,以及将接点D连接至接点E;第二主控装置98则会使用通道Q’(即第一通道)来与第一类接口装置92传输数据,以及使用通道P’来与第二类接口装置94传输数据。The first state is when the second main control device 98 uses the first channel and the second channel to transmit data at the same time, at this time the first main control device 96 will be set to bypass mode, and the third controller 962 will output the control signal 00 to the multiplexer 968, and the control multiplexer 968 connects the node C to the node F, and connects the node D to the node E; the second main control device 98 will use the channel Q' (ie, the first channel) to communicate with the first channel A type of interface device 92 transmits data, and uses a channel P' to transmit data with a second type of interface device 94 .
第二种状态是当第一主控装置96使用第一通道传输数据,第二主控装置98使用第二通道传输数据,此时第一主控装置96会由第三控制器962输出控制信号01至多工器968,而控制多工器968将接点A连接至接点C,以及将接点B连接至接点F,使得第一主控装置96可使用第一通道与第一类接口装置92传输数据;第二主控装置98则会使用通道P’(即第二通道)来与第二类接口装置94传输数据。The second state is when the first main control device 96 uses the first channel to transmit data, and the second main control device 98 uses the second channel to transmit data, at this time the first main control device 96 will output a control signal from the third controller 962 01 to the multiplexer 968, and the control multiplexer 968 connects the node A to the node C, and connects the node B to the node F, so that the first master control device 96 can use the first channel to transmit data with the first type interface device 92 The second main control device 98 will use the channel P' (ie, the second channel) to transmit data with the second type interface device 94 .
第三种状态是当第一主控装置96使用第二通道传输数据,第二主控装置98使用第一通道传输数据,此时第一主控装置96会由第三控制器962输出控制信号10至多工器968,而控制多工器968将接点A连接至接点D,以及将接点B连接至接点E,使得第一主控装置96可使用第二通道与第二类接口装置94传输数据;第二主控装置98则会使用通道Q’(即第一通道)来与第一类接口装置92传输数据。The third state is when the first main control device 96 uses the second channel to transmit data, and the second main control device 98 uses the first channel to transmit data, at this time the first main control device 96 will output a control signal from the third controller 962 10 to the multiplexer 968, and the control multiplexer 968 connects the node A to the node D, and connects the node B to the node E, so that the first main control device 96 can use the second channel to transmit data with the second type interface device 94 ; The second main control device 98 will use the channel Q' (ie the first channel) to transmit data with the first type interface device 92 .
综上所述,本发明的菊花链串接装置的数据路由系统及方法是将霹雳接口装置设计为只能使用霹雳接口的其中一个数据传输通道来传输数据,藉此可节省霹雳装置的硬件配置成本。此外,与这些霹雳装置串接的主控装置则会依据使用者、外部装置或另一个串接的主控装置的数据存取需求,分配使用霹雳接口的两个通道或其中一个通道来传输数据,因此可增加霹雳装置的使用弹性以及应用范围。To sum up, the data routing system and method of the daisy chain serial device of the present invention is to design the thunderbolt interface device to only use one of the data transmission channels of the thunderbolt interface to transmit data, thereby saving the hardware configuration of the thunderbolt device cost. In addition, the main control device connected in series with these Thunderbolt devices will allocate two or one of the channels of the Thunderbolt interface to transmit data according to the data access requirements of the user, an external device, or another serially connected main control device , so it can increase the flexibility and scope of application of the Thunderbolt device.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210122203.9ACN103379028B (en) | 2012-04-24 | 2012-04-24 | Data routing system and method for daisy chain serial devices |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210122203.9ACN103379028B (en) | 2012-04-24 | 2012-04-24 | Data routing system and method for daisy chain serial devices |
| Publication Number | Publication Date |
|---|---|
| CN103379028A CN103379028A (en) | 2013-10-30 |
| CN103379028Btrue CN103379028B (en) | 2016-06-22 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210122203.9AExpired - Fee RelatedCN103379028B (en) | 2012-04-24 | 2012-04-24 | Data routing system and method for daisy chain serial devices |
| Country | Link |
|---|---|
| CN (1) | CN103379028B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101278352A (en)* | 2005-09-30 | 2008-10-01 | 莫塞德技术公司 | Daisy chain cascade device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100183004A1 (en)* | 2009-01-16 | 2010-07-22 | Stmicroelectronics, Inc. | System and method for dual mode communication between devices in a network |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101278352A (en)* | 2005-09-30 | 2008-10-01 | 莫塞德技术公司 | Daisy chain cascade device |
| Publication number | Publication date |
|---|---|
| CN103379028A (en) | 2013-10-30 |
| Publication | Publication Date | Title |
|---|---|---|
| US20230297531A1 (en) | Flexible mobile device connectivity to automotive systems with usb hubs | |
| US10210121B2 (en) | System for switching between a single node PCIe mode and a multi-node PCIe mode | |
| US10162779B2 (en) | Increasing data throughput of a universal serial bus (USB) type-C port | |
| US10372650B2 (en) | Cross-over and bypass configurations for high-speed data transmission | |
| US6928509B2 (en) | Method and apparatus for enhancing reliability and scalability of serial storage devices | |
| US9947070B2 (en) | GPU that passes PCIe via displayport for routing to a USB type-C connector | |
| KR20140000182A (en) | Systems and methods for dynamic multi-link compilation partitioning | |
| US10095652B2 (en) | Host configured multi serial interface device | |
| JP2021531569A (en) | DisplayPort Alternate Mode Communication Detection | |
| EP3291098A1 (en) | Flexible mobile device connectivity to automotive systems with usb hubs | |
| CN107391419A (en) | Support general sequence busbar concentrator of many host computers and automobile-used host computer | |
| CN111538689A (en) | Heterogeneous multi-channel PCIE riser card at both ends | |
| TWI465922B (en) | Data flow analysis management device, system and method for interface device | |
| CN107368219A (en) | Touch response method, chip and intelligent device | |
| US20080052431A1 (en) | Method and Apparatus for Enabling Virtual Channels Within A Peripheral Component Interconnect (PCI) Express Bus | |
| US8832339B1 (en) | Full-duplex asynchronous communications using synchronous interfaces | |
| TW201407362A (en) | Stacking electronic system | |
| CN103379028B (en) | Data routing system and method for daisy chain serial devices | |
| US20140032802A1 (en) | Data routing system supporting dual master apparatuses | |
| TWI483115B (en) | Data routing system and method for chrysanthemum chain serial device | |
| CN115145856A (en) | OCP network card system | |
| CN103577364A (en) | Data routing system supporting dual master devices | |
| TW201403334A (en) | Route switching system for daisy-chained apparatuses and interface apparatus | |
| TWI475392B (en) | Dual mode electronic device, electronic system and master terminal judging method | |
| TWI475510B (en) | Video routing display system and method |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20160622 |