CN103218224B - A kind of method improving memory space utilization rate and terminal - Google Patents

A kind of method improving memory space utilization rate and terminal Download PDF

Info

Publication number
CN103218224B
CN103218224B CN201310106995.5A CN201310106995A CN103218224B CN 103218224 B CN103218224 B CN 103218224B CN 201310106995 A CN201310106995 A CN 201310106995A CN 103218224 B CN103218224 B CN 103218224B
Authority
CN
China
Prior art keywords
file
compressible
compressed
memory space
compression
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.)
Active
Application number
CN201310106995.5A
Other languages
Chinese (zh)
Other versions
CN103218224A (en
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Dongguan Yulong Telecommunication Technology Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Dongguan Yulong Telecommunication Technology 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd, Dongguan Yulong Telecommunication Technology Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201310106995.5A priority Critical patent/CN103218224B/en
Publication of CN103218224A publication Critical patent/CN103218224A/en
Application granted granted Critical
Publication of CN103218224B publication Critical patent/CN103218224B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Memory System (AREA)

Abstract

The invention discloses a kind of method improving memory space utilization rate and terminal, its method includes: the size of free space in A, monitoring memory space, judge that whether free space is less than pre-set space: if it is, startup file system compressed mode, the file in memory space is scanned;Otherwise exit monitoring;B1, judge Current Scan to file whether be compressible file: if it is, perform step C1;Otherwise, the next file of scanning, repeats step B1, until All Files has scanned, exited file system compact model;C1, compressible file is compressed and indicates after, the next file of scanning, return step B1.The present invention processes by the All Files in memory space carries out suitable, selectively compression, improves the utilization rate of memory space, it is not necessary to user selects the many second compression of file one by one, convenient for users to use, improves Consumer's Experience effect.

Description

A kind of method improving memory space utilization rate and terminal
Technical field
The present invention relates to the treatment technology of memory space, particularly to a kind of method improving memory space utilization rate and terminal.
Background technology
Memory space, also referred to as physical space, be the total capacity of the set of physical address, i.e. certain storage device.The C dish of such as computer is commonly used to deposit terminal program, D dish or E dish can deposit various picture, audio frequency and video, document etc.;C dish, D dish, the total capacity of E dish are its memory space.The content deposited in above-mentioned each dish can take a part of space of this dish, is and takes up room;In this dish, remaining space is free space, and the size of free space represents this dish can also deposit the number of content.As a example by the virtual file terminal of Linux, refer to Fig. 1, when user carries out various operation on computers, as opened document and carry out editing, browsing webpage, viewing video etc., user's space will reveal whether each process that computer is currently running.Consumer process 1, consumer process 2, consumer process 3 etc. represent the visible operation of user.By virtual file terminal, file end, storage medium, the operation of user is processed accordingly the most successively at kernel spacing.
Wherein, Virtual File System (VFS, Virtual File System) is a kind of to shield various file system differentiation and an abstract software layer out, it is allowed to exist with various file system in storage medium simultaneously;It is equivalent to a kind of software mechanism, is again the file system administrator of Linux.File system is management fileinfo and the software system of used resource thereof, is the equal of constituent act on disk, a kind of software module managing file access form;The NTFS(New Technology File System such as used in Windows system, manage the disc format of security feature design specifically for network and Disk Quotas, file encryption etc.), FAT(File Allocating Table, file allocation table, the file system designed for minidisk and simple bibliographic structure), the EXT4(The fourth extended file used in android system System, a kind of extension Journal File System for EXT3 system, is the fourth edition of the original extension file system developed exclusively for Linux), the JFFS2(Journalling Flash File used in linux system System Version 2, flash log type file system second edition).Storage medium refers to store the carrier of data, typically can be divided into volume, bunch, sector, the physical layout such as block carry out the management of data;According to media storage principle and medium physical state, be divided into hard disk, FLASH(flash memory, a kind of fixedness internal memory), EMMC(Embedded Multi Media Card, built-in multimedia).
Please refer to Fig. 2, assume when user preserves a document in memory space, the operation carried out in kernel spacing is followed successively by VFS(and is equivalent to virtual file terminal) write, EXT4(is equivalent to file end) write, data just write FLASH(by the interface of file end and are equivalent to storage medium) in preserve.When needs read, the internal memory preserved in FLASH is read by EXT4 successively, VFS reads, and is shown as user the most in the user space and reads.Generally when the memory space of storage medium (FLASH) is full or free space is not enough to preserve data; terminal often can point out user storage space full or inadequate; can not write, need user delete part data or carry out defragmentation or change another one memory space.When some vital document user is not desired to delete, often compresses it and save segment space, user's actively compression not only need certain compression time, be also performed to the operation repeated.Some file being of little use is left in the basket based on some reasons and uncompressed, often occupies certain memory space;To be compressed it, needing to take time, it is the most unused to find out which file.As can be seen here, the utilization rate of existing memory space is the highest, user the various files in memory space actively process the time of user of not only wasting, and complex operation, the experience effect of user is poor.
Thus prior art could be improved and improve.
Summary of the invention
In place of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide a kind of method improving memory space utilization rate and terminal, the highest to solve the utilization rate of prior art memory space, the time of user, the problem that complex operation causes Consumer's Experience weak effect is wasted when various files are processed.
In order to achieve the above object, this invention takes techniques below scheme:
A kind of method improving memory space utilization rate, comprising:
The size of free space in A, monitoring memory space, it is judged that whether free space is less than pre-set space: if it is, startup file system compressed mode, be scanned the file in memory space;Otherwise exit monitoring;
B1, judge Current Scan to file whether be compressible file: if it is, perform step C;Otherwise, the next file of scanning, repeats step B, until All Files has scanned, exited file system compact model;
C1, compressible file is compressed and indicates after, the next file of scanning, return step B1;
Or, include after described step A:
B2, judge Current Scan to file whether be compressible file: if it is, labelling this document is compressible file;Otherwise, the next file of scanning continues to judge, until All Files has scanned;
C2, compressible file to labelling are compressed.
The described method improving memory space utilization rate, wherein, in described step B1 or B2, it is judged that Current Scan to file whether be that compressible file specifically includes:
B11, judge Current Scan to file whether be uncompressed file: if it is, perform step B2;Otherwise, confirmation this document is compressed file, does not make any process;
B12, calculate the vacant time that described file is not used by;
B13, judge that the described vacant time is whether more than Preset Time threshold values: if it is, this document is compressible file;Otherwise, this document is file to be compressed.
The described method improving memory space utilization rate, wherein, in described step B13, when judging also to include after the vacant time is more than Preset Time threshold values: judge whether this document is the file that compression ratio is high: if it is, this document is compressible file;Otherwise, this document is file to be compressed.
The described method improving memory space utilization rate, wherein, in step C1 or C2, is compressed compressible file at kernel spacing, at user's space without compression prompting.
The described method improving memory space utilization rate, wherein, in step C1 or C2, is compressed compressible file in units of block, and the size of every piece is for presetting byte.
The described method improving memory space utilization rate, wherein, when decompressing the compressible file after compression, decompresses in units of block.
A kind of terminal for realizing the described method improving memory space utilization rate, comprising:
SS module, for monitoring the size of free space in memory space;
Space judge module, is used for judging that whether free space is less than pre-set space;
File system processing module, for the startup file system compressed mode when free space is less than pre-set space, is scanned the file in memory space, it is judged that whether have compressible file in the file of memory space;
Compression module, during for there being compressible file in the file of memory space, compresses described compressible file and indicates;
And, described file system processing module, be additionally operable to judge Current Scan to file whether be compressible file, be compressible file or scanning next one file according to judged result labelling this document;
Described compression module, is additionally operable to be compressed the compressible file of labelling.
Described terminal, wherein, described file system files system processing module specifically includes:
Scanning element, the file in scanning memory space one by one;
Type judging unit, for judge Current Scan to file whether be uncompressed file;
Computer, for calculating the vacant time being not used by of uncompressed file;
Judging unit, for judging whether the vacant time is more than Preset Time threshold values and whether file is the file that compression ratio is high, and export judged result.
Described terminal, wherein, described compression module, it is additionally operable in units of block compressible file is compressed, the size of every piece is for presetting byte;When compressible file after compression is decompressed, decompress in units of block.
Described terminal, wherein, described terminal is smart mobile phone or computer.
Compared to prior art, a kind of method improving memory space utilization rate of present invention offer and terminal, its method is by the size of free space in monitoring memory space, the startup file system compressed mode when free space is less than pre-set space, file in memory space is scanned, judge Current Scan to file be compressible file time it is compressed and indicates, continue to scan on next file until the All Files in memory space has all scanned, exit file system compact model, automatically the file needing compression can be made a look up and compresses, without user's active process, save the time of user, user-friendly, improve Consumer's Experience effect.
Accompanying drawing explanation
Fig. 1 is user's space and the composition schematic diagram of kernel spacing in prior art.
Fig. 2 is user's space and the read-write schematic diagram of kernel spacing in prior art.
Fig. 3 is the first preferred embodiment flow chart that the present invention improves the method for memory space utilization rate.
Fig. 4 is the second preferred application embodiment flow chart that the present invention improves the method for memory space utilization rate.
Fig. 5 is the structured flowchart that the present invention is provided to realize improving the terminal of memory space utilization rate.
Detailed description of the invention
The present invention provides a kind of method improving memory space utilization rate and terminal, and for making the purpose of the present invention, technical scheme and effect clearer, clear and definite, the present invention is described in more detail for the embodiment that develops simultaneously referring to the drawings.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
All Files in memory space automatically can be processed by the method improving memory space utilization rate that the present invention provides when memory space is full or free space is less, file the most untapped, that compression ratio is high is therefrom selected to be compressed, improve the utilization rate of memory space, be greatly improved the experience effect of user.
Referring to Fig. 3, it improves the first preferred embodiment flow chart of method of memory space utilization rate for the present invention.As it is shown on figure 3, the described method improving memory space utilization rate includes:
The size of free space in step S100, monitoring memory space, it is judged that whether free space is less than pre-set space: if it is, startup file system compressed mode, be scanned the file in memory space;Otherwise exit monitoring.
In the embodiment of the present invention, data are had to need to start to monitor when writing memory space (such as new document or duplication audio frequency and video data) size of free space.Can write in order to ensure data, the size more preferably arranging pre-set space according to general size of data is 100M;The file type that user can store as required adjusts the size of pre-set space, and the size that can arrange pre-set space during if desired for storage video file is 2G.Assume D disk storage one document toward computer, if free space is less than 100M, then startup file system compressed mode in the memory space of monitoring discovery D dish;Based on memory space has multiple different types of file stored, need first to all of file run-down one by one, by step S200 judge Current Scan to file the need of being compressed;If free space is more than 100M, then exits monitoring, perform document write operation, wait that having data to need during write starts monitoring next time.
In the specific implementation, the condition starting monitoring in step S100 can also have other to arrange, such as in real time the size of free space is monitored, once detect that free space is less than pre-set space with regard to startup file system compressed mode, user can be reduced when file is more and write the time of wait, make memory space can keep the free space of abundance at any time.Or monitor once in certain set time (such as some every afternoon 5), then or automatically monitor once (every 1 hour) at set intervals, this is not construed as limiting by the present invention.Certainly, in the above-described embodiment when detecting that free space is less than pre-set space, it is also possible to prompting user's space is not enough, if need to be compressed;File system compact model is restarted after user confirms.
Step S200, judge Current Scan to file whether be compressible file: if it is, perform step S300;Otherwise, the next file of scanning, repeats step S200, until All Files has scanned, exited file system compact model.
In the present embodiment, in step S200, it is judged that Current Scan to file whether be that compressible file specifically includes:
Step 1, judge Current Scan to file whether be uncompressed file: if it is, perform step 2;Otherwise, confirmation this document is compressed file, does not make any process;
Step 2, calculate the vacant time that described file is not used by;
Step 3, judge that the described vacant time is whether more than Preset Time threshold values: if it is, this document is compressible file;Otherwise, this document is file to be compressed.
When scanning a file, first judge that this document is the most compressed.I.e. can determine whether whether file is uncompressed file by the suffix name of file.As suffix entitled rar, zip, tar etc. of this document, then it represents that this document is compressed file;Other suffix name such as txt, doc, rmvb etc., then it represents that this document is uncompressed file.The suffix name of compressed file be divided into prior art, this is not described further by the present invention.Due to compressed file without necessity of recompression, it is not dealt with herein;Rather than compressed file also has bigger compression stroke, the embodiment of the present invention needs to be compressed uncompressed file processing.
But, not all uncompressed file is required for compression.Judge Current Scan to file be uncompressed file time, need according to user, the degree of concern of different files being judged, it is the need of being compressed further.The vacant time can be drawn by deducting the time that this document opens for the last time current terminal time.This vacant time is the longest, illustrates that this document is not critically important, and therefore the present invention is compressed will not affect that the use of user to the file that this use frequency is little, can also save space simultaneously.Can be by user setup one Preset Time threshold values for this, such as 3 days, then illustrate that this document is not used by user for a long time when the vacant time is more than Preset Time threshold values, can compress, it is judged that it is compressible file;Otherwise, less than Preset Time threshold values, the recent opened this document of user is then described when the vacant time, may also may proceed to use, not compress to facilitate user that this document content is written and read, it is judged that it is file to be compressed.Use state compressed file selectively according to file, considers the situation of user more, makes the present invention more hommization.
The compression ratio of the files such as the picture of the file that it should be noted that such as JPG form, MP3 is relatively low, and the space can saved after compression is less.Some files such as txt document, the file of pure words, BMP form the compression ratio of picture higher, become 80K after compressing such as the word document (suffix is .doc) of the 272K size that takes up room, its compression ratio is up to 70%.In order to accelerate the time of compression, it is ensured that bigger space can be obtained after compression, in above-mentioned steps 3, when judging also to include after the vacant time is more than Preset Time threshold values: judge whether this document is the file that compression ratio is high: if it is, this document is compressible file;Otherwise, this document is file to be compressed.In the embodiment of the present invention, txt document, word document, the picture of BMP form are defined as the file that compression ratio is high, preferentially these files are compressed.
In the specific implementation, if file high less than compression ratio in the All Files of present scan, when i.e. judged result is described file to be compressed, illustrate that it can be compressed but compression stroke is less, then by file default to be compressed for being compressible file and being compressed it.
Step S300, compressible file is compressed and indicates after, the next file of scanning, return step S200.
In step S300, at kernel spacing, compressible file is compressed, at user's space without compression prompting, the compression being equivalent to carry out compressible file uses transparent compression, user can also be cried invisible compression, can't be in the display screen display compression duty frame of terminal or other informations when being i.e. compression, user not can be appreciated that whole compression process, is all to run in the kernel spacing of terminal.The suffix name of the file after the seen compression of user does not has any change, but the file suffixes name being actually stored in kernel spacing in storage medium has changed to compressed format, such as rar.Identify for the ease of difference and user, the file after taking transparent compression is marked;Accordingly even when user does not see which file is compressed, by the change conditions of file in the labelling just clear and definite memory space of energy, simultaneously when lower second compression, the file of labelling will not be compressed by terminal, gives tacit consent to it for compressed file.After the file mark after compression, the next file of step S200 scanning can be returned, continue to judge until the All Files in this memory space has all judged, without compressible file backed off after random file system compression module.
Owing to when the file after transparent compression shows on a display screen, its file type does not change, then there are certain requirement, the i.e. read or write speed to file to want fast in compression algorithm and file calculation process, make the imperceptible this document of user the most compressed.In order to realize fast reading and writing, in units of block, compressible file is compressed, the size of every piece is for presetting byte, when compressible file after compression is decompressed, the monoblock presetting byte is used to read, all using compression ratio height during read-write, compress and decompress fireballing LZ77 algorithm, default byte is 128K.Read-write to file is equivalent to this document is compressed (write) and decompresses (reading);When compression, being compressed file with block, every block size is 128K, is stored in afterwards in storage medium.It is one piece with 128K during decompression, decompresses in units of block, the content after decompression show on screen for user's reading.
It should be appreciated that step S200 and step S300 are the processes of a repetitive cycling;It is to say, when step S200 scans a file, it is judged that it is compressible file, then perform step S300 and be compressed, and then the next file of scanning, returns step S200, continues to judge that it is the most compressible.If being judged as non-compressible file in step s 200, the next file of scanning is further continued for judging whether this document is to press file, if not then continuing to scan on next file until the All Files in memory space all scans through afterwards, compressible file compresses the most, now exiting file system compact model, memory space can carry out normal read-write operation.
The present invention improves the second preferred application embodiment of the method for memory space utilization rate, and as shown in Figure 4, described method includes:
The size of free space in S100, monitoring memory space, it is judged that whether free space is less than pre-set space: if it is, startup file system compressed mode, be scanned the file in memory space;Otherwise exit monitoring.
S210, judge Current Scan to file whether be compressible file: if it is, labelling this document is compressible file;Otherwise, the next file of scanning continues to judge, until All Files has scanned.
S310, compressible file to labelling are compressed.
In the present embodiment, compressible file can be marked when file is scanned, compressible listed files can be generated after All Files has scanned, this list showing, the parameters such as the filename of compressible file, size, type are for reference, compressible file in this list can be added or remove by user, is compressed compressible file remaining in this list the most again.
It should be noted that step S210 judges Current Scan to file be whether the judgment mode of compressible file, judgment mode and compress mode that the compress mode that uses during compression in step S310 is corresponding with the first preferred embodiment are identical.
Based on the above-mentioned method improving memory space utilization rate, the embodiment of the present invention also provides for a kind of terminal for realizing above-mentioned raising memory space utilization rate.Described terminal is smart mobile phone or computer, as it is shown in figure 5, comprising: SS module 110, space judge module 120, file system processing module 130 and compression module 140.
Wherein, SS module 110, for monitoring the size of free space in memory space;Space judge module 120 is connected with SS module 110, is used for judging that whether free space is less than pre-set space;File system processing module 130 is connected with space judge module 120, for the startup file system compressed mode when free space is less than pre-set space, is scanned the file in memory space, it is judged that whether have compressible file in the file of memory space;Compression module 140 is connected with file system processing module 130, during for there being compressible file in the file of memory space, this compressible file is compressed and is indicated it;And, described file system processing module 130 be additionally operable to judge Current Scan to file whether be compressible file, if then labelling this document is compressible file;The otherwise next file of scanning;Described compression module 140 is additionally operable to be compressed the compressible file of labelling.
Wherein, described file system processing module 130 farther includes scanning element 131, type judging unit 132, computer 133 and judging unit 134.Scanning element 131 is connected with space judge module 120, and when space judge module 120 judges that free space is less than pre-set space, the file in memory space is scanned by scanning element 131 one by one.Type judging unit 132 is connected with scanning element 131, when scanning element 131 scans a file, it is judged that Current Scan to file whether be uncompressed file;When being judged as uncompressed file, type judging unit 132 exports judged result extremely connected computer 133, and computer 133 calculates its vacant time being not used by for this uncompressed file.Judging unit 134 is connected with computer 133, whether judges whether this document is compressible file more than Preset Time threshold values according to the vacant time;It addition, judging unit 134 always according to file be whether file that compression ratio is high to judge whether this document is compressible file, export judged result.Compression module 140 is connected with judging unit 134, chooses whether that needs are compressed according to judged result.Compression module 140 is also connected with scanning element 131, after compression module 140 completes compression, labelling, sends a control instruction and makes scanning element 131 continue to scan on next file.When compression, compression module 140 uses compress mode and the LZ77 algorithm of the monoblock write presetting byte to compressible file;When compressible file after compression is decompressed, use monoblock playback mode and the LZ77 algorithm presetting byte.
In order to accelerate the time of compression, it is ensured that can obtain bigger space after compression, described judging unit 134, after judging that the vacant time is more than Preset Time threshold values, is additionally operable to judge whether this document is the file that compression ratio is high.Judging unit 134 is by the vacant time more than Preset Time threshold values, and the high file identification of compression ratio is compressible file.
In sum, the present invention monitors the size of free space in memory space when writing file, the startup file system compressed mode when judging free space less than pre-set space, file in memory space is scanned one by one, the uncompressed file identified is judged further, when its vacant time is more than Preset Time threshold values and its compression ratio height, it is judged that this document is compressible file;Compressible file is carried out the invisible compression of user and it is indicated, continue to scan on next file afterwards to judge, until All Files has scanned, has exited file system compact model, memory space is made normally to use, that All Files in memory space can be carried out by the present invention automatically is suitable, selectively compression processes, improve the utilization rate of memory space, it is not necessary to user selects the many second compression of file one by one, convenient for users to use;Use monoblock writing mode and the LZ77 algorithm presetting byte during compression, accelerate the time of compression, it is ensured that bigger space can be obtained after compression, do not interfere with user's use to file, improve Consumer's Experience effect.
It is understood that for those of ordinary skills, can be according to technical scheme and inventive concept thereof in addition equivalent or change, and all these change or replace the protection domain that all should belong to appended claims of the invention.

Claims (9)

1. the method improving memory space utilization rate, it is characterised in that including:
The size of free space in A, monitoring memory space, it is judged that whether free space is less than pre-set space: if it is, startup file system compressed mode, be scanned the file in memory space;Otherwise exit monitoring;
B, judge Current Scan to file whether be compressible file: if it is, labelling this document is compressible file;Otherwise, the next file of scanning continues to judge, until All Files has scanned;All Files generates compressible listed files after having scanned;This compressible listed files shows the filename of compressible file, size, type;
C, compressible file to labelling are compressed;Again remaining compressible file is compressed after compressible file in this compressible listed files is added or removes;
In step C, at kernel spacing, compressible file is compressed, at user's space without compression prompting, i.e. uses transparent compression;
The suffix name of the file after compression is not changed, and in kernel spacing, the file suffixes name of actual storage has changed to compressed format;File after taking transparent compression is marked.
The method of raising memory space utilization rate the most according to claim 1, it is characterised in that in described step B, it is judged that Current Scan to file whether be that compressible file specifically includes:
B11, judge Current Scan to file whether be uncompressed file: if it is, perform step B12;Otherwise, confirmation this document is compressed file, does not make any process;
B12, calculate the vacant time that described file is not used by;
B13, judge that the described vacant time is whether more than Preset Time threshold values: if it is, this document is compressible file;Otherwise, this document is file to be compressed.
The method of raising memory space utilization rate the most according to claim 2, it is characterized in that, in described step B13, when judging also to include after the vacant time is more than Preset Time threshold values: judge whether this document is the file that compression ratio is high: if it is, this document is compressible file;Otherwise, this document is file to be compressed.
The method of raising memory space utilization rate the most according to claim 1, it is characterised in that in step C, be compressed compressible file in units of block, the size of every piece is for presetting byte.
The method of raising memory space utilization rate the most according to claim 4, it is characterised in that when the compressible file after compression is decompressed, decompress in units of block.
6. the terminal being used for realizing the method improving memory space utilization rate described in claim 1, it is characterised in that including:
SS module, for monitoring the size of free space in memory space;
Space judge module, is used for judging that whether free space is less than pre-set space;
File system processing module, for the startup file system compressed mode when free space is less than pre-set space, file in memory space is scanned, judge Current Scan to file whether be compressible file, be compressible file or scanning next one file according to judged result labelling this document;All Files generates compressible listed files after having scanned;This compressible listed files shows the filename of compressible file, size, type;
Compression module, for being compressed the compressible file of labelling;Again remaining compressible file is compressed after compressible file in this compressible listed files is added or removes;
At kernel spacing, compressible file is compressed, at user's space without compression prompting, i.e. uses transparent compression;
The suffix name of the file after compression is not changed, and in kernel spacing, the file suffixes name of actual storage has changed to compressed format;File after taking transparent compression is marked.
Terminal the most according to claim 6, it is characterised in that described file system processing module specifically includes:
Scanning element, the file in scanning memory space one by one;
Type judging unit, for judge Current Scan to file whether be uncompressed file;
Computer, for calculating the vacant time being not used by of uncompressed file;
Judging unit, for judging whether the vacant time is more than Preset Time threshold values and whether file is the file that compression ratio is high, and export judged result.
Terminal the most according to claim 6, it is characterised in that described compression module, is additionally operable in units of block be compressed compressible file, and the size of every piece is for presetting byte;When compressible file after compression is decompressed, decompress in units of block.
9. according to the terminal described in claim 6 to 8 any one, it is characterised in that described terminal is smart mobile phone or computer.
CN201310106995.5A 2013-03-29 2013-03-29 A kind of method improving memory space utilization rate and terminal Active CN103218224B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310106995.5A CN103218224B (en) 2013-03-29 2013-03-29 A kind of method improving memory space utilization rate and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310106995.5A CN103218224B (en) 2013-03-29 2013-03-29 A kind of method improving memory space utilization rate and terminal

Publications (2)

Publication Number Publication Date
CN103218224A CN103218224A (en) 2013-07-24
CN103218224B true CN103218224B (en) 2016-09-21

Family

ID=48816053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310106995.5A Active CN103218224B (en) 2013-03-29 2013-03-29 A kind of method improving memory space utilization rate and terminal

Country Status (1)

Country Link
CN (1) CN103218224B (en)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095278B (en) * 2014-05-13 2018-09-07 华为技术有限公司 A kind of file compression method and device
CN104572113A (en) * 2015-01-21 2015-04-29 深圳市中兴移动通信有限公司 Automatic storage space arranging method and mobile terminal
US9977748B2 (en) * 2015-06-19 2018-05-22 Lenovo (Singapore) Pte. Ltd. Managing storage of digital content
CN105025166A (en) * 2015-07-09 2015-11-04 深圳市金立通信设备有限公司 File processing method and terminal
CN105573677A (en) * 2015-12-16 2016-05-11 浪潮(北京)电子信息产业有限公司 Implementation method of efficient storage
EP3404538B1 (en) 2016-01-26 2022-09-28 Huawei Technologies Co., Ltd. Data processing method, and data processing apparatus
CN107133139A (en) * 2016-02-26 2017-09-05 宏碁股份有限公司 Intelligent disc monitoring method and the device using this method
CN105677259A (en) * 2016-02-29 2016-06-15 珠海市魅族科技有限公司 Method for storing file in mobile terminal and mobile terminal
WO2018027749A1 (en) * 2016-08-11 2018-02-15 王志远 Method for automatically compressing file according to time threshold, and compression system
WO2018027750A1 (en) * 2016-08-11 2018-02-15 王志远 Method for pushing information about file compression technology, and compression system
WO2018027751A1 (en) * 2016-08-11 2018-02-15 王志远 Method for acquiring data when automatically compressing file, and compression system
CN106502588A (en) * 2016-10-19 2017-03-15 广东欧珀移动通信有限公司 A kind of memory space management and storage device
CN106802773A (en) * 2017-01-13 2017-06-06 刘超 The management method and mobile terminal of a kind of memory space
CN106909398B (en) * 2017-03-10 2020-10-16 深圳创维-Rgb电子有限公司 Compression method and device for executable file
CN113296709B (en) * 2017-06-02 2024-03-08 伊姆西Ip控股有限责任公司 Method and apparatus for deduplication
CN107885859B (en) * 2017-11-20 2021-10-15 郑州云海信息技术有限公司 Method and device for file number quota and computer readable storage medium
CN108446300B (en) * 2018-01-26 2021-04-09 北京奇虎科技有限公司 Data information scanning method and device
CN108304534A (en) * 2018-01-30 2018-07-20 努比亚技术有限公司 File management method, terminal and computer readable storage medium
CN109325006A (en) * 2018-08-23 2019-02-12 郑州云海信息技术有限公司 A kind of method and apparatus for compressing the method and apparatus stored, decompression downloading
CN110347643B (en) * 2019-07-22 2020-05-19 成都易我科技开发有限责任公司 Method and device for cloning NTFS (New technology File System) volume between disks
US11765288B1 (en) 2022-05-18 2023-09-19 Xerox Corporation Methods and systems for automatically managing output size of a document submitted for scanning

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1584875A (en) * 2004-06-01 2005-02-23 北京九州计算机网络有限公司 Ergodic compressing and decompressing method for batched computer document
CN1584829A (en) * 2004-06-09 2005-02-23 北京九州计算机网络有限公司 Mobile memory system for automatic data compressing and decompressing
CN101373436A (en) * 2008-09-05 2009-02-25 四川登巅微电子有限公司 Method for automatically compressing and de-compressing data on U disk
CN101661470A (en) * 2008-08-25 2010-03-03 中兴通讯股份有限公司 System and method for managing historical data
CN102456048A (en) * 2010-10-28 2012-05-16 无锡江南计算技术研究所 Method and system for processing mass data
CN102929783A (en) * 2012-10-25 2013-02-13 华为技术有限公司 Data storage method, device and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6564282B1 (en) * 1999-05-05 2003-05-13 Flashpoint Technology, Inc. Method and system for increasing storage capacity in a digital image capture device
US7551787B2 (en) * 2003-01-28 2009-06-23 International Business Machines Corporation Adaptive compression quality

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1584875A (en) * 2004-06-01 2005-02-23 北京九州计算机网络有限公司 Ergodic compressing and decompressing method for batched computer document
CN1584829A (en) * 2004-06-09 2005-02-23 北京九州计算机网络有限公司 Mobile memory system for automatic data compressing and decompressing
CN101661470A (en) * 2008-08-25 2010-03-03 中兴通讯股份有限公司 System and method for managing historical data
CN101373436A (en) * 2008-09-05 2009-02-25 四川登巅微电子有限公司 Method for automatically compressing and de-compressing data on U disk
CN102456048A (en) * 2010-10-28 2012-05-16 无锡江南计算技术研究所 Method and system for processing mass data
CN102929783A (en) * 2012-10-25 2013-02-13 华为技术有限公司 Data storage method, device and system

Also Published As

Publication number Publication date
CN103218224A (en) 2013-07-24

Similar Documents

Publication Publication Date Title
CN103218224B (en) A kind of method improving memory space utilization rate and terminal
RU2673694C2 (en) Modified memory compression
US10671285B2 (en) Tier based data file management
US8150890B2 (en) File system that manages files according to content
KR100690804B1 (en) Method for executing garbage collection of mobile terminal
KR20130108298A (en) Card-based management of discardable files
CN109804359A (en) For the system and method by write back data to storage equipment
KR20130113435A (en) Systems and methods for managing an upload of files in a shared cache storage system
TW201025114A (en) File system for storage device which uses different cluster sizes
CN104158858A (en) Method and system for accessing distributed cluster file system
CN113568582B (en) Data management method, device and storage equipment
US20190370009A1 (en) Intelligent swap for fatigable storage mediums
CN102541969B (en) File protection method and system based on file allocation table (FAT) file system, and memory
CN109697019B (en) Data writing method and system based on FAT file system
CN107402846B (en) File processing method and device
US10073851B2 (en) Fast new file creation cache
CN111597129B (en) Cache management method and device, storage medium and solid-state nonvolatile storage device
US20140208019A1 (en) Caching method and caching system using dual disks
CN111741107A (en) Layering method and device based on file storage system and electronic equipment
CN112597102B (en) High-efficiency mirror image file system implementation method
US11954328B2 (en) Storage management device, storage management method, and program
CN107918654B (en) File decompression method and device and electronic equipment
US11409604B1 (en) Storage optimization of pre-allocated units of storage
CN110018985B (en) Snapshot deleting method, device and system
CN107741940B (en) Data storage method and storage system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant