CN105426049A - Deletion method and terminal - Google Patents

Deletion method and terminal Download PDF

Info

Publication number
CN105426049A
CN105426049A CN201510817949.5A CN201510817949A CN105426049A CN 105426049 A CN105426049 A CN 105426049A CN 201510817949 A CN201510817949 A CN 201510817949A CN 105426049 A CN105426049 A CN 105426049A
Authority
CN
China
Prior art keywords
file
application icon
application
delete
terminal
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
CN201510817949.5A
Other languages
Chinese (zh)
Other versions
CN105426049B (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 Technology 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 CN201510817949.5A priority Critical patent/CN105426049B/en
Publication of CN105426049A publication Critical patent/CN105426049A/en
Application granted granted Critical
Publication of CN105426049B publication Critical patent/CN105426049B/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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/62Uninstallation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Embodiments of the invention disclose a deletion method and a terminal. The method comprises: according to a first moving instruction, moving a first file; and when it is detected that an overlapping region is formed between the first file and a second file, deleting the first file and/or the second file according to a preset rule. With the adoption of the embodiments of the invention, the file deletion step 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 described first file and/or described second file according to preset rules.
Wherein, detect form overlapping region between described first file and the second file if described, before deleting described first file and/or described second file according to preset rules, described method also comprises: according to the second move, mobile second file.
Wherein, described according to before preset rules described first file of deletion and/or described second file, described method also 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; When judged result is for being, perform described step of deleting described first file and/or described second file according to preset rules.
Wherein, described according to preset rules described first file of deletion and/or described second file, 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 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 described first file and/or described second file according to preset rules, according to the second move, mobile second file.
Wherein, described terminal also comprises: information judging unit, for described file erase unit according to before preset rules described first file of deletion and/or described second file, 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;
Accordingly, described file erase unit, also for when the judged result of described information judging unit is for being, deletes described first file and/or described second file according to preset rules.
Wherein, described file erase unit 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.
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; Also overlapping region be can form between described first file and the second file detecting, described first file and/or described second file deleted 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 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. 4 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, described file 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 the second file, deletes 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 described first file and/or described second file when testing result is for being 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 this band of position also has the micro-letter application icon of the second file, now detect between QQ application icon and micro-letter application icon and whether form overlapping region between micro-letter application icon, if so, micro-letter application icon can then be deleted.
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 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 be respectively current smart mobile phone display interface of main menu on QQ application icon and micro-letter application icon, now, user can choose by this two methods icon respectively by thumb and forefinger length, then pins these two icons and moves at interface of main menu.Mobile first file and the second 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, execution is described delete described first file and/or described second file according to preset rules before, described method also 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; When judged result is for being, perform described step of deleting 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 the second file time, can judge whether the data message of the first file matches with the data message of 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, the first file can be detected further whether identical with the file name of the second file, 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, specifically comprise according to preset rules described first file of deletion and/or described second file in step S102: 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, form overlapping region if detect between the first file and the second file, whether the creation-time that can detect the first file further, early than the creation-time of the second file, is if so, then deleted the first file, if not, then can be deleted 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 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, 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, 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 same 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 overlapping region be can form between described first file and the second file detecting, described first file and/or described second file deleted 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, described file 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 the second file, judges whether the data message of described first file matches with the data message of described second file.
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 the data message of the first file matches with the data message of 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, the first file can be detected further whether identical with the file name of the second file, 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).
S203, when judged result is for being, deletes described first file and/or described second file according to preset rules.
In specific implementation, after user completes the movement of the first file, detecting the first file final position is all form overlapping region with the second file, and deletes described first file and/or described second file when testing result is for being 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 this band of position also has the micro-letter application icon of the second file, now detect between QQ application icon and micro-letter application icon and whether form overlapping region between micro-letter application icon, if so, micro-letter application icon can then be deleted.
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 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 be respectively current smart mobile phone display interface of main menu on QQ application icon and micro-letter application icon, now, user can choose by this two methods icon respectively by thumb and forefinger length, then pins these two icons and moves at interface of main menu.Mobile first file and the second 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, can specifically comprise according to preset rules described first file of deletion and/or described second file in step S203: 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, 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, 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, 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 of described first file matches with the data message of described second file; 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, described file 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, 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, if form overlapping region for detecting between described first file and the second file, deletes described first file and/or described second file according to preset rules.
In specific implementation, after user completes the movement of the first file, detecting the first file final position is all form overlapping region with the second file, and file delete cells 302 deletes described first file and/or described second file according to preset rules when testing result is for being.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 this band of position also has the micro-letter application icon of the second file, now detect between QQ application icon and micro-letter application icon and whether form overlapping region between micro-letter application icon, if so, file erase unit 302 can delete micro-letter application icon.
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 described first file and/or described second file according to preset rules, 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 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 be respectively current smart mobile phone display interface of main menu on QQ application icon and micro-letter application icon, now, user can choose by this two methods icon respectively by thumb and forefinger length, then pins these two icons and moves at interface of main menu.Mobile first file and the second 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, described terminal also comprises: information judging unit 303, for described file erase unit according to before preset rules described first file of deletion and/or described second file, 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;
Accordingly, described file erase unit 302, also for when the judged result of described information judging unit is for being, deletes 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 the second file time, information judging unit 303 can judge whether the data message of the first file matches with the data message of the second file further, and when judged result is for being, performs 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, the first file can be detected further whether identical with the file name of the second file, 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, 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, form overlapping region if detect between the first file and the second file, the creation-time of the first file can be detected further whether early than the creation-time of the second file, if, file erase unit 302 deletes the first file, and if not, file erase unit 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 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, 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 304, 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, 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, and file erase unit 302 is when to delete version information be the QQ application icon of QQ2003, application unloading unit 304 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 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. 4, Fig. 4 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 401, such as CPU; Storer 402.Above-mentioned processor 401 is connected by bus 403 with storer 402.
Storer 402 can be high-speed RAM storer, also can be non-labile storer (non-volatilememory), such as at least one magnetic disk memory.Storer 402 can also be optionally that at least one is positioned at the storage terminal away from aforementioned processor 401.Wherein processor 401 can the terminal shown in composition graphs 3, wherein stores batch processing code in storer 402, and processor 401 calls the code stored in storer 402, for performing following operation:
Above-mentioned processor 401, for according to the first move, moves the first file.
Above-mentioned processor 401, if also form overlapping region for detecting between described first file and the second file, deletes 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 404, and for the file icon of display file folder and file, this output device 404 can be specially display screen.In addition, the terminal that the embodiment of the present invention provides also can comprise: input equipment 405, 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 405.
In another embodiment, if described processor 401 also forms overlapping region for detecting between described first file and the second file, before deleting described first file and/or described second file according to preset rules, according to the second move, mobile second file.
In another embodiment, described processor 401 is also for before deleting described first file and/or described second file according to preset rules, 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; When judged result is for being, described processor 401 deletes described first file and/or described second file according to preset rules.
In another embodiment, described processor 401 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 401 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 401 described in the embodiment of the present invention and storer 402 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, 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 described first file and/or described second file according to preset rules.
2. method according to claim 1, is characterized in that, detects form overlapping region between described first file and the second file if described, before deleting described first file and/or described second file, also comprises according to preset rules:
According to the second move, mobile second file.
3. method according to claim 1 and 2, is characterized in that, described according to before preset rules described first file of deletion and/or described second file, also 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;
When judged result is for being, perform described step of deleting 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 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.
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, 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 described first file and/or described second file according to preset rules.
7. terminal according to claim 6, is characterized in that, described file mobile unit also for:
Overlapping region is formed between described first file and the second file at described file erase unit inspection, before deleting described first file and/or described second file according to preset rules, according to the second move, mobile second file.
8. the terminal according to claim 6 or 7, is characterized in that, described terminal also comprises:
Information judging unit, for described file erase unit according to before preset rules described first file of deletion and/or described second file, 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;
Described file erase unit, also for when the judged result of described information judging unit 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.
CN201510817949.5A 2015-11-20 2015-11-20 A kind of delet method and terminal Active CN105426049B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510817949.5A CN105426049B (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
CN201510817949.5A CN105426049B (en) 2015-11-20 2015-11-20 A kind of delet method and terminal

Publications (2)

Publication Number Publication Date
CN105426049A true CN105426049A (en) 2016-03-23
CN105426049B CN105426049B (en) 2019-03-26

Family

ID=55504292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510817949.5A Active CN105426049B (en) 2015-11-20 2015-11-20 A kind of delet method and terminal

Country Status (1)

Country Link
CN (1) CN105426049B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201279A (en) * 2016-06-30 2016-12-07 珠海市魅族科技有限公司 A kind of file operation method and device
CN107656743A (en) * 2017-09-28 2018-02-02 努比亚技术有限公司 A kind of discharging method of application, terminal and readable storage medium storing program for executing
CN107729110A (en) * 2017-10-16 2018-02-23 深圳依偎控股有限公司 Application program child control management method, mobile terminal and storage medium
WO2020001358A1 (en) * 2018-06-29 2020-01-02 维沃移动通信有限公司 Icon sorting method and terminal device
CN112416192A (en) * 2020-11-11 2021-02-26 北京梧桐车联科技有限责任公司 Application program control method and device, electronic equipment and computer storage medium

Citations (7)

* 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
CN104636027A (en) * 2014-08-22 2015-05-20 康佳集团股份有限公司 Method and system for managing tabletop icons based on intelligent television
US20150160829A1 (en) * 2012-08-22 2015-06-11 Tencent Technology (Shenzhen) Company Limited Method and user equipment for managing application programs

Patent Citations (7)

* 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
CN104636027A (en) * 2014-08-22 2015-05-20 康佳集团股份有限公司 Method and system for managing tabletop icons based on intelligent television

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201279A (en) * 2016-06-30 2016-12-07 珠海市魅族科技有限公司 A kind of file operation method and device
CN107656743A (en) * 2017-09-28 2018-02-02 努比亚技术有限公司 A kind of discharging method of application, terminal and readable storage medium storing program for executing
CN107729110A (en) * 2017-10-16 2018-02-23 深圳依偎控股有限公司 Application program child control management method, mobile terminal and storage medium
WO2020001358A1 (en) * 2018-06-29 2020-01-02 维沃移动通信有限公司 Icon sorting method and terminal device
CN112416192A (en) * 2020-11-11 2021-02-26 北京梧桐车联科技有限责任公司 Application program control method and device, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
CN105426049B (en) 2019-03-26

Similar Documents

Publication Publication Date Title
WO2019128732A1 (en) Icon management method and device
US20120212438A1 (en) Methods and apparatuses for facilitating interaction with touch screen apparatuses
US10042681B2 (en) Systems and methods for managing navigation among applications
US9229539B2 (en) Information triage using screen-contacting gestures
WO2018166434A1 (en) Icon processing method and mobile terminal
US20130268895A1 (en) Terminal device and icon management method
WO2022194004A1 (en) Application icon arrangement method and apparatus, and electronic device
CN105426049A (en) Deletion method and terminal
CN104360990A (en) Content editing method
CN108064368A (en) The control method and device of flexible display device
CN106844181B (en) Method, system and mobile terminal for recording user behavior
CN103907086A (en) Method and electronic device for manipulating a first or a second user interface object
CN104407787A (en) Terminal
WO2018166469A1 (en) Method for multi-path copying and pasting, and mobile terminal
US20190324621A1 (en) System and Methods for Utilizing Multi-Finger Touch Capability to Efficiently Perform Content Editing on a Computing Device
US20210326151A1 (en) Methods, devices and computer-readable storage media for processing a hosted application
WO2019015581A1 (en) Text deletion method and mobile terminal
US10732719B2 (en) Performing actions responsive to hovering over an input surface
CN104484107A (en) Picture processing method
CN103135911B (en) A kind of information processing method and electric terminal
CN103941957A (en) Method and device for deleting content of user equipment and user equipment
US10089001B2 (en) Operating system level management of application display
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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 519085 Guangdong Zhuhai science and technology innovation coastal Meizu Technology Building

Patentee after: MEIZU TECHNOLOGY Co.,Ltd.

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

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