.201145094 六、發明說明: 【發明所屬之技術領域】 本發明係一種視窗作業系統的視窗控制方 ^ 兀扣一 種在觸控螢幕上以觸控方式控制視窗尺寸大小的方法。 【先前技掏0 隨著互動式多媒體資訊的與曰倶增,各種商業或娛樂 用的電子設備的應用越來越普遍,例如個人數位助理 φ (Personal Dig丨tal Assistant ’ PDA)和平板電腦等,由於這 些設備具有良好的使用者介面與優異的便攜性因而得到 廣泛的使用,而觸控螢幕也越來越普遍的應用在各種互動 式多媒體資訊設備上。觸控螢幕作為一種資訊互動設備, 其能夠廣泛的應用在各種資訊查詢的場合,因此是目前最 簡單 '方便和符合自然習慣的一種人機對話模式,具有易 於使用、堅固耐用、反應速度快和節省空間等眾多優點。 隨著電腦多媒體技術的快速發展,出現了大量應用觸 _ 控螢幕的數位設備。這些數位設備的使用過程中,使用者 如果需要在目前的視窗下開啟一個新的視窗程式,對於不 支援多視窗的系統則需要將既有的視窗一層一層的逐層退 出,直到退至最頂層的桌面或根功能表下,才能點選新的 視窗程式·,而對於支援多視窗的作業系統來說,則需要點 擊關閉按细以關閉目前的視窗,或點擊最小化按鈕將該視 窗最小化,如果已經開啟多個視窗,還需要將各個視窗全 部最小化或關閉’才能退回至桌面或根功能表下,然後再 選擇新的視窗程式,然而位於視窗角落處的最小化按鈕或 .201145094 關閉按鈕通常較小,點擊時容易出現誤操作,使用上不盡 方便,又目前有許多電腦設備係採用觸控螢幕人 面1如透過觸控筆或手指以筆劃或手勢執行視窗的移二 、縮放與控制等動作,諸如以視窗(Wind〇ws)作業系統自 帶的視窗控制按鈕(最小化' 最大化、關閉),以實 ®的控制。 、 如中國大陸公開第CN101 169700號「_種觸控螢幕 導航的方法和裝置」發明專利案公開了—種觸控螢幕導航 的方法’該方法包括:將觸控螢幕分成多個區$,建立各 區域與視窗程式的對應關係;t觸控螢幕檢測觸摸信號在 -定區域範圍内駐留超過一定時間,根據所述對應關係觸 發觸摸信號所在區域對應的視窗程式,所述區域範圍和時 間預先設定。該發明專利案同時公開了一種觸控螢幕導航 的裝置’包括-區域設置模組,用以將觸控螢幕分成多個 區域,並建立各區域與視窗程式的對應關係;觸摸信號檢 測模組,當觸控榮幕檢測觸摸信號在區域範圍内駐留 超過-定時㈣’通知執行模組;執行模組,根據所述區 域没置杈組中的對應關係和觸摸信號檢測模組的通知,觸 發觸摸信號所在區域對應的視窗程式;該種觸控螢幕導航 方法所產生的視窗雖直觀,但並無法完全替代所有功能, 例如視窗最小&、最大化與關閉等。另既有視窗作業系統 的控制列按鈕相對於螢幕的所在位置並不固定,但按鈕卻 為固定大小,並不會隨著螢幕或解析度調整其大小。 且目則各種觸控螢幕的尺寸愈做愈大,又以寬螢幕蔚 為潮流’加上解析度一再提高’觸控螢幕可顯示的内容也 201145094 ’vl來愈夕而採用上述觸控螢幕導航方法所產生的視窗控 制列部相對的更小了,帶給使用者在操作上的種種不便。 【發明内容】 因此本發明主要目的在提供一種在觸控螢幕上控制焦 視囪的方法,主要在於克服現有視窗作業系統下視窗控 制技術的不足之處,尤指一種在視窗作業系統下的觸控營 幕上取得焦點視窗的控制方法,主要是在觸控發幕的預設 鲁ϋ域上叹有—視窗控制列,該控制列上包括四個按鍵,分 別是最小化(Min)、最大化/還原(Max/Rest〇re)、關閉 (Close)與窗口調校(Snap);其中視窗調校(Sna㈨是用以 快速凋整將焦點視窗的大小並將其放置在指定的位置上(可 為至少2個區域)’以方便網頁瀏覽與資料的交叉閱讀。 為達成前述目的採取的主要技術手段係令前述視窗控 制列取得並判斷觸控螢幕當前解析度是否符合預設值; 若符合預設值’再依取得到的解析度來計算視窗控制 _ 列在所述觸控螢幕已預設區域的顯示位置與大小; 接著等待施加在該視窗控制列的按鍵上的觸摸控制信 號’根據觸摸控制信號所選擇視窗控制列的按鍵執行相應 功能; 利用前述方法可以解決既有視窗作業系統其標準控制 鍵在觸控螢幕上觸摸位置不明確、觸摸範圍太小及不易使 用觸摸來改變視窗尺寸等問題。且該方法可進一步提高一 般使用者敲擊觸控按鍵的成功率,令使用者在觸控螢幕上 更有效率的調整視窗大小,藉由視窗調校令閱讀、組織和 5 201145094 比較視窗成為一件輕鬆甚至有趣的事情,尤其對於不便操 作的滑鼠和鍵盤的殘障人士而言具有較佳的介面親和力/' 【實施方式】 為了進#說明本發明的目的、技術方案及優點,以 I結合附圖及實施例’對本發明進行進—步詳細說明。應 备理解的是:此處所描述的具體實施例僅僅用以解釋本發 明,並不用於限定本發明,合先陳明。 '首先凊參閱圖1所示,是在一觸控營幕1〇上顯示的 視窗作業系統(Windows)桌φ "該桌面"上至少可分 為2個區域’其底端並具有—工作列12;而本發明係利用 -常駐程式在前述桌面u…一區域產生一視窗控制 2 20,其他區域則供產生—個以上的標準視窗3〇,該視 窗控制列2G較佳的位置為桌面11左上角或右上角,惟不 '此為限’該標準視窗30的右上角位置則設有一最小化 按鍵31、一最大化按鍵32及一關閉按鍵33。 ^又視®控制列2〇上具有數個按鍵,本實施例中該等 按鍵包括:一最小化按鍵21、一最大化按鍵22、一關閉 鍵23及一視窗調校按鍵24;該等按鍵被用來控制標準 視窗30 #最小化、最大化、Μ閉及視窗調校。且該視窗 二制幻20及其上的按鍵21〜24會隨著桌面11的解析度調 整而改變其大小。 至於達成前述功能的具體方法,請參閱圓2所示,係 包括有下列步驟: 取得觸控螢幕當前的解析度(201); •201145094 判斷觸控螢幕當前解析度是否符合一預設值(202),例 如大於或小於等於64〇χ48〇 ;若觸控螢幕當前解析度小於 等於640x480,則返回步驟(2〇1); 若判斷觸控螢幕當前解析度符合預設值,則計算視窗 控制列20在觸控螢幕已預設區域上的顯示位置(2〇3); s十算刖述視窗控制列2〇上的按鍵大小(2〇4); 顯不刖一步驟(204)計算所得的視窗控制列2〇(2〇5); 判斷視!a控制列20的任一按鍵上是否出現觸摸控制 • 信號(206); 根據觸摸控制信號所選擇按鍵執行相應功能(2〇7),並 返回步驟(206)。 由於標準視窗30右上角的最小化按鍵31、最大化按 鍵32及關閉按鍵33尺寸較小,當螢幕解析度提高,其尺 寸相對愈小而不利於觸摸;因此當使用者想要最小化桌面 1 1上當前標準視窗30(或稱焦點視窗)時,可觸摸視窗控制 列20上的最小化按鍵21,控制標準視窗3〇執行最小化 • 功能,由於視窗控制列20及其上的按鍵21〜24大小會隨 著解析度改變而自動調整,因此可以提供使用者一顯著的 觸摸目標,進而執行對應的功能;如此一來,可有效解決 既有視®作業系統在觸控螢幕所顯示視窗的觸控位置不明 確、觸摸範圍太小及不易使用觸摸來改變視窗尺寸等問題 又前述方法明確了觸控按鍵的位置(預設為右方),且 當桌面解析度被調整時’該視窗控制列2〇及其上的按鍵 21將自動調整大小,以配合解析度提供最適切的觸摸範圍 .201145094 ,藉此大幅提高了敲擊觸控按鍵的成功率,並可更有效率 的調整視窗大小;另視窗控制列20上的視窗調校按鍵24 可快速調整焦點視窗的大小,並將焦點視窗放置在指定的 位置(桌面上所劃分的區域),以方便瀏覽網頁資料及交又 閱讀,而使閲讀'組織與比較視窗更為輕鬆有趣。 另利用則述的控制方法以操控焦點視窗,即無須使用 滑鼠,對於不方便使用滑鼠與鍵盤的殘障人士而^,將更 方便其操作。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a window control system for a window operating system, which is a method for controlling the size of a window by touch control on a touch screen. [Previous Technology 0 With the proliferation of interactive multimedia information, the use of various commercial or entertainment electronic devices is becoming more common, such as Personal Digital Assistant (PDA) and Tablet PCs. Because these devices have a good user interface and excellent portability, they are widely used, and touch screens are increasingly used in various interactive multimedia information devices. As a kind of information interaction device, the touch screen can be widely used in various information inquiry occasions. Therefore, it is the simplest 'convenient and natural habit of human-machine dialogue mode, which is easy to use, durable and fast. Save space and many other advantages. With the rapid development of computer multimedia technology, a large number of digital devices have been introduced to control the screen. During the use of these digital devices, if the user needs to open a new window program under the current window, for a system that does not support multiple windows, the existing window needs to be layer by layer until the top level is returned. In the desktop or root menu, you can click on the new window. For operating systems that support multiple windows, you need to click Close to close the current window, or click the minimize button to minimize the window. If you have multiple windows open, you also need to minimize or close each window to return to the desktop or root menu, and then select a new window program, but the minimize button at the corner of the window or .201145094 closes The buttons are usually small, and they are prone to misuse when clicked. It is not convenient to use. At present, there are many computer devices that use touch screens. For example, the movement of the window is performed by using a stylus or a finger with strokes or gestures. Control and other actions, such as the window control button that comes with the Windows (Wind〇ws) operating system (minimize 'maximum , Off), to control real ®. For example, the Chinese Patent Publication No. CN101 169700 "Method and Apparatus for Touch Screen Navigation" discloses a method for touch screen navigation. The method includes: dividing the touch screen into multiple areas $, establishing Corresponding relationship between each area and the window program; t touch screen detects that the touch signal stays in the range of the fixed area for more than a certain time, and triggers a window program corresponding to the area where the touch signal is located according to the corresponding relationship, and the area range and time are preset . The invention patent also discloses a touch screen navigation device 'including-area setting module for dividing the touch screen into multiple regions and establishing a correspondence between each region and a window program; the touch signal detecting module, When the touch screen detects that the touch signal resides in the area beyond the time-time (four) notification execution module; the execution module triggers the touch according to the corresponding relationship in the area and the notification of the touch signal detection module. The window program corresponding to the area where the signal is located; the window generated by the touch screen navigation method is intuitive, but it cannot completely replace all functions, such as window minimum & maximal and close. In addition, the control column button of the existing Windows operating system is not fixed relative to the position of the screen, but the button is fixed in size and does not adjust its size with the screen or resolution. And the size of the various touch screens is getting bigger and bigger, and the trend of wide screens is added. 'The resolution is increased again and again'. The content that can be displayed on the touch screen is also 201145094 'vl to use the above touch screen navigation. The window control column generated by the method is relatively smaller, which brings various inconveniences to the user in operation. SUMMARY OF THE INVENTION Accordingly, it is a primary object of the present invention to provide a method for controlling a focus view on a touch screen, which is mainly to overcome the deficiencies of the window control technology of the existing window operating system, especially a touch under the window operating system. The control method of obtaining the focus window on the control camp is mainly to sigh on the preset reckless field of the touch screen. The window control column includes four buttons, which are minimized (Min) and maximum. //Restore (Max/Rest〇re), Close (Close), and Window Alignment (Snap); where Window Tuning (Sna (9) is used to quickly fade the size of the focus window and place it at the specified position ( Can be at least 2 areas) 'to facilitate web browsing and cross-reading of data. The main technical means to achieve the above purpose is to obtain the above window control column and determine whether the current resolution of the touch screen meets the preset value; The preset value 'calculates the window control according to the obtained resolution _ listed in the display position and size of the preset area of the touch screen; and then waits to be applied to the window control The touch control signal on the button performs the corresponding function according to the button of the window control column selected by the touch control signal; the foregoing method can solve the problem that the standard control key of the existing window operating system has a clear touch position on the touch screen, and the touch range is too Small and difficult to use touch to change the size of the window, etc. And this method can further improve the success rate of the average user tapping the touch button, so that the user can adjust the window size more efficiently on the touch screen, School Order Reading, Organizing and 5 201145094 Comparing Windows has become an easy and even fun thing, especially for disabled people with inconvenient mouse and keyboard. [Embodiment] The present invention will be described in detail with reference to the drawings and the embodiments of the present invention. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to Limit the invention to the first and foremost. 'First, as shown in Figure 1, is on a touch screen. The window operating system (Windows) table φ " the desktop " can be divided into at least two areas 'the bottom end and has - the work column 12; and the present invention utilizes the - resident program in the aforementioned desktop u... an area A window control 2 20 is generated, and other areas are used to generate more than one standard window 3 . The preferred position of the window control column 2G is the upper left corner or the upper right corner of the desktop 11 , but the standard window 30 is not limited thereto. The upper right corner position is provided with a minimize button 31, a maximize button 32 and a close button 33. ^Review ® control column 2 has a plurality of buttons, in this embodiment, the buttons include: a minimize button 21. A maximize button 22, a close button 23 and a window adjustment button 24; the buttons are used to control the standard window 30 #minimize, maximize, close and window adjust. And the window 2 phantom 20 and the buttons 21 〜 24 thereon are changed in size as the resolution of the desktop 11 is adjusted. For the specific method of achieving the foregoing functions, please refer to the circle 2, which includes the following steps: obtaining the current resolution of the touch screen (201); • 201145094 determining whether the current resolution of the touch screen meets a preset value (202) ), for example, greater than or equal to 64〇χ48〇; if the current resolution of the touch screen is less than or equal to 640x480, return to step (2〇1); if it is determined that the current resolution of the touch screen meets the preset value, calculate the window control column 20 display position on the preset area of the touch screen (2〇3); s count the size of the button on the window control column 2 (2〇4); display the calculated step (204) Window control column 2〇 (2〇5); judgment! a Whether the touch control • signal (206) appears on any of the buttons of the control column 20; the corresponding function is executed according to the selected button of the touch control signal (2〇7), and the process returns to step (206). Since the minimize button 31, the maximize button 32, and the close button 33 in the upper right corner of the standard window 30 are small in size, when the resolution of the screen is increased, the size is relatively small and is not favorable for touch; therefore, when the user wants to minimize the desktop 1 When the current standard window 30 (or the focus window) is on, the minimize button 21 on the window control column 20 can be touched to control the standard window 3 to perform the minimization function, since the window control column 20 and the button 21 on it are The size of 24 is automatically adjusted as the resolution changes, so that the user can provide a significant touch target and perform the corresponding functions. This can effectively solve the window displayed by the existing view system on the touch screen. The touch position is not clear, the touch range is too small, and the touch is not easy to change the size of the window. The above method clarifies the position of the touch button (the preset is right), and when the desktop resolution is adjusted, the window control Column 2〇 and the button 21 on it will be automatically resized to match the resolution to provide the most appropriate touch range. 201145094, which greatly increases the tapping touch Control the success rate of the button, and adjust the window size more efficiently; the window adjustment button 24 on the window control column 20 can quickly adjust the size of the focus window and place the focus window at the specified position (divided on the desktop) The area is convenient for browsing web pages and reading and reading, making reading 'organizing and comparing windows easier and more interesting. In addition, the control method described above is used to control the focus window, that is, without using a mouse, it is more convenient for people with disabilities who are inconvenient to use the mouse and the keyboard.
再者,前述步驟(202)在觸控螢幕的解析度改變時,將 自動重新判斷觸控螢幕的解析度,又在該判斷觸控榮幕解 析度的步驟(2〇2)中,係可自行設定預設值,例如6術彻 又請參閱圖3所示,前述步驟(203)進-步包括: 取得觸控螢幕顯示内容的旋轉角度(〇 9〇、18〇盘 270 度)(203A); 〃 判斷使用者疋否自訂視窗控制列的位置(2〇3B); 右有J °丁’即載入使用者自訂視窗控制列的位置 (203C),若無自訂,仍設在觸控營幕上原預設位置(2咖) 再請參閱圖4所示,前述步驟(204)進-步包括. •載入使用者自訂的放大倍數為n值其中口為自 然數* Β·取得觸控營幕解析度之掃描歹❻X與掃描列數、 ’设置視窗控制列上按鍵的兩個尺寸參數八與B,苴中: A = (X * (21 / 1024)) X n 201145094 χ η Β = (Υ * (21 / 768)) 右無π值’則取η=2, 比較八與Β的大小’取八與Β令之大者為按鍵最長 邊尺寸大小(請配合參閱圖’所示之按鍵21〜24)。 •前述步驟(207)中根據觸摸控制信號所執行的功能包括Furthermore, in the foregoing step (202), when the resolution of the touch screen is changed, the resolution of the touch screen is automatically re-determined, and in the step (2〇2) of determining the touch resolution of the touch screen, The preset value is set by itself, for example, as shown in FIG. 3, the foregoing step (203) further includes: obtaining the rotation angle of the display content of the touch screen (〇9〇, 18〇 270 degrees) (203A) ; 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断 判断In the original preset position on the touch screen (2 coffee), please refer to FIG. 4, the foregoing step (204) further includes: • loading the user-customized magnification is n value, wherein the mouth is a natural number* Β·Get the scan of the touch screen resolution 歹❻X and the number of scan columns, 'Set the two size parameters of the button on the window control column VIII and B, 苴中: A = (X * (21 / 1024)) X n 201145094 χ η Β = (Υ * (21 / 768)) If there is no π value on the right, then take η=2, compare the size of the eight and Β 'take the eighth and the Β command to the longest button Edge size (please refer to the buttons 21~24 shown in the figure). • The functions performed in accordance with the touch control signal in the aforementioned step (207) include
根據觸摸控制信號執行視窗最小化; 根據觸摸控制信號執行視窗最大化/還原; 根據觸摸控制信號關閉視窗; 根據觸摸控制信號調整視窗大小。 另請參閱圖1所示’所述視窗控制列2〇的外觀… =條形 '且不限特定形狀;又按鍵21〜24的外觀,可^ 二㈣等’惟不限於特定形狀’其排列組合方式^ 限疋。 所述僅為本發明的較佳竇祐 1貫鉍例而已,並不用以 制本發明’凡在本發明的精神 稱砰和原則之内所作的任何修 、等同替換和改進等,均應 。 I 3在本發明的保護範圍之 【圖式簡單說明】 圖1係本發明在觸控螢幕 举上,肩不視囪控制列的示意圖 圖2係本發明之流程圖。 圖3 圖4 係本發明步驟(203)的一 係本發明步驟(204)的又 貧施細節流程圖。 一實施細節流程圖 201145094 【主要元件符號說明】 10觸控螢幕 12工作列 20視窗控制列 22最大化按鍵 24視窗調校按鍵 30標準視窗 3 2最大化按鍵 11桌面 21最小化按鍵 23關閉按鍵 31最小化按鍵 33關閉按鍵The window minimization is performed according to the touch control signal; the window maximization/reduction is performed according to the touch control signal; the window is closed according to the touch control signal; and the window size is adjusted according to the touch control signal. Please also refer to the appearance of the window control column 2〇 shown in Fig. 1 = strip shape and not limited to a specific shape; and the appearance of buttons 21 to 24 can be ^2 (four), etc. 'but not limited to a specific shape' Combination method ^ limited. The description is only for the purpose of the present invention, and is not intended to be used in the invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be used. I 3 is within the scope of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a schematic view of the present invention on a touch screen, with the shoulders being ignored. Figure 3 Figure 4 is a flow chart showing the steps (204) of the present invention in a step-by-step manner. An implementation detail flow chart 201145094 [Main component symbol description] 10 touch screen 12 work column 20 window control column 22 maximize button 24 window adjustment button 30 standard window 3 2 maximize button 11 desktop 21 minimize button 23 close button 31 Minimize button 33 to close button
m 10m 10