TWI226014B - Method for dynamically adjusting the size and location of window element - Google Patents

Method for dynamically adjusting the size and location of window element Download PDF

Info

Publication number
TWI226014B
TWI226014B TW92136291A TW92136291A TWI226014B TW I226014 B TWI226014 B TW I226014B TW 92136291 A TW92136291 A TW 92136291A TW 92136291 A TW92136291 A TW 92136291A TW I226014 B TWI226014 B TW I226014B
Authority
TW
Taiwan
Prior art keywords
window
parameter
size
component
parameter group
Prior art date
Application number
TW92136291A
Other languages
Chinese (zh)
Other versions
TW200521824A (en
Inventor
Sheng-Jie Huang
Chian-Yu Jang
Original Assignee
Inst Information Industry
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 Inst Information Industry filed Critical Inst Information Industry
Priority to TW92136291A priority Critical patent/TWI226014B/en
Application granted granted Critical
Publication of TWI226014B publication Critical patent/TWI226014B/en
Publication of TW200521824A publication Critical patent/TW200521824A/en

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The present invention relates to a method for dynamically adjusting the size and location of window element, which is applied in a mobile terminal device for displaying window elements. Different adjustment parameter sets are dynamically added or removed based on different user feature element parameter sets, different hardware feature element parameter sets, and predefined element parameter sets of programmer, associated with weighting magnitude. Under different platforms or different user conditions, it is able to have a display screen for window elements with different size and location without modifying the source program.

Description

1226014 玖、發明說明: 【發明所屬之技術領域】 本發明係關於一種調整視窗元件大小與配置的方 法,尤指一種在行動終端裝置上動態調整視窗元件大小與 10 15 20 【先前技術】 目前一般行動終端裝置越來越普遍,例如··手機、pD 等···,幾乎已達到人人手中都有一台的階段,以pDA ^ 例,製造廠商相當繁多,而每家製造廠商所生產之ρ〇Α名 "例如,PDA上的顯示螢幕大小各不相同,而對於相房 =應用程式’由於程式設計人員在寫程式時就已經先對福 -件大J、或位置預先設定,因此,相同的應用程式在不 =的:DA上。可能會發生視窗元件過大或過小的情況,此因 計人員當初只是預估使用於單—或是少數種類的行 、、、端裝置,所以沒辦法適用於所有的pDA,導致相同的 3程式,無法適用於不同的行動終端裂置,另外,由於 =1大小與位置係由程式設計人M所決定且在出廠時 , 故'又有辦法針對使用者的喜好自動調整視窗元 1千的大小及# …、法滿足個人化的需求,因此,習知 要°而Γ固疋件大小與位置之設計實無法滿足實際之需 要,而有予以改進的必要。1226014 发明 Description of the invention: [Technical field to which the invention belongs] The present invention relates to a method for adjusting the size and configuration of window elements, especially a method for dynamically adjusting the size of window elements and 10 15 20 on a mobile terminal device. [Previous technology] Currently general Mobile terminal devices are becoming more and more common, such as mobile phones, pDs, etc., almost reaching a stage where everyone has one. Take pDA ^ as an example, there are quite a lot of manufacturers, and each manufacturer produces ρ 〇ΑName " For example, the size of the display screens on PDAs are different, and for photo room = applications', because the programmers have already set the size of the B-piece or the location in advance when writing the program, The same application is not on: DA. It may happen that the window component is too large or too small. This is because the staff originally estimated that it would be used in a single—or a few kinds of line ,, and end devices, so it could not be applied to all pDA, resulting in the same 3 programs, Cannot be applied to different mobile terminal splits. In addition, since the size and position of = 1 is determined by the programmer M and when it leaves the factory, there is another way to automatically adjust the size of the window element 1,000 and #…, Method meets the needs of individualization. Therefore, it is necessary to improve the design of the size and position of the Γ solid fittings, and it is necessary to improve them.

【發明内容】 5 1226014 本發明之主要目的係在提供一種動態調整視窗元件 J /、配置的方法’俾能動態加入或移除不同的元件參數 、、且,使配置官理員(Layout manager)依據不同使用者的喜好 或不同執行平台的特徵,動態調整視窗元件的大小與配置。 5 為達成前述之目的,本發明之動態調整視窗元件大小與 配置的方法係用以決定多個視窗元件顯示在視窗中之大小 與位置,该方法包括下列步驟:(A)接收一預設元件參數 組,其包括多個參數,分別定義每個視窗元件顯示在視窗 中的大小及位置之預設值;(B)接收至少一延伸元件參數 10組,其包括多個參數,分別定義每個視窗元件顯示在視窗 中的大小及位置之值;(C)將預設元件參數組之每一參數與 疋義相同視窗元件之延伸元件參數組的對應參數組合,而 決定每一視窗元件顯示在視窗中之大小與位置的參數;以 及(D)依據步驟(C)所決定之參數,調整上述之多數視窗元 15 件顯示在視窗中之大小與位置。 【實施方式】 有關本發明之動態調整視窗元件大小與位置的方法 之一較佳實施例,請先參照圖1所示,其中,本發明係以 20 使用配置管理員(Layoutmanager)13決定各視窗元件之大 小與位置,而配置管理員13係根據多個元件參數組丨丨來 調整視窗元件顯示在一行動終端裝置14中之大小與位 置,其中,每一元件參數組11包含了每一視窗元件例 如:’Label 1’、’Label 2’、’Button’欲顯示在視窗中之大小與 1226014 位置的參數。 前述之多個參數組U具有_預設元件參數組⑴ 預設兀件參數組1 i i是由程式開發人員對視窗元件先行〜 義(Prog麵讀Specified),其包含有每一視窗元件欲^ 5在行動終端裝置14中之大小與位置的預設參數。•…、 除該預設元件參數組Π1外,尚具有至少一延伸元件 參數組112,此延伸元件參數組112係依據特定之需长而 視窗元件進行定義,其包含有每一視窗元件欲顯示在行動 終端裝置14中之大小與位置的延伸參數,前述特定之需求 10例如為不同之平台特徵或不同之使用者喜好等,於本實施 例中,包括使用者參數組(User Pr〇file)n22及硬體參數組 (〇6乂106?1*0刮幻1121等兩種延伸元件參數組112,其中,使 用者參數組1122係依據使用者喜好而對視窗元件進行定 義,其包含有每一視窗元件欲顯示在行動終端裝置14中之 15大小與位置的使用者參數,不同之使用者可依據本身之喜 好而設定自己之使用者參數組1122 ;而硬體參數組丨丨以係 依據硬體平台特性而對視窗元件進行定義,其包含有每一 視窗元件欲顯示在行動終端裝置14中之大小與位置的硬體 參數,對於不同之硬體(例如不同廠家2PDA),可依據 20其特性(例如顯示幕之大小)而設定相應之硬體參數组 1121 。 ' ' 前述之預設元件參數組11丨丨及延伸元件參數組係經 由配置管理員13給定之權值(weight)進行運算而組合產生 25實際決定視窗元件顯示在視窗中之大小與位置的參數,亦 1226014 5 10 15 即,貫際決定視窗元件顯示在視窗中之大小與位置的表數 係為··(預設元件參數組之參數xwl)+(延伸元件參數組的參 數XW2),當中,權重wl+w2=1。以圖丨所示參數組包括預設 凡件參數組m、使用者參數組1122、及硬體參數組1121、 且所欲顯示之視窗元件包括,Label r、,Label2,、,Button, 為例說明,其中,該預設元件參數組ln包括分別定義視窗 元件Label Γ、’Label 2’、’Button’之三個預設參數 Ρ1·1,Ρ1-2,Ρ1-3 ;該硬體參數組1121包括分別定義視窗元 件Label Γ、’Label 2’、’Button,之三個硬體參數 Ρ2-1,Ρ2-2,Ρ2-3 ;該使用者參數組1122包括分別定義視窗元 件Label Γ、’Label 2’、’Button’之三個使用者參數 Ρ3-1,Ρ3-2,Ρ3-3。而假設配置管理員13給予該預設元件參數 組π卜使用者參數組1122、及硬體參數組1121之權重分別 為 wl、w2、w3(wl+w2+w3 = l),則產生視窗元件,Label 1’、’Label 2’、’Button’之三個實際參數ρι,Ρ2,Ρ3為: PI =Pl-l*wl+P2-l*w2+P3-l*w3, P2 = Pl-2*wl+P2-2*w2+P3-2*w3 j P3 = Pl-3*wl+P2,3*w2+P3-3*w3, 而配置管理員13以上述之參數P1,P2,P3決定視窗元 20 件’Label Γ、’Label 2’、’Button’顯示在視窗中14之大小及 位置,並據以實際調整之。 由以上之說明可知,本發明藉由組合不同參數組來動 態調整視窗元件大小與位置,可使得實際顯示之視窗元件 的大小及位置符合硬體特性並滿足使用者之喜好,圖2顯示 1226014 在一 PDA視窗之視窗元件,其中,圖2A中之使用者參數組 定義較小之視窗元件,而圖2B中之使用者參數組則定義較 大之視窗元件。 上述實施例僅係為了方便說明而舉例而已,本發明所 5主張之權利範圍自應以申請專利範圍所述為準,而^僅限 於上述實施例。 【圖式簡單說明】 圖1係本發明之動態調整視窗元件大小與位置的方法之示 10 意圖。 圖2係本發明之使用不同者參數組顯示於PDA上之結果。 【圖號說明】 =元件參數Μ 112延伸元件參數組 預叹70件參數組1121硬體參數組 使用者參數組13配置管理員 14 行動終端裝置[Summary of the Invention] 5 1226014 The main purpose of the present invention is to provide a method for dynamically adjusting the window components J /, configuration, 'can dynamically add or remove different component parameters, and make the layout manager based on Dynamically adjust the size and configuration of window components based on the preferences of different users or the characteristics of different execution platforms. 5 In order to achieve the foregoing objective, the method for dynamically adjusting the size and configuration of window elements of the present invention is used to determine the size and position of multiple window elements displayed in a window. The method includes the following steps: (A) receiving a preset element Parameter group, which includes multiple parameters, each of which defines the default value of the size and position of each window element displayed in the window; (B) Receives at least one extension element parameter 10 groups, which includes multiple parameters, each defining each The value of the size and position of the window component displayed in the window; (C) Each parameter of the preset component parameter group and the corresponding parameter combination of the extended component parameter group of the same window component are defined to determine the display of each window component in the The size and position parameters in the window; and (D) adjusting the size and position of most of the 15 window elements displayed in the window according to the parameters determined in step (C). [Embodiment] For a preferred embodiment of the method for dynamically adjusting the size and position of window elements of the present invention, please refer to FIG. 1 first, wherein the present invention uses a layout manager (Layoutmanager) 13 to determine each window. The size and position of the components, and the configuration manager 13 adjusts the size and position of the window components displayed in a mobile terminal device 14 according to a plurality of component parameter groups, wherein each component parameter group 11 includes each window Components such as: 'Label 1', 'Label 2', 'Button' The parameters of the size and position of 1226014 to be displayed in the window. The aforementioned multiple parameter groups U have _ preset component parameter groups ⑴ preset component parameter group 1 ii is a program developer's pre-defined window components (Prog read Specified), which contains the requirements of each window component ^ 5 Preset parameters of size and position in the mobile terminal device 14. • ... In addition to the preset component parameter group Π1, there is also at least one extended component parameter group 112. This extended component parameter group 112 is defined according to a specific length of a window component, which includes each window component to be displayed. The extended parameters of the size and position in the mobile terminal device 14, the aforementioned specific requirements 10 are, for example, different platform features or different user preferences, etc. In this embodiment, a user parameter group (User Pr0file) is included n22 and hardware parameter group (〇6 乂 106? 1 * 0 scratch magic 1121 and other two types of extended component parameter group 112, of which user parameter group 1122 is based on user preferences to define the window component, which includes each A window component wants to display 15 size and position user parameters in the mobile terminal device 14. Different users can set their own user parameter group 1122 according to their own preferences; and the hardware parameter group 丨 丨 is based on Windows components are defined by the characteristics of the hardware platform, which includes the hardware parameters of the size and position of each window component to be displayed in the mobile terminal device 14. For different Body (such as 2 PDAs from different manufacturers), you can set the corresponding hardware parameter group 1121 according to its characteristics (such as the size of the display screen). '' The aforementioned preset component parameter group 11 and extension component parameter groups are configured The administrator 13 calculates the given weight and combines it to produce 25 parameters that actually determine the size and position of the window element displayed in the window, which is 1226014 5 10 15 that is, it determines the size and position of the window element displayed in the window. The number of positions table is ... (parameter xwl of the preset component parameter group) + (parameter XW2 of the extension component parameter group), among which, the weight wl + w2 = 1. The parameter group shown in Figure 丨 includes the preset components. Parameter group m, user parameter group 1122, and hardware parameter group 1121, and the window components to be displayed include Label r, Label2 ,, and Button. As an example, the preset component parameter group ln includes Define the three preset parameters P1 · 1, P1-2, and P1-3 of the window element Label Γ, 'Label 2', and 'Button', respectively. The hardware parameter group 1121 includes the definition of the window elements Label Γ, 'Label 2 respectively. ',' Button, of Hardware parameters P2-1, P2-2, P2-3; the user parameter group 1122 includes three user parameters P3-1, P3- defining window elements Label Γ, 'Label 2', and 'Button', respectively 2, P3-3. Suppose that the configuration manager 13 gives the preset component parameter group π user parameter group 1122, and the weight of the hardware parameter group 1121 are wl, w2, w3 (wl + w2 + w3 = l ), Then the window elements, Label 1 ',' Label 2 ', and' Button 'are the three actual parameters ρ, P2, and P3: PI = Pl-l * wl + P2-l * w2 + P3-l * w3 , P2 = Pl-2 * wl + P2-2 * w2 + P3-2 * w3 j P3 = Pl-3 * wl + P2,3 * w2 + P3-3 * w3, and the configuration manager 13 uses the above parameters P1, P2, and P3 determine the size and position of the 20 window elements' Label Γ, 'Label 2', and 'Button' displayed in the window 14 and adjust them accordingly. As can be seen from the above description, the present invention dynamically adjusts the size and position of the window element by combining different parameter groups, so that the size and position of the actually displayed window element conforms to the hardware characteristics and meets the user's preference. Figure 2 shows 1226014 in A window component of a PDA window, wherein the user parameter group in FIG. 2A defines a smaller window component, and the user parameter group in FIG. 2B defines a larger window component. The above embodiments are merely examples for the convenience of description. The scope of the rights claimed in the present invention shall be based on the scope of the patent application, and ^ is limited to the above embodiments. [Schematic description] FIG. 1 is a schematic diagram of a method for dynamically adjusting the size and position of a window element according to the present invention. FIG. 2 is a result of displaying different parameter groups on a PDA according to the present invention. [Illustration of drawing number] = Component parameter M 112 Extended component parameter group 70 pieces of parameter group 1121 Hardware parameter group User parameter group 13 Configuration manager 14 Mobile terminal device

Claims (1)

226014 拾、申請專利範圍: 1. 一種動態調整視窗元件大小與位置的方法,係用以 決定多個視窗元件顯示在視窗中之大小與位置,該方法包 括下列步驟: (A)接收一預設元件參數組,該預設元件參數組包括多 個參數,其分別定義每個視窗元件顯示在視窗中的大小及 位置之預設值; (B)接收至少-延伸凡件參數組,該延伸元件參數組包 括多個參數,其分別定義每個視窗元件顯示在視窗中的大 10 小及位置之值; ⑹將該預設元件參數組之每—參數與定義相同視窗元 件之錢伸π件參數組的對應參數組合,而決定每一視窗 π件顯不在視窗中之大小與位置的表數·以及 ⑼依據步驟⑹所決定之參數,調整該多數視窗元件顯 15 示在視窗中之大小與位置。 2·如申請專利範圍第1 Jg麻 員所述之動態調整視窗元件 大小與位置的方法,其中,於牛 ^ 於步驟(C)中,所決定之視窗元 件』不在視窗中之大小與位置的參數係為:(預設元件參數 組之參數xwl)+(延伸元件參數組的對應參數xw2),當中, 20 權重 wl+w2=l。 3·如申請專利範圍第1項所扯、—# 叙你番乐項所述之動態調整視窗元件大小 與位置的方法,其中,於步驟( /哪⑺)中,該至少一延伸元件參 數組包括一基於硬體特性之亓 W U Λ- 凡件參數組及一基於使用者特 性之兀件參數組,每一基於 文體特性之元件參數組及基於 1226014 使用者特性之元件參數組包括多個參數,其分別定義每個 視窗元件顯示在視窗中的大小及位置之值。 4·如申請專利範圍第3項所述之動態調整視窗元件大 小與位置的方法,其中,步驟(C)係將該預設元件參數 5組之每一參數與定義相同視窗元件之該基於硬體特性之元 件參數組的對應參數及該基於使用者特性之元件參數組的 對應參數組合’而決定每一視窗元件顯示在視窗中之大小 與位置的參數。 5·如申請專利範圍第4項所述之動態調整視窗元件大小 10與位置的方法,其中,所決定之視窗元件顯示在視窗中之 大小與位置的參數係為:(預設元件參數組之參數χλγ1)+(基 於硬體特性之元件參數組的對應參數xw2) +(基於使用者 特性之元件參數組的對應參數X w3),當中,權重 wl+w2+w3 = l 〇 15 6·如申請專利範圍第1項所述之動態調整視窗元件大 小與位置的方法,其中,該預設元件參數組係由程式設計 者決定。 7.如申請專利範圍第3項所述之動態調整視窗元件大小 與位置的方法,其中,該基於硬體特性之元件參數組係依 20據輸出視窗之顯示裝置而設定,該基於使用者特性之元件 參數組係依據使用者之喜好而設定。 11226014 Patent application scope: 1. A method for dynamically adjusting the size and position of window components, which is used to determine the size and position of multiple window components displayed in the window. The method includes the following steps: (A) receiving a preset Component parameter group, the preset component parameter group includes a plurality of parameters, which respectively define the default values of the size and position of each window component displayed in the window; (B) receiving at least-extending the parameter parameter group, the extended component The parameter group includes a plurality of parameters, which respectively define the value of the size and position of each window element displayed in the window; 每 Each parameter of the preset element parameter group and the parameter of the same window element are extended. The corresponding parameter combination of the group determines the number of tables and sizes of each window π display in the window, and the parameters determined according to the step ,, adjusts the size and position of the majority of the window components displayed in the window. . 2. The method for dynamically adjusting the size and position of a window element as described by the first Jg member in the scope of the patent application, wherein, in step (C), the size and position of the window element that is not in the window The parameters are: (parameter xwl of the preset component parameter group) + (corresponding parameter xw2 of the extended component parameter group), of which 20 weights wl + w2 = l. 3. As described in item 1 of the scope of patent application, the method for dynamically adjusting the size and position of a window element as described in #####, where, in step (/ ⑺), the at least one extended element parameter group Including a hardware parameter-based 亓 WU Λ-variable parameter parameter group and a user characteristic-based parameter parameter group, each stylistic characteristic-based component parameter group and 1226014 user characteristic-based component parameter group include multiple parameters , Which defines the size and position of each window component displayed in the window. 4. The method for dynamically adjusting the size and position of a window element as described in item 3 of the scope of the patent application, wherein step (C) is to set each parameter of the 5 sets of preset element parameters to the hard-based The corresponding parameters of the component parameter group of the physical characteristics and the corresponding parameter combination of the component parameter group based on the user characteristics determine the parameters of the size and position of each window component displayed in the window. 5. The method for dynamically adjusting the size and position of a window element as described in item 4 of the scope of the patent application, wherein the parameters of the size and position of the determined window element displayed in the window are: Parameter χλγ1) + (corresponding parameter of component parameter group based on hardware characteristics xw2) + (corresponding parameter of component parameter group based on user characteristics X w3), among which weight wl + w2 + w3 = l 〇15 6 · 如The method for dynamically adjusting the size and position of a window component as described in item 1 of the scope of the patent application, wherein the preset component parameter set is determined by a programmer. 7. The method for dynamically adjusting the size and position of a window component as described in item 3 of the scope of the patent application, wherein the component parameter set based on the hardware characteristics is set according to a display device with 20 output windows, which is based on user characteristics The component parameter set is set according to the user's preference. 11
TW92136291A 2003-12-19 2003-12-19 Method for dynamically adjusting the size and location of window element TWI226014B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW92136291A TWI226014B (en) 2003-12-19 2003-12-19 Method for dynamically adjusting the size and location of window element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW92136291A TWI226014B (en) 2003-12-19 2003-12-19 Method for dynamically adjusting the size and location of window element

Publications (2)

Publication Number Publication Date
TWI226014B true TWI226014B (en) 2005-01-01
TW200521824A TW200521824A (en) 2005-07-01

Family

ID=35613518

Family Applications (1)

Application Number Title Priority Date Filing Date
TW92136291A TWI226014B (en) 2003-12-19 2003-12-19 Method for dynamically adjusting the size and location of window element

Country Status (1)

Country Link
TW (1) TWI226014B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7853892B2 (en) 2005-06-20 2010-12-14 Ming-Te Liu Method for displaying a resized window

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7853892B2 (en) 2005-06-20 2010-12-14 Ming-Te Liu Method for displaying a resized window

Also Published As

Publication number Publication date
TW200521824A (en) 2005-07-01

Similar Documents

Publication Publication Date Title
EP2664125A1 (en) Ad hoc file sharing
US8873771B2 (en) Automatic volume adjustment
US20120226985A1 (en) Hosted virtual desktop dynamic configuration based on end point characteristics
US9218593B2 (en) Notification control method and electronic device for the same
JP2010158019A (en) Remote display remote control
TWI284473B (en) Application update methods and mobile communication devices utilizing the same
JP2007129711A (en) Systems and methods for arbitrating multiple communications
EP3254446B1 (en) Interoperability of discovery and connection protocols between client devices and first screen devices
WO2016037475A1 (en) Method and device for adjusting transmission power
WO2008045616A1 (en) System and method for assigning virtual local area networks
US20110022978A1 (en) Intelligent device framework
US20180063695A1 (en) Communication device and communication method
TW201633790A (en) Video content play
JP2009260783A (en) Network connection apparatus, connection setting method, and connection setting program
JP6564327B2 (en) Configuring interaction control in a multi-controller network
US20160335040A1 (en) Display system and display method of display system
JP2016526196A (en) Wireless docking device
US20210306291A1 (en) Apparatus and method for alternate channel communication initiated through a common message thread
WO2014087285A1 (en) Network sockets
KR20140037117A (en) Method and system for sharing device capabilities of universal plug and play(upnp) devices with a service network entity
WO2014204631A1 (en) Systems and methods for display of a video call in picture in picture mode
TWI226014B (en) Method for dynamically adjusting the size and location of window element
US8930317B2 (en) Throttling to reduce synchronizations of excessively changing data
AU2014200195B2 (en) Method and apparatus for executing application program in electronic device
US9170716B1 (en) System and method for a distributed graphical user interface

Legal Events

Date Code Title Description
MK4A Expiration of patent term of an invention patent