Summary of the invention
One of object of the present invention is to provide a kind of measuring method for touch screen diasonograph, and it can preferably avoid the inconvenience that uses the direct touch control operation of finger to bring, and ensures the accurate of operation simultaneously.
The present invention also aims to provide a kind of touch screen diasonograph.
One of for achieving the above object, the invention provides a kind of measuring method for touch screen diasonograph, the method comprises the following steps:
S1, reception the first touch screen signal, and determine corresponding touch screen position according to described the first touch screen signal;
S2, on touch screen, in a float area, amplify and show the described touch screen position image in a preset range around, and in the image of described amplification demonstration, indicate corresponding to described touch screen position cursor;
S3, judge that whether the first touch screen signal interrupts, and if not, enters S4; If so, enter S5;
S4, change position in the image showing in described amplification with reference to cursor until the first touch screen signal interruption enters S5 according to touch screen position corresponding to the first touch screen signal is associated;
S5, touch screen position indicate the first touch screen signal interruption on touch screen time.
As a further improvement on the present invention, the method also comprises, determines the first selected target area of touch screen signal, and amplifies the image showing in described target area in described float area.
As a further improvement on the present invention, described float area is positioned at outside the selected target area of the first touch screen signal on touch screen.
As a further improvement on the present invention, the method also comprises:
Obtain the image of described amplification demonstration compared to the amplification M of original image;
Determine a displacement scale coefficient K, wherein K > 1 according to the rate travel of described amplification M and the first touch screen signal;
On touch screen, indicate touch screen position, wherein, the computing formula on touch screen between the displacement P1 of touch screen position and the displacement P2 of the first touch screen signal is:
。
As a further improvement on the present invention, when described amplification M mono-timing, described displacement scale coefficient K reduces with the increase of the rate travel of the first touch screen signal; In the time that described amplification M increases, described displacement scale coefficient K is associated becomes large.
As a further improvement on the present invention, with reference to cursor, the displacement P3 in the image that amplifies demonstration and the computing formula between the displacement P2 of the first touch screen signal are:
, wherein K < M.
As a further improvement on the present invention, step S5 also comprises: close image that described float area and interior amplification thereof show and with reference to cursor.
As a further improvement on the present invention, after step S5, also comprise:
Receive the second touch screen signal, and the touch screen position indicating described in oneself, the associated motion track of drawing described the second touch screen signal is until described the second touch screen signal interruption.
For realizing above-mentioned another goal of the invention, the invention provides a kind of touch screen diasonograph, comprising:
Receiving element, for receiving the first touch screen signal, and determines corresponding touch screen position according to described the first touch screen signal;
Display unit, shows the described touch screen position image in a preset range around for amplifying in a float area on touch screen, and in the image of described amplification demonstration, indicates corresponding to described touch screen position cursor;
Processing unit, for judging whether the first touch screen signal interrupts, if not,
Change position in the image showing in described amplification with reference to cursor until the first touch screen signal interruption according to touch screen position corresponding to the first touch screen signal is associated, and touch screen position indicate the first touch screen signal interruption on touch screen time; If so,
Touch screen position while directly indicating the first touch screen signal interruption on touch screen.
As a further improvement on the present invention, described receiving element is also for receiving the second touch screen signal, and the touch screen position indicating described in oneself, the associated motion track of drawing described the second touch screen signal is until described the second touch screen signal interruption.
Compared with prior art, measuring method for touch screen diasonograph provided by the invention is by directly receiving the first touch screen signal, and the image in a preset range around the touch screen position that amplification demonstration the first touch screen signal is corresponding in float area, user can according to be exaggerated in the image of demonstration, characterize touch screen position with reference to cursor, adjust touch screen position to impact point, directly convenient, overcome finger as the lower problem of input equipment precision.
Detailed description of the invention
Describe the present invention below with reference to detailed description of the invention shown in the drawings.But these embodiments do not limit the present invention, the conversion in structure, method or function that those of ordinary skill in the art makes according to these embodiments is all included in protection scope of the present invention.
Join Fig. 1, introduce a detailed description of the invention of the measuring method for touch screen diasonograph of the present invention.In the present embodiment, the method comprises the following steps:
S1, reception the first touch screen signal, and determine corresponding touch screen position according to this first touch screen signal.
Finger is as touch input device, when it sends touch screen signal to touch screen, in fact to have selected the target area with certain area, actual measurement wants definite anchor point may be within this target area scope, but the touch screen position corresponding with touch screen signal may not overlap with this anchor point.
S2, on touch screen, in a float area, amplify and show the touch screen position image in a preset range around, and the image showing in this amplification get the bid be illustrated in touch screen position corresponding with reference to cursor.
By touch screen position around the image in a preset range amplify, the contact area of equaled relative decrease finger and touch screen, has improved the precision of subsequent operation indirectly.Characterize touch screen position with reference to cursor, convenient operation personnel carry out further accurately location with reference to it.As preferred embodiment, for ensure anchor point can the image in being exaggerated demonstration in a position preferably, facilitate follow-up further adjusting location, in float area, amplify the image showing and comprise the image in the selected target area of the first touch screen signal.
Do not hidden by finger in order to ensure to amplify the image showing, float area is by outside the selected target area of the driver's seat first touch screen signal on touch screen.
S3, judge that whether the first touch screen signal interrupts, and if not, enters S4; If so, enter S5.
S4, change with reference to cursor amplifying position in the image showing until the first touch screen signal interruption enters S5 according to touch screen position corresponding to the first touch screen signal is associated.
The first touch screen signal does not interrupt, and that is to say that user keeps finger and the contacting of touch screen, and moveable finger positions.Now, change amplifying in the image showing with reference to cursor along with the change of the touch screen position of the first touch screen signal, user can be located according to the position with reference to cursor.And in embodiment more specifically, the position of float area is to change according to the variation of the selected target area of the first touch screen signal, to avoid the visual impact of covering.
As preferred embodiment, in this step, also specifically comprise:
S41, obtain and amplify the image showing compared to the amplification M of original image;
S42, determine displacement scale coefficient K, wherein a K>1 according to the rate travel of amplification M and the first touch screen signal;
S43, on touch screen, indicate touch screen position, wherein, the computing formula on touch screen between the displacement P1 of touch screen position and the displacement P2 of the first touch screen signal is:
。
In the time that amplification M increases, displacement scale coefficient K is associated becomes large, and when amplification M mono-timing, displacement scale coefficient K reduces with the increase of the rate travel of the first touch screen signal.
In specific embodiment, for example, under a fixing amplification M, when user moveable finger rapidly, determine that displacement scale coefficient K is 2, point mobile 2mm, the cursor of touch screen position moves 1mm to corresponding direction; For example user moveable finger at a slow speed again, determines that displacement scale coefficient K is 6, points mobile 6mm, and the cursor of touch screen position moves 1mm to respective direction, accurately to locate.
Amplification M has the initial value of a setting, and user can revise the value of this amplification M to obtain better measurement effect before measurement starts or in measuring process.
Displacement P3 with reference to cursor in the image that amplifies demonstration and the computing formula between the displacement P2 of the first touch screen signal are:
wherein K < M, that is to say, the displacement of the displacement P2(of the first touch screen signal finger) be greater than the displacement P1 of touch screen position in original image, amplify the displacement P3 with reference to cursor in the image showing but be less than, not only improved the precision of measuring but also taken into account the speed of measuring.
S5, touch screen position indicate the first touch screen signal interruption on touch screen time.
The first touch screen signal interruption shows that user has completed the location to impact point, further, closes image that float area and interior amplification thereof show and with reference to cursor simultaneously.
Above measuring method relates to the location to point in ultrasonic measurement operation, below will introduce, and on completing a certain point location basis, from this point, completes the process of describing to one group of image path, therefore, after step S5, also comprise:
S6, reception the second touch screen signal, and from the touch screen position indicating in step S5, the associated motion track of drawing the second touch screen signal is until the second touch screen signal interruption.
The tracking of image motion track is described in process, if finger remains on the track top of being described, image path will be pointed and be hidden.By the method for step S6, do not need finger to start to describe from the starting point that is positioned (being touch screen position when the first touch screen signal interruption step S5), separation initial point and the actual process of describing, finger can start to describe track in optional position on touch screen.Wherein, in the motion track process of drafting the second touch screen signal, the direction that track is drawn and ratio are consistent with the second touch screen signal.
Next, please coordinate with reference to shown in Fig. 2 a detailed description of the invention of its module diagram that is touch screen diasonograph of the present invention.Wherein, device embodiment described herein is only schematically, and concrete technical characterictic in device embodiment of the present invention, function, technique effect etc., please refer to the embodiment of the method for recording in literary composition, is below no longer repeated.
In the present embodiment, this touch screen diasonograph comprises:
Receiving element 10, for receiving the first touch screen signal, and determines corresponding touch screen position according to this first touch screen signal;
Display unit 20, shows the touch screen position image in a preset range around for amplifying in a float area on touch screen, and in the image of this amplification demonstration, indicates corresponding to touch screen position cursor;
Processing unit 30, for judging whether the first touch screen signal interrupts, if not,
Change position in the image showing in described amplification with reference to cursor until the first touch screen signal interruption according to touch screen position corresponding to the first touch screen signal is associated, and touch screen position indicate the first touch screen signal interruption on touch screen time; If so,
Touch screen position while directly indicating the first touch screen signal interruption on touch screen.
For realizing, the tracking of image motion track is described, described receiving element is also for receiving the second touch screen signal, and from the above-mentioned touch screen position indicating, the associated motion track of drawing the second touch screen signal is until the second touch screen signal interruption.
The present invention is by above-mentioned embodiment, there is following beneficial effect: the measuring method for touch screen diasonograph provided by the invention is by directly receiving the first touch screen signal, and the image in a preset range around the touch screen position that amplification demonstration the first touch screen signal is corresponding in float area, user can according to be exaggerated in the image of demonstration, characterize touch screen position with reference to cursor, adjust touch screen position to impact point, directly convenient, overcome finger as the lower problem of input equipment precision.
Be to be understood that, although this description is described according to embodiment, but be not that each embodiment only comprises an independently technical scheme, this narrating mode of description is only for clarity sake, those skilled in the art should make description as a whole, technical scheme in each embodiment also can, through appropriately combined, form other embodiments that it will be appreciated by those skilled in the art that.
Listed a series of detailed description is above only illustrating for feasibility embodiment of the present invention; they are not in order to limit the scope of the invention, all do not depart from the equivalent embodiment that skill spirit of the present invention does or change and all should be included in protection scope of the present invention within.