CN105468721A - Deletion method and terminal - Google Patents

Deletion method and terminal Download PDF

Info

Publication number
CN105468721A
CN105468721A CN201510812302.3A CN201510812302A CN105468721A CN 105468721 A CN105468721 A CN 105468721A CN 201510812302 A CN201510812302 A CN 201510812302A CN 105468721 A CN105468721 A CN 105468721A
Authority
CN
China
Prior art keywords
file
application icon
application
delete
move
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
CN201510812302.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.)
Meizu Technology China Co Ltd
Original Assignee
Meizu Technology China 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 Meizu Technology China Co Ltd filed Critical Meizu Technology China Co Ltd
Priority to CN201510812302.3A priority Critical patent/CN105468721A/en
Publication of CN105468721A publication Critical patent/CN105468721A/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/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations

Abstract

Embodiments of the invention disclose a deletion method and terminal. The method comprises the following steps: moving a first folder according to a first movement instruction; and if detecting that an overlap region is formed between the first folder and a second folder, deleting matched files in the first folder and/or the second folder according to a preset rule. By adopting the deletion method and terminal, the file deletion steps can be simplified and the file operation efficiency can be improved.

Description

A kind of delet method and terminal
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of delet method and terminal.
Background technology
Along with the development of the communication technology, the function of mobile terminal is increasingly abundant, and people can utilize terminal storage file, browse webpage, listen to music and viewing video etc., make it to become a part indispensable in people's daily life.
At present, the file erase method that terminal provides has three kinds of modes usually, wherein first kind of way is: first select the file needing to delete, and then click the mouse right button or the file point touching screen for needs deletion, select to delete the deletion that option carries out file in the operating list opened; The second way is: select the file needing to delete, then the delete key (delete key) put on beating keyboard carries out the deletion of file; The third mode is: select the file needing to delete, pulled into recycle bin, this several traditional file erase mode operation steps is complicated, poor user experience.
Summary of the invention
Embodiments provide a kind of delet method and terminal, can the delete step of simplified-file, improve file operation efficiency.
Embodiments provide a kind of delet method, described method comprises:
According to the first move, mobile first file;
If detect and form overlapping region between described first file and the second file, delete the file matched in described first file and/or described second file according to preset rules.
Wherein, detect if described and form overlapping region between described first file and the second file, before deleting according to preset rules the file matched in described first file and/or described second file, described method also comprises: according to the second move, mobile second file.
Wherein, comprise the first file in described first file, comprise the second file in described second file, the described file according to matching in preset rules described first file of deletion and/or described second file comprises:
Judge whether described first file matches with described second file;
When described first file and described second file match, delete described first file and/or described second file according to preset rules.
Wherein, describedly judge whether described first file matches with described second file, specifically comprises:
Judge whether the data message of described first file matches with the data message of described second file, and described data message comprises file content and/or file name.
Wherein, describedly delete described first file and/or described second file according to preset rules and specifically comprise:
If the creation-time of described first file is early than the creation-time of described second file, delete described first file; Or, if the version information of described first file is early than the version information of described second file, delete described first file; Or, if move described first file, delete described first file; Or, if move described first file and described second file, delete described first file and described second file.
Wherein, described first file is the first application icon, and the second file is the second application icon, and described method also comprises: when deleting described first application icon, unloads corresponding first application of described first application icon; Or, when deleting described second application icon, unload corresponding second application of described second application icon; Or, when deleting described first application icon and described second application icon, unload corresponding first application of described first application icon and corresponding second application of described second application icon.
Accordingly, the embodiment of the present invention additionally provides a kind of terminal, and described terminal comprises:
File mobile unit, for according to the first move, moves the first file;
File erase unit, if form overlapping region for detecting between described first file and the second file, deletes the file matched in described first file and/or described second file according to preset rules.
Wherein, described file mobile unit also for: form overlapping region at file erase unit inspection between described first file and the second file, before deleting according to preset rules the file matched in described first file and/or described second file, according to the second move, mobile second file.
Wherein, comprise the first file in described first file, comprise the second file in described second file, described file erase unit comprises: matching judgment subelement, for judging whether described first file matches with described second file; File erase subelement, for matching when described first file and described second file, deletes described first file and/or described second file according to preset rules.
Wherein, described matching judgment subelement specifically for: judge whether the data message of described first file matches with the data message of described second file, and described data message comprises file content and/or file name.
Wherein, described file erase subelement specifically for: if the creation-time of described first file is early than the creation-time of described second file, delete described first file; Or, if the version information of described first file is early than the version information of described second file, delete described first file; Or, if move described first file, delete described first file; Or, if move described first file and described second file, delete described first file and described second file.
Wherein, described first file is the first application icon, and the second file is the second application icon, and described terminal also comprises: application unloading unit, for when deleting described first application icon, unloads corresponding first application of described first application icon; Or, for when deleting described second application icon, unload corresponding second application of described second application icon; Or, for when deleting described first application icon and described second application icon, unload corresponding first application of described first application icon and corresponding second application of described second application icon.
The embodiment of the present invention, can according to the first move, mobile first file; If detect and form overlapping region between described first file and the second file, delete the file matched in described first file and/or described second file according to preset rules.Adopt the embodiment of the present invention, can the delete step of simplified-file, improve file operation efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly in embodiment of the present invention technical scheme, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of delet method that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the another kind of delet method that the embodiment of the present invention provides;
Fig. 3 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of file erase unit that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the another kind of terminal that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In specific implementation, terminal mentioned by the embodiment of the present invention includes but not limited to: the electronic equipment such as smart mobile phone (as Android phone, IOS mobile phone), panel computer, notebook computer, palm PC, mobile internet device (MID, MobileInternetDevice) or wearable intelligent equipment.
It should be noted that, method described in the invention is performed by the one group of code stored in memory, and this code is executed in the computer system based on von Neumann system.This computer program can be the terminal program of execute file delete function.Accordingly, this computer system can be the terminal device with file erase function.
A kind of delet method provided the embodiment of the present invention below in conjunction with Fig. 1 to Fig. 5 and terminal are specifically described.
See Fig. 1, be the schematic flow sheet of a kind of delet method that the embodiment of the present invention provides, delet method as shown in the figure can comprise the following steps:
S101, according to the first move, mobile first file.
In specific implementation, first user can input the first move by the input media (as physical keyboard or touch-screen etc.) of terminal for the first file, when terminal receives this first move, according to this first move, mobile first file.Such as, terminal is portable computer, and the first file is name on current portable computer desktop is called the file of document files, and now, user can click the mouse left button to choose for this file; If user clicks the mouse, left button drags this file and is clipped on desktop and moves, and be now considered as user and input the first move for this file, the dragging track of the location following mouse of this file moves.
S102, forms overlapping region if detect between described first file and the second file, deletes the file matched in described first file and/or described second file according to preset rules.
In specific implementation, after user completes the movement of the first file, detect the first file final position and whether form overlapping region with the second file, and delete according to preset rules the file matched in described first file and/or described second file when testing result is and is.
Such as, terminal is portable computer, and the first file is name on current portable computer desktop is called the file of the first document files, now, user can click the mouse left button to choose for this file, and can continue to pin left mouse button and drag this file and be clipped on desktop and move, the dragging track of the location following mouse of this file moves; If user unclamps left mouse button, current mouse cursor position is on the table the final position of this file, now, detect its folder icon when this file moves to final position and whether be called that the folder icon of the second file of the second document files forms overlapping region with the name of this position; If, then can delete the file matched with the file in the second file in the first file, or the file matched with the file in the first file deleted in the second file, or delete the first file and neutralize the file matched in the second file.Wherein, the file in file includes but not limited to: icon of audio file, video file, text, picture file, application file or file etc.
In another embodiment, before performing step S102, described method also comprises: according to the second move, mobile second file.
In specific implementation, the second file can be moved when mobile first file simultaneously, also mobile second file after first can moving the first file, first can also move the second file mobile first file again, in moving process or when having moved, can detect between the first file and the second file and whether form overlapping region, and when testing result is for being, delete the file matched in the first file and/or the second file according to preset rules.Such as, terminal is the smart mobile phone of band touch-screen, and the first file and the second file the first document files be respectively on current smart mobile phone display page presss from both sides and the second document files folder, now, user can choose by these two files respectively by thumb and forefinger length, then pins these two files and moves on display page.Mobile first file and the second file simultaneously, the relative position conversion of the two can be made faster, and the deletion action of file is carried out in the target location making file move to user faster then, improves operating efficiency.
In another embodiment, comprise the first file in described first file, comprise the second file in described second file, the described file according to matching in preset rules described first file of deletion and/or described second file comprises:
Judge whether described first file matches with described second file; When described first file and described second file match, delete described first file and/or described second file according to preset rules.
Further, judge whether the first file mates step with the second file and can be specially: judge whether the data message of described first file matches with the data message of described second file, and described data message comprises file content and/or file name.
In specific implementation, in order to save storage space in same terminal, usually identical file or the application file of same type only can preserve portion, therefore, when detect form overlapping region between the first file and the second file time, can judge whether whether the data message of the first file in the first file mate with the data message of the second file in the second file further, and when judged result is for being, perform the step of deleting described first file and/or described second file according to preset rules.Wherein, data message comprises but is not limited to file content, file name, file attribute, file type or file icon figure etc.Such as, first file and the second file are document files, then detect form overlapping region between the first file and the second file time, whether file name and the file content that can detect the first file and the second file be further identical, if, then think that the data message of the first file and the second file is coupling, and then the first file and/or the second file can be deleted.Again such as, first file is " Baidu's map ", second file is " high moral map ", can detect in the file name of the first file and the second file and all comprise " map ", now, terminal judges the first file identical with the file attribute of the second file (being all belong to navigation type application file) by " map " this key word, therefore, think that the data message of the first file and the second file is coupling, and then the first file can deleted wherein or the second file, even all delete; When certainly also all can comprise " map " in this example in the file name the first file and the second file being detected, just think that the first file and the data message of the second file are couplings (file name part is identical).
Further, described according to preset rules described first file of deletion and/or described second file, comprising:
If the creation-time of described first file is early than the creation-time of described second file, delete described first file; Or, if the version information of described first file is early than the version information of described second file, delete described first file; Or, if move described first file, delete described first file; Or, if move described first file and described second file, delete described first file and described second file.
Such as, if detect and form overlapping region between the first file and the second file, the creation-time of the first file in the first file can be detected further whether early than the creation-time of the second file in the second file, if, then delete the first file, if not, then the second file can be deleted.In like manner, such as, first file is the corresponding QQ version information of QQ application icon is QQ2007, second file is the corresponding QQ version information of QQ application icon is QQ2003, if then detect and form overlapping region between the first file and the second file, detect that version information QQ2003 is early than version information QQ2007 further, therefore can delete the QQ application icon that version information is QQ2003.
In another embodiment, when described first file is the first application icon, when the second file is the second application icon, described method also comprises: when deleting described first application icon, unloads corresponding first application of described first application icon; Or, when deleting described second application icon, unload corresponding second application of described second application icon; Or, when deleting described first application icon and described second application icon, unload corresponding first application of described first application icon and corresponding second application of described second application icon.
Such as, the first file in the first file is QQ application icon, and corresponding QQ version information is QQ2007; The second file in second file is also QQ application icon, and corresponding QQ version information is QQ2003; If detect and form overlapping region between the first file and the second file, and delete version information when being the QQ application icon of QQ2003, can discharging terminal and version information be the corresponding QQ application program of the QQ application icon of QQ2003 simultaneously.Adopt this method, when user wants to unload certain application program, the control panel that just can open a terminal goes to select corresponding application program to unload, and directly goes to unload identical or similar application program by deleting display application icon on the table.
The embodiment of the present invention, can according to the first move, mobile first file; Also can form overlapping region between described first file and the second file detecting, delete the file matched in described first file and/or described second file according to preset rules.Adopt the embodiment of the present invention, can the delete step of simplified-file, improve file operation efficiency.
See Fig. 2, be the schematic flow sheet of the another kind of delet method that the embodiment of the present invention provides, delet method as shown in the figure can comprise the following steps:
S201, according to the first move, mobile first file, comprises the first file in described first file.
In specific implementation, first user can input the first move by the input media (as physical keyboard or touch-screen etc.) of terminal for the first file, when terminal receives this first move, according to this first move, mobile first file.Such as, terminal is portable computer, and the first file is name on current portable computer desktop is called the file of document files, and now, user can click the mouse left button to choose for this file; If user clicks the mouse, left button drags this file and is clipped on desktop and moves, and be now considered as user and input the first move for this file, the dragging track of the location following mouse of this file moves.
S202, forms overlapping region if detect between described first file and the second file, judges whether the data message of described first file matches with the data message of the second file in described second file.
In specific implementation, after user completes the movement of the first file, if detect, the first file final position and the second file form overlapping region, whether the data message of further the first file judged in the first file matches with the data message of the second file in the second file, and then when judged result is for being, performs step S203 and deleting described first file and/or described second file according to preset rules.Wherein, the first file and the second file include but not limited to: icon of audio file, video file, text, picture file, application file or file etc.
Such as, terminal is portable computer, and user can click the mouse left button to choose for the first file, and can continue to pin left mouse button and drag this file and be clipped on desktop and move, and the dragging track of the location following mouse of this file moves; If user unclamps left mouse button, current mouse cursor position is on the table the final position of this file, now, detect its folder icon when this file moves to final position and whether form overlapping region with the folder icon of the second file of this position; If so, judge that whether the file content between the first file in the first file and the second file in the second file is identical with file name further; If so, then illustrate that the first file and the second file are identical files, now can delete the first file wherein or the second file, the storage space of terminal can be saved.
Again such as, first file is " Baidu's map ", second file is " high moral map ", can detect in the file name of the first file and the second file and all comprise " map ", now, terminal judges the first file identical with the file attribute of the second file (being all belong to navigation type application file) by " map " this key word, therefore, think that the data message of the first file and the second file is coupling, and then the first file can deleted wherein or the second file, even all delete; When certainly also all can comprise " map " in this example in the file name the first file and the second file being detected, just think that the first file and the data message of the second file are couplings (file name part is identical).
S203, when judged result is for being, deletes described first file and/or described second file according to preset rules.
In specific implementation, can be specially according to preset rules described first file of deletion and/or described second file:
If the creation-time of described first file is early than the creation-time of described second file, delete described first file; Or, if the version information of described first file is early than the version information of described second file, delete described first file; Or, if move described first file, delete described first file; Or, if move described first file and described second file, delete described first file and described second file.
Such as, if detect and form overlapping region between the first file and the second file, the creation-time of the first file in the first file can be detected further whether early than the creation-time of the second file in the second file, if, then delete the first file, if not, then the second file can be deleted.In like manner, such as, first file is the corresponding QQ version information of QQ application icon is QQ2007, second file is the corresponding QQ version information of QQ application icon is QQ2003, if then detect and form overlapping region between the first file and the second file, detect that version information QQ2003 is early than version information QQ2007 further, therefore can delete the QQ application icon that version information is QQ2003.
In another embodiment, before performing step S203, described method also comprises: according to the second move, mobile second file.
In specific implementation, the second file can be moved when mobile first file simultaneously, also mobile second file after first can moving the first file, first can also move the second file mobile first file again, in moving process or when having moved, can detect between the first file and the second file and whether form overlapping region, and when testing result is for being, delete the file matched in the first file and/or the second file according to preset rules.Such as, terminal is the smart mobile phone of band touch-screen, and the first file and the second file the first document files be respectively on current smart mobile phone display page presss from both sides and the second document files folder, now, user can choose by these two files respectively by thumb and forefinger length, then pins these two files and moves on display page.Mobile first file and the second file simultaneously, the relative position conversion of the two can be made faster, and the deletion action of file is carried out in the target location making file move to user faster then, improves operating efficiency.
In another embodiment, when described first file is the first application icon, when the second file is the second application icon, described method also comprises: when deleting described first application icon, unloads corresponding first application of described first application icon; Or, when deleting described second application icon, unload corresponding second application of described second application icon; Or, when deleting described first application icon and described second application icon, unload corresponding first application of described first application icon and corresponding second application of described second application icon.
Such as, the first file in the first file is QQ application icon, and corresponding QQ version information is QQ2007, and the second file in the second file is also QQ application icon, and corresponding QQ version information is QQ2003; If detect and form overlapping region between the first file and the second file, and delete version information when being the QQ application icon of QQ2003, can discharging terminal and version information be the corresponding QQ application program of the QQ application icon of QQ2003 simultaneously.Adopt this method, when user wants to unload certain application program, the control panel that just can open a terminal goes to select corresponding application program to unload, and directly goes to unload identical or similar application program by deleting display application icon on the table.
The embodiment of the present invention, terminal can according to the first move, mobile first file; Also can detect form overlapping region between described first file and the second file time, judge whether the data message between the first file in described first file and the second file in described second file matches; And when judged result is for being, delete described first file and/or described second file according to preset rules.Adopt the embodiment of the present invention, can the delete step of simplified-file, improve file operation efficiency.
Be a kind of terminal structure schematic diagram that the embodiment of the present invention provides see Fig. 3, Fig. 3, terminal at least can comprise as shown in the figure: file mobile unit 301 and file erase unit 302.
File mobile unit 301, for according to the first move, moves the first file.
In specific implementation, first user can input the first move by the input media (as physical keyboard or touch-screen etc.) of terminal for the first file, when terminal receives this first move, file mobile unit 301, according to this first move, moves the first file.Such as, terminal is portable computer, and the first file is name on current portable computer desktop is called the file of document files, and now, user can click the mouse left button to choose for this file; If user clicks the mouse, left button drags this file and is clipped on desktop and moves, and be now considered as user and input the first move for this file, the dragging track of the location following mouse of this file moves.
File erase unit 302, if form overlapping region for detecting between described first file and the second file, deletes the file matched in described first file and/or described second file according to preset rules.
In specific implementation, after user completes the movement of the first file, detect the first file final position and whether form overlapping region with the second file, and when testing result is for being, file erase unit 302 deletes the file matched in described first file and/or described second file according to preset rules.
Such as, terminal is portable computer, and the first file is name on current portable computer desktop is called the file of the first document files, now, user can click the mouse left button to choose for this file, and can continue to pin left mouse button and drag this file and be clipped on desktop and move, the dragging track of the location following mouse of this file moves; If user unclamps left mouse button, current mouse cursor position is on the table the final position of this file, now, detect its folder icon when this file moves to final position and whether be called that the folder icon of the second file of the second document files forms overlapping region with the name of this position; If, file erase unit 302 can delete the file matched with the file in the second file in the first file, or the file matched with the file in the first file deleted in the second file, or delete the first file and neutralize the file matched in the second file.Wherein, the file in file includes but not limited to: icon of audio file, video file, text, picture file, application file or file etc.
See the structural representation that Fig. 4, Fig. 4 are a kind of file erase unit that the embodiment of the present invention provides, file erase unit 302 as shown in the figure can comprise: matching judgment subelement 3201 and file erase subelement 3202.
Matching judgment subelement 3201, for comprising the first file in described first file, when comprising the second file in described second file, judges whether described first file matches with described second file.
In specific implementation, matching judgment subelement 3201 judges that whether described first file matches with described second file and is specially: judge whether the data message of described first file matches with the data message of described second file, and described data message comprises file content and/or file name.
In specific implementation, after the movement completing the first file, if detect, the first file final position and the second file form overlapping region, further matching judgment subelement 3201 judges whether the data message of the first file in the first file matches with the data message of the second file in the second file, and then when judged result is for being, file erase subelement 3202 deletes described first file and/or described second file according to preset rules.Wherein, data message comprises but is not limited to file content, file name, file attribute, file type or file icon figure etc.
Such as, terminal is portable computer, and user can click the mouse left button to choose for the first file, and can continue to pin left mouse button and drag this file and be clipped on desktop and move, and the dragging track of the location following mouse of this file moves; If user unclamps left mouse button, current mouse cursor position is on the table the final position of this file, now, detect its folder icon when this file moves to final position and whether form overlapping region with the folder icon of the second file of this position; If so, matching judgment subelement 3201 judges that whether the file content between the first file in the first file and the second file in the second file is identical with file name further; If so, then illustrate that the first file and the second file are identical files, now file erase subelement 3202 can delete the first file wherein or the second file, can save the storage space of terminal.Again such as, first file is " Baidu's map ", second file is " high moral map ", can detect in the file name of the first file and the second file and all comprise " map ", now, terminal judges the first file identical with the file attribute of the second file (being all belong to navigation type application file) by " map " this key word, therefore, think that the data message of the first file and the second file is coupling, file erase subelement 3202 and then the first file can deleted wherein or the second file, even all delete; When certainly also all can comprise " map " in this example in the file name the first file and the second file being detected, just think that the first file and the data message of the second file are couplings (file name part is identical).
File erase subelement 3202, for matching when described first file and described second file, deletes described first file and/or described second file according to preset rules.
In specific implementation, described file erase subelement 3202 deletes described first file according to preset rules and/or described second file can be specially: if the creation-time of described first file is early than the creation-time of described second file, delete described first file; Or, if the version information of described first file is early than the version information of described second file, delete described first file; Or, if move described first file, delete described first file; Or, if move described first file and described second file, delete described first file and described second file.
Such as, if detect and form overlapping region between the first file and the second file, the creation-time of the first file in the first file can be detected further whether early than the creation-time of the second file in the second file, if, the first file deleted by 3202, file erase subelement, if not, then the second file can be deleted.In like manner, such as, first file is the corresponding QQ version information of QQ application icon is QQ2007, second file is the corresponding QQ version information of QQ application icon is QQ2003, if then detect and form overlapping region between the first file and the second file, detect that version information QQ2003 is early than version information QQ2007 further, therefore file erase subelement can delete the QQ application icon that version information is QQ2003.
In another embodiment, described file mobile unit 301 also for: form overlapping region at file erase unit inspection between described first file and the second file, before deleting according to preset rules the file matched in described first file and/or described second file, according to the second move, mobile second file.
In specific implementation, file mobile unit 301 can move the second file when mobile first file simultaneously, also mobile second file after first can moving the first file, first can also move the second file mobile first file again, in moving process or when having moved, can detect between the first file and the second file and whether form overlapping region, and when testing result is for being, delete the file matched in the first file and/or the second file according to preset rules.Such as, terminal is the smart mobile phone of band touch-screen, and the first file and the second file the first document files be respectively on current smart mobile phone display page presss from both sides and the second document files folder, now, user can choose by these two files respectively by thumb and forefinger length, then pins these two files and moves on display page.Mobile first file and the second file simultaneously, the relative position conversion of the two can be made faster, and the deletion action of file is carried out in the target location making file move to user faster then, improves operating efficiency.
In another embodiment, described first file is the first application icon, and the second file is the second application icon, and described terminal also comprises: application unloading unit 303, for when deleting described first application icon, unload corresponding first application of described first application icon; Or, for when deleting described second application icon, unload corresponding second application of described second application icon; Or, for when deleting described first application icon and described second application icon, unload corresponding first application of described first application icon and corresponding second application of described second application icon.
Such as, the first file in the first file is QQ application icon, and corresponding QQ version information is QQ2007, and the second file in the second file is also QQ application icon, and corresponding QQ version information is QQ2003; If detect and form overlapping region between the first file and the second file, and file erase unit 302 except version information be the QQ application icon of QQ2003 time, applying unloading unit 303 can discharging terminal and version information be the corresponding QQ application program of the QQ application icon of QQ2003 simultaneously.Adopt this method, when user wants to unload certain application program, the control panel that just can open a terminal goes to select corresponding application program to unload, and directly goes to unload identical or similar application program by deleting display application icon on the table.
The embodiment of the present invention, by file mobile unit 301 according to the first move, mobile first file; Also by file erase unit 302 detect form overlapping region between described first file and the second file time, delete the file matched in described first file and/or described second file according to preset rules.Adopt the embodiment of the present invention, can the delete step of simplified-file, improve file operation efficiency.
See the structural representation that Fig. 5, Fig. 5 are the another kind of terminals that the embodiment of the present invention provides, the terminal in the present embodiment as shown in the figure can comprise: at least one processor 501, such as CPU; Storer 502.Above-mentioned processor 501 is connected by bus 503 with storer 502.
Storer 502 can be high-speed RAM storer, also can be non-labile storer (non-volatilememory), such as at least one magnetic disk memory.Storer 502 can also be optionally that at least one is positioned at the storage terminal away from aforementioned processor 501.Wherein processor 501 can the terminal shown in composition graphs 3, wherein stores batch processing code in storer 502, and processor 501 calls the code stored in storer 502, for performing following operation:
Above-mentioned processor 501, for according to the first move, moves the first file.
Above-mentioned processor 501, if also form overlapping region for detecting between described first file and the second file, deletes the file matched in described first file and/or described second file according to preset rules.
Accordingly, the terminal that the embodiment of the present invention provides also can comprise: output device 504, and for the file icon of display file folder and file, this output device 504 can be specially display screen.In addition, the terminal that the embodiment of the present invention provides also can comprise: input equipment 505, this input equipment can comprise as keyboard, Trackpad, fingerprint adopt the input equipment of sensor and sound pick-up outfit etc., and user inputs the first move and/or the second move by input equipment 505.
In another embodiment, described processor 501 also for: detect and form overlapping region between described first file and the second file, before deleting according to preset rules the file matched in described first file and/or described second file, according to the second move, mobile second file.
In another embodiment, in described first file, comprise the first file, in described second file, comprise the second file, described processor 501 also specifically for: judge whether described first file matches with described second file; When described first file and described second file match, delete described first file and/or described second file according to preset rules.Further, described processor 501 judges that whether described first file matches with described second file and specifically comprises: judge whether the data message of described first file matches with the data message of described second file, and described data message comprises file content and/or file name.
In another embodiment, described processor 501 also specifically for: if the creation-time of described first file is early than the creation-time of described second file, delete described first file; Or, if the version information of described first file is early than the version information of described second file, delete described first file; Or, if move described first file, delete described first file; Or, if move described first file and described second file, delete described first file and described second file.
In another embodiment, described first file is the first application icon, and the second file is the second application icon, described processor 501 also for: when delete described first application icon time, unload described first application icon corresponding first application; Or, when deleting described second application icon, unload corresponding second application of described second application icon; Or, when deleting described first application icon and described second application icon, unload corresponding first application of described first application icon and corresponding second application of described second application icon.
In specific implementation, processor 501 described in the embodiment of the present invention and storer 502 can perform the first embodiment of the delet method that the embodiment of the present invention provides and the implementation described in the second embodiment, also can perform the implementation of the terminal described by the embodiment of the present invention, not repeat them here.
For each embodiment of the method aforesaid, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the application is not by the restriction of described sequence of movement, because according to the application, certain some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and unit might not be that the application is necessary.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random access memory (RandomAccessMemory is called for short RAM) etc.
Above a kind of delet method disclosed in the embodiment of the present invention and terminal are described in detail, above disclosedly be only present pre-ferred embodiments, certainly the interest field of the present invention can not be limited with this, therefore according to the equivalent variations that the claims in the present invention are done, the scope that the present invention is contained still is belonged to.

Claims (12)

1. a delet method, is characterized in that, described method comprises:
According to the first move, mobile first file;
If detect and form overlapping region between described first file and the second file, delete the file matched in described first file and/or described second file according to preset rules.
2. method according to claim 1, it is characterized in that, detect if described and form overlapping region between described first file and the second file, before deleting according to preset rules the file matched in described first file and/or described second file, also comprise:
According to the second move, mobile second file.
3. method according to claim 1 and 2, it is characterized in that, comprise the first file in described first file, comprise the second file in described second file, the described file according to matching in preset rules described first file of deletion and/or described second file comprises:
Judge whether described first file matches with described second file;
When described first file and described second file match, delete described first file and/or described second file according to preset rules.
4. method according to claim 3, is characterized in that, describedly judges whether described first file matches with described second file, specifically comprises:
Judge whether the data message of described first file matches with the data message of described second file, and described data message comprises file content and/or file name.
5. the method according to claim 3 or 4, is characterized in that, described according to preset rules described first file of deletion and/or described second file, comprising:
If the creation-time of described first file is early than the creation-time of described second file, delete described first file; Or,
If the version information of described first file is early than the version information of described second file, delete described first file; Or,
If move described first file, delete described first file; Or,
If move described first file and described second file, delete described first file and described second file.
6. the method according to any one of claim 1-4, described first file is the first application icon, and the second file is the second application icon, and described method also comprises:
When deleting described first application icon, unload corresponding first application of described first application icon; Or,
When deleting described second application icon, unload corresponding second application of described second application icon; Or,
When deleting described first application icon and described second application icon, unload corresponding first application of described first application icon and corresponding second application of described second application icon.
7. a terminal, is characterized in that, described terminal comprises:
File mobile unit, for according to the first move, moves the first file;
File erase unit, if form overlapping region for detecting between described first file and the second file, deletes the file matched in described first file and/or described second file according to preset rules.
8. terminal according to claim 7, it is characterized in that, described file mobile unit also for: form overlapping region at file erase unit inspection between described first file and the second file, before deleting according to preset rules the file matched in described first file and/or described second file, according to the second move, mobile second file.
9. the terminal according to claim 7 or 8, is characterized in that, comprises the first file in described first file, comprises the second file in described second file, and described file erase unit comprises:
Matching judgment subelement, for judging whether described first file matches with described second file;
File erase subelement, for matching when described first file and described second file, deletes described first file and/or described second file according to preset rules.
10. terminal according to claim 9, it is characterized in that, described matching judgment subelement specifically for: judge whether the data message of described first file matches with the data message of described second file, and described data message comprises file content and/or file name.
11. terminals according to claim 9 or 10, is characterized in that, described file erase subelement specifically for:
If the creation-time of described first file is early than the creation-time of described second file, delete described first file; Or,
If the version information of described first file is early than the version information of described second file, delete described first file; Or,
If move described first file, delete described first file; Or,
If move described first file and described second file, delete described first file and described second file.
12. terminals according to any one of claim 7-10, it is characterized in that, described first file is the first application icon, and the second file is the second application icon, and described terminal also comprises:
Application unloading unit, for when deleting described first application icon, unloads corresponding first application of described first application icon; Or,
For when deleting described second application icon, unload corresponding second application of described second application icon; Or,
For when deleting described first application icon and described second application icon, unload corresponding first application of described first application icon and corresponding second application of described second application icon.
CN201510812302.3A 2015-11-20 2015-11-20 Deletion method and terminal Pending CN105468721A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510812302.3A CN105468721A (en) 2015-11-20 2015-11-20 Deletion method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510812302.3A CN105468721A (en) 2015-11-20 2015-11-20 Deletion method and terminal

Publications (1)

Publication Number Publication Date
CN105468721A true CN105468721A (en) 2016-04-06

Family

ID=55606422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510812302.3A Pending CN105468721A (en) 2015-11-20 2015-11-20 Deletion method and terminal

Country Status (1)

Country Link
CN (1) CN105468721A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110035691A1 (en) * 2009-08-04 2011-02-10 Lg Electronics Inc. Mobile terminal and icon collision controlling method thereof
CN102929706A (en) * 2012-10-31 2013-02-13 广州市久邦数码科技有限公司 Method for combining files
CN103713828A (en) * 2013-12-11 2014-04-09 上海斐讯数据通信技术有限公司 Method of deleting two desktop icons by collision
CN104636027A (en) * 2014-08-22 2015-05-20 康佳集团股份有限公司 Method and system for managing tabletop icons based on intelligent television
CN104750391A (en) * 2015-04-13 2015-07-01 魅族科技(中国)有限公司 Icon batch processing method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110035691A1 (en) * 2009-08-04 2011-02-10 Lg Electronics Inc. Mobile terminal and icon collision controlling method thereof
CN102929706A (en) * 2012-10-31 2013-02-13 广州市久邦数码科技有限公司 Method for combining files
CN103713828A (en) * 2013-12-11 2014-04-09 上海斐讯数据通信技术有限公司 Method of deleting two desktop icons by collision
CN104636027A (en) * 2014-08-22 2015-05-20 康佳集团股份有限公司 Method and system for managing tabletop icons based on intelligent television
CN104750391A (en) * 2015-04-13 2015-07-01 魅族科技(中国)有限公司 Icon batch processing method and terminal

Similar Documents

Publication Publication Date Title
US20120212438A1 (en) Methods and apparatuses for facilitating interaction with touch screen apparatuses
US20130111380A1 (en) Digital whiteboard implementation
WO2018166434A1 (en) Icon processing method and mobile terminal
WO2016095689A1 (en) Recognition and searching method and system based on repeated touch-control operations on terminal interface
CN104360990A (en) Content editing method
CN105335099A (en) Memory cleaning method and terminal
CN105426049A (en) Deletion method and terminal
CN106844181B (en) Method, system and mobile terminal for recording user behavior
CN103092604A (en) Application program classification method and device
CN104407787A (en) Terminal
CN105183184A (en) Character processing method and terminal
US20210326151A1 (en) Methods, devices and computer-readable storage media for processing a hosted application
WO2018166469A1 (en) Method for multi-path copying and pasting, and mobile terminal
WO2019015581A1 (en) Text deletion method and mobile terminal
US20190324621A1 (en) System and Methods for Utilizing Multi-Finger Touch Capability to Efficiently Perform Content Editing on a Computing Device
WO2022194004A1 (en) Application icon arrangement method and apparatus, and electronic device
CN106991179A (en) Data-erasure method, device and mobile terminal
CN105117159A (en) Character processing method and terminal
US20160170632A1 (en) Interacting With Application Beneath Transparent Layer
CN103135911B (en) A kind of information processing method and electric terminal
CN106484779B (en) File operation method and device
CN103941957A (en) Method and device for deleting content of user equipment and user equipment
CN104461359A (en) Terminal
CN104750401A (en) Touch method and related device as well as terminal equipment
US11460971B2 (en) Control method and electronic device

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: 20160406

RJ01 Rejection of invention patent application after publication