CN106201611A - Run the method and device of application - Google Patents
Run the method and device of application Download PDFInfo
- Publication number
- CN106201611A CN106201611A CN201610533565.5A CN201610533565A CN106201611A CN 106201611 A CN106201611 A CN 106201611A CN 201610533565 A CN201610533565 A CN 201610533565A CN 106201611 A CN106201611 A CN 106201611A
- Authority
- CN
- China
- Prior art keywords
- application
- file
- precompiler
- opportunity
- compiling
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
The disclosure is directed to a kind of method and device running application, for improving the efficiency running application, reduce period of reservation of number.Described method includes: monitor whether to arrive the compiling opportunity preset;When arriving the compiling opportunity preset, determine application level corresponding to compiling opportunity of arrival;Cache the most precompiler file corresponding to application that the application level determined is corresponding;Described application is the certain applications of system intialization;Monitor whether to arrive the operation Time window preset;When arriving the operation Time window preset, run the most precompiler file of caching, to run application.Use the method that the disclosure is provided, it is possible in advance the most precompiler file of application is cached, thus when running application, it is not necessary to again carry out the process of caching to this application precompile file, improve the efficiency running application;By dividing application level, when mobile terminal-opening, it is not necessary to all application of disposable caching, decrease period of reservation of number.
Description
Technical field
It relates to communication and computer disposal field, particularly relate to run the method and device of application.
Background technology
Along with the development of electronic technology, mobile terminal is the most commonly used, and it is the fastest to update.Mobile terminal is not
Only can provide basic call function, it is also possible to run various application, meet the demand that user enriches.Mobile terminal is in start
Time need run system intialization and user configured multiple application.
Summary of the invention
For overcoming problem present in correlation technique, the disclosure provides a kind of method and device running application.
First aspect according to disclosure embodiment, it is provided that a kind of method running application, including:
Monitor whether to arrive the compiling opportunity preset;
When arriving the compiling opportunity preset, determine application level corresponding to compiling opportunity of arrival;
Cache the most precompiler file corresponding to application that the application level determined is corresponding;Described application is system intialization
Certain applications;
Monitor whether to arrive the operation Time window preset;
When arriving the operation Time window preset, run the most precompiler file of caching, to run application.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: can be the most pre-to apply in advance
The file of compiling caches, thus when running application, it is not necessary to again carry out the process of caching to this application precompile file,
Improve the efficiency running application, secondly, by dividing application level, thus when reaching default compiling opportunity, only caching
The application of the part corresponding to application level that this compiling opportunity is corresponding, thus, when mobile terminal-opening, it is not necessary to disposably delay
Deposit all application, decrease the time of caching, and then decrease period of reservation of number.
In one embodiment, when described default compiling includes start opportunity;Application level corresponding during start is
High application level;
The most precompiler file corresponding to application that application level that described caching determines is corresponding, including:
The most precompiler file corresponding to the application that the highest application level is corresponding is cached by the first operating system;
On the basis of described first operating system, run virtual machine, virtual machine runs the second operating system;
When the operation Time window preset corresponding during start is for running the second operating system or when triggering application;
The described the most precompiler file running caching, including:
The most precompiler file by the second operating system caching.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: by application etc. corresponding when starting shooting
Level is set to the highest application level, thus, it is possible to corresponding to the application that just the highest application level of caching is corresponding when start
Precompiler file, thus when the application that the highest application level of operation is corresponding, it is not necessary to again carry out this application precompile
The process of caching of file, improves the efficiency running application, decreases period of reservation of number.
In one embodiment, when described default compiling includes dormancy opportunity;During application level corresponding during dormancy is
Etc. application level;
When the operation Time window preset corresponding during dormancy is activation manipulation system or when triggering application.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: default compiling be set to opportunity
During dormancy, it is possible to when dormancy, the application to application level is medium application level caches in advance, it is not necessary to takies user and makes
By system resource during equipment.
In one embodiment, the most precompiler literary composition corresponding to application that described caching determines application level is corresponding
Part, including:
Cache the most precompiler file corresponding to the certain applications that medium application level is corresponding.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: owing to wherein one can be cached
The most precompiler file point corresponding to application, thus, application corresponding to medium application level without disposable all cachings, from
And make needs compile the caching of the application corresponding with the medium application level of caching when dormancy more flexibly, and then avoid impact
The normal use of user.
In one embodiment, described default compiling includes when triggering is applied opportunity;Trigger application corresponding during application
Grade is the application level such as low;
When triggering the operation Time window preset corresponding during application for triggering application.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: the application of the application level such as low is only
Have and just cache when triggering, thus without the classes of applications such as low is carried out precompile and caching, it is to avoid caching is of little use and answers
With and the unnecessary waste of the memory space that causes.
In one embodiment, described application level is based on using frequency configuration;Use frequency the highest, application level
The highest.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: by for using frequency the highest
The grade that application configuration is the highest such that it is able to preferential compiling and caching use the application that probability is higher, farthest improve
Run the efficiency of application, reduce period of reservation of number.
Second aspect according to disclosure embodiment, it is provided that a kind of device running application, including:
First monitoring modular, for monitoring whether the compiling opportunity that arrival is preset;
Determine module, for when arriving the compiling opportunity preset, determine application level corresponding to compiling opportunity of arrival;
Cache module, for caching the most precompiler file corresponding to application that the application level determined is corresponding;Described
Application is the certain applications of system intialization;
Second monitoring modular, for monitoring whether the operation Time window that arrival is preset;
First runs module, for when arriving the operation Time window preset, runs the most precompiler file of caching,
To run application.
In one embodiment, when described default compiling includes start opportunity;Application level corresponding during start is
High application level;
Described cache module, including:
First cache sub-module, for caching corresponding to the application that the highest application level is corresponding by the first operating system
The most precompiler file;
Second runs module, for running virtual machine on the basis of described first operating system, runs in virtual machine
Second operating system;
When the operation Time window preset corresponding during start is for running the second operating system or when triggering application;
Described first runs module, including:
Run submodule, for the most precompiler file by the second operating system caching.
In one embodiment, when described default compiling includes dormancy opportunity;During application level corresponding during dormancy is
Etc. application level;
When the operation Time window preset corresponding during dormancy is activation manipulation system or when triggering application.
In one embodiment, described cache module, including:
Second cache sub-module, for caching the most precompiler literary composition corresponding to the certain applications that medium application level is corresponding
Part.
In one embodiment, described default compiling includes when triggering is applied opportunity;Trigger application corresponding during application
Grade is the application level such as low;
When triggering the operation Time window preset corresponding during application for triggering application.
In one embodiment, described application level is based on using frequency configuration;Use frequency the highest, application level
The highest.
The third aspect according to disclosure embodiment, it is provided that a kind of device running application, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Monitor whether to arrive the compiling opportunity preset;
When arriving the compiling opportunity preset, determine application level corresponding to compiling opportunity of arrival;
Cache the most precompiler file corresponding to application that the application level determined is corresponding;Described application is system intialization
Certain applications;
Monitor whether to arrive the operation Time window preset;
When arriving the operation Time window preset, run the most precompiler file of caching, to run application.
It should be appreciated that it is only exemplary and explanatory, not that above general description and details hereinafter describe
The disclosure can be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the disclosure
Example, and for explaining the principle of the disclosure together with description.
Fig. 1 is the flow chart according to a kind of method running application shown in an exemplary embodiment;
Fig. 2 is the flow chart according to a kind of method running application shown in an exemplary embodiment;
Fig. 3 is the flow chart according to a kind of method running application shown in an exemplary embodiment;
Fig. 4 is the flow chart according to a kind of method running application shown in an exemplary embodiment;
Fig. 5 is the flow chart according to a kind of method running application shown in an exemplary embodiment;
Fig. 6 is the block diagram according to a kind of device running application shown in an exemplary embodiment;
Fig. 7 is the block diagram according to a kind of device running application shown in an exemplary embodiment;
Fig. 8 is the block diagram according to a kind of device running application shown in an exemplary embodiment;
Fig. 9 is the block diagram according to a kind of device for running application shown in an exemplary embodiment.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they are only with the most appended
The example of the apparatus and method that some aspects that described in detail in claims, the disclosure are consistent.
Along with the development of electronic technology, the birth of various application, the function making mobile terminal and computer is more and more perfect
With variation, mobile terminal and computer the most thereby become instrument indispensable in people's life.To run mobile terminal
As a example by application, during user's application in opening mobile terminal, mobile terminal needs the most precompiler literary composition that caching application is corresponding
Part, when caching complete, the most precompiler file cached by operation runs the application that user clicks on, if will cache
The process of precompiler file is placed on when application starts and carries out, and the start-up course of this application will become slowly.
In correlation technique, for solving this problem, propose a kind of the locally applied file of precompile to be delayed in advance
The mode deposited, does when being and the compilation process of application is placed on starting up, i.e. when mobile terminal-opening starts, caches this and moves
The most precompiler file that in terminal, all application are corresponding.But, when the application in mobile terminal is the most, starting up's
Time needed for process will be the longest, thus, how to propose a kind of method running application, improve the efficiency running application,
Reduce period of reservation of number, become to need badly and solve the technical problem that.
The disclosure provides a kind of method running application: monitor whether to arrive the compiling opportunity preset;Preset in arrival
During compiling opportunity, determine application level corresponding to compiling opportunity of arrival;The application institute caching the application level determined corresponding is right
The most precompiler file answered;Described application is the certain applications of system intialization;When monitoring whether to arrive the operation application preset
Machine;When arriving the operation Time window preset, run the most precompiler file of caching, to run application.
Use the method that the disclosure is provided, it is possible to before running the application that the application level determined is corresponding, the most right
The most precompiler file of these application caches, thus when running application, it is not necessary to again carry out this application precompile
Secondly the process of caching of file, improves the efficiency running application, by dividing application level, thus is reaching default volume
When translating opportunity, only compile application application level corresponding to corresponding with caching this compiling opportunity, decrease compiling and caching
Time, and then decrease period of reservation of number.
Fig. 1 is the flow chart according to a kind of method running application shown in an exemplary embodiment, as it is shown in figure 1, should
Method can be realized by mobile terminal or computer, and the method can be implemented as following steps S101-S105:
In step S101, monitor whether to arrive the compiling opportunity preset;
In step s 102, when arriving the compiling opportunity preset, determine application level corresponding to compiling opportunity of arrival;
In step s 103, the most precompiler file corresponding to application that the application level determined is corresponding is cached;Application
Certain applications for system intialization;
In step S104, monitor whether to arrive the operation Time window preset;
In step S105, when arriving the operation Time window preset, run the most precompiler file of caching, with fortune
Row application.
The locally applied file of precompile is cached in advance to this locality proposition is a kind of proposed in correlation technique
Mode, do when being and the compilation process of application is placed on starting up, i.e. when mobile terminal-opening starts, cache this and move end
The most precompiler file that in end, all application are corresponding.But, when the application in mobile terminal is the most, the mistake of starting up
The time of Cheng Suoxu will be the longest.
For solving the problem in correlation technique, in the present embodiment, preset multiple different compiling opportunitys, each compiling opportunity
Corresponding different application level, the part application in the local all application of each application level correspondence.Preset reaching one
Compiling opportunity time, determine application level corresponding to this compiling opportunity, cache the precompile of application corresponding to this application level
File.So, the different periods can be divided to cache respectively the most precompiler file corresponding to local application, phase
When in the process of caching longer used time is divided into shorter process of caching of multiple used time, thus, it is not necessary to user opens in start
Time dynamic, wait the too long of time.
Terminal upon actuation, also to monitor whether to arrive the operation Time window preset, arrive the Time window preset
Time, the most precompiler file cached by operation runs corresponding application.
It should be noted that in the present embodiment, according to kind and frequency is used to be divided into locally applied in mobile terminal
Multiple different ranks, such as, when mobile terminal is bought in some application, system carries, as sophisticated systems basic function
Calendar application, clock application, weather application etc., in a lot of mobile terminals, the application that this kind of system carries can not be carried out
Unloading and deleting, the most precompiler file corresponding to these application be burning in advance within hardware, start when, will
Cache the most precompiler file that these application are corresponding, and run these the most precompiler files.
Secondly, also some application is that user downloads after buying mobile terminal voluntarily, and this kind of application is the most
Through having done compiling and having explained work, the use frequency that these are applied can be added up, and the application that frequency is the highest will be used to belong to
The application level of Yu Yuegao.
It is also desirable to explanation: such scheme is applicable not only to mobile terminal, applies also for computer.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: can be the most pre-to apply in advance
The file of compiling caches, thus when running application, it is not necessary to again carry out the process of caching to this application precompile file,
Improve the efficiency running application, secondly, by dividing application level, thus when reaching default compiling opportunity, only caching
The application of the part corresponding to application level that this compiling opportunity is corresponding, thus, when mobile terminal-opening, it is not necessary to disposably delay
Deposit all application, decrease the time of caching, and then decrease period of reservation of number.
In one embodiment, when the compiling preset includes start opportunity;Application level corresponding during start is the highest answering
Use grade;
As in figure 2 it is shown, above-mentioned steps S103 can be implemented as following steps S201:
In step s 201, prelisting corresponding to the application that the highest application level is corresponding is cached by the first operating system
The file translated;
In step S202, on the basis of the first operating system, run virtual machine, virtual machine runs the second operation
System;
When the operation Time window preset corresponding during start is for running the second operating system or when triggering application;
Above-mentioned steps S105 can be implemented as following steps S203:
In step S203, by the most precompiler file of the second operating system caching.
Under normal circumstances, the mobile terminal carrying Android operation system is typically a Linux (a kind of operating system) system
As kernel, say, that Android operation system is an application framework, its bottom is the Linux of a standard.
Based on this, in the present embodiment, the first operating system is as a example by linux system, and the second operating system operates with Android
As a example by system.When start, cache the most pre-of the highest application level correspondence application by linux system built-in in mobile terminal
The file of compiling, meanwhile, runs virtual machine on the basis of linux system, runs Android operation system in virtual machine.Need
Illustrating, the operation Time window preset corresponding during start is exactly now, to pass through when Android operation system brings into operation
Android operation system runs the most precompiler file of caching.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: by application etc. corresponding when starting shooting
Level is set to the highest application level, thus, it is possible to corresponding to the application that just the highest application level of caching is corresponding when start
Precompiler file, thus when the application that the highest application level of operation is corresponding, it is not necessary to again carry out this application precompile
The process of caching of file, improves the efficiency running application, decreases period of reservation of number.
In one embodiment, when the compiling preset includes dormancy opportunity;Application level corresponding during dormancy is medium answering
Use grade;
When the operation Time window preset corresponding during dormancy is activation manipulation system or when triggering application.
In the present embodiment, mobile terminal in a dormant state time, belong to medium application level correspondence application compiling time
Machine, namely mobile terminal in a dormant state time, cache medium application level correspondence application the most precompiler file.When with
Family by light mobile terminal frequency curtain or unlock screen wake up mobile terminal up time, stop ongoing to the most precompiler literary composition
The caching of part, now, in medium application, for avoiding false touch, assists mobile terminal to realize touching as touched smart this kind of being used for
Touch screen function apply mobile terminal in a dormant state time do not run, and when mobile terminal is in wake-up states,
Automatically this kind of application is run, to process the touch operation that touch screen receives.Also some application is to need to click on when starting just to transport
OK.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: default compiling be set to opportunity
During dormancy, it is possible to when dormancy, the application to application level is medium application level caches in advance, it is not necessary to takies user and makes
By system resource during equipment.
In one embodiment, above-mentioned steps S103 can be implemented as following steps:
Cache the most precompiler file corresponding to the certain applications that medium application level is corresponding.
In view of unfixed during the resting state of mobile terminal, user may use mobile terminal be to call out at needs at any time
Awake mobile terminal, thus, in the present embodiment, when mobile terminal sleep, it is not necessary to answering of all Middle grade of disposable caching
With, but application to Middle grade caches in the following way:
Mode one
Under normal circumstances, using the application that frequency is higher, the probability that user uses is higher, thus, can be according to using frequency
The application of Middle grade is divided into multiple different sub-grade, the application that priority cache Middle grade application neutron is higher ranked,
User is before waking up terminal up, and caching uses the application that probability is higher as far as possible.
Mode two
In the manner, do not continue draw a molecular level, mobile terminal in a dormant state time, caching Middle grade should
With, how many just caching can be cached how many, it is contemplated that when mobile terminal is waken up, prelisting corresponding to the application cached
The file translated is the most uncached to be completed, thus, add fallback mechanism.Such as, when corresponding to the application of a Middle grade
When precompiler file cache is a part of, terminal is waken up, and now, then needs the supreme application institute cached of rollback right
The most precompiler file answered, records the most precompiler file corresponding to the most buffered complete application, and will the most
The most precompiler file that the application of caching is corresponding discharges, then when entering resting state, again caches this application corresponding next time
The file of precompile.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: owing to wherein one can be cached
The most precompiler file point corresponding to application, thus, application corresponding to medium application level without disposable all cachings, from
And make needs compile the caching of the application corresponding with the medium application level of caching when dormancy more flexibly, and then avoid impact
The normal use of user.
In one embodiment, the compiling preset includes when triggering is applied opportunity;Trigger application level corresponding during application
For the application level such as low;
When triggering the operation Time window preset corresponding during application for triggering application.
Sometimes, user, after installing certain application, uses frequency the lowest, and for this kind of application, user is possibly even
This kind of application is not the most used within the some time, thus, this kind of application, only when triggering, just caches prelisting of its correspondence
Translation part, thus, it is to avoid the waste of memory space.And for this kind of application, owing to the access times of user are few, thus, i.e.
Make the startup time longer, also can receive.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: the application of the application level such as low is only
Have and just cache when triggering, thus without the classes of applications such as low is carried out precompile and caching, it is to avoid caching is of little use and answers
With and the unnecessary waste of the memory space that causes.
In one embodiment, application level is based on using frequency configuration;Using frequency the highest, application level is more
High.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: by for using frequency the highest
The grade that application configuration is the highest such that it is able to preferential compiling and caching use the application that probability is higher, farthest improve
Run the efficiency of application, reduce period of reservation of number.
Local application is carried out classification by the disclosure, and that user is commonly used is placed on the first order (the highest application level), is opening
Machine start time its precompile file is cached, thus, when these application be opened time, its precompiler file by
Cache, improve the speed of service of these application;Secondly, it would be possible to conventional is placed on the second level (medium application level), exist
Its precompile file is cached when putting out screen dormancy by system;Finally, it is placed on the third level (application such as low grade etc. by be of little use
Level), when user first switches on application, its precompile file is cached, so, device power-up will not be taken and start
Time, also avoid the waste of memory space, even and if the application toggle speed that is of little use is slow, be also acceptable.
Below, for the application of three kinds of application level, its concrete processing mode is described respectively:
Fig. 3 is the flow chart according to a kind of method running application shown in an exemplary embodiment, as it is shown on figure 3, should
Method is the description of the concrete processing mode of the application corresponding to the highest application level, and the method can be implemented as following steps
S301-S305:
In step S301, monitor whether to arrive the compiling opportunity preset;
In step s 302, arrive the compiling opportunity preset for start time, determine compiling opportunity of arrival corresponding should
It is the highest application level by grade;
In step S303, cache prelisting corresponding to the application that the highest application level is corresponding by the first operating system
The file translated;
In step s 304, on the basis of the first operating system, run virtual machine, virtual machine runs the second operation
System;
In step S305, by the most precompiler file of the second operating system caching.
Fig. 4 is the flow chart according to a kind of method running application shown in an exemplary embodiment, as shown in Figure 4, and should
Method is the description of the concrete processing mode of the application corresponding to medium application level, and the method can be implemented as following steps
S401-S404:
In step S401, monitor whether to arrive the compiling opportunity preset;
In step S402, arrive the compiling opportunity preset be dormancy time, determine compiling opportunity of arrival corresponding should
It is medium application level by grade;
In step S403, cache the most precompiler file corresponding to the certain applications that medium application level is corresponding;
In step s 404, when activation manipulation system or when triggering application, by the second operating system caching
The most precompiler file.
Fig. 5 is the flow chart according to a kind of method running application shown in an exemplary embodiment, as it is shown in figure 5, should
Method is the description of the concrete processing mode of the application corresponding to the application level such as low, and the method can be implemented as following steps
S501-S504:
In step S501, monitor whether to arrive the compiling opportunity preset;
In step S502, arrive the compiling opportunity preset for triggering application time, determine that the compiling of arrival is corresponding for opportunity
Application level be the application level such as low;
In step S503, when triggering application corresponding to the application level such as low, cache the application level such as low corresponding should
With the most precompiler corresponding file;
In step S504, when caching complete, run the application triggered.
By described above understood run application realize process, this process is realized by mobile terminal and computer, under
Face is respectively directed to the internal structure of two equipment and function is introduced.
Fig. 6 is the block diagram according to a kind of device running application shown in an exemplary embodiment.With reference to Fig. 6, this device
Including:
First monitoring modular 61, for monitoring whether the compiling opportunity that arrival is preset;
Determine module 62, for when arriving the compiling opportunity preset, determine application etc. corresponding to compiling opportunity of arrival
Level;
Cache module 63, for caching the most precompiler file corresponding to application that the application level determined is corresponding;Should
With the certain applications for system intialization;
Second monitoring modular 64, for monitoring whether the operation Time window that arrival is preset;
First runs module 65, for when arriving the operation Time window preset, runs the most precompiler literary composition of caching
Part, to run application.
In one embodiment, when the compiling preset includes start opportunity;Application level corresponding during start is the highest answering
Use grade;
As it is shown in fig. 7, cache module 63, including:
First cache sub-module 71, for caching corresponding to the application that the highest application level is corresponding by the first operating system
The most precompiler file;
Second runs module 72, for running virtual machine on the basis of the first operating system, runs the in virtual machine
Two operating systems;
When the operation Time window preset corresponding during start is for running the second operating system or when triggering application;
First runs module 65, including:
Run submodule 73, for the most precompiler file by the second operating system caching.
In one embodiment, when the compiling preset includes dormancy opportunity;Application level corresponding during dormancy is medium answering
Use grade;
When the operation Time window preset corresponding during dormancy is activation manipulation system or when triggering application.
In one embodiment, as shown in Figure 8, cache module 63, including:
Second cache sub-module 81, the most precompiler for cache corresponding to the certain applications that medium application level is corresponding
File.
In one embodiment, the compiling preset includes when triggering is applied opportunity;Trigger application level corresponding during application
For the application level such as low;
When triggering the operation Time window preset corresponding during application for triggering application.
In one embodiment, application level is based on using frequency configuration;Using frequency the highest, application level is more
High.
About the device in above-described embodiment, wherein modules performs the concrete mode of operation in relevant the method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 9 is the block diagram according to a kind of device 900 for running application shown in an exemplary embodiment.Such as, dress
Putting 900 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment
Equipment, body-building equipment, personal digital assistant etc..
With reference to Fig. 9, device 900 can include following one or more assembly: processes assembly 902, memorizer 904, power supply
Assembly 906, multimedia groupware 908, audio-frequency assembly 910, the interface 912 of input/output (I/O), sensor cluster 914, and
Communications component 916.
Process assembly 902 and generally control the integrated operation of device 900, such as with display, call, data communication, phase
The operation that machine operation and record operation are associated.Process assembly 902 and can include that one or more processor 920 performs to refer to
Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 902 can include one or more module, just
Mutual in process between assembly 902 and other assemblies.Such as, process assembly 902 and can include multi-media module, many to facilitate
Media component 908 and process between assembly 902 mutual.
Memorizer 904 is configured to store various types of data to support the operation at device 900.Showing of these data
Example includes any application program for operation on device 900 or the instruction of method, contact data, telephone book data, disappears
Breath, picture, video etc..Memorizer 904 can be by any kind of volatibility or non-volatile memory device or their group
Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable compile
Journey read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash
Device, disk or CD.
The various assemblies that power supply module 906 is device 900 provide power supply.Power supply module 906 can include power management system
System, one or more power supplys, and other generate, manage and distribute, with for device 900, the assembly that power supply is associated.
The screen of one output interface of offer that multimedia groupware 908 is included between described device 900 and user.One
In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensing
Device is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sense touch or sliding action
Border, but also detect the persistent period relevant to described touch or slide and pressure.In certain embodiments, many matchmakers
Body assembly 908 includes a front-facing camera and/or post-positioned pick-up head.When device 900 is in operator scheme, such as screening-mode or
During video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each front-facing camera and
Post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 910 is configured to output and/or input audio signal.Such as, audio-frequency assembly 910 includes a Mike
Wind (MIC), when device 900 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike is joined
It is set to receive external audio signal.The audio signal received can be further stored at memorizer 904 or via communication set
Part 916 sends.In certain embodiments, audio-frequency assembly 910 also includes a speaker, is used for exporting audio signal.
I/O interface 912 provides interface for processing between assembly 902 and peripheral interface module, above-mentioned peripheral interface module can
To be keyboard, put striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and lock
Set button.
Sensor cluster 914 includes one or more sensor, for providing the state of various aspects to comment for device 900
Estimate.Such as, what sensor cluster 914 can detect device 900 opens/closed mode, the relative localization of assembly, such as described
Assembly is display and the keypad of device 900, and sensor cluster 914 can also detect a group of device 900 or device 900
The position change of part, the presence or absence that user contacts with device 900, device 900 orientation or acceleration/deceleration and device 900
Variations in temperature.Sensor cluster 914 can include proximity transducer, is configured to when not having any physical contact examine
The existence of object near surveying.Sensor cluster 914 can also include optical sensor, such as CMOS or ccd image sensor, is used for
Imaging applications uses.In certain embodiments, this sensor cluster 914 can also include acceleration transducer, and gyroscope passes
Sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 916 is configured to facilitate the communication of wired or wireless mode between device 900 and other equipment.Device
900 can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.An exemplary enforcement
In example, communications component 916 receives the broadcast singal from external broadcasting management system or broadcast related information via broadcast channel.
In one exemplary embodiment, described communications component 916 also includes near-field communication (NFC) module, to promote junction service.Example
As, can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology,
Bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 900 can be by one or more application specific integrated circuits (ASIC), numeral letter
Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components realize, be used for performing said method.
In the exemplary embodiment, a kind of non-transitory computer-readable recording medium including instruction, example are additionally provided
As included the memorizer 904 of instruction, above-mentioned instruction can have been performed said method by the processor 920 of device 900.Such as,
Described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
A kind of device running application, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Monitor whether to arrive the compiling opportunity preset;
When arriving the compiling opportunity preset, determine application level corresponding to compiling opportunity of arrival;
Cache the most precompiler file corresponding to application that the application level determined is corresponding;Described application is system intialization
Certain applications;
Monitor whether to arrive the operation Time window preset;
When arriving the operation Time window preset, run the most precompiler file of caching, to run application.
Described processor can be additionally configured to:
When described default compiling includes start opportunity;Application level corresponding during start is the highest application level;
The most precompiler file corresponding to application that application level that described caching determines is corresponding, including:
The most precompiler file corresponding to the application that the highest application level is corresponding is cached by the first operating system;
On the basis of described first operating system, run virtual machine, virtual machine runs the second operating system;
When the operation Time window preset corresponding during start is for running the second operating system or when triggering application;
The described the most precompiler file running caching, including:
The most precompiler file by the second operating system caching.
Described processor can be additionally configured to:
When described default compiling includes dormancy opportunity;Application level corresponding during dormancy is medium application level;
When the operation Time window preset corresponding during dormancy is activation manipulation system or when triggering application.
Described processor can be additionally configured to:
The most precompiler file corresponding to application that application level that described caching determines is corresponding, including:
Cache the most precompiler file corresponding to the certain applications that medium application level is corresponding.
Described processor can be additionally configured to:
Described default compiling includes when triggering is applied opportunity;Application level corresponding when triggering application is application such as low grade etc.
Level;
When triggering the operation Time window preset corresponding during application for triggering application.
Described processor can be additionally configured to:
Described application level is based on using frequency configuration;Using frequency the highest, application level is the highest.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is by the process of mobile terminal
When device performs so that mobile terminal is able to carry out a kind of method running application, and described method includes:
Monitor whether to arrive the compiling opportunity preset;
When arriving the compiling opportunity preset, determine application level corresponding to compiling opportunity of arrival;
Cache the most precompiler file corresponding to application that the application level determined is corresponding;Described application is system intialization
Certain applications;
Monitor whether to arrive the operation Time window preset;
When arriving the operation Time window preset, run the most precompiler file of caching, to run application.
Instruction in described storage medium can also include:
When described default compiling includes start opportunity;Application level corresponding during start is the highest application level;
The most precompiler file corresponding to application that application level that described caching determines is corresponding, including:
The most precompiler file corresponding to the application that the highest application level is corresponding is cached by the first operating system;
On the basis of described first operating system, run virtual machine, virtual machine runs the second operating system;
When the operation Time window preset corresponding during start is for running the second operating system or when triggering application;
The described the most precompiler file running caching, including:
The most precompiler file by the second operating system caching.
Instruction in described storage medium can also include:
When described default compiling includes dormancy opportunity;Application level corresponding during dormancy is medium application level;
When the operation Time window preset corresponding during dormancy is activation manipulation system or when triggering application.
Instruction in described storage medium can also include:
The most precompiler file corresponding to application that application level that described caching determines is corresponding, including:
Cache the most precompiler file corresponding to the certain applications that medium application level is corresponding.
Instruction in described storage medium can also include:
Described default compiling includes when triggering is applied opportunity;Application level corresponding when triggering application is application such as low grade etc.
Level;
When triggering the operation Time window preset corresponding during application for triggering application.
Instruction in described storage medium can also include:
Described application level is based on using frequency configuration;Using frequency the highest, application level is the highest.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to its of the disclosure
Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modification, purposes or
Person's adaptations is followed the general principle of the disclosure and includes the undocumented common knowledge in the art of the disclosure
Or conventional techniques means.Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are by following
Claim is pointed out.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and
And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.
Claims (13)
1. the method running application, it is characterised in that including:
Monitor whether to arrive the compiling opportunity preset;
When arriving the compiling opportunity preset, determine application level corresponding to compiling opportunity of arrival;
Cache the most precompiler file corresponding to application that the application level determined is corresponding;Described application is the portion of system intialization
Divide application;
Monitor whether to arrive the operation Time window preset;
When arriving the operation Time window preset, run the most precompiler file of caching, to run application.
The method running application the most according to claim 1, it is characterised in that described default compiling includes start opportunity
Time;Application level corresponding during start is the highest application level;
The most precompiler file corresponding to application that application level that described caching determines is corresponding, including:
The most precompiler file corresponding to the application that the highest application level is corresponding is cached by the first operating system;
On the basis of described first operating system, run virtual machine, virtual machine runs the second operating system;
When the operation Time window preset corresponding during start is for running the second operating system or when triggering application;
The described the most precompiler file running caching, including:
The most precompiler file by the second operating system caching.
The method running application the most according to claim 1, it is characterised in that described default compiling includes dormancy opportunity
Time;Application level corresponding during dormancy is medium application level;
When the operation Time window preset corresponding during dormancy is activation manipulation system or when triggering application.
The method running application the most according to claim 3, it is characterised in that the application level that described caching determines is corresponding
The most precompiler file corresponding to application, including:
Cache the most precompiler file corresponding to the certain applications that medium application level is corresponding.
The method running application the most according to claim 1, it is characterised in that described default compiling includes triggering opportunity
During application;When triggering application, corresponding application level is the application level such as low;
When triggering the operation Time window preset corresponding during application for triggering application.
The method running application the most according to claim 1, it is characterised in that described application level is based on using frequency
Configuration;Using frequency the highest, application level is the highest.
7. the device running application, it is characterised in that including:
First monitoring modular, for monitoring whether the compiling opportunity that arrival is preset;
Determine module, for when arriving the compiling opportunity preset, determine application level corresponding to compiling opportunity of arrival;
Cache module, for caching the most precompiler file corresponding to application that the application level determined is corresponding;Described application
Certain applications for system intialization;
Second monitoring modular, for monitoring whether the operation Time window that arrival is preset;
First runs module, for when arriving the operation Time window preset, runs the most precompiler file of caching, with fortune
Row application.
The device running application the most according to claim 7, it is characterised in that described default compiling includes start opportunity
Time;Application level corresponding during start is the highest application level;
Described cache module, including:
First cache sub-module, the most pre-for cache corresponding to application corresponding to the highest application level by the first operating system
The file of compiling;
Second runs module, for running virtual machine on the basis of described first operating system, runs second in virtual machine
Operating system;
When the operation Time window preset corresponding during start is for running the second operating system or when triggering application;
Described first runs module, including:
Run submodule, for the most precompiler file by the second operating system caching.
The device running application the most according to claim 7, it is characterised in that described default compiling includes dormancy opportunity
Time;Application level corresponding during dormancy is medium application level;
When the operation Time window preset corresponding during dormancy is activation manipulation system or when triggering application.
The device running application the most according to claim 9, it is characterised in that described cache module, including:
Second cache sub-module, for caching the most precompiler file corresponding to the certain applications that medium application level is corresponding.
11. devices running application according to claim 7, it is characterised in that described default compiling includes touching opportunity
When sending out application;When triggering application, corresponding application level is the application level such as low;
When triggering the operation Time window preset corresponding during application for triggering application.
12. devices running application according to claim 7, it is characterised in that described application level is based on using frequency
Rate configuration;Using frequency the highest, application level is the highest.
13. 1 kinds of devices running application, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Monitor whether to arrive the compiling opportunity preset;
When arriving the compiling opportunity preset, determine application level corresponding to compiling opportunity of arrival;
Cache the most precompiler file corresponding to application that the application level determined is corresponding;Described application is the portion of system intialization
Divide application;
Monitor whether to arrive the operation Time window preset;
When arriving the operation Time window preset, run the most precompiler file of caching, to run application.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610533565.5A CN106201611B (en) | 2016-07-07 | 2016-07-07 | Run the method and device of application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610533565.5A CN106201611B (en) | 2016-07-07 | 2016-07-07 | Run the method and device of application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106201611A true CN106201611A (en) | 2016-12-07 |
CN106201611B CN106201611B (en) | 2019-07-23 |
Family
ID=57473649
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610533565.5A Active CN106201611B (en) | 2016-07-07 | 2016-07-07 | Run the method and device of application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106201611B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106919461A (en) * | 2017-03-10 | 2017-07-04 | 广东欧珀移动通信有限公司 | Broadcast recipients' queue regulation method, device and terminal device |
CN107357651A (en) * | 2017-06-09 | 2017-11-17 | 北京安云世纪科技有限公司 | Application acceleration method, apparatus and terminal |
CN109960507A (en) * | 2017-12-14 | 2019-07-02 | 广东欧珀移动通信有限公司 | Compile optimization method, device, storage medium, intelligent terminal and server |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103309689A (en) * | 2012-03-12 | 2013-09-18 | 联想(北京)有限公司 | Method and device for fast staring operating system |
CN103324508A (en) * | 2013-06-26 | 2013-09-25 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for application starting |
CN105335178A (en) * | 2014-07-28 | 2016-02-17 | 重庆重邮信科通信技术有限公司 | Startup control method and apparatus |
-
2016
- 2016-07-07 CN CN201610533565.5A patent/CN106201611B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103309689A (en) * | 2012-03-12 | 2013-09-18 | 联想(北京)有限公司 | Method and device for fast staring operating system |
CN103324508A (en) * | 2013-06-26 | 2013-09-25 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for application starting |
CN105335178A (en) * | 2014-07-28 | 2016-02-17 | 重庆重邮信科通信技术有限公司 | Startup control method and apparatus |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106919461A (en) * | 2017-03-10 | 2017-07-04 | 广东欧珀移动通信有限公司 | Broadcast recipients' queue regulation method, device and terminal device |
CN107357651A (en) * | 2017-06-09 | 2017-11-17 | 北京安云世纪科技有限公司 | Application acceleration method, apparatus and terminal |
CN107357651B (en) * | 2017-06-09 | 2021-02-26 | 北京安云世纪科技有限公司 | Application acceleration method and device and terminal |
CN109960507A (en) * | 2017-12-14 | 2019-07-02 | 广东欧珀移动通信有限公司 | Compile optimization method, device, storage medium, intelligent terminal and server |
Also Published As
Publication number | Publication date |
---|---|
CN106201611B (en) | 2019-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104951335B (en) | The processing method and processing device of application program installation kit | |
CN105677460A (en) | Application processing method and apparatus | |
CN104156236A (en) | Storage space saving method and device | |
CN105488112A (en) | Information pushing method and device | |
CN105930213B (en) | Using operation method and device | |
CN107391063A (en) | Method for information display, device and computer-readable recording medium | |
CN106155504A (en) | Module awakening method and device | |
JP6328762B2 (en) | Method and apparatus for reminding in shutdown state | |
US20180046653A1 (en) | Data clearing method, apparatus and storage medium | |
CN103927081A (en) | Method and device for processing notification events | |
CN105975301A (en) | Memory cleaning method and device, and electronic equipment | |
CN107483594A (en) | The method and apparatus of display renewal entry | |
KR20170038178A (en) | Method, apparatus, and mobile terminal for identificating fingerprint | |
CN109471596A (en) | Method for writing data, device, equipment and storage medium | |
CN106648730A (en) | Processing method and device of abnormal application | |
CN104463047B (en) | The device and method of control module work | |
CN106201611A (en) | Run the method and device of application | |
CN106528385A (en) | System fluency monitoring method and apparatus, and terminal | |
CN107340996A (en) | Screen lights method and device | |
CN106021072A (en) | Information display method and device | |
CN106455002A (en) | Wireless search method and device, and terminal | |
CN105868624A (en) | Application program authority management method and device | |
CN105607979A (en) | Network interconnection control method and device | |
CN109558229A (en) | Browser control method and device | |
CN105827834A (en) | Mobile device application method and device |
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 |