M414607 五、新型說明: 【新型所屬之技術領域】 本案為-種整合並列傳輸、串廟邊介面(spi)與通用 序列匯流排(USB)的KVM (多電腦切換器)切換器,尤指一 - 種利用串列周邊介面(SPI)控制整合並列傳輸介面與通用 -序列匯流排(USB)間資料流的KVM(多電腦切換器)切換芎。 > 【先前技術】 習用的KVM(Keyboard/Video/Mouse,KVM)切換器,可在 多台電腦之間切換分享一組周邊設備,包含:鍵盤、滑鼠、 螢幕,或甚至麥克風、喇队、隨身碟、儲存裝置及任何 USBQJniversal Serial Bus, USB)介面之裝置等周邊設備, 讓使用者僅需具備一組周邊設備,即可透過KVM切換器之選 > 擇切換,將周邊設備切換連接至任意一台電腦,藉此達到一 組周邊設備操控多台電腦或分享資源之效果。 在習用的KVM切換器中’ USB之切換系統係由控制單元配 合USB集線器所構成’因此連接鍵盤或滑鼠等設備之主機 介面控制單元之訊號’在USB集線器中是以串列方式進行傳 輸。相較於串列傳輸,並列傳輸具有傳輸速度較快之優點, 然而並列傳輸方式卻未加以應用至KVM切換器之USB切換系 3 統中。 另一方面,習用的串列周邊介面,簡稱SPI(serialM414607 V. New description: [New technical field] This is a KVM (multi-computer switch) switcher that integrates parallel transmission, SPI and universal serial bus (USB), especially one. - KVM (Multi-PC Switcher) switching that uses a Serial Peripheral Interface (SPI) control to integrate data streams between the parallel-side transmission interface and the Universal-Sequence Bus (USB). > [Prior Art] A custom KVM (Keyboard/Video/Mouse, KVM) switcher can switch between multiple computers to share a set of peripheral devices, including: keyboard, mouse, screen, or even microphone, racquet Peripherals such as USB flash drives, storage devices, and any USBQJniversal Serial Bus, USB) interface, allowing users to have a set of peripheral devices, and you can switch between peripheral devices through KVM switch selection To any computer, to achieve the effect of a group of peripheral devices to control multiple computers or share resources. In the conventional KVM switch, the USB switching system is composed of a control unit with a USB hub. Therefore, the signal of the host interface control unit connected to a device such as a keyboard or a mouse is transmitted in tandem in the USB hub. Compared with serial transmission, parallel transmission has the advantage of faster transmission speed. However, the parallel transmission method has not been applied to the USB switching system of the KVM switch. On the other hand, the conventional serial peripheral interface, referred to as SPI (serial)
Peripheral Interface, SPI)是一種四線同步串列資料通訊 協疋,採用主從式架構(Master/Slave),在主從式架構下, SPI裝置可分為SPI主要(Master)裝置以及SPI次要(siave) 裝置。通常是由一個SPI主要裝置與複數個SPI次要裝置所構 成,由SPI主要裝置發號施令控制複數個SPI次要裝置之動作。 當在通訊的時候,SPI主要裝置透過傳送控制訊號來選擇決 定由那些SPI次要裝置接收資料。SPI不僅具有全雙工之優點, 更能提供高頻寬與同步訊號的傳輸。此外,亦具有線路精簡, 控制簡單以及容易實作之特點。 雖然習用的SPI具有許多的優點,並且適合應用於切換系 麟Γ申丄但是卻未加—以應黑至腿切換器之USB切換京統聿。 習用的技術具有下列缺點: 1. 在習用的KVM切換器中,USB之切換系統係由控制單元 配合USB集線器所構成’皆以串列傳輸方式傳送訊號, 並未採用並列傳輸方式; 2. 習用USB之切換系統皆採用串列傳輸方式,因此傳輸速 度較慢,影響鍵盤與滑鼠操作之反應時間; 3· 1用USB之切換系統不是使用spi通訊協定,因此不具 有SPI之全雙工、高頻寬、線路精簡以及控制簡單等 優點。 因此’如何改進上述習用的缺點,有效縮減USB切換系統 中’鍵盤麟鼠操叙聽_,juxSPI通祕定實現龍 裝置之切換功能,係為本案所關注者。 【新型内容】 緣疋,創作人有鑒於上述先前技術所述之不足,提出本 創作,其主要具有下列之目的: 本案的目的在於提出一種整合並列傳輸、串列周邊介面(Sp〇 與通用序列匯流排(USB)的KVM (多電腦切換器)切換器, 包含: 一SPI主要(Master)控制單元,係同時具一Spi主要裝置介面 與一並列傳輸介面; 至少一USB主機(Host)介面控制單元,係具USB介面可連接 USB介面之周邊裝置,具並列傳輸介面以及兕丨次要 裝置介面連接至SPI主要(Master)控制單元之spi主要裝置 介面,該USB主機介面控制單元之並列傳輸介面係可選的電 性連接該SH主要控制單元之並列傳輸介面; M414607 至少一個USB裝置控制單元,具有USB介面連接至少一電腦之 USB介面或連接至少—USB集線器,並具一spi次要裝置介面, 其spi次要裝置介面係電性連接該SPI主要控制單元之spi主 要裝置介面; 其特徵在於··上聰^要控鮮元、紅少—應主機介面 控制單元之間係透過並列傳輸介面傳送訊號; 其中該SPI主要控制單元係能從該至少一個USB裝置控制單 元t切換選擇一特定之USB裝置控制單元,並將該至少一個 USB主機介面控制單元之訊號分配至該特定之USB裝置控制 單兀,其中SPI主要(Master)控制單元透過SPI主要裝置介面 直接控制所連接之SPI次要裝置,藉以達成切換工作; 其中該SPI主要(Master)控制單元與該至少一個USB裝置控 制單元間係透過SPI介面傳送訊號; 其中該至少USB介面之周邊裝置係為一 USB介面之鍵盤或一 USB介面之滑鼠;Peripheral Interface (SPI) is a four-wire synchronous serial data communication protocol. It uses a master-slave architecture (Master/Slave). Under the master-slave architecture, the SPI device can be divided into SPI master device and SPI secondary. (siave) device. It is usually composed of an SPI main device and a plurality of SPI secondary devices, and the SPI main device commands the operation of a plurality of SPI secondary devices. When communicating, the SPI main device chooses to receive data from those SPI secondary devices by transmitting control signals. SPI not only has the advantages of full-duplex, but also provides high-bandwidth and synchronous signal transmission. In addition, it has the characteristics of streamlined, simple control and easy implementation. Although the conventional SPI has many advantages, and is suitable for the switching system, it is not added - it is switched to the USB switch of the black to the leg switcher. The conventional technology has the following disadvantages: 1. In the conventional KVM switch, the USB switching system is composed of the control unit and the USB hub. The signals are transmitted in serial transmission mode, and the parallel transmission mode is not used; The switching system of USB adopts serial transmission mode, so the transmission speed is slow, which affects the reaction time between the keyboard and the mouse operation. 3. The USB switching system does not use the spi communication protocol, so it does not have full duplex of SPI. High frequency width, streamlined and simple control. Therefore, how to improve the shortcomings of the above-mentioned applications, effectively reduce the USB keyboard switching system, and the function of switching the function of the dragon device is the one concerned by this case. [New content] The author, in view of the above-mentioned deficiencies of the prior art, proposed this creation, which mainly has the following purposes: The purpose of this case is to propose an integrated parallel transmission, serial peripheral interface (Sp〇 and universal sequence) Busbar (USB) KVM (Multicomputer Switcher) switcher, comprising: an SPI main (Master) control unit, which has a Spi main device interface and a parallel transmission interface; at least one USB host (Host) interface control The unit is equipped with a USB interface to connect the peripheral device of the USB interface, and has a parallel transmission interface and a secondary device interface connected to the SPI main device interface of the SPI main control unit, and the parallel transmission interface of the USB host interface control unit An optional electrical connection to the parallel transmission interface of the SH main control unit; M414607 at least one USB device control unit having a USB interface to connect at least one computer USB interface or at least a USB hub, and having a spi secondary device interface The spi secondary device interface is electrically connected to the main device interface of the SPI main control unit; The SPI main control unit can switch from the at least one USB device control unit t to select a specific one. The SPI main control unit can switch from the at least one USB device control unit t to select a specific one. The USB device control unit allocates the signal of the at least one USB host interface control unit to the specific USB device control unit, wherein the SPI main control unit directly controls the connected SPI secondary through the SPI main device interface. The device is configured to perform a switching operation; wherein the SPI main control unit and the at least one USB device control unit transmit signals through the SPI interface; wherein the at least USB interface peripheral device is a USB interface keyboard or a USB Interface mouse;
其中該至少一個USB集線器(USB Hub),係與該至少一個USB 裝置控制單元對應電性連接’且該至少—個娜裝置控 制單凡·係透過該至少一個USB集線器間接電性連接至對應之 電腦; 6 M414607 其中更包含一USB交換器(USB Switch) ’係電性連接該spi主 要控制單元與該至少一個USB集線器,並可連接至少一USB介 面之裝置,該SPI主要控制單元係可控制該USB交換器,以將 該USB介面裝置之訊號分配至該複數個USB集線器中; 其中該USB介面之裝置係為一 USB介面之儲存裝置; 其中該SPI主要(Master)控制單元係可將並列傳輸介面與 SPI主要裝置介面信號相互轉換。 【實施方式】 為了達成上述各項目的及功效,於此謹搭配圖式,舉一 較佳實施例’俾便在此領域中具通常知識者能夠就各項目的 據以實施。 第一圖為本案較佳實施例之整合並列傳輸、串列周邊介 面(SPI)與通用序列匯流排(USB)的KVM (多電腦切換器) 切換器功能方塊示意圖,其中包含了USB主機介面控制單元 10、1卜USB介面之鍵盤i(u、USB介面之滑鼠111、USB交換 器12、USB介面之儲存裝置12卜122、SPI主要控制單元13、 USB裝置控制單元14、15、16、17、USB集線器141、15卜16卜 1Π、電腦142、152、162、172及USB切換系統18。在本案所 提出的整合並列傳輸、串列周邊介面(SPI)與通用序列匯 7 机排(USB)的KVM (多電腦切換器)切換器18中,USB主機 介面控制單元10電性連接USB介面之鍵盤101; 1]部主機介面 控制單元11電性連接介面之滑鼠等。裝置控制單 、15、16、17分別電性連接USB集線器⑷、⑸、⑻、 ’且USB集線器141、151、161、171分別連接電腦142、 152、162、172。USB主機介面控制單元丨〇、u以及SPI主要 控制單元13皆具並列傳輸介面,並透過該並列傳輸介面電性 連接在一起。spi主要控制單元13以及USB裝置控制單元14、 15'16、17皆具SPI介面’並透過該spi介面電性連接在一起, 其中SPI主要控制單元13具有SPI主要裝置介面,而USB裝置 控制單元14、15、16、17具有SH次要裝置介面。藉此SPI主 要控制單元13可透過該SPI主要裝置介面之spi通訊協定,控 機介面'控就單元丨&及i丨之訊號分配 裝置控制單元14、15、16、17之任一中,且該SPI主要(Master) 控制單元13係可將並列傳輸介面與SPI主要裝置介面信號相 互轉換。例如:SPI主要控制單元13藉由SPI通訊協定,控制 將USB主機介面控制單元忉及丨丨透過並列傳輸介面所傳送之 訊號分配至USB裝置控制單元丨4,所以USB主機介面控制單元 10及11所連接之USB介面之鍵盤1〇1及USB介面之滑鼠111之 M414607 · 訊號,即能經由並列周邊介面傳輸至SPI主要控制單元13 , 接著再透過SPI傳輸至USB裝置控制單元14,並經由USB集線 器141傳輸至電腦142,藉此令USB介面之鍵盤101及USB介面 之滑鼠111操控電腦142。當然,SPI主要控制單元13亦可將 USB主機介面控制單元10、11之訊號,透過上述之方式切換 分配至其它USB裝置控制單元15、16、17。 USB交換器12可連接USB介面之裝置,例如:儲存裳置 121、122或是USB集線器 141、151、161、171 等,且USB交換 器12係電性連接SPI主要控制單元13與USB集線器141、151、 161、171。SPI主要控制單元13可控制USB交換器12,將連接 USB交換器12之USB介面之儲存裝置12卜122之訊號分配至 USB集線器141、151、161、171。當然’ USB交換器12所連接 之USB介面之裝置121、122訊號亦可以分配至不同usb集線器 14卜15卜16卜m,例如:將USB介面之儲存裝置121分配 至USB集線器141,而將USB介面之儲存裝置122分配至_集 線器15卜藉此令電腦142存取USB介面之倚存裝置i2i,以及 令電腦152存取USB介面之儲存裝置122。 第二圖為本雜佳實_之整合並簡輸、串列周邊介 面(SPI)與通用序列匯流排⑽)的讓(多電腦切換器) 9 M414607 切換器實際使用示意圖。其中包含了螢幕2i、usb介面之滑 鼠22、USB介面之鍵盤23、電腦24、25、KVM切換器26及USB 介面27。在KVM切換器26上,具有多組顯示介面及USB介面27。 螢幕21、滑鼠22及鍵盤23等周邊設備係電性連接至KVM切換 器26上,且針對每一個周邊設備,KVM切換器26皆具有對應 之傳輸線連接至電腦24及25。在KVM切換器26中,設有本案 所提之整合並列傳輸、串列周邊介面(SPI)與通用序列匯 流排(USB)的KVM (多電腦切換器)切換器,USB介面之滑 鼠22及USB介面之鍵盤23即電性連接至整合並列傳輸、串列 周邊介面(SPI)與通用序列匯流排(usb)的KVM (多電腦 切換器)切換器中的USB主機介面控制單元;連接電腦24及 25的傳輸線則連接至USB集線器,藉此實現鍵盤滑鼠等周邊 裝置之切換功能。 本案具有下列優點: 1.本案所提出的整合並列傳輸、串列周邊介面(SPI) 與通用序列匯流排(USB)的KVM (多電腦切換器) 切換器,採用並列傳輸方式傳送鍵盤及滑鼠等周邊 訊號,因此傳輸速度較快,能有效縮減操作鍵盤及 滑鼠之反應時間; 10 M414607 2·本案所提出的整合並列傳輸、串列周邊介面(SPI) 與通用序列匯流排(USB)的KVM (多電腦切換器) 切換器利用SPI通訊協定實現切換功能,因此具備 SPI之全雙工、高頻寬、線路精簡以及控制簡單等優 點。 綜合上述,以上為本創作之一較佳實施例,非因此拘限 本創作之專利範圍,本案專利範圍仍應以後附之專利申請範 圍所定義為準。 【圖式簡單說明】 第一圖為本案較佳實施例之整合並列傳輸、串列周邊介 面(SPI)與通用序列匯流排(USB)的KVM (多電腦切換器) 切換器功能方塊示意圖; 第二圖為本案較佳實施例之整合並列傳輸、串列周邊介 面(SPI)與通用序列匯流排(USB)的KVM (多電腦切換器) 切換器實際使用示意圖。 【主要元件符號說明】 1〇、11........usb主機介面控制單元 1〇1、23.......USB介面之鍵盤 111、22.......USB介面之滑氣 11 M414607 12 ..........USB交換器 121、122.......USB介面之儲存裝置 13 ..........SPI主要控制單元 14、15、16、17· .· - USB裝置控制單元 14卜15卜16卜17卜· USB集線器 142、152、162、172、24、25.....電腦 18..........USB切換系統 21..........螢幕 26 ..........KVM切換器 27 ..........USB介面 12The at least one USB hub (USB Hub) is electrically connected to the at least one USB device control unit and the at least one device control unit is electrically connected to the corresponding indirectly through the at least one USB hub. Computer; 6 M414607 further includes a USB switch (USB Switch) 'electrically connects the spi main control unit and the at least one USB hub, and can connect at least one USB interface device, the SPI main control unit can be controlled The USB switch distributes the signal of the USB interface device to the plurality of USB hubs; wherein the USB interface device is a USB interface storage device; wherein the SPI main control unit can be juxtaposed The transmission interface is converted to and from the SPI main device interface signal. [Embodiment] In order to achieve the above objects and effects, a preferred embodiment will be described in conjunction with the drawings, and those of ordinary skill in the art can implement the present invention. The first figure is a functional block diagram of a KVM (Multi-PC Switcher) switch that integrates parallel transmission, serial peripheral interface (SPI) and universal serial bus (USB) according to a preferred embodiment of the present invention, and includes USB host interface control. Unit 10, 1 USB interface keyboard i (u, USB interface mouse 111, USB switch 12, USB interface storage device 12 122, SPI main control unit 13, USB device control unit 14, 15, 16, 17, USB hub 141, 15 Bu 16 Bu, computer 142, 152, 162, 172 and USB switching system 18. In this case, the integrated parallel transmission, serial peripheral interface (SPI) and universal serial sink 7 ( In the USB (KVM) switcher 18, the USB host interface control unit 10 is electrically connected to the keyboard 101 of the USB interface; 1] the host interface control unit 11 is electrically connected to the mouse of the interface, etc. 15, 15, 16, and 17 are respectively electrically connected to the USB hubs (4), (5), (8), 'and the USB hubs 141, 151, 161, 171 are respectively connected to the computers 142, 152, 162, 172. The USB host interface control unit 丨〇, u and The SPI main control unit 13 has both The transmission interface is electrically connected through the parallel transmission interface. The spi main control unit 13 and the USB device control units 14, 15'16, 17 all have an SPI interface' and are electrically connected through the SPI interface, wherein the SPI The main control unit 13 has an SPI main device interface, and the USB device control units 14, 15, 16, 17 have a SH secondary device interface, whereby the SPI main control unit 13 can control the SPI through the SPI main device interface. The interface 'control unit' and any of the signal distribution device control units 14, 15, 16, 17 of the device, and the SPI main control unit 13 can interface the parallel transmission interface with the SPI main device The signals are mutually converted. For example, the SPI main control unit 13 controls the signals transmitted by the USB host interface control unit and the parallel transmission interface to the USB device control unit 丨4 through the SPI communication protocol, so the USB host interface control The keyboard 1〇1 of the USB interface to which the units 10 and 11 are connected and the M414607 of the USB interface of the USB interface can be transmitted to the SPI main control list via the parallel peripheral interface. The element 13 is then transmitted to the USB device control unit 14 via the SPI and transmitted to the computer 142 via the USB hub 141, whereby the USB interface keyboard 101 and the USB interface mouse 111 operate the computer 142. Of course, the SPI main control unit 13 The signals of the USB host interface control units 10 and 11 can also be switched and distributed to other USB device control units 15, 16, 17 in the manner described above. The USB switch 12 can be connected to a USB interface device, such as a storage device 121, 122 or a USB hub 141, 151, 161, 171, etc., and the USB switch 12 is electrically connected to the SPI main control unit 13 and the USB hub 141. , 151, 161, 171. The SPI main control unit 13 can control the USB switch 12 to distribute the signals of the storage devices 12 122 connected to the USB interface of the USB switch 12 to the USB hubs 141, 151, 161, 171. Of course, the devices 121 and 122 of the USB interface to which the USB switch 12 is connected can also be assigned to different USB hubs, for example, the storage device 121 of the USB interface is distributed to the USB hub 141, and the USB is The storage device 122 of the interface is assigned to the hub 15 to thereby cause the computer 142 to access the USB device's dependent device i2i, and the computer 152 to access the USB interface storage device 122. The second figure is a schematic diagram of the actual use of the (Machine Switcher) 9 M414607 switcher for the integration and simple input, serial peripheral interface (SPI) and universal serial bus (10). It includes a screen 2i, a usb interface mouse 22, a USB interface keyboard 23, computers 24, 25, a KVM switch 26, and a USB interface 27. On the KVM switch 26, there are multiple sets of display interfaces and a USB interface 27. Peripheral devices such as screen 21, mouse 22, and keyboard 23 are electrically coupled to KVM switch 26, and for each peripheral device, KVM switch 26 has corresponding transmission lines connected to computers 24 and 25. In the KVM switch 26, there is a KVM (Multi-Chip Switcher) switcher integrated with parallel transmission, serial peripheral interface (SPI) and universal serial bus (USB), USB interface mouse 22 and The keyboard 23 of the USB interface is electrically connected to the USB host interface control unit in the KVM (Multi-PC Switcher) switch integrating the parallel transmission, the serial peripheral interface (SPI) and the universal serial bus (usb); connecting the computer 24 And the transmission line of 25 is connected to the USB hub, thereby realizing the switching function of peripheral devices such as a keyboard mouse. This case has the following advantages: 1. The KVM (Multi-Computer Switcher) switcher integrated in parallel transmission, serial peripheral interface (SPI) and universal serial bus (USB) proposed in this case, uses parallel transmission to transmit keyboard and mouse Such as peripheral signals, so the transmission speed is faster, which can effectively reduce the reaction time of operating the keyboard and mouse; 10 M414607 2. The integrated parallel transmission, serial peripheral interface (SPI) and universal serial bus (USB) proposed in this case The KVM (Multi-PC Switcher) switcher uses the SPI protocol to implement the switching function, so it has the advantages of full-duplex SPI, high-bandwidth, thin line, and simple control. In summary, the above is a preferred embodiment of the present invention, and the scope of the patent is not limited thereby, and the scope of the patent in this case is still subject to the definition of the patent application attached below. BRIEF DESCRIPTION OF THE DRAWINGS The first figure is a functional block diagram of a KVM (Multi-PC Switcher) switcher integrating parallel transmission, serial peripheral interface (SPI) and universal serial bus (USB) according to a preferred embodiment of the present invention; The figure is a schematic diagram of the actual use of the KVM (Multi-Chip Switcher) switcher integrating the parallel transmission, the serial peripheral interface (SPI) and the universal serial bus (USB) in the preferred embodiment of the present invention. [Main component symbol description] 1〇,11........usb host interface control unit 1〇1,23.......USB interface keyboard 111,22.......USB Interface slippery 11 M414607 12 .......... USB switch 121, 122....... USB interface storage device 13 .......... SPI main control unit 14, 15, 16, 17· .. - USB device control unit 14 15 15 16 17 USB hub 142, 152, 162, 172, 24, 25... Computer 18... ....USB switching system 21..........screen 26 ..........KVM switch 27 ..........USB interface 12