Summary of the invention
Object of the present invention, is to provide a kind of method of touch screen operation, and supporting system, utilizes the present invention, and the mode that can be judged by the mobile route had clockwise or counterclockwise rotate, what realize touch-screen output information zooms in or out operation.
The invention provides a kind of method of touch screen operation, the method includes following steps:
Step 1, by wherein clockwise or the operation information be rotated counterclockwise, and correspondence is carried out in the operation that zooms in or out of touch-screen output information;
Whether step 2, gathers the touch operation information inputted by touch-screen, judge wherein to include clockwise or the operation information be rotated counterclockwise;
Step 3, when having clockwise or being rotated counterclockwise operation information, its operation information is changed into be directed to touch-screen output information zoom in or out operation.
Further, in the process of carrying out rotation process, the center at the rotary area place of different segmentation is moved, and when the scope of movement exceeds threshold value, it can be used as the rotation process with Path form.
Further, the center at described rotary area place, that different rotate path fragment is as the center independently corresponding to component units, the mode of each rotate path fragment segmentation, split according to path, or split according to time quantum corresponding under different path, or split according to the region corresponding to different angles scope.
Further, gather the rotate path fragment obtained, section or the path segments corresponding to rear preferably, headed by corresponding mobile route section and rear rotate path fragment corresponding to the vector path that generates after the line of centres.
Further, described Path form, using the moving direction in its path as the shift direction of window information.
Further, the Path form described in collection, using it as the trigger message of page turn over operation, the size that the size after page turning changes according to described rotation process is implemented.
Further, described zooms in or out operation, determines whether one hand and refers to touch operation, only when one-finger operation, just trigger aforesaid be directed to touch-screen rotate carry out zoom in or out operation.
Further, when by rotate mode trigger zoom in or out function, export the adjusted size window of the adjustment operation in order to carry out size, this window comprises the control showing respectively and amplify with the multiple reduced, and/or by dragging to the control of the corresponding different amplification in different positions and minification.
Further, gather the final size that user is zoomed in or out by rotation process, be taken as mean value, or close on data, as the comparable data that size is preset;
When next time collect user be directed to which zoom in or out operation time, the dimensional data pre-set preferentially is provided.
Further, the current size of former displaying information on screen when user carries out rotation process is gathered;
When judgement show that current size is original dimension, so judge that current carried out rotation process is as amplifieroperation.
Further, when in time use, the reciprocal rotation process of aforementioned operation will be directed to and be taken as reduction operation.
Further, limiting the rotation process that the anglec of rotation exceedes predetermined threshold value, is effective touch input operation.
Further, being set in the predetermined threshold value of the anglec of rotation, is a circumference.
The present invention also provides a kind of system of touch screen operation, and this system includes following ingredient:
Pivot rule module, by wherein clockwise or the operation information be rotated counterclockwise, and correspondence is carried out in the operation that zooms in or out of touch-screen output information;
Touch determination module, gather the touch operation information inputted by touch-screen, judge wherein whether to include clockwise or the operation information be rotated counterclockwise;
Convergent-divergent execution module, when the operation information had clockwise or be rotated counterclockwise, thus its operation information is changed into be directed to touch-screen output information zoom in or out operation.
Embodiment
The process flow diagram of ginseng described by Fig. 1, the present invention has following steps:
Step S110, by wherein clockwise or the operation information be rotated counterclockwise, and correspondence is carried out in the operation that zooms in or out of touch-screen output information.
In the present invention, corresponding rule format, be by gather obtain be directed to the touch operation information that touch-screen carries out rotation aspect, change into and amplify and reduce the operation information of aspect.Gather the mode that user touches output, can directly be undertaken by the touch information collection mechanism of place touch-screen.As an example, by the form of Hook Function, its data message can be obtained.
Described rotation information both can be complete rotation information, also can be the rotation information of part.Such as complete rotation information is the closed circle of rotation one, or continuous rotation one and more than one circle.In this case, the whole anglec of rotation can be added up, control the multiple zoomed in or out of image outpuT in cumulative mode.Another embodiment, gets Partial angle wherein exactly.The multiple zoomed in or out under utilizing the ratio between Partial angle and overall angle to carry out metering section angle.Such as, being considered as zooming in or out one times by revolving to turn around, so, if 90-degree rotation, then zooming in or out 1/4 times.Correspondingly, if exceed a circle, then the part exceeded and a circle are compared, obtain final amplification and minification.
Further, described rule can also be in the process of carrying out rotation process, and the center at the instant place of rotary area is moved, and when the scope of movement exceeds threshold value, it can be used as the rotation process with Path form.
Wherein, the center at the instant place of aforesaid rotary area, refer to collection rotate path, different rotate path fragments is used as relatively independent component units, each rotate path fragment, when splitting, can be carried out, such as in different ways, split by the path preset, and be applicable to carrying out geometric ratio segmentation.In addition, can also split, such as, every 0.1 second, using the distance of wherein movement as a cutting unit according to time quantum corresponding under different path.Or split according to the region corresponding to different angles scope, such as, the angular range of every 60 degree, does and once splits.
After segmentation, corresponding path will have a corresponding rotation center, if the rotation center of this rotation center and other path segments is inconsistent, then can gather its variation range, and, when variation range exceeds predetermined threshold value, by the change in location situation at corresponding center, as the mobile route of a vector property.
Further, gather the rotate path fragment obtained, section or the path segments corresponding to rear preferably, headed by corresponding mobile route section and rear rotate path fragment corresponding to the vector path that generates after the line of centres.
By gathering aforesaid mobile route, different trigger messages can be it can be used as.Such as the Path form described in collection, using the moving direction in its path as the shift direction of window information.In this case, need the not display all over the screen of the form at place, window information can move; And the full-size of data message is greater than the size of screen in form.So just can lean on this move mode, shift the output area of displaying information on screen, its implementation effect, be similar to directly by the zones of different on finger drag touch screen, operation is moved in the position produced up and down and so on.
Also such as, the Path form described in collection, is used as the mode of page turn over operation with its path, the size after page turning, according to described rotation process change after size implement.In this case, be implement when the information content that described touch-screen is corresponding has page turning demand.Such as, the content exported is e-book, just can utilize the judgement of this mobile route, carries out synchronous page turn over operation.Such as, if this mobile route points to the left side of screen, be considered as turning over the anterior page number; And the right side of screen will be pointed to, be considered as the page number turning over rear portion.
In the present invention, corresponding mitigation and amplification operation, preferred finger manipulation scheme is the amplification of form output information size and the reduction operation of being carried out touch-screen by single finger.For realizing this function, can also judge, only when single finger touch, just can trigger function of the present invention.When execution, only need the finger quantity judging to carry out touching input, just can determine whether realize this function.
Further, correspond to aforesaid rule, when can also trigger function described in the invention in the mode by rotating, Output Size adjustment window.This adjusted size window, it is applicable to being the form of a pop-up window, in this pop-up window, includes and amplifies and reduce relevant operation information.Such as, different controls can being shown, each control showing respectively the multiple amplified with reducing, such as, 1.5 times, 2 times, 3 times; 0.75 times, 0.5 times, 0.25 times etc.After user clicks this kind of control by touch-screen, gather input information accordingly, then screen is carried out the multiple amplifying and reduce, according to adjusted size window gather information and determine.In this case, just can using clockwise or counterclockwise rotation all as the factor triggering this window.And the information that zooms in or out collected by this window zooms in or out a times logarithmic data as final.
Further, described adjusted size window, can also be set to the control form that can drag, and this control form is dragged to different positions, correspond to different amplifications and minification.In this way, what can realize dirigibility more zooms in or out operation to profit.
Further, can also the use habit of recording user, this custom is applied to and described in the invention zooms in or out operation.Particularly, can the final size that zoomed in or out by rotation process of recording user, then its data are processed.Such as, the final size zoomed in or out in recording interval can be calculated, get its mean value, the dimensional data preferentially provided when then being zoomed in or out after user by this mean value, dimensional data even by default.
On the other hand, the numerical value zoomed in or out closed on can also be got, such as close on the mean value of three times.Certainly, enlargement factor is classified as a class, and minification is classified as another kind of.
Or, the operation closed on most is once taken as the reference data that override provides, when next time collect user be directed to which zoom in or out operation time, preferentially provide this multiple zoomed in or out as preset dimensional data.
Further, in the rule preset, the judgement to zooming in or out function can also be included.
Such as, corresponding with zooming in or out operation by clockwise or counterclockwise sense of rotation, may make troubles to user.So, can come to utilize the present invention more expediently by the mode of machine recognition.For example and without limitation, can operate like this:
Gather the current size of former displaying information on screen when user carries out rotation process;
When judgement show that current size is original dimension, so judge that current carried out rotation process is as amplifieroperation.
The current size of aforementioned former displaying information on screen, refers to the dimensional form before size that user carries out rotation process zooms in or out.And described original dimension, then the dimensional data being screen when carrying out information displaying at first.Because the screen of a lot of terminal device, particularly handheld terminal is less, under initial display size, image generally can be less, under the circumstances, and original size when this original dimension is shown as data.So, when user carries out rotation process, be generally regarded as the demand of zooming, so, just by the touch operation of its rotated versions, no matter how can rotate, all carry out amplifieroperation.
Before this use terminates, ensuing operation format is continued to be taken as amplifieroperation, reciprocal operation is taken as reduction operation.Certainly, if user often operates by certain pattern, can also store this pattern by default form is set.
Whether step S120, gathers the touch operation information inputted by touch-screen, judge wherein to include clockwise or the operation information be rotated counterclockwise.
By the hardware configuration of touch-screen, gather the touch operation information of user.Then, relative to screen, judge whether the operation that user carries out includes clockwise or counterclockwise rotation process.When carrying out judgement operation, clockwise or counterclockwise Path form is set up corresponding rule, this rule comprises and is directed to specific center, carries out the operation format around this central rotation.
It is to be noted; user is when utilizing touch-screen to operate; form is moved in the path that also often may have circular arc type, can also limit for this situation, is defined as the rotation process that the anglec of rotation exceedes predetermined threshold value and is just considered as effective touch input operation.Such as, can be set in after rotating at least one circumference, after namely rotating a circumference, just can realize function described in the invention.
The threshold value of this anglec of rotation is feasible equally.
Step S130, when having clockwise or being rotated counterclockwise operation information, its operation information is changed into be directed to touch-screen output information zoom in or out operation.
According to preceding step S110 and relevant rule format, when collecting the touch operation information meeting and zoom in or out operation, the displaying contents being directed to place send corresponding thereto zoom in or out operational order, after the assembly that the touch-screen at place is relevant obtains this instruction, trigger the functional module exported in order to control screen message, be adjusted to the size after triggering, export to user.
Shown in ginseng Fig. 2, the present invention also correspond to the system 200 providing a kind of touch screen operation, and this system includes following ingredient:
Pivot rule module 210, by wherein clockwise or the operation information be rotated counterclockwise, and correspondence is carried out in the operation that zooms in or out of touch-screen output information;
Touch determination module 220, gather the touch operation information inputted by touch-screen, judge wherein whether to include clockwise or the operation information be rotated counterclockwise;
Convergent-divergent execution module 230, when the operation information had clockwise or be rotated counterclockwise, thus its operation information is changed into be directed to touch-screen output information zoom in or out operation.
It is pointed out that described system 200 can also support the function of original terminal device.Original terminal device may be PC, also may be mobile phone terminal, or other the terminal device with touch screen structure; Specifically do not limit.
By pivot rule module 210 wherein, set up the rotation process that is directed to touch-screen and amplification, the screen output mode that reduces is corresponding.Then in the process of user operation touch-screen, utilize and touch determination module 220, gather the touch input information of user by touch-screen, and then judge wherein whether include operation information that is clockwise or that be rotated counterclockwise.If comprised, then by convergent-divergent execution module 230, send the instruction that touch-screen output information zooms in or out operation, thus effectively carry out touch-screen output information zoom in or out operation.
Shown in ginseng Fig. 3, illustrate a kind of embodiment here.In this embodiment, show handheld terminal 100, it is a mobile phone terminal.Be provided with large-sized touch-screen 110.User is hold by one hand this handheld terminal 100, utilizes thumb to carry out moving operation on touch-screen 110.In the present embodiment, user utilizes thumb on touch-screen 110, to draw a circle clockwise, in conjunction with method and system described above.As an example, the rule preset is that the image content that touch-screen 110 exports can be put and is twice by the mode of operation of drawing clockwise a circle.That is, after performing this operation, the amplifieroperation of touch-screen 110 output informations just can be realized.
Shown in ginseng Fig. 4, in the present embodiment, by handheld terminal 100, utilize the Path form of thumb movement, be the spirality of ecto-entad, the initial radian got wherein is A section, and the end radian got wherein is B section, this mobile route is not a closed path, but the angle set by it also can reach 360 degree.
The center of circle wherein corresponding to A section is center of circle a; The center of circle corresponding to B section is center of circle b.Between center of circle a and center of circle b, carry out line, generate a vector path L.This vector path L just can as the operation information carrying out screen message dragging, or as carrying out the operation information of page processing, or other triggers the operation information of object.While carrying out this drag operation, be also synchronously directed to the angle corresponding to aforementioned rotation process, that carries out touch-screen output content zooms in or out operation.
Be more than the description of this invention and non-limiting, based on other embodiment of inventive concept, also all among protection scope of the present invention.