TW200411520A - Multi-computer switch - Google Patents
Multi-computer switch Download PDFInfo
- Publication number
- TW200411520A TW200411520A TW91137911A TW91137911A TW200411520A TW 200411520 A TW200411520 A TW 200411520A TW 91137911 A TW91137911 A TW 91137911A TW 91137911 A TW91137911 A TW 91137911A TW 200411520 A TW200411520 A TW 200411520A
- Authority
- TW
- Taiwan
- Prior art keywords
- microprocessor
- computer
- switch
- patent application
- scope
- Prior art date
Links
Landscapes
- Studio Circuits (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
Description
200411520 五、發明說明(1) 【發明所屬之技術領域】 本發明係關於一種切換器,特別是一種以一組鍵盤、 滑鼠及螢幕操控所有電腦之多電腦切換器。 先前技術】 所謂的多電腦切換器,又稱做KVM切換器,K指的是鍵 盤(keyboard) ,V指的是影像(video) ,Μ指的是滑鼠 mouse),是一種可管理多台電腦的有效工具,只要一 組鍵盤、滑鼠及螢幕,即可輕易操控所有電腦。 在早期生產電腦主機者,必須測試至少48小時,為了 測試須大量的螢幕與鍵盤,於是一種簡單型電腦切換器就 產生了,可以在生產測試時省去多餘的榮幕、鍵盤,由於 其作業系統大部份為DOS環境,再加上當時的網路尚未普 遍,所以並不講究太多的功能。 目前的多電腦切換器通常應用於一或多位管理員管理 多台電腦的環境,或是一位使用者必須操作兩台或多台電 腦的環境,包括網路操作中心、資料中心、伺服器機房、 軟體開發、測試實驗室、服務中心、部門區域網路及桌面 上同時安裝多台電腦。 多電腦切換器的具有非常多的優點,例如利用空間及 整齊地重整桌面上或機架上兩台、三台或更多電腦的設備 。亦可以節省伺服器機房及資料中心中不常使用的鍵盤、 螢幕及滑鼠等設備成本,更可以中央控制管理多台電腦, 而不需麻煩的由一台使用者工作站換到另一台使用者工作 站〇200411520 V. Description of the invention (1) [Technical field to which the invention belongs] The present invention relates to a switch, especially a multi-computer switch that controls all computers with a set of keyboard, mouse and screen. Previous technology] The so-called multi-computer switch, also known as KVM switch, K refers to the keyboard, V refers to the video, and M refers to the mouse. It can manage multiple computers. An effective tool for your computer. You can easily control all your computers with a single keyboard, mouse, and screen. In the early production of computer hosts, they must test for at least 48 hours. In order to test a large number of screens and keyboards, a simple computer switcher was created, which can save extra glory and keyboards during production testing. Most of the system is a DOS environment, plus the network was not universal at the time, so it does not pay too much attention to functions. The current multi-computer switch is usually used in an environment where one or more administrators manage multiple computers, or an environment where one user must operate two or more computers, including network operation centers, data centers, servers Install multiple computers at the same time in the computer room, software development, test laboratory, service center, departmental LAN and desktop. Multi-computer switches have many advantages, such as using space and neatly reorganizing two, three, or more computers on a desktop or rack. It can also save the cost of keyboards, screens and mice that are not commonly used in server rooms and data centers. It can also centrally manage and manage multiple computers without the need to switch from one user workstation to another. Workstation
第5頁 200411520 五、發明說明(2) I慕,即可握你Γ夕電腦切換器,以一組滑鼠、鍵盤及螢 器管理中:而:有!:腦種”對於生產廠商、或是祠服 【發明内容】。貝為一種相當必要的設備。 |電腦ί:;上月要目的在於提供-種多 =以達到控制多部電腦的目的。 1器,使得-:以ίί可f :月:?露之多電腦切換 目前該滑鼠與該鐽盤所控制二^鼠與鍵盤控制,並將 器連接之勞幕顯示,包括該多電腦切換 一個以上之PS/2連^切換;,Ϊ匯流排切換器係連接至 j流排連接至一匯換二弟=微處理器,經由一 PS/2匯 個以上之PS/2連接埠;二;三:5流f切換器係連接至一 排連接至該第一微處理;第,二:更經由一 I2C匯流 PS/2匯流排連接至一第一連Hi说f理器,以及經由一 理滑鼠訊號與鍵盤訊號,並將取二二f 一連接埠,用以處 由該第一微處理器盥該繁—乳命令與鍵盤命令分別經 I”;以及-影像訊號理=至目前所控制之 為,該影像切換器係連接至一 係連接至一影像切換 前所控制之電腦之一 $ f上之影像連接埠,用以 |碼後,再經由一與該影以=號經由該影像解碼電路解 接之該螢幕顯示。此外Mu路連接之-第三連接埠連 解碼電路連接至該影像訊號示器,係透過一 丨 馬电路,用以輪出一切換訊 200411520 五、發明說明(3) 號以切換影像輸出之通道,並將該切換訊號傳送至該第三 微處理器,傳得該第三微處理器可將該滑鼠命令與鍵盤命 令傳送至相對應之電腦。 有關本發明的特徵與實作,茲配合圖示作最佳實施例 詳細說明如下。 【實施方式】Page 5 200411520 V. Description of the invention (2) I adore, you can hold your computer switch and manage it with a set of mouse, keyboard and monitor: and: yes! "Brain type" is for the manufacturer or the shrine clothing [Inventive Content]. Shell is a quite necessary device. | Computer ί:; The purpose of last month is to provide -species = to achieve the purpose of controlling multiple computers. 1 Device, so that :: ίί: f: month :? Ludo's computer switches the mouse and keyboard control currently controlled by the mouse and keyboard, and displays the connection screen, including the multicomputer switch one The above PS / 2 connection ^ switch; Ϊ bus switch is connected to the j bus connected to a second exchange = two microprocessors, more than one PS / 2 port via a PS / 2 sink; two; 3: the 5 stream f switch is connected to a row connected to the first micro processor; the second, 2: the I 2 C bus PS / 2 bus is connected to a first Hi processor, and Mouse signal and keyboard signal, and will take two two f one port for the first microprocessor to use the "milk-milk command and keyboard command via I" respectively; and-image signal management = to the present The control is that the image switch is connected to one of the computers controlled by $ f The video port is used for | code, and then is displayed on the screen through a video decoding circuit that is connected to the video with the sign =. In addition, the third port connected to the Mu channel is connected to the video signal indicator through a decoding circuit. It is used to turn a switch signal through a horse circuit. 200411520 V. Invention description (3) to switch the video output channel And transmits the switching signal to the third microprocessor, and it is obtained that the third microprocessor can transmit the mouse command and the keyboard command to the corresponding computer. Regarding the features and implementation of the present invention, the preferred embodiment will be described in detail with reference to the drawings. [Embodiment]
首先,請參考『第1圖』,為•應用本發明之系統架構 圖。如圖所示,本發明所揭露之多電腦切換器1 0 0,可連 接至少一台以上之電腦200。電腦20 0並未連接有螢幕、滑 鼠等週邊設備以及螢幕等顯不設備’而透過多電腦切換器 1 0 0,使得鍵盤3 0 0、滑鼠4 0 0可以操控多台電腦,並透過 多電腦切換器1 0 0 5將目前所操控的電腦顯示於螢幕5 0 0 上。First, please refer to "Figure 1" for a diagram of the system architecture to which the present invention is applied. As shown in the figure, the multiple computer switches 100 disclosed in the present invention can be connected to at least one computer 200. The computer 200 is not connected to a peripheral device such as a screen, a mouse, and a display device such as a screen. Instead, the multi-computer switch 1 0 0 enables the keyboard 3 0 0 and the mouse 4 0 0 to control multiple computers. The multi-computer switcher 1 0 5 displays the computer currently being controlled on the screen 5 0 0.
此處指的電腦2 0 0並非僅連接至一台電腦,而是代表 連接至多台電腦,僅以一台電腦代表係為便於說明,以下 說明中所指電腦,若未特別說明,同樣為代表多台電腦。 多電腦切換器1 0 0中的内部組成請參考『第2圖』。包括有 第一匯流排切換器1 0 1以及一第二匯流排切換器1 0 2,其中 第一匯流排切換器1 0 1係用以連接至電腦2 0 0的鍵盤連接埠 ,例如PS/2連接埠或AT連接埠,可以使用多個具有個連接 埠的切換器_接而成,例如四對一解多工器,即可達成操 控多台電腦的目的。而第二匯流排切換器1 0 2,係用以連 接至電腦2 0 0的滑鼠連接埠,例如,PS/2連接埠,同樣可 以使用多個具有個連接埠的切換器串接而成,例如四對一 200411520 五'發明說明(4) 一 解多工器。 另外尚有與周邊控制設備相遠 連接埠1 11係連接至一鍵盤,第_ 連接埠,包括有第 滑鼠。第一連接埠Hi並不一定n2係連接至一 鼠,僅於連接時,帛一匯流排切要換連器接所鍵灸,亦可連接滑 盘能盘第一連接遠i車接的Η、嘉Ab ‘ 連接的連接璋必須 /、此/、弟連接埠連接的周邊能溝通訊號以 明,將以第一代表連接鍵盤,第二代表連接滑鼠。ΰ 第一匯流排切換器101係與一第一微處理器121透過 PS2匯流排151相接,同樣地,第二匯流排切換器1〇2係與 弟一微處理态12 2透過P S 2匯流排1 5 2相接,第一微處理 器1 2 1係用接收電腦2 0 0所輸出的鍵盤訊號,並輸出至第三 微處理裔1 2 3 ;第二微處理器〇 〇 〇係用接收電腦2 〇 〇所輸出 的滑鼠訊號,並輸出至第三微處理器i 2 3。第三微處理器 1 2 3係用以處理電腦2 0 0之滑鼠訊號、鍵盤訊號,以及鍵盤 命令以及滑鼠命令。第一微處理器1 2 1、第二微處理器1 2 2 以及第三微處理器1 23間係以I 2C匯流排作為訊號傳遞之介 面5 I 2 C匯流排係為一種與周邊輸出入零組件間之溝通介 面。此處運用三個微處理器主要的考量係減輕第三微處理 益1 2 3的運算里’使得監控電腦2 0 0之訊號可以更完整,而 不會有訊號遺失之狀況發生。 第一微處理器1 2 1、第二微處理器1 2 2與第三微處理器 1 2 3係採用一種優先中斷控制微處理器(p r i 〇 r i t yThe computer referred to here is not only connected to one computer, but is connected to multiple computers. It is represented by only one computer for the convenience of explanation. The computers referred to in the following description are also representative unless otherwise specified. Multiple computers. Please refer to "Figure 2" for the internal composition of the multi-computer switcher 100. It includes a first bus switch 101 and a second bus switch 101. The first bus switch 101 is a keyboard port for connecting to a computer 2000, such as PS / 2 port or AT port, you can use multiple switches with a port to connect, such as a four-to-one demultiplexer, you can achieve the purpose of controlling multiple computers. The second bus switch 102 is a mouse port used to connect to a computer 200. For example, the PS / 2 port can also be connected in series by using multiple switches with two ports. For example, four-to-one 200411520 five 'invention description (4) a demultiplexer. In addition, it is far from the peripheral control devices. Ports 1 and 11 are connected to a keyboard. The _ port includes the mouse. The first port Hi is not necessarily n2 connected to a mouse. Only when connected, a bus must be replaced with a connector to connect the key moxibustion, or a slider can be connected to the remote i. 1. The connection of Jia Ab 'must be /, this /, and the peripheral channel number of the peripheral port connection is clear. The first representative will be connected to the keyboard, and the second representative will be connected to the mouse. ΰ The first bus switch 101 is connected to a first microprocessor 121 through a PS2 bus 151. Similarly, the second bus switch 1102 is connected to the first micro processor 12 2 through a PS 2 bus. Rows 152 are connected. The first microprocessor 1 2 1 is used to receive the keyboard signal output from the computer 2000 and output to the third microprocessor 1 2 3; the second microprocessor 〇 00 is used The mouse signal output from the computer 2000 is received and output to the third microprocessor i 2 3. The third microprocessor 1 2 3 is used for processing mouse signals, keyboard signals, keyboard commands and mouse commands of the computer 2000. The first microprocessor 1 2 1, the second microprocessor 1 2 2, and the third microprocessor 1 23 are interfaces that use an I 2C bus as a signal transmission. 5 The I 2 C bus is a kind of input and output with peripherals. Communication interface between components. The main consideration of using the three microprocessors here is to reduce the third micro-processor's calculation. The signal from the monitoring computer 2000 can be more complete without any signal loss. The first microprocessor 1 2 1, the second microprocessor 1 2 2 and the third microprocessor 1 2 3 adopt a priority interrupt control microprocessor (p r i 〇 r i t y
Interrupt Controller ( PIC) Micro Processor) ) ° 而連接至電腦2 0 0影像輸出入埠的係為一影像切換器1 〇 3,Interrupt Controller (PIC) Micro Processor)) ° The video output port connected to the computer 2 0 0 is an image switcher 103.
第8頁 200411520 五、發明說明(5) 係透過影像匯流排(VGA Bus)連接。第一匯流排切換器 1 0 1與第二匯流排切換器1 0 2皆為雙向數位式之切換器,影 像切換器1 0 3為單向類比式之切換器。影像切換器1 0 3僅用 以輸出影像訊號至螢幕顯示,因此採用單向之切換器即可 。透過第三連接埠11 3連接到一螢幕,而將目前所操控之 電腦的訊息顯示出來。影像切換器1 0 3與第三連接埠11 3間 連接有一解碼器1 41與一解多工器1 4 2所組成之影像訊號解 碼電路1 4 0,解碼器1 4 1係為一具有解碼功能之積體電路晶 片(I C),解多工器1 4 2係為二對一之解多工器,用以將 影像切換器1 0 3所輸出之影像訊號解碼後顯示於與第三連 接埠連接11 3之螢幕上。 除了上述元件外,更包括有一切換顯示器1 4 3,係用 以切換所要控制之電腦,並可以LED顯示燈顯示目前所切 換之電腦,透過一解碼電路1 4 4連接至解碼器1 41,係用以 將所選擇的輸出通道解碼以供切換顯示器1 4 3顯示。切換 顯示器1 4 3僅選擇影像應輸出之通道,並未對第一匯流排 1 〇 1與第二匯流排1 〇 2作切換之操作。第三微處理器1 2 3係 根據切換顯示器1 4 3所輸出之切換訊號,將滑鼠命令與鍵 盤命令傳送至相對應之電腦。第三微處理器1 2 3與切換顯 示器143間更包括有一保護電路145,係為一史密特( Schmitt)電路,用以防止於切換時,所產生的不穩定信 號而影響第三微處理器1 2 3的運作。 另有一狀態讀入器1 4 6,係為一平行輸入串列輸出 (parallel in / serial out)之積體電路晶片,係用以 200411520 五、發明說明(6) 將電源的狀態讀入第三微處理器1 2 3中。而連接至解多工 器14 2與第三微處理器12 3的擴充介面14 7用以與另一組多 電腦切換器以堆疊方式相接,以控制更多台的電腦。第三 微處理器1 3 2更連接有一邏輯閘1 4 9,邏輯閘1 4 9係為一具 有致能腳位的邏輯閘,用以偵測使用者是否有在使用滑鼠 或鍵盤,亦即用以接收是否有滑鼠命令或鍵盤命令。Page 8 200411520 V. Description of the invention (5) It is connected through a video bus (VGA Bus). The first bus switch 101 and the second bus switch 102 are both bidirectional digital switches, and the video switch 103 is a unidirectional analog switch. The image switcher 10 is only used to output the image signal to the screen display, so a one-way switcher is sufficient. Connect to a screen through the third port 11 3 and display the information of the computer you are currently controlling. An image signal decoding circuit 1 4 0 composed of a decoder 1 41 and a demultiplexer 1 4 2 is connected between the image switcher 103 and the third port 11 3, and the decoder 1 4 1 is a device having decoding Function integrated circuit chip (IC), demultiplexer 1 4 2 is a two-to-one demultiplexer, which is used to decode the image signal output by the image switcher 103 and display it on the third connection. The port is connected to the 11 3 screen. In addition to the above components, it also includes a switching display 1 4 3, which is used to switch the computer to be controlled, and can display the currently switched computer with an LED indicator. It is connected to the decoder 1 41 through a decoding circuit 1 4 4 Used to decode the selected output channel for switching display 1 4 3 display. Switching the display 1 4 3 only selects the channel to which the image should be output, and does not switch between the first bus 101 and the second bus 102. The third microprocessor 1 2 3 transmits the mouse command and the keyboard command to the corresponding computer according to the switching signal output from the switching display 1 4 3. A protection circuit 145 is further included between the third microprocessor 1 2 3 and the switching display 143, which is a Schmitt circuit to prevent the unstable signal generated during the switching from affecting the third micro processing. Operation of the device 1 2 3. Another state reader 1 4 6 is a integrated circuit chip with parallel input / serial out, which is used for 200411520 V. Description of the invention (6) Read the state of the power supply into the third Microprocessor 1 2 3. The expansion interface 14 7 connected to the demultiplexer 14 2 and the third microprocessor 12 3 is used to stack with another multi-computer switcher to control more computers. The third microprocessor 1 3 2 is further connected with a logic gate 1 4 9. The logic gate 1 4 9 is a logic gate with an enabled pin for detecting whether a user is using a mouse or a keyboard. It is used to receive whether there is a mouse command or a keyboard command.
以下以流程圖說明第一微處理器、第二微處理器、以 及第三微處理器内部運作的過程。第一微處理器與第二微 處理器主要用以監控是否有資料要傳遞給第三微處理器, 第三微處理器為多電腦切換器的核心,用以處理來自電腦 2 0 0的滑鼠資料與鍵盤資料,並將滑鼠命令與鍵盤命令傳 送給電腦2 0 0。The following describes the internal operations of the first microprocessor, the second microprocessor, and the third microprocessor with a flowchart. The first microprocessor and the second microprocessor are mainly used to monitor whether there is data to be transferred to the third microprocessor. The third microprocessor is the core of the multi-computer switcher and is used to handle the slippage from the computer 200. Mouse data and keyboard data, and send mouse commands and keyboard commands to the computer 2000.
首先說明第三微處理器的主流程。請參考『第3圖』 ,為第三微處理器的主流程圖。第三微處理器主要用以透 過第一連接埠第二連接埠連接滑鼠、鍵盤並處理滑鼠命令 與鍵盤命令。當開機後,第三微處理器將偵測鍵盤與滑鼠 (步驟6 1 0),並建立初始顯示之初始化資料(·步驟6 11 ),亦即自切換單元獲取目前所設定之顯示通道 (display channel)。接著持續監控12 C匯流排是否有資 料(步驟6 1 2,如果有的話,則執行I 2 C中斷程序(步驟 613)。這裡指的I2C中斷係指中斷係由I2C引擎所觸發之 中斷。 第三微處理器係為一種内建有可支援I 2 C匯流排之微 處理器,當I 2C匯流排有資料要輸入至第三微處理器時, 200411520 五 内 排 處 發明說明(7) 建的I 2 C引擎將白裔t 士必 有資料的時候\第斷目前所執行的程序。當120匯流 理哭與第二料★ 微處理器將接收並處理來自第一微 斷 中 時 以 ;;微;;ί =滑鼠資料以及鍵盤資料。 程序。首先請^『Ϊ行上述的流程外’尚包括三個中 斷流程圖,杏;圖』,為第三微處理器之PS/2 ,第三微處;器Ι = ί令或鍵盤命令要傳送到電腦200 中斷目前第三二執=—PS/2中斷程序(步驟6 2 0), 理器將滑鼠命5或更所執行的程式。接著,第三微處 ),程式將回刭t ί ί叩令傳送至120匯流排後(步驟621 第三微處理=始點(步驟622)。 斷指的是中斯 w的另一個中斷程序為切換中斷,切換中 切換顯示通^日ί由^換通道所觸發之中斷。當切換顯示器 此切換訊,r守,表不目前所將變換目前所操控的電腦, 請參考$由切換顯示器所發出而觸發第三微處理器。 ,當使用者5圖』’為第三微處理器之切換中斷之流程圖 處理器將技以切換單元切換所操控的電腦的時候’第三微 驟63^、,收|,一切換中斷訊號,即執行切換中斷程序(步 像傳輪$’將影像傳輸通道切換到切換單元所設定的之影 (步(步驟63丨)之後,再重新回到程式的中斷點 滑鼠各人〃。此時,第三微處理器將根據切換訊號,將 切換二共鍵盤命令經由第一匯流排切換器與第二匯流排 、=傳迗至相對應的電腦。 由第^ ί 一個中斷程序為内部計時中斷,内部計時中斷係 —微處理為内部之計時器所觸發,係用以更新目前的First, the main flow of the third microprocessor will be described. Please refer to "Figure 3" for the main flowchart of the third microprocessor. The third microprocessor is mainly used to connect the mouse and keyboard through the first port and the second port and to process mouse commands and keyboard commands. When the computer is turned on, the third microprocessor will detect the keyboard and mouse (step 6 10), and establish the initial display initialization data (step 6 11), that is, obtain the currently set display channel from the switching unit ( display channel). Then continuously monitor the 12 C bus for data (step 6 12), if any, execute the I 2 C interrupt procedure (step 613). The I2C interrupt refers to the interrupt that is triggered by the I2C engine. The third microprocessor is a microprocessor with built-in support for I 2 C bus. When the I 2C bus has data to be input to the third microprocessor, 200411520 Invention description at the fifth row (7) The built-in I 2 C engine will be used when the white ancestors have the necessary information. The first program is currently being executed. When the 120 confluence is crying and the second material, the microprocessor will receive and process the data from the first micro interrupt. ; 微;; ί = mouse data and keyboard data. Program. First of all, please ^ "Follow the above process' still includes three interrupt flowcharts, apricot; Figure", PS / 2 for the third microprocessor The third microcomputer; device I = command or keyboard command to be transmitted to the computer 200. Interrupt the current third and second execution =-PS / 2 interrupt program (step 6 2 0), the processor will mouse 5 or execute The program. Then, the third micro)), the program sends the 刭 t ί ί 叩 order to the 120 bus (step 621 The third micro-processing = the starting point (step 622). Broken refers to another interrupt program of Zhongsi w for switching interrupts. Switching display switching during switching is triggered by switching channels. When switching the display, this Switching message, r guard, indicates that the computer currently being controlled will be changed. Please refer to $ issued by the switch display to trigger the third microprocessor. When the user 5 picture "'is the switch of the third microprocessor Interrupted flowchart when the processor will switch the computer being controlled by the switching unit 'third microstep 63 ^ ,, close |, once a switching interrupt signal is switched, the switching interrupt process is executed (step like transfer wheel $' to transfer the image After the channel is switched to the shadow set by the switching unit (step (Step 63 丨)), return to the interruption point of the program. Each mouse will now switch. At this time, the third microprocessor will switch the total power according to the switching signal. The keyboard command is transmitted to the corresponding computer via the first bus switcher and the second bus. = An interrupt program is the internal timer interrupt, and the internal timer interrupt is triggered by the internal timer by the micro-processing. ,system To update the current
200411520 五、發明說明(8) 電源狀態表,使得第一匯流排切換器與第二匯流排切換器 可以根據更新後的電源狀態表監控電腦,而不用將每一的 匯流排切換器中的每一個連接埠都監控,以降低整體之效 月b 請參考『第6圖』為第三微處理器之内部計時中斷之 流程圖,當内部計時器觸發内部計時中斷(步驟6 4 0)時 第三微處理器將從狀態讀入器所輸出之序列資料讀入目 前的電源狀態,並更新第三微處理器中的電源狀態表(步 ^ 641),並改變顯示通道與切換顯示器上的顯示燈,最 後再回到程式中斷點(步驟642)。 接著說明第一微處理器與第二微處理器之運作流程, 第一微處理器與第二微處理器的運作方式相同,因此,以 下說明將同時適用於第一微處理器與第二微處理器。 請參考『第7圖』,為第一微處理器與第二微處理器 的主流程圖,第一微處理器與第二微處理器係用以不斷的 監控電腦2 0 0中是否有滑鼠資料與鍵盤資料,當多電腦切 換器開機時,内部的匯流排切換器會進行初始化的程序( 步驟7 1 0),以便同時監控所有已連接的至多電腦切換器 的滑鼠與鍵盤是否有資料要進行傳輸。初始化之後,便由 第一微處理器與第二微處理器持續的進行監控,亦即不斷 的進行監控是PS/2否有資料要傳輸(步驟711),當有資 料要傳輸時,則將資料由PS/2匯流排傳送至第一微處理器 與第二微處理器,再送出至I 2 C匯流排(步驟7 1 2),由第 三微處理器接收。最後程式再回到步驟7 1 1。200411520 V. Description of the invention (8) Power status table, so that the first bus switcher and the second bus switcher can monitor the computer according to the updated power status table, without having to update each of the bus switchers. One port is monitored to reduce the overall effectiveness. B Please refer to "Figure 6" for the flowchart of the internal timing interrupt of the third microprocessor. When the internal timer triggers the internal timing interrupt (step 6 4 0), The three microprocessors read the sequence data output from the status reader into the current power state, and update the power state table in the third microprocessor (step 641), and change the display channel and switch the display on the display. Light, and finally return to the program interruption point (step 642). Next, the operation flow of the first microprocessor and the second microprocessor will be described. The operation modes of the first microprocessor and the second microprocessor are the same. Therefore, the following description will apply to both the first microprocessor and the second microprocessor. processor. Please refer to "Figure 7" for the main flowchart of the first microprocessor and the second microprocessor. The first microprocessor and the second microprocessor are used to continuously monitor the computer for slippage. Mouse data and keyboard data. When the multi-computer switch is turned on, the internal bus switch will perform the initialization process (step 7 10) to monitor all the mouse and keyboard of the connected multi-computer switch at the same time. Data is to be transmitted. After the initialization, the first microprocessor and the second microprocessor continuously monitor, that is, continuously monitor whether PS / 2 has data to be transmitted (step 711). When there is data to be transmitted, the The data is transmitted from the PS / 2 bus to the first microprocessor and the second microprocessor, and then sent to the I 2 C bus (step 7 1 2) and received by the third microprocessor. Finally the program returns to step 7 1 1.
第12頁 200411520 五、發明說明(9) 第一微處理器與第二微處理器中有一中斷程序,係為 12 C中斷,指的是當第三微處理器有滑鼠命令與鍵盤命令 要傳送至電腦2 0 0時,I 2C的引擎會進行一内部中斷( internal interrupt)程序(步驟),亦即這個中斷程序 在第三微處理器要傳送命令時會進行,使得第一微處理器 與第二微處理器可以接收滑鼠命令與鍵盤命令,並傳送至 PS/2匯流排以對電腦3 0 0進行控制。 請參考『第8圖』,為第一微處理器與第二微處理器 之I 2C中斷流程圖。當第三微處理器要傳送命令時第一微 處理器與第二微處理器内部會執行I 2 C中斷(步驟7 2 0), 第一微處理器與第二微處理器會自I 2C匯流排接收滑鼠命 令或鍵盤命令(步驟72 1),並將命令經由匯流排切換器 傳送至PS/2匯流排再進入電腦中。傳送完畢後,第一微處 理器内部的監控程式將回到中斷點(步驟步驟7 2 2),再 繼續進行監控電腦的是否資料傳輸。 本發明所揭露的多電腦切換器,採電子式設計,非一 般市場所建傳統機械式產品,因此在切換過程中不會電腦 當機或鍵盤/滑鼠無法工作的狀況,同時安裝容易,隨插 即用,不須加裝任何介面卡或安裝任何程式。在電腦開機 狀態中,臨時安裝亦不會造成電腦當機,非常適用於電腦 機房,無須將伺服器主機關機,照樣可以放心安心操作。 此外,更具有下列優點: 1。架構上容易擴充。 2 .具模組化,韌體容易開發。 200411520 五、發明說明 3·透 多 4·更 輕 5 ·連 作 6·可 能 7。具 關 雖然 用以限定 之精神和 之專利保 者為準。 (10) 過I 2 C匯流排,可以達成切換器的堆疊以操控更 的電腦。 換微處理器以及匯流排的型態(Bus Type)即可 易使堆疊數增加。 接之電腦可隨時開關機,不影響其他電腦之操 〇 隨電腦任意時間開機自動連接其鍵盤、滑鼠功 〇 電腦開關機發光二極體(LED)顯示及選擇開 ,方便變換操作之電腦。 本發明以前述之較佳實施例揭露如上,然其並非 本發明,任何熟習相像技藝者,在不脫離本發明 範圍内,當可作些許之更動與潤飾,因此本發明 護範圍須視本說明書所附之申請專利範圍所界定Page 12 200411520 V. Description of the invention (9) There is an interrupt program in the first microprocessor and the second microprocessor, which is a 12 C interrupt, which means that when the third microprocessor has a mouse command and a keyboard command, When transmitting to the computer 2000, the I 2C engine will perform an internal interrupt procedure (step), that is, this interrupt procedure will be executed when the third microprocessor is to transmit a command, so that the first microprocessor And the second microprocessor can receive mouse commands and keyboard commands and send them to the PS / 2 bus to control the computer 300. Please refer to "Figure 8" for the I 2C interrupt flow chart of the first microprocessor and the second microprocessor. When the third microprocessor is to transmit a command, the first microprocessor and the second microprocessor will execute an I 2 C interrupt (step 7 2 0), and the first microprocessor and the second microprocessor will execute an I 2C interrupt. The bus receives a mouse command or a keyboard command (step 72 1), and transmits the command to the PS / 2 bus via the bus switcher and then enters the computer. After the transmission is completed, the monitoring program inside the first microprocessor will return to the interruption point (steps 7 2 2), and then continue to monitor the computer for data transmission. The multi-computer switch disclosed in the present invention adopts an electronic design and is not a traditional mechanical product built in the general market. Therefore, the computer does not crash or the keyboard / mouse cannot work during the switching process, and it is easy to install. Plug and play, no need to install any interface card or install any program. When the computer is turned on, the temporary installation will not cause the computer to crash, which is very suitable for the computer room. There is no need to shut down the server host, so you can operate with peace of mind. In addition, it has the following advantages: 1. Easy to extend in architecture. 2. Modular, easy to develop firmware. 200411520 V. Description of the invention 3. Transparency 4. Lighter 5 5. Continuous operation 6. May 7. Regardless of the patent insurer which is used to qualify the spirit. (10) Through the I 2 C bus, you can stack switches to control more computers. Changing the microprocessor and bus type can easily increase the number of stacks. The connected computer can be turned on and off at any time without affecting the operation of other computers. 〇 When the computer is turned on at any time, it automatically connects its keyboard and mouse function. The present invention is disclosed above with the foregoing preferred embodiments, but it is not the present invention. Any person skilled in the art of similarity can make some changes and retouches without departing from the scope of the present invention. Therefore, the scope of the present invention must be seen in this specification. Defined by the scope of the attached patent application
第14頁 200411520 圖式簡單說明 第1圖,係為應用本發明之多電腦切換器之系統架構圖; 第2圖,係為本發明之多電腦切換器之電路方塊圖; 第3圖,係為本發明之多電腦切換器之第三微處理器的主 流程圖; 第4圖,係為本發明之多電腦切換器之第三微處理器之 P S / 2中斷流程圖; 第5圖,係為本發明之多電腦切換器之第三微處理器之切 換中斷之流程圖; 第6圖,係為本發明之多電腦切換器之第三微處理器之内 部計時中斷之流程圖; 第7圖,係為本發明之多電腦切換器之第一微處理器與第 二微處理器的主流程圖;以及 第8圖,係為本發明之多電腦切換器之第一微處理器與第 二微處理器之I 2 C中斷流程圖。 【圖示符號說明】 100 多 電 腦 切 換 器 200 電 腦 300 鍵 盤 400 滑 鼠 500 螢 幕 101 第 一 匯 流 排 切 換 器 102 第 二 匯 流 排 切 換 器 103 影 像 切 換 器 111 第 一 連 接 埠Page 14 200411520 Brief description of the diagram Figure 1 is a system architecture diagram of the multi-computer switcher applying the present invention; Figure 2 is a circuit block diagram of the multi-computer switcher of the present invention; FIG. 4 is a main flowchart of the third microprocessor of the multi-computer switch of the present invention; FIG. 4 is a PS / 2 interrupt flowchart of the third microprocessor of the multi-computer switch of the present invention; FIG. FIG. 6 is a flowchart of the switching interrupt of the third microprocessor of the multi-computer switch of the present invention; FIG. 6 is a flowchart of the internal timing interrupt of the third microprocessor of the multi-computer switch of the present invention; FIG. 7 is a main flowchart of a first microprocessor and a second microprocessor of the multi-computer switch of the present invention; and FIG. 8 is a first microprocessor and a multi-computer switch of the present invention. I 2 C interrupt flowchart of the second microprocessor. [Illustration of Symbols] More than 100 computer switches 200 computers 300 keypads 400 mice 500 screens 101 first bus switch 102 second bus switch 103 video switch 111 first connection port
第15頁 200411520 圖式簡單說明 112 第 二 連 接 埠 113 第 二 連 接 埠 121 第 一 微 處 理 122 第 二 微 處 理 123 第 二 微 處 理 140 影 像 訊 號 解 141 解 石馬 器 142 解 多 工 器 143 切 換 顯 示 器 144 解 石馬 電 路 145 保 護 電 路 146 狀 態 讀 入 器 147 擴 充 介 面 149 邏輯F 151 PS/2 匯 流 排 152 PS/2 匯 流 排 153 I 2C I 區流排 步 驟6 1 0 接 收 滑 鼠 與 鍵盤資料 步 驟6 1 1 建 立 顯 示 之 初始化資料 步 驟6 1 2 I 2 C匯流排是否有資料 步 驟6 1 3 接 收 資 料 步 驟6 2 0 PS/2 中 斷 步 驟6 2 1 將 資 料 傳 送 到I 2 C匯流排 步 驟6 2 2 回 到 程 式 中 斷點Page 15 200411520 Brief description of the diagram 112 Second port 113 Second port 121 First micro-processing 122 Second micro-processing 123 Second micro-processing 140 Image signal solution 141 Solving horse 142 Demultiplexer 143 Switching the display 144 calcite horse circuit 145 protection circuit 146 status reader 147 expansion interface 149 logic F 151 PS / 2 bus 152 PS / 2 bus 153 I 2C I zone bus step 6 1 0 receive mouse and keyboard data step 6 1 1 Create the displayed initialization data Step 6 1 2 Whether the I 2 C bus has data Step 6 1 3 Receive the data Step 6 2 0 PS / 2 Interrupt Step 6 2 1 Send the data to the I 2 C bus Step 6 2 2 Back to program break point
第16頁 200411520Page 16 200411520
圖式簡單說明 步 驟6 3 0 切 換 中 斷 步 驟6 3 1 變 換 影 像 傳 輸 通 道 步 驟6 3 2 回 到 程 式 中 斷 點 步 驟6 4 0 内 部 計 時 中 斷 步 驟6 4 1 更 新 電 源 狀 態 表 步 驟6 4 2 回 到 程 式 中 斷 點 步 驟7 1 0 初 始 化 匯 流 排 切 換 器 步 驟7 1 1 PS /2 匯 流 排 是 否 有 資 料 傳送 步 驟71 2 接 收 資 料 步 驟7 2 0 I 2C中斷 步 驟7 2 1 接 收 資 料 並 傳 送 至 匯 流 排 步 驟7 2 2 回 到 程 式 中 斷 點The diagram briefly explains step 6 3 0 switch interrupt step 6 3 1 change image transmission channel step 6 3 2 return to program interruption point step 6 4 0 internal timing interrupt step 6 4 1 update power status table step 6 4 2 return to program interrupt Step 7 1 0 Initialize the bus switcher Step 7 1 1 PS / 2 Whether the bus has data transmission step 71 2 Receive data step 7 2 0 I 2C interrupt step 7 2 1 Receive data and send to the bus step 7 2 2 Back to program break point
第17頁Page 17
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW91137911A TW578084B (en) | 2002-12-30 | 2002-12-30 | Multi-computer switcher |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW91137911A TW578084B (en) | 2002-12-30 | 2002-12-30 | Multi-computer switcher |
Publications (2)
Publication Number | Publication Date |
---|---|
TW578084B TW578084B (en) | 2004-03-01 |
TW200411520A true TW200411520A (en) | 2004-07-01 |
Family
ID=32847468
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW91137911A TW578084B (en) | 2002-12-30 | 2002-12-30 | Multi-computer switcher |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW578084B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7613854B2 (en) | 2004-04-15 | 2009-11-03 | Aten International Co., Ltd | Keyboard video mouse (KVM) switch wherein peripherals having source communication protocol are routed via KVM switch and converted to destination communication protocol |
US7584306B2 (en) | 2005-05-19 | 2009-09-01 | Aten International Co., Ltd. | KVM switch with on-screen-display and a computer switching method thereof |
US8682249B2 (en) | 2010-08-11 | 2014-03-25 | International Business Machines Corporation | Input device with switchable frequency channel for switchable use between computer systems |
WO2013091136A1 (en) * | 2011-12-21 | 2013-06-27 | Intel Corporation | Mechanism for facilitating a tablet block of a number of tablet computing devices |
-
2002
- 2002-12-30 TW TW91137911A patent/TW578084B/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
TW578084B (en) | 2004-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20050216620A1 (en) | KVM and USB peripheral switch | |
EP3564795B1 (en) | Human interface device switch with security function | |
US20060253639A1 (en) | Control system for controlling a plurality of target computers through portable computer | |
CN102749985B (en) | Method and device for dynamically adjusting bus clock | |
US6813650B1 (en) | Multimode non-standard universal serial bus computer input device | |
JP3091500U (en) | Switching device that can share keyboard, display and mouse | |
TW200813725A (en) | Multi-host usb device controller | |
TWI220476B (en) | Resources sharing device | |
US8589141B2 (en) | Resource sharing apparatus which disconnects an input device when detecting a standby indication of a switching command | |
TWI529535B (en) | Resource sharing devices | |
TW200421155A (en) | Switching system for operation priority of I/O unit and method thereof | |
US6601129B1 (en) | Interface device between PC and keyboard enabling switching of data | |
JP2000242377A (en) | Display device | |
CN101377761A (en) | Apparatus and method for removing hot-plug equipment | |
CN101872247B (en) | Server monitoring device and method | |
TW200411520A (en) | Multi-computer switch | |
TWI545438B (en) | Computer management system and method thereof | |
TW200830161A (en) | Multi-media KVM switch | |
TWI675317B (en) | Switching method and related electronic system | |
TW201216080A (en) | Server system and method for using shared baseboard management controller | |
TW569120B (en) | A display computer with on-screen identifiers for multiple serial ports for avoiding physical mislabelling of ports | |
TWI526833B (en) | Host device display device and data transmission method thereof | |
TW201117004A (en) | Method for controlling a plurality of personal computer hosts by utilizing a personal computer host, and associated controller and personal computer | |
US20060218255A1 (en) | A method for operating a computer system | |
TWI751529B (en) | Remote control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |