CN106502740A - Application installation method and device - Google Patents

Application installation method and device Download PDF

Info

Publication number
CN106502740A
CN106502740A CN201610931232.8A CN201610931232A CN106502740A CN 106502740 A CN106502740 A CN 106502740A CN 201610931232 A CN201610931232 A CN 201610931232A CN 106502740 A CN106502740 A CN 106502740A
Authority
CN
China
Prior art keywords
cpu
dominant frequency
core
application installation
adjusted
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
Application number
CN201610931232.8A
Other languages
Chinese (zh)
Other versions
CN106502740B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610931232.8A priority Critical patent/CN106502740B/en
Publication of CN106502740A publication Critical patent/CN106502740A/en
Application granted granted Critical
Publication of CN106502740B publication Critical patent/CN106502740B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5022Mechanisms to release resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure is directed to a kind of apply installation method and device, the method to include:Whether application installation operation is had in monitoring system;When monitoring to have application installation operation to occur in system, it is that application installation operation carries out system resource adjustment operation, so that the system resource that application installation operation can be utilized is more than the system resource that can be utilized before system resource adjustment operation is carried out.The disclosure can be lifted and installation kit is compiled as the efficiency of executable file by the reallocation of system resource, long so as to take when solving the problems, such as that mobile terminal application is installed in correlation technique, and then can lift the speed that application is installed.

Description

Application installation method and device
Technical field
It relates to mobile terminal application, more particularly to a kind of application installation method and device.
Background technology
With the development of intelligent mobile terminal, user also more comes the more to the demand of various third-party applications.Using When tripartite applies, need first by the application in the operating system of mobile terminal, the application of reruning completes corresponding work( Energy.In correlation technique, from after being upgraded to 5.0 versions, acquiescence uses ART (Android to Android (ARIXTRA) system Runtime, pattern when ARIXTRA is run) carry out installation and operation application.In application installation process, needs will apply corresponding APK (Android Package, ARIXTRA application installation package) is compiled into executable binary code Odex files in advance.And it is each After mobile terminal OTA (Over-the-Air, over the air) upgradings are completed, due to system core component upgrade, user The third-party application of installation is accomplished by being mounted during starting up again.The process that this is reinstalled can be called APK bags are compiled into executable binary code odex files by dex2oat files again.The operation at most consumes a few minutes, At least the time of several seconds, when needing to install if there are multiple applications, this process can consume the long time.
Content of the invention
For overcoming problem present in correlation technique, the disclosure to provide a kind of application installation method and device.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of application installation method, methods described include
Whether application installation operation is had in monitoring system;
When monitoring to have application installation operation to occur in the system, it is that the application installation operation carries out system resource Adjustment operation, so that the system resource that the application installation operation can be utilized is more than is carrying out the system resource adjustment operation The system resource that can be utilized before.
Optionally, described for described application installation operation carry out system resource adjustment operation include:
The working condition of central processor CPU is adjusted to target operating condition, the CPU is in the target operating condition Disposal ability higher than the CPU current operating state disposal ability;And/or,
Cache cleaning operation is carried out, by Installed System Memory opening to the application installation operation.
Optionally, methods described also includes:
When in the system, all application installation operations are completed, the working condition of the CPU is adjusted to initialization State, the working condition of the acquiescence when original operating state includes the system start-up, or adjust and set to user in advance The working condition that puts.
Optionally, the CPU includes multiple cores, described adjusts the working condition of CPU to target operating condition, bag Include:
The core amounts in running status of the CPU are adjusted to n core, the n core is the institute of the CPU Have a core, or part core that the n core is the CPU and n more than before adjustment the CPU in running status Core amounts;And/or,
The dominant frequency of some or all cores of the CPU is adjusted to target dominant frequency, the target dominant frequency is more than the portion Point or all cores current dominant frequency.
Optionally, the dominant frequency of some or all cores by the CPU is adjusted to target dominant frequency, the target dominant frequency Include more than the current dominant frequency of some or all cores:
The mode of operation of some or all cores of the CPU is adjusted to mode of operation corresponding with institute target dominant frequency, So that the dominant frequency of some or all cores is changed into the target dominant frequency.
Optionally, the CPU includes single core, described adjusts the working condition of CPU to target operating condition, bag Include:
The dominant frequency of the core of the CPU is adjusted to target dominant frequency, current master of the target dominant frequency more than the core Frequently.
Optionally, it is characterised in that the dominant frequency of the core by the CPU is adjusted to target dominant frequency, the target master Current dominant frequency of the frequency more than the core, including:
The mode of operation of the core of the CPU is adjusted to mode of operation corresponding with institute target dominant frequency so that the core The dominant frequency of the heart is changed into the target dominant frequency.
Optionally, described carry out cache cleaning operation, by Installed System Memory opening to the application installation operation, bag Include:
Detect whether the capacity of the free memory in the Installed System Memory is less than amount of free memory threshold value set in advance;
When the amount of free memory is detected less than the amount of free memory threshold value, by releasable cache In all discharging to the Installed System Memory;
By the Installed System Memory opening to the application installation operation.
Optionally, the CPU includes multiple cores, described when in the system, all application installation operations are completed, will The working condition of the CPU is adjusted to original operating state, and the original operating state includes the acquiescence during system start-up Working condition, or adjust the working condition pre-set to user, including:
Monitor whether the system completes all application installation operations;
When monitoring that the system completes all application installation operations, initial dominant frequency and the incipient nucleus of the CPU is obtained Calculation, the dominant frequency that the dominant frequency of acquiescence when the initial dominant frequency is the system start-up or user pre-set are described initial The core amounts that the core amounts of acquiescence when core number includes the system start-up or user pre-set;
The core amounts in running status of the CPU are adjusted to the incipient nucleus calculation;
The dominant frequency of all cores in running status of the CPU is adjusted to the initial dominant frequency.
Optionally, the CPU includes single core, described when in the system, all application installation operations are completed, will The CPU is adjusted to original operating state, the work shape of the acquiescence when original operating state includes the system start-up State, or the working condition pre-set to user is adjusted, including:
Monitor whether the system completes all application installation operations;
When monitoring that the system completes all application installation operations, the initial dominant frequency of the CPU is obtained, described initial The dominant frequency that the dominant frequency of acquiescence when dominant frequency is the system start-up or user pre-set;
The dominant frequency of the core of the CPU is adjusted to the initial dominant frequency.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of application erecting device, described device include:
Monitoring modular, is configured in monitoring system whether have application installation operation;
System resource adjusting module, when being configured as monitoring to have application installation operation to occur in the system, is institute Stating application installation operation carries out system resource adjustment operation, so that the system resource that the application installation operation can be utilized is more than The system resource that can be utilized before the system resource adjustment operation is carried out.
Optionally, the system resource adjusting module, including:
CPU adjusts submodule, when being configured as monitoring to have application installation operation to occur in the system, by CPU's Working condition is adjusted to target operating condition, and the CPU is working as higher than the CPU in the disposal ability of the target operating condition The disposal ability of front working condition;And/or,
Internal memory clears up submodule, is configured for cache cleaning operation, Installed System Memory is opened and is answered to described Use installation operation.
Optionally, the CPU adjusts submodule and is configured to:
When in the system, all application installation operations are completed, the working condition of the CPU is adjusted to initialization State, the working condition of the acquiescence when original operating state includes the system start-up, or adjust and set to user in advance The working condition that puts.
Optionally, the CPU includes that multiple cores, the CPU adjust submodule, including:
Hard core control submodule, is configured to adjust the core amounts in running status of the CPU to n core, The n core is all cores of the CPU, or part core that the n core is the CPU and n are more than adjustment The core amounts in running status of the front CPU;And/or,
Dominant frequency adjusts submodule, is configured to adjust the dominant frequency of some or all cores of the CPU to target dominant frequency, Current dominant frequency of the target dominant frequency more than some or all cores.
Optionally, the dominant frequency adjusts submodule and is configured to:
The mode of operation of some or all cores of the CPU is adjusted to mode of operation corresponding with institute target dominant frequency, So that the dominant frequency of some or all cores is changed into the target dominant frequency.
Optionally, the CPU includes that single core, the CPU adjust submodule and be configured to:
The dominant frequency of the core of the CPU is adjusted to target dominant frequency, current master of the target dominant frequency more than the core Frequently.
Optionally, the CPU adjusts submodule and is configured to:
The mode of operation of the core of the CPU is adjusted to mode of operation corresponding with institute target dominant frequency so that the core The dominant frequency of the heart is changed into the target dominant frequency.
Optionally, the internal memory clears up submodule, including:
Whether internal memory detection sub-module, be configured to detect the capacity of the free memory in the Installed System Memory less than in advance The amount of free memory threshold value of setting;
Caching release submodule, is configured as detecting the amount of free memory less than the amount of free memory threshold During value, during releasable cache is all discharged to the Installed System Memory;
Internal memory opens submodule, is configured to the Installed System Memory opening to the application installation operation.
Optionally, the CPU includes multiple cores, and the CPU adjusts submodule to be included:
Monitoring submodule is installed, is configured to monitor whether the system completes all application installation operations;
Configuration acquisition submodule, when being configured as monitoring that the system completes all application installation operations, obtains institute State initial dominant frequency and the incipient nucleus calculation of CPU, the dominant frequency of acquiescence when the initial dominant frequency is the system start-up or user The dominant frequency for pre-setting, the core amounts of the acquiescence when incipient nucleus calculation includes the system start-up or user set in advance The core amounts that puts;
Hard core control submodule, is configured to adjust the core amounts in running status of the CPU to described initial Core number;
Dominant frequency adjust submodule, be configured to by the dominant frequency of all cores in running status of the CPU adjust to The initial dominant frequency.
Optionally, the CPU includes that single core, the CPU adjust submodule, including:
Monitoring submodule is installed, is configured to monitor whether the system completes all application installation operations;
Configuration acquisition submodule, when being configured as monitoring that the system completes all application installation operations, obtains institute State the initial dominant frequency of CPU, the master that the dominant frequency of acquiescence when the initial dominant frequency is the system start-up or user pre-set Frequently;
Dominant frequency adjusts submodule, is configured to adjust the dominant frequency of the core of the CPU to the initial dominant frequency.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of application erecting device, described device include:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
Whether application installation operation is had in monitoring system;
When monitoring to have application installation operation to occur in the system, it is that the application installation operation carries out system resource Adjustment operation, so that the system resource that the application installation operation can be utilized is more than is carrying out the system resource adjustment operation The system resource that can be utilized before.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of non-transitorycomputer readable storage medium, when described Instruction in storage medium by mobile terminal computing device when so that mobile terminal is able to carry out a kind of application installation side Method, methods described include:Whether application installation operation is had in monitoring system;When monitoring there is application installation operation in system During generation, it is that application installation operation carries out system resource adjustment operation, so that the system resource that application installation operation can be utilized More than the system resource that can be utilized before system resource adjustment operation is carried out.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:
Whether application installation operation is had in monitoring system;When monitoring to have application installation operation to occur in system, For applying installation operation to carry out system resource adjustment operation, so that the system resource that application installation operation can be utilized is more than The system resource that can be utilized before the adjustment operation of row system resource.The disclosure can be lifted by the reallocation of system resource The efficiency that installation kit is compiled as executable file, long so as to solve in correlation technique to take when mobile terminal application is installed Problem, and then the speed that application is installed can be lifted.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement for meeting the disclosure Example, and the principle for being used for explaining the disclosure together with description.
Fig. 1 is a kind of flow chart of the application installation method according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of the application installation method according to an exemplary embodiment;
Fig. 3 is a kind of flow chart of the application installation method according to an exemplary embodiment;
Fig. 4 is the flow chart of another kind of application installation method according to an exemplary embodiment;
Fig. 5 is a kind of flow chart of the application installation method that implements to exemplify according to another exemplary;
Fig. 6 is the flow chart of another kind of application installation method according to an exemplary embodiment;
Fig. 7 is the flow chart of another the application installation method according to an exemplary embodiment
Fig. 8 is a kind of block diagram of the application erecting device according to an exemplary embodiment;
Fig. 9 is a kind of block diagram of the system resource adjusting module shown in embodiment illustrated in fig. 8;
Figure 10 is the block diagram that a kind of CPU shown in embodiment illustrated in fig. 9 adjusts submodule;
Figure 11 is the block diagram that a kind of internal memory shown in embodiment illustrated in fig. 9 clears up submodule;
Figure 12 is the block diagram that another kind of CPU shown in embodiment illustrated in fig. 9 adjusts submodule;
Figure 13 is the block diagram that another CPU shown in embodiment illustrated in fig. 9 adjusts submodule;
Figure 14 is a kind of block diagram of the device according to an exemplary embodiment.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.Conversely, they be only with as appended by The example of consistent apparatus and method in terms of some that described in detail in claims, the disclosure.
Before the application installation method of disclosure offer is provided, first application scenarios involved by the disclosure are situated between Continue, the application scenarios can include a terminal.The terminal for supporting system update and can apply the movement that installs and use Terminal unit, for example, can be smart mobile phone, panel computer, intelligent television, intelligent watch, PDA (Personal Digital Assistant, personal digital assistant), pocket computer etc..
Fig. 1 is a kind of flow chart of the application installation method according to an exemplary embodiment, as shown in figure 1, this reality Apply example to be applied to terminal with the application installation method to illustrate, the terminal can be the end described in above-mentioned application scenarios End, referring to Fig. 1, the application installation method may comprise steps of.
In a step 101, whether there is application installation operation in monitoring system.
Wherein, application installation operation refers to installation or the operation of more new opplication (Application), when monitoring in system (when having multiple application installation operations, each application installation operation can be used for pacifying to there is one or more application installation operation An application is filled, and now this multiple application installation operation can be completed one by one according to the erection sequence for pre-setting) when, enter Row step 102.
In a step 102, when monitoring to have application installation operation to occur in system, it is that application installation operation carries out system Resource adjustment operation, so that the system resource that application installation operation can be utilized was more than before system resource adjustment operation is carried out The system resource that can be utilized.
Wherein, it is to apply installation operation to carry out system resource adjustment operation to include:By CPU (Central Processing Unit, central processing unit) working condition adjust to target operating condition, the CPU is in the target operating condition Disposal ability higher than the CPU current operating state disposal ability;And/or, cache cleaning operation is carried out, will be The application installation operation is given in system internal memory opening.
In sum, whether the application installation method that the embodiment of the present disclosure is provided, have application installation operation in monitoring system Occur;When monitoring to have application installation operation to occur in system, it is that application installation operation carries out system resource adjustment operation, with The system resource for enabling application installation operation to utilize is more than the system that can be utilized before system resource adjustment operation is carried out Resource.The disclosure can lift the efficiency that installation kit is compiled as executable file, so as to solve by the reallocation of system resource Long problem is taken when certainly mobile terminal application is installed in correlation technique, and then can lift the speed that application is installed.
Fig. 2 is a kind of flow chart of the application installation method according to an exemplary embodiment, the application installation method In for terminal, the terminal can be the terminal described in above-mentioned application scenarios, as shown in Fig. 2 described in step 102 for should System resource adjustment operation is carried out with installation operation may comprise steps of at least one of 201, step 202.
In step 201, when monitoring to have in system application installation operation to occur, by the working condition of CPU adjust to Target operating condition, the CPU are higher than disposal abilities of the CPU in current operating state in the disposal ability of target operating condition.
Illustratively, the CPU can be monokaryon CPU, and primary multi-core CPU or subpackage multi-core CPU etc., if the CPU is monokaryon CPU, then the working condition of the CPU can be including the dominant frequency of the core of the CPU, if the CPU is multi-core CPU, the work of the CPU Make the core amounts that state can include running status is in the CPU, and the dominant frequency of each core in running status. Therefore, for multi-core CPU, then target operating condition can be core amounts in running status more than current quantity, and/or Working condition of the dominant frequency of whole cores or part core of the CPU higher than current dominant frequency;For monokaryon CPU, then target work Make the working condition of the dominant frequency higher than current dominant frequency of the core that state can be the CPU, to obtain higher disposal ability.
In step 202., cache cleaning operation is carried out, and the application installation operation is given by Installed System Memory opening.
Illustratively, Android operation system is built based on linux kernel, by taking linux kernel as an example, linux kernel In storage allocation, one or more caches can be opened up in system physical internal memory and (can be understood as making in whole internal memory Part internal memory for caching), faster to carry out the operation such as file read-write.After cache is generated, for a period of time Interior can't be released.Therefore, the free memory space in Installed System Memory is tied up, and affects Memory Allocation and the efficiency for reclaiming, In step202In, the cache that these are not released can be forced disposable all release so as to become Installed System Memory Free memory.
By said method, when monitoring to have application installation operation to occur in the system, step 201 can be passed through with step At least one of rapid 202 come carry out system resource adjustment operation, such that it is able to improve application installation operation execution speed.
Fig. 3 is a kind of flow chart of the application installation method according to an exemplary embodiment, the application installation method In for terminal, the terminal can be the terminal described in above-mentioned application scenarios, so that CPU includes multiple cores as an example, such as Fig. 3 Shown, adjusting the working condition of CPU described in step 201 is may comprise steps of to target operating condition.
In step 2011, the core amounts in running status of the CPU are adjusted to n core, the n core can be with For all cores of the CPU, or part core that the n core is the CPU and n more than before adjustment the CPU in operation The core amounts of state.I.e. it is to be understood that execute application installation operation when, if the CPU also have off-duty core, As needed some or all of core in off-duty core can be opened, to obtain higher disposal ability.
By taking linux kernel as an example, when the multi-core CPU is double-core CPU, can pass through to issue orders double-core CPU's The working condition of all cores is set to running status:
#echo1>/sys/devices/system/cpu/cpu0/online
#echo1>/sys/devices/system/cpu/cpu1/online
Again for example, when the multi-core CPU is four core CPU, and currently there are two cores to be currently running, there are two cores not transport During row, it is also possible to open one or two other off-duty core by the method similar with mentioned order.
In step 2012, the dominant frequency of some or all cores of the CPU is adjusted to target dominant frequency, the target dominant frequency is big Current dominant frequency in some or all cores.
Example, generally preset in CPU and be equipped with multiple different mode of operations, the corresponding different masters of different mode of operations Frequently, such that it is able to tackling the application scenarios of different demands.Therefore, it can some or all cores of the CPU as needed Mode of operation is adjusted to mode of operation corresponding with institute target dominant frequency so that the dominant frequency of some or all cores is changed into the target Dominant frequency.Wherein, target dominant frequency can be the dominant frequency dedicated for application installation operation for pre-setting, for example, can be CPU Highest dominant frequency, corresponding mode of operation namely mode of operation corresponding with the highest dominant frequency.
By taking linux kernel as an example, CPU mode of operations are generally included:Interactive, ondmand, userspace, The corresponding different dominant frequency of five kinds of patterns of powersave, performance, wherein each pattern.For example, interactive is referred to Interactive mode, similar to ondemand, its FREQUENCY CONTROL rule is " rising slow drop soon ", focuses on response speed, performance, needs when there is height Altofrequency is jumped to rapidly when asking, and is gradually lowered frequency when low demand;Ondmand refers to pattern on demand, in this mode on demand Cpu frequency is adjusted, control can not be promoted to rapidly most high frequency after low-limit frequency, screen sliding or entrance application when operating handset Rate, reduces rapidly frequency when idle;Userspace patterns refer to user model, can all control in any case under the pattern CPU processed is operated in the frequency range of configuration, and the power saving for having user oneself to add in the configuration is arranged.Powersave refers to province Power mode, under the pattern, by low-limit frequency operation is set, performance refers to high performance mode to CPU, in this mode by setting Determine the highest frequency operation of scope, even if the frequency of the very low CPU of system load is also highest.Therefore, in order to obtain maximum The mode of operation of CPU can be adjusted to performance patterns when application installation operation is carried out by disposal ability, so that The frequency for obtaining each core of CPU is adjusted to highest dominant frequency.
Illustratively, when CPU is double-core CPU, can be by the execution to kernel with owning double-core CPU of issuing orders The dominant frequency pattern of core is set to performance patterns:
#echo"performance">/sys/devices/system/cpu/cpu0/cpufreq/scaling_ available_governors
#echo"performance">/sys/devices/system/cpu/cpu1/cpufreq/scaling_ availab le_governors;
Again for example, when the multi-core CPU is four core CPU, can also be by the order similar with mentioned order by four core The mode of operation of the one or more cores in CPU is set to performance patterns.
Wherein it is possible to by executing at least one of above-mentioned steps 2011 and step 2012 realize will be current for the CPU Working condition is adjusted to the working condition having higher than current CPU disposal abilities.
When CPU includes single core, due to only one of which core, therefore the core of the CPU is constantly in running status, Therefore only need to adjust the dominant frequency of the core of the CPU to the target dominant frequency more than current dominant frequency.Which adjusts the side of dominant frequency The method that method adjusts dominant frequency with aforesaid multi-core CPU is identical.
Fig. 4 is the flow chart of another kind of application installation method according to an exemplary embodiment, the application installation side Method is used in terminal, and the terminal can be the terminal described in above-mentioned application scenarios, as shown in figure 4, described in step 202 Cache cleaning operation is carried out, Installed System Memory opening is may comprise steps of to the application installation operation.
In step 2021, whether the amount of free memory in detecting system internal memory holds less than free memory set in advance Amount threshold value.
Example, the amount of free memory threshold value can be arranged according to the size of the physical memory of terminal unit.For example, When the physical memory of terminal unit is 1G, the amount of free memory threshold value can be set to 500MB, when free memory is more than During 500MB, application installation operation can be directly run, when free memory is less than 500MB, proceed step 2022.
In step 2022, when the amount of free memory is detected less than the amount of free memory threshold value, will be releasable Cache all discharge to the Installed System Memory.
By taking linux kernel as an example, when the amount of free memory in Installed System Memory is detected less than 500MB, can pass through Kernel with the whole releasable cache in disposable releasing memory of issuing orders:
#echo 3>/proc/sys/vm/drop_caches
Wherein, the cache being released is converted into the free memory in Installed System Memory, obtains the space of free memory To extend.Wherein, order #echo 3>/ proc/sys/vm/drop_caches acquiescences judge whether cache can be released Put, and discharge releasable cache, retain non-releasable cache.
In step 2023, the application installation operation is given by the Installed System Memory opening.
Example, by taking android system as an example, application installation operation includes being compiled as APK file executable The Dex2oat processes of Odex files.This process is file read-write operations, in file read-write can repeatedly committed memory being formed Cache.Memory Allocation can be given this document read-write operation by system as needed, and reclaims and do not have occupied internal memory to treat Sub-distribution again.In being operated due to this, the hit rate of internal memory formation cache is relatively low, so needing to open a large amount of memory headrooms Put and give the operation.
As can be seen here, when monitoring to have application installation operation to occur in the system, can be cleared up by cache Operation, extends the free memory space in Installed System Memory, and gives the application installation operation by Installed System Memory opening, improve internal memory shape Hit rate into cache.
Fig. 5 is to implement the flow chart of a kind of application installation method that exemplifies, the application installation side according to another exemplary Method is used in terminal, and the terminal can be the terminal described in above-mentioned application scenarios, as shown in figure 5, the application peace shown in Fig. 1 Dress method can also be comprised the following steps.
In step 103, when in system, all application installation operations are completed, the working condition of CPU is adjusted to initial Working condition, the working condition of the acquiescence when original operating state includes the system start-up, or adjust and set to user in advance The working condition that puts.
Wherein, for multi-core CPU, the original operating state of the CPU includes initial dominant frequency and incipient nucleus calculation, for monokaryon The original operating state of CPU, the CPU includes initial dominant frequency.
Fig. 6 is the flow chart of another kind of application installation method according to an exemplary embodiment, the application installation side Method is used in terminal, and the terminal can be the terminal described in above-mentioned application scenarios, as shown in fig. 6, CPU includes multiple cores When, described in step 103 when in system, all application installation operations are completed, the working condition of CPU is adjusted to initialization State, the working condition of the acquiescence when original operating state includes the system start-up, or adjust and pre-set to user Working condition can also be comprised the following steps.
In step 1031, monitor whether the system completes all application installation operations.
Example, all of application installation operation can be monitored all by system kernel monitoring application installation operation When completing, monitor whether all of application installation operation has all completed to pass through current application installation behaviour in monitoring system Whether the quantity of work is zero, when the quantity for applying installation operation is zero, determines that all of application installation operation has all been completed, Proceed step 1032.
In step 1032, when monitoring to complete all application installation operations in the system, the initial master of the CPU is obtained Frequency and incipient nucleus calculation, the dominant frequency that the dominant frequency of acquiescence when the initial dominant frequency is the system start-up or user pre-set should The core amounts that the core amounts of acquiescence when incipient nucleus calculation includes the system start-up or user pre-set.
Wherein, the initial dominant frequency is included with the incipient nucleus calculation, and during system start-up, the CPU is the support system worked well Set dominant frequency intensity and the core number of operation is needed, or the dominant frequency intensity that pre-set according to itself wish of user and need Core number to be run;The initial dominant frequency is recorded in memorizer with the incipient nucleus calculation, is installed when all applications are detected When operation is completed, corresponding information can be obtained from memorizer.
In step 1033, the core amounts in running status of the CPU are adjusted to the incipient nucleus calculation.
In step 1034, the dominant frequency of all cores in running status of the CPU is adjusted to the initial dominant frequency.
As can be seen here, when in system, all application installation operations are completed, can adjusting multi-core CPU to system start-up When acquiescence, or adjust the operation dominant frequency and operation core number pre-set to user, reducing subsequently unnecessary electricity Amount loss.
Fig. 7 be according to an exemplary embodiment another application installation method flow chart, the application installation side Method is used in terminal, and the terminal can be the terminal described in above-mentioned application scenarios, as shown in fig. 7, CPU includes single core When, described in step 103 when in system, all application installation operations are completed, the working condition of CPU is adjusted to initialization State, the working condition of the acquiescence when original operating state includes the system start-up, or adjust and pre-set to user Working condition can also be comprised the following steps.
In step 1035, monitor whether the system completes all application installation operations.
In step 1036, when monitoring to complete all application installation operations in the system, the initial master of the CPU is obtained Frequently, the dominant frequency that the dominant frequency of acquiescence when the initial dominant frequency is the system start-up or user pre-set.
In step 1037, the dominant frequency of the core of the CPU is adjusted to the initial dominant frequency.
As can be seen here, when in system, all application installation operations are completed, can adjusting monokaryon CPU to system start-up When acquiescence, or adjust the operation dominant frequency pre-set to user, reducing subsequently unnecessary kwh loss.
In sum, whether the application installation method that the embodiment of the present disclosure is provided, have application installation operation in monitoring system Occur;When monitoring to have application installation operation to occur in system, it is that application installation operation carries out system resource adjustment operation, with The system resource for enabling application installation operation to utilize is more than the system that can be utilized before system resource adjustment operation is carried out Resource.The disclosure can lift the efficiency that installation kit is compiled as executable file, so as to solve by the reallocation of system resource Long problem is taken when certainly mobile terminal application is installed in correlation technique, and then can lift the speed that application is installed.
Fig. 8 is to implement the block diagram of a kind of application erecting device that exemplifies, the jingle bell alarm set according to another exemplary 800 can be used for executing the arbitrary described methods of Fig. 1 to Fig. 7, and the device 800 can pass through software, hardware or both knots Close and be implemented as some or all of of terminal, the terminal can be the terminal described in above-mentioned application scenarios.Referring to Fig. 8, should Application erecting device 800 can include:
Monitoring modular 810, is configured in monitoring system whether have application installation operation;
System resource adjusting module 820, when being configured as monitoring to have application installation operation to occur in the system, is this Application installation operation carries out system resource adjustment operation, so that the system resource that the application installation operation can be utilized is more than The system resource that can be utilized before capable system resource adjustment operation.
Optionally, Fig. 9 is a kind of block diagram of the system resource adjusting module shown in embodiment illustrated in fig. 8, referring to Fig. 8, should System resource adjusting module 820 includes:
CPU adjusts submodule 821, when being configured as monitoring to have application installation operation to occur in the system, by central authorities The working condition of processor CPU is adjusted to target operating condition, and the CPU is higher than to be somebody's turn to do in the disposal ability of the target operating condition Disposal abilities of the CPU in current operating state;And/or,
Internal memory clears up submodule 822, is configured for cache cleaning operation, and Installed System Memory is opened should to this Use installation operation;
Optionally, the CPU adjusts submodule 821 and is configured to:
When in the system, all application installation operations are completed, the working condition of the CPU is adjusted to original operating state, The working condition of the acquiescence when original operating state includes the system start-up, or adjust the work shape pre-set to user State.
Optionally, the CPU includes multiple cores, and Figure 10 is that a kind of CPU shown in embodiment illustrated in fig. 9 adjusts submodule Block diagram, referring to Figure 10, the CPU adjusts submodule 821, including:
Hard core control submodule 8211, is configured to adjust the core amounts in running status of the CPU to n core The heart, the n core are all cores of the CPU, or part core that the n core is the CPU and n should more than before adjustment The core amounts in running status of CPU;And/or,
Dominant frequency adjusts submodule 8212, is configured to adjust the dominant frequency of some or all cores of the CPU to target master Frequently, current dominant frequency of the target dominant frequency more than some or all cores.
Optionally, the dominant frequency adjusts submodule 8212 and is configured to:
The mode of operation of some or all cores of the CPU is adjusted to mode of operation corresponding with institute target dominant frequency, is made The dominant frequency for obtaining some or all cores is changed into the target dominant frequency.
Optionally, the CPU includes single core, and the CPU adjusts submodule 821 and is configured to:
The mode of operation of the core of the CPU is adjusted to mode of operation corresponding with institute target dominant frequency so that the core Dominant frequency is changed into the target dominant frequency.
Optionally, the CPU adjusts submodule 821 and is configured to:
The mode of operation of the core of the CPU is adjusted to mode of operation corresponding with institute target dominant frequency so that the core Dominant frequency is changed into the target dominant frequency.
Figure 11 is the block diagram that a kind of internal memory shown in embodiment illustrated in fig. 9 clears up submodule, referring to Figure 11, the cleaning modul 822, including:
Internal memory detection sub-module 8221, whether the amount of free memory being configured in detecting system internal memory is less than sets in advance Fixed amount of free memory threshold value;
Caching release submodule 8222, is configured as detecting the amount of free memory less than the amount of free memory threshold During value, during releasable cache is all discharged to the Installed System Memory;
Internal memory opens submodule 8223, is configured to give the application installation operation by the Installed System Memory opening.
Figure 12 is the block diagram that another kind of CPU shown in embodiment illustrated in fig. 9 adjusts submodule, and the CPU includes multiple cores, Referring to Figure 12, the adjustment module 821, including:
Monitoring submodule 8213 is installed, is configured to be monitored and whether complete in the system all application installation operations;
Configuration acquisition submodule 8214, when being configured as monitoring to complete in the system all application installation operations, obtains Initial dominant frequency and the incipient nucleus calculation of the CPU is taken, the dominant frequency of acquiescence when the initial dominant frequency is the system start-up or user are pre- The dominant frequency for first arranging, the core that the core amounts of the acquiescence when incipient nucleus calculation includes the system start-up or user pre-set Calculation amount;
Hard core control submodule 8215, the core amounts in running status for being configured to adjust the CPU are initial to this Core number;
Dominant frequency adjusts submodule 8216, is configured to adjust the dominant frequency of all cores in running status of the CPU To the initial dominant frequency.
Figure 13 is the block diagram that another CPU shown in embodiment illustrated in fig. 9 adjusts submodule, and the CPU includes single core, Referring to Figure 13, the processor recovery module 821 also includes:
Monitoring submodule 8213 is installed, is configured to be monitored and whether complete in the system all application installation operations;
Configuration acquisition submodule 8214, when being configured as monitoring to complete in the system all application installation operations, obtains The initial dominant frequency of the CPU is taken, the dominant frequency that the dominant frequency of acquiescence when the initial dominant frequency is the system start-up or user pre-set;
Dominant frequency adjusts submodule 8216, is configured to adjust the dominant frequency of the core of the CPU to the initial dominant frequency.
In sum, whether the application installation method that the embodiment of the present disclosure is provided, have application installation operation in monitoring system Occur;When monitoring to have application installation operation to occur in system, it is that application installation operation carries out system resource adjustment operation, with The system resource for enabling application installation operation to utilize is more than the system that can be utilized before system resource adjustment operation is carried out Resource.The disclosure can lift the efficiency that installation kit is compiled as executable file, so as to solve by the reallocation of system resource Long problem is taken when certainly mobile terminal application is installed in correlation technique, and then can lift the speed that application is installed.
Device in regard to above-described embodiment, wherein modules execute the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 14 is a kind of block diagram for applying erecting device 1400 according to an exemplary embodiment.For example, fill It can be mobile phone to put 1400, and computer, digital broadcast terminal, messaging devices, game console, tablet device are cured Treatment equipment, body-building equipment, personal digital assistant etc..
With reference to Figure 14, device 1400 can include following one or more assemblies:Process assembly 1402, memorizer 1404, Electric power assembly 1406, multimedia groupware 1408, audio-frequency assembly 1410, the interface 1412 of input/output (I/O), sensor cluster 1414, and communication component 1416.
The integrated operation of 1402 usual control device 1400 of process assembly, such as with display, call, data communication, The associated operation of camera operation and record operation.Process assembly 1402 can include one or more processors 1420 to execute Instruction, to complete all or part of step for applying installation method.Additionally, process assembly 1402 can include one or more moulds Block, the interaction being easy between process assembly 1402 and other assemblies.For example, process assembly 1402 can include multi-media module, To facilitate the interaction between multimedia groupware 1408 and process assembly 1402.
Memorizer 1404 is configured to store various types of data to support the operation in device 1400.These data Example include on device 1400 operate any application program or method instruction, contact data, telephone book data, Message, picture, video etc..Memorizer 1404 can by any kind of volatibility or non-volatile memory device or they Combination realizes, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Electric power assembly 1406 provides electric power for the various assemblies of device 1400.Electric power assembly 1406 can include power management System, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for device 1400.
Multimedia groupware 1408 is included in the screen of one output interface of offer between described device 1400 and user.? In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive the input signal from user.Touch panel includes that one or more touch passes Sensor is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or slip be dynamic The border of work, but also detect the persistent period related to the touch or slide and pressure.In certain embodiments, many Media component 1408 includes a front-facing camera and/or post-positioned pick-up head.When device 1400 is in operator scheme, mould is such as shot When formula or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each preposition shooting Head and post-positioned pick-up head can be fixed optical lens systems or there is focusing and optical zoom capabilities.
Audio-frequency assembly 1410 is configured to output and/or input audio signal.For example, audio-frequency assembly 1410 includes a wheat Gram wind (MIC), when device 1400 is in operator scheme, such as call model, logging mode and speech recognition mode, mike quilt It is configured to receive external audio signal.The audio signal for being received can be further stored in memorizer 1404 or via communication Component 1416 sends.In certain embodiments, audio-frequency assembly 1410 also includes a speaker, for exports audio signal.
I/O interfaces 1412 are to provide interface, above-mentioned peripheral interface module between process assembly 1402 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor cluster 1414 includes one or more sensors, comments for providing the state of various aspects for device 1400 Estimate.For example, sensor cluster 1414 can detect the opening/closed mode of device 1400, the such as relative localization of component, institute Display and keypad that component is device 1400 is stated, sensor cluster 1414 can be with detection means 1400 or device 1,400 1 The position change of individual component, user are presence or absence of with what device 1400 was contacted, 1400 orientation of device or acceleration/deceleration and dress Put 1400 temperature change.Sensor cluster 1414 can include proximity transducer, be configured to without any physics The presence of object nearby is detected during contact.Sensor cluster 1414 can also include optical sensor, such as CMOS or ccd image sensing Device, for used in imaging applications.In certain embodiments, the sensor cluster 1414 can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 1416 is configured to facilitate the communication of wired or wireless way between device 1400 and other equipment.Dress Put 1400 and can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.Exemplary at one In embodiment, communication component 1416 receives broadcast singal or the broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1416 also includes near-field communication (NFC) module, to promote short distance Communication.For example, RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, device 1400 can be by one or more application specific integrated circuits (ASIC), numeral Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing application installation method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include that the memorizer 1404 for instructing, above-mentioned instruction can be executed to complete to apply installation side by the processor 1420 of device 1400 Method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic Band, floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to other embodiment party of the disclosure after considering description and putting into practice the disclosure Case.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or adaptability Change follows the general principle of the disclosure and including the undocumented common knowledge or usual skill in the art of the disclosure Art means.Description and embodiments be considered only as exemplary, the true scope of the disclosure and spirit by claim below Point out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the 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 (21)

1. one kind applies installation method, it is characterised in that methods described includes:
Whether application installation operation is had in monitoring system;
When monitoring to have application installation operation to occur in the system, it is that the application installation operation carries out system resource adjustment Operation, so that the system resource that the application installation operation can be utilized was more than before the system resource adjustment operation is carried out The system resource that can be utilized.
2. method according to claim 1, it is characterised in that described carry out system resource tune for the application installation operation Whole operation includes:
The working condition of central processor CPU is adjusted to target operating condition, the CPU is at the place of the target operating condition Reason ability is higher than disposal abilities of the CPU in current operating state;And/or,
Cache cleaning operation is carried out, by Installed System Memory opening to the application installation operation.
3. method according to claim 2, it is characterised in that methods described also includes:
When in the system, all application installation operations are completed, the working condition of the CPU is adjusted to original operating state, The working condition of the acquiescence when original operating state includes the system start-up, or adjust the work pre-set to user Make state.
4. method according to claim 2, it is characterised in that the CPU includes multiple cores, the work by CPU State is adjusted to target operating condition, including:
The core amounts in running status of the CPU are adjusted to n core, the n core is all cores of the CPU The heart, or core in running status of the part core and n that the n core is the CPU more than the CPU before adjustment Quantity;And/or,
The dominant frequency of some or all cores of the CPU is adjusted to target dominant frequency, the target dominant frequency more than the part or The current dominant frequency of all cores.
5. method according to claim 4, it is characterised in that the dominant frequency of some or all cores by the CPU Adjust to target dominant frequency, the target dominant frequency includes more than the current dominant frequency of some or all cores:
The mode of operation of some or all cores of the CPU is adjusted to mode of operation corresponding with institute target dominant frequency so that The dominant frequency of some or all cores is changed into the target dominant frequency.
6. method according to claim 2, it is characterised in that the CPU includes single core, the work by CPU State is adjusted to target operating condition, including:
The dominant frequency of the core of the CPU is adjusted to target dominant frequency, current dominant frequency of the target dominant frequency more than the core.
7. method according to claim 6, it is characterised in that the dominant frequency of the core by the CPU is adjusted to target Dominant frequency, current dominant frequency of the target dominant frequency more than the core, including:
The mode of operation of the core of the CPU is adjusted to mode of operation corresponding with institute target dominant frequency so that the core Dominant frequency is changed into the target dominant frequency.
8. method according to claim 2, it is characterised in that described carry out cache cleaning operation, by system Deposit and open to the application installation operation, including:
Detect whether the capacity of the free memory in the Installed System Memory is less than amount of free memory threshold value set in advance;
When the amount of free memory is detected less than the amount of free memory threshold value, will be whole for releasable cache In discharging to the Installed System Memory;
By the Installed System Memory opening to the application installation operation.
9. method according to claim 3, it is characterised in that the CPU includes multiple cores, described when in the system When all application installation operations are completed, the working condition of the CPU is adjusted to original operating state, the original operating state Including the working condition of the acquiescence during system start-up, or the working condition pre-set to user is adjusted, including:
Monitor whether the system completes all application installation operations;
When monitoring that the system completes all application installation operations, initial dominant frequency and the incipient nucleus calculation of the CPU is obtained, The dominant frequency that the dominant frequency of acquiescence when the initial dominant frequency is the system start-up or user pre-set, the incipient nucleus calculation The core amounts that core amounts or user including the acquiescence during system start-up pre-set;
The core amounts in running status of the CPU are adjusted to the incipient nucleus calculation;
The dominant frequency of all cores in running status of the CPU is adjusted to the initial dominant frequency.
10. method according to claim 3, it is characterised in that the CPU includes single core, described when the system In all application installation operations when completing, the working condition of the CPU is adjusted to original operating state, the initialization shape The working condition of acquiescence when state includes the system start-up, or the working condition pre-set to user is adjusted, including:
Monitor whether the system completes all application installation operations;
When monitoring that the system completes all application installation operations, the initial dominant frequency of the CPU, the initial dominant frequency is obtained The dominant frequency that dominant frequency or user for the acquiescence during system start-up pre-sets;
The dominant frequency of the core of the CPU is adjusted to the initial dominant frequency.
11. a kind of application erecting devices, it is characterised in that described device includes:
Monitoring modular, is configured in monitoring system whether have application installation operation;
System resource adjusting module, when being configured as monitoring to have application installation operation to occur in the system, is described answering System resource adjustment operation is carried out with installation operation, so that the system resource that the application installation operation can be utilized is more than The system resource that can be utilized before the row system resource adjustment operation.
12. devices according to claim 11, it is characterised in that the system resource adjusting module includes:
CPU adjusts submodule, when being configured as monitoring to have application installation operation to occur in the system, by central processing unit The working condition of CPU is adjusted to target operating condition, and the CPU is higher than described in the disposal ability of the target operating condition Disposal abilities of the CPU in current operating state;And/or,
Internal memory clears up submodule, is configured for cache cleaning operation, Installed System Memory opening is pacified to the application Dress operation.
13. devices according to claim 12, it is characterised in that the CPU adjusts submodule and is configured to:
When in the system, all application installation operations are completed, the working condition of the CPU is adjusted to original operating state, The working condition of the acquiescence when original operating state includes the system start-up, or adjust the work pre-set to user Make state.
14. devices according to claim 12, it is characterised in that the CPU includes multiple cores, the CPU regulon Module, including:
Hard core control submodule, is configured to adjust the core amounts in running status of the CPU to n core, the n Individual core is all cores of the CPU, or part core that the n core is the CPU and n is described more than before adjustment The core amounts in running status of CPU;And/or,
Dominant frequency adjusts submodule, is configured to adjust the dominant frequency of some or all cores of the CPU to target dominant frequency, described Current dominant frequency of the target dominant frequency more than some or all cores.
15. devices according to claim 14, it is characterised in that the dominant frequency adjusts submodule and is configured to:
The mode of operation of some or all cores of the CPU is adjusted to mode of operation corresponding with institute target dominant frequency so that The dominant frequency of some or all cores is changed into the target dominant frequency.
16. devices according to claim 12, it is characterised in that the CPU includes single core, the CPU regulon Module is configured to:
The dominant frequency of the core of the CPU is adjusted to target dominant frequency, current dominant frequency of the target dominant frequency more than the core.
17. devices according to claim 16, it is characterised in that the CPU adjusts submodule and is configured to:
The mode of operation of the core of the CPU is adjusted to mode of operation corresponding with institute target dominant frequency so that the core Dominant frequency is changed into the target dominant frequency.
18. devices according to claim 12, it is characterised in that the internal memory clears up submodule, including:
Whether internal memory detection sub-module, be configured to detect the capacity of the free memory in the Installed System Memory less than presetting Amount of free memory threshold value;
Caching release submodule, is configured as detecting the amount of free memory less than the amount of free memory threshold value When, during releasable cache is all discharged to the Installed System Memory;
Internal memory opens submodule, is configured to the Installed System Memory opening to the application installation operation.
19. devices according to claim 13, it is characterised in that the CPU includes multiple cores, the CPU regulon Module, including:
Monitoring submodule is installed, is configured to monitor whether the system completes all application installation operations;
Configuration acquisition submodule, when being configured as monitoring that the system completes all application installation operations, obtains the CPU Initial dominant frequency and incipient nucleus calculation, the dominant frequency of acquiescence when the initial dominant frequency is the system start-up or user set in advance The dominant frequency that puts, the core that the core amounts of the acquiescence when incipient nucleus calculation includes the system start-up or user pre-set Calculation amount;
Hard core control submodule, is configured to adjust the core amounts in running status of the CPU to the initial cores Number;
Dominant frequency adjusts submodule, is configured to adjust the dominant frequency of all cores in running status of the CPU to described Initial dominant frequency.
20. devices according to claim 13, it is characterised in that the CPU includes single core, the CPU regulon Module, including:
Monitoring submodule is installed, is configured to monitor whether the system completes all application installation operations;
Configuration acquisition submodule, when being configured as monitoring that the system completes all application installation operations, obtains the CPU Initial dominant frequency, the dominant frequency that the dominant frequency of acquiescence when the initial dominant frequency is the system start-up or user pre-set;
Dominant frequency adjusts submodule, is configured to adjust the dominant frequency of the core of the CPU to the initial dominant frequency.
21. a kind of devices for installing application, it is characterised in that described device includes:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
Whether application installation operation is had in monitoring system;
When monitoring to have application installation operation to occur in the system, it is that the application installation operation carries out system resource adjustment Operation, so that the system resource that the application installation operation can be utilized was more than before the system resource adjustment operation is carried out The system resource that can be utilized.
CN201610931232.8A 2016-10-31 2016-10-31 Using installation method and device Active CN106502740B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610931232.8A CN106502740B (en) 2016-10-31 2016-10-31 Using installation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610931232.8A CN106502740B (en) 2016-10-31 2016-10-31 Using installation method and device

Publications (2)

Publication Number Publication Date
CN106502740A true CN106502740A (en) 2017-03-15
CN106502740B CN106502740B (en) 2019-08-06

Family

ID=58319584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610931232.8A Active CN106502740B (en) 2016-10-31 2016-10-31 Using installation method and device

Country Status (1)

Country Link
CN (1) CN106502740B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107038074A (en) * 2017-04-14 2017-08-11 努比亚技术有限公司 Internal memory optimization device and method based on associating policy
CN107861730A (en) * 2017-10-27 2018-03-30 维沃移动通信有限公司 The processing method and mobile terminal of a kind of application program
CN113885870A (en) * 2021-08-27 2022-01-04 荣耀终端有限公司 Application program updating method, electronic equipment, terminal equipment and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106117A (en) * 2012-12-25 2013-05-15 青岛海信电器股份有限公司 Resource allocation method and electronic equipment
CN103500114A (en) * 2013-10-12 2014-01-08 北京奇虎科技有限公司 Method and device for installing application program
CN104834569A (en) * 2015-05-11 2015-08-12 北京京东尚科信息技术有限公司 Cluster resource scheduling method and cluster resource scheduling system based on application types
CN105701025A (en) * 2015-12-31 2016-06-22 华为技术有限公司 Memory recovery method and device
CN105975302A (en) * 2016-05-03 2016-09-28 深圳市金立通信设备有限公司 Application installation method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106117A (en) * 2012-12-25 2013-05-15 青岛海信电器股份有限公司 Resource allocation method and electronic equipment
CN103500114A (en) * 2013-10-12 2014-01-08 北京奇虎科技有限公司 Method and device for installing application program
CN104834569A (en) * 2015-05-11 2015-08-12 北京京东尚科信息技术有限公司 Cluster resource scheduling method and cluster resource scheduling system based on application types
CN105701025A (en) * 2015-12-31 2016-06-22 华为技术有限公司 Memory recovery method and device
CN105975302A (en) * 2016-05-03 2016-09-28 深圳市金立通信设备有限公司 Application installation method and terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107038074A (en) * 2017-04-14 2017-08-11 努比亚技术有限公司 Internal memory optimization device and method based on associating policy
CN107861730A (en) * 2017-10-27 2018-03-30 维沃移动通信有限公司 The processing method and mobile terminal of a kind of application program
CN107861730B (en) * 2017-10-27 2020-10-30 维沃移动通信有限公司 Application processing method and mobile terminal
CN113885870A (en) * 2021-08-27 2022-01-04 荣耀终端有限公司 Application program updating method, electronic equipment, terminal equipment and system
CN113885870B (en) * 2021-08-27 2022-09-20 荣耀终端有限公司 Application program updating method, electronic equipment, terminal equipment and system

Also Published As

Publication number Publication date
CN106502740B (en) 2019-08-06

Similar Documents

Publication Publication Date Title
EP3096224B1 (en) Method and apparatus for processing application installation package
CN104156236A (en) Storage space saving method and device
CN105955765A (en) Method and device for application preloading
CN104050035A (en) Processing method and device for application program
CN105677460A (en) Application processing method and apparatus
CN104950775A (en) Circuit, method and device for waking up main MCU (micro control unit)
CN105068848B (en) Method for upgrading system and device
CN108108683B (en) Touch response method, mobile terminal and storage medium
CN103916468B (en) Method for upgrading system, terminal, server and upgrade-system
CN105528055A (en) Running object processing method and device
CN104539009A (en) Charging management method and device
CN105512545A (en) Access authority management method and device
CN105607900A (en) Display object processing method and apparatus
CN104281478A (en) Method and device for updating application programs
CN104811821B (en) The method and device of screen frame per second is painted in adjustment
CN104809744A (en) Method and device for processing pictures
CN103914337A (en) Service calling method, device and terminal
CN106502740A (en) Application installation method and device
CN105930213A (en) Application running method and apparatus
CN107515749A (en) Starting-up method, device and the electronic equipment of electronic equipment
CN105808305A (en) Static resource loading method and device
CN103944991A (en) Method and device for controlling data synchronization
CN104317647A (en) Application function realizing method, device and terminal
CN109446796A (en) Application control method and device, mobile terminal and storage medium
CN104714826A (en) Application theme loading method and device

Legal Events

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