CN108509350A - The recovery method and device of memory - Google Patents
The recovery method and device of memory Download PDFInfo
- Publication number
- CN108509350A CN108509350A CN201710113908.7A CN201710113908A CN108509350A CN 108509350 A CN108509350 A CN 108509350A CN 201710113908 A CN201710113908 A CN 201710113908A CN 108509350 A CN108509350 A CN 108509350A
- Authority
- CN
- China
- Prior art keywords
- memory
- mobile device
- interactive operation
- take
- characteristic information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
-
- 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
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The present invention provides a kind of recovery method of memory and devices.Wherein, this method includes:Detect the first interactive operation of the memory for recycling mobile device;Determine target memory take-back model corresponding with the first interactive operation;Memory recycle is carried out to a kind of application corresponding with target memory take-back model in mobile device.The present invention, which solves internally to deposit into the related technology when row recycles, operates cumbersome technical problem.
Description
Technical field
The present invention relates to memory management fields, in particular to the recovery method and device of a kind of memory.
Background technology
Memory recycle mechanism used in current Intelligent mobile equipment can be divided into three kinds, the first is the automatic recycling in backstage
Mechanism, second is manual key reclaim mechanism, both mechanism one are to judge whether memory exceeds acquiescence limitation on backstage,
And unified recycling is carried out, another kind is internally to deposit into capable recycling after user's progress clicking operation, and both modes are from essence
On say, only time point and decision logic differ, and the principle of recycling is but all consistent, i.e., have directly recycled all interior
It deposits;The third mode is to deposit retrieval management interface inside one by one to recycle the memory of application.
Using first two Memory recycle mechanism, although can also make some needs exist always with abrupt release memory
The application of running background is out of service, to influence the experience of user;For the third Memory recycle mechanism, user couple is needed
Using Memory recycle is carried out one by one, simple operation is relatively low.
Cumbersome technical problem is operated for when internally depositing into row recycling in the related technology, is not yet proposed at present effective
Solution.
Invention content
An embodiment of the present invention provides a kind of recovery method of memory and devices, at least to solve in the related technology to memory
Cumbersome technical problem is operated when being recycled.
One side according to the ... of the embodiment of the present invention, provides a kind of recovery method of memory, and this method includes:It detects
The first interactive operation for the memory for recycling mobile device;Determine that target memory corresponding with the first interactive operation recycles mould
Formula;Memory recycle is carried out to a kind of application corresponding with target memory take-back model in mobile device.
Further, Memory recycle packet is carried out to a kind of application corresponding with target memory take-back model in mobile device
It includes:Obtain intended application characteristic information corresponding with target memory take-back model;Determine that characteristic information is believed with intended application feature
Cease matched a kind of application;Recycling is matched a kind of using occupied memory with intended application characteristic information.
Further, before the first interactive operation for detecting the memory for recycling mobile device, this method is also wrapped
It includes:Client is run on the mobile apparatus, wherein client is for providing memory management function;Displaying has on the client
Memory Management, wherein each Memory Management includes multiple Memory recycle patterns;It will be interacted with detect second
Corresponding Memory Management is operated as current Memory Management.
Further, after running client on the mobile apparatus, this method further includes:Input is received on the mobile apparatus
Apply characteristic information and corresponding Memory recycle pattern;Preserve all inputs applies characteristic information and corresponding Memory recycle
Pattern is the Memory Management increased newly.
Further, include at least one of using characteristic information:Apply Names, using frequency and apply institute
The size of committed memory.
Further, detect that the first interactive operation of the memory for recycling mobile device includes following one:It is moving
The first interactive operation for determining target memory take-back model is detected on the touch screen of dynamic equipment;Pass through the figure of mobile device
As identification module recognizes the first interactive operation for selection target Memory recycle pattern.
Further, it is determined that target memory take-back model corresponding with the first interactive operation includes following one:Determination is more
The Memory recycle pattern chosen by the first interactive operation in a Memory recycle pattern is target memory take-back model;It determines multiple
Memory recycle pattern corresponding with the pressure value of the first interactive operation is target memory take-back model in Memory recycle pattern.
Other side according to the ... of the embodiment of the present invention, provides a kind of retracting device of memory, which includes:Detection
Unit, the first interactive operation for detecting the memory for recycling mobile device;Determination unit is handed over for determining with first
Interoperate corresponding target memory take-back model;Recovery unit, for corresponding with target memory take-back model in mobile device
A kind of application carry out Memory recycle.
Further, recovery unit includes:Acquisition module is answered for obtaining target corresponding with target memory take-back model
Use characteristic information;First determining module, for determining the matched a kind of application of characteristic information and intended application characteristic information;Recycling
Module, it is matched a kind of using occupied memory with intended application characteristic information for recycling.
Further, which further includes:Running unit, for detecting of the memory for recycling mobile device
Before one interactive operation, client is run on the mobile apparatus, wherein client is for providing memory management function;Displaying is single
Member, for showing existing Memory Management on the client, wherein each Memory Management includes multiple Memory recycles
Pattern;Processing unit, for using Memory Management corresponding with the second interactive operation detected as current memory pipe
Reason scheme.
Further, which further includes:Receiving unit, after running client on the mobile apparatus, in movement
Input is received in equipment applies characteristic information and corresponding Memory recycle pattern;Storage unit, for preserving all inputs
It is newly-increased Memory Management using characteristic information and corresponding Memory recycle pattern.
Further, include at least one of using characteristic information:Apply Names, using frequency and apply institute
The size of committed memory.
Further, detection unit includes:First detection module is used for for being detected on the touch screen of mobile device
Determine the first interactive operation of target memory take-back model;Second detection module, for the image recognition mould by mobile device
Block recognizes the first interactive operation for selection target Memory recycle pattern.
Further, it is determined that unit includes:Second determining module is handed over for determining in multiple Memory recycle patterns by first
The chosen Memory recycle pattern of interoperability is target memory take-back model;Third determining module is stored back to for determining in multiple
Memory recycle pattern corresponding with the pressure value of the first interactive operation is target memory take-back model in receipts pattern.
According to another embodiment of the invention, a kind of storage medium is provided, storage medium can be set to store
Program code for executing following steps:Detect the first interactive operation of the memory for recycling mobile device;Determine with
The corresponding target memory take-back model of first interactive operation;One kind corresponding with target memory take-back model in mobile device is answered
With carrying out Memory recycle.
In embodiments of the present invention, the first interactive operation of the memory for recycling mobile device is detected;It determines and the
The corresponding target memory take-back model of one interactive operation;To a kind of application corresponding with target memory take-back model in mobile device
Memory recycle is carried out, cumbersome technical problem is operated when internally depositing into row recycling in the related technology to solve, realizes
Internally deposit into the technique effect of the convenient recycling of row.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and is constituted part of this application, this hair
Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of optional mobile terminal according to the ... of the embodiment of the present invention;
Fig. 2 is the flow chart of the recovery method of memory according to the ... of the embodiment of the present invention;
Fig. 3 is the flow chart of the recovery method of optional memory according to the ... of the embodiment of the present invention;
Fig. 4 is the schematic diagram at optional Memory Management interface according to the ... of the embodiment of the present invention;
Fig. 5 is the schematic diagram of the retracting device of memory according to the ... of the embodiment of the present invention.
Specific implementation mode
Come that the present invention will be described in detail below with reference to attached drawing and in conjunction with the embodiments.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 term " first " in description and claims of this specification and above-mentioned attached drawing, "
Two " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.
Embodiment 1
The embodiment of the method that the embodiment of the present application one is provided can be whole in mobile terminal (such as wearable device), computer
It is executed in end or similar arithmetic unit.For running on mobile terminals, as shown in Figure 1, mobile terminal may include
(processor 101 can include but is not limited to Micro-processor MCV or can one or more (one is only shown in Fig. 1) processors 101
The processing unit of programmed logic device FPGA etc.), memory 103 for storing data and the transmission for communication function
Device 105.It will appreciated by the skilled person that structure shown in FIG. 1 is only to illustrate, not to above-mentioned electronic device
Structure cause to limit.
Memory 103 can be used for storing the software program and module of application software, such as the equipment in the embodiment of the present invention
The corresponding program instruction/module of control method, processor 101 by operation be stored in the software program in memory 103 with
And module realizes above-mentioned method to perform various functions application and data processing.Memory may include that high speed is random
Memory may also include nonvolatile memory, such as one or more magnetic storage device, flash memory or other are non-volatile
Property solid-state memory.In some instances, memory can further comprise the memory remotely located relative to processor, these
Remote memory can pass through network connection to terminal.The example of above-mentioned network includes but not limited to internet, enterprise
Intranet, LAN, mobile radio communication and combinations thereof.
Optionally, above-mentioned storage medium (i.e. memory) can be set to store the program for executing following steps
Code:Detect the first interactive operation of the memory for recycling mobile device;Determine target corresponding with the first interactive operation
Memory recycle pattern;Memory recycle is carried out to a kind of application corresponding with target memory take-back model in mobile device.
Transmitting device is used to receive via a network or transmission data.Above-mentioned network specific example may include calculating
The wireless network that the communication providers of machine terminal provide.In an example, transmitting device includes a network adapter
(Network Interface Control ler, NIC), can be connected with other network equipments by base station so as to it is mutual
Networking is communicated.In an example, transmitting device can be radio frequency (Radio Frequency, RF) module, be used to lead to
Wireless mode is crossed to be communicated with internet.
According to embodiments of the present invention, a kind of embodiment of the method for the recovery method of memory is provided, it should be noted that
The step of flow of attached drawing illustrates can execute in the computer system of such as a group of computer-executable instructions, also,
It, in some cases, can be with different from shown in sequence execution herein although logical order is shown in flow charts
The step of going out or describing.
Fig. 2 is the flow chart of the recovery method of memory according to the ... of the embodiment of the present invention, as shown in Fig. 2, this method includes such as
Lower step:
Step S201 detects the first interactive operation of the memory for recycling mobile device.
Step S202 determines target memory take-back model corresponding with the first interactive operation.
Step S203 carries out Memory recycle to a kind of application corresponding with target memory take-back model in mobile device.
By above-described embodiment, the first interactive operation of the memory for recycling mobile device is detected;It determines and first
The corresponding target memory take-back model of interactive operation;To a kind of application corresponding with target memory take-back model in mobile device into
Row Memory recycle operates cumbersome technical problem when internally depositing into row recycling in the related technology to solve, realizes pair
Memory carries out the technique effect of convenient recycling.
Optionally, the executive agent of above-mentioned steps can be the control module etc. of mobile device, but not limited to this.
In step s 201, detect that the first interactive operation of the memory for recycling mobile device includes following one:
The first interactive operation for determining target memory take-back model is detected on the touch screen of mobile device;Pass through mobile device
Picture recognition module recognize the first interactive operation for selection target Memory recycle pattern.
The first interactive operation detected on the touch screen of mobile device includes two types:One is pass through touch screen
The touch-control selection operation of the user detected;Another kind is the touch-control selection with pressure value detected on pressure sensitivity touch screen
Operation, can determine corresponding selection according to the pressure value.
Include following manner by the first interactive operation that the picture recognition module of mobile device recognizes:One is pass through
The front camera of mobile device is by the gesture operation of user;Second is to identify to use by the rear camera of mobile device
The gesture operation at family;The third is, when the mobile device and other mobile devices wireless connection (such as passing through bluetooth, NFC),
The mobile device can be identified by the picture recognition module (such as front camera, rear camera) of other mobile devices
The gesture operation of user.
In step S202, determine that target memory take-back model corresponding with the first interactive operation includes following one:Really
The Memory recycle pattern chosen by the first interactive operation in fixed multiple Memory recycle patterns is target memory take-back model;It determines
Memory recycle pattern corresponding with the pressure value of the first interactive operation is target memory take-back model in multiple Memory recycle patterns.
Optionally, the first above-mentioned interactive operation can be the current real time operation of user;Can also be that user sets in advance
The operation set, as some that user's timing carries out memory cleaning or predefined every the set time (such as 1 hour) is solid
It fixes time and carries out memory cleaning.
Specifically, the Memory recycle pattern chosen by the first interactive operation in determining multiple Memory recycle patterns is mesh
When marking Memory recycle pattern, the operation of touch-control selection is directly carried out on touch screen for user or by the figure of mobile device
As the gesture selection operation that identification module identifies, selected Memory recycle pattern (i.e. target memory can be directly determined
Take-back model);And the Memory recycle pattern corresponding with the pressure value of the first interactive operation in determining multiple Memory recycle patterns
For target memory take-back model, memory corresponding with the pressure value can be determined according to the pressure value of the first interactive operation of user
Take-back model (i.e. target memory take-back model).
In step S203, Memory recycle is carried out to a kind of application corresponding with target memory take-back model in mobile device
Including:Obtain intended application characteristic information corresponding with target memory take-back model;Determine characteristic information and intended application feature
A kind of application of information matches;Recycling is matched a kind of using occupied memory with intended application characteristic information.
Optionally, include at least one of using characteristic information:Apply Names, using shared by frequency and application
With the size of memory.
It should be noted that before the first interactive operation for detecting the memory for recycling mobile device, Ke Yi
Client is run in mobile device, the client is for providing memory management function;Existing memory pipe is shown on the client
Reason scheme, wherein each Memory Management includes multiple Memory recycle patterns;It will be corresponding with the second interactive operation detected
Memory Management as current Memory Management.Such as the client is being run for the first time or is needing to select memory pipe
When reason scheme, user can select corresponding Memory Management in the client according to the actual needs of oneself.
It, can be by client when user internally deposits into row cleaning every time after corresponding memory scheme is determined
Interactive operation on end selects the Memory recycle pattern in the Memory Management, and after choosing, mobile device can obtain
Corresponding to the intended application characteristic information of the Memory recycle pattern;And searching in mobile device in all applications there is the target to answer
With one kind application of characteristic information, then recycles this one kind and apply occupied memory.
Optionally, after running client on the mobile apparatus, user can self-defined Memory Management in the client:
Application characteristic information input by user and corresponding Memory recycle pattern are received on the mobile apparatus;Preserve the application of all inputs
Characteristic information and corresponding Memory recycle pattern are the Memory Management increased newly.In this way, user can be defined by oneself
Memory recycle pattern carry out memory management
By above-described embodiment, user can customed memory management pattern as desired on the mobile apparatus, to
Flexibility and the convenience of memory management can be improved.
With reference to Fig. 3 and Fig. 4, embodiments herein is described in detail by taking mobile phone (i.e. mobile device) as an example.
Above-mentioned mobile phone is the Intelligent mobile equipment that can recycle memory, has the operation interface for recycling memory and sets
Interface (i.e. client) is set, the device (such as pressure sensitivity touch screen) of pressure sensitivity touch-control reception can be carried out.As shown in Figure 3:
The present invention describe it is a kind of using mobile phone come judge obtain pressure sensitivity touch-control size, and applied to Memory recycle one kind
Scheme.Specific use specifically comprises the following steps:
Step S301, in the Memory recycle rank of an acquiescence built in mobile phone.
As shown in figure 4, using 7 layers of Memory Management of existing MTK, the program is organized into a selectable choosing
;The scheme (such as scheme one, scheme two) that user makes by oneself can also be improved;And user is allowed to increase Managed Solution newly.
Step S302, user is according to EMS memory occupation size, frequency of use or application name etc. (applying characteristic information)
Carry out set memory recycling rank.
Specifically, when initialization, the option scheme that above-mentioned default option and user have been given is shown;If user is also not
The plan of establishment can have newly-increased option.It can be realized by following sub-step:
Step S3021 confirms the ordering plan of user's selection and provides using button;
Step S3022 waits for user to click button, until user presses the button;
Step S3023 confirms the Memory recycle grade of user's selection, such as 4,5,6, to determine that specific operation interface is aobvious
Show;
Step S3024 after recycling button when the user clicks, pops up multilevel menu, provides pressure classification display interface and work as
Preceding selection state interface shows current user's pressure etc.;
Whether step S3025, detection user decontrol button;
Step S3026, when user decontrols button, the grade of record user's selection;
Step S3027 carries out Memory recycle according to the grade of user's final choice, and records relevant information.
A Memory recycle interface or button is arranged in step S303 on mobile phone.
Step S304, user record the pressure rating of recycling when Memory recycle interface operates on mobile phone.
Step S305 carries out Memory recycle according to the pressure rating of confirmation.
By above-described embodiment, the Memory recycle of mobile device is carried out using the scheme of the application so that mobile phone can be more
For convenient various recycling memory, mobile phone is made to become more convenient reasonable to the recycling of memory.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on this understanding, technical scheme of the present invention is substantially in other words to existing
The part that technology contributes can be expressed in the form of software products, which is stored in a storage
In medium (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, calculate
Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
A kind of retracting device of memory is additionally provided in the embodiment of the present invention.The device is for realizing above-described embodiment and excellent
Embodiment is selected, repeating no more for explanation had been carried out.As used below, predetermined function may be implemented in term " module "
Software and/or hardware combination.Although device described in following embodiment is preferably realized with software, hardware,
Or the realization of the combination of software and hardware is also that may and be contemplated.
Fig. 5 is the schematic diagram of the retracting device of memory according to the ... of the embodiment of the present invention.As shown in figure 5, the device can wrap
It includes:Detection unit 51, determination unit 53 and recovery unit 55.
Detection unit 51, the first interactive operation for detecting the memory for recycling mobile device;
Determination unit 53, for determining target memory take-back model corresponding with the first interactive operation;
Recovery unit 55, for being stored back in being carried out to a kind of application corresponding with target memory take-back model in mobile device
It receives.
By above-described embodiment, detection unit detects the first interactive operation of the memory for recycling mobile device;Really
Order member determines target memory take-back model corresponding with the first interactive operation;Recovery unit in mobile device with target memory
The corresponding a kind of application of take-back model carries out Memory recycle, when internally depositing into row recycling in the related technology to solve operation compared with
Cumbersome technical problem realizes the technique effect for internally depositing into the convenient recycling of row.
Optionally, detection unit includes:First detection module is used for really for being detected on the touch screen of mobile device
First interactive operation of the Memory recycle pattern that sets the goal;Second detection module, for the picture recognition module by mobile device
Recognize the first interactive operation for selection target Memory recycle pattern.
The first interactive operation detected on the touch screen of mobile device includes two types:One is pass through touch screen
The touch-control selection operation of the user detected;Another kind is the touch-control selection with pressure value detected on pressure sensitivity touch screen
Operation, can determine corresponding selection according to the pressure value.
Include following manner by the first interactive operation that the picture recognition module of mobile device recognizes:One is pass through
The front camera of mobile device is by the gesture operation of user;Second is to identify to use by the rear camera of mobile device
The gesture operation at family;The third is, when the mobile device and other mobile devices wireless connection (such as passing through bluetooth, NFC),
The mobile device can be identified by the picture recognition module (such as front camera, rear camera) of other mobile devices
The gesture operation of user.
Optionally it is determined that unit includes:Second determining module, for determining in multiple Memory recycle patterns by the first interaction
The chosen Memory recycle pattern of operation is target memory take-back model;Third determining module, for determining multiple Memory recycles
Memory recycle pattern corresponding with the pressure value of the first interactive operation is target memory take-back model in pattern.
Specifically, the Memory recycle pattern chosen by the first interactive operation in determining multiple Memory recycle patterns is mesh
When marking Memory recycle pattern, the operation of touch-control selection is directly carried out on touch screen for user or by the figure of mobile device
As the gesture selection operation that identification module identifies, selected Memory recycle pattern (i.e. target memory can be directly determined
Take-back model);And the Memory recycle pattern corresponding with the pressure value of the first interactive operation in determining multiple Memory recycle patterns
For target memory take-back model, memory corresponding with the pressure value can be determined according to the pressure value of the first interactive operation of user
Take-back model (i.e. target memory take-back model).
In the above-described embodiments, recovery unit includes:Acquisition module, it is corresponding with target memory take-back model for obtaining
Intended application characteristic information;First determining module, for determining that characteristic information is answered with the matched one kind of intended application characteristic information
With;Recycling module, it is matched a kind of using occupied memory with intended application characteristic information for recycling.
Optionally, above application characteristic information includes at least one of:Apply Names, using frequency and application
The size of occupied memory.
Optionally, which can also include:Running unit, for detecting the memory for recycling mobile device
Before first interactive operation, client is run on the mobile apparatus, wherein client is for providing memory management function;Displaying
Unit, for showing existing Memory Management on the client, wherein each Memory Management includes being stored back in multiple
Receipts pattern;Processing unit, for using Memory Management corresponding with the second interactive operation detected as current memory
Managed Solution.
In an alternative embodiment, which can also include:Receiving unit, for operation visitor on the mobile apparatus
After the end of family, receive input on the mobile apparatus applies characteristic information and corresponding Memory recycle pattern;Storage unit is used for
Preserve all inputs is the Memory Management increased newly using characteristic information and corresponding Memory recycle pattern.
By above-described embodiment, user can customed memory management pattern as desired on the mobile apparatus, to
Flexibility and the convenience of memory management can be improved.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong
Following manner realization is crossed, but not limited to this:Above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with arbitrary
The form of combination is located in different processors.
Embodiment 3
The embodiments of the present invention also provide a kind of storage mediums.Optionally, in the present embodiment, above-mentioned storage medium can
To be arranged to store the program code for executing following steps:
S1 detects the first interactive operation of the memory for recycling mobile device;
S2 determines target memory take-back model corresponding with the first interactive operation;
S3 carries out Memory recycle to a kind of application corresponding with target memory take-back model in mobile device.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or
The various media that can store program code such as CD.
Optionally, in the present embodiment, processor is executed according to stored program code in storage medium:Detect use
In the first interactive operation of the memory of recycling mobile device;Determine target memory take-back model corresponding with the first interactive operation;
Memory recycle is carried out to a kind of application corresponding with target memory take-back model in mobile device.
Optionally, the specific example in the present embodiment can refer 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 multiple 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 with different from shown in sequence execution herein
The step of going out or describing, either they are fabricated to each integrated circuit modules or by them multiple modules 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.All within the spirits and principles of the present invention, any made by repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (14)
1. a kind of recovery method of memory, which is characterized in that including:
Detect the first interactive operation of the memory for recycling mobile device;
Determine target memory take-back model corresponding with first interactive operation;
Memory recycle is carried out to a kind of application corresponding with target memory take-back model in the mobile device.
2. according to the method described in claim 1, it is characterized in that, to recycling mould with the target memory in the mobile device
The corresponding a kind of application of formula carries out Memory recycle and includes:
Obtain intended application characteristic information corresponding with the target memory take-back model;
Determine characteristic information and the matched a kind of application of the intended application characteristic information;
Recycling is matched described a kind of using occupied memory with the intended application characteristic information.
3. method according to claim 1 or 2, which is characterized in that detecting the memory for recycling mobile device
Before first interactive operation, the method further includes:
Client is run on the mobile device, wherein the client is for providing memory management function;
Existing Memory Management is shown in the client, wherein each Memory Management includes in multiple
Deposit take-back model;
Using Memory Management corresponding with the second interactive operation detected as current Memory Management.
4. according to the method described in claim 3, it is characterized in that, on the mobile device run client after, it is described
Method further includes:
Receive input on the mobile device applies characteristic information and corresponding Memory recycle pattern;
Preserve all inputs is the Memory Management increased newly using characteristic information and corresponding Memory recycle pattern.
5. according to the method described in claim 4, it is characterized in that, the application characteristic information includes at least one of:It answers
With title, using frequency and the size of the occupied memory of application.
6. according to the method described in claim 1, it is characterized in that, detecting that first of the memory for recycling mobile device hands over
Interoperability includes following one:
First interaction for determining the target memory take-back model is detected on the touch screen of the mobile device
Operation;
Described for selecting the target memory take-back model is recognized by the picture recognition module of the mobile device
One interactive operation.
7. according to the method described in claim 1, it is characterized in that, determining target memory corresponding with first interactive operation
Take-back model includes following one:
Determine that the Memory recycle pattern chosen by first interactive operation in multiple Memory recycle patterns is in the target
Deposit take-back model;
Determine that Memory recycle pattern corresponding with the pressure value of the first interactive operation is in the multiple Memory recycle pattern
The target memory take-back model.
8. a kind of retracting device of memory, which is characterized in that including:
Detection unit, the first interactive operation for detecting the memory for recycling mobile device;
Determination unit, for determining target memory take-back model corresponding with first interactive operation;
Recovery unit, for being stored back in being carried out to a kind of application corresponding with target memory take-back model in the mobile device
It receives.
9. device according to claim 8, which is characterized in that the recovery unit includes:
Acquisition module, for obtaining intended application characteristic information corresponding with the target memory take-back model;
First determining module, for determining the matched a kind of application of characteristic information and the intended application characteristic information;
Recycling module, it is matched described a kind of using occupied memory with the intended application characteristic information for recycling.
10. device according to claim 8 or claim 9, which is characterized in that described device further includes:
Running unit, for before the first interactive operation for detecting the memory for recycling mobile device, in the movement
Client is run in equipment, wherein the client is for providing memory management function;
Display unit, for showing existing Memory Management in the client, wherein each memory management side
Case includes multiple Memory recycle patterns;
Processing unit, for using Memory Management corresponding with the second interactive operation detected as current memory management
Scheme.
11. device according to claim 10, which is characterized in that described device further includes:
Receiving unit receives answering for input on the mobile device after running client on the mobile device
With characteristic information and corresponding Memory recycle pattern;
Storage unit is the memory pipe increased newly using characteristic information and corresponding Memory recycle pattern for preserve all inputs
Reason scheme.
12. according to the devices described in claim 11, which is characterized in that the application characteristic information includes at least one of:
Apply Names, using frequency and application occupied memory size.
13. device according to claim 8, which is characterized in that the detection unit includes:
First detection module, for being detected on the touch screen of the mobile device for determining that the target memory recycles mould
First interactive operation of formula;
Second detection module, for being recognized by the picture recognition module of the mobile device for selecting the target memory
First interactive operation of take-back model.
14. device according to claim 8, which is characterized in that the determination unit includes:
Second determining module, for determining the Memory recycle chosen by first interactive operation in multiple Memory recycle patterns
Pattern is the target memory take-back model;
Third determining module, it is corresponding with the pressure value of the first interactive operation in the multiple Memory recycle pattern for determining
Memory recycle pattern be the target memory take-back model.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710113908.7A CN108509350A (en) | 2017-02-28 | 2017-02-28 | The recovery method and device of memory |
PCT/CN2017/097899 WO2018157565A1 (en) | 2017-02-28 | 2017-08-17 | Memory reclamation method and device and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710113908.7A CN108509350A (en) | 2017-02-28 | 2017-02-28 | The recovery method and device of memory |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108509350A true CN108509350A (en) | 2018-09-07 |
Family
ID=63369699
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710113908.7A Withdrawn CN108509350A (en) | 2017-02-28 | 2017-02-28 | The recovery method and device of memory |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108509350A (en) |
WO (1) | WO2018157565A1 (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103530235B (en) * | 2013-10-18 | 2017-04-12 | 北京奇虎科技有限公司 | Method and device for clearing internal storage in mobile terminal |
CN106326137B (en) * | 2015-07-02 | 2020-09-22 | 腾讯科技(深圳)有限公司 | Memory optimization method and device and user equipment |
CN105893153A (en) * | 2016-03-31 | 2016-08-24 | 北京百纳威尔无线通信设备有限公司 | Memory cleaning method and device for mobile terminal |
CN105975301B (en) * | 2016-04-29 | 2018-09-04 | 北京小米移动软件有限公司 | Memory method for cleaning and device, electronic equipment |
CN105979095B (en) * | 2016-06-27 | 2019-08-16 | 努比亚技术有限公司 | Mobile terminal and apply power consumption control method |
-
2017
- 2017-02-28 CN CN201710113908.7A patent/CN108509350A/en not_active Withdrawn
- 2017-08-17 WO PCT/CN2017/097899 patent/WO2018157565A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2018157565A1 (en) | 2018-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108521857A (en) | A kind of NB-IoT apparatus bounds method and a kind of Internet of Things network control system | |
CN104808501A (en) | Intelligent scene deleting method and device | |
CN109375907B (en) | Audit flow development method, service audit method, device, equipment and medium | |
CN105611488A (en) | Automatic Bluetooth connection method and master device, slave device and system | |
CN104469717B (en) | Note transmission method and device | |
US9510181B2 (en) | Image-based remote subscriber identity module activation | |
CN107239199A (en) | It is a kind of to operate the method responded and relevant apparatus | |
CN108268296A (en) | Loading method, the client and server of page layout | |
CN107765853A (en) | Using method for closing, device, storage medium and electronic equipment | |
CN106550195A (en) | A kind of information getting method and acquisition equipment | |
CN107818168A (en) | Topic searching method, device and equipment | |
CN107911547A (en) | Interactive system, the method for interface layout | |
EP2492791A1 (en) | Augmented reality-based file transfer method and file transfer system thereof | |
CN104794121A (en) | Portal information display method and device | |
CN110011895A (en) | Session method, method, the equipment for obtaining the associated link information of object | |
CN108021654A (en) | A kind of photograph album image processing method and device | |
CN107770845A (en) | The management method and device of mobile focus, terminal and storage medium | |
CN107977418A (en) | A kind of screenshot picture management method, screenshot picture managing device and mobile terminal | |
CN108062401A (en) | Using recommendation method, apparatus and storage medium | |
CN111586660A (en) | Information display method and device, storage medium and electronic equipment | |
CN105988759B (en) | Page display method, apparatus and system | |
CN108509350A (en) | The recovery method and device of memory | |
CN107463524A (en) | A kind of method and relevant device for accessing data | |
CN110377763A (en) | Media file inspection method and device, storage medium and electronic device | |
CN106484395B (en) | Event display method and 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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180907 |
|
WW01 | Invention patent application withdrawn after publication |