TWI469614B - System and method for sequencing shortcuts - Google Patents
System and method for sequencing shortcuts Download PDFInfo
- Publication number
- TWI469614B TWI469614B TW97142103A TW97142103A TWI469614B TW I469614 B TWI469614 B TW I469614B TW 97142103 A TW97142103 A TW 97142103A TW 97142103 A TW97142103 A TW 97142103A TW I469614 B TWI469614 B TW I469614B
- Authority
- TW
- Taiwan
- Prior art keywords
- function
- counter
- value
- shortcut list
- carry
- Prior art date
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Description
本發明涉及一種應用於移動終端的功能選單管理系統及方法,尤其關於一種應用於移動終端的捷徑列表排序系統及方法。 The invention relates to a function menu management system and method applied to a mobile terminal, in particular to a shortcut list sorting system and method applied to a mobile terminal.
目前,除了無線電通信的基本功能之外,手機通常還提供許多附加功能,例如日曆、鬧鐘、計算器、音樂播放器、錄音等。這些功能被組織為樹狀結構,當需要選擇某個功能時,從所有功能中進行尋找往往不方便而且費時。為了便於用戶快速地選擇所需的功能,手機一般都提供捷徑列表。用戶可以將常用的功能加入捷徑列表中,當要使用某個功能時,可以直接從捷徑列表中進行選取。捷徑列表的使用縮短了用戶尋找所需功能的時間,增加了使用上的方便性。 Currently, in addition to the basic functions of radio communication, mobile phones often provide many additional functions such as calendars, alarm clocks, calculators, music players, recordings, and the like. These functions are organized into a tree structure, and when it is necessary to select a function, it is often inconvenient and time consuming to search from all functions. In order to facilitate the user to quickly select the desired function, the mobile phone generally provides a shortcut list. Users can add frequently used functions to the shortcut list. When a feature is to be used, it can be selected directly from the shortcut list. The use of shortcut lists shortens the time it takes users to find the features they need, increasing the ease of use.
對於捷徑列表,用戶通常可以增加新的功能、刪除其中的功能,還可以移動各個功能以對捷徑列表進行排序。當捷徑列表有數量較多的功能,如果能夠根據各個功能的使用頻率對捷徑列表進行排序,對用戶而言會更加方便。 For shortcut lists, users can often add new features, remove features, and move individual features to sort shortcut lists. When the shortcut list has a large number of functions, it is more convenient for the user to sort the shortcut list according to the frequency of use of each function.
鑒於以上內容,有必要提供一種應用於移動終端的捷徑列表排序系統及方法,能夠根據捷徑列表中各個功能的使用頻率自動對捷徑列表進行排序。 In view of the above, it is necessary to provide a shortcut list sorting system and method applied to a mobile terminal, which can automatically sort the shortcut list according to the frequency of use of each function in the shortcut list.
一種捷徑列表排序系統,應用於移動終端,該系統包括:初始化模組,用於根據該移動終端捷徑列表中各個功能的排列順序分別設置各個功能的位置記錄器、計數器及進位計數器的初始值;監測模組,用於監測用戶是否使用捷徑列表中的功能、新增功能到捷徑列表或者刪除捷徑列表中的功能;第一排序模組,用於當用戶使用捷徑列表中的功能時,將該功能的計數器的數值加1,並且當該功能的計數器的數值大於預先設定的臨界值時,根據該功能的位置記錄器的數值判斷該功能是否排在捷徑列表的第一位,若排在第一位,則將該功能的計數器恢復為相對應的初始值,將該功能的進位計數器的數值加1,或者若不排在第一位,並且該功能的前一位功能的進位計數器的數值等於相對應的初始值時,交換該功能與其前一位功能的位置,並將該功能的計數器恢復為相對應的初始值,或者若不排在第一位,並且該功能的前一位功能的進位計數器的數值不等於相對應的初始值時,將該功能的計數器恢復為相對應的初始值,將該功能的進位計數器的數值加1,並將該功能前一位功能的進位計數器的數值減1;第二排序模組,用於當用戶新增功能到捷徑列表時,分別設置該新增的功能的位置記錄器、計數器及進位計數器的初始值,並且將新增位置之後的各個功能的位置記錄器的數值都加1;及第三排序模組,用於當用戶刪除捷徑列表中的功能時,將該功能所在位置之後的各個功能的位置記錄器的數值都減1。 A shortcut list sorting system is applied to a mobile terminal, and the system includes: an initialization module, configured to respectively set an initial value of a position recorder, a counter, and a carry counter of each function according to an arrangement order of each function in the shortcut list of the mobile terminal; The monitoring module is configured to monitor whether the user uses the function in the shortcut list, the new function to the shortcut list or delete the function in the shortcut list; the first sorting module is used when the user uses the function in the shortcut list, The value of the function counter is incremented by 1, and when the value of the counter of the function is greater than a preset threshold, it is determined according to the value of the position recorder of the function whether the function is ranked first in the shortcut list, if ranked first One bit, the counter of the function is restored to the corresponding initial value, the value of the carry counter of the function is incremented by 1, or if not ranked first, and the value of the carry counter of the previous function of the function When it is equal to the corresponding initial value, swap the function and the position of the previous function, and restore the counter of the function. If the corresponding initial value, or if not ranked first, and the value of the carry counter of the previous function of the function is not equal to the corresponding initial value, the counter of the function is restored to the corresponding initial value. , the value of the carry counter of the function is incremented by 1, and the value of the carry counter of the function of the previous function is decremented by one; the second sorting module is configured to separately set the new when the user adds a function to the shortcut list. The initial value of the position recorder, counter and carry counter of the added function, and the value of the position recorder of each function after the newly added position is increased by 1; and the third sorting module is used when the user deletes the shortcut list For the function, the value of the position recorder of each function after the function is decremented by one.
一種捷徑列表排序方法,應用於移動終端,該方法包括步驟:根據該移動終端捷徑列表中各個功能的排列順序分別設置各個功能的位置記錄器、計數器及進位計數器的初始值;監測用戶是否使用捷徑列表中的功能、新增功能到捷徑列表或者刪除捷徑列表中 的功能;當用戶新增功能到捷徑列表時,分別設置該新增的功能的位置記錄器、計數器及進位計數器的初始值,並且將新增位置之後的各個功能的位置記錄器的數值都加1;或者當用戶刪除捷徑列表中的功能時,將該刪除的功能所在位置之後的各個功能的位置記錄器的數值都減1;或者當用戶使用捷徑列表中的功能時,將該功能的計數器的數值加1,並且當該功能的計數器的數值大於預先設定的臨界值時,根據該功能的位置記錄器的數值判斷該功能是否排在捷徑列表的第一位;若排在第一位,則將該功能的計數器恢復為相對應的初始值,將該功能的進位計數器的數值加1;或者若不排在第一位,並且該功能的前一位功能的進位計數器的數值等於相對應的初始值時,交換該功能與其前一位功能的位置,並將該功能的計數器恢復為相對應的初始值;或者若不排在第一位,並且該功能前一位功能的進位計數器的數值不等於相對應的初始值時,將該功能的計數器恢復為相對應的初始值,將該功能的進位計數器的數值加1,並將該功能前一位功能的進位計數器的數值減1。 A shortcut list sorting method is applied to a mobile terminal, and the method comprises the steps of: respectively setting an initial value of a position recorder, a counter and a carry counter of each function according to an arrangement order of each function in the shortcut list of the mobile terminal; and monitoring whether the user uses a shortcut Features in the list, new features to the shortcut list or delete shortcut list Function; when the user adds a new function to the shortcut list, the initial values of the location recorder, counter and carry counter of the newly added function are respectively set, and the values of the position recorders of the respective functions after the newly added position are added. 1; or when the user deletes the function in the shortcut list, the value of the position recorder of each function after the deleted function is decremented by 1; or when the user uses the function in the shortcut list, the counter of the function The value of the function is incremented by 1, and when the value of the counter of the function is greater than a preset threshold, it is determined according to the value of the position recorder of the function whether the function is ranked first in the shortcut list; if ranked first, Then the counter of the function is restored to the corresponding initial value, and the value of the carry counter of the function is incremented by one; or if it is not ranked first, and the value of the carry counter of the previous function of the function is equal to the corresponding value The initial value, swap the function and the position of the previous function, and restore the counter of the function to the corresponding initial value; or if not When it is ranked first, and the value of the carry counter of the previous function of the function is not equal to the corresponding initial value, the counter of the function is restored to the corresponding initial value, and the value of the carry counter of the function is incremented by one. And decrement the value of the carry counter of the previous function of this function by 1.
本發明提供的捷徑列表排序系統及方法,能夠根據捷徑列表中各個功能的使用頻率自動對捷徑列表進行排序,從而提高用戶使用捷徑列表的方便性。 The shortcut list sorting system and method provided by the invention can automatically sort the shortcut list according to the frequency of use of each function in the shortcut list, thereby improving the convenience of the user to use the shortcut list.
1‧‧‧移動終端 1‧‧‧Mobile terminal
10‧‧‧捷徑列表排序系統 10‧‧‧ Shortcut list sorting system
20‧‧‧捷徑列表 20‧‧‧ Shortcut list
30‧‧‧螢幕 30‧‧‧ screen
100‧‧‧初始化模組 100‧‧‧Initialization module
101‧‧‧監測模組 101‧‧‧Monitoring module
102‧‧‧第一排序模組 102‧‧‧First sorting module
103‧‧‧第二排序模組 103‧‧‧Second sorting module
104‧‧‧第三排序模組 104‧‧‧ third sorting module
105‧‧‧顯示模組 105‧‧‧Display module
901‧‧‧設置位置記錄器、計數器及進位計數器的初始值 901‧‧‧Set the initial value of the position recorder, counter and carry counter
S902‧‧‧使用捷徑列表中的功能、新增功能到捷徑列表或者刪除捷徑列表中的功能? S902‧‧‧Use the functions in the shortcut list, add new features to the shortcut list or delete the functions in the shortcut list?
S903‧‧‧將使用的功能的計數器加1 S903‧‧‧The counter of the function to be used is added 1
S904‧‧‧產生進位? S904‧‧‧ Generated a carry?
S905‧‧‧該功能排在第一位? S905‧‧‧ Is this feature ranked first?
S906‧‧‧將該功能的計數器恢復為初始值,將該功能的進位計數器加1 S906‧‧‧Restore the counter of this function to the initial value and add 1 to the carry counter of this function
S907‧‧‧該功能的前一位功能的進位計數器等於初始值? S907‧‧‧The carry-in counter of the previous function of this function is equal to the initial value?
S908‧‧‧交換該功能與其前一位功能的位置,並且將該功能的計數器恢復為初始值 S908‧‧‧ exchanges the function and the position of the previous function, and restores the counter of the function to the initial value
S909‧‧‧將該功能的計數器恢復為初始值,將該功能的進位計數器加1,將前一位功能的進位計數器減1 S909‧‧‧Restore the counter of this function to the initial value, add 1 to the carry counter of this function, and decrement the carry counter of the previous function by 1.
S910‧‧‧選擇新增位置? S910‧‧‧Select new location?
S911‧‧‧將新增的功能加入該選擇的位置,並將新增位置之後的各個功能的位置記錄器加1 S911‧‧‧Add new features to the selected location and add 1 to the location logger for each function after the new location
S912‧‧‧將新增的功能加入內定位置,並將該內定位置之後的各個功能的位置記錄器加1 S912‧‧‧Add the added function to the default position and add 1 to the position recorder of each function after the default position
S913‧‧‧將刪除的功能所在位置之後的各個功能的位置記錄器減1 S913‧‧‧Decrement the position recorder of each function after the deleted function location
S914‧‧‧顯示捷徑列表 S914‧‧‧Show shortcut list
圖1係本發明捷徑列表排序系統較佳實施例的應用環境圖。 1 is an application environment diagram of a preferred embodiment of a shortcut list sorting system of the present invention.
圖2係本發明捷徑列表排序系統較佳實施例的功能模組圖。 2 is a functional block diagram of a preferred embodiment of the shortcut list sorting system of the present invention.
圖3係捷徑列表的初始狀態示意圖。 Figure 3 is a schematic diagram of the initial state of the shortcut list.
圖4係不產生進位的排序示意圖。 Figure 4 is a schematic diagram of the sorting without generating a carry.
圖5係產生進位並且使用的功能排在第一位時的排序示意圖。 Figure 5 is a schematic diagram of the ranking when the carry is generated and the functions used are ranked first.
圖6係產生進位並且使用的功能的前一位功能的進位計數器的數值等於初始值時的排序示意圖。 Figure 6 is a schematic diagram of the sorting when the value of the carry counter of the previous bit function that generates the carry and used function is equal to the initial value.
圖7係產生進位並且使用的功能的前一位功能的進位計數器的數值不等於初始值時的排序示意圖。 Fig. 7 is a schematic diagram showing the sorting when the value of the carry counter of the previous bit function of the function that generates the carry and used is not equal to the initial value.
圖8係將新增的功能加入選擇的位置的排序示意圖。 Figure 8 is a sequence diagram showing the addition of new functions to selected locations.
圖9係沒有選擇新增位置時,將新增的功能加入第一位的排序示意圖。 Figure 9 is a sorting diagram of adding new functions to the first place when no new location is selected.
圖10係刪除捷徑列表中的一個功能的排序示意圖。 Figure 10 is a sequence diagram for deleting a function in the shortcut list.
圖11係本發明捷徑列表排序方法較佳實施例的流程圖。 11 is a flow chart of a preferred embodiment of the shortcut list sorting method of the present invention.
參閱圖1所示,為本發明捷徑列表排序系統較佳實施例的應用環境圖。所述捷徑列表排序系統10應用於移動終端1。該移動終端1可以為手機、個人數位助理(PDA)、數碼相機等可擕式電子設備。該移動終端1還包括捷徑列表20及螢幕30。用戶將常用的功能放入捷徑列表20,從而能夠快速啟動捷徑列表20中的功能。所述捷徑列表排序系統10用於根據捷徑列表20中各個功能的使用頻率自動對捷徑列表20進行排序。所述螢幕30用於顯示捷徑列表20。 Referring to FIG. 1, an application environment diagram of a preferred embodiment of a shortcut list sorting system according to the present invention is shown. The shortcut list sorting system 10 is applied to the mobile terminal 1. The mobile terminal 1 can be a portable electronic device such as a mobile phone, a personal digital assistant (PDA), or a digital camera. The mobile terminal 1 also includes a shortcut list 20 and a screen 30. The user puts frequently used functions into the shortcut list 20 so that the functions in the shortcut list 20 can be quickly launched. The shortcut list sorting system 10 is configured to automatically sort the shortcut list 20 according to the frequency of use of each function in the shortcut list 20. The screen 30 is used to display the shortcut list 20.
參閱圖2所示,為本發明捷徑列表排序系統較佳實施例的功能模組圖。所述捷徑列表排序系統10包括初始化模組100、監測模組 101、第一排序模組102、第二排序模組103、第三排序模組104及顯示模組105。 Referring to FIG. 2, it is a functional module diagram of a preferred embodiment of the shortcut list sorting system of the present invention. The shortcut list sorting system 10 includes an initialization module 100 and a monitoring module The first sorting module 102, the second sorting module 103, the third sorting module 104, and the display module 105.
在本發明中,利用三個參數來對捷徑列表20進行排序。這三個參數為計數器、進位計數器和位置記錄器。計數器和進位計數器用於記錄各個功能的使用次數。當某一功能的計數器的數值大於預先設定的臨界值時產生進位。例如,假設預先設定的臨界值為4,則當某一功能的計數器的數值大於4時產生進位。進位計數器用於記錄各個功能的進位次數。位置記錄器用來記錄各個功能在捷徑列表20中的一個位置標記。 In the present invention, the shortcut list 20 is ordered using three parameters. These three parameters are the counter, the carry counter, and the position logger. Counters and carry counters are used to record the number of uses of each function. A carry occurs when the value of a counter of a function is greater than a preset threshold. For example, assuming a preset threshold of 4, a carry is generated when the value of a counter of a certain function is greater than 4. The carry counter is used to record the number of carryes for each function. The location recorder is used to record a location tag for each function in the shortcut list 20.
所述初始化模組100用於根據捷徑列表20中各個功能的排列次序分別設置各個功能的位置記錄器、計數器及進位計數器的初始值。在本實施例中,將某一功能的位置記錄器的初始值設置為與該功能在捷徑列表20中的排列次序相同,將每一功能的計數器及進位計數器的初始值設置為0。例如,捷徑列表20中排在第一位的是音樂播放器,則初始化模組100設置音樂播放器的位置記錄器的初始值為1,設置音樂播放器的計數器及進位計數器的初始值為0;排在第二位的是計算器,則初始化模組100設置計算器的位置記錄器的初始值為2,設置計算器的計數器及進位計數器的初始值為0。參閱圖3所示,為捷徑列表20的初始狀態示意圖。圖中Item A、Item B、Item C、Item D、Item E為捷徑列表20的前五個功能。 The initialization module 100 is configured to separately set an initial value of a position recorder, a counter, and a carry counter of each function according to an arrangement order of each function in the shortcut list 20. In the present embodiment, the initial value of the position recorder of a certain function is set to be the same as the arrangement order of the function in the shortcut list 20, and the initial value of the counter of each function and the carry counter is set to zero. For example, if the music player is in the first place in the shortcut list 20, the initialization module 100 sets the initial value of the position recorder of the music player to 1, and sets the initial value of the counter and the carry counter of the music player to 0. The second place is the calculator. The initialization module 100 sets the calculator's position recorder to an initial value of 2, and sets the calculator's counter and the carry counter to an initial value of zero. Referring to FIG. 3, it is a schematic diagram of the initial state of the shortcut list 20. In the figure, Item A, Item B, Item C, Item D, and Item E are the first five functions of the shortcut list 20.
所述監測模組101用於監測用戶是否使用捷徑列表20中的功能、新增功能到捷徑列表20或者刪除捷徑列表20中的功能。 The monitoring module 101 is configured to monitor whether the user uses the functions in the shortcut list 20, add new functions to the shortcut list 20, or delete the functions in the shortcut list 20.
所述第一排序模組102用於當用戶使用捷徑列表20中的功能時, 利用各個功能的計數器、進位計數器及位置記錄器對捷徑列表20進行排序。具體而言,當監測到用戶使用捷徑列表20中的某一個功能時,首先,第一排序模組102將該功能的計數器的數值加1。然後,第一排序模組102判斷該功能的計數器的數值是否大於預先設定的臨界值以判斷是否產生進位。在本實施例中,以計數器的臨界值為4進行說明。若不產生進位,則結束排序。參閱圖4所示,為不產生進位的排序示意圖。圖中,使用Item B之前,Item B的計數器的數值等於0,使用Item B之後,Item B的計數器的數值等於1。 The first sorting module 102 is configured to use when a user uses a function in the shortcut list 20, The shortcut list 20 is sorted using counters, carry counters, and position recorders for each function. Specifically, when it is monitored that the user uses one of the functions in the shortcut list 20, first, the first sorting module 102 increments the value of the counter of the function by one. Then, the first sorting module 102 determines whether the value of the counter of the function is greater than a preset threshold to determine whether a carry is generated. In the present embodiment, the description is made with the threshold value of the counter being 4. If no carry is generated, the sorting is ended. Referring to FIG. 4, it is a sorting diagram that does not generate a carry. In the figure, before using Item B, the value of the counter of Item B is equal to 0, and after using Item B, the value of the counter of Item B is equal to 1.
若產生進位,則第一排序模組102判斷該功能在捷徑列表20中是否排在第一位,在本實施例中,即判斷該功能的位置記錄器的數值是否等於1。若該功能在捷徑列表20中排在第一位,則第一排序模組102將該功能的計數器恢復為相對應的初始值,將該功能的進位計數器的數值加1,並結束排序。在本實施例中,計數器相對應的初始值為0。參閱圖5所示,為產生進位並且使用的功能排在第一位時的排序示意圖。圖中,使用Item A之前,Item A的計數器的數值為4,進位計數器的數值為0;使用Item A之後,Item A的計數器的數值為0,進位計數器的數值為1。 If a carry occurs, the first sorting module 102 determines whether the function is ranked first in the shortcut list 20. In this embodiment, it is determined whether the value of the location recorder of the function is equal to one. If the function is ranked first in the shortcut list 20, the first sorting module 102 restores the counter of the function to the corresponding initial value, increments the value of the carry counter of the function by one, and ends the sorting. In this embodiment, the initial value corresponding to the counter is zero. Referring to Figure 5, a schematic diagram of the ordering in order to generate a carry and use the function in the first place. In the figure, before using Item A, the value of the counter of Item A is 4, and the value of the carry counter is 0; after using Item A, the value of the counter of Item A is 0, and the value of the carry counter is 1.
若該功能在捷徑列表20中不排在第一位,則第一排序模組102判斷該功能的前一位功能的進位計數器的數值是否等於相對應的初始值,在本實施例中,即判斷是否等於0。若等於初始值,則第一排序模組102交換該功能與其前一位功能的位置,即將該功能的位置記錄器的數值減1,將該功能的計數器的數值恢復為相對應的初始值,即0,並且將前一位功能的位置記錄器的數值加1。 參閱圖6所示,為產生進位並且使用的功能的前一位功能的進位計數器等於相對應的初始值時的排序示意圖。圖中,使用Item D之前,Item D的位置記錄器及計數器的數值均為4;使用Item D之後,Item D的位置記錄器的數值為3,計數器的數值為0。 If the function is not ranked first in the shortcut list 20, the first sorting module 102 determines whether the value of the carry counter of the previous function of the function is equal to the corresponding initial value, in this embodiment, Determine if it is equal to 0. If it is equal to the initial value, the first sorting module 102 exchanges the position of the function and its previous function, that is, the value of the position recorder of the function is decremented by 1, and the value of the counter of the function is restored to the corresponding initial value. That is, 0, and the value of the position recorder of the previous function is incremented by one. Referring to FIG. 6, a ranking diagram is shown when the carry counter of the previous bit function of the function that generates the carry and is used is equal to the corresponding initial value. In the figure, before using Item D, the value of the position recorder and counter of Item D is 4; after using Item D, the value of the position recorder of Item D is 3, and the value of the counter is 0.
若該功能的前一位功能的進位計數器的數值不等於相對應的初始值,則第一排序模組102將該功能的計數器的數值恢復為相對應的初始值,將該功能的進位計數器的數值加1,並且將前一位功能的進位計數器的數值減1。參閱圖7所示,為產生進位並且使用的功能的前一位功能的進位計數器的數值不等於初始值時的排序示意圖。圖中,使用Item B之前,Item B的計數器的數值為4,進位計數器的數值為0,Item A的進位計數器的數值為1;使用Item B之後,Item B的計數器的數值為0,進位計數器的數值為1,Item A的進位計數器的數值為0。 If the value of the carry counter of the previous function of the function is not equal to the corresponding initial value, the first sorting module 102 restores the value of the counter of the function to the corresponding initial value, and the carry counter of the function The value is incremented by one and the value of the carry counter of the previous function is decremented by one. Referring to FIG. 7, a sorting diagram is shown when the value of the carry counter of the previous bit function of the function that generates the carry and is used is not equal to the initial value. In the figure, before using Item B, the value of the counter of Item B is 4, the value of the carry counter is 0, the value of the carry counter of Item A is 1; after the use of Item B, the value of the counter of Item B is 0, the carry counter The value of the carry counter is 1, and the value of the carry counter of Item A is 0.
所述第二排序模組103用於當新增功能到捷徑列表20時,利用各個功能的計數器、進位計數器及位置記錄器對捷徑列表20進行排序。若新增一個功能到捷徑列表20,則第二排序模組103判斷是否選擇新增位置。若選擇新增位置,則第二排序模組103根據該選擇的位置設置新增的功能的位置記錄器、計數器及進位計數器的初始值,並且將新增位置之後的各個功能的位置記錄器的數值都加1。新增功能的計數器及進位計數器的初始值設置為與初始化模組100設置的已有功能的計數器及進位計數器的初始值相同,例如均為0。參閱圖8所示,為將新增的功能加入選擇的位置的排序示意圖。圖中新增了一個功能Item N,選擇將其加入第三位。若沒有選擇新增位置,則第二排序模組103將新增的功能加入 一個內定位置,設置新增的功能的計數器及進位計數器的初始值,例如0,並將該內定位置之後的各個功能的位置記錄器的數值都加1。所述內定的位置可以設置為捷徑列表20的任意一個位置。在本實施例中,若沒有選擇新增位置,第二排序模組103將新增的功能加入捷徑列表20的第一位。參閱圖9所示,為沒有選擇新增位置時,將新增的功能加入第一位的排序示意圖,圖中新增Item N。 The second sorting module 103 is configured to sort the shortcut list 20 by using a counter, a carry counter and a position recorder of each function when adding a function to the shortcut list 20. If a function is added to the shortcut list 20, the second sorting module 103 determines whether to select a new location. If the new location is selected, the second sorting module 103 sets the initial value of the location recorder, the counter, and the carry counter of the newly added function according to the selected location, and adds the location recorder of each function after the newly added location. The value is incremented by 1. The initial value of the counter of the newly added function and the carry counter is set to be the same as the initial value of the counter of the existing function set by the initialization module 100 and the carry counter, for example, both are 0. See Figure 8 for a sorted view of adding new features to the selected location. A new feature, Item N, has been added to the picture and you have chosen to add it to the third place. If the new location is not selected, the second sorting module 103 adds the added function. A default position, set the counter of the newly added function and the initial value of the carry counter, such as 0, and increase the value of the position recorder of each function after the default position by one. The predetermined position may be set to any one of the shortcut list 20. In this embodiment, if the new location is not selected, the second sorting module 103 adds the newly added function to the first position of the shortcut list 20. Referring to FIG. 9, when the new location is not selected, the added function is added to the first-order sorting diagram, and Item N is added in the figure.
所述第三排序模組104用於當用戶刪除捷徑列表20中的一個功能時,利用各個功能的計數器、進位計數器及位置記錄器對捷徑列表20進行排序。當刪除捷徑列表20中的一個功能,第三排序模組104將所刪除的功能所在位置之後的各個功能的位置記錄器的數值都減1。參閱圖10所示,為刪除捷徑列表20中的一個功能的排序示意圖。圖中,刪除Item C之前,Item C排在第四位;刪除Item C之後,Item C之後的各個功能的位置記錄器都減1,即都往前移動一個位置。 The third sorting module 104 is configured to sort the shortcut list 20 by using a counter, a carry counter and a position recorder of each function when the user deletes a function in the shortcut list 20. When a function in the shortcut list 20 is deleted, the third sorting module 104 decrements the value of the position recorder of each function after the position of the deleted function by one. Referring to FIG. 10, a sorting diagram for deleting a function in the shortcut list 20 is shown. In the figure, before deleting Item C, Item C is ranked fourth; after deleting Item C, the position recorder of each function after Item C is decremented by 1, that is, one position is moved forward.
所述顯示模組105用於根據捷徑列表20中各個功能的位置記錄器的數值將捷徑列表20顯示在移動終端1的螢幕30上。 The display module 105 is configured to display the shortcut list 20 on the screen 30 of the mobile terminal 1 according to the value of the location recorder of each function in the shortcut list 20.
參閱圖11所示,為本發明捷徑列表排序方法較佳實施例的流程圖。 Referring to FIG. 11, a flowchart of a preferred embodiment of a shortcut list sorting method according to the present invention is shown.
步驟S901,初始化模組100根據捷徑列表20中各個功能的排列次序設置各個功能的位置記錄器、計數器及進位計數器的初始值。在本實施例中,將某一功能的位置記錄器的初始值設置為與該功能在捷徑列表20中的排列次序相同,將每一功能的計數器及進位計數器的初始值設置為0。例如,捷徑列表20中排在第一位的是 音樂播放器,則初始化模組100設置音樂播放器的位置記錄器的初始值為1,設置音樂播放器的計數器及進位計數器的初始值為0;排在第二位的是計算器,則初始化模組100設置計算器的位置記錄器的初始值為2,設置計算器的計數器及進位計數器的初始值為0。參閱圖3所示,為捷徑列表20的初始狀態示意圖。圖中Item A、Item B、Item C、Item D、Item E為捷徑列表20的前五個功能。 In step S901, the initialization module 100 sets initial values of the position recorder, the counter, and the carry counter of each function according to the arrangement order of the functions in the shortcut list 20. In the present embodiment, the initial value of the position recorder of a certain function is set to be the same as the arrangement order of the function in the shortcut list 20, and the initial value of the counter of each function and the carry counter is set to zero. For example, the first place in the shortcut list 20 is The music player, the initialization module 100 sets the initial value of the position recorder of the music player to 1, sets the initial value of the counter and the carry counter of the music player to 0; the calculator in the second place initializes The module 100 sets the calculator's position recorder to an initial value of 2, and sets the calculator's counter and the carry counter to an initial value of zero. Referring to FIG. 3, it is a schematic diagram of the initial state of the shortcut list 20. In the figure, Item A, Item B, Item C, Item D, and Item E are the first five functions of the shortcut list 20.
步驟S902,監測模組101監測用戶是否使用捷徑列表20中的功能、新增功能到捷徑列表20或者刪除捷徑列表20中的功能。若使用捷徑列表20中的功能,則轉向步驟S903;若新增功能到捷徑列表20,則轉向步驟S910;若刪除捷徑列表20中的功能,則轉向步驟S913。 In step S902, the monitoring module 101 monitors whether the user uses the function in the shortcut list 20, adds a new function to the shortcut list 20, or deletes the function in the shortcut list 20. If the function in the shortcut list 20 is used, the process goes to step S903; if the function is added to the shortcut list 20, the process goes to step S910; if the function in the shortcut list 20 is deleted, the process goes to step S913.
步驟S903,若在步驟S902中監測到用戶使用捷徑列表20中的功能,則第一排序模組102將該功能的計數器的數值加1。 In step S903, if it is monitored in step S902 that the user uses the function in the shortcut list 20, the first sorting module 102 increments the value of the counter of the function by one.
步驟S904,第一排序模組102判斷該功能的計數器的數值是否大於預先設定的臨界值以判斷是否產生進位。若不產生進位,則結束流程。在本實施例中,以計數器的臨界值為4進行說明。若不產生進位,則結束排序。參閱圖4所示,為不產生進位的排序示意圖。圖中,使用Item B之前,Item B的計數器的數值等於0,使用Item B之後,Item B的計數器的數值等於1。 In step S904, the first sorting module 102 determines whether the value of the counter of the function is greater than a preset threshold to determine whether a carry is generated. If no carry is generated, the process ends. In the present embodiment, the description is made with the threshold value of the counter being 4. If no carry is generated, the sorting is ended. Referring to FIG. 4, it is a sorting diagram that does not generate a carry. In the figure, before using Item B, the value of the counter of Item B is equal to 0, and after using Item B, the value of the counter of Item B is equal to 1.
步驟S905,若產生進位,則第一排序模組102判斷該功能在捷徑列表20中是否排在第一位,在本實施例中,即判斷該功能的位置記錄器的數值是否等於1。 In step S905, if a carry is generated, the first sorting module 102 determines whether the function is ranked first in the shortcut list 20. In this embodiment, it is determined whether the value of the location recorder of the function is equal to 1.
步驟S906,若該功能在捷徑列表20中排在第一位,則第一排序模組102將該功能的計數器恢復為相對應的初始值,將該功能的進位計數器的數值加1,並結束流程。在本實施例中,計數器相對應的初始值為0。參閱圖5所示,為產生進位並且使用的功能排在第一位時的排序示意圖。圖中,使用Item A之前,Item A的計數器的數值為4,進位計數器的數值為0;使用Item A之後,Item A的計數器的數值為0,進位計數器的數值為1。 Step S906, if the function is ranked first in the shortcut list 20, the first sorting module 102 restores the counter of the function to a corresponding initial value, increments the value of the carry counter of the function by 1, and ends. Process. In this embodiment, the initial value corresponding to the counter is zero. Referring to Figure 5, a schematic diagram of the ordering in order to generate a carry and use the function in the first place. In the figure, before using Item A, the value of the counter of Item A is 4, and the value of the carry counter is 0; after using Item A, the value of the counter of Item A is 0, and the value of the carry counter is 1.
步驟S907,若該功能在捷徑列表20中不排在第一位,則第一排序模組102判斷該功能的前一位功能的進位計數器的數值是否等於相對應的初始值,在本實施例中,即判斷是否等於0。 In step S907, if the function is not ranked first in the shortcut list 20, the first sorting module 102 determines whether the value of the carry counter of the previous function of the function is equal to the corresponding initial value, in this embodiment. In the middle, it is judged whether it is equal to 0.
步驟S908,若等於初始值,則第一排序模組102交換該功能與其前一位功能的位置,即將該功能的位置記錄器的數值減1,將該功能的計數器的數值恢復為相對應的初始值,並且將前一位功能的位置記錄器的數值加1。參閱圖6所示,為產生進位並且使用的功能的前一位功能的進位計數器等於相對應的初始值時的排序示意圖。圖中,使用Item D之前,Item D的位置記錄器及計數器的數值均為4;使用Item D之後,Item D的位置記錄器的數值為3,計數器的數值為0。 Step S908, if equal to the initial value, the first sorting module 102 exchanges the position of the function and its previous function, that is, the value of the position recorder of the function is decremented by 1, and the value of the counter of the function is restored to the corresponding value. The initial value and the value of the position recorder of the previous function is incremented by one. Referring to FIG. 6, a ranking diagram is shown when the carry counter of the previous bit function of the function that generates the carry and is used is equal to the corresponding initial value. In the figure, before using Item D, the value of the position recorder and counter of Item D is 4; after using Item D, the value of the position recorder of Item D is 3, and the value of the counter is 0.
步驟S909,若該功能的前一位功能的進位計數器的數值不等於相對應的初始值,則第一排序模組102將該功能的計數器的數值恢復為相對應的初始值,將該功能的進位計數器的數值加1,並且將前一位功能的進位計數器的數值減1結束流程。參閱圖7所示,為產生進位並且使用的功能的前一位功能的進位計數器的數值不等於初始值時的排序示意圖。圖中,使用Item B之前,Item B的 計數器的數值為4,進位計數器的數值為0,Item A的進位計數器的數值為1;使用Item B之後,Item B的計數器的數值為0,進位計數器的數值為1,Item A的進位計數器的數值為0。 Step S909, if the value of the carry counter of the previous function of the function is not equal to the corresponding initial value, the first sorting module 102 restores the value of the counter of the function to a corresponding initial value, and the function is The value of the carry counter is incremented by one, and the value of the carry counter of the previous function is decremented by one to end the flow. Referring to FIG. 7, a sorting diagram is shown when the value of the carry counter of the previous bit function of the function that generates the carry and is used is not equal to the initial value. In the figure, before using Item B, Item B The value of the counter is 4, the value of the carry counter is 0, the value of the carry counter of Item A is 1; after using Item B, the value of the counter of Item B is 0, the value of the carry counter is 1, and the carry counter of Item A The value is 0.
步驟S910,若在步驟S902中監測到用戶新增一個功能到捷徑列表20,則第二排序模組103判斷是否選擇新增位置。 In step S910, if it is detected in step S902 that the user adds a function to the shortcut list 20, the second sorting module 103 determines whether to select a new location.
步驟S911,若選擇新增位置,則第二排序模組103根據該選擇的位置設置新增的功能的位置記錄器、計數器及進位計數器的初始值,並且將新增位置之後的各個功能的位置記錄器的數值都加1。新增功能的計數器及進位計數器的初始值設置為與初始化模組100設置的計數器及進位計數器的初始值相同,例如均為0。參閱圖8所示,為將新增的功能加入選擇的位置的排序示意圖。圖中新增了一個功能Item N,選擇將其加入第三位。 Step S911, if the newly added position is selected, the second sorting module 103 sets the initial values of the position recorder, the counter and the carry counter of the newly added function according to the selected position, and the position of each function after the newly added position is added. The value of the logger is incremented by 1. The initial value of the counter of the newly added function and the carry counter is set to be the same as the initial value of the counter and the carry counter set by the initialization module 100, for example, both are 0. See Figure 8 for a sorted view of adding new features to the selected location. A new feature, Item N, has been added to the picture and you have chosen to add it to the third place.
步驟S912,若沒有選擇新增位置,則第二排序模組103將新增的功能加入一個內定位置,設置新增的功能的計數器及進位計數器的初始值,例如0,並將該內定位置之後的各個功能的位置記錄器的數值都加1。所述內定的位置可以設置為捷徑列表20的任意一個位置。在本實施例中,若沒有選擇新增位置,第二排序模組103將新增的功能加入捷徑列表20的第一位。參閱圖9所示,為沒有選擇新增位置時,將新增的功能加入第一位的排序示意圖,圖中新增Item N。 Step S912, if the new location is not selected, the second sorting module 103 adds the newly added function to a default position, sets the counter of the newly added function and the initial value of the carry counter, for example, 0, and after the default position The value of the position recorder for each function is incremented by one. The predetermined position may be set to any one of the shortcut list 20. In this embodiment, if the new location is not selected, the second sorting module 103 adds the newly added function to the first position of the shortcut list 20. Referring to FIG. 9, when the new location is not selected, the added function is added to the first-order sorting diagram, and Item N is added in the figure.
步驟S913,若在步驟S902中監測到用戶刪除捷徑列表20中的功能,則第三排序模組104將所刪除的功能所在位置之後的各個功能的位置記錄器的數值都減1。參閱圖10所示,為刪除捷徑列表20中的一個功能的排序示意圖。圖中,刪除Item C之前,Item C排 在第四位;刪除Item C之後,Item C之後的各個功能的位置記錄器都減1,即都往前移動一個位置。 In step S913, if it is detected in step S902 that the user deletes the function in the shortcut list 20, the third sorting module 104 decrements the value of the position recorder of each function after the position of the deleted function by one. Referring to FIG. 10, a sorting diagram for deleting a function in the shortcut list 20 is shown. In the figure, before deleting Item C, Item C In the fourth place; after deleting Item C, the position recorder of each function after Item C is decremented by 1, that is, one position is moved forward.
步驟S914,顯示模組105根據捷徑列表20中各個功能的位置記錄器的數值將捷徑列表20顯示在移動終端1的螢幕30上。 In step S914, the display module 105 displays the shortcut list 20 on the screen 30 of the mobile terminal 1 based on the value of the location recorder of each function in the shortcut list 20.
在上述實施例中,僅當捷徑列表20中各個功能的位置記錄器發生變化時,即捷徑列表20中各個功能的位置發生變化時,顯示模組105將變化後的捷徑列表20進行顯示。在其他的實施例中,可以每次排序後,即使捷徑列表20中各個功能的位置未發生變化,都將捷徑列表20進行顯示。 In the above embodiment, the display module 105 displays the changed shortcut list 20 only when the position recorder of each function in the shortcut list 20 changes, that is, when the position of each function in the shortcut list 20 changes. In other embodiments, the shortcut list 20 may be displayed after each sorting even if the location of each function in the shortcut list 20 has not changed.
綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述者僅為本發明之較佳實施例,本發明之範圍並不以上述實施例為限,舉凡熟悉本案技藝之人士援依本發明之精神所作之等效修飾或變化,皆應涵蓋於以下申請專利範圍內。 In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited to the above-described embodiments, and equivalent modifications or variations made by those skilled in the art in light of the spirit of the present invention are It should be covered by the following patent application.
S901‧‧‧設置位置記錄器、計數器及進位計數器的初始值 S901‧‧‧Set the initial value of the position recorder, counter and carry counter
S902‧‧‧使用捷徑列表中的功能、新增功能到捷徑列表或者刪除捷徑列表中的功能? S902‧‧‧Use the functions in the shortcut list, add new features to the shortcut list or delete the functions in the shortcut list?
S903‧‧‧將使用的功能的計數器加1 S903‧‧‧The counter of the function to be used is added 1
S904‧‧‧產生進位? S904‧‧‧ Generated a carry?
S905‧‧‧該功能排在第一位? S905‧‧‧ Is this feature ranked first?
S906‧‧‧將該功能的計數器恢復為初始值,將該功能的進位計數器加1 S906‧‧‧Restore the counter of this function to the initial value and add 1 to the carry counter of this function
S907‧‧‧該功能的前一位功能的進位計數器等於初始值? S907‧‧‧The carry-in counter of the previous function of this function is equal to the initial value?
S908‧‧‧交換該功能與其前一位功能的位置,並且將該功能的計數器恢復為初始值 S908‧‧‧ exchanges the function and the position of the previous function, and restores the counter of the function to the initial value
S909‧‧‧將該功能的計數器恢復為初始值,將該功能的進位計數器加1,將前一位功能的進位計數器減1 S909‧‧‧Restore the counter of this function to the initial value, add 1 to the carry counter of this function, and decrement the carry counter of the previous function by 1.
S910‧‧‧選擇新增位置? S910‧‧‧Select new location?
S911‧‧‧將新增的功能加入該選擇的位置,並將新增位置之後的各個功能的位置記錄器加1 S911‧‧‧Add new features to the selected location and add 1 to the location logger for each function after the new location
S912‧‧‧將新增的功能加入內定位置,並將該內定位置之後的各個功能的位置記錄器加1 S912‧‧‧Add the added function to the default position and add 1 to the position recorder of each function after the default position
S913‧‧‧將刪除的功能所在位置之後的各個功能的位置記錄器減1 S913‧‧‧Decrement the position recorder of each function after the deleted function location
S914‧‧‧顯示捷徑列表 S914‧‧‧Show shortcut list
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW97142103A TWI469614B (en) | 2008-10-31 | 2008-10-31 | System and method for sequencing shortcuts |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW97142103A TWI469614B (en) | 2008-10-31 | 2008-10-31 | System and method for sequencing shortcuts |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201018188A TW201018188A (en) | 2010-05-01 |
TWI469614B true TWI469614B (en) | 2015-01-11 |
Family
ID=44831121
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW97142103A TWI469614B (en) | 2008-10-31 | 2008-10-31 | System and method for sequencing shortcuts |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI469614B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010019338A1 (en) * | 1997-01-21 | 2001-09-06 | Roth Steven William | Menu management mechanism that displays menu items based on multiple heuristic factors |
US20040179016A1 (en) * | 2003-03-11 | 2004-09-16 | Chris Kiser | DRAM controller with fast page mode optimization |
TW200504534A (en) * | 2003-07-16 | 2005-02-01 | America Online Inc | Dynamic database reordering system |
TW200634557A (en) * | 2005-03-22 | 2006-10-01 | Microsoft Corp | Operating system program launch menu search |
CN101192128A (en) * | 2006-12-01 | 2008-06-04 | 财团法人资讯工业策进会 | Mobile electronic device and its method capable of dynamically arranging functional item display sequency |
CN101207862A (en) * | 2006-12-19 | 2008-06-25 | 乐金电子(中国)研究开发中心有限公司 | Shortcut ranking method |
-
2008
- 2008-10-31 TW TW97142103A patent/TWI469614B/en not_active IP Right Cessation
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010019338A1 (en) * | 1997-01-21 | 2001-09-06 | Roth Steven William | Menu management mechanism that displays menu items based on multiple heuristic factors |
US20040179016A1 (en) * | 2003-03-11 | 2004-09-16 | Chris Kiser | DRAM controller with fast page mode optimization |
TW200504534A (en) * | 2003-07-16 | 2005-02-01 | America Online Inc | Dynamic database reordering system |
TW200634557A (en) * | 2005-03-22 | 2006-10-01 | Microsoft Corp | Operating system program launch menu search |
CN101192128A (en) * | 2006-12-01 | 2008-06-04 | 财团法人资讯工业策进会 | Mobile electronic device and its method capable of dynamically arranging functional item display sequency |
CN101207862A (en) * | 2006-12-19 | 2008-06-25 | 乐金电子(中国)研究开发中心有限公司 | Shortcut ranking method |
Also Published As
Publication number | Publication date |
---|---|
TW201018188A (en) | 2010-05-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100806109B1 (en) | Method and apparatus for processing data of mobile terminal | |
US8577417B2 (en) | Methods, devices, and computer program products for limiting search scope based on navigation of a menu screen | |
KR20060133389A (en) | Method and apparatus for processing data of mobile terminal | |
US20100042949A1 (en) | Menu management system and method | |
JP2012027917A (en) | Electronic device and event displaying method for use by the same | |
CN101677338B (en) | Shortcut list ordering system and method | |
CN101867637A (en) | Method and terminal for dynamically generating standby interface | |
WO2012152867A1 (en) | Mobile device and method of managing applications for a mobile device | |
US10235017B2 (en) | Integrated media user interface | |
CN113037614B (en) | File sharing method and device, electronic equipment and storage medium | |
JP2023540340A (en) | Notification message display control method, device, electronic device and readable storage medium | |
CN105373580A (en) | Method and device for displaying subjects | |
CN110532231B (en) | File query method, file query device and terminal equipment | |
CN111310086A (en) | Page jump method and device and electronic equipment | |
TWI469614B (en) | System and method for sequencing shortcuts | |
US20100281425A1 (en) | Handling and displaying of large file collections | |
CN106815352B (en) | A kind of data push method and mobile terminal | |
CN113037609B (en) | Chat message deleting method and device | |
KR100635556B1 (en) | Method for providing User Interface on the Mobile-Phone | |
TWI509498B (en) | Methods and systems for page control with event display, and related computer program products | |
CN110134478B (en) | Scene conversion method and device of panoramic scene and terminal equipment | |
CN113821484A (en) | File processing method and device, electronic equipment and readable storage medium | |
CN107590230B (en) | Data list display method and mobile terminal | |
CN114741143B (en) | Notification display method and electronic equipment | |
KR100736092B1 (en) | Apparatus and method for displaying images |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |