TWI775261B - Computer system supporting automatic windows arrangement and windows arrangement method thereof - Google Patents
Computer system supporting automatic windows arrangement and windows arrangement method thereof Download PDFInfo
- Publication number
- TWI775261B TWI775261B TW109146842A TW109146842A TWI775261B TW I775261 B TWI775261 B TW I775261B TW 109146842 A TW109146842 A TW 109146842A TW 109146842 A TW109146842 A TW 109146842A TW I775261 B TWI775261 B TW I775261B
- Authority
- TW
- Taiwan
- Prior art keywords
- window
- type
- windows
- width
- computer system
- Prior art date
Links
- 238000000034 method Methods 0.000 title description 12
- 238000010586 diagram Methods 0.000 description 12
- VYZAMTAEIAYCRO-UHFFFAOYSA-N Chromium Chemical compound [Cr] VYZAMTAEIAYCRO-UHFFFAOYSA-N 0.000 description 9
- 239000004973 liquid crystal related substance Substances 0.000 description 3
- 229920001621 AMOLED Polymers 0.000 description 2
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Image Generation (AREA)
Abstract
Description
本發明是有關於一種電腦系統的管理技術,且特別是有關於一種可自動調整視窗排版的電腦系統與其視窗排版方法。 The present invention relates to a management technology of a computer system, and more particularly, to a computer system that can automatically adjust the layout of windows and a method for layout of windows.
目前市面上較為常見的視窗化的作業系統,除了微軟(Microsoft)的Windows作業系統與蘋果(Apple)的iOS外,主要以谷歌(Google)的Chrome OS為主。在Chrome OS架構下,除了可運行Chrome OS所預設使用的Chrome應用程式外,還額外支援運行安卓(Android)作業系統下的部分Android應用程式。 At present, the more common windowed operating systems on the market, in addition to Microsoft's Windows operating system and Apple's iOS, are mainly based on Google's Chrome OS. Under the Chrome OS architecture, in addition to running the Chrome applications that Chrome OS uses by default, it also supports running some Android applications under the Android operating system.
但是,當同時開啟多個Chrome OS所預設使用的Chrome應用程式及/或屬於Android作業系統的Android應用程式時,多個視窗可能會彼此重疊。特別是,由於Android應用程式的視窗寬度一般都是固定的,因此電腦系統也無法簡單地對顯示介面中 的多個視窗的配置位置及/或尺寸進行統一調整。 However, when multiple Chrome applications that are defaulted to Chrome OS and/or Android applications belonging to the Android operating system are opened at the same time, multiple windows may overlap each other. In particular, since the window width of Android applications is generally fixed, the computer system cannot simply The configuration position and/or size of multiple windows can be adjusted uniformly.
本發明提供一種可自動調整視窗排版的電腦系統與其視窗排版方法,可改善上述問題。 The present invention provides a computer system capable of automatically adjusting window layout and a window layout method thereof, which can improve the above problems.
本發明的實施例提供一種電腦系統的視窗排版方法,其包括:在所述電腦系統的顯示介面中顯示多個視窗,其中所述多個視窗包括第一類視窗與第二類視窗,所述第一類視窗具有第一視窗寬度,且所述第二類視窗具有第二視窗寬度;以及在固定所述第二類視窗的所述第二視窗寬度之前提下,根據所述多個視窗的總數調整所述第一類視窗的所述第一視窗寬度。 An embodiment of the present invention provides a window typesetting method for a computer system, which includes: displaying a plurality of windows in a display interface of the computer system, wherein the plurality of windows includes a first type of window and a second type of window, the The first type of window has a first window width, and the second type of window has a second window width; and on the premise of fixing the second window width of the second type of window, according to the plurality of windows The total adjusts the first window width of the first type of window.
本發明的實施例另提供一種電腦系統,其包括顯示器與處理器。所述顯示器用以藉由顯示介面顯示多個視窗。所述多個視窗包括第一類視窗與第二類視窗。所述第一類視窗具有第一視窗寬度。所述第二類視窗具有第二視窗寬度。所述處理器耦接至所述顯示器。所述處理器用以在固定所述第二類視窗的所述第二視窗寬度之前提下,根據所述多個視窗的總數調整所述第一類視窗的所述第一視窗寬度。 Embodiments of the present invention further provide a computer system including a display and a processor. The display is used for displaying a plurality of windows through a display interface. The plurality of windows include a first type of window and a second type of window. The first type of window has a first window width. The second type of window has a second window width. The processor is coupled to the display. The processor is configured to adjust the first window width of the first type of window according to the total number of the plurality of windows on the premise of fixing the second window width of the second type of window.
基於上述,本發明提供的可自動調整視窗排版的電腦系統與其視窗排版方法,可在固定某一類型的視窗(即第二類視窗)的視窗寬度(即不針對第二類視窗的第二視窗寬度進行調整)的前提下,(僅)針對特定類型的視窗(即第一類視窗)的視窗寬度進行調 整。藉此,可改善某些類型的電腦系統中無法針對多個視窗的配置位置及/或尺寸進行統一調整的問題,從而提升使用者體驗。 Based on the above, the present invention provides a computer system capable of automatically adjusting window layout and a window layout method thereof, which can fix the window width of a certain type of window (ie, the second type of window) (ie, the second window that does not target the second type of window). On the premise of adjusting the width of the window), adjust the window width (only) for a specific type of window (ie, the first type of window). all. In this way, the problem that the configuration positions and/or sizes of multiple windows cannot be uniformly adjusted in certain types of computer systems can be improved, thereby improving user experience.
10:電腦系統 10: Computer System
11:顯示器 11: Display
12:處理器 12: Processor
21,31,41,51:顯示介面 21, 31, 41, 51: Display interface
210,220,310,320,321,410,411,420,510,521~525,61,62:視窗 210,220,310,320,321,410,411,420,510,521~525,61,62: Windows
501:預設桌面 501: Default Desktop
502:虛擬桌面 502: Virtual Desktop
503:提示圖像 503: Hint Image
601,602:關鍵元件 601, 602: Key Components
S701,S702:步驟 S701, S702: Steps
圖1是根據本發明的一實施例所繪示的電腦系統的功能方塊圖。 FIG. 1 is a functional block diagram of a computer system according to an embodiment of the present invention.
圖2是根據本發明的一實施例所繪示的在顯示介面中呈現多個視窗的示意圖。 FIG. 2 is a schematic diagram of presenting a plurality of windows in a display interface according to an embodiment of the present invention.
圖3是根據本發明的一實施例所繪示的在顯示介面中呈現多個視窗的示意圖。 FIG. 3 is a schematic diagram showing a plurality of windows in a display interface according to an embodiment of the present invention.
圖4是根據本發明的一實施例所繪示的在顯示介面中呈現多個視窗的示意圖。 FIG. 4 is a schematic diagram showing a plurality of windows in a display interface according to an embodiment of the present invention.
圖5是根據本發明的一實施例所繪示的預設桌面與虛擬桌面的示意圖。 FIG. 5 is a schematic diagram of a default desktop and a virtual desktop according to an embodiment of the present invention.
圖6是根據本發明的一實施例所繪示的顯示包含關鍵元件的部分視窗畫面的示意圖。 FIG. 6 is a schematic diagram showing a part of a window frame including key elements according to an embodiment of the present invention.
圖7是根據本發明的一實施例所繪示的電腦系統的視窗排版方法的流程圖。 FIG. 7 is a flowchart of a window layout method of a computer system according to an embodiment of the present invention.
圖1是根據本發明的一實施例所繪示的電腦系統的功能
方塊圖。請參照圖1,電腦系統10可為筆記型電腦、桌上型電腦、智慧型手機、平板電腦、工業電腦或伺服器等各式電腦裝置。
FIG. 1 illustrates functions of a computer system according to an embodiment of the present invention
block diagram. Referring to FIG. 1 , the
電腦系統10可包括顯示器11與處理器12。顯示器11用以顯示影像。例如,顯示器11可包括液晶顯示器(liquid crystal display,LCD)、薄膜電晶體液晶(Thin Film Transistor LCD,TFT LCD)顯示器、場序式液晶顯示器(Field Sequential LCD,FS LCD)、發光二極體(light emitting diode,LED)顯示器、主動矩陣有機發光二極體(Active-matrix organic light-emitting diode,AMOLED)顯示器或電濕潤(electrowetting)顯示器等各類型的顯示器。
The
處理器12耦接至顯示器11。處理器12可用以控制電腦系統10的整體或部分運作。例如,處理器12可包括任何可程式化之一般用途或特殊用途的微處理器、數位訊號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuits,ASIC)、可程式化邏輯裝置(Programmable Logic Device,PLD)或其他類似裝置或這些裝置的組合。
The
須注意的是,在一實施例中,電腦系統10還可以包括儲存裝置、電源供應裝置及各式輸出/輸出裝置。例如,所述儲存裝置可包括揮發性記憶體模組與非揮發性記憶體模組。揮發性記憶體模組可用以揮發性地儲存資料。非揮發性記憶體模組可用以非揮發性地儲存資料。例如,揮發性記憶體模組可包括動態隨機存取記憶體(Dynamic Random Access Memory,DRAM),且非揮發性
記憶體模組可包括傳統硬碟(Hard Disk Drive,HDD)及/或固態硬碟(Solid state drive,SSD)。所述電源供應裝置可包括電池及/或電源管理電路。所述輸出/輸出裝置可包括網路連接介面、觸控板、滑鼠、鍵盤、揚聲器及/或麥克風等,本發明不加以限制。
It should be noted that, in an embodiment, the
在一實施例中,處理器12可指示顯示器11藉由一顯示介面顯示多個視窗。例如,此顯示介面可以是指顯示器11的螢幕。須注意的是,所述多個視窗包括第一類視窗與第二類視窗。第一類視窗與第二類視窗的個數皆可以是一或多個,本發明不加以限制。第一類視窗具有一視窗寬度(亦稱為第一視窗寬度)。第二類視窗具有另一視窗寬度(亦稱為第二視窗寬度)。
In one embodiment, the
在一實施例中,第一類視窗屬於電腦系統10的作業系統所預設使用的應用程式(亦稱為第一類應用程式),而第二類視窗則屬於電腦系統10的作業系統所兼容的應用程式(亦稱為第二類應用程式)。在一實施例中,第一類應用程式可視為是電腦系統10的作業系統所預設支援使用的(原生)應用程式,而第二類應用程式則可視為是電腦系統10的作業系統所預設不相容,但可經後天調整為可兼容運行的(外掛)應用程式。
In one embodiment, the first type of window belongs to the application program (also referred to as the first type of application program) used by default by the operating system of the
在一實施例中,電腦系統10的作業系統是以Chrome OS作為範例,但本發明不限於此。在一實施例中,第一類視窗是以屬於Chrome OS所預設使用的Chrome應用程式作為範例,而第二類視窗則是以屬於Chrome OS所兼容的Android應用程式作為範例。然而,其他類型的作業系統也可能運行符合上述條件的不
同類型的應用程式,本發明不加以限制。
In one embodiment, the operating system of the
在一實施例中,在顯示器11所顯示的多個視窗中,第一類應用程式(例如Chrome應用程式)的視窗寬度(即第一視窗寬度)是可調整的,而第二類應用程式(例如Android應用程式)的視窗寬度(即第二視窗寬度)是不可調整的。在一實施例中,處理器12可在固定第二類視窗的第二視窗寬度之前提下,根據所述多個視窗的總數來(僅)調整第一類視窗的第一視窗寬度。
In one embodiment, among the plurality of windows displayed on the
相較於傳統上需要針對所有視窗的寬度及/或尺寸進行統一規劃與調整,在本發明的實施例中,處理器12可以先將不同類型的視窗進行區分,然後只針對特定類型的視窗之視窗寬度進行調整。藉此,可有效改善使用者體驗。
Compared with the traditional need to uniformly plan and adjust the widths and/or sizes of all windows, in the embodiment of the present invention, the
圖2是根據本發明的一實施例所繪示的在顯示介面中呈現多個視窗的示意圖。請參照圖2,假設在顯示介面21中顯示了視窗210與220。其中,視窗210屬於Chrome應用程式,而視窗220屬於Android應用程式。例如,視窗210可呈現某一Chrome應用程式(例如Chrome瀏覽器)的操作介面,而視窗220則可呈現某一Android應用程式(例如Line應用程式)的操作介面。處理器12可根據視窗210與220的後台資訊決定視窗210為第一類視窗並決定視窗220為第二類視窗。因此,視窗210的視窗寬度W(1)是可調整的,而視窗220的視窗寬度W(D)則是預設的(或不可調整的)。
FIG. 2 is a schematic diagram of presenting a plurality of windows in a display interface according to an embodiment of the present invention. Referring to FIG. 2 , it is assumed that
在一實施例中,處理器12可根據視窗210與220的總數
(即2)以及顯示介面21的寬度W(T)來調整視窗210的視窗寬度W(1)。例如,在將視窗220的視窗寬度W(D)固定(即不調整W(D))的前提下,處理器12可根據顯示介面21的寬度W(T)與視窗220的視窗寬度W(D)之間的差值而獲得視窗210的視窗寬度W(1)。例如,視窗210的視窗寬度W(1)可相同或趨近於顯示介面21的寬度W(T)與視窗220的視窗寬度W(D)之間的差值(例如W(1)=W(T)-W(D))。然後,處理器12可將視窗210的視窗寬度調整為W(1)並同時在顯示介面21中顯示視窗210與220。
In one embodiment, the
圖3是根據本發明的一實施例所繪示的在顯示介面中呈現多個視窗的示意圖。請參照圖3,假設在顯示介面31中顯示了視窗310、320及321。其中,視窗310屬於Chrome應用程式,而視窗320及321屬於Android應用程式。處理器12可根據視窗310、320及321的後台資訊決定視窗310為第一類視窗並決定視窗320及321為第二類視窗。因此,視窗310的視窗寬度W(2)是可調整的,而視窗320及321的視窗寬度W(D)則是預設的(或不可調整的)。
FIG. 3 is a schematic diagram showing a plurality of windows in a display interface according to an embodiment of the present invention. Referring to FIG. 3 , it is assumed that
在一實施例中,處理器12可根據視窗310、320及321的總數(即3)以及顯示介面31的寬度W(T)來調整視窗310的視窗寬度W(2)。例如,在將視窗320及321的視窗寬度W(D)固定(即不調整W(D))的前提下,處理器12可根據顯示介面31的寬度W(T)與視窗310及320的視窗寬度W(D)之總和之間的差值而獲得視窗310的視窗寬度W(2)。例如,視窗310的視窗寬度W(2)可相同或
趨近於顯示介面31的寬度W(T)與視窗310及320的視窗寬度W(D)之總和之間的差值(例如W(2)=W(T)-2×W(D))。然後,處理器12可將視窗310的視窗寬度調整為W(2)並同時在顯示介面31中顯示視窗310、320及321。
In one embodiment, the
圖4是根據本發明的一實施例所繪示的在顯示介面中呈現多個視窗的示意圖。請參照圖4,假設在顯示介面41中顯示了視窗410、411及420。其中,視窗410與411屬於Chrome應用程式,而視窗420屬於Android應用程式。處理器12可根據視窗410、411及420的後台資訊決定視窗410與411為第一類視窗並決定視窗420為第二類視窗。因此,視窗410與411的視窗寬度W(3)與W(4)是可調整的,而視窗420的視窗寬度W(D)則是預設的(或不可調整的)。
FIG. 4 is a schematic diagram showing a plurality of windows in a display interface according to an embodiment of the present invention. Referring to FIG. 4 , it is assumed that
在一實施例中,處理器12可根據視窗410、411及420的總數(即3)以及顯示介面41的寬度W(T)來調整視窗410與411的視窗寬度W(3)與W(4)。例如,在將視窗420的視窗寬度W(D)固定(即不調整W(D))的前提下,處理器12可根據顯示介面41的寬度W(T)與視窗420的視窗寬度W(D)之間的差值而獲得視窗寬度W(3)與W(4)。例如,視窗410的視窗寬度W(3)或視窗411的視窗寬度W(4)可相同或趨近於顯示介面41的寬度W(T)與視窗420的視窗寬度W(D)之間的差值的一半(例如W(3)=W(4)=(W(T)-W(D))/2。然後,處理器12可分別將視窗410與411的視窗寬度分別調整為W(3)與W(4)並同時在顯示介面41
中顯示視窗410、411及420。
In one embodiment, the
需注意的是,前述實施例中對於第一類視窗的視窗寬度的決定與調整僅為範例,本發明不限於此。在其他實施例中,處理器12還可根據其他運算方式來決定並調整第一類視窗的視窗寬度。
It should be noted that the determination and adjustment of the window width of the first type of window in the foregoing embodiments are only examples, and the present invention is not limited thereto. In other embodiments, the
在一實施例中,處理器12可分別統計顯示介面中同時顯示的多個視窗中,第一類視窗的總數及/或第二類視窗的總數。處理器12可根據第一類視窗的總數及/或第二類視窗的總數來決定並調整第一類視窗的視窗寬度。
In one embodiment, the
在一實施例中,處理器12可根據以下方程式(1.1)來獲得顯示介面中可同時顯示的應用程式之視窗的最大數目。
In one embodiment, the
在方程式(1.1)中,參數Nb(取整數)表示顯示介面中可同時顯示的應用程式之視窗的最大數目,參數Ws表示顯示介面的寬度,且參數Wa表示第二類視窗的(預設)視窗寬度。例如,顯示介面的寬度與任一視窗的視窗寬度可藉由視窗或顯示介面的橫軸方向所涵蓋的像素點(pixels)之總數來表示。例如,參數Ws與Wa的數值皆可以是指像素點的數目。 In equation (1.1), the parameter Nb (integer) represents the maximum number of windows of the application program that can be displayed simultaneously in the display interface, the parameter Ws represents the width of the display interface, and the parameter Wa represents the (default) of the second type of window Window width. For example, the width of the display interface and the window width of any window can be represented by the total number of pixels (pixels) covered by the window or the horizontal axis of the display interface. For example, the values of the parameters Ws and Wa can both refer to the number of pixels.
在一實施例中,處理器12可進一步根據以下方程式(1.2)獲得在當前顯示介面所顯示的多個視窗中,第一類視窗的(最佳)視窗寬度。
In one embodiment, the
在方程式(1.2)中,參數Wp表示第一類視窗的(最佳)視窗寬度,參數Nc表示當前顯示介面所顯示的多個視窗中第一類視窗的總數,且參數Na表示當前顯示介面所顯示的多個視窗中第二類視窗的總數。在一實施例中,處理器12可根據方程式(1.1)與(1.2)獲得參數Wp並根據參數Wp來決定並調整所顯示的第一類視窗的視窗寬度。例如,假設參數Wp為500,則處理器12可將所顯示的第一類視窗的視窗寬度調整為500 pixels。
In equation (1.2), the parameter Wp represents the (optimal) window width of the first type of window, the parameter Nc represents the total number of the first type of windows in the multiple windows displayed on the current display interface, and the parameter Na represents the current display interface. The total number of windows of the second type among the multiple windows displayed. In one embodiment, the
在一實施例中,處理器12可響應於待顯示的多個視窗的總數超過一預設數目,開啟至少一個虛擬桌面。處理器12可將所述多個視窗中的一部分視窗(亦稱為第一部分視窗)顯示於顯示介面的一個預設桌面(亦稱為主桌面)。此外,處理器12可將所述多個視窗中的另一部分視窗(亦稱為第二部分視窗)顯示於所述至少一虛擬桌面。
In one embodiment, the
在一實施例中,所述預設數目可根據方程式(1.1)獲得。例如,所述預設數目可由方程式(1.1)所獲得的參數Nb來界定。例如,當參數Nb為3時,表示顯示介面中最多可同時顯示3個應用程式的視窗。在此範例中,假設當前有9個應用程式的視窗被開啟,則處理器12可將這9個應用程式中3個應用程式的視窗顯示於預設桌面(即主桌面)並將其餘的6個應用程式的視窗顯示於多個虛擬桌面。須注意的是,每一個虛擬桌面的寬度皆等於或趨近於顯示介面的寬度(或預設桌面的寬度)。因此,在此範例中,剩餘的6個應用程式的視窗可以3個為一組分別顯示於2個虛擬桌面
中。
In one embodiment, the predetermined number can be obtained according to equation (1.1). For example, the preset number may be defined by the parameter Nb obtained from equation (1.1). For example, when the parameter Nb is 3, it means that at most three application windows can be displayed in the display interface at the same time. In this example, assuming that the windows of 9 applications are currently opened, the
在一實施例中,處理器12可根據以下方程式(1.3)獲得所需開啟的虛擬桌面的總數。
In one embodiment, the
在方程式(1.3)中,Nd(無條件進位為整數)表示所需開啟的虛擬桌面的總數。 In equation (1.3), Nd (unconditionally rounded to an integer) represents the total number of virtual desktops to be opened.
圖5是根據本發明的一實施例所繪示的預設桌面與虛擬桌面的示意圖。請參照圖5,假設當前待顯示的視窗包括視窗510、521~525。其中,視窗510為第一類視窗,而視窗521~525為第二類視窗。根據視窗510、521~525之總數(即6)以及顯示介面51中可同時顯示的應用程式之視窗的最大數目(例如3),處理器12可決定所需開啟的虛擬桌面的總數為1。接著,處理器12可指示顯示器11將視窗510、521及522顯示於預設桌面501並將視窗523~525顯示於虛擬桌面502。
FIG. 5 is a schematic diagram of a default desktop and a virtual desktop according to an embodiment of the present invention. Referring to FIG. 5 , it is assumed that the windows to be displayed currently include windows 510 , 521 to 525 . The window 510 is the first type of window, and the windows 521 to 525 are the second type of windows. According to the total number of windows 510, 521-525 (ie, 6) and the maximum number of application windows (eg, 3) that can be simultaneously displayed in the
須注意的是,圖5中是以顯示介面51中同時呈現預設桌面501與虛擬桌面502的預覽圖(或縮圖)作為範例。此預覽圖(或縮圖)中同樣可呈現桌面中各個視窗的尺寸及/或排版樣式。此外,在一實施例中,顯示介面51中還可呈現提示圖像503。例如,提示圖像503中的2個圓點可用以表示當前開啟的桌面(包含預設桌面與虛擬桌面)總數為2個。
It should be noted that, in FIG. 5 , the preview image (or thumbnail image) of the
當實際操作時,預設桌面501與虛擬桌面502的其中之一可以被放大顯示於顯示介面51中,以類似於圖2~圖4的方式呈
現。使用者可藉由滑動螢幕或執行特定使用者操作來切換桌面,例如將當前放大顯示的桌面從預設桌面501切換為虛擬桌面502或者從虛擬桌面502切換為預設桌面501。
During actual operation, one of the
在一實施例中,在調整(例如縮小)某一個第一類視窗的視窗寬度的操作中,處理器12可嘗試從資料庫中取得此第一類視窗的行動版網址。例如,假設第一類視窗的原始網址是http://ABC.com,則對應於此原始網址的行動版網址可例如是以http://ABC.com/modile、http://m.ABC.com、http://mobile.ABC.com或類似形式表示。在一實施例中,若可取得此第一類視窗的行動版網址,處理器12可根據此行動版網址呈現此第一類視窗的顯示內容。
In one embodiment, during the operation of adjusting (eg, reducing) the window width of a certain first-type window, the
在一實施例中,根據行動版網址所呈現的視窗內容排版方式較為符合螢幕寬度較窄的智慧型手機或平板電腦的視窗內容排版方式。因此,相較於以一般的網頁模式來顯示第一類視窗的內容,根據行動版網址來呈現第一類視窗的顯示內容可更為符合縮小後的第一類視窗的顯示模式。 In one embodiment, the layout method of the window content presented according to the mobile version URL is more in line with the layout method of the window content of a smartphone or tablet computer with a narrower screen width. Therefore, compared with displaying the content of the first type of window in a normal web page mode, the display content of the first type of window is presented according to the mobile version URL, which is more suitable for the display mode of the reduced first type of window.
在一實施例中,若無法從資料庫中取得此第一類視窗的行動版網址,則處理器12亦可以強制將此第一類視窗的原始網址修改為相對應的行動版網址(例如將http://ABC.com修改為http://m.ABC.com)。然後,處理器12可嘗試以此行動版網址來呈現此第一類視窗的顯示內容。在一實施例中,若根據強制修改的行動版網址可順利呈現此第一類視窗的預設顯示內容,表示這樣
的網址修改是正確的,故處理器12可將此次使用的行動版網址更新至資料庫中,以供下次使用。
In one embodiment, if the mobile version URL of the first type of window cannot be obtained from the database, the
在一實施例中,若無法從資料庫中取得此第一類視窗的行動版網址及/或根據強制修改後的行動版網址無法正確顯示此第一類視窗的預設顯示內容,則處理器12可維持以第一類視窗的原始網址來開啟並呈現第一類視窗的視窗內容於第一類視窗中。
In one embodiment, if the mobile version URL of the first type of window cannot be obtained from the database and/or the default display content of the first type of window cannot be correctly displayed according to the forcibly modified mobile version URL, the
在一實施例中,在調整(例如縮小)某一個第一類視窗的視窗寬度的操作中,處理器12可在此第一類視窗的原始視窗畫面中識別一或多個關鍵元件。此關鍵元件可包括原始視窗畫面中的各式可操作物件,例如文字方塊、按鈕、下拉式選單、複選框或選項按鈕等控制項。在識別此關鍵元件後,處理器12可僅在此縮小後的第一類視窗中呈現第一類視窗的原始視窗畫面中的一部分視窗畫面,且此部分視窗畫面包括此關鍵元件。
In one embodiment, in the operation of adjusting (eg, reducing) the window width of a certain first-type window, the
圖6是根據本發明的一實施例所繪示的顯示包含關鍵元件的部分視窗畫面的示意圖。請參照圖6,假設視窗61為某一個第一類視窗的原始視窗。處理器12可根據前述各實施例所述之操作來將視窗61縮小為視窗62。視窗62的視窗寬度小於視窗61的視窗寬度。
FIG. 6 is a schematic diagram showing a part of a window frame including key elements according to an embodiment of the present invention. Referring to FIG. 6 , it is assumed that the
在一實施例中,處理器12可在視窗61所呈現的原始視窗畫面中識別關鍵元件601與602。例如,關鍵元件601與602分別為視窗61所呈現的原始視窗畫面中用於輸入帳號與密碼的文字方塊。在識別出關鍵元件601與602後,處理器12可根據關鍵
元件601與602在原始視窗畫面中的位置,將原始視窗畫面中包含關鍵元件601與602的一部分視窗畫面擷取出來並優先呈現於視窗62中。藉此,即便第一類視窗的視窗尺寸被縮小,第一類視窗的原始視窗畫面中重要性較高的關鍵元件(例如關鍵元件601與602)仍可被優先呈現於縮小後的第一類視窗中,從而方便使用者操作或瀏覽相關資訊。
In one embodiment, the
在一實施例中,上述將原始視窗畫面中包含關鍵元件601與602的一部分視窗畫面擷取出來並優先呈現於視窗62中之操作,可視為是對原始視窗畫面進行橫向(或沿其他方向)平移一目標距離,以將所述包含關鍵元件601與602的部分視窗畫面移動至視窗62(或原視窗61)的顯示中心位置進行顯示。
In one embodiment, the above-mentioned operation of extracting a part of the window frame including the
在一實施例中,若第一類視窗的原始視窗畫面中具有多個關鍵元件,且此些關鍵元件的位置是分散的,則處理器12可根據此些關鍵元件的權重資訊來調整所述目標距離。例如,處理器12可根據以下方程式(1.4)來獲得所述目標距離。
In one embodiment, if there are multiple key elements in the original window frame of the first type of window, and the positions of these key elements are scattered, the
在方程式(1.4)中,參數S表示所述目標距離,參數Ei表示原始視窗畫面中的第i個關鍵元件的權重,參數Xi表示原始視窗畫面中的第i個關鍵元件在X軸方向上的起點位置,且參數Wi表示原始視窗畫面中的第i個關鍵元件在X軸方向上的寬度。 In equation (1.4), the parameter S represents the target distance, the parameter Ei represents the weight of the ith key element in the original viewport picture, and the parameter Xi represents the ith key element in the original viewport picture in the X-axis direction. The starting point position, and the parameter Wi represents the width of the i-th key element in the original window picture in the X-axis direction.
在一實施例中,不同類型的關鍵元件(例如控制項)可具有不同的權重。例如,可將文字方塊的權重設為3、將按鈕的權重設
為2、並將下拉式選單、複選框及選項按鈕的權重皆設為1。藉此,越重要的關鍵元件可以被配置越高的權重,以盡可能地被移動至最靠近視窗(例如視窗61或62)的顯示中心位置。然而,須注意的是,在另一實施例中,各種類型的關鍵元件的權重皆可以根據實務需求調整,本發明不加以限制。此外,在一實施例中,若多個關鍵元件在原始視窗畫面中的位置過於分散,則最後將原始視窗畫面移動目標距離後,也可能沒有任一個關鍵元件呈現於視窗(例如視窗61或62)的顯示中心位置。
In one embodiment, different types of key elements (eg, controls) may have different weights. For example, you can set the weight of the text box to 3 and the weight of the button to
to 2, and set the weights of drop-down menus, checkboxes, and option buttons to 1. Thereby, more important key elements can be assigned higher weights to be moved as close as possible to the display center position of the window (eg,
圖7是根據本發明的一實施例所繪示的電腦系統的視窗排版方法的流程圖。請參照圖7,在步驟S701中,在電腦系統的顯示介面中顯示多個視窗,其中所述多個視窗包括第一類視窗與第二類視窗,所述第一類視窗具有第一視窗寬度,且所述第二類視窗具有第二視窗寬度。在步驟S702中,在固定所述第二類視窗的所述第二視窗寬度之前提下,根據所述多個視窗的總數調整所述第一類視窗的所述第一視窗寬度。 FIG. 7 is a flowchart of a window layout method of a computer system according to an embodiment of the present invention. Referring to FIG. 7, in step S701, a plurality of windows are displayed on the display interface of the computer system, wherein the plurality of windows include a first type of window and a second type of window, and the first type of window has a first window width , and the second type of window has a second window width. In step S702, on the premise of fixing the second window width of the second type of window, the first window width of the first type of window is adjusted according to the total number of the plurality of windows.
然而,圖7中各步驟已詳細說明如上,在此便不再贅述。值得注意的是,圖7中各步驟可以實作為多個程式碼或是電路,本發明不加以限制。此外,圖7的方法可以搭配以上實施例使用,也可以單獨使用,本發明不加以限制。 However, each step in FIG. 7 has been described in detail as above, and will not be repeated here. It should be noted that each step in FIG. 7 can be implemented as a plurality of program codes or circuits, which is not limited by the present invention. In addition, the method of FIG. 7 can be used in conjunction with the above embodiments, and can also be used alone, which is not limited in the present invention.
綜上所述,本發明提供的電腦系統與其視窗排版方法,可在固定某一類型的視窗(即第二類視窗)的視窗寬度(即不針對第二類視窗的第二視窗寬度進行調整)的前提下,(僅)針對特定類型 的視窗(即第一類視窗)的視窗寬度進行自動化調整。藉此,可改善某些類型的電腦系統中無法針對多個視窗的配置位置及/或尺寸進行統一調整的問題,從而提升使用者體驗。 To sum up, the computer system and the window layout method provided by the present invention can fix the window width of a certain type of window (ie, the second type of window) (ie, not adjust the width of the second window for the second type of window). on the premise of (only) for specific types The window width of the window (that is, the first type of window) is automatically adjusted. In this way, the problem that the configuration positions and/or sizes of multiple windows cannot be uniformly adjusted in certain types of computer systems can be improved, thereby improving user experience.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed above by the embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, The protection scope of the present invention shall be determined by the scope of the appended patent application.
S701, S702: 步驟S701, S702: Steps
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW109146842A TWI775261B (en) | 2020-12-30 | 2020-12-30 | Computer system supporting automatic windows arrangement and windows arrangement method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW109146842A TWI775261B (en) | 2020-12-30 | 2020-12-30 | Computer system supporting automatic windows arrangement and windows arrangement method thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202225942A TW202225942A (en) | 2022-07-01 |
| TWI775261B true TWI775261B (en) | 2022-08-21 |
Family
ID=83436720
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW109146842A TWI775261B (en) | 2020-12-30 | 2020-12-30 | Computer system supporting automatic windows arrangement and windows arrangement method thereof |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI775261B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI885711B (en) * | 2024-01-19 | 2025-06-01 | 宏碁股份有限公司 | Electronic apparatus and windows arrangement method thereof |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI844216B (en) * | 2022-12-30 | 2024-06-01 | 宏碁股份有限公司 | Windows arrangement system, windows arrangement method and windows arrangement program |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW201227488A (en) * | 2010-12-29 | 2012-07-01 | Acer Inc | Method for customizing window and electronic device |
| CN104391682A (en) * | 2014-07-24 | 2015-03-04 | 贵阳朗玛信息技术股份有限公司 | Content display method and device |
| US20150177942A1 (en) * | 2013-02-14 | 2015-06-25 | Citibank, N.A. | Methods and Systems for Managing a Graphical User Interface |
| CN109901906A (en) * | 2019-02-28 | 2019-06-18 | 禾多科技(北京)有限公司 | Permission user applied to automatic Pilot arbitrarily defines the mode of child window layout |
-
2020
- 2020-12-30 TW TW109146842A patent/TWI775261B/en active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW201227488A (en) * | 2010-12-29 | 2012-07-01 | Acer Inc | Method for customizing window and electronic device |
| US20150177942A1 (en) * | 2013-02-14 | 2015-06-25 | Citibank, N.A. | Methods and Systems for Managing a Graphical User Interface |
| CN104391682A (en) * | 2014-07-24 | 2015-03-04 | 贵阳朗玛信息技术股份有限公司 | Content display method and device |
| CN109901906A (en) * | 2019-02-28 | 2019-06-18 | 禾多科技(北京)有限公司 | Permission user applied to automatic Pilot arbitrarily defines the mode of child window layout |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI885711B (en) * | 2024-01-19 | 2025-06-01 | 宏碁股份有限公司 | Electronic apparatus and windows arrangement method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202225942A (en) | 2022-07-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11625153B2 (en) | Media browsing user interface with intelligently selected representative media items | |
| EP3608795A1 (en) | Method and apparatus for generating knowledge graph, device and computer readable storage medium | |
| US10007402B2 (en) | System and method for displaying content | |
| US8094105B2 (en) | Navigation for a non-traditionally shaped liquid crystal display for mobile handset devices | |
| KR102073848B1 (en) | Immersive mode for a web browser | |
| US20140101535A1 (en) | Multi-display apparatus and method of controlling display thereof | |
| CN102541443A (en) | Method and apparatus for selective display | |
| US20150088669A1 (en) | Apparatus and method for providing responsive user interface and electronic device-readable recording medium therefor | |
| CN101140496A (en) | Method and device for adjusting frame in web page | |
| WO2018119575A1 (en) | Display method and electronic device | |
| TWI775261B (en) | Computer system supporting automatic windows arrangement and windows arrangement method thereof | |
| WO2022166893A1 (en) | Information display method and apparatus, electronic device, and storage medium | |
| US9360339B2 (en) | Rendering maps with canvas elements | |
| WO2022194211A1 (en) | Image processing method and apparatus, electronic device and readable storage medium | |
| JP7596521B2 (en) | Screen capture method, device and electronic device | |
| US7859543B2 (en) | Displaying images | |
| CN107450901B (en) | Information processing apparatus | |
| CN111475248A (en) | RT L processing method, system, storage medium and electronic equipment | |
| WO2024104079A1 (en) | Desktop component generation method and apparatus, electronic device, and readable storage medium | |
| KR101457999B1 (en) | Transparent display device and method for providing user interface thereof | |
| US12443650B2 (en) | Wallpaper image generation method and electronic device | |
| TW202144986A (en) | Dispaly method and electronic device using the same | |
| JP6572821B2 (en) | Information processing apparatus and information processing program | |
| US10991139B2 (en) | Presentation of graphical object(s) on display to avoid overlay on another item | |
| JP2017199276A (en) | Information processing apparatus and information processing program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| GD4A | Issue of patent certificate for granted invention patent |