CN106980525A - Using startup method, device and mobile terminal - Google Patents
Using startup method, device and mobile terminal Download PDFInfo
- Publication number
- CN106980525A CN106980525A CN201710278641.7A CN201710278641A CN106980525A CN 106980525 A CN106980525 A CN 106980525A CN 201710278641 A CN201710278641 A CN 201710278641A CN 106980525 A CN106980525 A CN 106980525A
- Authority
- CN
- China
- Prior art keywords
- application
- internal memory
- memory
- terminal
- starts
- 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.)
- Pending
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)
- Stored Programmes (AREA)
Abstract
Start method, device and mobile terminal the invention provides one kind application, wherein, using method is started, it is applied to install the terminal applied more, including:According to the mounted history run state respectively applied in the terminal, internal memory maximum required when each application starts is pre-seted;When any application has been adjusted, internal memory maximum required when the application starts is obtained;If the terminal current residual memory value is more than or equal to internal memory maximum required when the application starts, internal memory maximum identical internal memory required during with starting equal to the application is dispatched out from the free memory;The application is assigned by the internal memory dispatched out, starts and runs for the application.Can be while application starts using the present invention, system is optimized according to the application peak value of statistics, also, the peak memory needed for terminal residual internal memory is more than or equal to application operation can also be provided for application, so as to realize the smooth operation of application, Consumer's Experience is lifted.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of application starts method, device and mobile terminal.
Background technology
With the development of computer technology, the use of various electronic equipments (such as mobile terminal, tablet device) is increasingly
Extensively, it has turned into an indispensable part in people's life.In order to meet the diversity of user's request, many sides are occurred in that
Just the application that user uses, such as instant messaging application, game application.But, when user is when using applying, often due to
Installed System Memory is not enough or other problemses cause, using there is interim card, to influence Consumer's Experience.
In the prior art, user can take the mode set manually to optimize system or application, to meet user
Smoothness uses the demand applied.But, this method be only after using startup, can be with when there is the situation of low memory
System is optimized by setting manually.Now, have there is Caton phenomenon in system or application, it is impossible to normal operation, seriously
Influence Consumer's Experience.
Therefore, need badly now it is a kind of can be to system before the situation that system or application occur interim card because of low memory
The method for carrying out Automatic Optimal.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on
State application startup method, device and the corresponding mobile terminal of problem.
One side according to the embodiment of the present invention applies startup method there is provided one kind, is applied to install and more should
Terminal, including:
According to the mounted history run state respectively applied in the terminal, pre-set required interior when each application starts
Deposit maximum;
When any application has been adjusted, internal memory maximum required when the application starts is obtained;
If the terminal current residual memory value is more than or equal to internal memory maximum required when the application starts, remained from described
Internal memory maximum identical internal memory required during with starting equal to the application is dispatched out in remaining internal memory;
The application is assigned by the internal memory dispatched out, starts and runs for the application.
Alternatively, when the application adjusted is in running status, because internal memory of the running status shared by it of the application is moved
State changes.
Alternatively, when the application adjusted is in running status, methods described also includes:
Detect memory value shared during the application currently operation;
It is required when the application is started if the memory value detected is more than internal memory maximum required when the application starts
Internal memory maximum is updated to the memory value detected, and the foundation of Memory Allocation is used as when the application starts for next time.
Alternatively, memory value shared during the detection application operation, including:In the running of the application,
Periodically or non-periodically detect memory value shared during application operation.
Alternatively, it is described if the terminal current residual memory value is less than internal memory maximum required when the application starts
Method also includes:
To the terminal, other have run performs cleaning operation using shared internal memory, discharges the internal memory cleaned out, directly
It is more than or equal to internal memory maximum required when the application starts to the free memory, is carried out to assign internal memory for the application
Start.
Alternatively, to the terminal, other have run and have performed cleaning operation using shared internal memory, including:
The terminal other run application in filter out the multiple applications that can close;
At least one application is selected in the multiple applications filtered out, wherein, selection standard is:At least one selected
The internal memory that individual application discharges after being closed is more than internal memory maximum required when this application adjusted starts;
Close at least one application selected.
Alternatively, by least one following screening strategy the terminal other run application in screened:
The application can be closed during using for non-foreground application;
Using the application can not be closed when being applied for white list;
Using the application can be closed when being applied for blacklist;
The application can not be closed during using for not closable important process;
Using uploading or the application can not be closed during downloading data;
The application can not be closed using when being applied for terminal liveness highest top n.
Alternatively, the important process includes:
Possesses the process of still untreated notification message;
Carrying out the player process of content broadcasting, including audio and/or video.
According to the other side of the embodiment of the present invention, one kind application starter is additionally provided, is applied to install
The terminal applied more, including:
Module is pre-seted, respectively should suitable for according to the mounted history run state respectively applied in the terminal, pre-seting
With internal memory maximum required when starting;
Acquisition module, suitable for when any application has been adjusted, obtaining internal memory maximum required when the application starts;
Scheduler module, if being more than or equal to internal memory required when the application starts most suitable for the terminal current residual memory value
Big value, dispatches out internal memory maximum identical internal memory required during with starting equal to the application from the free memory;And,
The application is assigned by the internal memory dispatched out, starts and runs for the application.
Alternatively, when the application adjusted is in running status, because internal memory of the running status shared by it of the application is moved
State changes.
Alternatively, described device also includes:
Detection module, when the application suitable for having been adjusted is in running status, detects shared during the application currently operation
Memory value;
Update module, should by this if the memory value suitable for detecting is more than internal memory maximum required when the application starts
The memory value detected is updated to internal memory maximum required when starting, as internal memory point when the application starts for next time
The foundation matched somebody with somebody.
Alternatively, the detection module is further adapted for:In the running of the application, the application is periodically or non-periodically detected
Shared memory value during operation.
Alternatively, described device also includes:
Cleaning modul, if it is maximum to be less than internal memory required when the application starts suitable for the terminal current residual memory value
Value, to the terminal, other have run performs cleaning operation using shared internal memory, the internal memory cleaned out is discharged, until described
Free memory is more than or equal to internal memory maximum required when the application starts, and is started to assign internal memory for the application.
Alternatively, the cleaning modul is further adapted for:
The terminal other run application in filter out the multiple applications that can close;
At least one application is selected in the multiple applications filtered out, wherein, selection standard is:At least one selected
The internal memory that individual application discharges after being closed is more than internal memory maximum required when this application adjusted starts;
Close at least one application selected.
Alternatively, the cleaning modul has run application by least one following screening strategy in other of the terminal
It is middle to be screened:
The application can be closed during using for non-foreground application;
Using the application can not be closed when being applied for white list;
Using the application can be closed when being applied for blacklist;
The application can not be closed during using for not closable important process;
Using uploading or the application can not be closed during downloading data;
The application can not be closed using when being applied for terminal liveness highest top n.
Alternatively, the important process includes:
Possesses the process of still untreated notification message;
Carrying out the player process of content broadcasting, including audio and/or video.
According to the other side of the embodiment of the present invention, a kind of computer program, including computer-readable generation are additionally provided
Code, when the computer-readable code is run on the computing device, causes the application described in the computing device to start
Method.
According to the other side of the embodiment of the present invention, a kind of computer-readable medium is additionally provided, wherein storing institute
The computer program stated.
There is provided a kind of mobile terminal, including processor and memory for the other side of the foundation embodiment of the present invention:
The memory is used for the program for performing any of the above-described application startup method,
The processor is configurable for performing the program stored in the memory.
The embodiment of the present invention, in order to solve in the prior art only after using starting, in system or application appearance
The problem of it being optimized during Caton phenomenon, and then have a strong impact on Consumer's Experience, it is proposed that a kind of new application
Startup method.First, in the terminal that can install multiple applications, it can be transported according to the mounted history respectively applied in terminal
Row state, pre-sets internal memory maximum required when each application starts.The internal memory maximum pre-seted, is that follow-up scheduling is suitable
Internal memory start so that application is normal, operation provides necessary basis.When any application has been adjusted, the application can be obtained
Required internal memory maximum during startup.Further, according to embodiments of the present invention, terminal current residual memory value can be examined
Survey, if detecting, terminal current residual memory value is more than or equal to internal memory maximum required when the application starts, and shows current end
End is enough to provide suitable internal memory for the normal startup of the application.And then, dispatch out and be somebody's turn to do with being equal to from the terminal residual internal memory
Using internal memory maximum identical internal memory required when starting.Then, the application is assigned by the internal memory dispatched out, for the application
It is normal to start and run.It follows that the startup method of the application provided using the embodiment of the present invention, can be according in terminal
The history run state for each application installed, pre-sets internal memory maximum required when each application starts.Further, user is worked as
, can be while application start when starting a certain application, the peak value of required internal memory is to being when being started according to the application of statistics
System is optimized.And then, in terminal residual internal memory, the peak memory needed for when being more than or equal to its operation is provided for the application,
There is the purpose of Caton phenomenon to reach timely cleaning internal memory, avoid applying in running, so as to realize the smooth fortune of application
OK, Consumer's Experience is lifted.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
According to the accompanying drawings to the detailed description of the specific embodiment of the invention, those skilled in the art will be brighter
Above-mentioned and other purposes, the advantages and features of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit is common for this area
Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 is the process chart that application according to an embodiment of the invention starts method;
Fig. 2 is the particular flow sheet that application according to an embodiment of the invention starts method;
Fig. 3 is internal memory cleaning logical flow chart according to an embodiment of the invention;
Fig. 4 is the first schematic block diagram of application starter according to an embodiment of the invention;
Fig. 5 is second of schematic block diagram of application starter according to an embodiment of the invention;
Fig. 6 is the third schematic block diagram of application starter according to an embodiment of the invention;
Fig. 7 is the structural representation of mobile terminal according to an embodiment of the invention;
Fig. 8 is the computing device according to an embodiment of the invention for being used to perform application according to the present invention startup method
Block diagram;And
Fig. 9 is according to an embodiment of the invention to be used to keep or carry and realize application according to the present invention startup side
The memory cell of the program code of method.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
In order to solve the above technical problems, the embodiment of the present invention has supplied a kind of application startup method.Fig. 1 is according to the present invention one
The process chart of the application startup method of individual embodiment.As shown in figure 1, at least including step S102 using startup method to step
Rapid S108:
Step S102, according to the mounted history run state respectively applied in terminal, pre-set each application and start when institute
The internal memory maximum needed;
Step S104, when any application has been adjusted, required internal memory maximum when obtaining application startup;
If step S106, terminal current residual memory value are more than or equal to internal memory maximum required when the application starts, from
Internal memory maximum identical internal memory required during with starting equal to the application is dispatched out in free memory;
Step S108, by the internal memory dispatched out the application is assigned, start and run for the application.
The embodiment of the present invention, in order to solve in the prior art only after using starting, in system or application appearance
The problem of it being optimized during Caton phenomenon, and then have a strong impact on Consumer's Experience, it is proposed that a kind of new application
Startup method.First, in the terminal that can install multiple applications, it can be transported according to the mounted history respectively applied in terminal
Row state, pre-sets internal memory maximum required when each application starts.Specifically, each application is pre-seted in terminal and starts when institute
Need internal memory maximum when, can have it is a variety of pre-set mode, such as can according to big data count then by system issue into
Row system is set automatically, can also carry out self-defined setting etc. manually according to user, mode is pre-seted above and is only enumerated, this hair
Bright embodiment is not specifically limited to this.The internal memory maximum pre-seted, is subsequently to dispatch suitable internal memory for using just
Often start, operation provides necessary basis.When any application has been adjusted, internal memory required when the application starts can be obtained
Maximum.Further, according to embodiments of the present invention, terminal current residual memory value can be detected, if detecting terminal
Current residual memory value is more than or equal to internal memory maximum required when the application starts, and shows that present terminal is enough as the application
Normal start provides suitable internal memory.And then, it is required when being dispatched out from the terminal residual internal memory with starting equal to the application
Internal memory maximum identical internal memory.Then, the application is assigned by the internal memory dispatched out, starts and run so that the application is normal.
It follows that the startup method of the application provided using the embodiment of the present invention, can be according to each application installed in terminal
History run state, pre-sets internal memory maximum required when each application starts.Further, when user starts a certain application
When, can be while application starts, the peak value of required internal memory is optimized to system when being started according to the application of statistics.Enter
And, in terminal residual internal memory, the peak memory needed for when being more than or equal to its operation is provided for the application, to reach timely cleaning
Internal memory, avoid applying in running and the purpose of Caton phenomenon occur, so as to realize the smooth operation of application, lift user's body
Test.
Specifically, the terminal referred in above step S102, can install multiple applications, according to provided by the present invention thereon
Method, can be according to the mounted history run state respectively applied in terminal, when pre-seting in the terminal each application and starting
Required internal memory maximum.When setting each application and starting after required internal memory maximum, step S104 is performed, is answered when any
During with having been adjusted, internal memory maximum required when the application starts is obtained.
Correspondingly, when any application has been adjusted, the application is i.e. in running status, now, and this applies shared interior
Deposit and be just no longer maintained certain value, its meeting dynamic change with the running status of the application.In embodiments of the present invention, in order to
This is obtained in real time using shared internal memory, and memory value shared during the application currently operation can be detected first.In reality
In, memory value shared during application operation can be periodically or non-periodically detected in the running of the application.
Further, detection application operation when shared internal memory during, can first against user usage scenario
Peak value statistics is carried out to application running memory.And then, internal memory maximum set in advance can be applied to this according to statistical result
Parameter is adjusted.Specifically, if the memory value detected is more than internal memory maximum required when the application starts, application is shown
The internal memory bigger than default internal memory maximum is needed in the process of running for the normal operation of application.Now, according to of the invention real
Example is applied, required internal memory maximum is updated to this memory value detected when can the application be started, original to replace
Internal memory peak value.And then, the memory value that this is detected is as peak value, to ensure that peak value is in known maximum occupancy all the time
Value is deposited, and as the foundation of Memory Allocation when next time, application started.
After step S104 execution terminates, get using internal memory peak value required when starting, then, perform step
S106, is detected to terminal current residual memory value.If terminal current residual memory value, which is more than or equal to the application, starts when institute
The internal memory maximum needed, shows that present terminal is enough to provide corresponding internal memory for the normal startup and operation of the application.And then, root
According to the method for the present invention, internal memory maximum phase required during with starting equal to the application can be dispatched out from terminal residual internal memory
Same internal memory, starts and runs so that the application is normal.If terminal current residual memory value is less than required when the application starts
During internal memory maximum, the startup and operation of application can be severely impacted, and easily occur normally starting because of low memory
Using etc. situation.
Further, in order that must apply can normally start and smooth operation, the method provided according to the present invention, in detection
When being less than required internal memory maximum when the application starts to terminal current residual memory value, terminal can be run other
Cleaning operation is performed using shared internal memory.Specifically, can terminal other run application in filter out and can close
The multiple applications closed.In embodiments of the present invention, to terminal other run using screen when, screening strategy can be wrapped
Include:The application can be closed during using for non-foreground application;Using the application can not be closed when being applied for white list;Using for
Blacklist can close the application when applying;The application can not be closed during using for not closable important process;Using just
The application can not be closed in upload or downloading data;It can not be closed using when being applied for terminal liveness highest top n
The application is closed, wherein N numerical value can be configured as needed, herein without restriction, etc..
Specifically, when application is foreground application, the application that the application can be currently being operated for user now can be with
To the application without cleaning operation.When application is applied for white list, what the application can pre-set for user is being carried out
When internal memory is cleared up, to its application without cleaning operation.When application is applied for blacklist, show carrying out internal memory cleaning
When, there is the risk being cleaned in the application.Now, whether need to determine whether the application is super blacklist application.Correspondingly,
When application for super blacklist apply when, the application can for user pre-set carry out internal memory cleaning when, it is necessary to it is right
Its application cleared up.When application is not or not super blacklist is applied, then need to determine whether whether the application is common black
List application.When application is applied for common blacklist, what the application can pre-set for user can be according to system operation
The application that condition selecting is cleared up it, such as, when system operation is not smooth, perform cleaning operation, instead to the application
It, when system operation is smooth, it may not be necessary to perform cleaning operation to it.When application is uploaded or during downloading data, show this
, now can be to the application without cleaning operation using running status is currently at.When application is terminal liveness highest
When top n is applied, show that user often starts or run the application on the terminal, now can be to the application without cleaning
Operation.When application is not closable important process, the important process can be to possess entering for still untreated notification message
Journey or the player process for carrying out content broadcasting, including audio and/or video, now can be to the application without cleaning
Operation.
After multiple applications are filtered out according to above-mentioned screening strategy, can be selected in the multiple applications filtered out to
A few application, it is maximum that the internal memory that the application discharges after being closed need to be more than internal memory required when this application adjusted starts
Value.Now, when it is determined that the application meets above-mentioned memory conditions, at least one application selected is closed, to complete once
To terminal, other have run the cleaning operation using shared internal memory.
Further, according to embodiments of the present invention, can repeatedly to terminal, other have run and performed using shared internal memory
Cleaning operation, discharges the internal memory cleaned out, until terminal residual internal memory internal memory required when being more than or equal to this using startup is maximum
Value, to be started to have been adjusted using imparting internal memory.
After step S106 execution terminates, step S108 is performed, the application is assigned by the internal memory dispatched out, so that this should
With startup and operation.
After above-mentioned steps execution terminates, each application in terminal on startup, can be transported according to its respective history
Row state, pre-sets internal memory maximum required when each application starts.And then, when application has been adjusted, the fortune of detection application in real time
Shared memory value during row.When occur in running committed memory be more than pre-set peak value situation when, can use bigger
Committed memory data replace original peak-data, to ensure the known maximum committed memory value of the peak value of renewal all the time.Enter
One step, can carry out cleaning operation, until terminal residual internal memory is big according to the internal memory peak value of the real-time update to the internal memory of terminal
In equal to this using the internal memory maximum needed for running.So as to dispatch out corresponding internal memory from the free memory of terminal
The application is assigned, starts and runs so that it is normal.Method provided in an embodiment of the present invention, can be using root while startup
The smooth operation of application is optimized and realized to system according to related data, Consumer's Experience is lifted.
Fig. 2 is the particular flow sheet that application according to an embodiment of the invention starts method.In the embodiment of the present invention, quilt
The application adjusted is designated as A, and required internal memory maximum is designated as max when normally starting using A, and terminal current residual internal memory is designated as Y,
Shared internal memory is designated as X when currently being run using A.Specifically, referring to Fig. 2, this method at least includes step S201 to step S210:
Step S201, setting internal memory maximum max required when normally starting using A;
Step S202, judge whether startup application A, if so, performing step S203, terminate if it is not, performing;
Step S203, judge whether terminal current residual internal memory Y is more than required internal memory maximum when normally starting using A
Max, if so, step S204 is performed, if it is not, performing step S205;
Step S204, normal start apply A;
Step S205, cleaning internal memory, until terminal current residual internal memory Y is required more than or equal to when normally starting using A
Internal memory maximum max;
Memory value X step S206, periodic detection application A shared when currently running;
Step S207, when judging currently to run using A shared memory value X whether to be more than the application A pre-seted normal
Required internal memory maximum during startup, if so, step S208 is performed, if it is not, performing step S206;
Step S208, internal memory maximum max required when the application A pre-set is normally started are updated to this detection
The memory value X gone out;
Step S209, whether judge using A also in operation, if so, step S206 is performed, if it is not, performing step S210;
Step S210, required internal memory when being set to start next time using A by the max values after renewal.
Further, according to embodiments of the present invention, when carrying out cleaning operation to terminal internal memory, in order to avoid to user's
Experience is impacted, and a series of intelligent decision has been carried out in the internal memory cleaning logic of the embodiment of the present invention.Specifically, Fig. 3
Show the internal memory cleaning logical flow chart of one embodiment of the invention.As shown in figure 3, the method for cleaning at least includes step
S301 to step S315:
Step S301, judge using whether being foreground application, if so, step S302 is performed, if it is not, performing step S303;
Step S302, do not perform cleaning operation;
Step S303, judge using whether be white list application, if so, perform step S302, if it is not, perform step
S304;
Step S304, judge using whether being that super blacklist applies (seeing above), if so, step S305 is performed, if it is not,
Perform step S306;
Step S305, the application is positioned over list for clearance;
Step S306, judge using whether being important process, if so, step S307 is performed, if it is not, performing step S308;
Step S307, judge that SOT state of termination column notifies (Notifaction) whether not for sky, or whether there is music class literary
Part is being played, if so, step S302 is performed, if it is not, performing step S308;
Step S308, judge using whether upload downloading data, if so, perform step S302, if it is not, perform step
S309;
Step S309, judge using whether be the active highest top n application of terminal, if so, perform step S310, if
It is no, perform step S305;
Step S310, judge using whether being that common blacklist applies (seeing above), if so, step S305 is performed, if it is not,
Perform step S302;
Step S311, detection terminal residual internal memory;
Step S312, judge whether terminal residual internal memory is more than or equal to internal memory maximum required when application is normal to be started
Max, terminates if so, performing, if it is not, performing step S313;
Step S313, priority ordering is carried out to current operation process;
Step S314, to calculate required internal memory when top n is more than or equal to that application is normal to be started using total committed memory maximum
Value max;
Step S315, end top n application.
Using the application startup method shown in Fig. 2, or the internal memory method for cleaning shown in Fig. 3, also there is many different answer
Use scene.The startup method for the application that several specific embodiments are provided the embodiment of the present invention is now provided to be explained in detail
State.
Embodiment one
The present embodiment is so that the application adjusted is wechat as an example.In this example, required internal memory is maximum when wechat normally starts
It is worth for 15M, saves as 30M in user mobile phone current residual, saves as 20M in wechat is shared in the process of running.
The startup method of application according to embodiments of the present invention, first, according to the history run for the wechat installed on mobile phone
State, required internal memory maximum is 15M when pre-setting out its normal startup.That is, now when mobile phone EMS memory is more than or equal to 15M
When, wechat just can normally start.Further, when wechat has been adjusted, internal memory maximum required during its startup is obtained.Then,
When normally being started by the wechat got based on required internal memory maximum 15M, to the memory value of user mobile phone current residual
Detected.Now, user mobile phone current residual memory value is detected for 30M, shows that current phone enables to wechat normal
Start.And then, 15M internal memories are dispatched out from the remaining 30M internal memories of user mobile phone and assign wechat, so that wechat normally starts and transported
OK.
In addition, when being in running status after wechat startup, can also detect in real time shared when wechat is currently run
Memory value.20M is saved as in the present embodiment, in wechat is shared in the process of running, the memory value 20M detected is more than
Required internal memory maximum 15M when wechat normally starts, then when the wechat pre-set is started required internal memory maximum by
15M is updated to the memory value 20M that this is detected.30M is saved as in user mobile phone current residual, it is required when wechat normally starts
Internal memory maximum be 20M when, dispatched out from the remaining 30M internal memories of user mobile phone 20M internal memories assign wechat, for wechat just
Often start and run.
Embodiment two
The embodiment of the present invention is in this example, required when microblogging normally starts so that the application for needing to have been adjusted is microblogging as an example
The internal memory maximum of occupancy is 30M, and user mobile phone current residual memory value is 25M.The application run on user mobile phone is hundred
Video, U.S. face camera, king's honor are spent, and Baidu's video is currently downloading movies, U.S. face camera and king's honor are pre-
Super blacklist application is first set to by user.In this example, mobile phone EMS memory shared by Baidu's video is 200M, shared by U.S. face camera
Mobile phone EMS memory is 20M, and mobile phone EMS memory shared by king's honor is 40M.
In embodiments of the present invention, the memory value of user mobile phone current residual is 25M, starts microblogging to normal, then needs
Mobile phone can provide 30M internal memories, now, and user can not normally start microblogging on the mobile phone.If thinking normally to start microblogging,
In the embodiment of the present invention, the method provided according to Fig. 3 can be sentenced to each application type run in mobile phone first
It is disconnected.
Specifically, the flow according to Fig. 3 to the Baidu's video being currently running on user mobile phone, U.S. face camera,
King's honor these three using being judged., will when it is that super blacklist is applied to judge U.S. face camera and king's honor
U.S. face camera and king's honor are added in list for clearance, and cleaning operation is carried out with the internal memory taken to it.When judging
Baidu's video is just in downloading data, and the method provided according to Fig. 3 does not perform cleaning operation to it, allow its continue into
Row data are downloaded.
Correspondingly, the application of operation on to mobile phone is performed after cleaning operation, can be further to remaining on mobile phone
Internal memory is detected.In this example, after clearing up the U.S. face camera on mobile phone, king's honor, the free memory of mobile phone
For 85M.Now, the free memory 85M of mobile phone is more than internal memory maximum 30M required when microblogging normally starts, and then user is just
Microblogging can normally be started on mobile phone and carry out associative operation.
Result provided in embodiments above is only to enumerate, and application provided in an embodiment of the present invention starts method can
So that in the different application applied to different terminals, above-described embodiment is not limited it.
Therefore, the startup method of the application provided using the embodiment of the present invention, can respectively should according to what is installed in terminal
History run state, pre-sets internal memory maximum required when each application starts.Further, when user starts a certain answer
Used time, can be while application start, the peak value of required internal memory is optimized to system when being started according to the application of statistics.
And then, in terminal residual internal memory, the peak memory needed for when being more than or equal to its operation is provided for the application, it is clear in time to reach
Manage internal memory, avoid, using there is the purpose of Caton phenomenon in running, so as to realize the smooth operation of application, lifting user's body
Test.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of starter of application.Fig. 4 is according to this hair
The first schematic block diagram of the application starter of bright one embodiment.As shown in figure 4, the starter of application is at least wrapped
Include:
Module 410 is pre-seted, suitable for according to the mounted history run state respectively applied in terminal, pre-seting each application
Required internal memory maximum during startup;
Acquisition module 420, is coupled with pre-seting module 410, suitable for when any application has been adjusted, obtaining application startup
Shi Suoxu internal memory maximum;
Scheduler module 430, is coupled with acquisition module 420, if being more than or equal to the application suitable for terminal current residual memory value
Required internal memory maximum during startup, dispatches out internal memory maximum phase required during with starting equal to the application from free memory
Same internal memory;And, the application is assigned by the internal memory dispatched out, starts and runs for the application.
In a preferred embodiment, the application adjusted be in running status when, because the application running status its
Shared internal memory dynamic change.
In a preferred embodiment, as shown in figure 5, also including using starter:
Detection module 440, is coupled with scheduler module 430, when the application suitable for having been adjusted is in running status, and detection should be answered
Shared memory value during with current operation;
Update module 450, is coupled with detection module 440, if the memory value suitable for detecting, which is more than the application, starts when institute
The internal memory maximum needed, required internal memory maximum is updated to the memory value detected when the application is started, and should be answered for next time
With foundation when starting as Memory Allocation.
In a preferred embodiment, detection module 440 is further adapted for:In the running of the application, periodically or not
Shared memory value during the periodic detection application operation.
In a preferred embodiment, as shown in fig. 6, also including using starter:
Cleaning modul 460, is coupled with update module 450, is started if being less than the application suitable for terminal current residual memory value
Shi Suoxu internal memory maximum, to terminal, other have run performs cleaning operation using shared internal memory, what release was cleaned out
Internal memory, until free memory is more than or equal to internal memory maximum required when the application starts, is carried out to assign internal memory for application
Start.
In a preferred embodiment, cleaning modul 460 is further adapted for:
Terminal other run application in filter out the multiple applications that can close;
At least one application is selected in the multiple applications filtered out, wherein, selection standard is:At least one selected
The internal memory that individual application discharges after being closed is more than internal memory maximum required when this application adjusted starts;
Close at least one application selected.
In a preferred embodiment, cleaning modul 460 by least one following screening strategy terminal other
Run in application and screened:
The application can be closed during using for non-foreground application;
Using the application can not be closed when being applied for white list;
Using the application can be closed when being applied for blacklist;
The application can not be closed during using for not closable important process;
Using uploading or the application can not be closed during downloading data;
The application can not be closed using when being applied for terminal liveness highest top n.
In a preferred embodiment, important process includes:
Possesses the process of still untreated notification message;
Carrying out the player process of content broadcasting, including audio and/or video.
In addition, the embodiment of the present invention additionally provides a kind of mobile terminal, as shown in fig. 7, comprises processor 780 and memory
720:
Memory 720 is used to store any one above-mentioned preferred embodiment of execution or it combines provided application and started
The program of method,
Processor 780 is configurable for performing the program stored in memory 720.
For convenience of description, Fig. 7 illustrate only the part related to the embodiment of the present invention, and particular technique details is not disclosed
, it refer to present invention method part.The mobile terminal can include mobile phone, tablet personal computer, PDA (Personal
Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), vehicle-mounted computer etc. it is any eventually
End equipment, so that terminal is mobile phone as an example:
Fig. 7 is illustrated that the block diagram of the part-structure of the mobile phone related to mobile terminal provided in an embodiment of the present invention.Ginseng
Fig. 7 is examined, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 710, memory 720, input block 730, display unit
740th, sensor 750, voicefrequency circuit 760, Wireless Fidelity (wireless fidelity, WiFi) module 770, processor 780,
And the grade part of power supply 790.It will be understood by those skilled in the art that the handset structure shown in Fig. 7 is not constituted to mobile phone
Limit, can include than illustrating more or less parts, either combine some parts or different parts arrangement.
Each component parts of mobile phone is specifically introduced with reference to Fig. 7:
RF circuits 710 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station
After downlink information is received, handled to processor 780;In addition, being sent to base station by up data are designed.Generally, RF circuits 710
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise
Amplifier, LNA), duplexer etc..In addition, RF circuits 710 can also be communicated by radio communication with network and other equipment.
Above-mentioned radio communication can use any communication standard or agreement, including but not limited to global system for mobile communications (Global
System of Mobile communication, GSM), general packet radio service (General Packet Radio
Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA
(Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution,
LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 720 can be used for storage software program and module, and processor 780 is stored in memory 720 by operation
Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 720 can mainly include
Storing program area and storage data field, wherein, the application journey that storing program area can be needed for storage program area, at least one function
Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored uses what is created according to mobile phone
Data (such as voice data, phone directory etc.) etc..In addition, memory 720 can include high-speed random access memory, can be with
Including nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-states
Part.
Input block 730 can be used for the numeral or character information for receiving input, and produce with the user of mobile phone set with
And the relevant key signals input of function control.Specifically, input block 730 may include that contact panel 731 and other inputs are set
Standby 732.Contact panel 731, also referred to as touch-screen, collecting touch operation of the user on or near it, (such as user uses
The operation of any suitable object such as finger, stylus or annex on contact panel 731 or near contact panel 731), and root
Corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 731 may include touch detecting apparatus and touch
Two parts of controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation is brought,
Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching
Point coordinates, then give processor 780, and the order sent of reception processing device 780 and can be performed.Furthermore, it is possible to using electricity
The polytypes such as resistive, condenser type, infrared ray and surface acoustic wave realize contact panel 731.Except contact panel 731, input
Unit 730 can also include other input equipments 732.Specifically, other input equipments 732 can include but is not limited to secondary or physical bond
One or more in disk, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 740 can be used for the various of the information that is inputted by user of display or the information for being supplied to user and mobile phone
Menu.Display unit 740 may include display panel 741, optionally, can use liquid crystal display (Liquid Crystal
Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure
Show panel 741.Further, contact panel 731 can cover display panel 741, when contact panel 731 is detected thereon or attached
After near touch operation, processor 780 is sent to determine the type of touch event, with preprocessor 780 according to touch event
Type corresponding visual output is provided on display panel 741.Although in the figure 7, contact panel 731 and display panel 741
It is input and the input function that mobile phone is realized as two independent parts, but in some embodiments it is possible to by touch-control
Panel 731 and the input that is integrated and realizing mobile phone of display panel 741 and output function.
Mobile phone may also include at least one sensor 750, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel 741, proximity transducer can close display panel 741 when mobile phone is moved in one's ear
And/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generally three axles) acceleration
Size, size and the direction of gravity are can detect that when static, available for identification mobile phone posture application (such as horizontal/vertical screen is cut
Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone
The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared ray sensor of configuration, will not be repeated here.
Voicefrequency circuit 760, loudspeaker 761, microphone 762 can provide the COBBAIF between user and mobile phone.Audio-frequency electric
Electric signal after the voice data received conversion can be transferred to loudspeaker 761, sound is converted to by loudspeaker 761 by road 760
Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 762, by voicefrequency circuit 760 receive after turn
It is changed to voice data, then after voice data output processor 780 is handled, through RF circuits 710 to be sent to such as another mobile phone,
Or export voice data to memory 720 so as to further processing.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 770
Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 7 is shown
WiFi module 770, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely
Become in the essential scope of invention and omit.
Processor 780 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to
Cross operation or perform and be stored in software program and/or module in memory 720, and call and be stored in memory 720
Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 780 can be wrapped
Include one or more processing units;It is preferred that, processor 780 can integrated application processor and modem processor, wherein, should
Operating system, user interface and application program etc. are mainly handled with processor, modem processor mainly handles radio communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 780.
Mobile phone also includes the power supply 790 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe
Reason system and processor 780 are logically contiguous, so as to realize management charging, electric discharge and power managed by power-supply management system
Etc. function.
Although not shown, mobile phone can also include camera, bluetooth module etc., will not be repeated here.
Following beneficial effect can be reached by starting method and device using application provided in an embodiment of the present invention:
The embodiment of the present invention, in order to solve in the prior art only after using starting, in system or application appearance
The problem of it being optimized during Caton phenomenon, and then have a strong impact on Consumer's Experience, it is proposed that a kind of new application
Startup method.First, in the terminal that can install multiple applications, it can be transported according to the mounted history respectively applied in terminal
Row state, pre-sets internal memory maximum required when each application starts.The internal memory maximum pre-seted, is that follow-up scheduling is suitable
Internal memory start so that application is normal, operation provides necessary basis.When any application has been adjusted, the application can be obtained
Required internal memory maximum during startup.Further, according to embodiments of the present invention, terminal current residual memory value can be examined
Survey, if detecting, terminal current residual memory value is more than or equal to internal memory maximum required when the application starts, and shows current end
End is enough to provide suitable internal memory for the normal startup of the application.And then, dispatch out and be somebody's turn to do with being equal to from the terminal residual internal memory
Using internal memory maximum identical internal memory required when starting.Then, the application is assigned by the internal memory dispatched out, for the application
It is normal to start and run.It follows that the startup method of the application provided using the embodiment of the present invention, can be according in terminal
The history run state for each application installed, pre-sets internal memory maximum required when each application starts.Further, user is worked as
, can be while application start when starting a certain application, the peak value of required internal memory is to being when being started according to the application of statistics
System is optimized.And then, in terminal residual internal memory, the peak memory needed for when being more than or equal to its operation is provided for the application,
There is the purpose of Caton phenomenon to reach timely cleaning internal memory, avoid applying in running, so as to realize the smooth fortune of application
OK, Consumer's Experience is lifted.
In the specification that this place is provided, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, exist
Above in the description of the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect
The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself
All as the separate embodiments of the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit is required, summary and accompanying drawing) disclosed in each feature can or similar purpose identical, equivalent by offer alternative features come generation
Replace.
Although in addition, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of be the same as Example does not mean in of the invention
Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any
Mode it can use in any combination.
The present invention all parts embodiment can be realized with hardware, or with one or more processor run
Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that can use in practice
Microprocessor or digital signal processor (DSP) realize the function of application starter according to embodiments of the present invention.This
Invention is also implemented as some or all equipment or program of device (example for performing method as described herein
Such as, computer program and computer program product).Such program for realizing the present invention can be stored in computer-readable medium
On, or can have the form of one or more signal.Such signal can be downloaded from internet website and obtained, or
Person provides on carrier signal, or is provided in any other form.
For example, Fig. 8, which is shown, can realize that application according to the present invention starts the computing device of method.The computing device is passed
Include processor 810 and the computer program product or computer-readable medium in the form of memory 820 on system.Memory
820 can be the electricity of such as flash memory, EEPROM (Electrically Erasable Read Only Memory), EPROM, hard disk or ROM etc
Quantum memory.Memory 820 has the memory space for the program code 831 for being used to perform any method and step in the above method
830.For example, the memory space 830 for program code can include being respectively used to realize the various steps in above method
Each program code 831.These program codes can read or write from one or more computer program product
Into this one or more computer program product.These computer program products include such as hard disk, compact-disc (CD), deposit
The program code carrier of card storage or floppy disk etc.Such computer program product is usually as with reference to portable shown in Fig. 9
Formula or static memory cell.The memory cell can have deposits with the similar arrangement of memory 820 in Fig. 8 computing device
Store up section, memory space etc..Program code for example can be compressed in a suitable form.Generally, memory cell is above-mentioned including performing
The computer-readable code 831 ' of any method and step in method, you can be read by such as such as 810 etc processor
Code, these codes cause each in the computing device method described above when being run by computing device
Step.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of some different elements and coming real by means of properly programmed computer
It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
So far, although those skilled in the art will appreciate that detailed herein have shown and described multiple showing for the present invention
Example property embodiment, still, still can be direct according to present disclosure without departing from the spirit and scope of the present invention
It is determined that or deriving many other variations or modifications for meeting the principle of the invention.Therefore, the scope of the present invention is understood that and recognized
It is set to and covers other all these variations or modifications.
Based on one aspect of the present invention, A1, a kind of application startup method are additionally provided, it is characterised in that applied to energy
Enough terminals for installing many applications, including
According to the mounted history run state respectively applied in the terminal, pre-set required interior when each application starts
Deposit maximum;
When any application has been adjusted, internal memory maximum required when the application starts is obtained;
If the terminal current residual memory value is more than or equal to internal memory maximum required when the application starts, remained from described
Internal memory maximum identical internal memory required during with starting equal to the application is dispatched out in remaining internal memory;
The application is assigned by the internal memory dispatched out, starts and runs for the application.
A2, the method according to A1, wherein, when the application adjusted is in running status, because of the operation shape of the application
Internal memory dynamic change of the state shared by it.
A3, the method according to A1 or A2, wherein, when the application adjusted is in running status, methods described is also wrapped
Include:
Detect memory value shared during the application currently operation;
It is required when the application is started if the memory value detected is more than internal memory maximum required when the application starts
Internal memory maximum is updated to the memory value detected, and the foundation of Memory Allocation is used as when the application starts for next time.
A4, the method according to A3, wherein, shared memory value during the detection application operation, including:At this
In the running of application, memory value shared during application operation is periodically or non-periodically detected.
A5, the method according to any one of A1-A4, wherein, if the terminal current residual memory value is less than the application
Required internal memory maximum during startup, methods described also includes:
To the terminal, other have run performs cleaning operation using shared internal memory, discharges the internal memory cleaned out, directly
It is more than or equal to internal memory maximum required when the application starts to the free memory, is carried out to assign internal memory for the application
Start.
A6, the method according to A5, wherein, to the terminal, other have run performs cleaning using shared internal memory
Operation, including:
The terminal other run application in filter out the multiple applications that can close;
At least one application is selected in the multiple applications filtered out, wherein, selection standard is:At least one selected
The internal memory that individual application discharges after being closed is more than internal memory maximum required when this application adjusted starts;
Close at least one application selected.
A7, the method according to A6, wherein, transported by least one following screening strategy in other of the terminal
Screened in row application:
The application can be closed during using for non-foreground application;
Using the application can not be closed when being applied for white list;
Using the application can be closed when being applied for blacklist;
The application can not be closed during using for not closable important process;
Using uploading or the application can not be closed during downloading data;
The application can not be closed using when being applied for terminal liveness highest top n.
A8, the method according to A7, wherein, the important process includes:
Possesses the process of still untreated notification message;
Carrying out the player process of content broadcasting, including audio and/or video.
Based on another aspect of the present invention, B9, one kind application starter are additionally provided, it is characterised in that be applied to
The terminal applied more can be installed, including
Module is pre-seted, respectively should suitable for according to the mounted history run state respectively applied in the terminal, pre-seting
With internal memory maximum required when starting;
Acquisition module, suitable for when any application has been adjusted, obtaining internal memory maximum required when the application starts;
Scheduler module, if being more than or equal to internal memory required when the application starts most suitable for the terminal current residual memory value
Big value, dispatches out internal memory maximum identical internal memory required during with starting equal to the application from the free memory;And,
The application is assigned by the internal memory dispatched out, starts and runs for the application.
B10, the device according to B9, wherein, when the application adjusted is in running status, because of the operation shape of the application
Internal memory dynamic change of the state shared by it.
B11, the device according to B9 or B10, wherein, described device also includes:
Detection module, when the application suitable for having been adjusted is in running status, detects shared during the application currently operation
Memory value;
Update module, should by this if the memory value suitable for detecting is more than internal memory maximum required when the application starts
The memory value detected is updated to internal memory maximum required when starting, as internal memory point when the application starts for next time
The foundation matched somebody with somebody.
B12, the device according to B11, wherein, the detection module is further adapted for:It is fixed in the running of the application
Phase irregularly detects memory value shared during application operation.
B13, the device according to any one of B9-B12, wherein, described device also includes:
Cleaning modul, if it is maximum to be less than internal memory required when the application starts suitable for the terminal current residual memory value
Value, to the terminal, other have run performs cleaning operation using shared internal memory, the internal memory cleaned out is discharged, until described
Free memory is more than or equal to internal memory maximum required when the application starts, and is started to assign internal memory for the application.
B14, the device according to B13, wherein, the cleaning modul is further adapted for:
The terminal other run application in filter out the multiple applications that can close;
At least one application is selected in the multiple applications filtered out, wherein, selection standard is:At least one selected
The internal memory that individual application discharges after being closed is more than internal memory maximum required when this application adjusted starts;
Close at least one application selected.
B15, the device according to B14, wherein, the cleaning modul is by least one following screening strategy described
Terminal other run application in screened:
The application can be closed during using for non-foreground application;
Using the application can not be closed when being applied for white list;
Using the application can be closed when being applied for blacklist;
The application can not be closed during using for not closable important process;
Using uploading or the application can not be closed during downloading data;
The application can not be closed using when being applied for terminal liveness highest top n.
B16, the device according to B15, wherein, the important process includes:
Possesses the process of still untreated notification message;
Carrying out the player process of content broadcasting, including audio and/or video.
Based on another aspect of the present invention, C17, a kind of computer program, including computer-readable code are additionally provided,
When the computer-readable code is run on the computing device, cause the computing device according to any one of A1-A8
Described application startup method.
Based on another aspect of the present invention, D18, a kind of computer-readable medium are additionally provided, wherein storing such as C17
Described computer program.
Based on another aspect of the present invention, E19, a kind of mobile terminal, including processor and memory are additionally provided:
The memory is used for the program for performing any one of A1-A8 methods,
The processor is configurable for performing the program stored in the memory.
Claims (10)
1. one kind application startup method, it is characterised in that be applied to install the terminal applied more, including
According to the mounted history run state respectively applied in the terminal, internal memory required when each application starts is pre-seted most
Big value;
When any application has been adjusted, internal memory maximum required when the application starts is obtained;
If the terminal current residual memory value is more than or equal to internal memory maximum required when the application starts, out of described residue
Deposit middle dispatch out with being equal to internal memory maximum identical internal memory required when the application starts;
The application is assigned by the internal memory dispatched out, starts and runs for the application.
2. according to the method described in claim 1, wherein, the application adjusted be in running status when, because of the operation of the application
Internal memory dynamic change of the state shared by it.
3. method according to claim 1 or 2, wherein, when the application adjusted is in running status, methods described is also wrapped
Include:
Detect memory value shared during the application currently operation;
If the memory value detected is more than internal memory maximum required when the application starts, required internal memory when the application is started
Maximum is updated to the memory value detected, and the foundation of Memory Allocation is used as when the application starts for next time.
4. method according to claim 3, wherein, shared memory value during the detection application operation, including:
In the running of the application, memory value shared during application operation is periodically or non-periodically detected.
5. the method according to claim any one of 1-4, wherein, if the terminal current residual memory value is less than the application
Required internal memory maximum during startup, methods described also includes:
To the terminal, other have run performs cleaning operation using shared internal memory, the internal memory cleaned out is discharged, until institute
Internal memory maximum required when free memory starts more than or equal to the application is stated, is opened to assign internal memory for the application
It is dynamic.
6. method according to claim 5, wherein, to the terminal, other have run performs clearly using shared internal memory
Reason operation, including:
The terminal other run application in filter out the multiple applications that can close;
At least one application is selected in the multiple applications filtered out, wherein, selection standard is:At least one selected should
The internal memory maximum required when applying startup for being more than that this has been adjusted with the internal memory discharged after being closed;
Close at least one application selected.
7. one kind application starter, it is characterised in that be applied to install the terminal applied more, including
Module is pre-seted, suitable for according to the mounted history run state respectively applied in the terminal, pre-seting each application and opening
Required internal memory maximum when dynamic;
Acquisition module, suitable for when any application has been adjusted, obtaining internal memory maximum required when the application starts;
Scheduler module, if it is maximum to be more than or equal to internal memory required when the application starts suitable for the terminal current residual memory value
Value, dispatches out internal memory maximum identical internal memory required during with starting equal to the application from the free memory;And, will
The internal memory dispatched out assigns the application, starts and runs for the application.
8. a kind of computer program, including computer-readable code, when the computer-readable code is run on the computing device
When, cause application startup method of the computing device according to any one of claim 1-6.
9. a kind of computer-readable medium, wherein storing computer program as claimed in claim 8.
10. a kind of mobile terminal, including processor and memory:
The memory is used for the program that perform claim requires any one of 1-6 method,
The processor is configurable for performing the program stored in the memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710278641.7A CN106980525A (en) | 2017-04-25 | 2017-04-25 | Using startup method, device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710278641.7A CN106980525A (en) | 2017-04-25 | 2017-04-25 | Using startup method, device and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106980525A true CN106980525A (en) | 2017-07-25 |
Family
ID=59344685
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710278641.7A Pending CN106980525A (en) | 2017-04-25 | 2017-04-25 | Using startup method, device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106980525A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111158913A (en) * | 2019-12-30 | 2020-05-15 | 联想(北京)有限公司 | Management method, management device, electronic equipment and storage medium |
CN111756922A (en) * | 2020-06-15 | 2020-10-09 | 北京智明星通科技股份有限公司 | Method and system for running mobile phone game and game terminal |
CN111862617A (en) * | 2020-06-12 | 2020-10-30 | 浙江大华技术股份有限公司 | License plate recognition method, device and system and computer equipment |
CN113641461A (en) * | 2021-10-14 | 2021-11-12 | 云宏信息科技股份有限公司 | Resource allocation method, medium and system for KVM virtualization system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060085787A1 (en) * | 2004-09-15 | 2006-04-20 | Nokia Corporation | Method for providing a rapid response to an application launch request |
CN104536907A (en) * | 2015-01-26 | 2015-04-22 | 联想(北京)有限公司 | Memory cleaning method and electronic equipment |
CN105335099A (en) * | 2015-09-25 | 2016-02-17 | 深圳市金立通信设备有限公司 | Memory cleaning method and terminal |
CN105988823A (en) * | 2015-01-27 | 2016-10-05 | 阿里巴巴集团控股有限公司 | Memory allocation method and system during starting of application in terminal |
CN106293924A (en) * | 2015-05-20 | 2017-01-04 | Tcl集团股份有限公司 | The EMS memory management process of Android system and device |
-
2017
- 2017-04-25 CN CN201710278641.7A patent/CN106980525A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060085787A1 (en) * | 2004-09-15 | 2006-04-20 | Nokia Corporation | Method for providing a rapid response to an application launch request |
CN104536907A (en) * | 2015-01-26 | 2015-04-22 | 联想(北京)有限公司 | Memory cleaning method and electronic equipment |
CN105988823A (en) * | 2015-01-27 | 2016-10-05 | 阿里巴巴集团控股有限公司 | Memory allocation method and system during starting of application in terminal |
CN106293924A (en) * | 2015-05-20 | 2017-01-04 | Tcl集团股份有限公司 | The EMS memory management process of Android system and device |
CN105335099A (en) * | 2015-09-25 | 2016-02-17 | 深圳市金立通信设备有限公司 | Memory cleaning method and terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111158913A (en) * | 2019-12-30 | 2020-05-15 | 联想(北京)有限公司 | Management method, management device, electronic equipment and storage medium |
CN111862617A (en) * | 2020-06-12 | 2020-10-30 | 浙江大华技术股份有限公司 | License plate recognition method, device and system and computer equipment |
CN111756922A (en) * | 2020-06-15 | 2020-10-09 | 北京智明星通科技股份有限公司 | Method and system for running mobile phone game and game terminal |
CN113641461A (en) * | 2021-10-14 | 2021-11-12 | 云宏信息科技股份有限公司 | Resource allocation method, medium and system for KVM virtualization system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105430600B (en) | A kind of data transmission method and the terminal of data transmission | |
CN106980525A (en) | Using startup method, device and mobile terminal | |
CN104243671A (en) | Volume adjustment method and device and electronic device | |
CN106200970B (en) | The method and terminal of a kind of split screen display available | |
CN102929503A (en) | Method and terminal for selecting files | |
CN103346921B (en) | User management method and relevant device and communication system | |
CN107809542A (en) | application control method, device, storage medium and electronic equipment | |
CN108572767A (en) | A kind of method in determining external object orientation, mobile terminal | |
CN106919428A (en) | Clear up method, device and the mobile terminal of mobile terminal internal memory | |
CN107256068A (en) | The acquisition method and Related product of fingerprint | |
CN103368828B (en) | A kind of message temporary storage and system | |
CN105320701A (en) | Method and device for screening function point test implementing ways, and terminal | |
CN106775828A (en) | Application program installation method and device, computer equipment | |
CN107426802A (en) | A kind of terminal management method and device | |
CN102833419A (en) | Method and terminal for controlling screen state | |
CN103415823A (en) | Method and apparatus for controlling CPU | |
CN106506815A (en) | A kind of application enables method and relevant device | |
CN106569916A (en) | Data backup method and mobile terminal | |
CN109040433A (en) | Mobile terminal and the method, apparatus to receive calls | |
CN105550316A (en) | Pushing method and device of audio list | |
CN106648460B (en) | Step counting data filtering method and intelligent terminal | |
CN107168791A (en) | Terminal Memory Optimize Method, device and mobile terminal under bright screen state | |
CN107066090A (en) | The method and mobile terminal of a kind of control fingerprint recognition module | |
CN107357651A (en) | Application acceleration method, apparatus and terminal | |
CN106484288A (en) | A kind of terminal control method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20170719 Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801 Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD. Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park) Applicant before: Beijing Qihu Technology Co., Ltd. |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170725 |