CN107329754B - A kind of icon sorting method and terminal - Google Patents
A kind of icon sorting method and terminal Download PDFInfo
- Publication number
- CN107329754B CN107329754B CN201710510294.6A CN201710510294A CN107329754B CN 107329754 B CN107329754 B CN 107329754B CN 201710510294 A CN201710510294 A CN 201710510294A CN 107329754 B CN107329754 B CN 107329754B
- Authority
- CN
- China
- Prior art keywords
- application
- starting
- current
- weight value
- information
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
Abstract
本发明公开了一种图标排序方法及终端,该方法能够提高应用图标的排序准确度,该方法包括:当接收启动第一应用的启动指令时,获取接收启动指令的当前时间和第一启动参数;确定当前时间所属的第一统计时段,并将第一应用、第一统计时段和第一启动参数组成第一应用启动信息;将第一应用启动信息添加至应用排序信息库中,并在应用排序信息库中统计第一应用启动信息对应的第一启动次数;在预设排序时间到达时,确定到达预设排序时间的当前统计时间和当前统计参数,并根据当前统计时间、当前统计参数、应用排序信息库以及预设排序策略对预设排序时间对应的第二应用进行排序;将第二应用对应的第二应用图标按照排序结果在显示桌面上进行显示。
The invention discloses an icon sorting method and a terminal. The method can improve the sorting accuracy of application icons. The method includes: when receiving a starting instruction for starting a first application, acquiring the current time of receiving the starting instruction and a first starting parameter ; Determine the first statistical period to which the current time belongs, and form the first application startup information with the first application, the first statistical period and the first startup parameter; add the first application startup information to the application sorting information database, and in the application The sorting information database counts the first startup times corresponding to the first application startup information; when the preset sorting time arrives, the current statistical time and current statistical parameters that reach the preset sorting time are determined, and the current statistical time, current statistical parameters, The application sorting information base and the preset sorting strategy sort the second applications corresponding to the preset sorting time; the second application icons corresponding to the second applications are displayed on the display desktop according to the sorting results.
Description
技术领域technical field
本发明涉及电子应用领域,尤其涉及一种图标排序方法及终端。The invention relates to the field of electronic applications, in particular to an icon sorting method and a terminal.
背景技术Background technique
随着电子产业的快速发展,移动终端的智能化程度变得越来越高,用户在移动终端上安装的应用程序也越来越多。由于移动终端会将应用程序对应的应用程序图标显示在移动终端的显示桌面上,故,移动终端的显示桌面上的应用程序图标的数量也变得越来越多,导致了用户从大量的应用图标中查找待接入应用图标的速度变慢。With the rapid development of the electronic industry, the degree of intelligence of mobile terminals has become higher and higher, and more and more application programs are installed on the mobile terminals by users. Since the mobile terminal will display the application program icon corresponding to the application program on the display desktop of the mobile terminal, the number of application program icons on the display desktop of the mobile terminal also becomes more and more, resulting in users from a large number of applications The speed of finding the icon of the application to be connected in the icon is slowed down.
现有技术中,移动终端统计各应用程序的使用频率,并将各应用程序对应的应用图标按照使用频率从大到小进行排序。In the prior art, the mobile terminal counts the usage frequency of each application program, and sorts the application icons corresponding to each application program in descending order according to the usage frequency.
然而,由于现有技术中的移动终端是按照使用频率对应用图标进行排序的,故,当用户使用视频播放软件的次数最多时,移动终端就会将视频播放软件对应的应用图标排在排序队列的首位,但是,当移动终端的网络状态为第二代手机通信技术规格(2G,2-Generation wireless telephone technology)时,由于视频播放软件流量消耗大,使得用户使用视频播放软件的可能性大大降低,导致了排序准确度降低。However, since the mobile terminal in the prior art sorts the application icons according to the frequency of use, when the user uses the video playback software the most times, the mobile terminal will arrange the application icons corresponding to the video playback software in the sorting queue However, when the network status of the mobile terminal is the second generation mobile phone communication technology specification (2G, 2-Generation wireless telephone technology), due to the large traffic consumption of the video playback software, the possibility of users using the video playback software is greatly reduced. , resulting in a decrease in sorting accuracy.
发明内容SUMMARY OF THE INVENTION
为解决上述技术问题,本发明实施例期望提供一种图标排序方法及终端,能够提高应用图标的排序准确度。In order to solve the above technical problem, the embodiments of the present invention expect to provide an icon sorting method and terminal, which can improve the sorting accuracy of application icons.
本发明的技术方案是这样实现的:The technical scheme of the present invention is realized as follows:
本发明实施例提供一种图标排序方法及终端,所述方法包括:Embodiments of the present invention provide an icon sorting method and a terminal, and the method includes:
当接收启动第一应用的启动指令时,获取接收所述启动指令的当前时间和第一启动参数,所述第一启动参数包括接收所述启动指令的第一位置信息和第一网络状况;When receiving the startup instruction for starting the first application, obtain the current time and first startup parameter of receiving the startup instruction, where the first startup parameter includes the first location information and the first network condition for receiving the startup instruction;
基于预设统计时段集合确定所述当前时间所属的第一统计时段,并将所述第一应用、所述第一统计时段和所述第一启动参数组成第一应用启动信息,所述预设统计时段列表中包括所述第一统计时段;The first statistical period to which the current time belongs is determined based on the preset statistical period set, and the first application, the first statistical period and the first startup parameter are formed into first application startup information, and the preset The first statistical period is included in the list of statistical periods;
将所述第一应用启动信息添加至应用排序信息库中,并在所述应用排序信息库中统计所述第一应用启动信息对应的第一启动次数;adding the first application startup information to an application ranking information database, and counting the first startup times corresponding to the first application startup information in the application ranking information database;
在预设排序时间到达时,确定到达所述预设排序时间的当前统计时间和当前统计参数,并根据所述当前统计时间、所述当前统计参数、所述应用排序信息库以及预设排序策略对所述预设排序时间对应的第二应用进行排序;When the preset sorting time arrives, determine the current statistical time and the current statistical parameters that reach the preset sorting time, and determine the current statistical time, the current statistical parameters, the application sorting information base, and the preset sorting strategy according to the current statistical time, the current statistical parameters, the application sorting information base sorting the second applications corresponding to the preset sorting time;
将所述第二应用对应的第二应用图标按照排序结果在显示桌面上进行显示。The second application icon corresponding to the second application is displayed on the display desktop according to the sorting result.
在上述方法中,所述将所述第一应用启动信息添加至所述应用排序信息库中,并在所述应用排序信息库中统计所述第一应用对应的第一启动次数,包括:In the above method, the adding the first application startup information to the application ranking information database, and counting the first startup times corresponding to the first application in the application ranking information database, includes:
将所述第一应用启动信息和所述应用排序信息库进行匹配;matching the first application startup information with the application sorting information base;
当所述第一应用启动信息与所述应用排序信息库中的第二应用启动信息匹配时,将所述第一启动次数加一;When the first application startup information matches the second application startup information in the application sorting information base, add one to the first startup times;
当所述第一应用启动信息与所述第二应用启动信息不匹配时,将所述第一应用启动信息添加至所述应用排序信息库中,并将所述第一启动次数设置为一。When the first application startup information does not match the second application startup information, the first application startup information is added to the application sorting information base, and the first number of startup times is set to one.
在上述方法中,所述根据所述当前统计时间、所述当前统计参数、所述应用排序信息库以及预设排序策略对所述预设排序时间对应的第二应用进行排序,包括:In the above method, the sorting of the second applications corresponding to the preset sorting time according to the current statistical time, the current statistical parameters, the application sorting information database and the preset sorting strategy includes:
根据所述当前启动参数,从预设权重值列表中为当前启动参数类型中的启动参数确定第一权重值,所述当前启动参数为所述当前启动参数类型中所述预设排序时间到达时的启动参数,所述预设权重值列表与所述当前启动参数类型一一对应;According to the current startup parameter, a first weight value is determined for the startup parameter in the current startup parameter type from the preset weight value list, and the current startup parameter is when the preset sorting time in the current startup parameter type arrives the startup parameters, the preset weight value list corresponds to the current startup parameter type one-to-one;
从所述应用排序信息库中获取所述当前统计时段对应的所述第二应用,以及所述第二应用对应的历史启动参数和历史启动次数;Obtain the second application corresponding to the current statistical period, and the historical startup parameters and historical startup times corresponding to the second application from the application ranking information database;
根据所述第一权重值和所述历史启动次数,计算所述第二应用的排列系数,并根据所述排列系数对所述第二应用进行排列。According to the first weight value and the historical start times, an arrangement coefficient of the second application is calculated, and the second application is arranged according to the arrangement coefficient.
在上述方法中,所述根据所述当前启动参数,从预设权重值列表中为当前启动参数类型中的启动参数确定第一权重值,包括:In the above method, determining the first weight value for the startup parameter in the current startup parameter type from the preset weight value list according to the current startup parameter includes:
从所述预设权重值列表中为所述当前启动参数选择最大权重值;selecting a maximum weight value for the current startup parameter from the preset weight value list;
从所述预设权重值列表中,为所述当前启动参数类型中除所述当前启动参数外的其他启动参数,选择除所述最大权重值外的其他权重值;From the preset weight value list, for other startup parameters other than the current startup parameter in the current startup parameter type, select other weight values except the maximum weight value;
将所述最大权重值和所述其他权重值确定为所述第一权重值。The maximum weight value and the other weight values are determined as the first weight value.
在上述方法中,所述根据所述第一权重值和所述历史启动次数,计算所述第二应用的排列系数,包括:In the above method, calculating the arrangement coefficient of the second application according to the first weight value and the historical start times includes:
从所述第一权重值中确定所述历史启动参数对应的历史权重值;Determine the historical weight value corresponding to the historical startup parameter from the first weight value;
对所述历史权重值进行乘运算,计算出所述第二应用对应的第二权重值;Multiplying the historical weight value to calculate a second weight value corresponding to the second application;
根据所述第二权重值和所述历史启动次数,得到所述第二应用的所述排列系数。The ranking coefficient of the second application is obtained according to the second weight value and the historical start times.
本发明实施例提供一种终端,其特征在于,所述终端包括:处理器、显示器、存储器及通信总线;所述通信总线用于实现所述处理器和所述存储器之间的连接通信;所述显示器用于将所述第二应用对应的第二应用图标按照排序结果在显示桌面上进行显示,所述处理器用于执行所述存储器中存储的第二运行程序,以实现以下步骤:An embodiment of the present invention provides a terminal, characterized in that the terminal includes: a processor, a display, a memory, and a communication bus; the communication bus is used to implement connection and communication between the processor and the memory; The display is used to display the second application icon corresponding to the second application on the display desktop according to the sorting result, and the processor is used to execute the second running program stored in the memory to realize the following steps:
当接收启动第一应用的启动指令时,获取接收所述启动指令的当前时间和第一启动参数,所述第一启动参数包括接收所述启动指令的第一位置信息和第一网络状况;When receiving the startup instruction for starting the first application, obtain the current time and first startup parameter of receiving the startup instruction, where the first startup parameter includes the first location information and the first network condition for receiving the startup instruction;
基于预设统计时段集合确定所述当前时间所属的第一统计时段,并将所述第一应用、所述第一统计时段和所述第一启动参数组成第一应用启动信息,所述预设统计时段列表中包括所述第一统计时段;The first statistical period to which the current time belongs is determined based on the preset statistical period set, and the first application, the first statistical period and the first startup parameter are formed into first application startup information, and the preset The first statistical period is included in the list of statistical periods;
将所述第一应用启动信息添加至应用排序信息库中,并在所述应用排序信息库中统计所述第一应用启动信息对应的第一启动次数;adding the first application startup information to an application ranking information database, and counting the first startup times corresponding to the first application startup information in the application ranking information database;
在预设排序时间到达时,确定到达所述预设排序时间的当前统计时间和当前统计参数,并根据所述当前统计时间、所述当前统计参数、所述应用排序信息库以及预设排序策略对所述预设排序时间对应的第二应用进行排序。When the preset sorting time arrives, determine the current statistical time and the current statistical parameters that reach the preset sorting time, and determine the current statistical time, the current statistical parameters, the application sorting information base, and the preset sorting strategy according to the current statistical time, the current statistical parameters, the application sorting information base Sort the second applications corresponding to the preset sorting time.
在上述终端中,所述处理器,还用于将所述第一应用启动信息和所述应用排序信息库进行匹配;当所述第一应用启动信息与所述应用排序信息库中的第二应用启动信息匹配时,将所述第一启动次数加一;In the above terminal, the processor is further configured to match the first application startup information with the application sorting information base; when the first application starting information and the second application sorting information base When the application startup information matches, add one to the first number of startups;
所述当所述第一应用启动信息与所述第二应用启动信息不匹配时,将所述第一应用启动信息添加至所述应用排序信息库中,并将所述第一启动次数设置为一。when the first application startup information does not match the second application startup information, the first application startup information is added to the application sorting information database, and the first startup times are set to one.
在上述终端中,所述处理器,还用于根据所述当前启动参数,从预设权重值列表中为当前启动参数类型中的启动参数确定第一权重值,所述当前启动参数为所述当前启动参数类型中所述预设排序时间到达时的启动参数,所述预设权重值列表与所述当前启动参数类型一一对应;In the above terminal, the processor is further configured to determine, according to the current startup parameter, a first weight value for startup parameters in the current startup parameter type from a preset weight value list, where the current startup parameter is the In the current startup parameter type, the startup parameter when the preset sorting time arrives, and the preset weight value list corresponds to the current startup parameter type one-to-one;
从所述应用排序信息库中获取所述当前统计时段对应的所述第二应用,以及所述第二应用对应的历史启动参数和历史启动次数;Obtain the second application corresponding to the current statistical period, and the historical startup parameters and historical startup times corresponding to the second application from the application ranking information database;
根据所述第一权重值和所述历史启动次数,计算所述第二应用的排列系数,并根据所述排列系数对所述第二应用进行排列。According to the first weight value and the historical start times, an arrangement coefficient of the second application is calculated, and the second application is arranged according to the arrangement coefficient.
在上述终端中,所述处理器,还用于从所述预设权重值列表中为所述当前启动参数选择最大权重值;In the above terminal, the processor is further configured to select a maximum weight value for the current startup parameter from the preset weight value list;
从所述预设权重值列表中,为所述当前启动参数类型中除所述当前启动参数外的其他启动参数,选择除所述最大权重值外的其他权重值;From the preset weight value list, for other startup parameters other than the current startup parameter in the current startup parameter type, select other weight values except the maximum weight value;
将所述最大权重值和所述其他权重值确定为所述第一权重值;determining the maximum weight value and the other weight values as the first weight value;
所述处理器,还用于从所述第一权重值中确定所述历史启动参数对应的历史权重值;The processor is further configured to determine a historical weight value corresponding to the historical startup parameter from the first weight value;
对所述历史权重值进行乘运算,计算出所述第二应用对应的第二权重值;Multiplying the historical weight value to calculate a second weight value corresponding to the second application;
根据所述第二权重值和所述历史启动次数,得到所述第二应用的所述排列系数。The ranking coefficient of the second application is obtained according to the second weight value and the historical start times.
本发明实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现以下步骤:An embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the following steps:
当接收启动第一应用的启动指令时,获取接收所述启动指令的当前时间和第一启动参数,所述第一启动参数包括接收所述启动指令的第一位置信息和第一网络状况;When receiving the startup instruction for starting the first application, obtain the current time and first startup parameter of receiving the startup instruction, where the first startup parameter includes the first location information and the first network condition for receiving the startup instruction;
基于预设统计时段集合确定所述当前时间所属的第一统计时段,并将所述第一应用、所述第一统计时段和所述第一启动参数组成第一应用启动信息,所述预设统计时段列表中包括所述第一统计时段;The first statistical period to which the current time belongs is determined based on the preset statistical period set, and the first application, the first statistical period and the first startup parameter are formed into first application startup information, and the preset The first statistical period is included in the list of statistical periods;
将所述第一应用启动信息添加至应用排序信息库中,并在所述应用排序信息库中统计所述第一应用启动信息对应的第一启动次数;adding the first application startup information to an application ranking information database, and counting the first startup times corresponding to the first application startup information in the application ranking information database;
在预设排序时间到达时,确定到达所述预设排序时间的当前统计时间和当前统计参数,并根据所述当前统计时间、所述当前统计参数、所述应用排序信息库以及预设排序策略对所述预设排序时间对应的第二应用进行排序;When the preset sorting time arrives, determine the current statistical time and the current statistical parameters that reach the preset sorting time, and determine the current statistical time, the current statistical parameters, the application sorting information base, and the preset sorting strategy according to the current statistical time, the current statistical parameters, the application sorting information base sorting the second applications corresponding to the preset sorting time;
将所述第二应用对应的第二应用图标按照排序结果在显示桌面上进行显示。本发明实施例提供了一种图标排序方法及终端,当接收启动第一应用的启动指令时,获取接收启动指令的当前时间和第一启动参数,第一启动参数包括接收启动指令的第一位置信息和第一网络状况;基于预设统计时段集合确定当前时间所属的第一统计时段,并将第一应用、第一统计时段和第一启动参数组成第一应用启动信息,预设统计时段列表中包括第一统计时段;将第一应用启动信息添加至应用排序信息库中,并在应用排序信息库中统计第一应用启动信息对应的第一启动次数;在预设排序时间到达时,确定到达预设排序时间的当前统计时间和当前统计参数,并根据当前统计时间、当前统计参数、应用排序信息库以及预设排序策略对预设排序时间对应的第二应用进行排序;将第二应用对应的第二应用图标按照排序结果在显示桌面上进行显示。采用上述技术实现方案,当终端接收到启动第一应用的启动指令时,终端确定第一应用的第一统计时段和第一启动参数,并统计第一应用对应的第一启动次数,从而得到应用排序信息库,且应用排序信息库按照第一启动次数对第一统计时段内的第一应用进行排序,当预设排序时间到达时,终端确定预设排序时间对应的当前统计时段,并从应用排序信息库中获取当前统计时段对应的第二应用和当前启动次数,然后按照当前启动次数对第二应用进行排序,能够根据用户在不同时段的使用情况来对第二应用动态的进行排序,并将第二应用对应的第二应用图标显示在显示桌面上,提高了第二应用图标的排序准确度。The second application icon corresponding to the second application is displayed on the display desktop according to the sorting result. The embodiments of the present invention provide an icon sorting method and a terminal. When receiving a start instruction for starting a first application, the current time of receiving the start instruction and a first start parameter are obtained, and the first start parameter includes a first position where the start instruction is received. information and the first network status; determine the first statistical period to which the current time belongs based on the set of preset statistical periods, and combine the first application, the first statistical period and the first startup parameters to form the first application startup information, and a list of preset statistical periods including the first statistical period; adding the first application startup information to the application ranking information database, and counting the first startup times corresponding to the first application startup information in the application ranking information database; when the preset sorting time arrives, determine The current statistical time and current statistical parameters of the preset sorting time are reached, and the second applications corresponding to the preset sorting time are sorted according to the current statistical time, the current statistical parameters, the application sorting information database and the preset sorting strategy; The corresponding second application icons are displayed on the display desktop according to the sorting results. By adopting the above technical implementation scheme, when the terminal receives the start instruction to start the first application, the terminal determines the first statistics period and the first start parameter of the first application, and counts the first start times corresponding to the first application, so as to obtain the application Sorting information base, and the application sorting information base sorts the first applications in the first statistical period according to the first activation times, when the preset sorting time arrives, the terminal determines the current statistical period corresponding to the preset sorting time, and selects the application from the application Obtain the second application corresponding to the current statistical period and the current number of launches from the sorting information database, and then sort the second applications according to the current number of launches, and dynamically sort the second applications according to the user's usage in different time periods, and Displaying the second application icon corresponding to the second application on the display desktop improves the sorting accuracy of the second application icons.
附图说明Description of drawings
图1为实现本发明各个实施例的一种移动终端的硬件结构示意图;1 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention;
图2为本发明实施例提供的一种通信网络系统架构图;FIG. 2 is an architecture diagram of a communication network system provided by an embodiment of the present invention;
图3为本发明实施例提供的一种图标排序方法的流程图一;3 is a flowchart 1 of a method for sorting icons according to an embodiment of the present invention;
图4为本发明实施例提供的一种示例性的排列后的应用图标的终端显示桌面示意图;4 is a schematic diagram of a terminal display desktop of an exemplary arrangement of application icons according to an embodiment of the present invention;
图5为本发明实施例提供的一种图标排序方法的流程图二;5 is a second flowchart of a method for sorting icons according to an embodiment of the present invention;
图6为本发明实施例提供的一种终端的结构示意图。FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身没有特定的意义。因此,“模块”、“部件”或“单元”可以混合地使用。In the ensuing description, suffixes such as 'module', 'component' or 'unit' used to represent elements are used only to facilitate the description of the present invention, and have no specific meaning per se. Thus, "module", "component" or "unit" may be used interchangeably.
终端可以以各种形式来实施。例如,本发明中描述的终端可以包括诸如手机、平板电脑、笔记本电脑、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)、便捷式媒体播放器(Portable Media Player,PMP)、导航装置、可穿戴设备、智能手环、计步器等移动终端,以及诸如数字TV、台式计算机等固定终端。The terminal may be implemented in various forms. For example, the terminals described in the present invention may include mobile phones, tablet computers, notebook computers, handheld computers, personal digital assistants (Personal Digital Assistants, PDAs), portable media players (Portable Media Players, PMPs), navigation devices, portable computers, etc. Mobile terminals such as wearable devices, smart bracelets, and pedometers, as well as stationary terminals such as digital TVs and desktop computers.
后续描述中将以移动终端为例进行说明,本领域技术人员将理解的是,除了特别用于移动目的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。In the following description, a mobile terminal will be used as an example, and those skilled in the art will understand that the construction according to the embodiments of the present invention can also be applied to a stationary type of terminal, in addition to being particularly used for mobile purpose components.
请参阅图1,其为实现本发明各个实施例的一种移动终端的硬件结构示意图,该移动终端100可以包括:传感器101、显示单元102、用户输入单元103、接口单元104、存储器105、处理器106、电源103以及射频单元104等部件。本领域技术人员可以理解,图1中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Please refer to FIG. 1 , which is a schematic diagram of the hardware structure of a mobile terminal implementing various embodiments of the present invention. The
下面结合图1对移动终端的各个部件进行具体的介绍:Below in conjunction with Fig. 1, each component of the mobile terminal is introduced in detail:
射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将基站的下行信息接收后,给处理器106处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA2000(CodeDivision Multiple Access 2000,码分多址2000)、WCDMA(Wideband Code DivisionMultiple Access,宽带码分多址)、TD-SCDMA(Time Division-Synchronous CodeDivision Multiple Access,时分同步码分多址)、FDD-LTE(Frequency DivisionDuplexing-Long Term Evolution,频分双工长期演进)和TDD-LTE(Time DivisionDuplexing-Long Term Evolution,分时双工长期演进)等。The
移动终端100还包括至少一种传感器101,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1021的亮度,接近传感器可在移动终端100移动到耳边时,关闭显示面板1021和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The
显示单元102用于显示由用户输入的信息或提供给用户的信息。显示单元102可包括显示面板1021,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1021。The
用户输入单元103可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元103可包括触控面板1031以及其他输入设备1032。触控面板1031,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1031上或在触控面板1031附近的操作),并根据预先设定的程式驱动相应的连接装置。触控面板1031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器106,并能接收处理器106发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1031。除了触控面板1031,用户输入单元103还可以包括其他输入设备1032。具体地,其他输入设备1032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种,具体此处不做限定。The
进一步的,触控面板1031可覆盖显示面板1021,当触控面板1031检测到在其上或附近的触摸操作后,传送给处理器106以确定触摸事件的类型,随后处理器106根据触摸事件的类型在显示面板1021上提供相应的视觉输出。虽然在图1中,触控面板1031与显示面板1021是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板1031与显示面板1021集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the touch panel 1031 may cover the display panel 1021. When the touch panel 1031 detects a touch operation on or near it, it transmits it to the
接口单元104用作至少一个外部装置与移动终端100连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元104可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端100内的一个或多个元件或者可以用于在移动终端100和外部装置之间传输数据。The
存储器105可用于存储软件程序以及各种数据。存储器105可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器105可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
处理器106是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器105内的软件程序和/或模块,以及调用存储在存储器105内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器106可包括一个或多个处理单元;优选的,处理器106可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器106中。The
移动终端100还可以包括给各个部件供电的电源107(比如电池),优选的,电源107可以通过电源管理系统与处理器106逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The
尽管图1未示出,移动终端100还可以包括蓝牙模块等,在此不再赘述。Although not shown in FIG. 1 , the
为了便于理解本发明实施例,下面对本发明的移动终端所基于的通信网络系统进行描述。To facilitate understanding of the embodiments of the present invention, the following describes a communication network system on which the mobile terminal of the present invention is based.
请参阅图2,图2为本发明实施例提供的一种通信网络系统架构图,该通信网络系统为通用移动通信技术的LTE系统,该LTE系统包括依次通讯连接的UE(User Equipment,用户设备)201,E-UTRAN(Evolved UMTS Terrestrial Radio Access Network,演进式UMTS陆地无线接入网)202,EPC(Evolved Packet Core,演进式分组核心网)203和运营商的IP业务204。Please refer to FIG. 2. FIG. 2 is an architecture diagram of a communication network system according to an embodiment of the present invention. The communication network system is an LTE system of universal mobile communication technology. ) 201 , E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, Evolved UMTS Terrestrial Radio Access Network) 202 , EPC (Evolved Packet Core, Evolved Packet Core) 203 and operator's
具体地,UE201可以是上述终端100,此处不再赘述。Specifically, the
E-UTRAN202包括eNodeB2021和其它eNodeB2022等。其中,eNodeB2021可以通过回程(backhaul)(例如X2接口)与其它eNodeB2022连接,eNodeB2021连接到EPC203,eNodeB2021可以提供UE201到EPC203的接入。
EPC203可以包括MME(Mobility Management Entity,移动性管理实体)2031,HSS(Home Subscriber Server,归属用户服务器)2032,其它MME2033,SGW(Serving Gate Way,服务网关)2034,PGW(PDN Gate Way,分组数据网络网关)2035和PCRF(Policy andCharging Rules Function,政策和资费功能实体)2036等。其中,MME2031是处理UE201和EPC203之间信令的控制节点,提供承载和连接管理。HSS2032用于提供一些寄存器来管理诸如归属位置寄存器(图中未示)之类的功能,并且保存有一些有关服务特征、数据速率等用户专用的信息。所有用户数据都可以通过SGW2034进行发送,PGW2035可以提供UE 201的IP地址分配以及其它功能,PCRF2036是业务数据流和IP承载资源的策略与计费控制策略决策点,它为策略与计费执行功能单元(图中未示)选择及提供可用的策略和计费控制决策。
IP业务204可以包括因特网、内联网、IMS(IP Multimedia Subsystem,IP多媒体子系统)或其它IP业务等。The
虽然上述以LTE系统为例进行了介绍,但本领域技术人员应当知晓,本发明不仅仅适用于LTE系统,也可以适用于其他无线通信系统,例如GSM、CDMA2000、WCDMA、TD-SCDMA以及未来新的网络系统等,此处不做限定。Although the above description takes the LTE system as an example, those skilled in the art should know that the present invention is not only applicable to the LTE system, but also applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA and future wireless communication systems. The network system, etc., is not limited here.
基于上述移动终端硬件结构以及通信网络第二,提出本发明方法各个实施例。Based on the above-mentioned hardware structure of the mobile terminal and the second communication network, various embodiments of the method of the present invention are proposed.
实施例一Example 1
本发明实施例提供一种图标排序方法,如图3所示,该方法可以包括:An embodiment of the present invention provides a method for sorting icons. As shown in FIG. 3 , the method may include:
S101、当接收启动第一应用的启动指令时,获取接收启动指令的当前时间和第一启动参数,第一启动参数包括接受启动指令的第一位置信息和第一网络状况。S101. When receiving a startup instruction for starting the first application, obtain the current time and first startup parameters of the received startup instruction, where the first startup parameters include first location information and first network conditions of the accepted startup instruction.
本发明实施例提供的一种图标排序方法适用于对终端显示桌面上应用图标位置进行动态调整的场景下。The icon sorting method provided by the embodiment of the present invention is suitable for the scenario of dynamically adjusting the position of application icons on the terminal display desktop.
本发明实施例中,当用户在终端的显示桌面上点击第一应用对应的第一应用图标时,此时,终端就接收到了启动第一应用的启动指令,终端获取接收到启动指令时的当前时间和第一启动参数。In this embodiment of the present invention, when the user clicks the first application icon corresponding to the first application on the display desktop of the terminal, at this time, the terminal receives a startup instruction to start the first application, and the terminal obtains the current time and first start parameters.
本发明实施例中,第一启动参数包括当前所处具体位置和当前终端的网络制式,具体的根据实际情况进行选择,本发明实施例不作具体的限定。In the embodiment of the present invention, the first startup parameter includes the current specific location and the network standard of the current terminal, and is specifically selected according to the actual situation, which is not specifically limited in the embodiment of the present invention.
示例性的,用户点击手机上的应用图标A,此时,终端确定用户点击应用图标A的时间为10点,位置为建筑物B,当前的手机网络为无线局域网(WIFI,Wireless Fidelity)状态,此时,终端将10点、建筑物B、WIFI和图标A这些信息进行获取。Exemplarily, the user clicks the application icon A on the mobile phone. At this time, the terminal determines that the time when the user clicks the application icon A is 10:00, the location is the building B, and the current mobile phone network is in a wireless local area network (WIFI, Wireless Fidelity) state, At this time, the terminal acquires the information of 10 o'clock, building B, WIFI and icon A.
S102、基于预设统计时段列表确定当前时间所属的第一统计时段,并将第一应用、第一统计时段和第一启动参数组成第一应用启动信息,预设统计时段列表中包括第一统计时段。S102. Determine the first statistical period to which the current time belongs based on the preset statistical period list, and form the first application startup information with the first application, the first statistical period and the first startup parameter, and the preset statistical period list includes the first statistical period time period.
当终端获取到接收启动指令的当前时间和第一启动参数之后,终端就要确定当前时间的第一统计时段,并根据第一应用、第一统计时段和第一启动参数组成第一应用启动信息了。After the terminal obtains the current time and the first startup parameter for receiving the startup instruction, the terminal determines the first statistical period of the current time, and forms the first application startup information according to the first application, the first statistical period and the first startup parameter. .
本发明实施例中,终端预先设置了多个统计时段,终端会对多个统计时段内的应用及应用对应的启动次数和启动参数进行统计,当终端确定了当前时间之后,终端从多个统计时段内确定包含当前时间的第一统计时段,并将第一应用、第一统计时段和第一启动参数组成第一应用启动信息。In this embodiment of the present invention, the terminal presets multiple statistical periods, and the terminal collects statistics on the applications in the multiple statistical periods and the corresponding startup times and startup parameters of the applications. After the terminal determines the current time, the terminal collects statistics from the A first statistical period including the current time is determined within the period, and the first application, the first statistical period and the first activation parameter are formed into the first application activation information.
S103、将第一应用启动信息添加至应用排序信息库中,并在应用排序信息库中统计第一应用启动信息对应的第一启动次数。S103. Add the first application startup information to the application ranking information database, and count the first startup times corresponding to the first application startup information in the application ranking information database.
当终端组成了第一应用启动信息之后,终端就要将第一应用启动信息添加至应用排序信息库中,并统计第一统计时段内的第一应用的第一启动次数。After the terminal composes the first application startup information, the terminal adds the first application startup information to the application ranking information database, and counts the first startup times of the first application in the first statistical period.
本发明实施例中,终端将第一应用启动信息与应用排序信息库中的第二应用启动信息进行匹配;当第一应用启动信息与第二应用启动信息匹配时,表征第一应用启动信息并非首次添加至应用排序信息库中,此时,终端将应用排序信息库中第一应用启动信息的第一启动次数加一;当第一应用启动信息与第二应用启动信息不匹配时,表征第一应用启动信息为首次添加至应用排序信息库中,此时,终端将第一应用启动信息添加至应用排序信息库中,并将第一应用启动信息对应的第一启动次数设置为一。In this embodiment of the present invention, the terminal matches the first application startup information with the second application startup information in the application sorting information base; when the first application startup information matches the second application startup information, it indicates that the first application startup information is not It is added to the application ranking information base for the first time. At this time, the terminal adds one to the first activation times of the first application startup information in the application ranking information base; when the first application startup information does not match the second application startup information An application startup information is added to the application ranking information database for the first time. At this time, the terminal adds the first application startup information to the application ranking information database, and sets the first startup times corresponding to the first application startup information to one.
本发明实施例中,应用排序信息库按照预设统计时段内的启动次数对预设统计时段内的应用启动信息进行排序的。In this embodiment of the present invention, the application sorting information database sorts the application startup information within the preset statistical period according to the number of startups within the preset statistical period.
S104、在预设排序时间到达时,确定到达预设排序时间的当前统计时间和当前统计参数,并根据当前统计时段、当前统计参数、应用排序信息库以及预设排序策略对预设排序时间对应的第二应用进行排序。S104. When the preset sorting time arrives, determine the current statistical time and the current statistical parameters that reach the preset sorting time, and correspond to the preset sorting time according to the current statistical period, the current statistical parameters, the application sorting information database and the preset sorting strategy The second application is sorted.
在终端对应用排序信息库中预设统计时段内的应用启动信息按照启动次数进行排序之后,终端等待预设排序时间的到达,并在预设排序时间到达时,终端根据应用排序信息库和预设排序策略对预设排序时间对应的第二应用进行排序。After the terminal sorts the application startup information within the preset statistical period in the application sorting information base according to the number of launches, the terminal waits for the arrival of the preset sorting time, and when the preset sorting time arrives, the terminal sorts the application according to the application sorting information base and the preset sorting time. The sorting strategy is set to sort the second applications corresponding to the preset sorting time.
本发明实施例中,终端上预设有排序时间,如每隔10分钟进行一次排序,当预设排序时间到达时,终端确定预设排序时间所属的当前统计时段和当前启动参数。In this embodiment of the present invention, a sorting time is preset on the terminal. For example, sorting is performed every 10 minutes. When the preset sorting time arrives, the terminal determines the current statistical period and current startup parameters to which the preset sorting time belongs.
本发明实施例中,在预设排序时间到达时,终端确定预设排序时间对应的当前统计时段和当前启动参数,根据当前启动参数从预设权重值列表中为当前启动参数对应的当前启动参数类型中的启动参数确定第一权重值,然后,终端从应用排序信息库中获取当前统计时段对应的第二应用,以及第二应用对应的历史启动参数和历史启动次数,之后,终端从第一权重值中确定历史启动参数对应的历史权重值,并对历史权重值进行乘运算,计算第二应用对应的第二权重值,根据第二权重值和历史启动次数,得到第二应用的排序系数。In this embodiment of the present invention, when the preset sorting time arrives, the terminal determines the current statistics period and the current startup parameters corresponding to the preset sorting time, and selects the current startup parameters corresponding to the current startup parameters from the preset weight value list according to the current startup parameters. The startup parameter in the type determines the first weight value, and then the terminal obtains the second application corresponding to the current statistical period, as well as the historical startup parameters and historical startup times corresponding to the second application from the application ranking information database, and then the terminal starts from the first application. Determine the historical weight value corresponding to the historical startup parameter in the weight value, multiply the historical weight value, calculate the second weight value corresponding to the second application, and obtain the sorting coefficient of the second application according to the second weight value and the number of historical startups .
S105、将第二应用对应的第二应用图标按照排序结果在显示桌面上进行显示。S105. Display the second application icon corresponding to the second application on the display desktop according to the sorting result.
当终端将第二应用进行排序之后,终端就要根据排序结果对第二应用图标进行显示了。After the terminal sorts the second application, the terminal will display the second application icon according to the sorting result.
本发明实施例中,终端根据排序系数对第二应用进行排序,并将第二应用对应的第二应用图标按照排序结果在显示桌面上进行显示。In the embodiment of the present invention, the terminal sorts the second application according to the sorting coefficient, and displays the second application icon corresponding to the second application on the display desktop according to the sorting result.
示例性的,如图4所示,手机的显示桌面上显示有新闻、游戏、电话、微信、邮箱、相机、美图、地图、备忘录、时钟、滴滴打车、今日头条的应用程序图标,在7点-12点,用户使用滴滴打车的次数为20次,且使用位置为位置A,网络状况为WIFI,使用今日头条的次数为10次,使用位置为位置B,网络状态为WIFI,在7点05分时,对手机显示桌面上的应用程序图标进行排序,此时,当前位置为B,网络状态为WIFI,显示桌面按照今日头条、滴滴打车的顺序将对应的应用图标显示在显示桌面的位置A和位置B处。Exemplarily, as shown in Figure 4, the display desktop of the mobile phone displays application icons of news, games, phone, WeChat, email, camera, Meitu, map, memo, clock, Didi Taxi, and Toutiao. From 7:00 to 12:00, the number of times the user uses Didi Taxi is 20 times, and the use location is location A, the network status is WIFI, the number of times of using Toutiao is 10 times, the usage location is location B, and the network status is WIFI. At 7:05, sort the application icons on the mobile phone display desktop. At this time, the current location is B, the network status is WIFI, and the display desktop displays the corresponding application icons in the order of Toutiao and Didi Taxi. At position A and position B of the desktop.
可以理解的是,当终端接收到启动第一应用的启动指令时,终端根据第一应用、第一统计时段和第一启动参数生成应用排序信息库,终端统计应用排序信息库中的第一应用对应的第一启动次数,并按照第一启动次数对第一统计时段内的第一应用进行排序,当预设排序时间到达时,终端确定预设排序时间对应的当前统计时段,并从应用排序信息库中获取当前统计时段对应的第二应用和当前启动次数,然后按照当前启动次数对第二应用进行排序,能够根据用户在不同时段的使用情况来对第二应用动态的进行排序,并将第二应用对应的第二应用图标显示在显示桌面上,提高了第二应用图标的排序准确度。It can be understood that when the terminal receives the start instruction to start the first application, the terminal generates an application ranking information base according to the first application, the first statistical period and the first start parameter, and the terminal counts the first application in the application ranking information base. The corresponding first activation times, and sort the first applications in the first statistical period according to the first activation times. When the preset sorting time arrives, the terminal determines the current statistical period corresponding to the preset sorting time, and sorts the applications from the Obtain the second application corresponding to the current statistical period and the current number of launches from the information database, and then sort the second applications according to the current number of launches. The second application icon corresponding to the second application is displayed on the display desktop, which improves the sorting accuracy of the second application icons.
实施例二Embodiment 2
本发明实施例提供一种图标排序方法,如图5所示,该方法可以包括:An embodiment of the present invention provides a method for sorting icons. As shown in FIG. 5 , the method may include:
S201、当终端接收启动第一应用的启动指令时,终端获取接收启动指令的当前时间和第一启动参数。S201. When the terminal receives the startup instruction for starting the first application, the terminal acquires the current time and the first startup parameter when the startup instruction is received.
本发明实施例提供的一种图标排序方法适用于对终端显示桌面上应用图标位置进行动态调整的场景下。The icon sorting method provided by the embodiment of the present invention is suitable for the scenario of dynamically adjusting the position of application icons on the terminal display desktop.
本发明实施例中,当用户在终端的显示桌面上点击第一应用对应的第一应用图标时,此时,终端就接收到了启动第一应用的启动指令,终端获取接收到启动指令时的当前时间和第一启动参数。In this embodiment of the present invention, when the user clicks the first application icon corresponding to the first application on the display desktop of the terminal, at this time, the terminal receives a startup instruction to start the first application, and the terminal obtains the current time and first start parameters.
本发明实施例中,第一启动参数包括当前所处具体位置和当前终端的网络制式,具体的根据实际情况进行选择,本发明实施例不作具体的限定。In the embodiment of the present invention, the first startup parameter includes the current specific location and the network standard of the current terminal, and is specifically selected according to the actual situation, which is not specifically limited in the embodiment of the present invention.
示例性的,用户点击手机上的应用图标A,此时,终端确定用户点击应用图标A的时间为10点,位置为建筑物B,当前的手机网络为WIFI,此时,终端将10点、建筑物B、WIFI和图标A这些信息进行获取。Exemplarily, the user clicks the application icon A on the mobile phone. At this time, the terminal determines that the time when the user clicks the application icon A is 10 o'clock, the location is building B, and the current mobile phone network is WIFI. The information of building B, WIFI and icon A is obtained.
S202、终端基于预设统计时段列表确定当前时间所属的第一统计时段,并将第一应用、第一统计时段和第一启动参数组成第一应用启动信息,预设时段列表中包括第一统计时段。S202. The terminal determines the first statistical period to which the current time belongs based on the preset statistical period list, and forms the first application startup information with the first application, the first statistical period and the first startup parameter, and the preset period list includes the first statistical period time period.
当终端获取到当前时间之后,终端确定当前时间的第一统计时段,并根据第一应用,第一统计时段和第一启动参数组成第一应用启动信息。After the terminal obtains the current time, the terminal determines the first statistical period of the current time, and according to the first application, the first statistical period and the first startup parameter form the first application startup information.
本发明实施例中,终端预先设置了多个统计时段,终端会对多个统计时段内的应用及应用对应的启动次数和启动参数进行统计,当终端确定了当前时间之后,终端从多个统计时段内确定包含当前时间的第一统计时段,并将第一应用、第一统计时段和第一启动参数组成第一应用启动信息。In this embodiment of the present invention, the terminal presets multiple statistical periods, and the terminal collects statistics on the applications in the multiple statistical periods and the corresponding startup times and startup parameters of the applications. After the terminal determines the current time, the terminal collects statistics from the A first statistical period including the current time is determined within the period, and the first application, the first statistical period and the first activation parameter are formed into the first application activation information.
S203、终端将第一应用启动信息和应用排序信息库进行匹配。S203. The terminal matches the first application startup information with the application ranking information base.
当终端组成了第一应用启动信息之后,终端就要判断第一应用启动信息是否为首次添加,由于应用启动信息都存储在应用排序信息库中,故,终端通过将第一应用启动信息和应用排序信息库进行匹配,来判断第一应用启动信息中第一应用的启动次数。After the terminal composes the first application startup information, the terminal needs to determine whether the first application startup information is added for the first time. Since the application startup information is all stored in the application sorting information database, the terminal uses the first application startup information and the application The sorting information base performs matching to determine the startup times of the first application in the first application startup information.
本发明实施例中,终端将第一应用启动信息与应用排序信息库进行匹配,当第一应用启动信息与应用排序信息库中的第二应用启动信息匹配时,表明第一应用启动信息并非首次添加至应用排序信息库中;当第一应用启动信息与第二应用启动信息不匹配时,表明第一应用启动信息为首次添加至应用排序信息库中。In this embodiment of the present invention, the terminal matches the first application startup information with the application ranking information base, and when the first application startup information matches the second application startup information in the application ranking information base, it indicates that the first application startup information is not the first time It is added to the application sorting information base; when the first application starting information does not match the second application starting information, it indicates that the first application starting information is added to the application sorting information base for the first time.
S204、当第一应用启动信息与应用排序信息库中的第二应用启动信息匹配时,终端将第一应用对应的第一启动次数加一。S204. When the first application startup information matches the second application startup information in the application sorting information base, the terminal adds one to the first startup times corresponding to the first application.
当终端将第一应用启动信息和第二应用启动信息匹配之后,终端就要根据匹配结果来进行相应的操作了,其中,当第一应用启动信息与第二应用启动信息匹配时,终端将应用排序信息库中第一应用启动信息对应的第一启动次数加一。After the terminal matches the first application startup information with the second application startup information, the terminal will perform corresponding operations according to the matching result. When the first application startup information matches the second application startup information, the terminal will apply the The first activation times corresponding to the first application activation information in the sorting information base is incremented by one.
本发明实施例中,当第一应用启动信息与第二应用启动信息匹配时,表征应用排序信息库中存储了第一应用启动信息,此时,终端将应用排序信息库中的第一应用启动信息对应的第一启动次数加一。In this embodiment of the present invention, when the first application startup information matches the second application startup information, it indicates that the first application startup information is stored in the application sorting information base, and at this time, the terminal starts the first application in the application sorting information base. The first activation times corresponding to the information is incremented by one.
S205、当第一应用启动信息与第二应用启动信息不匹配时,终端将第一应用启动信息添加至应用排序信息库中,并将第一启动次数设置为一。S205. When the first application startup information does not match the second application startup information, the terminal adds the first application startup information to the application sorting information database, and sets the first number of startups to one.
当终端将第一应用启动信息和第二应用启动信息匹配之后,终端就要根据匹配结果来进行相应的操作了,其中,当第一应用启动信息与第二应用启动信息不匹配时,终端将第一应用启动信息添加至应用排序信息库中,并将第一应用启动信息对应的第一启动次数设置为一。After the terminal matches the first application startup information with the second application startup information, the terminal will perform corresponding operations according to the matching result. When the first application startup information does not match the second application startup information, the terminal will The first application startup information is added to the application sorting information database, and the first startup times corresponding to the first application startup information is set to one.
本发明实施例中,当第一应用启动信息与第二应用启动信息不匹配时,表征应用排序信息库中未存储第一应用启动信息,此时,终端将第一应用启动信息添加至应用排序信息库中,并将对应的第一启动次数设置为一。In this embodiment of the present invention, when the first application startup information does not match the second application startup information, it indicates that the first application startup information is not stored in the application ranking information base, and at this time, the terminal adds the first application startup information to the application ranking information database, and set the corresponding first start times to one.
进一步地,终端将应用启动信息添加至应用排序信息库中,应用排序信息库对应用启动信息的启动次数进行统计,并按照启动次数的大小对存储在应用排序信息库中的应用启动信息进行排序。Further, the terminal adds the application startup information to the application sorting information base, and the application sorting information base counts the start times of the application start information, and sorts the application start information stored in the application sorting information base according to the size of the start times. .
步骤S205和步骤S204为步骤S203之后的两个并列的步骤,具体的根据实际情况进行选择执行,本发明实施例不作具体的限定。Step S205 and step S204 are two parallel steps after step S203, and are specifically selected and executed according to the actual situation, which is not specifically limited in this embodiment of the present invention.
S206、在预设排序时间到达时,终端确定到达预设排序时间的当前统计时段和当前启动参数,当前启动参数为当前启动参数类型中预设排序时间到达时的启动参数。S206. When the preset sorting time arrives, the terminal determines the current statistics period and the current startup parameters that reach the preset sorting time, and the current startup parameters are the startup parameters in the current startup parameter type when the preset sorting time arrives.
当终端根据匹配结果将第一应用启动信息添加至应用排序信息库之后,终端就要进行对终端的应用程序图标进行排序的操作了,首先,在预设排序时间到达时,终端确定预设排序时间到达的当前统计时段和当前启动参数。After the terminal adds the first application startup information to the application sorting information base according to the matching result, the terminal will perform the operation of sorting the application icons of the terminal. First, when the preset sorting time arrives, the terminal determines the preset sorting The current statistical period and current startup parameters when the time arrives.
本发明实施例中,终端上预设有排序时间,如每隔10分钟进行一次排序,当预设排序时间到达时,终端确定预设排序时间所属的当前统计时段和当前启动参数。In this embodiment of the present invention, a sorting time is preset on the terminal. For example, sorting is performed every 10 minutes. When the preset sorting time arrives, the terminal determines the current statistical period and current startup parameters to which the preset sorting time belongs.
示例性的,终端在12点05分时需要对终端上的应用程序图标进行排序,终端首先确定12点05分时手机的网络状况为2G,所处的位置为建筑物B,然后确定12点05分所属的统计时段,终端上预先设的设置统计时段分别为7点-12点、12点-17点、17点-22点、22点-3点、3点-7点这几个时段,12点05分属于12点-17点这个时段,故,终端确定12点05分所属的统计时段为12点-17点这个统计时段。Exemplarily, the terminal needs to sort the application icons on the terminal at 12:05. The terminal first determines that the network status of the mobile phone at 12:05 is 2G and the location is Building B, and then determines that 12:05 05 points belong to the statistical period, the preset statistical periods on the terminal are 7:00-12:00, 12:00-17:00, 17:00-22:00, 22:00-3:00, 3:00-7:00. , 12:05 belongs to the period from 12:00 to 17:00, so the terminal determines that the statistical period to which 12:05 belongs is the period from 12:00 to 17:00.
S207、终端从预设权重值列表中为当前启动参数选择最大权重值。S207. The terminal selects the maximum weight value for the current startup parameter from the preset weight value list.
当终端确定了当前启动参数之后,终端就要从预设权重值列表中为当前穷参数选择最大权重值。After the terminal determines the current startup parameters, the terminal selects the maximum weight value for the current poor parameter from the preset weight value list.
本发明实施例中,终端为当前启动参数类型分配预设权重值列表,其中,列表内的权重值数量与当前启动参数类型中的启动参数的数量相同,终端从预设权重值列表中为当前启动参数选择最大权重值。In this embodiment of the present invention, the terminal allocates a preset weight value list for the current startup parameter type, wherein the number of weight values in the list is the same as the number of startup parameters in the current startup parameter type, and the terminal selects the current startup parameter from the preset weight value list as the current The startup parameter selects the maximum weight value.
可选的,当前启动参数类型包括网络状况和当前全球定位第二(GPS,GlobalPositioning System)信息等,具体的根据实际情况进行选择,本发明实施例不做具体的限定。Optionally, the current startup parameter type includes network status and current Global Positioning System (GPS, Global Positioning System) information, etc., and is specifically selected according to the actual situation, which is not specifically limited in this embodiment of the present invention.
示例性的,当前启动参数类型为网络状况和GPS位置信息,其中,网络状况包括2G、第三代移动通信技术(3G,3rd-Generation)和WIFI;GPS位置信息包括家、公司、路程中和大型商超。终端为网络状况设置的权重值列表中有3个权重值,分别为0.9、0.5、0.1,终端为GPS位置信息设置的权重值列表中有4个权重值,分别为0.9、0.6、0.4和0.1,当预设时间到达时,终端的当前网络状况为WIFI、GPS位置信息为家时,终端为WIFI和家分别分配0.9的权重值。Exemplarily, the current startup parameter types are network conditions and GPS location information, wherein the network conditions include 2G, third-generation mobile communication technology (3G, 3rd-Generation), and WIFI; the GPS location information includes home, company, distance, and Large supermarket. There are 3 weight values in the list of weight values set by the terminal for network conditions, which are 0.9, 0.5, and 0.1, respectively, and there are 4 weight values in the list of weight values set by the terminal for GPS location information, which are 0.9, 0.6, 0.4 and 0.1 respectively. , when the preset time arrives, when the current network status of the terminal is WIFI and the GPS location information is home, the terminal assigns a weight value of 0.9 to WIFI and home respectively.
本发明实施例中,GPS位置信息包括:终端提醒应用设置家具体位置和公司的具体位置、当用户经常在某一位置定位时,终端记录用户的常用的位置、终端统计地图上的标志性位置等,具体的根据实际情况进行设定,本发明实施例不做具体的限定。In the embodiment of the present invention, the GPS location information includes: the terminal reminds the application to set the specific location of the home and the company, when the user often locates at a certain location, the terminal records the frequently used location of the user, and the terminal counts the landmark location on the map etc., which are specifically set according to the actual situation, and are not specifically limited in the embodiment of the present invention.
S208、终端从预设权重值列表中,为当前启动参数类型中除当前启动参数外的其他启动参数,选择除最大权重值外的其他权重值,预设权重值列表与当前启动参数类型一一对应。S208. The terminal selects other startup parameters except the current startup parameter in the current startup parameter type from the preset weight value list, and selects other weight values except the maximum weight value. The preset weight value list and the current startup parameter type are one by one. correspond.
当终端为当前启动参数选择最大权重值之后,终端还要为当前启动参数类型中除当前启动参数外的其他启动参数选择权重值。After the terminal selects the maximum weight value for the current startup parameter, the terminal also selects weight values for other startup parameters in the current startup parameter type except the current startup parameter.
本发明实施例中,终端将预设权重值列表中除最大权重值外的其他权重值分别赋给当前启动参数外的其他启动参数。In this embodiment of the present invention, the terminal assigns other weight values except the maximum weight value in the preset weight value list to other startup parameters except the current startup parameter, respectively.
本发明实施例中,终端将其他权重值赋给其他启动参数的标准是保证当前启动参数对应的应用程序在排序队列的首位。In this embodiment of the present invention, the criterion for the terminal to assign other weight values to other startup parameters is to ensure that the application program corresponding to the current startup parameter is at the top of the sorting queue.
S209、终端将最大权重值和其他权重值确定为第一权重值。S209. The terminal determines the maximum weight value and other weight values as the first weight value.
当终端确定了对当前启动参数的最大权重值和对其他启动参数的其他权重值之后,终端将最大权重值和其他权重值确定为第一权重值。After the terminal determines the maximum weight value for the current startup parameter and other weight values for other startup parameters, the terminal determines the maximum weight value and other weight values as the first weight value.
本发明实施例中,终端根据当前启动参数调整预设权重值列表,并将调整后的预设权重值列表确定为第一权重值。In this embodiment of the present invention, the terminal adjusts the preset weight value list according to the current startup parameter, and determines the adjusted preset weight value list as the first weight value.
S210、终端从应用排序信息库中获取当前统计时段对应的第二应用,以及第二应用对应的历史启动参数和历史启动次数。S210. The terminal acquires the second application corresponding to the current statistical period, and the historical startup parameters and historical startup times corresponding to the second application from the application ranking information database.
当终端确定了当前统计时段之后,终端就要从应用排序信息中获取当前统计时段对应的第二应用,以及第二应用对应的历史启动参数和历史启动次数了。After the terminal determines the current statistical period, the terminal needs to obtain the second application corresponding to the current statistical period and the historical startup parameters and historical startup times corresponding to the second application from the application ranking information.
本发明实施例中,终端从应用排序信息库中确定当前统计时段对应的第二应用即系第二应用对应的历史启动参数和历史启动次数。In this embodiment of the present invention, the terminal determines, from the application ranking information database, the second application corresponding to the current statistical period, that is, the historical startup parameters and historical startup times corresponding to the second application.
示例性的,终端统计12点-17点这个时段中,用户分别启动了应用A和应用B,其中,用户启动应用A的次数为50次、位置:家、网络状况:WIFI,用户启动应用B的次数为40次,位置:建筑物A,网络状况:WIFI。Exemplarily, during the period from 12:00 to 17:00, the terminal counts, the user starts application A and application B respectively, wherein the number of times the user starts application A is 50 times, the location: home, network status: WIFI, and the user starts application B The number of times is 40, the location: Building A, the network status: WIFI.
S211、终端从第一权重值中确定历史启动参数对应的历史权重值。S211. The terminal determines a historical weight value corresponding to the historical startup parameter from the first weight value.
当终端确定了历史启动参数之后,终端就从第一权重值中确定历史启动参数对应的历史权重值了。After the terminal determines the historical startup parameter, the terminal determines the historical weight value corresponding to the historical startup parameter from the first weight value.
本发明实施例中,终端已经为当前启动参数类型中的每个启动参数设置了权重值,此时,终端确定为历史启动参数设置的历史权重值。In this embodiment of the present invention, the terminal has set a weight value for each startup parameter in the current startup parameter type, and at this time, the terminal determines the historical weight value set for the historical startup parameter.
S212、终端对历史权重值进行乘运算,计算出第二应用对应的第二权重值。S212. The terminal multiplies the historical weight value to calculate the second weight value corresponding to the second application.
当终端确定了历史权重值之后,终端将历史权重值进行乘运算,计算出第二应用对应的第二权重值。After the terminal determines the historical weight value, the terminal multiplies the historical weight value to calculate the second weight value corresponding to the second application.
本发明实施例中,终端分别为当前启动参数类型中的启动参数赋值,然后确定历史启动参数的值并与历史权重值进行乘运算,得到第二应用对应的第二权重值。In the embodiment of the present invention, the terminal assigns values to the startup parameters in the current startup parameter type, and then determines the value of the historical startup parameter and multiplies it with the historical weight value to obtain the second weight value corresponding to the second application.
示例性的,当前启动参数类型为GPS位置和网络状况,预先为网络状况中的2G赋值1,为3G赋值2、为4G赋值3,为WIFI赋值4,启动应用A的历史启动参数中的网络状况为4G,且4G的权重值为0.9时,应用A对应的第二权重值就为3.6。Exemplarily, the current startup parameter type is GPS location and network status, 1 is assigned to 2G in the network status in advance, 2 is assigned to 3G, 3 is assigned to 4G, and 4 is assigned to WIFI, and the network in the historical startup parameters of application A is started. When the status is 4G, and the weight value of 4G is 0.9, the second weight value corresponding to application A is 3.6.
S213、终端根据第二权重值和历史启动次数,得到第二应用的排列系数,并根据排列系数对第二应用进行排列。S213. The terminal obtains an arrangement coefficient of the second application according to the second weight value and the number of historical startups, and arranges the second application according to the arrangement coefficient.
当终端确定了第二权重值之后,终端根据第二权重值和获取到的历史启动次数,得到第二应用的排列系数,并根据排列系数对第二应用进行排序。After the terminal determines the second weight value, the terminal obtains an arrangement coefficient of the second application according to the second weight value and the acquired historical startup times, and sorts the second application according to the arrangement coefficient.
本发明实施例中,当第二权重值相同时,终端根据第二应用的历史启动次数的大小进行排序,得到第二应用的排列系数,并根据排列系数对第二应用进行排列。In this embodiment of the present invention, when the second weight values are the same, the terminal sorts the second applications according to the size of the historical startup times of the second applications, obtains the ranking coefficients of the second applications, and ranks the second applications according to the ranking coefficients.
示例性的,当应用A和应用B的第二权重值均为3.6时,终端确定应用A的启动次数为20,应用B的启动次数为17,此时,终端按照(应用A,应用B)的排列方式对应用A和应用B进行排列。Exemplarily, when the second weight values of application A and application B are both 3.6, the terminal determines that the number of startups of application A is 20 and the number of startups of application B is 17. At this time, the terminal according to (application A, application B) The arrangement of application A and application B are arranged.
S214、终端将第二应用对应的第二应用图标按照排序结果在显示桌面上进行显示。S214. The terminal displays the second application icon corresponding to the second application on the display desktop according to the sorting result.
当终端对第二应用排序完成之后,终端就要在显示桌面上对第二应用对应的第二应用图标按照排序结果进行显示了。After the terminal completes the sorting of the second application, the terminal will display the second application icon corresponding to the second application on the display desktop according to the sorting result.
本发明实施例中,终端按照排序结果,调整终端显示桌面上第二应用图标的位置。In the embodiment of the present invention, the terminal adjusts the position where the terminal displays the second application icon on the desktop according to the sorting result.
示例性的,如图4所示,手机的显示桌面上显示有新闻、游戏、电话、微信、邮箱、相机、美图、地图、备忘录、时钟、滴滴打车、今日头条的应用程序图标,在7点-12点,用户使用滴滴打车的次数为20次,且使用位置为位置A,网络状况为WIFI,使用今日头条的次数为10次,使用位置为位置B,网络状态为WIFI,在7点05分时,对手机显示桌面上的应用程序图标进行排序,此时,当前位置为B,网络状态为WIFI,显示桌面按照今日头条、滴滴打车的顺序将对应的应用图标显示在显示桌面的位置A和位置B处。Exemplarily, as shown in Figure 4, the display desktop of the mobile phone displays application icons of news, games, phone, WeChat, email, camera, Meitu, map, memo, clock, Didi Taxi, and Toutiao. From 7:00 to 12:00, the number of times the user uses Didi Taxi is 20 times, and the use location is location A, the network status is WIFI, the number of times of using Toutiao is 10 times, the usage location is location B, and the network status is WIFI. At 7:05, sort the application icons on the mobile phone display desktop. At this time, the current location is B, the network status is WIFI, and the display desktop displays the corresponding application icons in the order of Toutiao and Didi Taxi. At position A and position B of the desktop.
可以理解的是,当终端接收到启动第一应用的启动指令时,终端根据第一应用、第一统计时段和第一启动参数生成应用排序信息库,终端统计应用排序信息库中的第一应用对应的第一启动次数,并按照第一启动次数对第一统计时段内的第一应用进行排序,当预设排序时间到达时,终端确定预设排序时间对应的当前统计时段,并从应用排序信息库中获取当前统计时段对应的第二应用和当前启动次数,然后按照当前启动次数对第二应用进行排序,能够根据用户在不同时段的使用情况来对第二应用动态的进行排序,并将第二应用对应的第二应用图标显示在显示桌面上,提高了第二应用图标的排序准确度。It can be understood that when the terminal receives the start instruction to start the first application, the terminal generates an application ranking information base according to the first application, the first statistical period and the first start parameter, and the terminal counts the first application in the application ranking information base. The corresponding first activation times, and sort the first applications in the first statistical period according to the first activation times. When the preset sorting time arrives, the terminal determines the current statistical period corresponding to the preset sorting time, and sorts the applications from the Obtain the second application corresponding to the current statistical period and the current number of launches from the information database, and then sort the second applications according to the current number of launches. The second application icon corresponding to the second application is displayed on the display desktop, which improves the sorting accuracy of the second application icons.
实施例三Embodiment 3
图6为本发明实施例提出的终端的组成结构示意图一,在实际应用中,基于实施例一至实施例二的同一发明构思下,如图6所示,本发明实施例的终端1包括:处理器10、存储器11、显示器12及通信总线13。需要说明的是,在本发明的实施例中,图6中的处理器10和存储器11分别对应上述图一中的处理器106、用户输入单元107和存储器105。在具体的实施例的过程中,上述处理器10可以为特定用途集成电路(ASIC,Application SpecificIntegrated Circuit)、数字信号处理器(DSP,Digital Signal Processor)、数字信号处理装置(DSPD,Digital Signal Processing Device)、可编程逻辑装置(PLD,ProgrammableLogic Device)、现场可编程门阵列(FPGA,Field Programmable Gate Array)、CPU、控制器、微控制器、微处理器中的至少一种。可以理解地,对于不同的设备,用于实现上述处理器功能的电子器件还可以为其它,本发明实施例不作具体限定。FIG. 6 is a schematic diagram 1 of the composition and structure of a terminal proposed by an embodiment of the present invention. In practical applications, based on the same inventive concept of Embodiment 1 to Embodiment 2, as shown in FIG. 6 , the terminal 1 of the embodiment of the present invention includes: processing 10,
在本发明的实施例中,上述通信总线13用于实现处理器10、存储器11和显示器12之间的连接通信;上述显示器12用于将所述第二应用对应的第二应用图标按照排序结果在显示桌面上进行显示;上述处理器10用于执行存储器11中存储的第二运行程序,以实现以下步骤:In the embodiment of the present invention, the above-mentioned
当接收启动第一应用的启动指令时,获取接收所述启动指令的当前时间和第一启动参数;When receiving a startup instruction for starting the first application, acquiring the current time and the first startup parameter when the startup instruction was received;
基于预设统计时段列表确定所述当前时间所属的第一统计时段,并根据所述第一应用、所述第一统计时段和所述第一启动参数组成第一应用启动信息,所述预设统计时段列表中包括所述第一统计时段;A first statistical period to which the current time belongs is determined based on a list of preset statistical periods, and first application startup information is formed according to the first application, the first statistical period and the first startup parameter, and the preset The first statistical period is included in the list of statistical periods;
将所述第一应用启动信息添加至应用排序信息库中,并在所述应用排序信息库中统计所述第一应用启动信息对应的第一启动次数,以供所述应用排序信息库按照所述第一启动次数对所述第一统计时段内的所述第一应用进行排序,所述应用排序信息库中存储应用启动信息及对应的启动次数;Add the first application startup information to the application ranking information base, and count the first activation times corresponding to the first application startup information in the application ranking information base, so that the application ranking information The first startup times sort the first applications in the first statistical period, and the application ranking information base stores application startup information and the corresponding startup times;
在预设排序时间到达时,根据所述应用排序信息库和预设排序策略对所述预设排序时间对应的第二应用进行排序,并将所述第二应用对应的第二应用图标按照排序结果在显示桌面上进行显示。When the preset sorting time arrives, the second applications corresponding to the preset sorting time are sorted according to the application sorting information library and the preset sorting strategy, and the second application icons corresponding to the second applications are sorted according to the order. The results are displayed on the display desktop.
在本发明实施例中,进一步地,上述处理器10,还用于所述第一应用启动信息和所述应用排序信息库进行匹配;当所述第一应用启动信息与所述应用排序信息库中的第二应用启动信息匹配时,将所述第一启动次数加一;In the embodiment of the present invention, further, the above-mentioned
所述当所述第一应用启动信息与所述第二应用启动信息不匹配时,将所述第一应用启动信息添加至所述应用排序信息库中,并将所述第一启动次数设置为一。when the first application startup information does not match the second application startup information, the first application startup information is added to the application sorting information database, and the first startup times are set to one.
在本发明实施例中,进一步地,上述处理器10,还用于根据所述当前启动参数,从预设权重值列表中为当前启动参数类型中的启动参数确定第一权重值,所述当前启动参数为所述当前启动参数类型中所述预设排序时间到达时的启动参数,所述预设权重值列表与所述当前启动参数类型一一对应;In the embodiment of the present invention, further, the above-mentioned
从所述应用排序信息库中获取所述当前统计时段对应的所述第二应用,以及所述第二应用对应的历史启动参数和历史启动次数;Obtain the second application corresponding to the current statistical period, and the historical startup parameters and historical startup times corresponding to the second application from the application ranking information database;
根据所述第一权重值和所述历史启动次数,计算所述第二应用的排列系数,并根据所述排列系数对所述第二应用进行排列。According to the first weight value and the historical start times, an arrangement coefficient of the second application is calculated, and the second application is arranged according to the arrangement coefficient.
在本发明实施例中,进一步地,上述处理器10,还用于从所述预设权重值列表中为所述当前启动参数选择最大权重值;In the embodiment of the present invention, further, the above-mentioned
从所述预设权重值列表中,为所述当前启动参数类型中除所述当前启动参数外的其他启动参数,选择除所述最大权重值外的其他权重值;From the preset weight value list, for other startup parameters other than the current startup parameter in the current startup parameter type, select other weight values except the maximum weight value;
将所述最大权重值和所述其他权重值确定为所述第一权重值;determining the maximum weight value and the other weight values as the first weight value;
所述处理器,还用于从所述第一权重值中确定所述历史启动参数对应的历史权重值;The processor is further configured to determine a historical weight value corresponding to the historical startup parameter from the first weight value;
对所述历史权重值进行乘运算,计算出所述第二应用对应的第二权重值;Multiplying the historical weight value to calculate a second weight value corresponding to the second application;
根据所述第二权重值和所述历史启动次数,得到所述第二应用的所述排列系数。The ranking coefficient of the second application is obtained according to the second weight value and the historical start times.
本发明实施例提出的终端,当接收启动第一应用的启动指令时,获取接收所述启动指令的当前时间和第一启动参数,所述第一启动参数包括接收所述启动指令的第一位置信息和第一网络状况;基于预设统计时段列表确定所述当前时间所属的第一统计时段,并将所述第一应用、所述第一统计时段和所述第一启动参数组成第一应用启动信息,所述预设统计时段列表中包括所述第一统计时段;将所述第一应用启动信息添加至应用排序信息库中,并在所述应用排序信息库中统计所述第一应用启动信息对应的第一启动次数;在预设排序时间到达时,确定到达所述预设排序时间的当前统计时段和当前统计参数,并根据所述当前统计时段、所述当前统计参数、所述应用排序信息库以及预设排序策略对所述预设排序时间对应的第二应用进行排序;将所述第二应用对应的第二应用图标按照排序结果在显示桌面上进行显示。由此可见,本发明实施例提出的终端,能够提高应用图标的排序准确度。In the terminal proposed in the embodiment of the present invention, when receiving a startup instruction for starting a first application, the terminal acquires the current time when the startup instruction is received and a first startup parameter, where the first startup parameter includes a first location where the startup instruction is received. information and the first network status; determine the first statistical period to which the current time belongs based on the preset statistical period list, and form the first application, the first statistical period and the first startup parameter into a first application Startup information, the preset statistics period list includes the first statistics period; the first application startup information is added to the application ranking information base, and the first application is counted in the application ranking information base The first startup times corresponding to the startup information; when the preset sorting time arrives, determine the current statistical period and the current statistical parameters that have reached the preset sorting time, and determine the current statistical period and the current statistical parameters according to the current statistical period, the current statistical parameters, the The second application corresponding to the preset sorting time is sorted by the application sorting information base and the preset sorting strategy; the second application icon corresponding to the second application is displayed on the display desktop according to the sorting result. It can be seen that the terminal proposed by the embodiment of the present invention can improve the sorting accuracy of the application icons.
本发明实施例提供一种计算机可读存储介质,上述计算机可读存储介质存储有一个或者多个程序,上述一个或者多个程序可被一个或者多个处理器执行,应用于终端中,该程序被处理器执行时实现如实施例一至实施例二的方法。An embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors, and applied to a terminal, the program When executed by the processor, the methods of the first embodiment to the second embodiment are implemented.
具体来讲,本实施例中的一种图标排序方法对应的程序指令可以被存储在光盘,硬盘,U盘等存储介质上,当存储介质中的与一种图标排序方法对应的程序指令被一电子设备读取或被执行时,包括如下步骤:Specifically, the program instructions corresponding to an icon sorting method in this embodiment may be stored on a storage medium such as an optical disc, a hard disk, a U disk, etc. When the program instructions corresponding to an icon sorting method in the storage medium are When the electronic device reads or is executed, it includes the following steps:
当接收启动第一应用的启动指令时,获取接收所述启动指令的当前时间和第一启动参数,所述第一启动参数包括接收所述启动指令的第一位置信息和第一网络状况;When receiving the startup instruction for starting the first application, obtain the current time and first startup parameter of receiving the startup instruction, where the first startup parameter includes the first location information and the first network condition for receiving the startup instruction;
基于预设统计时段列表确定所述当前时间所属的第一统计时段,并将所述第一应用、所述第一统计时段和所述第一启动参数组成第一应用启动信息,所述预设统计时段列表中包括所述第一统计时段;The first statistical period to which the current time belongs is determined based on the preset statistical period list, and the first application, the first statistical period and the first startup parameter are formed into first application startup information, and the preset The first statistical period is included in the list of statistical periods;
将所述第一应用启动信息添加至应用排序信息库中,并在所述应用排序信息库中统计所述第一应用启动信息对应的第一启动次数;adding the first application startup information to an application ranking information database, and counting the first startup times corresponding to the first application startup information in the application ranking information database;
在预设排序时间到达时,确定到达所述预设排序时间的当前统计时段和当前统计参数,并根据所述当前统计时段、所述当前统计参数、所述应用排序信息库以及预设排序策略对所述预设排序时间对应的第二应用进行排序;When the preset sorting time arrives, the current statistical period and the current statistical parameters that reach the preset sorting time are determined, and based on the current statistical period, the current statistical parameters, the application sorting information database and the preset sorting strategy sorting the second applications corresponding to the preset sorting time;
将所述第二应用对应的第二应用图标按照排序结果在显示桌面上进行显示。The second application icon corresponding to the second application is displayed on the display desktop according to the sorting result.
在本发明的实施例中,进一步地,在将所述第一应用启动信息添加至所述应用排序信息库中,并在所述应用排序信息库中统计所述第一应用对应的第一启动次数,上述一个或者多个程序被上述一个或者多个处理器执行,以实现以下步骤:In the embodiment of the present invention, further, the first application startup information is added to the application ranking information database, and the first startup corresponding to the first application is counted in the application ranking information database. number of times, the above one or more programs are executed by the above one or more processors to achieve the following steps:
将所述第一应用启动信息和所述应用排序信息库进行匹配;matching the first application startup information with the application sorting information base;
当所述第一应用启动信息与所述应用排序信息库中的第二应用启动信息匹配时,将所述第一启动次数加一;When the first application startup information matches the second application startup information in the application sorting information base, add one to the first startup times;
当所述第一应用启动信息与所述第二应用启动信息不匹配时,将所述第一应用启动信息添加至所述应用排序信息库中,并将所述第一启动次数设置为一。When the first application startup information does not match the second application startup information, the first application startup information is added to the application sorting information base, and the first number of startup times is set to one.
在本发明的实施例中,进一步地,在根据所述当前统计时间、所述当前统计参数、所述应用排序信息库以及预设排序策略对所述预设排序时间对应的第二应用进行排序,上述一个或者多个程序被上述一个或者多个处理器执行,具体实现以下步骤:In the embodiment of the present invention, further, the second applications corresponding to the preset sorting time are sorted according to the current statistical time, the current statistical parameters, the application sorting information database and the preset sorting strategy , the above one or more programs are executed by the above one or more processors, and the following steps are specifically implemented:
根据所述当前启动参数,从预设权重值列表中为当前启动参数类型中的启动参数确定第一权重值,所述当前启动参数为所述当前启动参数类型中所述预设排序时间到达时的启动参数,所述预设权重值列表与所述当前启动参数类型一一对应;According to the current startup parameter, a first weight value is determined for the startup parameter in the current startup parameter type from the preset weight value list, and the current startup parameter is when the preset sorting time in the current startup parameter type arrives the startup parameters, the preset weight value list corresponds to the current startup parameter type one-to-one;
从所述应用排序信息库中获取所述当前统计时段对应的所述第二应用,以及所述第二应用对应的历史启动参数和历史启动次数;Obtain the second application corresponding to the current statistical period, and the historical startup parameters and historical startup times corresponding to the second application from the application ranking information database;
根据所述第一权重值和所述历史启动次数,计算所述第二应用的排列系数,并根据所述排列系数对所述第二应用进行排列。According to the first weight value and the historical start times, an arrangement coefficient of the second application is calculated, and the second application is arranged according to the arrangement coefficient.
在本发明的实施例中,进一步地,在根据所述当前启动参数,从预设权重值列表中为当前启动参数类型中的启动参数确定第一权重值,上述一个或者多个程序被上述一个或者多个处理器执行,以实现以下步骤:In the embodiment of the present invention, further, according to the current startup parameters, a first weight value is determined from a preset weight value list for startup parameters in the current startup parameter type, and the one or more programs are selected by the one or more programs described above. or multiple processors to implement the following steps:
从所述预设权重值列表中为所述当前启动参数选择最大权重值;selecting a maximum weight value for the current startup parameter from the preset weight value list;
从所述预设权重值列表中,为所述当前启动参数类型中除所述当前启动参数外的其他启动参数,选择除所述最大权重值外的其他权重值;From the preset weight value list, for other startup parameters other than the current startup parameter in the current startup parameter type, select other weight values except the maximum weight value;
将所述最大权重值和所述其他权重值确定为所述第一权重值。The maximum weight value and the other weight values are determined as the first weight value.
在本发明的实施例中,进一步地,在将根据所述第一权重值和所述历史启动次数,计算所述第二应用的排列系数,上述一个或者多个程序被上述一个或者多个处理器执行,以实现以下步骤:In the embodiment of the present invention, further, when calculating the arrangement coefficient of the second application according to the first weight value and the historical start times, the one or more programs are processed by the one or more programs. implements the following steps:
从所述第一权重值中确定所述历史启动参数对应的历史权重值;Determine the historical weight value corresponding to the historical startup parameter from the first weight value;
对所述历史权重值进行乘运算,计算出所述第二应用对应的第二权重值;Multiplying the historical weight value to calculate a second weight value corresponding to the second application;
根据所述第二权重值和所述历史启动次数,得到所述第二应用的所述排列系数。The ranking coefficient of the second application is obtained according to the second weight value and the historical start times.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages or disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the scope of protection of the present invention and the claims, many forms can be made, which all belong to the protection of the present invention.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710510294.6A CN107329754B (en) | 2017-06-28 | 2017-06-28 | A kind of icon sorting method and terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710510294.6A CN107329754B (en) | 2017-06-28 | 2017-06-28 | A kind of icon sorting method and terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107329754A CN107329754A (en) | 2017-11-07 |
| CN107329754B true CN107329754B (en) | 2020-11-27 |
Family
ID=60198048
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710510294.6A Expired - Fee Related CN107329754B (en) | 2017-06-28 | 2017-06-28 | A kind of icon sorting method and terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107329754B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107920164B (en) * | 2017-11-15 | 2020-10-27 | 中国联合网络通信集团有限公司 | Application ranking method, system and server |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8698751B2 (en) * | 2010-10-01 | 2014-04-15 | Z124 | Gravity drop rules and keyboard display on a multiple screen device |
| CN103870108A (en) * | 2012-12-17 | 2014-06-18 | 深圳富泰宏精密工业有限公司 | Application program ranking system and method |
| CN103353821A (en) * | 2013-06-09 | 2013-10-16 | 广东欧珀移动通信有限公司 | System and method for managing desktop application program icons of mobile terminal |
| CN103530220A (en) * | 2013-10-09 | 2014-01-22 | 华为技术有限公司 | Display method and system and terminal for application program icons |
| CN104750503A (en) * | 2013-12-27 | 2015-07-01 | 富泰华工业(深圳)有限公司 | Desktop icon adjusting method and system |
| CN105320457A (en) * | 2015-11-26 | 2016-02-10 | 上海斐讯数据通信技术有限公司 | Automatic replacement method and system for application icons of electronic equipment and electronic equipment |
| CN106406654A (en) * | 2016-08-24 | 2017-02-15 | 乐视控股(北京)有限公司 | Application icon automatic sorting method and system, and mobile device comprising system |
| CN106371708A (en) * | 2016-11-22 | 2017-02-01 | 宇龙计算机通信科技(深圳)有限公司 | App icon intelligent sorting method, system and terminal device thereof |
-
2017
- 2017-06-28 CN CN201710510294.6A patent/CN107329754B/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN107329754A (en) | 2017-11-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107247746B (en) | Data sharing method and terminal | |
| CN105786878B (en) | Display method and device of browsing object | |
| WO2019015404A1 (en) | Method and apparatus for switching applications in split screen mode, and related device thereof | |
| CN110007816B (en) | Display area determining method, terminal and computer readable storage medium | |
| CN107526722A (en) | A kind of character relation analysis method and terminal | |
| CN108984066B (en) | Application icon display method and mobile terminal | |
| US10621259B2 (en) | URL error-correcting method, server, terminal and system | |
| CN107741802B (en) | Application starting method, terminal and computer readable storage medium | |
| CN110767950B (en) | Charging method, device, terminal device and computer-readable storage medium | |
| CN110442281A (en) | Application icon display method and terminal | |
| CN107168626B (en) | Information processing method and device and computer readable storage medium | |
| CN107145386A (en) | Data migration method, terminal device and computer-readable recording medium | |
| CN108322897B (en) | Card package combination method and device | |
| CN107391151B (en) | Application evaluation method, device and computer-readable storage medium | |
| EP2998843A1 (en) | Intelligent terminal and method for displaying input operation interface thereof | |
| CN108600080A (en) | A kind of social information display methods and server | |
| CN108536349A (en) | A kind of icon management method and mobile terminal | |
| CN107423123A (en) | Task scheduling method and device, storage medium and electronic equipment | |
| CN106815079A (en) | Method and mobile terminal for popular application control | |
| CN107317930A (en) | A kind of layout method of desktop icons, device and computer-readable recording medium | |
| CN103455594B (en) | A kind of browser address bar recommends the method for network address, device and terminal device | |
| CN111596827B (en) | Icon display control method and device, storage medium and mobile terminal | |
| CN107329754B (en) | A kind of icon sorting method and terminal | |
| CN107967086A (en) | A kind of icon arrangement method and device of mobile terminal, mobile terminal | |
| CN106095567A (en) | A kind of distribution method installing task and mobile terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| TA01 | Transfer of patent application right | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20201109 Address after: 242599 under the viaduct of fufu South Road, Jingchuan Town, Jingxian County, Xuancheng City, Anhui Province Applicant after: Jingxian GUSHENG Information Technology Co.,Ltd. Address before: 518000 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor Applicant before: NUBIA TECHNOLOGY Co.,Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20210301 Address after: No.188, Meiqi Road, Xiyuan Community, Jingchuan Town, Jing County, Xuancheng City, Anhui Province Patentee after: Jingxian jizhijia Industrial Design Co.,Ltd. Address before: 242599 under the viaduct of fufu South Road, Jingchuan Town, Jing County, Xuancheng City, Anhui Province Patentee before: Jingxian GUSHENG Information Technology Co.,Ltd. |
|
| PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
| PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A Method for Sorting Icons and Terminals Effective date of registration: 20230814 Granted publication date: 20201127 Pledgee: Jingxian SME Financing Guarantee Co.,Ltd. Pledgor: Jingxian jizhijia Industrial Design Co.,Ltd. Registration number: Y2023980051956 |
|
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201127 |
|
| PC01 | Cancellation of the registration of the contract for pledge of patent right | ||
| PC01 | Cancellation of the registration of the contract for pledge of patent right |
Granted publication date: 20201127 Pledgee: Jingxian SME Financing Guarantee Co.,Ltd. Pledgor: Jingxian jizhijia Industrial Design Co.,Ltd. Registration number: Y2023980051956 |
