CN106126534A - Formatting method and device - Google Patents

Formatting method and device Download PDF

Info

Publication number
CN106126534A
CN106126534A CN201610421541.0A CN201610421541A CN106126534A CN 106126534 A CN106126534 A CN 106126534A CN 201610421541 A CN201610421541 A CN 201610421541A CN 106126534 A CN106126534 A CN 106126534A
Authority
CN
China
Prior art keywords
export
external storage
file
storage
treat
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610421541.0A
Other languages
Chinese (zh)
Inventor
黄海宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing 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 LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610421541.0A priority Critical patent/CN106126534A/en
Publication of CN106126534A publication Critical patent/CN106126534A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/116Details of conversion of file system types or formats

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (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)

Abstract

Embodiments provide a kind of formatting method and device, when importing file to external storage, first determine whether whether this external storage supports that export is treated in storage, when external storage does not supports to store this until export, opposed storage device formats into support and stores this target file system treating export.In the embodiment of the present invention, when external storage does not support storage until export, i.e. treat that export cannot mate with the file system of external storage, in order to solve the problems referred to above, by external storage is formatted process, make to treat that export can be stored in external storage, thus solve the problem that the size treating export cannot be mated with the file system of external storage, reduce and file storage failure or the risk of contents lost occur.

Description

Formatting method and device
Technical field
The embodiment of the present invention belongs to communication technical field, particularly relates to a kind of formatting method and device.
Background technology
Universal along with the mobile terminal such as mobile phone, panel computer, user often utilize mobile terminal downloading high definition film, TV play or the bigger file of other data volumes, or utilize mobile terminal to record for a long time, the operation such as video recording, this A little operations also can generate the file that data volume is bigger.But, due to mobile terminal self EMS memory finite capacity, generally require greatly The file of data volume is stored in external storage.Along with over the air, (OvertheAir Technology is called for short OTA) development, can directly be connected the external storage such as USB flash disk, portable hard drive with mobile terminal, and by mobile terminal File store to external storage.
Inventor is during realizing the present invention, and there are the following problems to find prior art:
At present when user need from mobile terminal to export external storage time, be frequently encountered and wait to derive literary composition The problem that the size of part cannot be mated with the file system of external storage.
Summary of the invention
The embodiment of the present invention provides a kind of formatting method and device, for solving when treating that the size of export is with external The file system of storage device cannot matching problem.
To achieve these goals, embodiments provide a kind of formatting method, including:
Judge whether external storage supports that export is treated in storage;
If it is judged that be yes, described external storage is formatted into target file system, wherein, described Export is treated described in target file system support storage.
To achieve these goals, embodiments provide a kind of formatting mechanism, including:
Judge module, is used for judging whether external storage supports that export is treated in storage;
Formatting module, being used in the judged result of described judge module is that described external storage is not supported to store institute State when export, described external storage is formatted into target file system, wherein, described file destination system System is supported to treat export described in storage.
The formatting method of embodiment of the present invention offer and device, when importing file to external storage, first sentence Whether this external storage disconnected supports that export is treated in storage, when external storage does not supports that storing this treats export Time, opposed storage device formats into support and stores this target file system treating export.In the embodiment of the present invention, When external storage does not support storage until export, i.e. treat that the file system of export and external storage cannot Coupling, in order to solve the problems referred to above, by external storage is formatted process, makes to treat that export can be stored in In external storage, thus solve the size treating export and asking that the file system of external storage cannot be mated Topic, reduces and file storage failure or the risk of contents lost occurs.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the formatting method of the embodiment of the present invention one;
Fig. 2 is the schematic flow sheet of the formatting method of the embodiment of the present invention two;
Fig. 3 is the schematic flow sheet of the formatting method of the embodiment of the present invention three;
Fig. 4 is the structural representation of the formatting mechanism of the embodiment of the present invention four;
Fig. 5 is the structural representation of the formatting mechanism of the embodiment of the present invention five.
Detailed description of the invention
The formatting method and the device that there is provided the embodiment of the present invention below in conjunction with the accompanying drawings are described in detail.
Embodiment one
As it is shown in figure 1, the schematic flow sheet of the formatting method that it is the embodiment of the present invention one.Holding of the embodiment of the present invention Row main body can be mobile terminal, and this formatting method comprises the following steps:
S101, judge whether external storage supports that export is treated in storage.
In actual application, for the file that the data volume in mobile terminal is bigger, user is often desirable to data volume bigger File export to store in external storage, for saving the space of mobile terminal internal memory, alleviate mobile terminal internal memory Storage pressure.
For external storage, there is different file system types, the subregion knot of different file type Structure is different, it would be preferable to support the size of the single file deposited is different.Need to import file to external storage user Time, can first judge whether the file system of external storage supports that export is treated in storage.External storage can be U The storage devices such as dish, portable hard drive or flash card.
When, when export is the actual file existed, actual file has existed for one on mobile terminals Complete file, until the size of export it has been determined that can first get this size treating export when judging, Then the size treating export according to this, judges whether the file system of external storage supports that storing this waits to derive literary composition Part.Such as, treat that the size of export is 5G, and the file size that the file system of external storage is supported storage is 2G Time, then can be determined that this external storage does not supports that storing this treats export.
When export is non-actual file, non-actual file for be not on mobile terminals currently one complete File, non-actual file can be file to be downloaded, or for increment storage file, increment storage file can be Video to be recorded or audio file.If when export is file to be downloaded, can be according to download address from clothes Business device inquires about this size treating export, the size then treating export according to this, judges external storage Whether file system supports that storing this treats export.
In actual application, when the file treating that export is increment storage, treat the video that export is to be recorded Or during audio file, recording time length that can be according to video to be recorded or the form of audio file and anticipated, energy Enough predict the size treating export, such as, video and audio recording etc. operated, can pop-up dialogue box again, allow user input Anticipated recording or video time etc., the form of video and audio recording itself, according to the recording recording duration and file to be recorded Form, estimates out the size treating export, the size then treating export according to this, judges the literary composition of external storage Whether part system supports that storing this treats export.
In the embodiment of the present invention, can judge whether that support stores according to the current file system that external storage is arranged and wait to lead Go out file.If it is judged that do not support that storing this treats export, performs S102 for external storage;Otherwise perform S103。
S102, external storage is formatted into target file system, wherein target file system support storage Treat export.
Specifically, when judging that external storage does not support storage until export, in order to ensure that this waits to derive literary composition Part can be exported, and needs external storage is formatted process, external storage will be formatted into an energy Enough target file system supporting storage to treat export.The selection of target file system can be according to the size treating export Determine.
Such as, when the size treating export is 5G, and the current file system of external storage is supported storage When file size is 2G, then the file system format of external storage can be melted into and support that storage file size is more than 5G's Target file system.For example, it is possible to external storage to be formatted into New Technology File System (New Technology File System, is called for short NFTS).
It will be appreciated that for external storage, the partitioned organization of different file type is different, it is possible to The size of the single file that support is deposited is different.Such as, FAT32 form only supports the literary composition storing file size less than 4G Part, FAT16 form only supports the file storing file size less than 2G, and NTFS supports that storage file size is less than 2T's File, the file system type of external storage can be set up during formatting.
In the embodiment of the present invention, preset on mobile terminals one for the program of formatted file system type, pass through External storage is formatted by this program, such as, the program for formatted file system type can be Shandong great master, The application programs such as subregion assistant or PQMagic.
S103, the maintenance original file system of external storage.
If it is judged that export is treated in external storage support storage, then maintain the original file of external storage System, treats export in original file system and stores.
The formatting method that the embodiment of the present invention provides, when importing file to external storage, first determines whether that this is outer Put whether storage device supports that export is treated in storage, when external storage does not supports to store this until export, opposed Storage device formats into support and stores this target file system treating export.In the embodiment of the present invention, external Storage device does not support that storage, when export, i.e. treats that export cannot mate with the file system of external storage, In order to solve the problems referred to above, by external storage is formatted process, make to treat that export can be stored in external In storage device, thus solve the problem that the size treating export cannot be mated with the file system of external storage, Not only reduce and file storage failure or the risk of contents lost occur, and the space of mobile terminal internal memory can be saved, subtract The storage pressure of light mobile terminal internal memory.
Embodiment two
As in figure 2 it is shown, the schematic flow sheet of the formatting method that it is the embodiment of the present invention two.Holding of the embodiment of the present invention Row main body can be mobile terminal, and this formatting method comprises the following steps:
S201, the action type of identification user.
In the embodiment of the present invention, the action type of user includes: replicate paste operation, shear paste operation, recording operation, Video recording operation and down operation etc..
When user carries out aforesaid operations on mobile terminals, the operation of user can be detected, and can recognize that The action type of user.
S202, according to action type judge treat whether export is the actual file existed.
In actual application, may determine that according to different action types and treat whether export is the reality existed File.When action type is for replicating paste operation or shearing paste operation, it can be determined that go out to treat that export is to have deposited Actual file.And action type is recording operation or video recording operation or during down operation, it is judged that this document is non- Actual file.
If it is judged that when export is actual file, perform S203;If it is judged that treat that export is non-solid During the file of border, perform S207 and S209.
S203, obtain and treat the size of export.
When export is the actual file existed, treat the size of export it has been determined that can be from this Treat the attribute of export reads this size treating export.
S204, obtain the size of the supported file of file system of external storage.
Further, in order to judge whether external storage supports that export is treated in storage, need to obtain this and external deposit The file system of storage equipment, and then determine the size of the supported file of this document system.Such as, file configuration table (File Allocation Table, is called for short FAT) 32 form support storage file sizes file less than 4G, and FAT16 form is only Support the storage file size file less than 2G, and NTFS supports the storage file size file less than 2T.
S205, by the size for the treatment of export, the size of supported file compares with the file system of external storage Relatively.
Getting after the size of the size of export and the supported file of the file system of external storage, will Both compare, to judge whether this external storage supports that storing this treats export.If treating the big of export The little size more than the supported file of the file system of external storage, performs S206;If treating the slightest of export In or equal to the size of the supported file of file system of external storage, execution S212.
S206, when when the size of export is more than the size of the supported file of file system of external storage, Judge that external storage does not support that export is treated in storage.
When the size size less than or equal to the supported file of file system of external storage treating export Time, it is judged that need external storage is formatted process.Need external storage is carried out form judging After change processes, perform S211 and external storage will be formatted into target file system.
S207, when action type is down operation, determine the non-actual file treating that export is file to be downloaded.
S208, basis treat that the download address that export is corresponding obtains the size treating export from server.
Judge when export is non-actual file at S202, can be according to action type this non-actual literary composition further The type of part, when action type is down operation, illustrates that this treats the non-actual file that export is a file to be downloaded, This size treating export can be inquired about from server according to download address, then treat the size of export according to this, Judge whether the file system of external storage supports that storing this treats export, i.e. return and perform S204.
S209, when action type for recording/video recording operation time, determine treat export be increment storage file non-reality File.
Judge when export is non-actual file at S202, can be according to action type this non-actual literary composition further The type of part, when action type is for recording/video recording operation, in the embodiment of the present invention, treats the literary composition that export is increment storage The non-actual file of part.
S210, basis treat the format of export and the time span of recording, estimate the size treating export.
Can be when the video recorded or audio file, can be according to video to be recorded or the lattice of audio file Formula, and anticipated recording time length, it is possible to predict the size treating export, such as, video and audio recording etc. is operated, Can pop-up dialogue box again, allow user input anticipated recording or video time etc., the form of video and audio recording itself, according to record Duration processed and the format of file to be recorded, estimate out the size treating export, then treat export according to this Size, judges whether the file system of external storage supports that export is treated in storage, i.e. returns and performs S204.
S211, external storage is formatted into target file system.
When the size size less than or equal to the supported file of file system of external storage treating export Time, it is judged that after needing external storage is formatted process, external storage can be formatted into a mesh Mark file system, this target file system is the file system supporting storage to treat export.
Further, before external storage is formatted, in addition it is also necessary to the content in external storage Back up, and also before external storage is carried out form, formatting reminder message, example can be sent to user As, a formatting needing external storage is formatted can be displayed to the user that by the display screen of mobile terminal Reminder message, user can carry out clicking operation to this formatting reminder message, when user clicks on confirmation, then user agree to right External storage formats, and when user clicks on cancellation, then user disagrees and formats external storage, Then this external storage can not be formatted process, continue to ensure original file system of this storage device.
S212, when treating the size of export the supported file of file system less than or equal to external storage During size, maintain the original file system of external storage.
When the size size less than or equal to the supported file of file system of external storage treating export Time, it is judged that export is treated in external storage support storage, then maintain the original file system of external storage, former The file system come treats export store.
The formatting method that the embodiment of the present invention provides, by identifying the action type of user, determines and treats that export is No for actual file, according to the size treating export when for actual file, it is judged that whether external storage supports storage Treat export, when, when export is non-actual file, the file treating derivation according to action type is classified, when treating When export is file to be downloaded, can be according to the size of file to be downloaded, it is judged that whether external storage is supported is deposited Export is treated in storage, and when store for increment until recorded file time, directly judge that this external storage does not support that storage is somebody's turn to do Treat that export, opposed storage device format into support and store this target file system treating export.The present invention In embodiment, by external storage is formatted process, solve the size treating export and set with external storage The problem that standby file system cannot be mated, reduces and file storage failure or the risk of contents lost occurs, and can save Save the space of mobile terminal internal memory, alleviate the storage pressure of mobile terminal internal memory.
Further, in the embodiment of the present invention, when the file system treating export size and external storage cannot During coupling, it is no longer necessary to user first cancels the operation replicating or moving file, then carries out manual format manipulation, mobile whole End can carry out above-mentioned process automatically.
Embodiment three
As it is shown on figure 3, the schematic flow sheet of the formatting method that it is the embodiment of the present invention three.Holding of the embodiment of the present invention Row main body can be mobile terminal, on the basis of above-described embodiment two, in the case for the treatment of that export is actual file, Before external storage is formatted, further comprising the steps of:
S301, the total capacity of acquisition external storage.
In actual application, mobile terminal can connect multiple external storage, when export, user typically can A store path is pre-selected, is used for storing this and treats export.
In the embodiment of the present invention, before formatting, the total capacity of external storage can be got, i.e. obtain this outer Put total storage capacity of storage device.
If the difference between the total capacity of S302 external storage and the size treating export is without departing from default During threshold value, obtain the total capacity of all external storage.
After the total capacity getting this external storage, can by the total capacity of this external storage with wait to lead The size going out file compares, if the size of the amount of capacity of external storage device file the most to be stored goes out greatly one Fraction, after the storage device that this is external formats, also can only store this file, when there being big file needs again During storage, in addition it is also necessary to formatting other external storage device, practicality is poor again.
For the problems referred to above, in the embodiment of the present invention, pre-setting a threshold value, user can get all external deposit The total capacity of storage equipment, the value for example, it is possible to the total capacity obtaining all external storage is averaged, using this meansigma methods as Threshold value.Difference between total capacity and the size treating export of external storage is compared with this threshold value, is on duty When value is equal to or more than this threshold value preset, then directly this external storage is formatted process.When difference without departing from During the threshold value preset, the total capacity of all external storage can be obtained.
S303, from all of external storage, choose the maximum storage device of total capacity as to be formatted External storage.
In order to improve practicality, the conduct choosing a total capacity from all of external storage maximum is waited to format External storage, then the external storage that this is to be formatted is formatted process.Further, if external In storage device the most stored when having alternative document, the most first alternative document is copied in internal memory or other external storage Format again.
In the embodiment of the present invention, when when export is to have there is actual file, before formatting, can basis The total capacity of external storage and the size treating export, it may be judged whether reselect other external storage and carry out lattice Formula, thus can improve the practicality of external storage after formatting.
Embodiment four
As shown in Figure 4, it is the structural representation of formatting mechanism of the embodiment of the present invention four.This formatting mechanism bag Include: judge module 11 and formatting module 12.
Judge module 11, is used for judging whether external storage supports that export is treated in storage.
In actual application, for the file that the data volume in mobile terminal is bigger, user is often desirable to data volume bigger File export to store in external storage, for saving the space of mobile terminal internal memory, alleviate mobile terminal internal memory Storage pressure.
For external storage, there is different file system types, the subregion knot of different file type Structure is different, it would be preferable to support the size of the single file deposited is different.Need to import file to external storage user Time, it is judged that module 11 can first judge whether the file system of external storage supports that export is treated in storage.External storage Equipment can be the storage devices such as USB flash disk, portable hard drive or flash card.
When export is the actual file existed, treat the size of export it has been determined that judge module 11 can first get this size treating export when judging, then treat the size of export according to this, outside judging Whether the file system putting storage device supports that storing this treats export.Such as, treat that the size of export is 5G, and external The file system of storage device is supported when the file size of storage is 2G, then to can be determined that this external storage is not supported to deposit Store up this and treat export.
When, when export is non-actual file, treating that export can be file to be downloaded, or deposit for increment The file of storage, such as video to be recorded or audio file.If when export is file to be downloaded, it is judged that module 11 This size treating export can be inquired about from server according to download address, then treat the size of export according to this, Judge whether the file system of external storage supports that storing this treats export.
When until the file that export is increment storage, treat export video to be recorded or audio file Time, recording time length that can be according to video to be recorded or the form of audio file and anticipated, it is possible to predict and treat The size of export, it is judged that module 11 can treat the size of export according to this, it is judged that whether this external storage props up This treats export to hold storage.Such as, video and audio recording etc. is operated, can pop-up dialogue box again, allow user input anticipated Recording or video time etc., the form of video and audio recording itself, according to recording duration and the format of file to be recorded, in advance Estimate and to treat the size of export.
Formatting module 12, for being that external storage is not supported to store and waited to derive in the judged result of judge module 11 During file, external storage being formatted into target file system, wherein, target file system support stores to be waited to derive File.
Specifically, when judge module 11 judges that external storage does not support storage until export, in order to ensure This treats that export can be exported, and formatting module 12 needs external storage is formatted process, will be external Storage device form becomes one can support to store the target file system treating export.
Such as, when the size treating export is 5G, and the file system of external storage is supported the file of storage When size is 2G, then the file system format of external storage can be melted into and support the storage file size file more than 5G System.Such as, external storage can be formatted into NFTS by formatting module 12.
The formatting mechanism that the embodiment of the present invention provides, when importing file to external storage, first determines whether that this is outer Put whether storage device supports that export is treated in storage, when external storage does not supports to store this until export, opposed Storage device formats into support and stores this target file system treating export.In the embodiment of the present invention, external Storage device does not support that storage, when export, i.e. treats that export cannot mate with the file system of external storage, In order to solve the problems referred to above, by external storage is formatted process, make to treat that export can be stored in external In storage device, thus solve the problem that the size treating export cannot be mated with the file system of external storage, Reduce and file storage failure or the risk of contents lost occur, and the space of mobile terminal internal memory can be saved, alleviate shifting The storage pressure of dynamic tag memory.
Embodiment five
As it is shown in figure 5, the structural representation of the formatting mechanism that it is the embodiment of the present invention five.This formatting mechanism includes Outside judge module 11 in above-described embodiment four and formatting module 12, also include: the first acquisition module 13, second obtains mould Block 14 and choose module 15.
In the embodiment of the present invention, it is judged that the one of module 11 frame mode alternatively, including:
Acquiring unit 111, for when described in determining when export is actual file, treat export described in acquisition Size.
Judging unit 112, for treating that the size of export is more than the literary composition of described external storage described in determining The size of the supported file of part system, it is determined that described external storage is not supported to treat export described in storage.
Further, acquiring unit 111, be additionally operable to when action type is down operation, determine described in treat export For the non-actual file of file to be downloaded, and treat that the download address that export is corresponding obtains institute from server according to described State the size treating export.
Further, acquiring unit 111, be additionally operable to when action type for recording/video recording operation time, determine described in wait to derive File is the non-actual file of increment storage file, and according to the described format treating export and the time of recording Length, estimate described in treat the size of export.
Judging unit 112, specifically for when described action type is pasted for replicating or shears paste operation, it is judged that institute State and treat that export is actual file.
First acquisition module 13, for obtaining the total capacity of external storage.
Second acquisition module 14, if being used for the total capacity of described external storage and the described size treating export Between difference without departing from default threshold value time, obtain the total capacity of all external storage.
Choose module 15, for choosing the storage device conduct that a total capacity is maximum from all of external storage External storage to be formatted.
Further, formatting module 12, it is additionally operable to select to make with the described file system treating that export size is mated For target file system.
Formatting module 12, is additionally operable to, before formatting, back up the content in described external storage.
Formatting module 12, is additionally operable to, when judging to need to format described external storage, send form Change reminder message.
The formatting mechanism that the embodiment of the present invention provides, by identifying the action type of user, determines and treats that export is No for actual file, according to the size treating export when for actual file, it is judged that whether external storage supports storage Treat export, when, when export is non-actual file, the file treating derivation according to action type is classified, when treating When export is file to be downloaded, can be according to the size of file to be downloaded, it is judged that whether external storage is supported is deposited Export is treated in storage, and when store for increment until recorded file time, when this external storage of judgement does not supports that storing this treats During export, opposed storage device formats into support and stores this target file system treating export.The present invention In embodiment, by external storage is formatted process, solve the size treating export and set with external storage The problem that standby file system cannot be mated, reduces and file storage failure or the risk of contents lost occurs, and can save Save the space of mobile terminal internal memory, alleviate the storage pressure of mobile terminal internal memory.
When export is to have there is actual file, before formatting, can be according to external storage Total capacity and the size treating export, it may be judged whether reselect other external storage and format, thus may be used The practicality of external storage after formatting with raising.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each method embodiment can be led to The hardware crossing programmed instruction relevant completes.Aforesaid program can be stored in a computer read/write memory medium.This journey Sequence upon execution, performs to include the step of above-mentioned each method embodiment;And aforesaid storage medium includes: ROM, RAM, magnetic disc or The various media that can store program code such as person's CD.
Last it is noted that various embodiments above is only in order to illustrate the technical scheme of the embodiment of the present invention, rather than to it Limit;Although the embodiment of the present invention being described in detail with reference to foregoing embodiments, those of ordinary skill in the art It is understood that the technical scheme described in foregoing embodiments still can be modified by it, or to wherein part or All technical characteristic carries out equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution depart from this The scope of bright each embodiment technical scheme.

Claims (18)

1. a formatting method, it is characterised in that including:
Judge whether external storage supports that export is treated in storage;
If it is judged that be yes, described external storage is formatted into target file system, wherein, described target Export is treated described in file system support storage.
Method the most according to claim 1, it is characterised in that described judge whether external storage is supported to store and wait to lead Go out file, including:
When described in determining when export is actual file, treat the size of export described in acquisition;
Described in determining, treat that the size of export is more than the size of the supported file of file system of described external storage Time, it is determined that described external storage is not supported to treat export described in storage.
Method the most according to claim 2, it is characterised in that also include:
When action type is down operation, determine described in treat the non-actual file that export is file to be downloaded;
According to the described download address treating that export is corresponding obtain from server described in treat the size of export;
Described in determining, treat that the size of export is more than the size of the supported file of file system of described external storage Time, it is determined that external storage is not supported to treat export described in storage.
Method the most according to claim 2, it is characterised in that also include:
When action type for recording/video recording operation time, determine described in treat export be increment storage file non-actual file;
According to the described format treating export and the time span of recording, estimate described in treat the size of export;
Described in determining, treat that the size of export is more than the size of the supported file of file system of described external storage Time, it is determined that external storage is not supported to treat export described in storage.
Method the most according to claim 2, it is characterised in that also include:
When action type for replicate paste or shear paste operation time, determine described in treat that export is actual file.
6. according to the method described in any one of claim 1-5, it is characterised in that also include:
Obtain the total capacity of described external storage;
If the difference between the total capacity of described external storage and the described size treating export is without departing from default Threshold value, obtains the total capacity of all external storage;
The maximum storage device of a total capacity is chosen as external storage to be formatted from all of external storage Equipment.
Method the most according to claim 6, it is characterised in that also include:
Select to treat that file system that export size mates is as target file system with described.
Method the most according to claim 1, it is characterised in that also include:
Before formatting, the content in described external storage is backed up.
Method the most according to claim 1, it is characterised in that also include:
When judging to need described external storage is formatted, send and format reminder message.
10. a formatting mechanism, it is characterised in that including:
Judge module, is used for judging whether external storage supports that export is treated in storage;
Formatting module, being used in the judged result of described judge module is that described external storage is not supported to treat described in storage During export, described external storage being formatted into target file system, wherein, described target file system is propped up Hold and described in storage, treat export.
11. devices according to claim 10, it is characterised in that described judge module, including:
Acquiring unit, for when described in determining when export is actual file, treat the size of export described in acquisition, with And the size of the supported file of file system obtaining described external storage;
Judging unit, for treating that the size of export is propped up more than the file system of described external storage described in determining When holding the size of file, it is determined that described external storage is not supported to treat export described in storage.
12. devices according to claim 11, it is characterised in that also include:
Described acquiring unit, is additionally operable to when action type is down operation, determine described in treat that export is file to be downloaded Non-actual file, and according to the described download address treating that export is corresponding obtain from server described in treat export Size.
13. devices according to claim 11, it is characterised in that also include:
Described acquiring unit, be additionally operable to when action type for recording/video recording operation time, determine described in treat that export is that increment is deposited The non-actual file of storage file, and according to the described format treating export and the time span of recording, estimate institute State the size treating export.
14. devices according to claim 11, it is characterised in that described judging unit, specifically for when action type being Replicate paste or shear paste operation time, it is judged that described in treat that export is actual file.
15. according to the device described in any one of claim 10-14, it is characterised in that also include:
First acquisition module, for obtaining the total capacity of described external storage;
Second acquisition module, if between total capacity and the described size treating export of described external storage When difference is without departing from default threshold value, obtain the total capacity of all external storage;
Choose module, for choosing the maximum storage device of a total capacity from all of external storage as treating form The external storage changed.
16. devices according to claim 15, it is characterised in that also include:
Described formatting module, is additionally operable to select treat that file system that export size mates is as file destination system with described System.
17. devices according to claim 10, it is characterised in that also include:
Described formatting module, is additionally operable to, before formatting, back up the content in described external storage.
18. devices according to claim 10, it is characterised in that also include:
Described formatting module, is additionally operable to, when judging to need to format described external storage, send and format Reminder message.
CN201610421541.0A 2016-06-14 2016-06-14 Formatting method and device Pending CN106126534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610421541.0A CN106126534A (en) 2016-06-14 2016-06-14 Formatting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610421541.0A CN106126534A (en) 2016-06-14 2016-06-14 Formatting method and device

Publications (1)

Publication Number Publication Date
CN106126534A true CN106126534A (en) 2016-11-16

Family

ID=57270414

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610421541.0A Pending CN106126534A (en) 2016-06-14 2016-06-14 Formatting method and device

Country Status (1)

Country Link
CN (1) CN106126534A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107526814A (en) * 2017-08-25 2017-12-29 青岛海信移动通信技术股份有限公司 Mobile terminal document storage method and device
CN111125009A (en) * 2019-12-20 2020-05-08 浪潮(北京)电子信息产业有限公司 File system acquisition method, device, equipment and medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李文生: ""破除优盘装大片容量限制"", 《电脑爱好者》 *
牟晓东: ""U盘复制超4GB大文件另一招"", 《电脑知识与技术》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107526814A (en) * 2017-08-25 2017-12-29 青岛海信移动通信技术股份有限公司 Mobile terminal document storage method and device
CN107526814B (en) * 2017-08-25 2020-11-03 青岛海信移动通信技术股份有限公司 Mobile terminal file storage method and device
CN111125009A (en) * 2019-12-20 2020-05-08 浪潮(北京)电子信息产业有限公司 File system acquisition method, device, equipment and medium

Similar Documents

Publication Publication Date Title
US20090157741A1 (en) Data object copy/paste transfer method and apparatus
CN102096616B (en) Logical object data duplication method and related device
CN103823813A (en) Method and device for processing history operation records of electronic terminal
US20210232448A1 (en) Clipboard control method and system based on mobile terminal
CN104049968A (en) Metadata-driven version management service in pervasive environment
CN102141926A (en) Application program management method, device and digital television set top box
CN105205142A (en) Method, device and mobile terminal for saving log file
KR101694358B1 (en) Method, system and recording medium for optimizing of mobile device
CN106126534A (en) Formatting method and device
CN103975311B (en) Information processing device and information processing method
CN104866388A (en) Data processing method and device
US11176089B2 (en) Systems and methods for implementing dynamic file systems
CN112434494A (en) Text editing method, device, terminal and storage medium
CN103838575A (en) Plug-in type page customization implementation method based on EXTJS frame
WO2015074569A1 (en) Method and apparatus for displaying transmission status of cloud documents
CN110929472A (en) Document editing method and device, computer storage medium and terminal
US9524119B2 (en) Method, system and recording medium for optimizing of mobile device
CN107704307A (en) A kind of management method, device and the terminal of virtual external storage
JP2013025502A5 (en)
US7934195B2 (en) Method for controlling the propagation of metadata items
CN107885839B (en) Method and device for reading information in Word file
CN107220045B (en) Station building method, device, equipment and storage medium based on artificial intelligence
CN111176571A (en) Method, device, equipment and medium for managing local object
CN109358885A (en) A kind of update method of start-up picture, system, device and readable storage medium storing program for executing
CN112632266A (en) Data writing method and device, computer equipment and readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161116

WD01 Invention patent application deemed withdrawn after publication