CN103176632B - terminal and locating method - Google Patents
terminal and locating method Download PDFInfo
- Publication number
- CN103176632B CN103176632B CN201110432186.4A CN201110432186A CN103176632B CN 103176632 B CN103176632 B CN 103176632B CN 201110432186 A CN201110432186 A CN 201110432186A CN 103176632 B CN103176632 B CN 103176632B
- Authority
- CN
- China
- Prior art keywords
- terminal
- scaling
- touch
- user
- touch location
- 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
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a terminal which is provided with an induction touching device and comprises a collecting module, a locating module, a judging module and a zooming processing module. The collecting module is used for collecting locating operation sensed by the induction touching device. The locating module is used for locating a to-be-located object on the terminal according to the locating operation. The judging module is used for judging whether the induction touching device induces zooming operation when the induction touching device induces the location operation. The zooming processing module is used for zooming the to-be-located object under the condition that the judged result of the judging module is positive and according to a preset zooming ratio. Correspondingly, the invention provides a locating method. According to the technical scheme, accurate location of the to-be-located object can be easily achieved through a simple and convenient operation method and the fact that the accuracy of the locating operation is limited due to the size of a screen of the terminal is avoided.
Description
Technical field
The present invention relates to location technology, in particular to a kind of terminal and a kind of localization method.
Background technology
In the related, for the positioning action on touch screen terminal, if to navigate to certain coordinate in application interface
Point, needs to go forward side by side line slip operation to position by single-touch screen.But because touch apparatus are in user's single-point contact and cunning
There is error to the calculating of coordinate when dynamic, often cannot realize being accurately positioned.There is also can first to the object of needs positioning
The scheme that operation is positioned again is amplified, but this can cause operating process to become loaded down with trivial details, and the operation of user cannot link up
Carry out.
Accordingly, it would be desirable to a kind of new location technology, easily can be realized to object to be positioned with easy mode of operation
It is accurately positioned, it is to avoid due to the size of terminal screen, limit the accuracy of positioning action.
The content of the invention
The present invention is based on the problems referred to above, it is proposed that a kind of new location technology, can be with easy mode of operation, gently
Strobilus Pini is existing to be accurately positioned to object to be positioned, it is to avoid due to the size of terminal screen, limit the accuracy of positioning action.
In view of this, the present invention proposes a kind of terminal, with sensing touch apparatus, including:Acquisition module, collection is described
The positioning action that sensing touch apparatus are sensed;Locating module, it is right according to the positioning action that the acquisition module is collected
Object to be positioned in the terminal is positioned;Judge module, judges that the sensing touch apparatus are sensing the positioning
While operation, if sensed zoom operations;Scaling processing module, in the feelings that the judged result of the judge module is yes
Under condition, the object to be positioned is zoomed in and out according to default scaling.In the technical scheme, object bag to be positioned
Include:In the progress bar of the application program in terminal, such as e-book reading program, the currently displaying part of every e-book accounts for always
The ratio regular meeting of length shows that for another example video player is playing video by way of progress bar on the screen of terminal
When, also the percentage ratio of reproduction time can be shown on screen, then user can be carried out by the progress bar to being similar to
Positioning, so as to by the content of perhaps other application programs in the content of e-book, the broadcasting of video position to user wish read,
Viewing carries out other parts for operating, and such as directly positions to 59.8% or from 3 minutes of video from 7.4% part of e-book
Place is directly positioned to 50 points at 30 seconds.Additionally, except progress bar, object to be positioned can also be the display object of application program,
It is the homologous thread of time and numerical value such as stock certificate data, can be by positioning to certain time point, so as to observe correspondence
Stock certificate data.But due to the size of terminal screen it is limited, when user is positioned, such as using finger terminal screen
On clicked on, because the contact area of finger and screen covers progress bar or the multiple data on curve data, it is impossible to really
The concrete data to be selected of user are determined, so as to cause terminal not accurate enough for distinguishing for the positioning action of user.Therefore, it is right
In the terminal that can support multi-point touch, can be when user carries out positioning action using a bit, whether there is multi-point touch
For Rule of judgment, when there is multi-point touch, corresponding object to be positioned is amplified, so that when user positions, with
The data that the contact surface of terminal screen is covered are reduced.Meanwhile, user is often clicked in positioning using finger or touch screen instrument
Dragged after terminal screen, if after object to be positioned is amplified, when dragging same distance, inswept data also can be reduced,
So as to improve the precision of positioning.
In above-mentioned technical proposal, it is preferable that also include:Precision processing module, in the scaling processing module to described
When object to be positioned is zoomed in and out, change the degree of regulation of the object to be positioned.In the technical scheme, except to be positioned
Outside object is zoomed in and out, the degree of regulation of object to be positioned can also be changed simultaneously.The progress for such as showing originally
The numerical range of bar is 0 to 5000, and minimal adjustment distance is 50, after being amplified, the numerical range of display be changed into 2000 to
3000, minimal adjustment distance is 50, before amplification, for a user, although minimal adjustment distance is 50, but actual location
Shi Keneng is difficult to accomplish with 50 as unit to be adjusted, it may only be possible to enough using 100 as actual minimal adjustment distance, and is amplifying
Afterwards, then because user is in the case of mobile same distance, inswept less numerical value on screen, thus be able to may realize
It is adjusted and positions using 50 as actual minimal adjustment distance;And if while improve degree of regulation, such as by minimal adjustment
Distance is changed to 10, because when degree of regulation is not changed, user may can be actually actual minimal adjustment according to 10
Distance is adjusted, thus by the raising to degree of regulation, and user obviously can realize more accurately positioning action.
In above-mentioned technical proposal, it is preferable that also include:Acquisition module, obtains the zoom operations and touches in the sensing
The first touch location on equipment is touched, and records motion path, the direction of motion and the move distance of first touch location;Than
Example processing module, the motion path and default first path phase of first touch location obtained in the acquisition module
In the case of matching somebody with somebody, the direction of motion and/or move distance of first touch location obtained according to the acquisition module change
The scaling that the scaling processing module is adopted.In the technical scheme, when there is multiple point touching, to be positioned right
As zoom in and out and/or precision change, wherein, for the concrete ratio of scaling, Autonomous Control can be carried out by user, and control
The mode of system includes being moved according to default path on the screen of terminal using the object such as finger for producing multiple point touching,
When such as being clicked on a progress bar using first finger and being moved, can be positioned, while using second finger
Click on a terminal screen, produce multiple point touching, now terminal is zoomed in and out according to default scaling, is such as amplified to
300%, then second finger moved according to default path in terminal, when such as to left movement, reduce scaling,
When moving right, scaling is improved, and the concrete numerical value for reducing or improving scaling is determined according to the distance of motion, such as
Often move 5mm and then correspond to the scaling for changing 10%.Similarly, for the change of degree of regulation, it is clear that also can be by with
Family carries out manual regulation, and such mode has a lot, such as carry out the regulation to precision and control using the 3rd finger, or
It is while being adjusted to scaling, degree of regulation to be controlled.
In above-mentioned technical proposal, it is preferable that also include:Display module, in the terminal enlarged display area is shown,
And zoom in and out the display of process to the object to be positioned in the enlarged display area.In the technical scheme, except inciting somebody to action
Outside object to be positioned is integrally amplified, can also be by delimiting a region, i.e. enlarged display area in terminal, and at this
Show the scaling process to object to be positioned in region, the shape of enlarged display area here, size, on a terminal screen
Position etc. obviously can carry out sets itself by user.And in this region, the part that only user can positioned
Region is shown, and other incoherent regions then need not be shown.
In above-mentioned technical proposal, it is preferable that the acquisition module is additionally operable to:The positioning action is obtained in the terminal
On the second touch location, and record motion path, the direction of motion and the move distance of second touch location;The scaling
Processing module is additionally operable to:The motion path of second touch location obtained in the acquisition module and default second path
In the case of matching, the object to be positioned is zoomed in and out;And the ratio processing module is additionally operable to:According to described
The direction of motion of two touch locations and/or move distance change the ratio that the scaling processing module is zoomed in and out.In the technology
In scheme, except the utilization to multiple point touching technology, under single-touch, the process for position fixing process can be equally realized.
Such as when user is clicked on a progress bar using finger and moved along the direction of progress bar, can be positioned, this
When, moving direction is usually left and right directions, then may be set in finger carry out above-below direction it is mobile when, to object to be positioned such as
Progress bar herein is zoomed in and out, wherein being amplified process when moving up, diminution process, and root is carried out when moving down
According to the distance apart from initial point, it is determined that the ratio for zooming in or out.After the completion of zooming in and out and processing, such as the finger of user to
On move 5mm, progress bar is amplified to into 300%, then user need further positioning action when, then be new with current position
Starting point, moved left and right, progress bar is positioned.Certainly, if progress bar is above-below direction, it is clear that can define
Finger is moved in left and right directions, is zoomed in and out, or any other directions different from moving direction during positioning.
According to another aspect of the invention, it is also proposed that a kind of localization method, for the terminal with sensing touch apparatus,
Including:Step 202, gathers the positioning action that the sensing touch apparatus are sensed, and according to the positioning action, to the end
Object to be positioned on end is positioned;Step 204, if the sensing touch apparatus are sensing the same of the positioning action
When, sensed zoom operations, then the object to be positioned is zoomed in and out according to default scaling.In the technical scheme
In, object to be positioned includes:In the progress bar of the application program in terminal, such as e-book reading program, every e-book
Currently displaying part is accounted for the ratio regular meeting of total length and is shown on the screen of terminal by way of progress bar, for another example video
The percentage ratio of reproduction time also can be shown player then user can pass through right when video is played on screen
Similar progress bar is positioned, so as to the content of perhaps other application programs in the content of e-book, the broadcasting of video be determined
Parts of other operations are wished to read, watch or carry out in position to user, such as from 7.4% part of e-book directly position to
59.8% directly positions to 50 points at 30 seconds from 3 minutes of video.Additionally, except progress bar, object to be positioned can be with
It is the display object of application program, such as, for stock certificate data, is the homologous thread of time and numerical value, can be by positioning to certain
Individual time point, so as to observe corresponding stock certificate data.But due to the size of terminal screen it is limited, when user is positioned, than
Such as clicked on the screen of terminal using finger, because the contact area of finger and screen covers progress bar or curve number
According to upper multiple data, it is impossible to the concrete data to be selected of user are determined, so as to cause terminal for the positioning action of user
Distinguish not accurate enough.Therefore, for the terminal that can support multi-point touch, positioning action can be carried out using any in user
When, whether there is multi-point touch as Rule of judgment, when there is multi-point touch, corresponding object to be positioned is amplified,
So that when user positions, reducing with the data that the contact surface of terminal screen is covered.Meanwhile, user positioning when, often
Clicked on using finger or touch screen instrument and dragged after terminal screen, if after object to be positioned is amplified, dragging same distance
When, inswept data also can be reduced, so as to improve the precision of positioning.
In above-mentioned technical proposal, it is preferable that also include:When zooming in and out to the object to be positioned, change described
The degree of regulation of object to be positioned.In the technical scheme, in addition to zooming in and out to object to be positioned, can also be while right
The degree of regulation of object to be positioned is changed.The numerical range of the progress bar for such as showing originally is 0 to 5000, minimal adjustment
Distance is 50, and after being amplified, the numerical range of display is changed into 2000 to 3000, and minimal adjustment distance is 50, in amplification
Before, for a user, although minimal adjustment distance is 50, but may be difficult to accomplish with 50 as unit to be adjusted during actual location
Section, it may only be possible to enough using 100 as actual minimal adjustment distance, and after zooming, then because user is in mobile same distance
In the case of, inswept less numerical value on screen, thus can may realize using 50 being carried out as actual minimal adjustment distance
Adjust and position;And if while improve degree of regulation, such as minimal adjustment distance is changed to into 10, due to do not changing adjust essence
When spending, user actually can may be adjusted according to 10 for actual minimal adjustment distance, thus by adjusting essence
The raising of degree, user obviously can realize more accurately positioning action.
In above-mentioned technical proposal, it is preferable that the step 204 also includes:The zoom operations are obtained in the sensing
The first touch location on touch apparatus, if the motion path of first touch location matches with default first path,
Then the scaling is changed according to the direction of motion and/or move distance of first touch location.In the technical scheme,
Occur multiple point touching when, object to be positioned is zoomed in and out and/or precision change, wherein, for scaling concrete ratio,
Autonomous Control can be carried out by user, and the mode for controlling is included using screen of the object such as finger in terminal for producing multiple point touching
Curtain is upper to be moved according to default path, such as using first finger click on a progress bar and when moving, can be with
Positioned, while clicking on a terminal screen using second finger, produced multiple point touching, now terminal is according to default contracting
The ratio of putting is zoomed in and out, and is such as amplified to 300%, and then second finger is moved in terminal according to default path, such as
During to left movement, reduce scaling, when moving right, improve scaling, and according to motion distance determine reduce or
The concrete numerical value of scaling is improved, the scaling for changing 10% is corresponded to if often moving 5mm.Similarly, it is smart for adjusting
The change of degree, it is clear that also can be that manual regulation is carried out by user, such mode has a lot, such as using the 3rd finger
The regulation to precision and control are carried out, or while being adjusted to scaling, degree of regulation is controlled.
In above-mentioned technical proposal, it is preferable that the step 204 also includes:Show that amplification shows in the terminal
Area, and the display of process is zoomed in and out to the object to be positioned in the enlarged display area.In the technical scheme, except
Outside object to be positioned is integrally amplified, can also by terminal delimit a region, i.e. enlarged display area, and
Show the scaling process to object to be positioned in the region, the shape of enlarged display area here, size, on a terminal screen
Position etc. obviously sets itself can be carried out by user.And in this region, the portion that only user can positioned
Subregion is shown, and other incoherent regions then need not be shown.
In above-mentioned technical proposal, it is preferable that also include:Obtain second touch of the positioning action in the terminal
Position, if the motion path of second touch location matches with default second path, enters to the object to be positioned
Row scaling, and the direction of motion according to second touch location and/or move distance change the ratio of scaling.In the technical side
In case, except the utilization to multiple point touching technology, under single-touch, the process for position fixing process can be equally realized.Than
Such as when user is clicked on a progress bar using finger and moved along the direction of progress bar, can be positioned, now,
Moving direction is usually left and right directions, then may be set in finger carry out above-below direction it is mobile when, it is such to object to be positioned
The progress bar at place is zoomed in and out, wherein be amplified process when moving up, carries out diminution process when moving down, and according to
Apart from the distance of initial point, it is determined that the ratio for zooming in or out.After the completion of process is zoomed in and out, such as the finger of user is upwards
5mm is moved, progress bar is amplified to into 300%, be then then new with current position when user needs further positioning action
Starting point, is moved left and right, and progress bar is positioned.Certainly, if progress bar is above-below direction, it is clear that handss can be defined
Refer in left and right directions movement, zoom in and out, or any other directions different from moving direction during positioning.
By above technical scheme, can easily realize being accurately positioned object to be positioned with easy mode of operation,
The size due to terminal screen is avoided, the accuracy of positioning action is limited.
Description of the drawings
Fig. 1 shows the block diagram of terminal according to an embodiment of the invention;
Fig. 2 shows the flow chart of localization method according to an embodiment of the invention;
Fig. 3 shows the particular flow sheet of the method for being positioned to progress bar according to an embodiment of the invention;
Fig. 4 A to Fig. 4 E show the schematic diagram of the method for being positioned to progress bar according to an embodiment of the invention.
Specific embodiment
It is below in conjunction with the accompanying drawings and concrete real in order to be more clearly understood that the above objects, features and advantages of the present invention
Apply mode to be further described in detail the present invention.
Many details are elaborated in the following description in order to fully understand the present invention, but, the present invention may be used also
Implemented with being different from other modes described here using other, therefore, the present invention is not limited to following public concrete reality
Apply the restriction of example.
Fig. 1 shows the block diagram of terminal according to an embodiment of the invention.
As shown in figure 1, terminal 100 according to an embodiment of the invention, with sensing touch apparatus, including:Acquisition module
102, the positioning action that collection sensing touch apparatus are sensed;Locating module 104, according to the positioning that acquisition module 102 is collected
Operation, positions to the object to be positioned in terminal 100;Judge module 106, judges that sensing touch apparatus are sensing positioning
While operation, if sensed zoom operations;Scaling processing module 108, is yes in the judged result of judge module 106
In the case of, object to be positioned is zoomed in and out according to default scaling.In the technical scheme, object to be positioned includes:
In the progress bar of the application program in terminal 100, such as e-book reading program, the currently displaying part of every e-book accounts for always
The ratio regular meeting of length shows that for another example video player is being played by way of progress bar on the screen of terminal 100
During video, also the percentage ratio of reproduction time can be shown on screen, then user can be by the progress bar to being similar to
Positioned, wished so as to the content of perhaps other application programs in the content of e-book, the broadcasting of video is positioned to user
The part of other operations is read, watched or carried out, is such as directly positioned to 59.8% or from video from 7.4% part of e-book
Directly position at 3 minutes to 50 points at 30 seconds.Additionally, except progress bar, object to be positioned can also be the display of application program
Object, such as, for stock certificate data, be the homologous thread of time and numerical value, can be by positioning to certain time point, so as to see
Survey corresponding stock certificate data.But due to the size of the screen of terminal 100 it is limited, when user is positioned, such as using finger
Clicked on the screen of terminal 100, because the contact area of finger and screen is covered on progress bar or curve data
Multiple data, it is impossible to the concrete data to be selected of user are determined, so as to cause the distinguishing for the positioning action of user of terminal 100
It is not inaccurate enough.Therefore, for the terminal 100 that can support multi-point touch, positioning action can be carried out using any in user
When, whether there is multi-point touch as Rule of judgment, when there is multi-point touch, corresponding object to be positioned is amplified,
So that when user positions, reducing with the data that the contact surface of the screen of terminal 100 is covered.Meanwhile, user positioning when,
Dragged after the screen that terminal 100 is often clicked on using finger or touch screen instrument, if after object to be positioned is amplified, dragging
During same distance, inswept data also can be reduced, so as to improve the precision of positioning.
In above-mentioned technical proposal, also include:Precision processing module 110, in scaling processing module 108 to object to be positioned
When zooming in and out, change the degree of regulation of object to be positioned.In the technical scheme, except zooming in and out it to object to be positioned
Outward, the degree of regulation of object to be positioned can also be changed simultaneously.The numerical range of the progress bar for such as showing originally is 0
To 5000, minimal adjustment distance is 50, and after being amplified, the numerical range of display is changed into 2000 to 3000, minimal adjustment away from
From for 50, before amplification, for a user, although minimal adjustment distance is 50, but may be difficult to accomplish during actual location
Be adjusted with 50 as unit, it may only be possible to enough using 100 as actual minimal adjustment distance, and after zooming, then due to
Family in the case of mobile same distance, inswept less numerical value on screen, thus be able to may realize using 50 as actually
Minimal adjustment distance is adjusted and positions;And if while improve degree of regulation, such as minimal adjustment distance is changed to into 10, by
In when degree of regulation is not changed, user actually can may be adjusted according to 10 for actual minimal adjustment distance,
Thus by the raising to degree of regulation, user obviously can realize more accurately positioning action.
In above-mentioned technical proposal, also include:Acquisition module 112, obtains the of zoom operations on sensing touch apparatus
One touch location, and record motion path, the direction of motion and the move distance of the first touch location;Ratio processing module 114,
In the case that the motion path of the first touch location that acquisition module 112 is obtained matches with default first path, according to obtaining
The direction of motion and/or move distance of the first touch location that delivery block 112 is obtained changes the contracting that scaling processing module 108 is adopted
Put ratio.In the technical scheme, occur multiple point touching when, object to be positioned is zoomed in and out and/or precision change, its
In, for the concrete ratio of scaling, Autonomous Control can be carried out by user, and the mode for controlling is included using generation multiple point touching
Object moved according to default path on the screen of terminal 100 such as finger, such as clicked on using first finger
On progress bar and when moving, can be positioned, while being clicked on the screen of terminal 100 using second finger, be produced
Multiple point touching is given birth to, now terminal 100 is zoomed in and out according to default scaling, is such as amplified to 300%, then second finger
Moved according to default path on the terminal 100, when such as to left movement, reduced scaling, when moving right, improved contracting
Ratio is put, and the concrete numerical value for reducing or improving scaling is determined according to the distance of motion, corresponded to if often moving 5mm and change
Become 10% scaling.Similarly, for the change of degree of regulation, it is clear that also can be to carry out manual regulation by user,
Such mode has a lot, such as carry out the regulation to precision and control using the 3rd finger, or scaling is being entered
While row is adjusted, degree of regulation is controlled.
In above-mentioned technical proposal, also include:Display module 116, shows on the terminal 100 enlarged display area, and
The display of process is zoomed in and out in enlarged display area to object to be positioned.In the technical scheme, except object to be positioned is whole
Outside body is amplified, by delimiting a region, i.e. enlarged display area on the terminal 100, and can also show in the region
Scaling process to object to be positioned is shown, the shape of enlarged display area here, size, position on a terminal screen etc. are aobvious
So sets itself can be carried out by user.And in this region, the subregion that only can be being positioned to user is carried out
Show, and other incoherent regions then need not be shown.
In above-mentioned technical proposal, acquisition module 112 is additionally operable to:Obtain positioning action the second touch on the terminal 100
Position, and record motion path, the direction of motion and the move distance of the second touch location;Scaling processing module 108 is additionally operable to:
In the case that the motion path of the second touch location that acquisition module 112 is obtained matches with default second path, to undetermined
Position object is zoomed in and out;And ratio processing module 114 is additionally operable to:The direction of motion and/or motion according to the second touch location
Distance changes the ratio that scaling processing module 108 is zoomed in and out.In the technical scheme, except the profit to multiple point touching technology
With under single-touch, can equally realizing the process for position fixing process.Such as click on progress bar using finger in user
When upper and along progress bar direction moves, can be positioned, now, moving direction is usually left and right directions, then may be used
Be set in finger carry out above-below direction it is mobile when, object to be positioned such as progress bar herein is zoomed in and out, wherein upwards
Be amplified processs when mobile, diminution process carried out when moving down, and according to the distance apart from initial point, it is determined that amplification or
Reduced scale.After the completion of process is zoomed in and out, such as the finger of user has moved up 5mm, and progress bar is amplified to
300%, then then it is new starting point with current position when user needs further positioning action, moved left and right, to entering
Degree bar is positioned.Certainly, if progress bar is above-below direction, it is clear that finger can be defined and moved in left and right directions, be contracted
Put, or any other directions different from moving direction during positioning.
Fig. 2 shows the flow chart of localization method according to an embodiment of the invention.
As shown in Fig. 2 localization method according to an embodiment of the invention, for the terminal with sensing touch apparatus, bag
Include:Step 202, the positioning action that collection sensing touch apparatus are sensed, and according to positioning action, to be positioned right in terminal
As being positioned;Step 204, if sensing touch apparatus have sensed zoom operations while positioning action is sensed, then presses
Object to be positioned is zoomed in and out according to default scaling.In the technical scheme, object to be positioned includes:Answering in terminal
With the progress bar of program, such as in e-book reading program, the currently displaying part of every e-book accounts for the ratio regular meeting of total length
Shown on the screen of terminal by way of progress bar, for another example video player, also can be by when video is played
The percentage ratio of reproduction time is shown that then user can be positioned by the progress bar to being similar on screen, so as to incite somebody to action
The content of perhaps other application programs positions to user and wishes to read, watch or carry out in the content of e-book, the broadcasting of video
The part of other operations, such as directly positions to 59.8% from 7.4% part of e-book or directly positions from 3 minutes of video
To 50 points at 30 seconds.Additionally, except progress bar, object to be positioned can also be the display object of application program, such as stock
Ticket data, is the homologous thread of time and numerical value, can be by positioning to certain time point, so as to observe the corresponding number of share of stock
According to.But because the size of terminal screen is limited, when user is positioned, such as carried out a little on the screen of terminal using finger
Hit, because the contact area of finger and screen covers progress bar or the multiple data on curve data, it is impossible to determine that user has
Body data to be selected, so as to cause terminal not accurate enough for distinguishing for the positioning action of user.Therefore, for can prop up
The terminal of multi-point touch is held, can be when user carries out positioning action using a bit, whether there is multi-point touch to judge bar
Part, when there is multi-point touch, corresponding object to be positioned is amplified, so that when user positions, with terminal screen
The data that covered of contact surface reduce.Meanwhile, user often clicks on terminal screen in positioning using finger or touch screen instrument
After dragged, if by object to be positioned amplify after, drag same distance when, inswept data also can be reduced, so as to improve
The precision of positioning.
In above-mentioned technical proposal, also include:When zooming in and out to object to be positioned, change the regulation of object to be positioned
Precision.In the technical scheme, in addition to zooming in and out to object to be positioned, can also be while the regulation to object to be positioned
Precision is changed.The numerical range of the progress bar for such as showing originally is 0 to 5000, and minimal adjustment distance is 50, is being carried out
After amplification, the numerical range of display is changed into 2000 to 3000, and minimal adjustment distance is 50, before amplification, for a user,
Although minimal adjustment distance is 50, may be difficult to accomplish with 50 as unit to be adjusted during actual location, it may only be possible to it is enough with
100 used as actual minimal adjustment distance, and after zooming, then because user is in the case of mobile same distance, in screen
Upper inswept less numerical value, thus can may realize being adjusted and positioning using 50 as actual minimal adjustment distance;And such as
Fruit improves degree of regulation simultaneously, such as minimal adjustment distance is changed to into 10, because when degree of regulation is not changed, user may be real
Can be adjusted for actual minimal adjustment distance according to 10 on border, thus by the raising to degree of regulation, Yong Huxian
More accurately positioning action can so be realized.
In above-mentioned technical proposal, step 204 also includes:Obtain first touch of the zoom operations on sensing touch apparatus
Position, if the motion path of the first touch location matches with default first path, according to the motion of the first touch location
Direction and/or move distance change scaling.In the technical scheme, when there is multiple point touching, object to be positioned is entered
The change of row scaling and/or precision, wherein, for the concrete ratio of scaling, Autonomous Control can be carried out by user, and control
Mode includes being moved according to default path on the screen of terminal using the object such as finger for producing multiple point touching, such as
When being clicked on a progress bar using first finger and being moved, can be positioned, while being clicked on using second finger
On a terminal screen, multiple point touching is produced, now terminal is zoomed in and out according to default scaling, is such as amplified to 300%, so
Afterwards second finger is moved in terminal according to default path, when such as to left movement, reduces scaling, is moved right
When, scaling is improved, and the concrete numerical value for reducing or improving scaling is determined according to the distance of motion, such as often move
5mm then corresponds to the scaling for changing 10%.Similarly, for the change of degree of regulation, it is clear that also can be to be carried out by user
Adjust manually, such mode has a lot, such as carry out the regulation to precision and control using the 3rd finger, or right
While scaling is adjusted, degree of regulation is controlled.
In above-mentioned technical proposal, step 204 also includes:It is displayed on the terminals go out enlarged display area, and amplify show
The display of process is zoomed in and out in area to object to be positioned.In the technical scheme, except object to be positioned is integrally put
Outside big, by delimiting a region, i.e. enlarged display area in terminal, and can also show to be positioned in the region
The scaling process of object, the shape of enlarged display area here, size, position on a terminal screen etc. obviously can be by users
Carry out sets itself.And in this region, the subregion that only can be being positioned to user shows, and to other
Incoherent region then need not be shown.
In above-mentioned technical proposal, also include:Second touch location of the positioning action in terminal is obtained, if second touches
The motion path of position matches with default second path, then object to be positioned is zoomed in and out, and touches position according to second
The direction of motion put and/or move distance change the ratio of scaling.In the technical scheme, except the profit to multiple point touching technology
With under single-touch, can equally realizing the process for position fixing process.Such as click on progress bar using finger in user
When upper and along progress bar direction moves, can be positioned, now, moving direction is usually left and right directions, then may be used
Be set in finger carry out above-below direction it is mobile when, object to be positioned such as progress bar herein is zoomed in and out, wherein upwards
Be amplified processs when mobile, diminution process carried out when moving down, and according to the distance apart from initial point, it is determined that amplification or
Reduced scale.After the completion of process is zoomed in and out, such as the finger of user has moved up 5mm, and progress bar is amplified to
300%, then then it is new starting point with current position when user needs further positioning action, moved left and right, to entering
Degree bar is positioned.Certainly, if progress bar is above-below direction, it is clear that finger can be defined and moved in left and right directions, be contracted
Put, or any other directions different from moving direction during positioning.
Fig. 3 shows the particular flow sheet of the method for being positioned to progress bar according to an embodiment of the invention.
As shown in figure 3, the method that positioned to progress bar according to an embodiment of the invention is comprised the following steps that:
Step 302, single-point slides and positions progress bar position, and here such as user is by the way that finger is pressed on a terminal screen
Progress bar on, and enter line slip along the direction of progress bar, such as when progress bar is left and right directions, then finger pressing is backward
Left and right directions slides so that progress bar is realized to position.In such as e-book reading program, the currently displaying portion of every e-book
The ratio regular meeting for accounting for total length is divided to show that for another example video player is being broadcast on the screen of terminal by way of progress bar
When putting video, also the percentage ratio of reproduction time can be shown on screen, then user can be by the progress to being similar to
Bar is positioned, and is wished so as to the content of perhaps other application programs in the content of e-book, the broadcasting of video is positioned to user
The part for reading, watch or carrying out other operations is hoped, is such as directly positioned to 59.8% or from video from 7.4% part of e-book
3 minutes at directly position to 50 points at 30 seconds.Certainly, except operating to progress bar, other are similar such as stock certificate data,
Generally the time with corresponding to the time point stock information curve data, now can also by positioning to certain it is concrete when
Between point checking corresponding stock information.
Step 304, judges whether positioning is accurate.Because the size of terminal screen is limited, when user is positioned, such as make
Clicked on the screen of terminal with finger, because the contact area of finger and screen is covered on progress bar or curve data
Multiple data, it is impossible to the concrete data to be selected of user are determined, so as to cause terminal distinguishing for the positioning action of user
It is not inaccurate enough.
Step 306, increases another touch screen.This refers to due to produced problem in similar step 304, can pass through
The multiple point touching of terminal is solved.
Step 308, amplifies progress bar displaying ratio.It is when occurring, then right whether there is multiple point touching as basis for estimation
Progress bar on screen is amplified, certainly, corresponding also correspondingly to contract in screen display slidably part out
It is short, but for a user, when being touched every time, the contact surface progress bar to be covered of one side finger and terminal
Data are reduced, consequently facilitating terminal judges for the real intention of user, on the other hand, when user slides every time, at end
During same distance of sliding out on end, when the displaying ratio of progress bar is different, the numerical range that correspondence is adjusted is also different, such as exist
In the state of step 302, do not carry out the regulation of displaying ratio, now slip 5mm apart from when, correspondence progress bar from 3 minutes move
Move to 4 minutes, and in the state of step 308, amplify displaying ratio after, slip 5mm apart from when, correspondence progress bar from 3 minutes
It is moved to 3 points 30 seconds.Here the raising of display precision might not be accompanied by, because in the state of step 302, possible terminal
Also can be the unit length for distinguishing " 30 seconds " such a regulation, but due to displaying ratio it is too small, it is difficult to judge user
Real intention, so as to be relatively difficult to quickly and easily be moved to " 30 seconds " such a unit distance, but by amplify show
Ratio, the then real intention for being easy to terminal-pair user is judged, and is accurately positioned.It is of course apparent that can also enter simultaneously
The adjustment of row precision, is so clearly advantageous to help user more precisely to be positioned, such as under identical magnification ratio, with
It is within " 10 seconds " moveable unit distance.
Step 310, positioning of sliding again.
Step 312, decontrols multiple point touching and recovers progress bar displaying ratio.When judging not to be multiple point touching here, then not
Carry out scaling, but return original displaying ratio, and terminate this regulation.
Fig. 4 A to Fig. 4 E show the schematic diagram of the method for being positioned to progress bar according to an embodiment of the invention.
As shown in Figure 4 A, on the display interface 400 of terminal, positioning action is carried out to progress bar 402, wherein, progress bar
402 under current state, and the indication range on display interface 400 is 0 to 5000.User by finger, pointer or other
Similar instrument is operated on the screen of terminal, such as when user is positioned by finger on progress bar 402, clicked on
Progress bar 402 senses the first touch 406A.Laggard line slip is clicked on progress bar 402 by finger, generally according to entering
The direction of degree bar 402, the first path 404 as shown on Fig. 4 A after stopping sliding, senses that first on progress bar 402 touches
406B is touched, then the position specified on progress bar is changed to " 2650 " by " 2600 ", that is, by once sliding, dragged
“50”。
But, on the one hand, after user may be not intended to once slide, progress bar dragged " 50 " is made, and assumed that uncommon
Hope dragged " 5 " or " 1 " or even more little, on the other hand, this be due to click of the terminal for user and positioning, its distinguish and
The ability of judgement is limited, then terminal obviously can not every time meet the needs of user.Therefore, it is possible to using the side of Fig. 4 B
Case.
As shown in Figure 4 B, on the display interface 400 in terminal, when user clicks on the progress bar 402 on screen, sensing
406A is touched to first, now, if user wishes to be moved to progress bar " 2605 " from " 2600 ", but due to original progress bar
402 displaying ratio is too small, causes terminal can not be minimum resolution unit with the distance of " 5 " or less.Then can be with profit
The ability of multiple point touching can be sensed with terminal, using another finger or other devices, is formed on the screen of terminal
Two touch points, then while terminal induction is to the first touch 406A, sense the second touch 408.
Terminal at this moment whether to produce multiple point touching as basis for estimation, after the second touch 408 is sensed, just to entering
Degree bar 402 is amplified, and is embodied in, and on display interface 400, progress bar is corresponding to show numerical range from 0 to 5000
Be changed into from 2500 to 2700, certainly, magnification ratio here is default proportional numerical value, and this can by user according to itself
Use habit is arbitrarily set.Because the displaying ratio of progress bar 402 is exaggerated, thus terminal is sensing the first touch
406A it is mobile when, more can accurately be judged, such as at the end of the finger of user slides on screen, terminal induction
406C is touched to first, although then first touching the distance between touch 406C of 406A and first, is touched compared in Fig. 4 A first
Touch 406A and first and touch the no changes of the distance between 406B or even more big, but the trailing numerical value of corresponding progress bar 402
Changing numerical value can reduce, and meet the user for being changed into " 2605 " from " 2600 " and require.
Certainly, user may require obtaining less numerical value variation by slide, then be referred to shown in Fig. 4 C
Technical scheme.
As shown in Figure 4 C, on display interface 400, it is assumed that after user clicks on a terminal screen, terminal is respectively induced
408A is touched to the first touch 406A and second of progress bar.Because user needs to obtain less numerical value to change, thus can be with
Further amplified by the scaling to progress bar 402, finger or other devices can be used in end panel by user here
After the enterprising line slip of curtain so that the touch point that terminal induction is arrived touches 408A along default second path 410 from second, mobile
408B is touched to second, then terminal is accordingly changed the scaling of progress bar 402.Obviously, here not necessarily
Amplify, and can be to set such as along a direction to amplify, then other direction is diminution.It is assumed that user enters to progress bar 402
After row amplifies, the numerical range that progress bar 402 shows on a terminal screen is changed into 2590 to 2620, and terminal is sensing use
The first touch 406A at family is changed to after the first touch 406D, and numerical value is changed to " 2601 " from " 2600 ".
Certainly, for the size of the scaling of progress bar 402 also can be to be adjusted by user, such as terminal will
Used as starting point, then after user slides on a terminal screen, terminal touches 408B, root to the second touch 408A for sensing for second
According to the distance between starting point and terminal size, the change size of scaling is determined, such as can be assumed to be that distance is bigger, then contract
The change for putting ratio is bigger.
Additionally, except being directly changed to the scaling of progress bar 402, in progress bar 402 one has been scaled to
After determining degree, such as reach default change threshold, then when user is worked on, can only to the aobvious of progress bar 402
Show that precision is adjusted, such as removable unit when will be each mobile is adjusted to " 1 " from " 5 ", and corresponding progress bar 402 exists
The numerical range shown on the display interface 400 of terminal is constant.It is of course apparent that can also be same by scaling and display precision
When be adjusted, this is easily achieved for a person skilled in the art.
Except progress bar is integrally zoomed in and out or precision adjust, can also be by the way of as shown in Figure 4 D.
As shown in Figure 4 D, on display interface 400, after terminal induction to the first touch 406A to progress bar 402, such as
Fruit senses the second touch 408, then can show enlarged display area 412 on display interface 400, and by sense first
Touch a part of progress bar 402 near 406A to show in enlarged display area 412.It is apparent that this enlarged display area
412 size, shape, position on display interface 400 etc. can be set by user according to the requirement of itself.And this
In equally can carry out, similar to the technical scheme shown in figure B, figure C, such as 408 entering according to the second path 410 in the second touch
During line slip, then scaling and/or precision of progress bar 402 etc. are adjusted, and are shown in enlarged display area 412
Show.
Except the multi-touch function using terminal, only can also be controlled with single-touch, specifically as shown in Figure 4 E.
In Fig. 4 E, on display interface 400, terminal induction to the first touch 406A that progress bar 402 is carried out, then
Progress bar 402 is positioned.If desired more accurately positioned, then touched on finger or other generations first by user
The device of 406A enters on a terminal screen line slip so that the first touch 406A that terminal induction is arrived is according to default 3rd path
414 are moved to the first touch 406E, then terminal is amplified or reduces according to mobile walking direction, and touch according to first
Touch 406A and first and touch the distance between 406E, set corresponding scaling, here such as setpoint distance is more big, scales
Ratio is bigger.It is of course also possible to reference to similar in figure C, figure D etc. for the regulation of precision.
After zooming to user and thinking suitable position, it is assumed that now terminal induction touches 406E to first, then user
Line slip can be entered according to first path 404 as new starting point, it is assumed that after stopping sliding, terminal induction to first is touched
406F is touched, now the numerical value on progress bar is converted to " 2605 " from " 2600 ", then complete the adjustment to progress bar 402.
Technical scheme is described in detail above in association with accompanying drawing, it is contemplated that in correlation technique, it is impossible to realize to touching
Being accurately positioned for screen terminal is touched, or process is loaded down with trivial details.Therefore, the invention provides a kind of terminal and a kind of localization method, can be with
With easy mode of operation, easily realize being accurately positioned object to be positioned, it is to avoid due to the size of terminal screen, limit
The accuracy of positioning action.
The preferred embodiments of the present invention are the foregoing is only, the present invention is not limited to, for the skill of this area
For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair
Change, equivalent, improvement etc., should be included within the scope of the present invention.
Claims (6)
1. a kind of terminal, with sensing touch apparatus, it is characterised in that include:
Acquisition module, gathers the positioning action that the sensing touch apparatus are sensed;
Locating module, according to the positioning action that the acquisition module is collected, enters to the object to be positioned in the terminal
Row positioning;
Judge module, judges the sensing touch apparatus while positioning action is sensed, if to sense scaling
Operation;
Scaling processing module, when the judge module senses the zoom operations, according to default scaling to described
Object to be positioned is zoomed in and out;
Acquisition module, obtains the first touch location of the zoom operations on the sensing touch apparatus, and records described the
The motion path and move distance of one touch location;
Ratio processing module, the motion path and the default first via of first touch location obtained in the acquisition module
In the case that footpath matches, the move distance of first touch location obtained according to the acquisition module changes the scaling
The scaling that processing module is adopted;
The acquisition module is additionally operable to:Second touch location of the positioning action in the terminal is obtained, and records described
The motion path of the second touch location, the direction of motion and move distance;
The scaling processing module is additionally operable to:The acquisition module obtain second touch location motion path with it is pre-
If the second path match in the case of, the object to be positioned is zoomed in and out;And
The ratio processing module is additionally operable to:Institute is changed according to the direction of motion and/or move distance of second touch location
State the ratio that scaling processing module is zoomed in and out.
2. terminal according to claim 1, it is characterised in that also include:
Precision processing module, when the scaling processing module is zoomed in and out to the object to be positioned, changes described to be positioned
The degree of regulation of object.
3. terminal according to claim 1, it is characterised in that also include:
Display module, shows enlarged display area in the terminal, and to described to be positioned right in the enlarged display area
Display as zooming in and out process.
4. a kind of localization method, for the terminal with sensing touch apparatus, it is characterised in that include:
Step 202, gathers the positioning action that the sensing touch apparatus are sensed, and according to the positioning action, to the end
Object to be positioned on end is positioned;
Step 204, if the sensing touch apparatus have sensed zoom operations, then while the positioning action is sensed
The object to be positioned is zoomed in and out according to default scaling;
Described zooming in and out to the object to be positioned according to default scaling specifically includes:
First touch location of the zoom operations on the sensing touch apparatus is obtained, if the fortune of first touch location
Dynamic path matches with default first path, then change the pantograph ratio according to the move distance of first touch location
Example;
Obtain second touch location of the positioning action in the terminal, if the motion path of second touch location with
Default second path matches, then the object to be positioned is zoomed in and out, and according to the motion of second touch location
Direction and/or move distance change the ratio of scaling.
5. localization method according to claim 4, it is characterised in that also include:
When zooming in and out to the object to be positioned, change the degree of regulation of the object to be positioned.
6. localization method according to claim 4, it is characterised in that the step 204 also includes:
Enlarged display area is shown in the terminal, and the object to be positioned is zoomed in and out in the enlarged display area
The display of process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110432186.4A CN103176632B (en) | 2011-12-21 | 2011-12-21 | terminal and locating method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110432186.4A CN103176632B (en) | 2011-12-21 | 2011-12-21 | terminal and locating method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103176632A CN103176632A (en) | 2013-06-26 |
CN103176632B true CN103176632B (en) | 2017-04-19 |
Family
ID=48636566
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110432186.4A Active CN103176632B (en) | 2011-12-21 | 2011-12-21 | terminal and locating method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103176632B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104423868B (en) * | 2013-09-04 | 2019-03-08 | 腾讯科技(深圳)有限公司 | E-book reading localization method and device |
CN104657356B (en) * | 2013-11-15 | 2018-12-28 | 中国移动通信集团公司 | A kind of multimedia file progress localization method and equipment |
CN103646655B (en) * | 2013-12-30 | 2016-09-07 | 优视科技有限公司 | Multi-medium play method and device |
KR20160009935A (en) * | 2014-07-17 | 2016-01-27 | 엘지전자 주식회사 | Mobile terminal and method for controlling the same |
CN105872718A (en) * | 2015-12-11 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Video playing processing method, video player and terminal equipment |
CN107885417B (en) * | 2017-11-03 | 2021-02-02 | 腾讯科技(深圳)有限公司 | Target positioning method, device and computer readable storage medium in virtual environment |
CN110908571B (en) * | 2019-11-28 | 2022-06-28 | 腾讯科技(深圳)有限公司 | Control method, device and equipment of sliding control and storage medium |
CN111651115A (en) * | 2020-06-03 | 2020-09-11 | 北京小米移动软件有限公司 | Numerical value selection method and device, terminal device and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008052100A3 (en) * | 2006-10-26 | 2008-09-12 | Apple Inc | Portable multifunction device, method, and graphical user interface for adjusting an insertion point marker |
JP2009295147A (en) * | 2008-05-07 | 2009-12-17 | Hoya Corp | Information processing apparatus capable of conducting scroll-display |
CN101719375A (en) * | 2010-01-12 | 2010-06-02 | 深圳市同洲电子股份有限公司 | Method for positioning music playing position and music player |
CN101727949A (en) * | 2009-10-31 | 2010-06-09 | 华为技术有限公司 | Device, method and system for positioning playing video |
CN102156580A (en) * | 2011-04-02 | 2011-08-17 | 广东威创视讯科技股份有限公司 | Touch method and system for touch screen |
CN102193661A (en) * | 2010-03-01 | 2011-09-21 | 北京魔力科技有限公司 | Intelligent positioning and calibration method |
CN102257463A (en) * | 2008-12-18 | 2011-11-23 | 日本电气株式会社 | Slide bar display control apparatus and slide bar display control method |
-
2011
- 2011-12-21 CN CN201110432186.4A patent/CN103176632B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008052100A3 (en) * | 2006-10-26 | 2008-09-12 | Apple Inc | Portable multifunction device, method, and graphical user interface for adjusting an insertion point marker |
JP2009295147A (en) * | 2008-05-07 | 2009-12-17 | Hoya Corp | Information processing apparatus capable of conducting scroll-display |
CN102257463A (en) * | 2008-12-18 | 2011-11-23 | 日本电气株式会社 | Slide bar display control apparatus and slide bar display control method |
CN101727949A (en) * | 2009-10-31 | 2010-06-09 | 华为技术有限公司 | Device, method and system for positioning playing video |
CN101719375A (en) * | 2010-01-12 | 2010-06-02 | 深圳市同洲电子股份有限公司 | Method for positioning music playing position and music player |
CN102193661A (en) * | 2010-03-01 | 2011-09-21 | 北京魔力科技有限公司 | Intelligent positioning and calibration method |
CN102156580A (en) * | 2011-04-02 | 2011-08-17 | 广东威创视讯科技股份有限公司 | Touch method and system for touch screen |
Also Published As
Publication number | Publication date |
---|---|
CN103176632A (en) | 2013-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103176632B (en) | terminal and locating method | |
CN103927107B (en) | A kind of information processing method and electronic equipment | |
US10524739B2 (en) | Twin-monitor electronic display system | |
US9575632B2 (en) | Content scrubbing | |
US8553000B2 (en) | Input apparatus that accurately determines input operation, control method for input apparatus, and storage medium | |
CN106664452A (en) | Methods, systems and media for controlling playback of video using a touchscreen | |
EP2827332B1 (en) | Navigating within a media item | |
DE102010038655A1 (en) | Method and apparatus for single-touch zooming using spiral rotation | |
KR20130102795A (en) | Image edting apparatus and method for selecting region of interest | |
US10430017B2 (en) | Target pointing system making use of velocity dependent cursor | |
CN102610255B (en) | For determining the method for the play time of media information, device and equipment | |
CN102214063A (en) | Information processing method and graphical user interface | |
CN106980438A (en) | Cursor control method, apparatus and system | |
CN104182155A (en) | Method for automatically adjusting keyboard display block of touch screen | |
DE102019200287A1 (en) | Image measuring device and computer-readable medium | |
CN103902580B (en) | A kind of method and apparatus for realizing that multielement drags in webpage | |
CN104903961A (en) | Progress bar precision adjusting device and method, and playing system and terminal | |
CN106527955A (en) | Method and device for controlling slide of page | |
CN108376030B (en) | Electronic equipment control method and device and electronic equipment | |
CN102929527A (en) | Device with picture switching function and picture switching method | |
WO2018032694A1 (en) | Method and device for adjusting object position | |
CN107291955A (en) | A kind of chart data dynamic display method and device | |
CN112055841B (en) | Accurate positioning of indicia on a display | |
CN113032623B (en) | Intelligent video data retrieval method | |
US11061502B2 (en) | Selection of a graphical element with a cursor in a magnification window |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |