WO2018018702A1 - 一种odex优化控制方法及移动终端 - Google Patents
一种odex优化控制方法及移动终端 Download PDFInfo
- Publication number
- WO2018018702A1 WO2018018702A1 PCT/CN2016/097468 CN2016097468W WO2018018702A1 WO 2018018702 A1 WO2018018702 A1 WO 2018018702A1 CN 2016097468 W CN2016097468 W CN 2016097468W WO 2018018702 A1 WO2018018702 A1 WO 2018018702A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- application
- odex
- optimization
- mobile terminal
- priority
- 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.)
- Ceased
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
-
- 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/44568—Immediately runnable code
- G06F9/44578—Preparing or optimising for loading
Definitions
- the present invention relates to the field of mobile communications technologies, and in particular, to an ODEX optimization control method and a mobile terminal.
- ODEX optimization is to extract the executable files in the Android Android application and store the executable files separately to speed up the booting speed and the loading speed of the application.
- the mobile terminal performs internal data management or the mobile terminal restores the factory settings through Over the Air Technology (OTA), the mobile terminal restarts. After the mobile terminal is restarted, the application in the mobile terminal is ODEX optimized.
- OTA Over the Air Technology
- the order in which applications perform ODEX optimization is random. If the mobile terminal is restarted, the ODEX optimization of the application is randomly performed, and the application that is commonly used by the user and needs to respond to the user input instruction from time to time may be placed and optimized. Because ODEX-optimized applications are unable to respond to user input commands, random ODEX optimization of the application increases the probability that the application will be unable to respond to user input commands due to the ODEX optimization state.
- the embodiment of the invention discloses an ODEX optimization control method and a mobile terminal, which can reduce the probability that the application cannot be responsive to the user input instruction because the application is in the ODEX optimization state.
- the first aspect of the embodiment of the present invention discloses an ODEX optimization control method, including:
- an application set installed in the mobile terminal the application set including at least one application installed on the mobile terminal;
- the usage parameters include the duration of use and/or the frequency of use;
- ODEX optimization is performed on each of the applications in turn according to the priority order of the ODEX optimization priorities.
- a second aspect of the embodiment of the present invention discloses a mobile terminal, including:
- An obtaining unit configured to acquire an application set installed in the mobile terminal, where the application set includes at least one application installed in the mobile terminal;
- the obtaining unit is further configured to acquire usage parameters of each application in the application set, and calculate an ODEX optimization priority of each application in the application set according to the usage parameter, where the using Parameters include duration of use and/or frequency of use;
- a sequence optimization unit configured to perform ODEX optimization on each of the applications in order according to a priority order of the ODEX optimization priorities acquired by the obtaining unit.
- the mobile terminal calculates the ODEX optimization priority of the application according to the usage parameter of the application, and performs ODEX optimization on the application according to the priority order of the ODEX optimization priority. It can be seen that, in the embodiment of the present invention, the mobile terminal can determine the order of the application ODEX optimization according to the usage parameters of the application, and can enable the mobile terminal to preferentially perform ODEX optimization on the application commonly used by the user, thereby reducing the restart of the mobile terminal. The probability that the application is in an ODEX optimized state and is unable to respond to user input instructions.
- FIG. 1 is a schematic flow chart of an ODEX optimization control method disclosed in an embodiment of the present invention.
- FIG. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
- FIG. 3 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention.
- FIG. 4 is a computer system based on the von Neumann system that runs the above application interface switching method according to an embodiment of the present invention.
- the embodiment of the invention discloses an ODEX optimization control method and a mobile terminal, which can reduce the probability that the application cannot be responsive to the user input instruction because the application is in the ODEX optimization state. The details are described below separately.
- FIG. 1 is a schematic flowchart diagram of an ODEX optimization control method according to an embodiment of the present invention. As shown in FIG. 1, the ODEX optimization control method may include the following steps.
- the mobile terminal acquires an application set installed in the mobile terminal, where the application set includes at least one application installed on the mobile terminal.
- the mobile terminal may include user equipment running an Android operating system, an iOS operating system, a Windows operating system, or other operating systems, such as a mobile phone, a mobile computer, a tablet, a Personal Digital Assistant (PDA), and the like.
- Android operating system an iOS operating system
- Windows operating system or other operating systems, such as a mobile phone, a mobile computer, a tablet, a Personal Digital Assistant (PDA), and the like.
- PDA Personal Digital Assistant
- the application installed on the mobile terminal can correspond to the application name.
- the application name corresponding to the application QQ can be QQ
- the application name corresponding to the application WeChat can be Weixin.
- the mobile terminal can obtain an application installed on the mobile terminal through a getAppName() statement.
- the mobile terminal can acquire an application installed on the mobile terminal as: application 1, application 2, application 3, application 4, and the like.
- the application can be an application collection ⁇ Application 1, Application 2, Application 3, Application 4 ⁇ , and the like.
- the mobile terminal acquires usage parameters of each application in the application set, and calculates a runnable file ODEX optimization priority of each application in the application set according to the usage parameter, where the usage parameter includes a usage duration. And / or frequency of use.
- ODEX optimization can refer to the process of separate storage of .dex files generated by classes.dex in Android applications through dex optimization. ODEX optimization can improve the boot speed of the mobile terminal and the loading speed of the application.
- the duration of use can refer to the length of time the application is used over a period of time. For example, during the day, users use Application 1 from 8:00 am to 10:00 am, and from 2:30 pm to 4:00 pm, and from 8:00 to 9:00 pm, for a total of 4:30 hours. , in one day, application 1 is used for 4:30 hours; for example, during the day, the user uses application 2 from 9:00 am to 10:00 am, and 9:00 to 9:00 pm: 30, a total of 1:30 hours, the application time of the application 2 is 1:30 hours in a day.
- the frequency of use can refer to the frequency of use of the application over a period of time. For example, in a day, the number of times the user launches the application 1 is 3 times, the application frequency of the application 1 is 3 times/day in one day; for another example, the number of times the user starts the application 2 is 2 times in one day. , the application frequency of application 2 is 2 times/day in one day.
- the mobile terminal can first sort each application from first to last according to the usage duration and/or the frequency of use of each application. For example, the application 1 is used for 4:30 hours, and the application 2 is The usage time is 1:30 hours, the application 3 is used for 2 hours, and the application 4 is used for half an hour.
- the results of sorting the above 4 applications according to the application duration can be: application 1.
- Application 3, Application 2 and Application 4; next, the mobile terminal can assign ODEX optimization priority to the sorted application according to the following formula (1), wherein formula (1) is only optional.
- a formula is not limited in the embodiment of the present invention:
- y1 is the ODEX optimization priority of the application
- k is the sequence number of the application after sorting the application according to the usage parameters of the application.
- the sequence number k of the application 1 is 1
- the mobile terminal performs ODEX optimization on each application in turn according to the priority order of the ODEX optimization priority.
- the priority order of ODEX optimization priorities may refer to the order in which the ODEX optimizes the priority from high to low. For example, as shown in Table 1, if the mobile terminal sequentially performs ODEX optimization on the four applications in accordance with the priority order of the ODEX optimization priority, the order may be: application 1, application 3, application 2, application. Procedure 4.
- step S102 further includes the following steps:
- Step 11) The mobile terminal determines whether the first target application currently in the application set that is currently undergoing ODEX optimization is running.
- Step 12 The mobile terminal stops the ODEX optimization of the first target application if the first target application is running, and performs the next application of the first target application according to the priority order of the ODEX optimization priority.
- the program performs ODEX optimization.
- the application currently performing ODEX optimization is the application 1
- the application 1 may be The first target application; similarly, if the application currently being ODEX optimized is the application 2, the application 2 can be the first target application or the like.
- the mobile terminal determining whether the first target application is running may be understood as: the mobile terminal determines whether the first target application is running in the foreground or running in the background. That is, if the mobile terminal determines that the first target application is running in the foreground, determining that the first target application is running; or, if the mobile terminal determines that the first target application is running in the background, determining the first target The application is running, etc.
- the optimization order of the four applications may be: application 1, application 3, application 2, and application 4. If the first target application is the application 1, the mobile terminal can follow the optimized application of the 4 applications to the next application 3 of the application 1. The ODEX optimization is performed. Similarly, if the first target application is the application 2, the mobile terminal may perform ODEX optimization or the like on the next application 4 of the application 2 according to the optimized order of the four applications.
- the mobile terminal can stop the ODEX optimization of the application, so as to avoid the ODEX optimization of the application, the application cannot be used normally. Thereby affecting the user experience.
- step 12 the step of: determining, by the mobile terminal, whether the application other than the first target application in the application set is all ODEX optimized; if the mobile terminal determines All other applications are ODEX optimized, then it is determined whether the first target application is running, and if the first target application is not running, the first target application is ODEX optimized.
- This step can further judge the application that is not optimized by ODEX. If the application that is not optimized by ODEX is not currently running, the application is ODEX optimized, which can improve each application in the mobile terminal. The probability of performing ODEX optimization.
- step S102 further includes the following steps:
- Step 21) the mobile terminal determines whether the second target application in the application set is running; wherein the second target application is the next application after the third target application according to the priority order of the ODEX optimization priority , wherein the third target application is an application currently being optimized for ODEX.
- Step 22 the mobile terminal determines that if the second target application is running, setting the second target application to the M application after the third target application according to the priority order, performing ODEX optimization, where M is a positive integer.
- Steps 21) and 22) may be implemented.
- the mobile terminal may correspond to the ODEX of the second target application.
- the optimized optimized position moves backwards to prevent the second target application from performing ODEX optimization and causing the problem of abnormal use.
- the ODEX optimization of the application is prioritized: Application 1, Application 3, Application 2, Application 4, Application 5, Application 6, Application 7, Application 8.
- the application 1 is currently undergoing ODEX optimization, and if the next application 3 of the application 1 is running, the application 3 can be set in the application in the optimized order.
- the mobile terminal may perform the ODEX optimization on the second target application in any position after the M application after the third target application according to the priority order, which is not limited in the embodiment of the present invention.
- the value of M can be set according to your actual needs.
- step S102 the following steps may also be performed:
- Step 31) The mobile terminal detects whether the mobile terminal installs a new application.
- the new application can refer to a newly installed application of the mobile terminal. For example, if the existing application of the mobile terminal is: application 1, application 2, application 3, and application 4, the mobile terminal now installs application A, and application A is the new application.
- the new application set composed may be ⁇ Application 1.
- Step 33 The mobile terminal assigns a preset initial ODEX optimization priority to the new application, and recalculates an ODEX optimization priority of the new application set other than the new application.
- the size of the ODEX optimization priority of the application in the application collection can be related to the usage duration of the application, that is, the longer the application is used, the ODEX optimization of the application. The greater the priority. It can thus be concluded that the longer the installation time of the application in the mobile terminal, the greater the ODEX optimization priority of the application may be. Therefore, in order to reduce the gap between the ODEX optimization priority of the application in the application set and the ODEX optimization priority of the new application, after the mobile terminal installs a new application, the application can be applied to the application set.
- the ODEX optimization priority of the program is calculated according to the formula (2), wherein the formula (2) is only an optional formula, which is not limited in the embodiment of the present invention:
- y1 is the ODEX optimization priority of the application in the application set before the mobile terminal does not install the new application
- y2 is recalculated after installing the new application for the mobile terminal.
- the ODEX optimization priority of the newly installed application can be set to an initial value of 100
- the ODEX optimization priority of the application, such as application 1, in the application set before the mobile terminal is not installed is 200
- the formula (2) reduces the gap between the ODEX optimization priority of the application in the application collection and the ODEX optimization priority of the new application.
- step S103 may be: sequentially ordering the new application according to the priority order of the ODEX optimization priority of each application in the new application set.
- Each application in the collection is ODEX optimized.
- the above application may refer to an application that displays an icon of the application on a desktop of the mobile terminal.
- the application running on the icon of the mobile terminal desktop appears at the same time as the ODEX optimization, that is, the probability of collision is large. Therefore, the application referred to in the foregoing patent may refer to an application whose application icon is displayed on the desktop of the mobile terminal.
- the mobile terminal calculates the ODEX optimization priority of the application according to the usage parameters of the application, and performs ODEX optimization on the application according to the priority order of the ODEX optimization priority. It can be seen that, by implementing the method described in FIG. 1 , the mobile terminal can determine the order of the application ODEX optimization according to the usage parameters of the application, and can enable the mobile terminal to preferentially optimize the ODEX of the application commonly used by the user, thereby reducing the restart of the mobile terminal after the mobile terminal is restarted. The probability that the application is in an ODEX optimized state cannot respond to user input instructions.
- FIG. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
- the mobile terminal shown in FIG. 2 may include:
- the obtaining unit 201 is configured to acquire an application set installed in the mobile terminal, where the application set includes at least one application installed on the mobile terminal.
- the obtaining unit 201 is further configured to acquire usage parameters of each application in the application set. And calculate a runnable file ODEX optimization priority for each application in the application set according to the usage parameter, wherein the usage parameter includes usage duration and/or usage frequency.
- the duration of use can refer to the length of time the application is used over a period of time. For example, during the day, users use Application 1 from 8:00 am to 10:00 am, and from 2:30 pm to 4:00 pm, and from 8:00 to 9:00 pm, for a total of 4:30 hours. , in one day, application 1 is used for 4:30 hours; for example, during the day, the user uses application 2 from 9:00 am to 10:00 am, and 9:00 to 9:00 pm: 30, a total of 1:30 hours, the application time of the application 2 is 1:30 hours in a day.
- the frequency of use can refer to the frequency of use of the application over a period of time. For example, in a day, the number of times the user launches the application 1 is 3 times, the application frequency of the application 1 is 3 times/day in one day; for another example, the number of times the user starts the application 2 is 2 times in one day. , the application frequency of application 2 is 2 times/day in one day.
- the sequence optimization unit 202 is configured to perform ODEX optimization on each application in order according to the priority order of the ODEX optimization priority acquired by the obtaining unit 201.
- the priority order of ODEX optimization priorities may refer to the order in which the ODEX optimizes the priority from high to low. For example, as shown in Table 1, if the mobile terminal sequentially performs ODEX optimization on the four applications in accordance with the priority order of the ODEX optimization priority, the order may be: application 1, application 3, application 2, application. Procedure 4.
- sequence optimization unit 202 is specifically configured to determine whether the first target application that is currently performing ODEX optimization in the application set is running.
- the first target application If the first target application is running, stopping the ODEX optimization of the first target application, and performing ODEX optimization on the next application of the first target application according to the priority order of the ODEX optimization priority.
- sequence optimization unit 202 is further configured to: after the ODEX optimization of the first target application is stopped, determine whether all applications in the application set except the first target application are all performed. ODEX optimization;
- the other application is all ODEX optimized, it is determined whether the first target application is running, and if the first target application is not running, the first target application is ODEX optimized.
- sequence optimization unit 202 is specifically configured to determine the second directory in the application set. Whether the target application is running; wherein the second target application is the next application of the third target application according to the priority order of the ODEX optimization, wherein the third target application is an application currently being optimized for ODEX program.
- the second target application is set in the priority order to perform ODEX optimization after the third target application is the M application, wherein the M is a positive integer.
- FIG. 3 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention.
- the mobile terminal shown in FIG. 3 is optimized by the mobile terminal shown in FIG. 2.
- the mobile terminal shown in FIG. 3 may further include:
- the detecting unit 203 is configured to detect, after the acquiring unit 201 calculates the ODEX optimization priority of each application in the application set, according to the usage parameter, whether the mobile terminal installs a new application.
- the new application can refer to a newly installed application of the mobile terminal. For example, if the existing application of the mobile terminal is: application 1, application 2, application 3, and application 4, the mobile terminal first installs application A, and application A is the new application.
- the adding unit 204 is configured to, if the detecting unit 203 detects that the mobile terminal installs the new application, add the new application to the application set, and combine into a new application set.
- the new application set composed may be ⁇ Application 1.
- the obtaining unit 201 is further configured to assign a preset initial ODEX optimization priority to the new application, and recalculate an ODEX optimization priority of the new application set other than the new application.
- the sequence optimization unit 202 is specifically configured to perform ODEX optimization on each application in the new application set in order according to the priority order of the ODEX optimization priority of each application in the new application set combined by the adding unit 204. .
- the above application may refer to an icon of the application on the desktop of the mobile terminal.
- the line shows the app.
- the application running on the icon of the mobile terminal desktop appears at the same time as the ODEX optimization, that is, the probability of collision is large. Therefore, the application referred to in the foregoing patent may refer to an application whose application icon is displayed on the desktop of the mobile terminal.
- Figure 4 discloses a von Neumann system based computer system 4 running the above described application interface switching method.
- the computer system 4 can be a user terminal device such as a smart phone, a tablet computer, a palmtop computer, a notebook computer or a personal computer.
- an external input interface 1001, a processor 1002, a memory 1003, and an output interface 1004 connected through a system bus may be included.
- the external input interface 1001 can include a touch screen 10016, and optionally can include a network interface 10018.
- the memory 1003 may include an external memory 10032 (eg, a hard disk, an optical disk, or a floppy disk, etc.) and an internal memory 10034.
- the output interface 1004 can include a display screen 10042 and an audio/horn 10044 device.
- the operation of the method is based on a computer program, the program file of which is stored in the external memory 10032 of the aforementioned von Neumann system-based computer system 10, and is loaded into the internal memory 10034 at runtime, Then, it is compiled into a machine code and then transferred to the processor 1002 for execution, so that the logical operation monitoring module 310, the fingerprint detecting module 320, the interface switching module 330, and the pressure value judgment are formed in the von Neumann system-based computer system 10.
- the units in the mobile terminal in the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
- the program can be executed by instructing related hardware, and the program can be stored in a computer readable storage medium, and the storage medium includes a read-only memory (ROM) and a random access memory (RAM).
- ROM read-only memory
- RAM random access memory
- PROM Programmable Read-Only Memory
- EPROM Erasable Programmable Read Only Memory
- One-Time Programmable Read-Only Memory One-time Programmable Read-Only Memory
- EEPROM Electrically-Erasable Programmable Read-Only Memory
- CD-ROM Compact Disc Read-Only Memory
- CD-ROM Compact Disc Read-Only Memory
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Stored Programmes (AREA)
- Telephonic Communication Services (AREA)
Abstract
一种ODEX优化控制方法及移动终端,其中,该方法包括:移动终端获取该移动终端中安装的应用程序集合,该应用程序集合包括至少一个安装在该移动终端的应用程序(S101);该移动终端获取该应用程序集合中每一个应用程序的使用参数,并根据该使用参数计算该应用程序集合中每一个应用程序的可运行文件ODEX优化优先级(S102);该移动终端按照该ODEX优化优先级的优先顺序依次对该每一个应用程序进行ODEX优化(S103)。能够降低因应用程序处于ODEX优化状态而无法响应用户输入指令的概率。
Description
本申请要求于2016年7月27日提交中国专利局,申请号为201610601599.3、发明名称为“一种ODEX优化控制方法及移动终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本发明涉及移动通信技术领域,尤其涉及一种ODEX优化控制方法及移动终端。
ODEX优化是提取安卓Android应用程序中的可运行的文件,并将该可运行文件单独存放来加快开机速度和应用程序的加载速度。通常,在移动终端通过空中下载技术(Over the Air Technology,OTA)进行内部数据管理或移动终端恢复出厂设置时,移动终端会进行重启。移动终端重启之后便会对移动终端中的应用程序进行ODEX优化。
但是,在移动终端中,应用程序进行ODEX优化的顺序是随机的。若移动终端重启之后,随机对应用程序进行ODEX优化,可能会使用户常用、且需要时常响应用户输入指令的应用程序被放置在后面进行优化。因为正在ODEX优化的应用程序是无法响应用户输入指令,因此,随机对应用程序进行ODEX优化增大了因应用程序处于ODEX优化状态而无法响应用户输入指令的概率。
发明内容
本发明实施例公开了一种ODEX优化控制方法及移动终端,能够降低因应用程序处于ODEX优化状态而无法响应用户输入指令的概率。
本发明实施例第一方面公开了一种ODEX优化控制方法,包括:
获取移动终端中安装的应用程序集合,所述应用程序集合包括至少一个安装在所述移动终端的应用程序;
获取所述应用程序集合中每一个应用程序的使用参数,并根据所述使用参数计算所述应用程序集合中每一个应用程序的ODEX优化优先级,其中所述
使用参数包括使用时长和/或使用频率;
按照所述ODEX优化优先级的优先顺序依次对所述每一个应用程序进行ODEX优化。
本发明实施例第二方面公开了一种移动终端,包括:
获取单元,用于获取移动终端中安装的应用程序集合,所述应用程序集合包括至少一个安装在所述移动终端的应用程序;
所述获取单元,还用于获取所述应用程序集合中每一个应用程序的使用参数,并根据所述使用参数计算所述应用程序集合中每一个应用程序的ODEX优化优先级,其中所述使用参数包括使用时长和/或使用频率;
顺序优化单元,用于按照所述获取单元获取的所述ODEX优化优先级的优先顺序依次对所述每一个应用程序进行ODEX优化。
本发明实施例中,移动终端根据应用程序的使用参数计算应用程序的ODEX优化优先级,并按照ODEX优化优先级的优先顺序对应用程序进行ODEX优化。可见,实施本发明实施例,移动终端可以根据应用程序的使用参数来确定应用程序ODEX优化的顺序,可以让移动终端优先对用户常用的应用程序进行ODEX优化,从而降低了移动终端重启之后,因应用程序处于ODEX优化状态而无法响应用户输入指令的概率。
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例公开的一种ODEX优化控制方法的流程示意图;
图2是本发明实施例公开的一种移动终端的结构示意图;
图3是本发明实施例公开的另一种移动终端的结构示意图;
图4是本发明实施例公开的一种运行上述应用界面切换方法的基于冯诺依曼体系的计算机系统。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
需要说明的是,在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。
本发明实施例公开了一种ODEX优化控制方法及移动终端,能够降低因应用程序处于ODEX优化状态而无法响应用户输入指令的概率。以下分别进行详细说明。
请参见图1,图1为本发明实施例公开的一种ODEX优化控制方法的流程示意图。如图1所示,该ODEX优化控制方法可以包括以下步骤。
S101、移动终端获取该移动终端中安装的应用程序集合,该应用程序集合包括至少一个安装在该移动终端的应用程序。
该移动终端可以包括运行Android操作系统、iOS操作系统、Windows操作系统或其他操作系统的用户设备,例如移动电话、移动电脑、平板电脑、个人数字助理(Personal Digital Assistant,PDA)等,
安装在该移动终端的应用程序可以对应应用程序名称,比如应用程序QQ可以对应的应用程序名称为可以QQ,应用程序微信对应的应用程序名称可以为weixin等。移动终端可以通过getAppName()语句来获取安装在该移动终端的应用程序。
举例来说,该移动终端可以获取安装在该移动终端的应用程序为:应用程序1、应用程序2、应用程序3和应用程序4等。该应用程序可以成应用程序集合{应用程序1、应用程序2、应用程序3、应用程序4}等。
S102、该移动终端获取该应用程序集合中每一个应用程序的使用参数,并根据该使用参数计算该应用程序集合中每一个应用程序的可运行文件ODEX优化优先级,其中该使用参数包括使用时长和/或使用频率。
ODEX优化可以指Android应用程序中的classes.dex通过dex优化生成的.dex文件单独存放的过程,ODEX优化可以提升移动终端的开机速度和应用程序的加载速度。
该使用时长可以指一段时间内使用应用程序的时间长度。比如,在一天中,用户使用应用程序1的时间为早上8:00到早上10:00,以及下午2:30到下午4:00,以及晚上8:00到9:00,共4:30小时,则在一天中应用程序1的使用时长为4:30小时;再比如,在一天中,用户使用应用程序2的时间为早上9:00到早上10:00,以及晚上9:00到9:30,共1:30小时,则在一天中应用程序2的使用时长为1:30小时等。
该使用频率可以指一段时间内使用应用程序的频率。比如,在一天中,用户启动应用程序1的次数为3次,则在一天中应用程序1的使用频率为3次/天;再比如,在一天中,用户启动应用程序2的次数为2次,则在一天中应用程序2的使用频率为2次/天等。
该移动终端首先可以按照每一个应用程序的使用时长和/或使用频率的高低对每一个应用程序由先到后进行排序,比如,应用程序1的使用时长为4:30小时、应用程序2的使用时长为1:30小时,应用程序3的使用时长为2小时以及应用程序4的使用时长为半个小时,按照应用程序的使用时长对上述4个应用程序排序后的结果可以为:应用程序1、应用程序3、应用程序2和应用程序4;紧接着,该移动终端可以按照下述公式(1)为排序后的应用程序赋予ODEX优化优先级,其中,公式(1)只是可选的一种公式,本发明实施例不做限定:
y1=5-(k-1)/2+100………………………………(1)
其中,y1为应用程序的ODEX优化优先级,k为按照应用程序的使用参数对应用程序进行排序后应用程序的排列序号。比如,接上述列举的例子,应用程序1的排列序号k=1,则应用程序1的ODEX优化优先级y1=105;同理,应用程序2的排列序号k=3,则应用程序2的ODEX优化优先级y1=104;应用程序3的排列序号k=2,则应用程序3的ODEX优化优先级y1=104.5;应用程序4的排列序号k=4,则应用程序4的ODEX优化优先级y1=103.5。
| 按照应用程序的使用参数 | 应用程序的ODEX优化优先 |
| 对应用程序排序 | 级 |
| 应用程序1 | 105 |
| 应用程序3 | 104.5 |
| 应用程序2 | 104 |
| 应用程序4 | 103 |
表1
S103、该移动终端按照该ODEX优化优先级的优先顺序依次对该每一个应用程序进行ODEX优化。
ODEX优化优先级的优先顺序可以指的是按照该ODEX优化优先级由高到低的顺序。比如,如表1所示,若该移动终端按照该ODEX优化优先级的优先顺序依次对该上述4个应用程序进行ODEX优化的顺序可以为:应用程序1、应用程序3、应用程序2、应用程序4。
可选的,步骤S102的具体执行方式还包括以下步骤:
步骤11)、该移动终端判断该应用程序集合中当前正在进行ODEX优化的第一目标应用程序是否正在运行。
步骤12)、该移动终端若该第一目标应用程序正在运行,则停止该第一目标应用程序的ODEX优化,并按照该ODEX优化优先级的优先顺序对该第一目标应用程序的下一个应用程序进行ODEX优化。
举例来说,若在上述描述的应用程序集合{应用程序1、应用程序2、应用程序3、应用程序4}中,当前正在进行ODEX优化的应用程序为应用程序1,则应用程序1可以为第一目标应用程序;同理,若当前正在进行ODEX优化的应用程序为应用程序2,则应用程序2可以为第一目标应用程序等。
该移动终端判断第一目标应用程序是否正在运行可以理解为:该移动终端判断该第一目标应用程序是否正在前台运行或后台运行。即若该移动终端判断该第一目标应用程序在前台运行,则确定该第一目标应用程序正在运行;或,若该移动终端判断该第一目标应用程序在后台运行,则确定该第一目标应用程序正在运行等。
如表1所示,该4个应用程序的优化顺序可以为:应用程序1、应用程序3、应用程序2、应用程序4。若该第一目标应用程序为应用程序1,则该移动终端可以按照该4个应用程序的优化顺序对应用程序1的下一个应用程序3
进行ODEX优化;同理,若该第一目标应用程序为应用程序2,则该移动终端可以按照该4个应用程序的优化顺序对应用程序2的下一个应用程序4进行ODEX优化等。
实施本发明实施例,当用户正在使用应用程序,且恰好该应用程序正在ODEX优化,则移动终端可以停止该应用程序的ODEX优化,避免因该应用程序进行ODEX优化而导致该应用程序无法正常使用从而影响用户体验。
可选的,步骤12)之后,还可以执行步骤:该移动终端判断该应用程序集合中除该第一目标应用程序之外的其他应用程序是否全部都进行了ODEX优化;若该移动终端判断该其他应用程序全部都进行了ODEX优化,则判断该第一目标应用程序是否正在运行,若该第一目标应用程序未运行,则对该第一目标应用程序进行ODEX优化。该步骤可以对未进行ODEX优化的应用程序进行进一步判断,若未进行ODEX优化的应用程序当前未运行,则对该应用程序进行ODEX优化,该步骤可以提高对该移动终端中的每个应用程序进行ODEX优化的概率。
可选的,步骤S102的具体执行方式还包括以下步骤:
步骤21)、该移动终端判断该应用程序集合中第二目标应用程序是否正在运行;其中该第二目标应用程序为按照该ODEX优化优先级的优先顺序在第三目标应用程序之后下一个应用程序,其中该第三目标应用程序为当前正在进行ODEX优化的应用程序。
步骤22)、该移动终端判断若该第二目标应用程序正在运行,则按照该优先顺序将该第二目标应用程序设置在该第三目标应用程序之后的M应用程序之后进行ODEX优化,其中该M为正整数。
执行步骤21)和步骤22)可以实现,当ODEX优化还没进行到该第二目标应用程序,且该第二目标应用程序正在运行时,该移动终端可以将该第二目标应用程序对应的ODEX优化的优化位置向后移动,避免该第二目标应用程序在进行ODEX优化而导致无法正常使用问题的发生。
举例来说,若应用程序的ODEX优化的优先顺序为:应用程序1、应用程序3、应用程序2、应用程序4、应用程序5、应用程序6、应用程序7、应用程序8。若当前正在进行ODEX优化的是应用程序1,且若在应用程序1的下一个应用程序3正在运行,则可以按照该优化顺序将该应用程序3设置在该应用
程序1之后的M个应用程序之后进行ODEX优化。比如,若M=4,新的应用程序的ODEX优化的优先顺序可以为:应用程序1、应用程序2、应用程序4、应用程序5、应用程序3、应用程序6、应用程序7、应用程序8。
其中,该移动终端可以按照该优先顺序将该第二目标应用程序设置在该第三目标应用程序之后的M应用程序之后的任一位置进行ODEX优化,本发明实施例不作限定。关于M的取值用户可以根据自己的实际需求进行设定。
可选的,在步骤S102之后,还可以执行以下步骤:
步骤31)、该移动终端检测该移动终端是否安装新应用程序。
该新应用程序可以指该移动终端新安装的应用程序。比如,若该移动终端现有的应用程序为:应用程序1、应用程序2、应用程序3、应用程序4,该移动终端现在安装了应用程序A,则应用程序A为该新应用程序。
步骤32)、该移动终端若该移动终端安装该新应用程序,则将该新应用程序添加到该应用程序集合,组合成新应用程序集合。
若该移动的应用程序集合为{应用程序1、应用程序2、应用程序3、应用程序4},该新应用程序为应用程序A,则组成的该新应用程序集合可以为{应用程序1、应用程序2、应用程序3、应用程序4、应用程序A}。
步骤33)、该移动终端将预设的初始ODEX优化优先级赋值于该新应用程序,以及重新计算该新应用程序集合除新应用程序之外的其他应用程序的ODEX优化优先级。
结合该公式(1)可以看出,该应用程序集合中应用程序的ODEX优化优先级的大小可以与该应用程序的使用时长有关,即该应用程序的使用时长越长,该应用程序的ODEX优化优先级越大。从而可以得出,在该移动终端中的应用程序的安装时间越长,应用程序的ODEX优化优先级可能越大。因此,为了降低该应用程序集合中应用程序的ODEX优化优先级与该新应用程序的ODEX优化优先级之间的差距,在该移动终端安装了新应用程序之后,可以对该应用程序集合中应用程序的ODEX优化优先级按照公式(2)进行计算,其中,公式(2)只是可选的一种公式,本发明实施例不做限定:
y2=(y1-100)/2+100…………………………………….(2)
其中,y1为移动终端未安装新应用程序之前该应用程序集合中应用程序的ODEX优化优先级,y2为为移动终端安装新应用程序之后,重新计算得出的
该应用程序集合中应用程序的ODEX优化优先级。
比如,若新安装应用程序的ODEX优化优先级可以设置为初始值100,在移动终端未安装该新应用程序之前该应用程序集合中应用程序比如应用程序1的ODEX优化优先级为200,则未经过该公式(2)计算时,两者之间的ODEX优化优先级差距为200-100=100;若应用程序1经过该公式(2)计算之后,应用程序1的ODEX优化优先级变为(200-100)/2+100=150,两者之间的ODEX优化优先级差距为150-100=50等。可见,该公式(2)降低该应用程序集合中应用程序的ODEX优化优先级与该新应用程序的ODEX优化优先级之间的差距。
执行步骤S101、步骤S102、步骤31)、步骤32)、步骤33)之后,步骤S103可以为:按照该新应用程序集合中每一个应用程序的ODEX优化优先级的优先顺序依次对该新应用程序集合中每一个应用程序进行ODEX优化。
可选的,上述的应用程序可以指应用程序的图标在该移动终端的桌面上进行显示的应用程序。
因为图标在移动终端桌面上进行显示的应用程序,与图标不在移动终端桌面上显示的应用程序相比,被用户点击的概率较大。因此,图标在移动终端桌面上进行显示的应用程序运行与进行ODEX优化的在同一时间出现,即发生冲突的概率较大。所以,本专利前面所涉及到的应用程序可以指应用程序图标在移动终端桌面上进行显示的应用程序。
在图1所描述的方法中,移动终端根据应用程序的使用参数计算应用程序的ODEX优化优先级,并按照ODEX优化优先级的优先顺序对应用程序进行ODEX优化。可见,实施图1描述的方法,移动终端可以根据应用程序的使用参数来确定应用程序ODEX优化的顺序,可以让移动终端优先对用户常用的应用程序进行ODEX优化,从而降低了移动终端重启之后,因应用程序处于ODEX优化状态而无法响应用户输入指令的概率。
请参见图2,图2是本发明实施例公开的一种移动终端的结构示意图。其中,图2所示的移动终端可以包括:
获取单元201,用于获取移动终端中安装的应用程序集合,该应用程序集合包括至少一个安装在该移动终端的应用程序。
该获取单元201,还用于获取该应用程序集合中每一个应用程序的使用参
数,并根据该使用参数计算该应用程序集合中每一个应用程序的可运行文件ODEX优化优先级,其中该使用参数包括使用时长和/或使用频率。
该使用时长可以指一段时间内使用应用程序的时间长度。比如,在一天中,用户使用应用程序1的时间为早上8:00到早上10:00,以及下午2:30到下午4:00,以及晚上8:00到9:00,共4:30小时,则在一天中应用程序1的使用时长为4:30小时;再比如,在一天中,用户使用应用程序2的时间为早上9:00到早上10:00,以及晚上9:00到9:30,共1:30小时,则在一天中应用程序2的使用时长为1:30小时等。
该使用频率可以指一段时间内使用应用程序的频率。比如,在一天中,用户启动应用程序1的次数为3次,则在一天中应用程序1的使用频率为3次/天;再比如,在一天中,用户启动应用程序2的次数为2次,则在一天中应用程序2的使用频率为2次/天等。
顺序优化单元202,用于按照该获取单元201获取的该ODEX优化优先级的优先顺序依次对该每一个应用程序进行ODEX优化。
ODEX优化优先级的优先顺序可以指的是按照该ODEX优化优先级由高到低的顺序。比如,如表1所示,若该移动终端按照该ODEX优化优先级的优先顺序依次对该上述4个应用程序进行ODEX优化的顺序可以为:应用程序1、应用程序3、应用程序2、应用程序4。
可选的,该顺序优化单元202,具体用于判断该应用程序集合中当前正在进行ODEX优化的第一目标应用程序是否正在运行。
若该第一目标应用程序正在运行,则停止该第一目标应用程序的ODEX优化,并按照该ODEX优化优先级的优先顺序对该第一目标应用程序的下一个应用程序进行ODEX优化。
可选的,该顺序优化单元202,还用于在该停止该第一目标应用程序的ODEX优化之后,判断该应用程序集合中除该第一目标应用程序之外的其他应用程序是否全部都进行了ODEX优化;
若该其他应用程序全部都进行了ODEX优化,则判断该第一目标应用程序是否正在运行,若该第一目标应用程序未运行,则对该第一目标应用程序进行ODEX优化。
可选的,该顺序优化单元202,具体还用于判断该应用程序集合中第二目
标应用程序是否正在运行;其中该第二目标应用程序为按照该ODEX优化优先级的优先顺序第三目标应用程序的下一个应用程序,其中该第三目标应用程序为当前正在进行ODEX优化的应用程序。
若该第二目标应用程序正在运行,则按照该优先顺序将该第二目标应用程序设置在第三目标应用程序为之后的M个应用程序之后进行ODEX优化,其中该M为正整数。
可见,实施图2描述的移动终端,能够降低因应用程序处于ODEX优化状态而无法响应用户输入指令的概率。
请参见图3,图3为本发明实施例公开的另一种移动终端的结构示意图,其中,图3所示的移动终端是由图2所示的移动终端进行优化得到的。与图2所示的移动终端相比,图3所示的移动终端还可以包括:
检测单元203,用于在该获取单元201根据该使用参数计算该应用程序集合中每一个应用程序的ODEX优化优先级之后,检测该移动终端是否安装新应用程序。
该新应用程序可以指该移动终端新安装的应用程序。比如,若该移动终端现有的应用程序为:应用程序1、应用程序2、应用程序3、应用程序4,该移动终端先安装应用程序A,则应用程序A为该新应用程序。
添加单元204,用于若该检测单元203检测该移动终端安装该新应用程序,则将该新应用程序添加到该应用程序集合,组合成新应用程序集合。
若该移动的应用程序集合为{应用程序1、应用程序2、应用程序3、应用程序4},该新应用程序为应用程序A,则组成的该新应用程序集合可以为{应用程序1、应用程序2、应用程序3、应用程序4、应用程序A}。
该获取单元201,还用于将预设的初始ODEX优化优先级赋值于该新应用程序,以及重新计算该新应用程序集合除新应用程序之外的其他应用程序的ODEX优化优先级。
该顺序优化单元202,具体用于按照该添加单元204组合成的该新应用程序集合中每一个应用程序的ODEX优化优先级的优先顺序依次对该新应用程序集合中每一个应用程序进行ODEX优化。
可选的,上述的应用程序可以指应用程序的图标在该移动终端的桌面上进
行显示的应用程序。
因为图标在移动终端桌面上进行显示的应用程序,与图标不在移动终端桌面上显示的应用程序相比,被用户点击的概率较大。因此,图标在移动终端桌面上进行显示的应用程序运行与进行ODEX优化的在同一时间出现,即发生冲突的概率较大。所以,本专利前面所涉及到的应用程序可以指应用程序图标在移动终端桌面上进行显示的应用程序。
可见,实施图3描述的移动终端,能够降低因应用程序处于ODEX优化状态而无法响应用户输入指令的概率。
图4公开了一种运行上述应用界面切换方法的基于冯诺依曼体系的计算机系统4。该计算机系统4可以是智能手机、平板电脑、掌上电脑,笔记本电脑或个人电脑等用户终端设备。具体的,可包括通过系统总线连接的外部输入接口1001、处理器1002、存储器1003和输出接口1004。其中,外部输入接口1001可包括触控屏10016,可选的还可以包括网络接口10018。存储器1003可包括外存储器10032(例如硬盘、光盘或软盘等)和内存储器10034。输出接口1004可包括显示屏10042和音响/喇叭10044等设备。
在本实施例中,本方法的运行基于计算机程序,该计算机程序的程序文件存储于前述基于冯诺依曼体系的计算机系统10的外存储器10032中,在运行时被加载到内存储器10034中,然后被编译为机器码之后传递至处理器1002中执行,从而使得基于冯诺依曼体系的计算机系统10中形成逻辑上的操作监听模块310、指纹检测模块320、界面切换模块330、压力值判断模块340、第一步长确定模块350及第二步长确定模块360,且在上述应用界面切换方法执行过程中,输入的参数均通过外部输入接口1001接收,并传递至存储器1003中缓存,然后输入到处理器1002中进行处理,处理的结果数据或缓存于存储器1003中进行后续地处理,或被传递至输出接口1004进行输出。
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。
本发明实施例移动终端中的单元可以根据实际需要进行合并、划分和删减。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步
骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。
以上对本发明实施例公开的一种ODEX优化控制方法及移动终端进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。
Claims (10)
- 一种ODEX优化控制方法,其特征在于,所述方法包括:获取移动终端中安装的应用程序集合,所述应用程序集合包括至少一个安装在所述移动终端的应用程序;获取所述应用程序集合中每一个应用程序的使用参数,并根据所述使用参数计算所述应用程序集合中每一个应用程序的可运行文件ODEX优化优先级,其中所述使用参数包括使用时长和/或使用频率;按照所述ODEX优化优先级的优先顺序依次对所述每一个应用程序进行ODEX优化。
- 根据权利要求1所述的方法,其特征在于,所述按照所述ODEX优化优先级的优先顺序依次对所述每一个应用程序进行ODEX优化,包括:判断所述应用程序集合中当前正在进行ODEX优化的第一目标应用程序是否正在运行;若所述第一目标应用程序正在运行,则停止所述第一目标应用程序的ODEX优化,并按照所述ODEX优化优先级的优先顺序对所述第一目标应用程序的下一个应用程序进行ODEX优化。
- 根据权利要求1所述的方法,其特征在于,所述按照所述ODEX优化优先级的优先顺序依次对所述每一个应用程序进行ODEX优化,包括:判断所述应用程序集合中第二目标应用程序是否正在运行;其中所述第二目标应用程序为按照所述ODEX优化优先级的优先顺序在第三目标应用程序的下一个应用程序,其中所述第三目标应用程序为当前正在进行ODEX优化的应用程序;若所述第二目标应用程序正在运行,则按照所述优先顺序将所述第二目标应用程序设置在所述第三目标应用程序之后的M个应用程序之后进行ODEX优化,其中所述M为正整数。
- 根据权利要求1所述的方法,其特征在于,所述根据所述使用参数计算所述应用程序集合中每一个应用程序的ODEX优化优先级之后,所述方法还包括:检测所述移动终端是否安装新应用程序;若所述移动终端安装所述新应用程序,则将所述新应用程序添加到所述应用程序集合,组合成新应用程序集合;将预设的初始ODEX优化优先级赋值于所述新应用程序,以及重新计算所述新应用程序集合除新应用程序之外的其他应用程序的ODEX优化优先级;所述按照所述ODEX优化优先级的优先顺序依次对所述每一个应用程序进行ODEX优化,包括:按照所述新应用程序集合中每一个应用程序的ODEX优化优先级的优先顺序依次对所述新应用程序集合中每一个应用程序进行ODEX优化。
- 根据权利要求2所述的方法,其特征在于,所述停止所述第一目标应用程序的ODEX优化之后,所述方法还包括:判断所述应用程序集合中除所述第一目标应用程序之外的其他应用程序是否全部都进行了ODEX优化;若所述其他应用程序全部都进行了ODEX优化,则判断所述第一目标应用程序是否正在运行,若所述第一目标应用程序未运行,则对所述第一目标应用程序进行ODEX优化。
- 一种移动终端,其特征在于,所述移动终端包括:获取单元,用于获取移动终端中安装的应用程序集合,所述应用程序集合包括至少一个安装在所述移动终端的应用程序;所述获取单元,还用于获取所述应用程序集合中每一个应用程序的使用参数,并根据所述使用参数计算所述应用程序集合中每一个应用程序的可运行文件ODEX优化优先级,其中所述使用参数包括使用时长和/或使用频率;顺序优化单元,用于按照所述获取单元获取的所述ODEX优化优先级的优先顺序依次对所述每一个应用程序进行ODEX优化。
- 根据权利要求6所述的移动终端,其特征在于,所述顺序优化单元,具体用于判断所述应用程序集合中当前正在进行ODEX优化的第一目标应用程序是否正在运行;若所述第一目标应用程序正在运行,则停止所述第一目标应用程序的ODEX优化,并按照所述ODEX优化优先级的优先顺序对所述第一目标应用程序的下一个应用程序进行ODEX优化。
- 根据权利要求6所述的移动终端,其特征在于,所述顺序优化单元,具体还用于判断所述应用程序集合中第二目标应用程序是否正在运行;其中所述第二目标应用程序为按照所述ODEX优化优先级的优先顺序第三目标应用程序的下一个应用程序,其中所述第三目标应用程序为当前正在进行ODEX优化的应用程序;若所述第二目标应用程序正在运行,则按照所述优先顺序将所述第二目标应用程序设置在所述第三目标应用程序之后的M个应用程序之后进行ODEX优化,其中所述M为正整数。
- 根据权利要求6所述的移动终端,其特征在于,所述移动终端还包括:检测单元,用于在所述获取单元根据所述使用参数计算所述应用程序集合中每一个应用程序的ODEX优化优先级之后,检测所述移动终端是否安装新应用程序;添加单元,用于若所述检测单元检测所述移动终端安装所述新应用程序,则将所述新应用程序添加到所述应用程序集合,组合成新应用程序集合;所述获取单元,还用于将预设的初始ODEX优化优先级赋值于所述新应用程序,以及重新计算所述新应用程序集合除新应用程序之外的其他应用程序的ODEX优化优先级;所述顺序优化单元,具体用于按照所述添加单元组合成的所述新应用程序集合中每一个应用程序的ODEX优化优先级的优先顺序依次对所述新应用程序集合中每一个应用程序进行ODEX优化。
- 根据权利要求7所述的移动终端,其特征在于,所述顺序优化单元,还用于在该停止所述第一目标应用程序的ODEX优化之后,判断所述应用程序集合中除所述第一目标应用程序之外的其他应用程序是否全部都进行了ODEX优化;若所述其他应用程序全部都进行了ODEX优化,则判断所述第一目标应用程序是否正在运行,若所述第一目标应用程序未正在运行,则对所述第一目标应用程序进行ODEX优化。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610601599.3 | 2016-07-27 | ||
| CN201610601599.3A CN106250180B (zh) | 2016-07-27 | 2016-07-27 | 一种odex优化控制方法及移动终端 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018018702A1 true WO2018018702A1 (zh) | 2018-02-01 |
Family
ID=57604086
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/097468 Ceased WO2018018702A1 (zh) | 2016-07-27 | 2016-08-31 | 一种odex优化控制方法及移动终端 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106250180B (zh) |
| WO (1) | WO2018018702A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP4170483A4 (en) * | 2020-07-23 | 2023-11-22 | Huawei Technologies Co., Ltd. | Application installation method and electronic device |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108536488B (zh) * | 2018-04-17 | 2021-12-07 | Oppo广东移动通信有限公司 | 应用启动优化方法、装置、存储介质及终端设备 |
| CN109522034A (zh) * | 2018-09-27 | 2019-03-26 | 努比亚技术有限公司 | 一种应用优化方法、终端及计算机可读存储介质 |
| CN112328316B (zh) * | 2019-08-02 | 2023-01-24 | Tcl科技集团股份有限公司 | 一种app优化方法、移动终端及存储介质 |
| CN112631617A (zh) * | 2019-10-09 | 2021-04-09 | 深圳Tcl新技术有限公司 | 一种字节码优化方法和计算机设备 |
| CN111104180B (zh) * | 2019-12-11 | 2021-08-03 | 惠州Tcl移动通信有限公司 | 应用程序优化方法、装置、存储介质及电子设备 |
| CN112637683A (zh) * | 2020-12-07 | 2021-04-09 | 青岛海信传媒网络技术有限公司 | 显示设备系统优化方法及显示设备 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105278989A (zh) * | 2015-10-12 | 2016-01-27 | 邱寅峰 | Apk文件的快速加载方法 |
| CN105528229A (zh) * | 2015-12-16 | 2016-04-27 | 广东欧珀移动通信有限公司 | 提高移动终端首次开机速度的方法及装置 |
| EP3026557A1 (en) * | 2014-11-28 | 2016-06-01 | Thomson Licensing | Method and device for providing verifying application integrity |
| CN105677335A (zh) * | 2015-12-29 | 2016-06-15 | 广东欧珀移动通信有限公司 | 提高移动终端首次开机速度的方法及装置 |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104375872B (zh) * | 2014-12-08 | 2018-01-09 | 福州瑞芯微电子股份有限公司 | 一种安卓系统实现快速开机的方法及装置 |
| CN104866365B (zh) * | 2015-06-12 | 2019-04-26 | 联想(北京)有限公司 | 提升开机速度的方法、装置及电子设备 |
-
2016
- 2016-07-27 CN CN201610601599.3A patent/CN106250180B/zh active Active
- 2016-08-31 WO PCT/CN2016/097468 patent/WO2018018702A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP3026557A1 (en) * | 2014-11-28 | 2016-06-01 | Thomson Licensing | Method and device for providing verifying application integrity |
| CN105278989A (zh) * | 2015-10-12 | 2016-01-27 | 邱寅峰 | Apk文件的快速加载方法 |
| CN105528229A (zh) * | 2015-12-16 | 2016-04-27 | 广东欧珀移动通信有限公司 | 提高移动终端首次开机速度的方法及装置 |
| CN105677335A (zh) * | 2015-12-29 | 2016-06-15 | 广东欧珀移动通信有限公司 | 提高移动终端首次开机速度的方法及装置 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP4170483A4 (en) * | 2020-07-23 | 2023-11-22 | Huawei Technologies Co., Ltd. | Application installation method and electronic device |
| US12333288B2 (en) | 2020-07-23 | 2025-06-17 | Huawei Technologies Co., Ltd. | Application installation method and electronic device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106250180B (zh) | 2019-10-11 |
| CN106250180A (zh) | 2016-12-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2018018702A1 (zh) | 一种odex优化控制方法及移动终端 | |
| CN103617057B (zh) | 安装应用程序的方法及装置 | |
| EP2998861B1 (en) | Implementing and deleting method and device for intelligent terminal multi-operation system | |
| US8782643B2 (en) | Device and method for controlling communication between BIOS and BMC | |
| CN107590016B (zh) | 掉电重启识别方法及装置 | |
| US11907153B2 (en) | System and method for distributed subscription management | |
| CN107368343B (zh) | 一种基于安卓系统的终端开机方法、终端及存储介质 | |
| CN112882734A (zh) | 升级方法及装置、计算机设备和介质 | |
| US20240378068A1 (en) | Control method and electronic device | |
| CN111694585A (zh) | 替换系统分区文件的方法、系统、终端和存储介质 | |
| CN104572197B (zh) | 一种启动项的处理方法和装置 | |
| CN110262838A (zh) | 一种程序崩溃的处理方法、装置、终端及存储介质 | |
| CN108874459A (zh) | 基于虚拟化技术的快速启动方法和装置 | |
| CN115951949A (zh) | 一种bios的配置参数的恢复方法、装置及计算设备 | |
| CN109117153B (zh) | 应用程序的处理方法、装置、终端和存储介质 | |
| CN106250181A (zh) | 一种Linux操作系统的性能优化方法及框架 | |
| US9852028B2 (en) | Managing a computing system crash | |
| CN114416696A (zh) | 一种数据迁移方法、装置、电子设备以及存储介质 | |
| CN111078418B (zh) | 操作同步方法、装置、电子设备及计算机可读存储介质 | |
| CN109359093B (zh) | 一种规则文件更新方法和系统 | |
| US11606457B2 (en) | Technology and method for selectively providing network function to application of device | |
| CN111400037A (zh) | 一种内存管理方法、装置、计算机存储介质和终端 | |
| CN110442493A (zh) | 一种自动化服务管理系统及方法 | |
| CN110555009A (zh) | 一种网络文件系统nfs服务的处理方法及装置 | |
| WO2018201863A1 (zh) | 一种应用程序运维方法、装置、设备以及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16910281 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16910281 Country of ref document: EP Kind code of ref document: A1 |