CN105468257B - A kind of delet method and terminal - Google Patents

A kind of delet method and terminal Download PDF

Info

Publication number
CN105468257B
CN105468257B CN201510815266.6A CN201510815266A CN105468257B CN 105468257 B CN105468257 B CN 105468257B CN 201510815266 A CN201510815266 A CN 201510815266A CN 105468257 B CN105468257 B CN 105468257B
Authority
CN
China
Prior art keywords
file
application icon
application
alternatively
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.)
Active
Application number
CN201510815266.6A
Other languages
Chinese (zh)
Other versions
CN105468257A (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
Zhuhai Meizu Communication Equipment 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 Zhuhai Meizu Communication Equipment Co Ltd filed Critical Zhuhai Meizu Communication Equipment 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 kind of delet method and terminals, and wherein method includes: to be instructed according to first movement, mobile first file;When detecting formation overlapping region between first file and file, the second file to match in first file and/or the file with first file is deleted according to preset rules.Using the embodiment of the present invention, can simplified-file deletion step, improve file operation efficiency.

Description

A kind of delet method and terminal
Technical field
The present invention relates to field of computer technology more particularly to a kind of delet method and terminals.
Background technique
With the continuous development of the communication technology, the function of mobile terminal is increasingly rich, and people can use terminal storage text Part browses webpage, listens to music and viewing video etc., makes a part indispensable in people's daily life.
Currently, the file delet method that terminal provides is usually there are three types of mode, wherein first way are as follows: selection needs first The file to be deleted, the file point touching screen then clicking right mouse button or being deleted for needs, in open action column The deletion that option carries out file is deleted in selection in table;The second way are as follows: selection needs the file deleted, and then puts on beating keyboard Delete key (delete key) carry out file deletion;The third mode are as follows: selection needs the file deleted, and is dragged in recycling It stands, the traditional file of these types deletes mode operating procedure complexity, poor user experience.
Summary of the invention
The embodiment of the invention provides a kind of delet method and terminal, can simplified-file deletion step, improve file behaviour Make efficiency.
The embodiment of the invention provides a kind of delet methods, which comprises
It include at least one file in file, first movement instructs based on the received, mobile first file;
If detecting and forming overlapping region between first file and the file, deleted according to preset rules described in The second file to match in first file and/or the file with first file.
Wherein, if described detect forms overlapping region between first file and the file, according to default rule Before then deleting the second file to match in first file and/or the file with first file, further includes: According to the second move, the mobile file.
Wherein, it is described according to preset rules delete in first file and/or the file with first file The second file to match specifically includes:
Judge first file data information whether the data information phase with the second file in the file Match, the data information includes file content and/or file name;
When the judgment result is yes, first file and/or second file are deleted according to preset rules.
Wherein, it is described according to preset rules delete in first file and/or the file with first file The second file to match specifically includes:
If the creation time of first file deletes first file earlier than the creation time of second file; Alternatively, if the version information of first file deletes first file earlier than the version information of second file;Or Person deletes first file if moving first file;Alternatively, if moving first file and described second File deletes first file and second file.
Wherein, first file is the first application icon, and the second file is the second application icon, and the method is also wrapped It includes: when deleting first application icon, unloading corresponding first application of first application icon;Alternatively, when deleting institute When stating the second application icon, corresponding second application of second application icon is unloaded;Alternatively, when deleting first application drawing When mark and second application icon, corresponding first application of first application icon and the second application icon phase are unloaded The second application answered.
Correspondingly, the embodiment of the invention also provides a kind of terminal, the terminal includes:
File mobile unit, first movement instructs based on the received, mobile first file;
File deletes unit, overlapping region is formed between first file and the file if detecting, according to pre- If the second file to match in the first file and/or the file described in redundant rule elimination with first file, wherein text It include at least one file in part folder.
Wherein, the file mobile unit is also used to: being deleted unit in the file and is deleted described the according to preset rules Before the second file to match in one file and/or the file with first file, according to the second move, move Move the file.
Wherein, it includes: matching judgment subelement that the file, which deletes unit, for judging that the data of first file are believed Whether breath matches with the data information of the second file in the file, the data information include file content and/or File name;File deletes subelement, for when the judgment result is yes, according to preset rules delete first file and/ Or second file.
Wherein, the file is deleted unit and is specifically used for: if the creation time of first file is earlier than second text The creation time of part deletes first file;Alternatively, if the version information of first file is earlier than second file Version information deletes first file;Alternatively, deleting first file if moving first file;Alternatively, if First file and second file are moved, first file and second file are deleted.
Wherein, first file is the first application icon, and the second file is the second application icon, and the terminal is also wrapped It includes: using unloading unit, being answered for when deleting first application icon, unloading first application icon corresponding first With;Alternatively, unloading corresponding second application of second application icon for when deleting second application icon;Alternatively, For unloading first application icon corresponding first when deleting first application icon and second application icon It is applied using with second application icon corresponding second.
The embodiment of the present invention includes at least one file in file, can be instructed according to first movement, mobile first text Part;Also overlapping region can be formed between first file and the file detecting, deleted according to preset rules described in The second file to match in first file and/or the file with first file.It, can letter using the embodiment of the present invention Change the deletion step of file, improves file operation efficiency.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of delet method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another delet method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram that a kind of file provided in an embodiment of the present invention deletes unit;
Fig. 5 is the structural schematic diagram of another terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
In the specific implementation, terminal mentioned by the embodiment of the present invention includes but is not limited to: smart phone (such as Android hand Machine, IOS mobile phone), tablet computer, laptop, palm PC, mobile internet device (MID, Mobile Internet ) or the electronic equipments such as wearable intelligent equipment Device.
It should be noted that method described in the invention is executed by one group of code stored in memory, the generation Code is implemented in the computer system based on von Neumann system.The computer program, which can be, executes the end that file deletes function Hold program.Correspondingly, the computer system can be the terminal device for deleting function with file.
A kind of delet method provided in an embodiment of the present invention and terminal are specifically retouched below in conjunction with Fig. 1 to Fig. 5 It states.
It is a kind of flow diagram of delet method provided in an embodiment of the present invention, deletion side as shown in the figure referring to Fig. 1 Method can comprise the following steps that
S101 is instructed according to first movement, mobile first file.
In the specific implementation, file described in the present embodiment includes but is not limited to: audio file, video file, text text Part, picture file, application file or icon of file etc..User can pass through input unit (such as object of terminal first Manage keyboard or touch screen etc.) for the input first movement instruction of the first file, when terminal receives first movement instruction, according to First movement instruction, mobile first file.For example, terminal is the smart phone with touch screen, and the first file is current intelligence The QQ application icon on interface of main menu that energy mobile phone is shown, at this point, user can pass through touch screen long-pressing QQ application drawing with finger It is marked with and chooses;If user press...withes one's finger, the QQ application icon moves on the touchscreen, is considered as user at this time for the QQ Application icon input first movement instruction, the sliding trace of the location following user's finger of the QQ application icon on the touchscreen into Row movement.In another example terminal is portable computer, and the first file is the document files on current portable computer desktop, at this point, with Family can click left mouse button for this article files to choose;If user clicks left mouse button and drags this article files on the table It is moved, is considered as user at this time for the input first movement instruction of this article files, the location following mouse of this article files Dragging track moved.
S102 forms overlapping region between first file and the file if detecting, is deleted according to preset rules Except the second file to match in first file and/or the file with first file.
In the specific implementation, the file includes at least a file.After user completes the movement of the first file, inspection Survey the first file final position whether with file formed overlapping region, and testing result be when, deleted according to preset rules Except the second file to match in first file and/or the file with first file.For example, terminal is band touching The smart phone of screen is touched, and user carries out choosing it with the first file QQ application icon on the current interface of main menu of finger long-pressing Afterwards, it drags the QQ application icon with finger to be moved, the position of finger on the touchscreen is as this when user is unclamped finger The final position of QQ application icon, if final position region also has a file, the first file presss from both sides to be formed with this document Overlapping region;If there is the second file, and second file also QQ application icon in file, the first file and the are thought at this time Two files are matched, therefore can be according to the second file QQ application icon in preset rules Delete Folder, or delete first File QQ application icon, or the first file and the second file are deleted simultaneously.
It is described to be deleted in first file and/or the file according to preset rules in another alternative embodiment The second file to match with first file may particularly include:
Judge first file data information whether the data information phase with the second file in the file Match;When the judgment result is yes, first file and/or second file are deleted according to preset rules.
In the specific implementation, in order to save memory space in same terminal, usual identical file or same type of Application file can only save portion, therefore, can be further when detecting formation overlapping region between the first file and file Judge whether the data information of the first file match with the data information of the second file in file, and in judging result When to be, the step of deleting first file and/or second file according to preset rules is executed.Wherein, data information Including but not limited to file content, file name, file attribute, file type or file icon figure etc..For example, the first text Part and the second file are document files, then, can be into one when detecting formation overlapping region between the first file and file Whether the file name of the second file and file content are identical in step the first file of detection and file, if so, thinking the The data information of one file and the second file is matched, and then can delete the first file and/or the second file.For another example the One file is " Baidu map ", and the second file is " Amap ", and the file name of the first file and the second file can be detected In all include " map ", at this point, terminal can judge the file of the first file and the second file by " map " this keyword Attribute is identical (being all to belong to navigation type application file), it is therefore contemplated that the data information of the first file and the second file is matching , and then the first file or the second file therein can be deleted, or even all delete;Certainly it can also detect in this example When in the file name of the first file and the second file all including " map ", the data letter of the first file and the second file is just thought Breath is matched (file name part is identical).
In a further alternative embodiment, before executing step S102, the method also includes: according to the second move, The mobile file.
In the specific implementation, file can be moved simultaneously when moving the first file, it can also first move the first file and move back Dynamic file can also first move file and move the first file again, in moving process or mobile when completing, and can detect the Overlapping region whether is formed between one file and file, and when testing result, which is, is, delete the first text according to preset rules In part and/or file with matched second file of the first file.For example, terminal is the smart phone with touch screen, and first File is the QQ application icon on the current smart phone display page;File is the application program text on current display page face Part folder, at this point, then user can pin two respectively by thumb and index finger long-pressing QQ application icon and Application Folder Person moves on the display page.Mobile first file and file simultaneously, the relative position transformation that can make the two faster, make File is moved to the target position of user faster and then carries out delete operation, improves operating efficiency.
In a further alternative embodiment, first file and/or the text are deleted according to preset rules in step S102 The second file to match in part folder with first file can specifically: if the creation time of first file is earlier than described The creation time of second file deletes first file;Alternatively, if the version information of first file is earlier than described second The version information of file deletes first file;Alternatively, deleting first file if moving first file;Or Person deletes first file and second file if moving first file and second file.
For example, detect between the first file and file formed overlapping region when, can further obtain in file with Matched second file of first file, and then judge the creation time of the first file whether earlier than the second file in file Creation time, if so, the first file is deleted, if it is not, can then delete the second file.Similarly, for example, the first file is QQ application The corresponding QQ version information of icon is QQ2007, and the second file is that the corresponding QQ version information of QQ application icon is QQ2003, then Overlapping region is formed between the first file and file if detecting, further detects that version information QQ2003 believes earlier than version QQ2007 is ceased, therefore the QQ application icon that version information is QQ2003 can be deleted.
In a further alternative embodiment, when first file is the first application icon, the second file is the second application drawing When mark, the method also includes: when deleting first application icon, unloads first application icon corresponding first and answer With;Alternatively, unloading corresponding second application of second application icon when deleting second application icon;Alternatively, when deleting When except first application icon and second application icon, corresponding first application of first application icon and institute are unloaded State corresponding second application of the second application icon.
For example, the first file is QQ application icon, corresponding QQ version information is QQ2007;The second file in file It also is QQ application icon, corresponding QQ version information is QQ2003;Weight is formed between the first file and file if then detecting Folded region, and when what is deleted is the QQ application icon that version information is QQ2003, while detachable mounted terminal is with version information The corresponding QQ application program of the QQ application icon of QQ2003.Using this method, when user wants to unload certain application program, It goes that corresponding application program is selected to be unloaded without the control panel to open a terminal, and directly by deleting display on the table Application icon go to unload same or similar application program.
The embodiment of the present invention includes at least one file in file, and terminal can be instructed according to first movement, and mobile first File;Can also detect form overlapping region between first file and file when, deleted according to preset rules described in The second file to match in first file and/or the file with first file.It, can letter using the embodiment of the present invention Change the deletion step of file, improves file operation efficiency.
It referring to fig. 2, is the flow diagram of another delet method provided in an embodiment of the present invention, deletion as shown in the figure Method can comprise the following steps that
S201 is instructed according to first movement, mobile first file.
In the specific implementation, file described in the present embodiment includes but is not limited to: audio file, video file, text text Part, picture file, application file or icon of file etc..User can pass through input unit (such as object of terminal first Manage keyboard or touch screen etc.) for the input first movement instruction of the first file, when terminal receives first movement instruction, according to First movement instruction, mobile first file.For example, terminal is the smart phone with touch screen, and the first file is current intelligence The QQ application icon on interface of main menu that energy mobile phone is shown, at this point, user can pass through touch screen long-pressing QQ application drawing with finger It is marked with and chooses;If user press...withes one's finger, the QQ application icon moves on the touchscreen, is considered as user at this time for the QQ Application icon input first movement instruction, the sliding trace of the location following user's finger of the QQ application icon on the touchscreen into Row movement.In another example terminal is portable computer, and the first file is the document files on current portable computer desktop, at this point, with Family can click left mouse button for this article files to choose;If user clicks left mouse button and drags this article files on the table It is moved, is considered as user at this time for the input first movement instruction of this article files, the location following mouse of this article files Dragging track moved.
S202 forms overlapping region between first file and file if detecting, judges first file Whether data information matches with the data information of the second file in the file.
In the specific implementation, the file includes at least a file.After user completes the movement of the first file, inspection Survey the first file final position whether with file formed overlapping region, and testing result be when, further detect first Whether the data information of file matches with the data information of the second file in the file.Wherein, data information includes But be not limited to file content, file name, file attribute, file type or file icon figure etc..
For example, terminal is the smart phone with touch screen, and user is with first on the current interface of main menu of finger long-pressing After file QQ application icon is chosen, the QQ application icon is dragged with finger and is moved, hand when user is unclamped finger The position of the finger on the touchscreen position final as the QQ application icon, if final position region also has a file, Then the first file and this document press from both sides to form overlapping region;If there is the second file, and also QQ is applied second file in file Icon thinks that the first file and the second file are matched (file icon figure is identical) at this time, therefore can be according to preset rules The second file QQ application icon in Delete Folder, or delete the first file QQ application icon, or by the first file and the Two files are deleted simultaneously.
For another example the first file is " Baidu map ", the second file is " Amap ", and the first file and the can be detected It all include " map " in the file name of two files, at this point, terminal can judge the first file by this keyword by " map " (being all to belong to navigation type application file) identical with the file attribute of the second file, it is therefore contemplated that the first file and the second file Data information be matched, and then the first file or the second file therein can be deleted, or even all delete;Certainly in this reality Example in can also in the file name for detecting the first file and the second file all include " map " when, just think the first file and The data information of second file is matched (file name part is identical).
In another example the first file and the second file are document files, then detecting between the first file and file Formed overlapping region when, further to detection the first file and file in the second file file name all are as follows: " the first document File ", and file content is also identical, it is believed that the data information of the first file and the second file be it is matched, then can delete First file or the second file can also delete two files simultaneously.
S203 deletes first file and/or second file according to preset rules when the judgment result is yes.
In the specific implementation, if the creation time of first file deletes institute earlier than the creation time of second file State the first file;Alternatively, if the version information of first file deletes described the earlier than the version information of second file One file;Alternatively, deleting first file if moving first file;Alternatively, if move first file and Second file deletes first file and second file.
For example, detect between the first file and file formed overlapping region when, can further obtain in file with Matched second file of first file, and then judge the creation time of the first file whether earlier than the second file in file Creation time, if so, the first file is deleted, if it is not, can then delete the second file.Similarly, for example, the first file is QQ application The corresponding QQ version information of icon is QQ2007, and the second file is that the corresponding QQ version information of QQ application icon is QQ2003, then Overlapping region is formed between the first file and file if detecting, further detects that version information QQ2003 believes earlier than version QQ2007 is ceased, therefore the QQ application icon that version information is QQ2003 can be deleted.
In another alternative embodiment, before executing step S202, the method also includes: according to the second move, The mobile file.
In the specific implementation, file can be moved simultaneously when moving the first file, it can also first move the first file and move back Dynamic file can also first move file and move the first file again, in moving process or mobile when completing, and can detect the Overlapping region whether is formed between one file and file, and when testing result, which is, is, delete the first text according to preset rules The second file to match in part and/or the file with first file.For example, terminal is the intelligent hand with touch screen Machine, and the first file is the QQ application icon on the current smart phone display page;File is on current display page face Application Folder, at this point, user can pass through thumb and index finger long-pressing QQ application icon and Application Folder respectively, Then the two is pinned to be moved on the display page.Mobile first file and file simultaneously, can make the relative position of the two Transformation faster, makes file be moved to the target position of user faster and then carry out delete operation, improves operating efficiency.
In a further alternative embodiment, when first file is the first application icon, the second file is the second application drawing When mark, the method also includes: when deleting first application icon, unloads first application icon corresponding first and answer With;Alternatively, unloading corresponding second application of second application icon when deleting second application icon;Alternatively, when deleting When except first application icon and second application icon, corresponding first application of first application icon and institute are unloaded State corresponding second application of the second application icon.
For example, the first file is QQ application icon, corresponding QQ version information is QQ2007;The second file in file For QQ application icon, corresponding QQ version information is QQ2003;If then detecting, formation is Chong Die between the first file and file Region, and when what is deleted is the QQ application icon that version information is QQ2003, while detachable mounted terminal is with version information The corresponding QQ application program of the QQ application icon of QQ2003.Using this method, when user wants to unload certain application program, It goes that corresponding application program is selected to be unloaded without the control panel to open a terminal, and directly by deleting display on the table Application icon go to unload same or like application program.
The embodiment of the present invention includes at least one file in file, and terminal can be instructed according to first movement, and mobile first File;Also first file can be judged when detecting formation overlapping region between first file and the file Whether the data information between the second file in the file matches;And when the judgment result is yes, according to default First file described in redundant rule elimination and/or second file.Using the embodiment of the present invention, can simplified-file deletion step, Improve file operation efficiency.
It is a kind of terminal structure schematic diagram provided in an embodiment of the present invention referring to Fig. 3, Fig. 3, terminal as shown in the figure at least may be used To include: that file mobile unit 301 and file delete unit 302.
File mobile unit 301, for being instructed according to first movement, mobile first file.
In the specific implementation, including but is not limited to described in the present embodiment: audio file, video file, text file, figure Piece file, application file or icon of file etc..User can pass through input unit (such as physical keyboard of terminal first Or touch screen etc.) for the input first movement instruction of the first file, when terminal receives first movement instruction, file is mobile single Member 301 is instructed according to the first movement, mobile first file.For example, terminal is the smart phone with touch screen, and the first file QQ application icon on the interface of main menu shown for current smart phone, at this point, user can pass through touch screen long-pressing with finger QQ application icon is to choose;If user press...withes one's finger, the QQ application icon moves on the touchscreen, is considered as user at this time For QQ application icon input first movement instruction, the cunning of the location following user's finger of the QQ application icon on the touchscreen Dynamic rail mark is moved.In another example terminal is portable computer, and the first file is the document text on current portable computer desktop Part, at this point, user can click left mouse button for this article files to choose;If user clicks left mouse button and drags the document text Part is moved on the table, is considered as user at this time for the input first movement instruction of this article files, the position of this article files It sets and the dragging track of mouse is followed to be moved.
File deletes unit 302, forms overlapping region between first file and the file if detecting, according to Preset rules delete the second file to match in first file and/or the file with first file.
In the specific implementation, including at least one file in file.After user completes the movement of the first file, detection First file final position whether with file formed overlapping region, and testing result be when, file delete unit 302, The second file to match in first file and/or the file with first file is deleted according to preset rules. For example, terminal is the smart phone with touch screen, and user is answered with the first file QQ on the current interface of main menu of finger long-pressing After being chosen with icon, the QQ application icon being dragged with finger and is moved, finger is touching when user is unclamped finger Position on the screen position final as the QQ application icon, if final position region also has a file, the first text Part and this document press from both sides to form overlapping region;If there is the second file, and second file also QQ application icon in file, at this time Think the first file and the second file be it is matched, therefore file delete unit 302 can be according in preset rules Delete Folder The second file QQ application icon, or delete the first file QQ application icon, or the first file and the second file deleted simultaneously It removes.
Fig. 4 is the structural schematic diagram that a kind of file provided in an embodiment of the present invention deletes unit referring to fig. 4, as shown in the figure File deletes unit 302 can include: matching judgment subelement 3201 and file delete subelement 3202.
Matching judgment subelement 3201, for judge first file data information whether in the file The data information of second file matches;
File deletes subelement 3202, for when the judgment result is yes, deleting first file according to preset rules And/or second file.
Wherein, data information includes but is not limited to file content, file name, file attribute, file type or file Icon graphic etc..For example, the first file and the second file are document files, then detecting between the first file and file Formed overlapping region when, further to detection the first file and file in the second file file name all are as follows: " the first document File ", and file content be also it is identical, then illustrate that both of these documents are that identical file (thinks the first file and the second text The data information of part is matched), then file, which deletes subelement 302, can delete the first file or the second file, can also delete simultaneously Except two files.For another example the first file is " Baidu map ", the second file is " Amap ", and the first file can be detected With in the file name of the second file all include " map ", at this point, terminal can judge first by this keyword by " map " The file attribute of file and the second file is identical (being all to belong to navigation type application file), it is therefore contemplated that the first file and second The data information of file is matched, and then can delete the first file or the second file therein, or even all delete;Certainly exist When can also all include " map " in the file name for detecting the first file and the second file in this example, the first text be just thought The data information of part and the second file is matched (file name part is identical).
The file is deleted unit 302 and is specifically used for: if the creation time of first file is earlier than second file Creation time, delete first file;Alternatively, if the version information of first file earlier than second file version This information deletes first file;Alternatively, deleting first file if moving first file;Alternatively, if moving First file and second file have been moved, first file and second file are deleted.
For example, detect between the first file and file formed overlapping region when, can further obtain in file with Matched second file of first file, and then judge the creation time of the first file whether earlier than the second file in file Creation time, if so, file, which deletes unit 302, then deletes the first file, if it is not, file, which deletes unit 302, can then delete second File.Similarly, for example, it is QQ2007 that the first file, which is the corresponding QQ version information of QQ application icon, the second file is QQ application The corresponding QQ version information of icon is QQ2003, overlapping region is formed between the first file and file if then detecting, into one Step detects version information QQ2003 earlier than version information QQ2007, therefore file deletes unit 302 and can delete version information and is The QQ application icon of QQ2003.
In a further alternative embodiment, the file mobile unit 301 is also used to: deleting unit according to pre- in the file If before the second file to match in the first file and/or the file described in redundant rule elimination with first file, root According to the second move, the mobile file.
In the specific implementation, file can be moved simultaneously when moving the first file, it can also first move the first file and move back Dynamic file can also first move file and move the first file again, in moving process or mobile when completing, and can detect the Overlapping region whether is formed between one file and file, and when testing result, which is, is, delete the first text according to preset rules In part and/or the file with matched second file of first file.For example, terminal is the intelligent hand with touch screen Machine, and the first file is the QQ application icon on the current smart phone display page;File is on current display page face Application Folder, at this point, user can pass through thumb and index finger long-pressing QQ application icon and Application Folder respectively, Then the two is pinned to be moved on the display page.File mobile unit 301 while mobile first file and file, can make The relative position transformation of the two faster, makes file be moved to the target position of user faster and then carry out delete operation, improves Operating efficiency.
In a further alternative embodiment, first file is the first application icon, and the second file is the second application icon, The terminal further include: unloading unit 303 is applied, for when deleting first application icon, unloading first application Corresponding first application of icon;Alternatively, it is corresponding to unload second application icon for when deleting second application icon Second application;Alternatively, unloading described first is answered for when deleting first application icon and second application icon With corresponding first application of icon and corresponding second application of second application icon.
For example, the first file is QQ application icon, corresponding QQ version information is QQ2007;The second file in file For QQ application icon, corresponding QQ version information is QQ2003;If then detecting, formation is Chong Die between the first file and file Region, and delete be version information be QQ2003 QQ application icon when, while application the detachable mounted terminal of unloading unit 303 with Version information is the corresponding QQ application program of QQ application icon of QQ2003.Using this method, when user wants certain application of unloading When program, the control panel that can not have to open a terminal goes that corresponding application program is selected to be unloaded, and directly deletes and pass through The application icon of display on the table goes to unload identical similar application program.
The embodiment of the present invention can be instructed by file mobile unit 301 according to first movement, mobile first file;Also Unit 302 can be deleted by file when detecting formation overlapping region between first file and file, according to default In first file and/or the file described in redundant rule elimination with the second file for matching in first file.Using this Inventive embodiments, can simplified-file deletion step, improve file operation efficiency.
It is the structural schematic diagram of another terminal provided in an embodiment of the present invention, this reality as shown in the figure referring to Fig. 5, Fig. 5 Applying the terminal in example may include: at least one processor 501, such as CPU;Memory 502.Above-mentioned processor 501 and storage Device 502 is connected by bus 503.
Memory 502, can be high speed RAM memory, be also possible to non-labile memory (non-volatile Memory), a for example, at least magnetic disk storage.Memory 502 optionally can also be that at least one is located remotely from aforementioned place Manage the storage terminal of device 501.Wherein processor 501 can terminal as shown in connection with fig. 3, wherein store one group in memory 502 Program code, and processor 501 calls the code stored in memory 502, for performing the following operations:
Above-mentioned processor 501 is instructed for first movement based on the received, mobile first file;.
Above-mentioned processor 501 forms overlapping region if being also used to detect between first file and the file, The second file to match in first file and/or the file with first file is deleted according to preset rules.
Correspondingly, terminal provided by the embodiment of the present invention may also include that output equipment 504, for show file and The file icon of file, the output equipment 504 can be specially display screen.In addition, terminal provided by the embodiment of the present invention may be used also It include: input equipment 505, which may include that such as keyboard, Trackpad, fingerprint adopt the defeated of sensor and sound pick-up outfit Enter equipment, user can input first movement instruction and/or the second move by input equipment 505.
In another alternative embodiment, the processor 501 is also used to: detecting first file and the file Between form overlapping region, according to preset rules delete in first file and/or the file with first file Before the second file to match, according to the second move, the mobile file.
In a further alternative embodiment, the processor 501 also particularly useful for: judge the data information of first file Whether match with the data information of the second file in the file, the data information includes file content and/or text Part title;When the judgment result is yes, first file and/or second file are deleted according to preset rules.
In a further alternative embodiment, the processor 501 also particularly useful for: if the creation time of first file is early In the creation time of second file, first file is deleted;Alternatively, if the version information of first file is earlier than institute The version information of the second file is stated, first file is deleted;Alternatively, deleting described first if moving first file File;Alternatively, deleting first file and second file if moving first file and second file.
In a further alternative embodiment, first file is the first application icon, and the second file is the second application icon, The processor 501 is also used to: when deleting first application icon, being unloaded first application icon corresponding first and is answered With;Alternatively, unloading corresponding second application of second application icon when deleting second application icon;Alternatively, when deleting When except first application icon and second application icon, corresponding first application of first application icon and institute are unloaded State corresponding second application of the second application icon.
In the specific implementation, processor 501 described in the embodiment of the present invention and the executable present invention of memory 502 are implemented Implementation described in the first embodiment and second embodiment of the delet method that example provides also can be performed the present invention and implement The implementation of terminal described in example, details are not described herein.
For each embodiment of the method above-mentioned, for simple description, therefore, it is stated as a series of action combinations, But those skilled in the art should understand that, the application is not limited by the described action sequence, because according to the application, Certain some step can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know that, in specification Described embodiment belongs to preferred embodiment, necessary to related movement and unit not necessarily the application.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, abbreviation RAM) etc..
A kind of delet method disclosed by the embodiments of the present invention and terminal are described in detail above, it is above disclosed Only present pre-ferred embodiments, of course, the scope of rights of the present invention cannot be limited by this, therefore according to right of the present invention Equivalent variations made by it is required that, is still within the scope of the present invention.

Claims (8)

1. a kind of delet method, which is characterized in that include at least one file in file, which comprises
First movement instructs based on the received, mobile first file;
If detecting and forming overlapping region between first file and the file, the data letter of first file is judged Whether breath matches with the data information of the second file in the file, the data information include file content and/or File name;
When the judgment result is yes, first file and/or second file are deleted according to preset rules.
2. the method according to claim 1, wherein if described detect first file and the file Between form overlapping region, judge first file data information whether the data with the second file in the file Information matches, before the data information includes file content and/or file name, further includes:
According to the second move, the mobile file.
3. method according to claim 1 or 2, which is characterized in that described to delete first file according to preset rules And/or second file, comprising:
If the creation time of first file deletes first file earlier than the creation time of second file;Alternatively,
If the version information of first file deletes first file earlier than the version information of second file;Alternatively,
If moving first file, first file is deleted;Alternatively,
If moving first file and second file, first file and second file are deleted.
4. method according to claim 1 or 2, which is characterized in that first file is the first application icon, the second text Part is the second application icon, the method also includes:
When deleting first application icon, corresponding first application of first application icon is unloaded;Alternatively,
When deleting second application icon, corresponding second application of second application icon is unloaded;Alternatively,
When deleting first application icon and second application icon, first application icon corresponding first is unloaded It is applied using with second application icon corresponding second.
5. a kind of terminal, which is characterized in that include at least one file in file, the terminal includes:
File mobile unit, first movement instructs based on the received, mobile first file;
Matching judgment subelement, if forming overlapping region between first file and the file for detecting, judgement Whether the data information of first file matches with the data information of the second file in the file, the data letter Breath includes file content and/or file name;
File deletes subelement, for when the judgment result is yes, deletes first file and/or described according to preset rules Second file.
6. terminal according to claim 5, which is characterized in that the file mobile unit is also used to:
If forming overlapping region between first file and the file detecting, the data of first file are judged Before whether information matches with the data information of the second file in the file, according to the second move, mobile institute State file.
7. terminal according to claim 5 or 6, which is characterized in that the file is deleted subelement and is specifically used for:
If the creation time of first file deletes first file earlier than the creation time of second file;Alternatively,
If the version information of first file deletes first file earlier than the version information of second file;Alternatively,
If moving first file, first file is deleted;Alternatively,
If moving first file and second file, first file and second file are deleted.
8. terminal according to claim 5 or 6, which is characterized in that first file is the first application icon, the second text Part is the second application icon, the terminal further include:
Using unloading unit, for unloading first application icon corresponding first when deleting first application icon Using;Alternatively,
For when deleting second application icon, unloading corresponding second application of second application icon;Alternatively,
For it is corresponding to unload first application icon when deleting first application icon and second application icon First application and corresponding second application of 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 CN105468257A (en) 2016-04-06
CN105468257B true 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 (5)

* 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631504A (en) * 2012-08-22 2014-03-12 腾讯科技(深圳)有限公司 Method for managing application programs and user equipment

Patent Citations (5)

* 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

Also Published As

Publication number Publication date
CN105468257A (en) 2016-04-06

Similar Documents

Publication Publication Date Title
US10452229B2 (en) Techniques for selecting list items using a swiping gesture
US10754535B2 (en) Icon control method and terminal
US9304668B2 (en) Method and apparatus for customizing a display screen of a user interface
US8872780B2 (en) Method and electronic device for gesture recognition
CN108064368A (en) The control method and device of flexible display device
CN105426049B (en) A kind of delet method and terminal
US20150347358A1 (en) Concurrent display of webpage icon categories in content browser
US20130111380A1 (en) Digital whiteboard implementation
CN104063128B (en) A kind of information processing method and electronic equipment
JP6448639B2 (en) Text selection method, apparatus and terminal
US9081497B2 (en) Information processing apparatus, information processing method, and program
KR20140078629A (en) User interface for editing a value in place
CN106802894B (en) File induction method and equipment
US20150346919A1 (en) Device, Method, and Graphical User Interface for Navigating a Content Hierarchy
CN107181858A (en) A kind of method and terminal for showing notification message
TWI451321B (en) Portable device and method for operating portable device
CN103838486B (en) The operating method and terminal of a kind of terminal display page
CN106896998A (en) A kind of processing method and processing device of operation object
CN107728873A (en) The method and its device of contents selection
CN104123069B (en) A kind of page control method by sliding, device and terminal device
CN106033301B (en) Application program desktop management method and touch screen terminal
JP2018508866A (en) Method and apparatus for displaying application page of mobile terminal
CN113065317B (en) Editing content recovery method and device, electronic equipment, medium and product
US10089001B2 (en) Operating system level management of application display
CN103777802A (en) Information processing apparatus and method

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.