TW201407350A - Input device for controlling multiple computers and the controlling method thereof - Google Patents

Input device for controlling multiple computers and the controlling method thereof Download PDF

Info

Publication number
TW201407350A
TW201407350A TW101127688A TW101127688A TW201407350A TW 201407350 A TW201407350 A TW 201407350A TW 101127688 A TW101127688 A TW 101127688A TW 101127688 A TW101127688 A TW 101127688A TW 201407350 A TW201407350 A TW 201407350A
Authority
TW
Taiwan
Prior art keywords
computer
input device
displacement
input
amount
Prior art date
Application number
TW101127688A
Other languages
Chinese (zh)
Other versions
TWI576700B (en
Inventor
Tao-Cheng Yen
Er-Hao Chen
Original Assignee
Lite On Electronics Guangzhou
Lite On Technology Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lite On Electronics Guangzhou, Lite On Technology Corp filed Critical Lite On Electronics Guangzhou
Priority to TW101127688A priority Critical patent/TWI576700B/en
Publication of TW201407350A publication Critical patent/TW201407350A/en
Application granted granted Critical
Publication of TWI576700B publication Critical patent/TWI576700B/en

Links

Abstract

An input device for controlling multiple computers including a storing unit, a sensing unit, a controlling unit, and a transmitting unit is illustrated. The controlling unit calculates a moving direction and a displacement of the input device according to the sensing unit to determine one of the computers which the input device is in control and generates an input command for the controlled computer. The input command includes identification of the controlled computer and is transmitted to the multiple computers. The computer corresponding to the identification performs the input command. The moving direction corresponds to a pointer direction of the computer. The controlling unit accumulates the displacement to be a first accumulated displacement when the input device moves toward to a first pointer direction. When the first accumulated displacement is larger than a threshold, the controlling unit switches the input device to control another one of the multiple computers.

Description

可控制多電腦之輸入裝置及其控制多電腦之方法 Input device capable of controlling multiple computers and method for controlling multiple computers

本發明有關於一種輸入裝置及其控制電腦的方法,且特別是有關於可控制多電腦的輸入裝置及其控制多電腦的方法。 The present invention relates to an input device and a method of controlling the same, and more particularly to an input device that can control a plurality of computers and a method of controlling the same.

在需要反覆交替控制多部電腦的場合中,除了為每一部電腦裝置配置專用的輸入裝置,而由使用者不斷選擇不同的輸入裝置以控制不同的電腦之外,較常見的手段是將一組輸入裝置與多部電腦主機透過多電腦切換器(KVM)連接,再透過選取切換器上不同的開關而選定所要控制的電腦,以免除必須配置多組輸入裝置的麻煩。 In the case where it is necessary to alternately control a plurality of computers repeatedly, in addition to configuring a dedicated input device for each computer device, and the user continuously selects different input devices to control different computers, a more common means is to The group input device is connected to a plurality of computer hosts through a KVM switch, and the selected computer is selected by selecting different switches on the switch to avoid the trouble of having to configure multiple sets of input devices.

另外,若輸入裝置與電腦之間是透過無線通訊技術溝通的情況,例如採用藍芽技術溝通的主機與輸入裝置,彼此必須事先進行配對(pairing)後才能使用。若要以同一個藍芽輸入裝置改為控制另一項電腦設備時,則需要再切換輸入裝置的識別碼而與另一項電腦設備配對,操作上也不甚方便。 In addition, if the input device and the computer communicate with each other through wireless communication technology, for example, a host computer and an input device that communicate using Bluetooth technology must be paired beforehand to be used. If you want to change the other Bluetooth device with the same Bluetooth input device, you need to switch the input device's identification code to pair with another computer device, which is not convenient.

簡言之,根據目前已知技術,當要以輸入裝置控制多部電腦時,每次切換皆需要經過瑣碎而頻繁的切換設定才能達到控制其他電腦的目的,對經常需要快速在不同電腦之間切換控制的使用者而言極易造成操作的不便、混淆,以及時間的浪費。 In short, according to the currently known technology, when multiple computers are to be controlled by an input device, each switching requires a trivial and frequent switching setting to achieve the purpose of controlling other computers, and often needs to be quickly between different computers. Users who switch control can easily cause inconvenience, confusion, and waste of time.

本發明實施例提供一種可控制多電腦的輸入裝置,每一電腦連接一個螢幕,所述輸入裝置包括:儲存單元、感測單元、控制單元及傳輸單元。儲存單元記錄每一電腦對應的識別碼,感測單元用以感測輸入裝置的位移變化。控制單元則依照感測單元所感測的位移變化計算輸入裝置的位移方向及位移量,以判斷輸入裝置在所述多電腦其中一受控制電腦作用,並產生輸入指令而控制輸入裝置作用中的受控制電腦。輸入指令包括輸入裝置作用中的受控制電腦的識別碼。傳輸單元電性連接控制單元,並發送輸入指令到多電腦,以供與輸入指令所包括的識別碼對應的受控制電腦執行輸入指令。其中,位移方向對應於輸入裝置作用中之受控制電腦之螢幕的指標方向。指標方向包括第一指標方向及第二指標方向,控制單元累計輸入裝置連續朝向第一指標方向移動的位移量為第一累積量,並於第一累積量大於門檻值時,判斷輸入裝置切換到多電腦中的另一電腦以控制所述的另一電腦。 An embodiment of the present invention provides an input device that can control multiple computers. Each computer is connected to a screen. The input device includes: a storage unit, a sensing unit, a control unit, and a transmission unit. The storage unit records an identification code corresponding to each computer, and the sensing unit is configured to sense a displacement change of the input device. The control unit calculates the displacement direction and the displacement amount of the input device according to the displacement change sensed by the sensing unit, to determine that the input device acts on one of the plurality of computers controlled by the computer, and generates an input command to control the action of the input device. Control the computer. The input command includes an identification code of the controlled computer in which the input device is active. The transmission unit is electrically connected to the control unit and sends an input command to the multi-computer for executing the input instruction by the controlled computer corresponding to the identification code included in the input instruction. Wherein, the direction of displacement corresponds to the direction of the indicator of the screen of the controlled computer in which the input device is active. The indicator direction includes a first indicator direction and a second indicator direction, and the displacement amount of the control unit cumulative input device continuously moving toward the first index direction is a first accumulated amount, and when the first accumulated amount is greater than the threshold value, determining that the input device switches to Another computer in the multicomputer to control the other computer described.

除此之外,本發明實施例還提供輸入裝置控制多電腦的方法,包括:計算輸入裝置控制多個電腦其中之一受控制電腦時的位移方向及位移量,所述位移方向對應於受控制電腦之螢幕的指標方向;判斷位移方向是否對應指標方向中的第一指標方向;若位移方向對應第一指標方向,則累計輸入裝置連續朝向第一指標方向移動的位移量為第一累積量;接著判斷第一累積量是否大於門檻值;若第一累積量大於門檻值,則切換輸入裝置到多電腦中的另一電腦;及產生輸入指令以供所述另一電腦接收,輸入指令中包 括所述另一電腦的識別碼;藉此,所述另一電腦根據輸入指令的識別碼接收及執行輸入指令。 In addition, the embodiment of the invention further provides a method for controlling an input device to control a plurality of computers, comprising: calculating a displacement direction and a displacement amount when the input device controls one of the plurality of computers to be controlled, the displacement direction corresponding to the controlled The direction of the indicator of the screen of the computer; determining whether the direction of displacement corresponds to the direction of the first indicator in the direction of the indicator; if the direction of displacement corresponds to the direction of the first indicator, the amount of displacement of the cumulative input device continuously moving toward the direction of the first indicator is the first cumulative amount; Then determining whether the first accumulated amount is greater than a threshold; if the first accumulated amount is greater than the threshold, switching the input device to another computer in the plurality of computers; and generating an input command for receiving by the other computer, inputting the instruction packet The identification code of the other computer is included; whereby the other computer receives and executes the input command according to the identification code of the input instruction.

綜上所述,本發明實施例所提供的輸入裝置及其控制多電腦的方法,可利用輸入裝置的位移方向及其移動的距離來切換被控制的電腦,達到易於操作且可迅速切換的效果。 In summary, the input device and the method for controlling the multi-computer provided by the embodiments of the present invention can switch the controlled computer by using the displacement direction of the input device and the moving distance thereof, thereby achieving an easy-to-operate and quick-switching effect. .

〔可在多電腦之間切換的輸入裝置實施例〕 [Input device embodiment that can be switched between multiple computers]

請參照圖1,圖1繪示了本發明所提供的一種可在多電腦切換的輸入裝置之實施例的示意圖。 Please refer to FIG. 1. FIG. 1 is a schematic diagram of an embodiment of an input device that can be switched between multiple computers according to the present invention.

在本實施例中,輸入裝置可為無線滑鼠10。無線滑鼠10之外還可進一步包括無線鍵盤12以組成輸入裝置組。滑鼠10及鍵盤12組成的輸入裝置組可利用無線通訊技術(如藍芽通訊技術)將輸入指令無線傳送給第一電腦20或第二電腦22,以達到利用一組輸入裝置控制多部電腦的效果。 In this embodiment, the input device can be a wireless mouse 10. The wireless keyboard 12 may be further included in addition to the wireless mouse 10 to constitute an input device group. The input device group composed of the mouse 10 and the keyboard 12 can wirelessly transmit the input command to the first computer 20 or the second computer 22 by using a wireless communication technology (such as Bluetooth communication technology), so as to control multiple computers by using one set of input devices. Effect.

本例中的第一電腦20包括第一主機20a和第一螢幕20b,其中第一主機20a還設置有用於接收輸入裝置發出之訊號的第一接收器(dongle)200。第二電腦22包括第二主機22a和第二螢幕22b,並在第二主機22a設置有第二接收器220。此外,如圖1所示,本例中的第一螢幕20b的擺設位置位於第二螢幕22b的左邊。 The first computer 20 in this example includes a first host 20a and a first screen 20b, wherein the first host 20a is further provided with a first dongle 200 for receiving signals from the input device. The second computer 22 includes a second host 22a and a second screen 22b, and a second receiver 220 is disposed at the second host 22a. Further, as shown in FIG. 1, the position of the first screen 20b in this example is located to the left of the second screen 22b.

以滑鼠10作為輸入裝置為例,假設目前滑鼠10控制的受控制電腦為第一電腦20,當滑鼠10移動時,第一主機20a會接受並執行滑鼠10的輸入指令,並於第一螢幕20b 上對應滑鼠10移動的方向和距離而控制指標移動。當使用者希望從控制第一電腦20改為控制另一電腦,例如第二電腦22時,可將滑鼠10大幅度地朝向對應於第一螢幕20b的第一指標方向d1移動(在本例中係為滑鼠10向右移動),藉以使滑鼠10的控制器(圖1未繪示)根據移動量及移動的方向判斷出應受控制的電腦,進而改輸出用以控制第二電腦22的輸入指令,第二主機22a將藉由第二接收器220接收輸入指令,並在第二螢幕22b上顯示出指標以對應輸入滑鼠10的操作。反之,若使用者再度希望改為以滑鼠10控制第一電腦20時,則可將滑鼠10朝向對應於第二螢幕22b的第一方向d2(在本例中為滑鼠10向左移動)大幅度地移動,進而使滑鼠10的控制器再度依據移動量及移動的方向而改為發出用以控制第一電腦20的輸入指令。 Taking the mouse 10 as an input device as an example, assuming that the controlled computer controlled by the mouse 10 is the first computer 20, when the mouse 10 moves, the first host 20a accepts and executes the input command of the mouse 10, and The control screen moves on the first screen 20b in accordance with the direction and distance in which the mouse 10 moves. When the user wishes to change from controlling the first computer 20 to controlling another computer, such as the second computer 22, the mouse 10 can be moved largely toward the first index direction d 1 corresponding to the first screen 20b (in the present In the example, the mouse 10 is moved to the right), so that the controller of the mouse 10 (not shown in FIG. 1) determines the computer to be controlled according to the amount of movement and the direction of movement, and then changes the output to control the second. Upon input of the computer 22, the second host 22a will receive an input command by the second receiver 220 and display an indicator on the second screen 22b to correspond to the operation of the input mouse 10. On the other hand, if the user again wishes to control the first computer 20 with the mouse 10, the mouse 10 can be oriented toward the first direction d 2 corresponding to the second screen 22b (in this example, the mouse 10 is left) The movement is greatly moved, and the controller of the mouse 10 is again issued an input command for controlling the first computer 20 in accordance with the amount of movement and the direction of movement.

其中,當鍵盤12與滑鼠10協同運作而作為多部電腦20、22的輸入裝置時,鍵盤12的控制器(圖1未示)可遵循滑鼠10的設定,與滑鼠10同步切換及運作於同一部電腦。換言之,鍵盤12傳送鍵盤輸入指令時,可包含與滑鼠10的輸入指令中相同的識別碼,以便由同一部電腦接收來自滑鼠10的輸入指令及鍵盤12的鍵盤輸入指令。 Wherein, when the keyboard 12 and the mouse 10 cooperate to function as input devices of the plurality of computers 20 and 22, the controller of the keyboard 12 (not shown in FIG. 1) can follow the setting of the mouse 10, and can be switched synchronously with the mouse 10 and Operates on the same computer. In other words, when the keyboard 12 transmits the keyboard input command, it may include the same identification code as the input command of the mouse 10, so that the input command from the mouse 10 and the keyboard input command of the keyboard 12 are received by the same computer.

輸入裝置達成可在多電腦之間切換運作的一種實行手段,請配合圖2參閱以下的進一步說明。 The input device achieves an implementation method that can be switched between multiple computers. Please refer to FIG. 2 for further explanation.

圖2繪示了本發明的一種可在多電腦間切換的輸入裝置實施例的方塊圖。所述的輸入裝置30包括感測單元300、控制單元302、儲存單元304及傳輸單元306。感測單元300、儲存單元304及傳輸單元306分別與控制單元302電性連接。輸入裝置30可為滑鼠、觸控板等設備。 2 is a block diagram of an embodiment of an input device of the present invention that can be switched between multiple computers. The input device 30 includes a sensing unit 300, a control unit 302, a storage unit 304, and a transmission unit 306. The sensing unit 300, the storage unit 304, and the transmission unit 306 are electrically connected to the control unit 302, respectively. The input device 30 can be a device such as a mouse or a touchpad.

感測單元300用以感測輸入裝置30受到使用者之操作而產生的位移變化。舉例來說,感測單元300可為設置於滑鼠底部的光學感測模組,用以根據光線反射所產生的不同圖樣(pattern)而偵測到輸入裝置30在垂直方向(y軸)及水平方向(x軸)的位移變化。 The sensing unit 300 is configured to sense a change in displacement of the input device 30 caused by an operation of a user. For example, the sensing unit 300 can be an optical sensing module disposed at the bottom of the mouse for detecting the input device 30 in the vertical direction (y-axis) according to different patterns generated by the light reflection. The displacement in the horizontal direction (x-axis) changes.

控制單元302可接收感測單元300所偵測到的位移變化而計算出輸入裝置30的位移方向及位移量。具體來說,控制單元302可為微控制器(MCU)、嵌入式控制器(EC)等處理晶片。在本實施例中,控制單元302計算的位移方向可為輸入裝置30的水平方向或垂直方向其中之一,且位移方向可包括第一移動方向與第二移動方向。例如:當位移方向為水平方向時,第一移動方向與第二移動方向可分別為水平座標值遞增的方向與水平座標值遞減的方向。當位移方向為垂直方向時,第一移動方向與第二移動方向則可分別為垂直座標值遞增的方向與垂直座標值遞減的方向。位移量則可為輸入裝置30在所述位移方向上移動的起始點與停止點的座標差,例如為水平(x軸)座標值的數值變化量。 The control unit 302 can receive the displacement change detected by the sensing unit 300 to calculate the displacement direction and the displacement amount of the input device 30. In particular, control unit 302 can process a wafer for a microcontroller (MCU), an embedded controller (EC), and the like. In the present embodiment, the displacement direction calculated by the control unit 302 may be one of a horizontal direction or a vertical direction of the input device 30, and the displacement direction may include a first moving direction and a second moving direction. For example, when the displacement direction is the horizontal direction, the first moving direction and the second moving direction may respectively be a direction in which the horizontal coordinate value increases and a direction in which the horizontal coordinate value decreases. When the displacement direction is the vertical direction, the first moving direction and the second moving direction may respectively be a direction in which the vertical coordinate value is increased and a direction in which the vertical coordinate value is decreased. The amount of displacement may be the coordinate difference between the starting point and the stopping point of the input device 30 moving in the displacement direction, for example, the numerical value of the horizontal (x-axis) coordinate value.

其中,輸入裝置30的位移方向可與電腦的第一指標方向及第二指標方向相互對應,例如第一移動方向對應於第一指標方向、第二移動方向對應於第二指標方向;或是第一移動方向對應於第二指標方向、第二移動方向對應於第一指標方向。 The direction of the displacement of the input device 30 may correspond to the direction of the first indicator and the direction of the second indicator of the computer, for example, the first direction of movement corresponds to the direction of the first indicator, and the direction of the second direction corresponds to the direction of the second indicator; or A moving direction corresponds to the second index direction, and the second moving direction corresponds to the first index direction.

控制單元302計算出輸入裝置30的位移方向及位移量後,可根據所述的位移方向及位移量產生輸入指令,用以傳送到受控制的電腦。輸入指令中除了包括位移方向及位 移量之外,還可包括例如由按壓滑鼠按鍵而產生的點擊(click)命令或轉動滾輪而產生的滾動(scroll)命令等用以控制電腦的指令。除此之外,由於本實施例的輸入裝置30是由多部電腦40、42共用,故在輸入指令中需包括輸入裝置30所要控制的其中一部電腦的識別資料,例如一組識別碼,以便接收到輸入指令的電腦40、42判斷是否應執行所述的輸入指令。 After the control unit 302 calculates the displacement direction and the displacement amount of the input device 30, an input command can be generated according to the displacement direction and the displacement amount for transmission to the controlled computer. In addition to the displacement direction and bit in the input command In addition to the shift amount, instructions for controlling the computer, such as a click command generated by pressing a mouse button or a scroll command generated by rotating the scroll wheel, may be included. In addition, since the input device 30 of the embodiment is shared by the plurality of computers 40 and 42 , the input command includes the identification data of one of the computers to be controlled by the input device 30, such as a set of identification codes. The computer 40, 42 receiving the input command determines whether the input command should be executed.

儲存單元304即可用於儲存共用所述輸入裝置30的各個電腦的識別碼。儲存單元304可為各式記憶體晶片,其中,為能長時間保存所記錄的識別碼,所述的記憶體晶片可例如為快閃記憶體等非揮發性記憶體晶片。其中,共用同一輸入裝置30的每一電腦都具有獨立且不重覆(unique)的識別碼並記錄在儲存單元304。 The storage unit 304 can be used to store identification codes of respective computers sharing the input device 30. The storage unit 304 can be a variety of memory chips, wherein the memory chip can be, for example, a non-volatile memory chip such as a flash memory in order to store the recorded identification code for a long time. Each computer sharing the same input device 30 has an independent and unique identification code and is recorded in the storage unit 304.

傳輸單元306用於傳輸控制單元302所產生的輸入指指令到共用輸入裝置30的每一部電腦,即本例中的第一電腦40及第二電腦42,並分別由第一電腦40的第一接收器400與第二電腦42的第二接收器420接收所述輸入指令。傳輸單元306可為無線訊號傳送模組,例如為藍芽模組晶片或紅外線模組晶片。第一接收器400及第二接收器420可包括與傳輸單元306相對應的無線訊號接收模組,以便接收所述的輸入指令。 The transmission unit 306 is configured to transmit the input finger command generated by the control unit 302 to each computer of the shared input device 30, that is, the first computer 40 and the second computer 42 in this example, and are respectively configured by the first computer 40. A receiver 400 and a second receiver 420 of the second computer 42 receive the input command. The transmission unit 306 can be a wireless signal transmission module, such as a Bluetooth module chip or an infrared module chip. The first receiver 400 and the second receiver 420 may include a wireless signal receiving module corresponding to the transmitting unit 306 to receive the input command.

第一接收器400及第二接收器420分別可依照輸入指令中所包括的識別碼,判斷所述的輸入指令是否應傳送到相對應的處理器加以解析及執行。當輸入指令中包括的識別碼為第一電腦40的識別碼,第一接收器400則會將輸入指令傳送到第一處理器402,使得第一電腦40成為輸入裝 置30所控制的電腦。第一處理器402接收到輸入指令時,可根據輸入指令當中的位移方向、位移量、點擊命令或滾動命令等內容,執行移動螢幕(圖2未示)上的指標位置、開啟檔案或捲動網頁等工作。而當第二接收器402比對輸入指令中的識別碼與第二電腦42的識別碼不符,進而判斷所述的輸入指令並非用以控制第二電腦42時,所述的輸入指令則不會被傳送到第二處理器422執行,此時第二電腦42則非為受輸入裝置30控制中的電腦。 The first receiver 400 and the second receiver 420 respectively determine whether the input instruction should be transmitted to the corresponding processor for parsing and execution according to the identification code included in the input instruction. When the identification code included in the input command is the identification code of the first computer 40, the first receiver 400 transmits the input command to the first processor 402, so that the first computer 40 becomes the input device. Set the 30 controlled computer. When receiving the input command, the first processor 402 can perform the position of the indicator on the mobile screen (not shown in FIG. 2), open the file or scroll according to the displacement direction, the displacement amount, the click command or the scroll command, etc. among the input commands. Work on the web page, etc. When the second receiver 402 compares the identification code in the input command with the identification code of the second computer 42, and further determines that the input command is not used to control the second computer 42, the input command does not It is transmitted to the second processor 422 for execution, at which time the second computer 42 is not a computer under control by the input device 30.

藉此,第一電腦40及第二電腦42即可共用同一個輸入裝置30,並且可達到由輸入裝置30在同一個時間內只對其中一部電腦進行指令的輸入而進行控制,避免與其他電腦產生衝突的效果。 Thereby, the first computer 40 and the second computer 42 can share the same input device 30, and can be controlled by the input device 30 to input only one of the computers at the same time, avoiding other The computer has a conflicting effect.

特別的是,在本實施例中,當輸入裝置30要切換所要控制的電腦時,係利用輸入裝置30的移動幅度及方向而決定輸入裝置30是否切換到其他電腦、以及決定應切換到哪一部電腦。輸入裝置30的第一移動方向與第二移動方向分別可對應受控制電腦之指標的移動方向。其中,控制單元302可判斷輸入裝置30的位移方向是否為對應目前控制中的電腦(例如為第一電腦40)的第一指標方向,以及對應第一指標方向所移動的位移量是否大於預設的門檻值。 In particular, in the present embodiment, when the input device 30 is to switch the computer to be controlled, it is determined whether the input device 30 is switched to another computer by using the moving amplitude and direction of the input device 30, and which one should be switched to. Computer. The first moving direction and the second moving direction of the input device 30 respectively correspond to the moving direction of the index of the controlled computer. The control unit 302 can determine whether the displacement direction of the input device 30 is the first index direction corresponding to the computer currently being controlled (for example, the first computer 40), and whether the displacement amount corresponding to the direction of the first index is greater than a preset. The threshold value.

請一併參照圖3,圖3繪示了第一電腦40與第一螢幕40a,以及設置於第一螢幕40a右方的第二電腦42及第二螢幕42a的示意圖。每一螢幕座標原點為螢幕的左上頂點,水平座標(x軸)由原點向右延伸,垂直座標(y軸)則由原點向下延伸。 Referring to FIG. 3 together, FIG. 3 illustrates a first computer 40 and a first screen 40a, and a second computer 42 and a second screen 42a disposed on the right side of the first screen 40a. The origin of each screen coordinate is the upper left vertex of the screen, the horizontal coordinate (x-axis) extends to the right from the origin, and the vertical coordinate (y-axis) extends downward from the origin.

由於第一螢幕40a與第二螢幕42a橫向並列地擺置, 因此在圖3所示的實施例中,可以利用輸入裝置30的水平位移變化來決定所要控制的電腦,以符合使用者的操作習慣與直覺。因此本例中控制單元302僅需計算水平的位移變化。為了符合使用者的操作習慣,第一電腦40的第一指標方向50係為右向(面對第一螢幕40a時)而朝向第二螢幕42a,而與第一指標方向50相反的第二指標方向52則為左向。另一方面,第二電腦42的第一指標方向54則為左向而朝向第一螢幕40a,與第一指標方向54相反的第二指標方向56則為右向。 Since the first screen 40a and the second screen 42a are arranged side by side in the lateral direction, Therefore, in the embodiment shown in FIG. 3, the horizontal displacement change of the input device 30 can be used to determine the computer to be controlled to conform to the user's operating habits and intuition. Therefore, in this example, the control unit 302 only needs to calculate the horizontal displacement change. In order to comply with the user's operating habits, the first indicator direction 50 of the first computer 40 is in the right direction (when facing the first screen 40a) and faces the second screen 42a, and the second indicator is opposite to the first indicator direction 50. Direction 52 is left. On the other hand, the first index direction 54 of the second computer 42 is directed to the first screen 40a in the left direction, and the second index direction 56 opposite to the first index direction 54 is in the right direction.

假設本例中,輸入裝置30的第一移動方向32對應第一電腦40的第一指標方向50並皆為向右,第二移動方向34則對應第二指標方向52並皆為向左。當輸入裝置30向第一移動方向32移動時,第一電腦40的處理器亦會控制第一螢幕40a上的指標朝向第一指標方向50移動。此外,輸入裝置30的第一移動方向32則可對應第二電腦42的第二指標方向56皆為向右,而第二移動方向34則與第二電腦42的第一指標方向54相對應並皆為向左。 It is assumed that the first moving direction 32 of the input device 30 corresponds to the first index direction 50 of the first computer 40 and is all rightward, and the second moving direction 34 corresponds to the second index direction 52 and is leftward. When the input device 30 moves in the first moving direction 32, the processor of the first computer 40 also controls the index on the first screen 40a to move toward the first index direction 50. In addition, the first moving direction 32 of the input device 30 may correspond to the second index direction 56 of the second computer 42 to the right, and the second moving direction 34 corresponds to the first index direction 54 of the second computer 42 and All are left.

藉此,當使用者欲將輸入裝置30從受控制電腦(即本例中的第一電腦40)切換到另一電腦(即本例的第二電腦42)進行控制時,則可在第一電腦40仍在受控制的狀態下,將輸入裝置30朝向第一移動方向32移動,並且使移動的幅度大於門檻值。控制單元302(參閱圖2)可根據感測單元300感測到輸入裝置30的移動變化量而計算出輸入裝置30的移動方向和距離。當輸入裝置30的移動方向為第一移動方向32時(例如根據x軸座標值的增加而判斷為向右移動),控制單元302會更進一步累積連續朝向第一指標 方向50移動的位移量為第一累積量,並比對第一累積量是否大於一門檻值。所述的門檻值可為預設並儲存於儲存單元304的數值,例如為一大於共用輸入裝置30之每一電腦的最大螢幕解析度的數值,如3000像素。當第一累積量大於門檻值時,代表使用者對輸入裝置30以朝向第一電腦40的第一指標方向50進行了大幅度的移動,控制單元302即判斷輸入裝置30將要切換到第二電腦42上進行控制。 Thereby, when the user wants to switch the input device 30 from the controlled computer (ie, the first computer 40 in this example) to another computer (ie, the second computer 42 in this example), the first The computer 40 is still in a controlled state, moving the input device 30 toward the first direction of movement 32 and causing the magnitude of the movement to be greater than the threshold value. The control unit 302 (refer to FIG. 2) can calculate the moving direction and distance of the input device 30 according to the sensing unit 300 sensing the amount of change in the movement of the input device 30. When the moving direction of the input device 30 is the first moving direction 32 (for example, it is determined to move to the right according to the increase of the x-axis coordinate value), the control unit 302 further accumulates the continuous orientation toward the first indicator. The displacement amount of the direction 50 movement is the first accumulation amount, and is compared with whether the first accumulation amount is greater than a threshold value. The threshold value may be a value preset and stored in the storage unit 304, for example, a value greater than the maximum screen resolution of each computer of the shared input device 30, such as 3000 pixels. When the first accumulated amount is greater than the threshold value, the user performs a large movement on the input device 30 in the first index direction 50 toward the first computer 40, and the control unit 302 determines that the input device 30 is to be switched to the second computer. Control is performed on 42.

當控制單元302判斷輸入裝置30應切換到另一電腦(本例中的第二電腦42)運作時,可根據儲存單元304所儲存的資料,在輸入指令中附加第二電腦42的識別碼,並透過傳輸單元306傳送到所述的多個電腦40、42。第二電腦42可藉由辨識出輸入指令中的識別碼而接收並執行輸入指令。 When the control unit 302 determines that the input device 30 should be switched to another computer (the second computer 42 in this example), the identification code of the second computer 42 can be added to the input command according to the data stored in the storage unit 304. And transmitted to the plurality of computers 40, 42 through the transmission unit 306. The second computer 42 can receive and execute the input command by recognizing the identification code in the input command.

進一步來說,若控制單元302判斷輸入裝置30作用於第一電腦40時雖朝向對應第一指標方向50的第一移動方向32移動,然而累積的第一累積量並未大於門檻值,或是輸入裝置30朝向對應於第二指標方向52的第二移動方向34移動(亦即根據y軸座標值的減少而判斷係為向左移動)時,代表使用者並未意圖切換受控制的電腦,因此控制單元302產生的輸入指令當中,所附加的識別碼將維持為對應第一電腦40的識別碼,以便第一電腦40根據識別碼而接收並執行輸入裝置30傳送的輸入指令。 Further, if the control unit 302 determines that the input device 30 moves toward the first moving direction 32 corresponding to the first index direction 50 when the input device 30 acts on the first computer 40, the accumulated first accumulated amount is not greater than the threshold value, or When the input device 30 moves toward the second moving direction 34 corresponding to the second index direction 52 (that is, it is determined to be moved to the left according to the decrease of the y-axis coordinate value), the representative user does not intend to switch the controlled computer. Therefore, among the input commands generated by the control unit 302, the added identification code will be maintained as the identification code corresponding to the first computer 40, so that the first computer 40 receives and executes the input command transmitted by the input device 30 according to the identification code.

其中,當輸入裝置30作用於第一電腦40上時,輸入裝置30可能會依照使用者操作的需要,控制指標在第一指標方向50與第二指標方向52之間反覆移動。在此情況下,為了避免輸入裝置30朝向第二指標方向52移動時,控 制單元302誤將對應於第二指標方向52的位移量累計為第一累積量,因此,當控制單元302判斷輸入裝置30朝向對應第二指標方向52的第二移動方向34移動時,累計的第一累積量即會被清除。例如將暫存在儲存單元304或控制單元302中之暫存器的第一累積量歸零。如此一來,唯有使用者單次、連續朝向第一移動方向32(即對應於第一電腦40的第一指標方向50)大幅度移動到超過門檻值時,才會產生切換到第二電腦42的效果。顯示在螢幕上的效果即可觀察到指標從第一螢幕40a跨越到第二螢幕42a上顯示。 Wherein, when the input device 30 acts on the first computer 40, the input device 30 may repeatedly move between the first index direction 50 and the second index direction 52 according to the needs of the user operation. In this case, in order to prevent the input device 30 from moving toward the second index direction 52, the control The unit 302 mistakenly accumulates the displacement amount corresponding to the second index direction 52 as the first accumulation amount, and therefore, when the control unit 302 determines that the input device 30 moves toward the second movement direction 34 corresponding to the second index direction 52, the accumulated The first accumulated amount will be cleared. For example, the first accumulated amount of the temporary register temporarily stored in the storage unit 304 or the control unit 302 is zeroed. In this way, only when the user moves to the first moving direction 32 (ie, corresponding to the first indicator direction 50 of the first computer 40) to move beyond the threshold value, the switch to the second computer is generated. The effect of 42. The effect displayed on the screen is such that the indicator is displayed across the first screen 40a to the second screen 42a.

從另一方面來說,以第二電腦42為受控制電腦為例,當輸入裝置30作用於第二電腦42,並傳送輸入指令以控制第二電腦42時,控制單元302判斷輸入裝置30朝向對應於第二電腦42的第一指標方向54的第二移動方向34移動,且連續朝向第一指標方向54移動所累積的第一累積量大於門檻值時,控制單元302同樣會判斷出輸入裝置30應切換到另一電腦上進行對所述另一電腦(即本例中的第一電腦40)的控制。藉此,指標則會從第二螢幕42a朝左移動,直到跨越到第一螢幕40a中顯示。反之,當輸入裝置30朝向第一指標方向54移動的第一累積量未大於門檻值、或輸入裝置30朝向第二指標方向56移動時,控制單元302則會判斷輸入裝置30仍然用於控制第二電腦42,並進而產生帶有第二電腦42之識別碼在內的輸入指令,以利第二電腦42接受指令並執行。 On the other hand, taking the second computer 42 as a controlled computer as an example, when the input device 30 acts on the second computer 42 and transmits an input command to control the second computer 42, the control unit 302 determines that the input device 30 is oriented. When the second moving direction 34 corresponding to the first index direction 54 of the second computer 42 moves, and the first accumulated amount accumulated continuously moving toward the first index direction 54 is greater than the threshold value, the control unit 302 also determines the input device. 30 should be switched to another computer for control of the other computer (i.e., the first computer 40 in this example). Thereby, the indicator moves from the second screen 42a to the left until it is displayed across the first screen 40a. On the contrary, when the first accumulated amount of the input device 30 moving toward the first index direction 54 is not greater than the threshold value, or the input device 30 moves toward the second index direction 56, the control unit 302 determines that the input device 30 is still used for the control. The second computer 42, and in turn generates an input command with the identification code of the second computer 42, to facilitate the second computer 42 to accept the command and execute.

〔可在多電腦之間切換的輸入裝置另一實施例〕 [Another embodiment of an input device that can be switched between multiple computers]

輸入裝置30除了可在多電腦之間切換而使指標跨越橫 向排列的螢幕之外,還可使指標在縱向排列的螢幕之間交互跨越顯示。請參閱圖4,圖4繪示的是縱向排列的第一螢幕40a與擺置於第一螢幕40a下方的第二螢幕42a,分別連接於第一電腦40及第二電腦42。 The input device 30 can switch across multiple computers to make the indicator span horizontally In addition to the aligned screens, the indicators can be cross-displayed across the vertically aligned screens. Referring to FIG. 4, FIG. 4 illustrates a first screen 40a arranged longitudinally and a second screen 42a disposed below the first screen 40a, which are respectively connected to the first computer 40 and the second computer 42.

請一併參照圖2所示的方塊圖。控制單元302根據感測單元300所感測的位移方向及位移量,可判斷輸入裝置30所控制的是第一電腦40或第二電腦42,並進而在相對應的第一螢幕40a或第二螢幕42a上顯示指標。在本實施例中,由於螢幕的擺設為縱向排列,為符合使用者的操作習慣及使用直覺,控制單元302可採用計算輸入裝置30之垂直(y軸)方向位移變化的方式決定輸入裝置30所控制的電腦。換言之,在本實施例中,控制單元302可判斷輸入裝置30向後移動的第一移動方向36,以及向前移動的第二移動方向38。 Please refer to the block diagram shown in Figure 2. The control unit 302 can determine, according to the displacement direction and the displacement amount sensed by the sensing unit 300, that the input device 30 controls the first computer 40 or the second computer 42, and further corresponds to the first screen 40a or the second screen. Indicators are displayed on 42a. In this embodiment, since the pendulum of the screen is arranged in a vertical direction, the control unit 302 can determine the input device 30 by calculating the vertical (y-axis) direction displacement change of the input device 30 in order to conform to the user's operating habits and intuition. Controlled computer. In other words, in the present embodiment, the control unit 302 can determine the first moving direction 36 in which the input device 30 moves backward, and the second moving direction 38 in the forward movement.

如圖4所示,第一電腦40的第一指標方向60可為第一螢幕40a的y軸座標值遞增的方向以指向第二螢幕42a,並且對應於輸入裝置30的第一移動方向36。第二指標方向62則為y軸座標值遞減的方向,並對應於輸入裝置30的第二移動方向38。相對地,第二電腦42的第一指標方向64可為第二螢幕42a之y軸座標值遞減的方向以指向第一螢幕40a,並對應於輸入裝置30的第二移動方向38,第二指標方向66則為第二螢幕42a之y軸座標值遞增的方向,並對應輸入裝置30的第一移動方向36。 As shown in FIG. 4, the first indicator direction 60 of the first computer 40 can be the direction in which the y-axis coordinate value of the first screen 40a is increasing to point to the second screen 42a and corresponds to the first direction of movement 36 of the input device 30. The second index direction 62 is the direction in which the y-axis coordinate value is decremented and corresponds to the second moving direction 38 of the input device 30. In contrast, the first indicator direction 64 of the second computer 42 may be the direction in which the y-axis coordinate value of the second screen 42a is decremented to point to the first screen 40a, and corresponds to the second movement direction 38 of the input device 30, the second indicator. The direction 66 is the direction in which the y-axis coordinate value of the second screen 42a is increasing, and corresponds to the first moving direction 36 of the input device 30.

當輸入裝置30作用於第一電腦40(受控制電腦)並向後移動時,控制單元302可判斷出相對應輸入裝置30的垂直位移方向為第一移動方向36及計算其位移量。控制單元 302可累計輸入裝置30對應於第一指標方向60移動的位移量為第一累積量,並比對第一累積量是否大於門檻值,以判斷使用者是否要將輸入裝置30從第一電腦40切換到另一電腦,也就是圖4所示的第二電腦42。當輸入裝置30作用於第二電腦42,則是在輸入裝置30向前移動時,可由控制單元302計算出輸入裝置30的位移方向為第二移動方向38,藉以對應控制指標在第二螢幕42a上朝向第一指標方向64移動,並且計算對應於第一指標方向64移動所產生的位移量為第一累積量。 When the input device 30 acts on the first computer 40 (controlled computer) and moves backward, the control unit 302 can determine that the vertical displacement direction of the corresponding input device 30 is the first moving direction 36 and calculate the displacement amount thereof. control unit The displacement amount of the 302 accumulative input device 30 corresponding to the first index direction 60 is the first cumulative amount, and compares whether the first accumulated amount is greater than the threshold value to determine whether the user wants to input the input device 30 from the first computer 40. Switch to another computer, which is the second computer 42 shown in FIG. When the input device 30 acts on the second computer 42, when the input device 30 moves forward, the control unit 302 can calculate the displacement direction of the input device 30 as the second moving direction 38, so that the corresponding control index is on the second screen 42a. The upper direction moves toward the first index direction 64, and the displacement amount generated corresponding to the movement of the first index direction 64 is calculated as the first cumulative amount.

當第一累積量累積到超過門檻值時,控制單元302即判斷輸入裝置30應被切換到另一電腦上運作,而當第一累積量未到達門檻值、或是控制單元302計算後判斷輸入裝置30的位移方向是對應於作用中電腦的第二指標方向時,則不切換輸入裝置30到另一電腦。 When the first accumulated amount is accumulated to exceed the threshold, the control unit 302 determines that the input device 30 should be switched to operate on another computer, and determines the input when the first accumulated amount does not reach the threshold value or is calculated by the control unit 302. When the displacement direction of the device 30 corresponds to the second index direction of the active computer, the input device 30 is not switched to another computer.

本實施例中輸入裝置30的其他特點與前一實施例所述相同或相似之處,請參閱前一實施例說明,在此即不再重述。 Other features of the input device 30 in this embodiment are the same as or similar to those in the previous embodiment. Please refer to the description of the previous embodiment, which will not be repeated here.

〔可在多電腦之間切換的輸入裝置再一實施例〕 [An input device that can be switched between multiple computers.]

請參閱圖5,圖5繪示了另一種可在多電腦之間切換的輸入裝置實施例的示意圖。與圖3所示之實施例示意圖不同之處,在於本實施例中還包括第三電腦44及第三螢幕44a,第三螢幕44a擺置於橫向並列的第一螢幕40a及第二螢幕42a之間。請一併參照圖2所示的輸入裝置30實施例方塊圖。 Please refer to FIG. 5. FIG. 5 is a schematic diagram of another embodiment of an input device that can be switched between multiple computers. The difference from the embodiment shown in FIG. 3 is that the third computer 44 and the third screen 44a are further disposed in the embodiment, and the third screen 44a is placed on the horizontally adjacent first screen 40a and second screen 42a. between. Please refer to the block diagram of the embodiment of the input device 30 shown in FIG.

本實施例中,以第三電腦44作為受控制電腦為例,輸入裝置30的第一移動方向32及第二移動方向34同樣可分 別對應第三電腦44的第一指標方向58與第二指標方向59。其中,第一指標方向58係朝向設置在第三螢幕44a右方的第二螢幕42a,而第二指標方向59則朝向設置在第三螢幕44a左方的第一螢幕40a。當輸入裝置30在第三電腦44上運作時,控制單元302可根據計算出的第一移動方向32而判斷第三螢幕44a上的指標朝向第一指標方向58移動,並且累計朝向第一指標方向58移動的位移量為第一累積量。當第一累積量大於門檻值時,控制單元302可決定要將輸入裝置30切換到另一電腦。為符合使用者的操作習慣,控制單元302可決定將輸入裝置30切換到第二電腦42,以對第二電腦42進行控制及輸入,進而使第二螢幕42a上的指標開始作用。 In this embodiment, taking the third computer 44 as the controlled computer as an example, the first moving direction 32 and the second moving direction 34 of the input device 30 are equally separable. The first indicator direction 58 and the second indicator direction 59 of the third computer 44 are not corresponding. The first indicator direction 58 is directed toward the second screen 42a disposed to the right of the third screen 44a, and the second index direction 59 is directed toward the first screen 40a disposed to the left of the third screen 44a. When the input device 30 operates on the third computer 44, the control unit 302 can determine that the index on the third screen 44a moves toward the first index direction 58 according to the calculated first moving direction 32, and accumulates toward the first index direction. The displacement amount of 58 movement is the first cumulative amount. When the first accumulated amount is greater than the threshold value, the control unit 302 may decide to switch the input device 30 to another computer. In order to comply with the user's operating habits, the control unit 302 may decide to switch the input device 30 to the second computer 42 to control and input the second computer 42 so that the indicators on the second screen 42a start to function.

反之,若控制單元302根據計算出的第二移動方向34判斷出第三螢幕44a的指標朝向第二指標方向59移動時,則改為累計朝向第二指標方向59移動的位移量為第二累積量。控制單元302以第二累積量比對門檻值,並判斷第二累積量大於門檻值時,亦會判斷輸入裝置30應切換到另外的再一電腦。在本實施例中即是將輸入裝置30切換到第一電腦40,以使得第一螢幕40a上的指標可以開始作用。 On the other hand, if the control unit 302 determines that the index of the third screen 44a moves toward the second index direction 59 according to the calculated second moving direction 34, the amount of displacement that is moved toward the second index direction 59 is second accumulated. the amount. When the control unit 302 compares the threshold value with the second accumulated amount and determines that the second accumulated amount is greater than the threshold value, it also determines that the input device 30 should switch to another computer. In the present embodiment, the input device 30 is switched to the first computer 40 so that the indicators on the first screen 40a can start to function.

值得一提地,為了供控制單元302正確地對應所要切換的電腦,本例中的儲存單元304還可進一步記錄共用同一輸入裝置30的所述多部電腦當中,每一電腦的第一指標方向與第二指標方向所對應的標識(flag),以供控制單元302決定所應切換的電腦。例如第一電腦40的第一指標方向50對應的第一標識指示出第三電腦44,第二電腦42的第一指標方向54對應的第一標識也指示出第三電腦44,而 第三電腦44的第一指標方向58對應的第一標識指示出第二電腦42,第三電腦44的第二指標方向59對應的第二標識則指示出第一電腦40。藉此,控制單元302在計算出輸入裝置30朝向作用中之電腦的第一指標方向或第二指標方向移動時,可根據相對應的標識而得知應將輸入裝置30切換到正確的其他電腦上運作。所述的標識可以以對照表的形式記載以供控制單元302參照。 It is worth mentioning that, in order for the control unit 302 to correctly correspond to the computer to be switched, the storage unit 304 in this example may further record the first indicator direction of each of the plurality of computers sharing the same input device 30. A flag corresponding to the direction of the second indicator for the control unit 302 to determine the computer to be switched. For example, the first identifier corresponding to the first indicator direction 50 of the first computer 40 indicates the third computer 44, and the first identifier corresponding to the first indicator direction 54 of the second computer 42 also indicates the third computer 44. The first identifier corresponding to the first indicator direction 58 of the third computer 44 indicates the second computer 42, and the second identifier corresponding to the second indicator direction 59 of the third computer 44 indicates the first computer 40. Thereby, when the control unit 302 calculates that the input device 30 is moving toward the first indicator direction or the second indicator direction of the active computer, the control unit 302 can know that the input device 30 should be switched to the correct other computer according to the corresponding identifier. Working on. The identification may be recorded in the form of a look-up table for reference by the control unit 302.

其中,為了避免控制單元302將不同方向的位移量合併累積,故而在上述實施例中,輸入裝置30朝向第一指標方向58移動時,控制單元302除累計第一累積量之外,並將先前累計的第二累積量清除。反之,當輸入裝置30朝向第二指標方向59移動時,控制單元302則於累計第二累積量之外將先前已累計過的第一累積量清除。 In order to prevent the control unit 302 from accumulating the displacement amounts in different directions, in the above embodiment, when the input device 30 moves toward the first index direction 58, the control unit 302 divides the previous accumulated amount and The accumulated second cumulative amount is cleared. Conversely, when the input device 30 moves toward the second index direction 59, the control unit 302 clears the previously accumulated first accumulated amount in addition to the accumulated second accumulated amount.

藉由記錄每一電腦的第一指標方向與第二指標方向分別對應的電腦之識別,當所述的多部電腦超過兩部時,輸入裝置30的控制單元302仍可正確地判斷使用者朝某一方向大幅度移動輸入裝置30之後,輸入裝置30應被切換到哪一部電腦上。 By recording the identification of the computer corresponding to the first indicator direction and the second index direction of each computer, when the plurality of computers exceeds two, the control unit 302 of the input device 30 can still correctly judge the user toward After the input device 30 is largely moved in a certain direction, which computer the input device 30 should be switched to.

特別一提,在其他實作的方式中,判別輸入裝置30從一部電腦切換到其他電腦的手段,除了記錄各個指標方向對應的標識之外,亦可改由其他方式達成。例如,可根據每一電腦螢幕與其他電腦螢幕的相對位置關係設置多個門檻值,再由控制單元302計算輸入裝置30移動的累積量所滿足的不同門檻值,將輸入裝置30切換到不同的電腦上運作。參照圖5舉一具體例示來說,可為第一電腦40的第一指標方向50設定兩階段的門檻值,分別為第一門檻值及第 二門檻值,假設第一門檻值為大於3000像素,而第二門檻值為大於6000像素。 In particular, in other implementations, the means for determining that the input device 30 switches from one computer to another may be accomplished by other means in addition to recording the identifier corresponding to each indicator direction. For example, a plurality of threshold values may be set according to a relative positional relationship between each computer screen and other computer screens, and then the control unit 302 calculates different threshold values that the cumulative amount of movement of the input device 30 satisfies, and switches the input device 30 to a different one. Working on the computer. Referring to FIG. 5 , for example, a threshold of two stages can be set for the first indicator direction 50 of the first computer 40, which is the first threshold and the first threshold. The two thresholds assume that the first threshold is greater than 3000 pixels and the second threshold is greater than 6000 pixels.

當輸入裝置30在第一電腦40上運作,並且向第一移動方向32連續移動時,控制單元302可計算出朝向第一指標方向50移動的第一累積量,並判斷第一累積量是否超過第二門檻值,若第一累積量超過第二門檻值,即輸入裝置30一次移動了超過6000像素的距離,則判斷輸入裝置30被切換到較遠的另一電腦(本例中為第二電腦42)運作。若第一累積量未超過第二門檻值,則判斷是否超過第一門檻值。當第一累積量介於第一門檻值及第二門檻值之間時,控制單元302則判斷輸入裝置30從第一電腦40切換到較近的另一電腦(本例中為第三電腦44)運作。 When the input device 30 operates on the first computer 40 and continuously moves in the first moving direction 32, the control unit 302 may calculate a first accumulated amount that moves toward the first index direction 50, and determine whether the first accumulated amount exceeds The second threshold value, if the first accumulated amount exceeds the second threshold value, that is, the input device 30 moves over a distance of more than 6000 pixels at a time, it is determined that the input device 30 is switched to another computer farther away (in this example, the second Computer 42) operates. If the first accumulated amount does not exceed the second threshold, it is determined whether the first threshold value is exceeded. When the first accumulated amount is between the first threshold and the second threshold, the control unit 302 determines that the input device 30 is switched from the first computer 40 to another computer (in this example, the third computer 44) ) Operation.

類似地,若改以第二電腦42為受控制電腦為例時,亦可設置第一門檻值及第二門檻值,用以與對應第一指標方向54的第一累積量進行比對。當對應第一指標方向54的第一累積量大於第二門檻值時,判斷輸入裝置30從第二電腦42切換到較遠的另一電腦(第一電腦40);而當第一累積量介於第一門檻值及第二門檻值之間時,則判斷輸入裝置30從第二電腦42切換到較近的另一電腦(第三電腦44)。 Similarly, if the second computer 42 is used as the controlled computer, the first threshold and the second threshold may be set to be compared with the first accumulated amount corresponding to the first indicator direction 54. When the first accumulated amount corresponding to the first indicator direction 54 is greater than the second threshold, it is determined that the input device 30 is switched from the second computer 42 to another computer (the first computer 40) that is farther away; When it is between the first threshold and the second threshold, it is judged that the input device 30 is switched from the second computer 42 to another computer (third computer 44) that is closer.

藉此,利用同一方向的累積量比對多重門檻值,亦可使得輸入裝置30移動的位移量在滿足不同的門檻條件時,切換到不同的電腦進行輸入控制。白話而言,當輸入裝置30朝同一方向單次移動的幅度越大,指標越有可能呈現出跨越多個螢幕而在距離較遠的螢幕上移動的效果。所述的門檻值同樣可預先儲存在儲存單元304中以供控制單元302 計算時加以讀取比對,或是直接在程式當中設定數值等方式,以供控制單元302判斷。 Thereby, by using the cumulative amount in the same direction to compare the multiple threshold values, the displacement amount of the movement of the input device 30 can also be switched to a different computer for input control when the different threshold conditions are met. In vernacular terms, the greater the amplitude of the single movement of the input device 30 in the same direction, the more likely the indicator is to exhibit the effect of moving across a plurality of screens over a relatively distant screen. The threshold value may also be pre-stored in the storage unit 304 for the control unit 302. The calculation is performed by reading the comparison, or directly setting the value in the program, for the control unit 302 to judge.

透過上述各實施例的說明,本發明所提供的輸入裝置不但可在對應於橫向排列螢幕的多部電腦之間切換,亦可在對應縱向排列螢幕的多部電腦之間切換,透過相同的原理進行分階段式的切換,即使是未排列在同一直線上的螢幕所對應的多部電腦之間亦可快速而準確地切換。 Through the description of the above embodiments, the input device provided by the present invention can be switched not only between a plurality of computers corresponding to the horizontally arranged screens, but also between a plurality of computers corresponding to the vertically arranged screens, through the same principle. Switching in stages can quickly and accurately switch between multiple computers corresponding to screens that are not aligned on the same line.

〔輸入裝置控制多電腦的方法之實施例〕 [Example of Method of Input Device Controlling Multiple Computers]

請參閱圖6所繪示的一種輸入裝置控制多電腦實施例的流程圖,並請一併參照圖2所繪示的方塊圖及圖3例示的示意圖。本實施例所述的輸入裝置30在與多部電腦(如圖2所示的第一電腦40與第二電腦42)透過無線傳輸的方式連結後,同一時間內可在其中一部電腦上運作,以控制所述電腦(例如預設以第一電腦40為受控制電腦)(S701)。輸入裝置30的控制單元302可根據感測單元300感測到的位移變化,計算出輸入裝置30的位移方向及位移量(S703)。輸入裝置30的位移方向可包括第一移動方向32及第二移動方向34,並分別對應於第一電腦40的第一指標方向50及第二指標方向52。因此,當輸入裝置30朝向第一移動方向32移動時,第一電腦40上的指標會對應朝向第一指標方向50移動。控制單元302可根據計算出的位移方向而判斷出輸入裝置30是否朝向對應於第一電腦40的第一指標方向50移動(S705)。在本實施例中,輸入裝置30的位移方向可為水平方向。 Please refer to FIG. 6 for a flow chart of an embodiment of the input device control multi-computer, and please refer to the block diagram illustrated in FIG. 2 and the schematic diagram illustrated in FIG. 3 . The input device 30 of the present embodiment can be operated on one of the computers at the same time after being connected to a plurality of computers (such as the first computer 40 and the second computer 42 shown in FIG. 2) by wireless transmission. To control the computer (for example, the first computer 40 is preset as a controlled computer) (S701). The control unit 302 of the input device 30 can calculate the displacement direction and the displacement amount of the input device 30 according to the displacement change sensed by the sensing unit 300 (S703). The displacement direction of the input device 30 may include a first movement direction 32 and a second movement direction 34, and respectively correspond to the first index direction 50 and the second index direction 52 of the first computer 40. Therefore, when the input device 30 moves toward the first moving direction 32, the index on the first computer 40 will move toward the first index direction 50. The control unit 302 can determine whether the input device 30 is moved toward the first index direction 50 corresponding to the first computer 40 based on the calculated displacement direction (S705). In the present embodiment, the displacement direction of the input device 30 may be a horizontal direction.

若輸入裝置30的位移方向對應第一電腦40的第一指標方向50,控制單元302可進一步累計輸入裝置30連續朝 向對應於第一指標方向50移動的位移量為第一累積量(S707),並判斷第一累積量是否大於門檻值(S709)。所述的門檻值可為預存在儲存單元304中的數值,例如為大於與輸入裝置30連結的任一部電腦之螢幕解析度的像素值。若輸入裝置30朝向第一指標方向50移動所累計的第一累積量不大於門檻值,控制單元302可判斷出使用者係維持以述的輸入裝置30控制第一電腦40。此時控制單元302可產生輸入指令到所述受控制電腦(即第一電腦40),輸入指令中包括第一電腦40的識別碼(S711)。藉此,當與輸入裝置30連結的多部電腦都接收到透過傳輸單元306傳送的輸入指令時,只有識別碼相符的第一電腦40會執行所述的輸入指令,達到由輸入裝置30控制第一電腦40的效果。產生輸入指令並輸出後,控制單元302可返回步驟S703以下,仍繼續根據感測單元300感測到的位移變化,計算出輸入裝置30的位移方向及位移量。 If the displacement direction of the input device 30 corresponds to the first index direction 50 of the first computer 40, the control unit 302 may further accumulate the input device 30 continuously toward The displacement amount corresponding to the movement corresponding to the first index direction 50 is the first accumulation amount (S707), and it is judged whether or not the first accumulation amount is larger than the threshold value (S709). The threshold value may be a value pre-stored in the storage unit 304, for example, a pixel value greater than the screen resolution of any computer connected to the input device 30. If the first accumulated amount accumulated by the input device 30 moving toward the first index direction 50 is not greater than the threshold value, the control unit 302 can determine that the user maintains the first computer 40 controlled by the input device 30 described. At this time, the control unit 302 can generate an input command to the controlled computer (ie, the first computer 40), and the input command includes the identification code of the first computer 40 (S711). Therefore, when a plurality of computers connected to the input device 30 receive the input command transmitted through the transmission unit 306, only the first computer 40 whose identification code matches will execute the input command, and the control device 30 controls the input device 30. The effect of a computer 40. After the input command is generated and output, the control unit 302 may return to step S703 and continue to calculate the displacement direction and the displacement amount of the input device 30 according to the displacement change sensed by the sensing unit 300.

進一步來說,當步驟S709判斷第一累積量與門檻值的大小,並確認第一累積量大於門檻值之後,控制單元302即可判定輸入裝置30應被切換到與其連結的多部電腦當中的另一電腦(S713),在本實施例中可為第二電腦42(參閱圖3)。當控制單元302決定切換輸入裝置30到第二電腦42以控制第二電腦42時,則可產生包括第二電腦42之識別碼在內的另一輸入指令,以便第一電腦40及第二電腦42接收到所述的輸入指令時,只有識別碼相符的第二電腦42會執行輸入指令,接收輸入裝置30的控制(S715)。 Further, after the step S709 determines the magnitude of the first accumulated amount and the threshold value, and confirms that the first accumulated amount is greater than the threshold value, the control unit 302 may determine that the input device 30 should be switched to among the plurality of computers connected thereto. Another computer (S713), which in this embodiment, can be a second computer 42 (see Fig. 3). When the control unit 302 decides to switch the input device 30 to the second computer 42 to control the second computer 42, another input command including the identification code of the second computer 42 may be generated for the first computer 40 and the second computer. When the input command is received, only the second computer 42 whose identification code matches will execute the input command and receive the control of the input device 30 (S715).

另一方向,當步驟S705判斷輸入裝置30的位移方向是否為對應第一電腦40的第一指標方向50的結果為否時 ,代表輸入裝置30的位移方向係為朝向對應第一電腦40之第二指標方向52,此時為了避免控制單元302誤將輸入裝置30朝向第二指標方向52移動的位移量計入第一累積量中而誤判第一累積量與門檻值的比對結果,因此控制單元302可將第一累積量清除(S717),並返回步驟S711以產生包括第一電腦40之識別碼在內的輸入指令,以供第一電腦40接收執行。 In another direction, when it is determined in step S705 whether the direction of displacement of the input device 30 is the first indicator direction 50 corresponding to the first computer 40, the result is no. The displacement direction of the input device 30 is oriented toward the second index direction 52 corresponding to the first computer 40. At this time, in order to prevent the control unit 302 from erroneously shifting the displacement of the input device 30 toward the second index direction 52, the first accumulation is counted. The result of the comparison between the first accumulated amount and the threshold is misjudged, so the control unit 302 can clear the first accumulated amount (S717), and returns to step S711 to generate an input command including the identification code of the first computer 40. For the first computer 40 to receive execution.

相似地,當輸入裝置30作用於第二電腦42時,亦可透過執行圖6所示的流程步驟,判斷使用者是否要從控制第二電腦42改變為控制第一電腦40。控制單元302僅需先判別第二電腦42的指標方向和輸入裝置30的位移方向之間的對應關係,如圖3所示,為第一指標方向54對應第二移動方向34,以及第二指標方向56對應第一移動方向32即可。 Similarly, when the input device 30 acts on the second computer 42, it is also possible to determine whether the user wants to change from controlling the second computer 42 to controlling the first computer 40 by performing the flow steps shown in FIG. 6. The control unit 302 only needs to first determine the correspondence between the index direction of the second computer 42 and the displacement direction of the input device 30, as shown in FIG. 3, the first index direction 54 corresponds to the second moving direction 34, and the second index. The direction 56 corresponds to the first moving direction 32.

〔輸入裝置控制多電腦的方法之另一實施例〕 [Another embodiment of a method of controlling a multi-computer by an input device]

接下來請參照圖7,圖7繪示本發明提供的另一種輸入裝置控制多電腦的方法實施例的流程圖。請一併參閱圖2所示方塊圖及圖5所示的示意圖。 Next, please refer to FIG. 7. FIG. 7 is a flow chart of another embodiment of a method for controlling a multi-computer by an input device according to the present invention. Please refer to the block diagram shown in FIG. 2 and the schematic diagram shown in FIG.

與前一實施例相仿地,輸入裝置30可與多部電腦無線連結(在本例中為第一電腦、第二電腦及第三電腦),並且每次作用於其中一部電腦加以控制(例如預設以第三電腦為受控制電腦)(S801)。控制單元302可根據感測單元300感測到的位移變化,計算出輸入裝置30的位移方向及位移量(S803)。輸入裝置30的位移方向可包括第一移動方向32及第二移動方向34,並分別對應於第三電腦的第一指標方向58及第二指標方向59。因此,當輸入裝置30朝向第 一移動方向32移動時,第三電腦上的指標會對應朝向第一指標方向58移動。控制單元302可根據計算出的位移方向而判斷出輸入裝置30是否朝向對應於第三電腦的第一指標方向58移動(S805)。在本實施例中,輸入裝置30的位移方向可為水平方向。 Similarly to the previous embodiment, the input device 30 can be wirelessly connected to a plurality of computers (in this example, a first computer, a second computer, and a third computer) and controlled each time on one of the computers (for example, The third computer is preset as the controlled computer) (S801). The control unit 302 can calculate the displacement direction and the displacement amount of the input device 30 according to the displacement change sensed by the sensing unit 300 (S803). The displacement direction of the input device 30 may include a first movement direction 32 and a second movement direction 34, and respectively correspond to the first index direction 58 and the second index direction 59 of the third computer. Therefore, when the input device 30 faces the first When a moving direction 32 moves, the indicator on the third computer will move toward the first indicator direction 58. The control unit 302 can determine whether the input device 30 is moved toward the first index direction 58 corresponding to the third computer based on the calculated displacement direction (S805). In the present embodiment, the displacement direction of the input device 30 may be a horizontal direction.

若輸入裝置30的位移方向是對應第三電腦之第一指標方向58移動,控制單元302可進一步累計輸入裝置30朝向第一指標方向58移動的位移量為第一累積量,同時,還清除輸入裝置30可能在先前朝向第二指標方向59移動所累積的第二累積量(S807),藉以避免錯誤地累積了不是對應第一指標方向58的位移量為第一累積量。控制單元302進一步比對第一累積量是否大於門檻值(S809),藉以判斷輸入裝置30是否為大幅度的移動。若第一累積量並未大於門檻值,控制單元302即可判定輸入裝置30仍繼續在第三電腦上作用,因此可根據使用者對輸入裝置30的操作而產生輸入指令,所述的輸入指令中包括第三電腦的識別碼(S811),以便多部電腦接收到所述的輸入指令後,僅有識別碼相符的第三電腦會執行輸入指令的內容。產生輸入指令並輸出後,控制單元302可返回步驟S803以下,仍繼續根據感測單元300感測到的位移變化,計算出輸入裝置30的位移方向及位移量。 If the displacement direction of the input device 30 is moving corresponding to the first index direction 58 of the third computer, the control unit 302 may further accumulate the displacement amount of the input device 30 moving toward the first index direction 58 as the first cumulative amount, and also clear the input. The device 30 may move the accumulated second accumulated amount previously toward the second index direction 59 (S807) to avoid erroneously accumulating the amount of displacement that is not corresponding to the first index direction 58 as the first accumulated amount. The control unit 302 further compares whether the first accumulated amount is greater than a threshold value (S809), thereby determining whether the input device 30 is a large-scale movement. If the first accumulated amount is not greater than the threshold value, the control unit 302 can determine that the input device 30 continues to act on the third computer, so that an input command can be generated according to the user's operation on the input device 30, the input command The identification code of the third computer (S811) is included, so that after the plurality of computers receive the input instruction, only the third computer whose identification code matches will execute the content of the input instruction. After the input command is generated and output, the control unit 302 may return to step S803 and continue to calculate the displacement direction and the displacement amount of the input device 30 according to the displacement change sensed by the sensing unit 300.

而在判斷第一累積量是否大於門檻值之步驟S809後,當第一累積量確實大於門檻值時,控制單元302可更進一步判斷是否有對應於第一指標方向58的另一電腦的標識(S813),例如參照儲存在存儲單元306中的對照表。例如:對照表中對應於第三電腦之第一指標方向58的標識為第二 電腦的識別碼,然而對應於第一電腦的第二指標方向52則標識出沒有對應的電腦。藉此,控制單元302可根據標識而決定輸入裝置30在目前作用中的受控制電腦(第三電腦)朝向第一指標方向58移動幅度大於門檻值時,應切換到另一電腦進行控制(在本例中為第二電腦)(S815)。控制單元302並於產生輸入指令時附加第二電腦的識別碼,以利第二電腦接收輸入指令並加以執行(S817)。另一方面來說,當根據步驟S813參照標識之後,判斷輸入裝置30在特定電腦上朝向其中一指標方向移動並無對應的另一電腦時,則輸入裝置30仍維持作用於同一電腦,故而會產生包括目前作用中之電腦的識別碼的輸入指令,藉以控制原作用中的電腦(S811)。 After the step S809 of determining whether the first accumulated amount is greater than the threshold value, when the first accumulated amount is indeed greater than the threshold value, the control unit 302 may further determine whether there is an identifier of another computer corresponding to the first indicator direction 58 ( S813), for example, refer to the lookup table stored in the storage unit 306. For example, the identifier corresponding to the first indicator direction 58 of the third computer in the comparison table is the second The computer's identification code, however corresponding to the second indicator direction 52 of the first computer, identifies that there is no corresponding computer. Thereby, the control unit 302 can determine, according to the identifier, that the input device 30 should switch to another computer for control when the currently operated controlled computer (third computer) moves toward the first index direction 58 by a threshold greater than the threshold value. In this example, it is the second computer) (S815). The control unit 302 adds an identification code of the second computer when the input command is generated, so that the second computer receives the input command and executes it (S817). On the other hand, when it is determined that the input device 30 moves on one of the indicators toward one of the indicators and does not correspond to another computer after referring to the identification according to step S813, the input device 30 still functions on the same computer, and thus An input command including an identification code of the currently active computer is generated to control the original computer (S811).

另一方面,當步驟S805判斷輸入裝置30的位移方向是否為對應第三電腦的第一指標方向58的結果為否時,代表輸入裝置30的位移方向係為朝向對應第三電腦之第二指標方向59。控制單元302此時則清除步驟S807當中所累計的第一累積量,並累計輸入裝置30朝向第二指標方向59移動的位移量為第二累積量(S819)。控制單元302進一步更判斷第二累積量是否大於門檻值(S821),以確認輸入裝置30是否朝向第二指標方向59大幅度地移動。 On the other hand, when it is determined in step S805 whether the displacement direction of the input device 30 is the first index direction 58 corresponding to the third computer, the displacement direction of the input device 30 is oriented toward the second index corresponding to the third computer. Direction 59. At this time, the control unit 302 clears the first accumulated amount accumulated in step S807, and accumulates the displacement amount of the input device 30 moving toward the second index direction 59 as the second cumulative amount (S819). The control unit 302 further determines whether the second accumulated amount is greater than the threshold value (S821) to confirm whether the input device 30 is largely moved toward the second index direction 59.

若輸入裝置30朝向第二指標方向59移動的第二累積量被判斷為大於門檻值,控制單元302亦可參照對照表中的標識,以判斷在目前作用中的受控制電腦(本例中的第三電腦)上朝向第二指標方向59大幅度移動後,是否有相對應的另外的再一電腦(S813)。假設對應於第三電腦的第二指標方向59的標識是第二電腦的識別碼,控制單元302 則可根據所述標識而決定將輸入裝置30切換到第二電腦進行控制(S815),並產生包括第二電腦之識別碼在內的輸入指令以供輸入裝置30控制第二電腦(S817)。 If the second accumulated amount of the input device 30 moving toward the second index direction 59 is determined to be greater than the threshold value, the control unit 302 may also refer to the identifier in the look-up table to determine the controlled computer in the current operation (in this example After the third computer is moved largely toward the second index direction 59, there is another corresponding computer (S813). It is assumed that the identifier corresponding to the second indicator direction 59 of the third computer is the identification code of the second computer, and the control unit 302 Then, according to the identification, it is decided to switch the input device 30 to the second computer for control (S815), and generate an input command including the identification code of the second computer for the input device 30 to control the second computer (S817).

此外,比對第一累積量是否大於門檻值,以及根據比對的結果判斷如何切換到其他電腦的方式,還可以利用設置多階段門檻值的手段達成。以圖5的第一電腦40為例,用以比對第一指標方向50的第一累積量的門檻值,可分別設為對應第三電腦44的第一門檻值,例如為3000像素,以及對應第二電腦42的第二門檻值,例如為6000像素。 In addition, whether the first accumulated amount is greater than the threshold value and how to switch to another computer according to the result of the comparison can also be achieved by means of setting a multi-stage threshold. Taking the first computer 40 of FIG. 5 as an example, the threshold value for comparing the first accumulated amount of the first index direction 50 may be respectively set to a first threshold value corresponding to the third computer 44, for example, 3000 pixels, and Corresponding to the second threshold value of the second computer 42, for example, 6000 pixels.

當輸入裝置30運作於第一電腦40,且控制單元302根據感測單元300的感測判斷出指標朝向第一指標方向50移動時,控制單元302可先比對計算出來的第一累積量是否大於第二門檻值,換言之,即為判斷輸入裝置30是否一次橫向移動而跨越了兩部螢幕。若第一累積量是否大於第二門檻值,控制單元302即可將輸入裝置30切換為在距離第一螢幕40a較遠的第二螢幕42a所對應的第二電腦42上運作。反之,若第一累積量沒有超過第二門檻值但大於第一門檻值,則將輸入裝置30切換到距離第一螢幕40a較近的第三螢幕44a對應的第三電腦44上運作。 When the input device 30 operates on the first computer 40, and the control unit 302 determines that the index moves toward the first index direction 50 according to the sensing of the sensing unit 300, the control unit 302 may first compare whether the calculated first accumulated amount is It is greater than the second threshold value, in other words, it is to judge whether the input device 30 moves laterally across the two screens. If the first accumulated amount is greater than the second threshold, the control unit 302 can switch the input device 30 to operate on the second computer 42 corresponding to the second screen 42a farther from the first screen 40a. On the other hand, if the first accumulated amount does not exceed the second threshold but is greater than the first threshold, the input device 30 is switched to operate on the third computer 44 corresponding to the third screen 44a that is closer to the first screen 40a.

藉此,當輸入裝置30所連結的電腦數量在三部以上時,控制單元302仍可根據輸入裝置30的位移方向所對應的電腦的指標方向及其距離,判斷出輸入裝置30所要切換控制的另一部電腦以產生帶有正確之識別碼的輸入指令。 Therefore, when the number of computers connected to the input device 30 is more than three, the control unit 302 can still determine the switching control of the input device 30 according to the index direction of the computer corresponding to the displacement direction of the input device 30 and the distance thereof. Another computer produces an input command with the correct identification code.

本實施例雖係以圖5中橫向排列的電腦與螢幕為例說明,然而當三部以上之電腦的螢幕為縱向排列時,仍可根據相同的原理而達到根據輸入裝置30的位移方向切換的效 果,此處即不再贅述。 Although the computer and the screen arranged in the horizontal direction in FIG. 5 are taken as an example, when the screens of three or more computers are vertically arranged, the switching according to the displacement direction of the input device 30 can still be achieved according to the same principle. effect If it is not mentioned here.

〔可在多電腦之間切換的輸入裝置另一實施例〕 [Another embodiment of an input device that can be switched between multiple computers]

接著請參照圖8A到8C所提供的另一種可在多電腦之間切換的輸入裝置之實施例的示意圖。 Next, please refer to the schematic diagram of another embodiment of an input device that can be switched between multiple computers, as provided in FIGS. 8A to 8C.

圖8A繪示了受到輸入裝置的第一電腦到第三電腦(圖8A未示)的第一螢幕90a、第二螢幕92a及第三螢幕94a。所述三個螢幕90a到94a依序排列於同一橫軸。請一併參照圖3所示的示意圖,與圖3第一螢幕40a的第一指標方向50與第二指標方向52相同,圖8A的第一螢幕90a上的指標方向是橫向指標方向,包括朝向第二螢幕92a的第一橫向W1,以及與第一橫向W1相反的第二橫向W2。如同圖3對應實施例的說明,輸入裝置(圖未示)的控制單元可計算輸入裝置的水平位移方向及其位移量。當水平位移方向對應第一橫向W1,且連續移動而累積的水平累積量大於水平門檻值A1時,輸入裝置被切換到對應於第二螢幕92a的第二電腦上運作。當水平位移方向對應第二橫向W2時,則清除已累積的水平累積量,以避免誤切換輸入裝置所運作的電腦。 FIG. 8A illustrates a first screen 90a, a second screen 92a, and a third screen 94a of the first computer to the third computer (not shown in FIG. 8A) of the input device. The three screens 90a to 94a are sequentially arranged on the same horizontal axis. Referring to the schematic diagram shown in FIG. 3, the first index direction 50 of the first screen 40a of FIG. 3 is the same as the second index direction 52, and the index direction on the first screen 90a of FIG. 8A is the horizontal index direction, including the orientation. The first lateral direction W1 of the second screen 92a and the second lateral direction W2 opposite the first lateral direction W1. As explained in the corresponding embodiment of FIG. 3, the control unit of the input device (not shown) can calculate the horizontal displacement direction of the input device and its displacement amount. When the horizontal displacement direction corresponds to the first lateral direction W1 and the cumulative horizontal accumulation amount continuously increases is greater than the horizontal threshold value A1, the input device is switched to operate on the second computer corresponding to the second screen 92a. When the horizontal displacement direction corresponds to the second lateral direction W2, the accumulated horizontal accumulation amount is cleared to avoid erroneously switching the computer operated by the input device.

同理,若是在第一電腦上對應第一橫向W1的水平累積量大於兩倍的水平門檻值A1(即相當於圖8A中的A2),輸入裝置則從第一電腦切換到對應於第三螢幕94a的第三電腦。 Similarly, if the horizontal cumulative amount corresponding to the first horizontal direction W1 on the first computer is greater than twice the horizontal threshold A1 (ie, equivalent to A2 in FIG. 8A), the input device is switched from the first computer to the third. The third computer of the screen 94a.

本例中的水平門檻值A1可例如為3000像素,或任何大於單一螢幕橫軸最大解析度的像素。輸入裝置在橫向排列於同一橫軸上之螢幕所對應之電腦之間切換的其他相關說明,已詳述於前述實施例中,不再重述。 The horizontal threshold value A1 in this example may be, for example, 3000 pixels, or any pixel larger than the maximum resolution of the horizontal axis of a single screen. Other related descriptions of the switching of the input device between the computers corresponding to the screens arranged on the same horizontal axis in the lateral direction have been described in detail in the foregoing embodiments and will not be repeated.

請參照圖8B,當第一螢幕90b、第二螢幕92b及第三螢幕94b為由下到上依序排列於同一縱軸時,第一螢幕90b的指標方向包括朝向第二螢幕92b的第一縱向L1,以及與第一縱向L1相反的第二縱向L2。 Referring to FIG. 8B, when the first screen 90b, the second screen 92b, and the third screen 94b are sequentially arranged on the same vertical axis from bottom to top, the index direction of the first screen 90b includes the first direction toward the second screen 92b. The longitudinal direction L1, and the second longitudinal direction L2 opposite to the first longitudinal direction L1.

如同圖4所示,當輸入裝置的垂直位移方向對應於第一縱向L1移動,且連續朝向第一縱向L1移動所累積的垂直累積量大於垂直門檻值B1時,輸入裝置從第一電腦被切換到對應第二螢幕92b的第二電腦。反之,若垂直位移方向對應第二縱向L2移動,或朝向第一縱向L1移動的垂直累積量不大於垂直門檻值B1時,則不切換輸入裝置到同一縱軸上的其他電腦。 As shown in FIG. 4, when the vertical displacement direction of the input device corresponds to the first longitudinal direction L1, and the vertical cumulative amount accumulated continuously toward the first longitudinal direction L1 is greater than the vertical threshold value B1, the input device is switched from the first computer. Go to the second computer corresponding to the second screen 92b. On the other hand, if the vertical displacement direction corresponds to the second longitudinal direction L2 movement, or the vertical accumulation amount moving toward the first longitudinal direction L1 is not greater than the vertical threshold value B1, the input device is not switched to other computers on the same vertical axis.

類似地,若在對應第一螢幕90b的第一電腦上對應第一縱向L1累積移動的垂直累積量大於兩倍的垂直門檻值B1(即圖8B中所示的B2),輸入裝置則切換到對應第三螢幕94b的第三電腦上運作。 Similarly, if the vertical cumulative amount corresponding to the first longitudinal L1 cumulative movement on the first computer corresponding to the first screen 90b is greater than twice the vertical threshold value B1 (ie, B2 shown in FIG. 8B), the input device switches to It operates on the third computer corresponding to the third screen 94b.

本實施例中的垂直門檻值B1則可例如為2500像素,或任何大於單一螢幕縱軸最大解析度的像素。輸入裝置在縱向排列於同一縱軸上之螢幕所對應之電腦之間切換的其他相關說明,已詳述於前述實施例中,不再重述。 The vertical threshold value B1 in this embodiment may be, for example, 2500 pixels, or any pixel larger than the maximum resolution of the vertical axis of a single screen. Other related descriptions of the switching of the input device between computers corresponding to the screens arranged longitudinally on the same longitudinal axis have been described in detail in the foregoing embodiments and will not be repeated.

接著請參閱圖8C,繪示了位在不同橫軸或不同縱軸的多個螢幕的示意圖。其中,輸入裝置100的水平位移方向104可對應第一螢幕90c的第一橫向與第二橫向,垂直位移方向102則可對應第一螢幕90c的第一縱向及第二縱向。其中,第一橫向朝向與第一螢幕90c位於同一橫軸的第三螢幕94c,第一縱向則朝向與第一螢幕90c位於同一縱軸的第四螢幕96c。第二螢幕92c則與第四螢幕96c位於同一橫 軸,並與第三螢幕94c位於同一縱軸。 Referring next to FIG. 8C, a schematic diagram of a plurality of screens positioned on different horizontal axes or different longitudinal axes is illustrated. The horizontal displacement direction 104 of the input device 100 may correspond to the first lateral direction and the second lateral direction of the first screen 90c, and the vertical displacement direction 102 may correspond to the first longitudinal direction and the second longitudinal direction of the first screen 90c. The first horizontal direction faces the third screen 94c on the same horizontal axis as the first screen 90c, and the first vertical direction faces the fourth screen 96c on the same vertical axis as the first screen 90c. The second screen 92c is in the same horizontal direction as the fourth screen 96c. The shaft is located on the same vertical axis as the third screen 94c.

當輸入裝置100在第一螢幕90c的第一電腦上運作時,輸入裝置100的位移方向可能同時包括水平位移方向及垂直位置方向。輸入裝置100的控制單元(圖未示)可一併計算水平位移方向的位移量及垂直位移方向的位移量。當水平位移方向對應第一橫向且垂直位移方向對應第一縱向時,控制單元計算水平累積量與垂直累積量是否分別大於水平門檻值A1與垂直門檻值B1。 When the input device 100 operates on the first computer of the first screen 90c, the direction of displacement of the input device 100 may include both a horizontal displacement direction and a vertical position direction. The control unit (not shown) of the input device 100 can calculate the displacement amount in the horizontal displacement direction and the displacement amount in the vertical displacement direction together. When the horizontal displacement direction corresponds to the first lateral direction and the vertical displacement direction corresponds to the first longitudinal direction, the control unit calculates whether the horizontal cumulative amount and the vertical cumulative amount are greater than the horizontal threshold value A1 and the vertical threshold value B1, respectively.

若僅有水平累積量大於水平門檻值A1,但垂直累積量不大於垂直門檻值B1,控制單元則會控制使輸入裝置100被切換到位於同一橫軸上的第三螢幕94c之第三電腦上(請參閱圖8A所述內容)。換言之,輸入裝置100的指標原本顯示於第一螢幕90c上,往P3方向移動後改為顯示在第三螢幕94c上。反之,若僅有垂直累積量大於垂直門檻值B1,則使輸入裝置100切換到位於同一縱軸上的第四螢幕96c之第四電腦上運作(請參閱圖8B所述內容),亦即朝向P1方向移動後,改為在第四螢幕96c顯示指標。 If only the horizontal accumulated amount is greater than the horizontal threshold A1, but the vertical accumulated amount is not greater than the vertical threshold B1, the control unit controls the input device 100 to be switched to the third computer of the third screen 94c on the same horizontal axis. (See the description of Figure 8A). In other words, the index of the input device 100 is originally displayed on the first screen 90c, and is displayed on the third screen 94c after moving in the P3 direction. On the other hand, if only the vertical accumulation amount is greater than the vertical threshold value B1, the input device 100 is switched to operate on the fourth computer of the fourth screen 96c on the same vertical axis (please refer to FIG. 8B), that is, After the P1 direction is moved, the indicator is displayed on the fourth screen 96c.

特別的是,當水平累積量及垂直累積量分別大於對應的水平門檻值A1及垂直門檻值B1時,代表輸入裝置100的水平位移量及垂直位移量同時產生大幅度的變化,使得輸入裝置100既往縱向(P1方向)移動而與第四螢幕96c位於同一橫軸,又往橫向(P3方向)移動而與第三螢幕94c位於同一縱橫,故而最後使得指標往P2方向移動,並從第一螢幕90c切換到位於斜對角的第二螢幕92c上顯示。 In particular, when the horizontal accumulation amount and the vertical accumulation amount are respectively greater than the corresponding horizontal threshold value A1 and the vertical threshold value B1, the horizontal displacement amount and the vertical displacement amount representing the input device 100 simultaneously generate a large change, so that the input device 100 is caused. The vertical direction (P1 direction) moves on the same horizontal axis as the fourth screen 96c, and moves in the horizontal direction (P3 direction) to be in the same vertical and horizontal direction as the third screen 94c, so that the indicator is finally moved in the P2 direction and from the first screen. The 90c is switched to display on the diagonally opposite second screen 92c.

在本例中,水平門檻值A1同樣可為任何大於單一螢幕最大橫軸解析度的像素。而由於一般螢幕的橫軸像素會多 於縱軸像素,故而垂直門檻值B1則可為任何大於單一螢幕最大縱軸解析度且小於水平門檻值A1的像素。 In this example, the horizontal threshold A1 can also be any pixel that is greater than the maximum horizontal axis resolution of a single screen. And because there are more pixels on the horizontal axis of the general screen. The vertical axis pixel B1 can be any pixel larger than the maximum vertical axis resolution of the single screen and smaller than the horizontal threshold A1.

輸入裝置的控制單元計算位移方向及位移量,以及根據相對應的指標方向累積位移量或清除位移量等手段,已分述於前揭實施例,本實施例不再重述相同部分。 The control unit of the input device calculates the displacement direction and the displacement amount, and the means for accumulating the displacement amount or clearing the displacement amount according to the corresponding index direction has been described in the foregoing embodiment, and the same portion will not be repeated in this embodiment.

〔實施例的可能功效〕 [Possible effects of the examples]

根據本發明實施例,上述的輸入裝置及其控制方法,可用以供使用者以一組輸入裝置在多部獨立的電腦之間切換,以控制所述的多部電腦。 According to an embodiment of the invention, the input device and the control method thereof can be used for a user to switch between a plurality of independent computers by a set of input devices to control the plurality of computers.

更進一步地說,上述各實施例所揭露的輸入裝置及其控制多電腦的方法,提供了一種計算輸入裝置之位移方向及位移量來切換接受輸入裝置之輸入指令的電腦的手段,可使輸入裝置的位移方向與電腦上指標的指標方向相互對應,達到直觀易操作的效果。 Furthermore, the input device and the method for controlling the multi-computer disclosed in the above embodiments provide a means for calculating the displacement direction and the displacement amount of the input device to switch the input command of the input device, and the input can be made. The displacement direction of the device and the indicator direction of the indicator on the computer correspond to each other, achieving an intuitive and easy-to-operate effect.

再者,根據本發明的實施例,所述的輸入裝置還利用同時計算輸入裝置之水平累積量及垂直累積量的方式,即可達成在不止一行或不止一列的電腦螢幕之間切換指標,並且分別控制所述電腦螢幕對應的電腦主機的效果,增加輸入裝置在多電腦之間切換的靈活度。 Furthermore, according to an embodiment of the present invention, the input device can also switch between the computer screens of more than one row or more than one column by simultaneously calculating the horizontal accumulation amount and the vertical accumulation amount of the input device, and The effects of the computer host corresponding to the computer screen are separately controlled, and the flexibility of the input device to switch between multiple computers is increased.

此外,利用輸入裝置的控制單元計算輸入單元之位移變化來決定所要控制的電腦,並且利用識別碼指出所要控制之電腦的手段,可以達到完全透過韌體而完成所述切換及控制工作的效果,相較於額外在輸入裝置上設置切換開關、或是外接切換器(KVM)切換的手段,本發明實施例所提供的手段可維持輸入裝置之單純結構、且不增加硬體成本。 In addition, the control unit of the input device calculates the displacement change of the input unit to determine the computer to be controlled, and the means for indicating the computer to be controlled by using the identification code can achieve the effect of completely completing the switching and control work through the firmware. Compared with the means for additionally setting a switch or an external switch (KVM) switch on the input device, the method provided by the embodiment of the present invention can maintain the simple structure of the input device without increasing the hardware cost.

以上所述僅為本發明之實施例,其並非用以侷限本發明之專利範圍。 The above description is only an embodiment of the present invention, and is not intended to limit the scope of the invention.

10‧‧‧滑鼠 10‧‧‧ Mouse

12‧‧‧鍵盤 12‧‧‧ keyboard

20‧‧‧第一電腦 20‧‧‧First computer

20a‧‧‧第一主機 20a‧‧‧First host

200‧‧‧第一接收器 200‧‧‧First Receiver

20b‧‧‧第一螢幕 20b‧‧‧ first screen

22‧‧‧第二電腦 22‧‧‧Second computer

22a‧‧‧第二主機 22a‧‧‧Second host

220‧‧‧第二接收器 220‧‧‧second receiver

22b‧‧‧第二螢幕 22b‧‧‧ second screen

30‧‧‧輸入裝置 30‧‧‧ Input device

300‧‧‧感測單元 300‧‧‧Sensor unit

302‧‧‧控制單元 302‧‧‧Control unit

304‧‧‧儲存單元 304‧‧‧ storage unit

306‧‧‧傳輸單元 306‧‧‧Transmission unit

32,36‧‧‧第一移動方向 32,36‧‧‧First moving direction

34,38‧‧‧第二移動方向 34,38‧‧‧second direction of movement

40‧‧‧第一電腦 40‧‧‧First computer

40a‧‧‧第一螢幕 40a‧‧‧ first screen

400‧‧‧第一接收器 400‧‧‧First Receiver

402‧‧‧第一處理器 402‧‧‧First processor

42‧‧‧第二電腦 42‧‧‧Second computer

42a‧‧‧第二螢幕 42a‧‧‧ second screen

420‧‧‧第二接收器 420‧‧‧second receiver

422‧‧‧第二處理器 422‧‧‧second processor

44‧‧‧第三電腦 44‧‧‧ third computer

44a‧‧‧第三螢幕 44a‧‧‧ third screen

50,54,58‧‧‧第一指標方向 50,54,58‧‧‧first indicator direction

52,56,59‧‧‧第二指標方向 52, 56, 59‧‧‧ direction of the second indicator

60,64‧‧‧第一指標方向 60,64‧‧‧First indicator direction

62,66‧‧‧第二指標方向 62, 66‧‧‧ direction of the second indicator

S701-S717‧‧‧流程步驟 S701-S717‧‧‧ Process steps

S801-S821‧‧‧流程步驟 S801-S821‧‧‧ Process steps

90a-90c‧‧‧第一螢幕 90a-90c‧‧‧ first screen

92a-92c‧‧‧第二螢幕 92a-92c‧‧‧ second screen

94a-94c‧‧‧第三螢幕 94a-94c‧‧‧ third screen

96c‧‧‧第四螢幕 96c‧‧‧ fourth screen

A1、A2‧‧‧水平門檻值 A1, A2‧‧‧ horizontal threshold

B1、B2‧‧‧垂直門檻值 B1, B2‧‧‧ vertical threshold

100‧‧‧輸入裝置 100‧‧‧ input device

102‧‧‧垂直位移方向 102‧‧‧Vertical displacement direction

104‧‧‧水平位移方向 104‧‧‧ horizontal displacement direction

W1‧‧‧第一橫向 W1‧‧‧ first horizontal

W2‧‧‧第二橫向 W2‧‧‧ second horizontal

L1‧‧‧第一縱向 L1‧‧‧ first portrait

L2‧‧‧第二縱向 L2‧‧‧ second portrait

圖1:本發明提供的一種可控制多電腦之輸入裝置實施例之使用環境示意圖;圖2:本發明提供的一種可控制多電腦之輸入裝置實施例之方塊圖;圖3:本發明提供的輸入裝置控制多電腦之實施例之示意圖;圖4:本發明提供的輸入裝置控制多電腦之實施例之另一示意圖;圖5:本發明提供的輸入裝置控制多電腦之實施例之再一示意圖;圖6:本發明提供的一種輸入裝置控制多電腦之方法實施例的流程圖;圖7:本發明提供的另一種輸入裝置控制多電腦之方法實例的流程圖;及圖8A到8C:本發明提供的另一輸入裝置控制多電腦之實施例之示意圖。 1 is a schematic diagram of an environment for using an input device of a controllable multi-computer according to the present invention; FIG. 2 is a block diagram of an embodiment of an input device for controlling a plurality of computers provided by the present invention; FIG. 3 is provided by the present invention. A schematic diagram of an embodiment of an input device controlling a multi-computer; FIG. 4 is another schematic diagram of an embodiment of an input device for controlling a multi-computer provided by the present invention; FIG. 5 is a schematic diagram of an embodiment of an input device for controlling a multi-computer provided by the present invention. FIG. 6 is a flowchart of an embodiment of a method for controlling a multi-computer by an input device according to the present invention; FIG. 7 is a flow chart showing an example of a method for controlling a multi-computer by another input device provided by the present invention; and FIGS. 8A to 8C: A schematic diagram of another embodiment of an input device for controlling multiple computers.

30‧‧‧輸入裝置 30‧‧‧ Input device

32‧‧‧第一移動方向 32‧‧‧First moving direction

34‧‧‧第二移動方向 34‧‧‧Second moving direction

40‧‧‧第一主機 40‧‧‧First host

40a‧‧‧第一螢幕 40a‧‧‧ first screen

42‧‧‧第二主機 42‧‧‧Second host

42a‧‧‧第二螢幕 42a‧‧‧ second screen

50‧‧‧第一指標方向 50‧‧‧ First indicator direction

52‧‧‧第二指標方向 52‧‧‧ direction of the second indicator

54‧‧‧第一指標方向 54‧‧‧ First indicator direction

56‧‧‧第二指標方向 56‧‧‧direction of the second indicator

Claims (29)

一種可控制多電腦的輸入裝置,所述多電腦各自連接一螢幕,該輸入裝置包括:一儲存單元,記錄所述多電腦的每一電腦對應的一識別碼;一感測單元,用以感測該輸入裝置的位移變化;一控制單元,依照該感測單元所感測的位移變化計算該輸入裝置的一位移方向及一位移量,以判斷該輸入裝置在所述多電腦中之一受控制電腦上運作,並產生一輸入指令而控制該輸入裝置作用中的該受控制電腦,其中,該輸入指令包括該輸入裝置作用中的該受控制電腦的該識別碼;及一傳輸單元,電性連接該控制單元,發送該輸入指令到所述多電腦,以供與該輸入指令所包括的該識別碼對應的該受控制電腦執行該輸入指令;其中,該位移方向對應於該輸入裝置作用中之該受控制電腦之該螢幕的一指標方向,該指標方向包括一第一指標方向及一第二指標方向,該控制單元累計該輸入裝置連續朝向該第一指標方向移動的該位移量為一第一累積量,並於該第一累積量大於一門檻值時,判斷該輸入裝置切換到所述多電腦當中該受控制電腦以外的一另一電腦,以控制該另一電腦。 An input device for controlling a plurality of computers, each of the plurality of computers being connected to a screen, the input device comprising: a storage unit for recording an identification code corresponding to each computer of the plurality of computers; and a sensing unit for sensing Measuring a change in the displacement of the input device; a control unit calculating a displacement direction and a displacement amount of the input device according to the displacement change sensed by the sensing unit to determine that the input device is controlled in one of the plurality of computers Operating on a computer and generating an input command to control the controlled computer in which the input device is active, wherein the input command includes the identification code of the controlled computer in which the input device is active; and a transmission unit, electrical Connecting the control unit, sending the input command to the multi-computer, for the controlled computer corresponding to the identification code included in the input instruction to execute the input instruction; wherein the displacement direction corresponds to the input device being active An indicator direction of the screen of the controlled computer, the indicator direction includes a first indicator direction and a second indicator direction, the control The amount of displacement of the input device continuously moving toward the first index direction is a first accumulated amount, and when the first accumulated amount is greater than a threshold value, determining that the input device switches to the multi-computer Control another computer other than the computer to control the other computer. 如申請專利範圍第1項所述的輸入裝置,其中,當該第一累積量不大於該門檻值,且該輸入裝置朝向該第二指標方向移動時,該控制單元清除該第一累積量。 The input device of claim 1, wherein the control unit clears the first accumulated amount when the first accumulated amount is not greater than the threshold value and the input device moves toward the second index. 如申請專利範圍第2項所述的輸入裝置,其中,該控制 單元累計該輸入裝置朝向該第二指標方向移動的該位移量為一第二累積量,並於該第二累積量大於該門檻值時,判斷該輸入裝置切換到所述多電腦當中該受控制電腦及該另一電腦以外的一再一電腦,其中,所述多電腦的數量至少為三。 An input device according to claim 2, wherein the control The unit accumulates the displacement amount of the input device moving toward the second index direction as a second cumulative amount, and when the second accumulated amount is greater than the threshold value, determining that the input device switches to the multi-computer and the controlled A computer and a computer other than the other computer, wherein the number of the plurality of computers is at least three. 如申請專利範圍第3項所述的輸入裝置,其中,當該第二累積量不大於該門檻值,且該輸入裝置往該第一指標方向移動時,該控制單元清除該第二累積量。 The input device of claim 3, wherein the control unit clears the second accumulated amount when the second accumulated amount is not greater than the threshold value and the input device moves toward the first index. 如申請專利範圍第3項所述的輸入裝置,其中,該儲存單元還記錄對應於該第一指標方向的一第一標識,當該第一累積量大於該門檻值時,該控制單元根據該第一標識切換該輸入裝置到該另一電腦。 The input device of claim 3, wherein the storage unit further records a first identifier corresponding to the direction of the first indicator, and when the first accumulated amount is greater than the threshold, the control unit is configured according to the The first identification switches the input device to the other computer. 如申請專利範圍第5項所述的輸入裝置,其中,該儲存單元還記錄對應於該第二指標方向的一第二標識,當該第二累積量大於該門檻值時,該控制單元根據該第二標識切換該輸入裝置到該再一電腦。 The input device of claim 5, wherein the storage unit further records a second identifier corresponding to the direction of the second indicator, and when the second accumulated amount is greater than the threshold, the control unit is configured according to the The second identification switches the input device to the other computer. 如申請專利範圍第1項所述的輸入裝置,其中,該門檻值包括一第一門檻值及大於該第一門檻值的一第二門檻值,該第一門檻值及該第二門檻值分別對應所述多電腦其中之一,該控制單元判斷該第一累積量大於該第二門檻值時,該另一電腦為該第二門檻值所對應的電腦,當該第一累積量大於該第一門檻值且不大於該第二門檻值,該另一電腦為該第一門檻值所對應的電腦,其中,所述多電腦的數量至少為三。 The input device of claim 1, wherein the threshold value comprises a first threshold value and a second threshold value greater than the first threshold value, the first threshold value and the second threshold value respectively Corresponding to one of the plurality of computers, when the control unit determines that the first accumulated amount is greater than the second threshold, the another computer is a computer corresponding to the second threshold, when the first accumulated amount is greater than the first The threshold value is not greater than the second threshold value, and the other computer is the computer corresponding to the first threshold value, wherein the number of the plurality of computers is at least three. 如申請專利範圍第1項所述的輸入裝置,其中,該傳輸單元包括無線通訊模組,所述多電腦的每一電腦分別包 括一無線通訊接收單元,用以讀取該輸入指令所包括的該識別碼,其中,對應於該輸入指令中之該識別碼的該多電腦其中之一執行該無線通訊模組無線傳送的該輸入指令。 The input device of claim 1, wherein the transmission unit comprises a wireless communication module, and each computer of the multiple computer is separately packaged a wireless communication receiving unit, configured to read the identification code included in the input instruction, wherein one of the plurality of computers corresponding to the identification code in the input instruction performs wireless transmission of the wireless communication module Enter the command. 如申請專利範圍第1項所述的輸入裝置,其中,該位移方向為水平方向或垂直方向,該第一指標方向與該第二指標方向相反。 The input device according to claim 1, wherein the displacement direction is a horizontal direction or a vertical direction, and the first index direction is opposite to the second index direction. 如申請專利範圍第1項所述的輸入裝置,其中,該輸入裝置包括滑鼠,該控制單元設置於該滑鼠內。 The input device of claim 1, wherein the input device comprises a mouse, and the control unit is disposed in the mouse. 如申請專利範圍第10項所述的輸入裝置,其中,該輸入裝置更包括鍵盤,該鍵盤用以產生一鍵盤輸入指令,該鍵盤輸入指令與該輸入指令包括相同的該識別碼。 The input device of claim 10, wherein the input device further comprises a keyboard for generating a keyboard input command, the keyboard input command and the input command comprising the same identification code. 一種輸入裝置控制多電腦的方法,包括:計算該輸入裝置控制該多電腦其中之一受控制電腦時的一位移方向及一位移量,該位移方向對應於該受控制電腦之一螢幕的一指標方向;判斷該位移方向是否對應該指標方向中的一第一指標方向;若該位移方向對應該第一指標方向,累計該輸入裝置連續朝向該第一指標方向移動的該位移量為一第一累積量;判斷該第一累積量是否大於一門檻值;當該第一累積量大於該門檻值,切換該輸入裝置到所述多電腦當中該受控制電腦以外的一另一電腦;及產生一輸入指令以供該另一電腦接收,該輸入指令中包括該另一電腦的一識別碼; 藉此,所述另一電腦根據該輸入指令的該識別碼接收及執行該輸入指令。 A method for controlling a multi-computer by an input device, comprising: calculating a displacement direction and a displacement amount when the input device controls one of the plurality of controlled computers, the displacement direction corresponding to an indicator of a screen of the controlled computer a direction; determining whether the displacement direction corresponds to a first index direction in the index direction; if the displacement direction corresponds to the first index direction, accumulating the displacement of the input device continuously toward the first index direction is a first a cumulative amount; determining whether the first accumulated amount is greater than a threshold; and when the first accumulated amount is greater than the threshold, switching the input device to another computer other than the controlled computer among the plurality of computers; and generating a Inputting an instruction for receipt by the other computer, the input instruction including an identification code of the other computer; Thereby, the another computer receives and executes the input instruction according to the identification code of the input instruction. 如申請專利範圍第12項所述的控制多電腦的方法,其中,判斷該第一累積量是否大於該門檻值之後還包括:當該第一累積量不大於該門檻值,產生該輸入指令以供該受控制電腦接收,該輸入指令中包括該受控制電腦的該識別碼。 The method of controlling a multi-computer according to claim 12, wherein determining whether the first accumulated amount is greater than the threshold further comprises: when the first accumulated amount is not greater than the threshold, generating the input command Received by the controlled computer, the input command includes the identification code of the controlled computer. 如申請專利範圍第12項所述的控制多電腦的方法,其中,判斷該位移方向是否對應該受控制電腦的該第一指標方向之後還包括:若該位移方向為該指標方向的一第二指標方向,清除所累計的該第一累積量。 The method for controlling a multi-computer according to claim 12, wherein determining whether the direction of displacement corresponds to the direction of the first indicator of the controlled computer further comprises: if the direction of displacement is a second direction of the indicator The direction of the indicator clears the accumulated first accumulated amount. 如申請專利範圍第14項所述的控制多電腦的方法,其中,當該位移方向為該第二指標方向而清除累計的該第一累積量的步驟還包括:累計該輸入裝置朝向該第二指標方向移動的該位移量為一第二累積量。 The method of controlling a multi-computer according to claim 14, wherein the step of clearing the accumulated first accumulated amount when the displacement direction is the second index direction further comprises: accumulating the input device toward the second The displacement amount in which the index direction moves is a second cumulative amount. 如申請專利範圍第15項所述的控制多電腦的方法,其中,當該位移方向為該第一指標方向,累計該輸入裝置朝向該第一指標方向移動的該位移量為該第一累積量的步驟還包括:清除該第二累積量。 The method of controlling a multi-computer according to claim 15, wherein when the displacement direction is the first index direction, the displacement amount of the input device moving toward the first index direction is the first cumulative amount. The step further includes: clearing the second accumulated amount. 如申請專利範圍第15項所述的控制多電腦的方法,其中,累計該第二累積量之後還包括:判斷該第二累積量是否大於該門檻值;及當該第二累積量未大於該門檻值,產生該輸入指令以 供該受控制電腦接收,該輸入指令中包括該受控制電腦的該識別碼。 The method of controlling a multi-computer according to claim 15, wherein the accumulating the second accumulated amount further comprises: determining whether the second accumulated amount is greater than the threshold; and when the second accumulated amount is not greater than the Threshold value, generating the input command to Received by the controlled computer, the input command includes the identification code of the controlled computer. 如申請專利範圍第17項所述的控制多電腦的方法,其中,當該第一累積量大於該門檻值,決定該輸入裝置作用於所述多電腦中的該另一電腦的步驟中還包括:根據對應於該第一指標方向的一標識判斷是否有供該輸入裝置切換的該另一電腦;及當根據該標識判斷具有該另一電腦時,取得該另一電腦的該識別碼。 The method of controlling a multi-computer according to claim 17, wherein when the first accumulated amount is greater than the threshold, determining that the input device acts on the other computer in the plurality of computers further includes Determining, according to a flag corresponding to the direction of the first indicator, whether there is another computer for switching the input device; and when determining that the other computer is determined according to the identifier, obtaining the identification code of the other computer. 如申請專利範圍第18項所述的控制多電腦的方法,其中,判斷該第二累積量是否大於該門檻值之後,包括:當該第二累積量大於該門檻值,決定該輸入裝置作用於所述多電腦中該受控制電腦及該另一電腦之外的一再一電腦;其中,所述多電腦的數量至少為三。 The method for controlling a multi-computer according to claim 18, wherein determining whether the second accumulated amount is greater than the threshold value comprises: when the second accumulated amount is greater than the threshold, determining that the input device acts on In the plurality of computers, the controlled computer and the computer other than the other computer; wherein the number of the plurality of computers is at least three. 如申請專利範圍第19項所述的控制多電腦的方法,其中,當該第二累積量大於該門檻值,決定該輸入裝置作用於該再一電腦的步驟還包括:根據對應於該第二指標方向的另一標識判斷是否有供該輸入裝置切換的該再一電腦;及當根據該標識判斷具有該再一電腦時,取得該再一電腦的該識別碼。 The method of controlling a multi-computer according to claim 19, wherein, when the second accumulated amount is greater than the threshold, the step of determining that the input device acts on the another computer further comprises: corresponding to the second Another identifier of the indicator direction determines whether there is another computer for switching the input device; and when it is determined that the computer is determined according to the identifier, the identification code of the other computer is obtained. 如申請專利範圍第12項所述的控制多電腦的方法,其中,當該第一累積量大於該門檻值,切換該輸入裝置到所述多電腦中的該另一電腦的步驟中,該門檻值包括一第一門檻值及大於該第一門檻值的一第二門檻值,該第一 門檻值及該第二門檻值分別對應所述多電腦其中之一,該控制單元判斷該第一累積量大於該第二門檻值時,所述另一電腦為該第二門檻值所對應的電腦,當該第一累積量大於該第一門檻值且不大於該第二門檻值,所述另一電腦為該第一門檻值所對應的電腦,其中,所述多電腦的數量至少為三。 The method of controlling a multi-computer according to claim 12, wherein, when the first accumulated amount is greater than the threshold, the step of switching the input device to the other computer of the plurality of computers, the threshold The value includes a first threshold value and a second threshold value greater than the first threshold value, the first The threshold value and the second threshold value respectively correspond to one of the plurality of computers, and the control unit determines that the first accumulated amount is greater than the second threshold value, and the another computer is the computer corresponding to the second threshold value And when the first accumulated amount is greater than the first threshold and not greater than the second threshold, the another computer is a computer corresponding to the first threshold, wherein the number of the multiple computers is at least three. 一種可控制多電腦的輸入裝置,每一所述多電腦分別連接一螢幕,該輸入裝置包括:一儲存單元,記錄每一所述多電腦對應的一識別碼;一感測單元,用以感測該輸入裝置的位移變化;一控制單元,依照該感測單元所感測的位移變化計算該輸入裝置的一水平位移方向、一垂直位移方向、該水平位移方向的一水平位移量及該垂直位移方向的一垂直位移量,以判斷該輸入裝置在所述多電腦中的一第一電腦運作,並產生一輸入指令而控制該第一電腦,其中,該輸入指令包括該第一電腦的該識別碼;及一傳輸單元,電性連接該控制單元,發送該輸入指令到所述多電腦,以供與該輸入指令所包括的該識別碼對應的該第一電腦執行該輸入指令;其中,該水平位移方向及該垂直位移方向分別對應於該第一電腦之一第一螢幕的一橫向指標方向及一縱向指標方向,該橫向指標方向包括一第一橫向及一第二橫向、該縱向指標方向包括一第一縱向及一第二縱向,該控制單元累計該輸入裝置連續朝向該第一橫向移動的該水平位移量為一水平累積量及連續 朝向該第一縱向移動的該垂直位移量為一垂直累積量,並於該水平累積量大於一水平門檻值且該垂直累積量大於一垂直門檻值時,判斷該輸入裝置切換到所述多電腦中的一第二電腦以控制該第二電腦,該第二電腦的一第二螢幕與該第一螢幕不在同一橫軸或同一縱軸上。 An input device for controlling a plurality of computers, each of the plurality of computers being respectively connected to a screen, the input device comprising: a storage unit, recording an identification code corresponding to each of the plurality of computers; and a sensing unit for sensing Measuring a change in displacement of the input device; a control unit calculating a horizontal displacement direction, a vertical displacement direction, a horizontal displacement amount of the horizontal displacement direction, and the vertical displacement according to the displacement change sensed by the sensing unit a vertical displacement amount of the direction to determine that the input device operates in a first computer of the plurality of computers, and generates an input command to control the first computer, wherein the input command includes the identification of the first computer And a transmission unit electrically connected to the control unit, and sending the input instruction to the multi-computer, wherein the first computer corresponding to the identification code included in the input instruction executes the input instruction; wherein The horizontal displacement direction and the vertical displacement direction respectively correspond to a horizontal index direction and a longitudinal index direction of the first screen of the first computer, The direction of the index includes a first lateral direction and a second lateral direction, the longitudinal index direction includes a first longitudinal direction and a second longitudinal direction, and the control unit accumulates the horizontal displacement of the input device continuously toward the first lateral movement to be one Horizontal accumulation and continuous The vertical displacement amount toward the first longitudinal movement is a vertical accumulation amount, and when the horizontal accumulation amount is greater than a horizontal threshold value and the vertical accumulation amount is greater than a vertical threshold value, determining that the input device switches to the multi-computer A second computer controls the second computer, and a second screen of the second computer is not on the same horizontal axis or the same vertical axis as the first screen. 如申請專利範圍第22項所述的輸入裝置,其中,於該水平累積量大於該水平門檻值但該垂直累積量不大於該垂直門檻值時,判斷該輸入裝置切換到所述多電腦中的一第三電腦,該第三電腦的一第三螢幕與該第一螢幕位在同一橫軸上。 The input device of claim 22, wherein when the horizontal accumulated amount is greater than the horizontal threshold but the vertical accumulated amount is not greater than the vertical threshold, determining that the input device switches to the multi-computer A third computer, a third screen of the third computer is on the same horizontal axis as the first screen. 如申請專利範圍第23項所述的輸入裝置,其中,於該水平累積量不大於該水平門檻值但該垂直累積量大於該垂直門檻值時,判斷該輸入裝置切換到所述多電腦中的一第四電腦,該第四電腦的一第四螢幕與該第一螢幕位在同一縱軸上。 The input device of claim 23, wherein when the horizontal accumulated amount is not greater than the horizontal threshold but the vertical accumulated amount is greater than the vertical threshold, determining that the input device switches to the multi-computer A fourth computer, a fourth screen of the fourth computer is on the same vertical axis as the first screen. 如申請專利範圍第24項所述的輸入裝置,其中,該第二螢幕與該第三螢幕位於同一縱軸,該第二螢幕與該第四螢幕位於同一橫軸。 The input device of claim 24, wherein the second screen and the third screen are on the same vertical axis, and the second screen and the fourth screen are on the same horizontal axis. 如申請專利範圍第22項所述的輸入裝置,其中,當該水平累積量不大於該水平門檻值,且該輸入裝置朝向該第二橫向移動時,該控制單元清除該水平累積量,當該垂直累積量不大於該垂直門檻值,且該輸入裝置朝向該第二縱向移動時,該控制單元清除該垂直累積量。 The input device of claim 22, wherein, when the horizontal cumulative amount is not greater than the horizontal threshold value, and the input device moves toward the second lateral direction, the control unit clears the horizontal cumulative amount when the The vertical accumulation amount is not greater than the vertical threshold value, and the control unit clears the vertical accumulation amount when the input device moves toward the second longitudinal direction. 如申請專利範圍第22項所述的輸入裝置,其中,該傳輸單元包括無線通訊模組,每一所述多電腦分別包括一無 線通訊接收單元,用以讀取該輸入指令所包括的該識別碼,其中,對應於該輸入指令中之該識別碼的該多電腦其中之一執行該無線通訊模組無線傳送的該輸入指令。 The input device of claim 22, wherein the transmission unit comprises a wireless communication module, and each of the plurality of computers includes a a line communication receiving unit, configured to read the identification code included in the input instruction, wherein one of the plurality of computers corresponding to the identification code in the input instruction performs the input instruction wirelessly transmitted by the wireless communication module . 如申請專利範圍第22項所述的輸入裝置,其中,該第一橫向與該第二橫向相反,該第一縱向與該第二縱向相反。 The input device of claim 22, wherein the first lateral direction is opposite the second lateral direction, the first longitudinal direction being opposite to the second longitudinal direction. 如申請專利範圍第22項所述的輸入裝置,其中,該輸入裝置包括滑鼠,該控制單元設置於該滑鼠內。 The input device of claim 22, wherein the input device comprises a mouse, and the control unit is disposed in the mouse.
TW101127688A 2012-08-01 2012-08-01 Input device for controlling multiple computers and the controlling method thereof TWI576700B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101127688A TWI576700B (en) 2012-08-01 2012-08-01 Input device for controlling multiple computers and the controlling method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101127688A TWI576700B (en) 2012-08-01 2012-08-01 Input device for controlling multiple computers and the controlling method thereof

Publications (2)

Publication Number Publication Date
TW201407350A true TW201407350A (en) 2014-02-16
TWI576700B TWI576700B (en) 2017-04-01

Family

ID=50550480

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101127688A TWI576700B (en) 2012-08-01 2012-08-01 Input device for controlling multiple computers and the controlling method thereof

Country Status (1)

Country Link
TW (1) TWI576700B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110069423A (en) * 2014-10-20 2019-07-30 罗技欧洲公司 Input method with more mian engine changeovers
TWI681319B (en) * 2018-03-22 2020-01-01 大陸商東莞寶德電子有限公司 Cursor control system and control method thereof
TWI814407B (en) * 2022-05-27 2023-09-01 宏正自動科技股份有限公司 Kvm switch and wireless communication method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7631123B2 (en) * 2007-06-05 2009-12-08 Aten International Co., Ltd. KVM switch for switching among computers by employing mouse movement signal and method thereof
TWI412933B (en) * 2009-12-31 2013-10-21 A kvm switch provided with a wireless interface module

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110069423A (en) * 2014-10-20 2019-07-30 罗技欧洲公司 Input method with more mian engine changeovers
TWI681319B (en) * 2018-03-22 2020-01-01 大陸商東莞寶德電子有限公司 Cursor control system and control method thereof
TWI814407B (en) * 2022-05-27 2023-09-01 宏正自動科技股份有限公司 Kvm switch and wireless communication method

Also Published As

Publication number Publication date
TWI576700B (en) 2017-04-01

Similar Documents

Publication Publication Date Title
US20220179500A1 (en) Motion detecting system having multiple sensors
US8902163B2 (en) Information processing apparatus, information processing method and computer program
US20070222746A1 (en) Gestural input for navigation and manipulation in virtual space
US20130106700A1 (en) Electronic apparatus and input method
US7532200B2 (en) Apparatus for setting multi-stage displacement resolution of a mouse
US7688313B2 (en) Touch-sense apparatus available for one-dimensional and two-dimensional modes and control method therefor
US20170003762A1 (en) Systems and methods for text entry
CN102193662B (en) Input device
KR102118610B1 (en) Device of recognizing proximity motion using sensors and method thereof
US8013287B2 (en) Optical pointing device, optical pointing system, and method of operating the same
US9003069B2 (en) Input device for controlling multiple computers and the controlling method thereof
JP2014109866A (en) Instrument operation device and program
TWI576700B (en) Input device for controlling multiple computers and the controlling method thereof
KR102161677B1 (en) Remote control device and controlling method thereof
JPWO2012111227A1 (en) Touch-type input device, electronic apparatus, and input method
CN105103090A (en) System and methods for providing orientation compensation in pointing devices
JP6630164B2 (en) Electronic device, control method therefor, program, and storage medium
TWI475421B (en) Method of touch command integration and touch system using the same
WO2015029222A1 (en) Information processing device, display control program, and display control method
US10338692B1 (en) Dual touchpad system
CN108427534B (en) Method and device for controlling screen to return to desktop
JP2012163611A (en) Processor, processing method, and program
CN210466360U (en) Page control device
KR101961786B1 (en) Method and apparatus for providing function of mouse using terminal including touch screen
JP2019185118A (en) Program, information processing device, pen device and system

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees