Icon sorting and displaying method and terminal device
AssigneeHuawei Device Co., Ltd.
InventorsChangzhu Li, Yahui Wang, Lei Wang, Wenmei Gao, Shunan Fan, Xiaoqiang Lv
Life of this patent
Estimating the term…
Abstract
Embodiments of the present invention relate to the communications field and provide an icon sorting and displaying method, which can perform sorting according to both icon types and frequency of use so as to simplify user operations of searching for and selecting a frequently used icon. The method includes: sorting icons by type along a first direction; sorting icons of a same type by frequency of use along a second direction; and displaying the sorted icons on a screen. The embodiments of the present invention further provide a corresponding terminal device.
Claims14
An icon sorting and displaying method, comprising:
- performing a first sorting of icons by type along a first direction;
- performing a second sorting of icons belonging to a same type by frequency of use along a second direction, among the icons sorted according to the first sorting;
- and
- displaying the icons sorted according to the second sorting on a screen,
- wherein the performing the second sorting comprises:
- calculating a value of frequency of use of each icon belonging to the same type, and
- sorting each icon belonging to the same type according to the value of frequency of use of each icon belonging to the same type along the second direction,
- wherein the calculating the value of frequency of use of each icon belonging to the same type comprises:
- recording a number of times of using each icon belonging to the same type within a preset time and recording a duration of use each time, and
- for a first icon among a first plurality of icons belonging to the same type, calculating a value of frequency of use of the first icon according to a product of a first weight with a number of times of using the first icon, divided by a number of times of using the first plurality of icons, and summed with a product of a second weight with a duration of using the first icon, divided by a duration of using the first plurality of icons,
- wherein a sum of the first weight and the second weight is equal to one.
A terminal device, comprising:
- at least one processor, configured to perform a first sorting of icons by type along a first direction, and to perform a second sorting of icons belonging to a same type by frequency of use along a second direction, among the icons sorted according to the first sorting;
- and
- a display, configured to display on a screen the icons sorted according to the second sorting,
- wherein the at least one processor is further configured to:
- calculate a value of frequency of use of each icon belonging to the same type, and
- sort each icon belonging to the same type according to the value of frequency of use of each icon belonging to the same type along the second direction,
- wherein, to calculate the value of frequency of use of each icon belonging to the same type, the at least one processor is further configured to:
- record a number of times of using each icon belonging to the same type within a preset time and record a duration of use each time, and
- for a first icon among a first plurality of icons belonging to the same type, calculate a value of frequency of use of the first icon according to a product of a first weight with a number of times of using the first icon, divided by a number of times of using the first plurality of icons, and summed with a product of a second weight with a duration of using the first icon, divided by a duration of using the first plurality of icons,
- wherein a sum of the first weight and the second weight is equal to one.
Dependencies are inferred from the claim text.