A touch control system control method for reducing electromagnetic interference and a touch control system thereof
By acquiring and analyzing the signal characteristics of the electromagnetic touch digital pen and the touch screen, judging the connection relationship and generating a corrected track segment, the writing breakage problem caused by electromagnetic interference is solved, and writing efficiency and continuity are improved.
Patent Information
- Application Number
- CN202411182060.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2044-08-27
AI Technical Summary
The existing touch control system is easily subject to electromagnetic interference during use, resulting in interruption of the connection between the electromagnetic touch digital pen and the touch screen, causing interruption of the writing process and reducing writing efficiency.
By obtaining the signals emitted by the electromagnetic touch digital pen during writing and the signals responding to the touch screen, the connection relationship is judged based on the change in signal strength and signal loss, and continuously obtaining the direction change characteristics of the pen, the pen pressure characteristics and the pixel points generated by the touch screen. Based on these characteristics, the writing feature value is calculated, the handwriting continuous category is determined, and the corrected track segment is generated based on the weak continuous track segment, and the original track segment is replaced to ensure the stability of the connection and the continuity of writing.
It effectively reduces the impact of electromagnetic interference on the writing process, improves the continuity and efficiency of writing, and ensures a stable connection between the electromagnetic touch digital pen and the touch screen.
Smart Images

Figure CN119065527B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a touch control system method, and in particular to a touch control system control method for reducing electromagnetic interference and a touch control system thereof. Background Art
[0002] Touch control system is a technology that allows users to interact with computers or other devices by touching the surface of input devices. It is reflected in all aspects of life, from smart phones, tablets to medical equipment, car entertainment to industrial instruments, etc. Touch control system allows users to communicate with devices more naturally. With the development of technology, touch control systems are also becoming more sensitive and intelligent.
[0003] Chinese Patent Publication No.: CN107943342A, discloses a touch control system, including at least one wireless controlled device and a touch-type wireless control device. The wireless controlled device has at least one Internet Protocol (IP) address and a plurality of operating modes. The touch-type wireless control device stores an Internet Protocol address, and is wirelessly connected to the wireless controlled device through it. The touch-type wireless control device is provided with a plurality of mobile touch trajectories corresponding to all operating modes. The touch-type wireless control device senses the mobile touch trajectory to control the wireless controlled device to perform the corresponding operating mode accordingly. The present invention utilizes different mobile touch trajectories to complete commonly used basic controls, and there is no need to execute an application program (APP), so the control is more direct and the response is more immediate.
[0004] In the prior art, touch systems are often used in devices such as digital tablets and tablet computers, and are mostly used for drawing, writing, etc. However, due to external interference such as electromagnetic interference during use, the connection signal between the electromagnetic touch digital pen and the touch screen may be weakened or even interrupted, resulting in disconnection during the writing process and reducing writing efficiency. Summary of the invention
[0005] To this end, the present invention provides a touch system control method for reducing electromagnetic interference, which solves the problem that the electromagnetic touch digital pen may be disconnected from the touch screen due to external interference such as electromagnetic interference during use, resulting in disconnection during the writing process and reduced writing efficiency.
[0006] To achieve the above objectives, on one hand, the present invention provides a touch system control method for reducing electromagnetic interference, which includes:
[0007] Step S1, obtaining a first signal sent by the electromagnetic touch digital pen and a second signal received in response by the touch screen during writing, and determining whether a connection relationship is established between the electromagnetic touch digital pen and the touch screen based on changes in signal strength of the first signal and the second signal within a reference comparison time and signal loss;
[0008] Step S2, in response to the electromagnetic touch digital pen establishing a connection relationship with the touch screen, continuously acquiring direction change characteristics and pen pressure characteristics of the electromagnetic touch digital pen and pixel points generated by the touch screen;
[0009] Step S3, obtaining continuous pixel points generated by the touch screen in different time domain segments to determine a first writing feature, obtaining the writing direction of the electromagnetic touch digital pen at different times in the time domain segment to determine a second writing feature, and calculating a writing feature value for a writing track segment generated in the time domain segment according to image similarity between the first writing feature and a plurality of sub-feature segments of the second writing feature, so as to determine a handwriting continuity category of the track written in the time domain segment;
[0010] Step S4, generating a corrected trajectory segment according to the second writing feature and pen pressure in the time domain segment corresponding to the weakly continuous trajectory segment, replacing the first writing feature generated in the time domain segment with the corrected trajectory segment, and determining whether the replacement is valid based on the connection endpoints between the corrected trajectory segment and the adjacent trajectory segment after replacement.
[0011] Specifically, in step S1, the process of determining whether to establish a connection relationship includes:
[0012] Determine a signal change trend of the first signal and the second signal within a sub-time period of the reference comparison time;
[0013] Compare the signal change trends of the first signal sub-time period and the corresponding second signal sub-time period one by one to see whether they are consistent;
[0014] Compare the signal loss with a preset signal loss threshold, and if the connection relationship condition is met, determine to establish a connection relationship;
[0015] The connection relationship condition includes that the signal change trend of each first signal sub-time period is the same as that of the corresponding second signal sub-time period, and the signal loss is less than a preset signal loss threshold.
[0016] Specifically, in step S3, the process of determining the first writing feature includes:
[0017] The trajectory corresponding to the continuous pixel points is intercepted to obtain the first writing feature.
[0018] Specifically, in step S3, the process of determining the second writing feature according to the direction change feature includes:
[0019] Determine the moving direction of the electromagnetic touch digital pen at a certain time;
[0020] Based on the moving direction of the electromagnetic touch digital pen at each moment, construct the trajectory segment corresponding to each moment;
[0021] Connecting the corresponding trajectory segments at each moment in chronological order to obtain a second writing feature;
[0022] The length of the track segment is a predetermined length, and the derived direction of the track segment is the same as the moving direction of the electromagnetic touch-controlled digital pen at a corresponding moment.
[0023] Specifically, in step S3, the process of determining the writing feature value according to the difference between the first writing feature and the second writing feature includes:
[0024] splitting the first writing feature into a plurality of first sub-trajectory segments;
[0025] splitting the second writing feature into a plurality of second sub-trajectory segments;
[0026] The trajectory similarities of the first sub-trajectory segment and the second sub-trajectory segment are compared one by one, and an average of the trajectory similarities is calculated as the writing feature value.
[0027] Specifically, in step S3, the handwriting continuity category of the track written in the time domain segment is determined based on the writing feature value, wherein:
[0028] If the writing feature value is greater than or equal to the reference writing feature value, it is determined to be a strong continuous trajectory segment;
[0029] If the writing feature value is less than the reference writing feature value, it is determined to be a weakly continuous trajectory segment.
[0030] Specifically, in step S4, the process of generating the corrected trajectory segment includes:
[0031] obtaining a second writing feature;
[0032] modifying a track width of a second writing feature based on the pen pressure;
[0033] The corrected track width is positively correlated with the pen pressure.
[0034] Specifically, in step S4, the process of replacing the first writing feature generated in the time domain segment with the corrected trajectory segment includes:
[0035] Determine a first starting endpoint and a first ending endpoint of a first writing feature;
[0036] The starting endpoint of the corrected trajectory segment is placed at the first starting endpoint, and the ending endpoint of the corrected trajectory segment is placed at the first ending endpoint.
[0037] Specifically, in step S4, the process of determining whether the replacement is effective based on the connection endpoints of the replaced corrected trajectory segment and the adjacent trajectory segment includes:
[0038] Calculating a first average curvature of a trajectory segment of a predetermined length on both sides of a starting end point of the corrected trajectory segment;
[0039] Calculating a second average curvature of a trajectory segment of a predetermined length on both sides of a termination point of the corrected trajectory segment;
[0040] If the first average curvature and / or the second average curvature are both smaller than a predetermined curvature threshold, it is determined that the replacement is effective.
[0041] On the one hand, a control system using a touch system control method for reducing electromagnetic interference is provided, comprising:
[0042] A data acquisition module, which is used to obtain a first signal sent by the electromagnetic touch digital pen during the writing process and a second signal received in response by the touch screen, and is used to continuously obtain the direction change characteristics and pen pressure characteristics of the electromagnetic touch digital pen and the pixel points generated by the touch screen;
[0043] A connection determination module, which is used to determine whether the electromagnetic touch digital pen is connected to the touch screen based on the change of signal strength and signal loss of the first signal and the second signal within a reference comparison time;
[0044] A feature determination module, which is used to obtain continuous pixel points generated by the touch screen in different time domain segments to determine a first writing feature, and obtain the writing direction of the electromagnetic touch digital pen at different times in the time domain segment to determine a second writing feature;
[0045] A category determination module, which is used to calculate the writing feature value of the writing trajectory segment generated in the time domain segment according to the image similarity between the first writing feature and the plurality of sub-feature segments of the second writing feature, so as to determine the handwriting continuity category of the writing trajectory in the time domain segment;
[0046] A correction module is used to generate a correction trajectory segment according to the second writing feature and pen pressure in the time domain segment corresponding to the weak continuous trajectory segment, replace the first writing feature generated in the time domain segment with the correction trajectory segment, and determine whether the replacement is valid based on the connection endpoint between the correction trajectory segment and the adjacent trajectory segment after replacement.
[0047] Compared with the prior art, the present invention obtains a first signal and a second signal, determines whether a connection relationship is established between the electromagnetic touch digital pen and the touch screen based on the change of signal strength and signal loss within a reference comparison time, obtains continuous pixel points generated by the touch screen in different time domain segments to determine a first writing feature, obtains the writing direction of the electromagnetic touch digital pen at different times in the time domain segment to determine a second writing feature, calculates a writing feature value for a writing trajectory segment generated in the time domain segment based on image similarity between the first writing feature and several sub-feature segments of the second writing feature, so as to determine the handwriting continuity category of the trajectory written in the time domain segment, generates a corrected trajectory segment based on the second writing feature in the time domain segment corresponding to the weakly continuous trajectory segment and the pen pressure, replaces the first writing feature generated in the time domain segment with the corrected trajectory segment, and determines whether the replacement is effective based on the connection endpoint between the corrected trajectory segment after replacement and the adjacent trajectory segment.
[0048] In particular, the present invention determines whether a connection relationship is established between the electromagnetic touch digital pen and the touch screen. In actual situations, the electromagnetic touch digital pen is connected to the touch screen through an electromagnetic signal. Once the electromagnetic signal is interfered with by electromagnetic interference, the electromagnetic signal will gradually weaken during the propagation process, thereby affecting the connection between the electromagnetic touch digital pen and the touch screen and affecting the writing of the electromagnetic touch digital pen. Based on this, the present invention determines whether a connection relationship is established between the electromagnetic touch digital pen and the touch screen by measuring the change in signal strength and signal loss within a reference comparison time. If the connection relationship conditions are met, it is determined that a connection relationship is established, thereby reducing electromagnetic interference and improving writing efficiency.
[0049] In particular, the present invention calculates the writing feature value for the writing trajectory segment generated in the time domain segment. During the writing process, due to the interference of external factors such as electromagnetism, the use of an electromagnetic touch digital pen for writing may cause problems such as broken touch, resulting in incomplete writing and affecting writing efficiency. Based on this, the present invention calculates the writing feature value for the writing trajectory segment generated in the time domain segment according to the image similarity of the first writing feature and several sub-feature segments of the second writing feature to determine the handwriting continuity category of the trajectory written in the time domain segment. If the category is a weakly continuous trajectory segment, a corrected trajectory segment is generated based on the second writing feature in the corresponding time domain segment and the pen pressure, and the weakly continuous trajectory segment is replaced, thereby reducing the interference of electromagnetism on the writing process and improving writing efficiency.
[0050] In particular, the present invention further verifies the corrected trajectory segment after replacement, thereby ensuring the effectiveness of the corrected trajectory segment, reducing electromagnetic interference in the writing process, and improving writing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 A schematic diagram of the steps of a cooperative input method of an electromagnetic touch-controlled digital pen according to an embodiment of the invention;
[0052] Figure 2 A logic block diagram of determining whether a connection relationship is established between an electromagnetic touch-controlled digital pen and a touch screen according to an embodiment of the invention;
[0053] Figure 3 A logic block diagram of determining the continuous category of the handwriting of the track written in the time domain segment according to an embodiment of the invention;
[0054] Figure 4 A logic block diagram for determining whether a replacement is valid according to an embodiment of the present invention. DETAILED DESCRIPTION
[0055] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0056] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0057] It should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0058] See also Figures 1 to 4 As shown, Figure 1 The schematic diagram of the steps of the cooperative input method of the electromagnetic touch digital pen according to the embodiment of the invention is as follows: Figure 2 This is a logic block diagram of determining whether an electromagnetic touch-controlled digital pen is connected to a touch screen according to an embodiment of the invention. Figure 3 The logic block diagram of determining the continuous category of the handwriting trajectory written in the time domain segment according to the embodiment of the invention is as follows: Figure 4 This is a logic block diagram of determining whether replacement is effective according to an embodiment of the invention. A touch control system control method for reducing electromagnetic interference according to the invention includes:
[0059] Step S1, obtaining a first signal sent by the electromagnetic touch digital pen and a second signal received in response by the touch screen during writing, and determining whether a connection relationship is established between the electromagnetic touch digital pen and the touch screen based on changes in signal strength of the first signal and the second signal within a reference comparison time and signal loss;
[0060] Step S2, in response to the electromagnetic touch digital pen establishing a connection relationship with the touch screen, continuously acquiring direction change characteristics and pen pressure characteristics of the electromagnetic touch digital pen and pixel points generated by the touch screen;
[0061] Step S3, obtaining continuous pixel points generated by the touch screen in different time domain segments to determine a first writing feature, obtaining the writing direction of the electromagnetic touch digital pen at different times in the time domain segment to determine a second writing feature, and calculating a writing feature value for a writing track segment generated in the time domain segment according to image similarity between the first writing feature and a plurality of sub-feature segments of the second writing feature, so as to determine a handwriting continuity category of the track written in the time domain segment;
[0062] Step S4, generating a corrected trajectory segment according to the second writing feature and pen pressure in the time domain segment corresponding to the weakly continuous trajectory segment, replacing the first writing feature generated in the time domain segment with the corrected trajectory segment, and determining whether the replacement is valid based on the connection endpoints between the corrected trajectory segment and the adjacent trajectory segment after replacement.
[0063] Specifically, the specific structure of the electromagnetic stylus and the touch screen is not limited. It can be understood that in the prior art, the electromagnetic stylus is an input device that can emit electromagnetic signals of a specific frequency to communicate with the touch screen. After the touch screen responds, the touch position of the battery stylus is determined based on the electromagnetic signal. In this embodiment, the electromagnetic signal emitted by the electromagnetic stylus can be used as the first signal, and the electromagnetic signal received in response by the touch screen can be used as the second signal. This will not be repeated.
[0064] Specifically, there is no limitation on the method of collecting direction change characteristics. For example, an inertial sensor can be used to detect the moving direction of the electromagnetic stylus at different times. Of course, other forms can also be used. Those skilled in the art can choose according to actual conditions. This is existing technology and will not be elaborated.
[0065] Specifically, there is no limitation on the method of collecting pen pressure. In actual situations, a pressure sensor can be set at the end of the electromagnetic stylus to collect pen pressure. Of course, it can also be obtained by obtaining the pressure applied to different positions of the touch screen. Of course, other forms can also be adopted. Technical personnel in this field can choose according to actual conditions. This is a prior art and will not be elaborated here.
[0066] Specifically, there is no limitation on the method of collecting pixels. For example, the digital image generated by the touch screen response may be directly collected, which will not be described in detail here.
[0067] In step S1, the process of determining whether to establish a connection relationship includes:
[0068] Determine the signal change trends of the first signal and the second signal in the sub-time period of the reference comparison time; compare the signal change trends of the first signal sub-time period and the corresponding second signal sub-time period one by one to see if they are consistent;
[0069] Compare the signal loss with a preset signal loss threshold, and if the connection relationship condition is met, determine to establish a connection relationship;
[0070] The connection relationship condition includes that the signal change trend of each first signal sub-time period is the same as that of the corresponding second signal sub-time period, and the signal loss is less than a preset signal loss threshold.
[0071] The benchmark comparison time is selected within [0.1s, 0.5s];
[0072] Specifically, the value of the signal loss can be obtained by calculation, and the difference between the first signal and the second signal is determined as the signal loss value.
[0073] Specifically, the signal loss threshold value P0 is determined based on the signal strength P1 of the first signal, and P0=P1×g is set, where g represents the loss coefficient and is selected within the interval [0.01, 0.05].
[0074] It can be understood that in actual situations, due to the consistency of signal transmission and reception, if the changing trend of the first signal within a certain time period is to increase first and then decrease, the changing trend of the second signal is also to increase first and then decrease. Therefore, the consistency of the changing trend of signal transmission and reception is considered, combined with the overall signal loss judgment, and the effectiveness of establishing the connection relationship.
[0075] Specifically, in step S3, the process of determining the first writing feature includes intercepting the trajectory corresponding to the continuous pixel points to obtain the first writing feature.
[0076] It is understandable that the first writing feature can be in any shape, for example, a line, a line with width, a circle, etc., which will not be elaborated here.
[0077] Specifically, in step S3, the process of determining the second writing feature according to the direction change feature includes:
[0078] Determine the moving direction of the electromagnetic touch digital pen at a certain time;
[0079] Based on the moving direction of the electromagnetic touch digital pen at each moment, construct the trajectory segment corresponding to each moment;
[0080] Connecting the corresponding trajectory segments at each moment in chronological order to obtain a second writing feature;
[0081] The length of the track segment is a predetermined length, and the derived direction of the track segment is the same as the moving direction of the electromagnetic touch-controlled digital pen at a corresponding moment.
[0082] It is understandable that the time interval should not be too long and should be selected within the interval [0.1s, 0.5s].
[0083] Taking the formation of three trajectory segments as an example, the first trajectory segment can be obtained at the first moment, the second trajectory segment can be obtained at the adjacent second moment, and the third trajectory segment can be obtained at the third moment. The first trajectory segment, the second trajectory segment, and the third trajectory segment are connected in sequence, and the obtained trajectory segment is the second writing feature.
[0084] Specifically, in step S3, the process of determining the writing feature value according to the difference between the first writing feature and the second writing feature includes:
[0085] splitting the first writing feature into a plurality of first sub-trajectory segments;
[0086] splitting the second writing feature into a plurality of second sub-trajectory segments;
[0087] The trajectory similarities of the first sub-trajectory segment and the second sub-trajectory segment are compared one by one, and an average of the trajectory similarities is calculated as the writing feature value.
[0088] Specifically, a plurality of first sub-trajectory segments and a plurality of second sub-trajectory segments are divided according to the same time domain to ensure a corresponding relationship between each first sub-trajectory segment and each second sub-trajectory segment.
[0089] Specifically, there is no limitation on the specific calculation method of trajectory similarity. For example, it can be Euclidean distance, dynamic time warping, longest common subsequence and other methods. Those skilled in the art can select the method according to the actual situation. This is the prior art and will not be described in detail.
[0090] Specifically, in step S3, the handwriting continuity category of the track written in the time domain segment is determined based on the writing feature value, wherein:
[0091] If the writing feature value is greater than or equal to the reference writing feature value, it is determined to be a strong continuous trajectory segment;
[0092] If the writing feature value is less than the reference writing feature value, it is determined to be a weakly continuous trajectory segment.
[0093] Specifically, the benchmark writing feature value J0 is pre-set, wherein the first writing features and the second writing features in the contact response process between the electromagnetic touch digital pen and the touch screen are sampled as samples, the image similarities of different sub-feature segments are compared, and the image similarity mean Je is solved, and J0 is set to be Je×α, where α represents the accuracy coefficient, 0.75<α<0.85.
[0094] Specifically, in step S4, the process of generating the corrected trajectory segment includes:
[0095] obtaining a second writing feature;
[0096] modifying a track width of a second writing feature based on the pen pressure;
[0097] Wherein, the corrected track width is positively correlated with the pen pressure;
[0098] It can be understood that the handwriting width can be determined by the pen pressure, and the pen pressure and the handwriting width are positively correlated. The handwriting width is calculated according to formula (2):
[0099]
[0100] In formula (2), B represents the handwriting width, C represents the pen pressure, C0 represents the reference pen pressure, B0 represents the reference handwriting width, and 0.05 cm<B0<0.3 cm.
[0101] The reference pen pressure is calculated in advance, wherein different pen pressures can be calculated in advance and the average pen pressure △C can be solved, and C0=c×△C is set, c is the pen pressure accuracy coefficient, 1.1<c<1.2.
[0102] Specifically, in step S4, the process of replacing the first writing feature generated in the time domain segment with the corrected trajectory segment includes:
[0103] Determine a first starting endpoint and a first ending endpoint of a first writing feature;
[0104] The starting endpoint of the corrected trajectory segment is placed at the first starting endpoint, and the ending endpoint of the corrected trajectory segment is placed at the first ending endpoint.
[0105] It is understandable that when replacing the corrected track segment, the starting endpoint of the corrected track segment needs to be connected to the first starting endpoint, and the ending endpoint of the corrected track segment needs to be connected to the first ending endpoint to ensure that a continuous handwriting is formed.
[0106] Specifically, in step S4, the process of determining whether the replacement is effective based on the connection endpoints of the replaced corrected trajectory segment and the adjacent trajectory segment includes:
[0107] Calculating a first average curvature of a trajectory segment of a predetermined length on both sides of a starting end point of the corrected trajectory segment;
[0108] Calculating a second average curvature of a trajectory segment of a predetermined length on both sides of a termination point of the corrected trajectory segment;
[0109] If the first average curvature and / or the second average curvature are both smaller than a predetermined curvature threshold, it is determined that the replacement is effective.
[0110] Specifically, the predetermined curvature threshold is selected within the interval [0, 1.5].
[0111] It can be understood that, in the embodiment, the first trajectory segment D and the second trajectory segment E are trajectory segments of predetermined lengths on both sides of the starting end point of the corrected trajectory segment, the curvature of the first trajectory segment D is 0.2, the curvature of the second trajectory segment E is 0.4, and the first average curvature is 0.3; at this time, the first average curvature or the second average curvature is less than the predetermined curvature threshold, then the corrected trajectory segment replacement is effective, thereby improving the writing efficiency.
[0112] Specifically, it also includes a control system using a touch system control method for reducing electromagnetic interference, including:
[0113] A data acquisition module, which is used to obtain a first signal sent by the electromagnetic touch digital pen during the writing process and a second signal received in response by the touch screen, and is used to continuously obtain the direction change characteristics and pen pressure characteristics of the electromagnetic touch digital pen and the pixel points generated by the touch screen;
[0114] A connection determination module, which is used to determine whether the electromagnetic touch digital pen is connected to the touch screen based on the change of signal strength and signal loss of the first signal and the second signal within a reference comparison time;
[0115] A feature determination module, which is used to obtain continuous pixel points generated by the touch screen in different time domain segments to determine a first writing feature, and obtain the writing direction of the electromagnetic touch digital pen at different times in the time domain segment to determine a second writing feature;
[0116] A category determination module, which is used to calculate the writing feature value of the writing trajectory segment generated in the time domain segment according to the image similarity between the first writing feature and the plurality of sub-feature segments of the second writing feature, so as to determine the handwriting continuity category of the writing trajectory in the time domain segment;
[0117] A correction module is used to generate a correction trajectory segment according to the second writing feature and pen pressure in the time domain segment corresponding to the weak continuous trajectory segment, replace the first writing feature generated in the time domain segment with the correction trajectory segment, and determine whether the replacement is valid based on the connection endpoint between the correction trajectory segment and the adjacent trajectory segment after replacement.
[0118] Specifically, each module can be composed of logic components, and the logic components include a field programmable processor, a computer, and a microprocessor in the computer.
[0119] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A touch system control method for reducing electromagnetic interference, characterized in that: include: Step S1, obtaining a first signal sent by the electromagnetic touch digital pen and a second signal received in response by the touch screen during writing, and determining whether a connection relationship is established between the electromagnetic touch digital pen and the touch screen based on changes in signal strength of the first signal and the second signal within a reference comparison time and signal loss; Step S2, in response to the electromagnetic touch digital pen establishing a connection relationship with the touch screen, continuously acquiring direction change characteristics and pen pressure characteristics of the electromagnetic touch digital pen and pixel points generated by the touch screen; Step S3, obtaining continuous pixel points generated by the touch screen in different time domain segments to determine a first writing feature, obtaining the writing direction of the electromagnetic touch digital pen at different times in the time domain segment to determine a second writing feature, and calculating a writing feature value for a writing track segment generated in the time domain segment according to image similarity between the first writing feature and a plurality of sub-feature segments of the second writing feature, so as to determine a handwriting continuity category of the track written in the time domain segment; Step S4, generating a corrected trajectory segment according to the second writing feature and the pen pressure in the time domain segment corresponding to the weak continuous trajectory segment, replacing the first writing feature generated in the time domain segment with the corrected trajectory segment, and determining whether the replacement is valid based on the connection endpoints between the corrected trajectory segment and the adjacent trajectory segment after the replacement; In step S1, the process of determining whether to establish a connection relationship includes: Determine a signal change trend of the first signal and the second signal within a sub-time period of the reference comparison time; Compare the signal change trends of the first signal sub-time period and the corresponding second signal sub-time period one by one to see whether they are consistent; Compare the signal loss with a preset signal loss threshold, and if the connection relationship condition is met, determine to establish a connection relationship; The connection relationship condition includes that the signal change trend of each first signal sub-time period is the same as that of the corresponding second signal sub-time period, and the signal loss is less than a preset signal loss threshold; In step S3, the process of determining the first writing feature includes: intercepting the trajectory corresponding to the continuous pixel points to obtain the first writing feature; In step S3, the process of determining the second writing feature according to the direction change feature includes: Determine the moving direction of the electromagnetic touch digital pen at a certain time; Based on the moving direction of the electromagnetic touch digital pen at each moment, construct the trajectory segment corresponding to each moment; Connecting the corresponding trajectory segments at each moment in chronological order to obtain a second writing feature; The length of the track segment is a predetermined length, and the derived direction of the track segment is the same as the moving direction of the electromagnetic touch-controlled digital pen at a corresponding moment; In step S3, the process of determining the writing feature value according to the difference between the first writing feature and the second writing feature includes: splitting the first writing feature into a plurality of first sub-trajectory segments; splitting the second writing feature into a plurality of second sub-trajectory segments; Comparing the trajectory similarities of the first sub-trajectory segment and the second sub-trajectory segment one by one, and calculating the average of the trajectory similarities as the writing feature value; In the step S3, the handwriting continuity category of the track written in the time domain segment is determined based on the writing feature value, wherein: If the writing feature value is greater than or equal to the reference writing feature value, it is determined to be a strong continuous trajectory segment; If the writing feature value is less than the reference writing feature value, it is determined to be a weakly continuous trajectory segment.
2. The touch control system control method for reducing electromagnetic interference according to claim 1, characterized in that: In step S4, the process of generating the corrected trajectory segment includes: obtaining a second writing feature; modifying a track width of a second writing feature based on the pen pressure; The corrected track width is positively correlated with the pen pressure.
3. The touch control system control method for reducing electromagnetic interference according to claim 1, characterized in that: In step S4, the process of replacing the first writing feature generated in the time domain segment with the corrected trajectory segment includes: Determine a first starting endpoint and a first ending endpoint of a first writing feature; The starting endpoint of the corrected trajectory segment is placed at the first starting endpoint, and the ending endpoint of the corrected trajectory segment is placed at the first ending endpoint.
4. The touch control system control method for reducing electromagnetic interference according to claim 3, characterized in that: In step S4, the process of determining whether the replacement is effective based on the connection endpoints between the corrected trajectory segment after replacement and the adjacent trajectory segment includes: Calculating a first average curvature of a trajectory segment of a predetermined length on both sides of a starting end point of the corrected trajectory segment; Calculating a second average curvature of a trajectory segment of a predetermined length on both sides of a termination point of the corrected trajectory segment; If the first average curvature and / or the second average curvature are both smaller than a predetermined curvature threshold, it is determined that the replacement is effective.
Citation Information
Patent Citations
Touch control system
CN107943342A
Interaction method based on touch pen, terminal and readable storage medium
CN111007974A
Interaction method and interaction panel
CN117724620A