201220173 ^ i'.^-n.<J-0029-TWXX 36323twf.doc/n 六、發明說明: 【發明所屬之技術領域】 本發明是有關於一種切換視窗晝面的方法,且特別a 有關於-種擷取視窗晝面來作為代表圖示的視窗晝面的^ 換方法及其擷取方法。 【先刖技術】 _ 卩4著科技的進步,電腦硬體與軟體的效能不斷地 升,使用者常會於作業系統之下同時間開啟多個應用程式 來使用。由於使用者-次大都只能劉覽一個視窗晝面 容’當使用者需要劉覽其他視窗晝面時,就必須透過切換 視窗晝面的方式來進行觀看動作。—般而言,使用者多半 會利用作㈣統所提供的切換視窗的功能(例如:利用 Alt’鍵加“Tab”鍵)來切換視窗。 然而’當所開啟的視窗越來越多,在切換視窗晝面時 _ j會錢到想要的視窗畫面。舉例來說,由於-般視 _換功能只會顯示應用程式的圖示和標題,如果開啟的 ^固資料夾_好命名為“ Flle”的資料夾,則在切換視窗的 =面中便會顯示相同的圖示和名稱,如此—來使用者便很 難'刀辨到底哪個才是想要切換的視窗畫面。 【發明内容】 本發明提供一種擷取視窗晝面的方法,以避免所擷取 的顯示影像沒有晝面。 201220173 PNAI-AC-0029-TWXX 36323twf.doc/n 來作提供一種切換視窗晝面的方法,以視窗晝面 代表圖示’讓使用者_更直覺來選擇欲切換的視 作聿之一種顆取視窗畫面的方法。於 =ΜΙτ之下’由目前所開啟的應用程式的視窗 I”影像。判斷顯示影像的對角線的多個像素2 白為預设像素值。若對角線的像素皆為預設像’、201220173 ^ i'.^-n.<J-0029-TWXX 36323twf.doc/n VI. Description of the Invention: [Technical Field] The present invention relates to a method for switching a window surface, and particularly has a About the method of capturing the window, as a method for representing the window of the icon, and how to extract it. [Advanced Technology] _ 卩 4 With the advancement of technology, the performance of computer hardware and software continues to rise, users often open multiple applications at the same time under the operating system. Since users - most of them can only view a window, when the user needs to view other windows, they must watch the action by switching the window. In general, users will use the function of switching windows provided by (4) to switch windows (for example, using the Alt' button plus the “Tab” button). However, when more and more windows are opened, _j will pay for the desired window when switching windows. For example, since the "view" function will only display the icon and title of the application, if the open folder_good folder is named "Flle", it will be in the = face of the switch window. The same icon and name are displayed, so that it is difficult for the user to know which one is the window screen that you want to switch. SUMMARY OF THE INVENTION The present invention provides a method of capturing a window surface to prevent the captured image from being captured. 201220173 PNAI-AC-0029-TWXX 36323twf.doc/n provides a way to switch the window, using the window to represent the icon 'let the user _ more intuitive to choose the kind of view to be switched The method of the window screen. Under =ΜΙτ's the window I of the application that is currently open. Judging the multiple pixels of the diagonal of the displayed image 2 is the default pixel value. If the diagonal pixels are preset images' ,
式的代而以預設圖示作為應用程 t的)表圖不。若對角線的其中一個像素不為 J 值,則以顯示影像作為應用程式的代表圖示。 素 線的判斷顯示影像的對角 影像的水;的步驟之後,更可判斷顯示 若對角線線各自的像素衫皆為預設像素值。 用程式的代表圖。, 以預設圖示作為應 A # , 不反之,若對角線、水平線與垂直線各 的/、中一個像素不為預設像素值, 或 用程式的代表圖示。豕了值貝以‘,、、頁不衫像作為應 式的一實施例中’上述由目前所開啟的應用程 的特定取顯稀像的步射,可齡視窗晝面 的特疋&塊來作為顯示影像。 ii發明之—實施例巾’上述預設像素值為黑色。 執行種切換視窗晝面的方法。於作業系統 由目刖所開啟的多個應用程式各自的視窗畫面 201220173 πΝΑΐ-Λυ-0029-TWXX 36323twf.doc/n 中擷取顯示影像。藉由判斷顯 是否皆為預設像素值,個像素 示為其對應的顯示影像或預設圖;:當=自:代;圖 能被致能時,顯示一視窗清單。 :刀、視窗功 _的應用程式的代表圖示。並且逃=清單包括目前所 令,往-方向移動這些代表圖:且使 ==置,以切換至選取位置中的代表圖示所“ 在本發明之一實施例中,上述藉由 旦 自的代表目不為顯4彡像或驗料的步财,若 的像素皆為預韓纽’依制•式的屬性決定預設^ 不,而以預設圖示作為應用程式的代表圖示。反之,若對 ^線的其中-個像素不為預設像素值,則_示影像 應用程式的代表圖示。 在本發明之-實施例中,上述由目前所開啟的應用程 式的視窗晝面中擷取顯示影像的步驟中,可触視窗晝面 的特定區塊來作為顯示影像。 在本發明之一實施例中,上述視窗清單中的應用程式 的代表圖示排列為-排,而選取位置位於排的中央。 基於上述,本發明擷取視窗晝面的顯示晝面來作為代 表囷示並且更進一步判斷顯示晝面有無擷取到即時晝 面,以決定由顯示畫面或預設圖示來作為代表圖示。據此^ 提供使用者更直覺的切換視窗晝面的功能。 201220173 ί-ΜΑΐ-Λθ-0029-TWXX 36323twf.doc/n 為讓本發明之上述特徵和優點能更明顯易懂,下文特 舉實施例’並配合所附圖式作詳細說明如下。 【實施方式】 一般而言’使用者常會於作業系統之下同時間開啟多 個應用程式來使用’而當所開啟的視窗越來越多’在切換 視窗晝面時便會不容易找到想要的視窗晝面。據此,本發 明提出一種視窗晝面的擷取方法及切換方法,讓使用者能 夠快速找到欲切換的視窗晝面。為了使本發明之内容更為 明瞭’以下特舉實補作為本發财實能娜以實施的範 例。 方法流程圖。語含·昭HI 1------- . ,在步驟S105中,於作業系統執Instead of using the default icon as the application t). If one of the diagonal pixels is not a J value, the display image is used as a representative icon for the application. The judgment of the prime line shows the water of the diagonal image of the image; after the step, it can be judged that the respective pixel shirts of the diagonal lines are preset pixel values. A representative diagram of the program. , with the preset icon as the A # , not vice versa, if the diagonal of the diagonal, horizontal and vertical lines, the middle pixel is not the preset pixel value, or the representative representation of the program. In the embodiment of the above-mentioned application, the special feature of the age-appropriate window is selected in the embodiment of the present invention. The block is used as a display image. Ii invention - embodiment towel The above preset pixel value is black. Perform a method of switching the window. In the operating system, the respective window images of multiple applications opened by the target are captured in 201220173 πΝΑΐ-Λυ-0029-TWXX 36323twf.doc/n. By judging whether the display is a preset pixel value, the pixel is shown as its corresponding display image or preset image; when ==: generation; when the image can be enabled, a window list is displayed. : Representation of the application of the knife, window function _. And the escape = list includes the current direction, moving the representative maps in the - direction: and setting == to switch to the representative icon in the selected position. In an embodiment of the present invention, the above-mentioned The representative is not the 4th image or the inspection of the step money, if the pixels are pre-Han New Zealand's property-based properties determine the default ^ no, and the preset icon as a representative icon of the application. On the other hand, if one of the pixels of the ^ line is not a preset pixel value, then a representative icon of the image application is shown. In the embodiment of the present invention, the above-mentioned window of the currently opened application is displayed. In the step of capturing the displayed image, the specific block of the window can be touched as the display image. In an embodiment of the present invention, the representative icons of the application in the window list are arranged in a row, and are selected. The position is located at the center of the row. Based on the above, the present invention captures the display surface of the window as a representative display and further determines whether the display surface has been captured to the instant surface to determine the display screen or the preset icon. Come as a representative icon. This provides a more intuitive function of the user to switch the window. 201220173 ί-ΜΑΐ-Λθ-0029-TWXX 36323twf.doc/n In order to make the above features and advantages of the present invention more apparent, the following specific embodiments 'In detail, the following is a description of the drawings. [Embodiment] In general, 'users often open multiple applications at the same time under the operating system to use 'and more and more windows are opened' According to the above, the present invention provides a method for capturing and switching a window, so that the user can quickly find the window to be switched. The content of the present invention is further clarified as follows: 'The following special explanation is taken as an example of the implementation of the present financial implementation. The method flow chart. 语含·昭HI 1-------. In step S105, Operating system
判斷對角線的像素是否皆為; 、圖1是依照本發明一實施例所繪示的擷取視窗 畫面的 像素是否皆為預設 皆為黑色,藉由對 201220173 riN/u-/vC-0029-TWXX 36323twf.doc/n 角線來判斷顯示影像是否為全黑。一般而言,視窗晝面不 會為全黑,倘若所擷取的顯示影像為全黑表示此應用程式 可能具有防止擷取視窗晝面的功能。 另外’一般而言不會以全螢幕的方式來呈現所擷取的 顯示影像’因此擷取的顯示影像可以先經過壓縮之後,再 由壓縮後的顯示影像來判斷其對角線的像素是否皆為預設 像素值。據此,可加快判斷顯示影像是否沒有晝面的速度。 倘若對角線的像素皆為預設像素值,如步驟Si 15所 示,依據應用程式的屬性來決定預設圖示,而以此預設圖 不作為應用程式的代表圖示。一般而言,影像中對角線的 像素值不太可能皆相同,因此在本實施例中,假設倘若對 角線的像素㈣預設像素值(黑色),代表顯示影像並非 $擷取的即時晝面(可能為全黑)。而由於全 法讓人一眼即明瞭其所代表為何,為了讓使用者便於識 別,便依據應用程式的屬性(例如:多媒體 、= 收發*式…等等)來圖文書處理程式、郵件 作為應用程式的代表圖示。例如此預設圖示 屬性來建立圖庫,為各種不同的 1應用程式的 對應的預設圖示。 w私式的屬性建立其所 另一方面’倘若對角線复 如步驟S120所示,則以顯^影素不為預設像素值, 示。也就是說,只要對角線其中為應用程式的代表圖 即代表此顧程式允許顯像素不是預設像素值, 的她,因此,以此顯示 201220173 i^WAi-AC-0029-TWXX 36323twf.doc/n 衫像來作為代表圖示。 1外,在步驟S11G巾’除了判_示影像的對角線 的像素之外,更可以判斷顯示影像的水平 =素是否皆為預設像素值。料角線、水平線與 各自的像素料職像纽,如步驟sm卿,依據顯 的屬性決定預關示,而以預示作為應用程式 去代表圖不。料角線、水平線與垂直線各自的1中 應步驟S12°所示,示影像作為 =上述視窗畫面的方法可進—步應用於視窗晝面 刀換’以下再舉―例來說明。圖2是依照本發明施 步= 會示的切換視窗晝面的方法流程圖。請參照圖2 個=5二SI統執行之下,由目前所開啟的多 屬用私式各自的視窗晝面中擷取顯示影像。 接著’在步驟S210中,藉由制齡贴__ 2個像素是否皆為預設像素值,而決定::用二角: 像的===圖示。進一步地說,判斷顯示影 ===:::若㈣線的像素 :;,_ 用程;決 為應用像錢,則可_示影像作 Slw相似’在此不再贅述。MS2U)與上述步驟 之後,在步驟咖中,當偵測到切換視窗功能被致 201220173,Determining whether the pixels of the diagonal line are all; FIG. 1 is a diagram showing whether the pixels of the captured window picture are all preset black according to an embodiment of the present invention, by 201220173 riN/u-/vC- 0029-TWXX 36323twf.doc/n Corner to judge whether the displayed image is all black. In general, the window will not be completely black. If the captured image is black, the application may have the function of preventing the reading of the window. In addition, 'in general, the captured image is not displayed in a full screen manner. Therefore, the captured image can be compressed first, and then the compressed display image can be used to determine whether the diagonal pixels are all Is the preset pixel value. According to this, it is possible to speed up the judgment of whether or not the display image has no face. If the pixels of the diagonal line are preset pixel values, as shown in step S15, the preset icon is determined according to the properties of the application, and the preset image is not used as a representative icon of the application. In general, the pixel values of the diagonal lines in the image are unlikely to be the same. Therefore, in this embodiment, it is assumed that if the pixel (4) of the diagonal line is preset to the pixel value (black), the representative image is not immediately captured. Face (may be all black). Because the whole law makes people understand what it stands for, in order to make the user easy to identify, according to the properties of the application (for example: multimedia, = transceiver * type, etc.) to map the word processing program, mail as an application Representative icon. For example, this preset icon property is used to create a gallery, which is a corresponding preset icon for various different applications. The private attribute establishes the other side. If the diagonal is as shown in step S120, the display pixel is not the preset pixel value. That is to say, as long as the diagonal line is the representative image of the application, it means that the program allows the display pixel to be not the preset pixel value, so, so as to display 201220173 i^WAi-AC-0029-TWXX 36323twf.doc The /n shirt is shown as a representative icon. In addition, in step S11, the towel can determine whether the level of the displayed image is a preset pixel value, in addition to the pixel of the diagonal line of the image. The corner line, the horizontal line and the respective pixel material image, such as the step sm Qing, determine the pre-closing according to the explicit attribute, and use the indication as the application to represent the figure. The respective corners of the corner line, the horizontal line and the vertical line are shown in step S12°, and the method of displaying the image as the above-mentioned window screen can be further applied to the window. 2 is a flow chart of a method of switching a window after a step = in accordance with the present invention. Please refer to Figure 2 = 5 2 SI implementation, and the display image is captured by the currently open multi-private window. Then, in step S210, it is determined by the age-of-the-art __ 2 pixels whether they are preset pixel values: using the two corners: the image ===. Further, it is judged that the display shadow ===::: If the pixel of the (four) line is :;, _ is used; if the application is like money, the image may be similar to Slw', and will not be described again. After MS2U) and the above steps, in the step coffee, when the switch window function is detected, it is sent to 201220173,
-0029-TWXX 36323twf.doc/n 能時’顯示一視窗清單。此視窗清單包括目前所開啟的所 有應用程式的代表圖示。而視窗清單中的應用程式的代表 圖示可以排列為一排,而選取位置位於排的中央。舉例來 說,圖3是依照本發明一實施例所繪示的視窗清單的示意 圖。請參照圖3,此視窗清單包括五個視窗畫面的代表圖 示,即代表圖示301、303、305、307及309。 而後,在步驟S220中,依據所接收的移動指令,往 一方向移動這些代表圖示,使得其中代表圖示移動至選取 位置,以切換至位於選取位置中的代表圖示所對應的視窗 畫面。例如,代表圖示排列為一橫排,則可藉由左右翻動 來將欲選取的代表圖示移至中央的選取位置。 以圖3而言,由圖3(a)、圖3(b)、圖3(c)、圖3(d)移 動至圖3(e)為往右翻動,而由圖3(e)、圖3(d)、圖3(c)、 圖3(b)移動至圖3(a)則為往左翻動。圖3(a)中,代表圖示 309位於中央的選取位置。當往右翻動一格,如圖3作); 示,代表圖示307被移動至中央的選取位置。倘若此時往 • 左翻動一格,則如圖3(a)所示,代表圖示309則會被移動 回中央的選取位置。以此類推,便能夠將所欲選取的代 圖示移動至中央的選取位置。然,此僅為舉例說明,於^ 他實施例中,視窗清單亦可以排列為直排,而藉由上下翻 動來將欲選取的代表圖示移至中央的選取位置,並不 為限。 值得-提的是,本實施例可於電腦系統上來 上述實施例設計為-電腦程式,利用電腦可讀取儲存媒^ 來儲存此電腦程式’並且將其載入至 得可在電腦系統上執行上述實施例之榻取 視固里面的方法以及_視窗晝面的方法。換言之 程式產品’其係包含程式指令用以執行上述 面的方法以及切換視窗晝面的方法,此電腦程 式產σσ基本上是由多數練式碼諸所組成的(例如建立 組織圖程式碼片段、純表單程式碼片段、設定 段、以及部署程式碼片段),並且這些程式碼片段在^ 電子裝置巾並執行之後,即可完成上賴取視窗晝面的方 法以及切換視窗晝面的方法的步驟。 綜上所述,本發明擷取視窗晝面的顯示晝面來作為代 表圖不,並且更進一步判斷顯示晝面有無擷取到即時書 面,以在顯示晝面未擷取到即時晝面時由預設圖示來作= 代表圖示。據此,利用代表圖示讓使用者能夠更直覺地來 執行切換視窗畫面的功能,並且提供預設圖示給無法擷取 ,時晝面的應用程式作為代表圖示,以提高視窗晝面的辨 識度,增加使用的便利性。 雖然本發明已以實施例揭露如上,然其並非用以限定 本發明’任何所屬技術領域中具有通常知識者,在不脫二 本發明之精神和範圍内,當可作些許之更動與潤飾,故本 發明之保護範圍當視後附之申請專利範圍所界定者為準。 【圖式簡單說明】 圖1是依照本發明一實施例所繪示的擷取視窗晝面的 201220173 x i-rtA-rtvJ-0029-TWXX 36323twf.doc/n 方法流程圖。 圖2是依照本發明一實施例所繪示的切換視窗晝面的 方法流程圖。 圖3是依照本發明一實施例所繪示的視窗清單的示意 圖。 【主要元件符號說明】 301、303、305、307、309 :代表圖示 S105〜S120 :本發明之擷取視窗畫面的方法各步驟 S205〜S220 :本發明之切換視窗畫面的方法各步驟-0029-TWXX 36323twf.doc/n When possible, 'display a list of windows. This list of windows includes a representative icon for all applications currently open. The representative icons of the applications in the window list can be arranged in a row, and the selected position is in the center of the row. For example, Figure 3 is a schematic illustration of a list of windows, in accordance with an embodiment of the present invention. Referring to Figure 3, this window list includes representative representations of five window views, i.e., representations 301, 303, 305, 307, and 309. Then, in step S220, according to the received movement instruction, the representative icons are moved in a direction such that the representative icon is moved to the selected position to switch to the window screen corresponding to the representative icon located in the selected position. For example, if the representative icons are arranged in a horizontal row, the representative icon to be selected can be moved to the central selected position by flipping left and right. 3(a), 3(b), 3(c), 3(d), and FIG. 3(e) is turned to the right, and FIG. 3(e), 3(d), 3(c), and 3(b) move to the left to flip to the left in Fig. 3(a). In Fig. 3(a), the representative position of the icon 309 is located at the center. When flipping to the right, as shown in Fig. 3; shown, the representative icon 307 is moved to the central selected position. If you flip to the left at this time, as shown in Figure 3(a), the representative icon 309 will be moved back to the selected position in the center. By analogy, it is possible to move the generation icon to be selected to the central selected position. However, this is merely an example. In the embodiment, the window list may also be arranged in a straight row, and the representative icon to be selected is moved to the central selected position by scrolling up and down, and is not limited. It is worth mentioning that, in this embodiment, the above embodiment can be designed as a computer program, and the computer can read the storage medium to store the computer program and load it into the computer system. The method of the above embodiment takes a view of the method inside the solid and the method of the window. In other words, the program product includes a program instruction for executing the above method and a method for switching the window. The computer program produces σσ which is basically composed of a plurality of training codes (for example, creating an organization chart code segment, The pure form code segment, the setting segment, and the deployment code segment), and the code segments are executed after the electronic device is executed, and the method for accessing the window and the method for switching the window are completed. . In summary, the present invention captures the display surface of the window as a representative map, and further determines whether the displayed surface is captured in an instant written manner, so that when the display surface is not captured to the instant surface, The preset icon is used as the = icon. According to this, the representative icon is used to enable the user to perform the function of switching the window screen more intuitively, and the preset icon is provided for the uncapable, instant-time application as a representative icon to improve the window surface. Identification, increasing the convenience of use. Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention to those of ordinary skill in the art, and may be modified and modified in the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a flow chart of a 201220173 x i-rtA-rtvJ-0029-TWXX 36323 twf.doc/n method for capturing a window in accordance with an embodiment of the invention. 2 is a flow chart of a method for switching a window surface according to an embodiment of the invention. 3 is a schematic diagram of a window list in accordance with an embodiment of the invention. [Description of main component symbols] 301, 303, 305, 307, 309: representative diagrams S105 to S120: steps of the method for capturing a window screen of the present invention S205 to S220: steps of the method for switching a window screen of the present invention
1111