Touch coordinate processing method and device and storage medium

By adjusting and processing the position coordinates of multiple touch points, the problem of trajectory floating in Kalman filtering in sliding turning scenes is solved, the linear uniformity and smoothness of the touch coordinate trajectory is improved, and the operation experience is improved.

CN119493485APending Publication Date: 2025-02-21GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311021557.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-14
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

When the prior art uses a Kalman filter to filter the touch point trajectory in the sliding turning scenario, it is easy to cause the problem of early prediction and cause the trajectory floating, resulting in poor linear uniformity and smoothness of the touch coordinate trajectory.

Method used

By obtaining the position coordinates of multiple touch points and adjusting them, the adjusted trajectory jitter amplitude is smaller than the jitter amplitude of the original trajectory, thereby improving linear uniformity and smoothness. Specific methods can use technologies such as uniform filtering and smoothing.

Benefits of technology

It effectively improves the linear uniformity and smoothness of the trajectory corresponding to the touch coordinates, reduces the trajectory jitter, and improves the user's operation experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119493485A_ABST
    Figure CN119493485A_ABST
Patent Text Reader

Abstract

The invention provides a touch coordinate processing method and device and a storage medium. In the technical scheme, the electronic equipment obtains position coordinates of a plurality of touch points, then the position coordinates of the touch points are adjusted, the jitter amplitude of a track formed by the adjusted touch points is smaller than the jitter amplitude of a track formed by the touch points before adjustment, and finally according to the adjusted position coordinates, the track formed by the touch points before adjustment is adjusted. And determining a plurality of corresponding touch points. In the processing method of the touch coordinates, the electronic device adjusts the position coordinates of the plurality of touch points, so that the jitter amplitude of the track formed by the plurality of touch points after adjustment is smaller than the jitter amplitude of the track formed by the plurality of touch points before adjustment, and the linear uniformity and smoothness of the track corresponding to the touch coordinates can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device and storage medium for processing touch coordinates. Background Art

[0002] With the continuous development of the computer technology field, electronic devices with touch screens are increasingly widely used. Usually, when a user touches the screen of an electronic device, it can be a click operation or a sliding operation. For example, when a user performs a sliding operation, the linear uniformity of the trajectory formed by the touch point corresponding to the sliding of the finger may be poor due to some external interference such as noise or the shaking of the finger itself during the sliding process.

[0003] In the current related technologies, in order to solve the above problems, technicians in this field have used Kalman filters to filter the trajectory formed by the touch points. However, in the scenario of sliding and turning, Kalman filters are prone to early prediction, which leads to the problem of trajectory drift. Therefore, how to improve the linear uniformity of the trajectory formed by the touch coordinates has become a technical problem that needs to be solved urgently. Summary of the invention

[0004] The present application provides a method, device and storage medium for processing touch coordinates, which can improve the linear uniformity and smoothness of the trajectory corresponding to the touch coordinates.

[0005] In a first aspect, the present application provides a method for processing touch coordinates, the method comprising: obtaining position coordinates of multiple touch points; adjusting the position coordinates of the multiple touch points, wherein the jitter amplitude of the trajectory formed by the multiple touch points after adjustment is smaller than the jitter amplitude of the trajectory formed by the multiple touch points before adjustment; and determining the corresponding multiple touch points based on the adjusted position coordinates.

[0006] In a second aspect, the present application provides a device for processing touch coordinates, the device comprising: an acquisition module for acquiring position coordinates of multiple touch points; an adjustment module for adjusting the position coordinates of the multiple touch points, wherein the jitter amplitude of the trajectory formed by the multiple touch points after adjustment is smaller than the jitter amplitude of the trajectory formed by the multiple touch points before adjustment; and a determination module for determining the corresponding multiple touch points based on the adjusted position coordinates.

[0007] In a third aspect, the present application provides an electronic device, comprising a processor and a memory, wherein the memory is used to store code instructions; the processor is used to execute the code instructions to implement the method in the first aspect above.

[0008] Optionally, there are one or more processors and one or more memories.

[0009] Optionally, the memory may be integrated with the processor, or the memory may be provided separately from the processor.

[0010] In the specific implementation process, the memory can be a non-transitory memory, such as a read-only memory (ROM), which can be integrated with the processor on the same chip or can be set on different chips respectively. The embodiments of the present application do not limit the type of memory and the setting method of the memory and the processor.

[0011] In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program (also referred to as code, or instruction) which, when executed on a computer, enables the computer to execute the method in the first aspect.

[0012] In a fifth aspect, the present application provides a computer program product, comprising: a computer program (also referred to as code, or instruction), which enables a computer to execute the method in the above-mentioned first aspect when the computer program is executed.

[0013] In an embodiment of the present application, the electronic device adjusts the position coordinates of multiple touch points so that the jitter amplitude of the trajectory formed by the multiple touch points after adjustment is smaller than the jitter amplitude of the trajectory formed by the multiple touch points before adjustment, thereby improving the linear uniformity and smoothness of the trajectory corresponding to the touch coordinates. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 A schematic diagram of the system architecture of an electronic device provided in one embodiment of the present application;

[0015] Figure 2 A schematic diagram of a flow chart of a method for processing touch coordinates provided in one embodiment of the present application;

[0016] Figure 3 A schematic diagram of a flow chart of a method for processing touch coordinates provided in another embodiment of the present application;

[0017] Figure 4 A schematic flow chart of a method for processing touch coordinates provided in yet another embodiment of the present application;

[0018] Figure 5 A schematic diagram of comparing uniformity before and after adjusting the position coordinates of multiple touch points provided by an embodiment of the present application;

[0019] Figure 6 A structural schematic diagram of a touch coordinate processing device provided by an embodiment of the present application;

[0020] Figure 7A structural schematic diagram of a touch coordinate processing device provided in another embodiment of the present application. DETAILED DESCRIPTION

[0021] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0022] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and effects. For example, the first instruction and the second instruction are to distinguish different user instructions, and their order is not limited. Those skilled in the art can understand that the words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not necessarily limit them to be different.

[0023] It should be noted that, in this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.

[0024] In addition, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, where a, b, c can be single or multiple.

[0025] With the continuous development of the field of computer technology, electronic devices with touch screens are becoming more and more widely used. For example, most of the current smart phones are full-screen phones. When users use smart phones to chat or play games, they need to touch the screen to perform operations. Usually, when users touch the screen on electronic devices, they can click or slide. For example, when a user slides, the sliding process may be due to some external interference such as noise, or the shaking of the finger itself, resulting in poor linear uniformity of the trajectory formed by the touch point corresponding to the finger sliding.

[0026] As an example, when a user uses a smartphone to play a multiplayer online tactical competitive game, he or she can generally view the game field of view through a small map on the screen. When the user slides on the small map, if the finger shakes, the linear uniformity of the trajectory formed by the points touched by the finger will be poor, which will make the field of view seen by the user shake and become unclear.

[0027] In response to the above problems, in the current related technology, technical personnel in this field use Kalman filters to filter the trajectories formed by touch points. However, Kalman filters predict the position of the coordinates at the next moment based on the coordinates of the historical touch points. In this way, in the scenario of sliding and turning, it is easy to make advance predictions and cause the trajectory to drift.

[0028] Therefore, how to improve the linear uniformity of the track formed by the touch coordinates has become a technical problem that needs to be solved urgently.

[0029] In view of this, the embodiments of the present application provide a method, device and storage medium for processing touch coordinates. In the technical solution of the present application, the electronic device obtains the position coordinates of multiple touch points, and then adjusts the position coordinates of the multiple touch points, wherein the jitter amplitude of the trajectory formed by the multiple touch points after adjustment is smaller than the jitter amplitude of the trajectory formed by the multiple touch points before adjustment, and finally determines the corresponding multiple touch points according to the adjusted position coordinates. In the method for processing touch coordinates of the present application, the electronic device adjusts the position coordinates of multiple touch points so that the jitter amplitude of the trajectory formed by the multiple touch points after adjustment is smaller than the jitter amplitude of the trajectory formed by the multiple touch points before adjustment, which can improve the linear uniformity and smoothness of the trajectory corresponding to the touch coordinates.

[0030] It should be understood that the electronic devices involved in the embodiments of the present application may be mobile phones, tablet computers, laptop computers, PDAs, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, smart screens, artificial intelligence (AI) speakers, headphones, terminals in industrial control, terminals in self-driving, terminals in remote medical surgery, terminals in smart grids, terminals in transportation safety, terminals in smart cities, terminals in smart homes, personal digital assistants (PDAs), and other electronic devices with touch functions, and the specific embodiments of the present application are not limited to this.

[0031] For example, Figure 1 A schematic diagram of the system architecture of an electronic device provided in one embodiment of the present application. Figure 1 As shown, the electronic device includes components such as a processor 110, a memory 120, a transceiver 130, a display unit 140, an input unit 150, a sensor 160, an audio circuit 170, and a power module 180.

[0032] The processor 110 is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 120, and calling data stored in the memory 120, the processor 110 performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor, which mainly processes operating devices, user interfaces, and application programs, etc. Of course, other processors may also be included, which are not listed here one by one.

[0033] The memory 120 can be used to store software programs and modules. The processor 110 executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory 120. The memory 120 mainly includes a program storage area and a data storage area, wherein the program storage area can store operating devices, at least one application required for a function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0034] The transceiver 130 can provide wireless communication solutions for electronic devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. The transceiver 130 can be one or more devices integrating at least one communication processing module, for example, an antenna and a baseband processor are integrated into the transceiver 130, or an antenna and a modem processor are integrated into the transceiver 130, etc., which are not limited here.

[0035] The display unit 140 may be used to display information input by a user or information provided to a user and various menus of the electronic device. The display unit 140 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc., which is not limited here.

[0036] The input unit 150 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the input unit 150 can collect the user's operations on or near it, and drive the corresponding connection device according to a pre-set program. In addition, the input unit 150 may include a touch panel, which can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel, the input unit 150 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of function keys (such as volume control keys, switch keys, etc.), trackballs, joysticks, etc.

[0037] The electronic device may also include at least one sensor 160, such as a gyroscope sensor, a motion sensor, and other sensors. The motion sensor may include an acceleration sensor for detecting the magnitude of acceleration in all directions, and the magnitude and direction of gravity when stationary, which may be used for applications to identify the posture of the electronic device, such as horizontal and vertical screen switching, related games, magnetometer posture calibration, etc. As for other sensors that may be configured in the electronic device, such as a pressure gauge, a barometer, a hygrometer, a thermometer, an infrared sensor, a fingerprint sensor, etc., they will not be described in detail here.

[0038] The audio circuit 170 may include a speaker and a microphone, and may provide an audio interface between a user and an electronic device. The audio circuit 170 may transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 170 and converted into audio data, and then the audio data is output to the processor 110 for processing, and then sent to another electronic device through the video circuit, or the audio data is output to the memory 120 for further processing.

[0039] The electronic device also includes a power module 180 for supplying power to various components. Optionally, the power module 180 can be logically connected to the processor 110 through a power management device, so that the power management device can manage functions such as charging, discharging, and power consumption.

[0040] Although not shown, the electronic device may further include a camera. Optionally, the camera may be located at the front or rear of the electronic device, which is not limited in the present embodiment.

[0041] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0042] In order to make the purpose and technical solution of this application clearer and more intuitive, the following will be combined with the accompanying drawings and embodiments to describe in detail the touch coordinate processing method, device and storage medium provided in the embodiments of this application. It should be understood that the specific embodiments described here are only used to explain this application and are not used to limit this application.

[0043] Please refer to Figure 2 , is a flow chart of a method for processing touch coordinates provided by an embodiment of the present application. The method can be applied to Figure 1 The electronic equipment shown is described in detail below Figure 2 The various steps in the method shown in the flowchart include:

[0044] S201, obtaining position coordinates of multiple touch points.

[0045] It should be understood that the multiple touch points are points generated by the user performing operations on the screen of the electronic device, such as clicking operations or sliding operations, etc. Among them, the sliding operation generally refers to the operation that the user touches the screen of the electronic device and then presses the screen to slide the finger, and the touch points included in the sliding operation generally form a sliding track.

[0046] In some embodiments, the electronic device receives a sliding operation on the screen by the user, the sliding operation generally includes multiple touch points, and then calculates the position coordinates of the multiple touch points according to the relevant parameters of the screen. Alternatively, the electronic device may obtain the position coordinates of the multiple touch points by interacting with other electronic devices, etc., which is not specifically limited in this application.

[0047] S202, adjusting the position coordinates of the multiple touch points, wherein the jitter amplitude of the track formed by the multiple touch points after adjustment is smaller than the jitter amplitude of the track formed by the multiple touch points before adjustment.

[0048] It should be understood that the jitter amplitude generally refers to the amplitude of up and down fluctuations of the track formed by multiple touch points relative to the standard linear track, and the smaller the jitter amplitude, the better the linear uniformity of the track.

[0049] In some embodiments, when the electronic device adjusts the position coordinates of multiple touch points, it can use filtering, or a trajectory smoothing algorithm, or a least squares smoothing method, etc., which is not specifically limited in this application.

[0050] Among them, the filtering method can be, for example, mean filtering, which is a typical linear filtering algorithm, and the main method it adopts is the neighborhood averaging method; the trajectory smoothing algorithm is an algorithm used to overcome measurement errors, and its main purpose is to reduce the jagged errors of the measurement results, so as to obtain results that are closer to the true trajectory; the least squares smoothing algorithm is an optimization-based smoothing method, and its principle is to use the least squares method to solve a curve so that the error between the curve and the discrete points is minimized, thereby achieving a smoothing effect.

[0051] S203: Determine a plurality of corresponding touch points according to the adjusted position coordinates.

[0052] In some embodiments, after the electronic device adjusts the coordinates of the multiple touch points, it generates new position coordinates corresponding to the multiple touch points one by one, and then determines the corresponding multiple touch points according to the adjusted new position coordinates.

[0053] Optionally, after the electronic device determines the corresponding multiple touch points according to the adjusted position coordinates, a track may be formed, and compared with the track formed by the initial touch points, the track has better smoothness and linear uniformity.

[0054] In this embodiment, the electronic device adjusts the position coordinates of multiple touch points so that the jitter amplitude of the trajectory formed by the multiple touch points after adjustment is smaller than the jitter amplitude of the trajectory formed by the multiple touch points before adjustment, thereby improving the linear uniformity and smoothness of the trajectory corresponding to the touch coordinates.

[0055] Based on the above embodiments, Figure 3 A flow chart of a method for processing touch coordinates provided in another embodiment of the present application is described in detail below. Figure 3 The various steps in the method shown in the flowchart include:

[0056] S301, obtaining position coordinates of multiple touch points.

[0057] It should be understood that the multiple touch points are points generated by the user performing operations on the screen of the electronic device, such as clicking operations or sliding operations.

[0058] In some embodiments, the electronic device receives a sliding operation on the screen by the user, the sliding operation generally includes multiple touch points, and then calculates the position coordinates of the multiple touch points according to the relevant parameters of the screen. Alternatively, the electronic device may obtain the position coordinates of the multiple touch points by interacting with other electronic devices, etc., which is not specifically limited in this application.

[0059] S302, performing uniform filtering processing on the position coordinates of the multiple touch points.

[0060] The uniformity of the coordinate spacing in the position coordinates of the plurality of touch points after the uniform filtering process is performed is greater than the uniformity of the coordinate spacing in the position coordinates of the plurality of touch points before the uniform filtering process is performed.

[0061] It should be understood that the uniformity of the coordinate spacing is used to indicate the difference in distance between adjacent position coordinates, and the difference in distance between adjacent position coordinates is inversely proportional to the coordinate uniformity. In other words, the smaller the difference in distance between adjacent position coordinates, the better and more uniform the coordinate uniformity.

[0062] It should also be understood that when an electronic device performs uniform filtering processing on the position coordinates of multiple touch points, it may be based on processing the position coordinates of the touch points at two adjacent moments, or it may be based on processing the position coordinates of the touch points at three adjacent moments, or it may be based on processing the position coordinates of the touch points at more adjacent moments, and this application does not specifically limit this.

[0063] In a possible implementation, the electronic device performs uniform filtering on the position coordinates of multiple touch points as follows: according to the position coordinates of the touch point at the first moment among the multiple touch points, the first preset coefficient of the touch point at the first moment, the position coordinates of the touch point at the second moment, and the second preset coefficient of the touch point at the second moment, the position coordinates of the touch point after the uniform filtering is performed on the touch point at the first moment. The second moment is a moment before the first moment, and the first moment is a moment corresponding to any one of the multiple touch points.

[0064] It should be noted that the first preset coefficient is determined based on the first distance between the position coordinates of the touch point at the first moment and the position coordinates of the touch point at the second moment, and the first preset coefficient is proportional to the first distance; the second preset coefficient is determined based on the second distance between the position coordinates of the touch point at the second moment and the position coordinates of the touch point at the third moment, and the second preset coefficient is proportional to the second distance, and the third moment is the moment before the second moment.

[0065] To be understood, the electronic device obtains the position coordinates of the touch point at the first moment after uniform filtering based on the sum of the position coordinates of the touch point at the second moment and the first value, the first value is the product of the average coefficient and the position coordinate difference, the position coordinate difference is the difference between the position coordinates of the touch point at the first moment and the position coordinates of the touch point at the second moment, and the average coefficient is the average of the first preset coefficient and the second preset coefficient.

[0066] Exemplarily, the formula for the above uniform filtering process is shown in the following formula (1):

[0067] Coor=lastCoor+(curCoor-lastCoor)*((curRatio+lastRatio) / 2) (1)

[0068] Among them, Coor is the position coordinate of the touch point at the first moment after uniform filtering, lastCoor is the position coordinate of the touch point at the second moment, curCoor is the position coordinate of the touch point at the first moment, curRatio is the first preset coefficient, and lastRatio is the second preset coefficient.

[0069] In this implementation, the electronic device is used as an example to implement uniform filtering processing on the position coordinates of multiple touch points based on the position coordinates of the touch points at two adjacent moments, and the trajectory formed by the processed position coordinates of the touch points has good uniformity.

[0070] In another possible implementation, the electronic device may perform uniform filtering on the position coordinates of multiple touch points as follows: determine the position coordinates of the touch point at the first moment after the uniform filtering processing according to the position coordinates of the touch point at the first moment among the multiple touch points, the first preset coefficient of the touch point at the first moment, the position coordinates of the touch point at the second moment, the second preset coefficient of the touch point at the second moment, and the third preset coefficient of the touch point at the third moment; wherein the second moment is the moment before the first moment, the third moment is the moment before the second moment, and the first moment is the moment corresponding to any one of the multiple touch points.

[0071] It should be noted that the first preset coefficient is determined based on the first distance between the position coordinates of the touch point at the first moment and the position coordinates of the touch point at the second moment, and the first preset coefficient is proportional to the first distance; the second preset coefficient is determined based on the second distance between the position coordinates of the touch point at the second moment and the position coordinates of the touch point at the third moment, and the second preset coefficient is proportional to the second distance; the third preset coefficient is determined based on the third distance between the position coordinates of the touch point at the third moment and the position coordinates of the touch point at the fourth moment, and the third preset coefficient is proportional to the third distance, and the fourth moment is the moment before the third moment.

[0072] To be understood, the electronic device obtains the position coordinates of the touch point at the first moment after uniform filtering based on the sum of the position coordinates of the touch point at the second moment and the first value, the first value is the product of the average coefficient and the position coordinate difference, the position coordinate difference is the difference between the position coordinates of the touch point at the first moment and the position coordinates of the touch point at the second moment, and the average coefficient is the average of the first preset coefficient, the second preset coefficient and the third preset coefficient.

[0073] Exemplarily, the formula for the above uniform filtering process is shown in the following formula (2):

[0074] Coor=lastCoor+(curCoor-lastCoor)*((curRatio+lastRatio+lastLastRatio) / 3) (2)

[0075] Among them, Coor is the position coordinate of the touch point at the first moment after uniform filtering, lastCoor is the position coordinate of the touch point at the second moment, curCoor is the position coordinate of the touch point at the first moment, curRatio is the first preset coefficient, lastRatio is the second preset coefficient, and lastLastRatio is the third preset coefficient.

[0076] In this implementation, the electronic device uses the position coordinates of the touch points at three adjacent moments as an example to implement uniform filtering processing on the position coordinates of multiple touch points, and the trajectory formed by the processed position coordinates of the touch points has better uniformity.

[0077] S303, determining a plurality of corresponding touch points according to the position coordinates after the uniform filtering process.

[0078] In some embodiments, after the electronic device performs uniform filtering on the coordinates of multiple touch points, it generates new position coordinates corresponding to the multiple touch points one by one, and then determines the corresponding multiple touch points based on the new position coordinates after the uniform filtering.

[0079] Optionally, after the electronic device determines the corresponding multiple touch points according to the position coordinates after uniform filtering processing, a trajectory may be formed, and compared with the trajectory formed by the initial touch points, the trajectory has better smoothness and linear uniformity.

[0080] In this embodiment, the electronic device first obtains the position coordinates of the multiple touch points, and then performs uniform filtering on the position coordinates of the multiple touch points, so that the jitter amplitude of the track formed by the multiple touch points after the uniform filtering is smaller than the jitter amplitude of the track formed by the multiple touch points before adjustment, and finally determines the corresponding multiple touch points according to the position coordinates after the uniform filtering. Performing uniform filtering on the position coordinates of the multiple touch points can improve the uniformity of the coordinate spacing in the position coordinates of the multiple touch points, thereby improving the linear uniformity and smoothness of the track corresponding to the touch coordinates.

[0081] Based on the above embodiments, Figure 4 A flowchart of a method for processing touch coordinates provided in another embodiment of the present application is described in detail below. Figure 4 The various steps in the method shown in the flowchart include:

[0082] S401, obtaining position coordinates of multiple touch points.

[0083] It should be understood that the multiple touch points are points generated by the user performing operations on the screen of the electronic device, such as clicking operations or sliding operations.

[0084] In some embodiments, the electronic device receives a sliding operation on the screen by the user, the sliding operation generally includes multiple touch points, and then calculates the position coordinates of the multiple touch points according to the relevant parameters of the screen. Alternatively, the electronic device may obtain the position coordinates of the multiple touch points by interacting with other electronic devices, etc., which is not specifically limited in this application.

[0085] S402, performing uniform filtering processing on the position coordinates of the multiple touch points to obtain corresponding multiple target position coordinates.

[0086] The uniformity of the coordinate spacing in the position coordinates of the plurality of touch points after the uniform filtering process is performed is greater than the uniformity of the coordinate spacing in the position coordinates of the plurality of touch points before the uniform filtering process is performed.

[0087] It should be understood that the uniformity of the coordinate spacing is used to indicate the difference in distance between adjacent position coordinates, and the difference in distance between adjacent position coordinates is inversely proportional to the coordinate uniformity. In other words, the smaller the difference in distance between adjacent position coordinates, the better and more uniform the coordinate uniformity.

[0088] It should also be understood that when an electronic device performs uniform filtering processing on the position coordinates of multiple touch points, it may be based on processing the position coordinates of the touch points at two adjacent moments, or it may be based on processing the position coordinates of the touch points at three adjacent moments, or it may be based on processing the position coordinates of the touch points at more adjacent moments, and this application does not specifically limit this.

[0089] As an example, when an electronic device implements uniform filtering of the position coordinates of multiple touch points based on the position coordinates of the touch points at two adjacent moments, the specific implementation method is: according to the position coordinates of the touch point at the first moment among the multiple touch points, the first preset coefficient of the touch point at the first moment, the position coordinates of the touch point at the second moment and the second preset coefficient of the touch point at the second moment, the position coordinates of the touch point after uniform filtering at the first moment are determined, that is, the corresponding multiple target position coordinates are obtained. Among them, the second moment is the moment before the first moment, and the first moment is the moment corresponding to any one of the multiple touch points.

[0090] Among them, the first preset coefficient is determined based on the first distance between the position coordinates of the touch point at the first moment and the position coordinates of the touch point at the second moment, and the first preset coefficient is proportional to the first distance; the second preset coefficient is determined based on the second distance between the position coordinates of the touch point at the second moment and the position coordinates of the touch point at the third moment, and the second preset coefficient is proportional to the second distance, and the third moment is the moment before the second moment.

[0091] To be understood, the electronic device obtains the position coordinates of the touch point at the first moment after uniform filtering based on the sum of the position coordinates of the touch point at the second moment and the first value, wherein the first value is the product of the average coefficient and the position coordinate difference, the position coordinate difference is the difference between the position coordinates of the touch point at the first moment and the position coordinates of the touch point at the second moment, and the average coefficient is the average of the first preset coefficient and the second preset coefficient.

[0092] As another example, when an electronic device implements uniform filtering processing on the position coordinates of multiple touch points based on the position coordinates of the touch points at three adjacent moments, its specific implementation method is: according to the position coordinates of the touch point at the first moment among the multiple touch points, the first preset coefficient of the touch point at the first moment, the position coordinates of the touch point at the second moment, the second preset coefficient of the touch point at the second moment and the third preset coefficient of the touch point at the third moment, determine the position coordinates of the touch point after uniform filtering processing at the first moment, that is, obtain the corresponding multiple target position coordinates; wherein the second moment is the moment before the first moment, the third moment is the moment before the second moment, and the first moment is the moment corresponding to any one of the multiple touch points.

[0093] Among them, the first preset coefficient is determined according to the first distance between the position coordinates of the touch point at the first moment and the position coordinates of the touch point at the second moment, and the first preset coefficient is proportional to the first distance; the second preset coefficient is determined according to the second distance between the position coordinates of the touch point at the second moment and the position coordinates of the touch point at the third moment, and the second preset coefficient is proportional to the second distance; the third preset coefficient is determined according to the third distance between the position coordinates of the touch point at the third moment and the position coordinates of the touch point at the fourth moment, and the third preset coefficient is proportional to the third distance, and the fourth moment is the moment before the third moment.

[0094] To be understood, the electronic device obtains the position coordinates of the touch point at the first moment after uniform filtering based on the sum of the position coordinates of the touch point at the second moment and the first value, the first value is the product of the average coefficient and the position coordinate difference, the position coordinate difference is the difference between the position coordinates of the touch point at the first moment and the position coordinates of the touch point at the second moment, and the average coefficient is the average of the first preset coefficient, the second preset coefficient and the third preset coefficient.

[0095] S403, smoothing the coordinates of multiple target positions.

[0096] The smoothness of the trajectory formed by the plurality of target position coordinates after smoothing is greater than the smoothness of the trajectory formed by the plurality of target position coordinates before smoothing.

[0097] In some embodiments, the electronic device may smooth the coordinates of multiple target positions by using a mean filter, a trajectory smoothing algorithm, a least squares smoothing method, etc., which is not specifically limited in this application.

[0098] Taking the example of using mean filtering when an electronic device performs smoothing processing on multiple target position coordinates, the electronic device can select the target position coordinates at the first moment, the target position coordinates at the second moment, and the target position coordinates at the third moment from the multiple target position coordinates, and then calculate the average value of the target position coordinates at the first moment, the target position coordinates at the second moment, and the target position coordinates at the third moment as the position coordinates after smoothing the target position coordinates at the first moment.

[0099] The third moment is a moment before the second moment, the second moment is a moment before the first moment, and the first moment is a moment corresponding to any one of the multiple touch points.

[0100] Optionally, the electronic device may also calculate the position coordinates after smoothing the target position coordinates at the first moment according to the target position coordinates at the first moment, the target position coordinates at the second moment, the target position coordinates at the third moment, and the preset weights corresponding to the position coordinates at each moment among the multiple target position coordinates. Exemplarily, the position coordinates after smoothing the target position coordinates at the first moment are obtained by adding the product of the target position coordinates at the first moment and the first preset weight, the product of the target position coordinates at the second moment and the second preset weight, and the product of the target position coordinates at the third moment and the third preset weight.

[0101] S404, determining a plurality of corresponding touch points according to the plurality of target position coordinates after smoothing.

[0102] In some embodiments, after smoothing the multiple target position coordinates, the electronic device generates new position coordinates corresponding to the multiple touch points one by one, and then determines the corresponding multiple touch points based on the new position coordinates.

[0103] Optionally, after the electronic device determines the corresponding multiple touch points based on the multiple target position coordinates after smoothing, these touch points may form a trajectory, which has better smoothness and linear uniformity than the trajectory formed by the initial touch points.

[0104] For example, Figure 5 As shown, assuming that the original tracks formed by the multiple touch points that have not been processed by the embodiment of the present application are series 1, after the electronic device determines the corresponding multiple touch points according to the multiple target position coordinates after smoothing, the tracks formed by these touch points are series 2. Figure 5 It can be seen that the original jitter amplitude of series 1 is relatively large. After being processed by the method of the embodiment of the present application, the uniformity of the position coordinates of the touch points in series 2 is greatly improved, and the formed trajectory is also smoother and more stable.

[0105] In this embodiment, the electronic device first obtains the position coordinates of multiple touch points, then performs uniform filtering processing on the position coordinates of the multiple touch points to obtain the corresponding multiple target position coordinates, further performs smoothing processing on the multiple target position coordinates, and finally determines the corresponding multiple touch points according to the multiple target position coordinates after smoothing processing. In the touch coordinate processing method, the uniformity and smoothness of the position coordinates of the multiple touch points are enhanced through two-level processing, namely uniform filtering processing and smoothing processing, wherein uniform filtering processing can improve the uniformity of the coordinate spacing in the position coordinates of the multiple touch points, and smoothing processing can improve the smoothness of the position coordinates of the multiple touch points, thereby improving the linear uniformity and smoothness of the trajectory corresponding to the touch coordinates.

[0106] It should also be understood that the above embodiments may be coupled to each other, and this application does not limit this. Moreover, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0107] Combined with the above Figures 1 to 5 , describes in detail the method for processing touch coordinates in the embodiment of the present application, and will now be combined with Figure 6 and Figure 7 , a touch coordinate processing device according to an embodiment of the present application is described in detail.

[0108] Figure 6 A structural schematic diagram of a touch coordinate processing device 600 provided in one embodiment of the present application, the device 600 includes: an acquisition module 601 , an adjustment module 602 and a determination module 603 .

[0109] Among them, the acquisition module 601 is used to obtain the position coordinates of multiple touch points; the adjustment module 602 is used to adjust the position coordinates of the multiple touch points, wherein the jitter amplitude of the trajectory formed by the multiple touch points after adjustment is smaller than the jitter amplitude of the trajectory formed by the multiple touch points before adjustment; the determination module 603 is used to determine the corresponding multiple touch points according to the adjusted position coordinates.

[0110] In some embodiments, the adjustment module 602 is specifically used to: perform uniform filtering on the position coordinates of the multiple touch points; wherein the uniformity of the coordinate spacing in the position coordinates of the multiple touch points after the uniform filtering is greater than the uniformity of the coordinate spacing in the position coordinates of the multiple touch points before the uniform filtering, and the uniformity of the coordinate spacing is used to indicate the difference in distance between adjacent position coordinates, and the difference in distance between adjacent position coordinates is inversely proportional to the coordinate uniformity.

[0111] In some embodiments, the adjustment module 602 is specifically used to: perform uniform filtering on the position coordinates of the multiple touch points to obtain corresponding multiple target position coordinates; perform smoothing on the multiple target position coordinates; wherein the uniformity of the coordinate spacing in the multiple target position coordinates is greater than the uniformity of the coordinate spacing in the position coordinates of the multiple touch points before the uniform filtering is performed, the uniformity of the coordinate spacing is used to indicate the difference in distance between adjacent position coordinates, and the difference in distance between adjacent position coordinates is inversely proportional to the coordinate uniformity, and the smoothness of the trajectory formed by the multiple target position coordinates after the smoothing is greater than the smoothness of the trajectory formed by the multiple target position coordinates before the smoothing.

[0112] In some embodiments, the determination module 603 is also used to determine the position coordinates of the touch point at the first moment after the uniform filtering processing is performed on the touch point according to the position coordinates of the touch point at the first moment among the multiple touch points, the first preset coefficient of the touch point at the first moment, the position coordinates of the touch point at the second moment and the second preset coefficient of the touch point at the second moment; wherein the second moment is the moment before the first moment, and the first moment is the moment corresponding to any one of the multiple touch points.

[0113] In some embodiments, the determination module 603 is specifically used to obtain the position coordinates of the touch point at the first moment after the uniform filtering processing is performed according to the sum of the position coordinates of the touch point at the second moment and the first numerical value, the first numerical value is the product of the average coefficient and the position coordinate difference, the position coordinate difference is the difference between the position coordinates of the touch point at the first moment and the position coordinates of the touch point at the second moment, and the average coefficient is the average value of the first preset coefficient and the second preset coefficient.

[0114] In some embodiments, the determination module 603 is also used to determine the position coordinates of the touch point at the first moment after the uniform filtering processing is performed on the touch point according to the position coordinates of the touch point at the first moment among the multiple touch points, the first preset coefficient of the touch point at the first moment, the position coordinates of the touch point at the second moment, the second preset coefficient of the touch point at the second moment and the third preset coefficient of the touch point at the third moment; wherein the second moment is the moment before the first moment, the third moment is the moment before the second moment, and the first moment is the moment corresponding to any one of the multiple touch points.

[0115] In some embodiments, the determination module 603 is specifically used to: obtain the position coordinates of the touch point at the first moment after the uniform filtering processing is performed according to the sum of the position coordinates of the touch point at the second moment and the first numerical value, the first numerical value is the product of the average coefficient and the position coordinate difference, the position coordinate difference is the difference between the position coordinates of the touch point at the first moment and the position coordinates of the touch point at the second moment, and the average coefficient is the average of the first preset coefficient, the second preset coefficient and the third preset coefficient.

[0116] In some embodiments, the first preset coefficient is determined based on a first distance between the position coordinates of the touch point at the first moment and the position coordinates of the touch point at the second moment, and the first preset coefficient is proportional to the first distance; the second preset coefficient is determined based on a second distance between the position coordinates of the touch point at the second moment and the position coordinates of the touch point at the third moment, and the second preset coefficient is proportional to the second distance.

[0117] In some embodiments, the third preset coefficient is determined based on a third distance between the position coordinates of the touch point at the third moment and the position coordinates of the touch point at the fourth moment, and the third preset coefficient is proportional to the third distance, and the fourth moment is the moment before the third moment.

[0118] In some embodiments, the touch coordinate processing device further includes: a processing module. The processing module is configured to perform mean filtering on the multiple target position coordinates.

[0119] It should be understood that the device 600 here is embodied in the form of a functional module. The term "module" here may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a proprietary processor or a group processor, etc.) and a memory for executing one or more software or firmware programs, a merged logic circuit and / or other suitable components that support the described functions. In an optional example, those skilled in the art will understand that the device 600 may be specifically an electronic device in the above-mentioned embodiment, or the functions of the electronic device in the above-mentioned embodiment may be integrated in the device 600, and the device 600 may be used to execute the various processes and / or steps corresponding to the electronic device in the above-mentioned method embodiment, and to avoid repetition, it will not be repeated here.

[0120] The above-mentioned device 600 has the function of implementing the corresponding steps executed by the electronic device in the above-mentioned method; the above-mentioned function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned function.

[0121] Figure 7 A structural schematic diagram of a touch coordinate processing device provided in another embodiment of the present application. Figure 7 The touch coordinate processing device shown can be used to execute the method of any one of the aforementioned embodiments.

[0122] like Figure 7 As shown, the device 700 of this embodiment includes: a memory 701, a processor 702, a communication interface 703 and a bus 704. The memory 701, the processor 702 and the communication interface 703 are connected to each other through the bus 704.

[0123] Among them, the processor 702 is used to: obtain the position coordinates of multiple touch points; adjust the position coordinates of the multiple touch points, wherein the jitter amplitude of the trajectory formed by the multiple touch points after adjustment is smaller than the jitter amplitude of the trajectory formed by the multiple touch points before adjustment; and determine the corresponding multiple touch points according to the adjusted position coordinates.

[0124] The memory 701 may be a read only memory (ROM), a static storage device, a dynamic storage device or a random access memory (RAM). The memory 701 may store a program. When the program stored in the memory 701 is executed by the processor 702, the processor 702 is used to execute each step of the method shown in the above embodiment.

[0125] The processor 702 can adopt a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits to execute relevant programs to implement the various methods shown in the embodiments of the present application.

[0126] The processor 702 may also be an integrated circuit chip with signal processing capability. In the implementation process, each step of the method of the embodiment of the present application may be completed by an integrated logic circuit of hardware in the processor 702 or by instructions in the form of software.

[0127] The processor 702 may also be a general purpose processor, a digital signal processor (DSP), an ASIC, a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The methods, steps, and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. The general purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0128] The steps of the method disclosed in the embodiment of the present application can be directly embodied as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 701, and the processor 702 reads the information in the memory 701, and completes the functions required to be performed by the units included in the device of the present application in combination with its hardware.

[0129] The communication interface 703 may use, but is not limited to, a transceiver or other transceiver device to implement communication between the apparatus 700 and other devices or a communication network.

[0130] The bus 704 may include a path for transmitting information between various components of the device 700 (eg, the memory 701 , the processor 702 , and the communication interface 703 ).

[0131] It should be understood that the device 700 shown in the embodiment of the present application may be an electronic device, or may also be a chip configured in the electronic device.

[0132] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0133] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0134] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0135] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0136] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0137] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0138] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.

[0139] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for processing touch coordinates, characterized in that: include: Get the position coordinates of multiple touch points; Adjusting the position coordinates of the multiple touch points, wherein the jitter amplitude of the track formed by the multiple touch points after the adjustment is smaller than the jitter amplitude of the track formed by the multiple touch points before the adjustment; According to the adjusted position coordinates, the corresponding multiple touch points are determined.

2. The method according to claim 1, characterized in that The adjusting the position coordinates of the plurality of touch points includes: Performing uniform filtering on the position coordinates of the multiple touch points; Among them, the uniformity of the coordinate spacing in the position coordinates of the multiple touch points after the uniform filtering processing is greater than the uniformity of the coordinate spacing in the position coordinates of the multiple touch points before the uniform filtering processing is performed, and the uniformity of the coordinate spacing is used to indicate the difference in distance between adjacent position coordinates, and the difference in distance between adjacent position coordinates is inversely proportional to the coordinate uniformity.

3. The method according to claim 1, characterized in that The adjusting the position coordinates of the plurality of touch points includes: Performing uniform filtering on the position coordinates of the multiple touch points to obtain corresponding multiple target position coordinates; Performing smoothing processing on the multiple target position coordinates; Among them, the uniformity of the coordinate spacing in the multiple target position coordinates is greater than the uniformity of the coordinate spacing in the position coordinates of the multiple touch points before the uniform filtering process is performed, the uniformity of the coordinate spacing is used to indicate the difference in distance between adjacent position coordinates, and the difference in distance between adjacent position coordinates is inversely proportional to the coordinate uniformity, and the smoothness of the trajectory formed by the multiple target position coordinates after the smoothing process is greater than the smoothness of the trajectory formed by the multiple target position coordinates before the smoothing process is performed.

4. The method according to claim 2, characterized in that: The uniform filtering of the position coordinates of the plurality of touch points comprises: Determining the position coordinates of the touch points at the first moment after the uniform filtering process is performed on the touch points at the first moment according to the position coordinates of the touch points at the first moment, the first preset coefficients of the touch points at the first moment, the position coordinates of the touch points at the second moment, and the second preset coefficients of the touch points at the second moment; The second moment is a moment before the first moment, and the first moment is a moment corresponding to any one of the multiple touch points.

5. The method according to claim 4, characterized in that The determining, according to the position coordinates of the touch points at a first moment among the multiple touch points, the first preset coefficient of the touch points at the first moment, the position coordinates of the touch points at a second moment, and the second preset coefficient of the touch points at the second moment, the position coordinates of the touch points after the uniform filtering process is performed on the touch points at the first moment comprises: According to the sum of the position coordinates of the touch point at the second moment and the first numerical value, the position coordinates of the touch point at the first moment after the uniform filtering process is obtained, the first numerical value is the product of the average coefficient and the position coordinate difference, the position coordinate difference is the difference between the position coordinates of the touch point at the first moment and the position coordinates of the touch point at the second moment, and the average coefficient is the average value of the first preset coefficient and the second preset coefficient.

6. The method according to claim 2, characterized in that The uniform filtering of the position coordinates of the plurality of touch points comprises: Determining the position coordinates of the touch points at the first moment after the uniform filtering process is performed on the touch points at the first moment according to the position coordinates of the touch points at the first moment, the first preset coefficients of the touch points at the first moment, the position coordinates of the touch points at the second moment, the second preset coefficients of the touch points at the second moment, and the third preset coefficients of the touch points at the third moment; The second moment is a moment before the first moment, the third moment is a moment before the second moment, and the first moment is a moment corresponding to any one of the multiple touch points.

7. The method according to claim 6, characterized in that The determining, according to the position coordinates of the touch points at a first moment among the multiple touch points, the first preset coefficient of the touch points at the first moment, the position coordinates of the touch points at a second moment, the second preset coefficient of the touch points at the second moment, and the third preset coefficient of the touch points at a third moment, the position coordinates of the touch points after the uniform filtering process is performed on the touch points at the first moment includes: According to the sum of the position coordinates of the touch point at the second moment and the first numerical value, the position coordinates of the touch point at the first moment after the uniform filtering process is obtained, the first numerical value is the product of the average coefficient and the position coordinate difference, the position coordinate difference is the difference between the position coordinates of the touch point at the first moment and the position coordinates of the touch point at the second moment, and the average coefficient is the average value of the first preset coefficient, the second preset coefficient and the third preset coefficient.

8. The method according to any one of claims 4 to 7, characterized in that The first preset coefficient is determined according to a first distance between the position coordinates of the touch point at the first moment and the position coordinates of the touch point at the second moment, and the first preset coefficient is proportional to the first distance; The second preset coefficient is determined based on a second distance between the position coordinates of the touch point at the second moment and the position coordinates of the touch point at a third moment, and the second preset coefficient is proportional to the second distance, and the third moment is a moment before the second moment.

9. The method according to claim 6 or 7, characterized in that: The third preset coefficient is determined based on a third distance between the position coordinates of the touch point at the third moment and the position coordinates of the touch point at the fourth moment, and the third preset coefficient is proportional to the third distance, and the fourth moment is a moment before the third moment.

10. The method according to claim 3, characterized in that The smoothing process of the plurality of target position coordinates includes: The plurality of target position coordinates are subjected to mean filtering processing.

11. A touch coordinate processing device, characterized in that: The device comprises: An acquisition module, used to acquire the position coordinates of multiple touch points; An adjustment module, configured to adjust the position coordinates of the plurality of touch points, wherein the jitter amplitude of the track formed by the plurality of touch points after adjustment is smaller than the jitter amplitude of the track formed by the plurality of touch points before adjustment; The determination module is used to determine the corresponding multiple touch points according to the adjusted position coordinates.

12. An electronic device, characterized in that: The system comprises a processor and a memory, wherein the memory is used to store code instructions; the processor is used to run the code instructions to execute the method according to any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that: Used to store a computer program, the computer program comprising instructions for implementing the method according to any one of claims 1 to 10.