CN103218224A - Method and terminal for improving utilization ratio of memory space - Google Patents

Method and terminal for improving utilization ratio of memory space Download PDF

Info

Publication number
CN103218224A
CN103218224A CN2013101069955A CN201310106995A CN103218224A CN 103218224 A CN103218224 A CN 103218224A CN 2013101069955 A CN2013101069955 A CN 2013101069955A CN 201310106995 A CN201310106995 A CN 201310106995A CN 103218224 A CN103218224 A CN 103218224A
Authority
CN
China
Prior art keywords
file
compressible
storage space
space
compressed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013101069955A
Other languages
Chinese (zh)
Other versions
CN103218224B (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

Images

Abstract

The invention discloses a method and a terminal for improving the utilization ratio of a memory space. The method comprises steps of A, monitoring the available space in the memory space, judging whether the available space is smaller than a preset space or not; if yes, starting a file system compression mode, and scanning files in the memory space; if not, stopping monitoring; B1, judging whether the currently scanned file is a compressible file or not; if yes, executing step C1; if not, scanning the next file, repeating step B1 until all the files are completely scanned, and exiting from the file system compression mode; and C1, compressing and marking the compressible file, scanning the next file, and returning to step B1. All the files in the memory space are appropriately and selectively compressed through the method, the utilization ratio of the memory space is improved, and a user does not need to select the files to perform a plurality of times of compression, so that the use by users is facilitated, and a user experience effect is improved.

Description

A kind of method and terminal that improves the storage space utilization factor
Technical field
The present invention relates to the treatment technology of storage space, particularly a kind of method and terminal that improves the storage space utilization factor.
Background technology
Storage space, being also referred to as physical space, is the set of physical address, i.e. the total volume of certain memory device.For example the C of computer dish is commonly used to deposit terminal program, and D dish or E dish can be deposited various pictures, audio frequency and video, document etc.; The total volume of C dish, D dish, E dish is its storage space.The content of depositing in above-mentioned each dish can take a part of space of this dish, is to take up room; Remaining space is free space in this dish, and on behalf of this dish, the size of free space can also deposit what of content.Virtual file terminal with Linux is an example, sees also Fig. 1, when the user carries out various operation on computers, edit, browsing page, watch video etc. as opening document, can demonstrate each process that computer is moving in the user's space.The visible operation of expression user such as consumer process 1, consumer process 2, consumer process 3.Then by virtual file terminal, file terminal, storage medium user's operation is handled accordingly successively at kernel spacing.
Wherein, Virtual File System (VFS, Virtual File System) is a kind ofly to shield various file system differentiation and an abstract software layer that comes out, and allows to exist simultaneously with various file system in the storage medium; It is equivalent to a kind of software mechanism, is the file system management person of Linux again.File system is the software systems of management document information and used resource thereof, is the equal of constituent act on disk, a kind of software module of management document access format; The NTFS(New Technology File System that for example uses in the Windows system, be in particular network and Disk Quotas, the disc format of Administrative Security characteristics design such as file encryption), FAT(File Allocating Table, file allocation table, the file system that designs for minidisk and simple bibliographic structure), the EXT4(The fourth extended file system that uses in the Android system, a kind of expansion Journal File System at the EXT3 system, be to be the 4th edition of the original extended file system of Linux exploitation specially), the JFFS2(Journalling Flash File System Version 2 that uses in the linux system, flash memory log type file system the 2nd edition).Storage medium is meant the carrier of storage data, generally can be divided into volume, bunch, physical layouts such as sector, piece carry out the management of data; According to medium memory principle and medium physical state, be divided into hard disk, FLASH(flash memory, a kind of involatile internal memory), EMMC(Embedded Multi Media Card, built-in multimedia).
Please consult Fig. 2 simultaneously, when supposing that the user preserves a document in storage space, the operation of carrying out in the kernel spacing is followed successively by VFS(and is equivalent to the virtual file terminal) write, EXT4(is equivalent to the file terminal) write, the data just interface by the file terminal write FLASH(and are equivalent to storage medium) in preserve.When needs are read, the internal memory of preserving among the FLASH successively by EXT4 read, VFS reads, in user's space, be shown as the user at last and read.Usually when the storage space of storage medium (FLASH) completely or free space when being not enough to preserve data; terminal regular meeting prompting user storage space is full or not enough; can not write, need user's deletion data or carry out defragmentation or change the another one storage space.When some vital document user does not want to delete, often it is compressed and save segment space, initiatively being compressed by the user not only needs certain compression time, also will carry out repeated operation.Some file that is of little use is left in the basket based on some reasons and not compression, often occupies certain storage space; Find out which file and do not use for a long time if will compress then to need to take time it.This shows that existing operating factor of memory space is not high, initiatively the various files in the storage space are handled the time of not only wasting the user by the user, and complex operation, user's experience effect is relatively poor.
Thereby prior art is still waiting to improve and improve.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art part, the object of the present invention is to provide a kind of method and terminal that improves the storage space utilization factor, not high to solve the prior art operating factor of memory space, waste user's time when various files are handled, complex operation causes the problem of user experience weak effect.
In order to achieve the above object, the present invention has taked following technical scheme:
A kind of method that improves the storage space utilization factor, it comprises:
The size of free space in A, the monitoring storage space judges that free space is whether less than pre-set space: if then startup file system compresses pattern scans the file in the storage space; Otherwise withdraw from monitoring;
B1, judge whether the current file that scans is compressible file: if, execution in step C then; Otherwise, scanning next file, repeating step B finishes, withdraws from the file system compact model until All Files scanning;
C1, compressible file compressed and indicates after, scan next file, return step B1;
Perhaps, comprise after the described steps A:
B2, judge whether the current file that scans is compressible file: if then mark this document is compressible file; Otherwise, scan next file and continue to judge, finish until All Files scanning;
C2, the compressible file of mark is compressed.
The method of described raising storage space utilization factor, wherein, among described step B1 or the B2, judge whether the current file that scans is that compressible file specifically comprises:
B11, judge whether the current file that scans is non-compressed file: if, execution in step B2 then; Otherwise affirmation this document is a compressed file, does not do any processing;
The vacant time that B12, the described file of calculating are not used;
B13, judge that the described vacant time is whether greater than the Preset Time threshold values: if then this document is compressible file; Otherwise this document is a file to be compressed.
The method of described raising storage space utilization factor wherein, among the described step B13, also comprises when judging after the vacant time is greater than the Preset Time threshold values: judge whether this document is the high file of ratio of compression: if then this document is compressible file; Otherwise this document is a file to be compressed.
The method of described raising storage space utilization factor wherein, in step C1 or C2, is compressed compressible file at kernel spacing, does not have the compression prompting at user's space.
The method of described raising storage space utilization factor wherein, in step C1 or C2, is that unit compresses compressible file with the piece, and every size is default byte.
The method of described raising storage space utilization factor wherein, when the compressible file after the compression is carried out decompress(ion), is that unit decompresses with the piece.
A kind of terminal that is used to realize the method for described raising storage space utilization factor, it comprises:
The space surveillance module is used for monitoring the size of storage space free space;
The space judge module is used to judge that whether free space is less than pre-set space;
The file system processing module is used in free space startup file system compresses pattern during less than pre-set space the file in the storage space being scanned, and judges in the file of storage space whether compressible file is arranged;
Compression module is used for when the file of storage space has compressible file, the described compressible file of compression and indicating;
And described file system processing module is used to also judge whether the current file that scans is compressible file, is the next file of compressible file or scanning according to judged result mark this document;
Described compression module also is used for the compressible file of mark is compressed.
Described terminal, wherein, described file system files system handles module specifically comprises:
Scanning element is used for scanning one by one the file of storage space;
The type judging unit is used to judge whether the current file that scans is non-compressed file;
Counter, the vacant time that is not used that is used to calculate non-compressed file;
Judging unit is used to judge whether whether the vacant time be the high file of ratio of compression greater than Preset Time threshold values and file, and the output judged result.
Described terminal, wherein, described compression module, also being used for the piece is that unit compresses compressible file, every size is default byte; When the compressible file after the compression is carried out decompress(ion), be that unit decompresses with the piece.
Described terminal, wherein, described terminal is smart mobile phone or computer.
Compared to prior art, a kind of method and terminal that improves the storage space utilization factor provided by the invention, its method is by the size of free space in the monitoring storage space, in free space startup file system compresses pattern during less than pre-set space, file in the storage space is scanned, judge and when the current file that scans is compressible file it is compressed and indicate, the All Files of the continuation next file of scanning in storage space all scans to be finished, withdraw from the file system compact model, can automatically the file of needs compression be searched and compress, need not user's active process, saved user's time, user-friendly, promoted the user experience effect.
Description of drawings
Fig. 1 is the composition synoptic diagram of user's space and kernel spacing in the prior art.
Fig. 2 is the read-write synoptic diagram of user's space and kernel spacing in the prior art.
Fig. 3 improves the first preferred embodiment process flow diagram of the method for storage space utilization factor for the present invention.
Fig. 4 improves the second preferred application embodiment process flow diagram of the method for storage space utilization factor for the present invention.
Fig. 5 the invention provides the structured flowchart that is used to realize improve the terminal of storage space utilization factor.
Embodiment
The invention provides a kind of method and terminal that improves the storage space utilization factor, clearer, clear and definite for making purpose of the present invention, technical scheme and effect, below develop simultaneously with reference to accompanying drawing that the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The method of raising storage space utilization factor provided by the invention can be at storage space full or free space hour automatically the All Files in the storage space is handled, therefrom select file untapped for a long time, that ratio of compression is high to compress, improve operating factor of memory space, promoted user's experience effect greatly.
See also Fig. 3, it improves the first preferred embodiment process flow diagram of the method for storage space utilization factor for the present invention.As shown in Figure 3, the method for described raising storage space utilization factor comprises:
The size of free space in step S100, the monitoring storage space judges that free space is whether less than pre-set space: if then startup file system compresses pattern scans the file in the storage space; Otherwise withdraw from monitoring.
In the embodiment of the invention, begin to monitor the size of free space when having data need write storage space (as new document or duplicate the audio frequency and video data).Can write in order to ensure data, the size that pre-set space more preferably is set according to general size of data is 100M; File type that the user can store is as required adjusted the size of pre-set space, as the size that pre-set space can be set when needing store video files is 2G.Suppose D disk storage one document toward computer, if monitoring is found in the storage space of D dish free space less than 100M, startup file system compresses pattern then; Based on the different file of a plurality of types of having stored is arranged in the storage space, need earlier all files run-down is one by one judged by step S200 whether the current file that scans needs to be compressed; If free space, then withdraws from monitoring greater than 100M, carries out the document write operation, wait for having data need write the fashionable monitoring that starts next time.
In the specific implementation, the condition that begins among the step S100 to monitor also can have other settings, for example in real time the size of free space is monitored, in case when detecting free space less than pre-set space with regard to startup file system compresses pattern, the situation more for file can reduce the time that the user writes wait, makes storage space can keep sufficient free space at any time.Perhaps in certain set time (as some every afternoons 5) monitoring once, (every 1 hour) is automatic again or at set intervals monitors once, and the present invention does not limit this.Certainly, when detecting free space, also can point out the user's space deficiency in the above-described embodiment, whether need to compress less than pre-set space; After confirming, the user restarts the file system compact model.
Step S200, judge whether the current file that scans is compressible file: if, execution in step S300 then; Otherwise, scanning next file, repeating step S200 finishes, withdraws from the file system compact model until All Files scanning.
In the present embodiment, among the step S200, judge whether the current file that scans is that compressible file specifically comprises:
Step 1, judge whether the current file that scans is non-compressed file: if then execution in step 2; Otherwise affirmation this document is a compressed file, does not do any processing;
The vacant time that step 2, the described file of calculating are not used;
Step 3, judge that the described vacant time is whether greater than the Preset Time threshold values: if then this document is compressible file; Otherwise this document is a file to be compressed.
When scanning a file, judge whether this document compressed earlier.Can judge by the suffix name of file whether file is non-compressed file.As when the suffix of this document rar, zip by name, the tar etc., represent that then this document is a compressed file; Other suffix names such as txt, doc, rmvb etc. represent that then this document is non-compressed file.The suffix name of compressed file be divided into prior art, the present invention is not described further this.Because compressed file has not had necessity of compression once more, it is not dealt with herein; But not compressed file also has bigger compression stroke, and the embodiment of the invention need be compressed processing to non-compressed file.
Yet not all non-compressed file all needs compression.When judging that the current file that scans is non-compressed file, whether needs are compressed to need further according to the user degree of concern of different files to be judged it.Can draw the vacant time by deducting the time that this document opens for the last time current terminal time.This vacant time is long more, illustrates that this document is not very important, so the present invention compresses the little file of this frequency of utilization and will can not influence user's use, can also save the space simultaneously.Can one Preset Time threshold values be set by the user for this reason,, then illustrate that when the vacant time user uses for a long time to this document during greater than the Preset Time threshold values, can compress, judge that it is compressible file as 3 days; Otherwise, illustrating then that less than the Preset Time threshold values user opened this document in the recent period when the vacant time, may also can continue to use, temporarily do not compress to make things convenient for the user that this document content is read and write, judge that it is a file to be compressed.According to the user mode of file compressed file selectively, considered user's situation more, make the present invention's hommization more.
The ratio of compression of files such as the picture of file that it should be noted that such as JPG form, MP3 is lower, and the space that can save after the compression is less.The ratio of compression of the file of file that has such as txt document, pure words, the picture of BMP form is higher, becomes 80K after word document (suffix the is .doc) compression as the 272K size that takes up room, and its compressibility is up to 70%.For the time of accelerating to compress, can obtain bigger space after guaranteeing to compress, in above-mentioned steps 3, also comprise: judge whether this document is the high file of ratio of compression: if then this document is compressible file when judging after the vacant time is greater than the Preset Time threshold values; Otherwise this document is a file to be compressed.In the embodiment of the invention, the picture of txt document, word document, BMP form is defined as the high file of ratio of compression, preferentially these files is compressed.
In the specific implementation, if the file high in the All Files of this scanning less than ratio of compression, be judged result when being described file to be compressed, illustrate that it can compress but compression stroke is less, then file to be compressed is defaulted as and is compressible file and it is compressed.
Step S300, compressible file compressed and indicates after, scan next file, return step S200.
In step S300, at kernel spacing compressible file is compressed, there is not the compression prompting at user's space, be equivalent to transparent compression is adopted in the compression that compressible file carries out, also can cry the user invisible compression, can't show compression duty frame or other informations on the display screen of terminal when promptly being compression, the user can not see whole compression process, all is to move in the kernel spacing of terminal.The suffix name of the file after the being seen compression of user is without any change, but the file suffixes name of actual storage in storage medium changed to compressed format in the kernel spacing, as rar.For the ease of difference and User Recognition, carry out mark to taking the file after the transparent compression; Even the user does not see which file was compressed like this, by the change conditions of mark with regard to file in the clear and definite storage space of energy, when compressing next time, terminal can not compressed the file of mark simultaneously, gives tacit consent to it and is compressed file.After the file mark after the compression, can return step S200 and scan next file, continue to judge that All Files in this storage space is all judged to finish not have compressible file and retreat outfile system compresses module.
Because its file type did not change when the file after the transparent compression showed on display screen, then on compression algorithm and file calculation process certain requirement was arranged, promptly the read or write speed of file is wanted fast, the imperceptible this document of user was compressed.In order to realize fast reading and writing, with the piece is that unit compresses compressible file, every size is default byte, when the compressible file after the compression is carried out decompress(ion), adopt the monoblock of default byte to read, all adopt the fireballing LZ77 algorithm of compressibility height, compression and decompress(ion) during read-write, default byte is 128K.Read-write to file is equivalent to this document is compressed (writing) and decompress (reading); When compression, file is compressed with piece, every block size is 128K, is stored in the storage medium afterwards.Being one with 128K during decompression, is that unit carries out decompress(ion) with the piece, the content behind the decompress(ion) is presented on the screen reads for the user.
Should be understood that step S200 and step S300 are the processes of a repetitive cycling; That is to say that when scanning a file among the step S200, judge that it is compressible file, then execution in step S300 compresses, and then scans next file, returns step S200, continues to judge whether it is compressible.In step S200 if be judged as non-compressible file, scan next file and continue again to judge whether this document is to press file, if not then the next file of continuation scanning, the All Files in storage space have all scanned the back, compressible file all compresses, withdraw from the file system compact model this moment, and storage space can carry out normal read-write operation.
The present invention improves the second preferred application embodiment of the method for storage space utilization factor, and as shown in Figure 4, described method comprises:
The size of free space in S100, the monitoring storage space judges that free space is whether less than pre-set space: if then startup file system compresses pattern scans the file in the storage space; Otherwise withdraw from monitoring.
S210, judge whether the current file that scans is compressible file: if then mark this document is compressible file; Otherwise, scan next file and continue to judge, finish until All Files scanning.
S310, the compressible file of mark is compressed.
In the present embodiment, when being scanned, file can mark compressible file, after finishing, All Files scanning can generate compressible listed files, parameters such as the filename of the compressible file of demonstration, size, type are for reference in this tabulation, the user can add the compressible file in this tabulation or remove, and more compressible file remaining in this tabulation is compressed afterwards to get final product.
It should be noted that to judge among the step S210 whether the current file that scans is the judgment mode of compressible file, judgment mode and compress mode corresponding in the compress mode that when compression adopts among the step S310 and first preferred embodiment are identical.
Based on the method for above-mentioned raising storage space utilization factor, the embodiment of the invention also provides a kind of terminal that is used to realize above-mentioned raising storage space utilization factor.Described terminal is smart mobile phone or computer, and as shown in Figure 5, it comprises: space surveillance module 110, space judge module 120, file system processing module 130 and compression module 140.
Wherein, space surveillance module 110 is used for monitoring the size of storage space free space; Space judge module 120 is connected with space surveillance module 110, is used to judge that whether free space is less than pre-set space; File system processing module 130 is connected with space judge module 120, is used in free space startup file system compresses pattern during less than pre-set space the file in the storage space being scanned, and judges in the file of storage space whether compressible file is arranged; Compression module 140 is connected with file system processing module 130, is used for when the file of storage space has compressible file, this compressible file is compressed and it is indicated; And described file system processing module 130 is used to also judge whether the current file that scans is compressible file, if then mark this document is compressible file; Otherwise scan next file; Described compression module 140 also is used for the compressible file of mark is compressed.
Wherein, described file system processing module 130 further comprises scanning element 131, type judging unit 132, counter 133 and judging unit 134.Scanning element 131 is connected with space judge module 120, and when space judge module 120 was judged free space less than pre-set space, the file in 131 pairs of storage spaces of scanning element scanned one by one.Type judging unit 132 is connected with scanning element 131, when file of scanning element 131 scannings, judges whether the current file that scans is non-compressed file; When being judged as non-compressed file, type judging unit 132 output judged results are to connected counter 133, and counter 133 calculates the vacant time that it is not used at this non-compressed file.Judging unit 134 is connected with counter 133, whether judges greater than the Preset Time threshold values whether this document is compressible file according to the vacant time; In addition, whether judging unit 134 is that the high file of ratio of compression judges whether this document is compressible file according to file also, the output judged result.Compression module 140 is connected with judging unit 134, selects according to judged result whether needs compress.Compression module 140 also is connected with scanning element 131, after compression module 140 is finished compression, mark, sends a steering order and makes scanning element 131 continue the next file of scanning.When compression, compress mode and LZ77 algorithm that 140 pairs of compressible files of compression module adopt the monoblock of default byte to write; When the compressible file after the compression is carried out decompress(ion), adopt the monoblock playback mode and the LZ77 algorithm of default byte.
For the time of accelerating to compress, can obtain bigger space after guaranteeing to compress, described judging unit 134 is used to also judge whether this document is the high file of ratio of compression after judging that the vacant time is greater than the Preset Time threshold values.Judging unit 134 with the vacant time greater than the Preset Time threshold values, and the high file identification of ratio of compression is compressible file.
In sum, the present invention monitors the size of free space in the storage space when writing file, startup file system compresses pattern when judging free space less than pre-set space, file in the storage space is scanned one by one, the non-compressed file that identifies is further judged, when its vacant time is high greater than Preset Time threshold values and its ratio of compression, judge that this document is compressible file; Compressible file is carried out the invisible compression of user and it is indicated, continuing the next file of scanning afterwards judges, finish, withdraw from the file system compact model until All Files scanning, storage space can normally be used, the present invention can be automatically carries out suitable, compression selectively to the All Files in the storage space and handles, improved operating factor of memory space, need not the user one by one select File repeatedly compress, convenient for users to use; Adopt the monoblock writing mode and the LZ77 algorithm of default byte during compression, accelerated the time of compression, can obtain bigger space after guaranteeing to compress, can not influence the use of user, promoted the user experience effect file.
Be understandable that, for those of ordinary skills, can be equal to replacement or change according to technical scheme of the present invention and inventive concept thereof, and all these changes or replacement all should belong to the protection domain of the appended claim of the present invention.

Claims (10)

1. a method that improves the storage space utilization factor is characterized in that, comprising:
The size of free space in A, the monitoring storage space judges that free space is whether less than pre-set space: if then startup file system compresses pattern scans the file in the storage space; Otherwise withdraw from monitoring;
B1, judge whether the current file that scans is compressible file: if, execution in step C1 then; Otherwise, scanning next file, repeating step B1 finishes, withdraws from the file system compact model until All Files scanning;
C1, compressible file compressed and indicates after, scan next file, return step B1;
Perhaps, comprise after the described steps A:
B2, judge whether the current file that scans is compressible file: if then mark this document is compressible file; Otherwise, scan next file and continue to judge, finish until All Files scanning;
C2, the compressible file of mark is compressed.
2. the method for raising storage space utilization factor according to claim 1 is characterized in that, among described step B1 or the B2, judges whether the current file that scans is that compressible file specifically comprises:
B11, judge whether the current file that scans is non-compressed file: if, execution in step B2 then; Otherwise affirmation this document is a compressed file, does not do any processing;
The vacant time that B12, the described file of calculating are not used;
B13, judge that the described vacant time is whether greater than the Preset Time threshold values: if then this document is compressible file; Otherwise this document is a file to be compressed.
3. the method for raising storage space utilization factor according to claim 2, it is characterized in that, among the described step B13, also comprise: judge whether this document is the high file of ratio of compression: if then this document is compressible file when judging after the vacant time is greater than the Preset Time threshold values; Otherwise this document is a file to be compressed.
4. the method for raising storage space utilization factor according to claim 1 is characterized in that, in step C1 or C2, at kernel spacing compressible file is compressed, and does not have the compression prompting at user's space.
5. the method for raising storage space utilization factor according to claim 4 is characterized in that, in step C1 or C2, is that unit compresses compressible file with the piece, and every size is default byte.
6. the method for raising storage space utilization factor according to claim 5 is characterized in that, when the compressible file after the compression is carried out decompress(ion), is that unit decompresses with the piece.
7. a terminal that is used to realize the method for the described raising storage space of claim 1 utilization factor is characterized in that, comprising:
The space surveillance module is used for monitoring the size of storage space free space;
The space judge module is used to judge that whether free space is less than pre-set space;
The file system processing module is used in free space startup file system compresses pattern during less than pre-set space the file in the storage space being scanned, and judges in the file of storage space whether compressible file is arranged;
Compression module is used for when the file of storage space has compressible file, the described compressible file of compression and indicating;
And described file system processing module is used to also judge whether the current file that scans is compressible file, is the next file of compressible file or scanning according to judged result mark this document;
Described compression module also is used for the compressible file of mark is compressed.
8. terminal according to claim 7 is characterized in that, described file system files system handles module specifically comprises:
Scanning element is used for scanning one by one the file of storage space;
The type judging unit is used to judge whether the current file that scans is non-compressed file;
Counter, the vacant time that is not used that is used to calculate non-compressed file;
Judging unit is used to judge whether whether the vacant time be the high file of ratio of compression greater than Preset Time threshold values and file, and the output judged result.
9. terminal according to claim 7 is characterized in that, described compression module, and also being used for the piece is that unit compresses compressible file, every size is default byte; When the compressible file after the compression is carried out decompress(ion), be that unit decompresses with the piece.
10. according to any described terminal of claim 7 to 9, it is characterized 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 true CN103218224A (en) 2013-07-24
CN103218224B 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)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572113A (en) * 2015-01-21 2015-04-29 深圳市中兴移动通信有限公司 Automatic storage space arranging method and mobile terminal
CN105025166A (en) * 2015-07-09 2015-11-04 深圳市金立通信设备有限公司 File processing method and terminal
CN105095278A (en) * 2014-05-13 2015-11-25 华为技术有限公司 File compression method and apparatus
CN105573677A (en) * 2015-12-16 2016-05-11 浪潮(北京)电子信息产业有限公司 Implementation method of efficient storage
CN105677259A (en) * 2016-02-29 2016-06-15 珠海市魅族科技有限公司 Method for storing file in mobile terminal and mobile terminal
CN106257453A (en) * 2015-06-19 2016-12-28 联想(新加坡)私人有限公司 The storage of management digital content
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
CN106909398A (en) * 2017-03-10 2017-06-30 深圳创维-Rgb电子有限公司 The compression method and device of a kind of executable file
CN107003907A (en) * 2016-01-26 2017-08-01 华为技术有限公司 A kind of data processing method and data processing equipment
CN107133139A (en) * 2016-02-26 2017-09-05 宏碁股份有限公司 Intelligent disc monitoring method and the device using this method
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
CN107885859A (en) * 2017-11-20 2018-04-06 郑州云海信息技术有限公司 A kind of method, apparatus and computer-readable recording medium of file number quota
CN108304534A (en) * 2018-01-30 2018-07-20 努比亚技术有限公司 File management method, terminal and computer readable storage medium
CN108446300A (en) * 2018-01-26 2018-08-24 北京奇虎科技有限公司 The scan method and device of data information
CN109325006A (en) * 2018-08-23 2019-02-12 郑州云海信息技术有限公司 A kind of method and apparatus for compressing the method and apparatus stored, decompression downloading
CN110347643A (en) * 2019-07-22 2019-10-18 成都易我科技开发有限责任公司 NTFS volume cloning process and device between a kind of disk
CN113296709A (en) * 2017-06-02 2021-08-24 伊姆西Ip控股有限责任公司 Method and apparatus for deduplication
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 (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030221081A1 (en) * 1999-05-05 2003-11-27 Torres Daniel J. Method and system for increasing storage capacity in a digital image capture device
US20040146214A1 (en) * 2003-01-28 2004-07-29 International Business Machines Corporation Adaptive compression quality
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030221081A1 (en) * 1999-05-05 2003-11-27 Torres Daniel J. Method and system for increasing storage capacity in a digital image capture device
US20040146214A1 (en) * 2003-01-28 2004-07-29 International Business Machines Corporation Adaptive compression quality
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

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095278A (en) * 2014-05-13 2015-11-25 华为技术有限公司 File compression method and apparatus
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
CN106257453A (en) * 2015-06-19 2016-12-28 联想(新加坡)私人有限公司 The storage of management 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
CN107003907A (en) * 2016-01-26 2017-08-01 华为技术有限公司 A kind of data processing method and data processing equipment
US11061857B2 (en) 2016-01-26 2021-07-13 Huawei Technologies, Co., Ltd. Data processing method and device
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
CN106909398A (en) * 2017-03-10 2017-06-30 深圳创维-Rgb电子有限公司 The compression method and device of a kind of executable file
CN106909398B (en) * 2017-03-10 2020-10-16 深圳创维-Rgb电子有限公司 Compression method and device for executable file
WO2018161791A1 (en) * 2017-03-10 2018-09-13 深圳创维-Rgb电子有限公司 Method and device for compressing executable file
CN113296709B (en) * 2017-06-02 2024-03-08 伊姆西Ip控股有限责任公司 Method and apparatus for deduplication
CN113296709A (en) * 2017-06-02 2021-08-24 伊姆西Ip控股有限责任公司 Method and apparatus for deduplication
CN107885859A (en) * 2017-11-20 2018-04-06 郑州云海信息技术有限公司 A kind of method, apparatus and computer-readable recording medium of file number quota
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
CN108446300A (en) * 2018-01-26 2018-08-24 北京奇虎科技有限公司 The scan method and device of data information
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
CN110347643A (en) * 2019-07-22 2019-10-18 成都易我科技开发有限责任公司 NTFS volume cloning process and device between a kind of disk
US11765288B1 (en) 2022-05-18 2023-09-19 Xerox Corporation Methods and systems for automatically managing output size of a document submitted for scanning

Also Published As

Publication number Publication date
CN103218224B (en) 2016-09-21

Similar Documents

Publication Publication Date Title
CN103218224A (en) Method and terminal for improving utilization ratio of memory space
US20210173530A1 (en) Hierarchical, Zoomable Presentations Of Media Sets
RU2673694C2 (en) Modified memory compression
US20220221998A1 (en) Memory management method, electronic device and non-transitory computer-readable medium
US10719403B2 (en) Recovery support techniques for storage virtualization environments
CN113296696A (en) Data access method, computing device and storage medium
CN107016123B (en) File management method and terminal device
CN109804359A (en) For the system and method by write back data to storage equipment
CN103744875B (en) Data quick migration method and system based on file system
US20190370009A1 (en) Intelligent swap for fatigable storage mediums
CN104601683A (en) File download management method, mobile terminal and communication system
CN105893471B (en) Data processing method and electronic equipment
CN107402846B (en) File processing method and device
CN113419670A (en) Data writing processing method and device and electronic equipment
CN114817978A (en) Data access method and system, hardware unloading equipment, electronic equipment and medium
US20180203636A1 (en) Likelihood of access based object storage in a cloud environment
CN108205559B (en) Data management method and equipment thereof
WO2016202261A1 (en) Memory capacity processing method and mobile terminal
CN115398406A (en) Data compression method and device, electronic equipment and storage medium
CN109508143B (en) Data storage method and device
WO2014163852A1 (en) Grouping files for optimized file operations
CN114328007B (en) Container backup and restoration method, device and medium thereof
CN115495020A (en) File processing method and device, electronic equipment and readable storage medium
CN112597102B (en) High-efficiency mirror image file system implementation method
CN107918654B (en) File decompression method and device and electronic equipment

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