CN106250180B - A kind of ODEX optimal control method and mobile terminal - Google Patents

A kind of ODEX optimal control method and mobile terminal Download PDF

Info

Publication number
CN106250180B
CN106250180B CN201610601599.3A CN201610601599A CN106250180B CN 106250180 B CN106250180 B CN 106250180B CN 201610601599 A CN201610601599 A CN 201610601599A CN 106250180 B CN106250180 B CN 106250180B
Authority
CN
China
Prior art keywords
application program
odex
optimization
priority
application
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.)
Active
Application number
CN201610601599.3A
Other languages
Chinese (zh)
Other versions
CN106250180A (en
Inventor
黎琛
张健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610601599.3A priority Critical patent/CN106250180B/en
Priority to PCT/CN2016/097468 priority patent/WO2018018702A1/en
Publication of CN106250180A publication Critical patent/CN106250180A/en
Application granted granted Critical
Publication of CN106250180B publication Critical patent/CN106250180B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading

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

The embodiment of the invention discloses a kind of ODEX optimal control method and mobile terminals, wherein this method comprises: obtaining the pool of applications installed in mobile terminal, the pool of applications includes the application program that at least one is mounted on the mobile terminal;Obtain the use parameter of each application program in the pool of applications, and according to it is described using parameter calculate each application program in the pool of applications can operating file ODEX optimize priority, the use of parameter includes using duration and/or frequency of use wherein described;ODEX optimization successively is carried out to each described application program according to the priority of ODEX optimization priority.Implement the embodiment of the present invention, can reduce and cannot respond to the probability of user input instruction because application program is in ODEX Optimal State.

Description

A kind of ODEX optimal control method and mobile terminal
Technical field
The present invention relates to mobile communication technology field more particularly to a kind of ODEX optimal control method and mobile terminals.
Background technique
ODEX optimization is the file run extracted in Android Android application program, and can operating file list by this It solely stores to accelerate the loading velocity of starting up speed and application program.In general, passing through over the air (Over in mobile terminal The Air Technology, OTA) carry out internal data management or when mobile terminal factory reset, mobile terminal can be into Row is restarted.Mobile terminal will carry out ODEX optimization to the application program in mobile terminal after restarting.
But in the terminal, the sequence that application program carries out ODEX optimization is random.If mobile terminal restarts it Afterwards, ODEX optimization is carried out to application program at random, user may be made common and needs to respond answering for user input instruction often It is placed on program followed by optimization.Because being just that cannot respond to user input instruction in the application program of ODEX optimization, Therefore, increasing at random to application program progress ODEX optimization cannot respond to user because application program is in ODEX Optimal State Input the probability of instruction.
Summary of the invention
The embodiment of the invention discloses a kind of ODEX optimal control method and mobile terminals, can reduce because at application program It cannot respond to the probability of user input instruction in ODEX Optimal State.
First aspect of the embodiment of the present invention discloses a kind of ODEX optimal control method, comprising:
The pool of applications installed in mobile terminal is obtained, the pool of applications includes that at least one is mounted on institute State the application program of mobile terminal;
The use parameter of each application program in the pool of applications is obtained, and is calculated according to described using parameter The ODEX of each application program optimizes priority in the pool of applications, wherein described use parameter including using duration And/or frequency of use;
ODEX optimization successively is carried out to each described application program according to the priority of ODEX optimization priority.
Second aspect of the embodiment of the present invention discloses a kind of mobile terminal, comprising:
Acquiring unit, for obtaining the pool of applications installed in mobile terminal, the pool of applications includes extremely Few one is mounted on the application program of the mobile terminal;
The acquiring unit is also used to obtain the use parameter of each application program in the pool of applications, and Optimize priority according to the ODEX for calculating each application program in the pool of applications using parameter, wherein described It the use of parameter include using duration and/or frequency of use;
Order optimization unit, for being obtained according to the acquiring unit the ODEX optimization priority priority according to It is secondary that ODEX optimization is carried out to each described application program.
In the embodiment of the present invention, mobile terminal optimizes excellent according to the ODEX for calculating application program using parameter of application program First grade, and ODEX optimization is carried out to application program according to the priority of ODEX optimization priority.Implement as it can be seen that implementing the present invention Example, mobile terminal can allow movement according to the sequence for determining application program ODEX optimization using parameter of application program Terminal preferentially carries out ODEX optimization to the common application program of user, to reduce after mobile terminal restarts, because applying journey Sequence is in ODEX Optimal State and cannot respond to the probability of user input instruction.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of ODEX optimal control method disclosed by the embodiments of the present invention;
Fig. 2 is a kind of structural schematic diagram of mobile terminal disclosed by the embodiments of the present invention;
Fig. 3 is the structural schematic diagram of another mobile terminal disclosed by the embodiments of the present invention;
Fig. 4 be it is disclosed by the embodiments of the present invention it is a kind of run above-mentioned application interface switching method based on von Neumann system Computer system.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
It should be noted that the term used in embodiments of the present invention is only merely for the mesh of description specific embodiment , it is not intended to limit the invention." the one of the embodiment of the present invention and singular used in the attached claims Kind ", " described " and "the" are also intended to including most forms, unless the context clearly indicates other meaning.It is also understood that this Term "and/or" used herein refers to and includes one or more associated any or all possible group for listing project It closes.
The embodiment of the invention discloses a kind of ODEX optimal control method and mobile terminals, can reduce because at application program It cannot respond to the probability of user input instruction in ODEX Optimal State.It is described in detail separately below.
Referring to Figure 1, Fig. 1 is a kind of flow diagram of ODEX optimal control method disclosed by the embodiments of the present invention.Such as Shown in Fig. 1, which be may comprise steps of.
The pool of applications installed in S101, the acquisition for mobile terminal mobile terminal, the pool of applications include extremely Few one is mounted on the application program of the mobile terminal.
The mobile terminal may include operation Android operation system, iOS operating system, Windows operating system or its The user equipment of his operating system, such as mobile phone, removable computer, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) etc.,
The application program for being mounted on the mobile terminal can correspond to application name, for example application program QQ can be corresponded to Application name be known as can be with QQ, the corresponding application name of application program wechat can be weixin etc..Mobile terminal The application program for being mounted on the mobile terminal can be obtained by getAppName () sentence.
For example, the available application program for being mounted on the mobile terminal of the mobile terminal are as follows: application program 1 is answered With program 2, application program 3 and application program 4 etc..The application program can at pool of applications application program 1, using journey Sequence 2, application program 3, application program 4 } etc..
The use parameter of each application program in S102, the acquisition for mobile terminal pool of applications, and according to this Using parameter calculate each application program in the pool of applications can operating file ODEX optimization priority, wherein this makes It include using duration and/or frequency of use with parameter.
ODEX optimization can refer to the .dex file that the classes.dex in Android application program is generated by dex optimization The process individually stored, ODEX optimization can promote the starting up speed of mobile terminal and the loading velocity of application program.
This can refer to the time span in a period of time using application program using duration.For example, user makes in one day Time with application program 1 be morning 8:00 to 10:00 in morning and 2:30 in afternoon arrived to 4:00 in afternoon and evening 8:00 9:00, it is 4:30 hours total, then it is 4:30 hours a length of when the use of application program 1 in one day;For another example, in one day, user Time using application program 2 is 9:00 in morning to morning 10:00 and evening 9:00 to 9:30,1:30 hours total, then one It is 1:30 hours a length of etc. when the use of application program 2 in it.
The frequency of use can refer to the frequency in a period of time using application program.For example, user's starting is answered in one day It is 3 times with the number of program 1, then the frequency of use of application program 1 is 3 times/day in one day;For another example, in one day, user The number for starting application program 2 is 2 times, then the frequency of use of application program 2 is 2 times/day etc. in one day.
The mobile terminal first can according to each application program using the height of duration and/or frequency of use to every One application program after arriving first by being ranked up, for example, 4:30 hours a length of when the use of application program 1, application program 2 make Used time is 1:30 hours a length of, a length of half an hour when the use of a length of 2 hours and application program 4 when the use of application program 3, It can be with to the result after the sequence of above-mentioned 4 application programs using duration according to application program are as follows: application program 1, application program 3, application program 2 and application program 4;And then, the mobile terminal can according to the following equation (1) be sequence after application program Assign ODEX and optimize priority, wherein a kind of formula (1) only optional formula, the embodiment of the present invention without limitation:
Y1=5- (k-1)/2+100 ... ... ... ... ... ... (1)
Wherein, y1 is that the ODEX of application program optimizes priority, and k is the use parameter according to application program to application program It is ranked up the arrangement serial number of rear application program.For example, the above-mentioned example enumerated is connect, the arrangement serial number k=1 of application program 1, then The ODEX of application program 1 optimizes priority y1=105;Similarly, the arrangement serial number k=3 of application program 2, then application program 2 ODEX optimizes priority y1=104;The arrangement serial number k=2 of application program 3, then the ODEX of application program 3 optimizes priority y1= 104.5;The arrangement serial number k=4 of application program 4, then the ODEX of application program 4 optimizes priority y1=103.5.
Table 1
S103, the mobile terminal according to the ODEX optimization priority priority successively to each application program into Row ODEX optimization.
The priority of ODEX optimization priority also refers to optimize the sequence of priority from high to low according to the ODEX. For example, as shown in table 1, if the mobile terminal is according to the priority of ODEX optimization priority successively to above-mentioned 4 applications The sequence that program carries out ODEX optimization can be with are as follows: application program 1, application program 3, application program 2, application program 4.
Optionally, the specific executive mode of step S102 is further comprising the steps of:
Step 11), the mobile terminal judge the first object that ODEX optimization is currently being carried out in the pool of applications Whether application program is currently running.
If step 12), the mobile terminal first object application program are currently running, stop the first object application journey The ODEX of sequence optimizes, and next application according to the priority of ODEX optimization priority to the first object application program Program carries out ODEX optimization.
For example, if { application program 1, application program 3, is answered at application program 2 in the pool of applications of foregoing description With program 4 } in, the application program for currently carrying out ODEX optimization is application program 1, then application program 1 can be the first mesh Mark application program;Similarly, if the application program for currently carrying out ODEX optimization is application program 2, application program 2 can be First object application program etc..
The mobile terminal judges whether first object application program is currently running it is to be understood that mobile terminal judgement should Whether first object application program is just in front stage operation or running background.Even the mobile terminal judges the first object application journey Sequence is in front stage operation, it is determined that the first object application program is currently running;Or, if the mobile terminal judges that the first object is answered With program in running background, it is determined that the first object application program is currently running.
As shown in table 1, the optimization sequence of 4 application programs can be with are as follows: application program 1, application program 3, application program 2, application program 4.If the first object application program is application program 1, which can be according to 4 application programs Optimization sequence ODEX optimization is carried out to next application program 3 of application program 1;Similarly, if the first object application program For application program 2, then the mobile terminal can answer the next of application program 2 according to the optimization sequence of 4 application programs ODEX optimization etc. is carried out with program 4.
Implement the embodiment of the present invention, when user is used application program, and the application program just optimizes in ODEX just, Then mobile terminal can stop the ODEX optimization of the application program, avoid causing this to answer because the application program carries out ODEX optimization With program can not normal use to influencing user experience.
Optionally, after step 12), step can also be performed: the mobile terminal, which judges to remove in the pool of applications, to be somebody's turn to do Whether the other applications except first object application program have all carried out ODEX optimization;If mobile terminal judgement should Other applications have all carried out ODEX optimization, then judge whether the first object application program is currently running, if this One destination application not running then carries out ODEX optimization to the first object application program.The step can be to not carrying out The application program of ODEX optimization is further judged, if the application program for not carrying out ODEX optimization is not currently running, to this Application program carries out ODEX optimization, which, which can be improved, carries out ODEX optimization to each application program in the mobile terminal Probability.
Optionally, the specific executive mode of step S102 is further comprising the steps of:
Step 21), the mobile terminal judge whether the second destination application is currently running in the pool of applications;Its In second destination application be under optimizing the priority of priority according to the ODEX after the third destination application One application program, wherein the third destination application is the application program for currently carrying out ODEX optimization.
It, will according to the priority if step 22), the mobile terminal judge that second destination application is currently running Second destination application carries out ODEX optimization after the M application program after the third destination application is arranged in, In the M be positive integer.
Executing step 21) and step 22) may be implemented, and not proceed to second destination application also when ODEX optimizes, And second destination application, when being currently running, which can be excellent by the corresponding ODEX of second destination application The optimization position of change moves backward, and second destination application is avoided to lead to not normal use in progress ODEX optimization and ask The generation of topic.
For example, if the priority that the ODEX of application program optimizes are as follows: application program 1, application program 3, using journey Sequence 2, application program 4, application program 5, application program 6, application program 7, application program 8.If currently carrying out ODEX optimization Be application program 1, and if be currently running in next application program 3 of application program 1, can according to the optimization sequence will The application program 3 carries out ODEX optimization after M application program after the application program 1 is arranged in.For example, if M=4, newly The priority of ODEX optimization of application program can be with are as follows: application program 1, application program 2, application program 4, application program 5, Application program 3, application program 6, application program 7, application program 8.
Wherein, which second destination application can be arranged in the third target according to the priority Any position after M application program after application program carries out ODEX optimization, and the embodiment of the present invention is not construed as limiting.About M Value user can be set according to the actual demand of oneself.
Optionally, after step s 102, following steps can also be performed:
Step 31), the mobile terminal detect whether the mobile terminal installs new application.
The new application can refer to the application program that the mobile terminal is newly installed.For example, if the mobile terminal is existing Application program are as follows: application program 1, application program 2, application program 3, application program 4, the mobile terminal are mounted with now using journey Sequence A, then application program A is the new application.
If step 32), the mobile terminal mobile terminal install the new application, which is added to The pool of applications is combined into new application set.
If the pool of applications of the movement is { application program 1, application program 2, application program 3, application program 4 }, should New application is application program A, then the new application set formed can be { application program 1, application program 2, application Program 3, application program 4, application program A }.
Step 33), the mobile terminal are by preset initial OD EX optimization priority assignment in the new application, Yi Jichong Newly calculate the ODEX optimization priority of the other applications of the new application set in addition to new application.
In conjunction with the formula (1) as can be seen that the ODEX of application program optimizes the size of priority in the pool of applications Can be related with the use duration of the application program, i.e. the use duration of the application program is longer, and the ODEX of the application program is excellent It is bigger to change priority.So as to obtain, the set-up time of the application program in the mobile terminal is longer, application program ODEX optimizes priority may be bigger.Therefore, in order to which the ODEX for reducing application program in the pool of applications optimizes priority Gap between the ODEX optimization priority of the new application can after the mobile terminal is mounted with new application It is calculated with the ODEX optimization priority to application program in the pool of applications according to formula (2), wherein formula (2) A kind of only optional formula, the embodiment of the present invention without limitation:
Y2=(y1-100)/2+100 ... ... ... ... ... ... ... (2)
Wherein, y1 is that the ODEX of application program in the pool of applications before mobile terminal does not install new application is excellent Change priority, y2 is after mobile terminal installs new application, to recalculate and apply in the pool of applications obtained The ODEX of program optimizes priority.
For example, if newly installation application program ODEX optimization priority can be set to initial value 100, mobile terminal not The ODEX optimization priority of application program such as application program 1 is in the pool of applications before installing the new application 200, then when calculating without the formula (2), ODEX optimization priority gap between the two is 200-100=100;If using After program 1 is calculated by the formula (2), the ODEX optimization priority of application program 1 becomes (200-100)/2+100=150, ODEX optimization priority gap between the two is 150-100=50 etc..As it can be seen that the formula (2) reduces the pool of applications Gap between the ODEX optimization priority of middle application program and the ODEX optimization priority of the new application.
Execute step S101, step S102, step 31), step 32), after step 33), step S103 can be with are as follows: according to The priority of the ODEX optimization priority of each application program is successively to the new application in the new application set Each application program carries out ODEX optimization in set.
Optionally, above-mentioned application program can refer to that the icon of application program is shown on the desktop of the mobile terminal Application program.
Because of the application program that icon is shown on mobile terminal desktop, shown with icon not on mobile terminal desktop The application program shown is compared, and the probability clicked by user is larger.Therefore, the application that icon is shown on mobile terminal desktop Program operation occurs with progress ODEX optimization in the same time, that is, the probability clashed is larger.So institute before this patent The application program being related to can refer to that application program image is marked on the application program shown on mobile terminal desktop.
In the method depicted in fig. 1, mobile terminal calculates the ODEX of application program according to application program using parameter Optimize priority, and ODEX optimization is carried out to application program according to the priority of ODEX optimization priority.As it can be seen that implementing Fig. 1 The method of description, mobile terminal can be according to the sequences for determining application program ODEX optimization using parameter of application program, can To allow mobile terminal preferentially to carry out ODEX optimization to the common application program of user, thus reduce after mobile terminal restarts, It cannot respond to the probability of user input instruction because application program is in ODEX Optimal State.
Fig. 2 is referred to, Fig. 2 is a kind of structural schematic diagram of mobile terminal disclosed by the embodiments of the present invention.Wherein, Fig. 2 institute The mobile terminal shown may include:
Acquiring unit 201, for obtaining the pool of applications installed in mobile terminal, which includes extremely Few one is mounted on the application program of the mobile terminal.
The acquiring unit 201 is also used to obtain the use parameter of each application program in the pool of applications, and root According to this using parameter calculate each application program in the pool of applications can operating file ODEX optimize priority, wherein This includes using duration and/or frequency of use using parameter.
This can refer to the time span in a period of time using application program using duration.For example, user makes in one day Time with application program 1 be morning 8:00 to 10:00 in morning and 2:30 in afternoon arrived to 4:00 in afternoon and evening 8:00 9:00, it is 4:30 hours total, then it is 4:30 hours a length of when the use of application program 1 in one day;For another example, in one day, user Time using application program 2 is 9:00 in morning to morning 10:00 and evening 9:00 to 9:30,1:30 hours total, then one It is 1:30 hours a length of etc. when the use of application program 2 in it.
The frequency of use can refer to the frequency in a period of time using application program.For example, user's starting is answered in one day It is 3 times with the number of program 1, then the frequency of use of application program 1 is 3 times/day in one day;For another example, in one day, user The number for starting application program 2 is 2 times, then the frequency of use of application program 2 is 2 times/day etc. in one day.
Order optimization unit 202, the priority of the ODEX optimization priority for being obtained according to the acquiring unit 201 ODEX optimization successively is carried out to each application program.
The priority of ODEX optimization priority also refers to optimize the sequence of priority from high to low according to the ODEX. For example, as shown in table 1, if the mobile terminal is according to the priority of ODEX optimization priority successively to above-mentioned 4 applications The sequence that program carries out ODEX optimization can be with are as follows: application program 1, application program 3, application program 2, application program 4.
Optionally, order optimization unit 202, specifically for judging currently carrying out ODEX in the pool of applications Whether the first object application program of optimization is currently running.
If the first object application program is currently running, stop the ODEX optimization of the first object application program, and presses ODEX optimization is carried out to next application program of the first object application program according to the priority of ODEX optimization priority.
Optionally, the order optimization unit 202 is also used to optimize it in the ODEX of the stopping first object application program Afterwards, judge whether the other applications in the pool of applications in addition to the first object application program all carry out ODEX optimization;
If the other applications have all carried out ODEX optimization, whether the first object application program is judged Operation carries out ODEX optimization to the first object application program if the first object application program not running.
Optionally, the order optimization unit 202 is specifically also used to judge the second target application journey in the pool of applications Whether sequence is currently running;Wherein second destination application is the priority third target for optimizing priority according to the ODEX Next application program of application program, wherein the third destination application is the application journey for currently carrying out ODEX optimization Sequence.
If second destination application is currently running, second destination application is arranged according to the priority ODEX optimization is carried out after M application program after third destination application is, wherein the M is positive integer.
As it can be seen that implementing the mobile terminal of Fig. 2 description, can reduce can not ring because application program is in ODEX Optimal State Answer the probability of user input instruction.
Fig. 3 is referred to, Fig. 3 is the structural schematic diagram of another mobile terminal disclosed by the embodiments of the present invention, wherein Fig. 3 Shown in mobile terminal be that mobile terminal as shown in Figure 2 optimizes.Compared with mobile terminal shown in Fig. 2, Fig. 3 Shown in mobile terminal can also include:
Detection unit 203, it is each in pool of applications for being calculated using parameter in the acquiring unit 201 according to this After the ODEX optimization priority of a application program, detect whether the mobile terminal installs new application.
The new application can refer to the application program that the mobile terminal is newly installed.For example, if the mobile terminal is existing Application program are as follows: application program 1, application program 2, application program 3, application program 4, the mobile terminal first install application program A, Then application program A is the new application.
Adding unit 204 should if detecting the mobile terminal for the detection unit 203 installs the new application New application is added to the pool of applications, is combined into new application set.
If the pool of applications of the movement is { application program 1, application program 2, application program 3, application program 4 }, should New application is application program A, then the new application set formed can be { application program 1, application program 2, application Program 3, application program 4, application program A }.
The acquiring unit 201 is also used to preset initial OD EX optimizing priority assignment in the new application, and Recalculate the ODEX optimization priority of the other applications of the new application set in addition to new application.
The order optimization unit 202, specifically in the new application set that is combined into according to the adding unit 204 The priority of the ODEX optimization priority of each application program successively applies journey to each in the new application set Sequence carries out ODEX optimization.
Optionally, above-mentioned application program can refer to that the icon of application program is shown on the desktop of the mobile terminal Application program.
Because of the application program that icon is shown on mobile terminal desktop, shown with icon not on mobile terminal desktop The application program shown is compared, and the probability clicked by user is larger.Therefore, the application that icon is shown on mobile terminal desktop Program operation occurs with progress ODEX optimization in the same time, that is, the probability clashed is larger.So institute before this patent The application program being related to can refer to that application program image is marked on the application program shown on mobile terminal desktop.
As it can be seen that the mobile terminal of implementing Fig. 3 description, can reduce can not ring because application program is in ODEX Optimal State Answer the probability of user input instruction.
Fig. 4 discloses a kind of computer system 4 based on von Neumann system for running above-mentioned application interface switching method. The computer system 4 can be smart phone, tablet computer, palm PC, the user terminals such as laptop or PC Equipment.Specifically, may include outer input interface 1001, the processor 1002,1003 and of memory connected by system bus Output interface 1004.Wherein, outer input interface 1001 may include touch screen 10016, optionally can also include network interface 10018.Memory 1003 may include external memory 10032 (such as hard disk, CD or floppy disk etc.) and built-in storage 10034.It is defeated Outgoing interface 1004 may include the equipment such as display screen 10042 and sound equipment/loudspeaker 10044.
In the present embodiment, the operation of this method is based on computer program, and the program file of the computer program is stored in In the external memory 10032 of the aforementioned computer system 10 based on von Neumann system, it is loaded into built-in storage at runtime It in 10034, is then compiled as being transferred in processor 1002 after machine code executing, so that being based on von Neumann system Computer system 10 in formed operation in logic monitor module 310, finger print detecting module 320, changing interface module 330, Pressure value judgment module 340, the first step-length determining module 350 and the second step-length determining module 360, and cut in above-mentioned application interface It changes in method implementation procedure, the parameter of input passes through outer input interface 1001 and receives, and is transferred in memory 1003 and delays It deposits, is then input in processor 1002 and is handled, the result data of processing or be cached in memory 1003 carries out subsequent Ground processing, or be passed to output interface 1004 and exported.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit in mobile terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only memory (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other disc memories, magnetic disk storage, magnetic tape storage or can For carrying or any other computer-readable medium of storing data.
A kind of ODEX optimal control method disclosed by the embodiments of the present invention and mobile terminal are described in detail above, Used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only used In facilitating the understanding of the method and its core concept of the invention;At the same time, for those skilled in the art, according to the present invention Thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as Limitation of the present invention.

Claims (10)

1. a kind of ODEX optimal control method, which is characterized in that the described method includes:
The pool of applications installed in mobile terminal is obtained, the pool of applications includes that at least one is mounted on the shifting The application program of dynamic terminal;
The use parameter of each application program in the pool of applications is obtained, and according to described using described in parameter calculating In pool of applications each application program can operating file ODEX optimize priority, wherein it is described using parameter include make With duration and/or frequency of use;
ODEX optimization successively is carried out to each described application program according to the priority of ODEX optimization priority.
2. the method according to claim 1, wherein the pool of applications is mounted on institute including at least two State the application program of mobile terminal;Wherein, the priority according to ODEX optimization priority is successively to described each A application program carries out ODEX optimization, comprising:
Judge whether the first object application program that ODEX optimization is currently being carried out in the pool of applications is currently running;
If the first object application program is currently running, stop the ODEX optimization of the first object application program, and presses ODEX is carried out to next application program of the first object application program according to the priority of ODEX optimization priority Optimization.
3. the method according to claim 1, wherein the pool of applications is mounted on institute including at least three State the application program of mobile terminal;Wherein, the priority according to ODEX optimization priority is successively to described each A application program carries out ODEX optimization, comprising:
Judge whether the second destination application is currently running in the pool of applications;Wherein the second target application journey Sequence is to optimize the priority of priority according to the ODEX in next application program of third destination application, wherein institute Stating third destination application is the application program for currently carrying out ODEX optimization;
If second destination application is currently running, second destination application is set according to the priority The progress ODEX optimization after M application program after the third destination application is set, wherein the M is positive integer.
4. the method according to claim 1, wherein described calculate the application program using parameter according to described In set after the ODEX optimization priority of each application program, the method also includes:
Detect whether the mobile terminal installs new application;
If the mobile terminal installs the new application, the new application is added to the application program collection It closes, is combined into new application set;
By preset initial OD EX optimization priority assignment in the new application, and recalculate the new application The ODEX for gathering the other applications in addition to new application optimizes priority;
The priority according to ODEX optimization priority successively carries out ODEX optimization to each described application program, Include:
According to the priority of the ODEX optimization priority of each application program in the new application set successively to institute It states each application program in new application set and carries out ODEX optimization.
5. according to the method described in claim 2, it is characterized in that, the ODEX for stopping the first object application program is excellent After change, the method also includes:
Judge other applications in the pool of applications in addition to the first object application program whether all ODEX optimization is carried out;
If the other applications have all carried out ODEX optimization, whether the first object application program is judged Operation carries out ODEX optimization to the first object application program if the first object application program not running.
6. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Acquiring unit, for obtaining the pool of applications installed in mobile terminal, the pool of applications includes at least one A application program for being mounted on the mobile terminal;
The acquiring unit, is also used to obtain the use parameter of each application program in the pool of applications, and according to It is described using parameter calculate each application program in the pool of applications can operating file ODEX optimize priority, Described in using parameter include use duration and/or frequency of use;
The priority of order optimization unit, the ODEX optimization priority for obtaining according to the acquiring unit is successively right Each described application program carries out ODEX optimization.
7. mobile terminal according to claim 6, which is characterized in that the pool of applications includes at least two installations In the application program of the mobile terminal;The order optimization unit is specifically used for judging current in the pool of applications Whether the first object application program for carrying out ODEX optimization is currently running;
If the first object application program is currently running, stop the ODEX optimization of the first object application program, and presses ODEX is carried out to next application program of the first object application program according to the priority of ODEX optimization priority Optimization.
8. mobile terminal according to claim 6, which is characterized in that the pool of applications includes at least three installations In the application program of the mobile terminal;Wherein, the order optimization unit is specifically also used to judge the pool of applications In the second destination application whether be currently running;Wherein second destination application is to optimize preferentially according to the ODEX Next application program of the priority third destination application of grade, wherein the third destination application be it is current just In the application program for carrying out ODEX optimization;
If second destination application is currently running, second destination application is set according to the priority The progress ODEX optimization after M application program after the third destination application is set, wherein the M is positive integer.
9. mobile terminal according to claim 6, which is characterized in that the mobile terminal further include:
Detection unit is answered for calculating each in the pool of applications according to the use parameter in the acquiring unit After optimizing priority with the ODEX of program, detect whether the mobile terminal installs new application;
Adding unit will be described new if detecting the mobile terminal for the detection unit installs the new application Application program is added to the pool of applications, is combined into new application set;
The acquiring unit is also used to preset initial OD EX optimizing priority assignment in the new application, Yi Jichong Newly calculate the ODEX optimization priority of other applications of the new application set in addition to new application;
The order optimization unit, specifically for each in the new application set that is combined into according to the adding unit The priority of the ODEX optimization priority of a application program is successively to each application program in the new application set Carry out ODEX optimization.
10. mobile terminal according to claim 7, which is characterized in that the order optimization unit is also used in the stopping After the ODEX optimization of the first object application program, judge in the pool of applications except the first object application journey Whether the other applications except sequence have all carried out ODEX optimization;
If the other applications have all carried out ODEX optimization, whether the first object application program is judged Operation carries out ODEX optimization to the first object application program if the first object application program is not currently running.
CN201610601599.3A 2016-07-27 2016-07-27 A kind of ODEX optimal control method and mobile terminal Active CN106250180B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610601599.3A CN106250180B (en) 2016-07-27 2016-07-27 A kind of ODEX optimal control method and mobile terminal
PCT/CN2016/097468 WO2018018702A1 (en) 2016-07-27 2016-08-31 Odex optimization control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610601599.3A CN106250180B (en) 2016-07-27 2016-07-27 A kind of ODEX optimal control method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106250180A CN106250180A (en) 2016-12-21
CN106250180B true CN106250180B (en) 2019-10-11

Family

ID=57604086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610601599.3A Active CN106250180B (en) 2016-07-27 2016-07-27 A kind of ODEX optimal control method and mobile terminal

Country Status (2)

Country Link
CN (1) CN106250180B (en)
WO (1) WO2018018702A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108536488B (en) * 2018-04-17 2021-12-07 Oppo广东移动通信有限公司 Application starting optimization method and device, storage medium and terminal equipment
CN109522034A (en) * 2018-09-27 2019-03-26 努比亚技术有限公司 A kind of optimizing application method, terminal and computer readable storage medium
CN112328316B (en) * 2019-08-02 2023-01-24 Tcl科技集团股份有限公司 APP optimization method, mobile terminal and storage medium
CN112631617A (en) * 2019-10-09 2021-04-09 深圳Tcl新技术有限公司 Byte code optimization method and computer equipment
CN111104180B (en) * 2019-12-11 2021-08-03 惠州Tcl移动通信有限公司 Application program optimization method and device, storage medium and electronic equipment
CN113971034A (en) * 2020-07-23 2022-01-25 华为技术有限公司 Method for installing application and electronic equipment
CN112637683A (en) * 2020-12-07 2021-04-09 青岛海信传媒网络技术有限公司 Display equipment system optimization method and display equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375872A (en) * 2014-12-08 2015-02-25 福州瑞芯微电子有限公司 Quick startup method and device of Android system
CN104866365A (en) * 2015-06-12 2015-08-26 联想(北京)有限公司 Method and device for improving boot speed, and electronic equipment
CN105278989A (en) * 2015-10-12 2016-01-27 邱寅峰 Fast loading method of APK file
CN105528229A (en) * 2015-12-16 2016-04-27 广东欧珀移动通信有限公司 Method and device for improving first starting speed of mobile terminal
EP3026557A1 (en) * 2014-11-28 2016-06-01 Thomson Licensing Method and device for providing verifying application integrity
CN105677335A (en) * 2015-12-29 2016-06-15 广东欧珀移动通信有限公司 Method and device for increasing first starting speed of mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
CN104375872A (en) * 2014-12-08 2015-02-25 福州瑞芯微电子有限公司 Quick startup method and device of Android system
CN104866365A (en) * 2015-06-12 2015-08-26 联想(北京)有限公司 Method and device for improving boot speed, and electronic equipment
CN105278989A (en) * 2015-10-12 2016-01-27 邱寅峰 Fast loading method of APK file
CN105528229A (en) * 2015-12-16 2016-04-27 广东欧珀移动通信有限公司 Method and device for improving first starting speed of mobile terminal
CN105677335A (en) * 2015-12-29 2016-06-15 广东欧珀移动通信有限公司 Method and device for increasing first starting speed of mobile terminal

Also Published As

Publication number Publication date
WO2018018702A1 (en) 2018-02-01
CN106250180A (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN106250180B (en) A kind of ODEX optimal control method and mobile terminal
US9654556B2 (en) Managing applications on an electronic device
US10684744B2 (en) Launching applications on an electronic device
CN103984538B (en) Application scenario identification method, power consumption management method, devices and terminal equipment
CN105335099A (en) Memory cleaning method and terminal
EP3355187A1 (en) Loading method and device for terminal application (app)
CN103049163B (en) User interface intelligent display control method and device
EP3059667A1 (en) Theme display method and related device
US20180302231A1 (en) Method for processing job information and electronic device supporting same
US20160103599A1 (en) Method and apparatus for optimizing operating environment of a user terminal
EP3227777A1 (en) Application launching and switching interface
US10684838B2 (en) Dynamic application deployment
JP5678778B2 (en) Systems and migration methods
CN109491736B (en) Display method and device of pop-up frame window
US10275204B2 (en) Sharing content operating method and electronic device for supporting the same
US20190347621A1 (en) Predicting task durations
CN108427598B (en) Message processing method, device, terminal and storage medium
CN109271223A (en) Windows switching method, device, terminal and computer readable storage medium
CN104346279A (en) Method and device for software testing
CN106371904A (en) Application process clearing method and mobile terminal
CN109117153A (en) Processing method, device, terminal and the storage medium of application program
WO2017107725A1 (en) Method and device for controlling operation interface
CN103198252B (en) Device and method for the control information for managing the application program in portable terminal
CN109086077A (en) A kind of operation method and device of application program
CN111124634A (en) Training method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant