CN104615299A - Instruction triggering method and device based on touch screen - Google Patents

Instruction triggering method and device based on touch screen Download PDF

Info

Publication number
CN104615299A
CN104615299A CN201410812029.XA CN201410812029A CN104615299A CN 104615299 A CN104615299 A CN 104615299A CN 201410812029 A CN201410812029 A CN 201410812029A CN 104615299 A CN104615299 A CN 104615299A
Authority
CN
China
Prior art keywords
touch
slide
display area
screen
viewing area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410812029.XA
Other languages
Chinese (zh)
Other versions
CN104615299B (en
Inventor
刘宝有
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen 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 Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201410812029.XA priority Critical patent/CN104615299B/en
Publication of CN104615299A publication Critical patent/CN104615299A/en
Application granted granted Critical
Publication of CN104615299B publication Critical patent/CN104615299B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Abstract

An instruction triggering method based on a touch screen comprises the following steps that sliding operation on the touch screen is monitored; a sliding track generated by the sliding operation is recorded; whether the sliding operation starts from a non-display area and arrives at a display area of the touch screen or not is judged according to the sliding track, and a preset instruction is triggered when the sliding operation starts from the non-display area and arrives at the display area. According to the method, the sliding operation on the touch screen is monitored, the corresponding sliding track is recorded, the preset specific instruction is triggered when the sliding operation starts from the non-display area and arrives at the display area of the touch screen instead of the limitation that the instruction needs to be triggered through a visible icon, and thus the space occupied by the visible icon can be saved; thus, the instruction triggering method and device based on the touch screen can save space. In addition, the instruction triggering device based on the touch screen is provided.

Description

Based on the instruction triggers method and apparatus of touch-screen
[technical field]
The present invention relates to touch screen terminal technical field, particularly a kind of instruction triggers method and apparatus based on touch-screen.
[background technology]
Touch-screen (touch screen) is also called " touch screen ", " contact panel ", it is a kind of induction type liquid crystal indicator receiving the input signals such as contact, when contacting the graphic button on screen, haptic feedback system on screen can drive various hookup mechanism according to the formula of programming in advance, can in order to replace mechanical push button panel.Touch-screen, as a kind of up-to-date input equipment, it provides the simplest, convenient, natural a kind of man-machine interaction mode at present.
At present, have multiple by the mode of the touch input instruction to touch-screen, comprise and click touch, double-click touch, multiple point touching, slip touch etc.More such as there is the mobile phone of touch-screen, by finger sliding by unlocking screen, or roll screen or interface switching can be come by slip after screen locking; Two fingers, when amplifying picture, can be pinned screen by the mobile phone more again with touch-screen, carry out dragging mitigation and amplification respectively by the folding of finger to picture.
All generally trigger the instruction relevant to tangible icon by the touch operation at tangible picture mark position place in prior art, but tangible icon takies some spaces always, or take up room on interactive interface, such as, button for calling in the interface of calling, or then need to take up room in the fixed position of touch panel, such as, return push-button etc. below the viewing area of some mobile phones.
[summary of the invention]
Based on this, be necessary that providing a kind of saves the instruction triggers method and apparatus of space-efficient based on touch-screen.
Based on an instruction triggers method for touch-screen, comprise the following steps:
Slide on monitoring touch-screen;
Record the sliding trace that described slide produces;
Judge that whether described slide arrives viewing area from the non-display area of touch-screen according to described sliding trace, when described slide arrives viewing area from described non-display area, trigger preset instructions.
Wherein in an embodiment, judge that whether described slide arrives viewing area from the non-display area of touch-screen according to described sliding trace, when described slide arrives viewing area from described non-display area, to trigger the step of preset instructions be:
According to described sliding trace judge described slide whether from the non-display area below the viewing area of touch-screen and direction up;
When described slide from the non-display area below described viewing area and direction up time, trigger preset instructions.
Wherein in an embodiment, judge whether described slide comprises from the step of the non-display area below the viewing area of touch-screen according to described sliding trace:
Judge whether the starting point of described sliding trace is positioned near bottom described viewing area, if so, then judge that described slide is from described non-display area, otherwise, judge described slide not from described non-display area.
Wherein in an embodiment, described method also comprises step: judge whether the displacement upwards of described slide is greater than first threshold according to described sliding trace;
When displacement upwards and is upwards greater than first threshold to described slide from described non-display area, direction, trigger preset instructions.
Wherein in an embodiment, described method also comprises step: whether monitor the time that described slide stops at the terminating point place of this slide exceedes Second Threshold;
When whether the time that described slide upwards and at the terminating point place of this slide stops from described non-display area, direction exceedes Second Threshold, trigger preset instructions.
Based on an instruction triggers device for touch-screen, comprising:
Monitoring modular, for monitoring the slide on touch-screen;
Track record module, for recording the sliding trace that described slide produces;
Track judge module, for judging that according to described sliding trace whether described slide arrives viewing area from the non-display area of touch-screen;
Instruction triggers module, for when described slide from described non-display area and arrive viewing area, trigger preset instructions.
Wherein in an embodiment, described track judge module be used for according to described sliding trace judge described slide whether from the non-display area below the viewing area of touch-screen and direction up;
Described instruction triggers module be used for when described slide from described non-display area and direction up time, triggering preset instructions.
Wherein in an embodiment, described track judge module is for judging whether the starting point of described sliding trace is positioned near bottom described viewing area whether to distinguish described slide from the non-display area below the viewing area of touch-screen, if the starting point of described sliding trace is positioned near bottom described viewing area, then judge that described slide is from described non-display area, otherwise, judge described slide not from described non-display area.
Wherein in an embodiment, described device also comprises displacement judge module, for judging according to described sliding trace whether the displacement upwards of described slide is greater than first threshold;
Described instruction triggers module is used for when from described non-display area, direction, displacement upwards and is upwards greater than first threshold to described slide, triggering preset instructions.
Wherein in an embodiment, described device also comprises residence time monitoring modular, and whether the time stopped at the terminating point place of this slide for monitoring described slide exceedes Second Threshold;
Described instruction triggers module is used for when whether the time that described slide upwards and at the terminating point place of this slide stops from described non-display area, direction exceedes Second Threshold, triggers preset instructions.
The above-mentioned instruction triggers method and apparatus based on touch-screen, slide on monitoring touch-screen also records corresponding sliding trace, when slide from the non-display area of touch-screen and arrive viewing area time, then trigger default specific instruction, instead of necessarily need to be confined to tangible icon and carry out triggering command, thus the space can saved shared by tangible icon, therefore, the above-mentioned instruction triggers method and apparatus based on touch-screen can save space.
[accompanying drawing explanation]
Fig. 1 is the schematic flow sheet of the instruction triggers method based on touch-screen in an embodiment;
Fig. 2 is the schematic flow sheet of the instruction triggers method based on touch-screen in an embodiment;
Fig. 3 is effective sliding trace of triggered preset instructions in an embodiment and can not triggers the schematic diagram of invalid sliding trace of preset instructions;
Fig. 4 is the schematic flow sheet of the instruction triggers method based on touch-screen in an embodiment;
Fig. 5 is the structural representation of the instruction triggers device based on touch-screen in an embodiment;
Fig. 6 is the structural representation of the instruction triggers device based on touch-screen in an embodiment;
Fig. 7 is the structural representation of the instruction triggers device based on touch-screen in an embodiment.
[embodiment]
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As shown in Figure 1, in one embodiment, a kind of instruction triggers method based on touch-screen, comprises the following steps:
Step S102, the slide on monitoring touch-screen.
In one embodiment, the gesture in calling system slide on interface monitor touch-screen can be monitored.Such as, in android system (operating system being mainly used in mobile device of a kind of freedom based on Linux and open source code), call the slide of On Gesture Listener interface or Gesture Detector interface monitor touch-screen.
Step S104, the sliding trace that record slide produces.
When touch-screen occurs slide, the sliding trace that slide produces can be recorded.In one embodiment, such as, by the coordinate of the touch point of moving event object acquisition slide, in android system, by the coordinate of MotionEvent object acquisition touch point.The MotionEvent object record coordinate of touch point, along with the change of touch point position in slide, the coordinate of the touch point of MotionEvent object record is also change.Preserve the coordinate of MotionEvent object record and form coordinate sequence, the point that this coordinate sequence is corresponding can form sliding trace corresponding to slide.
Coordinate in the coordinate system that the straight line that coordinate in present specification refers to be parallel to base, viewing area (being made up of row's pixel of bottom) is x-axis, set up for y-axis with the straight line perpendicular to x-axis.
According to sliding trace, step S106, judges that whether slide arrives viewing area from the non-display area of touch-screen; When slide from non-display area and arrive viewing area, trigger preset instructions.Touch-screen comprises Trackpad and display board, and Trackpad is positioned on display board, is used in combination with display board.Trackpad be called touch area for the region receiving the signal that contact (such as pointer, finger etc.) inputs, the region for display frame of display board is then called viewing area.All regions in touch-screen outside viewing area are generally called non-display area.The touch area of some touch-screen is equal with the size of viewing area and overlap; And the area of the touch area of some touch-screen is greater than the area of viewing area, touch area covers viewing area and extends a part outward, such as, below viewing area, extends a part.This part can be used for placing some fixing icons, such as, return an interface icon, return desktop icons, menu icon etc.; Wherein, return an interface icon clicked time can trigger the instruction returning to an interface, return desktop icons clicked time can trigger the instruction returning desktop, the instruction of display menu can be triggered when menu icon is clicked, etc.
With the upright placement of touch-screen and to be just as the criterion description orientation facing to user in present specification.
In a first embodiment, the detailed process of step S106 is: according to sliding trace judge slide whether from the non-display area below the viewing area of touch-screen and direction up; When slide from non-display area and direction up time, trigger preset instructions.
In a second embodiment, the detailed process of step S106 is: judge the non-display area of slide whether above the viewing area of touch-screen according to sliding trace and direction down; When slide from non-display area and direction down time, trigger preset instructions.
In the third embodiment, the detailed process of step S106 is: according to sliding trace judge slide whether from the non-display area of the left, viewing area of touch-screen and direction turn right; When slide from non-display area and turn right in direction time, trigger preset instructions.
In the fourth embodiment, the detailed process of step S106 is: according to sliding trace judge slide whether from the non-display area of the right, viewing area of touch-screen and direction turn left; When slide from non-display area and turn left in direction time, trigger preset instructions.
The hereafter detailed process of description of step S106 based on the first above-mentioned embodiment, but the present invention should not be defined in the detailed process of the step S106 described in Examples below.In the second to four above-mentioned embodiment, the detailed process of step S106 can be analogized according to Examples below, does not repeat them here.
In one embodiment, judge whether slide comprises from the step of the non-display area below the viewing area of touch-screen according to sliding trace in the first above-mentioned embodiment: judge near bottom the viewing area whether starting point of sliding trace is positioned at touch-screen, if, then judge that slide is from the non-display area below viewing area, otherwise, judge that slide is not from this non-display area.
When the touch area of touch-screen is equal with viewing area size and when overlapping, the non-display area below viewing area is not included in touch area; And when touch-screen covering viewing area, touch area and toward it below extend a part time, the non-display area below viewing area comprise or part be included in touch area.
In one embodiment, when the touch area of touch-screen is equal with viewing area size and when overlapping, owing to cannot monitor the touch operation beyond viewing area, can judge whether the starting point of sliding trace is positioned at the base of viewing area.If the starting point of sliding trace is positioned at the base of viewing area, then judge that slide is from the non-display area below viewing area.Because in actual mechanical process, if the slide of reality is from the non-display area below viewing area really and does not depart from touch-screen in whole slide process, then the starting point of the sliding trace monitored must be positioned at the base of viewing area.
In another embodiment, when the touch area of touch-screen is equal with viewing area size and when overlapping, can judge that whether the starting point of sliding trace is lower than the predeterminated position of on the base of viewing area, this predeterminated position differs several pixel (being equivalent to vertical range close to 0) with the vertical range on base, if so, then judge that slide is from the non-display area below viewing area.Because predeterminated position only differs several pixel with the vertical range on base, may the starting point of slide be positioned between the base of viewing area and this predeterminated position hardly in actual mechanical process, therefore, general only from the starting point of the non-display area upward sliding guarantee sliding trace below viewing area lower than this predeterminated position on the base of viewing area, therefore, lower than the situation of this predeterminated position on the base of viewing area, the starting point of sliding trace is judged to be that slide is from the non-display area below viewing area, it is realistic operational circumstances.
And on the other hand, from non-display area slide upwards also likely the reason such as misoperation departed from touch-screen at some points of centre, thus in fact produce two sections of sliding traces, if and the starting point of second segment sliding trace by chance drops between the base of viewing area and this predeterminated position, then judge that slide is from the non-display area below viewing area, also realistic operational circumstances, and provide certain fault tolerant workspace for the misoperation of user.
In one embodiment, when touch-screen covering viewing area, touch area and toward it below extend a part time, due to the touch operation below viewing area in a segment distance can be monitored, can judge that the starting point of sliding trace is whether lower than the base of viewing area, if so, then judge that slide is from the non-display area below viewing area.
Concrete, in one embodiment, when the touch area of touch-screen is equal with viewing area size and when overlapping, can judge whether the ordinate of the starting point of sliding trace equals the ordinate on the base of viewing area, if so, then judge that slide is from the non-display area below viewing area; Or, can judge the ordinate of the starting point of sliding trace whether be less than the ordinate on the base of viewing area and several pixel distance and, if so, then judge that slide is from the non-display area below viewing area.Several pixel distance refers to line spread and the distance that represents in a coordinate system of the several pixel of continuous print.
When touch-screen covering viewing area, touch area and toward it below extend a part time, can judge whether the ordinate of the starting point of sliding trace is less than the ordinate on the base of viewing area, if so, then judge that slide is from the non-display area below viewing area.
Such as, with the pixel in the most lower left corner, viewing area be true origin, with one of viewing area bottom row pixel place straight line be x-axis, with row pixel place, the leftmost side, viewing area one straight line for y-axis sets up two-dimensional coordinate system.
When the touch area of touch-screen is equal with viewing area size and when overlapping, can judge whether the ordinate of the starting point of sliding trace equals 0, if so, then judge that slide is from the non-display area below viewing area; Or, can judge whether the ordinate of the starting point of sliding trace is less than several pixel distance, if so, then judge that slide is from the non-display area below viewing area.
When touch-screen covering viewing area, touch area and toward it below extend a part time, can judge whether the ordinate of the starting point of sliding trace is less than 0, if so, then judge slide from the non-display area below viewing area.
In one embodiment, can judge whether the ordinate of the starting point of sliding trace is less than the ordinate of terminating point and whether the distance of the horizontal ordinate of the horizontal ordinate of starting point and terminating point is less than the 3rd threshold value, if so, then judges the direction of slide upwards.
Hereafter continue, based on the first above-mentioned embodiment, the instruction triggers method based on touch-screen of the present invention is described.But the present invention should not be defined in hereinafter based on the instruction triggers method based on touch-screen described by the first above-mentioned embodiment.Can analogize according to Examples below based on the instruction triggers method based on touch-screen of first to fourth above-mentioned embodiment accordingly, not repeat them here.
In one embodiment, the above-mentioned instruction triggers method based on touch-screen also comprises step: judge whether slide displacement is upwards greater than first threshold according to sliding trace; When displacement upwards and is upwards greater than first threshold to slide from non-display area, direction, trigger preset instructions.The one that Fig. 2 shows in the present embodiment performs flow process.As shown in Figure 2, the above-mentioned instruction triggers method based on touch-screen comprises the following steps:
Step S202, the slide on monitoring touch-screen.
Step S204, when touch-screen there is slide, the sliding trace that record slide produces.
Step S206, according to sliding trace judge slide whether from the non-display area below the viewing area of touch-screen and direction up, and judge whether slide displacement is upwards greater than first threshold.
Concrete, can calculate slide displacement is upwards distance between the ordinate of the starting point of sliding trace and the ordinate of terminating point.
Step S208, when displacement upwards and is upwards greater than first threshold to slide from non-display area, direction, triggers preset instructions.
As shown in Figure 3, H1 represents the base 302 and the straight line on the base 302 of close viewing area 301 that are parallel to viewing area 301, conveniently checks, amplifies in figure to the distance between H1 and base, viewing area 301 302.It is the straight line of first threshold that H2 represents with the distance of H1; L1, L2, L3, L4, L5 represent sliding trace respectively; Wherein, the starting point of L1, L2 and L3 is lower than H1 and terminating point exceeds H2, so L1, L2 and L3 represent effective sliding trace that can trigger preset instructions; And exceed the terminating point of H1, L5 lower than H2 due to the starting point of L4, therefore, L3, L4 represent the invalid operation that cannot trigger preset instructions.
In above-described embodiment, when from non-display area, direction, displacement upwards and is upwards greater than first threshold to slide, just trigger preset instructions, can be filtered out some from the less unconscious operation of non-display area displacement upwards but upwards, avoid these operations to trigger preset instructions.
In one embodiment, the above-mentioned instruction triggers method based on touch-screen also comprises step: whether the time that monitoring slide stops at the terminating point place of this slide exceedes Second Threshold; When whether the time that slide upwards and at the terminating point place of this slide stops from non-display area, direction exceedes Second Threshold, trigger preset instructions.The one that Fig. 4 shows in the present embodiment performs flow process.As shown in Figure 4, the above-mentioned instruction triggers method based on touch-screen comprises the following steps:
Step S402, the slide on monitoring touch-screen.
Step S404, when touch-screen there is slide, the sliding trace that record slide produces.
Step S406, according to sliding trace judge slide whether from the non-display area below the viewing area of touch-screen and direction up, and the time that monitoring slide stops at the terminating point place of this slide whether exceed Second Threshold.
In one embodiment, monitoring slide comprises the following steps in the step whether time that the terminating point place of this slide stops exceedes Second Threshold: whether the touch point of monitoring slide stops at same place, if, then record the initial time that touch point stops (namely the position of touch point no longer changes), and calculate touch point stay time herein, and monitoring touch point whether stop herein after no longer shift to other places slide and namely stop, if slide herein stay time exceedes Second Threshold and touch point is no longer shifted to other places slide and namely stopped after stopping herein, then judge that the time that slide stops at the terminating point place of this slide exceedes Second Threshold, otherwise, judge that the time that slide stops at the terminating point place of this slide is no more than Second Threshold.
Step S408, when whether the time that slide upwards and at the terminating point place of this slide stops from non-display area, direction exceedes Second Threshold, triggers preset instructions.
In above-described embodiment, when whether the time that slide upwards and at the terminating point place of this slide stops from non-display area, direction exceedes Second Threshold, just trigger preset instructions, the time shorter unconscious operation that some upwards but at terminating point place stop from non-display area can be filtered out, avoid these operations to trigger preset instructions.
In one embodiment, when slide from non-display area, direction displacement upwards, be upwards greater than first threshold and the time stopped at the terminating point place of this slide exceedes Second Threshold time, trigger preset instructions.
In one embodiment, above-mentioned preset instructions can be but is not limited to link order or move etc. is reduced in display frame.
Concrete, link order can be used for instruction and returns to an interface, and on this, an interface is the interface of last display in the interface shown before the interface of current display.Display frame is reduced move and be can be used for indicating and carried out according to a certain percentage reducing by the picture window of display and drawn close to the touch-screen corner that the gesture gripping touch panel device is close by picture window, namely, if grip the gesture of touch panel device near some corners (such as the lower right corner) of touch-screen, then picture window is drawn close to this corner, be hold by one hand touch panel device to facilitate and rely on this one-handed performance touch-screen.
As shown in Figure 5, in one embodiment, a kind of instruction triggers device based on touch-screen, comprises monitoring modular 502, track record module 504, track judge module 506 and instruction triggers module 508, wherein:
Monitoring modular 502 is for monitoring the slide on touch-screen.
In one embodiment, monitoring modular 502 gesture in calling system can monitor slide on interface monitor touch-screen.Such as, in android system (operating system being mainly used in mobile device of a kind of freedom based on Linux and open source code), call the slide of On Gesture Listener interface or GestureDetector interface monitor touch-screen.
The sliding trace that track record module 504 produces for recording slide.
Track record module 504 can be used for when touch-screen occurs slide, the sliding trace that record slide produces.In one embodiment, track record module 504 is by the coordinate of the touch point of moving event object acquisition slide, and such as, in android system, track record module 504 is by the coordinate of MotionEvent object acquisition touch point.The MotionEvent object record coordinate of touch point, along with the change of touch point position in slide, the coordinate of the touch point of MotionEvent object record is also change.Track record module 504 is preserved the coordinate of MotionEvent object record and is formed coordinate sequence, and the point that this coordinate sequence is corresponding can form sliding trace corresponding to slide.
Track judge module 506 is for judging that according to sliding trace whether slide arrives viewing area from the non-display area of touch-screen; Instruction triggers module 508 for when slide from non-display area and arrive viewing area, trigger preset instructions.
In the 5th embodiment, track judge module 506 for judge according to sliding trace slide whether from the non-display area below the viewing area of touch-screen and direction up; Instruction triggers module 508 for when slide from non-display area and direction up time, trigger preset instructions.
In the sixth embodiment, track judge module 506 for judge the non-display area of slide whether above the viewing area of touch-screen according to sliding trace and direction down; Instruction triggers module 508 for when slide from non-display area and direction down time, trigger preset instructions.
In the 7th embodiment, track judge module 506 for judge according to sliding trace slide whether from the non-display area of the left, viewing area of touch-screen and direction turn right; Instruction triggers module 508 for when slide from non-display area and turn right in direction time, trigger preset instructions.
In the 8th embodiment, track judge module 506 for judge according to sliding trace slide whether from the non-display area of the right, viewing area of touch-screen and direction turn left; Instruction triggers module 508 for when slide from non-display area and turn left in direction time, trigger preset instructions.
Examples below illustrates the concrete function of track judge module 506 in the 5th above-mentioned embodiment and instruction triggers module 508; But the present invention should not be defined in embodiment hereinafter described
The concrete function of track judge module 506 and instruction triggers module 508 is hereafter described based on the 5th above-mentioned embodiment, but the present invention should not be defined in track judge module 506 described in Examples below and instruction triggers module 508.Based on the track judge module 506 of the above-mentioned the 6th to the 8th example and instruction triggers module 508 concrete function can the rest may be inferred, do not repeat them here.
Based on the 5th above-mentioned embodiment, in one embodiment, track judge module 506 is for judging whether the starting point of sliding trace is positioned near bottom viewing area whether to distinguish slide from the non-display area below the viewing area of touch-screen, if the starting point of described sliding trace is positioned near bottom described viewing area, then judge that slide is from the non-display area below viewing area, otherwise, judge that slide is not from this non-display area.
When the touch area of touch-screen is equal with viewing area size and when overlapping, the non-display area below viewing area is not included in touch area; And when touch-screen covering viewing area, touch area and toward it below extend a part time, the non-display area below viewing area comprise or part be included in touch area.
In one embodiment, when the touch area of touch-screen is equal with viewing area size and when overlapping, due to the touch operation beyond viewing area cannot be monitored, track judge module 506 can judge whether the starting point of sliding trace is positioned at the base of viewing area, if the starting point of sliding trace is positioned at the base of viewing area, then judge that slide is from the non-display area below viewing area.Because in actual mechanical process, if the slide of reality is from the non-display area below viewing area really and does not depart from touch-screen in whole slide process, then the starting point of the sliding trace monitored must be positioned at the base of viewing area.
In another embodiment, when the touch area of touch-screen is equal with viewing area size and when overlapping, track judge module 506 can judge that whether the starting point of sliding trace is lower than the predeterminated position of on the base of viewing area, this predeterminated position differs several pixel (being equivalent to vertical range close to 0) with the vertical range on base, if so, then judge that slide is from the non-display area below viewing area.Because predeterminated position only differs several pixel with the vertical range on base, may the starting point of slide be positioned between the base of viewing area and this predeterminated position hardly in actual mechanical process, therefore, general only from the starting point of the non-display area upward sliding guarantee sliding trace below viewing area lower than this predeterminated position on the base of viewing area, therefore, lower than the situation of this predeterminated position on the base of viewing area, the starting point of sliding trace is judged to be that slide is from the non-display area below viewing area, it is realistic operational circumstances.
And on the other hand, from non-display area slide upwards also likely the reason such as misoperation departed from touch-screen at some points of centre, thus in fact produce two sections of sliding traces, if and the starting point of second segment sliding trace by chance drops between the base of viewing area and this predeterminated position, then judge that slide is from the non-display area below viewing area, also realistic operational circumstances, and provide certain fault tolerant workspace for the misoperation of user.
In one embodiment, when touch-screen covering viewing area, touch area and toward it below extend a part time, due to the touch operation below viewing area in a segment distance can be monitored, track judge module 506 can judge that the starting point of sliding trace is whether lower than the base of viewing area, if so, then judge that slide is from the non-display area below viewing area.
Concrete, in one embodiment, when the touch area of touch-screen is equal with viewing area size and when overlapping, track judge module 506 can judge whether the ordinate of the starting point of sliding trace equals the ordinate on the base of viewing area, if so, then judge that slide is from the non-display area below viewing area; Or, track judge module 506 can judge the ordinate of the starting point of sliding trace whether be less than the ordinate on the base of viewing area and several pixel distance and, if so, then judge that slide is from the non-display area below viewing area.Several pixel distance refers to line spread and the distance that represents in a coordinate system of the several pixel of continuous print.
When touch-screen covering viewing area, touch area and toward it below extend a part time, track judge module 506 can judge whether the ordinate of the starting point of sliding trace is less than the ordinate on the base of viewing area, if so, then judge that slide is from the non-display area below viewing area.
Such as, with the pixel in the most lower left corner, viewing area be true origin, with one of viewing area bottom row pixel place straight line be x-axis, with row pixel place, the leftmost side, viewing area one straight line for y-axis sets up two-dimensional coordinate system.
When the touch area of touch-screen is equal with viewing area size and when overlapping, track judge module 506 can judge whether the ordinate of the starting point of sliding trace equals 0, if so, then judge that slide is from the non-display area below viewing area; Or track judge module 506 can judge whether the ordinate of the starting point of sliding trace is less than several pixel distance, if so, then judge that slide is from the non-display area below viewing area.
When touch-screen covering viewing area, touch area and toward it below extend a part time, track judge module 506 can judge whether the ordinate of the starting point of sliding trace is less than 0, if so, then judge that slide is from the non-display area below viewing area.
In one embodiment, track judge module 506 also can judge whether the horizontal ordinate of starting point of sliding trace and the distance of the horizontal ordinate of terminating point are less than the 3rd threshold value, if so, then judge the direction of slide upwards.
Hereafter continue the function that other module included by the instruction triggers device based on touch-screen of the present invention is described based on above-mentioned 5th embodiment.But the present invention should not be defined in hereinafter based on the instruction triggers device based on touch-screen described by the 5th above-mentioned embodiment.Corresponding to the above-mentioned the 6th to the 8th embodiment based on touch-screen instruction triggers device included by the function of module can analogize according to Examples below, do not repeat them here.
As shown in Figure 6, in one embodiment, the above-mentioned instruction triggers device based on touch-screen also comprises displacement judge module 602, for judging according to sliding trace whether slide displacement is upwards greater than first threshold; In the present embodiment, instruction triggers module 508, for when displacement upwards and is upwards greater than first threshold to slide from non-display area, direction, triggers preset instructions.
Concrete, it is distance between the ordinate of the starting point of sliding trace and the ordinate of terminating point that displacement judge module 602 can calculate slide displacement upwards.
In above-described embodiment, when from non-display area, direction, displacement upwards and is upwards greater than first threshold to slide, just trigger preset instructions, can be filtered out some from the less unconscious operation of non-display area displacement upwards but upwards, avoid these operations to trigger preset instructions.
In one embodiment, the above-mentioned instruction triggers device based on touch-screen also comprises residence time monitoring modular 702, and whether the time stopped at the terminating point place of this slide for monitoring slide exceedes Second Threshold; In the present embodiment, instruction triggers module 508, for when whether the time that slide upwards and at the terminating point place of this slide stops from non-display area, direction exceedes Second Threshold, triggers preset instructions.
Concrete, in one embodiment, residence time monitoring modular 702 can be monitored slide and be comprised the following steps in the step whether time that the terminating point place of this slide stops exceedes Second Threshold: whether the touch point of monitoring slide stops at same place, if, then record the initial time that touch point stops (namely the position of touch point no longer changes), and calculate touch point stay time herein, and monitoring touch point whether stop herein after no longer shift to other places slide and namely stop, if slide herein stay time exceedes Second Threshold and touch point is no longer shifted to other places slide and namely stopped after stopping herein, then judge that the time that slide stops at the terminating point place of this slide exceedes Second Threshold, otherwise, judge that the time that slide stops at the terminating point place of this slide is no more than Second Threshold.
In above-described embodiment, when whether the time that slide upwards and at the terminating point place of this slide stops from non-display area, direction exceedes Second Threshold, just trigger preset instructions, the time shorter unconscious operation that some upwards but at terminating point place stop from non-display area can be filtered out, avoid these operations to trigger preset instructions.
In one embodiment, the above-mentioned instruction triggers device based on touch-screen comprises displacement judge module 602 and residence time monitoring modular 702 simultaneously; In the present embodiment, instruction triggers module 508 for when slide from non-display area, direction displacement upwards, be upwards greater than first threshold and the time stopped at the terminating point place of this slide exceedes Second Threshold time, trigger preset instructions.
In one embodiment, above-mentioned preset instructions can be but is not limited to link order or move etc. is reduced in display frame.
Concrete, link order can be used for instruction and returns to an interface, and on this, an interface is the interface of last display in the interface shown before the interface of current display.Display frame is reduced move and be can be used for indicating and carried out according to a certain percentage reducing by the picture window of display and drawn close to the touch-screen corner that the gesture gripping touch panel device is close by picture window, namely, if grip the gesture of touch panel device near some corners (such as the lower right corner) of touch-screen, then picture window is drawn close to this corner, be hold by one hand touch panel device to facilitate and rely on this one-handed performance touch-screen.
The above-mentioned instruction triggers method and apparatus based on touch-screen, slide on monitoring touch-screen also records corresponding sliding trace, when slide from the non-display area of touch-screen and arrive viewing area time, then trigger default specific instruction, instead of necessarily need to be confined to tangible icon and carry out triggering command, thus the space can saved shared by tangible icon, therefore, the above-mentioned instruction triggers method and apparatus based on touch-screen can save space.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (10)

1., based on an instruction triggers method for touch-screen, comprise the following steps:
Slide on monitoring touch-screen;
Record the sliding trace that described slide produces;
Judge that whether described slide arrives viewing area from the non-display area of touch-screen according to described sliding trace, when described slide arrives viewing area from described non-display area, trigger preset instructions.
2. the instruction triggers method based on touch-screen according to claim 1, it is characterized in that, judge that whether described slide arrives viewing area from the non-display area of touch-screen according to described sliding trace, when described slide arrives viewing area from described non-display area, to trigger the step of preset instructions be:
According to described sliding trace judge described slide whether from the non-display area below the viewing area of touch-screen and direction up;
When described slide from the non-display area below described viewing area and direction up time, trigger preset instructions.
3. the instruction triggers method based on touch-screen according to claim 1, is characterized in that, judges whether described slide comprises from the step of the non-display area below the viewing area of touch-screen according to described sliding trace:
Judge whether the starting point of described sliding trace is positioned near bottom described viewing area, if so, then judge that described slide is from described non-display area, otherwise, judge described slide not from described non-display area.
4. the instruction triggers method based on touch-screen according to claim 2, it is characterized in that, described method also comprises step: judge whether the displacement upwards of described slide is greater than first threshold according to described sliding trace;
When displacement upwards and is upwards greater than first threshold to described slide from described non-display area, direction, trigger preset instructions.
5. the instruction triggers method based on touch-screen according to claim 2, it is characterized in that, described method also comprises step: whether monitor the time that described slide stops at the terminating point place of this slide exceedes Second Threshold;
When whether the time that described slide upwards and at the terminating point place of this slide stops from described non-display area, direction exceedes Second Threshold, trigger preset instructions.
6., based on an instruction triggers device for touch-screen, it is characterized in that, comprising:
Monitoring modular, for monitoring the slide on touch-screen;
Track record module, for recording the sliding trace that described slide produces;
Track judge module, for judging that according to described sliding trace whether described slide arrives viewing area from the non-display area of touch-screen;
Instruction triggers module, for when described slide from described non-display area and arrive viewing area, trigger preset instructions.
7., based on an instruction triggers device for touch-screen, it is characterized in that, described track judge module be used for according to described sliding trace judge described slide whether from the non-display area below the viewing area of touch-screen and direction up;
Described instruction triggers module be used for when described slide from described non-display area and direction up time, triggering preset instructions.
8. the instruction triggers device based on touch-screen according to claim 7, it is characterized in that, described track judge module is for judging whether the starting point of described sliding trace is positioned near bottom described viewing area whether to distinguish described slide from the non-display area below the viewing area of touch-screen, if the starting point of described sliding trace is positioned near bottom described viewing area, then judge that described slide is from described non-display area, otherwise, judge described slide not from described non-display area.
9. the instruction triggers device based on touch-screen according to claim 7, it is characterized in that, described device also comprises displacement judge module, for judging according to described sliding trace whether the displacement upwards of described slide is greater than first threshold;
Described instruction triggers module is used for when from described non-display area, direction, displacement upwards and is upwards greater than first threshold to described slide, triggering preset instructions.
10. the instruction triggers device based on touch-screen according to claim 7, it is characterized in that, described device also comprises residence time monitoring modular, and whether the time stopped at the terminating point place of this slide for monitoring described slide exceedes Second Threshold;
Described instruction triggers module is used for when whether the time that described slide upwards and at the terminating point place of this slide stops from described non-display area, direction exceedes Second Threshold, triggers preset instructions.
CN201410812029.XA 2014-12-22 2014-12-22 Instruction triggers method and apparatus based on touch screen Active CN104615299B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410812029.XA CN104615299B (en) 2014-12-22 2014-12-22 Instruction triggers method and apparatus based on touch screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410812029.XA CN104615299B (en) 2014-12-22 2014-12-22 Instruction triggers method and apparatus based on touch screen

Publications (2)

Publication Number Publication Date
CN104615299A true CN104615299A (en) 2015-05-13
CN104615299B CN104615299B (en) 2019-04-30

Family

ID=53149778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410812029.XA Active CN104615299B (en) 2014-12-22 2014-12-22 Instruction triggers method and apparatus based on touch screen

Country Status (1)

Country Link
CN (1) CN104615299B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278753A (en) * 2015-11-17 2016-01-27 小米科技有限责任公司 Touch control response method and touch control response device
CN105824568A (en) * 2016-03-30 2016-08-03 苏州佳世达电通有限公司 Electronic device and operation method thereof
CN105956455A (en) * 2016-05-10 2016-09-21 北京京东尚科信息技术有限公司 Method and device for carrying out verification by utilizing Sudoku sliding lock verification codes
CN106201309A (en) * 2016-06-29 2016-12-07 维沃移动通信有限公司 A kind of status bar processing method and mobile terminal
CN106445280A (en) * 2016-08-31 2017-02-22 维沃移动通信有限公司 Voice message playing method and mobile terminal
CN107132982A (en) * 2017-04-12 2017-09-05 贡海林 The Single-hand control method and system of a kind of terminal device
CN109696982A (en) * 2017-10-20 2019-04-30 苏州欧菲光科技有限公司 Vehicular touch screen and automobile
CN110032323A (en) * 2018-01-12 2019-07-19 益富可视精密工业(深圳)有限公司 Electronic equipment and gesture navigation method
CN110471610A (en) * 2019-08-16 2019-11-19 上海闻泰信息技术有限公司 Terminal control method, device, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102117166A (en) * 2009-12-31 2011-07-06 联想(北京)有限公司 Electronic equipment, method for realizing prearranged operation instructions, and handset
CN202632258U (en) * 2011-05-11 2012-12-26 林振韶 Touch screen replacing mechanical key zone at bottom of mobile panel
CN102929425A (en) * 2012-09-24 2013-02-13 惠州Tcl移动通信有限公司 Method and device for controlling touch keys
CN103430124A (en) * 2011-02-28 2013-12-04 捷讯研究有限公司 Electronic device and method of displaying information in response to a gesture

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102117166A (en) * 2009-12-31 2011-07-06 联想(北京)有限公司 Electronic equipment, method for realizing prearranged operation instructions, and handset
CN103430124A (en) * 2011-02-28 2013-12-04 捷讯研究有限公司 Electronic device and method of displaying information in response to a gesture
CN202632258U (en) * 2011-05-11 2012-12-26 林振韶 Touch screen replacing mechanical key zone at bottom of mobile panel
CN102929425A (en) * 2012-09-24 2013-02-13 惠州Tcl移动通信有限公司 Method and device for controlling touch keys

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278753B (en) * 2015-11-17 2018-05-08 小米科技有限责任公司 Touch-control response method and device
CN105278753A (en) * 2015-11-17 2016-01-27 小米科技有限责任公司 Touch control response method and touch control response device
CN105824568A (en) * 2016-03-30 2016-08-03 苏州佳世达电通有限公司 Electronic device and operation method thereof
CN105956455A (en) * 2016-05-10 2016-09-21 北京京东尚科信息技术有限公司 Method and device for carrying out verification by utilizing Sudoku sliding lock verification codes
CN105956455B (en) * 2016-05-10 2019-08-30 北京京东尚科信息技术有限公司 The method and apparatus verified using nine grids sliding lock identifying code
CN106201309A (en) * 2016-06-29 2016-12-07 维沃移动通信有限公司 A kind of status bar processing method and mobile terminal
CN106201309B (en) * 2016-06-29 2019-08-20 维沃移动通信有限公司 A kind of status bar processing method and mobile terminal
CN106445280A (en) * 2016-08-31 2017-02-22 维沃移动通信有限公司 Voice message playing method and mobile terminal
CN107132982A (en) * 2017-04-12 2017-09-05 贡海林 The Single-hand control method and system of a kind of terminal device
CN107132982B (en) * 2017-04-12 2020-08-25 贡海林 Single-hand control method and system for terminal equipment
CN109696982A (en) * 2017-10-20 2019-04-30 苏州欧菲光科技有限公司 Vehicular touch screen and automobile
CN110032323A (en) * 2018-01-12 2019-07-19 益富可视精密工业(深圳)有限公司 Electronic equipment and gesture navigation method
CN110032323B (en) * 2018-01-12 2021-12-28 荷兰移动驱动器公司 Electronic equipment and gesture navigation method
CN110471610A (en) * 2019-08-16 2019-11-19 上海闻泰信息技术有限公司 Terminal control method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN104615299B (en) 2019-04-30

Similar Documents

Publication Publication Date Title
CN104615299A (en) Instruction triggering method and device based on touch screen
US11604560B2 (en) Application association processing method and apparatus
JP5616557B1 (en) Electronic device and coordinate detection method
US20090085886A1 (en) Method and apparatus for performing view switching functions on handheld electronic device with touch screen
US10423290B2 (en) Information processing apparatus
US9423952B2 (en) Device, method, and storage medium storing program
JP6130926B2 (en) Gesture conversation processing method, apparatus, terminal device, program, and recording medium
JP5732580B2 (en) Electronic device and coordinate detection method
CN103425394B (en) A kind of method and device thereof of the rollover icon position for touch-screen
JP2015519671A (en) Touch screen misoperation prevention method, touch screen, mobile terminal, program, and recording medium
US9411449B2 (en) Mobile terminal and operation method therefor
CN103488419A (en) Operating method of communication terminal and communication terminal
CN103838456A (en) Method and system for controlling display positions of desktop icons
CN106527676A (en) Large display format touch gesture interface
JP5846129B2 (en) Information processing terminal and control method thereof
CN104598123A (en) Method and device for displaying screen display picture of mobile terminal
US20150012893A1 (en) Device, method, and storage medium storing program
TWM486792U (en) Mobile device
CN103853476A (en) Information processing method and electronic equipment
US20130239069A1 (en) Control method for mobile device using setting pattern and mobile device
EP2977862B1 (en) Information processing device and information processing method
CN102799337A (en) Method and device for unlocking touch mobile phones
JP2012177998A (en) On-vehicle terminal device
US20120319982A1 (en) Terminal device and method of controlling terminal system
CN102778968A (en) Object selection method and object selection system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant