CN106843673A - Empty the method and terminal of task - Google Patents

Empty the method and terminal of task Download PDF

Info

Publication number
CN106843673A
CN106843673A CN201611197130.4A CN201611197130A CN106843673A CN 106843673 A CN106843673 A CN 106843673A CN 201611197130 A CN201611197130 A CN 201611197130A CN 106843673 A CN106843673 A CN 106843673A
Authority
CN
China
Prior art keywords
event
touch
terminal device
area
touch event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611197130.4A
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.)
Nanchang Black Shark Technology Co Ltd
Original Assignee
Shenzhen Zeusis 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 Shenzhen Zeusis Technology Co Ltd filed Critical Shenzhen Zeusis Technology Co Ltd
Priority to CN201611197130.4A priority Critical patent/CN106843673A/en
Publication of CN106843673A publication Critical patent/CN106843673A/en
Pending legal-status Critical Current

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
    • 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/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution

Landscapes

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

Abstract

The present invention provides a kind of method and terminal for emptying task.The method includes:Terminal device obtains the first operation that user is input into the navigation area of terminal device, determines corresponding first touch event of the first operation;Wherein, navigation area includes key area and touch area, and then, terminal device is maintaining terminal device under the dispaly state for receiving the display interface before the first operation according to the first touch event, clears up the background task of terminal device.Technical scheme, user is capable of achieving the cleaning to terminal device background task, and then improve the intelligent of man-machine interaction in the case where current interface is not exited by the operation of output first on navigation area.

Description

Empty the method and terminal of task
Technical field
The present invention relates to the communication technology, more particularly to a kind of method and terminal for emptying task.
Background technology
Smart mobile phone is very universal, and is widely used, and abundant application function brings various to user The experience of various kinds, for example, user can simultaneously open multiple tasks, toggles between multiple tasks.But, due to mobile phone , when user opens multiple tasks, often there is the problem that mobile phone is stuck or reaction is slow in the limitation of internal memory.Therefore, make in mobile phone Need to clear up current unwanted background task during.
It is existing cleaning background task method be, on mobile phone desktop set cleaning software shortcut, when need cleaning During background task, user clicks on the shortcut and realizes cleaning manually.
But, prior art needs user to exit current interface, to main interface on click on cleaning software shortcut, its In-convenience in use, man-machine interaction is not intelligent enough.
The content of the invention
The present invention provides a kind of method and terminal for emptying task, to overcome prior art to need user to exit current boundary Face, to main interface on click on cleaning software shortcut, itself in-convenience in use, not intelligent enough the problem of man-machine interaction.
In a first aspect, the present invention provides a kind of method for emptying task, including:
The first operation that user is input into the navigation area of terminal device is obtained, determines that first operation corresponding first is touched Touch event;Wherein, the navigation area includes key area and touch area;First touch event includes:The terminal sets Standby the first slip event in the key area gathered according to the described first operation, the terminal device are according to described the One operates the second slip event on the touch area for being gathered, the terminal device to be adopted according to the described first operation At least one of the 3rd slip event on the touch area and the key area of collection;
According to first touch event, the background task of the terminal device is cleared up.
In a kind of possible implementation of the invention, according to first touch event, the terminal device is cleared up Background task, specifically include:
According to first touch event, display circle before first operation is being received the terminal device is maintained Under the dispaly state in face, the background task of the terminal device is cleared up.
It is described according to first touch event in alternatively possible implementation of the invention, remaining described Terminal device under the dispaly state for receiving the display interface before first operation, appoint by the backstage for clearing up the terminal device Business, specifically includes:
Judge whether first touch event matches with default slip touch event;
If so, then maintaining the terminal device in the dispaly state for receiving the display interface before first operation Under, clear up the background task of the terminal device.
In alternatively possible implementation of the invention, first slip event includes the described first operation correspondence In first sliding trace and the described first corresponding the first sliding speed in the key area of operation of the key area;
Second slip event includes second sliding trace and institute of the described first operation correspondence in the touch area State second sliding speed of the first operation correspondence in the touch area;
3rd slip event includes the described first operation correspondence on the touch area and the key area 3rd sliding trace and the described first corresponding the 3rd sliding speed on the touch area and the key area of operation.
In alternatively possible implementation of the invention, it is described judge first touch event whether with it is default Touch event matching is slided, is specifically included:
When first touch event is first slip event, then the terminal device is judging that described first slides After dynamic rail mark and first sliding speed satisfaction first are pre-conditioned, it is determined that first touch event and default slip Touch event is matched;
Or,
When first touch event is second slip event, then the terminal device is judging that described second slides After dynamic rail mark and second sliding speed satisfaction second are pre-conditioned, it is determined that first touch event and default slip Touch event is matched;
Or,
When first touch event is three slip event, then the terminal device is judging that the described 3rd slides After dynamic rail mark and the 3rd sliding speed satisfaction the 3rd are pre-conditioned, it is determined that first touch event and default slip Touch event is matched.
In alternatively possible implementation of the invention, first touch event also includes:The terminal device Grown by event, the terminal device according to described first the first of the touch area according to what the described first operation was gathered At least one of first double click event on the touch area that operation is gathered.
In alternatively possible implementation of the invention, it is described judge first touch event whether with it is default Touch event matching is slided, is specifically included:
When first touch event is that the described first length presses event, then the terminal device is judging first behaviour When making contact duration the first preset duration of satisfaction on the touch area, determine that the first touch event is touched with default slip Touch event matches;
Or,
When first touch event is first double click event, then the terminal device is judging first behaviour It is when twice, to determine the first touch event with default slip touch event to make the number of clicks on the touch area Match somebody with somebody.
In alternatively possible implementation of the invention, the key area includes virtual key region and/or thing Reason key area.
In alternatively possible implementation of the invention, the virtual key region includes:It is virtual homepage key, virtual Return key and virtual multitask key.
Second aspect, the present invention provides a kind of terminal, including:
Input equipment, for obtaining the first operation that user is input into the navigation area of terminal device;
Processor, for determining corresponding first touch event of first operation;Wherein, the navigation area includes button Region and touch area;First touch event includes:The terminal device according to described first operation gathered in institute State the first slip event of key area, the terminal device according to the described first operation gathered on the touch area The second slip event, the terminal device according to described first operation gathered in the touch area and the key zone At least one of the 3rd slip event on domain;
The processor, is additionally operable to be cleared up according to first touch event background task of the terminal device.
In a kind of implementation of the invention, the processor, the processor, specifically for being touched according to described first Event is touched, is maintaining the terminal device under the dispaly state for receiving the display interface before first operation, clear up institute State the background task of terminal device.
In another implementation of the invention, the processor, also particularly useful for:
Judge whether first touch event matches with default slip touch event;
If so, then maintaining the terminal device in the dispaly state for receiving the display interface before first operation Under, clear up the background task of the terminal device.
In another implementation of the invention, first slip event includes the described first operation correspondence described First sliding trace of key area and the described first corresponding the first sliding speed in the key area of operation;
Second slip event includes second sliding trace and institute of the described first operation correspondence in the touch area State second sliding speed of the first operation correspondence in the touch area;
3rd slip event includes the described first operation correspondence on the touch area and the key area 3rd sliding trace and the described first corresponding the 3rd sliding speed on the touch area and the key area of operation.
In another implementation of the invention, the processor, also particularly useful for:
When first touch event is first slip event, then first sliding trace and described is being judged After first sliding speed satisfaction first is pre-conditioned, determine that first touch event is matched with default slip touch event;
Or,
When first touch event is second slip event, then second sliding trace and described is being judged After second sliding speed satisfaction second is pre-conditioned, determine that first touch event is matched with default slip touch event;
Or,
When first touch event is three slip event, then the 3rd sliding trace and described is being judged After 3rd sliding speed satisfaction the 3rd is pre-conditioned, determine that first touch event is matched with default slip touch event.
In another implementation of the invention, first touch event also includes:The terminal device is according to institute The first length in the touch area that the first operation gathered is stated by event, the terminal device according to the described first operation institute At least one of first double click event on the touch area of collection.
In another implementation of the invention, the processor also particularly useful for:
When first touch event is that the described first length presses event, then first operation is being judged in the touch When contact duration on region meets the first preset duration, determine that the first touch event is matched with default slip touch event;
Or,
When first touch event is first double click event, then first operation is being judged in the touch Number of clicks on region is when twice, to determine that the first touch event is matched with default slip touch event.
In another implementation of the invention, the key area includes virtual key region and/or physical button Region.
In another implementation of the invention, the virtual key region includes:Virtual homepage key, virtual return key With virtual multitask key.
The method and terminal that empty task that the present invention is provided, it is defeated in the navigation area of terminal device that terminal device obtains user The first operation for entering, determines corresponding first touch event of first operation, and according to first touch event, maintaining Terminal device clears up the background task of terminal device under the dispaly state for receiving the display interface before the first operation.I.e., originally The method that embodiment is provided, user directly can carry out triggering terminal and set in the first different operations of the navigation area input of terminal device It is standby to clear up its background task so that user is carried out by not exiting in the case of current interface to the background task of terminal device Cleaning, and then improve the intelligent of man-machine interaction.Also, the method for the present invention, user not only can be defeated on key area Enter the first different operations, user can also be input into the first different operations on touch area, key area and touch area Make terminal device to clear up its background task, and then enrich the mode of triggering terminal equipment cleaning background task, further carry Man-machine interaction high it is intelligent.
Brief description of the drawings
In order to illustrate more clearly of technical scheme of the invention or of the prior art, below will be to embodiment or prior art The accompanying drawing to be used needed for description is briefly described, it should be apparent that, drawings in the following description are of the invention one A little embodiments, for those of ordinary skill in the art, without having to pay creative labor, can also be according to this A little accompanying drawings obtain other accompanying drawings.
The schematic diagram of the terminal device that Fig. 1 is provided for the present invention;
Another schematic diagram of the terminal device that Fig. 1 a are provided for the present invention;
The schematic flow sheet of the embodiment of the method one for emptying task that Fig. 2 is provided for the present invention;
The schematic flow sheet of the embodiment of the method two for emptying task that Fig. 3 is provided for the present invention;
First operation chart of the method for emptying task that Fig. 4 is provided for the present invention;
Second operation chart of the method for emptying task that Fig. 5 is provided for the present invention;
3rd operation chart of the method for emptying task that Fig. 6 is provided for the present invention;
4th operation chart of the method for emptying task that Fig. 7 is provided for the present invention;
5th operation chart of the method for emptying task that Fig. 8 is provided for the present invention;
6th operation chart of the method for emptying task that Fig. 9 is provided for the present invention;
7th operation chart of the method for emptying task that Figure 10 is provided for the present invention;
The structural representation of the terminal that Figure 11 is provided for the present invention.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Terminal device involved in the present invention, its navigation area includes key area and touch area, for example, can be navigation Area include the mobile phone of key area and touch area, personal digital assistant (Personal Digital Assistant, PDA), The mobile communication equipments such as panel computer, portable computer, the present invention is without limitation.
The present embodiments relate to method and terminal, it is intended to solve in the prior art when user need clear up terminal device Internal memory when, user needs to exit current interface, to main interface on click on cleaning software shortcut, cause operation not side Just, not intelligent enough the technical problem of man-machine interaction.
The schematic diagram of the application terminal equipment of the method for emptying task that Fig. 1 is provided for the present invention, Fig. 1 a are carried for the present invention Another schematic diagram of the application terminal equipment of the method for emptying task for supplying, as described in Fig. 1 and Fig. 1 a, the terminal of the present embodiment sets Standby to include viewing area and navigation area, navigation area includes key area and touch area, wherein, key area may be located at navigation area Middle part, touch area be located at key area two ends.Its button of terminal device shown in Fig. 1 is virtual key, shown in Fig. 1 a Terminal device its button be physical button, the physical button has inducing function, can sense the slide of user.Can Choosing, the terminal device of the present embodiment can also be other forms, and the present embodiment is without limitation, as long as ensureing its navigation area Including key area and touch area.
Technical scheme is described in detail with specifically embodiment below.These specific implementations below Example can be combined with each other, and may be repeated no more in some embodiments for same or analogous concept or process.
The schematic flow sheet of the embodiment of the method one for emptying task that Fig. 2 is provided for the present invention.The execution master of the present embodiment Body is terminal device, and the present embodiment refers to terminal device and clears up terminal in the first operation that navigation area is input into according to user The detailed process of the background task of equipment.As shown in Fig. 2 the method can include:
S101:The first operation that user is input into the navigation area of terminal device is obtained, determines that first operation is corresponding First touch event;Wherein, the navigation area includes key area and touch area;First touch event includes:It is described Terminal device according to described first operation gathered the first slip event in the key area, the terminal device according to The second slip event on the touch area, the terminal device that first operation is gathered are according to the described first behaviour At least one of the 3rd slip event on the touch area and the key area that work is gathered.
Specifically, the navigation area of the terminal device of the present embodiment as shown in Fig. 1 or Fig. 1 a includes key area and touch Region, terminal device obtains the first operation that user is input into navigation area.First operation can be user in key area Slide, or user can also be user in key area and touch area in the slide of touch area Slide.Wherein, user key area slide for user when the button in region is not pushed button, in button The slide of the various tracks such as up and down in region, i.e. the key area of the present embodiment has inducing function, can sense To the slide of user.Slide of the user on touch area can be that user waits each up and down in touch area Plant the slide of track.Slide of the user in key area and touch area can be that user is not pushing button area During the button in domain, the various slides on touch area and key area.
Optionally, first operation of the present embodiment can also be double-click behaviour of the user on the key area of terminal device Make, can also be the length on the touch area of terminal device by operation, can also be the length in the key area of terminal device By operation etc..
It should be noted that above-mentioned navigation area can be the virtual navigation area under Android system, for example, may refer to Fig. 1 institutes Show, the virtual navigation area includes virtual key region and the touch area positioned at key area two ends.Optionally, such as Fig. 1 a institutes Show, above-mentioned navigation area can also be setting under apple system (iphone Operating System, hereinafter referred to as IOS) Physical navigation area with physical button (i.e. physical button), the navigation area including physical button region and positioned at physical button The touch area at region two ends.When navigation area be Android system under virtual navigation area when, above-mentioned virtual key can be with With some virtual controls of physical button function identical, such as " homepage key (home) ", " return key (back) " of terminal device Deng;When navigation area is the physical navigation area under IOS systems, physical button has the function of returning to main interface.
Optionally, first operation of the present embodiment can also be slide of the user in the physical button of terminal device (slide here can with press physical button operation while carrying out), can also be the touch in terminal device Length on region, by operation, can also be the length in the key area of terminal device by operation etc..
It should be noted that above-mentioned navigation area can be the virtual navigation area under Android system, for example, may refer to Fig. 1 institutes Show, the virtual navigation area includes virtual key region and the touch area positioned at key area two ends.Optionally, above-mentioned navigation area Domain can also have physical button (i.e. to be set under apple system (iphone Operating System, hereinafter referred to as IOS) Physical button) physical navigation area, the navigation area including physical button region and the touch positioned at physical button region two ends Region.When navigation area is the virtual navigation area under Android system, above-mentioned virtual key can be with identical with physical button Some virtual controls of function, " homepage key (home) ", " return key (back) " of such as terminal device etc.;When navigation area is During physical navigation area under IOS systems, physical button has the function of returning to main interface.Optionally, the key zone of the present embodiment Domain can also include fingerprint key.
Optionally, terminal device can obtain the first operation of user input by the user interface for pre-setting, and also may be used To gather the first operation of user input by some application software of bottom, can also be by pressure sensor, timer, speed First operation of the hardware collection user input such as degree sensor, the embodiment of the present invention obtains the first of user input to terminal device The acquisition modes of operation are not limited.
After terminal device gets the first operation of user input, terminal device extracts terminal and sets according to first operation The reference frame of standby cleaning background task, that is, obtain the first touch event.When the first operation is button of the user in terminal device During the slide in region, the first touch event is the first slip event determined by terminal device.When the first operation is use During slide of the family on the touch area of terminal device, the first touch event determined by terminal device is the second slip Event.When the first operation is slide of the user on the key area and touch area of terminal device, terminal device institute The first touch event for determining is the 3rd slip event.
The method of the present embodiment, the first operation that user is input on the terminal device can be the slip on key area Operation, can also be the slide on touch area or the slide on key area and touch area so that eventually End equipment is that can determine that the first trigger event according to above-mentioned any one slide, and triggered according to first trigger event The background task of terminal device is cleared up, and then enriches the mode of user's triggering terminal equipment cleaning background task, to user's body Test and bring more possibilities.
S102:According to first touch event, the background task of the terminal device is cleared up.
Specifically, in the first touch event determined by above-mentioned terminal device, terminal device can get and be touched with first The parameters such as event related coordinate parameters, time parameter, speed parameter, directioin parameter, number of clicks are touched, terminal device can be with root Determine whether to clear up its background task according to these parameters.For example, being provided with internal memory cleaning software, terminal device in terminal device Can trigger and start internal memory cleaning software according to above-mentioned first touch event so that internal memory cleaning software cleaning terminal device Background task.
Preferably, terminal device can receive described according to above-mentioned first touch event the terminal device is maintained Under the dispaly state of the display interface before the first operation, triggering starts internal memory cleaning software so that internal memory cleaning software cleaning The background task of terminal device.
For example, the current operation interface of user is wechat interface, now user is input into first in the navigation area of terminal device Operation, terminal device determines corresponding first trigger event of the first operation to clear up during background task according to first operation, In the case where keeping current wechat interface constant, clear up its background task, and then realize user to move back terminal device The background task of terminal device is cleared up in the case of going out current wechat interface, so as to improve the intellectuality of user's man-machine interaction.
The method for emptying task that the present invention is provided, terminal device obtains that user is input into the navigation area of terminal device One operation, determines corresponding first touch event of first operation, and according to first touch event, set terminal is maintained Under the dispaly state of the standby display interface before the operation of reception first, the background task of terminal device is cleared up.That is, the present embodiment The method of offer, user directly can be input into the first different operations and carry out triggering terminal equipment cleaning in the navigation area of terminal device Its background task so that user is cleared up the background task of terminal device by not exiting in the case of current interface, And then improve the intelligent of man-machine interaction.Also, the method for the present invention, user can not only be input into difference on key area The first operation, user can also be input into different first operations on touch area, key area and touch area makes terminal Equipment clears up its background task, and then enriches the mode of triggering terminal equipment cleaning background task, further increases people It is intelligent that machine is interacted.
The schematic flow sheet of the embodiment of the method two for emptying task that Fig. 3 is provided for the present invention.In the base of above-described embodiment On plinth, the present embodiment refers to terminal device according to first touch event, and institute is being received the terminal device is maintained State under the dispaly state of the display interface before the first operation, clear up the detailed process of the background task of the terminal device.Such as Shown in Fig. 3, above-mentioned S102 can specifically include:
S201, judge first touch event whether with it is default slip touch event match.
S202, if so, then maintaining the terminal device in the display for receiving the display interface before first operation Under state, the background task of the terminal device is cleared up.
Specifically, preserving default slip touch event in terminal device, terminal device is judged according to user input Whether the first touch event that the first operation determines matches with the slip event for defaulting to, when the first touch event is touched with default When touching event matches, under the dispaly state of display interface of the terminal device in maintenance terminal device before the operation of reception first, Clear up the background task of terminal device.
Illustrate, it is assumed that internal memory clearing function is preset with terminal device, the default triggering internal memory of terminal device is clear The slip event for managing software is to trigger tetra- points of A, B, C, D on touch area successively from left to right in 1s.When user is at end First operation of the touch area input of end equipment is for when sliding from left to right, terminal device determines first according to first operation Touch event be in 1s from left to right successively trigger tetra- points of A, B, C, D, and then determine first touch event with it is default Slide touch event matching.Now, terminal device triggers internal memory clearing function in the case where current interface is not exited, and cleaning is eventually The background task of end equipment.That is the method for this implementation, terminal device is by the first touch event corresponding with the first of user the operation Matched with default slip touch event, upon a match, the task on its backstage is cleared up in just triggering, and then improve terminal and set The accuracy of standby discriminating user operation.
The present invention provide the method for emptying task, terminal device according to the first of user input operation, determine this first Corresponding first touch event is operated, then, default slip touch event is carried out with terminal device by the first touch event Matching, when the default slip touch event of the first touch event and terminal device is matched, terminal device cleaning terminal device Background task, manner of cleaning up is various, and fairly simple, substantially increases the experience of user.
Embodiments of the invention three, on the basis of above-described embodiment, the present embodiment refers to terminal device according to One operation, determines the implementation procedure of the particular content of the first touch event.Specifically, above-mentioned terminal device is according to the first operation When determining the first touch event, actually it is determined that be some parameters that the first operation brings value.
In the present embodiment, when first operation for user in the slide of the key area of terminal device when, it is determined The first touch event be the first slip event.In first slip event, it is that terminal device is actually identified Design parameter in one slip event, including the first operation correspondence is being pressed in the sliding trace of key area and the first operation correspondence The sliding speed of key range.
When first operation for user in the slide of the touch area of terminal device when, its it is identified first touch thing Part is the second slip event.In second slip event, terminal device is actually identified to be the second slip event Design parameter, including first operation correspondence the second sliding trace of touch area and first operation correspondence in touch area Second sliding speed.
When the first operation for user in the slide of the touch area of terminal device and key area when, determined by it First touch event is the 3rd slip event.In the 3rd slip event, it is the 3rd that terminal device is actually identified Design parameter in slip event, including threeth sliding trace of the first operation correspondence on touch area and key area With the first corresponding the 3rd sliding speed on touch area and key area of operation.
Optionally, first touch event of the present embodiment can also include:The terminal device is according to the described first operation Gathered the touch area first length by event, the terminal device according to described first operation gathered in institute State at least one of first double click event on touch area.
In the present embodiment, when the first operation presses operation for length of the user on the touch area of navigation area, terminal sets First touch event determined by standby is the first length by event.First length is by event, and terminal device is actual identified It is the first length by the design parameter in event, i.e., touch duration of first operation in the touch area.
When the first operation is for double click operation of the user on the touch area of terminal device, the determined by terminal device One touch event is the first double click event.In first double click event, it is first pair that terminal device is actually identified The design parameter hit in event, i.e., number of clicks of first operation in touch area.
Optionally, as shown in figure 1, the touch area of the present embodiment can include two parts, i.e. touch area a and Petting Area Domain b, above-mentioned user touch area length by operation can be length of the user on a of touch area by operation, can be touch The length on the b of region is touched by operation, can also be the length on touch area a and b by operation.Touch of the above-mentioned user in terminal device Double click operation on region can be double click operation of the user on a of touch area, can be the double-click behaviour on the b of touch area Make, can also be double click operation while on touch area a and b.
Optionally, first touch event of the present embodiment can also include:The terminal device is according to the described first operation Gathered the key area second length by event, the terminal device according to described first operation gathered in institute State at least one of second double click event on key area.
In the present embodiment, when the first operation presses operation for length of the user on the key area of navigation area, terminal sets First touch event determined by standby is the second length by event.Second length is by event, and terminal device is actual identified It is that the second length is operated in the first operation by the design parameter in event, including the type and first of the touched button of the first operation Contact duration on the button for being touched.
When the first operation is double click operation of the user on the key area of the navigation area of terminal device, terminal device institute The first touch event for determining is the second double click event.In second double click event, terminal device is actually identified The design parameter in the second double click event, including the touched button of the first operation type and on the button for being touched Number of clicks.
It should be noted that the key area of terminal device includes virtual key region and/or physical button region, it is described Virtual key region includes:Virtual homepage key, virtual return key and virtual multitask key.
The method for emptying task that the present invention is provided, terminal device is operated according to the multi-form first of user input, is come Determine corresponding first touch event of the first operation.The method of the present embodiment, terminal can be according to the first of user input the behaviour The sliding trace and sliding time of work determine the first touch event, optionally, can also be according to the first of user input the operation Grow and the first trigger event is temporally determined with number of clicks, and then enrich the form of the first trigger event of production, to user Experience brings more possibilities, further increases the intelligent of man-machine interaction.
Embodiments of the invention four, on the basis of above-described embodiment, the present embodiment refers to terminal judges difference Whether corresponding first touch event of one operation slides the detailed process that touch event is matched with default.
In the first feasible implementation of the present embodiment, the present embodiment is referred to when first touch event During for first slip event, terminal device judges whether first touch event matches with default slip touch event Detailed process, above-mentioned S201 specifically includes:
When first touch event is first slip event, then the terminal device is judging that described first slides After dynamic rail mark and first sliding speed satisfaction first are pre-conditioned, it is determined that first touch event and default slip Touch event is matched.
Specifically, terminal device receives the first operation of user input, first operation is user's pressing in terminal device The slide of key range, terminal device can determine the first slip event according to the slide.It should be noted that this One slip event can include multiple independent events, for example, can include once pressing event (DOWN Event), repeatedly connecting Continuous moving event (MOVE Event) and event (UP Event) is once lifted, this event is contained in each Event In various information, event coordinates, event type, event time, event flag (Event flag) etc. can be included.
Terminal device can be according to the first operation pressing event and lift event and determine the first touch thing in key area Sliding trace (i.e. sliding distance) of the part in key area.For example can be according to the coordinate difference between pressing event and lifting event Calculate sliding trace of first touch event in key area;Terminal device can also be according to event of pressing, moving event and lift The event of rising determines that sliding trace of first touch event in key area (in the case of this kind, can include in the first slip event The moving event that repeatedly continuous and track overlaps), sliding trace can be understood as total slide displacement in this case.It is same with this When, terminal device presses the event time for occurring and the time for lifting event generation in can also obtaining the first slip event, from And the time spent by whole first slip event is calculated, and then according to spent by total sliding trace and the first slip event Time Calculation go out sliding speed of first slip event in key area.
Terminal device it is determined that the first touch event key area sliding trace and the first touch event in key zone After the sliding speed in domain, judge whether the two meets first pre-conditioned, this first it is pre-conditioned in both included that first touches thing The first threshold scope that sliding trace of the part in key area should meet, also including the first touch event key area slip The Second Threshold scope that speed should meet.Only judging sliding trace satisfaction first of first touch event in key area Threshold range, and the first touch event, after the sliding speed of key area meets Second Threshold scope, terminal device just can be then Determine that the first touch event is matched with default slip touch event, and then perform above-mentioned S202.
For example, with reference to shown in Fig. 4, when user is when the first operation of key area is stroke from left to right, i.e., terminal sets The glide direction of standby the first slip event for determining is to be slided from left to right in key area, and terminal device can record user The flashy coordinate for pressing event of finger down and press time point, and to record lift after finger stroke and flashy lift thing The coordinate of part and lift time point.Then, terminal device according to the coordinate difference of the two can calculate the first touch event by The sliding trace of key range, the difference at the time point according to the two can calculate the first touch event in the slip of key area Between, so as to obtain sliding speed of first touch event in key area.Then, terminal device judges that the first touch event is being pressed Whether the sliding trace of key range and sliding speed of first touch event in key area meet first pre-conditioned, if full Foot, terminal device determines that the first touch event is matched with default slip touch event, and then performs above-mentioned S202.
In second feasible implementation of the present embodiment, on the basis of above-described embodiment, the present embodiment is related to Be when first touch event be second slip event when, terminal device judge first touch event whether with The default detailed process for sliding touch event matching.I.e. above-mentioned S201 is specifically included:
When first touch event is second slip event, then the terminal device is judging that described second slides After dynamic rail mark and second sliding speed satisfaction second are pre-conditioned, it is determined that first touch event and default slip Touch event is matched.
Specifically, terminal device receives the first operation of user input, first operation touching in terminal device for user The slide in region is touched, terminal device can determine the second slip event according to the slide.It should be noted that this Two slip events can include multiple independent events, for example, can include once pressing event (DOWN Event), repeatedly connecting Continuous moving event (MOVE Event) and event (UP Event) is once lifted, this event is contained in each Event In various information, event coordinates, event type, event time, event flag (Event flag) etc. can be included.
Terminal device can pressing event and lift event and determine the second touch event in Petting Area according to the first operation The sliding trace (i.e. sliding distance) in domain, for example, can calculate second and touch according to the coordinate difference between pressing event and lifting event Touch sliding trace of the event in touch area;Terminal device can also according to event of pressing, moving event and lift event determine Sliding trace of the second touch event correspondence in touch area (in the case of this kind, is included repeatedly continuous in the second slip event And the moving event of track overlap), sliding trace can be understood as total slide displacement in this case.At the same time, terminal Equipment presses the event time for occurring and the time for lifting event generation in can also obtaining the second slip event, so as to calculate Time spent by whole second slip event, and then the time meter according to spent by total sliding trace and the second slip event Calculate sliding speed of second slip event in touch area.
Terminal device it is determined that the second touch event touch area sliding trace and the second touch event in Petting Area After the sliding speed in domain, judge whether the two meets second pre-conditioned, this second it is pre-conditioned in both included that second touches thing The first threshold scope that sliding trace of the part in touch area should meet, also including the second touch event touch area slip The Second Threshold scope that speed should meet.Only judging sliding trace satisfaction first of second touch event in touch area Threshold range, and the second touch event, after the sliding speed of touch area meets Second Threshold scope, terminal device just can be then Determine that the second touch event is matched with default slip touch event, and then perform above-mentioned S202.
For example, with reference to shown in Fig. 5, when user is when the first operation of touch area is stroke from left to right, i.e., terminal sets The glide direction of standby the second slip event for determining is the slip in touch area from left to right, and terminal device can record use The flashy coordinate for pressing event of family finger down and press time point, and lift flashy lifting after recording finger stroke The coordinate of event and lift time point.Then, terminal device can calculate the second touch event and exist according to the coordinate difference of the two The sliding trace of touch area, the difference at the time point of the two can calculate the second touch event in the slip of touch area Between, so as to obtain sliding speed of second touch event in touch area.Then, terminal device judges that the second touch event is being touched Whether the sliding trace and sliding speed of second touch event in touch area for touching region meet second pre-conditioned, if full Foot, terminal device determines that the second touch event is matched with default slip touch event, and then performs above-mentioned S202.
In the third feasible implementation of the present embodiment, on the basis of above-described embodiment, the present embodiment is related to Be when first touch event be three slip event when, terminal device judge first touch event whether with The default detailed process for sliding touch event matching.I.e. above-mentioned S201 is specifically included:
When first touch event is three slip event, then the terminal device is judging that the described 3rd slides After dynamic rail mark and the 3rd sliding speed satisfaction the 3rd are pre-conditioned, it is determined that first touch event and default slip Touch event is matched.
Specifically, terminal device receives the first operation of user input, first operation touching in terminal device for user The slide of region and key area is touched, terminal device can determine the 3rd slip event according to the slide.Need Bright, the 3rd slip event can include multiple independent events, for example, can include once pressing event (DOWN Event), repeatedly continuous moving event (MOVE Event) and event (UP Event) is once lifted, bag in each Event The various information in this event is contained, event coordinates, event type, event time, event flag (Event can have been included Flag) etc..
Terminal device can pressing event and lift event and determine the 3rd touch event in Petting Area according to the first operation The sliding trace (i.e. sliding distance) of domain and key area, for example can be according to the coordinate difference between pressing event and lifting event The 3rd touch event is calculated in touch area and the sliding trace of key area;Terminal device can also be according to event of pressing, shifting Dynamic event determines corresponding sliding trace (this kind of situation in touch area and key area of the 3rd touch event with the event of lifting Under, the moving event that repeatedly continuous and track overlaps is included in the 3rd slip event), sliding trace can be managed in this case It is total slide displacement to solve.At the same time, terminal device presses the time that event occurs in can also obtaining the 3rd slip event The time occurred with event of lifting, so as to calculate the time spent by whole 3rd slip event, and then according to total slip Time Calculation spent by track and the 3rd slip event goes out slip speed of the 3rd slip event in touch area and key area Degree.
Terminal device is it is determined that sliding trace and threeth of the 3rd touch event in touch area and key area touches thing Part judges whether the two meets the 3rd pre-conditioned after the sliding speed of touch area box key area, the 3rd default article Both the first threshold scope that sliding trace of the 3rd touch event in touch area and key area should meet had been included in part, had also wrapped Include the Second Threshold scope that sliding speed of the 3rd touch event in touch area and key area should meet.Only judging Sliding trace of 3rd touch event in touch area and key area meets first threshold scope, and the 3rd touch event is being touched Touch region and key area sliding speed meet Second Threshold scope after, terminal device just can then determine the 3rd touch event with Default slip touch event matching, and then perform above-mentioned S202.
For example, with reference to shown in Fig. 6, when first operation of the user in touch area and key area is stroke from left to right When, i.e. the glide direction of the 3rd slip event that terminal device determines is the cunning on touch area and key area from left to right Move, and terminal device can record user's finger and press the flashy coordinate for pressing event and press time point, and record hand The flashy coordinate for lifting event is lifted after finger stroke and lift time point.Then, coordinate difference of the terminal device according to the two The 3rd touch event can be calculated in touch area and the sliding trace of key area, the difference at the time point of the two can be calculated Go out the 3rd touch event in touch area and the sliding time of key area, so as to obtaining the 3rd touch event in touch area and The sliding speed of key area.Then, terminal device judges the 3rd touch event in touch area and the slip rail of key area Whether mark and sliding speed of the 3rd touch event in touch area and key area meet the 3rd pre-conditioned, if meeting, Terminal device determines that the 3rd touch event is matched with default slip touch event, and then performs above-mentioned S202.
In the 4th kind of feasible implementation of the present embodiment, on the basis of above-described embodiment, the present embodiment is related to Be when first touch event be first length by event when, terminal device judge first touch event whether with preset Slide touch event matching detailed process.I.e. above-mentioned S201 is specifically included:
When first touch event is that the described first length presses event, then the terminal device is judging first behaviour When making contact duration the first preset duration of satisfaction on the touch area, determine that the first touch event is touched with default slip Touch event matches.
Specifically, terminal device receives the first operation of user input, first operation is user's leading in terminal device Length on the touch area of navigating area operates the length of determination first to press event by operation so that terminal device is pressed according to the length.Need It is noted that as described in Figure 1, because touch area includes two parts, i.e. touch area a and touch area b, terminal device can Determine active position of first operation on touch area by the coordinate for pressing event that operation is related to according to the length, and can During determining contact of first operation on touch area according to the voltage-duration or current duration of the active position It is long.
Terminal device can be determined according to first length by the time that event is pressed in event and the time for lifting event should First length presses the duration of event.Wherein, corresponding first operation of first key-press event can be user on a of touch area It is long by operation, can be the length on the b of touch area by operation, can also be in the length on touch area a and touch area b by behaviour Make.
Terminal device is it is determined that after the button duration and key position of the first key press time, judge pressing for the first key press time Whether key duration and key position meet the first preset duration, if meeting, perform above-mentioned S202.
For example, referring to shown in Fig. 7, when first operation of the user on a regions of touch area is to grow on time, terminal device Determine that the first length presses time and the time lifted by event, determine pressing duration of first length by event, when this first When compressing time by event long is identical with the first preset duration, terminal device performs above-mentioned S202.
Optionally, first preset duration can be what user was pre-configured with after terminal device dispatches from the factory by software, Can for when terminal device dispatches from the factory using fixture by first preset duration load within a processor.
In the 5th kind of feasible implementation of the present embodiment, on the basis of above-described embodiment, the present embodiment is related to Be when first touch event be the first double click event when, terminal device judge first touch event whether with preset Slide touch event matching detailed process.I.e. above-mentioned S201 is specifically included:
When first touch event is first double click event, then the terminal device is judging first behaviour It is when twice, to determine the first touch event with default slip touch event to make the number of clicks on the touch area Match somebody with somebody.
Specifically, terminal device receives the first operation of user input, first operation is user's leading in terminal device Clicking operation on the touch area in navigating area domain, so that terminal device determines the first double click event according to the clicking operation. It should be noted that as described in Figure 1, because touch area includes two parts, i.e. touch area a and touch area b, terminal device The coordinate for pressing event that can be related to according to the clicking operation determines that this clicks on the position of touch area, and can basis The voltage or current conditions of the click location determine number of clicks of the user in the touch area.
Corresponding first operation of first double click event of the present embodiment can be double-click behaviour of the user on a of touch area Make, can be the double click operation on the b of touch area, can also be in the double click operation on touch area a and touch area b.
Terminal device judges whether first operation of the user input on the touch area of navigation area is double click operation, if It is, it is determined that the first touch event is matched with default slip touch event, and then performs above-mentioned S202.
For example, referring to shown in Fig. 8, when first operation of the user on a regions of touch area is for double click operation, terminal Equipment determines the first double-click according to the change of voltage or electric current at the position of the click of the first double click event and click location The number of clicks of time, when the number of clicks of first double click event is 2, terminal device performs above-mentioned S202.
In the 6th kind of feasible implementation of the present embodiment, on the basis of above-described embodiment, the present embodiment is related to Be when the first touch event be second length by event when, terminal device judge first touch event whether with default cunning The detailed process of dynamic touch event matching.I.e. above-mentioned S201 is specifically included:
When first touch event is that the described second length presses event, then the terminal device is judging first behaviour When making contact duration the second preset duration of satisfaction on the key area, determine that the first touch event is touched with default slip Touch event matches.
Specifically, terminal device receives the first operation of user input, first operation is user's pressing in terminal device Length on key range operates the length of determination second to press event by operation so that terminal device is pressed according to the length.Need explanation It is, the voltage-duration or current duration of the coordinate for pressing event that terminal device can be related to according to the length by operation Determine contact duration of first operation on key area.
Above-mentioned first operation can be length of the user in the physical button on key area by operation, can also be Length on virtual key is by operation.
It should be noted that terminal is judging whether the first operation is before the length of key area is by event, in addition it is also necessary to The type of the button that the first operation is touched is determined, when the type of button that the first operation is touched is the default button of terminal device During type, just button duration of first operation on the button for being touched can be just determined whether with triggering terminal equipment whether Default second duration is met, if so, then performing above-mentioned S202.
For example, referring to shown in Fig. 9, it is assumed that it is that button duration on home keys meets second and presets that terminal device is default Duration.When length of the user on home keys presses operation, terminal device judges that the second length is pressed according to the depressed position of the first operation Whether the button of event is home keys, if so, terminal device the time and lifts the time further according to pressing on home keys, it is determined that Second length presses the pressing duration of event, when the second length meets default second duration by the pressing duration of event, terminal device Perform above-mentioned S202.
Optionally, first preset duration can be what user was pre-configured with after terminal device dispatches from the factory by software, Can for when terminal device dispatches from the factory by first preset duration loading within a processor.
Optionally, above-mentioned first preset duration and the second preset duration can be with identical.
In the 7th kind of feasible implementation of the present embodiment, on the basis of above-described embodiment, the present embodiment is related to Be when first touch event be second double click event when, terminal device judge first touch event whether with The default detailed process for sliding touch event matching.I.e. above-mentioned S201 is specifically included:
When first touch event is second double click event, then the terminal device is judging first behaviour It is when twice, to determine the first touch event with default slip touch event to make the number of clicks on the key area Match somebody with somebody.
Specifically, terminal device receives the first operation of user input, first operation is user's pressing in terminal device Clicking operation on key range, so that terminal device determines double click event according to the clicking operation.It should be noted that eventually The coordinate that what end equipment can be related to according to the clicking operation press event determines the type of clicked on button, and can be with root Determine number of clicks of the user on the button according to the voltage or current conditions of the coordinate position.
It should be noted that terminal is judging whether the first operation is before the double click event of key area, in addition it is also necessary to The type of the button that the first operation is touched is determined, when the type of button that the first operation is touched is the default button of terminal device During type, just can just determine whether that the number of clicks on the virtual key that the first operation is touched is with triggering terminal equipment It is no for twice, if so, then performing above-mentioned S202.
For example, referring to shown in Figure 10, it is assumed that it is the double-click on back keys that terminal device presets double-click.When user is in back During double-click on key, terminal device judges whether the button of the second double click event is back according to the depressed position of the first operation Key, if so, terminal device determines the number of clicks of the second double click event further according to electric current or voltage change on back keys, When the number of clicks of the second double click event is that when twice, terminal device performs above-mentioned S202.
Above-mentioned push-button type includes physical button and/or virtual key.
Optionally, the default push-button type can be what user was pre-configured with after terminal device dispatches from the factory by software, Can also be to set when terminal device dispatches from the factory.
The method for emptying task that the present invention is provided, terminal device can be input into navigation area according to user different the One operation obtains the first touch event, and judges whether the first trigger event matches with default slip touch event, works as matching When, terminal device clears up its background task according to the first touch event.That is, the method for the present embodiment, user can set in terminal Standby navigation area clears up terminal device in the case where current interface is not exited using the first different operation triggering terminal equipment Background task, improve man-machine interaction it is intelligentized simultaneously, increased user input first operation form, Jin Erti Consumer's Experience high.Meanwhile, the present embodiment user can also by touch area or key area it is long by or double-click come Triggering terminal equipment cleaning its background task, further enriches the selection of user, improves the intelligent of man-machine interaction.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey Sequence upon execution, performs the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
The structural representation of the terminal that Figure 11 is provided for the present invention.As shown in figure 11, the terminal can include:Processor 20, such as CPU;Memory 21, at least one communication bus 22, display screen 23 and input equipment 24.Communication bus 22 is used for real Communication connection between existing element.Memory 21 may include high-speed RAM memory, it is also possible to also including nonvolatile memory NVM, for example, at least one magnetic disk storage, can store various programs in memory 21, for complete various processing functions with And realize the method and step of the present embodiment;The input equipment 24, for providing a user with input interface, receives user input Operation or instruction etc..
Wherein, input equipment 24, for obtaining the first operation that user is input into the navigation area of terminal device;
Processor 20, for determining corresponding first touch event of first operation;Wherein, the navigation area includes pressing Key range and touch area;First touch event includes:The terminal device according to described first operation gathered First slip event of the key area, the terminal device according to the described first operation gathered in the touch area On the second slip event, the terminal device according to described first operation gathered in the touch area and the button At least one of the 3rd slip event on region;
The processor 20, is additionally operable to be cleared up according to first touch event background task of the terminal device.
Preferably, the processor 20, specifically for according to first touch event, existing the terminal device is maintained Receive under the dispaly state of the display interface before first operation, clear up the background task of the terminal device.
Terminal provided in an embodiment of the present invention, can perform above method embodiment, its realization principle and technique effect class Seemingly, will not be repeated here.
Further, processor described above 20, specifically for:
Judge whether first touch event matches with default slip touch event;
If so, then maintaining the terminal device in the dispaly state for receiving the display interface before first operation Under, clear up the background task of the terminal device.
Further, above-mentioned first slip event includes first slip of the described first operation correspondence in the key area Track and the described first corresponding the first sliding speed in the key area of operation;
Above-mentioned second slip event includes second sliding trace and institute of the described first operation correspondence in the touch area State second sliding speed of the first operation correspondence in the touch area;
Above-mentioned 3rd slip event includes the described first operation correspondence on the touch area and the key area 3rd sliding trace and the described first corresponding the 3rd sliding speed on the touch area and the key area of operation.
Further, above-mentioned processor 20 is additionally operable to:
When first touch event is first slip event, then first sliding trace and described is being judged After first sliding speed satisfaction first is pre-conditioned, determine that first touch event is matched with default slip touch event;
Or,
When first touch event is second slip event, then second sliding trace and described is being judged After second sliding speed satisfaction second is pre-conditioned, it is determined that first touch event and default slip touch event Match somebody with somebody;
Or,
When first touch event is three slip event, then the 3rd sliding trace and described is being judged After 3rd sliding speed satisfaction the 3rd is pre-conditioned, it is determined that first touch event and default slip touch event Match somebody with somebody.
In a kind of optional implementation method of the embodiment of the present invention, above-mentioned first touch event also includes:The terminal Equipment is grown by event, the terminal device according to according to what the described first operation was gathered the first of the touch area At least one of first double click event on the touch area that first operation is gathered.
Now, above-mentioned processor 20 is additionally operable to,
When first touch event is that the described first length presses event, then first operation is being judged in the touch When contact duration on region meets the first preset duration, determine that the first touch event is matched with default slip touch event;
Or,
When first touch event is first double click event, then first operation is being judged in the touch Number of clicks on region is when twice, to determine that the first touch event is matched with default slip touch event.
In the present embodiment, the key area includes virtual key region and/or physical button region, the virtual key Region includes:Virtual homepage key, virtual return key and virtual multitask key.
Terminal provided in an embodiment of the present invention, can perform above method embodiment, its realization principle and technique effect class Seemingly, will not be repeated here.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent Pipe has been described in detail with reference to foregoing embodiments to the present invention, it will be understood by those within the art that:Its according to The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered Row equivalent;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology The scope of scheme.

Claims (16)

1. a kind of method for emptying task, it is characterised in that methods described includes:
The first operation that user is input into the navigation area of terminal device is obtained, determines that first operation corresponding first touches thing Part;Wherein, the navigation area includes key area and touch area;First touch event includes:The terminal device root The first slip event in the key area, the terminal device gathered according to the described first operation are according to the described first behaviour The second slip event on the touch area that work is gathered, the terminal device are gathered according to the described first operation At least one of the 3rd slip event on the touch area and the key area;
According to first touch event, the background task of the terminal device is cleared up.
2. method according to claim 1, it is characterised in that according to first touch event, clears up the terminal and sets Standby background task, specifically includes:
According to first touch event, the display interface before first operation is being received the terminal device is maintained Under dispaly state, the background task of the terminal device is cleared up.
3. method according to claim 2, it is characterised in that described according to first touch event, is remaining described Terminal device under the dispaly state for receiving the display interface before first operation, appoint by the backstage for clearing up the terminal device Business, specifically includes:
Judge whether first touch event matches with default slip touch event;
If so, then maintaining the terminal device under the dispaly state for receiving the display interface before first operation, clearly Manage the background task of the terminal device.
4. method according to claim 3, it is characterised in that
First slip event includes the described first operation correspondence in the first sliding trace of the key area and described the First sliding speed of the one operation correspondence in the key area;
Second slip event includes the described first operation correspondence in the second sliding trace of the touch area and described the Second sliding speed of the one operation correspondence in the touch area;
3rd slip event includes the 3rd of the described first operation correspondence on the touch area and the key area Sliding trace and the described first corresponding the 3rd sliding speed on the touch area and the key area of operation.
5. method according to claim 4, it is characterised in that it is described judge first touch event whether with it is default Touch event matching is slided, is specifically included:
When first touch event is first slip event, then the terminal device is judging that described first slides rail After mark and first sliding speed satisfaction first are pre-conditioned, it is determined that first touch event and default slip touch Event matches;
Or,
When first touch event is second slip event, then the terminal device is judging that described second slides rail After mark and second sliding speed satisfaction second are pre-conditioned, it is determined that first touch event and default slip touch Event matches;
Or,
When first touch event is three slip event, then the terminal device is judging that the described 3rd slides rail After mark and the 3rd sliding speed satisfaction the 3rd are pre-conditioned, it is determined that first touch event and default slip touch Event matches.
6. method according to claim 3, it is characterised in that first touch event also includes:The terminal device Grown by event, the terminal device according to described first the first of the touch area according to what the described first operation was gathered At least one of first double click event on the touch area that operation is gathered.
7. method according to claim 6, it is characterised in that it is described judge first touch event whether with it is default Touch event matching is slided, is specifically included:
When first touch event be described first length by event when, then the terminal device judge it is described first operate exist When contact duration on the touch area meets the first preset duration, determine that the first touch event touches thing with default slip Part is matched;
Or,
When first touch event be first double click event when, then the terminal device judge it is described first operate exist Number of clicks on the touch area is when twice, to determine that the first touch event is matched with default slip touch event.
8. the method according to claim any one of 1-7, it is characterised in that the key area includes virtual key region And/or physical button region.
9. a kind of terminal, it is characterised in that including:
Input equipment, for obtaining the first operation that user is input into the navigation area of terminal device;
Processor, for determining corresponding first touch event of first operation;Wherein, the navigation area includes key area And touch area;First touch event includes:The terminal device is pressed according to what the described first operation was gathered described First slip event of key range, the terminal device gathered according to the described first operation on the touch area the Two slip events, the terminal device according to described first operation gathered on the touch area and the key area At least one of the 3rd slip event;
The processor, is additionally operable to according to first touch event, and first behaviour is being received the terminal device is maintained Under the dispaly state of the display interface before work, the background task of the terminal device is cleared up.
10. terminal according to claim 9, it is characterised in that the processor, specifically for being touched according to described first Event, is maintaining the terminal device under the dispaly state for receiving the display interface before first operation, and cleaning is described The background task of terminal device.
11. terminals according to claim 10, it is characterised in that the processor, also particularly useful for:
Judge whether first touch event matches with default slip touch event;
If so, then maintaining the terminal device under the dispaly state for receiving the display interface before first operation, clearly Manage the background task of the terminal device.
12. terminals according to claim 11, it is characterised in that
First slip event includes the described first operation correspondence in the first sliding trace of the key area and described the First sliding speed of the one operation correspondence in the key area;
Second slip event includes the described first operation correspondence in the second sliding trace of the touch area and described the Second sliding speed of the one operation correspondence in the touch area;
3rd slip event includes the 3rd of the described first operation correspondence on the touch area and the key area Sliding trace and the described first corresponding the 3rd sliding speed on the touch area and the key area of operation.
13. terminals according to claim 12, it is characterised in that the processor, also particularly useful for:
When first touch event is first slip event, then first sliding trace and described first are being judged After sliding speed satisfaction first is pre-conditioned, determine that first touch event is matched with default slip touch event;
Or,
When first touch event is second slip event, then second sliding trace and described second are being judged After sliding speed satisfaction second is pre-conditioned, it is determined that first touch event is matched with default slip touch event;
Or,
When first touch event is three slip event, then the 3rd sliding trace and the described 3rd are being judged After sliding speed satisfaction the 3rd is pre-conditioned, it is determined that first touch event is matched with default slip touch event.
14. terminals according to claim 11, it is characterised in that first touch event also includes:The terminal sets Standby the first length in the touch area gathered according to the described first operation is by event, the terminal device according to described the At least one of first double click event on the touch area that one operation is gathered.
15. terminals according to claim 14, it is characterised in that the processor also particularly useful for:
When first touch event is that the described first length presses event, then first operation is being judged in the touch area On contact duration meet the first preset duration when, determine the first touch event with it is default slip touch event match;
Or,
When first touch event is first double click event, then first operation is being judged in the touch area On number of clicks for twice when, determine the first touch event with it is default slip touch event match.
16. terminal according to claim any one of 9-15, it is characterised in that the key area includes virtual key area Domain and/or physical button region.
CN201611197130.4A 2016-12-22 2016-12-22 Empty the method and terminal of task Pending CN106843673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611197130.4A CN106843673A (en) 2016-12-22 2016-12-22 Empty the method and terminal of task

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611197130.4A CN106843673A (en) 2016-12-22 2016-12-22 Empty the method and terminal of task

Publications (1)

Publication Number Publication Date
CN106843673A true CN106843673A (en) 2017-06-13

Family

ID=59136905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611197130.4A Pending CN106843673A (en) 2016-12-22 2016-12-22 Empty the method and terminal of task

Country Status (1)

Country Link
CN (1) CN106843673A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104793885A (en) * 2015-04-23 2015-07-22 努比亚技术有限公司 Mobile terminal and memory cleaning control method thereof
CN105224259A (en) * 2015-10-22 2016-01-06 深圳市创想天空科技股份有限公司 A kind of mobile terminal memory release method, device and mobile terminal
CN105867916A (en) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 Terminal control method and device
CN105892853A (en) * 2016-03-31 2016-08-24 北京百纳威尔无线通信设备有限公司 Memory clearing method and terminal
CN105955606A (en) * 2016-04-22 2016-09-21 北京金山安全软件有限公司 Terminal device memory cleaning method and device and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104793885A (en) * 2015-04-23 2015-07-22 努比亚技术有限公司 Mobile terminal and memory cleaning control method thereof
CN105224259A (en) * 2015-10-22 2016-01-06 深圳市创想天空科技股份有限公司 A kind of mobile terminal memory release method, device and mobile terminal
CN105867916A (en) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 Terminal control method and device
CN105892853A (en) * 2016-03-31 2016-08-24 北京百纳威尔无线通信设备有限公司 Memory clearing method and terminal
CN105955606A (en) * 2016-04-22 2016-09-21 北京金山安全软件有限公司 Terminal device memory cleaning method and device and electronic device

Similar Documents

Publication Publication Date Title
CN104035677B (en) The display methods and device of prompt message
US9727149B2 (en) Stylus settings
CN103455278B (en) Association processing method and processing device
CN107122119B (en) Information processing method, information processing device, electronic equipment and computer readable storage medium
CN106843637A (en) Split screen method, the user interface of terminal and terminal
CN105549813B (en) A kind of method for controlling mobile terminal and mobile terminal
CN103620542B (en) A physical key simulating method and apparatus based on a touch screen
CN103246382B (en) Control method and electronic equipment
CN109791468A (en) User interface for both hands control
CN103518186B (en) For the method and apparatus that item controlled shows
CN102479027A (en) Control method and device of application icons on touch screen
CN108064368A (en) The control method and device of flexible display device
CN104731481A (en) Button display method and device
CN102915202A (en) Touch control method and touch control system of touch device
CN105760019A (en) Touch operation method based on interactive whiteboard and system thereof
CN106998393A (en) A kind of video playing control method and mobile terminal
CN104423869A (en) Text erasing method and device
CN105893130B (en) A kind of processing method and mobile terminal of application program for mobile terminal
CN105934739A (en) Virtual mouse for a touch screen device
CN103530045A (en) Menu item starting method and mobile terminal
CN105138170A (en) Theme determination method and terminal
CN103744683A (en) Information fusion method and device
CN106126090B (en) The control method and electronic equipment of a kind of electronic equipment
CN102314299B (en) Electronic equipment and display switching method
CN106873891A (en) The method and mobile terminal of a kind of touch control operation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180226

Address after: 330008 Jiangxi Province, Nanchang Qingshan Lake Economic and Technological Development Zone of Nanchang Jiao Town Office Building Room 319

Applicant after: Nanchang shark Technology Co. Ltd.

Address before: 518063 Guangdong city of Shenzhen province Nanshan District Wei new software park building 1 floor 2 South

Applicant before: SHENZHEN ZEUSIS TECHNOLOGY CO., LTD.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20170613

RJ01 Rejection of invention patent application after publication