CN102129321A - Touch screen-based track recording and comparing method - Google Patents

Touch screen-based track recording and comparing method Download PDF

Info

Publication number
CN102129321A
CN102129321A CN 201110053870 CN201110053870A CN102129321A CN 102129321 A CN102129321 A CN 102129321A CN 201110053870 CN201110053870 CN 201110053870 CN 201110053870 A CN201110053870 A CN 201110053870A CN 102129321 A CN102129321 A CN 102129321A
Authority
CN
China
Prior art keywords
difference
ordinate
sampled point
track
horizontal ordinate
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.)
Pending
Application number
CN 201110053870
Other languages
Chinese (zh)
Inventor
林子华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN 201110053870 priority Critical patent/CN102129321A/en
Publication of CN102129321A publication Critical patent/CN102129321A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a touch screen-based track recording method, comprising the steps of: collecting horizontal coordinate values and longitudinal coordinate values of a plurality of sampling points on a track made by a user on the touch screen; calculating horizontal coordinate differences and longitudinal coordinate differences between the plurality of sampling points; and storing the horizontal coordinate differences and the longitudinal coordinate differences between the plurality of sampling points. The invention further discloses a touch screen-based track touch screen-based track. In the manner described above, the technical proposal provided by the invention can reduce the operand and guarantee the accuracy of track redrawing and comparison.

Description

Track record, comparative approach based on touch-screen
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of track record, comparative approach based on touch-screen.
Background technology
In recent years, touch-screen has been widely used on hand-held mobile communicating terminal and the pocket computer, the user by on touch-screen, click, operation such as paddling, can finish the repertoire of common keyboard, therefore, touch-screen can make man-machine interaction more simple and direct.
Touch-screen is generally formed by touching quick detection part and controller, touch quick detection part and be used to detect user touch location, as when the user uses finger or felt pen at the touch-screen paddling, touching quick detection part can detect and paddling track corresponding touching position information, and send it to controller, controller can convert touching position information to coordinate information, and can storing memory device into, this coordinate information redraws to treat the follow-up track that carries out, perhaps, it more can be sent to processor and carries out track relatively.
And when needs call coordinate information once more and draw action to carry out track in memory device,, then can not draw out initial trace well if need the track initial point and the initial trace starting point of drawing inconsistent.In addition, when needs carry out the track comparison,, then might produce wrong comparative result if the starting point of comparison other and initial trace is inconsistent.
Therefore, needing badly provides a kind of track record based on touch-screen, comparative approach, to address the above problem.
Summary of the invention
The technical matters that the present invention mainly solves provides a kind of track record based on touch-screen, comparative approach, to address the above problem.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: a kind of track recording method based on touch-screen is provided, may further comprise the steps: a. gathers the abscissa value and the ordinate value of a plurality of sampled points of user on the track of being drawn on the touch-screen; B. calculate horizontal ordinate difference and ordinate difference between a plurality of sampled points; C. store horizontal ordinate difference and ordinate difference between a plurality of sampled points.
Wherein, in step b, calculate horizontal ordinate difference and ordinate difference between the neighbouring sample point in a plurality of sampled points respectively.
Wherein, in step b, calculate initial sampled point and horizontal ordinate difference between all the other sampled points and ordinate difference in a plurality of sampled points respectively.
Wherein, in step b, calculate horizontal ordinate absolute difference and ordinate absolute difference between a plurality of sampled points, and calculate initial sampled point and stop horizontal ordinate actual difference and ordinate actual difference between the sampled point, in step c, store horizontal ordinate absolute difference and ordinate absolute difference between a plurality of sampled points, and further store horizontal ordinate actual difference and ordinate actual difference between initial sampled point and the termination sampled point.Stop
Wherein, in step b, calculate initial sampled point and stop horizontal ordinate actual difference between the sampled point and the ordinate actual difference in one or more are arranged is zero or initial sampled point and when stopping horizontal ordinate actual difference between the sampled point and equaling the ordinate actual difference, in step c, abandon storing horizontal ordinate absolute difference and ordinate absolute difference and the initial sampled point between a plurality of sampled points and stop horizontal ordinate actual difference and ordinate actual difference between the sampled point.
For solving the problems of the technologies described above, another technical solution used in the present invention is: a kind of track comparative approach based on touch-screen is provided, may further comprise the steps: a. obtains horizontal ordinate difference and the ordinate difference between a plurality of first sampled points on first track; B. obtain horizontal ordinate difference and ordinate difference between a plurality of second sampled points on second track; C. judge according to the horizontal ordinate difference between the horizontal ordinate difference between a plurality of first sampled points and ordinate difference and a plurality of second sampled point and ordinate difference whether first track and second track be same or similar.
Wherein, in step a, obtain horizontal ordinate difference and ordinate difference between adjacent first sampled point on first track; In step b, obtain horizontal ordinate difference and ordinate difference between adjacent second sampled point on second track.
Wherein, in step a, obtain initial first sampled point on first track and horizontal ordinate difference and the ordinate difference between all the other first sampled points; In step b, obtain initial second sampled point on second track and horizontal ordinate difference and the ordinate difference between all the other second sampled points.
Wherein, in step c, judge by judging that horizontal ordinate difference between horizontal ordinate difference and a plurality of second sampled points between a plurality of first sampled points and the ordinate difference between a plurality of first sampled point and the ordinate difference between a plurality of second sampled point be whether identical whether first track is identical with second track.
Wherein, in step c, whether the ratio value of the ordinate difference between the ratio value of the horizontal ordinate difference between the ratio value by judging the horizontal ordinate difference between a plurality of first sampled points and a plurality of second sampled points and the ratio value of the ordinate difference between a plurality of first sampled point and a plurality of second sampled points is identical judges whether first track is similar to second track.
Wherein, in step a, obtain horizontal ordinate absolute difference and ordinate absolute difference between a plurality of first sampled points, and further obtain initial first sampled point and stop horizontal ordinate actual difference and ordinate actual difference between first sampled point, in step b, obtain horizontal ordinate absolute difference and ordinate absolute difference between a plurality of second sampled points, and further obtain initial second sampled point and stop horizontal ordinate actual difference and ordinate actual difference between second sampled point, in step c, according to initial first sampled point and stop horizontal ordinate actual difference between first sampled point and direction that the ordinate actual difference is determined first track, according to initial second sampled point and stop horizontal ordinate actual difference between second sampled point and direction that the ordinate actual difference is determined second track, and further according to the direction of first track, the direction of second track, horizontal ordinate absolute difference between horizontal ordinate absolute difference between a plurality of first sampled points and ordinate absolute difference and second sampled point and ordinate absolute difference judge whether first track and second track be same or similar.
The invention has the beneficial effects as follows: be different from prior art, track record based on touch-screen provided by the present invention, comparative approach are by horizontal ordinate difference and ordinate difference between a plurality of sampled points of storage track, can reduce operand, and guarantee that track redraws and accuracy relatively.
Description of drawings
Fig. 1 is the process flow diagram based on the track recording method of touch-screen according to first embodiment of the invention.
Fig. 2 is the track sampling synoptic diagram according to second embodiment of the invention.
Fig. 3 is the track sampling synoptic diagram according to third embodiment of the invention.
Fig. 4 is the process flow diagram based on the track comparative approach of touch-screen according to fourth embodiment of the invention.
Fig. 5 is the process flow diagram based on the object invocation method of touch-screen according to fifth embodiment of the invention.
Fig. 6 carries out related process flow diagram with track data with telephone number according to sixth embodiment of the invention.
Fig. 7 is the process flow diagram according to the track display packing of seventh embodiment of the invention.
Fig. 8 is the electrical block diagram based on the object invocation device of touch-screen according to eighth embodiment of the invention.
Fig. 9 is the process flow diagram based on the object invocation method of touch-screen according to ninth embodiment of the invention.
Figure 10 carries out related process flow diagram with track data with application program according to tenth embodiment of the invention.
Figure 11 is the electrical block diagram based on the object invocation device of touch-screen according to eleventh embodiment of the invention.
Embodiment
At first see also Fig. 1, Fig. 1 is the process flow diagram based on the track recording method of touch-screen according to first embodiment of the invention.
As shown in Figure 1, in the present embodiment, may further comprise the steps based on the track recording method of touch-screen:
Step 101, the abscissa value and the ordinate value of a plurality of sampled points of collection user on the track of being drawn on the touch-screen.
Step 102 is calculated horizontal ordinate difference and ordinate difference between a plurality of sampled points.
Step 103 is stored horizontal ordinate difference and ordinate difference between a plurality of sampled points.
Wherein, in a preferred embodiment of the invention, can calculate horizontal ordinate difference and ordinate difference between the neighbouring sample point in a plurality of sampled points respectively in step 102, and in step 103 horizontal ordinate difference and the ordinate difference between the neighbouring sample point in a plurality of sampled points of storage.
And, in other embodiments of the invention, also can in step 102, can calculate horizontal ordinate difference and ordinate difference between initial sampled point and all the other sampled points, and in step 103, store horizontal ordinate difference and ordinate difference between initial sampled point and all the other sampled points.
Therefore, in all of the embodiments of the present invention, horizontal ordinate difference and ordinate difference between a plurality of sampled points comprise: horizontal ordinate difference between horizontal ordinate difference between the neighbouring sample point in a plurality of sampled points and ordinate difference and initial sampled point and all the other sampled points and ordinate difference.Wherein, can choose above any one in the two according to actual needs.
Below can further make detailed introduction to above-mentioned two kinds of account forms referring to Fig. 2 and Fig. 3.
Please earlier referring to Fig. 2, Fig. 2 is the track sampling synoptic diagram according to second embodiment of the invention.As shown in Figure 2, the user utilizes finger or felt pen to draw lower curve G on touch-screen, touch-screen can be sampled to curve G according to the time, in the present embodiment, utilize 8 sampled points that curve G is sampled, sampled point is respectively 0-8, and wherein sampled point 0 is initial sampled point, and sampled point 8 is for stopping sampled point.
After the coordinate figure of record sampled point 0-8, can calculate horizontal ordinate difference and ordinate difference between sampled point 0 and the sampled point 1 respectively according to the coordinate figure of sampled point 0-8, horizontal ordinate difference between sampled point 1 and the sampled point 2 and ordinate difference, horizontal ordinate difference between sampled point 2 and the sampled point 3 and ordinate difference, horizontal ordinate difference between sampled point 3 and the sampled point 4 and ordinate difference, horizontal ordinate difference between sampled point 4 and the sampled point 5 and ordinate difference, horizontal ordinate difference between sampled point 5 and the sampled point 6 and ordinate difference, horizontal ordinate difference between horizontal ordinate difference between sampled point 6 and the sampled point 7 and ordinate difference and sampled point 7 and the sampled point 8 and ordinate difference.
Wherein, the horizontal ordinate difference of neighbouring sample point and ordinate difference can be horizontal ordinate actual difference Δ X1-Δ X8 and ordinate actual difference Δ Y1-Δ Y8, its be on the occasion of or negative value, can accurately go back virgin curve G by the coordinate actual difference more than the direct storage.
It should be noted that, the horizontal ordinate difference and the ordinate difference of neighbouring sample point also can be the horizontal ordinate absolute difference | Δ X1|-| Δ X8| and ordinate absolute difference | and Δ Y1|-| Δ Y8|, wherein horizontal ordinate absolute difference and ordinate absolute difference can directly be got the absolute value of horizontal ordinate difference and ordinate difference and obtain, and can be further by calculating initial sampled point 0 and horizontal ordinate actual difference Δ X0 that stops sampled point 8 and the direction that ordinate actual difference Δ Y0 defines curve G.
Initial sampled point 0 and horizontal ordinate actual difference that stops sampled point 8 and the direction that the ordinate actual difference is used to define curve G; therefore; when carrying out the track reduction; can determine by initial sampled point 0 and the positive and negative of the horizontal ordinate actual difference Δ X0 that stops sampled point 8 | Δ X1|-| Δ X8|'s is positive and negative, and determines by initial sampled point 0 and the positive and negative of the ordinate actual difference Δ Y0 that stops sampled point 8 | and Δ Y1|-| Δ Y8|'s is positive and negative.Above computing method are owing to only need to preserve the absolute difference of most of coordinate, and need not to distinguish the positive and negative of coordinate, therefore can greatly save storage space, and improve arithmetic speed.
Please further referring to Fig. 3, Fig. 3 is the track sampling synoptic diagram according to third embodiment of the invention.As shown in Figure 3, in the present embodiment, will adopt another kind of computing method recording curve G, and identical with second embodiment, in the present embodiment, utilize 8 sampled points that curve G is sampled, sampled point is respectively 0-8, and wherein sampled point 0 is initial sampled point, and sampled point 8 is for stopping sampled point.
Compare with a last embodiment, in the present embodiment, after the coordinate figure of record sampled point 0-8, can calculate the horizontal ordinate difference and the ordinate difference of initial sampled point 0 and other sampled points (1-8) respectively according to the coordinate figure of sampled point 0-8.Particularly, can calculate horizontal ordinate difference and ordinate difference between initial sampled point 0 and the sampled point 1 respectively, horizontal ordinate difference between initial sampled point 0 and the sampled point 2 and ordinate difference, horizontal ordinate difference between initial sampled point 0 and the sampled point 3 and ordinate difference, horizontal ordinate difference between initial sampled point 0 and the sampled point 4 and ordinate difference, horizontal ordinate difference between initial sampled point 0 and the sampled point 5 and ordinate difference, horizontal ordinate difference between initial sampled point 0 and the sampled point 6 and ordinate difference, horizontal ordinate difference and ordinate difference between horizontal ordinate difference between initial sampled point 0 and the sampled point 7 and ordinate difference and initial sampled point 0 and the termination sampled point 8.
Similar with second embodiment, the horizontal ordinate difference of initial sampled point and other sampled points and ordinate difference can be horizontal ordinate actual difference Δ X1-Δ X8 and ordinate actual difference Δ Y1-Δ Y8, its be on the occasion of or negative value, can accurately go back virgin curve G by the coordinate actual difference more than the direct storage.
It should be noted that; horizontal ordinate difference and ordinate difference between initial sampled point and other sampled points also can be the horizontal ordinate absolute difference | Δ X1|-| Δ X8| and ordinate absolute difference | and Δ Y1|-| Δ Y8|; wherein horizontal ordinate absolute difference and ordinate absolute difference can directly be got the absolute value of horizontal ordinate difference and ordinate difference and obtain; and further record start sampled point and the horizontal ordinate actual difference Δ X8 and the ordinate actual difference Δ Y8 that stop sampled point; wherein; initial sampled point and horizontal ordinate actual difference Δ X8 that stops sampled point and the direction of ordinate actual difference Δ Y8 definable curve G; when carrying out the track reduction; can determine by initial sampled point and the positive and negative of the horizontal ordinate actual difference that stops sampled point | Δ X1|-| Δ X8|'s is positive and negative, and determines by initial sampled point and the positive and negative of the ordinate actual difference that stops sampled point | and Δ Y1|-| Δ Y8|'s is positive and negative.Above computing method are owing to only need to preserve the absolute difference of most of coordinate, and need not to distinguish the positive and negative of coordinate, therefore can greatly save storage space, and improve arithmetic speed.
But, it should be noted that, if initial sampled point and stop horizontal ordinate actual difference between the sampled point or the ordinate actual difference have more than one and one be zero or initial sampled point equal the ordinate actual difference with horizontal ordinate actual difference between the termination sampled point, then give up the pairing track data of this track, the prompting user re-enters.Because if it is zero that horizontal ordinate actual difference between initial sampled point and the termination sampled point or ordinate actual difference have more than one and one or the horizontal ordinate actual difference equals the ordinate actual difference, then when adopting absolute value to write down, according to the principle of symmetry, have different curves and satisfy same data.For fear of this situation, do not write down the data of this track, allow the user re-enter other tracks.
Now see also Fig. 4, Fig. 4 is the process flow diagram based on the track comparative approach of touch-screen according to fourth embodiment of the invention.The track comparative approach based on touch-screen according to fourth embodiment of the invention comprises:
Step 201 is obtained horizontal ordinate difference and ordinate difference between a plurality of first sampled points on first track.
Step 202 is obtained horizontal ordinate difference and ordinate difference between a plurality of second sampled points on second track.
Step 203 judges according to the horizontal ordinate difference between the horizontal ordinate difference between a plurality of first sampled points and ordinate difference and a plurality of second sampled point and ordinate difference whether first track and second track be same or similar.
Wherein, in step 203, can judge whether first track is identical with second track by judging that horizontal ordinate difference between horizontal ordinate difference and a plurality of second sampled points between a plurality of first sampled points and the ordinate difference between a plurality of first sampled point and the ordinate difference between a plurality of second sampled point be whether identical.
But; because it (is that second track that the user imports dimensionally may be inequality with first track that may there be the situation similar to first track in second track of being gathered; but profile; the ratio unanimity; and this situation takes place when touch-screen is imported through regular meeting); therefore in step 203, whether the ratio value of the ordinate difference between the ratio value of the horizontal ordinate difference between ratio value that also can be by judging the horizontal ordinate difference between a plurality of first sampled points and a plurality of second sampled points and the ratio value of the ordinate difference between a plurality of first sampled point and a plurality of second sampled points is identical judges whether first track is similar to second track.
In addition, with reference to above-mentioned second, the method that the 3rd embodiment is disclosed, can in step 201, obtain horizontal ordinate absolute difference and ordinate absolute difference between a plurality of first sampled points, and further obtain initial first sampled point and stop horizontal ordinate actual difference and ordinate actual difference between first sampled point, in step 202, obtain horizontal ordinate absolute difference and ordinate absolute difference between a plurality of second sampled points, and further obtain initial second sampled point and stop horizontal ordinate actual difference and ordinate actual difference between second sampled point, in step 203 according to initial first sampled point and stop horizontal ordinate actual difference between first sampled point and direction that the ordinate actual difference is determined first track, according to initial second sampled point and stop horizontal ordinate actual difference between second sampled point and direction that the ordinate actual difference is determined second track, and further according to the direction of first track, the direction of second track, horizontal ordinate absolute difference between horizontal ordinate absolute difference between a plurality of first sampled points and ordinate absolute difference and second sampled point and ordinate absolute difference judge whether first track and second track be same or similar.
Wherein, horizontal ordinate absolute difference between above-mentioned a plurality of first sampled points and ordinate absolute difference can be horizontal ordinate absolute difference and the ordinate absolute difference between a plurality of adjacent first sampled points, or initial first sampled point and other first horizontal ordinate absolute difference and ordinate absolute differences that adopts between the point.And, horizontal ordinate absolute difference between above-mentioned a plurality of second sampled points and ordinate absolute difference can be horizontal ordinate absolute difference and the ordinate absolute difference between a plurality of adjacent second sampled points, or initial second sampled point and other second horizontal ordinate absolute difference and ordinate absolute differences that adopts between the point.
Fig. 5-14 will disclose a kind of object invocation method and device based on touch-screen, can utilize above-mentioned track record, comparative approach carries out object invocation, the user only needs the corresponding track of paddling on touch-screen, can on terminal, call the target corresponding with this track, wherein, this target can comprise the entry address or the telephone number of application program, when target is telephone number, based on the object invocation method of touch-screen is making call method based on touch-screen, when target is the entry address of application program, be application program launching method based on touch-screen based on the object invocation method of touch-screen.
When target is telephone number, below can be utilized above-mentioned track record, comparative approach to carry out telephone number dialing referring to what Fig. 5-8 disclosed based on the object invocation method object invocation method of touch-screen and device, the user only needs the corresponding track of paddling on touch-screen, can dial the telephone number that is associated with this track on the terminal of dial module being provided with.
See also Fig. 5, wherein Fig. 5 is the process flow diagram based on the object invocation method of touch-screen according to fifth embodiment of the invention.
As shown in Figure 5, the object invocation method based on touch-screen according to fifth embodiment of the invention comprises:
Step 301 is obtained horizontal ordinate difference and ordinate difference between a plurality of first sampled points on first track.
Step 302 is stored horizontal ordinate difference and ordinate difference between a plurality of first sampled points, and further carries out relatedly with target, particularly, in the present embodiment, can carry out related with telephone number.
Step 303 is obtained horizontal ordinate difference and ordinate difference between a plurality of second sampled points on second track.
Step 304 judges according to the horizontal ordinate difference between the horizontal ordinate difference between a plurality of first sampled points and ordinate difference and a plurality of second sampled point and ordinate difference whether first track and second track be same or similar.
Step 305 is determining first track and second track when same or similar, invocation target, wherein, and in present embodiment, the action that can dial phone number.
Step 306 is abandoned second track, and shows original interface.
Particularly, in step 301, can obtain horizontal ordinate difference and ordinate difference between adjacent first sampled point on first track, in step 303, obtain horizontal ordinate difference and ordinate difference between adjacent second sampled point on second track.
In addition, also can in step 301, obtain initial first sampled point on first track and horizontal ordinate difference and the ordinate difference between all the other first sampled points, in step 303, obtain initial second sampled point on second track and horizontal ordinate difference and the ordinate difference between all the other second sampled points.
More than two kinds of obtain manners in second, third embodiment of the present invention, specifically introduce, do not giving unnecessary details in this.
And, in step 304, can judge whether first track is identical with second track by judging that horizontal ordinate difference between horizontal ordinate difference and a plurality of second sampled points between a plurality of first sampled points and the ordinate difference between a plurality of first sampled point and the ordinate difference between a plurality of second sampled point be whether identical.
In addition, in step 304, whether the ratio value of the ordinate difference between the ratio value of the horizontal ordinate difference between ratio value that also can be by judging the horizontal ordinate difference between a plurality of first sampled points and a plurality of second sampled points and the ratio value of the ordinate difference between a plurality of first sampled point and a plurality of second sampled points is identical judges whether first track is similar to second track.
Particularly, horizontal ordinate absolute difference and ordinate absolute difference between a plurality of first sampled points be can in step 301, obtain, and horizontal ordinate actual difference and ordinate actual difference between initial first sampled point and termination first sampled point further obtained.In step 303, obtain horizontal ordinate absolute difference and ordinate absolute difference between a plurality of second sampled points, and further obtain initial second sampled point and stop horizontal ordinate actual difference and ordinate actual difference between second sampled point, in step 304, according to initial first sampled point and stop horizontal ordinate actual difference between first sampled point and direction that the ordinate actual difference is determined first track, according to initial second sampled point and stop horizontal ordinate actual difference between second sampled point and direction that the ordinate actual difference is determined second track, and further according to the direction of first track, the direction of second track, horizontal ordinate absolute difference between horizontal ordinate absolute difference between a plurality of first sampled points and ordinate absolute difference and second sampled point and ordinate absolute difference judge whether first track and second track be same or similar.
Below will elaborate in the above-mentioned step 302 the horizontal ordinate difference between a plurality of first sampled points being carried out related embodiment with ordinate difference and telephone number referring to Fig. 6, wherein, Fig. 6 carries out related process flow diagram with track data with telephone number according to sixth embodiment of the invention, as shown in Figure 6, track data and telephone number being carried out related method comprises:
Step 401 is stored horizontal ordinate difference and ordinate difference between a plurality of first sampled points with the array form, and array is numbered.
Step 402 shows first track according to horizontal ordinate difference between a plurality of first sampled points and ordinate difference.
Step 403 is obtained telephone number and is carried out related with numbering telephone number.
Therefore, the user can be associated first track with particular telephone number, and the user can be corresponding one by one with a plurality of telephone numbers with a plurality of tracks by the operation of making repeatedly as above.
And seeing also Fig. 7, Fig. 7 is the process flow diagram according to the track display packing of seventh embodiment of the invention.Wherein, Fig. 7 has disclosed the idiographic flow of touch-screen track display packing in detail, and particularly, the track display packing comprises:
Step 501 is obtained the abscissa value and the ordinate value of initial first sampled point.
Step 502, abscissa value and the ordinate value of determining other sampled points in a plurality of first sampled points according to the abscissa value and the ordinate value of the horizontal ordinate difference between a plurality of first sampled points and ordinate difference and initial sampled point.
Step 503 shows a plurality of first sampled points according to the abscissa value and the ordinate value of a plurality of first sampled points on touch-screen, and connects a plurality of first sampled points successively to show first track on touch-screen.
Wherein, in step 501, initial first sampled point can be arranged in touch-screen preposition or the desktop window as required.
See also Fig. 8, Fig. 8 is the electrical block diagram based on the object invocation device of touch-screen according to eighth embodiment of the invention.As shown in Figure 8, the dialing mechanism based on touch-screen according to eighth embodiment of the invention comprises touch-screen 601, computing module 602, memory module 603, relating module 604, judge module 605 and dial module 606, touch-screen 601 obtains the abscissa value and the ordinate value of a plurality of first sampled points on first track, horizontal ordinate difference and ordinate difference between a plurality of first sampled points that computing module 602 calculates on first track, horizontal ordinate difference and ordinate difference between a plurality of first sampled points of memory module 603 storages, relating module 604 is associated horizontal ordinate difference between a plurality of first sampled points and ordinate difference with telephone number, touch-screen 601 further obtains the abscissa value and the ordinate value of a plurality of second sampled points on second track, horizontal ordinate difference and ordinate difference between computing module 602 further a plurality of second sampled points that calculate on second track, judge module 605 judges according to the horizontal ordinate difference between the horizontal ordinate difference between a plurality of first sampled points and ordinate difference and a plurality of second sampled point and ordinate difference whether first track and second track be same or similar, determine first track and second track when same or similar at judge module 605, dial module 606 is dialed this telephone number.
It should be noted that, the above object invocation device based on touch-screen that discloses can be arranged in the mobile communication terminal, dial corresponding telephone number by on touch-screen, marking particular track, the user only need make simple paddling just can carry out making call on communication terminal, thereby saved user's time, and made user experience better.
When target is the entry address of application program, object invocation method of the present invention and install application program capable of fast starting, below will introduce a kind of object invocation method and device that starts application program in detail referring to Fig. 9-11 based on touch-screen, wherein, the object invocation method based on touch-screen that is disclosed below can utilize above-mentioned track record, comparative approach to start application program.
See also Fig. 9, wherein Fig. 9 is the process flow diagram based on the object invocation method of touch-screen according to ninth embodiment of the invention.
As shown in Figure 9, the object invocation method based on touch-screen according to ninth embodiment of the invention comprises:
Step 701 is obtained horizontal ordinate difference and ordinate difference between a plurality of first sampled points on first track.
Step 702 is stored horizontal ordinate difference and ordinate difference between a plurality of first sampled points, and further carries out relatedly with target, in the present embodiment, can carry out related with the entry address of application program.
Step 703 is obtained horizontal ordinate difference and ordinate difference between a plurality of second sampled points on second track.
Step 704 judges according to the horizontal ordinate difference between the horizontal ordinate difference between a plurality of first sampled points and ordinate difference and a plurality of second sampled point and ordinate difference whether first track and second track be same or similar.
Step 705 is determining first track and second track when same or similar, and invocation target particularly, in the present embodiment, can start application program according to the entry address.
Step 706 is abandoned second track, shows original interface.
Particularly, in step 701, can obtain horizontal ordinate difference and ordinate difference between adjacent first sampled point on first track, and, horizontal ordinate difference and ordinate difference between adjacent second sampled point on second track in step 703, obtained.
In addition, also can in step 701, obtain initial first sampled point on first track and horizontal ordinate difference and the ordinate difference between all the other first sampled points, in step 703, obtain initial second sampled point on second track and horizontal ordinate difference and the ordinate difference between all the other second sampled points.
More than two kinds of obtain manners in second, third embodiment of the present invention, specifically introduce, do not giving unnecessary details in this.
And, in step 704, can judge whether first track is identical with second track by judging that horizontal ordinate difference between horizontal ordinate difference and a plurality of second sampled points between a plurality of first sampled points and the ordinate difference between a plurality of first sampled point and the ordinate difference between a plurality of second sampled point be whether identical.
In addition, in step 704, whether the ratio value of the ordinate difference between the ratio value of the horizontal ordinate difference between ratio value that also can be by judging the horizontal ordinate difference between a plurality of first sampled points and a plurality of second sampled points and the ratio value of the ordinate difference between a plurality of first sampled point and a plurality of second sampled points is identical judges whether first track is similar to second track.
Particularly, horizontal ordinate absolute difference and ordinate absolute difference between a plurality of first sampled points be can in step 701, obtain, and horizontal ordinate actual difference and ordinate actual difference between initial first sampled point and termination first sampled point further obtained.In step 703, obtain horizontal ordinate absolute difference and ordinate absolute difference between a plurality of second sampled points, and further obtain initial second sampled point and stop horizontal ordinate actual difference and ordinate actual difference between second sampled point, in step 704, according to initial first sampled point and stop horizontal ordinate actual difference between first sampled point and direction that the ordinate actual difference is determined first track, according to initial second sampled point and stop horizontal ordinate actual difference between second sampled point and direction that the ordinate actual difference is determined second track, and further according to the direction of first track, the direction of second track, horizontal ordinate absolute difference between horizontal ordinate absolute difference between a plurality of first sampled points and ordinate absolute difference and second sampled point and ordinate absolute difference judge whether first track and second track be same or similar.
Below will to being carried out related method with the entry address of ordinate difference and application program, the horizontal ordinate difference between a plurality of first sampled points elaborate referring to Figure 10.Wherein, Figure 10 carries out related process flow diagram with track data with application program according to tenth embodiment of the invention.As shown in Figure 8, track data and application program being carried out related method comprises:
Step 801 is stored horizontal ordinate difference and ordinate difference between a plurality of first sampled points with the array form, and array is numbered.
Step 802 shows first track according to horizontal ordinate difference between a plurality of first sampled points and ordinate difference, and wherein, the idiographic flow of the method for demonstration track is seen and repeated no more in this referring to Fig. 7 on touch-screen.
Step 803 is obtained the entry address and is carried out related with numbering the entry address.
See also Figure 11, Figure 11 is the electrical block diagram based on the object invocation device of touch-screen according to eleventh embodiment of the invention.As shown in figure 11, the application program launching device based on touch-screen according to eighth embodiment of the invention comprises touch-screen 1001, computing module 1002, memory module 1103, relating module 1004, judge module 1005 and startup module 1006, touch-screen 1001 obtains the abscissa value and the ordinate value of a plurality of first sampled points on first track, horizontal ordinate difference and ordinate difference between a plurality of first sampled points that computing module 1002 calculates on first track, horizontal ordinate difference and ordinate difference between a plurality of first sampled points of memory module 1003 storages, relating module 1004 carries out related with the ordinate difference with the entry address of application program the horizontal ordinate difference between a plurality of first sampled points, touch-screen 1001 further obtains the abscissa value and the ordinate value of a plurality of second sampled points on second track, horizontal ordinate difference and ordinate difference between computing module 1002 further a plurality of second sampled points that calculate on second track, judge module 1005 judges according to the horizontal ordinate difference between the horizontal ordinate difference between a plurality of first sampled points and ordinate difference and a plurality of second sampled point and ordinate difference whether first track and second track be same or similar, determine first track and second track when same or similar at judge module 1005, start module 1006 and start application program according to the entry address.
It should be noted that the above application program launching device based on touch-screen that discloses can be arranged on the communication terminal, by on touch-screen, marking the application program that particular track starts communication terminal.
It should be noted that according to the above when target was telephone number, the calling module in the object invocation device corresponded to dial module, when target was the entry address of application program, the calling module in the object invocation device corresponded to the startup module.Therefore, the invention provides a kind of object invocation method and device based on touch-screen, start the application program of communication terminal or dial phone number by on touch-screen, marking particular track, the user only need make simple paddling and just can start application program on communication terminal or dial phone number, thereby saved user's time, and made user experience better.
Therefore, by above scheme, track record based on touch-screen provided by the present invention, comparative approach can reduce operand by horizontal ordinate difference and ordinate difference between a plurality of sampled points of storage track, and guarantee that track redraws and accuracy relatively.
Below only be embodiments of the invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (11)

1. the track recording method based on touch-screen is characterized in that, said method comprising the steps of:
A. gather the abscissa value and the ordinate value of a plurality of sampled points of user on the track of being drawn on the touch-screen;
B. calculate horizontal ordinate difference and ordinate difference between described a plurality of sampled point;
C. store horizontal ordinate difference and ordinate difference between described a plurality of sampled point.
2. method according to claim 1 is characterized in that, in described step b, calculates horizontal ordinate difference and ordinate difference between the neighbouring sample point in described a plurality of sampled point respectively.
3. method according to claim 1 is characterized in that, in described step b, calculates initial sampled point and horizontal ordinate difference between all the other sampled points and ordinate difference in described a plurality of sampled point respectively.
4. method according to claim 1, it is characterized in that, in described step b, calculate horizontal ordinate absolute difference and ordinate absolute difference between described a plurality of sampled point, and calculate initial sampled point and stop horizontal ordinate actual difference and ordinate actual difference between the sampled point, in described step c, store horizontal ordinate absolute difference and ordinate absolute difference between described a plurality of sampled point, and further store horizontal ordinate actual difference and ordinate actual difference between initial sampled point and the termination sampled point.
5. method according to claim 4, it is characterized in that, in described step b, calculate have in horizontal ordinate actual difference between described initial sampled point and the described termination sampled point and the ordinate actual difference one or more be zero or described initial sampled point and described termination sampled point between horizontal ordinate actual difference when equaling the ordinate actual difference, in described step c, abandon storing horizontal ordinate absolute difference and ordinate absolute difference and the initial sampled point between described a plurality of sampled point and stop horizontal ordinate actual difference and ordinate actual difference between the sampled point.
6. the track comparative approach based on touch-screen is characterized in that, said method comprising the steps of:
A. obtain horizontal ordinate difference and ordinate difference between a plurality of first sampled points on first track;
B. obtain horizontal ordinate difference and ordinate difference between a plurality of second sampled points on second track;
C. judge according to the horizontal ordinate difference between the horizontal ordinate difference between described a plurality of first sampled points and ordinate difference and described a plurality of second sampled point and ordinate difference whether described first track and described second track be same or similar.
7. method according to claim 6 is characterized in that, in described step a, obtains horizontal ordinate difference and ordinate difference between adjacent first sampled point on described first track; In described step b, obtain horizontal ordinate difference and ordinate difference between adjacent second sampled point on described second track.
8. method according to claim 6 is characterized in that, in described step a, obtains initial first sampled point on described first track and horizontal ordinate difference and the ordinate difference between all the other first sampled points; In described step b, obtain initial second sampled point on described second track and horizontal ordinate difference and the ordinate difference between all the other second sampled points.
9. method according to claim 6, it is characterized in that, in described step c, judge by judging that horizontal ordinate difference between horizontal ordinate difference and described a plurality of second sampled points between described a plurality of first sampled point and the ordinate difference between described a plurality of first sampled point and the ordinate difference between described a plurality of second sampled point be whether identical whether described first track is identical with described second track.
10. method according to claim 6, it is characterized in that, in described step c, whether the ratio value of the ordinate difference between the ratio value of the horizontal ordinate difference between the ratio value by judging the horizontal ordinate difference between described a plurality of first sampled point and described a plurality of second sampled points and the ratio value of the ordinate difference between described a plurality of first sampled point and described a plurality of second sampled points is identical judges whether described first track is similar to described second track.
11. method according to claim 6, it is characterized in that, in described step a, obtain horizontal ordinate absolute difference and ordinate absolute difference between described a plurality of first sampled point, and further obtain initial first sampled point and stop horizontal ordinate actual difference and ordinate actual difference between first sampled point, in described step b, obtain horizontal ordinate absolute difference and ordinate absolute difference between described a plurality of second sampled point, and further obtain initial second sampled point and stop horizontal ordinate actual difference and ordinate actual difference between second sampled point, in described step c, according to initial first sampled point and stop horizontal ordinate actual difference between first sampled point and direction that the ordinate actual difference is determined described first track, according to initial second sampled point and stop horizontal ordinate actual difference between second sampled point and direction that the ordinate actual difference is determined described second track, and further according to the direction of described first track, the direction of described second track, horizontal ordinate absolute difference between horizontal ordinate absolute difference between described a plurality of first sampled point and ordinate absolute difference and described second sampled point and ordinate absolute difference judge whether described first track and described second track be same or similar.
CN 201110053870 2011-03-07 2011-03-07 Touch screen-based track recording and comparing method Pending CN102129321A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110053870 CN102129321A (en) 2011-03-07 2011-03-07 Touch screen-based track recording and comparing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110053870 CN102129321A (en) 2011-03-07 2011-03-07 Touch screen-based track recording and comparing method

Publications (1)

Publication Number Publication Date
CN102129321A true CN102129321A (en) 2011-07-20

Family

ID=44267425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110053870 Pending CN102129321A (en) 2011-03-07 2011-03-07 Touch screen-based track recording and comparing method

Country Status (1)

Country Link
CN (1) CN102129321A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103239240A (en) * 2013-04-23 2013-08-14 天津大学 Oxygen saturation extraction method for eliminating optical path length differences
WO2014121623A1 (en) * 2013-02-07 2014-08-14 Tencent Technology (Shenzhen) Company Limited Sliding control method and terminal device thereof
CN104537099A (en) * 2015-01-09 2015-04-22 北京道通天下信息科技有限责任公司 Storage method and device and electronic equipment
CN105373289A (en) * 2015-10-10 2016-03-02 惠州Tcl移动通信有限公司 Intelligent equipment for displaying help interface according to touch track and method thereof
CN105892753A (en) * 2016-04-29 2016-08-24 努比亚技术有限公司 Method and device for touch screen equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070274591A1 (en) * 2006-05-26 2007-11-29 Elitegroup Computer Systems Co., Ltd. Input apparatus and input method thereof
CN101340559A (en) * 2008-03-13 2009-01-07 北京雷石天地电子技术有限公司 Sliding type video demanding method
CN101419517A (en) * 2008-12-05 2009-04-29 北京邮电大学 Cursor input method based on stress position of touch panel
US20100282524A1 (en) * 2007-07-09 2010-11-11 Sensitive Object Touch control system and method for localising an excitation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070274591A1 (en) * 2006-05-26 2007-11-29 Elitegroup Computer Systems Co., Ltd. Input apparatus and input method thereof
US20100282524A1 (en) * 2007-07-09 2010-11-11 Sensitive Object Touch control system and method for localising an excitation
CN101340559A (en) * 2008-03-13 2009-01-07 北京雷石天地电子技术有限公司 Sliding type video demanding method
CN101419517A (en) * 2008-12-05 2009-04-29 北京邮电大学 Cursor input method based on stress position of touch panel

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014121623A1 (en) * 2013-02-07 2014-08-14 Tencent Technology (Shenzhen) Company Limited Sliding control method and terminal device thereof
US9377868B2 (en) 2013-02-07 2016-06-28 Tencent Technology (Shenzhen) Company Limited Sliding control method and terminal device thereof
CN103239240A (en) * 2013-04-23 2013-08-14 天津大学 Oxygen saturation extraction method for eliminating optical path length differences
CN103239240B (en) * 2013-04-23 2015-03-25 天津大学 Oxygen saturation extraction method for eliminating optical path length differences
CN104537099A (en) * 2015-01-09 2015-04-22 北京道通天下信息科技有限责任公司 Storage method and device and electronic equipment
CN105373289A (en) * 2015-10-10 2016-03-02 惠州Tcl移动通信有限公司 Intelligent equipment for displaying help interface according to touch track and method thereof
CN105892753A (en) * 2016-04-29 2016-08-24 努比亚技术有限公司 Method and device for touch screen equipment
CN105892753B (en) * 2016-04-29 2019-01-01 努比亚技术有限公司 A kind of method and device towards touch-screen equipment

Similar Documents

Publication Publication Date Title
CN101464741B (en) Touch panel and its use method and notebook computer with the same
US9304656B2 (en) Systems and method for object selection on presence sensitive devices
CN102810023B (en) Identify method and the terminal device of gesture motion
CN102736759B (en) Touch screen and control method thereof
CN102411447B (en) Input detection device, input detection method, input detection program, and computer readable media
CN102117165A (en) Touch input processing method and mobile terminal
CN102402320B (en) Control method for handheld terminal and handheld terminal
CN104102441A (en) Menuitem executing method and device
CN101276255A (en) Display apparatus and display method of mobile terminal menu
CN102129321A (en) Touch screen-based track recording and comparing method
CN105144068A (en) Application program display method and terminal
CN102710846A (en) System and method for realizing electronic book page turning based on forced induction
US20120206373A1 (en) Electronic device and method of controlling same
CN101859177B (en) Method and device for calling and operating application program on intelligent electronic device
CN105353906A (en) Trajectory prediction system and trajectory prediction method
CN103809894B (en) A kind of recognition methods of gesture and electronic equipment
CN107368249A (en) A kind of touch control operation recognition methods, device and mobile terminal
CN107291367B (en) Use method and device of eraser
CN101799796B (en) Touch-screen calculator and method thereof for performing multi-step operation on input data
CN104714643A (en) Method and system for achieving touch screen stimulation through sensor and mobile terminal
CN101794182B (en) Method and equipment for touch input
CN106557175B (en) Character input method and electronic equipment
CN102129347A (en) Touch screen-based target calling method and device
TW201734709A (en) Electronic device and switch method and system for inputting
CN105159555A (en) User equipment control method and user equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110720