CN106570084A - Mobile terminal with storage function and management method of storage space of terminal - Google Patents
Mobile terminal with storage function and management method of storage space of terminal Download PDFInfo
- Publication number
- CN106570084A CN106570084A CN201610909227.7A CN201610909227A CN106570084A CN 106570084 A CN106570084 A CN 106570084A CN 201610909227 A CN201610909227 A CN 201610909227A CN 106570084 A CN106570084 A CN 106570084A
- Authority
- CN
- China
- Prior art keywords
- terminal
- memory space
- file
- preset value
- value
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/162—Delete operations
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Telephone Function (AREA)
- Memory System (AREA)
Abstract
The invention discloses a mobile terminal with a storage function and a management method of a storage space of the terminal. The method comprises the steps of detecting the storage space of the terminal; judging whether the storage space is in a low storage space state; and displaying a deletable file in the terminal if so. With the adoption of the method, the deletable file in the terminal can be displayed when the storage space of the terminal is insufficient; and a user can conveniently clear the file in the storage space.
Description
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of terminal storage space management method and there is storage work(
The mobile terminal of energy.
Background technology
It is well known that the memory space in terminal is limited, and as use time increases, the memory space of terminal is not
When sufficient, need to clear up the memory space of terminal.
In prior art, when terminal storage space is not enough, general terminal system can show " memory space inadequate " automatically
Information, but need user to manually select need to clear up file, or carry out manually selecting using third party software and need to clear up text
Part, without guiding user to clear up the file in memory space so that in memory space inadequate, user's inconvenience is right
File in memory space is cleared up.
The content of the invention
Present invention generally provides a kind of terminal storage space management method and the mobile terminal with store function, it is intended to solve
When certainly terminal storage space is not enough, the problem cleared up to the file in memory space by user's inconvenience.
To solve above-mentioned technical problem, one aspect of the present invention is:A kind of terminal storage space pipe is provided
Reason method, the method include:Detect the terminal storage space;Judge the memory space whether in low memory space shape
State;If so, then show in the terminal and can delete file.
Wherein, it is described to judge whether the memory space includes in low memory space state:Judge depositing for the terminal
Whether storage space is less than threshold value, if being less than threshold value, the terminal is in low memory space state.
Wherein, it is described if so, then to show in the terminal that delete file includes:If in the state of low memory space,
Then according to can delete file algorithm shows it is all of described in can delete file, and delete the knot that file algorithm draws according to described
Fruit order is arranged.
Wherein, the file algorithm of deleting includes:Inquire about the file size, nearest use date and file format pair
The grade preset value answered and its proportion;According to the grade preset value and proportion, calculate result and order is arranged
Row.
Wherein, the inquiry file size, nearest use date and the corresponding grade preset value of file format and its
It is shared including:Different corresponding assignment A, B of the grade preset value of inquiry, C and ratio value a, b, c, assignment A, B, C and
Described ratio value a, b, c correspond to the file size, nearest use date and file format respectively;It is described pre- according to the grade
If value and proportion, calculating result includes:According to corresponding assignment A, B of the grade preset value, C and ratio value a, b,
C, calculates result by formula A*a%+B*b%+C*c% and order is arranged.
To solve above-mentioned technical problem, another technical solution used in the present invention is:There is provided a kind of with store function
Mobile terminal, including:Detection module, for detecting the terminal storage space;Judge module, it is empty for judging the storage
Between whether be in low memory space state;Display module, for when the memory space is in low memory space state, showing
File can be deleted in the terminal.
Wherein, the judge module specifically for:Whether the memory space is judged less than threshold value, if being less than threshold value,
The memory space is in low memory space state.
Wherein, the display module specifically for:If the memory space is in low memory space state, basis can be deleted
Except file algorithm show it is all of it is described can delete file, and delete the result order that file algorithm draws and arrange according to described
Row.
Wherein, the display module includes:Query unit, for inquiring about the file size, nearest use date and text
The corresponding preset value of part form and its proportion;Computing unit, for according to the preset value and proportion, calculating
As a result and sequentially arrange.
Wherein, the query unit specifically for:Different corresponding assignment A, B of the grade preset value of inquiry, C and ratio
Example value a, b, c, assignment A, B, C and described ratio value a, b, c correspond to the file size, nearest use date and text respectively
Part form;The computing unit specifically for:According to corresponding assignment A, B of the grade preset value, C and ratio value a, b, c, lead to
Cross formula A*a%+B*b%+C*c% and calculate result order arrangement.
The invention has the beneficial effects as follows:The situation of prior art is different from, the present invention passes through detection terminal memory space;Sentence
Whether disconnected memory space is in low memory space state;If so, the method that file then can be deleted in display terminal so that work as terminal
When memory space is not enough, file can be deleted in display terminal, facilitates user to clear up the file in memory space.
Description of the drawings
Fig. 1 is the schematic flow sheet of terminal storage space management method embodiment of the present invention;
Fig. 2 is the idiographic flow schematic diagram that can delete file algorithm;
Fig. 3 is the schematic block diagram of the mobile terminal embodiment that the present invention has store function;
Fig. 4 is the schematic block diagram of terminal unit embodiment of the present invention.
Specific embodiment
To make those skilled in the art more fully understand technical scheme, below in conjunction with the accompanying drawings and it is embodied as
Mode is done further to a kind of terminal storage space management method provided by the present invention and the mobile terminal with store function
Describe in detail.
Refering to Fig. 1, the terminal storage space management method embodiment that the present invention is provided includes:
S11:Detection terminal memory space;
S12:Judge memory space whether in low memory space state;
Specifically, whether the memory space of terminal is judged less than threshold value, if being less than threshold value, terminal is in low memory space
State, execution step S13, if being not less than threshold value, terminal is not at low memory space state, return to step S11, or performs
Other steps.
Wherein, memory space threshold value can be independently arranged by user.
S13:File can be deleted in display terminal.
Specifically, if state of the terminal in low memory space, shows all of deleting according to deleting file algorithm
Except file, and arrange according to the result order that file algorithm draws can be deleted.
For example:If state of the terminal in low memory space, when user's using terminal and when starting application program, terminal from
Move out prompting frame, user can select to continue currently used application program operation according to the prompting frame suggestion content or enter storage
The operation of file is checked in space;When user selects the operation of file is checked into memory space, then basis can delete file calculation
Method show it is all of delete file, and arrange according to the result order that file algorithm draws can be deleted.
Wherein, include as shown in Fig. 2 file algorithm can be deleted:
S101:Inquiry file size, nearest use date and the corresponding grade preset value of file format and its proportion;
Specifically, different corresponding assignment A, B of grade preset value, C and ratio value a, b, c, assignment A, B, C and ratio are inquired about
Example value a, b, c difference respective file sizes, nearest use date and file format.
For example:The corresponding grade point of file size and its corresponding assignment A are:File size before 20~30M, grade
It is worth for 1, assignment A is 10, and between 20~30M, grade point is 2 to file size, assignment A is 9, by that analogy, file size institute
Ratio value a is accounted for for 50%;Use date grade point and its corresponding assignment B are recently:Recently using before 12 months, grade point is
1, assignment B is 12, and recently using before 11 months, grade point is 2, and assignment B is 11, by that analogy, nearest use date institute accounting
Example value b is 40%;File format grade point and its corresponding assignment C are:Audio file grade point is 1, and assignment C is that 10, Zip is literary
Part grade point is 2, and it is 3 that assignment C is 8, TXT file hierarchies value, and assignment C is 6, and by that analogy, file format proportion value c is
10%.It should be noted that the grade point and its corresponding assignment, ratio value in the present embodiment independently can be arranged, here is not made
Limit.
S102:According to grade preset value and proportion, calculate result and order is arranged.
Specifically, according to corresponding assignment A, B of the grade preset value, C and ratio value a, b, c, by formula A*a%+
B*b%+C*c% calculates result and order is arranged.
For example:When file size before 20~30M, nearest use date be 12 months before, file format be Zip when,
Then assignment A, B, C are respectively 10,12,8, and ratio value a, b, c be, 50%, 40%, 10%, then formula A*a%+B*b%+C*c%
As 10 × 50%+12 × 40%+8 × 10%=10.6;All Files in memory space is all in accordance with assignment A, B, C and ratio
Value a, b, c calculate different size of end value by the computing formula.
Further, after the All Files in memory space calculates result, then boundary is being shown according to the result
Face order arrangement shows, so that user selects deletable file, memory space is cleared up.
Refering to Fig. 3, the mobile terminal embodiment with store function that the present invention is provided includes:Detection module 21, judgement
Module 22, display module 23.
Detection module 21, for detection terminal memory space.
Judge module 22, for judging memory space whether in low memory space state.
Specifically, whether the memory space of terminal is judged less than threshold value, if being less than threshold value, terminal is in low memory space
State.
Wherein, memory space threshold value can be independently arranged by user.
Display module 23, for being in terminal during the state of low memory space, can delete file in display terminal.
Specifically, if state of the terminal in low memory space, shows all of deleting according to deleting file algorithm
Except file, and arrange according to the result order that file algorithm draws can be deleted.
Wherein, display module 23 includes:Query unit 231, computing unit 232.
Query unit 231:For inquiring about file size, nearest use date and the corresponding preset value of file format and its institute
Accounting example.
Specifically, different corresponding assignment A, B of grade preset value, C and ratio value a, b, c, assignment A, B, C and ratio are detected
Example value a, b, c difference respective file sizes, nearest use date and file format.
For example:The corresponding grade point of file size and its corresponding assignment A are:File size before 20~30M, grade
It is worth for 1, assignment A is 10, and between 20~30M, grade point is 2 to file size, assignment A is 9, by that analogy, file size institute
Ratio value a is accounted for for 50%;Use date grade point and its corresponding assignment B are recently:Recently using before 12 months, grade point is
1, assignment B is 12, and recently using before 11 months, grade point is 2, and assignment B is 11, by that analogy, nearest use date institute accounting
Example value b is 40%;File format grade point and its corresponding assignment C are:Audio file grade point is 1, and assignment C is that 10, Zip is literary
Part grade point is 2, and it is 3 that assignment C is 8, TXT file hierarchies value, and assignment C is 6, and by that analogy, file format proportion value c is
10%.It should be noted that the grade point and its corresponding assignment, ratio value in the present embodiment independently can be arranged, here is not made
Limit.
Computing unit 232:Arrange for according to preset value and proportion, calculating result order.
Specifically, according to corresponding assignment A, B of the grade preset value, C and ratio value a, b, c, by formula A*a%+
B*b%+C*c% calculates result and order is arranged.
For example:When file size before 20~30M, nearest use date be 12 months before, file format be Zip when,
Then assignment A, B, C are respectively 10,12,8, and ratio value a, b, c be, 50%, 40%, 10%, then formula A*a%+B*b%+C*c%
As 10 × 50%+12 × 40%+8 × 10%=10.6;All Files in memory space is all in accordance with assignment A, B, C and ratio
Value a, b, c calculate different size of end value by the computing formula.
Further, after the All Files in memory space calculates result, then boundary is being shown according to the result
Face order arrangement shows, so that user selects deletable file, memory space is cleared up.
Refering to Fig. 4, the terminal unit embodiment that the present invention is provided includes:Processor 31, memorizer 32 and radio circuit 33,
Processor 31 connects memorizer 32 and radio circuit 33 respectively by bus.
Processor 31 controls the operation of mobile terminal, and processor 31 can also be referred to as CPU (Central Processing
Unit, CPU).A kind of possibly IC chip of processor 31, the disposal ability with signal.Processor 31
Can also be general processor, digital signal processor (DSP), special IC (ASIC), ready-made programmable gate array
Or other PLDs, discrete gate or transistor logic, discrete hardware components (FPGA).General processor
Can be microprocessor or the processor can also be any conventional processor, but be not limited only to this.
Processor 31, for judging whether terminal is in the state of low memory space, when terminal is in low memory space
It is during state, according to the file deleted in computing formula computing terminal memory space and aobvious according to the result arrangement for calculating
Show.
Memorizer 32, works necessary instruction and data for storing processor 31, preserve memory space file and
According to the result that computing formula draws.
Radio circuit 33, for connecting and sending connection request.
Prior art is different from, the present invention is by judging whether terminal is in the state of low memory space;If so, then show
The method that file can be deleted in terminal so that when tag memory stores up insufficient space, can delete file in display terminal, convenient to use
Family is cleared up to the file in memory space.
Embodiments of the invention are the foregoing is only, the scope of the claims of the present invention is not thereby limited, it is every using this
Equivalent structure or equivalent flow conversion that bright description and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of terminal storage space management method, it is characterised in that methods described includes:
Detect the terminal storage space;
Judge the memory space whether in low memory space state;
If so, then show in the memory space and can delete file.
2. method according to claim 1, it is characterised in that described to judge whether the memory space is empty in low storage
Between state include:Whether the memory space of the terminal is judged less than threshold value, if being less than threshold value, the memory space is in low
Memory space state.
3. method according to claim 1, it is characterised in that described if so, then display in the terminal can delete file
Including:If being in low memory space state, according to can delete file algorithm shows it is all of described in can delete file, and according to
It is described to delete the result order arrangement that file algorithm draws.
4. method according to claim 3, it is characterised in that the file algorithm of deleting includes:
Inquire about the corresponding grade preset value of the file size, nearest use date and file format and its proportion;
According to the grade preset value and proportion, calculate result and order is arranged.
5. method according to claim 4, it is characterised in that
It is described to inquire about the file size, nearest use date and the corresponding grade preset value of file format and its proportion bag
Include:
Different corresponding assignment A, B of the grade preset value of inquiry, C and ratio value a, b, c, assignment A, B, C and described
Ratio value a, b, c correspond to the file size, nearest use date and file format respectively;
It is described according to the grade preset value and proportion, calculating result includes:
According to corresponding assignment A, B of the grade preset value, C and ratio value a, b, c, by formula A*a%+B*b%+C*c%
Calculate result and order is arranged.
6. a kind of mobile terminal with store function, it is characterised in that the terminal includes:
Detection module, for detecting the terminal storage space;
Judge module, for judging the memory space whether in low memory space state;
Display module, for being in the memory space during state of low memory space, shows in the terminal and can delete text
Part.
7. terminal according to claim 6, it is characterised in that the judge module specifically for:Judge the terminal
Whether memory space is less than threshold value, if being less than threshold value, the memory space is in low memory space state.
8. terminal according to claim 6, it is characterised in that the display module specifically for:If empty in low storage
Between state, then according to can delete file algorithm shows it is all of described in can delete file, and delete file algorithm according to described
The result order for drawing is arranged.
9. terminal according to claim 8, it is characterised in that the display module includes:
Query unit, for inquiring about the file size, nearest use date and the corresponding preset value of file format and its shared
Ratio;
Computing unit, arranges for according to the preset value and proportion, calculating result order.
10. terminal according to claim 9, it is characterised in that
The query unit specifically for:Different corresponding assignment A, B of the grade preset value of inquiry, C and ratio value a, b,
C, assignment A, B, C and described ratio value a, b, c correspond to the file size, nearest use date and file format respectively;
The computing unit specifically for:According to corresponding assignment A, B of the grade preset value, C and ratio value a, b, c, pass through
Formula A*a%+B*b%+C*c% calculates result and order is arranged.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610909227.7A CN106570084A (en) | 2016-10-19 | 2016-10-19 | Mobile terminal with storage function and management method of storage space of terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610909227.7A CN106570084A (en) | 2016-10-19 | 2016-10-19 | Mobile terminal with storage function and management method of storage space of terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106570084A true CN106570084A (en) | 2017-04-19 |
Family
ID=58533864
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610909227.7A Pending CN106570084A (en) | 2016-10-19 | 2016-10-19 | Mobile terminal with storage function and management method of storage space of terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106570084A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107357864A (en) * | 2017-06-30 | 2017-11-17 | 联想(北京)有限公司 | A kind of document handling method and terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040044698A1 (en) * | 2002-08-30 | 2004-03-04 | Atsushi Ebata | Method for rebalancing free disk space among network storages virtualized into a single file system view |
CN102867041A (en) * | 2012-09-03 | 2013-01-09 | 东莞宇龙通信科技有限公司 | Terminal and storage space management method |
CN103064675A (en) * | 2012-12-24 | 2013-04-24 | 广东欧珀移动通信有限公司 | Method and device for cleaning up redundant files in mobile terminal automatically |
CN103631934A (en) * | 2013-12-06 | 2014-03-12 | 贝壳网际(北京)安全技术有限公司 | Garbage-file detecting method and device |
CN105095252A (en) * | 2014-05-06 | 2015-11-25 | 腾讯科技(深圳)有限公司 | File management method and system |
CN105867845A (en) * | 2016-03-28 | 2016-08-17 | 乐视控股(北京)有限公司 | Application storage space management method and device |
-
2016
- 2016-10-19 CN CN201610909227.7A patent/CN106570084A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040044698A1 (en) * | 2002-08-30 | 2004-03-04 | Atsushi Ebata | Method for rebalancing free disk space among network storages virtualized into a single file system view |
CN102867041A (en) * | 2012-09-03 | 2013-01-09 | 东莞宇龙通信科技有限公司 | Terminal and storage space management method |
CN103064675A (en) * | 2012-12-24 | 2013-04-24 | 广东欧珀移动通信有限公司 | Method and device for cleaning up redundant files in mobile terminal automatically |
CN103631934A (en) * | 2013-12-06 | 2014-03-12 | 贝壳网际(北京)安全技术有限公司 | Garbage-file detecting method and device |
CN105095252A (en) * | 2014-05-06 | 2015-11-25 | 腾讯科技(深圳)有限公司 | File management method and system |
CN105867845A (en) * | 2016-03-28 | 2016-08-17 | 乐视控股(北京)有限公司 | Application storage space management method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107357864A (en) * | 2017-06-30 | 2017-11-17 | 联想(北京)有限公司 | A kind of document handling method and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI391856B (en) | Method for displaying status bar | |
EP2881888A1 (en) | Information processing method and device | |
AU2013245508B2 (en) | Methods and devices for prioritizing message threads | |
CN104751311A (en) | Express ordering method and system | |
KR20140120673A (en) | Mobile terminal and method for processing notification information | |
CN107392819A (en) | Monitoring device, dustbin management method and device | |
WO2018107575A1 (en) | Modification reminder method, device, and terminal, and storage medium | |
CN106372996A (en) | Order processing method and apparatus | |
CN102508655A (en) | Method and system for displaying desktop icons | |
CN112099685B (en) | Notification message display control method and device, electronic equipment and readable storage medium | |
CN106095561A (en) | Freeze the management method of application, the managing device freezing application and terminal | |
CN105955847A (en) | False deletion preventing method and system for electronic device file | |
US8078206B2 (en) | Mobile phone and method for managing short messages of the mobile phone | |
CN106383684B (en) | Display method, device and terminal | |
WO2019080231A1 (en) | Email sending method and device in workflow system and computer device | |
CN104618877A (en) | Short message arranging method and device | |
CN105446591A (en) | Message reminding method and system and intelligent terminal | |
CN106570084A (en) | Mobile terminal with storage function and management method of storage space of terminal | |
CN104464127A (en) | Vacancy reminding device | |
US20120040656A1 (en) | Electronic device and method for controlling the working mode thereof | |
WO2020087356A1 (en) | File scanning method, file scanning apparatus, and terminal device | |
CN108092784A (en) | A kind of method, terminal and computer-readable medium for creating group | |
CN106020642A (en) | Method for starting association application and terminal | |
CN102685292A (en) | System and method for automatic navigation based on addresses in information contents of mobile phone | |
CN111405126A (en) | Method, system, device, equipment and storage medium for dialing in dispatching link |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170419 |