CN105653177B - The selection method and terminal device for clicking element at terminal device interface - Google Patents
The selection method and terminal device for clicking element at terminal device interface Download PDFInfo
- Publication number
- CN105653177B CN105653177B CN201410713582.8A CN201410713582A CN105653177B CN 105653177 B CN105653177 B CN 105653177B CN 201410713582 A CN201410713582 A CN 201410713582A CN 105653177 B CN105653177 B CN 105653177B
- Authority
- CN
- China
- Prior art keywords
- touch point
- coordinate
- click
- pointer
- screen
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Position Input By Displaying (AREA)
Abstract
The embodiment of the present invention provides the selection method and terminal device for clicking element at a kind of terminal device interface, in the touch point on the touch screen of terminal device and judge touch point whether on pre-set pointer this method comprises: obtaining user, coordinate if touch point is on pointer body according to touch point determines the corresponding effective coordinate set for clicking element of the coordinate of touch point, and determines the first click element according to the coordinate of touch point and effective coordinate set;Effective coordinate set includes the coordinate that at least one can click element, and the vertical range that each of effective coordinate set can click coordinate to the sight line of element is less than pre-determined distance, the straight line or ray that sight line determines for the coordinate of pointer root and touch point;Click first is executed if detecting user's off screen and clicks the corresponding operation of element, and click element is directly selected by pointer body, effectively reduces terminal device calculation amount, improves terminal device treatment effeciency.
Description
Technical field
The present embodiments relate to computer technology more particularly to a kind of selections for clicking element at terminal device interface
Method and terminal device.
Background technique
The terminal device of large-size screen monitors has better bandwagon effect and experience for a user, what is held using large-size screen monitors
When terminal device, if the hand that user must not have to holding apparatus in some scenarios come if touch screen operates, because of touching
And be limited in scope, the element on some screens can not touch.
In the prior art, in order to enable user hold while using the hand of gripping touch on entire screen can
Operation element: the screen of terminal device is shown by shrink technology in a position of the screen of terminal device, so that user
The hand of gripping device can be operated on the screen after this is miniature, i.e., present in the range that user can touch on the screen
One miniature virtual screen allows user that can execute desired operation in this miniature screen, selects after being finished
It selects and closes miniature screen.
However, in practical applications, being shown for all the elements on the screen of entire terminal device are carried out miniature screen
Show, and need real-time synchronization real screen and the operation of user, calculation amount is larger, causes terminal device to the place of user's operation
Manage low efficiency.
Summary of the invention
The selection method and terminal device for clicking element at terminal device interface provided in an embodiment of the present invention, for solving
When certainly in the prior art, to the operation of large-size screen monitors terminal device, all the elements on the screen of entire terminal device are carried out miniature
Screen is shown, and needs real-time synchronization real screen and the operation of user, and calculation amount is larger, cause terminal device to user
The lower problem of the treatment effeciency of operation.
First aspect present invention provides a kind of selection method for clicking element at terminal device interface, comprising:
Touch point of the user on the touch screen of the terminal device is obtained, and judges whether the touch point sets in advance
On the pointer set, the pointer includes pointer root and pointer body;
If on the pointer body, the coordinate of the touch point is determined according to the coordinate of the touch point for the touch point
The corresponding effective coordinate set for clicking element, and according to the coordinate of the touch point and effective coordinate set, it determines
First clicks element;Wherein, effective coordinate set includes the coordinate that at least one can click element, and effective coordinate
The vertical range that each of set can click coordinate to the sight line of element is less than pre-determined distance, and the sight line is the finger
The straight line or ray that crown portion and the touch point changing coordinates determine;
If detecting user's off screen, executes and click the corresponding operation of the first click element.
With reference to first aspect, described according to the touch point in the first possible embodiment of first aspect
Coordinate determines the corresponding effective coordinate set for clicking element of the coordinate of the touch point, and according to the coordinate of the touch point
With effective coordinate set, before determining the first click element, the method also includes:
If detecting, the touch point is moved on the touchscreen, using the pointer root as starting point, the touch point
Coordinate after change is that terminal repaints pointer body.
With reference to first aspect or the first possible embodiment of first aspect, second in first aspect are possible
In embodiment, the distance that each of described effective coordinate set can click coordinate to the pointer root of element is greater than institute
The coordinate of touch point is stated to the distance of the pointer root.
The possible embodiment of second with reference to first aspect, in the third possible embodiment of first aspect
In, the coordinate and effective coordinate set according to the touch point determines the first click element, comprising:
If including at least two coordinates that can click element in effective coordinate set, effective coordinate set is obtained
The click element nearest with the coordinate of the touch point clicks element as described first in conjunction;
If effective coordinate set only includes the coordinate that can click element, this can uniquely be clicked to element work
Element is clicked for described first.
With reference to first aspect, the first of first aspect is any one of to the third possible embodiment, first
In 4th kind of possible embodiment of aspect, after element is clicked in the determination first, the method also includes:
If detecting, the touch point is moved along the sight line close to the pointer root, according to the touch point
Coordinate after movement redefines the first click element;Wherein, it is mobile for the touch point that first redefined clicks element
It is nearest at a distance from the touch point to click element in the corresponding effective coordinate set of coordinate afterwards;
If detecting user's off screen, executes and click the corresponding operation of the first click element.
With reference to first aspect, the first of first aspect is any one of to the third possible embodiment, first
In 5th kind of possible embodiment of aspect, after element is clicked in the determination described first, the method also includes:
If detecting, the touch point is moved along the sight line far from the pointer root, is obtained second and is clicked member
Element, the second click element are in the corresponding effective coordinate set of coordinate after the touch point is mobile, with the touch point
Distance be greater than described first and click element with the touch point at a distance from, and it is first with described first to click the adjacent click of element
Element;
If detecting user's off screen, executes and click the corresponding operation of the second click element.
The 5th kind of possible embodiment with reference to first aspect, in the 6th kind of possible embodiment of first aspect
In, after element is clicked in the determination second, the method also includes:
If detecting again, the touch point is moved along the sight line close to the pointer root, is obtained thirdly
Element is hit, the third click element is in the corresponding effective coordinate set of coordinate after the touch point is mobile, with the touching
The distance touched a little is less than the second click element at a distance from the touch point, and the click member adjacent with the second click element
Element;
If detecting user's off screen, executes and click the corresponding operation of the third click element.
With reference to first aspect, the first of first aspect is any one of to possible embodiment in the 6th kind,
In 7th kind of possible embodiment of one side, after element is clicked in the determination described first, the method also includes:
The first click element is subjected to certain visual effects processing on the screen of the terminal device.
With reference to first aspect, in the 8th kind of possible embodiment of first aspect, if the touch point is in the finger
In crown portion, then the coordinate of the pointer root follows the coordinate of the touch point to change, until user's off screen is detected, with institute
Coordinate before stating touch point off screen is the coordinate of the pointer root, repaints finger according to the direction and length of default pointer body
Needle body.
Second aspect of the present invention provides a kind of terminal device, comprising:
Module is obtained, for obtaining touch point of the user on the touch screen of the terminal device;
Judgment module, for whether judging the touch point in pre-set pointer, the pointer includes pointer root
Portion and pointer body;
Processing module, if judging touch point in the pointer body, according to the touch for the judgment module
The coordinate of point determines the corresponding effective coordinate set for clicking element of the coordinate of the touch point, and according to the touch point
Coordinate and effective coordinate set, determine the first click element;Wherein, effective coordinate set includes that at least one can point
Hit the coordinate of element, and each of described effective coordinate set can click the vertical range of coordinate to the sight line of element and be less than
Pre-determined distance, the sight line are the pointer root straight line or ray determining with the coordinate of the touch point;
If the processing module is also used to detect user's off screen, executes and click the corresponding behaviour of the first click element
Make.
In conjunction with second aspect, in the first possible embodiment of second aspect, the processing module is according to
The coordinate of touch point determines the corresponding effective coordinate set for clicking element of the coordinate of the touch point, and according to the touch
The coordinate and effective coordinate set of point, before determining the first click element, the processing module is also used to:
If detecting, the touch point is moved on the touchscreen, using the pointer root as starting point, the touch point
Changing coordinates are that terminal repaints pointer body.
In conjunction with the possible embodiment of the first of second aspect or second aspect, second in second aspect is possible
In embodiment, each of effective coordinate set that the processing module determines can click the coordinate of element to the finger
The distance in crown portion is greater than the coordinate of the touch point to the distance of the pointer root.
In conjunction with second of possible embodiment of second aspect, in the third possible embodiment of second aspect
In, the processing module is specifically used for:
If including at least two coordinates that can click element in effective coordinate set, effective coordinate set is obtained
The click element nearest with the coordinate of the touch point clicks element as described first in conjunction;
If effective coordinate set only includes the coordinate that can click element, this can uniquely be clicked to element work
Element is clicked for described first.
In conjunction with second aspect, second aspect the first any one of to the third possible embodiment, second
In 4th kind of possible embodiment of aspect, after the processing module determines the first click element, it is also used to:
If detecting, the touch point is moved along the sight line close to the pointer root, according to the touch point
Coordinate after movement redefines the first click element;Wherein, it is the touch point that described first redefined, which clicks element,
It is nearest at a distance from the touch point to click element in the corresponding effective coordinate set of coordinate after movement;
If detecting user's off screen, executes and click the corresponding operation of the first click element.
In conjunction with second aspect, second aspect the first any one of to the third possible embodiment, second
In 5th kind of possible embodiment of aspect, after the processing module determines the first click element, it is also used to:
If detecting, the touch point is moved along the sight line far from the pointer root, is obtained second and is clicked member
Element, the second click element are in the corresponding effective coordinate set of coordinate after the touch point is mobile, with the touch point
Distance be greater than described first and click element with the touch point at a distance from, and it is first with described first to click the adjacent click of element
Element;
If detecting user's off screen, executes and click the corresponding operation of the second click element.
In conjunction with the 5th kind of possible embodiment of second aspect, in the 6th kind of possible embodiment of second aspect
In, after the processing module determines the second click element, it is also used to:
If detecting again, the touch point is moved along the sight line close to the pointer root, is obtained thirdly
Element is hit, the third click element is in the corresponding effective coordinate set of coordinate after the touch point is mobile, with the touching
The distance touched a little is less than the second click element at a distance from the touch point, and the click member adjacent with the second click element
Element;
If detecting user's off screen, executes and click the corresponding operation of the third click element.
In conjunction with second aspect, second aspect the first any one of to the 6th kind of possible embodiment, second
In 7th kind of possible embodiment of aspect, after the processing module determines the first click element, the processing mould
Block is also used to the first click element carrying out certain visual effects processing on the screen of the terminal device.
In conjunction with second aspect, in the 8th kind of possible embodiment of second aspect, the processing module is also used to: if
The judgment module judges that the touch point on the pointer root, then makes the coordinate of the pointer root follow the touching
The coordinate touched a little changes, and take the coordinate before the touch point off screen as the seat of the pointer root until detecting user's off screen
Mark, repaints pointer body according to the direction and length of default pointer body.
Third aspect present invention provides a kind of terminal device, comprising:
Touch screen, for obtaining touch point of the user on the touch screen of the terminal device;
Processor, for whether judging the touch point in pre-set pointer, the pointer includes pointer root
And pointer body;
If the processor is also used to judge touch point on the pointer body, the coordinate according to the touch point is true
The corresponding effective coordinate set for clicking element of coordinate of the fixed touch point, and according to the coordinate of the touch point and described
Effective coordinate set determines the first click element;Wherein, effective coordinate set includes the seat that at least one can click element
Mark, and each of described effective coordinate set can click the coordinate of element to sight line vertical range less than pre-determined distance,
The sight line is the pointer root straight line or ray determining with the coordinate of the touch point;
If the processor is also used to detect user's off screen, executes and click the corresponding behaviour of the first click element
Make.
In conjunction with the third aspect, in the first possible embodiment of the third aspect, the processor is according to the touching
It touches coordinate a little and determines the corresponding effective coordinate set for clicking element of the coordinate of the touch point, and according to the touch point
Coordinate and effective coordinate set, before determining the first click element, the processor is also used to:
If detecting, the touch point is moved on the touchscreen, using the pointer root as starting point, the touch point
Coordinate is that terminal repaints pointer body.
In conjunction with the possible embodiment of the first of the third aspect or the third aspect, second in the third aspect is possible
In embodiment, each of effective coordinate set that the processor determines can click the coordinate of element to the pointer
The distance of root is greater than the coordinate of the touch point to the distance of the pointer root.
In conjunction with second of possible embodiment of the third aspect, in the third possible embodiment of the third aspect
In, the processor is specifically used for:
If including at least two coordinates that can click element in effective coordinate set, effective coordinate set is obtained
The click element nearest with the coordinate of the touch point clicks element as described first in conjunction;
If effective coordinate set only includes the coordinate that can click element, this can uniquely be clicked to element work
Element is clicked for described first.
In conjunction with the third aspect, the third aspect the first any one of to the third possible embodiment, in third
In 4th kind of possible embodiment of aspect, after the processor determines the first click element, it is also used to:
If detecting, the touch point is moved along the sight line close to the pointer root, according to the touch point
Coordinate after movement redefines the first click element;Wherein, it is mobile for the touch point that first redefined clicks element
It is nearest at a distance from the touch point to click element in the corresponding effective coordinate set of coordinate afterwards;
If detecting user's off screen, executes and click the corresponding operation of the first click element.
In conjunction with the third aspect, the third aspect the first any one of to the third possible embodiment, in third
In 5th kind of possible embodiment of aspect, after the processor determines the first click element, it is also used to:
If detecting, the touch point is moved along the sight line far from the pointer root, is obtained second and is clicked member
Element, the second click element are in the corresponding effective coordinate set of coordinate after the touch point is mobile, with the touch point
Distance be greater than described first and click element with the touch point at a distance from, and it is first with described first to click the adjacent click of element
Element;
If detecting user's off screen, executes and click the corresponding operation of the second click element.
In conjunction with the 5th kind of possible embodiment of the third aspect, in the 6th kind of possible embodiment of the third aspect
In, after the processor determines the second click element, it is also used to:
If detecting again, the touch point is moved along the sight line close to the pointer root, is obtained thirdly
Element is hit, the third click element is in the corresponding effective coordinate set of coordinate after the touch point is mobile, with the touching
The distance touched a little is less than the second click element at a distance from the touch point, and the click member adjacent with the second click element
Element;
If detecting user's off screen, executes and click the corresponding operation of the third click element.
In conjunction with the third aspect, the third aspect the first any one of to the 6th kind of possible embodiment, in third
In 7th kind of possible embodiment of aspect, after the processor determines the first click element, the processor is also
For:
The first click element is subjected to certain visual effects processing on the screen of the terminal device.
In conjunction with the third aspect, in the 8th kind of possible embodiment of the third aspect, the processor is also used to: if sentencing
The disconnected touch point out then makes the coordinate of the pointer root that the coordinate of the touch point be followed to change on the pointer root
Become, take the coordinate before the touch point off screen as the coordinate of the pointer root, according to default finger until detecting user's off screen
The direction of needle body and length repaint pointer body.
The selection method and terminal device for clicking element at terminal device interface provided by the invention, by advance at end
Pointer is set on the screen of end equipment, when needing through the pointer operation terminal device, detect user touch point whether
On pre-set pointer, when touch point is on pointer body, then determine that the coordinate of touch point is corresponding according to the coordinate of touch point
Effective coordinate set of element can be clicked, and according to the coordinate of touch point and effective coordinate set, determines the first click member
Element detects user's off screen after determining the first click element, then executes click first and click the corresponding operation of element, pass through
Pointer body and touch point operate effectively the click element of the untouchable position of one hand of the bigger terminal device of screen, and
It only needs to carry out the element of clicking that operation is assured that out user's needs according to touch point and the position of pointer body in real time, it is real
Now to the operation of big screen equipment, compared to the prior art in the content shown on entire screen is scaled in real time, subtract significantly
The small calculation amount of system, effectively improves the treatment effeciency of terminal device.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the flow chart of the embodiment one of the selection method for clicking element at terminal device interface of the present invention;
Fig. 2 is the flow chart of the embodiment two of the selection method for clicking element at terminal device interface of the present invention;
Fig. 3 is the flow chart of the embodiment three of the selection method for clicking element at terminal device interface of the present invention;
Fig. 4 is the interaction figure of an example of the selection method for clicking element at terminal device interface of the present invention;
Fig. 5 is the rounding state schematic diagram when pointer at terminal device interface of the present invention is not used;
Fig. 6 is the use state diagram when pointer at terminal device interface of the present invention begins to use;
Fig. 7 is the structural schematic diagram of the embodiment one of terminal device of the present invention;
Fig. 8 is the structural schematic diagram of the embodiment three of terminal device of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Terminal device of the present invention includes the terminal device of mobile phone, plate and other touch screen, and the end
The interface of end equipment refers to any picture presented on screen, can be system desktop, can be the operation interface of application program,
Interface, any picture such as video clip, and the element of clicking on interface refers to meeting the one of two conditions on interface
Block bounded domain, condition is first is that the region has specific boundary line and boundary line system it is found that condition is second is that the region can respond
Contact action.Such as the application icon in system desktop, such as the button control etc. at application operating interface.
Fig. 1 is the flow chart of the embodiment one of the selection method for clicking element at terminal device interface of the present invention, is applicable in
In the touch screen operation of the biggish terminal device of various screens, as shown in Figure 1, the choosing for clicking element at the terminal device interface
The specific steps of selection method include:
S101: obtaining touch point of the user on the touch screen of the terminal device, and judge the touch point whether
On pre-set pointer, the pointer includes pointer root and pointer body.
In the present embodiment, this method proposes a system-level pointer shape tool, and the pre-set pointer is resident to be set
The standby whole service period from booting to shutdown, for choosing interface element, pointer root on any interface that screen is shown
It is arranged on screen frame line, root position can drag on any position of screen frame line, and pointer body is with pointer root
Length for starting point, pointer body can be set, and touch point is followed to change and change in operation.
When user operate to the touch screen of terminal device, user is obtained in the touch point of touch screen, and sentence
The touch point break whether on the pre-set pointer.
Specifically, terminal device collects the touch point coordinate of touch point, and obtain the institute on pre-set pointer body
Coordinate a little compares whether the touch point coordinate is that the coordinate of point or touch point are sat either one or two of on the pointer body
Mark is less than a certain range at a distance from point nearest with touch point on the pointer body, then it is assumed that the touch point is pre-set
On pointer body.
Wherein, the setting of the pointer can be and is just set before terminal device factory, pointer root is maintained at eventually
The screen frame line of end equipment;It is also possible to user when needing to operate using pointer, pointer root is set, with pointer root
Portion is starting point, touch point is that terminal draws pointer body, completes the setting of pointer body.
S102: if the touch point determines the touch point on the pointer body, according to the coordinate of the touch point
The corresponding effective coordinate set for clicking element of coordinate, and according to the coordinate of the touch point and effective coordinate set
It closes, determines the first click element.
In the present embodiment, if detecting the touch point of user on the pointer body of pointer, then it is assumed that user will be by this
Pre-set pointer is operated, and detects that the touch point is moved on the touchscreen in terminal device, i.e. the seat of touch point
Mark changes, then using the pointer root as starting point, the coordinate after the change of the touch point is that terminal repaints pointer
Body visually observes the change in location that user's operation makes touch point, touch point is mobile to drive the pointer body to rotate, i.e.,
The touch point is maintained in the process of moving on the pointer body.
Particularly, effective coordinate set includes the coordinate that at least one can click element, and effective coordinate set
The vertical range that each of conjunction can click coordinate to the sight line of element is less than pre-determined distance, and the sight line is the pointer
The straight line or ray that the coordinate of root and the touch point determines;Preferably element is clicked in effective coordinate set
Coordinate can be centre coordinate, i.e., directly by the vertical range of each centre coordinate for clicking element to sight line come really
Element is clicked in fixed effective coordinate set.
The sight line is determined by pointer root and touch point, can is the ray originated from pointer root, be extended to screen
Edge is also possible to the straight line that crown portion and touch point determine, extends to screen edge, in operation, which can
To be displayed on the screen so that user adjusts position, can also not shown on the screen being handled from the background, to this
Invention is with no restriction.
Preferably, the vertical range that each of effective coordinate set can click element to sight line is less than pre-set
First distance, and the distance that each of described effective coordinate set can click element to the pointer root is greater than the touching
Coordinate a little is touched to the distance of the pointer root, i.e., is user for the element of clicking between touch point and pointer root
It can directly touch, can not be selected through the above way.
Terminal device detects the coordinate of touch point, and according to the coordinate of the current touch point and it is corresponding it is all can
Element is clicked, an effective coordinate set is established, and is further determined according to the coordinate of touch point and effective coordinate set
The coordinate of current touch point corresponding first clicks element out.
S103: it if detecting user's off screen, executes and clicks the corresponding operation of the first click element.
In the present embodiment, it if after determining the first click element, if detecting the direct off screen of user, does not carry out
Others operation then will click on the corresponding operation of the first click element and execute as user's operation to be carried out.
Preferably, each moment in the whole process can determine in real time at least one first click element, one
As in the case of terminal device can by determine first click element specific visual effect is carried out on the screen of terminal device
Processing, such as: the first click element is highlighted, changes color, the visual effects such as the first click element jump are made, so as to
It is that family can recognize currently choose for which element, it is determined whether clicks element as target for described first and clicks and is first
Element.The mode of detection user's off screen all schemes can realize according to prior art, such as: can't detect touch point,
Or processor receives the modes such as off screen message, with no restrictions to this application.
The selection method for clicking element at terminal device interface provided in this embodiment, by pre-set pointer come
To operating for terminal device, specifically, when touch point is on the pointer body of pointer, according to touch during subsequent operation
The coordinate of point determines the corresponding effective coordinate set of the coordinate of touch point, and combines the coordinate of effective coordinate set and touch point
Determine the first click element, it is considered to be what user to be selected clicks element, if detecting after determining the first click element
User's off screen, then executing click, this first clicks the corresponding operation of element, by the pointer body and touch point of pointer effective
The click element of the untouchable position of one hand of the bigger terminal device of operation display, and only need in real time according to touch point
The operation clicked element, realize to big screen equipment that operation is assured that out user's needs is carried out with the position of pointer body,
The content shown on entire screen is scaled in real time in compared to the prior art, the calculation amount of system is substantially reduced, mentions
The high treatment effeciency of terminal device.
Fig. 2 is the flow chart of the embodiment two of the selection method for clicking element at terminal device interface of the present invention, such as Fig. 2
It is shown, it is on the basis of the above embodiments, small with the vertical range of the sight line on the screen for obtaining the terminal device
In all center position coordinates for clicking element of pre-determined distance, and it is big therefrom to obtain all distances to the pointer root
The coordinate for clicking element of distance in changing coordinates to the pointer root of the touch point is gathered, as described
After the corresponding effective coordinate set of the changing coordinates of touch point, coordinate according to the touch point in step S102 and
Effective coordinate set determines the first click element, implements step are as follows:
S201: it if in effective coordinate set including at least two coordinates that can click element, obtains described effective
The click element nearest with the coordinate of the touch point clicks element as described first in coordinate set.
In the present embodiment, every in set of computations when having multiple coordinates for clicking element in effective coordinate set
It is a click element to touch point distance, using wherein apart from touch point changing coordinates it is nearest click element as first point
Element is hit, that is, be considered as the desired selection of the corresponding user in the touch point clicks element.
Wherein, each of effective coordinate set can click element to pointer body root and the touch point current location
The vertical range of determining straight line (i.e. sight line) is less than pre-set first distance, and every in effective coordinate set
The distance of a root to the pointer body of clicking element is greater than the current location of the touch point to the root of the pointer body
The distance in portion.
S202: if effective coordinate set only includes the coordinate that can click element, this can uniquely be clicked
Element clicks element as described first.
In the present embodiment, when only one in effective coordinate set can click the coordinate of element, this is directly selected
Element can be clicked as first and click element.
In addition, in the above-described embodiment, after determining the first click element, clicking element in the terminal device for first
Screen on carry out certain visual effects processing so that user determine whether using it is described first click element as target click
Element.Specific mode can be the arbitrary modes such as highlighted, floating, with no restriction to this.
The selection method for clicking element at terminal device interface provided in this embodiment, by pre-set pointer come
To operating for terminal device, specifically, when touch point is on pointer body, touch point moving process during subsequent operation
The middle coordinate according to touch point determines the corresponding effective coordinate set of the coordinate of touch point, and in effective coordinate set
It obtains first nearest with the coordinate distance of touch point and clicks element, and carry out special visual effect processing, it is considered to be user
What is selected clicks element, if detecting user's off screen after determining the first click element, then executes this first point of click
The corresponding operation of element is hit, the one hand for operating effectively the bigger terminal device of screen by pointer and touch point is untouchable
The click element of position, and only need to carry out operation according to touch point and the position of pointer body in real time to be assured that out user
What is needed clicks element, realizes the operation to big screen equipment, compared to the prior art in the content that will be shown on entire screen
It is scaled in real time, substantially reduces the calculation amount of system, improve the treatment effeciency of terminal device, save the interior of terminal device
Deposit resource.
Fig. 3 is the flow chart of the embodiment three of the selection method for clicking element at terminal device interface of the present invention, such as Fig. 3
Shown, based on any of the above embodiments, the coordinate according to the touch point in step S102 determines the touch point
The corresponding effective coordinate set for clicking element of coordinate, and according to the coordinate of the touch point and effective coordinate set
Close, after determining the first click element, if having directly detected user's off screen, execute click this first click element it is corresponding
Operation, if not detecting user's off screen but continuing to move to, implements step are as follows:
S301: if detecting, the touch point is moved along the sight line close to the pointer root, according to
Coordinate after touch point is mobile, redefines the first click element;Wherein, it is the touch that first redefined, which clicks element,
It is nearest at a distance from the touch point to click element in the corresponding effective coordinate set of coordinate after point is mobile.
In the present embodiment, on the basis of previous embodiment one and embodiment two, after element is clicked in confirmation first, touching
It touches and is a little moved along sight line by near pointer root, be then that corresponding effective seat is redefined according to coordinate of the touch point after mobile
Mark set and first clicks element, and specific implementation reference implementation example two, details are not described herein.
Step is directly executed if detecting that the touch point is moved along the sight line far from the pointer root
S303。
S302: it if detecting user's off screen, executes and clicks the corresponding operation of the first click element.
In the present embodiment, described first element is clicked as before according to the touch point off screen for this is redefined
What coordinate determined clicks element, and executes first redefined described in click and click the corresponding operation of element.
S303: if detecting, the touch point is moved along the sight line far from the pointer root, obtains second
Click element, described second, which clicks element, is in the corresponding effective coordinate set of coordinate after the touch point is mobile, and described
The distance of touch point is greater than described first and clicks element at a distance from the touch point, and adjacent with the first click element
Click element.
In the present embodiment, the non-off screen of user is determined in terminal device, but move along sight line far from pointer root
When, then from the corresponding effective coordinate set of coordinate after the corresponding effective coordinate set of the first click element or touch point movement
In, it obtains next click element on pointer instruction direction adjacent with the first click element and clicks element as second,
Distance first clicks the nearest click element of element i.e. in original effective coordinate set, by the second click member after determining
Element carries out special visual effect processing, so that user determines that is whether needed clicks element.
S304: it if detecting user's off screen, executes and clicks the corresponding operation of the second click element.
In the present embodiment, element is clicked as the use determined according to the position before the touch point off screen using described second
What family to be selected clicks element, and executes and click the corresponding operation of the second click element.
If again without detecting user's off screen, and touch point is also in movement after determining the second click element, if
It is not to be moved along boresight direction shown in pointer body, then is determined in the way of in embodiment one and embodiment two,
If being moved along sight line far from pointer body root, then continued to execute according to step S303 and S304 step;If along taking aim at
Directrix is mobile close to pointer body root, then continues to execute according to step S305 and S306 step.
S305: if detecting again, the touch point is moved along the sight line close to the pointer root, is obtained
Third clicks element, and the third is clicked in the corresponding effective coordinate set of coordinate after element moves for the touch point, with
The distance of the touch point is less than described second and clicks element at a distance from the touch point, and adjacent with the second click element
Click element.
In the present embodiment, if after determining the second click element, user's off screen is not detected still, but touch point
Coordinate when being moved along sight line by near pointer root, then after the effective coordinate set obtained from above or touch point movement
In corresponding effective coordinate set, next point in the opposite direction of pointer instruction adjacent with the second click element is obtained
Element is hit as third and clicks element, i.e., clicks point of the element at a distance from touch point less than second at a distance from the touch point
Element is hit, the third is clicked into element after determining and carries out special visual effect processing, so that whether user's determination needs to grasp
The movement of work.
S306: it if detecting user's off screen, executes and clicks the corresponding operation of the third click element.
In the present embodiment, determine third click element after, if detecting user's off screen, using third click element as
Element is clicked according to the target that the position before the off screen of touch point determines to execute.
If user's off screen is not detected still, and touch point is also in movement, if not along shown in pointer body
Boresight direction is mobile, then is determined in the way of in embodiment one and embodiment two, if along sight line far from finger
Crown portion is mobile, then continues to execute according to step S303 and S304 step;If being moved along sight line by near pointer root, then
It is continued to execute according to step S305 and S306 step.
The selection method for clicking element at terminal device interface provided in this embodiment, by pre-set pointer come
To operating for terminal device, specifically, when touch point is on pointer body, according to the seat of touch point during subsequent operation
Mark, determines the corresponding effective coordinate set of the coordinate of touch point, and acquisition is current with touch point in effective coordinate set
The first nearest click element of positional distance, and carry out special visual effect processing, it is considered to be user's operation to be selected, if
After determining the first click element, detects the non-off screen of user and touch point continues to move to, then redefine in the manner described above
First, which clicks element or the second click element or third click element, then executes final selection until detecting user's off screen
To click element, pass through pointer body and touch point operate effectively the bigger terminal device of screen one hand it is untouchable
The click element of position, and only need to carry out operation according to touch point and the position of pointer body in real time to be assured that out user
What is needed clicks element, realizes the operation to big screen equipment, compared to the prior art in the content that will be shown on entire screen
It is scaled in real time, substantially reduces the calculation amount of system, saved the memory source of processing time and terminal device, effectively mention
The treatment effeciency of high terminal device, in addition the program is the scheme of a system, be can be adapted on the screen on terminal device
The operation at any interface of display, practicability is extensive, effectively increases the convenience of large-size screen monitors terminal device.
Based on any of the above embodiments, below with the input of terminal device (i.e. touch screen), processor and output
For (display screen), citing is described in detail technical solution of the present invention.
The terminal device is under open state, the coordinate of processor reading pointer root, using default if not
Coordinate changes if reading root coordinate, use new root coordinate, by the pointer body of pointer with root coordinate be end
End, the top layer of terminal device display screen figure layer is shown according to default direction and default-length, and how sharp lower mask body is introduced
The selection scheme for clicking element at terminal device interface is realized with pre-set pointer.
Fig. 4 is the interaction figure of an example of the selection method for clicking element at terminal device interface of the present invention, above-mentioned
On the basis of embodiment one to embodiment three, as shown in figure 4, the selection method for clicking element at terminal device interface is specific
Implementation are as follows:
S401: the coordinate of the touch point of user is sent to processor by touch screen.
In the present embodiment, touch screen is used as input to detect the touch that user starts touch operation, will test immediately
The coordinate (for the initial coordinate of touch point) of point is sent to processor.
S402: whether processor judges the touch point on the pointer body according to the coordinate of touch point.
In the present embodiment, processor according to the coordinate of touch point judge the lower touch point whether pointer pointer body
On, if it is judged that being touch point not on pointer body, then it is assumed that user will carry out other operation, then according in the prior art
Processing mode continue to execute.
If the touch point, on the pointer root, the coordinate of the pointer root follows the coordinate of the touch point
Change, take the coordinate before the touch point off screen as the coordinate of the pointer root, according to default until detecting user's off screen
The direction of pointer body and length repaint pointer body, i.e., if touch point is in pointer root, then it is assumed that user needs movement to refer to
The position of needle moves pointer root with the movement of touch point, until off screen, with the coordinate of finally determining pointer root
For starting point, the length in preset direction and pointer body repaints pointer body, so that user operates.
S403: if touch point, on the pointer body, processor completes the instruction of pointer volume drawing, so that band is moved in touch point
Dynamic pointer body rotation and drafting.
In the present embodiment, if touch point is detected on pointer body, from pointer root coordinate toward the current of touch point
Coordinate real-time rendering pointer body, guarantee pointer body length be long enough that touch point is maintained on pointer body, this step be embody
The movement that contact drives pointer body to rotate around pointer root.
Particularly, rounding state schematic diagram when Fig. 5 is not used for the pointer at terminal device interface of the present invention, Fig. 6 are this
The use state diagram when pointer at invention terminal device interface begins to use, as shown in Figure 5 and Figure 6, white box in figure
It indicates to click element on interface, the dotted line in Fig. 6 indicates that sight line, pointer are used from unused state shown in fig. 5 is past
The conversion of state, screen touch point fall on pointer body (pointer body is at present on screen frame line) not off screen, toward screen center
Sliding, then pointer body is rotated in the case where touch point drives around pointer root, is contact in image as opening jackknife " opening "
Originally it (is a fixed point, because on pointer body that the pointer body collapsed, which is then on the screen by starting point of pointer root in system,
Contact only drives pointer body to rotate around root, and pointer root will not be moved), pointer body is constantly redrawn to touch point direction, guarantees touching
It touches between the arrow for being a little always positioned at pointer and pointer root.Pointer body once turns to the screen frame for leaving original place
Line switchs to use state from unused state.
S404: touch screen real-time detection touch point, and the coordinate of the touch point is sent to processor.
In the present embodiment, show that touch point drives pointer body, then track touch point variation, the coordinate touch point is real-time
Be transmitted to processor.
S405: processor according to the corresponding effective coordinate set of coordinate that the coordinate of touch point obtains the touch point, and
First is obtained from effective coordinate set clicks element.
In the present embodiment, touch point drives in pointer rotary course, checks whether pointer body has on straight line in real time
Interface can click the geometric center of element, obtain all geometric centers pointer interface element set on straight line.
Preferably, the straight line where being geometric center (i.e. centre coordinate) and pointer body indicated on straight line in pointer body
Vertical range be less than in the range of pre-set first distance it is all click element, and those can be clicked in element
New set is carried out with click element of the touch point at a distance from pointer root is greater than at a distance from pointer root, forms touch point
The corresponding effective coordinate set of coordinate.
Further, obtain that distance in effective coordinate set is nearest with a distance from touch point to click element as first
Click element.
Optionally, if the effective coordinate set obtained is empty set, element can not clicked by, which showing, is selected;If containing one
A coordinate for clicking element, this can click element and just be used as the first click element.
S406: processor completes first and clicks element idsplay order, so that selected first clicks element on a display screen
It is shown by certain visual effects.
S407: touch screen detects user's off screen, and sends off screen message to processor.
In the present embodiment, the mode of touch screen detection user's off screen is specifically with no restrictions.
S408: processor receives off screen message, and will acquire first clicks element as target and click element execution.
In the present embodiment, if touch screen detects at user's off screen and notice after the first click element has been determined
Device is managed, then processor, which executes, clicks the corresponding operation of the first click element.
S409: processor instruction display screen shows the interface after the first click element execution, so that user continues to operate.
In the present embodiment, when pointer is in use state, user drag pointer body on touch point drive pointer body around
The rotation of pointer root.In pointer body rotary course, the geometric center that can click element is located at straight line where pointer body (this straight line is
Pure geometrical concept is realized without coding)
Particularly, the geometric center that can click element is located at element on the connecting line of touch point and pointer root any
In the case of will not all be selected.This dvielement is in user and touches in range, can directly be chosen with traditional approach.
If there is multiple elements geometric center simultaneously pointer body institute on straight line, initially aim at where the pointer body
The nearest element in linear distance touch point is chosen.If user wants to choose next element of farther place, not off screen can be kept,
Along pointer body to the direction far from pointer root, elapsing the touch point on pointer body is more than a certain threshold values (such as 200 pixels),
Chosen element is also changing into next element farther from pointer root therewith.Similar, it can also be with touch point along pointer body
Same threshold values is elapsed to the direction by near pointer root, and chosen element is also changing into closer from pointer root next therewith
Element.
If touch point on pointer body can click element chosen (at most only one element of any moment is selected having
It is fixed) when off screen, chosen elements equivalent is in being clicked (operation triggered when i.e. the element is clicked in triggering);If on pointer body
Screen side (is close in touch point off screen when that can not click element and be selected, home position when pointer resets to unused state
Wire).
Particularly, after step S406, if not detecting user's off screen, and detect that touch point is mobile, and detect
Moving direction to touch point is that the moving direction of touch point and moving distance are transmitted to processing along straight line where pointer body
Device.
If the moving distance of touch point be more than specified threshold, and obtain effective coordinate set include it is more than one can point
Element is hit, then selected click element becomes (when moving direction is the root far from pointer) farther from touch point or closer (shifting
When dynamic direction is proximate to pointer root) next click element.I.e. multiple geometric centers for clicking element are in pointer institute
When conllinear on straight line, user extrapolates along pointer body or touch point of furthering, and selects these that can click farther from touch point in element
Next element of (when extrapolation) or closer (when furthering).
Particularly, in all embodiments of the invention, when pointer body rotation or contact move along pointer body cause to have it is new
Can click element it is chosen when, it is originally chosen click element and cancel special visual effect show, can point by what is newly selected
Element is hit to carry out special visual effect processing and show.
In addition, in one possible implementation, the touch screen and the display screen be can integrate as same device,
The integrating device has the function of to obtain touch location and interface display function.
One example of the selection method for clicking element at terminal device interface provided in this embodiment, when touch point is referring to
When on needle body, according to the position of touch point during subsequent operation, the corresponding effective coordinate set of the coordinate of touch point is determined,
And obtain first nearest with the coordinate distance of touch point in effective coordinate set and click element, and highlighted, recognized
To be user's operation to be selected, if detecting the non-off screen of user after determining the first click element and touch point continuing to move
It is dynamic, then the first click element or the second click element are redefined in the manner described above or third clicks element, until detecting
User's off screen then executes final target and clicks element, operates effectively the bigger terminal of screen by pointer and touch point
The click element of the untouchable position of one hand of equipment, and only need to be transported according to the position of touch point and pointer body in real time
The operation clicked element, realize to big screen equipment for being assured that out that user needs is calculated, the program is the side of a system
Case can be adapted for the operation at any interface shown on the screen on terminal device, and practicability is extensive, effectively increases large-size screen monitors
The convenience of terminal device, and compared to the prior art in the content shown on entire screen is scaled in real time, significantly
The calculation amount for reducing system saves space-time expense, improves the treatment effeciency of terminal device.
Optionally, in embodiment shown in any in Fig. 1 to Fig. 4, it is contemplated that the inexactness of finger movement can be used
The function of geometry ray " automatic calibration ", that is, identify in the geometry for clicking element nearest from geometry ray in screen plane
The heart, once the geometric center is less than a certain threshold values (such as 50 pixels) with a distance from geometry ray, geometry ray can be automatic
It does micro offset and precisely aligns the geometric center of element.User only needs through the touch point rotating pointer body on pointer body,
It is substantially aligned with and is intended to selected and clicks element geometric center, the geometry sight line where pointer body can be allowed to precisely align element
Geometric center.
Fig. 7 is the structural schematic diagram of the embodiment one of terminal device of the present invention, as shown in fig. 7, the terminal device 10, including
Obtain module 11, judgment module 12 and processing module 13;
Module 11 is obtained, for obtaining touch point of the user on the touch screen of the terminal device;
Judgment module 12, for whether judging the touch point in pre-set pointer, the pointer includes pointer
Root and pointer body;
Processing module 13, if judging touch point in the pointer body, according to for the judgment module 12
The real-time coordinates of touch point determine the corresponding effective coordinate set for clicking element of the changing coordinates of the touch point, and according to
The changing coordinates of the touch point and effective coordinate set, determine the first click element;Wherein, effective coordinate set
The centre coordinate of element can be clicked including at least one, and each of described effective coordinate set can click the center seat of element
The vertical range for marking sight line is less than pre-determined distance, and the sight line is the pointer root and the touch point changing coordinates
Determining straight line or ray;
If the processing module 13 is also used to detect user's off screen, it is corresponding to execute click the first click element
Operation.
Terminal device provided in this embodiment is used to execute the technical solution of embodiment of the method shown in FIG. 1, realizes former
Reason is similar with technical effect, passes through pointer and touch point operates effectively the singlehanded untouchable of the bigger terminal device of screen
The click element of position, and only need to carry out operation according to touch point and the position of pointer body in real time to be assured that out user
What is needed clicks element, realizes the operation to big screen equipment, compared to the prior art in the content that will be shown on entire screen
It is scaled in real time, substantially reduces the calculation amount of system, effectively improve the treatment effeciency of terminal device.
In the embodiment two of terminal device of the present invention, on the basis of the above embodiment 1, the processing module 13
The corresponding effective coordinate set for clicking element of the coordinate of the touch point is determined according to the coordinate of the touch point, and according to institute
The coordinate and effective coordinate set of touch point are stated, before determining the first click element, the processing module 13 is also used to:
If detecting, the coordinate of the touch point changes on the touchscreen, using the pointer root as starting point, the touching
The changing coordinates touched a little are that terminal repaints pointer body.
Optionally, the coordinate that each of effective coordinate set that the processing module 13 determines can click element arrives
The distance of the pointer root is greater than the coordinate of the touch point to the distance of the pointer root.
Optionally, the processing module 13 is specifically used for:
If including at least two coordinates that can click element in effective coordinate set, effective coordinate set is obtained
The click element nearest with the coordinate of the touch point clicks element as described first in conjunction;
If effective coordinate set only includes the coordinate that can click element, this can uniquely be clicked to element work
Element is clicked for described first.
Optionally, it after the processing module 13 determines the first click element, is also used to:
If detecting, the touch point is moved along the sight line close to the pointer root, according to the touch point
Coordinate after movement redefines the first click element;Wherein, it is mobile for the touch point that first redefined clicks element
It is nearest at a distance from the touch point to click element in the corresponding effective coordinate set of coordinate afterwards;
If detecting user's off screen, executes and click the corresponding operation of the first click element.
Optionally, it after the processing module 13 determines the first click element, is also used to:
If detecting, the touch point is moved along the sight line far from the pointer root, is obtained second and is clicked member
Element, the second click element are in the corresponding effective coordinate set of coordinate after the touch point is mobile, with the touch point
Distance be greater than described first and click element with the touch point at a distance from, and it is first with described first to click the adjacent click of element
Element;
If detecting user's off screen, executes and click the corresponding operation of the second click element.
Optionally, it after the processing module 13 determines the second click element, is also used to:
If detecting again, the touch point is moved along the sight line close to the pointer root, is obtained thirdly
Element is hit, the third click element is in the corresponding effective coordinate set of coordinate after the touch point is mobile, with the touching
The distance touched a little is less than the second click element at a distance from the touch point, and the click member adjacent with the second click element
Element;
If detecting user's off screen, executes and click the corresponding operation of the third click element.
Optionally, the processing module 13 determine described first click element after, the processing module 13 be also used to by
The first click element carries out certain visual effects processing on the screen of the terminal device.
Optionally, the processing module 13 is also used to: if the judgment module 12 judges the touch point in the finger
In crown portion, then the coordinate for making the coordinate of the pointer root follow the touch point changes, until detect user's off screen, with
Coordinate before the touch point off screen is the coordinate of the pointer root, is repainted according to the direction and length of default pointer body
Pointer body.
Terminal device provided in this embodiment, for execute Fig. 1-6 it is any shown in embodiment of the method technical solution,
The realization principle and technical effect are similar, can refer to preceding method embodiment, details are not described herein.
Fig. 8 is the structural schematic diagram of the embodiment three of terminal device of the present invention, terminal device 20 provided by the invention, packet
It includes: touch screen 21 and processor 22.Specifically,
Touch screen 21, for obtaining touch point of the user on the touch screen of the terminal device;
Processor 22, for whether judging the touch point in pre-set pointer, the pointer includes pointer root
Portion and pointer body;
If the processor 22 is also used to judge touch point on the pointer body, according to the coordinate of the touch point
Determine the corresponding effective coordinate set for clicking element of the coordinate of the touch point, and according to the coordinate of the touch point and institute
Effective coordinate set is stated, determines the first click element;Wherein, effective coordinate set includes that at least one can click element
Coordinate, and each of the described effective coordinate set vertical range that can click the coordinate of element to sight line be less than it is default away from
From the sight line is the pointer root straight line or ray determining with the coordinate of the touch point;
If the processor 22 is also used to detect user's off screen, executes and click the corresponding behaviour of the first click element
Make.
Terminal device provided in this embodiment is used to execute the technical solution of embodiment of the method shown in FIG. 1, realizes former
Reason is similar with technical effect, passes through pointer body and touch point operates effectively the singlehanded unreachable of the bigger terminal device of screen
Position click element, and only need to carry out operation according to touch point and the position of pointer body in real time to be assured that out and use
What family needed clicks element, realizes the operation to big screen equipment, compared to the prior art in will be shown on entire screen in
Appearance is scaled in real time, is substantially reduced the calculation amount of system, is saved space-time expense.
In the example IV of terminal device of the present invention, on the basis of above-described embodiment three, 22 basis of processor
The coordinate of the touch point determines the corresponding effective coordinate set for clicking element of the coordinate of the touch point, and according to described
The coordinate of touch point and effective coordinate set, before determining the first click element, the processor 22 is also used to:
If detecting, the coordinate of the touch point changes on the touchscreen, using the pointer root as starting point, the touching
The coordinate touched a little is that terminal repaints pointer body.
Optionally, each of effective coordinate set that the processor 22 determines can click the coordinate of element to institute
The distance for stating pointer root is greater than the coordinate of the touch point to the distance of the pointer root.
Optionally, the processor 22 is specifically used for:
If including at least two coordinates that can click element in effective coordinate set, effective coordinate set is obtained
The click element nearest with the coordinate of the touch point clicks element as described first in conjunction;
If effective coordinate set only includes the coordinate that can click element, this can uniquely be clicked to element work
Element is clicked for described first.
Optionally, it after the processor 22 determines the first click element, is also used to:
If detecting, the touch point is moved along the sight line close to the pointer root, according to the touch point
Coordinate after movement redefines the first click element;Wherein, it is mobile for the touch point that first redefined clicks element
It is nearest at a distance from the touch point to click element in the corresponding effective coordinate set of coordinate afterwards;
If detecting user's off screen, executes and click the corresponding operation of the first click element.
Optionally, it after the processor 22 determines the first click element, is also used to:
If detecting, the touch point is moved along the sight line far from the pointer root, is obtained second and is clicked member
Element, the second click element are in the corresponding effective coordinate set of coordinate after the touch point is mobile, with the touch point
Distance be greater than described first and click element with the touch point at a distance from, and it is first with described first to click the adjacent click of element
Element;
If detecting user's off screen, executes and click the corresponding operation of the second click element.
Optionally, it after the processor 22 determines the second click element, is also used to:
If detecting again, the touch point is moved along the sight line close to the pointer root, is obtained thirdly
Element is hit, the third click element is in the corresponding effective coordinate set of coordinate after the touch point is mobile, with the touching
The distance touched a little is less than the second click element at a distance from the touch point, and the click member adjacent with the second click element
Element;
If detecting user's off screen, executes and click the corresponding operation of the third click element.
Optionally, after the processor 22 determines the first click element, the processor 22 is also used to:
The first click element is subjected to certain visual effects processing on the screen of the terminal device.
Optionally, the processor 22 is also used to: if judging the touch point on the pointer root, being made described
The coordinate of pointer root follows the coordinate of the touch point to change, until user's off screen is detected, before the touch point off screen
Coordinate be the pointer root coordinate, repaint pointer body according to the direction and length of default pointer body.
Terminal device provided in this embodiment, for execute Fig. 1-6 it is any shown in embodiment of the method technical solution,
The realization principle and technical effect are similar, can refer to preceding method embodiment, details are not described herein.
Further, in the embodiment three and example IV of above-mentioned terminal device, it should be appreciated that the processor 12 can be
Central processing unit (Central Processing Unit, abbreviation CPU), can also be other general processors, digital signal
Processor (Digital Signal Processor, abbreviation DSP), specific integrated circuit (Application Specific
Integrated Circuit, abbreviation ASIC), ready-made programmable gate array (Field-Programmable Gate Array,
Abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components etc..It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..Each step in embodiment of the method
Suddenly it can be completed by the integrated logic circuit of the hardware in terminal device or the instruction of software form.Implement in conjunction with the present invention
The step of method disclosed in example, can be embodied directly in hardware processor and execute completion, or with hardware in processor and soft
Part block combiner executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only storage
In the storage medium of this fields such as device or electrically erasable programmable memory, register maturation.The storage medium is located at storage
The step of device, processor reads the information in memory, completes the above method in conjunction with its hardware.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light
The various media that can store program code such as disk.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (30)
1. a kind of selection method for clicking element at terminal device interface characterized by comprising
Touch point of the user on the touch screen of the terminal device is obtained, and judges the touch point whether pre-set
On pointer, the pointer includes pointer root and pointer body;
If the touch point determines that the coordinate pair of the touch point is answered on the pointer body, according to the coordinate of the touch point
The effective coordinate set for clicking element determine first and according to the coordinate of the touch point and effective coordinate set
Click element;Wherein, effective coordinate set includes the coordinate that at least one can click element, and effective coordinate set
Each of can click the coordinate of element to sight line vertical range be less than pre-determined distance, the sight line is the pointer root
The straight line or ray that the coordinate of portion and the touch point determines;
If detecting user's off screen, executes and click the corresponding operation of the first click element;
The coordinate according to the touch point determines the corresponding effective coordinate set for clicking element of the coordinate of the touch point
It closes, and according to the coordinate of the touch point and effective coordinate set, before determining the first click element, the method is also wrapped
It includes:
If detecting, the touch point is moved on the touchscreen, using the pointer root as starting point, the change of the touch point
Coordinate afterwards is that terminal repaints pointer body.
2. the method according to claim 1, wherein each of described effective coordinate set can click element
The distance of coordinate to the pointer root is greater than the coordinate of the touch point to the distance of the pointer root.
3. according to the method described in claim 2, it is characterized in that, the coordinate and effective seat according to the touch point
Mark set, determines the first click element, comprising:
If including at least two coordinates that can click element in effective coordinate set, obtain in effective coordinate set
Nearest element of clicking clicks element as described first with the coordinate of the touch point;
If effective coordinate set only includes the coordinate that can click element, this can uniquely be clicked to element as institute
State the first click element.
4. method according to claim 1-3, which is characterized in that after element is clicked in the determination first, institute
State method further include:
If detecting, the touch point is moved along the sight line close to the pointer root, mobile according to the touch point
Coordinate afterwards redefines the first click element;Wherein, it is after the touch point is mobile that first redefined, which clicks element,
It is nearest at a distance from the touch point to click element in the corresponding effective coordinate set of coordinate;
If detecting user's off screen, executes and click the corresponding operation of the first click element.
5. method according to claim 1-3, which is characterized in that the determination described first click element it
Afterwards, the method also includes:
If detecting, the touch point is moved along the sight line far from the pointer root, is obtained second and is clicked element,
Described second clicks element is in the corresponding effective coordinate set of coordinate after the touch point is mobile, with the touch point away from
Element is clicked at a distance from the touch point from being greater than described first, and the click element adjacent with the first click element;
If detecting user's off screen, executes and click the corresponding operation of the second click element.
6. according to the method described in claim 5, it is characterized in that, the method is also after the click element of the determination second
Include:
If detecting again, the touch point is moved along the sight line close to the pointer root, is obtained third and is clicked member
Element, the third click element are in the corresponding effective coordinate set of coordinate after the touch point is mobile, with the touch point
Distance be less than described second and click element with the touch point at a distance from, and with the second adjacent click element of click element;
If detecting user's off screen, executes and click the corresponding operation of the third click element.
7. according to claim 1, method described in 2,3 or 6, which is characterized in that after element is clicked in the determination described first,
The method also includes:
The first click element is subjected to certain visual effects processing on the screen of the terminal device.
8. according to the method described in claim 4, it is characterized in that, the determination it is described first click element after, the side
Method further include:
The first click element is subjected to certain visual effects processing on the screen of the terminal device.
9. according to the method described in claim 5, it is characterized in that, the determination it is described first click element after, the side
Method further include:
The first click element is subjected to certain visual effects processing on the screen of the terminal device.
10. the method according to claim 1, wherein the method also includes:
If the touch point, on the pointer root, the coordinate of the pointer root follows the coordinate of the touch point to change
Become, take the coordinate before the touch point off screen as the coordinate of the pointer root, according to default finger until detecting user's off screen
The direction of needle body and length repaint pointer body.
11. a kind of terminal device characterized by comprising
Module is obtained, for obtaining touch point of the user on the touch screen of the terminal device;
Judgment module, for judge the touch point whether in pre-set pointer, the pointer include pointer root and
Pointer body;
Processing module, if judging touch point in the pointer body, according to the touch point for the judgment module
Coordinate determines the corresponding effective coordinate set for clicking element of the coordinate of the touch point, and according to the coordinate of the touch point
With effective coordinate set, the first click element is determined;Wherein, effective coordinate set includes that at least one can click member
The coordinate of element, and each of the described effective coordinate set vertical range that can click the coordinate of element to sight line is less than and presets
Distance, the sight line are the pointer root straight line or ray determining with the coordinate of the touch point;
If the processing module is also used to detect user's off screen, executes and click the corresponding operation of the first click element;
The processing module determines that the coordinate of the touch point is corresponding according to the coordinate of the touch point and clicks having for element
Coordinate set is imitated, and according to the coordinate of the touch point and effective coordinate set, it is described before determining the first click element
Processing module is also used to:
If detecting, the touch point is moved on the touchscreen, using the pointer root as starting point, the touch point it is current
Coordinate is that terminal repaints pointer body.
12. terminal device according to claim 11, which is characterized in that effective coordinate that the processing module determines
The distance that each of set can click the coordinate of element to the pointer root is greater than the coordinate of the touch point to the finger
The distance in crown portion.
13. terminal device according to claim 12, which is characterized in that the processing module is specifically used for:
If including at least two coordinates that can click element in effective coordinate set, obtain in effective coordinate set
Nearest element of clicking clicks element as described first with the coordinate of the touch point;
If effective coordinate set only includes the coordinate that can click element, this can uniquely be clicked to element as institute
State the first click element.
14. the described in any item terminal devices of 1-13 according to claim 1, which is characterized in that the processing module determines first
After clicking element, it is also used to:
If detecting, the touch point is moved along the sight line close to the pointer root, mobile according to the touch point
Coordinate afterwards redefines the first click element;Wherein, it is after the touch point is mobile that first redefined, which clicks element,
It is nearest at a distance from the touch point to click element in the corresponding effective coordinate set of coordinate;
If detecting user's off screen, executes and click the corresponding operation of the first click element.
15. the described in any item terminal devices of 1-13 according to claim 1, which is characterized in that described in the processing module determines
After first clicks element, it is also used to:
If detecting, the touch point is moved along the sight line far from the pointer root, is obtained second and is clicked element,
Described second clicks element is in the corresponding effective coordinate set of coordinate after the touch point is mobile, with the touch point away from
Element is clicked at a distance from the touch point from being greater than described first, and the click element adjacent with the first click element;
If detecting user's off screen, executes and click the corresponding operation of the second click element.
16. terminal device according to claim 15, which is characterized in that the processing module determine the second click element it
Afterwards, it is also used to:
If detecting again, the touch point is moved along the sight line close to the pointer root, is obtained third and is clicked member
Element, the third click element are in the corresponding effective coordinate set of coordinate after the touch point is mobile, with the touch point
Distance be less than described second and click element with the touch point at a distance from, and with the second adjacent click element of click element;
If detecting user's off screen, executes and click the corresponding operation of the third click element.
17. terminal device described in 1,12,13 or 16 according to claim 1, which is characterized in that described in the processing module determines
After first clicks element, the processing module is also used to click element for described first enterprising in the screen of the terminal device
The processing of row certain visual effects.
18. terminal device according to claim 14, which is characterized in that the processing module determines that described first clicks member
After element, the processing module is also used to the first click element carrying out particular visual on the screen of the terminal device
Effect process.
19. terminal device according to claim 15, which is characterized in that the processing module determines that described first clicks member
After element, the processing module is also used to the first click element carrying out particular visual on the screen of the terminal device
Effect process.
20. terminal device according to claim 11, which is characterized in that the processing module is also used to: if the judgement
Module judges that the touch point on the pointer root, then makes the coordinate of the pointer root follow the seat of the touch point
Mark changes, and take the coordinate before the touch point off screen as the coordinate of the pointer root, according to pre- until detecting user's off screen
If the direction of pointer body and length repaint pointer body.
21. a kind of terminal device characterized by comprising
Touch screen, for obtaining touch point of the user on the touch screen of the terminal device;
Processor, for whether judging the touch point in pre-set pointer, the pointer includes pointer root and refers to
Needle body;
If the processor is also used to judge touch point on the pointer body, institute is determined according to the coordinate of the touch point
State the corresponding effective coordinate set for clicking element of coordinate of touch point, and according to the coordinate of the touch point and it is described effectively
Coordinate set determines the first click element;Wherein, effective coordinate set includes the coordinate that at least one can click element,
And the vertical range that each of described effective coordinate set can click the coordinate of element to sight line is less than pre-determined distance, it is described
Sight line is the pointer root straight line or ray determining with the coordinate of the touch point;
If the processor is also used to detect user's off screen, executes and click the corresponding operation of the first click element;
The processor determines that the coordinate of the touch point is corresponding according to the coordinate of the touch point and clicks the effective of element
Coordinate set, and according to the coordinate of the touch point and effective coordinate set, before determining the first click element, the place
Reason device is also used to:
If detecting, the touch point is moved on the touchscreen, using the pointer root as starting point, the coordinate of the touch point
Pointer body is repainted for terminal.
22. terminal device according to claim 21, which is characterized in that effective coordinate set that the processor determines
The distance that each of conjunction can click the coordinate of element to the pointer root is greater than the coordinate of the touch point to the pointer
The distance of root.
23. terminal device according to claim 22, which is characterized in that the processor is specifically used for:
If including at least two coordinates that can click element in effective coordinate set, obtain in effective coordinate set
Nearest element of clicking clicks element as described first with the coordinate of the touch point;
If effective coordinate set only includes the coordinate that can click element, this can uniquely be clicked to element as institute
State the first click element.
24. according to the described in any item terminal devices of claim 21-23, which is characterized in that the processor determines at first point
It hits after element, is also used to:
If detecting, the touch point is moved along the sight line close to the pointer root, mobile according to the touch point
Coordinate afterwards redefines the first click element;Wherein, it is after the touch point is mobile that first redefined, which clicks element,
It is nearest at a distance from the touch point to click element in the corresponding effective coordinate set of coordinate;
If detecting user's off screen, executes and click the corresponding operation of the first click element.
25. according to the described in any item terminal devices of claim 21-23, which is characterized in that the processor determines described
After one clicks element, it is also used to:
If detecting, the touch point is moved along the sight line far from the pointer root, is obtained second and is clicked element,
Described second clicks element is in the corresponding effective coordinate set of coordinate after the touch point is mobile, with the touch point away from
Element is clicked at a distance from the touch point from being greater than described first, and the click element adjacent with the first click element;
If detecting user's off screen, executes and click the corresponding operation of the second click element.
26. terminal device according to claim 25, which is characterized in that the processor determine the second click element it
Afterwards, it is also used to:
If detecting again, the touch point is moved along the sight line close to the pointer root, is obtained third and is clicked member
Element, the third click element are in the corresponding effective coordinate set of coordinate after the touch point is mobile, with the touch point
Distance be less than described second and click element with the touch point at a distance from, and with the second adjacent click element of click element;
If detecting user's off screen, executes and click the corresponding operation of the third click element.
27. according to terminal device described in claim 21,22,23 or 26, which is characterized in that the processor determines described
After one clicks element, the processor is also used to:
The first click element is subjected to certain visual effects processing on the screen of the terminal device.
28. terminal device according to claim 24, which is characterized in that the processor determines that described first clicks element
Later, the processor is also used to:
The first click element is subjected to certain visual effects processing on the screen of the terminal device.
29. terminal device according to claim 25, which is characterized in that the processor determines that described first clicks element
Later, the processor is also used to:
The first click element is subjected to certain visual effects processing on the screen of the terminal device.
30. terminal device according to claim 21, which is characterized in that the processor is also used to:
If judging, the touch point on the pointer root, makes the coordinate of the pointer root follow the touch point
Coordinate changes, and take the coordinate before the touch point off screen as the coordinate of the pointer root until detecting user's off screen, according to
The direction of default pointer body and length repaint pointer body.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410713582.8A CN105653177B (en) | 2014-11-27 | 2014-11-27 | The selection method and terminal device for clicking element at terminal device interface |
PCT/CN2015/094943 WO2016082712A1 (en) | 2014-11-27 | 2015-11-18 | Method for selecting clickable element on interface of terminal device and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410713582.8A CN105653177B (en) | 2014-11-27 | 2014-11-27 | The selection method and terminal device for clicking element at terminal device interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105653177A CN105653177A (en) | 2016-06-08 |
CN105653177B true CN105653177B (en) | 2019-07-19 |
Family
ID=56073599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410713582.8A Active CN105653177B (en) | 2014-11-27 | 2014-11-27 | The selection method and terminal device for clicking element at terminal device interface |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105653177B (en) |
WO (1) | WO2016082712A1 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109766502B (en) * | 2018-12-13 | 2024-03-22 | 平安普惠企业管理有限公司 | Page improvement method, page improvement device, computer equipment and storage medium |
CN109375866B (en) * | 2018-12-27 | 2021-12-28 | 广州市久邦数码科技有限公司 | Screen touch click response method and system for realizing same |
CN111078044B (en) * | 2019-11-22 | 2024-02-02 | 深圳传音控股股份有限公司 | Terminal interaction method, terminal and computer storage medium |
CN112199756A (en) * | 2020-10-30 | 2021-01-08 | 久瓴(江苏)数字智能科技有限公司 | Method and device for automatically determining distance between straight lines |
CN112799759B (en) * | 2021-01-21 | 2024-05-24 | 惠州Tcl移动通信有限公司 | Parameter adjusting method, intelligent terminal and computer readable storage medium |
CN113311982A (en) * | 2021-05-25 | 2021-08-27 | 维沃移动通信有限公司 | Information selection method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101086696A (en) * | 2007-06-27 | 2007-12-12 | 中兴通讯股份有限公司 | Interface focus object selection method |
CN102662511A (en) * | 2012-03-24 | 2012-09-12 | 上海量明科技发展有限公司 | Method and terminal for carrying out control operation through touch screen |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101673154B (en) * | 2008-09-10 | 2012-11-21 | 鸿富锦精密工业(深圳)有限公司 | Regional selection method based on touch screen |
CN105159562A (en) * | 2012-03-31 | 2015-12-16 | 北京奇虎科技有限公司 | User interface based operation trigger method and apparatus and terminal device |
-
2014
- 2014-11-27 CN CN201410713582.8A patent/CN105653177B/en active Active
-
2015
- 2015-11-18 WO PCT/CN2015/094943 patent/WO2016082712A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101086696A (en) * | 2007-06-27 | 2007-12-12 | 中兴通讯股份有限公司 | Interface focus object selection method |
CN102662511A (en) * | 2012-03-24 | 2012-09-12 | 上海量明科技发展有限公司 | Method and terminal for carrying out control operation through touch screen |
Also Published As
Publication number | Publication date |
---|---|
CN105653177A (en) | 2016-06-08 |
WO2016082712A1 (en) | 2016-06-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105653177B (en) | The selection method and terminal device for clicking element at terminal device interface | |
US12056341B2 (en) | Method, apparatus, and terminal for processing notification information | |
US20150205507A1 (en) | Terminal and interface operation management method | |
CN103513912B (en) | A kind of interface switching method and device | |
US8542199B2 (en) | Image processing apparatus, image processing method, and program | |
EP3683666A1 (en) | Floating action button display method and terminal device | |
US20170293421A1 (en) | Interface Display Method and Apparatus | |
CN103092524A (en) | Method for realizing screenshot through touch screen and mobile terminal | |
US10082947B2 (en) | Information processing device, information processing method, and information processing program | |
JP2012048325A (en) | Information processing device, control method of the same, program and storage medium | |
WO2016045445A1 (en) | Target position positioning method and device thereof based on touch screen | |
US20180046366A1 (en) | Method for processing user interface of terminal, user interface, and terminal | |
AU2019440748B2 (en) | Method, device and apparatus for controlling touch operation mode, and storage medium | |
US9377944B2 (en) | Information processing device, information processing method, and information processing program | |
US20180152622A1 (en) | Mobile terminal-based photographing method and mobile terminal | |
CN103809853A (en) | Information processing method and electronic device | |
WO2017113665A1 (en) | Display region adjusting method and device | |
US20130239069A1 (en) | Control method for mobile device using setting pattern and mobile device | |
KR20140133072A (en) | Mobile device and method for operating the same | |
CN105511764A (en) | Method and device for moving page of terminal, and terminal | |
TWI607369B (en) | System and method for adjusting image display | |
CN105373292A (en) | Desktop editing method and device | |
WO2017161753A1 (en) | Screen switching method and apparatus for electronic device | |
CN113434068A (en) | Control method and device for suspension shortcut menu, electronic equipment and storage medium | |
US10324617B2 (en) | Operation control method and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province Applicant after: Huawei Device Co., Ltd. Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province Applicant before: HUAWEI terminal (Dongguan) Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |