TWI489282B - Controlling device and method thereof - Google Patents
Controlling device and method thereof Download PDFInfo
- Publication number
- TWI489282B TWI489282B TW098119607A TW98119607A TWI489282B TW I489282 B TWI489282 B TW I489282B TW 098119607 A TW098119607 A TW 098119607A TW 98119607 A TW98119607 A TW 98119607A TW I489282 B TWI489282 B TW I489282B
- Authority
- TW
- Taiwan
- Prior art keywords
- unit
- control
- control unit
- memory
- module
- Prior art date
Links
Landscapes
- Information Transfer Systems (AREA)
Description
本案涉及一種控制設備(controlling device),尤指一種具有一第一與第二控制模組(controlling module)之控制設備。The present invention relates to a control device, and more particularly to a control device having a first and a second control module.
多電腦切換器(KVM)為一硬體裝置,讓使用者可以從一組鍵盤、螢幕與滑鼠來控制多部電腦。雖然多部電腦連接到KVM,但通常在任一時間,只有較少數量的電腦可以被控制。如今的KVM亦增加了與多台電腦分享通用序列匯流排(USB)及麥克風的能力。有些KVM具有反向功能,亦即一部單一電腦可以連接到多組螢幕、鍵盤及滑鼠,雖然不如前者普遍,但是當使用者想從兩個或多個位置去從一部電腦存取資料時,此一構型是很有用的。目前對四埠KVM的運用趨勢是希望讓電腦之間互相透過USB介面來交換資料。但其所遭遇的瓶頸是:實施上,若由微控制單元(MCU)針對任二USB控制裝置來作資料的搬移,則其速度是很慢的例如,將某一顆USB控制裝置的記憶單元連續讀出並寫入另一顆USB控制裝置的記憶單元,但其效能還是比不上單一晶片快。另外,目前並沒有超過兩個以上USB裝置作資料搬移的應用。因此,有關上述KVM在電腦之間互相透過USB介面來交換資料之應用的改進,以及如何利用四埠KVM進行超過兩個以上USB裝置間資料搬移的應用,是值得吾人深思與改進的。The KVM is a hardware device that allows users to control multiple computers from a set of keyboards, screens and mice. Although multiple computers are connected to the KVM, usually only a small number of computers can be controlled at any one time. Today's KVM also adds the ability to share universal serial bus (USB) and microphones with multiple computers. Some KVMs have a reverse function, that is, a single computer can be connected to multiple sets of screens, keyboards, and mice. Although not as common as the former, users want to access data from a computer from two or more locations. This configuration is very useful. The current trend in the use of the four-inch KVM is to allow computers to exchange data between each other through the USB interface. However, the bottleneck encountered is: in implementation, if the micro control unit (MCU) moves data for any two USB control devices, the speed is very slow, for example, the memory unit of a USB control device. The memory unit of another USB control device is continuously read and written, but its performance is still not as fast as a single chip. In addition, there are currently no more than two USB devices for data transfer applications. Therefore, the improvement of the application of the above KVM to exchange data between computers through the USB interface, and how to use the four KVM to carry out data transfer between more than two USB devices is worthy of our consideration and improvement.
職是之故,發明人鑒於習知技術之缺失,乃思及改良發明之意念,終能發明出本案之「控制設備及其方法」。As a result of the job, the inventor, in view of the lack of prior art, thought of and improved the idea of invention, and finally invented the "control device and method" of the case.
本案之一目的在於提供一種控制設備,讓一擁有兩個控制單元的專用集成電路(ASIC)具有一個通訊介面,使各ASIC間可以串接(daisy chained),或者可以並聯在一起,且利用「切換記憶體的接口以讓兩個控制單元共用」的技術於各ASIC,那麼,兩個ASIC便可以作到四埠KVM的應用(包括檔案轉移:file transfer與virtual network control:VNC等)。One of the objectives of the present invention is to provide a control device such that an application specific integrated circuit (ASIC) having two control units has a communication interface, so that ASICs can be daisy chained or can be connected in parallel and utilize " Switching the memory interface so that the two control units share the technology of each ASIC, then the two ASICs can be used for four KVM applications (including file transfer: virtual transfer control: VNC, etc.).
本案之又一目的在於透過MCU作設定,可以將控制設備中的每一個控制單元的端點所控制的記憶體接口,作不同的切換,MCU可以經由不同的切換,去讀/寫每一個控制單元的記憶體,也可以通過串接的輸出/入埠去讀/寫其他ASIC內的控制單元的記憶體。Another purpose of the present invention is to make a setting by the MCU, and the memory interface controlled by the endpoint of each control unit in the control device can be switched differently, and the MCU can read/write each control through different switching. The memory of the unit can also be read/written by the serialized output/input to the memory of the control unit in other ASICs.
本案之另一目的在於提供一種控制裝置,包含一第一記憶單元,一第一制單元,包括一第一端點及一第二端點,一第二記憶單元,以及一第二控制單元,包括一第三端點及一第四端點,一映射單元,耦接於該第一記憶單元及該第二記憶單元,其中該第一記憶單元及第二記憶單元為該第一與該第二控制單元所共用,該映射單元控制該第一控制單元及該第二控制單元之間的資料傳輸方向,使該第一控制單元透過該第一端點傳出資料至該第一記憶單元,且該第二控制單元透過該第三端點從該第一記憶單元傳入資料。Another object of the present invention is to provide a control device including a first memory unit, a first unit, including a first end point and a second end point, a second memory unit, and a second control unit. The first memory unit and the second memory unit are coupled to the first memory unit and the second memory unit, wherein the first memory unit and the second memory unit are the first and the first The second control unit is configured to control the data transmission direction between the first control unit and the second control unit, so that the first control unit transmits the data to the first memory unit through the first end point. And the second control unit transmits the data from the first memory unit through the third endpoint.
根據上述之構想,該第二控制單元透過該第三端點傳出資料至該第二記憶單元,且該第一控制單元透過該第一端 點從該第二記憶單元傳入資料。According to the above concept, the second control unit transmits the data to the second memory unit through the third terminal, and the first control unit transmits the first end Point incoming data from the second memory unit.
根據上述之構想,該第一記憶單元更具有一第一接口,該第一接口可經切換而耦合於該第一控制單元或耦合於該第二控制單元,該第二記憶單元更具有一第二接口,該第二接口可經切換而耦合於該第一控制單元或耦合於該第二控制單元。According to the above concept, the first memory unit further has a first interface, the first interface can be coupled to the first control unit or coupled to the second control unit, and the second memory unit has a first And a second interface, the second interface can be coupled to the first control unit or coupled to the second control unit via a switch.
根據上述之構想,該裝置更包括一微控制單元耦接於該映射單元,其中透過該微控制單元與該映射單元的運作,可以使該第一接口與該第二接口在該第一與該第二控制單元間進行不同的切換。According to the above concept, the device further includes a micro control unit coupled to the mapping unit, wherein the first interface and the second interface are in the first and the second interface by the operation of the micro control unit and the mapping unit Different switching is performed between the second control units.
根據上述之構想,該裝置更包括至少一個切換單元,分別耦接至該第一控制單元、該第二控制單元及該映射單元,以供該第一控制單元與該第二控制單元之間進行資料傳輸。According to the above concept, the device further includes at least one switching unit coupled to the first control unit, the second control unit, and the mapping unit, respectively, for performing between the first control unit and the second control unit. Data transmission.
根據上述之構想,各該第一與該第二記憶單元係為一先進先出記憶體或一緩衝器。According to the above concept, each of the first and second memory units is a first-in first-out memory or a buffer.
根據上述之構想,該裝置設置於一專用集成電路中。According to the above concept, the device is disposed in an application specific integrated circuit.
根據上述之構想,該第一控制單元及該第二控制單元為通用序列匯流排控制單元。According to the above concept, the first control unit and the second control unit are universal sequence bus control units.
本案之下一目的在於提供一種控制設備,包含一第一控制模組,包括一第一記憶單元與一第一傳輸埠,該第一控制模組可存取該第一記憶單元之資料,以及一第二控制模組,包括一第二記憶單元與一第二傳輸埠,該第二控制模組可存取該第二記憶單元之資料,其中該第二傳輸埠電性 連接於該第一傳輸埠,以使該第一控制模組亦可存取該第二記憶單元之資料。The purpose of the present invention is to provide a control device, including a first control module, including a first memory unit and a first transmission unit, the first control module can access the data of the first memory unit, and a second control module includes a second memory unit and a second transmission unit, wherein the second control module can access data of the second memory unit, wherein the second transmission power is Connected to the first transmission port, so that the first control module can also access the data of the second memory unit.
根據上述之構想,該第一控制模組更包括一切換單元,耦接於該第一傳輸埠,以供該第一傳輸埠與該第二傳輸埠之間進行資料傳輸。According to the above concept, the first control module further includes a switching unit coupled to the first transmission port for data transmission between the first transmission port and the second transmission port.
根據上述之構想,該第一控制模組與該第二控制模組分別耦接於至少一台電腦主機,並控制鍵盤-螢幕-滑鼠信號與至少一檔案傳送至其中一台電腦主機。According to the above concept, the first control module and the second control module are respectively coupled to at least one computer host, and control the keyboard-screen-mouse signal and the at least one file to be transmitted to one of the computer hosts.
根據上述之構想,該第一傳輸埠及該第二傳輸埠為輸出/入傳輸埠。According to the above concept, the first transmission port and the second transmission port are output/input transmission ports.
根據上述之構想,該第一傳輸埠為輸出傳輸埠,該第二傳輸埠為輸入傳輸埠。According to the above concept, the first transmission port is an output transmission port, and the second transmission port is an input transmission port.
根據上述之構想,該設備更包括一第三控制模組,其包括一第三記憶單元與一第三傳輸埠,該第三傳輸埠為一輸出傳輸埠,其中該第一控制模組更包括一第四傳輸埠,該第四傳輸埠為輸入傳輸埠且電性連接於該第三傳輸埠,以使該第三控制模組可存取該第二記憶單元之一資料。According to the above concept, the device further includes a third control module, which includes a third memory unit and a third transmission port, wherein the third transmission port is an output port, wherein the first control module further includes A fourth transmission port is an input transmission port and is electrically connected to the third transmission port, so that the third control module can access one of the second memory units.
根據上述之構想,各該第一、該第二記憶單元係為一先進先出記憶體或一緩衝器。According to the above concept, each of the first and second memory units is a first-in first-out memory or a buffer.
根據上述之構想,該第二傳輸埠與該第一傳輸埠之電性連接是透過一串接匯流排。According to the above concept, the electrical connection between the second transmission port and the first transmission port is through a series of bus bars.
根據上述之構想,該串接匯流排為一高速序列匯流排或一平行匯流排。According to the above concept, the tandem bus bar is a high speed sequence bus bar or a parallel bus bar.
根據上述之構想,該串接匯流排是雙向運作,且是透過 一微控制單元設定其方向。According to the above concept, the tandem busbar is operated in both directions and is transmitted through A micro control unit sets its direction.
根據上述之構想,各該第一、該第二控制模組包括一映射單元、一第一記憶單元、一第一控制單元、一第二記憶單元以及一第二控制單元,該第一控制單元包括一第一端點及一第二端點,該第二控制單元包括一第三端點及一第四端點,且其中該第一記憶單元及第二記憶單元為該第一與該第二控制單元所共用,該映射單元控制該第一控制單元及該第二控制單元之間的資料傳輸方向,使該第一控制單元透過該第一端點傳出資料至該第一記憶單元,且該第二控制單元透過該第三端點從該第一記憶單元傳入資料。According to the above concept, each of the first and second control modules includes a mapping unit, a first memory unit, a first control unit, a second memory unit, and a second control unit. The first control unit The first control unit includes a third endpoint and a fourth endpoint, and wherein the first memory unit and the second memory unit are the first and the second The second control unit is configured to control the data transmission direction between the first control unit and the second control unit, so that the first control unit transmits the data to the first memory unit through the first end point. And the second control unit transmits the data from the first memory unit through the third endpoint.
根據上述之構想,該第二記憶單元為該第一與該第二控制單元所共用,該第二控制單元透過該第三端點傳出資料至該第二記憶單元,且該第一控制單元透過該第一端點從該第二記憶單元傳入資料。According to the above concept, the second memory unit is shared by the first and the second control unit, and the second control unit transmits data to the second memory unit through the third terminal, and the first control unit Data is transmitted from the second memory unit through the first endpoint.
根據上述之構想,各該第一、該第二控制模組更分別包括至少一個切換單元,分別耦接至該第一控制單元、該第二控制單元及該映射單元,以供該第一控制單元與該第二控制單元之間進行資料傳輸。According to the above concept, each of the first and second control modules further includes at least one switching unit, respectively coupled to the first control unit, the second control unit, and the mapping unit, for the first control Data transmission is performed between the unit and the second control unit.
根據上述之構想,該第一控制模組及該第二控制模組分別設置於一專用集成電路中。According to the above concept, the first control module and the second control module are respectively disposed in an application specific integrated circuit.
根據上述之構想,該第一控制單元及該第二控制單元為通用序列匯流排控制單元。According to the above concept, the first control unit and the second control unit are universal sequence bus control units.
本案之再一目的在於提供一種用於一控制裝置的控制方法,包含下列之步驟:(a)提供一映射單元、一第一記憶 單元、一包括一第一端點及一第二端點之第一控制單元、一第二記憶單元與一包括一第三端點及一第四端點之第二控制單元;(b)控制該第一控制單元及該第二控制單元之間的資料傳輸方向,使該第一控制單元透過該第一端點傳出資料至該第一記憶單元,且使該第二控制單元透過該第三端點從該第一記憶單元傳入資料;以及(c)使該第一控制單元透過該第一端點從該第二記憶單元傳入資料,且使該第二控制單元透過該第三端點傳出資料至該第二記憶單元。A further object of the present invention is to provide a control method for a control device, comprising the steps of: (a) providing a mapping unit, a first memory a unit, a first control unit including a first endpoint and a second endpoint, a second memory unit, and a second control unit including a third endpoint and a fourth endpoint; (b) controlling The data transmission direction between the first control unit and the second control unit causes the first control unit to transmit data to the first memory unit through the first terminal, and the second control unit transmits the first control unit Transmitting data from the first memory unit; and (c) causing the first control unit to transmit data from the second memory unit through the first endpoint, and causing the second control unit to pass the third The endpoint transmits the data to the second memory unit.
根據上述之構想,該第一記憶單元更具有一第一接口,該第二記憶單元更具有一第二接口,該步驟(b)更包括一步驟當該第一控制單元傳出資料至該第一記憶單元時,透過該第一接口之一切換,使該第一記憶單元耦合於該第一控制單元,當該第二控制單元從該第一記憶單元傳入資料時,透過該第一接口之該切換,使該第一記憶單元耦合於該第二控制單元,且該步驟(c)更包括一步驟(c1)當該第一控制單元從該第二記憶單元傳入資料時,透過該第二接口之一切換使該第二記憶單元耦合於該第一控制單元,而當該第二控制單元傳出資料至該第二記憶單元時,透過該第二接口之該切換使該第二記憶單元耦合於該第二控制單元。According to the above concept, the first memory unit further has a first interface, the second memory unit further has a second interface, and the step (b) further includes a step when the first control unit transmits the data to the first When the memory unit is switched, the first memory unit is coupled to the first control unit by one of the first interfaces, and the first control unit transmits the data from the first memory unit through the first interface. The switching, the first memory unit is coupled to the second control unit, and the step (c) further comprises a step (c1), when the first control unit transmits data from the second memory unit, Switching one of the second interfaces to couple the second memory unit to the first control unit, and when the second control unit transmits data to the second memory unit, the switching through the second interface causes the second A memory unit is coupled to the second control unit.
本案之又一目的在於提供一種用於一控制設備的控制方法,包含下列之步驟:(a)提供一包括一第一記憶單元與一第一傳輸埠之第一控制模組和一包括一第二記憶單元與 一第二傳輸埠之第二控制模組,其中該第二傳輸埠電性連接於該第一傳輸埠;以及(b)使該第一控制模組存取該第二記憶單元之資料。Another object of the present invention is to provide a control method for a control device, comprising the following steps: (a) providing a first control module including a first memory unit and a first transmission unit, and a first Two memory units and a second control module of the second transmission port, wherein the second transmission port is electrically connected to the first transmission port; and (b) the first control module accesses the data of the second memory unit.
根據上述之構想,該第一控制模組與該第二控制模組分別耦接於至少一台電腦主機,更包括一步驟(c)使該第一控制模組與該第二控制模組分別控制一鍵盤-螢幕-滑鼠信號與傳送至少一檔案至其中一台電腦主機。According to the above concept, the first control module and the second control module are respectively coupled to at least one computer host, and further includes a step (c) of respectively making the first control module and the second control module respectively Control a keyboard-screen-mouse signal and transfer at least one file to one of the computer hosts.
根據上述之構想,該設備更包括一包括一第三記憶單元與一為輸出傳輸埠之第三傳輸埠之第三控制模組,該第一控制模組更包括一為輸入傳輸埠之第四傳輸埠,且該第四傳輸埠電性連接於該第三傳輸埠,更包括一步驟(c)使該第三控制模組存取該第二記憶單元之一資料。According to the above concept, the device further includes a third control module including a third memory unit and a third transmission port for output transmission, the first control module further including a fourth for input transmission And transmitting the fourth transmission port to the third transmission port, further comprising a step (c) of causing the third control module to access one of the second memory units.
為了讓本發明之上述目的、特徵、和優點能更明顯易懂,下文特舉較佳實施例,並配合所附圖式,作詳細說明如下:The above described objects, features, and advantages of the present invention will become more apparent and understood.
請參閱第一圖,其係顯示一依據本發明構想之第一較佳實施例的一控制設備之一第一控制模組的架構示意圖。在本實施例中,係使用通用序列匯流排(USB)實作,然本發明並不限定於此,其他如:1394、平行匯流排或其他種類之介面亦可應用於本發明之實施例當中,以下不再贅述。第一USB控制模組21(其為一USB控制設備)包含一第一USB控制單元211、一第一記憶單元212、一映射單元213、一微控制單元214、一第二USB控制單元215與一第二記憶單元216,在本實施例中,第一記憶單元212 與第二記憶單元216是一先進先出記憶體(FIFO),於本圖中分別標示為FIFO A與FIFO B,在其他實施例中,第一記憶單元212、第二記憶單元216也可以是緩衝器或其他形式的記憶體,而本實施例之映射單元213為一暫存單元映射(Register Map),其為一邏輯電路控制第一USB控制單元211及第二USB控制單元215之間的資料傳輸方向。在第一圖中,第一USB控制單元211連接至電腦PC#1,且第二USB控制單元215連接至電腦PC#2。第一記憶單元212具有一第一接口2121,且為第一USB控制單元211與第二USB控制單元215所共用。第一USB控制單元211透過一第一端點2111傳出資料至第一記憶單元212(寫FIFO A),且第二USB控制單元215透過一第三端點2151從第一記憶單元212傳入資料(讀FIFO A)。同樣地,第二記憶單元216具有一第二接口2161,且為第一USB控制單元211與第二USB控制單元215所共用。第二USB控制單元215透過該第三端點2151傳出資料至第二記憶單元216(寫FIFO B),且第一USB控制單元211透過該第一端點2111從第二記憶單元216傳入資料(讀FIFO B)。Please refer to the first figure, which is a schematic structural diagram of a first control module of a control device according to a first preferred embodiment of the present invention. In this embodiment, the general-purpose serial bus (USB) is used for the implementation. However, the present invention is not limited thereto. Others such as 1394, parallel bus or other types of interfaces may also be applied to the embodiments of the present invention. , will not repeat them below. The first USB control module 21 (which is a USB control device) includes a first USB control unit 211, a first memory unit 212, a mapping unit 213, a micro control unit 214, and a second USB control unit 215. a second memory unit 216. In this embodiment, the first memory unit 212 The second memory unit 216 is a first-in-first-out memory (FIFO), which is labeled as FIFO A and FIFO B in the figure. In other embodiments, the first memory unit 212 and the second memory unit 216 may also be A buffer or other form of memory, and the mapping unit 213 of the embodiment is a register map, which is a logic circuit between the first USB control unit 211 and the second USB control unit 215. Data transmission direction. In the first figure, the first USB control unit 211 is connected to the computer PC #1, and the second USB control unit 215 is connected to the computer PC #2. The first memory unit 212 has a first interface 2121 and is shared by the first USB control unit 211 and the second USB control unit 215. The first USB control unit 211 transmits the data to the first memory unit 212 (write FIFO A) through a first endpoint 2111, and the second USB control unit 215 transmits the data from the first memory unit 212 through a third endpoint 2151. Data (read FIFO A). Similarly, the second memory unit 216 has a second interface 2161 and is shared by the first USB control unit 211 and the second USB control unit 215. The second USB control unit 215 transmits the data to the second memory unit 216 (write FIFO B) through the third terminal 2151, and the first USB control unit 211 is transmitted from the second memory unit 216 through the first terminal 2111. Data (read FIFO B).
在本實施例中,第一接口2121可經切換而耦合於第一USB控制單元211以使第一記憶單元212被第一USB控制單元211所使用,或耦合於第二USB控制單元215而使第一記憶單元212被第二USB控制單元215所使用,第二記憶單元216更具有一第二接口2161,第二接口2161可經切換而耦合於第一USB控制單元211以使第二記憶單元 216被第一USB控制單元211所使用,或耦合於第二USB控制單元215以使第二記憶單元216被第二USB控制單元215所使用。此外,在本實施例中,映射單元213是耦接於微控制單元214與第一與第二記憶單元212、216,透過微控制單元214與映射單元213的運作,可以使第一接口2121與第二接口2161在第一與第二USB控制單元211與215之間進行不同的切換。In this embodiment, the first interface 2121 can be coupled to the first USB control unit 211 via switching to enable the first memory unit 212 to be used by the first USB control unit 211 or coupled to the second USB control unit 215. The first memory unit 212 is used by the second USB control unit 215. The second memory unit 216 further has a second interface 2161. The second interface 2161 can be coupled to the first USB control unit 211 to enable the second memory unit. 216 is used by the first USB control unit 211 or coupled to the second USB control unit 215 to cause the second memory unit 216 to be used by the second USB control unit 215. In addition, in this embodiment, the mapping unit 213 is coupled to the micro control unit 214 and the first and second memory units 212, 216, and transmits the micro control unit 214 and the mapping unit 213, so that the first interface 2121 can be The second interface 2161 performs different switching between the first and second USB control units 211 and 215.
第二圖顯示一依據本發明構想之第一較佳實施例的一USB控制設備之架構示意圖。USB控制設備2包含一第一USB控制模組21與一第二USB控制模組22,其中第一USB控制模組21包含一第一USB控制單元211、一第一記憶單元212、一映射單元213、一微控制單元214、一第二USB控制單元215與一第二記憶單元216。而第二USB控制模組22包含一第一USB控制單元221、一第一記憶單元222、一映射單元223、一微控制單元224、一第二USB控制單元225與一第二記憶單元226。在本實施例中,第一USB控制模組21可製作為一專用集成電路(ASIC),而第二USB控制模組22可製作為另一ASIC。第一USB控制模組21可利用一第一傳輸埠,如:本實施例中是一輸入/輸出埠(例如CO1)電性連接到第二USB控制模組22所在之另一ASIC的第二傳輸埠,如:輸入/輸出埠(例如CI2),使得第一USB控制模組21可以存取第二USB控制模組22所在之另一ASIC中的記憶體,或者讓第二USB控制模組22所在之另一ASIC存取第一USB控制模組21所在之ASIC中 的記憶體。第一傳輸埠與第二傳輸埠之間是透過一串接匯流排達成其電性連接,並且其可為一高速串接匯流排或一平行匯流排,此串接匯流排是雙向運作,且在本實施例中是透過微控制單元224設定其資料傳輸方向。The second figure shows a schematic diagram of the architecture of a USB control device in accordance with a first preferred embodiment of the present invention. The USB control device 2 includes a first USB control module 21 and a second USB control module 22, wherein the first USB control module 21 includes a first USB control unit 211, a first memory unit 212, and a mapping unit. 213. A micro control unit 214, a second USB control unit 215, and a second memory unit 216. The second USB control module 22 includes a first USB control unit 221, a first memory unit 222, a mapping unit 223, a micro control unit 224, a second USB control unit 225, and a second memory unit 226. In this embodiment, the first USB control module 21 can be fabricated as an application specific integrated circuit (ASIC), and the second USB control module 22 can be fabricated as another ASIC. The first USB control module 21 can utilize a first transmission port, such as: an input/output port (eg, CO1) in the embodiment is electrically connected to the second ASIC of the other ASIC in which the second USB control module 22 is located. The transmission port, such as an input/output port (for example, CI2), allows the first USB control module 21 to access the memory in another ASIC where the second USB control module 22 is located, or to make the second USB control module Another ASIC in which 22 is located accesses the ASIC in which the first USB control module 21 is located Memory. The first transmission port and the second transmission port are electrically connected through a series of bus bars, and may be a high speed serial bus bar or a parallel bus bar, the serial bus bar is bidirectionally operated, and In the present embodiment, the data transmission direction is set by the micro control unit 224.
在本實施例中,第一USB控制模組21與第二USB控制模組22是分別耦接於至少一台電腦主機,如:第一USB控制模組21耦接於PC#1、PC#2,第二USB控制模組22耦接於PC#3、PC#4,並控制鍵盤-螢幕-滑鼠信號與至少一檔案傳送至其中一台電腦主機。In this embodiment, the first USB control module 21 and the second USB control module 22 are respectively coupled to at least one computer host. For example, the first USB control module 21 is coupled to the PC#1 and the PC#. 2. The second USB control module 22 is coupled to the PC#3 and the PC#4, and controls the keyboard-screen-mouse signal and the at least one file to be transmitted to one of the computer hosts.
此外,上述第一傳輸埠與第二傳輸埠亦可以是對應傳輸方向設置,如:第一傳輸埠為輸出傳輸埠,第二傳輸埠為輸入傳輸埠;或者是第一傳輸埠為輸入傳輸埠,該第二傳輸埠為輸出傳輸埠的方式設置。In addition, the first transmission port and the second transmission port may also be corresponding transmission direction settings, such as: the first transmission port is an output transmission port, the second transmission port is an input transmission port, or the first transmission port is an input transmission port. The second transmission port is set in the manner of output transmission port.
第三圖顯示一依據本發明構想之第二較佳實施例的一USB控制設備之一第一USB控制模組的架構示意圖。第一USB控制模組31(其為一USB控制設備)包含一第一USB控制單元311、一第一記憶單元312(FIFO A)、一映射單元313、一微控制單元314、一第二USB控制單元315、一第二記憶單元316(FIFO B)、至少一切換單元,如:第一至一第五開關317-321(其中第一至第四開關各為一1對3開關,而第5開關則為一1對5開關)、一輸入/輸出埠322、一第三記憶單元323(FIFO C)與一第四記憶單元324(FIFO D)。在本實施例中,第一至第四記憶單元312、316、323、324分別為一先進先出記憶體,在本圖中分別標示為FIFO A、FIFO B、FIFO C及FIFO D,並且本實施例係以五個開關317-321為例,在其他實施例中,第一至第四記憶單元312、316、323、324可為其他形式的記憶體,切換單元的數量亦不限於五個,如以一個切換單元分別耦接第一USB控制單元311、第二USB控制單元315及映射單元313,達成此些控制單元之間的資料傳輸。此外,或是以一個切換單元耦接於第一傳輸埠322,以供第一傳輸埠322與另一USB控制模組之第二傳輸埠(圖未示)之間進行資料傳輸。切換單元之形式亦不限制於1對3或1對5開關之方式應用於本發明中,其他元件如:類比切換器、數位切換器等皆可應用,在此不予贅述。在第三圖中,第一USB控制單元311連接至電腦PC#1,並具有一第一端點311A與一第二端點311B,而第二USB控制單元315連接至電腦PC#2,並具有一第三端點315A與一第四端點315B。微控制單元314用於程式控制,其輸出一信號至映射單元313,而映射單元313則係用於控制第一至第五開關317-321切換至哪一個埠及經由第三記憶單元323(FIFO C)與一第四記憶單元324(FIFO D)與第一USB控制單元311和第二USB控制單元315通訊等。第一記憶單元312為第一USB控制單元311與第二USB控制單元315所共用。同樣的,第二記憶單元316亦可為第一USB控制單元311與第二USB控制單元315所共用。例如在路徑1時,PC#1的資料被讀出而被送到PC#2,其係經過第一USB控制單元311、第一端點A(311A)、第一開關317、第三開關319、 第二記憶單元316、第二端點B(315B)與第二USB控制單元315。而在路徑2時,電腦PC#2的資料寫入電腦PC#1,是經由第二USB控制單元315、第二端點A(315A)、第二開關318、第四開關320、第一記憶單元312、第一端點B(311B)與第一USB控制單元311。當路徑3時,電腦PC#1透過第一USB控制單元311、第一端點A(311A)、第一開關317、第五開關321與輸入/輸出埠322,而可連接到下一個USB控制模組。The third figure shows a schematic diagram of the architecture of a first USB control module of a USB control device according to a second preferred embodiment of the present invention. The first USB control module 31 (which is a USB control device) includes a first USB control unit 311, a first memory unit 312 (FIFO A), a mapping unit 313, a micro control unit 314, and a second USB. The control unit 315, a second memory unit 316 (FIFO B), at least one switching unit, such as: first to fifth switches 317-321 (wherein the first to fourth switches are each a pair of 3 switches, and the The 5 switches are a 1-to-5 switch), an input/output port 322, a third memory unit 323 (FIFO C), and a fourth memory unit 324 (FIFO D). In this embodiment, the first to fourth memory units 312, 316, 323, and 324 are respectively a first-in first-out memory, and are respectively labeled as FIFOs in the figure. A, FIFO B, FIFO C and FIFO D, and this embodiment takes five switches 317-321 as an example. In other embodiments, the first to fourth memory units 312, 316, 323, 324 may be in other forms. The number of the switching units is not limited to five. For example, the first USB control unit 311, the second USB control unit 315, and the mapping unit 313 are coupled to each other by a switching unit to achieve data transmission between the control units. . In addition, it is coupled to the first transmission port 322 by a switching unit for data transmission between the first transmission port 322 and a second transmission port (not shown) of another USB control module. The form of the switching unit is not limited to the one pair of 3 or the pair of 5 switches. The other components, such as an analog switch, a digital switch, etc., are applicable, and are not described herein. In the third figure, the first USB control unit 311 is connected to the computer PC#1 and has a first endpoint 311A and a second endpoint 311B, and the second USB control unit 315 is connected to the computer PC#2, and There is a third endpoint 315A and a fourth endpoint 315B. The micro control unit 314 is used for program control, which outputs a signal to the mapping unit 313, and the mapping unit 313 is used to control which of the first to fifth switches 317-321 is switched to and via the third memory unit 323 (FIFO). C) communicating with a fourth memory unit 324 (FIFO D) with the first USB control unit 311 and the second USB control unit 315, and the like. The first memory unit 312 is shared by the first USB control unit 311 and the second USB control unit 315. Similarly, the second memory unit 316 can also be shared by the first USB control unit 311 and the second USB control unit 315. For example, at path 1, the data of PC#1 is read and sent to PC#2, which passes through the first USB control unit 311, the first endpoint A (311A), the first switch 317, and the third switch 319. , The second memory unit 316, the second end point B (315B) and the second USB control unit 315. In the case of the path 2, the data of the computer PC#2 is written into the computer PC#1 via the second USB control unit 315, the second terminal A (315A), the second switch 318, the fourth switch 320, and the first memory. The unit 312, the first end point B (311B) and the first USB control unit 311. When the path is 3, the computer PC#1 can be connected to the next USB control through the first USB control unit 311, the first terminal A (311A), the first switch 317, the fifth switch 321, and the input/output port 322. Module.
此外,映射單元313亦可控制切換單元之切換埠的狀態,使電腦PC#1透過第一開關317、FIFO C、映射單元313而與微控制單元314溝通,使電腦PC#2透過第二開關318、FIFO D、映射單元313而與微控制單元314溝通,以及電腦PC#1及電腦PC#2皆可透過第五開關321、輸入/輸出埠322而從另一USB控制模組傳入或輸出資料。In addition, the mapping unit 313 can also control the state of the switching unit of the switching unit, so that the computer PC#1 communicates with the micro control unit 314 through the first switch 317, the FIFO C, and the mapping unit 313, so that the computer PC#2 passes through the second switch. 318, the FIFO D, the mapping unit 313 and the micro control unit 314, and the computer PC#1 and the computer PC#2 can be transmitted from another USB control module through the fifth switch 321, the input/output port 322 or Output data.
第四圖顯示一依據本發明構想之第三較佳實施例的一USB控制設備之電路示意圖。該USB控制設備3包含一第一USB控制模組31(1st)、一第二USB控制模組32(2nd)與一第三USB控制模組33(3rd)。其中該第一USB控制模組31可使用其輸入埠CI1連接到該第二USB控制模組32的輸出埠CO2,並使用其輸出埠CO1連接到該第三USB控制模組33的輸入埠CI3(該第三USB控制模組33更具一輸出埠CO3),則透過該第一USB控制模組31,可使該第二USB控制模組32存取該第三USB控制模組33的記憶體,或者讓該第三USB控制模組33存取該第二USB控 制模組32的記憶體。The fourth figure shows a circuit diagram of a USB control device in accordance with a third preferred embodiment of the present invention. The USB control device 3 includes a first USB control module 31 (1st), a second USB control module 32 (2nd) and a third USB control module 33 (3rd). The first USB control module 31 can be connected to the output 埠CO2 of the second USB control module 32 using its input 埠CI1, and connected to the input 埠CI3 of the third USB control module 33 using its output 埠CO1. (The third USB control module 33 has an output 埠CO3), and the second USB control module 32 can access the memory of the third USB control module 33 through the first USB control module 31. Or let the third USB control module 33 access the second USB control The memory of the module 32.
第五圖顯示一依據本發明構想之第四較佳實施例的一USB控制設備之電路示意圖。USB控制設備4包含一第一USB控制裝置41(1st)、一第二USB控制裝置42(2nd)與一第三USB控制裝置43(3rd),各USB控制裝置41、42與43亦為一USB控制模組。其中第一USB控制裝置41可使用其輸出/入埠CIO1連接到第二USB控制裝置42的輸出/入埠CIO2,以及連接到第三USB控制裝置43的輸出/入埠CIO3;則第一USB控制裝置41可存取第二USB控制裝置42的記憶體,或使第二USB控制裝置42可存取第一USB控制裝置41的記憶體;亦可透過第一USB控制裝置41,使第二USB控制裝置42存取第三USB控制裝置43的記憶體,或者讓第三USB控制裝置43存取第二USB控制裝置42的記憶體。The fifth figure shows a circuit diagram of a USB control device in accordance with a fourth preferred embodiment of the present invention. The USB control device 4 includes a first USB control device 41 (1st), a second USB control device 42 (2nd) and a third USB control device 43 (3rd). Each of the USB control devices 41, 42 and 43 is also a USB control module. Wherein the first USB control device 41 can be connected to the output/input CIO2 of the second USB control device 42 using its output/input CIO1, and to the output/input CIO3 of the third USB control device 43; The control device 41 can access the memory of the second USB control device 42 or enable the second USB control device 42 to access the memory of the first USB control device 41. The first USB control device 41 can also be used to make the second The USB control device 42 accesses the memory of the third USB control device 43, or causes the third USB control device 43 to access the memory of the second USB control device 42.
本發明中所稱之記憶體可為一先進先出記憶體(FIFO memory)、一緩衝器(buffer)或其他形式之記憶體。The memory referred to in the present invention may be a FIFO memory, a buffer or other form of memory.
第六圖顯示一依據本發明構想之第一較佳實施例的一第一USB控制模組與一第二USB控制模組間以一串接匯流排和一平行匯流排電性連接之電路示意圖。其中第一USB控制模組21可製作為晶片ASIC#1,而第二USB控制模組22可製作為晶片ASIC#2。第一USB控制模組21包含一第一記憶單元212與一平行至序列轉換裝置(P2S)217,而第二USB控制模組22包含一第一USB控制單元221與一序列至平行轉換裝置(S2P)227。兩晶片ASIC#1 與ASIC#2間可透過一平行匯流排來溝通(例如,第六圖中所示為一每一讀寫需80ns之平行匯流排),亦可使用序列匯流排來溝通(例如,在第六圖中所示為一每一讀寫需10ns之高速序列匯流排)。FIG. 6 is a circuit diagram showing a circuit between a first USB control module and a second USB control module electrically connected by a series of bus bars and a parallel bus bar according to the first preferred embodiment of the present invention. . The first USB control module 21 can be fabricated as a chip ASIC #1, and the second USB control module 22 can be fabricated as a chip ASIC #2. The first USB control module 21 includes a first memory unit 212 and a parallel to sequence conversion device (P2S) 217, and the second USB control module 22 includes a first USB control unit 221 and a sequence to parallel conversion device ( S2P) 227. Two-chip ASIC#1 It can communicate with ASIC#2 through a parallel bus (for example, the sixth figure shows a parallel bus with 80ns for each read and write), or you can use the serial bus to communicate (for example, in the sixth The figure shows a high-speed sequence bus that requires 10 ns per read and write).
綜上所述,本發明以ASIC實施時,可提供一種控制設備,讓一擁有兩個控制單元的ASIC具有一個通訊介面,使各ASIC間可以互串,或可以並聯在一起,且利用「切換記憶體的接口以讓兩個控制單元共用」的技術於各ASIC,那麼,兩個ASIC便可以做到四埠KVM的應用(包括檔案轉移與VNC等)。由於不同控制設備的記憶體可互相交換(swap),且各控制設備間可以串接,故其確實具有新穎性;而因為控制設備的資料傳輸迅速,且控制設備可串接,擴充性佳,故其具有新穎性,而因為控制設備可製作於二埠的ASIC上,又能串接兩個ASIC成為一四埠之KVM,其物料清單成本(BOM cost)較低,故其更具有極佳之產業利用性。In summary, when the present invention is implemented by an ASIC, a control device can be provided, so that an ASIC having two control units has a communication interface, so that the ASICs can be mutually connected, or can be connected in parallel, and utilize "switching. The interface of the memory is shared by the two control units. The two ASICs can be used for four KVM applications (including file transfer and VNC). Since the memory of different control devices can be swapped and the control devices can be connected in series, it is indeed novel; and because the data transmission of the control device is fast, and the control device can be connected in series, the expansion is good. Therefore, it is novel, and because the control device can be fabricated on the second ASIC, and the two ASICs can be connected in series to become a KVM with a lower BOM cost, it is even better. Industrial utilization.
是以,縱使本案已由上述之實施例所詳細敘述而可由熟悉本技藝之人士任施匠思而為諸般修飾,然皆不脫如附申請專利範圍所欲保護者。Therefore, even though the present invention has been described in detail by the above-described embodiments, it can be modified by those skilled in the art, and is not intended to be protected as claimed.
2,3,4‧‧‧USB控制設備2,3,4‧‧‧USB control device
21,31‧‧‧第一USB控制模組21,31‧‧‧First USB Control Module
211,221,311‧‧‧第一USB控制單元211,221,311‧‧‧First USB Control Unit
2111,2211,311A‧‧‧第一端點2111, 2211, 311A‧‧‧ first endpoint
2112,311B‧‧‧第二端點2112, 311B‧‧‧ second endpoint
212,222,312‧‧‧第一記憶單元212,222,312‧‧‧First memory unit
2121‧‧‧第一接口2121‧‧‧ first interface
213,223,313‧‧‧映射單元213,223,313‧‧‧ mapping unit
214,224,314‧‧‧微控制單元214,224,314‧‧‧Micro Control Unit
215,225,315‧‧‧第二USB控制單元215,225,315‧‧‧second USB control unit
2151,2251,315A‧‧‧第三端點2151, 2251, 315A‧‧‧ third endpoint
2152,315B‧‧‧第四端點2152, 315B‧‧‧ fourth endpoint
216,226,316‧‧‧第二記憶單元216,226,316‧‧‧second memory unit
2161‧‧‧第二接口2161‧‧‧second interface
217‧‧‧平行至序列轉換裝置217‧‧‧Parallel to sequence conversion device
22,32‧‧‧第二USB控制模組22,32‧‧‧Second USB Control Module
227‧‧‧序列至平行轉換裝置227‧‧‧Sequence to Parallel Conversion Unit
317‧‧‧第一開關317‧‧‧First switch
318‧‧‧第二開關318‧‧‧second switch
319‧‧‧第三開關319‧‧‧third switch
320‧‧‧第四開關320‧‧‧fourth switch
321‧‧‧第五開關321‧‧‧ fifth switch
322‧‧‧輸入/輸出埠322‧‧‧Input/Output埠
323‧‧‧第三記憶單元323‧‧‧ third memory unit
324‧‧‧第四記憶單元324‧‧‧fourth memory unit
33‧‧‧第三USB控制模組33‧‧‧ Third USB Control Module
41,42,43‧‧‧USB控制裝置41,42,43‧‧‧USB control unit
第一圖:其係顯示一依據本發明構想之第一較佳實施例的一控制設備之一第一控制模組的架構示意圖;第二圖:其係顯示一依據本發明構想之第一較佳實施例的一控制設備之架構示意圖;第三圖:其係顯示一依據本發明構想之第二較佳實施例的 一控制設備之一第一控制模組的架構示意圖;第四圖:其係顯示一依據本發明構想之第三較佳實施例的一控制設備之電路示意圖;第五圖:其係顯示一依據本發明構想之第四較佳實施例的一控制設備之電路示意圖;以及第六圖:其係顯示一依據本發明構想之第一較佳實施例的一第一控制模組與一第二控制模組間以一序列匯流排和一平行匯流排電性連接之電路示意圖。The first figure shows a schematic diagram of a first control module of a control device according to a first preferred embodiment of the present invention; the second figure shows a first comparison according to the concept of the present invention. Schematic diagram of a control device of a preferred embodiment; third diagram: showing a second preferred embodiment in accordance with the inventive concept Schematic diagram of a first control module of a control device; fourth diagram: showing a circuit diagram of a control device according to a third preferred embodiment of the present invention; fifth figure: showing a basis A schematic diagram of a control device of a fourth preferred embodiment of the present invention; and a sixth diagram showing a first control module and a second control in accordance with a first preferred embodiment of the present invention A schematic diagram of a circuit in which a series of bus bars and a parallel bus bar are electrically connected between modules.
2‧‧‧USB控制設備2‧‧‧USB control device
21‧‧‧第一USB控制模組21‧‧‧First USB Control Module
211,221‧‧‧第一USB控制單元211,221‧‧‧First USB Control Unit
2111,2211‧‧‧第一端點2111, 2211‧‧‧ first endpoint
212,222‧‧‧第一記憶單元212, 222‧‧‧ first memory unit
213,223‧‧‧映射單元213,223‧‧‧ mapping unit
214,224‧‧‧微控制單元214,224‧‧‧Micro Control Unit
215, 225‧‧‧第二USB控制單元215, 225‧‧‧Second USB Control Unit
2151,2251‧‧‧第三端點2151, 2251‧‧‧ third endpoint
216,226‧‧‧第二記憶單元216,226‧‧‧Second memory unit
22‧‧‧第二USB控制模組22‧‧‧Second USB Control Module
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW098119607A TWI489282B (en) | 2009-06-11 | 2009-06-11 | Controlling device and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW098119607A TWI489282B (en) | 2009-06-11 | 2009-06-11 | Controlling device and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201044171A TW201044171A (en) | 2010-12-16 |
TWI489282B true TWI489282B (en) | 2015-06-21 |
Family
ID=45001240
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW098119607A TWI489282B (en) | 2009-06-11 | 2009-06-11 | Controlling device and method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI489282B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050071733A1 (en) * | 2003-09-29 | 2005-03-31 | Fumihiro Fukae | Communication controller, host-side controller, communication system, USB system, communication equipment, communication method, packet-based communication method, packet-based communication program, and storage medium |
TW200903264A (en) * | 2007-07-04 | 2009-01-16 | Ours Technology Inc | Data sharing and transfer systems and methods |
-
2009
- 2009-06-11 TW TW098119607A patent/TWI489282B/en active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050071733A1 (en) * | 2003-09-29 | 2005-03-31 | Fumihiro Fukae | Communication controller, host-side controller, communication system, USB system, communication equipment, communication method, packet-based communication method, packet-based communication program, and storage medium |
TW200903264A (en) * | 2007-07-04 | 2009-01-16 | Ours Technology Inc | Data sharing and transfer systems and methods |
Also Published As
Publication number | Publication date |
---|---|
TW201044171A (en) | 2010-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI566104B (en) | Systems for switching between multiple computing device interfaces and methods and systems for switching between pcie buses thereof | |
CN100481050C (en) | Method and system for multiple GPU support | |
CN111008170B (en) | System chip, bus interface connection circuit and bus interface connection method thereof | |
WO2002077835A1 (en) | Communication control semiconductor device and interface system | |
TWI647571B (en) | Usb hub | |
CN101004674B (en) | Data processing system and high-definition TV including the data processing system | |
CN101937410B (en) | Control device and method thereof | |
CN110765053B (en) | N-M AXI bus controller and configurable arbitration mechanism implementation method thereof | |
CN110362058A (en) | The system tested for multiple interfaces | |
JP3992702B2 (en) | Programmable logic blocks that can be used for asynchronous circuit design | |
TWI489282B (en) | Controlling device and method thereof | |
JP2008041022A (en) | I/o device, communication device, servomotor control device, control system and robot system | |
TW201915767A (en) | Usb hub | |
TW201351930A (en) | Switch system and method of operating switch | |
CN102622319B (en) | Data exchange system of high-speed storage interface IP (Internet Protocol) core based on MPMC (Multi-Port Memory Controller) | |
CN207503207U (en) | For the integrated test system of multiplex roles | |
TW201405315A (en) | Data routing system supporting dual master apparatuses | |
RU140982U1 (en) | REMOTE DEVICE ADAPTER CHIP | |
CN204203956U (en) | The unequal dual port RAM read-write of data-bus width and arbitration controller | |
US7716398B2 (en) | Bifurcate buffer | |
TW201403334A (en) | Route switching system for daisy-chained apparatuses and interface apparatus | |
RU158939U1 (en) | PERIPHERAL INTERFACE CONTROLLER (KPI-2) | |
CN103744817A (en) | Communication transforming bridge device from Avalon bus to Crossbar bus and communication transforming method of communication transforming bridge device | |
CN113472964B (en) | Image processing device and system | |
CN103034613A (en) | Data communication method between processors and FPGA (field programmable gate array) equipment |