A touch track generation method and device, storage medium, and touch device

By combining the signals of the position detection unit and the elastic wave detection unit in the touch device, an accurate touch trajectory is generated, and the problems of mist touch and signal delay in infrared touch technology are solved, thereby improving the writing experience.

CN114690961BActive Publication Date: 2025-05-16BEIJING TITANIUM INTELLIGENT SENSE TECHNOLOGY CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202011594943.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-29
Publication Date
2025-05-16
Estimated Expiration
2040-12-29

AI Technical Summary

Technical Problem

Existing infrared touch technology is prone to problems such as pen connection, disconnection and tailing due to mistouch or signal delay during writing, which affects the writing experience.

Method used

Using a touch control device including a position detection unit and an elastic wave detection unit, a more accurate touch track is generated by acquiring signals from the position detection unit and an elastic wave detection unit to avoid mist touch and signal delay.

Benefits of technology

It effectively reduces the phenomenon of continuous strokes, broken lines and tailings, and improves the writing experience and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114690961B_ABST
    Figure CN114690961B_ABST
Patent Text Reader

Abstract

A touch track generation method and device, a storage medium, and a touch device, wherein the touch track generation method is applied to a touch device including a position detection unit, an elastic wave detection unit, and a touch panel, wherein the elastic wave detection unit is configured to detect an elastic wave signal of the touch panel, and the touch track generation method includes: obtaining a first signal output by the position detection unit, and obtaining a second signal output by the elastic wave detection unit; and generating a touch track according to the first signal and the second signal. The solution provided in this embodiment generates a touch track according to an elastic wave signal, which can improve the touch track.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to intelligent touch interaction technology, and more particularly to a touch trajectory generation method and device, a storage medium, and a touch device. Background Art

[0002] Current infrared technology can support writing with any touch object, but due to technical limitations, the light emitting diode (LED) of the infrared technology solution needs to be a certain distance above the touch surface. When the user is writing, the infrared signal is triggered before the pen touches the touch surface. When the user's pen has left the touch surface, the infrared signal still exists, which leads to continuous writing and false triggering, which greatly affects the writing experience. Summary of the invention

[0003] The embodiments of the present application provide a touch trajectory generation method and device, a storage medium, and a touch device to improve the writing experience.

[0004] The embodiment of the present application provides a touch track generation method, which is applied to a touch device including a position detection unit, an elastic wave detection unit and a touch panel, wherein the elastic wave detection unit is configured to detect an elastic wave signal of the touch panel, and the touch track generation method includes:

[0005] Acquire a first signal output by the position detection unit, and acquire a second signal output by the elastic wave detection unit;

[0006] A touch track is generated according to the first signal and the second signal.

[0007] In an exemplary embodiment, generating a touch track according to the first signal and the second signal includes:

[0008] When it is determined according to the first signal that the touch object is in the detection range of the position detection unit, and it is determined according to the second signal that the touch object touches the touch panel, a touch point is determined according to the first signal, and a touch track is generated according to the touch point.

[0009] In an exemplary embodiment, generating a touch track according to the first signal and the second signal includes:

[0010] determining a first moment when the touch object leaves the touch panel according to the second signal, determining a second moment when the touch object first touches the touch panel after the first moment according to the second signal, and determining according to the first signal that the touch object is in a detection range of the position detection unit during a period from the first moment to the second moment,

[0011] determining a time threshold, comparing a time difference between the first moment and the second moment with the time threshold, and connecting a first position of the touch object at the first moment with a second position of the touch object at the second moment if the time difference is less than or equal to the time threshold;

[0012] or,

[0013] Determine a distance threshold, compare the distance between a first position of the touch object at the first moment and a second position of the touch object at the second moment with the distance threshold, and connect the first position and the second position if the distance between the first position and the second position is less than or equal to the distance threshold.

[0014] In an exemplary embodiment, the determining of the time threshold, or before determining the distance threshold, further includes:

[0015] Compare the time difference between the first moment and the second moment with a preset first threshold, and when the time difference between the first moment and the second moment is less than or equal to the preset first threshold, perform a step of determining a time threshold or a distance threshold;

[0016] Alternatively, a first position of the touch object at a first moment and a second position of the touch object at a second moment are determined according to the first signal, and a distance between the first position and the second position is compared with a preset second threshold; when the distance between the first position and the second position is less than or equal to the preset second threshold, a step of determining a distance threshold or a time threshold is performed.

[0017] In an exemplary embodiment, determining the time threshold comprises:

[0018] Determine a first position of the touch object at a first moment and a second position of the touch object at a second moment according to the first signal, and determine the time threshold according to a moving speed of the touch object on the touch panel and a track distance between the first position and the second position;

[0019] The determining the distance threshold comprises: determining the distance threshold according to a time difference between a first moment and a second moment, and a moving speed of the touch object on the touch panel;

[0020] The moving speed of the touch object on the touch panel is the moving speed of the touch object at a first moment and the moving speed of the touch object at a second moment determined according to the first signal, or a speed value obtained according to the moving speed of the touch object at the first moment and the moving speed of the touch object at the second moment.

[0021] In an exemplary embodiment, generating a touch track according to the first signal and the second signal includes:

[0022] determining a touch point according to the first signal, and generating an initial touch trajectory according to the touch point;

[0023] And, deleting the touch track corresponding to the time period in which the touch object is separated from the touch panel determined according to the second signal in the initial touch track.

[0024] In an exemplary embodiment, deleting the touch track corresponding to the time period in which the touch object is separated from the touch panel determined according to the second signal in the initial touch track includes:

[0025] A first moment when the touch object leaves the touch panel is determined according to the second signal, a third moment when the touch object first leaves the detection range of the position detection unit after the first moment is determined according to the first signal, and when it is determined according to the second signal that the touch object does not touch the touch panel between the first moment and the third moment, the touch trajectory from the first moment to the third moment in the initial touch trajectory is removed.

[0026] In an exemplary embodiment, deleting the touch track corresponding to the time period in which the touch object is separated from the touch panel determined according to the second signal in the initial touch track includes:

[0027] When determining a first moment when the touch object leaves the touch panel according to the second signal, determining a second moment when the touch object touches the touch panel after the first moment according to the second signal, and determining according to the first signal that the touch object is in a detection range of the position detection unit during a period from the first moment to the second moment:

[0028] determining a time threshold, comparing the time difference between the first moment and the second moment with the time threshold, and if the time difference is greater than the time threshold, removing the touch track from the first moment to the second moment in the initial touch track; or,

[0029] Determine a distance threshold, compare the distance between a first position of the touch object at a first moment and a second position of the touch object at a second moment with the distance threshold, and if the distance between the first position and the second position is greater than the distance threshold, remove the touch track from the first moment to the second moment in the initial touch track.

[0030] In an exemplary embodiment, deleting the touch track corresponding to the time period in which the touch object is separated from the touch panel determined according to the second signal in the initial touch track includes:

[0031] A fourth moment when the touch object enters the detection range of the position detection unit is determined according to the first signal, a fifth moment when the touch object first touches the touch panel after the fourth moment is determined according to the second signal, and the touch trajectory from the fourth moment to the fifth moment in the initial touch trajectory is removed.

[0032] An embodiment of the present application provides a touch trajectory generating device, including a memory and a processor, wherein the memory stores a program, and when the program is read and executed by the processor, the above-mentioned touch trajectory generating method is implemented.

[0033] An embodiment of the present application provides a computer-readable storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the above-mentioned touch trajectory generation method.

[0034] The embodiment of the present application provides a touch control device, including a position detection unit, at least one elastic wave detection unit, a touch panel, a processor and a memory, wherein the memory stores a program that can be run on the processor, and the processor is connected to the position detection unit and the elastic wave detection unit, wherein:

[0035] The position detection unit is configured to scan a preset area and output a first signal;

[0036] The elastic wave detection unit is configured to detect the elastic wave signal of the touch panel and output a second signal;

[0037] When the processor executes the program, the touch trajectory generating method is implemented.

[0038] The embodiment of the present application includes a touch track generation method, which is applied to a touch device including a position detection unit, an elastic wave detection unit and a touch panel, wherein the elastic wave detection unit is configured to detect an elastic wave signal of the touch panel, and the touch track generation method includes: obtaining a first signal output by the position detection unit, and obtaining a second signal output by the elastic wave detection unit; and generating a touch track according to the first signal and the second signal. The solution provided in this embodiment can improve the touch track by adding a signal of the elastic wave detection unit.

[0039] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by implementing the present application. Other advantages of the present application can be realized and obtained by the schemes described in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings are used to provide an understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.

[0041] Figure 1A and Figure 1B This is a schematic diagram of a bad touch track;

[0042] Figure 2 A schematic diagram of infrared touch control provided by an embodiment;

[0043] Figure 3 A schematic diagram (side view) of an elastic wave detection unit provided in an embodiment of the present application;

[0044] Figure 4 A schematic diagram of an elastic wave detection unit provided in an embodiment of the present application (front view);

[0045] Figure 5 A schematic diagram of an inelastic wave signal provided by an embodiment;

[0046] Figure 6 It is a schematic diagram when elastic wave signal exists;

[0047] Figure 7 A flow chart of a touch track generation method provided in an embodiment of the present application;

[0048] Figure 8 A schematic diagram of the writing start stage provided by an embodiment;

[0049] Figure 9a A schematic diagram of misjudgment caused by different friction coefficients provided in an embodiment;

[0050] Figure 9b A schematic diagram of misjudgment caused by different writing speeds provided in an embodiment;

[0051] Fig.9c A schematic diagram of a misjudgment caused by a user unconsciously lifting the pen provided by an embodiment;

[0052] Figure 9d A schematic diagram of misjudgment caused by a change in writing angle provided by an embodiment;

[0053] Fig.9e A schematic diagram of misjudgment caused by changes in writing force provided in an embodiment;

[0054] Fig.10a A schematic diagram of a touch track being disconnected provided by an embodiment;

[0055] Fig.10b A schematic diagram of an elastic wave signal when a line is disconnected provided by an embodiment;

[0056] Fig.11 A schematic diagram of a process in which a stylus pen passes through a detection light path provided by an embodiment;

[0057] Fig.12 A schematic diagram of a touch track having a tail provided by an embodiment;

[0058] Fig.13 A schematic diagram of an elastic wave signal with tailing provided by an embodiment;

[0059] Fig.14 A schematic diagram of correcting the tail in a touch track provided by an embodiment;

[0060] Fig.15 A schematic diagram of a stylus pen that remains stationary provided by an embodiment;

[0061] Fig.16 A schematic diagram of a touch trajectory generating device provided in an embodiment of the present application;

[0062] Fig.17 Schematic diagram of a computer-readable storage medium provided for an embodiment of the present application. DETAILED DESCRIPTION

[0063] The present application describes multiple embodiments, but the description is exemplary rather than restrictive, and it is obvious to those skilled in the art that there may be more embodiments and implementations within the scope of the embodiments described in the present application. Although many possible feature combinations are shown in the drawings and discussed in the specific embodiments, many other combinations of the disclosed features are also possible. Unless specifically limited, any feature or element of any embodiment may be used in combination with any other feature or element in any other embodiment, or may replace any other feature or element in any other embodiment.

[0064] The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features and elements disclosed in the present application may also be combined with any conventional features or elements to form a unique invention scheme defined by the claims. Any features or elements of any embodiment may also be combined with features or elements from other invention schemes to form another unique invention scheme defined by the claims. Therefore, it should be understood that any feature shown and / or discussed in the present application may be implemented individually or in any appropriate combination. Therefore, except for the limitations made according to the attached claims and their equivalents, the embodiments are not subject to other restrictions. In addition, various modifications and changes may be made within the scope of protection of the attached claims.

[0065] In addition, when describing representative embodiments, the specification may have presented the method and / or process as a specific sequence of steps. However, to the extent that the method or process does not rely on the specific order of the steps described herein, the method or process should not be limited to the steps of the specific order described. As will be understood by those of ordinary skill in the art, other sequences of steps are also possible. Therefore, the specific sequence of the steps set forth in the specification should not be interpreted as a limitation to the claims. In addition, the claims for the method and / or process should not be limited to the steps of performing them in the order written, and those skilled in the art can easily understand that these sequences can be changed and still remain within the spirit and scope of the embodiments of the present application.

[0066] One way to solve the problem of accidental touches is to use an active pen, such as a pressure-sensitive pen, which detects whether the user is writing with force to determine whether the touch panel is in contact. This solution can solve the problem of accidental touches to a certain extent, but in actual use, electronic whiteboards are mostly used in public places, and active pens are difficult to manage, which can easily lead to loss and need to be charged, which brings a lot of bad experience to users. On the other hand, the active pen transmits signals to the electronic whiteboard control system through wireless transmission, which inevitably brings signal delays. When users use it, there may be accidental touches due to communication delays and other reasons.

[0067] like Figure 1A and Figure 1B As shown, when a user writes, a poor touch track often occurs at the end or beginning of writing. Figure 2 FIG. 1 is a schematic diagram of a touch control device provided by an embodiment. Figure 2 As shown, the touch control device includes: a position detection unit and a touch panel, the position detection unit includes a transmitter and a receiver, the transmitter sends a detection signal, the receiver receives the detection signal, and a detection light path is formed, the area covered by the detection light path is called the detection area of ​​the position detection unit, when the touch object enters the detection area, the touch point of the touch object can be detected. The touch object can be any object, such as a matching stylus, or a pencil, or a finger, etc. The following figure uses a stylus as an example for illustration and description, but the embodiments of the present application are not limited to this, and can be any touch object. The position detection unit includes an infrared detection unit, and the detection light path can be an infrared light path formed by an infrared signal. As Figure 2 As shown, when the user is writing, the stylus needs to pass through the infrared light path to contact the touch panel. In the process of passing through the infrared light path, it needs to pass through the area from position 1 to position 3. Normally, the area between position 1 and position 3 should no longer output the touch track (for example, the touch track should no longer be output at position 2). However, because position 2 is still within the range of the infrared light path, the touch track will continue to be output, resulting in a poor touch track.

[0068] In an embodiment of the present application, in addition to the position detection unit, an elastic wave detection unit is also provided. The elastic wave detection unit can detect whether the touch object touches the touch panel. Therefore, a touch track can be generated according to the signal of the elastic wave detection unit and the signal of the position detection unit to reduce the defective touch track.

[0069] like Figure 3 and Figure 4 As shown, an embodiment of the present application provides a touch device, including a position detection unit, an elastic wave detection unit and a touch panel. The position detection unit includes a transmitting end and a receiving end. The position detection unit is configured to perform infrared scanning on a preset area and output a first signal; the elastic wave detection unit is configured to detect the elastic wave signal of the touch panel and output a second signal. The elastic wave signal is generated only when the touch object contacts the touch panel. Therefore, it is possible to determine whether the touch object contacts the touch panel based on the second signal, thereby generating a more accurate touch trajectory. Figure 5 As shown in , when the stylus is at position 2 or position 3, there is no elastic wave signal; Figure 6 As shown, when the stylus is in position 1, an elastic wave signal is generated.

[0070] In an exemplary embodiment, the position detection unit includes an infrared detection unit, but the embodiments of the present application are not limited thereto and may be other position detection units.

[0071] In an exemplary embodiment, the preset area is a detection range of the position detection unit. When the position detection unit is an infrared detection unit, the preset area is an area covered by the infrared signal of the position detection unit.

[0072] In an exemplary embodiment, the elastic wave detection unit can detect the elastic wave signal generated by the collision of the object. The elastic wave signal is a wave signal that can propagate in the glass. The wave signal has no direct relationship with the static force when the touch object presses the touch panel, but is mainly related to the material of the touch object, the friction between the touch object and the touch panel (related to the friction coefficient (related to the material of the touch object and the material of the touch panel) and the writing force), the writing speed, the contact area, etc.

[0073] In an exemplary embodiment, the elastic wave detection unit may be a piezoelectric ceramic sensor, a piezoelectric film sensor, a piezoelectric crystal sensor, or other sensors having a piezoelectric effect.

[0074] In an exemplary embodiment, the touch panel may be a panel with a display function, and the touch track is displayed on the touch panel; or, the touch panel is a panel without a display function, in which case the touch panel may be connected to a display, and the touch track is displayed on the display.

[0075] Figure 7 Flow chart of a touch track generation method provided in an embodiment of the present application. Figure 7 As shown, the touch track generation method provided in this embodiment is applied to a touch device including a position detection unit, an elastic wave detection unit and a touch panel, wherein the elastic wave detection unit is configured to detect an elastic wave signal of the touch panel, and the touch track generation method includes:

[0076] Step 701, obtaining a first signal output by the position detection unit, and obtaining a second signal output by the elastic wave detection unit;

[0077] Step 702: Generate a touch track according to the first signal and the second signal.

[0078] The solution provided in this embodiment generates a touch track according to the first signal and the second signal, which can improve the touch track compared to generating the touch track only according to the first signal. In addition, there is no need to equip a dedicated stylus, which reduces costs and is easy to manage. The elastic wave signal does not need to be transmitted wirelessly, and the signal has no delay, which avoids accidental touches.

[0079] In an exemplary embodiment, generating a touch track according to the first signal and the second signal includes:

[0080] When it is determined according to the first signal that the touch object is within the detection range of the position detection unit, and it is determined according to the second signal that the touch object touches the touch panel, the touch point is determined according to the first signal, and a touch track is generated according to the touch point. In the solution provided by this embodiment, a touch track is generated only when the touch object touches the touch panel. Therefore, it is possible to avoid generating a touch track when the touch object is within the detection range of the position detection unit but has left the touch panel, thereby improving the writing experience.

[0081] In an exemplary embodiment, the position detection unit can scan and detect touch information within a preset height range (i.e., a preset area) above the touch panel at a preset period. When a touch object reaches the preset area, the reception condition of the detection line will change. Therefore, it can be determined by the first signal whether the touch object is within the detection range of the position detection unit, and the touch point can be determined by the touch data (second signal).

[0082] In an exemplary embodiment, determining that the touch object touches the touch panel according to the second signal may be: when the second signal is greater than or equal to a preset value, determining that the touch object touches the touch panel. The preset value may be set as required.

[0083] In an exemplary embodiment, if Figure 8As shown, at the beginning of writing, it takes Δt time for the stylus to pass through the detection light path to reach the touch panel, and the touch track may not be output during this period. In this embodiment, during the Δt period, it is determined according to the second signal output by the elastic wave detection unit that the stylus does not touch the touch panel, and the touch track is not output, thereby achieving the optimization of the touch track.

[0084] In another exemplary embodiment, at the end of writing, after the stylus leaves the touch panel, it passes through the detection optical path after Δt time. If the touch track is generated only according to the signal of the position detection unit, a tailing phenomenon will occur. In this embodiment, during the Δt time period, it is determined according to the second signal output by the elastic wave detection unit that the stylus does not touch the touch panel, and the touch track is not output, thereby avoiding the generation of tailing.

[0085] In another exemplary embodiment, between two strokes, if the stylus is not lifted high enough and is still within the detection range of the position detection unit, continuous strokes may occur. In this embodiment, between two strokes, if the stylus is lifted, even if it is still within the detection range of the position detection unit, the second signal output by the elastic wave detection unit determines that the stylus is not in contact with the touch panel, and the touch track is not output, thereby avoiding continuous strokes.

[0086] In summary, the solution provided in this embodiment can correct tailing, connected strokes, etc., thereby improving the writing experience.

[0087] When the user is writing, due to writing gestures and other reasons, the elastic wave signal may disappear within a certain period of time or the signal may be too small, which may cause the touch track to be disconnected.

[0088] like Figure 9a As shown, there are positions with different friction coefficients on the touch panel. When the signal amplitude suddenly decreases when it moves from a position with a large friction coefficient to a position with a small friction coefficient, it may lead to a misjudgment of pen lift, that is, a misjudgment of the stylus being detached from the touch panel, resulting in a disconnected touch track.

[0089] like Figure 9b As shown, when the Figure 9b In the case of writing, the above-mentioned misjudgment may also occur. Because when writing, the touch track will have inconsistent speed at different positions, especially when the touch track has corners or arcs, the speed slows down, resulting in a decrease in signal amplitude. For example, Figure 9b In the middle three sections, the speeds are V1, V2 and V3 respectively, V1≥V3>V2, and the line may be broken at the position corresponding to the speed V2.

[0090] like Fig.9c As shown, the above-mentioned misjudgment may also occur when the user lifts the pen unconsciously.

[0091] like Figure 9d As shown in the figure, when the writing angle changes, the corresponding contact area changes. The larger the angle, the smaller or larger the contact area, and the smaller or larger the elastic wave signal will become. This is related to the design structure of the pen tip. Due to the change of the elastic wave signal, the above-mentioned misjudgment may also occur.

[0092] like Fig.9e As shown, the above-mentioned misjudgment may also occur when the writing force of the user changes. When the writing force of the user changes, the friction force generated changes, and the elastic wave signal changes.

[0093] Fig.10a Schematic diagram of the touch track that causes disconnection. Fig.10a As shown in , the time difference of the disconnection position is Δt1. Fig.10b As shown, during the period Δt1 when the line is broken, the elastic wave signal is very small or even disappears.

[0094] In an exemplary embodiment, the disconnection can be corrected by recording the speed V of the touch object, recording the first moment when the touch object leaves the touch panel and the second moment when the touch object first contacts the touch panel after the first moment, and if there is no disconnection between the first moment and the second moment, the moving distance is approximately the product of the speed V and the time difference between the two moments, so it can be determined whether the disconnection is caused by judging the distance between the first moment and the second moment, and if it is caused, the disconnection of the touch track is corrected and the disconnection position is connected.

[0095] In an exemplary embodiment, generating a touch track according to the first signal and the second signal includes:

[0096] Determine a first time t1 when the touch object leaves the touch panel according to the second signal, determine a second time t2 when the touch object first touches the touch panel after the first time t1 according to the second signal, and determine according to the first signal that the touch object is in the detection range of the position detection unit within a period from the first time t1 to the second time t2,

[0097] Determine a time threshold t, compare a time difference Δt1 between the first moment t1 and the second moment t2 with the time threshold t, and if the time difference Δt1 is less than or equal to the time threshold t, connect a first position a where the touch object is located at the first moment t1 and a second position b where the touch object is located at the second moment t2;

[0098] or,

[0099] Determine a distance threshold L, compare the distance between a first position a where the touch object is located at the first time t1 and a second position b where the touch object is located at the second time t2 with the distance threshold L, and if the distance between the first position and the second position is less than or equal to the distance threshold L, connect the first position and the second position.

[0100] In an exemplary embodiment, determining the time threshold t includes: determining a first position a of the touch object at a first moment t1 and a second position b of the touch object at a second moment t2 according to the first signal, and determining the time threshold t according to a moving speed V of the touch object on the touch panel and a touch track distance between the first position a and the second position b.

[0101] In an exemplary embodiment, the time threshold t=ΔL / V, where ΔL is the distance between position a and position b. ΔL may be the straight-line distance between position a and position b, or may be the distance between position a and position b on the touch track from position a to position b determined according to the first signal. The moving speed V of the touch object on the touch panel may be the moving speed of the touch object at the first moment t1, or the moving speed at the second moment t2, or the speed value obtained by combining the moving speed at the first moment t1 and the moving speed at the second moment t2, for example, the average value of the two, or a weighted value obtained by assigning different weights respectively, etc.

[0102] In an exemplary embodiment, determining the distance threshold L includes: determining the distance threshold L according to a time difference Δt1 between a first time t1 and a second time t2, and a moving speed V of the touch object on the touch panel.

[0103] In an exemplary embodiment, the distance threshold L=V*Δt1, where Δt1 is the time difference between the first time t1 and the second time t2.

[0104] In an exemplary embodiment, the moving speed V of the touch object on the touch panel may be the moving speed of the touch object at the first moment t1 or the moving speed at the second moment t2 determined according to the first signal, or the moving speed at the first moment t1 and the moving speed at the second moment t2. When writing with a stylus pen, the moving speed of the touch object on the touch panel is the writing speed.

[0105] In an exemplary embodiment, determining that the touch object is separated from the touch panel according to the second signal may be: when the second signal is less than a preset value, determining that the touch object is separated from the touch panel. The preset value may be set as required.

[0106] In an exemplary embodiment, determining the moving speed V of the touch object on the touch panel according to the first signal may include continuously recording the sliding speed of the touch track during writing according to the first signal.

[0107] In an exemplary embodiment, the connection between the first position a and the second position b may be a straight line connecting the first position a and the second position b, or a touch track from the first position a to the second position b may be generated according to the first signal, that is, the first position a and the second position b are connected using an actual touch track.

[0108] In an exemplary embodiment, any value in t0=[tx%, t+x%] can be taken, and when Δt1 is less than or equal to t0, the first position a and the second position b are connected. The x is, for example, 5, but the embodiment of the present application is not limited thereto, and can be, for example, any value between 0 and 10.

[0109] In another embodiment, generating the touch track according to the first signal and the second signal includes:

[0110] Determine the first moment t1 when the touch object leaves the touch panel according to the second signal, determine the second moment t2 when the touch object first touches the touch panel after the first moment t1 according to the second signal, and when it is determined from the first moment t1 to the second moment t2 that the touch object is in the detection range of the position detection unit according to the first signal, determine the first position a where the touch object is located at the first moment, and the second position b where the touch object is located at the second moment, and when the distance between the first position and the second position is less than or equal to V0*Δt1, connect the first position and the second position, Δt1 is the time difference between the first moment t1 and the second moment t1, and V0 can be a preset value, and a writing speed can be estimated as the V0 value based on experience. In this embodiment, the speed is not recorded, and a fixed speed is used to determine whether the line is disconnected.

[0111] In an exemplary embodiment, the determining of the time threshold t, or before determining the distance threshold L, further includes:

[0112] The time difference Δt1 between the first moment t1 and the second moment t2 is compared with a preset first threshold T0. When the time difference Δt1 between the first moment t1 and the second moment is less than or equal to the preset first threshold T0, the step of determining the time threshold t or determining the distance threshold L is performed.

[0113] The solution provided in this embodiment also compares the time difference with a preset first threshold value T0 before determining whether to disconnect the connection. When Δt1 is greater than T0, the subsequent process is not entered, that is, it is considered that there is no disconnection and the disconnection connection is not performed. When Δt1 is less than or equal to T0, it is further determined whether to disconnect the connection. The size of T0 is set according to needs.

[0114] In an exemplary embodiment, the determining of the time threshold t, or before determining the distance threshold L, further includes:

[0115] A first position a of the touch object at a first time t1 and a second position b of the touch object at a second time t2 are determined according to the first signal, and a distance between the first position a and the second position b is compared with a preset second threshold value L0; when the distance between the first position a and the second position b is less than or equal to the preset second threshold value L0, a step of determining a distance threshold value L or a time threshold value t is performed.

[0116] In the solution provided in this embodiment, before disconnection connection is performed, the distance between the first position a and the second position b is also compared with a preset second threshold value L0. When the distance is greater than L0, the subsequent process is not entered, that is, it is considered that there is no disconnection and disconnection connection is not performed. When the distance is less than or equal to L0, it is further determined whether to perform disconnection connection. The size of L0 is set according to needs.

[0117] In an exemplary embodiment, generating a touch track according to the first signal and the second signal includes:

[0118] determining a touch point according to the first signal, and generating an initial touch trajectory according to the touch point;

[0119] And, deleting the touch track corresponding to the time period in which the touch object is separated from the touch panel determined according to the second signal in the initial touch track.

[0120] In this embodiment, an initial touch track can be generated according to the first signal, and then corrected according to the second signal. The solution provided in this embodiment deletes the touch track corresponding to the period when the touch object leaves the touch panel, which can correct bad touch tracks and improve writing experience.

[0121] In an exemplary embodiment, the touch track can be corrected synchronously when the touch track is generated (deleting the touch track in the period of time away from the touch panel), or the touch track can be corrected after writing is completed. The correction method used can be set as needed.

[0122] In an exemplary embodiment, the deleting of the touch track corresponding to the time period when the touch object is separated from the touch panel determined according to the second signal in the initial touch track includes: deleting the touch track corresponding to one or more time periods when the touch object is separated from the touch panel determined according to the second signal in the initial touch track. That is, when there are multiple time periods when the touch object is separated from the touch panel, only the touch tracks of some time periods may be deleted. The touch tracks of which time periods are to be deleted may be determined by setting judgment conditions, and the touch tracks are deleted when the relevant conditions are met.

[0123] In an exemplary embodiment, deleting the touch track corresponding to the time period in which the touch object is separated from the touch panel determined according to the second signal in the initial touch track includes:

[0124] According to the second signal, the first moment t1 at which the touch object leaves the touch panel is determined, according to the first signal, after the first moment t1 is determined, the third moment t3 at which the touch object first leaves the detection range of the position detection unit, and when it is determined according to the second signal that the touch object does not touch the touch panel between the first moment t1 and the third moment t3, the touch track from the first moment t1 to the third moment t3 in the initial touch track is removed. In the solution provided in this embodiment, for example, after writing a stroke, even if the touch object has left the touch panel (from moment t1), since it is still in the detection range of the position detection unit, there will still be a touch track until it leaves the detection range of the position detection unit (moment t3), thereby generating a tail. In this embodiment, the touch track from moments t1 to t3 is deleted to correct the tail.

[0125] In an exemplary embodiment, removing the touch track from the first moment t1 to the third moment t3 in the initial touch track may include: determining that the position of the touch object at the first moment t1 is a, and the coordinates are (Xa, Ya); determining that the position of the touch object at the moment t3 is c, and the coordinates are (Xc, Yc); and deleting the touch track from position a to position c.

[0126] like Fig.11 As shown in FIG. 1 , the time for the stylus pen to pass through the detection light path is ΔT, which results in a tailing or continuous stroke phenomenon on the touch track during writing, such as Fig.12 shown.

[0127] like Fig.13 As shown in FIG. 1 , the elastic wave signal can only be generated when the stylus touches the touch panel. Therefore, there is no effective elastic wave signal between the stylus and the touch panel within the ΔT range. By combining the infrared and elastic wave signals, the trailing touch track can be optimized, as shown in FIG. 1 . Fig.14 shown.

[0128] In an exemplary embodiment, deleting the touch track corresponding to the time period in which the touch object is separated from the touch panel determined according to the second signal in the initial touch track includes:

[0129] When a first time t1 at which the touch object leaves the touch panel is determined according to the second signal, a second time t2 at which the touch object touches the touch panel after the first time t1 is determined according to the second signal, and when it is determined according to the first signal that the touch object is in a detection range of the position detection unit within a period from the first time t1 to the second time t2:

[0130] determining a time threshold t, comparing a time difference Δt1 between the first moment t1 and the second moment t2 with the time threshold t, and if the time difference Δt1 is greater than the time threshold t, removing the touch track from the first moment t1 to the second moment t2 in the initial touch track; or,

[0131] Determine a distance threshold L, compare the distance between a first position a where the touch object is located at a first moment t1 and a second position b where the touch object is located at a second moment t2 with the distance threshold L, and if the distance between the first position a and the second position b is greater than the distance threshold L, remove the touch track from the first moment t1 to the second moment t2 in the initial touch track.

[0132] Compared with the solution for correcting the end of a stroke, in this embodiment, there is a second moment t2 of touching the touch panel between t1 and t3, so only the touch track from t1 to t2 is deleted, and the touch track from t2 to t3 is retained.

[0133] In an exemplary embodiment, removing the touch trajectory from the first moment t1 to the second moment t2 in the initial touch trajectory includes: determining that the position at the first moment t1 is a, the coordinates are (Xa, Ya), the position of the touch object at moment t2 is b, the coordinates are (Xb, Yb), and deleting the touch trajectory from position a to position b.

[0134] The determination of the time threshold t and the distance threshold L may refer to the determination scheme of the time threshold t and the distance threshold L in the aforementioned embodiment of processing disconnection, or may be a preset value.

[0135] In an exemplary embodiment, the determining of the time threshold t, or before determining the distance threshold L, further includes:

[0136] The time difference between the first moment t1 and the second moment t2 is compared with a preset first threshold T0, and when the time difference between the first moment and the second moment is greater than the preset first threshold T0, a time threshold is determined.

[0137] The solution provided in this embodiment also compares the time difference Δt1 with the preset first threshold value T0 before judging whether to correct the connected strokes. When Δt1 is less than or equal to T0, the subsequent process is not entered, that is, it is considered that there is no connected stroke and the connected stroke correction is not performed. When Δt1 is greater than T0, it is further judged whether to correct the connected strokes. The size of T0 is set as needed. The value of T0 in this embodiment can be different from the value of T0 in the embodiment of whether to perform disconnection connection.

[0138] In an exemplary embodiment, a first position a of the touch object at a first time t1 and a second position b of the touch object at a second time t2 are determined according to the first signal, and a distance between the first position a and the second position b is compared with a preset second threshold value L0; when the distance between the first position a and the second position b is greater than the preset second threshold value L0, a distance threshold is determined.

[0139] The solution provided in this embodiment also compares the distance between the first position a and the second position b with a preset second threshold value L0 before performing the connected stroke correction. When the distance is less than or equal to L0, the subsequent process is not entered, that is, it is considered that there is no connected stroke and the connected stroke correction is not performed. When the distance is greater than L0, it is further determined whether to perform the connected stroke correction. The size of L0 is set as needed. The value of L0 in this embodiment may be different from the value of L0 in the embodiment of whether to perform disconnection connection.

[0140] In an exemplary embodiment, deleting the touch track corresponding to the time period in which the touch object is separated from the touch panel determined according to the second signal in the initial touch track includes:

[0141] A fourth time t4 when the touch object enters the detection range of the position detection unit is determined according to the first signal, and a fifth time t5 when the touch object first touches the touch panel after the fourth time t4 is determined according to the second signal, and the touch track from the fourth time t4 to the fifth time t5 in the initial touch track is removed. In this embodiment, the touch object enters the detection range of the position detection unit at time t4, but has not yet touched the touch panel, and starts to touch the touch panel at time t5. Therefore, the touch track between t4 and t5 can be removed to achieve optimization of the touch track.

[0142] In an exemplary embodiment, when the position of the touch object is detected to be unchanged, a time threshold Δt2 can be set. If the touch object is determined to be outside the detection range of the position detection unit according to the first signal within the Δt2 time, it is determined that the touch object is lifted and the writing is finished. If the time is greater than Δt2, it is determined that the touch object is within the detection range of the position detection unit according to the first signal, which means that the touch object is not lifted and the touch track is maintained. Fig.15 As shown, it moves from position 1 to position 2 and remains at position 2. If, during the Δt2 time of staying at position 2, it is determined according to the first signal that the touch object is outside the detection range of the position detection unit, it is determined that the touch object is lifted and the writing is finished; if it is greater than the Δt2 time, it is determined according to the first signal that the touch object is within the detection range of the position detection unit, which indicates that the touch object is not lifted and the touch track is maintained.

[0143] Figure 4 Schematic diagram of a touch device provided in an embodiment of the present application. Figure 4 As shown, this embodiment provides a touch device, including a position detection unit, at least one elastic wave detection unit, a touch panel, a processor and a memory (not shown in the figure), wherein the memory stores a program that can be run on the processor, and the processor is connected to the position detection unit and the elastic wave detection unit, wherein:

[0144] The position detection unit is configured to perform infrared scanning on a preset area and output a first signal;

[0145] The elastic wave detection unit is configured to detect the elastic wave signal of the touch panel and output a second signal;

[0146] When the processor executes the program, the touch trajectory generating method is implemented.

[0147] Figure 4 Four elastic wave detection units are illustrated in the figure, but the embodiments of the present application are not limited to this, and there may be more or fewer elastic wave detection units.

[0148] In this embodiment, the elastic wave detection unit can be set at the border position of the touch panel, for example, it can be symmetrically set at the border position of the touch panel. In this embodiment, the touch panel is a display panel, and the elastic wave detection unit is set at the border position to avoid affecting light transmission. However, in other embodiments, the touch panel can be a non-display panel, and the elastic wave detection unit can be set at any position of the touch panel.

[0149] like Fig.16 As shown, an embodiment of the present application provides a touch trajectory generating device 70, including a memory 710 and a processor 720, wherein the memory 710 stores a program, and when the program is read and executed by the processor 720, the above-mentioned touch trajectory generating method is implemented.

[0150] like Fig.17 As shown, an embodiment of the present application provides a computer-readable storage medium 80, wherein the computer-readable storage medium 80 stores one or more programs 90, and the one or more programs 90 can be executed by one or more processors to implement the above-mentioned touch trajectory generation method.

[0151] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

Claims

1. A touch trajectory generation method, characterized in that: Applicable to a touch control device including a position detection unit, an elastic wave detection unit and a touch panel, wherein the elastic wave detection unit is configured to detect an elastic wave signal of the touch panel, the touch track generation method includes: Acquire a first signal output by the position detection unit, and acquire a second signal output by the elastic wave detection unit; generating a touch track according to the first signal and the second signal; The generating of the touch track according to the first signal and the second signal comprises: determining a first moment when the touch object leaves the touch panel according to the second signal, determining a second moment when the touch object first touches the touch panel after the first moment according to the second signal, and determining according to the first signal that the touch object is in the detection range of the position detection unit within a period from the first moment to the second moment. determining a time threshold, comparing a time difference between the first moment and the second moment with the time threshold, and connecting a first position of the touch object at the first moment with a second position of the touch object at the second moment if the time difference is less than or equal to the time threshold; or, Determine a distance threshold, compare the distance between a first position of the touch object at the first moment and a second position of the touch object at the second moment with the distance threshold, and connect the first position and the second position if the distance between the first position and the second position is less than or equal to the distance threshold.

2. The touch track generation method according to claim 1, characterized in that: Before determining the time threshold or determining the distance threshold, the method further includes: Compare the time difference between the first moment and the second moment with a preset first threshold, and when the time difference between the first moment and the second moment is less than or equal to the preset first threshold, perform a step of determining a time threshold or a distance threshold; Alternatively, a first position of the touch object at a first moment and a second position of the touch object at a second moment are determined according to the first signal, and a distance between the first position and the second position is compared with a preset second threshold; when the distance between the first position and the second position is less than or equal to the preset second threshold, a step of determining a distance threshold or a time threshold is performed.

3. The touch track generation method according to claim 1, characterized in that: The determining time threshold comprises: Determine a first position of the touch object at a first moment and a second position of the touch object at a second moment according to the first signal, and determine the time threshold according to a moving speed of the touch object on the touch panel and a track distance between the first position and the second position; The determining the distance threshold comprises: determining the distance threshold according to a time difference between a first moment and a second moment, and a moving speed of the touch object on the touch panel; The moving speed of the touch object on the touch panel is the moving speed of the touch object at a first moment and the moving speed of the touch object at a second moment determined according to the first signal, or a speed value obtained according to the moving speed of the touch object at the first moment and the moving speed of the touch object at the second moment.

4. The touch track generation method according to claim 1, characterized in that: Generating a touch track according to the first signal and the second signal includes: determining a touch point according to the first signal, and generating an initial touch trajectory according to the touch point; And, deleting the touch track corresponding to the time period in which the touch object is separated from the touch panel determined according to the second signal in the initial touch track.

5. The touch track generation method according to claim 4, characterized in that: The deleting the touch track corresponding to the time period in which the touch object is separated from the touch panel determined according to the second signal in the initial touch track comprises: A first moment when the touch object leaves the touch panel is determined according to the second signal, a third moment when the touch object first leaves the detection range of the position detection unit after the first moment is determined according to the first signal, and when it is determined according to the second signal that the touch object does not touch the touch panel between the first moment and the third moment, a touch trajectory from the first moment to the third moment in the initial touch trajectory is removed.

6. The touch track generation method according to claim 4, characterized in that: The deleting the touch track corresponding to the time period in which the touch object is separated from the touch panel determined according to the second signal in the initial touch track comprises: When determining a first moment when the touch object leaves the touch panel according to the second signal, determining a second moment when the touch object touches the touch panel after the first moment according to the second signal, and determining according to the first signal that the touch object is in a detection range of the position detection unit during a period from the first moment to the second moment: determining a time threshold, comparing the time difference between the first moment and the second moment with the time threshold, and if the time difference is greater than the time threshold, removing the touch track from the first moment to the second moment in the initial touch track; or, Determine a distance threshold, compare the distance between a first position of the touch object at a first moment and a second position of the touch object at a second moment with the distance threshold, and if the distance between the first position and the second position is greater than the distance threshold, remove the touch track from the first moment to the second moment in the initial touch track.

7. The touch track generation method according to any one of claims 4 to 6, characterized in that: The deleting the touch track corresponding to the time period in which the touch object is separated from the touch panel determined according to the second signal in the initial touch track comprises: A fourth moment when the touch object enters the detection range of the position detection unit is determined according to the first signal, a fifth moment when the touch object first touches the touch panel after the fourth moment is determined according to the second signal, and the touch trajectory from the fourth moment to the fifth moment in the initial touch trajectory is removed.

8. A touch trajectory generating device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a program, and when the program is read and executed by the processor, the method for generating a touch track according to any one of claims 1 to 7 is implemented.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the touch trajectory generation method according to any one of claims 1 to 7.

10. A touch device, comprising a position detection unit, at least one elastic wave detection unit, a touch panel, a processor and a memory, wherein the memory stores a program that can be run on the processor, and the processor is connected to the position detection unit and the elastic wave detection unit, wherein: The position detection unit is configured to scan a preset area and output a first signal; The elastic wave detection unit is configured to detect the elastic wave signal of the touch panel and output a second signal; When the processor executes the program, the touch trajectory generation method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Infrared touch screen gated by touch force and method for positioning touch events

    CN101299174A

  • Display apparatus

    CN104238660A

  • Realization method, device and system for zero-touch height

    CN107145256A

  • Touch panel prevents mistake and touches device

    CN208622075U