CN105468257A - Deletion method and terminal - Google Patents

Deletion method and terminal Download PDF

Info

Publication number
CN105468257A
CN105468257A CN201510815266.6A CN201510815266A CN105468257A CN 105468257 A CN105468257 A CN 105468257A CN 201510815266 A CN201510815266 A CN 201510815266A CN 105468257 A CN105468257 A CN 105468257A
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.)
Granted
Application number
CN201510815266.6A
Other languages
Chinese (zh)
Other versions
CN105468257B (en
Inventor
杨锦雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizu Telecom Equipment 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 CN201510815266.6A priority Critical patent/CN105468257B/en
Publication of CN105468257A publication Critical patent/CN105468257A/en
Application granted granted Critical
Publication of CN105468257B publication Critical patent/CN105468257B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • 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)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a deletion method and a terminal. The method comprises the following steps: according to a first movement instruction, moving a first file; and when a detection result shows that an overlapping area is formed between the first file and a folder, deleting the first file and/ or a second file matched with the first file in the folder according to a preset rule. When the embodiment of the invention is adopted, a file deletion step can be simplified, and file operation efficiency is 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:
File comprises at least one file, according to the first move received, and mobile first file;
If detect and form overlapping region between described first file and described file, delete the second file matched with described first file in described first file and/or described file according to preset rules.
Wherein, detect if described and form overlapping region between described first file and described file, before deleting according to preset rules the second file matched with described first file in described first file and/or described file, also comprise: according to the second move, mobile described file.
Wherein, described the second file according to matching with described first file in preset rules described first file of deletion and/or described file specifically comprises:
Judge whether the data message of described first file matches with the data message of the second file in described file, and described data message comprises file content and/or file name;
When judged result is for being, delete described first file and/or described second file according to preset rules.
Wherein, described the second file according to matching with described first file in preset rules described first file of deletion and/or described file specifically comprises:
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, according to the first move received, mobile first file;
File erase unit, if detect and form overlapping region between described first file and described file, delete the second file matched with described first file in described first file and/or described file according to preset rules, wherein, file comprises at least one file.
Wherein, described file mobile unit also for: before deleting at described file erase unit the second file matched with described first file in described first file and/or described file according to preset rules, according to the second move, mobile described file.
Wherein, described file erase unit comprises: matching judgment subelement, for judging whether the data message of described first file matches with the data message of the second file in described file, and described data message comprises file content and/or file name; File erase subelement, for when judged result is for being, deletes described first file and/or described second file according to preset rules.
Wherein, described file erase unit 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, file comprises at least one file, can according to the first move, mobile first file; Also can form overlapping region between described first file and described file detecting, delete the second file matched with described first file in described first file and/or described 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, the file described in the present embodiment includes but not limited to: icon of audio file, video file, text, picture file, application file or file etc.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, and mobile first file.Such as, terminal be band touch-screen smart mobile phone, and the first file be current smart mobile phone display interface of main menu on QQ application icon, now, user can with finger by touch-screen length by QQ application icon to choose; If user press...withes one's finger, this QQ application icon moves on the touchscreen, is now considered as user and inputs the first move for this QQ application icon, and the location following user finger sliding trace on the touchscreen of this QQ application icon moves.Again such as, terminal is portable computer, and the first file is the document files on current portable computer desktop, and now, user can click the mouse left button to choose for the document file; If user clicks the mouse, left button drags the document file and moves on the table, and be now considered as user and input the first move for the document file, the dragging track of the location following mouse of the document file moves.
S102, forms overlapping region if detect between described first file and described file, deletes the second file matched with described first file in described first file and/or described file according to preset rules.
In specific implementation, described file at least comprises a file.After user completes the movement of the first file, detect the first file final position and whether form overlapping region with file, and when testing result is for being, delete the second file matched with described first file in described first file and/or described file according to preset rules.Such as, terminal is the smart mobile phone of band touch-screen, and after user to choose by the first file QQ application icon on current interface of main menu with finger is long, drag this QQ application icon with finger to move, when user being unclamped finger, finger position is on the touchscreen as the final position of this QQ application icon, if region, final position also has a file, then the first file and this file form overlapping region; If have the second file in file, and this second file also QQ application icon, now think that the first file and the second file are what mate, therefore can according to the second file QQ application icon in preset rules Delete Folder, or delete the first file QQ application icon, or the first file and the second file are deleted simultaneously.
In another embodiment, described the second file according to matching with described first file in preset rules described first file of deletion and/or described file can specifically comprise:
Judge whether the data message of described first file matches with the data message of the second file in described file; When judged result is for being, delete described first file and/or described second file according to preset rules.
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 file time, can judge whether whether the data message of the first file mate with the data message of the second file in 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 file time, whether file name and the file content that can detect the first file and the second file in 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).
In another embodiment, before performing step S102, described method also comprises: according to the second move, mobile described file.
In specific implementation, can when mobile first file move folder simultaneously, also after first can moving the first file, move presss from both sides, the first file can also be moved again by first move folder, in moving process or when having moved, can detect between the first file and file and whether form overlapping region, and when testing result is for being, delete the second file mated with the first file in the first file and/or file according to preset rules.Such as, terminal is the smart mobile phone of band touch-screen, and the first file is the QQ application icon on current smart mobile phone display page; File is the Application Folder on current display page face, and now, user can press QQ application icon and Application Folder respectively by thumb and forefinger length, then pins the two and moves on display page.Mobile first file and file simultaneously, the relative position conversion of the two can be made faster, and deletion action is carried out in the target location making file move to user faster then, improves operating efficiency.
In another embodiment, delete according to preset rules the second file matched with described first file in described first file and/or described file in step S102 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, detect when forming overlapping region between the first file and file, the second file mated with the first file in file can be obtained further, and then judge that the creation-time of the first file is whether early than the creation-time of the second file in file, if, then delete the first file, if not, then can delete the second file.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 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 is QQ application icon, and corresponding QQ version information is QQ2007; The second file in file is also QQ application icon, and corresponding QQ version information is QQ2003; If then detect and form overlapping region between the first file and file, and delete be version information be the QQ application icon of QQ2003 time, 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 same or similar application program by deleting display application icon on the table.
The embodiment of the present invention, file comprises at least one file, and terminal can according to the first move, mobile first file; Also can detect form overlapping region between described first file and file time, delete the second file matched with described first file in described first file and/or described 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.
In specific implementation, the file described in the present embodiment includes but not limited to: icon of audio file, video file, text, picture file, application file or file etc.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, and mobile first file.Such as, terminal be band touch-screen smart mobile phone, and the first file be current smart mobile phone display interface of main menu on QQ application icon, now, user can with finger by touch-screen length by QQ application icon to choose; If user press...withes one's finger, this QQ application icon moves on the touchscreen, is now considered as user and inputs the first move for this QQ application icon, and the location following user finger sliding trace on the touchscreen of this QQ application icon moves.Again such as, terminal is portable computer, and the first file is the document files on current portable computer desktop, and now, user can click the mouse left button to choose for the document file; If user clicks the mouse, left button drags the document file and moves on the table, and be now considered as user and input the first move for the document file, the dragging track of the location following mouse of the document file moves.
S202, forms overlapping region if detect between described first file and file, judges whether the data message of described first file matches with the data message of the second file in described file.
In specific implementation, described file at least comprises a file.After user completes the movement of the first file, detect the first file final position and whether form overlapping region with file, and when testing result is for being, whether the data message detecting the first file further matches with the data message of the second file in described file.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 the smart mobile phone of band touch-screen, and after user to choose by the first file QQ application icon on current interface of main menu with finger is long, drag this QQ application icon with finger to move, when user being unclamped finger, finger position is on the touchscreen as the final position of this QQ application icon, if region, final position also has a file, then the first file and this file form overlapping region; If have the second file in file, and this second file also QQ application icon, now think that the first file and the second file are (file icon figure is identical) of mating, therefore can according to the second file QQ application icon in preset rules Delete Folder, or delete the first file QQ application icon, or the first file and the second file are deleted simultaneously.
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).
Again such as, first file and the second file are document files, then detect form overlapping region between the first file and file time, to the file name of the second file in detection first file and file be all further: " the first document files ", and file content is also identical, think that the data message of the first file and the second file is coupling, then can delete the first file or the second file, also can delete two files simultaneously.
S203, when judged result is for being, deletes described first file and/or described second file according to preset rules.
In specific implementation, 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, detect when forming overlapping region between the first file and file, the second file mated with the first file in file can be obtained further, and then judge that the creation-time of the first file is whether early than the creation-time of the second file in file, if, then delete the first file, if not, then can delete the second file.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 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 S202, described method also comprises: according to the second move, mobile described file.
In specific implementation, can when mobile first file move folder simultaneously, also after first can moving the first file, move presss from both sides, the first file can also be moved again by first move folder, in moving process or when having moved, can detect between the first file and file and whether form overlapping region, and when testing result is for being, delete the second file matched with described first file in the first file and/or described file according to preset rules.Such as, terminal is the smart mobile phone of band touch-screen, and the first file is the QQ application icon on current smart mobile phone display page; File is the Application Folder on current display page face, and now, user can press QQ application icon and Application Folder respectively by thumb and forefinger length, then pins the two and moves on display page.Mobile first file and file simultaneously, the relative position conversion of the two can be made faster, and deletion action 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 is QQ application icon, and corresponding QQ version information is QQ2007; The second file in file is QQ application icon, and corresponding QQ version information is QQ2003; If then detect and form overlapping region between the first file and file, and delete be version information be the QQ application icon of QQ2003 time, 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, file comprises at least one file, and terminal can according to the first move, mobile first file; Also can detect form overlapping region between described first file and described file time, judge whether the data message between the second file in described first file and described 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, including but not limited to described in the present embodiment: icon of audio file, video file, text, picture file, application file or file etc.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 be band touch-screen smart mobile phone, and the first file be current smart mobile phone display interface of main menu on QQ application icon, now, user can with finger by touch-screen length by QQ application icon to choose; If user press...withes one's finger, this QQ application icon moves on the touchscreen, is now considered as user and inputs the first move for this QQ application icon, and the location following user finger sliding trace on the touchscreen of this QQ application icon moves.Again such as, terminal is portable computer, and the first file is the document files on current portable computer desktop, and now, user can click the mouse left button to choose for the document file; If user clicks the mouse, left button drags the document file and moves on the table, and be now considered as user and input the first move for the document file, the dragging track of the location following mouse of the document file moves.
File erase unit 302, forms overlapping region if detect between described first file and described file, deletes the second file matched with described first file in described first file and/or described file according to preset rules.
In specific implementation, file comprises at least one file.After user completes the movement of the first file, detect the first file final position and whether form overlapping region with file, and when testing result is for being, file erase unit 302, deletes the second file matched with described first file in described first file and/or described file according to preset rules.Such as, terminal is the smart mobile phone of band touch-screen, and after user to choose by the first file QQ application icon on current interface of main menu with finger is long, drag this QQ application icon with finger to move, when user being unclamped finger, finger position is on the touchscreen as the final position of this QQ application icon, if region, final position also has a file, then the first file and this file form overlapping region; If have the second file in file, and this second file also QQ application icon, now think that the first file and the second file are what mate, therefore file erase unit 302 can according to the second file QQ application icon in preset rules Delete Folder, or delete the first file QQ application icon, or the first file and the second file are deleted simultaneously.
See the structural representation that Fig. 4 Fig. 4 is 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 judging whether the data message of described first file matches with the data message of the second file in described file;
File erase subelement 3202, for when judged result is for being, 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, first file and the second file are document files, then detect form overlapping region between the first file and file time, to the file name of the second file in detection first file and file be all further: " the first document files ", and file content is also identical, then illustrate that these two files are identical files (thinking that the data message of the first file and the second file is coupling), then file erase subelement 302 can delete the first file or the second file, also can delete two files simultaneously.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).
Described file erase unit 302 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.
Such as, detect when forming overlapping region between the first file and file, the second file mated with the first file in file can be obtained further, and then judge that the creation-time of the first file is whether early than the creation-time of the second file in file, if, file erase unit 302 deletes the first file, and if not, file erase unit 302 can delete the second file.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 file, detect that version information QQ2003 is early than version information QQ2007 further, therefore file erase unit 302 can delete the QQ application icon that version information is QQ2003.
In another embodiment, described file mobile unit 301 also for: before deleting at described file erase unit the second file matched with described first file in described first file and/or described file according to preset rules, according to the second move, mobile described file.
In specific implementation, can when mobile first file move folder simultaneously, also after first can moving the first file, move presss from both sides, the first file can also be moved again by first move folder, in moving process or when having moved, can detect between the first file and file and whether form overlapping region, and when testing result is for being, delete the second file mated with described first file in the first file and/or described file according to preset rules.Such as, terminal is the smart mobile phone of band touch-screen, and the first file is the QQ application icon on current smart mobile phone display page; File is the Application Folder on current display page face, and now, user can press QQ application icon and Application Folder respectively by thumb and forefinger length, then pins the two and moves on display page.File mobile unit 301 is mobile first file and file simultaneously, and the relative position conversion of the two can be made faster, and deletion action 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 is QQ application icon, and corresponding QQ version information is QQ2007; The second file in file is QQ application icon, and corresponding QQ version information is QQ2003; If then detect and form overlapping region between the first file and file, and delete be 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 deletes and go to unload identical similar application program by 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 file time, according to preset rules delete in described first file and/or described file with the second file of matching in described first file.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 received, moves the first file; .
Above-mentioned processor 501, if also form overlapping region for detecting between described first file and described file, deletes the second file matched with described first file in described first file and/or described 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 described file, before deleting according to preset rules the second file matched with described first file in described first file and/or described file, according to the second move, mobile described file.
In another embodiment, described processor 501 also specifically for: judge whether the data message of described first file matches with the data message of the second file in described file, and described data message comprises file content and/or file name; When judged result is for being, delete described first file and/or described second file according to preset rules.
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 (10)

1. a delet method, is characterized in that, file comprises at least one file, and described method comprises:
According to the first move received, mobile first file;
If detect and form overlapping region between described first file and described file, delete the second file matched with described first file in described first file and/or described 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 described file, before deleting according to preset rules the second file matched with described first file in described first file and/or described file, also comprise:
According to the second move, mobile described file.
3. method according to claim 1 and 2, is characterized in that, described the second file according to matching with described first file in preset rules described first file of deletion and/or described file, comprising:
Judge whether the data message of described first file matches with the data message of the second file in described file, and described data message comprises file content and/or file name;
When judged result is for being, delete described first file and/or described second file according to preset rules.
4. the method according to any one of claim 1-3, is characterized in that, described the second file according to matching with described first file in preset rules described first file of deletion and/or described 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.
5. the method according to any one of claim 1-3, is characterized in that, 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.
6. a terminal, is characterized in that, file comprises at least one file, and described terminal comprises:
File mobile unit, according to the first move received, mobile first file;
File erase unit, forms overlapping region if detect between described first file and described file, deletes the second file matched with described first file in described first file and/or described file according to preset rules.
7. terminal according to claim 6, is characterized in that, described file mobile unit also for:
Before described file erase unit is according to the second file matched with described first file in preset rules described first file of deletion and/or described file, according to the second move, mobile described file.
8. the terminal according to claim 6 or 7, is characterized in that, described file erase unit comprises:
Matching judgment subelement, for judging whether the data message of described first file matches with the data message of the second file in described file, and described data message comprises file content and/or file name;
File erase subelement, for when judged result is for being, deletes described first file and/or described second file according to preset rules.
9. the terminal according to any one of claim 6-8, is characterized in that, described file erase unit 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.
10. the terminal according to any one of claim 6-8, 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.
CN201510815266.6A 2015-11-20 2015-11-20 A kind of delet method and terminal Active CN105468257B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510815266.6A CN105468257B (en) 2015-11-20 2015-11-20 A kind of delet method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510815266.6A CN105468257B (en) 2015-11-20 2015-11-20 A kind of delet method and terminal

Publications (2)

Publication Number Publication Date
CN105468257A true CN105468257A (en) 2016-04-06
CN105468257B CN105468257B (en) 2019-01-29

Family

ID=55606019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510815266.6A Active CN105468257B (en) 2015-11-20 2015-11-20 A kind of delet method and terminal

Country Status (1)

Country Link
CN (1) CN105468257B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989176A (en) * 2009-08-04 2011-03-23 Lg电子株式会社 Mobile terminal and icon collision controlling method thereof
CN102253803A (en) * 2011-07-06 2011-11-23 汉王科技股份有限公司 Unlocking method and device for touch screen
CN102929706A (en) * 2012-10-31 2013-02-13 广州市久邦数码科技有限公司 Method for combining files
CN102968277A (en) * 2012-11-30 2013-03-13 北京小米科技有限责任公司 Method and device for deleting or cutting file based on touch screen
CN103713828A (en) * 2013-12-11 2014-04-09 上海斐讯数据通信技术有限公司 Method of deleting two desktop icons by collision
US20150160829A1 (en) * 2012-08-22 2015-06-11 Tencent Technology (Shenzhen) Company Limited Method and user equipment for managing application programs

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989176A (en) * 2009-08-04 2011-03-23 Lg电子株式会社 Mobile terminal and icon collision controlling method thereof
CN102253803A (en) * 2011-07-06 2011-11-23 汉王科技股份有限公司 Unlocking method and device for touch screen
US20150160829A1 (en) * 2012-08-22 2015-06-11 Tencent Technology (Shenzhen) Company Limited Method and user equipment for managing application programs
CN102929706A (en) * 2012-10-31 2013-02-13 广州市久邦数码科技有限公司 Method for combining files
CN102968277A (en) * 2012-11-30 2013-03-13 北京小米科技有限责任公司 Method and device for deleting or cutting file based on touch screen
CN103713828A (en) * 2013-12-11 2014-04-09 上海斐讯数据通信技术有限公司 Method of deleting two desktop icons by collision

Also Published As

Publication number Publication date
CN105468257B (en) 2019-01-29

Similar Documents

Publication Publication Date Title
US20120212438A1 (en) Methods and apparatuses for facilitating interaction with touch screen apparatuses
WO2018166434A1 (en) Icon processing method and mobile terminal
US20130111380A1 (en) Digital whiteboard implementation
CN104360990A (en) Content editing method
US9423908B2 (en) Distinguishing between touch gestures and handwriting
US20210256077A1 (en) Methods, devices and computer-readable storage media for processing a hosted application
US20160162162A1 (en) Text Processing Method and Touchscreen Device
CN105426049A (en) Deletion method and terminal
US9081497B2 (en) Information processing apparatus, information processing method, and program
WO2016095689A1 (en) Recognition and searching method and system based on repeated touch-control operations on terminal interface
CN103907086A (en) Method and electronic device for manipulating a first or a second user interface object
CN104407787A (en) Terminal
CN106844181B (en) Method, system and mobile terminal for recording user behavior
CN105183184A (en) Character processing method and terminal
CN113126838A (en) Application icon sorting method and device and electronic equipment
CN106991179A (en) Data-erasure method, device and mobile terminal
WO2019015581A1 (en) Text deletion method and mobile terminal
CN105117159A (en) Character processing method and terminal
US20160170632A1 (en) Interacting With Application Beneath Transparent Layer
CN104484107A (en) Picture processing method
CN103135911B (en) A kind of information processing method and electric terminal
US20140380248A1 (en) Method and apparatus for gesture based text styling
CN103941957A (en) Method and device for deleting content of user equipment and user equipment
CN112269523B (en) Object editing processing method and device and electronic equipment
KR102396736B1 (en) Binding of an apparatus to a computing 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20181206

Address after: 519000, fourth floor, No. 2 Baisha Road, Tangjia Bay, Zhuhai, Guangdong.

Applicant after: Zhuhai Meizu communication equipment Co.,Ltd.

Address before: 519080 Technology Innovation Coast Meizu science and technology building, Xiangzhou District, Zhuhai, Guangdong

Applicant before: Meizu Technology (China) Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 519085, fourth floor, No. 2 Baisha Road, Tangjia Bay, Zhuhai, Guangdong.

Patentee after: Meizu Telecom Equipment Co.,Ltd.

Address before: 519000, fourth floor, No. 2 Baisha Road, Tangjia Bay, Zhuhai, Guangdong.

Patentee before: Zhuhai Meizu communication equipment Co.,Ltd.