CN110018900A - Internal memory processing method and device, electronic equipment, computer readable storage medium - Google Patents
Internal memory processing method and device, electronic equipment, computer readable storage medium Download PDFInfo
- Publication number
- CN110018900A CN110018900A CN201810023217.2A CN201810023217A CN110018900A CN 110018900 A CN110018900 A CN 110018900A CN 201810023217 A CN201810023217 A CN 201810023217A CN 110018900 A CN110018900 A CN 110018900A
- Authority
- CN
- China
- Prior art keywords
- application
- page
- memory
- processed
- recyclable
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
-
- 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/48—Program initiating; Program switching, e.g. by interrupt
-
- 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/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
-
- 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/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
-
- 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]
-
- 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
-
- 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/5022—Mechanisms to release resources
-
- 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/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/5038—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/48—Indexing scheme relating to G06F9/48
- G06F2209/482—Application
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/5021—Priority
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/504—Resource capping
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Memory System (AREA)
- Debugging And Monitoring (AREA)
Abstract
This application involves a kind of internal memory processing methods and device, electronic equipment, computer readable storage medium.This method comprises: obtaining the occupied recyclable memory page of application to be processed;Obtain the dependence ratio that the application to be processed is relied on by foreground application;The application to be processed is obtained to the free time length of each recyclable memory page;According to the free time length and the dependence ratio-dependent duration threshold value of each recyclable memory page;The page that free time length is more than the duration threshold value is chosen from the recyclable memory page to be recycled.Above-mentioned internal memory processing method and device, electronic equipment, computer readable storage medium can guarantee in the case where whole system memory becomes larger, minimum to the negative effect of each application, maintain the balance between the recycling and operation to application memory to be processed.
Description
Technical field
This application involves data processing fields, more particularly to a kind of internal memory processing method and device, electronic equipment, calculating
Machine readable storage medium storing program for executing.
Background technique
The application installed on electronic equipment at runtime, needs to occupy certain memory.Memory is one and applies and running
The primary storage medium of data in the process.Since the memory size on electronic equipment is limited, when the memory mistake that background application occupies
When more, the operational efficiency of foreground application will affect.Thus need internally to deposit into capable recycling, to improve the operation effect of foreground application
Rate.
Tradition is that will all recycle in the memory that the single application of running background occupies to internal memory processing method.However,
By individually using memory recycle completely after will lead in application starting next time and implementation procedure that need will be nearly all
The speed of service that the memory being recovered reloads the application for leading to be recovered memory back significantly reduces.
Summary of the invention
The embodiment of the present application provides a kind of internal memory processing method and device, electronic equipment, computer readable storage medium, can
To reduce the influence of the operation to the application for being recovered memory while improving the operational efficiency of foreground application.
A kind of internal memory processing method, comprising: obtain the occupied recyclable memory page of application to be processed;It obtains described wait locate
The dependence ratio relied on by foreground application ought to be used;The application to be processed is obtained to the free time of each recyclable memory page
Duration;According to the free time length and the dependence ratio-dependent duration threshold value of each recyclable memory page;From described
The page that free time length is more than the duration threshold value is chosen in recyclable memory page to be recycled.
A kind of memory processing unit, described device includes: that page obtains module, for obtaining occupied by application to be processed
Recyclable memory page;Determining module is relied on, the dependence ratio relied on for obtaining the application to be processed by foreground application;When
Long determining module, for obtaining the application to be processed to the free time length of each recyclable memory page;According to described every
The free time length of a recyclable memory page and the dependence ratio-dependent duration threshold value;Memory recycle module is used for from institute
Stating selection free time length in recyclable memory page is more than that the page of the duration threshold value is recycled.
A kind of electronic equipment, including memory and processor store computer program, the calculating in the memory
When machine program is executed by the processor, so that the processor executes each internal memory processing method as described in the examples of the application
The step of.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
The step of each internal memory processing method as described in the examples of the application is realized when row.
Internal memory processing method and device provided by the embodiments of the present application, electronic equipment, computer readable storage medium, pass through
The occupied recyclable memory page of application to be processed and its free time length are obtained, and obtains application to be processed and is relied on by foreground application
Dependence ratio, then determine duration threshold value according to the free time length and dependence ratio, and be more than duration threshold to free time length
The page of value is recycled, and since the object of recycling is recyclable memory page, and is not necessarily to all recyclable memories
Page is recycled, but according to each recyclable memory page free time length and application to be processed relied on by foreground application
Dependence ratio, choose free time length be more than corresponding duration threshold value page recycled, further reduced and treat place
The influence on system operation with foreground application ought to be used, and the page recycled releasably comes out and uses for other application, guarantees entire
It is minimum to the negative effect of each application in the case that Installed System Memory becomes larger, and memory service efficiency is improved, it maintains and treats
Handle the balance between the recycling and operation of application memory.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the schematic diagram of internal structure of electronic equipment in one embodiment;
Fig. 2 is the part frame schematic diagram of the system in one embodiment in electronic equipment;
Fig. 3 is the flow chart of internal memory processing method in one embodiment;
Fig. 4 is in one embodiment according to the free time length of each recyclable memory page and dependence ratio-dependent duration threshold value
Flow chart;
Fig. 5 A is the recycling proportional curve schematic diagram of unrelated class application in one embodiment;
Fig. 5 B is the recycling proportional curve schematic diagram of linear class application in one embodiment;
Fig. 5 C is the recycling proportional curve schematic diagram of non-linear class application in one embodiment;
Fig. 6 is the flow chart of internal memory processing method in another embodiment;
Fig. 7 is the structural block diagram of memory processing unit in one embodiment;
Fig. 8 is the block diagram of the part-structure of mobile phone in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and
It is not used in restriction the application.
In one embodiment, as shown in Figure 1, providing the schematic diagram of internal structure of a kind of electronic equipment.The electronics is set
Standby includes processor, memory and the display screen connected by system bus.Wherein, which calculates and controls for providing
Ability supports the operation of entire electronic equipment.Memory for storing data, program, and/or instruction code etc., on memory
At least one computer program is stored, which can be executed by processor, and provide in the embodiment of the present application to realize
Internal memory processing method suitable for electronic equipment.Memory may include magnetic disk, CD, read-only memory (Read-Only
Memory, ROM) etc. non-volatile memory mediums or random access memory (Random-Access-Memory, RAM) etc..Example
Such as, in one embodiment, memory includes non-volatile memory medium and built-in storage.Non-volatile memory medium is stored with
Operating system, database and computer program.It is stored in the database for realizing one provided by above each embodiment
The relevant data of kind internal memory processing method, for example the title of each application and the page for each application distribution can be stored with
Etc. information.The computer program can be performed by processor, for realizing in one kind provided by each embodiment of the application
Deposit processing method.Built-in storage provides high speed for operating system, database and the computer program in non-volatile memory medium
The running environment of caching.Display screen can be touch screen, for example be capacitance plate or electrical screen, the interface for display foreground application
It shows information, may be utilized for the touch operation that detection acts on the display screen, generate corresponding instruction, for example carry out front and back
The switching command etc. of platform application.
It will be understood by those skilled in the art that structure shown in Fig. 1, only part relevant to application scheme is tied
The block diagram of structure, does not constitute the restriction for the electronic equipment being applied thereon to application scheme, and specific electronic equipment can be with
Including than more or fewer components as shown in the figure, perhaps combining certain components or with different component layouts.Such as electricity
Sub- equipment further includes the network interface connected by system bus, and network interface can be Ethernet card or wireless network card etc., is used
It is communicated in external electronic equipment, for example can be used for same server and communicated.For another example on the electronic equipment not
In the presence of the display connected by system bus, or external display device can be connected.
In one embodiment, as shown in Fig. 2, providing the part architecture diagram of a kind of electronic equipment.Wherein, which sets
It include JAVA space layer 210, local ccf layer 220 and kernel (Kernel) space layer 230 in standby architecture system.JAVA is empty
It may include that freezing pipe ought to use 212 on interbed 210, electronic equipment can ought to be realized with 212 by the freezing pipe and be answered each
Freeze strategy, the management operation such as freeze and thaw is done to the related application of backstage power consumption.Include money in local ccf layer 220
Source priority and limitation management module 222 and platform freezing pipe manage module 224.Electronic equipment can pass through resource prioritization and limitation
In different tissue of the application in different priorities and different resource of 222 real-time servicing of management module, and according to the need on upper layer
It asks to adjust the resource group of application program to reach optimization performance, saves the effect of power consumption.Electronic equipment can pass through platform
Freeze length of the management module 224 by can freezing from the background for task according to entrance freeze-off time, it is preset not to be assigned to correspondence
The frozen crust of same level, optionally, the frozen crust may include three, be respectively: CPU limitation sleep pattern, CPU freeze mould of sleeping
Formula, process deep freezing mode.Wherein, CPU limitation sleep pattern, which refers to, limits the occupied cpu resource of associated process
System, makes associated process occupy less cpu resource, and vacant cpu resource is tilted to other not frozen processes, is limited
To the occupancy of cpu resource, process is also accordingly limited to the occupancy of Internet resources and I/O interface resource;CPU freezes mould of sleeping
Formula, which refers to, forbids associated process using CPU, and retains the occupancy to memory, when being forbidden to use cpu resource, corresponding network money
Source and I/O interface resource are also prohibited from using;Process deep freezing mode refers in addition to being forbidden to use cpu resource, into one
Step recycles the occupied memory source of associated process, and the memory of recycling uses for other processes.Kernel spacing layer 230
In include UID management module 231, Cgroup module 232, Binder control module 233, proceeding internal memory recycling module 234 and
Freeze time-out and exits module 235.Wherein, UID management module 231 is for realizing the User Identity (User based on application
Identifier, UID) Lai Guanli third-party application resource or freezed.It is compared to and is identified based on process identity
The control of (Process Identifier, PID) Lai Jinhang process is more convenient for being managed collectively the application of a user by UID
Resource.Cgroup module 232 for provide a set of perfect central processing unit (Central Processing Unit, CPU),
CPUSET, memory (memory), input/output (input/output, I/O) and the relevant resource constraint mechanism of Net.Binder
Module 233 is managed for realizing the control of the backstage binder priority communicated.Wherein, the interface module of local ccf layer 220
Comprising developing to the binder interface on upper layer, binder interface of the frame or application on upper layer by offer limits to send resource
The instruction made or freezed manages module 224 to resource prioritization and limitation management module 222 and platform freezing pipe.Proceeding internal memory returns
Receipts module 234, in this way can be when some third-party application be chronically at frozen state for realizing process deep freezing mode
It waits, can mainly discharge the file area of process, to reach the module for saving memory, also accelerate this and apply in starting next time
Speed.Freeze time-out and exits exception of the module 235 for solving to occur freezing overtime scene generation.It, can by above-mentioned framework
Realize the internal memory processing method in each embodiment of the application.
In one embodiment, as shown in figure 3, providing a kind of internal memory processing method, the present embodiment is applied in this way
It is illustrated for electronic equipment as shown in Figure 1.This method comprises:
Step 302, the occupied recyclable memory page of application to be processed is obtained.
Application to be processed indicates the application for needing recycle committed memory.The memory (also known as deposit by arbitrary access
Reservoir, random access memory, RAM) indicate the memory (i.e. running memory) used when operation program, it can only temporarily deposit
Store up data, for CPU switching cache data, but memory itself cannot be used for store data long term.It is common, wait locate
It ought to be with for background application.Background application is the application in running background;Accordingly, before the application in front stage operation is
Platform application.The operation of one application (Application, abbreviation APP) is usually to be embodied by the operation of relevant multiple processes
's.Process (process) is program in computer about the primary operation activity on certain data acquisition system, is that system carries out resource
The basic unit of distribution and scheduling, is the basis of operating system configuration.When foreground application is run the process that is related to be foreground into
Journey, the process that background application is related to when running is background process.
It applies and needs committed memory space in the state of operation to store the data in operational process.Different applies
The memory headroom that different operating statuses occupies is not of uniform size fixed identical.Page is that operating system internally deposits the list being managed
Position, the unit memory size that the page of different electronic equipment settings occupies are not necessarily identical.Such as it is interior in electronic equipment
It deposits space and is divided into 100000 pages, the page that application to be processed occupies is page 100 to page 200, and
Page 130 therein to page 200 is recyclable memory page.
In one embodiment, electronic equipment can pre-recorded to be processed apply running occupied all pages,
And recoverable page is obtained from all pages.Recyclable memory page table, which is shown, may be recovered, and treat place after recycling
Ought to and other application operation do not impact or caused by influence lesser page.
In one embodiment, electronic equipment can record in all pages, which page is recyclable memory page,
Which page is that page not can be recycled, and the recyclable memory of application occupancy to be processed is obtained according to the record information
Page.
Step 304, the dependence ratio to be processed applied and relied on by foreground application is obtained.
Relying on indicates that an application needs to be used in another or the data of multiple applications and could smoothly realize to this
The relationship of the execution of one application.There are two applications of dependence, the applications of the application and dependence that are respectively relied on.By
In the operation of application be usually to be embodied by the operation of relevant multiple processes, the dependence between also show as process it
Between dependence.For example depend on using a certain process a in A and relied on using a certain process b in B, i.e. process b by process a,
Process a needs just to be able to achieve the execution to process a using the data of process b, also illustrates and depends on using A using B, or answers
It is relied on B by application A, needs just to be able to achieve the execution for applying A to this using the data of application B using A, at this point, being using A
The application being relied on.It is to be appreciated that the application relied on is also possible to apply for first, the second application may be background application.Electricity
Sub- equipment can be detected from background application set, whether there is the background application relied on by foreground application to inquire.
Dependence ratio reflects the degree of dependence of application being relied on using being relied on by it, and degree of dependence is bigger, then according to
Bad ratio is also corresponding bigger.In one embodiment, electronic equipment can record each application to the dependence ratio of other application, and
It reads among the numerous dependence ratios recorded, application to be processed is by the dependence ratio of foreground application.
In one embodiment, when application to be processed is not relied on by foreground application, then relying on ratio is 0.
Step 306, application to be processed is obtained to the free time length of each recyclable memory page.
It is not applied always and is used by the data stored in page, system is indicated to the free time length of page
After the application storage allocation page to be processed, the data stored in the page after the last time is by use, in not by
The duration of use state.Electronic equipment carrys out each page of real-time update according to the data service condition of each page
Free time length, when be ready for application to be processed occupy page recycle when, each of state-of-the-art record can be obtained
The free time length of recyclable memory page.
In one embodiment, it initiates when the last time to situations such as the distribution, recycling, release of page, or to place
The case where service condition cached in reason device is inquired determines to make the data for the page being accordingly related to
With, and the data to page the most the last of the system time under corresponding situation will be generated and use the time, current time and
The difference of the nearest time is the free time length to correspondence memory page.
In one embodiment, electronic equipment can create corresponding timestamp, timestamp record pair to each page
The data in page are answered to use the time in the last.In an operating system, whenever active initiates to the distribution of memory, returns
It receives, release waiting time, the liveness of correspondence memory page can be updated, and the renewal time is recorded in the timestamp.
Or the service condition in timing check processor caching, can determine that the data in current cache all is currently used number
According to, and the timestamp of involved page is updated, which is recorded in the timestamp.It optionally, can will most
New record to renewal time replace last renewal time, to reduce the resource occupation of renewal time.
Step 308, according to the free time length of each recyclable memory page and dependence ratio-dependent duration threshold value.
Duration threshold value indicates the critical numerical value for deciding whether to recycle recyclable memory page.Duration threshold value can root
The dependence ratio of application to be processed is determined, free time length according to the free time length and foreground application of each recyclable memory page
Different or dependence ratio is different, and identified duration threshold value is also not necessarily identical.
In one embodiment, electronic equipment can calculate the weighted average of the free time length of all recyclable memory pages,
Or can also to choose a free time length from the free time length of all recyclable memory pages, by the free time length of selection or
The calculated weighted average of person, which is used as, refers to duration, and is arranged between different reference durations, dependence ratio and duration threshold value
Corresponding relationship, according to the corresponding relationship obtain with this with reference to duration and the corresponding duration threshold value of dependence ratio.Such as it can be at this
In the free time length for all recyclable memory pages that application to be processed occupies, choose in being close with median, or place
In the free time length on a certain position that sorts, using the free time length of selection as with reference to duration.Wherein, duration threshold value and dependence
Ratio and reference duration are positively correlated, bigger with reference to duration, and/or dependence ratio is bigger, then corresponding determining duration threshold value
It is bigger.
Step 310, the page that free time length is more than duration threshold value is chosen from recyclable memory page to be recycled.
Electronic equipment can be according to identified duration threshold value, from the recyclable memory page that the application to be processed occupies, choosing
Taking free time length is more than that the page of the duration threshold value is recycled, and to release the recyclable memory page of the duration threshold value, is supplied
Foreground application or other application are used, and the integrated treatment efficiency of system is improved.Optionally, electronic equipment can by it is above-mentioned into
Journey Memory recycle module 234 carries out the recycling of page according to the duration threshold value from recyclable memory page, and release long-time is not
The memory used, improve memory service efficiency, and make recycle page after, influenced caused by the application to be processed also compared with
It is small.In one embodiment, the storing data in the memory of recycling can store to the non-volatile memory medium of electronic equipment or
It in other external storage mediums, for example can be to store the storing data in the memory of recycling to the flash memory of electronic equipment
Or in the non-volatile memory medium built in hard disk etc..
For example, recyclable memory page has page 100, and corresponding free time length is respectively between 5 seconds to 15 minutes, when
When determining duration threshold value is 5 minutes, the page that free time length is more than 5 minutes can be recycled from the page of page 100,
The page of recycling is discharged, so that the idle page of electronic equipment accordingly increases, and can be supplied to foreground application
Or other background applications are used.
Above-mentioned internal memory processing method, when by obtaining the occupied recyclable memory page of application to be processed and its free time
It is long, and the dependence ratio to be processed applied and relied on by foreground application is obtained, then according to the free time length and dependence ratio come really
Periodically long threshold value, and the page for being more than duration threshold value to free time length recycles, since the object of recycling is in recyclable
Page is deposited, and is not necessarily that all recyclable memory pages are recycled, but according to the sky with each recyclable memory page
The dependence ratio that idle length and application to be processed are relied on by foreground application, choosing free time length is more than corresponding duration threshold value
Page is recycled, and further reduced the influence on system operation to application and foreground application to be processed, and the page recycled can
It releases and is used for other application, guaranteed in the case where whole system memory becomes larger, most to the negative effect of each application
It is small, and memory service efficiency is improved, maintain the balance between the recycling and operation to application memory to be processed.
In one embodiment, step 304 includes: whether to detect the data stored in each recyclable memory page by foreground
Using dependence;The dependence ratio to be processed applied and relied on by foreground application is determined according to testing result.
Testing result includes that page is not relied on by foreground application or relied on by foreground application.Electronic equipment can for for
Each recyclable memory page for being distributed of processing application, detect the data stored in correspondence memory page within a preset period of time whether
It is used and arrives by foreground application, if so, determining that the page is relied on by the foreground application.Or it can be answered for the foreground
With detecting it within a preset period of time, if having to use and stored in the recyclable memory page distributed by be processed apply
Data, and determine that the page used is relied on by foreground application.Wherein, which can be to be at current time
The period of preset duration only namely nearest period, the when a length of preset duration of the nearest period, which can
It to be empirically worth any appropriate duration of setting, for example is 10 minutes or half an hour etc..Or the preset time period is also
The period of front stage operation can be currently held in for foreground application.For example, foreground application 10 points 20 seconds 35 minutes to current time,
It is held in front stage operation, then current slot is 10 points of 35 minute 20 seconds periods to current time.
Optionally, which can receive for the dependence sum of the recyclable memory page relied on by foreground application and client
The ratio between sum of page.By detecting whether the data stored in each recyclable memory page are relied on by foreground application;In turn
The dependence ratio to be processed applied and relied on by foreground application is determined according to testing result, and the standard of identified dependence ratio can be improved
True property.
In one embodiment, step 310 includes: that free time length is chosen from recyclable memory page more than duration threshold value
, not by foreground application rely on page recycled.
Electronic equipment can further reject the page relied on by foreground application, never be relied on by foreground application recyclable
Free time length is chosen in page and is more than the page of duration threshold value, and the page of selection is recycled.By never by
The page that free time length is more than duration threshold value is chosen in the page that foreground application relies on to be recycled, and can prevent from being answered by foreground
It is recovered with the page of dependence and foreground application is impacted.
In one embodiment, in one embodiment, step 306 includes: to obtain the time of each recyclable memory page
The renewal time of stamp record, the free time length of corresponding recyclable memory page is calculated according to renewal time.
Electronic equipment can create one by above-mentioned resource prioritization and limitation management module 222 for each page
Timestamp, the timestamp indicate the time that corresponding page is used recently for recording corresponding renewal time, renewal time.
When detect memory in each page by use, the renewal time that the timestamp can be recorded be updated.
Wherein, it initiates whenever the last time to situations such as the distribution, recycling, release of page, or delays in processor
The case where service condition deposited is inquired determines to use the data for the page being accordingly related to, and will produce
System time under raw corresponding situation is as the renewal time.It, can be according to the timestamp when starting to execute Memory recycle mechanism
The renewal time of record and present system time can calculate the free time length of corresponding page.Current time is nearest with this
The difference of time is the free time length to correspondence memory page.
Renewal time recording each recyclable memory page in the way of software creation time stamp, more according to this
The new time determines free time length, can effectively be compatible with different processors, improve the versatility to Memory recycle.
In one embodiment, step 306 includes: to obtain by the way that the every of LRU management unit records is not used at most recently
The renewal time of a recyclable memory page calculates the free time length of corresponding recyclable memory page according to renewal time.
In memory management in the processor or cache unit, setting is corresponding to be not used (Least at most recently
Recently Used, LRU) administrative unit, for being counted to the memory used recently.LRU administrative unit is recordable every
The renewal time of a memory address and the memory address, when the memory of a certain address is used to, processor will be corresponding
Memory address and renewal time are put into LRU administrative unit and save.It, can be according to the memory when starting to execute Memory recycle mechanism
Corresponding relationship between address and page would know that the corresponding page of each memory address, and then can be from LRU administrative unit
The middle renewal time for reading corresponding page.Wherein, it initiates whenever the last time to feelings such as the distribution, recycling, release of page
Shape, or the case where inquire the service condition cached in processor, determine the number to the page being accordingly related to
According to being used, and the system time under corresponding situation will be generated as the renewal time.
After LRU administrative unit is used completely, it can produce interrupting information and notify operating system, operating system is reading LRU pipe
Data therein can be emptied after managing the data of unit, so that LRU administrative unit can restart work, store each memory address
And its information such as corresponding renewal time.
In the present embodiment, by creating LRU administrative unit, the service condition of each memory can be accurately tracked, is mentioned
The accuracy of the high renewal time detection to page, also improves the convenience of Memory recycle.
In one embodiment, step 308 include: calculated according to the free time length of each recyclable memory page it is to be processed
Using the average free duration to recyclable memory page;According to average free duration and rely on ratio-dependent duration threshold value.
Average free duration can be applied in occupied recyclable memory page to be to be processed, the occupancy duration of each page
Average value.Electronic equipment can call corresponding computing unit to be counted according to the occupancy duration of each page counted on
It calculates, to calculate the average free duration.Optionally, can using calculated average free duration as above-mentioned reference duration,
And duration threshold value is determined with reference to duration and dependence ratio according to this.
By determining duration threshold value according to average free duration and dependence ratio, the effect of the calculating to duration threshold value can be improved
Rate, and calculate simply, to also correspondingly increase the efficiency to Memory recycle.
In one embodiment, as shown in figure 4, step 308 includes:
Step 402, it obtains and the corresponding relationship to be processed using between corresponding recycling ratio and restarting duration.
After restarting duration refers to that the recyclable memory page that application to be processed occupies is recovered corresponding recycling ratio, then
The duration spent when secondary starting.The corresponding relationship indicates that this, using in shared memory, recycles the recyclable memory of different proportion
Afterwards, corresponding restarting duration.Optionally, which can be between corresponding recycling ratio and restarting duration
The table of comparisons, or recycling proportional curve.The curve is corresponding restarting duration under different recycling ratios.According to the correspondence
Relationship chooses suitable recycling ratio referring to different restarting durations, as the recyclable memory occupied to the application
The recycling ratio of page.
Step 404, according to corresponding between the ratio of dependence and recyclable memory page and recycling ratio and restarting duration
Relationship determines the recycling quantity of page.
The settable corresponding starting duration threshold value of electronic equipment, when restarting duration is reached the starting duration threshold value,
Corresponding ratio is as the reference ratio to recyclable memory page.Starting duration threshold value can be preset empirical value, and difference is answered
Can be not necessarily identical with corresponding starting duration threshold value, such as can be corresponding to determine according to the normal starting duration of corresponding application
Starting duration threshold value, using 1.5 times of normal starting duration or 2 times of duration as the starting duration threshold value.It is indicated with reference to ratio
Reference to page recycling ratio.According to determining reference ratio, in conjunction with the total of the ratio of dependence and recyclable memory page
Number determines the recycling quantity to recyclable memory page.Recycling quantity is the recycling quantity to page, which is positive integer.
In one embodiment, pair between ratio and restarting duration is recycled in the application of different application types
It should be related to also not necessarily identical.The application type is the influence on system operation of application to be processed to be arranged according to after to Memory recycle
Type.Application type includes unrelated class, linear class and non-linear class.Unrelated class is indicated to the recyclable interior of application to be processed
After being stored back to receipts, no matter recycle how much, to it is corresponding application and do not make significant difference.Linear class is indicated with to recyclable memory
Recycling ratio increases, and the restarting duration of corresponding application is consequently increased, wherein the restarting duration and recycling ratio
Relationship linear or close to linear increase between example.Non-linear class indicates other types neither unrelated class also non-linear class.
Wherein, not making significant difference indicates that the corresponding restarting duration of different recycling ratios is equal beyond ratio compared to normal starting duration
Less than preset proportional region.The restarting gone out close to linear expression difference recycling ratio according to the close slope fit of correspondence
Duration, the error between the restarting duration under corresponding recycling ratio are no more than the error in preset range.
For example, as shown in Fig. 5 A, 5B to 5C, unrelated class, linear class and non-linear class respectively in one embodiment
Application recycling proportional curve.Wherein, the abscissa in the recycling proportional curve indicates recycling ratio, and ordinate expression is in
Restarting duration under corresponding recycling ratio.Wherein, the recycling proportional curve of unrelated class, which has reflected, applies and can return
Page is received after being recycled in different recycling ratios, corresponding restarting duration does not change or varies less.
Under different recycling ratios, corresponding slope does not change or varies less the recycling proportional curve of linear class, and non-thread
Then some places slope is larger for the recycling proportional curve of property class, and some places slope is relatively small.For the application of non-linear class,
The corresponding recycling ratio of minimum slope can be chosen, as the recycling ratio to recyclable memory page, i.e., as above-mentioned reference than
Example.
Electronic equipment is directed to different applications, when recycling corresponding restarting after memory according to different recycling ratio
It is long, affiliated application type is applied provided with this, and be arranged corresponding with the application type with reference to ratio.It is recyclable interior according to this
Deposit page, dependence ratio recycling quantity corresponding with reference ratio-dependent.Further, with reference to ratio and ratio can be relied on according to this
Example, determines the recycling ratio of recyclable memory page occupied to application to be processed, so can by determining recycling ratio with can return
The sum for receiving page is multiplied, and the product of calculating is as recycling quantity.
When the product quantity is not integer, can choose with the approximate integer of the product, such as can according to four house five
The mode entered determines that an immediate integer can be determined as recycling quantity, or also according to modes such as truncation method or transfer methods
Corresponding integer is as recycling quantity.
Illustrated for determining recyclable quantity in the way of rounding up.For example, when recyclable memory page has page 100
When, if recycling ratio is 30.5%, obtained product is 30.5, then page 31 can be recycled from the recyclable memory pages of page 100, if
When recycling ratio is 21.2%, then page 21 can be recycled.
By determining recycling quantity according to the restarting duration, further maintains and application memory to be processed is returned
Receive the balance between operation.
Step 406, when choosing the K big free time from the free time length of each recyclable memory page according to recycling quantity
It is long, using the free time length of selection as duration threshold value.
Wherein, the quantity of the free time length big more than K is recycling quantity, and K is no more than the natural number of recycling quantity.Electricity
Sub- equipment can be ranked up from big to small according to the free time length of each recyclable memory page, and choose the big free time length of K,
Using the free time length as duration threshold value.Wherein, the quantity of the free time length big more than K is the recycling quantity.It can manage
Xie Di, K are no more than the natural number of recycling quantity.For example, the total quantity of recyclable memory page has 100, when determining returns
When to receive quantity be 50, then K=51 can be from the free time length of 100 recyclable memory pages, when choosing for the 51st big free time
Long, using the free time length as duration threshold value, and choosing free time length is more than in 50 recycling of the 51st big free time length
Page is deposited to be recycled.
By choosing the big free time length of K as duration threshold value, improve recyclable memory is recycled it is flexible
Property.
In one embodiment, step 302 includes: inquiry all pages to be processed using occupied memory;From
Recyclable memory page is obtained in all pages.
Optionally, electronic equipment can record the different pages using occupied memory in real time, and be directed to each quilt
The page of occupancy, further records whether it can be recovered in real time.For example, when there are the data in a certain page by
Other application or application to be processed institute in use, then determine that the page is expendable page, when be recorded by
Data in the page of occupancy are in nothing using state, or in the nothing
When preset duration, then determine the page for recyclable memory page.
For application to be processed, all pages occupied by it can be inquired from pre-recorded information, and according to institute
The use state of each page of record, determines whether it is recyclable memory page, then obtains all recyclable memories
Page.
In one embodiment, all pages to be processed using occupied memory are inquired, comprising: traversal is to be processed
The Memory Mapping File of application;All pages that application to be processed occupies are inquired by Memory Mapping File.
Memory Mapping File (Memory-Mapped Files) is by the mapping of a file to one piece of memory.Electronics is set
It is standby to establish corresponding Memory Mapping File for the application to be processed, it is provided in the Memory Mapping File corresponding using institute
The page of occupancy, by traversing the corresponding Memory Mapping File of application to be processed, and from each memory mapping traversed
The page that the application to be processed occupies is read in file, it is to be processed using occupied all memories so as to get this
Page, improve to application to be processed occupy page search efficiency and inquiry it is comprehensive.
In one embodiment, recyclable memory page is obtained from all pages, comprising: reject from all pages
Carry the page for occupying label;Recyclable memory page is obtained from the page after rejecting.
Wherein, for inquiring by be processed using occupied all pages, electronic equipment is detectable each
Whether whether the page inquired carries occupancy label, or occupied by multiple applications.Wherein, label expression pair is occupied
The data stored in the page answered, which are in, uses or data therein are to be processed apply application to be processed
It keeps during operating normally, indispensable data, it is to be processed to apply or normally transport after the data are deleted
Row, or need to occupy new page repeatedly to store corresponding data, for this kind of data detected, electronic equipment can
The page for storing such data is arranged occupancy label, to indicate that corresponding page cannot recycle.
In the page occupied by application to be processed, wherein the data stored are also possible to be used by other application, that is, have
Multiple applications can also be arranged occupancy label, set electronics using the data in the page for such page
It is standby equally to be rejected, to indicate not recycled from such page.
For the page after rejecting, the page remained is recyclable memory page, and electronic equipment can be interior from this
It deposits and carries out Memory recycle in page.
In one embodiment, electronic equipment can call resource prioritization and limitation management module 222 as shown in Figure 2
To traverse the Memory Mapping File of application to be processed;All memories that application to be processed occupies are inquired by Memory Mapping File
Page, and detect whether each page is recyclable memory page by the resource prioritization and limitation management module 222, for not
Corresponding occupancy label is arranged in recyclable memory page, while recording occupied by the whether also multiple applications of each page, from inquiry
The page for carrying and occupying label and/or being occupied by multiple applications is rejected in all pages out;From the page after rejecting
Middle acquisition recyclable memory page.
In one embodiment, the above method further include: when it is to be processed application with there are communication mechanisms between foreground application
Or when synchronization mechanism, determine that application to be processed is relied on by foreground application.
In one embodiment, when it is to be processed application with there are socket communicate between foreground application, binder communicate, it is interior
When depositing shared or lock waiting, determine that there are communication mechanisms between background process and foreground application.
It can detect whether there is the backstage that there is communication mechanism with foreground application by any one or a few following mode
Process:
(1) detect whether there is the background process that with foreground application there is socket and/or binder to communicate;
(2) detect whether there is the background process that memory sharing is carried out between foreground application;
(3) background process stayed in lock resource there are foreground application etc. is detected whether.
Electronic equipment can lead to between foreground application and background process with the presence or absence of Binder in setting in Binder driving
The testing mechanism of letter, and it is invoked at the testing mechanism being arranged in Binder driving, to detect that there are Binder with foreground application
The background process of communication, the background process that will test out are determined as the background process relied on by foreground application.
In one embodiment, electronic equipment can detect each lock resource, and lock resource includes thread lock, file handle, letter
Number etc..For each lock resource, it can detect whether that lock, which occurs, to be waited, i.e. lock resource waits.It, can when detecting that generating lock waits
Further detect whether the behavior waited occurs in foreground application.If so, traversal etc. stays in above the lock resource
All background process, will test etc. after the background process that stays in the lock resource is judged to being relied on by foreground application
Platform process.
In one embodiment, lock monitoring resource module and excellent can be arranged in electronic equipment in the kernel spacing of operating system
First grade adjusts module, and lock monitoring resource module is embedded into the primary waiting interface of kernel.Pass through the lock monitoring resource mould
Block, detects thread lock, file handle, and signal etc. locks various lock resources, if waits, whether the behavior waited is hair
Life is on foreground application, and if it is generation on foreground task, then the message that will test is sent to priority adjustment mould
Block.The lock resource all of the above background thread is stayed in by priority adjustment traversal etc., these background process are determined as
The background process relied on by foreground application.
In one embodiment, when, there are when synchronization mechanism, judgement has synchronous machine between background process and foreground application
The application to be processed of system is the background process relied on by foreground application.
Electronic equipment can also be by calling futex system to call in detection background process set, if exists and answers with foreground
With the background process with synchronization mechanism, backstage that the background process with synchronization mechanism is judged to being relied on by foreground application into
Journey.
In concurrent program design, each process must restrict the access of public variable, and this restriction is known as synchronizing.?
In operating system, the synchronization mechanism of User space (user mode) can be realized by calling futex system to call.Wherein, User space
Refer to unprivileged.Synchronization mechanism includes semaphore, mutual exclusion lock etc..It is detected and foreground application when by futex system calling
There are when the background process of any one synchronization mechanism, the background process that can be will test is determined as by after foreground application dependence
Platform process.
By the detection to communication mechanism and/or synchronization mechanism between foreground application and background process, will test out
The background process that with foreground application there is the background process of communication mechanism and/or synchronization mechanism to be judged to being relied on by foreground application,
The efficiency of the detection to the application to be processed relied on by foreground application can be improved.
In one embodiment, as shown in fig. 6, providing another internal memory processing method, this method comprises:
Step 602, the Memory Mapping File of application to be processed is traversed;Application to be processed is inquired by Memory Mapping File to account for
All pages.
In one embodiment, electronic equipment can the memory usage for detecting system be more than preset ratio when, or
Receive user's operation and trigger Memory recycle instruction when, trigger to Memory recycle mechanism, and from all running applications
Middle determination needs to carry out the application of Memory recycle, and identified application is the application to be processed.
In one embodiment, after electronic equipment can be switched to backstage from foreground detecting a certain application, and by flat
Platform freezes to trigger the Memory recycle mechanism to the application after the application is arranged to process deep freezing mode by management module 224.
Electronic equipment can be traversed by above-mentioned resource prioritization and limitation management module 222 in the application to be processed
Mapped file is deposited, inquires the page occupied by application to be processed, from each Memory Mapping File traversed so as to look into
Ask out all pages that the application to be processed occupies.
Step 604, the page for carrying and occupying label is rejected from all pages;It is obtained from the page after rejecting
Recyclable memory page.
For each page inquired, secondary traversal can be carried out, secondary traversal for detect each inquire it is interior
Deposit whether page is recyclable memory page, when detecting to carry the page for occupying label, then determines that the page is that can not return
Page is received, and the page is rejected, the page obtained after secondary traversal is recyclable memory page, and electronics is set
It is recycled for page can be chosen from all recyclable memory pages.By secondary traversal, can be improved to recyclable memory
Page detects comprehensive.
Step 606, detect whether the data stored in each recyclable memory page are relied on by foreground application;It is tied according to detection
Fruit determines the dependence ratio to be processed applied and relied on by foreground application.
Wherein, when application to be processed and between foreground application there are when communication mechanism or synchronization mechanism, determine to be processed answer
It is relied on by foreground application, and detect that the foreground application specifically relies on is the data stored in which recyclable memory page, root
Dependence ratio is determined according to the testing result.Testing result includes that page is not relied on by foreground application or relied on by foreground application.
Dependence ratio can be the ratio between the sum of the dependence sum and client's receipts page of the recyclable memory page relied on by foreground application.
When application to be processed is not relied on by foreground application, then the dependence ratio is 0.
For the page relied on by application detected, corresponding dependence mark can be set for the page, so that root
It would know that corresponding page is relied on by which specific application according to dependence mark.And then it is according to each recyclable memory page
It is no corresponding dependence mark to be set and the dependence identifies whether it is to indicate to be relied on by foreground application, so as to calculate
It is to be processed to apply the dependence ratio relied on by foreground application.In one embodiment, it can be determined according to the preset time period pair
The validity that mark should be relied on keeps set dependence to identify effectively, in pre- when within corresponding preset time period
If when except the period, set dependence mark can be cancelled.Mark is relied on by setting, calculates dependence ratio so that can be improved
The efficiency of example.
Step 608, application to be processed is obtained to the free time length of each recyclable memory page.
In one embodiment, the renewal time that the timestamp record of each recyclable memory page can be obtained, according to update
Time calculates the free time length of corresponding recyclable memory page.
In one embodiment, it can also obtain recyclable by the way that each of LRU management unit records are not used at most recently
The renewal time of page calculates the free time length of corresponding recyclable memory page according to renewal time.
Step 610, according to the free time length of each recyclable memory page and dependence ratio-dependent duration threshold value.
In one embodiment, application to be processed is calculated to recyclable according to the free time length of each recyclable memory page
The average free duration of page;According to average free duration and rely on ratio-dependent duration threshold value.
In one embodiment, can also according to obtain corresponding with application to be processed recycling ratio and restarting duration it
Between corresponding relationship, and determine according to the dependence ratio and corresponding relationship the recycling quantity to page;Then according to recycling
Quantity chooses the big free time length of K from the free time length of recyclable memory page, using the free time length of selection as duration threshold
Value;The quantity of the free time length big more than K is recycling quantity, and K is no more than the natural number of recycling quantity.
Step 612, from recyclable memory page choose free time length be more than duration threshold value, by foreground application rely on
Page is recycled.
Further, the big free time length of K never can be chosen as duration threshold in the page of foreground application dependence
Value.In the page not relied on by foreground application, the quantity of the free time length big more than K is recycling quantity.That is,
The only sequence and selection to free time length is carried out in the page not relied on by foreground application.By never being relied on by foreground application
Page recycled, the influence to foreground application can be further decreased.
It should be understood that although each step in the flow chart of Fig. 3, Fig. 4 and Fig. 6 is successively shown according to the instruction of arrow
Show, but these steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, this
There is no stringent sequences to limit for the execution of a little steps, these steps can execute in other order.Moreover, Fig. 3, Fig. 4 and
At least part step in Fig. 6 may include that perhaps these sub-steps of multiple stages or stage be not necessarily for multiple sub-steps
It is so to execute completion in synchronization, but can execute at different times, these sub-steps or stage execute sequence
Also it is not necessarily and successively carries out, but can be at least part of the sub-step or stage of other steps or other steps
It executes in turn or alternately.
In one embodiment, as shown in fig. 7, providing a kind of memory processing unit, which includes: that page obtains
Module 702 relies on determining module 704, duration determining module 706 and Memory recycle module 708.Wherein, page obtains module
702 for obtaining the occupied recyclable memory page of application to be processed;Determining module 704 is relied on for obtaining application quilt to be processed
The dependence ratio that foreground application relies on;Duration determining module 706 is for obtaining application to be processed to each recyclable memory page
Free time length;According to the free time length of each recyclable memory page and rely on ratio-dependent duration threshold value;Memory recycle module 708
It is recycled for choosing the page that free time length is more than duration threshold value from recyclable memory page.
In one embodiment, page obtains module 702 and is also used to inquire the institute to be processed using occupied memory
There is page;The page for carrying and occupying label is rejected from all pages;It is obtained from the page after rejecting recyclable
Page.
In one embodiment, page obtains the Memory Mapping File that module 702 is also used to traverse application to be processed;It is logical
It crosses Memory Mapping File and inquires all pages that application to be processed occupies.
In one embodiment, it relies on determining module 704 and is also used to detect the data stored in each recyclable memory page
Whether relied on by foreground application;The dependence ratio to be processed applied and relied on by foreground application is determined according to testing result;Detection knot
Fruit includes that page is not relied on by foreground application or relied on by foreground application.
Memory recycle module 708 is more than duration threshold value, not preceding for choosing free time length from recyclable memory page
The page that platform application relies on is recycled.
In one embodiment, duration determining module 706 is also used to obtain the timestamp record of each recyclable memory page
Renewal time, the free time length of corresponding recyclable memory page is calculated according to renewal time.
In one embodiment, duration determining module 706 is also used to obtain by the way that LRU administrative unit is not used at most recently
The renewal time of each recyclable memory page of record, when calculating the free time of corresponding recyclable memory page according to renewal time
It is long.
In one embodiment, duration determining module 706 is also used to the free time length meter according to each recyclable memory page
Application to be processed is calculated to the average free duration of recyclable memory page;According to average free duration and rely on ratio-dependent duration
Threshold value.
In one embodiment, duration determining module 706 be also used to obtain corresponding with application to be processed recycling ratio and
Corresponding relationship between restarting duration;The recyclable memory page that restarting duration refers to that application to be processed occupies is recovered
After corresponding recycling ratio, the duration that is spent when being again started up;According to the ratio of dependence and recyclable memory page and recycling ratio
Corresponding relationship between restarting duration determines the recycling quantity of page;According to recycling quantity from each recyclable memory
The big free time length of K is chosen in the free time length of page, using the free time length of selection as duration threshold value;The sky big more than K
The long quantity of idle is recycling quantity, and K is no more than the natural number of recycling quantity.
In one embodiment, rely on determining module 704 be also used to when application to be processed with exist between foreground application it is logical
When letter mechanism or synchronization mechanism, determine that application to be processed is relied on by foreground application.
Above-mentioned memory processing unit, when by obtaining the occupied recyclable memory page of application to be processed and its free time
It is long, and the dependence ratio to be processed applied and relied on by foreground application is obtained, then according to the free time length and dependence ratio come really
Periodically long threshold value, and the page for being more than duration threshold value to free time length recycles, since the object of recycling is in recyclable
Page is deposited, and is not necessarily that all recyclable memory pages are recycled, but according to the sky with each recyclable memory page
The dependence ratio that idle length and application to be processed are relied on by foreground application, choosing free time length is more than corresponding duration threshold value
Page is recycled, and further reduced the influence on system operation to application and foreground application to be processed, and the page recycled can
It releases and is used for other application, guaranteed in the case where whole system memory becomes larger, most to the negative effect of each application
It is small, and memory service efficiency is improved, maintain the balance between the recycling and operation to application memory to be processed.
The division of modules is only used for for example, in other embodiments in above-mentioned memory processing unit, can will in
It deposits processing unit and is divided into different modules as required, to complete all or part of function of above-mentioned memory processing unit.
Specific about memory processing unit limits the restriction that may refer to above for internal memory processing method, herein not
It repeats again.Modules in above-mentioned memory processing unit can be realized fully or partially through software, hardware and combinations thereof.On
Stating each module can be embedded in the form of hardware or independently of in the processor in electronic equipment, can also be stored in a software form
In memory in electronic equipment, the corresponding operation of the above modules is executed in order to which processor calls.
Realizing for the modules in memory processing unit provided in the embodiment of the present application can be the shape of computer program
Formula.The computer program can be run on the electronic equipments such as terminal or server.The program module that the computer program is constituted can
It is stored on the memory of electronic equipment.When the computer program is executed by processor, realize described in the embodiment of the present application
Internal memory processing method the step of.
In one embodiment, a kind of electronic equipment is provided, including memory, processor and storage are on a memory simultaneously
The computer program that can be run on a processor, processor are realized when executing computer program in provided by the various embodiments described above
The step of depositing processing method.
In one embodiment, a kind of computer readable storage medium is additionally provided, on the computer readable storage medium
It is stored with computer program, when which executes processor, realizes memory described in each embodiment of the application
The step of processing method.
In one embodiment, a kind of computer program product comprising instruction is provided, when it runs on computers
When, so that computer executes internal memory processing method described in each embodiment of the application.
The embodiment of the present application also provides a kind of computer equipments.As shown in figure 8, for ease of description, illustrate only with
The relevant part of the embodiment of the present application, it is disclosed by specific technical details, please refer to the embodiment of the present application method part.The calculating
Machine equipment can be include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant),
Any terminal devices such as POS (Point of Sales, point-of-sale terminal), vehicle-mounted computer, wearable device are with computer equipment
For mobile phone:
Fig. 8 is the block diagram of the part-structure of mobile phone relevant to computer equipment provided by the embodiments of the present application.With reference to figure
8, mobile phone include: radio frequency (Radio Frequency, RF) circuit 810, memory 820, input unit 830, display unit 840,
Sensor 850, voicefrequency circuit 860, Wireless Fidelity (wireless fidelity, WiFi) module 870, processor 880 and
The components such as power supply 890.It will be understood by those skilled in the art that handset structure shown in Fig. 8 does not constitute the restriction to mobile phone, it can
To include perhaps combining certain components or different component layouts than illustrating more or fewer components.
Wherein, RF circuit 810 can be used for receiving and sending messages or communication process in, signal sends and receivees, can be by base station
After downlink information receives, handled to processor 880;The data of uplink can also be sent to base station.In general, RF circuit include but
Be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier,
LNA), duplexer etc..In addition, RF circuit 810 can also be communicated with network and other equipment by wireless communication.Above-mentioned channel radio
Any communication standard or agreement, including but not limited to global system for mobile communications (Global System of can be used in letter
Mobile communication, GSM), general packet radio service (General Packet Radio Service,
GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code
Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE)), Email,
Short message service (Short Messaging Service, SMS) etc..
Memory 820 can be used for storing software program and module, and processor 880 is stored in memory 820 by operation
Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 820 can mainly include
Program storage area and data storage area, wherein program storage area can application journey needed for storage program area, at least one function
Sequence (such as application program, application program of image player function of sound-playing function etc.) etc.;Data storage area can store root
Created data (such as audio data, address list etc.) etc. are used according to mobile phone.In addition, memory 820 may include high speed
Random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or
Other volatile solid-state parts.
Input unit 830 can be used for receiving the number or character information of input, and generate the user setting with mobile phone 800
And the related key signals input of function control.Specifically, input unit 830 may include touch panel 831 and other inputs
Equipment 832.Touch panel 831, alternatively referred to as touch screen collect touch operation (such as the user of user on it or nearby
Use the operation of any suitable object or attachment such as finger, stylus on touch panel 831 or near touch panel 831),
And corresponding attachment device is driven according to preset formula.In one embodiment, touch panel 831 may include touching inspection
Survey two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation
Bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and will
It is converted into contact coordinate, then gives processor 880, and can receive order that processor 880 is sent and be executed.In addition,
Touch panel 831 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch surface
Plate 831, input unit 830 can also include other input equipments 832.Specifically, other input equipments 832 may include but not
It is limited to one of physical keyboard, function key (such as volume control button, switch key etc.) etc. or a variety of.
Display unit 840 can be used for showing information input by user or be supplied to user information and mobile phone it is various
Menu.Display unit 840 may include display panel 841.In one embodiment, liquid crystal display (Liquid can be used
Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED)
To configure display panel 841.In one embodiment, touch panel 831 can cover display panel 841, when touch panel 831 is examined
After measuring touch operation on it or nearby, processor 880 is sent to determine the type of touch event, is followed by subsequent processing device
880 provide corresponding visual output according to the type of touch event on display panel 841.Although in fig. 8, touch panel
831 and display panel 841 are the input and input function for realizing mobile phone as two independent components, but in certain implementations
In example, can be integrated by touch panel 831 and display panel 841 and that realizes mobile phone output and input function.
Mobile phone 800 may also include at least one sensor 850, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 841, and proximity sensor can close display panel when mobile phone is moved in one's ear
841 and/or backlight.Motion sensor may include acceleration transducer, can detect by acceleration transducer and adds in all directions
The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture
Switching), Vibration identification correlation function (such as pedometer, tap) etc.;In addition, mobile phone can also configure gyroscope, barometer, humidity
Other sensors such as meter, thermometer, infrared sensor etc..
Voicefrequency circuit 860, loudspeaker 861 and microphone 862 can provide the audio interface between user and mobile phone.Audio-frequency electric
Electric signal after the audio data received conversion can be transferred to loudspeaker 861, be converted to sound by loudspeaker 861 by road 860
Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 862, is turned after being received by voicefrequency circuit 860
It is changed to audio data, then by after the processing of audio data output processor 880, another mobile phone can be sent to through RF circuit 810, or
Person exports audio data to memory 820 so as to subsequent processing.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 870
Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 8 is shown
WiFi module 870, but it is understood that, and it is not belonging to must be configured into for mobile phone 800, it can according to need and omit.
Processor 880 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to
It crosses operation or executes the software program and/or module being stored in memory 820, and call and be stored in memory 820
Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.In one embodiment, it handles
Device 880 may include one or more processing units.In one embodiment, processor 880 can integrate application processor and modulation
Demodulator, wherein the main processing operation system of application processor, user interface and application program etc.;Modem is mainly located
Reason wireless communication.It is understood that above-mentioned modem can not also be integrated into processor 880.For example, the processor
880 can integrate application processor and baseband processor, baseband processor with and the composable modem such as other peripheral chips.
Mobile phone 800 further includes the power supply 890 (such as battery) powered to all parts, it is preferred that power supply can pass through power management system
It unites logically contiguous with processor 880, to realize the function such as management charging, electric discharge and power managed by power-supply management system
Energy.
In one embodiment, mobile phone 800 can also include camera, bluetooth module etc..
In the embodiment of the present application, when processor included by the mobile phone executes the computer program of storage on a memory
Realize above-mentioned described internal memory processing method.
Any reference to memory, storage, database or other media used in this application may include non-volatile
And/or volatile memory.Suitable nonvolatile memory may include read-only memory (ROM), programming ROM (PROM),
Electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include arbitrary access
Memory (RAM), it is used as external cache.By way of illustration and not limitation, RAM is available in many forms, such as
It is static RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDR SDRAM), enhanced
SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM).
Above embodiments only express the several embodiments of the application, and the description thereof is more specific and detailed, but can not
Therefore it is interpreted as the limitation to the application the scope of the patents.It should be pointed out that for those of ordinary skill in the art,
Without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection model of the application
It encloses.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. a kind of internal memory processing method characterized by comprising
Obtain the occupied recyclable memory page of application to be processed;
Obtain the dependence ratio that the application to be processed is relied on by foreground application;
The application to be processed is obtained to the free time length of each recyclable memory page;
According to the free time length and the dependence ratio-dependent duration threshold value of each recyclable memory page;
The page that free time length is more than the duration threshold value is chosen from the recyclable memory page to be recycled.
2. the method according to claim 1, wherein the acquisition application to be processed is relied on by foreground application
Dependence ratio, comprising:
Detect whether the data stored in each recyclable memory page are relied on by foreground application;
The dependence ratio that the application to be processed is relied on by foreground application is determined according to testing result;The testing result includes interior
Page is deposited not relied on by foreground application or relied on by foreground application;
The free time length of choosing from the recyclable memory page is recycled more than the page of the duration threshold value, is wrapped
It includes:
Memory that free time length is more than the duration threshold value, not relied on by foreground application is chosen from the recyclable memory page
Page is recycled.
3. obtaining the application to be processed the method according to claim 1, wherein described and described being returned to each
Receive the free time length of page, comprising:
The renewal time of the timestamp record of each recyclable memory page is obtained, calculating correspondence according to the renewal time can return
Receive the free time length of page;Or
The renewal time for obtaining each recyclable memory page by the way that LRU management unit records are not used at most recently, according to institute
State the free time length that renewal time calculates corresponding recyclable memory page.
4. the method according to claim 1, wherein the sky according to each recyclable memory page
Idle length and the dependence ratio-dependent duration threshold value, comprising:
The application to be processed is calculated to recyclable memory page according to the free time length of each recyclable memory page
Average free duration;
According to the average free duration and the dependence ratio-dependent duration threshold value.
5. the method according to claim 1, wherein the sky according to each recyclable memory page
Idle length and the dependence ratio-dependent duration threshold value, comprising:
It obtains and the corresponding relationship to be processed using between corresponding recycling ratio and restarting duration;It is described secondary to open
After dynamic duration refers to that the recyclable memory page that the application to be processed occupies is recovered corresponding recycling ratio, institute when being again started up
The duration of cost;
According to corresponding between the dependence ratio and the recyclable memory page and the recycling ratio and restarting duration
Relationship determines the recycling quantity of the page;
When choosing the K big free time from the free time length of each recyclable memory page according to the recycling quantity
It is long, using the free time length of selection as duration threshold value;The quantity of the free time length big more than K is the recycling quantity, and K is not
More than the natural number of recycling quantity.
6. the method according to claim 1, wherein described obtain the occupied recyclable memory of application to be processed
Page, comprising:
Traverse the Memory Mapping File of application to be processed;
All pages that the application to be processed occupies are inquired by the Memory Mapping File;
The page for carrying and occupying label is rejected from all pages;
Recyclable memory page is obtained from the page after rejecting.
7. method according to any one of claim 1 to 6, which is characterized in that when the application to be processed is answered with foreground
There are when communication mechanism or synchronization mechanism between, the judgement application to be processed is relied on by foreground application.
8. a kind of memory processing unit, which is characterized in that described device includes:
Page obtains module, for obtaining the occupied recyclable memory page of application to be processed;
Determining module is relied on, the dependence ratio relied on for obtaining the application to be processed by foreground application;
Duration determining module, for obtaining the application to be processed to the free time length of each recyclable memory page;According to
The free time length and the dependence ratio-dependent duration threshold value of each recyclable memory page;
Memory recycle module, for choosing the page that free time length is more than the duration threshold value from the recyclable memory page
It is recycled.
9. a kind of electronic equipment, including memory and processor, computer program is stored in the memory, feature exists
In when the computer program is executed by the processor, so that the processor executes such as any one of claims 1 to 7
The step of the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
It realizes when being executed by processor such as the step of any one of claims 1 to 7 the method.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810023217.2A CN110018900B (en) | 2018-01-10 | 2018-01-10 | Memory processing method and device, electronic equipment and computer readable storage medium |
PCT/CN2018/125326 WO2019137258A1 (en) | 2018-01-10 | 2018-12-29 | Memory processing method, electronic device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810023217.2A CN110018900B (en) | 2018-01-10 | 2018-01-10 | Memory processing method and device, electronic equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110018900A true CN110018900A (en) | 2019-07-16 |
CN110018900B CN110018900B (en) | 2023-01-24 |
Family
ID=67188088
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810023217.2A Active CN110018900B (en) | 2018-01-10 | 2018-01-10 | Memory processing method and device, electronic equipment and computer readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110018900B (en) |
WO (1) | WO2019137258A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111625351A (en) * | 2020-05-12 | 2020-09-04 | Oppo(重庆)智能科技有限公司 | Method and device for recycling file pages, terminal and readable storage medium |
CN111949564A (en) * | 2020-08-13 | 2020-11-17 | 青岛海信传媒网络技术有限公司 | Memory exchange method and display device |
CN113392037A (en) * | 2020-03-12 | 2021-09-14 | 深圳市万普拉斯科技有限公司 | Memory recovery method and device, computer equipment and storage medium |
CN113590509A (en) * | 2020-04-30 | 2021-11-02 | 华为技术有限公司 | Page exchange method, storage system and electronic equipment |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111158910B (en) * | 2019-12-27 | 2024-01-12 | Oppo广东移动通信有限公司 | Memory management method and device, storage medium and electronic equipment |
CN111831440A (en) * | 2020-07-01 | 2020-10-27 | Oppo广东移动通信有限公司 | Memory recovery method and device, storage medium and electronic equipment |
CN112463374A (en) * | 2020-11-26 | 2021-03-09 | 中国第一汽车股份有限公司 | Memory management method, device, equipment and storage medium |
CN117130767A (en) * | 2023-02-08 | 2023-11-28 | 荣耀终端有限公司 | Method for recycling memory, electronic equipment and storage medium |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130036299A1 (en) * | 2011-08-02 | 2013-02-07 | Lenovo (Singapore) Pte, Ltd. | Method for increasing free memory amount of main memory and computer therefore |
WO2013027642A1 (en) * | 2011-08-19 | 2013-02-28 | Kabushiki Kaisha Toshiba | Information processing apparatus, method for controlling information processing apparatus, non-transitory recording medium storing control tool, host device, non-transitory recording medium storing performance evaluation tool, and performance evaluation method for external memory device |
CN103092700A (en) * | 2013-02-01 | 2013-05-08 | 华为终端有限公司 | Internal memory cleaning method and cleaning device and terminal device |
CN103324500A (en) * | 2013-05-06 | 2013-09-25 | 广州市动景计算机科技有限公司 | Method and device for recycling internal memory |
WO2014094472A1 (en) * | 2012-12-17 | 2014-06-26 | 华为技术有限公司 | Global memory sharing method and device and communication system |
US20150293854A1 (en) * | 2014-04-15 | 2015-10-15 | Advanced Micro Devices, Inc. | Dynamic remapping of cache lines |
US20150347181A1 (en) * | 2014-05-30 | 2015-12-03 | Apple Inc. | Resource management with dynamic resource policies |
CN105159777A (en) * | 2015-08-03 | 2015-12-16 | 中科创达软件股份有限公司 | Process memory collection method and apparatus |
CN105446814A (en) * | 2014-09-30 | 2016-03-30 | 青岛海信移动通信技术股份有限公司 | Cache recovery method and device |
US20160188247A1 (en) * | 2014-12-29 | 2016-06-30 | International Business Machines Corporation | Memory management in presence of asymmetrical memory transfer cost |
WO2016119605A1 (en) * | 2015-01-27 | 2016-08-04 | 阿里巴巴集团控股有限公司 | Method for memory allocation during application start in terminal and system thereof |
CN106331148A (en) * | 2016-09-14 | 2017-01-11 | 郑州云海信息技术有限公司 | Cache management method and cache management device for data reading by clients |
CN106569733A (en) * | 2015-10-12 | 2017-04-19 | 北京国双科技有限公司 | Processing method and processing device for buffered data |
WO2017114288A1 (en) * | 2015-12-31 | 2017-07-06 | 华为技术有限公司 | Memory collection method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103500121A (en) * | 2013-09-29 | 2014-01-08 | 深圳Tcl新技术有限公司 | Process managing method and device |
CN103631661B (en) * | 2013-11-27 | 2017-04-05 | 青岛海信电器股份有限公司 | A kind of EMS memory management process and device |
CN106354562B (en) * | 2016-08-25 | 2024-04-12 | 深圳市泰衡诺科技有限公司 | Memory cleaning system and memory cleaning method |
-
2018
- 2018-01-10 CN CN201810023217.2A patent/CN110018900B/en active Active
- 2018-12-29 WO PCT/CN2018/125326 patent/WO2019137258A1/en active Application Filing
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130036299A1 (en) * | 2011-08-02 | 2013-02-07 | Lenovo (Singapore) Pte, Ltd. | Method for increasing free memory amount of main memory and computer therefore |
WO2013027642A1 (en) * | 2011-08-19 | 2013-02-28 | Kabushiki Kaisha Toshiba | Information processing apparatus, method for controlling information processing apparatus, non-transitory recording medium storing control tool, host device, non-transitory recording medium storing performance evaluation tool, and performance evaluation method for external memory device |
WO2014094472A1 (en) * | 2012-12-17 | 2014-06-26 | 华为技术有限公司 | Global memory sharing method and device and communication system |
CN103092700A (en) * | 2013-02-01 | 2013-05-08 | 华为终端有限公司 | Internal memory cleaning method and cleaning device and terminal device |
CN103324500A (en) * | 2013-05-06 | 2013-09-25 | 广州市动景计算机科技有限公司 | Method and device for recycling internal memory |
US20150293854A1 (en) * | 2014-04-15 | 2015-10-15 | Advanced Micro Devices, Inc. | Dynamic remapping of cache lines |
US20150347181A1 (en) * | 2014-05-30 | 2015-12-03 | Apple Inc. | Resource management with dynamic resource policies |
CN105446814A (en) * | 2014-09-30 | 2016-03-30 | 青岛海信移动通信技术股份有限公司 | Cache recovery method and device |
US20160188247A1 (en) * | 2014-12-29 | 2016-06-30 | International Business Machines Corporation | Memory management in presence of asymmetrical memory transfer cost |
WO2016119605A1 (en) * | 2015-01-27 | 2016-08-04 | 阿里巴巴集团控股有限公司 | Method for memory allocation during application start in terminal and system thereof |
CN105159777A (en) * | 2015-08-03 | 2015-12-16 | 中科创达软件股份有限公司 | Process memory collection method and apparatus |
CN106569733A (en) * | 2015-10-12 | 2017-04-19 | 北京国双科技有限公司 | Processing method and processing device for buffered data |
WO2017114288A1 (en) * | 2015-12-31 | 2017-07-06 | 华为技术有限公司 | Memory collection method and device |
CN106331148A (en) * | 2016-09-14 | 2017-01-11 | 郑州云海信息技术有限公司 | Cache management method and cache management device for data reading by clients |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113392037A (en) * | 2020-03-12 | 2021-09-14 | 深圳市万普拉斯科技有限公司 | Memory recovery method and device, computer equipment and storage medium |
CN113590509A (en) * | 2020-04-30 | 2021-11-02 | 华为技术有限公司 | Page exchange method, storage system and electronic equipment |
WO2021218502A1 (en) * | 2020-04-30 | 2021-11-04 | 华为技术有限公司 | Page swapping method, storage system, and electronic device |
CN113590509B (en) * | 2020-04-30 | 2024-03-26 | 华为技术有限公司 | Page exchange method, storage system and electronic equipment |
CN111625351A (en) * | 2020-05-12 | 2020-09-04 | Oppo(重庆)智能科技有限公司 | Method and device for recycling file pages, terminal and readable storage medium |
CN111949564A (en) * | 2020-08-13 | 2020-11-17 | 青岛海信传媒网络技术有限公司 | Memory exchange method and display device |
CN111949564B (en) * | 2020-08-13 | 2024-05-17 | Vidaa(荷兰)国际控股有限公司 | Memory exchange method and display device |
Also Published As
Publication number | Publication date |
---|---|
CN110018900B (en) | 2023-01-24 |
WO2019137258A1 (en) | 2019-07-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110018900A (en) | Internal memory processing method and device, electronic equipment, computer readable storage medium | |
CN109992523A (en) | Internal memory processing method and device, electronic equipment, computer readable storage medium | |
CN109992402A (en) | Internal memory processing method and device, electronic equipment, computer readable storage medium | |
CN110018902A (en) | Internal memory processing method and device, electronic equipment, computer readable storage medium | |
CN109992393A (en) | Application processing method and device, electronic equipment, computer readable storage medium | |
CN107220076A (en) | A kind of method for recovering internal storage and device | |
CN110008008A (en) | Applied program processing method and device, electronic equipment, computer readable storage medium | |
CN109992398A (en) | Method for managing resource, device, mobile terminal and computer readable storage medium | |
CN109992397A (en) | Process handling method and device, electronic equipment, computer readable storage medium | |
CN109992522A (en) | Application processing method and device, electronic equipment, computer readable storage medium | |
CN109992367A (en) | Application processing method and device, electronic equipment, computer readable storage medium | |
CN110018904A (en) | Information processing method, device, computer equipment and computer readable storage medium | |
CN110032267A (en) | Information processing method, device, mobile terminal and computer readable storage medium | |
CN109992399B (en) | Resource management method, resource management device, mobile terminal and computer-readable storage medium | |
CN110032439A (en) | Method for managing resource, device, mobile terminal and computer readable storage medium | |
CN110018903A (en) | Method for managing resource, device, mobile terminal and computer readable storage medium | |
CN110018905A (en) | Information processing method, device, computer equipment and computer readable storage medium | |
CN110046032A (en) | Applied program processing method and device, electronic equipment, computer readable storage medium | |
CN110032397A (en) | Application processing method and device, electronic equipment, computer readable storage medium | |
CN109992360A (en) | Process handling method and device, electronic equipment, computer readable storage medium | |
CN109992363A (en) | Applied program processing method and device, electronic equipment, computer readable storage medium | |
CN109992309A (en) | Applied program processing method and device, electronic equipment, computer readable storage medium | |
CN110018885A (en) | Application program freezing method, device, storage medium and terminal | |
CN109375995A (en) | Using freezing method and device, storage medium, electronic equipment | |
CN110045811A (en) | Applied program processing method and device, electronic equipment, computer readable storage medium |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |