Touch identification method and device, touch equipment, medium and product

By detecting the touch area and local peak position of the touch object on the touch screen, and comparing the sensing amount within a preset time period, the touch type of the finger and the passive capacitive stylus can be distinguished, thus solving the problem of high false recognition rate in the prior art and achieving higher recognition accuracy.

CN121900646APending Publication Date: 2026-04-21GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGZHOU SHIYUAN ELECTRONICS CO LTD
Filing Date
2024-10-21
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

Existing touchscreens suffer from a high false recognition rate when recognizing fingers and passive capacitive styluses, especially when the sensing amount and contact area fluctuate greatly during finger touch, resulting in low recognition accuracy.

Method used

By detecting the touch area and local peak position of the touch object on the touch screen, and comparing the sensing amount within a preset time period, the touch type of the finger and the passive capacitive stylus can be distinguished. The type of touch object is determined by the mean and average ratio of the sensing amount difference or ratio between the local peak position and the candidate position.

Benefits of technology

It improves the accuracy of touch type recognition on the touchscreen, reduces the risk of fingers being mistaken for passive capacitive styluses, and enhances the accuracy of recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121900646A_ABST
    Figure CN121900646A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of touch screens, and discloses a touch recognition method and device, touch equipment, a medium and a product.The method comprises the steps that under the condition that it is detected that a touch object touches a touch screen, a touch area corresponding to the touch object and the local peak value position of the induction amount in the touch area are determined; if the induction quantity of the local peak position is within a preset range, comparing the induction quantity of the local peak position obtained within a preset time period with the induction quantity of at least one corresponding candidate position, and determining the touch type of the touch object according to a comparison result; the candidate position is a sensing position except a local peak position in the touch area. According to the scheme, the difference of the induction quantity generated by the touch screen within a period of time under the conditions of finger touch and capacitive pen touch is fully considered, and the recognition accuracy of the touch type on the touch screen is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of touch screen technology, and specifically to a touch recognition method, device, touch equipment, medium, and product. Background Technology

[0002] To recognize fingers and styluses, existing touchscreens typically use active capacitive styluses. The tip of the stylus can output a stimulus signal, and the touchscreen receives the stimulus signal and directly determines the touch type as a capacitive stylus.

[0003] However, active capacitive pens are expensive and require charging or battery replacement, making them costly and inconvenient. When using passive capacitive pens, without adding other components, the industry typically distinguishes between passive pen touchscreens and finger touchscreens by using contact area or sensing intensity. However, because the sensing intensity and contact area fluctuate significantly during finger touchscreen use, it's easy to mistakenly identify a finger as a passive pen, resulting in low touch recognition accuracy. Summary of the Invention

[0004] In view of this, the present invention provides a touch recognition method, apparatus, touch device, medium and product to improve the accuracy of touch type recognition.

[0005] In a first aspect, the present invention provides a touch recognition method applied to a touch device, the touch device including a touchscreen; the method includes:

[0006] When a touch object is detected touching the touch screen, the touch area corresponding to the touch object and the local peak position of the sensing amount in the touch area are determined;

[0007] If the sensing amount at the local peak position is within a preset range, the sensing amount at the local peak position obtained within a preset time period is compared with the sensing amount at at least one corresponding candidate position, and the touch type of the touch object is determined based on the comparison result; the candidate position is the sensing position in the touch area other than the local peak position.

[0008] In this application, the touch device detects whether there is a touch object on the touchscreen. When a touch object is detected touching the touchscreen, the corresponding touch area is determined, and the sensing volume of each sensing position in the touch area is acquired, thereby selecting a local peak position in the touch area. If the sensing volume of the local peak position is within a preset range, it means that it has not reached the recognition threshold of a finger but has exceeded the recognition threshold of a passive capacitive stylus. In this case, there is a risk of misidentifying a finger as a passive capacitive stylus. To reduce the above risk, the touch device can compare the sensing volume of the acquired local peak position with the sensing volume of at least one corresponding candidate position in multiple scan frames within a preset time period. The comparison result indicates whether the contact area between the touch object and the touch device has changed significantly within the preset time period. Based on the comparison result, the touch type of the touch object can be determined. The above solution, by acquiring the comparison results of the sensing volume of the local peak position with at least one candidate position in multiple scan frames, fully considers the difference in sensing volume generated by the touchscreen over a period of time in the case of finger touch and capacitive stylus touch, thus improving the accuracy of touch type recognition on the touchscreen.

[0009] In one optional implementation, determining the local peak position with the largest sensing amount in the touch area includes: dividing the touch area into candidate areas; each candidate area includes at least two closely adjacent sensing positions; and determining at least two closely adjacent sensing positions in the candidate area with the largest sum of sensing amounts as the local peak position.

[0010] In one optional implementation, the candidate position is a sensing position selected from the four directions of up, down, left, and right that are adjacent to the local peak position, with the local peak position as the reference position; or, the candidate position is a sensing position selected from the two directions of left and right that are adjacent to the local peak position, with the local peak position as the reference position.

[0011] In one optional implementation, the step of comparing the sensing quantity of a local peak position acquired within a preset time period with the sensing quantity of at least one corresponding candidate position, and determining the touch type of the touch object based on the comparison result, includes: acquiring the average difference value of sensing quantities corresponding to multiple scan frames within the preset time period; the average difference value of sensing quantities corresponding to each scan frame is the average value of the difference between the sensing quantity of the local peak position and the sensing quantity of the adjacent candidate position within the scan frame; and determining the touch type of the touch object based on the average difference value of sensing quantities corresponding to multiple scan frames within the preset time period.

[0012] In one optional implementation, determining the touch type of the touch object based on the average difference in sensing values ​​corresponding to multiple scan frames within the preset time period includes: if the number of scan frames with an average difference in sensing values ​​greater than a first threshold is greater than a first quantity threshold, then the type of the touch object is determined to be a first type; or, if the number of scan frames with an average difference in sensing values ​​greater than the first threshold is less than or equal to the first quantity threshold, then the type of the touch object is determined to be a second type.

[0013] In one optional implementation, determining the touch type of the touch object based on the average difference in sensing values ​​corresponding to multiple scan frames within the preset time period includes: if the average value of the average difference in sensing values ​​corresponding to multiple scan frames within the preset time period is greater than a second threshold, then the type of the touch object is determined to be a first type; or, if the average value of the average difference in sensing values ​​corresponding to multiple scan frames within the preset time period is less than or equal to the second threshold, then the type of the touch object is determined to be a second type.

[0014] In one optional implementation, comparing the sensing amount of a local peak position obtained within a preset time period with the sensing amount of at least one corresponding candidate position includes: obtaining the average ratio of sensing amounts corresponding to multiple scan frames within the preset time period; the average ratio of sensing amounts corresponding to each scan frame is the average of the ratios of the sensing amount of the local peak position within the scan frame to the sensing amounts of adjacent candidate positions; and determining the touch type of the touch object based on the average ratio of sensing amounts corresponding to multiple scan frames within the preset time period.

[0015] In one optional implementation, determining the touch type of the touch object based on the average ratio of the sensing values ​​corresponding to multiple scan frames within the preset time period includes: if the number of scan frames with an average ratio of sensing values ​​greater than a third threshold is greater than a second threshold, then the type of the touch object is determined to be a first type; or, if the number of scan frames with an average ratio of sensing values ​​greater than the third threshold is less than or equal to the second threshold, then the type of the touch object is determined to be a second type.

[0016] In one optional implementation, determining the touch type of the touch object based on the average ratio of the sensing amounts corresponding to multiple scan frames within the preset time period includes: if the average value of the average ratio of the sensing amounts corresponding to multiple scan frames within the preset time period is greater than a fourth threshold, then the type of the touch object is determined to be a first type; or, if the average value of the average ratio of the sensing amounts corresponding to multiple scan frames within the preset time period is less than or equal to the fourth threshold, then the type of the touch object is determined to be a second type.

[0017] In a second aspect, the present invention provides a touch recognition device for use in a touch device, the touch device including a touchscreen; the device includes:

[0018] The touch detection module is used to determine the touch area corresponding to the touch object and the location of the local peak value with the largest sensing amount in the touch area when the touch object is detected to touch the touch screen.

[0019] The type identification module is used to compare the sensing amount of the local peak position obtained within a preset time period with the sensing amount of at least one corresponding candidate position if the sensing amount of the local peak position is within a preset range, and determine the touch type of the touch object based on the comparison result; the candidate position is the sensing position in the touch area other than the local peak position.

[0020] Thirdly, the present invention provides a touch device, the touch device including a touch screen and a controller, the touch screen and the controller being communicatively connected to each other; the controller including a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the above-mentioned touch recognition method.

[0021] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to perform the above-described touch recognition method.

[0022] Fifthly, the present invention provides a computer program product, including computer instructions for causing a computer to execute the above-described touch recognition method. Attached Figure Description

[0023] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0024] Figure 1 This is a schematic diagram of a scenario in which the touch recognition method provided in the embodiments of this application is applicable.

[0025] Figure 2 This is a schematic diagram of the structure of a possible touch component in a touch screen, provided as an embodiment of this application.

[0026] Figure 3 A schematic diagram illustrating a capacitance data change according to an embodiment of this application is shown.

[0027] Figure 4A schematic diagram of the sensing signal intensity when a passive capacitive pen touches a screen with a finger is shown.

[0028] Figure 5 This diagram illustrates a state of finger-touch screen operation.

[0029] Figure 6 This diagram illustrates the state of a passive capacitive pen touch.

[0030] Figure 7 This is a flowchart illustrating a touch recognition method according to an exemplary embodiment.

[0031] Figure 8 This is a flowchart illustrating a method for selecting a local peak position according to an exemplary embodiment.

[0032] Figure 9 This is a schematic diagram of the amount of data sensed in the touch area that can be recognized by the touchscreen.

[0033] Figure 10 This is a flowchart illustrating a touch recognition method according to an exemplary embodiment.

[0034] Figure 11 This diagram illustrates the sensing data of a finger touch and a passive capacitive pen.

[0035] Figure 12 This is a flowchart illustrating a touch recognition method according to an exemplary embodiment.

[0036] Figure 13 This application provides a structural diagram of a touch recognition device.

[0037] Figure 14 This is a schematic diagram of the structure of a touch device according to an embodiment of the present invention. Detailed Implementation

[0038] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0039] In the description of the embodiments of this application, the term "correspondence" may indicate that there is a direct or indirect correspondence between two things, or that there is an association between two things, or that there is a relationship of instruction and being instructed, configuration and being configured, etc.

[0040] Figure 1This is a schematic diagram illustrating a scenario to which the touch recognition method provided in this application is applicable. (Refer to...) Figure 1 This application scenario includes touch objects and touch devices 100.

[0041] The touch device 100 can be any device that uses a capacitive touch component to achieve touch functionality, such as smart interactive flat panels, mobile phones, tablets, computers, virtual reality (VR) terminal devices, augmented reality (AR) terminal devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, personal digital assistants (PDAs), in-vehicle devices, wearable devices, etc. Figure 1 The following explanation uses the Sino-Israeli touch device 100 as an example of a smart interactive flat panel.

[0042] The touch device has a touchscreen, and a touch object can touch the touchscreen to provide input to the touch device 100. The touch device 100 performs an operation in response to the input based on the input from the touch object. The touch object referred to here can be any object capable of performing touch operations on the touch device 100, such as a stylus 200, a user's finger 300, etc.

[0043] For devices employing capacitive touch components to achieve touch functionality, the stylus 200 described in this application can be a capacitive stylus. The capacitive stylus can include passive capacitive styluses and active capacitive styluses. Passive capacitive styluses can be called passive capacitive styluses or passive touch pens, while active capacitive styluses can be called active touch pens, and are further divided into active passive pens and active active pens.

[0044] The stylus 200 and the touch device 100 can be connected via a wired connection or interconnected through a communication network to achieve interaction. This communication network can be, but is not limited to, a Wi-Fi hotspot network, a Wi-Fi peer-to-peer (P2P) network, a Bluetooth network, a Zigbee network, or a near-field communication (NFC) network. It should be understood that when the stylus 200 and the touch device 100 are interconnected through a communication network, both can have a communication module and a communication antenna capable of establishing the communication network. Taking a Bluetooth network as an example, both can have a Bluetooth module and a Bluetooth antenna, thus enabling the establishment of a Bluetooth network using the Bluetooth module and Bluetooth antenna.

[0045] The touch screen on the touch device 100 can be a capacitive screen. In capacitive touch technology, it is generally composed of interleaved driving and sensing electrodes. When a finger or conductor touches the screen, a change in capacitance data is generated centered on the touch object. This change can be converted into a value representing the change in capacitance data through hardware driving circuit and analog-to-digital conversion. Figure 2 This is a schematic diagram illustrating the structure of a possible touch component in a touchscreen, as provided in an embodiment of this application. Figure 2 As shown, taking the touch component as an example of being placed on the display screen or in front of the display screen, the touch component may include a touch driving electrode layer and a touch sensing electrode layer.

[0046] The touch driving electrode layer and the touch sensing electrode layer are disposed on the upper side of the display screen. That is, the touch sensing electrode layer and the touch driving electrode layer are both stacked on the display screen, with the touch sensing electrode layer and the touch driving electrode layer on top and the display screen on the bottom. The touch sensing electrode layer, the touch driving electrode layer, and the display screen together constitute the touch screen 101 (also known as a touch screen) of the touch device 100.

[0047] The touch driving electrode layer has multiple rows of driving electrodes Dx, and the touch sensing electrode layer has multiple columns of sensing electrodes Sy. The multiple rows of driving electrodes Dx and the multiple columns of sensing electrodes Sy are arranged alternately. Here, x and y represent the number of rows of electrodes, and are both integers greater than or equal to 1. The maximum values ​​of x and y can be the same or different, depending on the number of rows of electrodes in the electrode layer. Figure 2 This is a schematic diagram with x and y both taking the value of 5.

[0048] In such Figure 2 The touch component shown includes multiple sensing positions, which are the locations where the driving electrodes and sensing electrodes intersect. When an object touches a sensing position, the capacitance at that position changes. See also Figure 2 As shown, Figure 2 The sensor locations are marked in the text.

[0049] Please refer to Figure 3 This illustrates a schematic diagram of capacitance data variation according to an embodiment of this application. Figure 3 As shown, by touching objects with different contact areas (such as...) Figure 2 When the capacitive touchscreen is operated with the first, second, and third contact areas (shown as increasing in size), different capacitance changes of different sizes and peak values ​​will occur in the touch area of ​​the capacitive touchscreen.

[0050] When users need to operate the touch device, they can use the stylus 200 or their finger 300 to perform light touches, heavy touches, and swipes on various locations on the touchscreen to control the device. Furthermore, users can also directly use their fingers to touch various locations on the touchscreen to control the device.

[0051] However, in certain application scenarios, it is necessary to restrict the touchscreen to respond only to capacitive stylus input. For example, when drawing software is running on the touch device, because capacitive stylus input is more precise, and users are prone to accidentally touching the touchscreen with their fingers or other parts of their hands while using the stylus, restricting the touchscreen to respond only to capacitive stylus input can significantly improve the accuracy of the user's operation of the drawing software.

[0052] Therefore, to achieve hand and pen recognition, an active capacitive pen is typically used. However, active capacitive pens are expensive, require capacitor power, and are less convenient. If a passive capacitive pen is used, the touch area can usually be used for recognition without adding other components. Please refer to [reference needed]. Figure 4 It shows a schematic diagram of the sensing signal intensity when a passive capacitive pen touches a screen with a finger.

[0053] Since the amount of data sensed by a finger touch is greater than that sensed by a passive capacitive stylus, two thresholds can be set to distinguish between a passive capacitive stylus and a finger touch based on the amount of data sensed. The first is the threshold for the amount of data sensed by a finger touch. If the amount of data sensed by a finger touch is reached, the touch type is directly identified as a finger touch. The second is the threshold for the amount of data sensed by a passive capacitive stylus. If the amount of data sensed by a passive capacitive stylus is reached but the amount of data sensed by a finger touch is not reached, the touch type is identified as a capacitive stylus touch. If neither threshold is reached, no point is reported.

[0054] However, the above solutions also have a certain false recognition rate. Passive capacitive pens are unlikely to be mistaken for hands because the fluctuation in the amount of data sensed by a passive capacitive pen touching the screen is relatively small. The threshold for hand detection is generally set higher than the maximum detection range of a passive capacitive pen, making it difficult for a passive capacitive pen to be recognized as a hand. The problem with these solutions is that hands can easily be mistaken for passive capacitive pens. The fluctuation in the amount of data sensed on the touchscreen from the initial touch to a normal touch is relatively large, especially during slow or light touches. In these cases, the amount of data sensed by a hand may fall within the detection range of a passive capacitive pen, leading to misidentification. False recognition can also occur in light touch and hover touch scenarios.

[0055] Figure 5 This diagram illustrates a state of finger touch on the screen. Figure 5 As shown, during the process of a user touching the touchscreen on the target terminal with their finger, the finger first reaches a hover touch state with the touchscreen. Due to the capacitive nature of the touchscreen, the touchscreen has already responded to the hover touch state finger, resulting in a change in the amount of sensing, but the amount of sensing is relatively small at this time. When the user's finger moves closer to the touchscreen and reaches a light touch state, the fingertip of the user's finger has a small area of ​​direct contact with the touchscreen, and the amount of sensing changes more significantly compared to the hover touch state. When the user's finger moves closer to the touchscreen and reaches a normal touch state, the direct contact area between the user's finger and the touchscreen increases, and the amount of sensing of the touchscreen reaches its maximum value.

[0056] Figure 6 This diagram illustrates the state of a passive capacitive pen touch. (For example...) Figure 6 As shown, when a passive capacitive stylus contacts a touchscreen, the stylus tip makes direct contact with the touchscreen, and the contact area does not change continuously. However, during the user's finger touches the screen, especially during slow or light touches, the hand's sensing intensity may fall within the stylus's sensing intensity range, potentially leading to the user's finger being misidentified as a stylus.

[0057] Therefore, this application monitors the relationship between the sensing quantity at the local peak position of the touch area and the sensing quantity at the sensing position other than the local peak position in the touch area within a certain time period, which fully considers the difference in the sensing quantity on the target touch screen within a certain time period under the two cases of finger touch and capacitive pen touch, thereby improving the accuracy of touch type recognition on the touch screen. Figure 7 This is a flowchart illustrating a touch recognition method according to an exemplary embodiment. The method is executed by a touch device. Figure 7 As shown, the touch recognition method may include the following steps:

[0058] Step S701: When it is detected that a touch object touches the touch screen, determine the touch area corresponding to the touch object and the local peak position of the sensing amount in the touch area.

[0059] Optionally, in this embodiment, touch area recognition methods such as the nine-square sliding window method or the watershed algorithm can be used to determine the touch area corresponding to the touch object. The touch area includes multiple sensing positions, and the local peak position in the touch area is generally located at the touch center of the touch area; the sensing amount decreases the further away from the touch center the sensing position is.

[0060] Optionally, the local peak position is the sensing position with the highest sensing amount in the touch area corresponding to the touched object. However, if the passive capacitive stylus tip is relatively large, it is necessary to select a set of multiple sensing positions in the touch area as the local peak position to characterize the influence of the passive capacitive stylus tip on the sensing amount of the touch area, which can increase the recognition accuracy in this case. Figure 8 This is a flowchart illustrating a method for selecting a local peak position according to an exemplary embodiment.

[0061] Step S801: Divide the touch area into candidate areas.

[0062] Each candidate region includes at least two closely adjacent sensing locations.

[0063] Optionally, the candidate area can be a grid-shaped area formed by four adjacent sensing positions (up, down, left, and right), or two adjacent sensing positions (left and right).

[0064] Step S802: Determine at least two closely adjacent sensing positions in the candidate region with the largest sum of sensing values ​​as local peak positions.

[0065] Figure 9 This diagram illustrates the sensing data in the touch area during passive capacitive stylus input. Taking a passive capacitive stylus with a relatively large tip, where the local peak position includes two adjacent sensing positions, as an example... Figure 9 As shown, within the touch area that the touchscreen can recognize, the maximum sum of the sensing values ​​of two adjacent sensing positions is (206 + 203). Therefore... Figure 9 The sensing positions with a sensing value of 206 and 203 can be used as local peak positions.

[0066] Step S702: If the sensing amount at the local peak position is within a preset range, the sensing amount at the local peak position obtained within the preset time period is compared with the sensing amount at at least one corresponding candidate position, and the touch type of the touch object is determined based on the comparison result.

[0067] Candidate locations are the sensing locations within the touch area, excluding local peak locations. Since the touch area defined by a touch device typically contains only a limited number of sensing locations, candidate locations can be considered as sensing locations within the touch area that are adjacent to local peak locations.

[0068] If the touch object is a passive capacitive stylus, the contact area between the passive capacitive stylus and the touch screen will not change significantly during the process of touching the touch screen. In other words, the tip of the passive capacitive stylus should be located at a local peak position within a preset time period. The sensing amount at the local peak position will be continuously affected by the passive capacitive stylus, while the candidate position will be less affected by the passive motorized stylus.

[0069] If the object of touch is a finger, the finger and the touchscreen will move in a certain order as follows: Figure 5 As the process is gradually initiated, the contact area between the finger and the touchscreen changes significantly over time, which may cause the sensing amount of the candidate position to gradually increase as the finger touches the screen.

[0070] Therefore, in this embodiment, when the sensing amount at a local peak position is within a preset range, such as between the thresholds for finger touch and pen touch, the sensing amount at the local peak position is compared with the sensing amount at at least one candidate position within a preset time period. If the comparison result indicates that the sensing amount at the local peak position and the sensing amount at the candidate position are significantly different within the preset time period, then the touch object can be identified as a passive capacitive pen. If the comparison result indicates that the sensing amount at the local peak position and the sensing amount at the candidate position are not significantly different within the preset time period, then the touch object can be identified as a finger.

[0071] Optionally, if the sensing amount at a local peak position is greater than the maximum value of a preset range, the type of the object being touched is determined to be a finger.

[0072] In this embodiment, the minimum value of the preset range is the sensing threshold of the passive capacitive pen, and the maximum value of the preset range is the sensing threshold of the finger. If the sensing value at a local peak position does not reach the sensing threshold of the passive capacitive pen, the touched object is not identified temporarily. If the sensing value at a local peak position is greater than the sensing threshold of the finger, the touched object can be directly identified as a finger. If the sensing value at a local peak position is within the preset range, there is a risk of misidentifying a finger as a passive capacitive pen. In this case, the method shown in this embodiment can be used to further identify the touched object, thereby improving the accuracy of the touched object identification.

[0073] In summary, the touch device in this application detects whether there is a touch object on the touchscreen. When a touch object is detected touching the touchscreen, the touch area corresponding to the touch object is determined, and the sensing volume of each sensing position in the touch area is acquired, thereby selecting a local peak position in the touch area. If the sensing volume of the local peak position is within a preset range, it means that it has not reached the recognition threshold of a finger but has exceeded the recognition threshold of a passive capacitive stylus. In this case, there is a risk of misidentifying a finger as a passive capacitive stylus. To reduce the above risk, the touch device can compare the sensing volume of the acquired local peak position with the sensing volume of at least one corresponding candidate position in multiple scan frames within a preset time period. The comparison result indicates whether the contact area between the touch object and the touch device has changed significantly within the preset time period. Based on the comparison result, the touch type of the touch object can be determined. The above solution, by acquiring the comparison results of the sensing volume of the local peak position with at least one candidate position in multiple scan frames, fully considers the difference in sensing volume generated by the touchscreen over a period of time in the case of finger touch and capacitive stylus touch, thus improving the accuracy of touch type recognition on the touchscreen.

[0074] Figure 10 This is a flowchart illustrating a touch recognition method according to an exemplary embodiment. The method is executed by a touch device. Figure 10 As shown, the touch recognition method may include the following steps:

[0075] Step S1001: When it is detected that a touch object touches the touch screen, determine the touch area corresponding to the touch object and the local peak position of the sensing quantity in the touch area.

[0076] For the specific implementation of this step, please refer to step S701, which will not be repeated here.

[0077] Step S1002: Obtain the average difference of sensing values ​​corresponding to multiple scan frames within a preset time period; the average difference of sensing values ​​corresponding to each scan frame is the average of the differences between the sensing values ​​at the local peak position and the sensing values ​​at the adjacent candidate positions within that scan frame.

[0078] In the touch device described in this application embodiment, the touch device can scan the touch components on the touch screen at a specified cycle to obtain the sensing amount at each sensing location. To determine the type of object touching the touch screen, it is necessary to continuously monitor the sensing amount in the touch area for a period of time after the object touches the touch screen. For example, multiple scan frames can be selected within a preset time period to determine the change in the sensing amount in the touch area over time. Optionally, the preset time period starts from the moment the object touches the touch screen.

[0079] In the embodiments of this application, in the first case, the candidate position is the sensing position that is adjacent to the peak position in the four directions of up, down, left and right, with the local peak position as the reference position.

[0080] Alternatively, since the vertical direction of the sensing quantity is the receiving electrode, it is easily affected by coaxial crosstalk signals in actual touch control, which may cause slight distortion of the vertical data when touched. Therefore, when selecting candidate positions, only the sensing positions in the horizontal direction can be compared with the local peak positions. That is, in the second case, the candidate positions are based on the local peak positions, and the sensing positions in the left and right directions that are adjacent to the local peak positions are selected, thereby improving the accuracy of subsequent recognition of the touch type of the touched object.

[0081] Taking the first case as an example, after the touch device obtains the sensing amount of each sensing position in a certain scanning frame, it can subtract the sensing amount of the local peak position from the sensing amount of the candidate positions adjacent to the local peak position in the upper, lower, left and right directions, thereby obtaining four sensing amount difference values. The average of the four sensing amount difference values ​​is the average sensing amount difference value corresponding to the scanning frame.

[0082] Taking the second case above as an example, after the touch device obtains the sensing quantity of each sensing position in a certain scanning frame, it can subtract the sensing quantity of the local peak position from the sensing quantity of the candidate positions adjacent to the local peak position, thereby obtaining two sensing quantity difference values. The average value of the two sensing quantity difference values ​​is the average sensing quantity difference value corresponding to the scanning frame.

[0083] Step S1003: Determine the touch type of the touch object based on the average difference of the sensing values ​​corresponding to multiple scan frames within a preset time period.

[0084] For example, if the number of scan frames with a mean difference in sensing values ​​greater than a first threshold is greater than a first quantity threshold, then the type of the touch object is determined to be a first type; or, if the number of scan frames with a mean difference in sensing values ​​greater than a first threshold is less than or equal to the first quantity threshold, then the type of the touch object is determined to be a second type.

[0085] In this embodiment, the first type can be a passive capacitive pen; the second type can be a finger. If the average difference in sensing values ​​is greater than a first threshold, it indicates a significant difference between the sensing value at a local peak position and the sensing values ​​at other candidate positions in the touch area. In this case, the sensing value of the touch area within the scan frame matches the sensing value characteristics of a passive capacitive pen. If, within a preset time period, there are scan frames with an average difference in sensing values ​​greater than a first threshold, the type of the touch object can be determined as a passive capacitive pen. If not, it indicates a change in the relationship between the sensing value at a local peak position and the sensing value at a candidate position within the preset time period, which may be caused by changes in the touch area during finger touch. Therefore, the type of the touch object is determined as finger touch. This scheme, by considering the identification results of the average difference in sensing values ​​corresponding to multiple scan frames within a preset time period, improves the accuracy of determining the type of touch object.

[0086] For example, if the average difference of the sensing values ​​corresponding to multiple scan frames within a preset time period is greater than the second threshold, the type of the touch object is determined to be the first type; or, if the average difference of the sensing values ​​corresponding to multiple scan frames within a preset time period is less than or equal to the second threshold, the type of the touch object is determined to be the second type.

[0087] When determining whether the touch object is a finger or a passive capacitive stylus, the overall situation of the average difference in sensing volume over a preset time period can also be used. Specifically, after obtaining the average difference in sensing volume for multiple selected scan frames within the preset time period, the average of these average differences is taken. Then, based on the relationship between the average of the average difference in sensing volume for multiple scan frames within the preset time period and a second threshold, the magnitude of the sensing volume at a local peak position and the sensing volume at a candidate position within the preset time period can be determined, thus identifying whether the touch object is a finger touch or a passive capacitive stylus touch. This solution considers the overall situation (i.e., the average value) of the average difference in sensing volume for multiple scan frames within a preset time period, thereby identifying the type of touch object and improving the accuracy of touch object type determination.

[0088] Figure 11 This diagram illustrates the sensing data of a finger touch and a passive capacitive stylus. For a passive capacitive stylus, if the tip is made of a fine and hard material, the contact area and projection area are relatively small, resulting in a more concentrated and fixed sensing intensity. However, in the case of a finger touch, due to the larger projection area, the sensing intensity radiating around the contact point between the finger and the touchscreen is relatively greater.

[0089] Suppose the threshold value for hand touch is set to 200, the threshold value for passive capacitive stylus touch is set to 120, and the mean difference threshold value is set to 100. For example... Figure 11As shown, the signals from both passive capacitive stylus touch and hand touch did not reach the sensing threshold of hand touch, but both reached the sensing threshold of passive capacitive stylus touch. In this case, the mean difference value can be used to determine the signal.

[0090] The average difference calculated by the sensing value of the passive pen (passive capacitive pen) is: ((161-25)+(161-26)+(161-29)+(161-23)) / 4=135.25>100, so it will be judged as a pen, and the recognition result is correct.

[0091] The average difference calculated from the finger sensing value is: ((178-102)+(178-110)+(178-99)+(178-87)) / 4=78.5<100, so it will be judged as a hand, and the recognition result is correct.

[0092] In reality, the difference in sensing intensity between passive capacitive pen touch and finger touch is essentially a difference in gradient. The adjacent gradient of the pen is larger, while the adjacent gradient of the hand is smaller. Therefore, a threshold can be set using a proportional method to improve the ability to distinguish between passive capacitive pen touch and finger touch, thereby improving the accuracy of identifying the type of touch object.

[0093] Figure 12 This is a flowchart illustrating a touch recognition method according to an exemplary embodiment. The method is executed by a touch device. Figure 12 As shown, the touch recognition method may include the following steps:

[0094] Step S1201: When it is detected that a touch object touches the touch screen, determine the touch area corresponding to the touch object and the local peak position of the sensing quantity in the touch area.

[0095] For the specific implementation of this step, please refer to step S701, which will not be repeated here.

[0096] Step S1202: Obtain the average ratio of sensing quantities corresponding to multiple scan frames within a preset time period; the average ratio of sensing quantities corresponding to each scan frame is the average of the ratios of the sensing quantity at a local peak position within that scan frame to the sensing quantity at an adjacent candidate position.

[0097] With Figure 10 The scheme in the illustrated embodiment is similar. At this time, the touch device can select multiple scanning frames within a preset time period. After obtaining the sensing amount of each sensing position in a certain scanning frame, the sensing amount of the local peak position can be divided by the sensing amount of the candidate positions adjacent to the local peak position in the upper, lower, left and right directions, respectively, so as to obtain four sensing amount ratios. The average of the four sensing amount ratios is the average sensing amount ratio corresponding to the scanning frame.

[0098] Taking the second case above as an example, after the touch device obtains the sensing quantity of each sensing position in a certain scanning frame, it can divide the sensing quantity of the local peak position by the sensing quantity of the candidate positions adjacent to the local peak position to the left and right, thereby obtaining two sensing quantity ratios. The average of the two sensing quantity ratios is the average sensing quantity ratio corresponding to the scanning frame.

[0099] Step S1203: Determine the touch type of the touch object based on the average ratio of the sensing quantities corresponding to multiple scan frames within a preset time period.

[0100] For example, if the number of scan frames with a sensor average ratio greater than a third threshold is greater than a second threshold, the type of the touch object is determined to be the first type; or, if the number of scan frames with a sensor average ratio greater than the third threshold is less than or equal to the second threshold, the type of the touch object is determined to be the second type.

[0101] In this embodiment, the first type can be a passive capacitive pen; the second type can be a finger. If the average ratio of sensing values ​​is greater than a first threshold, it indicates that the difference between the sensing value at the local peak position and the sensing value at other candidate positions in the touch area is large. In this case, the sensing value of the touch area within the scan frame conforms to the sensing value characteristics of a passive capacitive pen. If, within a preset time period, there is a scan frame with an average ratio of sensing values ​​greater than a second threshold corresponding to a value greater than the first threshold, the type of the touch object can be determined as a passive capacitive pen. If not, it indicates that the relationship between the sensing value at the local peak position and the sensing value at the candidate positions changes within the preset time period, which may be caused by changes in the touch area during finger touch. Therefore, the type of the touch object is determined as finger touch. By using this scheme to identify the type of touch object, the identification results of the average ratio of sensing values ​​corresponding to multiple scan frames within a preset time period are taken into account, thus improving the accuracy of the determination of the type of touch object.

[0102] For example, if the average value of the average ratio of the sensing amounts corresponding to multiple scan frames within a preset time period is greater than the fourth threshold, the type of the touch object is determined to be the first type; or, if the average value of the average ratio of the sensing amounts corresponding to multiple scan frames within a preset time period is less than or equal to the fourth threshold, the type of the touch object is determined to be the second type.

[0103] When determining whether the touch object is a finger or a passive capacitive stylus, the overall situation of the average ratio of sensing volume within a preset time period can also be used for judgment. That is, after obtaining the average ratio of sensing volume for multiple selected scan frames within the preset time period, the average ratio of sensing volume is taken. Then, based on the relationship between the average of the average ratios of sensing volume for multiple scan frames and a second threshold, the magnitude of the sensing volume at a local peak position and the sensing volume at a candidate position within the preset time period can be determined, thus confirming whether the touch object is a finger touch or a passive capacitive stylus touch. This scheme considers the overall situation (i.e., the average value) of the average ratio of sensing volume for multiple scan frames within a preset time period, thereby identifying the type of touch object and improving the accuracy of touch object type determination.

[0104] If the passive capacitive stylus has a relatively large tip, and it's necessary to select a set of multiple sensing positions in the touch area as local peak positions, then the average difference and ratio of sensing values ​​can still be calculated using the method described above. Figure 9 For example. Figure 9 The sensing position with a sensing value of 206 is called the first position, and the sensing position with a sensing value of 203 is called the second position. If the candidate positions are selected based on the local peak position and the sensing positions are adjacent to the local peak position in the left and right directions, then the candidate positions include the sensing position adjacent to the first position from the left, which is the sensing position with a sensing value of 18, and the sensing position adjacent to the second position from the right, which is the sensing position with a sensing value of 20.

[0105] The difference between the sensing value at the first position and the sensing value at the candidate position adjacent to the first position (i.e., the sensing position with a sensing value of 18) is calculated, and the difference between the sensing value at the second position and the sensing value at the candidate position adjacent to the second position (i.e., the sensing position with a sensing value of 20) is calculated, and the average difference is calculated as ((206-18)+(203-20)) / 2=185.5. Alternatively, the average ratio of sensing values ​​can also be calculated, which is ((206) / 18)+(203 / 20)) / 2=10.798.

[0106] By calculating the average difference or average ratio of sensing values ​​using the above-mentioned methods, the average difference or average ratio of sensing values ​​corresponding to multiple scan frames within a preset time period can be calculated, which can determine whether the object being touched is a finger or a passive capacitive pen with a relatively large pen tip.

[0107] Taking a local peak position that includes four closely adjacent sensing positions in a crisscross pattern as an example, the maximum sum of the sensing values ​​of the four sensing positions forming the crisscross pattern is (206+203+199+201). Therefore, as... Figure 9The sensing positions with a sensing value of 206, 203, 199, and 201 in the touch area shown together constitute the target area, which is the first position.

[0108] If the candidate positions are selected based on the local peak position, and the sensing positions are adjacent to the local peak position in the left and right directions, then the candidate positions include sensing positions with a sensing value of 18, 13, 20, and 15. After obtaining the local peak position and candidate positions, the calculation method for the average difference or ratio of sensing values ​​is similar to that in the above embodiments, and will not be repeated here. In this embodiment, the above scheme takes into account the characteristics of the sensing value of a passive capacitive stylus with a large tip on the touch screen, thus improving the recognition accuracy of the passive capacitive stylus with a large tip.

[0109] In summary, the touch device in this application detects whether there is a touch object on the touchscreen. When a touch object is detected touching the touchscreen, the touch area corresponding to the touch object is determined, and the sensing volume of each sensing position in the touch area is acquired, thereby selecting a local peak position in the touch area. If the sensing volume of the local peak position is within a preset range, it means that it has not reached the recognition threshold of a finger but has exceeded the recognition threshold of a passive capacitive stylus. In this case, there is a risk of misidentifying a finger as a passive capacitive stylus. To reduce the above risk, the touch device can compare the sensing volume of the acquired local peak position with the sensing volume of at least one corresponding candidate position in multiple scan frames within a preset time period. The comparison result indicates whether the contact area between the touch object and the touch device has changed significantly within the preset time period. Based on the comparison result, the touch type of the touch object can be determined. The above solution, by acquiring the comparison results of the sensing volume of the local peak position with at least one candidate position in multiple scan frames, fully considers the difference in sensing volume generated by the touchscreen over a period of time in the case of finger touch and capacitive stylus touch, thus improving the accuracy of touch type recognition on the touchscreen.

[0110] This application also provides a touch recognition device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0111] This application provides a touch recognition device, such as... Figure 13 As shown, the device includes:

[0112] The touch detection module 1301 is used to determine the touch area corresponding to the touch object and the local peak position of the sensed amount in the touch area when the touch object is detected to touch the touch screen.

[0113] The type identification module 1302 is used to compare the sensing amount of the local peak position obtained within a preset time period with the sensing amount of at least one corresponding candidate position if the sensing amount of the local peak position is within a preset range, and determine the touch type of the touch object according to the comparison result; the candidate position is the sensing position in the touch area other than the local peak position.

[0114] In an optional implementation, the touch detection module 1301 is further configured to divide the touch area into candidate areas; each candidate area includes at least two closely adjacent sensing positions; and to determine the local peak position as the at least two closely adjacent sensing positions in the candidate area with the largest sum of sensing values.

[0115] In one optional implementation, the candidate position is a sensing position selected from the four directions of up, down, left, and right that are adjacent to the local peak position, with the local peak position as the reference position; or, the candidate position is a sensing position selected from the two directions of left and right that are adjacent to the local peak position, with the local peak position as the reference position.

[0116] In an optional implementation, the type identification module 1302 is further configured to obtain the average difference value of the sensing quantity corresponding to multiple scan frames within a preset time period; the average difference value of the sensing quantity corresponding to each scan frame is the average value of the difference between the sensing quantity at the local peak position and the sensing quantity at the adjacent candidate position within the scan frame; and the touch type of the touch object is determined based on the average difference value of the sensing quantity corresponding to multiple scan frames within the preset time period.

[0117] In an optional implementation, the type identification module 1302 is further configured to determine the type of the touch object as a first type if the number of scan frames with a mean difference in sensing values ​​greater than a first threshold is greater than a first quantity threshold; or, if the number of scan frames with a mean difference in sensing values ​​greater than a first threshold is less than or equal to the first quantity threshold, determine the type of the touch object as a second type.

[0118] In an optional implementation, the type identification module 1302 is further configured to determine the type of the touch object as a first type if the average difference of the sensing values ​​corresponding to the multiple scan frames within the preset time period is greater than a second threshold; or, if the average difference of the sensing values ​​corresponding to the multiple scan frames within the preset time period is less than or equal to the second threshold, determine the type of the touch object as a second type.

[0119] In an optional implementation, the type identification module 1302 is further configured to obtain the average ratio of sensing quantities corresponding to multiple scan frames within a preset time period; the average ratio of sensing quantities corresponding to each scan frame is the average of the ratios of the sensing quantity at the local peak position within the scan frame to the sensing quantity at the adjacent candidate position; and the touch type of the touch object is determined based on the average ratio of sensing quantities corresponding to multiple scan frames within the preset time period.

[0120] In an optional implementation, the type identification module 1302 is further configured to determine the type of the touch object as a first type if the number of scan frames with a sensing average ratio greater than a third threshold is greater than a second quantity threshold; or, if the number of scan frames with a sensing average ratio greater than the third threshold is less than or equal to the second quantity threshold, determine the type of the touch object as a second type.

[0121] In one optional implementation, the type identification module 1302 determines the type of the touch object as a first type if the average value of the average ratio of the sensing amounts corresponding to multiple scan frames within the preset time period is greater than a fourth threshold; or, if the average value of the average ratio of the sensing amounts corresponding to multiple scan frames within the preset time period is less than or equal to the fourth threshold, determines the type of the touch object as a second type.

[0122] Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.

[0123] In this embodiment, the touch recognition device is presented in the form of a functional unit. Here, a unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.

[0124] This invention also provides a touch device having the above-described features. Figure 13 The touch recognition device shown.

[0125] Please see Figure 14 , Figure 14 This is a schematic diagram of the structure of a touch device provided in an embodiment of the present invention, such as... Figure 14As shown, the touch device includes a touchscreen and a controller, which are communicatively connected. The controller includes one or more processors 10, a memory 20, and interfaces for connecting the components, including high-speed and low-speed interfaces. The components are interconnected via different buses and can be mounted on a common motherboard or otherwise as required. The processor can process instructions executed within the touch device, including instructions stored in or on memory to display graphical information in a graphical user interface on an external input / output device (such as a display device coupled to the interface). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple touch devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 14 Take a processor 10 as an example.

[0126] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.

[0127] The memory 20 stores instructions executable by at least one processor 10 to cause the at least one processor 10 to perform the method shown in the above embodiments.

[0128] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the touch device. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, and these remote memories may be connected to the touch device via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0129] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.

[0130] The touch device also includes a communication interface 30 for communicating with other devices or communication networks.

[0131] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.

[0132] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.

[0133] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and all such modifications and variations fall within the scope defined by the appended claims.

Claims

1. A touch recognition method, characterized in that, Applied to a touch device, the touch device including a touchscreen, the method includes: When a touch object is detected touching the touch screen, the touch area corresponding to the touch object and the local peak position of the sensing amount in the touch area are determined; If the sensing amount at the local peak position is within a preset range, the sensing amount at the local peak position obtained within a preset time period is compared with the sensing amount at at least one corresponding candidate position, and the touch type of the touch object is determined based on the comparison result; the candidate position is the sensing position in the touch area other than the local peak position.

2. The method according to claim 1, characterized in that, Determining the location of the local peak value with the highest sensing amount in the touch area includes: The touch area is divided into candidate areas; each candidate area includes at least two closely adjacent sensing positions; The local peak location is determined by identifying at least two closely adjacent sensing locations in the candidate region where the sum of sensing values ​​is the largest.

3. The method according to claim 1, characterized in that, The candidate positions are selected from the four sensing positions that are adjacent to the local peak position in the four directions of up, down, left, and right, with the local peak position as the reference position. Alternatively, the candidate position can be a sensing position that is adjacent to the local peak position in the left and right directions, with the local peak position as the reference position.

4. The method according to any one of claims 1 to 3, characterized in that, The step of comparing the sensing data at local peak locations acquired within a preset time period with the sensing data at at least one corresponding candidate location, and determining the touch type of the touch object based on the comparison result, includes: Obtain the average difference of sensing values ​​corresponding to multiple scan frames within a preset time period; the average difference of sensing values ​​corresponding to each scan frame is the average of the differences between the sensing value at the local peak position and the sensing value at the adjacent candidate position within the scan frame. The touch type of the touch object is determined based on the average difference in sensing values ​​corresponding to multiple scan frames within the preset time period.

5. The method according to claim 4, characterized in that, The step of determining the touch type of the touch object based on the average difference of the sensing values ​​corresponding to multiple scan frames within the preset time period includes: If the number of scan frames with a mean difference in sensing values ​​greater than a first threshold is greater than a first quantity threshold, then the type of the touch object is determined to be the first type; Alternatively, if the number of scan frames with a difference in sensing values ​​greater than the first threshold is less than or equal to the number threshold, then the type of the touch object is determined to be the second type.

6. The method according to claim 4, characterized in that, The step of determining the touch type of the touch object based on the average difference of the sensing values ​​corresponding to multiple scan frames within the preset time period includes: If the average value of the average difference of the sensing amount corresponding to multiple scan frames within the preset time period is greater than the second threshold, then the type of the touch object is determined to be the first type; Alternatively, if the average difference of the sensing values ​​corresponding to multiple scan frames within the preset time period is less than or equal to the second threshold, then the type of the touch object is determined to be the second type.

7. The method according to any one of claims 1 to 3, characterized in that, The step of comparing the sensing data at local peak locations acquired within a preset time period with the sensing data at at least one corresponding candidate location, and determining the touch type of the touch object based on the comparison result, includes: Obtain the average ratio of sensing values ​​corresponding to multiple scan frames within a preset time period; the average ratio of sensing values ​​corresponding to each scan frame is the average of the ratios of the sensing value at the local peak position within the scan frame to the sensing value at the adjacent candidate position. The touch type of the touch object is determined based on the average ratio of the sensing quantities corresponding to multiple scan frames within the preset time period.

8. The method according to claim 7, characterized in that, The step of determining the touch type of the touch object based on the average ratio of the sensing amounts corresponding to multiple scan frames within the preset time period includes: If the number of scan frames with a sensing ratio greater than the third threshold is greater than the second threshold, then the type of the touch object is determined to be the first type; Alternatively, if the number of scan frames with a sensing ratio greater than the third threshold is less than or equal to the second threshold, then the type of the touch object is determined to be the second type.

9. The method according to claim 7, characterized in that, The step of determining the touch type of the touch object based on the average ratio of the sensing amounts corresponding to multiple scan frames within the preset time period includes: If the average value of the average ratio of the sensing amounts corresponding to multiple scan frames within the preset time period is greater than the fourth threshold, then the type of the touch object is determined to be the first type. Alternatively, if the average value of the average ratio of the sensing quantities corresponding to multiple scan frames within the preset time period is less than or equal to the fourth threshold, then the type of the touch object is determined to be the second type.

10. A touch recognition device, characterized in that, Applied to a touch device, the touch device including a touch screen; the device includes: The touch detection module is used to determine the touch area corresponding to the touch object and the location of the local peak value with the largest sensing amount in the touch area when the touch object is detected to touch the touch screen. The type identification module is used to compare the sensing amount of the local peak position obtained within a preset time period with the sensing amount of at least one corresponding candidate position if the sensing amount of the local peak position is within a preset range, and determine the touch type of the touch object based on the comparison result; the candidate position is the sensing position in the touch area other than the local peak position.

11. A touch device, characterized in that, The touch device includes a touch screen and a controller; the touch screen and the controller are communicatively connected to each other. The controller includes: A memory and a processor are communicatively connected, the memory stores computer instructions, and the processor executes the computer instructions to perform the touch recognition method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the touch recognition method according to any one of claims 1 to 9.

13. A computer program product, characterized in that, Includes computer instructions for causing a computer to perform the touch recognition method according to any one of claims 1 to 9.