Touch event reporting method and device, equipment and storage medium

By dividing the application interface into multiple interface control areas and determining the touch coordinates based on the node capacitive signal and touch optimization strategy, the ghost point problem caused by misjudgment of water traces by capacitive touch screen is solved, and the accuracy of touch coordinates is improved.

CN120215736APending Publication Date: 2025-06-27GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311817255.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-26
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

Capacitive touch screens are sensitive to conductors and are prone to misjudging conductors other than fingers, such as water, as fingers, resulting in ghost points and reducing the accuracy of touch coordinate reporting.

Method used

By dividing the application interface into multiple different interface control areas, the target touch coordinates are determined according to the node capacitance signals in the target interface control area and the corresponding touch optimization strategies, and the touch events generated by the target touch operation are reported.

Benefits of technology

The interference caused by water trace touch during touch determination is optimized, and the accuracy of touch coordinates is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120215736A_ABST
    Figure CN120215736A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a touch event reporting method and device, equipment and a storage medium, and belongs to the technical field of touch. The method comprises the steps that in response to a target touch operation in a current application interface, a target interface control area corresponding to the target touch operation is determined, the application interface comprises at least two interface control areas, and different interface control areas are used for responding to different types of touch operations; target touch coordinates corresponding to the target touch operation are determined on the basis of node capacitance signals in the target interface control areas and touch optimization strategies corresponding to the target interface control areas, and different interface control areas correspond to different touch optimization strategies; and reporting a touch event generated by the target touch operation based on the target touch coordinate. By adopting the scheme provided by the embodiment of the invention, the accuracy of reporting the touch coordinates can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of touch technology, and particularly to a method, device, equipment and storage medium for reporting touch events. Background Art

[0002] With the continuous development of software and hardware technologies, various touch technologies have emerged. Among them, a capacitive touch screen identifies and determines the touch position according to the numerical value of the change in the coupling capacitance between the TX (Transmit) electrode and the RX (Receive) electrode.

[0003] Since the capacitive touch screen is sensitive to conductors, when a conductor other than a finger, such as water, touches it, the capacitive touch screen is likely to misjudge it as a finger, resulting in ghost points, thereby reducing the accuracy of reporting touch coordinates. Summary of the Invention

[0004] The embodiments of the present application provide a method, device, equipment and storage medium for reporting touch events. The technical solutions are as follows:

[0005] On the one hand, the embodiments of the present application provide a method for reporting touch events. The method is used for a capacitive touch device, and the method includes:

[0006] In response to a target touch operation in the current application interface, determining a target interface manipulation area corresponding to the target touch operation, where the application interface includes at least two interface manipulation areas, and different interface manipulation areas are used to respond to different types of touch operations;

[0007] Based on the node capacitance signal in the target interface manipulation area and the touch optimization strategy corresponding to the target interface manipulation area, determining a target touch coordinate corresponding to the target touch operation, where different interface manipulation areas correspond to different touch optimization strategies;

[0008] Reporting the touch event generated by the target touch operation based on the target touch coordinate.

[0009] On the other hand, the embodiments of the present application provide a device for reporting touch events. The device includes:

[0010] An area determination module, configured to determine a target interface manipulation area corresponding to the target touch operation in response to a target touch operation in the current application interface, where the application interface includes at least two interface manipulation areas, and different interface manipulation areas are used to respond to different types of touch operations;

[0011] A coordinate determination module, configured to determine a target touch coordinate corresponding to the target touch operation based on a node capacitance signal within the target interface manipulation area and a touch optimization strategy corresponding to the target interface manipulation area, where different interface manipulation areas correspond to different touch optimization strategies;

[0012] An event reporting module, configured to report a touch event generated by the target touch operation based on the target touch coordinate.

[0013] On the other hand, an embodiment of the present application provides a capacitive touch module, where the capacitive touch module includes a capacitive touch screen and a touch IC (Integrated Circuit), and the touch IC is configured to implement the touch event reporting method as described in the above aspect.

[0014] On the other hand, an embodiment of the present application provides a capacitive touch device, where the capacitive touch device is provided with the capacitive touch module as described in the above aspect.

[0015] On the other hand, an embodiment of the present application provides a computer-readable storage medium, where the storage medium stores at least one program code, and the at least one program code is used to be executed by the touch IC to implement the touch event reporting method as described in the above aspect.

[0016] On the other hand, an embodiment of the present application provides a computer program product, which includes computer instructions stored in a computer-readable storage medium. The touch IC reads the computer instructions from the computer-readable storage medium, and the touch IC executes the computer instructions to implement the touch event reporting method as provided in the above aspect.

[0017] In the embodiment of the present application, by dividing the application interface into multiple different interface manipulation areas, and different interface manipulation areas are used to respond to different types of touch operations. Therefore, in response to a target touch operation within the current application interface, it is possible to first determine the target interface manipulation area corresponding to the target touch operation, and then determine the target touch coordinate corresponding to the target touch operation according to the node capacitance signal within the target interface manipulation area and the corresponding touch optimization strategy. Furthermore, according to the target touch coordinate, the touch event generated by the target touch operation is reported. By using the method provided in the embodiment of the present application, the touch coordinate interference existing in the process of determining the touch coordinate is reduced by determining the target touch coordinate according to the touch optimization strategy corresponding to the target interface manipulation area, and the accuracy of the touch coordinate is improved. Description of the Drawings

[0018] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the accompanying drawings required for the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can be obtained based on these drawings.

[0019] Figure 1 Shows a flowchart of a touch event reporting method provided by an exemplary embodiment of the present application;

[0020] Figure 2 Shows a schematic diagram of the division of an interface control area provided by an exemplary embodiment of the present application;

[0021] Figure 3 Shows a schematic diagram of the node capacitance signal in the first interface control area provided by an exemplary embodiment of the present application;

[0022] Figure 4 Shows a schematic diagram of area merging processing provided by an exemplary embodiment of the present application;

[0023] Figure 5 Shows a schematic diagram of the response to a click operation on a non-edge control in the second interface control area provided by an exemplary embodiment of the present application;

[0024] Figure 6 Shows a schematic diagram of the node capacitance signal in the second interface control area provided by an exemplary embodiment of the present application;

[0025] Figure 7 Shows a schematic diagram of the coordinate change curve corresponding to a linear sliding operation provided by an exemplary embodiment of the present application;

[0026] Figure 8 Shows a schematic diagram of the response to a click operation on an edge control in the fourth interface control area provided by an exemplary embodiment of the present application;

[0027] Figure 9 Shows a schematic diagram of the node capacitance signal in the fourth interface control area provided by an exemplary embodiment of the present application;

[0028] Figure 10 Shows a flowchart of a touch event reporting method provided by another exemplary embodiment of the present application;

[0029] Figure 11 Shows a structural block diagram of a touch event reporting device provided by an exemplary embodiment of the present application;

[0030] Figure 12 Shows a schematic structural diagram of a capacitive touch module provided by an exemplary embodiment of the present application;

[0031] Figure 13 The block diagram of the structure of a capacitive touch device provided by an exemplary embodiment of the present application is shown. Detailed implementation manners

[0032] To make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.

[0033] To make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.

[0034] As used herein, "a plurality of" means two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after.

[0035] The capacitive touch screen can identify and determine the touch position by detecting the change in the coupling capacitance, that is, the change in the coupling capacitance between the TX electrode and the RX electrode, so as to report the touch coordinates for the touch event. However, since the capacitive touch screen is sensitive to conductors, when a conductor other than a finger, such as water, touches it, the capacitive touch screen is likely to misjudge it as a finger, resulting in ghost points, thereby reducing the accuracy of reporting the touch coordinates.

[0036] Therefore, in order to improve the touch recognition accuracy of the capacitive touch device in the water state, in the solution provided by the embodiment of the present application, the application interface is divided into a plurality of different interface control regions, and then by determining the target interface control region corresponding to the target touch operation, and according to the node capacitance signal in the target interface control region and the corresponding touch optimization strategy, the target touch coordinates are determined, optimizing the touch coordinate interference caused by water trace touch in the touch coordinate determination process and improving the accuracy of the touch coordinates.

[0037] The solution provided by the embodiment of the present application can be applied to an electronic device with a capacitive touch screen, and the electronic device can be a smart phone, a tablet computer, a wearable device, a display, a portable computer or a game console, etc. For the convenience of description, in the following embodiments, the method is described by taking the application to a capacitive touch device as an example.

[0038] Please refer to Figure 1 , which shows the flowchart of a touch event reporting method provided by an exemplary embodiment of the present application. This method is used for a capacitive touch device, and this method may include the following steps:

[0039] Step 101, in response to a target touch operation within the current application interface, determine a target interface control area corresponding to the target touch operation. The application interface includes at least two interface control areas, and different interface control areas are used to respond to different types of touch operations.

[0040] There is a node capacitance at each intersection of two sets of electrodes that are vertically intersecting on a capacitive touch screen. The node capacitances at all intersections can form a node capacitance array. In this node capacitance array, the node capacitance signal of each node capacitance is a mutual capacitance signal, and the node capacitance signal is used to describe the capacitance magnitude of the node capacitance.

[0041] In some embodiments, the capacitive touch screen scans the node capacitances at a certain touch sampling rate, such as 480 Hz. Each time the node capacitances are scanned, the node capacitance signals of each node capacitance on the capacitive touch screen are obtained. Thus, the capacitive touch device can determine the touch area corresponding to the touch operation according to the signal change of the node capacitance signal caused by the touch operation.

[0042] Optionally, multiple different types of controls are usually set in different control areas in the application interface, and different types of controls are used to respond to different types of touch operations. Therefore, in the embodiments of the present application, in order to implement different coordinate optimization schemes for different types of touch operations, the application interface is divided into multiple interface control areas according to the operation type responded by the control area, and different interface control areas are used to respond to different types of touch operations.

[0043] For example, in a game interface, there are usually a roulette control area, a skill release area, a field of view switching area, etc. Among them, in the roulette control area, by responding to the continuous sliding operation of the player on the roulette, the virtual object is controlled to move within the virtual scene; in the skill release area, by responding to the click operation of the player on the skill control, the virtual object is controlled to release skills; in the field of view switching area, by responding to the linear sliding operation of the player, the virtual object is controlled to switch the field of view.

[0044] In some embodiments, when receiving the target touch operation of the user within the current application interface, the capacitive touch device first determines the target interface control area corresponding to the target touch operation according to the area division result corresponding to the current application interface and the touch area corresponding to the target touch operation.

[0045] In a possible implementation manner, the capacitive touch device can determine the target interface control area corresponding to the target touch operation according to the coordinate range corresponding to each interface control area and the area range of the touch area corresponding to the target touch operation.

[0046] Step 102: Determine the target touch coordinate corresponding to the target touch operation based on the node capacitance signal within the target interface manipulation area and the touch optimization strategy corresponding to the target interface manipulation area, where different interface manipulation areas correspond to different touch optimization strategies.

[0047] In some embodiments, in the presence of water trace touch interference, in order to improve the accuracy of touch coordinate determination, a capacitive touch device may adopt a touch optimization strategy to optimize the touch coordinate interference caused by water trace touch. Considering that different interface manipulation areas are used to respond to different types of touch operations, water trace touch may cause touch coordinate interference in different ways or degrees for different types of touch operations. Therefore, in order to further improve the accuracy of touch coordinates, different touch optimization strategies may be set for different types of touch operations, that is, different interface manipulation areas correspond to different touch optimization strategies.

[0048] In some embodiments, after determining the target interface manipulation area corresponding to the target touch operation, the capacitive touch device can, based on the node capacitance signal within the target interface manipulation area and the touch optimization strategy corresponding to the target interface manipulation area, optimize through the touch optimization strategy during the process of determining the touch coordinate based on the node capacitance signal, so as to determine the target touch coordinate corresponding to the target touch operation.

[0049] In some embodiments, considering that in the embodiments of the present application, the touch coordinate determination process is optimized to address the touch coordinate interference caused by water trace touch, in order to avoid increasing the difficulty of touch coordinate confirmation in the absence of water trace touch, before determining the target touch coordinate based on the touch optimization strategy, the capacitive touch device can first determine the current state of the capacitive touch screen and, when there is water trace in the capacitive touch screen, then determine the target touch coordinate according to the touch optimization strategy.

[0050] In a possible implementation manner, since when there is water trace on the capacitive touch screen, the mutual capacitance signal (i.e., the node capacitance signal) and the self-capacitance signal have inconsistent conclusions on whether there is a touch operation object on the capacitive touch screen, when the capacitive touch device determines that there is a suspected touch point based on the mutual capacitance signal and determines that there is no suspected touch point based on the self-capacitance signal, or when it determines that there is no suspected touch point based on the mutual capacitance signal and determines that there is a suspected touch point based on the self-capacitance signal, it can determine that there is water trace in the current capacitive touch screen; when it determines that there is a suspected touch point based on the mutual capacitance signal and determines that there is a suspected touch point based on the self-capacitance signal, or when it determines that there is no suspected touch point based on the mutual capacitance signal and determines that there is no suspected touch point based on the self-capacitance signal, it can determine that there is no water trace in the current capacitive touch screen.

[0051] It should be noted that the method for determining whether there is water stain on the current screen is not limited to the method based on the node capacitance signal and the node self-capacitance signal of each node. The embodiments of the present application do not limit the method for determining whether there is water stain on the current screen.

[0052] Step 103: Report the touch event generated by the target touch operation based on the target touch coordinates.

[0053] In some embodiments, after determining the target touch coordinates corresponding to the target touch operation, the capacitive touch device can further report the touch event generated by the target touch operation according to the target touch coordinates.

[0054] In summary, in the embodiments of the present application, by dividing the application interface into multiple different interface control regions, and different interface control regions are used to respond to different types of touch operations. Thus, in response to the target touch operation in the current application interface, the target interface control region corresponding to the target touch operation can be determined first, and then according to the node capacitance signal and the corresponding touch optimization strategy in the target interface control region, the target touch coordinates corresponding to the target touch operation can be determined. Furthermore, according to the target touch coordinates, the touch event generated by the target touch operation is reported. By using the method provided in the embodiments of the present application, the target touch coordinates are determined according to the touch optimization strategy corresponding to the target interface control region, which optimizes the interference of the touch coordinates caused by water stain touch in the process of determining the touch coordinates and improves the accuracy of the touch coordinates.

[0055] In some embodiments, in order to improve the optimization efficiency of the touch coordinates, the capacitive touch device first needs to determine the touch optimization strategy applicable to the target touch operation, that is, it is necessary to improve the accuracy of determining the target interface control region.

[0056] In some embodiments, the capacitive touch device can first determine the approximate touch region corresponding to the target touch operation according to the signal change of the node capacitance signal caused by the target touch operation in the capacitive touch screen, and then determine the target interface control region corresponding to the target touch operation according to the coordinate ranges of different interface control regions in the application interface.

[0057] Optionally, the method for obtaining the coordinate ranges corresponding to different interface control regions can be obtained by performing interface recognition on the current application interface, or can be pre-determined by the application to which the current application interface belongs according to the arrangement of interface controls.

[0058] In some embodiments, according to whether the application allows the capacitive touch device to directly obtain the area division information, the applications can be divided into registered applications and unregistered applications. Thus, the capacitive touch device can determine whether the current application is a registered application by obtaining the application package name corresponding to the application. Furthermore, when the current application is a registered application, the capacitive touch device can determine the coordinate ranges corresponding to different interface manipulation areas by directly obtaining the area division information; when the current application is an unregistered application, the capacitive touch device needs to obtain the area division information by means of interface recognition.

[0059] In a possible implementation manner, when the current application belongs to a registered application, in response to a target touch operation of the user within the current application interface, the capacitive touch device can directly obtain the interface manipulation area division information corresponding to the current application interface. The interface manipulation area division information includes the coordinate ranges of different interface manipulation areas. Furthermore, based on the interface manipulation area division information, the capacitive touch device can determine the target interface manipulation area corresponding to the target touch operation.

[0060] In a possible implementation manner, when the current application does not belong to a registered application, in response to a target touch operation of the user within the current application interface, the capacitive touch device can perform interface recognition on the current application interface to obtain the interface area recognition result corresponding to the current application interface. The interface area recognition result includes the coordinate ranges of different interface manipulation areas. Furthermore, based on the interface area recognition result, the capacitive touch device can determine the target interface manipulation area corresponding to the target touch operation.

[0061] In the above embodiments, according to whether the application allows obtaining the area division information, the applications are divided into registered applications and unregistered applications. Thus, when the current application belongs to a registered application, the coordinate ranges of different interface manipulation areas are determined by directly obtaining the interface manipulation area division information; when the current application does not belong to a registered application, the coordinate ranges of different interface manipulation areas are obtained by means of interface recognition, thereby ensuring the determination of the coordinate ranges corresponding to each interface manipulation area and improving the efficiency of determining the target interface manipulation area.

[0062] In some embodiments, considering that the process of determining the target touch coordinates based on the target touch operation can basically be divided into two parts. One is to determine the target touch area according to the target touch operation, and the other is to determine the target touch coordinates according to the target touch area. Therefore, in order to improve the accuracy of the touch coordinates, the capacitive touch device adopts a touch optimization strategy to optimize the above two parts.

[0063] In some embodiments, to improve the accuracy of determining the target touch coordinates, a capacitive touch device may first determine a candidate touch area, then optimize the candidate touch area to obtain the target touch area, and then determine the target touch coordinates through the centroid coordinate algorithm, that is, the touch optimization strategy acts in the process of determining the target touch area.

[0064] In a possible implementation manner, after determining the target interface manipulation area, the capacitive touch device may determine a candidate touch area corresponding to the target touch operation according to the node capacitance signals within the target interface manipulation area, and then optimize the candidate touch area according to the touch optimization strategy corresponding to the target interface manipulation area, so as to obtain the target touch area, and then determine the target touch coordinates through the centroid coordinate algorithm according to the node capacitance signals within the target touch area.

[0065] In some other embodiments, to improve the accuracy of determining the target touch coordinates, the capacitive touch device may first determine candidate touch coordinates according to the node capacitance signals and the centroid coordinate algorithm, and then optimize the candidate touch coordinates to obtain the target touch coordinates, that is, the touch optimization strategy acts in the process of determining the target touch coordinates.

[0066] In a possible implementation manner, after determining the target interface manipulation area, the capacitive touch device can determine candidate touch coordinates by determining the touch area and using the centroid coordinate algorithm according to the node capacitance signals within the target interface manipulation area, and then optimize the candidate touch coordinates according to the touch optimization strategy corresponding to the target interface touch area to obtain the target touch coordinates.

[0067] Optionally, considering that water trace touch may cause different ways or degrees of touch coordinate interference to different types of touch operations, the capacitive touch device also needs to determine a touch optimization strategy applicable to the current touch operation type according to different interface manipulation areas.

[0068] In some embodiments, according to the touch operation types responded by the interface manipulation areas, the interface manipulation areas can be divided into a first interface manipulation area, a second interface manipulation area, a third interface manipulation area, and a fourth interface manipulation area. Among them, the first interface manipulation area is used to respond to continuous sliding operations, such as the roulette manipulation area in a game manipulation interface; the second interface manipulation area is used to respond to click operations on non-edge controls, such as the skill release area in a game manipulation interface; the third interface manipulation area is used to respond to linear sliding operations, such as the field-of-view switching area in a game manipulation interface; the fourth interface manipulation area is used to respond to click operations on edge controls, such as the edge control area in a game manipulation interface.

[0069] Schematically, as Figure 2As shown, when the current application interface is a game control interface, the first interface control area for responding to a continuous sliding operation can be the roulette control area 201, the second interface control area for responding to a click operation on a non-edge control can be the skill release area 202, the third interface control area for responding to a linear sliding operation can be the field-of-view switching area 203, and the fourth interface control area for responding to a click operation on an edge control can be the edge control area 204.

[0070] In the above embodiment, according to the fact that water trace touch may cause different ways or degrees of touch coordinate interference to different types of touch operations, the interface control area is divided into four different types, and the ways of applying touch optimization strategies are divided into two types. One is to optimize the touch area, and the other is to optimize the touch coordinates, so as to adopt different touch optimization strategies for different interface control areas, and improve the accuracy of determining touch coordinates in different interface control areas.

[0071] In some embodiments, when it is determined that the target touch operation is located in the first interface control area, that is, the target touch operation is a continuous sliding operation, considering that during the continuous sliding operation, the user's finger is prone to sweating, resulting in ghost point signals caused by water trace touch easily appearing around the touch area, thus reducing the accuracy of touch area determination. Therefore, for the first interface control area, the capacitive touch device can adopt a way of optimizing the touch area to determine the target touch coordinates.

[0072] In a possible implementation manner, the capacitive touch device can determine the candidate touch area corresponding to the target touch operation and the ghost point signal area caused by water trace touch according to the node capacitance signals in the first interface control area. And considering that the ghost point signal area is actually still generated by the target touch operation, when the node capacitance signals in the candidate touch area and the ghost point signal area meet the first area merging condition, the capacitive touch device can merge the candidate touch area and the ghost point signal area to obtain the target touch area. Optionally, the number of node capacitance signals in the ghost point signal area is less than the number threshold and is independent of other touch areas.

[0073] It should be noted that in the embodiments of the present application, the first area merging condition is different from the second area merging condition corresponding to other interface control areas outside the first interface control area. That is, in other interface control areas except the first interface control area, even if the node capacitance signals in the candidate touch area and the ghost point signal area meet the first area merging condition, the capacitive touch device will not perform a merging process on the candidate touch area and the ghost point signal area.

[0074] Schematically, such as Figure 3As shown, the capacitive touch device can determine a candidate touch area 301 corresponding to a target touch operation and a ghost point signal area 302 caused by water trace touch according to the node capacitance signals in the first interface manipulation area, and then determine whether to merge the candidate touch area 301 and the ghost point signal area 302 by determining whether the node capacitance signals in the candidate touch area 301 and the ghost point signal area 302 meet the first area merging condition.

[0075] Optionally, the method for determining whether the first area merging condition is met can be to respectively determine the maximum value signal of the node capacitance signals in the candidate touch area, the maximum value signal of the node capacitance signals in the ghost point signal area, and the node capacitance signals in the intermediate signal area located between the candidate touch area and the ghost point signal area; or it can be based on the signal mean value of the maximum value signals in the candidate touch area and the ghost point signal area, and the node capacitance signals in the intermediate signal area located between the candidate touch area and the ghost point signal area; or it can be other possible methods for judging the area merging condition, which are not limited in the embodiments of the present application.

[0076] In a possible implementation manner, the capacitive touch device can first determine the first maximum value signal in the candidate touch area and the second maximum value signal in the ghost point signal area respectively according to the node capacitance signals in the candidate touch area and the ghost point signal area, and determine the intermediate signal area located between the candidate touch area and the ghost point signal area, and the first signal value mean of the node capacitance signals in the intermediate signal area, so as to judge whether the node capacitance signals in the candidate touch area and the ghost point signal area meet the first area merging condition by comparing the first maximum value signal, the second maximum value signal and the first signal value mean.

[0077] Optionally, when the signal value difference between the first maximum value signal and the first signal value mean is not greater than the first area merging threshold, and the signal value difference between the second maximum value signal and the first signal value mean is not greater than the first area merging threshold, the capacitive touch device can determine that the node capacitance signals in the candidate touch area and the ghost point signal area meet the first area merging condition, and thus merge the candidate touch area and the ghost point signal area to obtain the target touch area.

[0078] Optionally, when the signal value difference between the first maximum value signal and the first signal value mean is greater than the first area merging threshold, and / or the signal value difference between the second maximum value signal and the first signal value mean is greater than the first area merging threshold, the capacitive touch device determines that the node capacitance signals in the candidate touch area and the ghost point signal area do not meet the first area merging condition, and thus directly determines the candidate touch area as the target touch area.

[0079] Among them, the first region merging threshold is smaller than the region merging thresholds in other interface control regions outside the first interface control region, so that in other interface control regions outside the first interface control region, even if the signal value differences between the first maximum signal, the second maximum signal and the first signal value average are all not greater than the first region merging threshold, the capacitive touch device will not perform merging processing on the candidate touch region and the ghost point signal region.

[0080] In another possible implementation manner, the capacitive touch device may first determine the first maximum signal in the candidate touch region and the second maximum signal in the ghost point signal region respectively according to the node capacitance signals in the candidate touch region and the ghost point signal region, so as to calculate the second signal value average between the candidate touch region and the ghost point signal region. At the same time, according to the node capacitance signals in the intermediate signal region located between the candidate touch region and the ghost point signal region, determine the first signal value average corresponding to the intermediate signal region, and then judge whether the node capacitance signals in the candidate touch region and the ghost point signal region meet the first region merging condition by comparing the first signal value average and the second signal value average.

[0081] Optionally, when the average difference between the first signal value average and the second signal value average is not greater than the second region merging threshold, the capacitive touch device can determine that the node capacitance signals in the candidate touch region and the ghost point signal region meet the first region merging condition, and thus perform region merging on the candidate touch region and the ghost point signal region to obtain the target touch region.

[0082] Optionally, when the average difference between the first signal value average and the second signal value average is greater than the second region merging threshold, the capacitive touch device determines that the node capacitance signals in the candidate touch region and the ghost point signal region do not meet the first region merging condition, and thus determines the candidate touch region as the target touch region.

[0083] Schematically, as Figure 4 shown, after determining the candidate touch region 401 and the ghost point signal region 402 in the first interface control region, the capacitive touch device can determine the intermediate signal region 403 located between the candidate touch region 401 and the ghost point signal region 402, and then respectively determine the first maximum signal corresponding to the candidate touch region 401, the second maximum signal corresponding to the ghost point signal region 402, and the first signal value average corresponding to the intermediate signal region 403.

[0084] It should be noted that in the embodiments of the present application, during the process of determining the signal value average corresponding to the intermediate signal region, only the node capacitance signals with positive signal values are calculated and processed.

[0085] In a possible implementation, when the current application interface is a game control interface, the first interface control area can be a roulette control area, which is used to control the movement of a virtual object in a virtual scene by touching the roulette.

[0086] In the above embodiment, for the first interface control area that responds to a continuous sliding operation, by determining the candidate touch area corresponding to the target touch operation and the ghost point signal area caused by water trace touch, and by judging whether the node capacitance signals in the candidate touch area and the ghost point signal area meet the first area merging condition, it is determined whether to merge the candidate touch area and the ghost point signal area, so as to obtain the target touch area, avoiding the touch area deviation caused by water trace touch interference, improving the accuracy of touch area determination, and further improving the accuracy of touch coordinate determination.

[0087] In some embodiments, when it is determined that the target touch operation is located in the second interface control area, that is, the target touch operation is a click operation on a non-edge control, considering that when the user performs a control click operation, if there is water trace around the control, it is very likely that when the finger touches the water trace, the capacitive touch device reports the coordinates according to the current node capacitance signal, and after the finger stably touches the control, it reports the coordinates again according to the current node capacitance signal, thus misjudging the original click operation as a sliding operation. Therefore, for the second interface control area, the capacitive touch device can adopt the method of delaying the reporting of touch coordinates and first optimizing the touch area to determine the target touch coordinates.

[0088] In a possible implementation, considering that in the process from the finger being above the non-edge control to starting to touch the water trace and then completing the click touch operation, the signal change process of the node capacitance signal is a gradually stable process, and in the process from the finger starting to touch the water trace to stably clicking, the signal value change of the node capacitance signal in the water trace touch area is significantly smaller than the signal value change of the node capacitance signal in the finger click area. Therefore, the capacitive touch device can first determine the candidate touch area corresponding to the target touch operation in each continuous frame according to the node capacitance signals of consecutive frames in the second interface control area. The candidate touch area includes the water trace touch area. Then, according to the node capacitance signals in the candidate touch areas corresponding to each continuous frame, the frame difference of the node capacitance signals in the candidate touch area is determined, so as to determine the touch area with a frame difference greater than the difference threshold in the candidate touch area as the target touch area.

[0089] Optionally, to improve the efficiency of determining the frame - to - frame difference, the capacitive touch device may first determine the completion status of the target touch operation. In a possible implementation, the capacitive touch device may determine the completion status of the target touch operation according to the change of the node capacitance signals in the second interface control area. When the node capacitance signals in the second interface control area are in a stable state, the capacitive touch device can determine that the target touch operation has been completed and the touch finger is about to be lifted, and then determine the frame - to - frame difference of the node capacitance signals in the candidate touch areas corresponding to each consecutive frame.

[0090] In a possible implementation, when the current interface is a game operation interface, the second interface control area may be a skill release area, which is used to respond to the click operation on the skill control to control the virtual object to release the skill.

[0091] Schematically, as Figure 5 shown, there is a skill control 502 in the skill release area 501, and there is a water trace 503 above the skill control 502. Thus, when the skill control 502 is clicked, the node capacitance signals in the touch area corresponding to the click operation and the water - trace touch area in the capacitive touch screen will change significantly.

[0092] Schematically, as Figure 6 shown, during the process of the finger completing the click operation, the capacitive touch device needs to determine the candidate touch area according to the node capacitance signals in consecutive frames. Taking 7 frames of capacitance signals as an example, the first candidate touch area 601 can be determined according to the node capacitance signals of the second frame, and the second candidate touch area 602 can be determined according to the node capacitance signals of the seventh frame. Thus, the capacitive touch device can determine the touch area in the candidate touch area where the frame - to - frame difference of the node capacitance signals is greater than the difference threshold, that is, the target touch area 603, by calculating the frame - to - frame difference of the node capacitance signals.

[0093] In the above - mentioned embodiments, for the second interface control area that responds to the click operation on the non - edge control, by determining the candidate touch area of the target touch operation in consecutive frames, when the node capacitance signals are in a stable state, the target touch area is determined according to the frame - to - frame difference of the node capacitance signals, avoiding the touch area deviation caused by the interference of the water - trace touch, improving the accuracy of the touch area, and further improving the accuracy of the touch coordinates.

[0094] In some embodiments, when it is determined that the target touch operation is located in the third interface control area, that is, when the target touch operation is a linear sliding operation, considering that if there is water trace around during the linear sliding operation, it will cause the offset of the original corresponding linear coordinate change of the linear sliding operation, resulting in incorrect reporting of touch coordinates. Therefore, for the third interface control area, the capacitive touch device can first determine the candidate touch coordinates and then determine the target touch coordinates through coordinate optimization.

[0095] Optionally, in order to avoid obvious offset of touch coordinates between consecutive frames during the linear sliding operation, the capacitive touch device can limit the touch coordinate increment between adjacent frames by means of coordinate filtering.

[0096] Schematically, as Figure 7 shown, in the case of no water trace touch interference, the touch coordinate change curve of consecutive frames corresponding to the sliding switching operation is as shown in 701; in the case of water trace touch interference, due to the offset of touch coordinates caused by water trace touch interference, the touch coordinate change curve of consecutive frames corresponding to the sliding switching operation is as shown in 702.

[0097] In some embodiments, the capacitive touch device can determine the candidate touch coordinates of the target touch operation in each consecutive frame according to the node capacitance signals of consecutive frames in the third interface control area, and determine the target touch coordinates corresponding to each consecutive frame through coordinate filtering according to the candidate touch coordinates corresponding to the initial frame and the touch coordinate difference between adjacent frames.

[0098] In a possible implementation manner, the capacitive touch device can first determine the candidate touch coordinates corresponding to the initial frame according to the node capacitance signals in the initial frame corresponding to the target touch operation in the third interface control area, and use the candidate touch coordinates as the target touch coordinates corresponding to the initial frame. Thus, starting from the second frame, determine the touch coordinate difference between the current frame and the previous frame, and determine the touch coordinate increment corresponding to the current frame according to the touch coordinate difference and the coordinate filtering coefficient. Furthermore, determine the target touch coordinates corresponding to the current frame according to the target touch coordinates corresponding to the previous frame and the touch coordinate increment corresponding to the current frame.

[0099] Optionally, the target touch coordinates corresponding to the current frame = the target touch coordinates corresponding to the previous frame + the touch coordinate difference × the coordinate filtering coefficient.

[0100] In a possible implementation manner, when the current application interface is a game control interface, the third interface control area can be a field-of-view sliding switching area, which is used to switch the virtual field of view of a virtual object through a sliding operation.

[0101] In the above embodiments, for the third interface control area in response to a linear sliding operation, by determining the candidate touch coordinates corresponding to consecutive frames and determining the difference in touch coordinates between adjacent frames, the touch coordinate increment between adjacent frames is determined through a coordinate filtering coefficient, and then the target touch coordinates corresponding to each frame are obtained, which limits the touch coordinate offset caused by water trace touch interference during the linear sliding operation and improves the accuracy of touch coordinates.

[0102] In some embodiments, when it is determined that the target touch operation is located in the fourth interface control area, that is, the target touch operation is a click operation on an edge control, considering that when the user clicks on an edge control, if there is water trace around the control, it is very likely to misjudge the change in the node capacitance signal caused by water trace touch as the change in the node capacitance signal caused by the click operation, thus affecting the determination of touch coordinates. Therefore, for the fourth interface control area, the capacitive touch device can determine the target touch coordinates by first determining the candidate touch coordinates and then performing coordinate optimization.

[0103] Optionally, when there is water trace around the edge control, the capacitive touch device is very likely to classify the change in the node capacitance signal caused by water trace touch as the change in the node capacitance signal caused by the target touch operation, thereby expanding the touch area and causing the touch coordinates to shift to a non-edge area. Therefore, in order to optimize the touch coordinates, the capacitive touch coordinates can determine the target touch coordinates by stretching the candidate touch coordinates.

[0104] Optionally, the fourth interface control area can be an edge touch area within the capacitive touch screen that is less than the width threshold from both edges of the screen. Here, the width threshold can be expressed in pixel width, for example, the pixel width is 100.

[0105] In some embodiments, the capacitive touch device can determine the candidate touch coordinates corresponding to the target touch operation according to the node capacitance signal in the fourth interface control area. Furthermore, in order to perform stretching processing on the candidate touch coordinates in different edge areas, the capacitive touch device can first determine the coordinate interval corresponding to the candidate touch coordinates, and then perform coordinate stretching processing on the candidate touch coordinates according to the coordinate interval, so as to obtain the target touch coordinates. Among them, the distance between the target touch coordinates and the screen edge after coordinate stretching processing is less than the distance between the candidate touch coordinates and the screen edge before coordinate stretching processing.

[0106] Optionally, considering that during the coordinate stretching process, the touch coordinates on the right edge of the screen need to be stretched to the right, while the touch coordinates on the left edge of the screen need to be stretched to the left, different coordinate stretching coefficients also need to be set for different coordinate intervals.

[0107] In a possible implementation, after obtaining the candidate touch coordinates corresponding to the target touch operation, the capacitive touch device may first determine the coordinate stretching coefficient according to the coordinate range corresponding to the candidate touch coordinates, and then perform coordinate stretching processing on the candidate touch coordinates based on the coordinate stretching coefficient, so as to obtain the target touch coordinates. Optionally, the target touch coordinates = candidate touch coordinates × coordinate stretching coefficient.

[0108] In a possible implementation, when the current interface is a game operation interface, the fourth interface control area may be an edge control area, and the edge control area is used to respond to a click operation on an edge control.

[0109] Schematically, as Figure 8 shown, there is a setting control 802 in the edge control area 801, and there is a water trace 803 below the setting control 802. Therefore, when the setting control 802 is clicked, the touch area corresponding to the click operation in the capacitive touch screen and the node capacitance signals in the water trace touch area will both change significantly, resulting in a downward shift of the touch coordinates. Therefore, coordinate stretching processing is required to stretch the touch coordinates upward.

[0110] Schematically, as Figure 9 shown, when a click operation on an edge control in the fourth interface control area is received and there is a water trace around the edge control, the node capacitance signals in the finger touch area 901 and the water trace touch area 902 will both change, resulting in a downward shift of the candidate touch coordinates determined according to the touch area. Therefore, coordinate stretching processing is required to stretch the touch coordinates upward.

[0111] In the above embodiments, for the fourth interface control area that responds to the click operation on the edge control, by determining the candidate touch coordinates and the corresponding coordinate range, and using the coordinate stretching coefficient to perform stretching touch on the candidate touch coordinates, the distance between the target touch coordinates and the screen edge after coordinate stretching processing is less than the distance between the candidate touch coordinates and the screen edge before coordinate stretching processing, avoiding the touch coordinate offset caused by water trace touch interference and improving the accuracy of touch coordinates.

[0112] Please refer to Figure 10 , which shows a flowchart of a touch event reporting method provided by another exemplary embodiment of the present application. The following takes the touch event reporting method provided by the embodiments of the present application applied to a game control interface as an example for description.

[0113] Step 1001, start.

[0114] Step 1002, obtain the node capacitance signals in the capacitive touch screen and the area division information corresponding to the current application interface.

[0115] When receiving a target touch operation within the game control interface, the capacitive touch device first obtains the node capacitance signals within the capacitive touch screen and the area division signals within the current game control interface. Optionally, the current game control interface includes a roulette control area, a skill release area, a field-of-view switching area, and an edge control area.

[0116] Step 1003, determine whether the target touch operation is located in the roulette control area?

[0117] Step 1004, determine the candidate touch area corresponding to the target touch operation and the ghost point signal area caused by water trace touch.

[0118] When the target touch operation is located in the roulette control area and there is water trace in the roulette control area, the capacitive touch device first determines the candidate touch area corresponding to the target touch operation and the ghost point signal area caused by water trace touch.

[0119] Step 1005, determine whether the first area merging condition is satisfied?

[0120] Furthermore, according to the maximum signals within the candidate touch area and the ghost point signal area, and the signal value average of the intermediate signal area located between the candidate touch area and the ghost point signal area, determine whether the node capacitance signals within the candidate touch area and the ghost point signal area satisfy the first area merging condition.

[0121] Step 1006, perform area merging on the candidate touch area and the ghost point signal area to obtain the target touch area.

[0122] When the node capacitance signals within the candidate touch area and the ghost point signal area satisfy the first area merging condition, the capacitive touch device performs area merging on the candidate touch area and the ghost point signal area to obtain the target touch area.

[0123] Step 1007, determine the candidate touch area as the target touch area.

[0124] When the node capacitance signals within the candidate touch area and the ghost point signal area do not satisfy the first area merging condition, the capacitive touch device determines the candidate touch area as the target touch area.

[0125] Step 1008, determine whether the target touch operation is located in the skill release area?

[0126] Step 1009, determine the candidate touch area corresponding to the continuous frames.

[0127] When the target touch operation is located in the skill release area and there is water stain in the skill release area, the capacitive touch device determines the candidate touch area corresponding to the target touch operation in consecutive frames according to the node capacitance signals in the skill release area.

[0128] Step 1010: Determine the target touch area based on the inter-frame difference of the node capacitance signals.

[0129] When the node capacitance signals in the skill release area are in a stable state, the capacitive touch device determines the touch area with an inter-frame difference greater than the difference threshold as the target touch area based on the inter-frame difference of the node capacitance signals.

[0130] Step 1011: Determine the target touch coordinates based on the target touch area.

[0131] The capacitive touch device determines the target touch coordinates through the centroid coordinate algorithm according to the node capacitance signals in the target touch area.

[0132] Step 1012: Determine whether the target touch operation is located in the view switching area?

[0133] Step 1013: Determine the candidate touch coordinates corresponding to consecutive frames.

[0134] When the target touch operation is located in the view switching area and there is water stain in the view switching area, the capacitive touch device determines the candidate touch coordinates corresponding to consecutive frames according to the node capacitance signals of the target touch operation in consecutive frames.

[0135] Step 1014: Perform coordinate filtering processing based on the touch coordinate difference between adjacent frames to obtain the target touch coordinates corresponding to each consecutive frame.

[0136] The capacitive touch device determines the candidate touch coordinates corresponding to the initial frame as the target touch coordinates, and determines the target touch coordinates corresponding to the current frame according to the touch coordinate difference between the previous frame and the current frame and the coordinate filtering coefficient.

[0137] Step 1015: Determine whether the target touch operation is located in the edge control area?

[0138] Step 1016: Determine the candidate touch coordinates and the coordinate interval.

[0139] When the target touch operation is located in the edge control area and there is water stain in the edge control area, the capacitive touch device determines the candidate touch coordinates according to the node capacitance signals in the edge control area, and determines the coordinate interval corresponding to the candidate touch coordinates.

[0140] Step 1017: Stretch the candidate touch coordinates through the coordinate stretching coefficient to obtain the target touch coordinates.

[0141] The capacitive touch device stretches the candidate touch coordinates according to the coordinate stretching coefficient to obtain the target touch coordinates.

[0142] Step 1018: Report the touch event.

[0143] After determining the target touch coordinates, the capacitive touch device reports the touch event corresponding to the target touch operation.

[0144] Step 1019: End.

[0145] Please refer to Figure 11 , which shows the structural block diagram of the touch event reporting device provided by an exemplary embodiment of the present application. The device includes:

[0146] The area determination module 1101 is configured to determine the target interface control area corresponding to the target touch operation in response to the target touch operation in the current application interface. The application interface includes at least two interface control areas, and different interface control areas are used to respond to different types of touch operations;

[0147] The coordinate determination module 1102 is configured to determine the target touch coordinates corresponding to the target touch operation based on the node capacitance signals in the target interface control area and the touch optimization strategy corresponding to the target interface control area, where different interface control areas correspond to different touch optimization strategies;

[0148] The event reporting module 1103 is configured to report the touch event generated by the target touch operation based on the target touch coordinates.

[0149] Optionally, the coordinate determination module 1102 includes:

[0150] The area determination unit is configured to determine the candidate touch area corresponding to the target touch operation based on the node capacitance signals in the target interface control area;

[0151] The area optimization unit is configured to optimize the candidate touch area based on the touch optimization strategy corresponding to the target interface control area to obtain the target touch area;

[0152] The first coordinate determination unit is configured to determine the target touch coordinates based on the node capacitance signals in the target touch area; or,

[0153] The second coordinate determination unit is configured to determine the candidate touch coordinates corresponding to the target touch operation based on the node capacitance signals in the target interface control area;

[0154] A coordinate optimization unit, configured to optimize the candidate touch coordinates based on a touch optimization strategy corresponding to the target interface manipulation area to obtain the target touch coordinates.

[0155] Optionally, the target interface manipulation area includes a first interface manipulation area for responding to a continuous sliding operation;

[0156] The area determination unit is configured to:

[0157] Based on node capacitance signals within the first interface manipulation area, determine a candidate touch area corresponding to the target touch operation and a ghost point signal area caused by water trace touch;

[0158] The area optimization unit is configured to:

[0159] When node capacitance signals within the candidate touch area and the ghost point signal area satisfy a first area merging condition, merge the candidate touch area and the ghost point signal area to obtain the target touch area, where the first area merging condition is different from a second area merging condition corresponding to other interface manipulation areas outside the first interface manipulation area.

[0160] Optionally, the area optimization unit is further configured to:

[0161] Based on node capacitance signals within the candidate touch area and the ghost point signal area, determine a first maximum value signal within the candidate touch area and a second maximum value signal within the ghost point signal area;

[0162] Determine a first signal value average of node capacitance signals within an intermediate signal area located between the candidate touch area and the ghost point signal area;

[0163] When a signal value difference between the first maximum value signal and the first signal value average is not greater than a first area merging threshold, and a signal value difference between the second maximum value signal and the first signal value average is not greater than the first area merging threshold, determine that node capacitance signals within the candidate touch area and the ghost point signal area satisfy the first area merging condition, and merge the candidate touch area and the ghost point signal area to obtain the target touch area, where the first area merging threshold is less than an area merging threshold within other interface manipulation areas outside the first interface manipulation area;

[0164] The apparatus further includes:

[0165] A first condition determination module, configured to determine that the node capacitance signals in the candidate touch region and the ghost point signal region do not satisfy the first region merging condition, and determine the candidate touch region as the target touch region, when the signal value difference between the first maximum signal and the mean value of the first signal values is greater than the first region merging threshold, and / or when the signal value difference between the second maximum signal and the mean value of the first signal values is greater than the first region merging threshold.

[0166] Optionally, the region optimization unit is further configured to:

[0167] Determine a second mean value of signal values between the candidate touch region and the ghost point signal region based on the first maximum signal in the candidate touch region and the second maximum signal in the ghost point signal region;

[0168] Determine a first mean value of signal values of node capacitance signals in an intermediate signal region, where the intermediate signal region is located between the candidate touch region and the ghost point signal region;

[0169] When the mean value difference between the first mean value of signal values and the second mean value of signal values is not greater than a second region merging threshold, determine that the node capacitance signals in the candidate touch region and the ghost point signal region satisfy the first region merging condition, and perform region merging on the candidate touch region and the ghost point signal region to obtain the target touch region;

[0170] The apparatus further includes:

[0171] A second condition determination module, configured to determine that the node capacitance signals in the candidate touch region and the ghost point signal region do not satisfy the first region merging condition, and determine the candidate touch region as the target touch region, when the mean value difference between the first mean value of signal values and the second mean value of signal values is greater than the second region merging threshold.

[0172] Optionally, the first interface manipulation region includes a roulette manipulation region, and the roulette manipulation region is configured to control the movement of a virtual object in a virtual scene by touching a roulette.

[0173] Optionally, the target interface manipulation region includes a second interface manipulation region, and the second interface manipulation region is configured to respond to a click operation on a non-edge control;

[0174] The region determination unit is configured to:

[0175] Determine a candidate touch region corresponding to the target touch operation in each consecutive frame based on the node capacitance signals of consecutive frames in the second interface manipulation region, where the candidate touch region includes a water trace touch region;

[0176] The area optimization unit is configured to:

[0177] Based on the node capacitance signals in the candidate touch areas corresponding to each consecutive frame, determine the inter-frame difference of the node capacitance signals in the candidate touch areas;

[0178] Determine the touch areas in the candidate touch areas where the inter-frame difference is greater than the difference threshold as the target touch areas.

[0179] Optionally, the area optimization unit is further configured to:

[0180] When the node capacitance signals in the second interface manipulation area are in a stable state, based on the node capacitance signals in the candidate touch areas corresponding to each consecutive frame, determine the inter-frame difference of the node capacitance signals in the candidate touch areas.

[0181] Optionally, the target interface manipulation area includes a third interface manipulation area, and the third interface manipulation area is configured to respond to a linear sliding operation;

[0182] The second coordinate determination unit is configured to:

[0183] Based on the node capacitance signals of consecutive frames in the third interface manipulation area, determine the candidate touch coordinates of the target touch operation in each consecutive frame;

[0184] The coordinate optimization unit is configured to:

[0185] Based on the candidate touch coordinates corresponding to the initial frame and the touch coordinate difference between adjacent frames, through coordinate filtering processing, determine the target touch coordinates corresponding to each consecutive frame, and the coordinate filtering processing is used to limit the touch coordinate increment between adjacent frames.

[0186] Optionally, the coordinate optimization unit is further configured to:

[0187] Determine the candidate touch coordinates corresponding to the initial frame as the target touch coordinates corresponding to the initial frame;

[0188] Based on the touch coordinate difference and the coordinate filtering coefficient between the previous frame and the current frame, determine the touch coordinate increment corresponding to the current frame;

[0189] Based on the target touch coordinates corresponding to the previous frame and the touch coordinate increment, determine the target touch coordinates corresponding to the current frame.

[0190] Optionally, the third interface manipulation area includes a field-of-view sliding and switching area, and the field-of-view sliding and switching area is configured to switch the virtual field of view of the virtual object through a sliding operation.

[0191] Optionally, the target interface manipulation area includes a fourth interface manipulation area for responding to a click operation on an edge control.

[0192] The second coordinate determination unit is configured to:

[0193] Determine a candidate touch coordinate corresponding to the target touch operation based on a node capacitance signal within the fourth interface manipulation area;

[0194] The coordinate optimization unit is configured to:

[0195] Perform coordinate stretching processing on the candidate touch coordinate based on a coordinate interval corresponding to the candidate touch coordinate to obtain the target touch coordinate, where the distance between the target touch coordinate and the screen edge after coordinate stretching processing is less than the distance between the candidate touch coordinate and the screen edge before coordinate stretching processing.

[0196] Optionally, the coordinate optimization unit is further configured to:

[0197] Determine a coordinate stretching coefficient based on a coordinate interval corresponding to the candidate touch coordinate, where different coordinate intervals correspond to different coordinate stretching coefficients;

[0198] Perform coordinate stretching processing on the candidate touch coordinate based on the coordinate stretching coefficient to obtain the target touch coordinate.

[0199] Optionally, the area determination module 1101 is configured to:

[0200] In the case where the current application belongs to a registered application, in response to a target touch operation within the current application interface, obtain interface manipulation area division information corresponding to the current application interface, where the interface manipulation area division information includes coordinate ranges of different interface manipulation areas; based on the interface manipulation area division information, determine a target interface manipulation area corresponding to the target touch operation; or,

[0201] In the case where the current application does not belong to a registered application, in response to a target touch operation within the current application interface, perform interface recognition on the current application interface to obtain an interface area recognition result corresponding to the current application interface, where the interface area recognition result includes coordinate ranges of different interface manipulation areas; based on the interface area recognition result, determine a target interface manipulation area corresponding to the target touch operation.

[0202] In summary, in the embodiments of the present application, by dividing the application interface into multiple different interface control regions, and different interface control regions are used to respond to different types of touch operations. Thus, in response to a target touch operation within the current application interface, it is possible to first determine the target interface control region corresponding to the target touch operation, and then determine the target touch coordinates corresponding to the target touch operation according to the node capacitance signal within the target interface control region and the corresponding touch optimization strategy. Furthermore, according to the target touch coordinates, the touch event generated by the target touch operation is reported. By using the method provided in the embodiments of the present application, the target touch coordinates are determined according to the touch optimization strategy corresponding to the target interface control region, which optimizes the interference of the touch coordinates caused by water trace touch during the touch coordinate determination process and improves the accuracy of the touch coordinates.

[0203] Please refer to Figure 12 , which shows a schematic structural diagram of a capacitive touch module provided by an exemplary embodiment of the present application. The capacitive touch module may include: a capacitive touch screen 1201 and a touch IC 1202.

[0204] The capacitive touch screen 1201 is used to detect the node capacitance signal, and perceives the touch operation by sensing the change of the node capacitance signal caused by the touch operation object, so as to realize the screen control.

[0205] The touch IC 1202 has arithmetic and storage functions, and is used to perform signal scanning on the node capacitance, calculate the operation position of the touch operation object, and report the touch event to the processor. In some embodiments, the touch IC 1202 is used to implement the touch event reporting method provided in the above embodiments.

[0206] Please refer to Figure 13 , which shows a structural block diagram of a capacitive touch device provided by an exemplary embodiment of the present application. The capacitive touch device may include one or more of the following components: a processor 1301, a memory 1302, and a capacitive touch module 1303.

[0207] Optionally, the processor 1301 connects various parts within the entire computer device through various interfaces and lines, and executes various functions of the computer device and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 1302, and by calling the data stored in the memory 1302.

[0208] The memory 1302 may include a random access memory (RAM), and may also include a read-only memory (ROM). The memory 1302 can be used to store instructions, programs, codes, code sets, or instruction sets.

[0209] The capacitive touch module 1303 is used to detect changes in the node capacitance signal, calculate relevant information of the touch event through the touch IC inside it, and finally report the touch event to the processor. In some embodiments, the capacitive touch module 1303 is used to implement the touch event reporting method provided in the above embodiments and report the touch event to the processor 1301.

[0210] An embodiment of the present application also provides a computer-readable storage medium, which stores at least one instruction for being executed by the touch IC to implement the touch event reporting method as described in the above embodiments.

[0211] An embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The touch IC reads the computer instructions from the computer-readable storage medium and executes the computer instructions, so that the capacitive touch device executes the touch event reporting method provided in the above embodiments.

[0212] Those skilled in the art should be able to realize that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented by hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. The computer-readable medium includes computer storage media and communication media, where the communication media includes any medium facilitating the transmission of a computer program from one place to another. The storage media can be any available medium accessible by a general-purpose or special-purpose computer.

[0213] The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A touch event reporting method, characterized in that, The method is used for a capacitive touch device, and the method includes: In response to a target touch operation in the current application interface, determining a target interface manipulation area corresponding to the target touch operation, where the application interface includes at least two interface manipulation areas, and different interface manipulation areas are used to respond to different types of touch operations; Based on the node capacitance signals in the target interface manipulation area and the touch optimization strategy corresponding to the target interface manipulation area, determining the target touch coordinates corresponding to the target touch operation, where different interface manipulation areas correspond to different touch optimization strategies; Based on the target touch coordinates, reporting the touch event generated by the target touch operation.

2. The method according to claim 1, characterized in that, The determining the target touch coordinates corresponding to the target touch operation based on the node capacitance signals in the target interface manipulation area and the touch optimization strategy corresponding to the target interface manipulation area includes: Based on the node capacitance signals in the target interface manipulation area, determining a candidate touch area corresponding to the target touch operation; based on the touch optimization strategy corresponding to the target interface manipulation area, optimizing the candidate touch area to obtain a target touch area; based on the node capacitance signals in the target touch area, determining the target touch coordinates; or, Based on the node capacitance signals in the target interface manipulation area, determining candidate touch coordinates corresponding to the target touch operation; based on the touch optimization strategy corresponding to the target interface manipulation area, optimizing the candidate touch coordinates to obtain the target touch coordinates.

3. The method according to claim 2, wherein The target interface manipulation area includes a first interface manipulation area, and the first interface manipulation area is used to respond to a continuous sliding operation; The determining a candidate touch area corresponding to the target touch operation based on the node capacitance signals in the target interface manipulation area includes: Based on the node capacitance signals in the first interface manipulation area, determining a candidate touch area corresponding to the target touch operation and a ghost point signal area caused by water trace touch; The optimizing the candidate touch area to obtain a target touch area based on the touch optimization strategy corresponding to the target interface manipulation area includes: When the node capacitance signals in the candidate touch area and the ghost point signal area meet a first area merging condition, merging the candidate touch area and the ghost point signal area to obtain the target touch area, where the first area merging condition is different from a second area merging condition corresponding to other interface manipulation areas other than the first interface manipulation area.

4. The method according to claim 3, characterized in that The merging the candidate touch area and the ghost point signal area to obtain the target touch area when the node capacitance signals in the candidate touch area and the ghost point signal area meet the first area merging condition includes: Based on the node capacitance signals in the candidate touch area and the ghost point signal area, determining a first maximum signal in the candidate touch area and a second maximum signal in the ghost point signal area; Determine the first signal value average of the node capacitance signals within the intermediate signal region, where the intermediate signal region is located between the candidate touch region and the ghost point signal region; When the signal value difference between the first maximum signal and the first signal value average is not greater than the first region merging threshold, and the signal value difference between the second maximum signal and the first signal value average is not greater than the first region merging threshold, determine that the node capacitance signals within the candidate touch region and the ghost point signal region satisfy the first region merging condition, and perform region merging on the candidate touch region and the ghost point signal region to obtain the target touch region, where the first region merging threshold is less than the region merging threshold within other interface manipulation regions outside the first interface manipulation region; The method further includes: When the signal value difference between the first maximum signal and the first signal value average is greater than the first region merging threshold, and / or the signal value difference between the second maximum signal and the first signal value average is greater than the first region merging threshold, determine that the node capacitance signals within the candidate touch region and the ghost point signal region do not satisfy the first region merging condition, and determine the candidate touch region as the target touch region.

5. The method according to claim 3, wherein When the node capacitance signals within the candidate touch region and the ghost point signal region satisfy the first region merging condition, performing region merging on the candidate touch region and the ghost point signal region to obtain the target touch region includes: Based on the first maximum signal within the candidate touch region and the second maximum signal within the ghost point signal region, determine the second signal value average between the candidate touch region and the ghost point signal region; Determine the first signal value average of the node capacitance signals within the intermediate signal region, where the intermediate signal region is located between the candidate touch region and the ghost point signal region; When the average difference between the first signal value average and the second signal value average is not greater than the second region merging threshold, determine that the node capacitance signals within the candidate touch region and the ghost point signal region satisfy the first region merging condition, and perform region merging on the candidate touch region and the ghost point signal region to obtain the target touch region; The method further includes: When the average difference between the first signal value average and the second signal value average is greater than the second region merging threshold, determine that the node capacitance signals within the candidate touch region and the ghost point signal region do not satisfy the first region merging condition, and determine the candidate touch region as the target touch region.

6. The method according to any one of claims 3 to 5, characterized in that, The first interface manipulation region includes a roulette manipulation region, and the roulette manipulation region is used to control the movement of a virtual object within a virtual scene by touching the roulette.

7. The method according to claim 2, wherein The target interface manipulation region includes a second interface manipulation region, and the second interface manipulation region is used to respond to a click operation on a non-edge control; Determining a candidate touch area corresponding to the target touch operation based on the node capacitance signals within the target interface manipulation area includes: Based on the node capacitance signals of consecutive frames within the second interface manipulation area, determining the candidate touch areas corresponding to the target touch operation in each of the consecutive frames, where the candidate touch areas include water trace touch areas; Optimizing the candidate touch areas based on the touch optimization strategy corresponding to the target interface manipulation area to obtain the target touch area includes: Based on the node capacitance signals within the candidate touch areas corresponding to each consecutive frame, determining the inter-frame difference of the node capacitance signals within the candidate touch areas; Determining the touch areas within the candidate touch areas where the inter-frame difference is greater than the difference threshold as the target touch area.

8. The method according to claim 7, characterized in that, Determining the inter-frame difference of the node capacitance signals within the candidate touch areas based on the node capacitance signals within the candidate touch areas corresponding to each consecutive frame includes: When the node capacitance signals within the second interface manipulation area are in a stable state, determining the inter-frame difference of the node capacitance signals within the candidate touch areas based on the node capacitance signals within the candidate touch areas corresponding to each consecutive frame.

9. The method according to claim 2, wherein The target interface manipulation area includes a third interface manipulation area, and the third interface manipulation area is used to respond to linear sliding operations; Determining a candidate touch coordinate corresponding to the target touch operation based on the node capacitance signals within the target interface manipulation area includes: Based on the node capacitance signals of consecutive frames within the third interface manipulation area, determining the candidate touch coordinates of the target touch operation within each of the consecutive frames; Optimizing the candidate touch coordinates based on the touch optimization strategy corresponding to the target interface manipulation area to obtain the target touch coordinates includes: Based on the candidate touch coordinates corresponding to the initial frame and the touch coordinate difference between adjacent frames, through coordinate filtering processing, determining the target touch coordinates corresponding to each consecutive frame, where the coordinate filtering processing is used to limit the touch coordinate increment between adjacent frames.

10. The method according to claim 9, characterized in that, Determining the target touch coordinates corresponding to each consecutive frame through coordinate filtering processing based on the candidate touch coordinates corresponding to the initial frame and the touch coordinate difference between adjacent frames includes: Determining the candidate touch coordinates corresponding to the initial frame as the target touch coordinates corresponding to the initial frame; Based on the touch coordinate difference and the coordinate filtering coefficient between the previous frame and the current frame, determining the touch coordinate increment corresponding to the current frame; Based on the target touch coordinates corresponding to the previous frame and the touch coordinate increment, determining the target touch coordinates corresponding to the current frame.

11. The method according to any one of claims 9 to 10, characterized in that, The third interface manipulation area includes a field-of-view sliding and switching area, and the field-of-view sliding and switching area is used to switch the virtual field of view of a virtual object through a sliding operation.

12. The method according to claim 2, wherein The target interface manipulation area includes a fourth interface manipulation area, and the fourth interface manipulation area is used to respond to click operations on edge controls; Determining a candidate touch coordinate corresponding to the target touch operation based on the node capacitance signals within the target interface manipulation area includes: Determine a candidate touch coordinate corresponding to the target touch operation based on the node capacitance signal within the fourth interface manipulation area; The optimizing the candidate touch coordinate based on the touch optimization strategy corresponding to the target interface manipulation area to obtain the target touch coordinate includes: Performing coordinate stretching processing on the candidate touch coordinate based on the coordinate interval corresponding to the candidate touch coordinate to obtain the target touch coordinate, wherein the distance between the target touch coordinate and the screen edge after the coordinate stretching processing is less than the distance between the candidate touch coordinate and the screen edge before the coordinate stretching processing.

13. The method according to claim 12, wherein The performing coordinate stretching processing on the candidate touch coordinate based on the coordinate interval corresponding to the candidate touch coordinate to obtain the target touch coordinate includes: Determining a coordinate stretching coefficient based on the coordinate interval corresponding to the candidate touch coordinate, where different coordinate intervals correspond to different coordinate stretching coefficients; Performing coordinate stretching processing on the candidate touch coordinate based on the coordinate stretching coefficient to obtain the target touch coordinate.

14. The method according to claim 1, wherein The responding to a target touch operation within the current application interface to determine a target interface manipulation area corresponding to the target touch operation includes: When the current application belongs to a registered application, in response to a target touch operation within the current application interface, obtaining interface manipulation area division information corresponding to the current application interface, where the interface manipulation area division information includes the coordinate ranges of different interface manipulation areas; based on the interface manipulation area division information, determining the target interface manipulation area corresponding to the target touch operation; or, When the current application does not belong to a registered application, in response to a target touch operation within the current application interface, performing interface recognition on the current application interface to obtain an interface area recognition result corresponding to the current application interface, where the interface area recognition result includes the coordinate ranges of different interface manipulation areas; based on the interface area recognition result, determining the target interface manipulation area corresponding to the target touch operation.

15. A touch event reporting device, characterized in that, The device includes: An area determination module, configured to respond to a target touch operation within the current application interface and determine a target interface manipulation area corresponding to the target touch operation, where the application interface includes at least two interface manipulation areas, and different interface manipulation areas are used to respond to different types of touch operations; A coordinate determination module, configured to determine a target touch coordinate corresponding to the target touch operation based on the node capacitance signal within the target interface manipulation area and the touch optimization strategy corresponding to the target interface manipulation area, where different interface manipulation areas correspond to different touch optimization strategies; An event reporting module, configured to report a touch event generated by the target touch operation based on the target touch coordinate.

16. A capacitive touch module, characterized in that, The capacitive touch module includes a capacitive touch screen and a touch integrated circuit IC, and the touch IC is used to implement the touch event reporting method according to any one of claims 1 to 14.

17. A capacitive touch device, characterized in that, The capacitive touch device is provided with the capacitive touch module according to claim 16.

18. A computer-readable storage medium, characterized in that, The storage medium stores at least one program code, and the at least one program code is used to be executed by the touch IC to implement the touch event reporting method according to any one of claims 1 to 14.

19. A computer program product, characterized in that, The computer program product includes computer instructions, and the computer instructions are stored in a computer-readable storage medium; the touch IC reads the computer instructions from the computer-readable storage medium, and the touch IC executes the computer instructions to implement the touch event reporting method according to any one of claims 1 to 14.