CN103605743A - Method and device for deleting mobile terminal empty folders - Google Patents

Method and device for deleting mobile terminal empty folders Download PDF

Info

Publication number
CN103605743A
CN103605743A CN201310589759.3A CN201310589759A CN103605743A CN 103605743 A CN103605743 A CN 103605743A CN 201310589759 A CN201310589759 A CN 201310589759A CN 103605743 A CN103605743 A CN 103605743A
Authority
CN
China
Prior art keywords
empty folder
empty
mobile terminal
scanning
folder
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
CN201310589759.3A
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.)
Shenzhen Institute of Advanced Technology of CAS
Original Assignee
Shenzhen Institute of Advanced Technology of CAS
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 Shenzhen Institute of Advanced Technology of CAS filed Critical Shenzhen Institute of Advanced Technology of CAS
Priority to CN201310589759.3A priority Critical patent/CN103605743A/en
Publication of CN103605743A publication Critical patent/CN103605743A/en
Pending legal-status Critical Current

Links

Images

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/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete 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)
  • Telephone Function (AREA)

Abstract

The invention is applicable to the technical field of mobile terminal file management, and provides a method and a device for deleting mobile terminal empty folders. The method includes that the empty folders are scanned on a mobile terminal and the scanned empty folders are displayed in a list form; the mobile terminal receives a user request to delete the empty folders in a list, and one or more empty folders requested by the user are deleted. The mobile terminal has a scanning function of the empty folders, so that the scanned empty folders can be displayed to the user in the list form, and convenience is brought to user for selective deletion. The method is simple and efficient to operate.

Description

Method and device that a kind of mobile terminal empty folder is deleted
Technical field
The invention belongs to mobile terminal document administrative skill field, relate in particular to method and device that a kind of mobile terminal empty folder is deleted.
Background technology
Along with scientific and technological progress and the widespread use of mobile phone, existing mobile phone intelligent more and more higher.User can pacify as required loading, unloading or upgrade application program on mobile phone.Yet.After application program update or unloading, some empty files in mobile phone, have easily been left.Along with using the time of mobile phone, user increases, user upgrades, the operation of unloading application program is on the increase, and the empty folder of mobile phone the inside is also on the increase, and these empty folders do not have practical function, but in occupation of the storage space of mobile phone, affected to a certain extent the handling property of mobile phone.
Existing mobile phone Optimization Software can be deleted the garbage files of user mobile phone, such as dead chained file, cache file etc., but cannot search and delete empty folder.If user wants to delete empty folder, can only manually search and delete, complex operation, efficiency are lower.
Summary of the invention
A kind of method that provides mobile terminal empty folder to delete is provided the embodiment of the present invention, to solve prior art by manually deleting empty folder, complex operation, the problem that efficiency is lower.
The first aspect of the embodiment of the present invention, a kind of method that provides mobile terminal empty folder to delete, described method comprises:
Mobile terminal carries out empty folder scanning, and the empty folder scanning is shown to user with the form of list;
Mobile terminal receives the removal request of user to empty folder in described list, deletes one or more empty folders that user asks.
The second aspect of the embodiment of the present invention, the device that provides a kind of mobile terminal empty folder to delete, described device comprises:
Scanning element, for carrying out empty folder scanning, and is shown to user by the empty folder scanning with the form of list;
Delete cells, for receiving the removal request of user to described list empty folder, deletes one or more empty folders that user asks.
The beneficial effect that the embodiment of the present invention compared with prior art exists is: make mobile terminal possess empty folder scan function, and the empty folder scanning can be shown to user in the mode of list, facilitate user selectively to delete, strengthen greatly user's experience, and saved the storage space of mobile terminal.And embodiment of the present invention realization is simple, easy to operate, quick, higher to the deletion efficiency of empty folder, there is stronger ease for use and practicality.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the realization flow figure of the mobile terminal empty folder delet method that provides of first embodiment of the invention;
Fig. 2 is the composition structural drawing of the mobile terminal empty folder delete device that provides of second embodiment of the invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
For technical solutions according to the invention are described, below by specific embodiment, describe.
embodiment mono-:
Fig. 1 shows the realization flow of the mobile terminal empty folder delet method that first embodiment of the invention provides, and details are as follows for its process:
In step S101, mobile terminal carries out empty folder scanning, and the empty folder scanning is shown to user with the form of list.
Concrete, mobile scanning terminal All Files catalogue, is sky and bottom catalogue not during include file when scanning the sub-directory of certain file directory, determines that this document catalogue is empty folder, and obtains the store path of this empty folder.
It should be noted that, the feature that empty folder has is without sub-directory, and the catalogue of bottom include file not.Therefore need to carry out recursive search to the All Files catalogue of mobile terminal, when searching the sub-directory of certain file directory, be that sky and bottom catalogue be not during include file, determine that this document catalogue is empty folder, returns to the fullpath that does not have the empty folder of file under this document catalogue; If searched for All Files catalogue, all there is no empty folder, return to sky result.
The present embodiment is stored the store path of described empty folder, so that arrive corresponding empty folder by described store path fast finding.
The present embodiment, when the mode with list shows described empty folder, further comprises:
The empty folder scanning is sequentially shown to user according to the time order and function scanning.
As another example of the present invention, in order to facilitate user optionally to delete empty folder, the present embodiment also comprises:
Each empty folder in described list is arranged to a check box, so that the empty folder that user need to delete by described check box mark.
Further, the present embodiment, before mobile terminal carries out empty folder scanning, also comprises:
Mobile terminal receives the information that starts empty folder delete function.
In the present embodiment, when mobile terminal detect user send start empty folder delete function instruction or click on mobile terminal, start empty folder delete function button (in actual applications, one startup empty folder delete function button can be set in advance on mobile terminal, or a startup empty folder delete function instruction is set, described function command is preferably: monitoring the touch action of user on mobile terminal, be after 2 touches and sliding trace are longitudinal relative sliding, whether the displacement that judges the two longitudinal relative slidings in touch point is greater than default first threshold simultaneously, whether the range difference of the described two final drop points in touch point is less than default Second Threshold, and whether the speed of sliding in described two touch points is greater than the 3rd default threshold value simultaneously, or be that 2 touches and described sliding trace are after reverse direction slides monitoring described touch action, judge whether range difference that whether displacement that two touch point reverse directions slide is greater than default first threshold, the described two final drop points in touch point is simultaneously greater than the speed of the 4th default threshold value and described two touch points sliding and whether is greater than the 3rd default threshold value simultaneously, if (being that above-mentioned three condition judgment results are all "Yes"), is judged to be and starts the instruction of empty folder delete function, (judged result of above-mentioned three conditions has one at least for "No") if not, do not carry out, finish current operation) or mobile terminal detected when predefined certain state (such as idle condition etc.), mobile terminal device starts timer, when described timer reaches default time interval, start empty folder delete function.
In step S102, receive the removal request of user to empty folder in described list, delete one or more empty folders that user asks.
Concrete, receive the removal request of user to empty folder in described list, Remove Links arrives the all-links file of the empty folder of asking, then finds described asked empty folder and delete according to the store path of asked empty folder.
In the present embodiment, when mobile terminal receives user, select to need after the empty folder of deletion, delete in two steps selected empty folder, first Remove Links arrives the all-links file of selected empty folder, then finds selected empty folder and delete according to the store path of selected empty folder.By the present embodiment, can effectively prevent that empty folder from leaving the garbage files such as link owing to there is link after cannot deleting and delete empty folder.
Further, too much for fear of empty folder, be not easy to the problem that user carries out selectively removing, the present embodiment also comprises:
Receive the categorizing selection item for the empty folder of classifying that user selects;
Empty folder in read list;
The categorizing selection item that the empty folder reading is selected by user is divided into more than one classification;
Show an empty folder in each classification, as each classification corresponding represent empty folder;
Receive one or more instructions that represent empty folder that user chooses;
Obtain the memory address of all empty folders in the classification that represents empty folder place of choosing;
According to the memory address of obtaining, from mobile terminal, delete all empty folders in the classification that represents empty folder place of choosing.
By the embodiment of the present invention, make mobile terminal possess empty folder scan function, and the empty folder scanning can be shown to user in the mode of list, facilitate user selectively to delete.And mobile terminal is when deleting empty folder, first Remove Links is to the all-links file of selected empty folder, according to the store path of selected empty folder, find selected empty folder and delete again, thereby can effectively prevent that empty folder from leaving the garbage files such as link owing to there is link after cannot deleting and delete empty folder, saves the storage space of mobile terminal.In addition, by selection sort options, and only show in each classification and categorizing selection item characteristic of correspondence information that select, user can therefrom choose all empty folders in the characteristic information place classification that will delete according to the characteristic information showing, delete the last time, especially when user needs multi-class deletion in batches, very convenient, simple, quick.
embodiment bis-:
Fig. 2 shows the composition structure of the mobile terminal empty folder delete device that second embodiment of the invention provides, and for convenience of explanation, only shows the part relevant to the embodiment of the present invention.
This mobile terminal empty folder delete device can be applicable to various terminal devices (preferable mobile terminal end, mobile phone for example, panel computer etc.), pocket computing machine (Pocket Personal Computer for example, PPC), palm PC, computing machine, notebook computer, personal digital assistant (Personal Digital Assistant, PDA) etc., it can be the software unit running in these terminals, the unit that hardware cell or software and hardware combine, also can be used as independently suspension member is integrated in these terminals or runs in the application system of these terminals.
This mobile terminal empty folder delete device comprises scanning element 21 and delete cells 22.Wherein, each unit concrete function is as follows:
Scanning element 21, for carrying out empty folder scanning, and is shown to user by the empty folder scanning with the form of list;
Delete cells 22, for receiving the removal request of user to described list empty folder, deletes one or more empty folders that user asks.
Further, described device also comprises:
Information receiving unit 23, for receiving the information that starts empty folder delete function.
Wherein, the information of described startup empty folder delete function comprises the instruction of the startup empty folder delete function that user sends, or according to the trigger message of the startup empty folder delete function of default time interval generation.
Further, described scanning element 21 specifically for:
Scanning All Files catalogue, is sky and bottom catalogue not during include file when scanning the sub-directory of certain file directory, determines that this document catalogue is empty folder, and obtains the store path of this empty folder.
Further, described delete cells 22 specifically for:
Remove Links arrives the all-links file of the empty folder of asking, then finds described asked empty folder and delete according to the store path of asked empty folder.
Those skilled in the art can be well understood to, for convenience and simplicity of description, only the division with above-mentioned each functional unit, module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional units, module, completed as required, the inner structure that is described device is divided into different functional units or module, to complete all or part of function described above.Each functional unit in embodiment or module can be integrated in a processing unit, also can be that the independent physics of unit exists, also can be integrated in a unit two or more unit, above-mentioned integrated unit or module both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.In addition, the concrete title of each functional unit, module also, just for the ease of mutual differentiation, is not limited to the application's protection domain.The specific works process of unit, module in said apparatus, can, with reference to the corresponding process of preceding method embodiment, not repeat them here.
In sum, make mobile terminal possess empty folder scan function, and the empty folder scanning can be shown to user in the mode of list, facilitate user selectively to delete.And mobile terminal is when deleting empty folder, first Remove Links is to the all-links file of selected empty folder, according to the store path of selected empty folder, find selected empty folder and delete again, thereby can effectively prevent that empty folder from leaving the garbage files such as link owing to there is link after cannot deleting and delete empty folder, saves the storage space of mobile terminal.In addition, by selection sort options, and only show in each classification and categorizing selection item characteristic of correspondence information that select, user can therefrom choose all empty folders in the characteristic information place classification that will delete according to the characteristic information showing, delete the last time, especially when user needs multi-class deletion in batches, very convenient, simple, quick, there is stronger ease for use and practicality.
Those of ordinary skills it is also understood that, the all or part of step realizing in above-described embodiment method is to come the hardware that instruction is relevant to complete by program, described program can be in being stored in a computer read/write memory medium, described storage medium, comprises ROM/RAM, disk, CD etc.
Above content is in conjunction with concrete preferred implementation further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention; make without departing from the inventive concept of the premise some alternative or obvious modification that are equal to; and performance or purposes identical, all should be considered as belonging to the present invention by the definite scope of patent protection of submitted to claims.

Claims (10)

1. the method that mobile terminal empty folder is deleted, is characterized in that, described method comprises:
Mobile terminal carries out empty folder scanning, and the empty folder scanning is shown to user with the form of list;
Mobile terminal receives the removal request of user to empty folder in described list, deletes one or more empty folders that user asks.
2. the method for claim 1, is characterized in that, before mobile terminal carries out empty folder scanning, also comprises:
Mobile terminal receives the information that starts empty folder delete function.
3. method as claimed in claim 2, it is characterized in that, the information of described startup empty folder delete function comprises the instruction of the startup empty folder delete function that user sends, or according to the trigger message of the startup empty folder delete function of default time interval generation.
4. the method for claim 1, is characterized in that, described mobile terminal carries out empty folder scanning and specifically comprises:
Mobile scanning terminal All Files catalogue, is sky and bottom catalogue not during include file when scanning the sub-directory of certain file directory, determines that this document catalogue is empty folder, and obtains the store path of this empty folder.
5. the method for claim 1, is characterized in that, the empty folder that described deletion user asks specifically comprises:
Remove Links arrives the all-links file of the empty folder of asking, then finds described asked empty folder and delete according to the store path of asked empty folder.
6. the device that mobile terminal empty folder is deleted, is characterized in that, described device comprises:
Scanning element, for carrying out empty folder scanning, and is shown to user by the empty folder scanning with the form of list;
Delete cells, for receiving the removal request of user to described list empty folder, deletes one or more empty folders that user asks.
7. device as claimed in claim 6, is characterized in that, described device also comprises:
Information receiving unit, for receiving the information that starts empty folder delete function.
8. device as claimed in claim 7, it is characterized in that, the information of described startup empty folder delete function comprises the instruction of the startup empty folder delete function that user sends, or according to the trigger message of the startup empty folder delete function of default time interval generation.
9. device as claimed in claim 6, is characterized in that, described scanning element specifically for:
Scanning All Files catalogue, is sky and bottom catalogue not during include file when scanning the sub-directory of certain file directory, determines that this document catalogue is empty folder, and obtains the store path of this empty folder.
10. device as claimed in claim 6, is characterized in that, described delete cells specifically for:
Remove Links arrives the all-links file of the empty folder of asking, then finds described asked empty folder and delete according to the store path of asked empty folder.
CN201310589759.3A 2013-11-20 2013-11-20 Method and device for deleting mobile terminal empty folders Pending CN103605743A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310589759.3A CN103605743A (en) 2013-11-20 2013-11-20 Method and device for deleting mobile terminal empty folders

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310589759.3A CN103605743A (en) 2013-11-20 2013-11-20 Method and device for deleting mobile terminal empty folders

Publications (1)

Publication Number Publication Date
CN103605743A true CN103605743A (en) 2014-02-26

Family

ID=50123965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310589759.3A Pending CN103605743A (en) 2013-11-20 2013-11-20 Method and device for deleting mobile terminal empty folders

Country Status (1)

Country Link
CN (1) CN103605743A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824968A (en) * 2016-03-31 2016-08-03 广东欧珀移动通信有限公司 Method and device for clearing folders and mobile terminal
CN105893600A (en) * 2016-04-20 2016-08-24 乐视控股(北京)有限公司 Method and device for cleaning up useless files based on mobile terminal
CN106844691A (en) * 2017-01-23 2017-06-13 努比亚技术有限公司 A kind of camera file management method and terminal
CN107992626A (en) * 2017-12-25 2018-05-04 深圳市分期乐网络科技有限公司 Cache cleaner method, apparatus, terminal and storage medium
WO2020151522A1 (en) * 2019-01-24 2020-07-30 维沃移动通信有限公司 Content deletion method, terminal, and computer-readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651864A (en) * 2008-08-14 2010-02-17 比亚迪股份有限公司 Method for managing file in mobile terminal and mobile terminal
CN102591680A (en) * 2011-12-19 2012-07-18 深圳桑菲消费通信有限公司 Method for automatically deleting and unloading software related files
CN102915421A (en) * 2011-08-04 2013-02-06 腾讯科技(深圳)有限公司 Method and system for scanning files
US20130219050A1 (en) * 2012-02-22 2013-08-22 Pantech Co., Ltd. Cloud service access apparatus, cloud service access method, and cloud service access system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651864A (en) * 2008-08-14 2010-02-17 比亚迪股份有限公司 Method for managing file in mobile terminal and mobile terminal
CN102915421A (en) * 2011-08-04 2013-02-06 腾讯科技(深圳)有限公司 Method and system for scanning files
CN102591680A (en) * 2011-12-19 2012-07-18 深圳桑菲消费通信有限公司 Method for automatically deleting and unloading software related files
US20130219050A1 (en) * 2012-02-22 2013-08-22 Pantech Co., Ltd. Cloud service access apparatus, cloud service access method, and cloud service access system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824968A (en) * 2016-03-31 2016-08-03 广东欧珀移动通信有限公司 Method and device for clearing folders and mobile terminal
CN105824968B (en) * 2016-03-31 2019-04-05 Oppo广东移动通信有限公司 A kind of method, device and mobile terminal for clearing up file
CN105893600A (en) * 2016-04-20 2016-08-24 乐视控股(北京)有限公司 Method and device for cleaning up useless files based on mobile terminal
CN106844691A (en) * 2017-01-23 2017-06-13 努比亚技术有限公司 A kind of camera file management method and terminal
CN107992626A (en) * 2017-12-25 2018-05-04 深圳市分期乐网络科技有限公司 Cache cleaner method, apparatus, terminal and storage medium
WO2020151522A1 (en) * 2019-01-24 2020-07-30 维沃移动通信有限公司 Content deletion method, terminal, and computer-readable storage medium
US11579767B2 (en) 2019-01-24 2023-02-14 Vivo Mobile Communication Co., Ltd. Content deleting method, terminal, and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN103605743A (en) Method and device for deleting mobile terminal empty folders
CN103150079A (en) Application icon management method and device based on Firefox OS (Operation System) platform
CN103973731B (en) The recycle bin management method and device of a kind of cloud storage
CN101916164A (en) Mobile terminal and file browsing method implemented by same
CN104965664A (en) Application operation method and apparatus
CN103605758A (en) Method and device for searching files of mobile terminal
CN103955536A (en) Classification method and device of applications
CN103019814A (en) System and method for managing shear plate
CN110989937B (en) Data storage method, device and equipment and computer readable storage medium
CN103679022A (en) Method and device for virus scanning
CN104809135A (en) Method and device for accessing data
CN107992631B (en) File management method and terminal
CN104298428A (en) Method and device for moving application icons
EP3789883A1 (en) Storage fragment managing method and terminal
CN104092670A (en) Method for utilizing network cache server to process files and device for processing cache files
WO2016188261A1 (en) Method and apparatus for switching multiple folders, and computer storage medium
CN105183768A (en) File management method, apparatus and terminal device
CN103123651B (en) A kind of method, device and mobile device checking multiple same class file
CN104484107A (en) Picture processing method
CN103020187A (en) Mobile terminal and fast file management method thereof
CN103559224A (en) Method and device for hashing metadata objects
CN102937948A (en) Image-text data editing method for mobile terminal
CN113779321A (en) Electronic whiteboard file saving method and device, electronic whiteboard and storage medium
US11429660B2 (en) Photo processing method, device and computer equipment
CN104461359A (en) Terminal

Legal Events

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

Application publication date: 20140226

RJ01 Rejection of invention patent application after publication