201039229 六、發明說明: 【發明所屬之技術領域】 本發明涉及一種電腦控制系統及方法。 【先前技術】 目前對電腦之顯示器之控制操作一般使用滑鼠輸入, 但在開會或者是多媒體教學時,一般使用投影儀進^遠距 ❹離投射螢幕,這時操作者就會束缚在電腦顯示器前進行操 作,無法實現遠距離遙控操作電腦,從而無法實現與觀眾 之互動,給使用者帶來了不便。 一 Λ 【發明内容】 制系=,有必要提供一種可遙控控制電腦之電腦控 〇中數攄Π腦控制系統,其用於電腦遙控控制。所述電腦 J-^ 4 仅和螢幕上,所述投影螢幕 統包括·· 外邛先標。所述電腦控制系 影像擷取模組,其用於擷 貝取電胳顯不幕、投影螢幕及 M ^ ^ ^ 虬4胸顯不幕及所述投影螢幕 螢幕D 1 £離,计异電腦顯示幕及投影 里參ί又办區域尺寸,將投影罄 標原點轉換為第一座標,將電月^像^號以其中心點為座 點為座標原點轉換為第二座影像訊號以其令心 ^獲取外部光標在第一座標 201039229 中之位置座標及外部光標顏色; • %標訊號處理模組,與所述影像操取模組連接,計算 •所述投影螢幕投影區域及所述電腦顯示幕尺寸之比例,= 根據所述比例結合所述外部光標在第—座標中之座標位置 言十算所述電腦内部光標在第二座標中之座標位置,並產生 内部光標驅動訊號,同時由所述外部光標顏色產生内部光 標點擊訊號; 光標驅動模組,與所述光標訊職理模組及電腦連 〇接,驅動所述内部光標移動到相應位置及進行相應之 操作。 -種電腦控制方法’電腦控制系統包括電腦及投影 機’所述電腦與所述投影機連接,將所述電腦顯示之數據 投影到一投影螢幕上,所述投影螢幕上投射有一外部光 標’所述電腦控制方法包括以下幾個步驟: ❹ 拍攝電腦顯示幕及投影螢幕,/算所述電腦顯示幕及 投影螢幕投影區域尺寸; 將投影螢幕影像訊號以其中心點為座標原點轉換為第 :座標,將電腦顯示幕影像訊號以其中心點為座標原 換為第二座標; 拍攝所述投影螢幕,獲取所述外部光標在第一座標中 之位置座標及外部光標顏色; 計算電腦顯示幕及投影螢幕投影區域尺寸比例; 、根據電腦顯示幕及投影螢幕投影區域尺寸比例結合所 述外部光標在第-座標中之座標位置計算内部光標在第二 5 201039229 座標位置,並驅動内部光標移動到相應位置; 作。據M光標顏色驅動㈣光標進行相應之點擊操 光之一種電腦控制系統由投影螢幕中外部 腦顯示幕中内部光標位置,控制電腦顯 二動’同時由外部光標之顏色驅動内部光 私進仃‘蝴呆作,從而實現了電腦之遠距離遙控操作。 〇 【實施方式】 下麵將結合附圖對本發明作一具體介紹。 ,明參閱11 1 ’本發明提供一種電腦控制系、统1〇,其包 括影像擷取模組100,光標訊號處理模組細及光標驅動模 組300。所述電腦控制系統1〇與一電腦2〇連接,所述電腦 20與-投影機30連接’所述投影機3〇將所述電腦2〇之數 據投射到-投影螢幕4〇上。利用—光標發射器5()向所述 〇投影螢幕40投射-外部光標,籍由所述電腦控制系統1〇 實現對所述電腦20之控制。 所述光標發射器50可切換投射多種顏色之外部光標。 在本實施方式中’所述光標發射器50設置有第一按鈕,第 一按鈕及第二按鈕,所述光標發射器5〇可分別發出綠、紅、 藍三種顏色之外部光標。 所述影像擷取模組1〇〇包括取景框1〇1,感光攝像頭 102 ’測距器103,影像處理單元104及座標編譯單元105。 所述取景框1〇1用於定位所述感光攝像頭1〇2之攝像 6 201039229 角度,使所述感光攝像頭102可分別對準所述電腦20之顯 示幕及所述投影螢幕40。 所述感光攝像頭102用於擷取所述電腦20之顯示幕, 所述投影螢幕40及所述外部光標。 所述測距器103發出紅外線感測光線,分別用於感測 所述電腦20之顯示幕與所述影像擷取模組100之間之距離 以及感測所述投影螢幕40與所述影像擷取模組100之間之 距離。 ® 所述影像處理單元104與所述感光攝像頭102及測距 器103連接,根據所述感光攝像頭102及測距器103之輸 入數據計算所述電腦20顯示幕尺寸以及所述投影螢幕40 之投影區域尺寸,以及獲取所述外部光標之顏色。 所述座標編譯單元105接收所述感光攝像頭102傳輸 之影像訊號,將投影螢幕40之影像訊號以其中心點為座標 原點轉換為第一座標,將電腦20顯示幕之影像訊號以其中 J^心點為座標原點轉換為第二座標,同時根據所述感光攝像 ❹ 頭102擷取之外部光標,獲取所述外部光標在所述第一座 標中之位置座標。 所述影像擷取模組100在初始狀態時,所述取景框101 定位於所述電腦20之顯示幕,所述感光攝像頭102拍攝所 述電腦20之顯示幕,所述測距器103測量所述電腦20之 顯示幕與所述影像擷取模組100之間之距離,所述影像處 理單元104計算所述電腦20顯示幕發光面積尺寸,所述座 標編譯單元105將電腦20顯示幕之影像訊號以其中心點為 7 201039229 座標原點轉換為第二座標。然後所述取景框101定位於所 述投影螢幕40,所述感光攝像頭102拍攝所述投影螢幕 40,所述測距器103測量所述投影螢幕40與所述影像擷取 模組100之間之距離,所述影像處理單元104計算所述投 影螢幕40投影區域尺寸,所述座標編譯單元105將投影螢 幕40之影像訊號以其中心點為座標原點轉換為第一座標。 在進入正常使用狀態下,所述感光攝像頭102擷取所述投 影螢幕40及所述外部光標,所述影像處理單元104獲取所 〇述外部光標之顏色,所述座標編譯單元105獲取所述外部 光標之座標位置。 所述光標訊號處理模組200與所述影像擷取模組100 連接,其包括數位訊號處理單元201,光標移動處理單元 202及光標點擊處理單元203。 所述數位訊號處理單元201與所述影像處理單元104 以及所述座標編譯單元105連接,由所述影像處理單元104 ^之輸入訊號,計算所述投影螢幕40投影區域尺寸與所述電 ❹ 腦20顯示幕尺寸之間之比例,並根據所述比例結合所述外 部光標在第一座標中之座標位置計算所述電腦20之内部光 標在第二座標中之座標位置。例如,當所述投影螢幕40投 影區域尺寸與所述電腦20顯示幕尺寸之間之比例為A時, 所述外部光標之座標位置為(ζ,Ό,則所述内部光標在所述第 二座標中之位置座標為 x'=4ax 5 y'=4ay 所述數位訊號處理單元201將内部光標在所述第二座 8 201039229 射之位置座標傳輸於所述光標移動處 * %所述數位訊號處理單元201膝僅& 202 t,同 •數據_於料絲㈣處理單元又加之所杉卜部光標顏色 ”==理單元2°2由内部光標在所述第二座 “中之位置座標產生内部光標移動訊號。 厂 所述光‘點擊處理單元2〇3由外部光 ^光:點擊訊號。在本實施方式中,當獲取之外 ❽墼替Μ A 士 為色時,則發出無點 擊《,為藍色k,則發出右鍵點擊訊號。 所述光標驅動模組刻根據内部光標在所述第二座標 之位置座標驅動内部光標移動到相應位置,以及根據内 部光標顏色進行相應之點擊操作。所述光標驅動模組· 與7述光標訊號處理模組2〇〇及所述電腦2〇連接,由所述 光標移動處理單元202輸出之訊號移動内部光標到相對應 之位置,由所述光標點擊處理單元2〇3輸出之訊號驅動所 ©述内部光標進行相應之點擊操作。在本實施方式中,所述 光標驅動模組300籍由USB介面與所述電腦2〇連接。 在使用時,初始狀態下,所述影像擷取模組1〇〇獲取 所述電腦20之顯示幕及投影螢幕40之投影區域尺寸,所 述光標訊號處理模組300計算所述電腦20之顯示幕及投影 螢幕30發光面積尺寸之間之比例,所述座標編譯單元1〇5 將投影螢幕40之影像訊號以其中心點為座標原點轉換為第 一座標’將電腦20顯示幕之影像訊號以其中心點為座標原 點轉換為第二座標。在進入工作狀態時,使用者利用光標 9 201039229 發射器50向所述投影螢幕4〇發射外部光標,所述影像擷 -取模組100獲取外部光標之顏色,所述座標編譯單元丄仍 •獲取外部光標在第-座標令之位置座標,所述光標訊號處 理模組300由所述電腦2〇之顯示幕及投影螢幕%發光面 積尺寸比例結合外部光標在第一座標中之位置座標計算内 部光標在第二座標中位置座標,所述光標訊號處理模組3⑼ 由内部光標在第二座標中位置座標產生内部光標驅動訊 號,由外部光標顏色產生光標點擊訊號,所述光標驅動模 組300由所述光標訊號處理模組3〇〇訊號產生内部光標並 驅動内部光標進行相應之操作。 請參閱圖4,其為一種電腦控制方法流程圖,電腦控制 系統包括電腦及投影機,所述電腦中數據籍由一投影機投 射到一投影螢幕上,所述投影螢幕上籍由一光標發射器投 射有一外部光標,所述電腦控制方法包括以下幾個步驟: S101 ’利用一攝像單元擷取電腦顯示幕、投影螢幕及 ❹外部光標’測量電腦顯示幕及投影螢幕與攝像單元之距 離’計算所述電腦顯示幕及投影螢幕投影區域尺寸; S102,將投影螢幕影像訊號以其中心點為座標原點轉 換為第一座標,將電腦顯示幕影像訊號以其中心點為座標 原點轉換為第二座標; S103 ’擷取所述投影螢幕,獲取所述外部光標在第一 座標中之位置座標及外部光標顏色; S104,計算電腦顯示幕及投影螢幕投影區域尺寸比例; S105 ’根據電腦顯示幕及投影螢幕投影區域尺寸比例 201039229 結合所述外部光標在第一座標尹之座標位置計 -光標在第二座標令之座椤# w 、, ^ 电炮巧邛 應位置; 之屋钛位置,亚驅動内部光標移動到相 擊操’根據外部光標顏色驅動内部光標進行相應之點 在方法S106令,本實施方式令當獲取之外 綠色時,則發出;t絲卧船 尤知為 建』擊訊號’為紅色時,則發出無點擊 ❹號為藍色時’則發出右鍵點擊訊號。 本發明所提供之一種電腦控制系統由投影榮幕中 干:::::算電腦顯示幕中内部光標位置’控制電腦顯 不幕中内部光標移動,同時 桿進行%暫m Μ外β W之顏色驅動内部光 擊杯作,從而實現了電腦之遠距離遙控操作。 化,^外’本領域技術人員還可在本發明精神内做其他變 ,虽然,這些依據本發明精神所做之變化,都應包 本發明所要求保護之範圍之内。 ❹ 11 201039229 【圖式簡單說明】 圖1係本發明實施方式提供之電腦控制系統模塊圖。 圖2係本發明實施方式提供之電腦控制方法流程圖。 【主要元件符號說明】 電腦控制糸統 10 電腦 20 投影機 30 投影螢幕 40 光標發射器 50 影像擷取模組 100 光標訊號處理模組 200 光標驅動模組 300 取景框 101 感光攝像頭 102 測距器 103 影像處理單元 104 座標編譯單元 105 數位訊號處理單元 201 光標移動處理單元 202 光標點擊處理單元 203201039229 VI. Description of the Invention: [Technical Field of the Invention] The present invention relates to a computer control system and method. [Prior Art] At present, the control operation of the display of the computer generally uses the mouse input, but in the meeting or multimedia teaching, the projector is generally used to move away from the projection screen, and the operator is bound to the front of the computer display. By operating, it is impossible to remotely operate the computer remotely, and thus the interaction with the viewer cannot be realized, which brings inconvenience to the user.一发明 [Summary] System =, it is necessary to provide a computer-controlled cymbal control system that can remotely control the computer, which is used for computer remote control. The computer J-^4 is only on the screen, and the projection screen system includes a front-end label. The computer control system image capturing module is used for displaying the mussels, the projection screen, the M ^ ^ ^ 虬 4 chest, and the projection screen D 1 , and the computer display In the screen and projection, the area size is changed, and the origin of the projection target is converted into the first coordinate, and the electric point of the electric moon is converted into the second image signal with the center point as the coordinate point. Let the heart ^ obtain the position coordinates and the external cursor color of the external cursor in the first coordinate 201039229; • the % standard signal processing module, connected with the image manipulation module, calculate the projection screen projection area and the computer The ratio of the size of the display screen, according to the scale combined with the coordinate position of the external cursor in the first coordinate, the coordinate position of the internal cursor of the computer in the second coordinate is generated, and an internal cursor driving signal is generated, and simultaneously The external cursor color generates an internal cursor click signal; the cursor driving module is connected to the cursor signal processing module and the computer, and drives the internal cursor to move to a corresponding position and perform corresponding operations. - a computer control method 'computer control system including a computer and a projector' is connected to the projector, and the data displayed by the computer is projected onto a projection screen, and an external cursor is projected on the projection screen The computer control method includes the following steps: 拍摄 Shooting a computer display screen and a projection screen, calculating the size of the computer display screen and the projection screen projection area; converting the projection screen image signal to its origin with the center point as the coordinate origin: Coordinates, the computer display screen image signal is changed to the second coordinate with the center point as the coordinate; the projection screen is taken to obtain the position coordinates and the external cursor color of the external cursor in the first coordinate; Projection screen projection area size ratio; according to the ratio of the computer display screen and the projection screen projection area size combined with the external cursor in the coordinate position of the first coordinate to calculate the internal cursor in the second 5 201039229 coordinate position, and drive the internal cursor to move to the corresponding Position; According to the M cursor color drive (four) cursor to perform corresponding click operation, a computer control system is displayed by the internal cursor position in the external brain display screen of the projection screen, and the computer is controlled to move 'at the same time, the internal light is driven by the color of the external cursor 仃' The butterfly stays alive, thus realizing the long-distance remote operation of the computer. [Embodiment] The present invention will be specifically described below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS The present invention provides a computer control system, which includes an image capture module 100, a cursor signal processing module, and a cursor drive module 300. The computer control system 1 is connected to a computer 2, and the computer 20 is connected to the projector 30. The projector 3 projects the data of the computer 2 onto the projection screen 4. The external cursor is projected to the 〇 projection screen 40 by the cursor emitter 5(), and the computer 20 is controlled by the computer control system 1 。. The cursor emitter 50 can switch between external cursors that project multiple colors. In the present embodiment, the cursor emitter 50 is provided with a first button, a first button and a second button, and the cursor emitter 5 发出 can respectively emit external cursors of three colors of green, red and blue. The image capturing module 1 includes a finder frame 101, a photographic camera 102' range finder 103, an image processing unit 104, and a coordinate compiling unit 105. The finder frame 1 用于 1 is used for locating the camera 6 201039229 angle of the photographic camera 1 〇 2 so that the photographic camera 102 can be respectively aligned with the display screen of the computer 20 and the projection screen 40 . The photosensitive camera 102 is configured to capture a display screen of the computer 20, the projection screen 40 and the external cursor. The range finder 103 emits infrared illuminating light for sensing the distance between the display screen of the computer 20 and the image capturing module 100 and sensing the projection screen 40 and the image 撷Take the distance between the modules 100. The image processing unit 104 is connected to the photosensitive camera 102 and the range finder 103, and calculates the display screen size of the computer 20 and the projection of the projection screen 40 according to the input data of the photosensitive camera 102 and the range finder 103. The size of the area, as well as the color of the external cursor. The coordinate encoding unit 105 receives the image signal transmitted by the photosensitive camera 102, converts the image signal of the projection screen 40 into a first coordinate with the center point as a coordinate origin, and displays the image signal of the screen of the computer 20 as J^ The heart point is converted into a second coordinate from the coordinate origin, and the position coordinates of the external cursor in the first coordinate are acquired according to the external cursor captured by the photosensitive camera 102. When the image capturing module 100 is in an initial state, the finder frame 101 is located on the display screen of the computer 20, the photographic camera 102 captures the display screen of the computer 20, and the finder 103 measures the location The distance between the display screen of the computer 20 and the image capturing module 100 is calculated. The image processing unit 104 calculates the size of the screen lighting area of the computer 20, and the coordinate compiling unit 105 displays the image of the screen of the computer 20. The signal is converted to the second coordinate with its center point 7 201039229 coordinate origin. The finder frame 101 is positioned on the projection screen 40, the photographic camera 102 captures the projection screen 40, and the finder 103 measures the relationship between the projection screen 40 and the image capturing module 100. The image processing unit 104 calculates the projection area size of the projection screen 40, and the coordinate compiling unit 105 converts the image signal of the projection screen 40 into a first coordinate with the center point as a coordinate origin. When entering the normal use state, the photosensitive camera 102 captures the projection screen 40 and the external cursor, the image processing unit 104 acquires the color of the external cursor, and the coordinate compiling unit 105 acquires the external The coordinate position of the cursor. The cursor signal processing module 200 is connected to the image capturing module 100, and includes a digital signal processing unit 201, a cursor movement processing unit 202, and a cursor click processing unit 203. The digital signal processing unit 201 is connected to the image processing unit 104 and the coordinate compiling unit 105, and the input signal of the image processing unit 104 is used to calculate the projection area size of the projection screen 40 and the electric brain. 20: displaying a ratio between screen sizes, and calculating a coordinate position of the internal cursor of the computer 20 in the second coordinate according to the scale in combination with the coordinate position of the external cursor in the first coordinate. For example, when the ratio between the projection area size of the projection screen 40 and the display screen size of the computer 20 is A, the coordinate position of the external cursor is (ζ, Ό, then the internal cursor is in the second The position coordinate in the coordinate is x'=4ax 5 y'=4ay. The digital signal processing unit 201 transmits the coordinates of the internal cursor at the position of the second seat 8 201039229 to the cursor movement *% of the digital signal The processing unit 201 knees only & 202 t, the same data _ in the filament (four) processing unit plus the cedar cursor color "== rational unit 2 ° 2 generated by the internal cursor in the position coordinates of the second seat The internal cursor moves the signal. The light of the factory is clicked on the processing unit 2〇3 by the external light: click the signal. In the present embodiment, when the acquisition is replaced by the color of the A, the no-click is issued. When it is blue k, the right click signal is issued. The cursor driving module drives the internal cursor to move to the corresponding position according to the coordinates of the internal cursor at the position of the second coordinate, and performs corresponding click operation according to the internal cursor color. The cursor driving module is connected to the cursor signal processing module 2 and the computer 2, and the signal output by the cursor movement processing unit 202 moves the internal cursor to the corresponding position, and is clicked by the cursor. The signal output by the processing unit 2〇3 drives the internal cursor to perform a corresponding click operation. In the embodiment, the cursor driving module 300 is connected to the computer 2 by a USB interface. The image capture module 1 captures the size of the projection area of the display screen of the computer 20 and the projection screen 40. The cursor signal processing module 300 calculates the display screen and the projection screen 30 of the computer 20. The ratio between the size of the light-emitting area, the coordinate compiling unit 1〇5 converts the image signal of the projection screen 40 to the first coordinate with the center point as the coordinate origin, and displays the image signal of the computer 20 as the center point. The coordinates origin is converted to the second coordinate. When entering the working state, the user uses the cursor 9 201039229 transmitter 50 to emit an external cursor to the projection screen 4〇, the image 撷-module 100: Acquiring the color of the external cursor, the coordinate compiling unit • still obtaining the position coordinates of the external cursor at the first coordinate command, the cursor signal processing module 300 is displayed by the computer 2 and the projection screen% of the light emitting area The size ratio is combined with the position coordinates of the external cursor in the first coordinate to calculate the coordinate position of the internal cursor in the second coordinate. The cursor signal processing module 3 (9) generates an internal cursor driving signal by the internal cursor in the second coordinate position coordinate, externally The cursor color generates a cursor click signal, and the cursor driving module 300 generates an internal cursor by the cursor signal processing module 3 signal and drives the internal cursor to perform corresponding operations. Referring to FIG. 4, it is a computer control method flow. The computer control system includes a computer and a projector. The data in the computer is projected by a projector onto a projection screen. The projection screen is projected by an cursor to project an external cursor. The computer control method includes The following steps: S101 'Using a camera unit to capture the computer display screen, projection screen and The external cursor 'measures the distance between the computer display screen and the projection screen and the camera unit' to calculate the size of the computer display screen and the projection screen projection area; S102, converts the projection screen image signal to the first coordinate with the center point as the coordinate origin. Converting the computer screen image signal to the second coordinate with the center point as the coordinate origin; S103 'Capture the projection screen to obtain the position coordinates and the external cursor color of the external cursor in the first coordinate; S104, calculation Computer display screen and projection screen projection area size ratio; S105 'According to computer display screen and projection screen projection area size ratio 201039229 combined with the external cursor in the first coordinate Yin coordinates coordinate position - cursor in the second coordinate order seat 椤# w , , ^ electric gun skillful position; the house titanium position, the sub-drive internal cursor moves to the phase-striking operation 'according to the external cursor color to drive the internal cursor to make the corresponding point in the method S106, this embodiment makes the acquisition When it is green, it is issued; if the t-boat is known to be built, the slogan 'is red, then the no-click nickname is In the case of blue, a right click signal is issued. The computer control system provided by the invention is made up of the projection glory:::::calculates the internal cursor position in the computer display screen to control the internal cursor movement in the computer display, and the rod performs the % temporary m Μ outside β W The color drives the internal light hitting cup, which realizes the long-distance remote operation of the computer. Other variations in the spirit of the invention may be made by those skilled in the art, and variations that are made in accordance with the spirit of the invention are intended to be included within the scope of the invention. ❹ 11 201039229 [Simplified description of the drawings] Fig. 1 is a block diagram of a computer control system provided by an embodiment of the present invention. 2 is a flow chart of a computer control method provided by an embodiment of the present invention. [Main component symbol description] Computer control system 10 Computer 20 Projector 30 Projection screen 40 Cursor transmitter 50 Image capture module 100 Cursor signal processing module 200 Cursor drive module 300 Viewfinder frame 101 Photosensitive camera 102 Rangefinder 103 Image processing unit 104 coordinate compiling unit 105 digital signal processing unit 201 cursor movement processing unit 202 cursor click processing unit 203
1212