CN106681933A - Memory management method and terminal - Google Patents
Memory management method and terminal Download PDFInfo
- Publication number
- CN106681933A CN106681933A CN201611009626.4A CN201611009626A CN106681933A CN 106681933 A CN106681933 A CN 106681933A CN 201611009626 A CN201611009626 A CN 201611009626A CN 106681933 A CN106681933 A CN 106681933A
- Authority
- CN
- China
- Prior art keywords
- internal memory
- memory
- application
- list
- released
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
- G06F12/0253—Garbage collection, i.e. reclamation of unreferenced memory
-
- 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation 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/5016—Allocation 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 the resource being the memory
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of invention discloses a memory management method and a terminal. The method comprises the steps of if a memory application request is detected, obtaining application memory in the memory application request and current idle memory of the terminal, if the idle memory is smaller than the application memory, obtaining the current running process and generating a process list, based on a preset memory release rule, determining a to-be-released process in the process list, and releasing the memory occupied by the to-be-released process. The embodiment of invention obtains the application memory in the memory application request, when the currently idle memory of the terminal cannot meet the application memory, the current running process is obtained, the process list is generated, based on the preset memory release rule, the to-be-released process in the process list is determined, and the to-be-released process is cleared to meet the application memory, and improve the phenomenon that in the prior art, the Android system memory recovery mechanism is overly time-consuming to cause the application programs to have a lagging problem. The method improves the user's experience.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of EMS memory management process and terminal.
Background technology
Android system, its memory management is, based on the memory management of Linux, in Linux kernel layers LMK (Low to be realized
Memory Killer, Memory recycle mechanism) mechanism, in the state of low internal memory, by kill processes, releasing memory, reach interior
It is stored back to the purpose received.It is simple that this mechanism compares, and mainly has two considerations, and one is to apply to be adjusted in framework layers
The adjustment set when spending, equivalent to the priority of process, this priority value in certain scope, such as
0-15, the value that application is obtained is bigger, and its priority is lower, when LMK is reclaimed, then can first consider that priority is relatively low and enter
Journey.Internal memory water level under different conditions, the different process priority of correspondence.Existing mechanism have the shortcomings that it is following, according to preferential
Level from low to high (15~0) collection process when, low-level processes reclaim internal memory tend not to meet new memory requirements because
It doesn't matter with the size of internal memory for process-level, and the low internal memory for not representing occupancy of rank is just more, so 10 low priorities of recovery
The internal memory that process is brought, may go back many of neither one high-level process release, and lasting kill processes and recovery, this mistake
The time-consuming interim card that may result in application of journey, reduces experience of the user to terminal.
The content of the invention
The embodiment of the present invention provides a kind of EMS memory management process and terminal, is existed with solving existing LMK Memory recycles mechanism
Occur the problems such as taking and cause using interim card when reclaiming internal memory.
In a first aspect, embodiments providing a kind of EMS memory management process, the method includes:
If detect internal memory application request, the application internal memory and terminal current idle in the internal memory application request is obtained
Internal memory;
If the free memory is less than the application internal memory, acquisition is currently running process and generates process list;
Process to be released in the process list is determined according to default internal memory release rule;
Discharge the internal memory shared by the process to be released.
Second aspect, the embodiment of the present invention additionally provides a kind of terminal, and the terminal includes:
Acquiring unit, if for detecting during internal memory application request, obtaining the application internal memory in the internal memory application request
With terminal current idle internal memory;
Signal generating unit is obtained, if being less than the application internal memory for the free memory, acquisition is currently running process and life
Into process list;
Determining unit, for determining process to be released in the process list according to default internal memory release rule;
Releasing unit, for discharging the internal memory shared by the process to be released.
Embodiments of the invention pass through to obtain the application internal memory in internal memory application request, when terminal current idle internal memory can not
When meeting this application internal memory, acquisition is currently running process and generates process list, according to default internal memory release rule determines
Process to be released in process list, removing the process to be released can meet application internal memory, so as to change existing ARIXTRA system
The Memory recycle mechanism of system excessively takes and causes application the phenomenon of interim card occur, and then improves the Experience Degree of user.
Description of the drawings
In order to be illustrated more clearly that embodiment of the present invention technical scheme, below embodiment will be described needed for be used
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, on the premise of not paying creative work, can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is a kind of schematic flow diagram of EMS memory management process provided in an embodiment of the present invention;
Fig. 2 is a kind of another schematic flow diagram of EMS memory management process provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 4 is a kind of another schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of structure composition schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than the embodiment of whole.Based on this
Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
It should be appreciated that when using in this specification and in the appended claims, term " including " and "comprising" are indicated
The presence of described feature, entirety, step, operation, element and/or component, but it is not precluded from one or more of the other feature, whole
The presence or addition of body, step, operation, element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, " one " and " being somebody's turn to do " is intended to include plural form.
Fig. 1 is referred to, Fig. 1 is a kind of schematic flow diagram of EMS memory management process provided in an embodiment of the present invention.The internal memory
Management method may operate in smart mobile phone (such as Android phone, IOS mobile phones), panel computer, electronic reader or intelligence
In the terminals such as wearable device.As shown in figure 1, the step of EMS memory management process includes S101~S104.
If S101, when detecting internal memory application and asking, the application internal memory and terminal obtained in internal memory application request is worked as
Front free memory.
In an embodiment of the present invention, internal memory application request is detected, has specially been detected after application software is opened and has been sent out
Go out to the internal memory application of terminal operating system application running memory and ask.Such as, the camera applications of user's using terminal, opening should
Camera applications are taken pictures, and the camera applications will think the operating system application internal memory of terminal.Please if having detected internal memory application
When asking, then the application internal memory of the internal memory application request is obtained, be the size of this application internal memory.Obtain the terminal operation system simultaneously
The current idle internal memory of system, and judge the free memory whether more than the application internal memory;Or whether judge the free memory
More than a determination memory range of the application internal memory, to guarantee that the application software can be with process flow operation.
If S102, the free memory are less than the application internal memory, acquisition is currently running process and generates process list.
In an embodiment of the present invention, if the free memory is little less than the application internal memory, or the free memory
In the determination memory range of the application internal memory, that triggers further acquisition terminal is currently running process, preferably by screening
The backstage for obtaining terminal is currently running process.Process will be currently running and generate a process list.
Preferably, obtain and be currently running process and generate process list, including:Acquisition is currently running local process and application
Process simultaneously generates process list.Wherein, local process is the native processes of operating system, and application process is application program operation
Corresponding process.Existing Memory recycle mechanism, such as the LMK Memory recycle mechanism of android system, only can take into account to upper
Layer application (i.e. application software) is reclaimed, and the priority of the general upper layer application is 0~15, and to priority -1000~0
Between native processes then not within the scope of recovery.Such Memory recycle mechanism have one it is very big the drawbacks of, if
Native processes occur in that memory overflow (such as Mediaserver correspondence processes, its priority is -1000), using existing
LMK reclaim mechanisms, even if all 0~15 corresponding application process of priority is all recycled, still can cause low memory,
Cause system reboot.
The default internal memory release rule of S103, basis determines process to be released in the process list.
In an embodiment of the present invention, default internal memory release rule is to apply for entering for internal memory and process list according to described
Journey committed memory and the release rule that sets, such as the size of process committed memory, process in view of the process list is accounted for
The factor such as combined with the size and priority of internal memory.Determined according to the default internal memory release rule and wait to release in the process list
Put journey into, wherein, the process to be released can be a process, or multiple processes.The process premise to be released
Can be the demand of the memory size for meeting the application internal memory, by reclaiming these the internal memory of the application internal memory can be met
The process of the demand of size, improves Memory recycle speed.
Preferably, if acquisition is currently running process and generates process list and includes:Acquisition be currently running local process and
Application process simultaneously generates process list, the process to be released in the default internal memory release rule of the basis determines the process list
Before, also include:Judge that the local process whether there is RAM leakage.The judgement local process is let out with the presence or absence of internal memory
Dew, the method that RAM leakage whether there is using existing the judgements native processes of operating system, such as, and by checking tool or
Trace analysises, this instrument carried for operating system, here is not described in detail, while also not limiting.If described
Ground process is the presence of RAM leakage, and the default internal memory release rule of the basis determines process to be released in the process list, tool
Body is:Using the local process as process to be released in the process list.It is possible thereby to avoid when in operating system appearance
The situation of leakage is deposited, also Memory recycle is being carried out using Memory recycle mechanism, now Memory recycle can not meet internal memory need at all
Will.
Internal memory shared by S104, the release process to be released.
In an embodiment of the present invention, the internal memory shared by the process to be released is discharged, specially waits to release described in removing
Put journey into, discharge the internal memory shared by the process to be released, it is described to be released so as to meet the needs of the application internal memory
Process can be a process or multiple processes, or the local process to there is RAM leakage.Discharge the process to be released
Shared internal memory, can quickly meet the needs of application program internal memory, it is to avoid during opening the application program
The Caton phenomenon occurred because waiting Memory recycle, so as to improve using the fluency opened.
Application internal memory in the internal memory application request that above-described embodiment passes through acquisition terminal applies, when in terminal current idle
Deposit when can not meet this application internal memory, acquisition is currently running process and generates process list, according to default internal memory release rule really
Process to be released in the fixed process list, removing the process to be released can meet application internal memory, existing so as to change
The Memory recycle mechanism of Android system there may be and excessively take and cause application the phenomenon of interim card occur, and then improve user
Experience Degree.
Fig. 2 is referred to, Fig. 2 is a kind of another schematic flow diagram of EMS memory management process provided in an embodiment of the present invention.Should
EMS memory management process may operate in smart mobile phone (such as Android phone, IOS mobile phones), panel computer, electronic reader or
In the terminals such as intelligent wearable device.As shown in figure 1, the step of EMS memory management process includes S201~S208.
If S201, when detecting internal memory application and asking, the application internal memory and terminal obtained in internal memory application request is worked as
Front free memory.
In an embodiment of the present invention, internal memory application request is detected, has specially been detected after application software is opened and has been sent out
Go out to the internal memory application of terminal operating system application running memory and ask.Such as, the camera applications of user's using terminal, opening should
Camera applications are taken pictures, and the camera applications will think the operating system application internal memory of terminal.Please if having detected internal memory application
When asking, then the application internal memory of the internal memory application request is obtained, be the size of this application internal memory.Obtain the terminal operation system simultaneously
The current idle internal memory of system, and judge the free memory whether more than the application internal memory;Or whether judge the free memory
More than a determination memory range of the application internal memory, to guarantee that the application software can be with process flow operation.
If S202, the free memory are less than the application internal memory, acquisition is currently running the committed memory of process, according to institute
The size for stating committed memory is ranked up and generates process list to the process that is currently running.
In an embodiment of the present invention, if the free memory is little less than the application internal memory, or the free memory
In the determination memory range of the application internal memory, that triggers further acquisition terminal is currently running process, preferably by screening
The backstage for obtaining terminal is currently running process.Process will be currently running and generate a process list.
Specifically, obtain and be currently running the committed memory of process, according to the size of the committed memory to being currently running process
Be ranked up, sequence that can be from big to small, or sequence from small to large.Process list is generated according to ordering rule, should
Process in process list is tactic by size.
S203, judge the application internal memory whether more than the proceeding internal memory of maximum committed memory in the process list.
In an embodiment of the present invention, save as in the application using the internal memory to operating system application, judge this application
Internal memory such as saves as 230Mb whether more than the proceeding internal memory of maximum committed memory in the process list in application, and the process
The proceeding internal memory of the maximum committed memory of list is 100Mb, then it is considered that the application internal memory is more than in the process list
The proceeding internal memory of maximum committed memory.
If S204, the application internal memory are more than the proceeding internal memory of maximum committed memory in the process list, according to institute
The sequence for stating process list determines the process to be released.
In an embodiment of the present invention, if the application internal memory is more than the process of maximum committed memory in the process list
The application internal memory of internal memory, such as 230Mb is more than 100Mb committed memories.Then according to the process list sequence determine described in treat
Release process, is that entering for the demand that can meet the application internal memory is determined according to the size descending order of committed memory
Journey, these processes are process to be released.Preferably, it is also contemplated that to the free memory of terminal operating system, arranged according to process
The committed memory of the process of table and the free memory determine process to be released, it is possible to reduce the quantity of process to be released, improve
The speed of removing process.Sequence according to the process list determined after the process to be released, execution step S208, so as to
Memory recycle is completed, the demand of this time application application internal memory is met.
If S205, the application internal memory are obtained not more than the proceeding internal memory of maximum committed memory in the process list
The priority level of all processes in the process list.
In an embodiment of the present invention, if the application internal memory does not enter more than maximum committed memory in the process list
Journey internal memory, such as save as 110MB in application, and the proceeding internal memory of maximum committed memory is 240Mb in the process list.Then obtain
The priority level of all processes in the process list is taken, the process priority level can be answering for existing android system
The adjustment set when dispatching used in framework layers, the value of the adjustment is equivalent to the priority level.Its
In, the value of adjustment is described in detail in the LMK Memory recycle mechanism of existing android system, in order to illustrate
The terseness of book, will not be described here.
S206, the multiple target process obtained according to the application internal memory in the process list, wherein the plurality of mesh
Mark process is process of the committed memory more than the application internal memory.
In an embodiment of the present invention, target process is can to meet the process for this time applying for internal memory, and the process is described
Process in process list, the committed memory of target process can meet this application internal memory, or the free memory of coupling system
After meet this application internal memory.110MB is saved as in such as applying, system free memory is 30Mb, it is multiple present in process list
Process, multiple committed memories are 240Mb, 200Mb, 150Mb, 110Mb, 90Mb and 60Mb etc., can also be included in less occupancy
The process deposited, wherein committed memory are target process for the corresponding process of 240Mb, 200Mb, 150Mb, 110Mb and 90Mb, because
The needs for applying for internal memory, or the need that this application internal memory is met after coupling system free memory can be met for these target process
Ask.
The minimum target process of priority level is the process to be released in S207, the plurality of target process of selection.
In an embodiment of the present invention, the minimum target process of priority level in the plurality of target process is selected to be described
Process to be released, is in the target process of 240Mb, 200Mb, 150Mb, 110Mb and 90Mb, selection is preferential from committed memory
Elementary target process is used as the process to be released.Such as in these target process, the process of 200Mb committed memories
Corresponding priority level is minimum, then the process for thinking 200Mb committed memories is the process to be released.This waits to release described in determining
Put proceeding method, not only can once remove the demand that process to be released just meets the application internal memory, it is also contemplated that process
Priority level, removes the corresponding application of the minimum process of priority level, does not interfere with user and selects conventional application.
Internal memory shared by S208, the release process to be released.
In an embodiment of the present invention, the internal memory shared by the process to be released is discharged, specially waits to release described in removing
Put journey into, discharge the internal memory shared by the process to be released, so as to meet the needs of the application internal memory.Treat described in release
Internal memory shared by release process, can quickly meet the needs of application program internal memory, it is to avoid open the application program
During because waiting Memory recycle the Caton phenomenon that occurs, so as to improve using the fluency opened.
The EMS memory management process of above-described embodiment, can significantly optimize when multiple proceeding internal memories are reclaimed and still be unsatisfactory for internal memory
Situation, such as 10 priority is that the EMS memory occupation amount of 15 process all just may fall back on entering for backstage by neither one from foreground
Cheng great.The EMS memory management process treats as primary reference factor the occupancy of internal memory, and with reference to the priority of process, Ke Yixian
The time-consuming problem that task is brought that reclaim when alleviating low internal memory is write, while and not interfering with using conventional application.Therefore, further
Improve the Experience Degree of user.
Additionally, in certain embodiments, it may be preferable that, after the internal memory shared by the release process to be released,
Also include:Shi Yong the internal memory of terminal is obtained, judgement is described can be using internal memory whether more than default memory threshold;If described make
It is more than the default memory threshold with internal memory, then re-calls LMK Memory recycle mechanism.Can the use of internal memory be free memory,
If this can be using internal memory more than default memory threshold, the default memory threshold can ensure that most process operation, then weigh
LMK Memory recycle mechanism is newly called, retrieval management is carried out according to the preference ranking of process, ensure that the flow process fortune of system
OK.
Fig. 3 is referred to, Fig. 3 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention.Terminal includes but does not limit
In smart mobile phone, panel computer, electronic reader or Intelligent worn device etc..As shown in figure 3, terminal 300 includes acquiring unit
301st, signal generating unit 302, judging unit 303, determining unit 304 and releasing unit 305 are obtained.
Acquiring unit 301, if for detecting during internal memory application request, obtaining in the application in the internal memory application request
Deposit and terminal current idle internal memory.
Such as, the camera applications of user's using terminal, open the camera applications and are taken pictures, and the camera applications will think end
The operating system application internal memory at end.If detected internal memory application request, the application internal memory of internal memory application request is obtained.
The current idle internal memory of the terminal operating system is obtained simultaneously, and judges the free memory whether more than the application internal memory;Or
Person judges whether the free memory determines memory range more than one of the application internal memory, to guarantee that the application software can flow
Cheng Yunhang.
Signal generating unit 302 is obtained, if being less than the application internal memory for the free memory, acquisition is currently running process simultaneously
Generate process list;Local process and application process are currently running specifically for acquisition and generate process list.
Wherein, if the free memory is less than the application internal memory, or the free memory is less than the application internal memory
Determination memory range, triggering further obtained the process that is currently running of terminal, the backstage of terminal preferably obtained by screening
Be currently running process.Process will be currently running and generate a process list.
Specifically, obtain and be currently running process and generate process list, including:Acquisition is currently running local process and application
Process simultaneously generates process list.Wherein, local process is the native processes of operating system, and application process is application program operation
Corresponding process.
Judging unit 303, for judging that the local process whether there is RAM leakage.
Wherein, judge that the local process, with the presence or absence of RAM leakage, can adopt the existing judgement native of operating system
With the presence or absence of the method for RAM leakage, such as, by checking tool or trace analysises, this is carried process for operating system
Instrument, here is not described in detail, while also not limiting.If the local process is the presence of RAM leakage, the basis is pre-
If internal memory release rule determines process to be released in the process list, specially:Using the local process as the process
Process to be released in list.It is possible thereby to the situation for RAM leakage occur when operating system is avoided, also using Memory recycle machine
System carries out Memory recycle, and now Memory recycle can not meet internal memory needs at all.
Determining unit 304, for determining process to be released in the process list according to default internal memory release rule;Specifically
It is additionally operable to the local process as process to be released in the process list.
Wherein, if it is determined that unit 303 judges that the local process has RAM leakage, determining unit 304 is used for will
The local process is used as process to be released in the process list.If judging unit 303 judges that the local process is not deposited
In RAM leakage, for determining process to be released in the process list according to default internal memory release rule.Specifically, this is preset
Internal memory release rule is the release rule set according to the process committed memory of the application internal memory and process list, such as examine
Size, the size of process committed memory and the priority for considering the process committed memory of the process list such as combines at the factor.
Releasing unit 305, for discharging the internal memory shared by the process to be released.
In an embodiment of the present invention, the internal memory shared by the process to be released is discharged, specially waits to release described in removing
Put journey into, discharge the internal memory shared by the process to be released, it is described to be released so as to meet the needs of the application internal memory
Process can be a process or multiple processes, or the local process to there is RAM leakage.Discharge the process to be released
Shared internal memory, can quickly meet the needs of application program internal memory, it is to avoid during opening the application program
The Caton phenomenon occurred because waiting Memory recycle, so as to improve using the fluency opened.
The terminal of the embodiments of the present invention works as end by the application internal memory in the internal memory application request for obtaining terminal applies
When end current idle internal memory can not meet this application internal memory, acquisition is currently running process and generates process list, in default
Deposit release rule and determine process to be released in the process list, removing the process to be released can meet application internal memory, from
And the Memory recycle mechanism for changing existing Android system there may be and excessively take and cause, using the phenomenon for interim card occur, to enter
And improve the Experience Degree of user.
Fig. 4 is referred to, Fig. 4 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention.Terminal includes but does not limit
In smart mobile phone, panel computer, electronic reader or Intelligent worn device etc..As shown in figure 4, terminal 400 includes acquiring unit
401st, signal generating unit 402, determining unit 403, releasing unit 404, acquisition judging unit 405 and call unit 406 are obtained.
Acquiring unit 401, if for detecting during internal memory application request, obtaining in the application in the internal memory application request
Deposit and terminal current idle internal memory.
Wherein, internal memory application request is detected, has specially been detected after application software is opened and has been sent to terminal operation system
The internal memory application request of system application running memory.Such as, the camera applications of user's using terminal, open the camera applications and are clapped
According to the camera applications will think the operating system application internal memory of terminal.If detected internal memory application request, this is obtained interior
The application internal memory of application request is deposited, is the size of this application internal memory.Obtain simultaneously in the current idle of the terminal operating system
Deposit, and judge the free memory whether more than the application internal memory;Or judge the free memory whether more than in the application
The determination memory range deposited, to guarantee that the application software can be with process flow operation.
Signal generating unit 402 is obtained, acquisition is currently running the committed memory of process, according to the size of the committed memory to institute
State the process of being currently running and be ranked up and generate process list.
Wherein, if the free memory is less than the application internal memory, or the free memory is less than the application internal memory
Determination memory range, triggering further obtained the process that is currently running of terminal, the backstage of terminal preferably obtained by screening
Be currently running process.Process will be currently running and generate a process list.Specifically, obtain and be currently running in the occupancy of process
Deposit, be ranked up to being currently running process according to the size of the committed memory, sequence that can be from big to small, or from it is little to
Big sequence.Process list is generated according to ordering rule, the process in the process list is tactic by size
Determining unit 403, for determining process to be released in the process list according to default internal memory release rule.
In an embodiment of the present invention, default internal memory release rule is to apply for entering for internal memory and process list according to described
Journey committed memory and the release rule that sets, such as the size of process committed memory, process in view of the process list is accounted for
The factor such as combined with the size and priority of internal memory.Based on this, determining unit 403 includes:First judging unit 4031, first
Determining unit 4032, first acquisition unit 4033, second acquisition unit 4034 and first choice unit 4035.
Wherein, the first judging unit 4031, for judging whether the application internal memory is maximum more than in the process list
The proceeding internal memory of committed memory.Specifically, save as in the application using the internal memory to operating system application, judge in this application
The proceeding internal memory for whether being more than maximum committed memory in the process list is deposited, such as 230Mb is saved as in application, and the process is arranged
The proceeding internal memory of the maximum committed memory of table is 100Mb, then it is considered that the application internal memory is more than in the process list most
The proceeding internal memory of big committed memory.
Wherein, the first determining unit 4032, if for the application internal memory more than in maximum occupancy in the process list
The proceeding internal memory deposited, then determine the process to be released according to the sequence of the process list.Specifically, if the application internal memory
More than the proceeding internal memory of maximum committed memory in the process list, such as the application internal memory of 230Mb is more than in 100Mb occupancy
Deposit.Then determine the process to be released according to the sequence of the process list, be according to committed memory size from big to small
Order determines the process of the demand that can meet the application internal memory, and these processes are process to be released.Preferably, can also examine
Consider the free memory of terminal operating system, determined according to the committed memory and the free memory of the process of process list and wait to release
Put journey into, it is possible to reduce the quantity of process to be released, improve the speed of removing process.
Wherein, first acquisition unit 4033, if taking for the application internal memory not to be maximum more than in the process list
The proceeding internal memory of internal memory, then obtain the priority level of all processes in the process list.Specifically, if described apply for internal memory not
More than the proceeding internal memory of maximum committed memory in the process list, such as 110MB is saved as in application, and in the process list
The proceeding internal memory of maximum committed memory is 240Mb.The priority level of all processes in the process list is then obtained, the process is excellent
First grade can apply the adjustment set when framework layers are dispatched for existing android system, should
The value of adjustment is equivalent to the priority level.Wherein, the value of adjustment is in the LMK of existing android system
Deposit in reclaim mechanism and be described in detail, for the terseness of description, will not be described here.
Wherein, second acquisition unit 4034, for obtaining the multiple mesh in the process list according to the application internal memory
Mark process, wherein the plurality of target process is process of the committed memory more than the application internal memory.Specifically, target process is
The process for this time applying for internal memory can be met, the process is the process in the process list, and the committed memory of target process can
To meet this application internal memory, or this application internal memory is met after the free memory of coupling system.Such as 110MB is saved as in application,
System free memory is 30Mb, multiple processes present in process list, multiple committed memories be 240Mb, 200Mb, 150Mb,
110Mb, 90Mb and 60Mb etc., can also include less committed memory process, wherein committed memory be 240Mb, 200Mb,
The corresponding process of 150Mb, 110Mb and 90Mb is target process, because these target process can meet the need of application internal memory
Will, or the demand that this application internal memory is met after coupling system free memory.
Wherein, first choice unit 4035, for selecting the plurality of target process in the minimum target of priority level enter
Journey is the process to be released.Such as, the minimum target process of priority level in the plurality of target process is selected to treat for described
Release process, is from the target process that committed memory is 240Mb, 200Mb, 150Mb, 110Mb and 90Mb, to select priority scheduling
The minimum target process of level is used as the process to be released.Such as in these target process, the process pair of 200Mb committed memories
The priority level answered is minimum, then the process for thinking 200Mb committed memories is the process to be released.This determines described to be released
Proceeding method, not only can once remove process to be released just meet it is described application internal memory demand, it is also contemplated that process it is excellent
First grade, removes the corresponding application of the minimum process of priority level, does not interfere with user and selects conventional application.
Releasing unit 404, for discharging the internal memory shared by the process to be released.
Wherein, the internal memory shared by the process to be released is discharged, the process to be released is specially removed, institute is discharged
The internal memory shared by process to be released is stated, so as to meet the needs of the application internal memory.Discharge shared by the process to be released
Internal memory, can quickly meet the needs of application program internal memory, it is to avoid open during the application program because waiting
Memory recycle and the Caton phenomenon that occurs, so as to improve using the fluency opened.
Judging unit 405 is obtained, for obtaining Shi Yong the internal memory of terminal, judgement is described can be using internal memory whether more than pre-
If memory threshold.
Wherein, terminal using the interior terminal that saves as currently runs the free memory after part of the application software, in this is default
Deposit threshold value and can ensure that most process operation, be a default memory threshold.If this can be interior more than default using internal memory
The operating system for depositing threshold value, the i.e. terminal can be with smooth operation.
Call unit 406, if being more than the default memory threshold using internal memory for described, re-calls in LMK
Deposit reclaim mechanism.
Wherein, if described be more than the default memory threshold using internal memory, it is ensured that the operating system of the terminal can flow
Smooth operation, re-calls LMK Memory recycle mechanism, and according to the preference ranking of process retrieval management is carried out, and ensures that and is
The process flow operation of system.
The terminal of above-described embodiment can significantly optimize the situation that internal memory is still unsatisfactory for when multiple proceeding internal memories are reclaimed, than
As process that 10 priority is 15 EMS memory occupation amount may process that all neither one has just fallen back on backstage from foreground it is big.This is interior
The occupancy that management method is deposited internal memory, with reference to the priority of process, can significantly be alleviated low as primary reference factor
The time-consuming problem that task is brought is reclaimed during internal memory, while and not interfering with using conventional application.Therefore, further increasing
The Experience Degree of user.
The present invention also provides a kind of terminal, such as panel computer, mobile phone, electronic reader mobile terminal, refers to Fig. 5,
A kind of structure composition schematic diagram of terminal that Fig. 5 is provided for one embodiment of the invention.The terminal 500 can include input equipment
501st, include the memorizer 502 of one or more computer-readable recording mediums, sensor 503, display device 504,
And include the part such as or the processor 505 of more than one processing core.It will be understood by those skilled in the art that figure
The restriction of the terminal structure illustrated in 5 not structure paired terminal, can be included than illustrating more or less of part, or combination
Some parts, or different part arrangements.
Input equipment 501 can be used for numeral, character information or the user's characteristic information (such as fingerprint) of receives input, and
Produce the keyboard relevant with user's setting and function control, mouse, action bars, optics or trace ball signal input.Specifically
Ground, in a specific embodiment, input equipment 501 may include Touch sensitive surface and other input equipments.Touch sensitive surface,
Referred to as touch display screen or Trackpad, user can be collected thereon or neighbouring touch operation (such as user uses finger, touches
The operations of any suitable object or adnexa on Touch sensitive surface or near Touch sensitive surface such as pen), and according to set in advance
Formula drives corresponding attachment means.Optionally, Touch sensitive surface may include two parts of touch detecting apparatus and touch controller.
Wherein, touch detecting apparatus detect the touch orientation of user, and detect the signal that touch operation brings, and transmit a signal to touch
Controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives process
Device 505, and the order sent of receiving processor 505 and can be performed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray
And the polytype such as surface acoustic wave realizes Touch sensitive surface.Except Touch sensitive surface, input equipment 501 can also be including other inputs
Equipment.
Memorizer 502 can be used to store application program and data.Include and can hold in the application program of the storage of memorizer 502
Line code.Application program can constitute various functions module.Processor 505 is stored in the application journey of memorizer 502 by operation
Sequence, so as to perform various function application and data processing.Memorizer 502 can mainly include storing program area and data storage
Area, wherein, application program that storing program area can be needed for storage program area, at least one function (such as sound-playing function,
Image player function etc.) etc.;Storage data field can be stored and use created data (such as voice data, electricity according to terminal
Script for story-telling etc.) etc..Additionally, memorizer 502 can include high-speed random access memory, nonvolatile memory can also be included,
For example, at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memorizer 502 is gone back
Memory Controller can be included, to provide the access of processor 505 and input block 403 to memorizer 502.
Terminal may also include at least one sensor 503, 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 adjusting the brightness of display floater, proximity transducer can close display floater and/or the back of the body when terminal is moved in one's ear
Light.As one kind of motion sensor, (generally three axles) acceleration in the detectable all directions of Gravity accelerometer
Size, can detect that size and the direction of gravity when static, can be used for recognize mobile phone attitude application (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc..Can also configure as terminal
The other sensors such as barometer, drimeter, thermometer, infrared ray sensor, will not be described here.
Display device 504 can be used for show by user input information or be supplied to user information and terminal it is various
Graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its combination in any.Show
Device 504 may include that display floater is further, and Touch sensitive surface can cover display floater, when Touch sensitive surface detect thereon or
After neighbouring touch operation, processor 505 is sent to determine the type of touch event, with preprocessor 505 according to touch thing
The type of part provides on a display panel corresponding visual output.Although in Figure 5, Touch sensitive surface and display floater are as two
Individual independent part realizing input and input function, but in some embodiments it is possible to by Touch sensitive surface and display floater
It is integrated and realize input and output function.
Processor 505 is the control centre of terminal, using various interfaces and the various pieces of the whole terminal of connection, is led to
Cross operation or perform the application program being stored in memorizer 502, and call the data being stored in memorizer 502, perform
The various functions and processing data of terminal, so as to carry out integral monitoring to terminal.Optionally, processor 505 may include one or
Multiple processing cores;Preferably, processor 505 can integrated application processor and modem processor, wherein, application processor
Main to process operating system, user interface and application program etc., modem processor mainly processes radio communication.It is appreciated that
, above-mentioned modem processor can not also be integrated in processor 505.
Although not shown in Fig. 5, it will be understood to those skilled in the art that terminal can also include photographic head, bluetooth mould
Block, Wireless Fidelity etc., will not be described here.
Specifically in the present embodiment, the processor 505 in terminal can be according to following instruction, will be one or more
The corresponding executable code of process of application program is loaded in memorizer 502, is run by processor 505 and is stored in memorizer
Program code in 502, and perform following operation:
If detect internal memory application request, the application internal memory and terminal current idle in the internal memory application request is obtained
Internal memory;If the free memory is less than the application internal memory, acquisition is currently running process and generates process list;In default
Deposit release rule and determine process to be released in the process list;Discharge the internal memory shared by the process to be released.
Further, the processor 505 also performs following operation:
If detect internal memory application request, the application internal memory and terminal current idle in the internal memory application request is obtained
Internal memory;If the free memory is less than the application internal memory, judge whether the application internal memory is more than in the process list most
The proceeding internal memory of big committed memory;If the application internal memory is more than the proceeding internal memory of maximum committed memory in the process list,
Then determine the process to be released according to the sequence of the process list;Discharge the internal memory shared by the process to be released.
Further, the processor 505 also performs following operation:If detect internal memory application request, obtain described
Application internal memory and terminal current idle internal memory in internal memory application request;If the free memory is less than the application internal memory, sentence
Whether the disconnected application internal memory is more than the proceeding internal memory of maximum committed memory in the process list;If the application internal memory is not big
The proceeding internal memory of maximum committed memory, then obtain the priority scheduling of all processes in the process list in the process list
Level;The multiple target process in the process list are obtained according to the application internal memory, wherein the plurality of target process is to account for
With internal memory more than the process for applying for internal memory;The minimum target process of priority level in the plurality of target process is selected to be institute
State process to be released;Discharge the internal memory shared by the process to be released.
Further, the processor 505 also performs following operation:If detect internal memory application request, obtain described
Application internal memory and terminal current idle internal memory in internal memory application request;If the free memory is less than the application internal memory, obtain
Take and be currently running local process and application process and generate process list;Judge that the local process whether there is RAM leakage;
If the local process is the presence of RAM leakage, using the local process as process to be released in the process list, release
Internal memory shared by the process to be released.
In certain embodiments of the present invention, the processor 505 also performs following operation:Please if detecting internal memory application
When asking, the application internal memory and terminal current idle internal memory in the internal memory application request is obtained;If the free memory is less than institute
Application internal memory is stated, acquisition is currently running process and generates process list;The process row are determined according to default internal memory release rule
Process to be released in table;Discharge the internal memory shared by the process to be released;Shi Yong the internal memory of terminal is obtained, judgement is described can
Using internal memory whether more than default memory threshold;If described be more than the default memory threshold using internal memory, re-call
LMK Memory recycle mechanism.
Those of ordinary skill in the art are it is to be appreciated that the list of each example with reference to the embodiments described herein description
Unit and algorithm steps, can with electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate hardware
With the interchangeability of software, according to function the composition and step of each example have been generally described in the above description.This
A little functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specially
Industry technical staff can use different methods to realize described function to each specific application, but this realization is not
It is considered as beyond the scope of this invention.
Those skilled in the art can be understood that, for convenience of description and succinctly, the end of foregoing description
End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In several embodiments provided herein, it should be understood that disclosed terminal and method, it can be passed through
Its mode is realized.For example, device embodiment described above is only schematic, for example, the division of the unit, and only
Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied
Close or be desirably integrated into another system, or some features can be ignored, or do not perform.In addition, shown or discussed phase
Coupling or direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit
Connection, or electricity, machinery or other forms connections.
Step in present invention method can according to actual needs carry out order adjustment, merge and delete.
Unit in embodiment of the present invention terminal can according to actual needs be merged, divides and deleted.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be according to the actual needs selected to realize embodiment of the present invention scheme
Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, or two or more units are integrated in a unit.It is above-mentioned integrated
Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used
When, during a computer read/write memory medium can be stored in.Based on such understanding, technical scheme is substantially
Prior art is contributed part in other words, or all or part of the technical scheme can be in the form of software product
Embody, the computer software product is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention
Portion or part steps.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced
Change, these modifications or replacement all should be included within the scope of the present invention.Therefore, protection scope of the present invention should be with right
The protection domain of requirement is defined.
Claims (10)
1. a kind of EMS memory management process, it is characterised in that include:
If detect internal memory application request, obtain in the application internal memory and terminal current idle in the internal memory application request
Deposit;
If the free memory is less than the application internal memory, acquisition is currently running process and generates process list;
Process to be released in the process list is determined according to default internal memory release rule;
Discharge the internal memory shared by the process to be released.
2. EMS memory management process according to claim 1, it is characterised in that process that the acquisition is currently running simultaneously is generated
Process list, specifically includes:Acquisition is currently running the committed memory of process, according to the size of the committed memory to it is described
Operation process is ranked up and generates process list;
The default internal memory release rule of the basis determines process to be released in the process list, specifically includes:Judge the Shen
Please internal memory whether more than the proceeding internal memory of maximum committed memory in the process list;If the application internal memory is more than the process
The proceeding internal memory of maximum committed memory, then determine the process to be released according to the sequence of the process list in list.
3. EMS memory management process according to claim 2, it is characterised in that judge whether the application internal memory is big described
In the process list after the proceeding internal memory of maximum committed memory, also include:
If the application internal memory is not more than the proceeding internal memory of maximum committed memory in the process list, the process row are obtained
The priority level of all processes in table;
The multiple target process in the process list are obtained according to the application internal memory, wherein the plurality of target process is to account for
With internal memory more than the process for applying for internal memory;
The minimum target process of priority level in the plurality of target process is selected to be the process to be released.
4. EMS memory management process according to claim 1, it is characterised in that the acquisition be currently running process and generate into
Cheng Liebiao, specifically includes:Acquisition is currently running local process and application process and generates process list;
Before process to be released in the basis default internal memory release rule determination process list, also include:Judge institute
Local process is stated with the presence or absence of RAM leakage;
If the local process is the presence of RAM leakage, the default internal memory release rule of the basis determines to be treated in the process list
Release process, specially:Using the local process as process to be released in the process list.
5. EMS memory management process according to claim 1, it is characterised in that shared by the release process to be released
After internal memory, also include:
Shi Yong the internal memory of terminal is obtained, judgement is described can be using internal memory whether more than default memory threshold;
If described be more than the default memory threshold using internal memory, LMK Memory recycle mechanism is re-called.
6. a kind of terminal, it is characterised in that include:
Acquiring unit, if for detecting during internal memory application request, obtaining the application internal memory in the internal memory application request and end
End current idle internal memory;
Obtain signal generating unit, if for the free memory be less than the application internal memory, acquisition be currently running process and generate into
Cheng Liebiao;
Determining unit, for determining process to be released in the process list according to default internal memory release rule;
Releasing unit, for discharging the internal memory shared by the process to be released.
7. terminal according to claim 6, it is characterised in that the acquisition signal generating unit specifically for:Acquisition is transported
The committed memory of traveling journey, process row are ranked up and generate according to the size of the committed memory to the process that is currently running
Table;
The determining unit includes:First judging unit and the first determining unit;First judging unit, it is described for judging
Whether application internal memory is more than the proceeding internal memory of maximum committed memory in the process list;First determining unit, if for
The application internal memory is more than the proceeding internal memory of maximum committed memory in the process list, then according to the sequence of the process list
Determine the process to be released.
8. terminal according to claim 7, it is characterised in that the determining unit, also includes:First acquisition unit,
Two acquiring units and first choice unit;
The first acquisition unit, if for the application internal memory not more than the process of maximum committed memory in the process list
Internal memory, then obtain the priority level of all processes in the process list;
The second acquisition unit, for obtaining the multiple target process in the process list according to the application internal memory, its
Described in multiple target process be committed memory more than it is described application internal memory process;
The first choice unit, for selecting the plurality of target process in the minimum target process of priority level treat for described
Release process.
9. terminal according to claim 6, it is characterised in that the terminal also includes judging unit;
The acquisition signal generating unit, is currently running local process and application process and generates process list specifically for acquisition;
The judging unit, for judging that the local process whether there is RAM leakage;
The determining unit, for using the local process as process to be released in the process list.
10. terminal according to claim 6, it is characterised in that the terminal also includes:Obtain judging unit and call list
Unit;
After the internal memory shared by the releasing unit discharges the process to be released, the acquisition judging unit, for obtaining
Shi Yong the internal memory of terminal is taken, judgement is described can be using internal memory whether more than default memory threshold;The call unit, if for
It is described to be more than the default memory threshold using internal memory, then re-call LMK Memory recycle mechanism.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611009626.4A CN106681933A (en) | 2016-11-16 | 2016-11-16 | Memory management method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611009626.4A CN106681933A (en) | 2016-11-16 | 2016-11-16 | Memory management method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106681933A true CN106681933A (en) | 2017-05-17 |
Family
ID=58840365
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611009626.4A Withdrawn CN106681933A (en) | 2016-11-16 | 2016-11-16 | Memory management method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106681933A (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107766151A (en) * | 2017-09-28 | 2018-03-06 | 郑州云海信息技术有限公司 | A kind of Page swap-out method |
CN107832100A (en) * | 2017-10-27 | 2018-03-23 | 平安普惠企业管理有限公司 | A kind of loading method and its terminal of APK plug-in units |
CN108052391A (en) * | 2017-11-30 | 2018-05-18 | 努比亚技术有限公司 | Memory Optimize Method, mobile terminal and readable storage medium storing program for executing based on thread deadlock |
CN108196901A (en) * | 2017-12-25 | 2018-06-22 | 山东浪潮通软信息科技有限公司 | The loading method and device of camera in a kind of browser |
CN109117263A (en) * | 2017-06-23 | 2019-01-01 | 中兴通讯股份有限公司 | A kind of method and device of user terminal memory release |
CN109254862A (en) * | 2018-08-21 | 2019-01-22 | 奇酷互联网络科技(深圳)有限公司 | It is automatically repaired method, mobile terminal and the storage medium of DDR overturning |
CN109582442A (en) * | 2018-11-30 | 2019-04-05 | 北京微播视界科技有限公司 | Processing method, electronic equipment and the computer storage medium of memory spilling OOM |
CN109726069A (en) * | 2018-05-07 | 2019-05-07 | 平安普惠企业管理有限公司 | H5 page EMS memory occupation monitoring method, device, equipment and readable storage medium storing program for executing |
CN109828916A (en) * | 2018-12-29 | 2019-05-31 | 航天信息股份有限公司 | A kind of method and system solving memory overflow |
CN109857556A (en) * | 2019-01-15 | 2019-06-07 | Oppo广东移动通信有限公司 | Method for recovering internal storage and device, storage medium and electronic equipment |
CN111008079A (en) * | 2019-12-10 | 2020-04-14 | Oppo(重庆)智能科技有限公司 | Process management method, device, storage medium and electronic equipment |
CN111046378A (en) * | 2019-12-12 | 2020-04-21 | Oppo(重庆)智能科技有限公司 | Method and related device for forbidding third-party application program to set process priority |
CN111614985A (en) * | 2020-05-09 | 2020-09-01 | 杭州国芯科技股份有限公司 | Memory scheduling method for digital audio and video decoding equipment |
CN112000471A (en) * | 2020-08-10 | 2020-11-27 | 海信电子科技(武汉)有限公司 | Memory optimization method and device |
CN112463358A (en) * | 2020-10-29 | 2021-03-09 | 北京罗克维尔斯科技有限公司 | Memory management method and device, vehicle-mounted system and vehicle |
WO2022057391A1 (en) * | 2020-09-17 | 2022-03-24 | 上海哔哩哔哩科技有限公司 | Cache memory adjustment method, apparatus, and computer device |
-
2016
- 2016-11-16 CN CN201611009626.4A patent/CN106681933A/en not_active Withdrawn
Non-Patent Citations (1)
Title |
---|
ANGELDEVIL: "Android Low Memory Killer", 《HTTP://WWW.CNBLOGS.COM/ANGELDEVIL/ARCHIVE/2013/05/21/3090872.HTML》 * |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109117263A (en) * | 2017-06-23 | 2019-01-01 | 中兴通讯股份有限公司 | A kind of method and device of user terminal memory release |
CN109117263B (en) * | 2017-06-23 | 2023-08-15 | 中兴通讯股份有限公司 | Method and device for releasing memory of user terminal |
CN107766151A (en) * | 2017-09-28 | 2018-03-06 | 郑州云海信息技术有限公司 | A kind of Page swap-out method |
CN107832100B (en) * | 2017-10-27 | 2020-12-04 | 平安普惠企业管理有限公司 | APK plug-in loading method and terminal thereof |
CN107832100A (en) * | 2017-10-27 | 2018-03-23 | 平安普惠企业管理有限公司 | A kind of loading method and its terminal of APK plug-in units |
CN108052391A (en) * | 2017-11-30 | 2018-05-18 | 努比亚技术有限公司 | Memory Optimize Method, mobile terminal and readable storage medium storing program for executing based on thread deadlock |
CN108196901A (en) * | 2017-12-25 | 2018-06-22 | 山东浪潮通软信息科技有限公司 | The loading method and device of camera in a kind of browser |
CN109726069A (en) * | 2018-05-07 | 2019-05-07 | 平安普惠企业管理有限公司 | H5 page EMS memory occupation monitoring method, device, equipment and readable storage medium storing program for executing |
CN109254862B (en) * | 2018-08-21 | 2022-04-12 | 奇酷互联网络科技(深圳)有限公司 | Method for automatically repairing DDR (double data Rate) upset, mobile terminal and storage medium |
CN109254862A (en) * | 2018-08-21 | 2019-01-22 | 奇酷互联网络科技(深圳)有限公司 | It is automatically repaired method, mobile terminal and the storage medium of DDR overturning |
CN109582442A (en) * | 2018-11-30 | 2019-04-05 | 北京微播视界科技有限公司 | Processing method, electronic equipment and the computer storage medium of memory spilling OOM |
CN109828916A (en) * | 2018-12-29 | 2019-05-31 | 航天信息股份有限公司 | A kind of method and system solving memory overflow |
CN109828916B (en) * | 2018-12-29 | 2023-04-21 | 航天信息股份有限公司 | Method and system for solving memory leakage |
CN109857556A (en) * | 2019-01-15 | 2019-06-07 | Oppo广东移动通信有限公司 | Method for recovering internal storage and device, storage medium and electronic equipment |
CN109857556B (en) * | 2019-01-15 | 2021-01-08 | Oppo广东移动通信有限公司 | Memory recovery method and device, storage medium and electronic equipment |
CN111008079A (en) * | 2019-12-10 | 2020-04-14 | Oppo(重庆)智能科技有限公司 | Process management method, device, storage medium and electronic equipment |
CN111008079B (en) * | 2019-12-10 | 2022-10-21 | Oppo(重庆)智能科技有限公司 | Process management method, device, storage medium and electronic equipment |
CN111046378A (en) * | 2019-12-12 | 2020-04-21 | Oppo(重庆)智能科技有限公司 | Method and related device for forbidding third-party application program to set process priority |
CN111614985A (en) * | 2020-05-09 | 2020-09-01 | 杭州国芯科技股份有限公司 | Memory scheduling method for digital audio and video decoding equipment |
CN111614985B (en) * | 2020-05-09 | 2021-10-01 | 杭州国芯科技股份有限公司 | Memory scheduling method for digital audio and video decoding equipment |
CN112000471A (en) * | 2020-08-10 | 2020-11-27 | 海信电子科技(武汉)有限公司 | Memory optimization method and device |
CN112000471B (en) * | 2020-08-10 | 2023-10-27 | Vidaa(荷兰)国际控股有限公司 | Memory optimization method and device |
WO2022057391A1 (en) * | 2020-09-17 | 2022-03-24 | 上海哔哩哔哩科技有限公司 | Cache memory adjustment method, apparatus, and computer device |
CN112463358A (en) * | 2020-10-29 | 2021-03-09 | 北京罗克维尔斯科技有限公司 | Memory management method and device, vehicle-mounted system and vehicle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106681933A (en) | Memory management method and terminal | |
US20220300303A1 (en) | Application control method and electronic device | |
US10908789B2 (en) | Application switching method and apparatus and graphical user interface | |
EP3514684B1 (en) | Memory recovery method and apparatus | |
CN108009006B (en) | Scheduling method and device of I/O (input/output) request | |
CN107526640B (en) | Resource management method, resource management device, mobile terminal and computer-readable storage medium | |
CN105740078B (en) | Memory management method, device and terminal | |
CN106484472A (en) | A kind of method for recovering internal storage and terminal | |
CN111158910A (en) | Memory management method and device, storage medium and electronic equipment | |
CN102830898A (en) | Apparatus and method for scrolling in device with touch screen | |
CN110888746A (en) | Memory management method and device, storage medium and electronic equipment | |
CN106201427A (en) | A kind of application program launching method and terminal unit | |
CN108762831A (en) | Application program preloads method, apparatus, storage medium and terminal | |
CN109753443A (en) | A kind of data processing method, device and electronic equipment | |
US20200319900A1 (en) | Method for Application Processing, Storage Medium, and Electronic Device | |
CN107783833A (en) | A kind of management method and device of terminal background application | |
CN111274039B (en) | Memory recycling method and device, storage medium and electronic equipment | |
CN111078587B (en) | Memory allocation method and device, storage medium and electronic equipment | |
CN109976611A (en) | The control method and terminal device of terminal device | |
CN106559579A (en) | Mobile terminal and CPU/GPU scheduling parameter update methods | |
CN103197876A (en) | Method and apparatus for displaying e-book in terminal having function of e-book reader | |
CN111475299B (en) | Memory allocation method and device, storage medium and electronic equipment | |
CN108334303A (en) | Electronic equipment and its control method | |
CN106775666A (en) | A kind of application icon display methods and terminal | |
WO2019090725A1 (en) | Terminal removing personal file of user on basis of user habits |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170517 |