CN109697119A - Terminal Memory recycle processing method and processing device - Google Patents

Terminal Memory recycle processing method and processing device Download PDF

Info

Publication number
CN109697119A
CN109697119A CN201710985809.8A CN201710985809A CN109697119A CN 109697119 A CN109697119 A CN 109697119A CN 201710985809 A CN201710985809 A CN 201710985809A CN 109697119 A CN109697119 A CN 109697119A
Authority
CN
China
Prior art keywords
page
memory
page set
recycled
application system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710985809.8A
Other languages
Chinese (zh)
Inventor
古幼鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201710985809.8A priority Critical patent/CN109697119A/en
Priority to PCT/CN2018/111082 priority patent/WO2019076381A1/en
Publication of CN109697119A publication Critical patent/CN109697119A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5022Mechanisms to release resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Memory System (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The present invention provides a kind of terminal Memory recycle processing method and processing devices, wherein this method comprises: in the case where detecting that system free memory is less than preset threshold, triggering Memory recycle operation;Page set is determined by pre-defined algorithm;Determine application system belonging to each page in the page set;Page set to be recycled is determined from the page set according to the pre-set recycling ratio of each application system;Memory recycle processing is carried out according to the page set to be recycled, it solves the problems, such as not accounting for same management operation to the Different Effects of system for the same Memory recycle mechanism under multisystem in the related technology, reach in the heavy load of Installed System Memory, it still is able to guarantee that all system functions are unaffected, while not influencing or reducing the influence to user experience.

Description

Terminal Memory recycle processing method and processing device
Technical field
The present invention relates to the communications fields, in particular to a kind of terminal Memory recycle processing method and processing device.
Background technique
Memory is the keystone resources of system, when memory anxiety, just will appear Caton, reaction and the speed of service it is slack-off, appoint Business operation reports an error, even results in system reboot and collapse.Therefore, memory management is one of core technology of system, is to improving The stability of user experience and the system operation of system has key effect.Multisystem refers on the basis of an operating system nucleus Run multiple application systems.With the raising to mobile phone security requirement, multisystem is as raising handset security important technology Scheme is more and more applied.But EMS memory occupation can be significantly greatly increased in multisystem, it is therefore desirable to more for multisystem feature Managing internal memory well, otherwise in use, multisystem are easier various caused by memory anxiety ask occur than single system Topic.
The memory management of multisystem be based on the memory management of single system, for multisystem feature be adjusted with it is excellent Change.Main method has: 1) based on the method for resources control, the resources control mechanism provided using operating system nucleus (such as The cgroup of linux), the amount of ram being able to use to each system limits, and preventing some system from occupying excessive memory makes Other systems are not normally functioning.It is more than to permit when a system loading arrives again the disadvantages of the method are as follows the waste of resource can be generated Perhaps its internal memory quota used, even if another system committed memory is very low, free memory can not be taken out to current weight The system of load uses;2) User space program (such as Android ccf layer) is adjusted according to oneself system present case to memory Usage amount, such as when discovery oneself be background system when, more energetically release more memories in case other systems use.Base It is limited in the method releasing memory effect of User space program managing internal memory, and have side effect, releasing memory is to terminate this and be Process or some functions of modules in system are cost, influence the performance and function of this system.3) right in operating system nucleus All systems are managed collectively using memory, and this method can guarantee to will not influence each system in the function of operation Rate.But the memory that existing management method uses all systems is made no exception, and does not account for same management operation to system Different Effects.For example, memory swaps out when operating, selection swaps out page used in background system and in foreground system Page used in (user can interact with the system), has an impact to user experience, the foreground system if selection swaps out Page used in system, reduced performance thus user is more likely to experience caused by.
For not accounting for same management operation pair for the same Memory recycle mechanism under multisystem in the related technology The problem of Different Effects of system, not yet proposition solution.
Summary of the invention
The embodiment of the invention provides a kind of terminal Memory recycle processing method and processing devices, at least to solve in the related technology Not the problem of Different Effects of the same management operation to system are not accounted for for the same Memory recycle mechanism under multisystem.
According to one embodiment of present invention, a kind of terminal Memory recycle processing method is provided, the terminal is at least wrapped Include two application systems, comprising:
In the case where detecting that system free memory is less than preset threshold, triggering Memory recycle operation;
Page set is determined by pre-defined algorithm;
Determine application system belonging to each page in the page set;
Memory to be recycled is determined from the page set according to the pre-set recycling ratio of each application system Page set;
Memory recycle processing is carried out according to the page set to be recycled.
Optionally, determine that page set to be recycled includes: by pre-defined algorithm
It is determined as by page set not visited in approximate lru algorithm acquisition predetermined amount of time described to be recycled Page set.
Optionally it is determined that application system belonging to each page in the page set includes:
Obtain all processes of each page in the page set;
According to progress information determine each page belonging to application system.
Optionally, according to the pre-set recycling ratio of each application system, determination is to be recycled from the page set Page set include:
According to the priority of page in the pre-set recycling ratio of each application system and application system from described Page set to be recycled is determined in page set;Alternatively,
According to the pre-set recycling ratio of each application system, determination is to be recycled from the page set at random Page set.
Optionally, carrying out Memory recycle processing according to the page set to be recycled includes:
Page in the internal storage set to be recycled is discharged into available memory pool.
According to another embodiment of the invention, a kind of terminal Memory recycle processing unit is additionally provided, the terminal is extremely It less include two application systems, comprising:
Trigger module, in the case where detecting that system free memory is less than preset threshold, triggering Memory recycle operation;
First determining module, for determining page set by pre-defined algorithm;
Second determining module, for determining application system belonging to each page in the page set;
Third determining module is used for according to the pre-set recycling ratio of each application system from the page set Determine page set to be recycled;
Memory recycle module, for carrying out Memory recycle processing according to the page set to be recycled.
Optionally, first determining module, is also used to
It is determined as by page set not visited in approximate lru algorithm acquisition predetermined amount of time described to be recycled Page set.
Optionally, second determining module, is also used to
Obtain all processes of each page in the page set;
According to progress information determine each page belonging to application system.
Optionally, the third determining module, is also used to
According to the priority of page in the pre-set recycling ratio of each application system and application system from described Page set to be recycled is determined in page set;Alternatively,
According to the pre-set recycling ratio of each application system, determination is to be recycled from the page set at random Page set.
Optionally, the Memory recycle module, is also used to
Page in the internal storage set to be recycled is discharged into available memory pool.
According to still another embodiment of the invention, a kind of storage medium is additionally provided, the storage medium includes storage Program, wherein described program executes method described in any of the above embodiments when running.
According to still another embodiment of the invention, a kind of processor is additionally provided, the processor is used to run program, In, described program executes method described in any of the above embodiments when running.
Through the invention, on the basis of the existing algorithm of operating system nucleus carries out Memory recycle mechanism, along with pipe Influence of the reason operation to system belonging to the memory being managed considers that preferential selection is to what the performance of user experience was not affected The memory of system carries out reclaimer operation, solves and the same Memory recycle mechanism under multisystem is not accounted in the related technology The problem of same management operates the Different Effects to system, has reached in the heavy load of Installed System Memory, still has been able to protect It demonstrate,proves that all system functions are unaffected, while not influencing or reducing the influence to user experience.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the hardware block diagram of the mobile terminal of the terminal Memory recycle processing method of the embodiment of the present invention;
Fig. 2 is the flow chart of terminal Memory recycle processing method according to an embodiment of the present invention;
Fig. 3 is the flow chart of method for recovering internal storage according to an embodiment of the present invention;
Fig. 4 is the block diagram of terminal Memory recycle processing unit according to an embodiment of the present invention.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
Embodiment 1
Embodiment of the method provided by the embodiment of the present application one can be in mobile terminal, terminal or similar fortune It calculates and is executed in device.For running on mobile terminals, Fig. 1 is the terminal Memory recycle processing method of the embodiment of the present invention The hardware block diagram of mobile terminal, as shown in Figure 1, mobile terminal 10 may include one or two (only showing one in figure) (processor 102 can include but is not limited to the processing dress of Micro-processor MCV or programmable logic device FPGA etc. to processor 102 Set), memory 104 for storing data and the transmitting device 106 for communication function.Those of ordinary skill in the art It is appreciated that structure shown in FIG. 1 is only to illustrate, the structure of above-mentioned electronic device is not caused to limit.For example, mobile whole End 10 may also include than shown in Fig. 1 more perhaps less component or with the configuration different from shown in Fig. 1.
Memory 104 can be used for storing the software program and module of application software, such as the data in the embodiment of the present invention Corresponding program instruction/the module of transmission method, processor 102 by the software program that is stored in memory 104 of operation and Module realizes above-mentioned method thereby executing various function application and data processing.Memory 104 may include high speed with Machine memory, may also include nonvolatile memory, as one or two magnetic storage devices, flash memory or other it is non-easily The property lost solid-state memory.In some instances, memory 104 can further comprise depositing relative to processor 102 is remotely located Reservoir, these remote memories can pass through network connection to mobile terminal 10.The example of above-mentioned network is including but not limited to mutual Networking, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include The wireless network that the communication providers of mobile terminal 10 provide.In an example, transmitting device 106 includes a Network adaptation Device (Network Interface Controller, NIC), can be connected by base station with other network equipments so as to it is mutual Networking is communicated.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module, use In wirelessly being communicated with internet.
Based on above-mentioned mobile terminal, the embodiment of the present invention provides a kind of terminal Memory recycle processing method, the end End includes at least two application systems, and Fig. 2 is the flow chart of terminal Memory recycle processing method according to an embodiment of the present invention, such as Shown in Fig. 2, comprising:
Step S202, in the case where detecting that system free memory is less than preset threshold, triggering Memory recycle operation;
Step S204 determines page set by pre-defined algorithm;
Step S206 determines application system belonging to each page in the page set;
Step S208 is determined from the page set wait return according to the pre-set recycling ratio of each application system The page set of receipts;
Step S210 carries out Memory recycle processing according to the page set to be recycled.
Through the above steps, it on the basis of the existing algorithm of operating system nucleus carries out Memory recycle mechanism, adds Influence of the management operation to system belonging to the memory being managed considers that preferentially selection is not affected the performance of user experience The memory of system carries out reclaimer operation, solves and the same Memory recycle mechanism under multisystem is not accounted in the related technology The problem of operating the Different Effects to system to same management, has reached in the heavy load of Installed System Memory, still has been able to Guarantee that all system functions are unaffected, while not influencing or reducing the influence to user experience.
Optionally, determine that page set to be recycled includes: to have used letter according to the memory of record by pre-defined algorithm Breath obtains page set not visited in predetermined amount of time by approximate lru algorithm and is determined as the memory to be recycled Page set.
Optionally it is determined that application system belonging to each page in the page set includes: to obtain in described Deposit all processes of each page in page set;According to progress information determine each page belonging to application system.
Optionally, according to the pre-set recycling ratio of each application system, determination is to be recycled from the page set Page set include: according in the pre-set recycling ratio of each application system and application system page it is preferential Grade determines page set to be recycled from the page set;Alternatively, according to each application system pre-set time Receipts ratio determines page set to be recycled from the page set at random.
Optionally, including: according to the page set progress Memory recycle processing to be recycled will be described to be recycled Page in internal storage set is discharged into available memory pool.
As mobile phone is as carry-on information and data processing centre, there are various important and sensitive information and journey on mobile phone Sequence, such as Bank Account Number and password, contact information, operational application etc., there is an urgent need to mobile phone safety with higher, To protect the safety of these programs operation and data.This safety can effectively be reached using the dual system based on container, System used in daily life is run in one container, which has good open and ease of use, meets It is various easy-to-use in life;Operation needs the system of high security in another container, for example used under working environment System, the program and data of the system are all managed by stringent safety measure.When two systems are run, operating system is relied on The security mechanism that kernel provides carries out complete security isolation, and a system can not access any letter with sniff another system Breath and operating status, to ensure that security information is not leaked.Simultaneously as carrying out resource based on same operating system nucleus Management, two systems can be shared hardware resource (CPU, memory, I/O device etc.) again, guarantee performance and reduce hardware cost, improve Carry ease of use.
The embodiment of the present invention is further described by taking dual system as an example below.
A kind of EMS memory management process of dual system is present embodiments provided, Fig. 3 is stored back to according to an embodiment of the present invention The flow chart of receiving method, as shown in figure 3, its method flow is as follows:
Step S302, monitoring discovery memory is nervous, triggering Memory recycle operation;
Step S304 obtains recuperable page according to approximate lru algorithm using the memory usage information of record Set R1;
Step S306 obtains all processes for using this page for each page in R1, according to these into Which application system is journey belong to, and should belong to which application system to obtain page mutually;
Step S308 selects what needs recycled from R1 in proportion according to the pre-set recycling ratio value of each application system Page set R2;
Step S310, internal page set R2 executes Memory recycle and operates, in the page to the free time of system in release R2 In depositing.
Through the above steps, in the existing method base for carrying out memory management based on approximate lru algorithm of operating system nucleus On plinth, consider along with the management operates influence to system belonging to the memory being managed, preferential selection to user experience ( Be ensuring that foreground system) performance be not affected management operation, to reach in the heavy load of Installed System Memory, still It can so guarantee that all system functions are unaffected, while not influence or reducing the influence to user experience.
Optionally, Memory recycle specifically includes the following steps:
Step 1, monitoring discovery free memory is lower than threshold value, starting Memory recycle operation;
Step 2, recuperable page set is obtained according to approximate lru algorithm using the memory usage information of record R1;So-called approximation lru algorithm, exactly finds out page set not visited for a period of time recently;
Step 3, for each page in R1, will record each process using the page, and accordingly into It in journey information, and will record which application system is the process belong to, thus obtained which application system page belongs to;
Step 4, it is selected in proportion from R1 according to the pre-set recycling ratio value of each application system in needing to recycle Deposit page set R2;Assuming that there is two application systems of A, B, the recycling ratio that the recycling ratio that A is arranged is 1/3, B is 2/3, if wanted It selects N number of page to be recycled, then the number of pages for wherein belonging to application system A is N/3, belongs to the page number of application system B Mesh is 2N/3;
Step 5, internal page set R2 executes Memory recycle operation, the free memory of the page in release R2 to system In, the content of pages in R2 is written back in file or exchange partition, the page in R2 is then put into system free memory Chi Zhong can distribute to other memory users and use.
It is exemplified below by the concrete methods of realizing of recycling ratio value selection recycling page:
Assuming that there is two application systems of A, B, the recycling ratio that the recycling ratio that A is arranged is 1/3, B is 2/3, needs to select 6 A page is recycled, and initial R1 situation is following, and (MX indicates page label, indicates which the page belongs to and be in bracket System, putting in order indicates the priority orders of recycling, that is, comes being better than for front and come subsequent recycling):
M1 (A), M2 (A), M3 (B), M4 (A), M5 (A), M6 (B), M7 (B), M8 (B), M9 (A), M10 (B), M11 (A) M12 (B), M13 (A), M14 (B), M15 (A), M16 (A), M17 (A), M18 (B)
Then belong to A should have 2, and belong to B should have 4, then selects 2 for belonging to A respectively in order above The page, 4 pages for belonging to B are as follows: M1 (A), M2 (A), M3 (B), M6 (B), M7 (B), M8 (B).
In this algorithm, the sequence of the page set selection R2 in R1 can also unordered (random) or other sortords.
When the recycling ratio of application system is arranged, an obvious rule is the recycling ratio of foreground application system What is be arranged is more lower, and the page of guarantee foreground system in this way stays in systems as far as possible.
Embodiment 2
According to another embodiment of the invention, a kind of terminal Memory recycle processing unit is additionally provided, the terminal is extremely It include less two application systems, Fig. 4 is the block diagram of terminal Memory recycle processing unit according to an embodiment of the present invention, such as Fig. 4 institute Show, comprising:
Trigger module 42, in the case where detecting that system free memory is less than preset threshold, triggering Memory recycle behaviour Make;
First determining module 44, for determining page set by pre-defined algorithm;
Second determining module 46, for determining application system belonging to each page in the page set;
Third determining module 48, for according to the pre-set recycling ratio of each application system from the page set Middle determination page set to be recycled;
Memory recycle module 410, for carrying out Memory recycle processing according to the page set to be recycled.
Optionally, first determining module 44, is also used to
According to the memory of record use information, by approximate lru algorithm obtain in predetermined amount of time it is not visited in It deposits page set and is determined as the page set to be recycled.
Optionally, second determining module 46, is also used to
Obtain all processes of each page in the page set;
According to progress information determine each page belonging to application system.
Optionally, the third determining module 48, is also used to
According to the priority of page in the pre-set recycling ratio of each application system and application system from described Page set to be recycled is determined in page set;Alternatively,
According to the pre-set recycling ratio of each application system, determination is to be recycled from the page set at random Page set.
Optionally, the Memory recycle module 410, is also used to
Page in the internal storage set to be recycled is discharged into available memory pool.
Embodiment 3
The embodiments of the present invention also provide a kind of storage medium, which includes the program of storage, wherein above-mentioned Program executes method described in any of the above embodiments when running.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store the journey for executing following steps Sequence code:
S11, in the case where detecting that system free memory is less than preset threshold, triggering Memory recycle operation;
S12 determines page set by pre-defined algorithm;
S13 determines application system belonging to each page in the page set;
S14, according to the pre-set recycling ratio of each application system, determination is to be recycled from the page set Page set;
S15 carries out Memory recycle processing according to the page set to be recycled.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read- Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard The various media that can store program code such as disk, magnetic or disk.
Embodiment 4
The embodiments of the present invention also provide a kind of processor, the processor is for running program, wherein program operation Step in Shi Zhihang any of the above-described method.
Optionally, in the present embodiment, above procedure is for executing following steps:
S21, in the case where detecting that system free memory is less than preset threshold, triggering Memory recycle operation;
S22 determines page set by pre-defined algorithm;
S23 determines application system belonging to each page in the page set;
S24, according to the pre-set recycling ratio of each application system, determination is to be recycled from the page set Page set;
S25 carries out Memory recycle processing according to the page set to be recycled.
Optionally, the specific example in the present embodiment can be with reference to described in above-described embodiment and optional embodiment Example, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in two computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored It is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution herein Out or the step of description, perhaps they are fabricated to each integrated circuit modules or by two of which module or Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.It is all within principle of the invention, it is made it is any modification, etc. With replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of terminal Memory recycle processing method, the terminal includes at least two application systems characterized by comprising
In the case where detecting that system free memory is less than preset threshold, triggering Memory recycle operation;
Page set is determined by pre-defined algorithm;
Determine application system belonging to each page in the page set;
Page collection to be recycled is determined from the page set according to the pre-set recycling ratio of each application system It closes;
Memory recycle processing is carried out according to the page set to be recycled.
2. the method according to claim 1, wherein determining that page set includes: by pre-defined algorithm
Page set not visited in predetermined amount of time, which is obtained, by approximate lru algorithm is determined as the memory to be recycled Page set.
3. the method according to claim 1, wherein determining belonging to each page in the page set Application system include:
Obtain all processes of each page in the page set;
According to progress information determine each page belonging to application system.
4. the method according to claim 1, wherein according to the pre-set recycling ratio of each application system from Determine that page set to be recycled includes: in the page set
According to the priority of page in the pre-set recycling ratio of each application system and application system from the memory Page set to be recycled is determined in page set;Alternatively,
Memory to be recycled is determined from the page set at random according to the pre-set recycling ratio of each application system Page set.
5. the method according to claim 1, wherein according to being stored back in the page set progress to be recycled Receipts are handled
Page in the internal storage set to be recycled is discharged into available memory pool.
6. a kind of terminal Memory recycle processing unit, the terminal includes at least two application systems characterized by comprising
Trigger module, in the case where detecting that system free memory is less than preset threshold, triggering Memory recycle operation;
First determining module, for determining page set by pre-defined algorithm;
Second determining module, for determining application system belonging to each page in the page set;
Third determining module, for being determined from the page set according to the pre-set recycling ratio of each application system Page set to be recycled;
Memory recycle module, for carrying out Memory recycle processing according to the page set to be recycled.
7. device according to claim 6, which is characterized in that the third determining module is also used to
According to the priority of page in the pre-set recycling ratio of each application system and application system from the memory Page set to be recycled is determined in page set;Alternatively,
Memory to be recycled is determined from the page set at random according to the pre-set recycling ratio of each application system Page set.
8. device according to claim 6, which is characterized in that the Memory recycle module is also used to
Page in the internal storage set to be recycled is discharged into available memory pool.
9. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein when described program is run Method described in any one of perform claim requirement 1 to 5.
10. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run Benefit require any one of 1 to 5 described in method.
CN201710985809.8A 2017-10-20 2017-10-20 Terminal Memory recycle processing method and processing device Pending CN109697119A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710985809.8A CN109697119A (en) 2017-10-20 2017-10-20 Terminal Memory recycle processing method and processing device
PCT/CN2018/111082 WO2019076381A1 (en) 2017-10-20 2018-10-19 Terminal memory recycling processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710985809.8A CN109697119A (en) 2017-10-20 2017-10-20 Terminal Memory recycle processing method and processing device

Publications (1)

Publication Number Publication Date
CN109697119A true CN109697119A (en) 2019-04-30

Family

ID=66173547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710985809.8A Pending CN109697119A (en) 2017-10-20 2017-10-20 Terminal Memory recycle processing method and processing device

Country Status (2)

Country Link
CN (1) CN109697119A (en)
WO (1) WO2019076381A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110727606A (en) * 2019-09-27 2020-01-24 Oppo(重庆)智能科技有限公司 Memory recovery method and device and electronic equipment
CN111078586A (en) * 2019-12-10 2020-04-28 Oppo(重庆)智能科技有限公司 Memory recovery method and device, storage medium and electronic equipment
CN111177024A (en) * 2019-12-30 2020-05-19 青岛海尔科技有限公司 Memory optimization processing method and device
CN111522659A (en) * 2020-04-15 2020-08-11 联想(北京)有限公司 Space using method and device
CN111666226A (en) * 2020-06-16 2020-09-15 北京紫光展锐通信技术有限公司 Page bump protection method for operating system memory recovery and user equipment
WO2021057623A1 (en) * 2019-09-27 2021-04-01 Oppo广东移动通信有限公司 Memory recovery method and apparatus, electronic device and storage medium
WO2021254200A1 (en) * 2020-06-16 2021-12-23 北京紫光展锐通信技术有限公司 Page thrashing protection method and apparatus for memory reclaim of operating system
WO2022242683A1 (en) * 2021-05-19 2022-11-24 维沃移动通信有限公司 Memory recovery method and apparatus, and electronic device
CN116225976A (en) * 2023-05-05 2023-06-06 麒麟软件有限公司 Water line self-adjusting method and system under Linux operating system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166594A (en) * 2014-08-19 2014-11-26 杭州华为数字技术有限公司 Load balancing control method and related devices
CN104331337A (en) * 2014-11-25 2015-02-04 宇龙计算机通信科技(深圳)有限公司 System memory management method, system memory management device and terminal
CN106201717A (en) * 2016-07-01 2016-12-07 珠海市魅族科技有限公司 A kind of method managing Installed System Memory and terminal
US20170286288A1 (en) * 2016-03-30 2017-10-05 Sandisk Technologies Llc Method and System for Blending Data Reclamation and Data Integrity Garbage Collection

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103823714B (en) * 2014-01-15 2017-05-24 浙江大学 Virtualization-based method and device for adjusting QoS (quality of service) of node memory of NUMA (non uniform memory access architecture)
CN107220076B (en) * 2016-09-27 2018-10-30 华为技术有限公司 A kind of method for recovering internal storage and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166594A (en) * 2014-08-19 2014-11-26 杭州华为数字技术有限公司 Load balancing control method and related devices
CN104331337A (en) * 2014-11-25 2015-02-04 宇龙计算机通信科技(深圳)有限公司 System memory management method, system memory management device and terminal
US20170286288A1 (en) * 2016-03-30 2017-10-05 Sandisk Technologies Llc Method and System for Blending Data Reclamation and Data Integrity Garbage Collection
CN106201717A (en) * 2016-07-01 2016-12-07 珠海市魅族科技有限公司 A kind of method managing Installed System Memory and terminal

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021057623A1 (en) * 2019-09-27 2021-04-01 Oppo广东移动通信有限公司 Memory recovery method and apparatus, electronic device and storage medium
CN110727606A (en) * 2019-09-27 2020-01-24 Oppo(重庆)智能科技有限公司 Memory recovery method and device and electronic equipment
CN111078586A (en) * 2019-12-10 2020-04-28 Oppo(重庆)智能科技有限公司 Memory recovery method and device, storage medium and electronic equipment
CN111078586B (en) * 2019-12-10 2022-03-01 Oppo(重庆)智能科技有限公司 Memory recovery method and device, storage medium and electronic equipment
CN111177024B (en) * 2019-12-30 2022-09-06 青岛海尔科技有限公司 Memory optimization processing method and device
CN111177024A (en) * 2019-12-30 2020-05-19 青岛海尔科技有限公司 Memory optimization processing method and device
CN111522659A (en) * 2020-04-15 2020-08-11 联想(北京)有限公司 Space using method and device
CN111522659B (en) * 2020-04-15 2024-04-19 联想(北京)有限公司 Space use method and device
WO2021254200A1 (en) * 2020-06-16 2021-12-23 北京紫光展锐通信技术有限公司 Page thrashing protection method and apparatus for memory reclaim of operating system
CN111666226B (en) * 2020-06-16 2022-09-13 北京紫光展锐通信技术有限公司 Page bump protection method for operating system memory recovery and user equipment
CN111666226A (en) * 2020-06-16 2020-09-15 北京紫光展锐通信技术有限公司 Page bump protection method for operating system memory recovery and user equipment
WO2022242683A1 (en) * 2021-05-19 2022-11-24 维沃移动通信有限公司 Memory recovery method and apparatus, and electronic device
CN116225976A (en) * 2023-05-05 2023-06-06 麒麟软件有限公司 Water line self-adjusting method and system under Linux operating system
CN116225976B (en) * 2023-05-05 2023-08-08 麒麟软件有限公司 Water line self-adjusting method and system under Linux operating system

Also Published As

Publication number Publication date
WO2019076381A1 (en) 2019-04-25

Similar Documents

Publication Publication Date Title
CN109697119A (en) Terminal Memory recycle processing method and processing device
CN105701025B (en) A kind of method for recovering internal storage and device
EP2816792B1 (en) System and method for dynamically allocating quota for shared balances in distributed telecommunications networks
CN110333937A (en) Task distribution method, device, computer equipment and storage medium
EP3324660A1 (en) Communication control method and apparatus, terminal, and network platform
CN106973377B (en) The control method and control device and management equipment and terminal of data communication
KR101598008B1 (en) Method and apparatus for controlling terminal's access to a wireless network
CN110532197A (en) Method for recovering internal storage and device, electronic equipment, storage medium
CN110290024B (en) Method, device and equipment for testing strategy before online
CN112465615B (en) Method, device and system for processing bill data
CN107450709B (en) Application processing method, device, storage medium and electronic equipment
CN107748684A (en) Realize processing method, device, storage medium and the mobile terminal of self-starting
CN103543901B (en) The method and apparatus generating menu
CN104182704A (en) Safety strategy setting method, safety strategy setting device and terminal
US20190244438A1 (en) Car sharing settlement method and car sharing management system
CN103257700A (en) Energy saving method and energy saving device for Android system
WO2009131387A2 (en) Discontinuous access management method using waiting ticket for resource allocation control, waiting ticket management method, and resource allocation control method
CN104735103B (en) A kind of management of distributed data and method of reseptance, device
US9183375B2 (en) Use of resource up to extension value by subscription device
CN111132132A (en) Traffic management method and device and terminal equipment
CN106201490A (en) The method and device that a kind of optimization application is run
CN111861097B (en) Information processing method and device
CN106503543A (en) A kind of method and apparatus of management application program
CN105979496A (en) Residual traffic storing and using method and residual traffic storing and using device
CN102831340A (en) Unlock device and unlock method of electronic device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190430

RJ01 Rejection of invention patent application after publication