CN106201279A - A kind of file operation method and device - Google Patents

A kind of file operation method and device Download PDF

Info

Publication number
CN106201279A
CN106201279A CN201610513169.6A CN201610513169A CN106201279A CN 106201279 A CN106201279 A CN 106201279A CN 201610513169 A CN201610513169 A CN 201610513169A CN 106201279 A CN106201279 A CN 106201279A
Authority
CN
China
Prior art keywords
file
slide
deleted
mark
screen
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.)
Withdrawn
Application number
CN201610513169.6A
Other languages
Chinese (zh)
Inventor
高欢欢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology 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 Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201610513169.6A priority Critical patent/CN106201279A/en
Publication of CN106201279A publication Critical patent/CN106201279A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • 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
    • 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/0485Scrolling or panning

Abstract

The present invention is applicable to field of terminal, it is provided that the file operation method of a kind of present invention offer and device, and described method includes: receive slide;Judge whether described slide is pointed to inside screen by screen edge;The most then show that mark deleted by file, and move described file deletion mark according to slide.By above-mentioned file operation method, file deleted by needs when, by this operation, file is deleted mark call, it is not easy to cause mistuning use because of touching by mistake, thus cause situation about by mistake deleting to occur, easy to operate, and also serious forgiveness is higher.

Description

A kind of file operation method and device
Technical field
The invention belongs to field of terminal, particularly relate to a kind of file operation method and device.
Background technology
Along with development and the raising of people's living standard of science and technology, mobile terminal such as mobile phone, flat board etc. have become people Requisite means of communication in daily life, people generally utilize the terminal such as mobile phone, flat board to carry out handling official business, amusement etc., often Various file operation can be related to.
In prior art, during user carries out file operation in terminal, if it is desired to certain file is deleted, Then recall refuse bin generally by long by the icon of this document, then drag the icon of this document and move to refuse bin, with Program assembly corresponding to this icon and this icon is deleted or unloading.But, to the research of prior art with in practice, The inventors found that: existing by long by by the way of to recall the operation fault tolerance rate of refuse bin low, easily because touch by mistake And recall refuse bin, cause the situation occurring by mistake deleting.
Summary of the invention
The embodiment of the present invention provides a kind of file operation method and device, it is intended to solve existing to adjust by the way of long pressing The operation fault tolerance rate going out refuse bin is low, easily recalls refuse bin because of touching by mistake, the problem causing occurring situation about by mistake deleting.
The embodiment of the present invention is achieved in that a kind of file operation method, and described method includes:
Receive slide;
Judge whether described slide is to point to the slide inside screen from screen edge;
The most then show that mark deleted by file, and move described file deletion mark according to slide.
The embodiment of the present invention also provides for a kind of file operation device, and described device includes:
Slide receives unit, is used for receiving slide;
Sliding type judging unit, for judging whether described slide is to point to the cunning inside screen from screen edge Dynamic operation;
Mark call unit deleted by file, if for being judged as YES, then shows that mark deleted by file, and according to slide Mark deleted by mobile described file.
The file operation method that the present invention provides, first receives slide, if judging, slide is as referring to from screen edge Slide inside screen, then show that mark deleted by file, and move file deletion mark according to slide;At needs By above-mentioned assigned operation, file is deleted mark when of deleting file to call, it is not easy to cause mistuning because of touching by mistake With, thus cause situation about by mistake deleting to occur, and easy to operate, and serious forgiveness is higher.
Accompanying drawing explanation
Fig. 1 is the flowchart of the file operation method that the embodiment of the present invention provides;
Fig. 2 is the flowchart of the file operation method that another embodiment of the present invention provides;
Fig. 3 is the flowchart of the file operation method that another embodiment of the present invention provides;
Fig. 4 is the module map of the file operation device that the embodiment of the present invention provides;
Fig. 5 is the module map of the file operation device that another embodiment of the present invention provides;
Fig. 6 is the module map of the file operation device that another embodiment of the present invention provides.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, right The present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, and It is not used in the restriction present invention.
Fig. 1 shows the flow chart of the file delet method that the embodiment of the present invention provides, the file operation that the present invention provides Method is applied in terminal, and this terminal can be that PC (Personal Computer, PC), notebook computer, individual digital help Reason, panel computer, mobile phone etc. have touch-screen and the electronic equipment of support screen keypad function.For convenience of description, Fig. 1 In the content relevant to the embodiment of the present invention is only shown, details are as follows:
In step S101, receive slide.
In embodiments of the present invention, slide is the typing information of user, is primarily referred to as user's contact in terminal The command operating produced by the contact induction of finger or pointer etc on screen.
In one embodiment of the invention, a kind of method of slide is received: obtain the slip that slide is corresponding Trace information, wherein, sliding trace information includes slide starting point coordinate information and slide directional information, by obtaining Take the two characteristic information of slide, can accurately identify the track of slide.
In step s 102, it is judged that whether slide is pointed to inside screen by screen edge.
In embodiments of the present invention, the track of slide is identified, according to the trace information of slide, it is judged that Whether described slide meets default file deletion action rule, i.e. judges whether sliding trace is to point to from screen edge Inside screen, if being judged as YES, then carry out next step operation, otherwise termination process.
In one embodiment of the invention, the mode of slide includes: from the lateral edges of screen, top, the end Edge, portion or edge are towards screen inner slide.
Such as, terminal receives points to the operation inside screen from the top of screen, comprises step in slide In S101 and obtain slide starting point coordinate information and slide directional information, terminal rises according to this slide Point coordinates information judges whether the original position of slide is positioned at the edge of described touch screen, is judged as YES herein, then root Judge whether the glide direction of slide points to the inner side of described touch screen according to slide directional information, be the most also judged as It is that then slide meets default file deletion action rule, then enter next flow process.
In step s 103, if being judged as YES of step S102, then show that mark deleted by file, and move according to slide Mark deleted by dynamic file.
In embodiments of the present invention, if judging, slide is pointed to inside screen by screen edge, deletes with regard to recalling by document number Mark, and be shown on interface, wherein, mark deleted by file can be shown as an icon or an appointment on interface Region etc..
After file deletion mark is transferred out, movement can be followed according to slide.In detail, file is deleted mark In the mobile contact area to screen described in slide with user's finger, screen shows as the operation pulled.Therefore, File can be deleted mark any one to screen mobile local, to carry out file deletion action according to actual needs.
As in figure 2 it is shown, in a preferred embodiment of the invention, the most also comprise the steps:
S201, when file deletion mark is mobile and stops at a certain position, obtains the file icon of this position.
In embodiments of the present invention, when file deletion mark is mobile and stops at a certain position, obtains file deletion and mark Know the file icon that covered at this position, and obtain these file icons being covered to, and with file icon institute The related resource of corresponding file,
S202, deletes described file icon, and deletes or unload the file corresponding to described file icon.
In embodiments of the present invention, the deletion function of calling system, and to acquired being deleted by file in step S201 Identify the file icon covered, and the related resource of the file corresponding to file icon performs to delete or unloading operation.
File described in embodiments of the present invention can be mounted to the application software in terminal, such as APP (Application, application program);The file in terminal, such as, program, document, information etc. can also be stored in;Also may be used To be the cache file etc. on the file above application software, such as video software.
As it is shown on figure 3, in a preferred embodiment of the invention, also comprise the steps:
S301, when described file deletion mark is mobile and stops on a certain file, shows on interface and deletes confirmation Message.
In embodiments of the present invention, when file deletion mark is mobile and stops on a certain file or icon, system bullet Go out to delete confirmation frame, the information of the file will deleted for confirmation in message box, and confirm to operate and cancel to operate Typing, such as, in message box, show " delete XX ", and " confirmation " button, with " cancellation " button, wherein " XX " refers to this article The title of part.The most just can prevent from imprudence from operating the file caused further to delete by mistake.
In one embodiment of the invention, application software is deleted by user, such as, delete application program wechat, first First user enterprising line slip operation at interface, terminal receives slide transducing signal on screen, and according to transducing signal, sentences Disconnected slide, whether by the inner side of the edge sensing screen of screen, the most so there will be the mark that file is deleted on interface, Such as refuse bin;Now, drag this document deletion and be identified to above the icon of wechat, just this wechat can be unloaded, and Relevant file is cleared up, so far completes the unloading of application software.
The file operation method that the present invention provides, first receives slide, if judging, slide is as referring to from screen edge Slide inside screen, then show that mark deleted by file, and move file deletion mark according to slide;At needs By above-mentioned assigned operation, file is deleted mark when of deleting file to call, it is not easy to cause mistuning because of touching by mistake With, thus cause situation about by mistake deleting to occur, and easy to operate, and serious forgiveness is higher.
Fig. 4 shows that the file that the embodiment of the present invention provides deletes the module map of device, the file operation that the present invention provides Device is integrated in terminal, and this terminal can be that PC (Personal Computer, PC), notebook computer, individual digital help Reason, panel computer, mobile phone etc. have touch-screen and the electronic equipment of support screen keypad function.For convenience of description, only Illustrating the content relevant to the embodiment of the present invention, as shown in Figure 4, document handling apparatus includes that slide receives unit 11, slides Mark call unit 13 deleted by flowing mode judging unit 12 and file, and details are as follows:
Slide receives unit 11, is used for receiving slide.
In embodiments of the present invention, slide is primarily referred to as user on the touch screen of terminal by finger or tactile The command operating that the contact induction of control pen etc produces.
In one embodiment of the invention, the embodiment receiving slide is: obtain slide corresponding Sliding trace information, wherein, sliding trace information includes slide starting point coordinate information and slide directional information, By obtaining the two characteristic information of slide, can accurately identify the track of slide.
Sliding type judging unit 12, is used for judging whether slide is pointed to inside screen by screen edge.
In embodiments of the present invention, the track of slide is identified, according to the trace information of slide, it is judged that Whether described slide meets default file deletion action rule, i.e. judges whether sliding trace is to point to from screen edge Inside screen, if being judged as YES, then carry out next step operation, otherwise termination process.
In one embodiment of the invention, the mode of slide includes: from the lateral edges of screen, top, the end Edge, portion or edge are towards screen inner slide.
Such as, terminal receives points to the operation inside screen from the top of screen, comprises slip in slide Operation receives the slide starting point coordinate information and slide directional information obtained in unit 11, and terminal is according to this slip Operation starting point coordinate information judges whether the original position of slide is positioned at the edge of described touch screen, is judged as YES herein, Then judge whether the glide direction of slide points to the inner side of described touch screen according to slide directional information, the most also Be judged as YES, then slide meets default file deletion action rule, then enter next step.
Mark call unit 13 deleted by file, if being judged as YES for sliding type judging unit 12, then shows file Delete mark, and move file deletion mark according to slide.
In embodiments of the present invention, if judging, slide is pointed to inside screen by screen edge, deletes with regard to recalling by document number Mark, and be shown on interface, wherein, mark deleted by file can be shown as an icon or an appointment on interface Region etc..After file deletion mark is transferred out, movement can be followed according to slide, in detail, file be deleted mark In the mobile contact area to screen described in slide with user's finger, screen shows as the operation pulled.Therefore, File can be deleted mark any one to screen mobile local, to carry out file deletion action according to actual needs.
As it is shown in figure 5, in a preferred embodiment of the invention, file operation device also includes:
File icon acquiring unit 21 to be deleted, for when file deletion mark is mobile and stops at a certain position, obtaining Take the file icon of this position.
In embodiments of the present invention, when file deletion mark is mobile and stops at a certain position, obtains file deletion and mark Know the file icon that covered at this position, and obtain these file icons being covered to, and with file icon institute The related resource of corresponding file,
Unit 22 deleted by file, for being deleted by described file icon, and deletes or unloads corresponding to described file icon File.
In embodiments of the present invention, the deletion function of calling system, and to acquired being deleted by file in step S201 Identify the file icon covered, and the related resource of the file corresponding to file icon performs to delete or unloading operation.
File described in embodiments of the present invention can be mounted to the application software in terminal, such as APP (Application, application program);The file in terminal, such as, program, document, information etc. can also be stored in;Also may be used To be the cache file etc. on the file above application software, such as video software.
As shown in Figure 6, in a preferred embodiment of the invention, file operation device also includes:
Delete confirmation unit 31, for when described file deletion mark is mobile and stops on a certain file, at interface Upper displaying deletes confirmation message.
In embodiments of the present invention, when file deletion mark is mobile and stops on a certain file or icon, system bullet Go out to delete confirmation frame, the information of the file will deleted for confirmation in message box, and confirm to operate and cancel to operate Typing, such as, in message box, show " delete XX ", and " confirmation " button, with " cancellation " button, wherein " XX " refers to this article The title of part.The most just can prevent from imprudence from operating the file caused further to delete by mistake.
The file operation device that the present invention provides, by first receiving slide, if judging, slide is as from screen limit Edge points to the slide inside screen, then show that mark deleted by file, and move file deletion mark according to slide;? By above-mentioned assigned operation, file is deleted mark when of needing to delete file to call, it is not easy to cause because of touching by mistake Mistuning use, thus cause situation about by mistake deleting to occur, easy to operate, and serious forgiveness is higher.
In one embodiment of the invention, application software is deleted by user, such as, delete application program wechat, first First user enterprising line slip operation at interface, terminal receives slide transducing signal on screen, and according to transducing signal, sentences Disconnected slide, whether by the inner side of the edge sensing screen of screen, the most so there will be the mark that file is deleted on interface, Such as refuse bin;Now, drag this document deletion and be identified to above the icon of wechat, just this wechat can be unloaded, and Relevant file is cleared up, so far completes the unloading of application software.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completing instructing relevant hardware by program, this program can be stored in a computer-readable recording medium, storage Medium may include that read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention Any amendment, equivalent and the improvement etc. made within god and principle, should be included within the scope of the present invention.

Claims (8)

1. a file operation method, it is characterised in that described method includes:
Receive slide;
Judge whether described slide is pointed to inside screen by screen edge;
The most then show that mark deleted by file, and move described file deletion mark according to slide.
2. the method for claim 1, it is characterised in that described according to described slide move described file delete mark Know step particularly as follows:
Described file is deleted in the mobile contact area to screen described in described slide with user's finger of mark.
3. the method for claim 1, it is characterised in that the described slide bag surveyed in screen edge sensing screen Include:
From the lateral edges of screen, top, bottom margin or edge towards screen inner slide.
4. the method for claim 1, it is characterised in that described according to slide move described file delete mark Also include after step:
When described file deletion mark is mobile and stops at a certain position, obtain the file icon of this position;
Described file icon is deleted, and deletes or unload the file corresponding to described file icon.
5. a file operation device, it is characterised in that described device includes:
Slide receives unit, is used for receiving slide;
Sliding type judging unit, is used for judging whether described slide is pointed to inside screen by screen edge;
Mark call unit deleted by file, if for being judged as YES, then shows that mark deleted by file, and moves according to slide Mark deleted by described file.
6. device as claimed in claim 5, it is characterised in that described file is deleted mark call unit and also included:
File is deleted mark and is followed module, for described file is deleted mark mobile to screen described in described slide with In the contact area of user's finger.
7. device as claimed in claim 5, it is characterised in that the described slide bag surveyed in screen edge sensing screen Include:
From the lateral edges of screen, top, bottom margin or edge towards screen inner slide.
8. device as claimed in claim 5, it is characterised in that described device also includes:
File icon acquiring unit to be deleted, for when described file deletion mark is mobile and stops at a certain position, obtaining The file icon to be deleted of this position;
Unit deleted by file, for being deleted by described file icon, and deletes or unloads the file corresponding to described file icon.
CN201610513169.6A 2016-06-30 2016-06-30 A kind of file operation method and device Withdrawn CN106201279A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610513169.6A CN106201279A (en) 2016-06-30 2016-06-30 A kind of file operation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610513169.6A CN106201279A (en) 2016-06-30 2016-06-30 A kind of file operation method and device

Publications (1)

Publication Number Publication Date
CN106201279A true CN106201279A (en) 2016-12-07

Family

ID=57463212

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610513169.6A Withdrawn CN106201279A (en) 2016-06-30 2016-06-30 A kind of file operation method and device

Country Status (1)

Country Link
CN (1) CN106201279A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520876A (en) * 2012-01-04 2012-06-27 北京飞漫软件技术有限公司 Method for operating intelligent touch screen equipment
CN103106018A (en) * 2013-02-07 2013-05-15 广州市久邦数码科技有限公司 Method of deleting desktop elements fast
US20130234963A1 (en) * 2012-03-12 2013-09-12 Hon Hai Precision Industry Co., Ltd. File management method and electronic device having file management function
CN103713828A (en) * 2013-12-11 2014-04-09 上海斐讯数据通信技术有限公司 Method of deleting two desktop icons by collision
CN105426049A (en) * 2015-11-20 2016-03-23 魅族科技(中国)有限公司 Deletion method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520876A (en) * 2012-01-04 2012-06-27 北京飞漫软件技术有限公司 Method for operating intelligent touch screen equipment
US20130234963A1 (en) * 2012-03-12 2013-09-12 Hon Hai Precision Industry Co., Ltd. File management method and electronic device having file management function
CN103106018A (en) * 2013-02-07 2013-05-15 广州市久邦数码科技有限公司 Method of deleting desktop elements fast
CN103713828A (en) * 2013-12-11 2014-04-09 上海斐讯数据通信技术有限公司 Method of deleting two desktop icons by collision
CN105426049A (en) * 2015-11-20 2016-03-23 魅族科技(中国)有限公司 Deletion method and terminal

Similar Documents

Publication Publication Date Title
US10275295B2 (en) Method and apparatus for presenting clipboard contents on a mobile terminal
US10970461B2 (en) Method for processing user-customized page and mobile device thereof
CN109213417B (en) Apparatus and method for processing split view in portable device
KR102032449B1 (en) Method for displaying image and mobile terminal
CN109242931B (en) Method and apparatus for arranging images using image recognition
EP2565752A2 (en) Method of providing a user interface in portable terminal and apparatus thereof
EP3734430A1 (en) Method for copying multiple text segments and mobile terminal
EP2437152A2 (en) Apparatus and method for turning e-book pages in portable terminal
EP2736235A1 (en) Mobile terminal and data provision method thereof
KR102015534B1 (en) Message sync method, machine-readable storage medium and server
CN104424359A (en) Electronic device and method for providing content according to field attribute
EP2770422A2 (en) Method for providing a feedback in response to a user input and a terminal implementing the same
US20180329598A1 (en) Method and apparatus for dynamic display box management
CA2846482A1 (en) Method of providing of user interface in portable terminal and apparatus thereof
KR20140112911A (en) Mobile apparatus executing action in display unchecking mode and control method thereof
EP2775385A2 (en) Mobile apparatus having function of pre-action on object and control method thereof
JP6511499B2 (en) Side menu display method, device and terminal
KR20140069869A (en) Apparatus and method for editing memo in a user terminal
CN104238931B (en) Information input method and device and electronic equipment
KR20190008448A (en) Short message processing method for mobile terminal, and mobile terminal
CN106126081A (en) A kind of information processing method and device
CN106201279A (en) A kind of file operation method and device
KR102157078B1 (en) Method and apparatus for creating electronic documents in the mobile terminal
WO2019228106A1 (en) Press area optimization method and device, mobile terminal and storage medium
KR102050355B1 (en) Apparatus and method for processing a document in terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20161207

WW01 Invention patent application withdrawn after publication