CN106066770A - Memory space management and device - Google Patents

Memory space management and device Download PDF

Info

Publication number
CN106066770A
CN106066770A CN201610352204.0A CN201610352204A CN106066770A CN 106066770 A CN106066770 A CN 106066770A CN 201610352204 A CN201610352204 A CN 201610352204A CN 106066770 A CN106066770 A CN 106066770A
Authority
CN
China
Prior art keywords
mobile terminal
application
compressed
module
file
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
CN201610352204.0A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610352204.0A priority Critical patent/CN106066770A/en
Publication of CN106066770A publication Critical patent/CN106066770A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1744Redundancy elimination performed by the file system using compression, e.g. sparse files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files

Abstract

The disclosure provides a kind of memory space management and device, a kind of memory space management, and described method includes: whether detection mobile terminal meets the contractive condition preset;If meeting described contractive condition, then it is compressed one or more application mounted in described mobile terminal processing;The compressed file obtaining compression stores, and deletes the source file that described compressed file is corresponding.As can be seen here, the application installed in mobile terminal can be compressed processing by disclosure technical scheme, and is deleted by the source file of above-mentioned application, only stores the compressed file of above-mentioned application.Owing to compared to source file, compressed file takies less memory space, and therefore the present embodiment can save the memory space of mobile terminal, improve the memory space utilization rate of mobile terminal.

Description

Memory space management and device
Technical field
It relates to networking technology area, particularly to a kind of memory space management and device.
Background technology
Along with the development of network technology, in mobile terminal, the file of storage and the application of installation get more and more, meanwhile, The most increasing to the demand of mobile terminal memory space.Due to the impossible unlimited dilatation of the memory space of mobile terminal, therefore, A kind of rational memory space management is proposed to improve the memory space utilization rate of mobile terminal, it has also become art technology Personnel's problem demanding prompt solution.
Summary of the invention
In order to solve the problems referred to above, the disclosure provides a kind of memory space management and device.
Specifically, the disclosure is achieved by the following technical solution:
First aspect according to disclosure embodiment, it is provided that a kind of memory space management, described method includes:
Whether detection mobile terminal meets the contractive condition preset;
If meeting described contractive condition, then one or more application mounted in described mobile terminal are compressed place Reason;
The compressed file obtaining compression stores, and deletes the source file that described compressed file is corresponding.
In one embodiment, whether described detection mobile terminal meets the contractive condition preset, including:
According to the default detection cycle, it is periodically detected whether mobile terminal meets the contractive condition preset.
In one embodiment, described default contractive condition includes:
The memory space occupancy of mobile terminal exceedes default occupancy threshold value.
In one embodiment, described be compressed one or more application mounted in described mobile terminal processes, Including:
Intended application is selected from the mounted application of described mobile terminal;
According to default reduced rule, it is compressed processing to the associated with of described intended application.
In one embodiment, described selection intended application from the mounted application of described mobile terminal, including:
From the mounted application of described mobile terminal, use frequency in selecting preset duration less than presetting utilization rate threshold value Application as intended application.
In one embodiment, the reduced rule that described basis is preset, the associated with of described intended application is compressed Process, including:
Detect whether described mobile terminal is in idle condition;
When described mobile terminal is in idle condition, it is compressed processing to the associated with of described intended application.
In one embodiment, the described compressed file obtaining compression stores, including:
Whole compressed files compression obtained store to default storage catalogue.
In one embodiment, described method also includes:
Receive application mount request, wherein, described application mount request carries the mark of application to be installed;
Detect and whether described mobile terminal exists the compressed file corresponding with described mark;
If there is the compressed file corresponding with described mark, then decompress the compressed file of correspondence, and install.
In one embodiment, described mark includes: bag title.
Second aspect according to disclosure embodiment, it is provided that a kind of storage space management device, described device includes:
First detection module, is configured to detect whether mobile terminal meets the contractive condition preset;
Compression module, be configured to the testing result at described first detection module for being in the case of, to described movement In terminal, mounted one or more application are compressed processing;
Memory module, the compressed file being configured to obtain the compression of described compression module stores;
Removing module, is configured to delete the source file that described compressed file is corresponding.
In one embodiment, described first detection module, including:
First detection sub-module, is configured to, according to presetting the detection cycle, be periodically detected whether mobile terminal meets pre- If contractive condition.
In one embodiment, described default contractive condition includes:
The memory space occupancy of mobile terminal exceedes default occupancy threshold value.
In one embodiment, described compression module, including:
Select submodule, be configured to from the mounted application of described mobile terminal select intended application;
Compression submodule, is configured to according to the reduced rule preset, and the target selecting described selection submodule should Associated be compressed process.
In one embodiment, described selection submodule, including:
Application selects submodule, is configured to from the mounted application of described mobile terminal, makes in selecting preset duration By frequency less than presetting the application of utilization rate threshold value as intended application.
In one embodiment, compress submodule, including:
Second detection sub-module, is configured to detect whether described mobile terminal is in idle condition;
Compressing file submodule, be configured to the testing result in described second detection sub-module for being in the case of, right The associated with of described intended application is compressed processing.
In one embodiment, described memory module, including:
File sub module stored, is configured to store to presetting whole compressed files that the compression of described compression module obtains In storage catalogue.
In one embodiment, described device also includes:
Receiver module, is configured to receive application mount request, wherein, carries to be installed in described application mount request The mark of application;
Second detection module, is configured to detect whether there is the compression literary composition corresponding with described mark in described mobile terminal Part;
Module is installed, be configured to the testing result at described second detection module for being in the case of, decompression correspondence Compressed file, and install.
In one embodiment, described mark includes: bag title.
The third aspect according to disclosure embodiment, it is provided that a kind of storage space management device, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Whether detection mobile terminal meets the contractive condition preset;
If meeting described contractive condition, then one or more application mounted in described mobile terminal are compressed place Reason;
The compressed file obtaining compression stores, and deletes the source file that described compressed file is corresponding.
The application installed in mobile terminal can be compressed processing by the present embodiment, and is deleted by the source file of above-mentioned application Remove, only store the compressed file of above-mentioned application.Owing to compared to source file, compressed file takies less memory space, therefore The present embodiment can save the memory space of mobile terminal, improves the memory space utilization rate of mobile terminal.
Owing to detection process can take certain memory headroom, based on this situation, the present embodiment can every one section of duration, Execution one-time detection operates, in order to take less memory headroom on the premise of ensureing Detection results as far as possible.
Owing to the process of compressed file can take certain memory headroom, based on this situation, the present embodiment can be avoided Compressed file when running of mobile terminal is busy, and select the compressed file when the running of mobile terminal free time, reduce compression literary composition as far as possible Part operation on other in the impact of thread run.
The compressed file that compression obtains can be stored in a fixing catalogue, when the application compressed by the present embodiment Time more, on the one hand it be easy to mobile terminal and compressed file is managed, be on the other hand easy to user and search.
In the present embodiment, when reusing or again install the application compressed, mobile terminal can be directly to phase The compressed file answered carries out decompression and installs, and without again downloading from network, operates fairly simple.
It should be appreciated that it is only exemplary that above general description and details hereinafter describe, can not be limited this Open.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the present invention Example, and for explaining the principle of the present invention together with description.
Fig. 1 is the disclosure flow chart according to a kind of memory space management shown in an exemplary embodiment;
Fig. 2 is the disclosure flow chart according to the another kind of memory space management shown in an exemplary embodiment;
Fig. 3 is the disclosure flow chart according to the another kind of memory space management shown in an exemplary embodiment;
Fig. 4 is the disclosure block diagram according to a kind of storage space management device shown in an exemplary embodiment;
Fig. 5 is the disclosure block diagram according to the another kind of storage space management device shown in an exemplary embodiment;
Fig. 6 is the disclosure block diagram according to the another kind of storage space management device shown in an exemplary embodiment;
Fig. 7 is the disclosure block diagram according to the another kind of storage space management device shown in an exemplary embodiment;
Fig. 8 is the disclosure block diagram according to the another kind of storage space management device shown in an exemplary embodiment;
Fig. 9 is the disclosure block diagram according to the another kind of storage space management device shown in an exemplary embodiment;
Figure 10 is the disclosure block diagram according to the another kind of storage space management device shown in an exemplary embodiment;
Figure 11 is that the disclosure is according to a kind of structure for storage space management device shown in an exemplary embodiment Schematic diagram.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they are only with the most appended The example of the apparatus and method that some aspects that described in detail in claims, the disclosure are consistent.
The term used in the disclosure is only merely for describing the purpose of specific embodiment, and is not intended to be limiting the disclosure. " a kind of ", " described " and " being somebody's turn to do " of singulative used in disclosure and the accompanying claims book is also intended to include majority Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wraps Any or all containing one or more projects of listing being associated may combination.
Although should be appreciated that in the disclosure possible employing term first, second, third, etc. to describe various information, but this A little information should not necessarily be limited by these terms.These terms are only used for same type of information is distinguished from each other out.Such as, without departing from In the case of disclosure scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depend on linguistic context, word as used in this " if " can be construed to " ... time " or " when ... Time " or " in response to determining ".
Along with the development of network technology, in mobile terminal, the file of storage and the application of installation get more and more, meanwhile, The most increasing to the demand of mobile terminal memory space.Due to the impossible unlimited dilatation of the memory space of mobile terminal, therefore, A kind of rational memory space management is proposed to improve the memory space utilization rate of mobile terminal, it has also become art technology Personnel's problem demanding prompt solution.In order to solve the problems referred to above, present disclose provides a kind of memory space management and device.
A kind of memory space management provided the disclosure first below is introduced.
It should be noted that the method that the disclosure provides is applicable to mobile terminal, in actual applications, this mobile terminal can To include: smart mobile phone, panel computer etc..
As it is shown in figure 1, Fig. 1 is the disclosure stream according to a kind of memory space management shown in an exemplary embodiment Cheng Tu, the method may comprise steps of:
In a step 101, whether detection mobile terminal meets the contractive condition preset.
In a kind of feasible embodiment, above-mentioned steps 101 may include that
According to the default detection cycle, it is periodically detected whether mobile terminal meets the contractive condition preset.Such as detect week Phase is 1 hour, whether meets the contractive condition preset every mobile terminal of detection in 1 hour.It should be noted that in reality In application, can according to demand the value in the default detection cycle in the present embodiment be set.
Owing to detection process can take certain memory headroom, based on this situation, present embodiment can be every one section time Long, perform one-time detection operation, in order on the premise of ensureing Detection results, take less memory headroom as far as possible.
In the embodiment that another kind is feasible, above-mentioned steps 101 may include that
Whether detection mobile terminal in indefinite duration compartment of terrain meets the contractive condition preset;Or, continuously and uninterruptedly examine Surveying whether mobile terminal meets the contractive condition preset, this is not limited by the present embodiment.
The contractive condition preset in the present embodiment, may include that the memory space occupancy of mobile terminal exceedes default Occupancy threshold value, such as presetting occupancy threshold value is 80%;Or, the free memory capacity of mobile terminal holds less than presetting Amount threshold value, such as preset capacity threshold value are 200M;Or, free memory deficiency causes mobile terminal to install new opplication mistake Lose, etc., this is not limited by the present embodiment.
In a step 102, when meeting above-mentioned contractive condition, in above-mentioned mobile terminal mounted one or more should With being compressed process.
It is understood that compared to un-compressed source file, the file after compression takies relatively small number of storage sky Between, therefore, when mobile terminal meets contractive condition, can be compressed the partial document in this mobile terminal processing, In the present embodiment, it is compressed application mounted in mobile terminal processing.
The some or all of associated documents of arbitrary application can be compressed by the present embodiment.The present embodiment can use Application is compressed by any one compression algorithm in correlation technique, and this is not limited by the present embodiment.
In step 103, the compressed file obtaining compression stores, and deletes the source document that above-mentioned compressed file is corresponding Part.
Such as, smart mobile phone is provided with " rice is chatted ", " microblogging ", " wechat " etc., it is assumed that this smart mobile phone meets contractive condition, Determining that " microblogging " needs compression to process after screening, now, installation file and configuration file to " microblogging " are all compressed to one In file, file compression obtained stores to this smart mobile phone, deletes installation file and the configuration file of " microblogging ".
As seen from the above-described embodiment, the application installed in mobile terminal can be compressed processing by this embodiment, and will The source file of above-mentioned application is deleted, and only stores the compressed file of above-mentioned application.Owing to compared to source file, compressed file takies relatively Few memory space, therefore the present embodiment can save the memory space of mobile terminal, improves the memory space of mobile terminal Utilization rate.
As in figure 2 it is shown, Fig. 2 is that the disclosure is according to the another kind of memory space management shown in an exemplary embodiment Flow chart, about how to filter out application to be compressed from the mounted application of mobile terminal, the method can include following Step:
In step 201, whether detection mobile terminal meets the contractive condition preset.
Step 201 in the present embodiment is similar with the step 101 in embodiment illustrated in fig. 1, implements detail as per shown in Fig. 1 Step 101 content in example, this is repeated no more by the present embodiment.
In step 202., when meeting above-mentioned contractive condition, from the mounted application of above-mentioned mobile terminal, select target Application.
In a kind of feasible embodiment, application to be compressed can be filtered out, accordingly according to the utilization rate of application , above-mentioned steps 202 may include that
From the mounted application of above-mentioned mobile terminal, use frequency in selecting preset duration less than presetting utilization rate threshold value Application as intended application.Such as by true for the application less than 2 times of the access times in mounted for mobile terminal application one week It is set to application to be compressed, i.e. intended application.Or, by untapped in mounted for mobile terminal application nearest one week should With being defined as intended application.
In step 203, according to default reduced rule, it is compressed processing to the associated with of above-mentioned intended application.
In a kind of feasible embodiment, holding of squeeze operation can be determined according to the running status of mobile terminal The row time, accordingly, above-mentioned steps 203 may include that
Detect whether above-mentioned mobile terminal is in idle condition;
When above-mentioned mobile terminal is in idle condition, it is compressed processing to the associated with of above-mentioned intended application.
Owing to the process of compressed file can take certain memory headroom, based on this situation, present embodiment can be avoided The compressed file when running of mobile terminal is busy, and select the compressed file when the running of mobile terminal free time, reduce compression as far as possible File operation on other in the impact of thread run.
Or, in the embodiment that another kind is feasible, above-mentioned steps 203 may include that
Particular point in time in one day, is compressed processing to the associated with of above-mentioned intended application.Such as every day Perform compressing file operation at 10 in evening.
In step 204, whole compressed files compression obtained store to default storage catalogue, and delete above-mentioned pressure The source file that contracting file is corresponding.
The compressed file that compression obtains can be stored in a fixing catalogue, when the application compressed by the present embodiment Time more, on the one hand it be easy to mobile terminal and compressed file is managed, be on the other hand easy to user and search.
As seen from the above-described embodiment, the application installed in mobile terminal can be compressed processing by this embodiment, and will The source file of above-mentioned application is deleted, and only stores the compressed file of above-mentioned application.Owing to compared to source file, compressed file takies relatively Few memory space, therefore the present embodiment can save the memory space of mobile terminal, improves the memory space of mobile terminal Utilization rate.
Along with the development of network technology, the application that user installs in the terminal gets more and more, when installing new application Time, if the free memory of mobile terminal is not enough, cause new application to install, then this mobile terminal can will be installed Application unloading, new application is installed after completion of discharge again.When user needs to use above-mentioned unloaded application, it is necessary to again Secondary from network, download this application, operate comparatively laborious.
For above-mentioned situation, in the another kind of embodiment that the disclosure provides, can be at Fig. 1 or the base of embodiment illustrated in fig. 2 On plinth, increase the step shown in Fig. 3, deposit according to the another kind shown in an exemplary embodiment as it is shown on figure 3, Fig. 3 is the disclosure The flow chart of storage space management, comprises the following steps:
In step 301, receive application mount request, wherein, this application mount request carries application to be installed Mark.
Application mount request in the present embodiment may include that the application mount request that user inputs in the terminal. In view of the bag title of application is unique, the mark of the application in the present embodiment may include that the bag title of application.
In step 302, detect in above-mentioned mobile terminal and whether there is the compressed file corresponding with above-mentioned mark.
In step 303, when there is the compressed file corresponding with above-mentioned mark, the compressed file that decompression is corresponding, and pacify Dress.
Such as before smart mobile phone " microblogging " is carried out compression process, installed in user again requires that this smart mobile phone Time " microblogging ", can search whether this locality exists the compressed file comprising microblogging bag title according to " the bag title " of microblogging, if Have, then compressed file decompression is installed, without then going to download corresponding installation kit, installation on network.
As seen from the above-described embodiment, in this embodiment, when reusing or again install the application compressed, permissible Directly it is carried out decompression to install, and without again downloading from network, operate fairly simple.
Although it should be noted that, describe the operation of the inventive method in the accompanying drawings with particular order, but, this does not requires that Or hint must perform these operations according to this particular order, or having to carry out the most shown operation could realize the phase The result hoped.On the contrary, the step described in flow chart can change execution sequence.Additionally or alternatively, it is convenient to omit some Multiple steps are merged into a step and are performed by step, and/or a step is decomposed into the execution of multiple step.
Corresponding with the embodiment of aforementioned memory space management, the disclosure additionally provides the reality of storage space management device Execute example.
As shown in Figure 4, Fig. 4 is the disclosure frame according to a kind of storage space management device shown in an exemplary embodiment Figure, this device may include that
First detection module 410, is configured to detect whether mobile terminal meets the contractive condition preset;
Compression module 420, be configured to the testing result at above-mentioned first detection module 410 for being in the case of, to upper State mounted one or more application in mobile terminal to be compressed processing;
Memory module 430, the compressed file being configured to obtain the compression of above-mentioned compression module 420 stores;
Removing module 440, is configured to delete the source file that above-mentioned compressed file is corresponding.
As seen from the above-described embodiment, the application installed in mobile terminal can be compressed processing by this embodiment, and will The source file of above-mentioned application is deleted, and only stores the compressed file of above-mentioned application.Owing to compared to source file, compressed file takies relatively Few memory space, therefore the present embodiment can save the memory space of mobile terminal, improves the memory space of mobile terminal Utilization rate.
As it is shown in figure 5, Fig. 5 is that the disclosure is according to the another kind of storage space management device shown in an exemplary embodiment Block diagram, this embodiment can be on the basis of embodiment illustrated in fig. 4, and above-mentioned first detection module 410 may include that
First detection sub-module 411, is configured to, according to presetting the detection cycle, be periodically detected whether mobile terminal meets The contractive condition preset.
In the another kind of embodiment that the disclosure provides, this embodiment can be on Fig. 4 or the basis of embodiment illustrated in fig. 5 On, above-mentioned default contractive condition may include that
The memory space occupancy of mobile terminal exceedes default occupancy threshold value.
As shown in Figure 6, Fig. 6 is that the disclosure is according to the another kind of storage space management device shown in an exemplary embodiment Block diagram, this embodiment can be on the basis of Fig. 4 or embodiment illustrated in fig. 5, and above-mentioned compression module 420 may include that
Select submodule 421, be configured to from the mounted application of above-mentioned mobile terminal select intended application;
Compression submodule 422, is configured to, according to the reduced rule preset, select above-mentioned selection submodule 421 The associated with of intended application is compressed processing.
As it is shown in fig. 7, Fig. 7 is that the disclosure is according to the another kind of storage space management device shown in an exemplary embodiment Block diagram, this embodiment can be on the basis of embodiment illustrated in fig. 6, and above-mentioned selection submodule 421 may include that
Application selects submodule 4211, is configured to from the mounted application of above-mentioned mobile terminal, selects preset duration Interior use frequency is less than presetting the application of utilization rate threshold value as intended application.
As shown in Figure 8, Fig. 8 is that the disclosure is according to the another kind of storage space management device shown in an exemplary embodiment Block diagram, this embodiment can be on the basis of embodiment illustrated in fig. 6, and above-mentioned compression submodule 422 may include that
Second detection sub-module 4221, is configured to detect whether above-mentioned mobile terminal is in idle condition;
Compressing file submodule 4222, is configured to the feelings being yes in the testing result of above-mentioned second detection sub-module 4221 Under condition, it is compressed processing to the associated with of above-mentioned intended application.
As it is shown in figure 9, Fig. 9 is that the disclosure is according to the another kind of storage space management device shown in an exemplary embodiment Block diagram, this embodiment can be on the basis of any embodiment shown in Fig. 4~Fig. 8, and above-mentioned memory module 430 may include that
File sub module stored 431, is configured to the whole compressed files storage compression of above-mentioned compression module 420 obtained To presetting in storage catalogue.
As shown in Figure 10, Figure 10 is that the disclosure is according to the another kind of storage space management device shown in an exemplary embodiment Block diagram, this embodiment can be on the basis of any embodiment shown in Fig. 4~Fig. 9, and said apparatus can also include:
Receiver module 450, is configured to receive application mount request, wherein, carries and need in above-mentioned application mount request The mark of application is installed;
Second detection module 460, is configured to detect in above-mentioned mobile terminal whether there is the pressure corresponding with above-mentioned mark Contracting file;
Module 470 is installed, be configured to the testing result at above-mentioned second detection module 460 for being in the case of, decompress Corresponding compressed file, and install.
In said apparatus, the function of modules and the process that realizes of effect specifically refer to corresponding step in said method Realize process, do not repeat them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part sees method in fact The part executing example illustrates.Device embodiment described above is only schematically, wherein said as separating component The unit illustrated can be or may not be physically separate, and the parts shown as unit can be or can also It not physical location, i.e. may be located at a place, or can also be distributed on multiple NE.Can be according to reality Need to select some or all of module therein to realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying In the case of going out creative work, i.e. it is appreciated that and implements.
Accordingly, the disclosure additionally provides a kind of storage space management device, including: processor;For storing processor The memorizer of executable instruction;Wherein, described processor is configured to: whether detection mobile terminal meets the compressor bar preset Part;If meeting described contractive condition, then it is compressed one or more application mounted in described mobile terminal processing;Right The compressed file that compression obtains stores, and deletes the source file that described compressed file is corresponding.
As shown in figure 11, Figure 11 is that the disclosure fills for storage space management according to the one shown in an exemplary embodiment Put a structural representation of 1100.Such as, device 1100 can be mobile phone, computer, digital broadcast terminal, information receiving and transmitting Equipment, game console, tablet device, armarium, body-building equipment, personal digital assistant, aircraft etc..
With reference to Figure 11, device 1100 can include following one or more assembly: processes assembly 1102, memorizer 1104, Power supply module 1106, multimedia groupware 1108, audio-frequency assembly 1110, the interface 1112 of input/output (I/O), sensor cluster 1114, and communications component 1116.
Process assembly 1102 and generally control the integrated operation of device 1100, such as with display, call, data communication, The operation that camera operation and record operation are associated.Treatment element 1102 can include that one or more processor 1120 performs Instruction, to complete all or part of step of above-mentioned method.Additionally, process assembly 1102 can include one or more mould Block, it is simple to process between assembly 1102 and other assemblies is mutual.Such as, processing component 1102 can include multi-media module, With facilitate multimedia groupware 1108 and process between assembly 1102 mutual.
Memorizer 1104 is configured to store various types of data to support the operation at equipment 1100.These data Example include on device 1100 operation any application program or the instruction of method, contact data, telephone book data, Message, picture, video etc..Memorizer 1104 can by any kind of volatibility or non-volatile memory device or they Combination realizes, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
The various assemblies that electric power assembly 1106 is device 1100 provide electric power.Electric power assembly 1106 can include power management System, one or more power supplys, and other generate, manage and distribute, with for device 1100, the assembly that electric power is associated.
The screen of one output interface of offer that multimedia groupware 1108 is included between device 1100 and user.At some In embodiment, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen May be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensor With the gesture on sensing touch, slip and touch panel.Touch sensor can not only sense touch or the border of sliding action, But also detect the persistent period relevant to touch or slide and pressure.In certain embodiments, multimedia groupware 1108 Including a front-facing camera and/or post-positioned pick-up head.When equipment 1100 is in operator scheme, such as screening-mode or video mode Time, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each front-facing camera and rearmounted shooting Head can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 1110 is configured to output and/or input audio signal.Such as, audio-frequency assembly 1110 includes a wheat Gram wind (MIC), when device 1100 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike quilt It is configured to receive external audio signal.The audio signal received can be further stored at memorizer 1104 or via communication Assembly 1116 sends.In certain embodiments, audio-frequency assembly 1110 also includes a speaker, is used for exporting audio signal.
I/O interface 1112 provides interface, above-mentioned peripheral interface module for processing between assembly 1102 and peripheral interface module Can be keyboard, put striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and Locking press button.
Sensor cluster 1114 includes one or more sensor, for providing the state of various aspects to comment for device 1100 Estimate.Such as, what sensor cluster 1114 can detect equipment 1100 opens/closed mode, the relative localization of assembly, such as institute Stating display and keypad that assembly is device 1100, sensor cluster 1114 can also detect device 1100 or device 1,100 1 The position change of individual assembly, the presence or absence that user contacts with device 600, device 1100 orientation or acceleration/deceleration and dress Put the variations in temperature of 1100.Sensor cluster 1114 can include proximity transducer, is configured to do not having any physics The existence of object near detection during contact.Sensor cluster 1114 can also include optical sensor, as CMOS or ccd image sense Device, for using in imaging applications.In certain embodiments, this sensor cluster 1114 can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1116 is configured to facilitate the communication of wired or wireless mode between device 1100 and other equipment.Dress Put 1100 and can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.Exemplary at one In embodiment, broadcast singal or broadcast that communication component 1116 receives from external broadcasting management system via broadcast channel are relevant Information.In one exemplary embodiment, described communication component 1116 also includes near-field communication (NFC) module, to promote short distance Communication.Such as, can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1100 can be by one or more application specific integrated circuits (ASIC), numeral Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realize, be used for performing said method.
In the exemplary embodiment, a kind of non-transitory computer-readable recording medium including instruction, example are additionally provided As included the memorizer 1104 of instruction, above-mentioned instruction can have been performed said method by the processor 1120 of device 1100.Example If, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Dish and optical data storage devices etc..
Those skilled in the art, after considering description and putting into practice disclosure disclosed herein, will readily occur to its of the disclosure Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modification, purposes or Person's adaptations is followed the general principle of the disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques means.Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (19)

1. a memory space management, it is characterised in that described method includes:
Whether detection mobile terminal meets the contractive condition preset;
If meeting described contractive condition, then it is compressed one or more application mounted in described mobile terminal processing;
The compressed file obtaining compression stores, and deletes the source file that described compressed file is corresponding.
Method the most according to claim 1, it is characterised in that whether described detection mobile terminal meets the compressor bar preset Part, including:
According to the default detection cycle, it is periodically detected whether mobile terminal meets the contractive condition preset.
Method the most according to claim 1 and 2, it is characterised in that described default contractive condition includes:
The memory space occupancy of mobile terminal exceedes default occupancy threshold value.
Method the most according to claim 1, it is characterised in that described in described mobile terminal mounted one or many Individual application is compressed processing, including:
Intended application is selected from the mounted application of described mobile terminal;
According to default reduced rule, it is compressed processing to the associated with of described intended application.
Method the most according to claim 4, it is characterised in that described selection from the mounted application of described mobile terminal Intended application, including:
From the mounted application of described mobile terminal, using frequency in selecting preset duration should less than preset utilization rate threshold value It is used as intended application.
Method the most according to claim 4, it is characterised in that the reduced rule that described basis is preset, should to described target Associated be compressed process, including:
Detect whether described mobile terminal is in idle condition;
When described mobile terminal is in idle condition, it is compressed processing to the associated with of described intended application.
Method the most according to claim 1, it is characterised in that the described compressed file obtaining compression stores, bag Include:
Whole compressed files compression obtained store to default storage catalogue.
Method the most according to claim 1, it is characterised in that described method also includes:
Receive application mount request, wherein, described application mount request carries the mark of application to be installed;
Detect and whether described mobile terminal exists the compressed file corresponding with described mark;
If there is the compressed file corresponding with described mark, then decompress the compressed file of correspondence, and install.
Method the most according to claim 8, it is characterised in that described mark includes: bag title.
10. a storage space management device, it is characterised in that described device includes:
First detection module, is configured to detect whether mobile terminal meets the contractive condition preset;
Compression module, be configured to the testing result at described first detection module for being in the case of, to described mobile terminal In mounted one or more application be compressed process;
Memory module, the compressed file being configured to obtain the compression of described compression module stores;
Removing module, is configured to delete the source file that described compressed file is corresponding.
11. devices according to claim 10, it is characterised in that described first detection module, including:
Whether the first detection sub-module, be configured to according to presetting the detection cycle, be periodically detected mobile terminal and meet and preset Contractive condition.
12. according to the device described in right 10 or 11, it is characterised in that described default contractive condition includes:
The memory space occupancy of mobile terminal exceedes default occupancy threshold value.
13. devices according to claim 10, it is characterised in that described compression module, including:
Select submodule, be configured to from the mounted application of described mobile terminal select intended application;
Compression submodule, is configured to according to the reduced rule preset, to the intended application that described selection submodule is selected Associated with is compressed processing.
14. devices according to claim 13, it is characterised in that described selection submodule, including:
Application selects submodule, is configured to from the mounted application of described mobile terminal, uses frequency in selecting preset duration Rate is less than presetting the application of utilization rate threshold value as intended application.
15. devices according to claim 13, it is characterised in that compression submodule, including:
Second detection sub-module, is configured to detect whether described mobile terminal is in idle condition;
Compressing file submodule, be configured to the testing result in described second detection sub-module for being in the case of, to described The associated with of intended application is compressed processing.
16. devices according to claim 10, it is characterised in that described memory module, including:
File sub module stored, is configured to the whole compressed files by the compression of described compression module obtains and stores to default storage In catalogue.
17. devices according to claim 10, it is characterised in that described device also includes:
Receiver module, is configured to receive application mount request, wherein, carries application to be installed in described application mount request Mark;
Second detection module, is configured to detect whether there is the compressed file corresponding with described mark in described mobile terminal;
Module is installed, be configured to the testing result at described second detection module for being in the case of, the compression of decompression correspondence File, and install.
18. devices according to claim 17, it is characterised in that described mark includes: bag title.
19. 1 kinds of storage space management devices, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Whether detection mobile terminal meets the contractive condition preset;
If meeting described contractive condition, then it is compressed one or more application mounted in described mobile terminal processing;
The compressed file obtaining compression stores, and deletes the source file that described compressed file is corresponding.
CN201610352204.0A 2016-05-25 2016-05-25 Memory space management and device Pending CN106066770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610352204.0A CN106066770A (en) 2016-05-25 2016-05-25 Memory space management and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610352204.0A CN106066770A (en) 2016-05-25 2016-05-25 Memory space management and device

Publications (1)

Publication Number Publication Date
CN106066770A true CN106066770A (en) 2016-11-02

Family

ID=57420100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610352204.0A Pending CN106066770A (en) 2016-05-25 2016-05-25 Memory space management and device

Country Status (1)

Country Link
CN (1) CN106066770A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648780A (en) * 2016-12-26 2017-05-10 努比亚技术有限公司 Electronic device and application processing method
CN107193496A (en) * 2017-05-22 2017-09-22 深圳天珑无线科技有限公司 A kind of memory space method for saving and device
CN107545068A (en) * 2017-09-18 2018-01-05 陈秋朴 The data of the memory of fixed size forget and recovery system
CN109254731A (en) * 2018-08-29 2019-01-22 郑州云海信息技术有限公司 A kind of method and apparatus of memory space processing
CN109284187A (en) * 2018-08-29 2019-01-29 维沃移动通信有限公司 A kind of application processing method, device and mobile terminal
CN109582236A (en) * 2018-11-29 2019-04-05 努比亚技术有限公司 Terminal storage space management method, terminal and storage medium
CN109756230A (en) * 2019-01-03 2019-05-14 Oppo广东移动通信有限公司 Data compression storage method, data compression method, device, equipment and medium
CN110321330A (en) * 2019-05-23 2019-10-11 深圳市金泰克半导体有限公司 Compressing file, decompression method, device and computer equipment
CN110941596A (en) * 2018-09-21 2020-03-31 北京奇虎科技有限公司 Disk space release method and device, computing equipment and computer storage medium
CN111400264A (en) * 2019-12-06 2020-07-10 杭州海康威视系统技术有限公司 Data management method and data storage system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110084559A (en) * 2010-01-18 2011-07-26 주식회사 노리아 Software patch download solution
CN104461505A (en) * 2014-11-06 2015-03-25 深圳市金立通信设备有限公司 Terminal
CN104572113A (en) * 2015-01-21 2015-04-29 深圳市中兴移动通信有限公司 Automatic storage space arranging method and mobile terminal
CN105468411A (en) * 2015-11-25 2016-04-06 北京金山安全软件有限公司 Application processing method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110084559A (en) * 2010-01-18 2011-07-26 주식회사 노리아 Software patch download solution
CN104461505A (en) * 2014-11-06 2015-03-25 深圳市金立通信设备有限公司 Terminal
CN104572113A (en) * 2015-01-21 2015-04-29 深圳市中兴移动通信有限公司 Automatic storage space arranging method and mobile terminal
CN105468411A (en) * 2015-11-25 2016-04-06 北京金山安全软件有限公司 Application processing method and device and electronic equipment

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648780A (en) * 2016-12-26 2017-05-10 努比亚技术有限公司 Electronic device and application processing method
CN107193496A (en) * 2017-05-22 2017-09-22 深圳天珑无线科技有限公司 A kind of memory space method for saving and device
CN107545068A (en) * 2017-09-18 2018-01-05 陈秋朴 The data of the memory of fixed size forget and recovery system
CN109254731A (en) * 2018-08-29 2019-01-22 郑州云海信息技术有限公司 A kind of method and apparatus of memory space processing
CN109284187A (en) * 2018-08-29 2019-01-29 维沃移动通信有限公司 A kind of application processing method, device and mobile terminal
CN110941596A (en) * 2018-09-21 2020-03-31 北京奇虎科技有限公司 Disk space release method and device, computing equipment and computer storage medium
CN109582236A (en) * 2018-11-29 2019-04-05 努比亚技术有限公司 Terminal storage space management method, terminal and storage medium
CN109582236B (en) * 2018-11-29 2023-08-25 努比亚技术有限公司 Terminal storage space management method, terminal and storage medium
CN109756230A (en) * 2019-01-03 2019-05-14 Oppo广东移动通信有限公司 Data compression storage method, data compression method, device, equipment and medium
CN109756230B (en) * 2019-01-03 2024-02-27 Oppo广东移动通信有限公司 Data compression storage method, data compression method, device, equipment and medium
CN110321330A (en) * 2019-05-23 2019-10-11 深圳市金泰克半导体有限公司 Compressing file, decompression method, device and computer equipment
CN111400264A (en) * 2019-12-06 2020-07-10 杭州海康威视系统技术有限公司 Data management method and data storage system

Similar Documents

Publication Publication Date Title
CN106066770A (en) Memory space management and device
CN104484200A (en) Method and device for updating firmware
CN104636140B (en) Firmware compression method, firmware decompressing method and device
CN105808050B (en) Information search method and device
CN104503740A (en) Memory management method and device
CN106201686A (en) Management method, device and the terminal of application
CN105306718A (en) Event prompting method and device
CN104717366A (en) Method and device for recommending contact photos
CN105335458B (en) Preview picture method and device
CN104238890B (en) Character displaying method and device
CN105630490A (en) Layout adjustment method and apparatus for message notification display page
CN104486451A (en) Application program recommendation method and device
CN104536783A (en) Method and device for setting reserved space
CN106648730A (en) Processing method and device of abnormal application
CN107239207A (en) Photo display methods and device
CN106649784A (en) Picture storing method, picture searching method, picture searching device and terminal
CN104714826A (en) Application theme loading method and device
CN105205153A (en) File storage method and device
CN105513101B (en) Image processing method and device
CN104869169A (en) Update method and device of cloud card
CN104850643A (en) Image comparison method and device
CN105827834A (en) Mobile device application method and device
CN105204712A (en) Method and device for displaying icons of folder
CN107239771A (en) Fingerprint calibration method and device
CN104836880A (en) Method and device for processing contact person head portrait

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161102

RJ01 Rejection of invention patent application after publication