Touch event reporting method and device, equipment, medium and program product
By suppressing unnecessary touch points in the single-point touch mode of capacitive touch devices, the problem of touch failure in wet environments is solved, improving the success rate of single-finger operation and the accuracy of touch events.
Patent Information
- Application Number
- CN202410487750.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-22
- Publication Date
- 2025-10-24
AI Technical Summary
Capacitive touch devices are easily affected by water in rainy environments, which can cause touch failure or false triggering. Existing waterproofing mechanisms cannot distinguish between water touch and touch object touch, resulting in touch operation failure.
In specific operating scenarios, the system enters single-point touch mode and, through a touch point suppression strategy, only reports a single touch point to avoid interference from other touch points on the wet screen.
It improves the success rate of single-finger operation in single-finger control scenarios, ensures the correct reporting of touch events, and prevents accidental triggering and operation failure.
Smart Images

Figure CN120832032A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of touch control, and in particular to a touch event reporting method and device, equipment, medium and program product. BACKGROUND
[0002] Capacitive touch devices are prone to water influence when used in a rain scenario, resulting in touch failure or false triggering problems.
[0003] In related technologies, a preset waterproof mechanism is started when the ambient temperature changes by more than a change threshold, to play a waterproof role and reduce touch operation abnormal problems caused by water droplets.
[0004] However, in a specific scenario, the preset waterproof mechanism still has the possibility of touch failure due to the difficulty in distinguishing between water touch and touch object touch. SUMMARY
[0005] Embodiments of the present application provide a touch event reporting method, device, equipment, medium and program product. The technical solution is as follows:
[0006] In one aspect, the present application provides a touch event reporting method, the method comprising:
[0007] obtaining touch scenario information;
[0008] in a case where the touch scenario represented by the touch scenario information belongs to a target touch scenario, determining that the touch mode is a single-point touch mode, and the touch operation supported in the target touch scenario is a single-finger touch operation;
[0009] in a case where a touch point is scanned and in a water state, performing touch point suppression in the single-point touch mode based on a touch point suppression strategy, the water state referring to a state entered after a water screen is identified;
[0010] reporting a touch event based on the suppressed touch point, the touch event reported in the single-point touch mode containing a single touch point.
[0011] In another aspect, the present application provides a touch event reporting device, the device comprising:
[0012] a scenario obtaining module configured to obtain touch scenario information;
[0013] a mode determining module configured to, in a case where the touch scenario represented by the touch scenario information belongs to a target touch scenario, determine that the touch mode is a single-point touch mode, and the touch operation supported in the target touch scenario is a single-finger touch operation;
[0014] The inhibiting module is configured to inhibit the touch point in the single-point touch mode based on a touch point inhibition strategy when the touch point is scanned and the capacitive touch module is in a water state, the water state being a state entered after a water screen is identified;
[0015] The reporting module is configured to report a touch event based on the inhibited touch point, the touch event reported in the single-point touch mode including a single touch point.
[0016] In another aspect, the embodiments of the present application provide a capacitive touch module, which comprises a capacitive touch screen and a touch IC (Integrated Circuit), the touch IC being configured to implement the touch event reporting method in the above aspect.
[0017] In another aspect, the embodiments of the present application provide a capacitive touch device, which is provided with the capacitive touch module in the above aspect.
[0018] In another aspect, the embodiments of the present application provide a computer readable storage medium, which stores at least one program code, the at least one program code being configured to be executed by a touch IC to implement the touch event reporting method in the above aspect.
[0019] In another aspect, the embodiments of the present application provide a computer program product, which comprises computer instructions stored in a computer readable storage medium; a 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 in the above aspect.
[0020] In the embodiments of the present application, the capacitive touch module enters the single-point touch mode by determining a current touch scenario, so as to inhibit other touch points generated in a single-finger operation scenario. In the case that the capacitive touch module is in a water state, the screen is determined to be watered, which is likely to interfere with the correct identification of the touch point. Therefore, the capacitive touch module adopts a touch point inhibition strategy to inhibit the touch point in the single-point touch mode, and only reports a single touch point when reporting a touch event, so as to avoid other touch points appearing on the watered screen from interrupting the reporting of the touch event corresponding to the single-finger operation, causing the operation to fail, and improving the success rate of the single-finger operation in the single-finger operation scenario. BRIEF DESCRIPTION OF DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort.
[0022] Figure 1 A flow chart of a touch event reporting method provided by an example embodiment of the present application is shown;
[0023] Figure 2 A flow chart of a touch event reporting method provided by another example embodiment of the present application is shown;
[0024] Figure 3 A flow chart of a suppression process for touch point suppression based on suppression region information provided by an example embodiment of the present application is shown;
[0025] Figure 4 An illustrative diagram of a sliding operation failure case provided by an example embodiment of the present application is shown;
[0026] Figure 5 An illustrative diagram of a suppression region provided by an example embodiment of the present application is shown;
[0027] Figure 6 A flow chart of a suppression process for touch point suppression based on operation response priority information provided by an example embodiment of the present application is shown;
[0028] Figure 7 An implementation illustrative diagram of a sliding operation recognition provided by an example embodiment of the present application is shown;
[0029] Figure 8 A flow chart of a suppression process for touch point suppression based on historical touch point touch information provided by an example embodiment of the present application is shown;
[0030] Figure 9 An illustrative diagram of a target region provided by an example embodiment of the present application is shown;
[0031] Figure 10 A flow chart of a touch event reporting process provided by an example embodiment of the present application is shown;
[0032] Figure 11 A structural block diagram of a touch point processing apparatus provided by an example embodiment of the present application is shown;
[0033] Figure 12 A structural illustrative diagram of a capacitive touch module provided by an example embodiment of the present application is shown;
[0034] Figure 13 A structural block diagram of a capacitive touch device provided by an example embodiment of the present application is shown. DETAILED DESCRIPTION
[0035] In order to make the purposes, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the drawings.
[0036] The capacitive touch device obtains the capacitive signal change generated by the touch of the touch object through self-capacitance and mutual capacitance scanning, thereby determining the touch point position generated by the touch object operation, obtaining the touch event, and responding to the touch operation. The capacitive touch device mainly reports the touch event through the capacitive touch module to realize the response to the touch operation. The touch object refers to the medium for performing the touch operation, such as a user's finger, a stylus, etc.
[0037] In the process of detecting the touch operation of the capacitive touch device, the touch control chip (touch IC) first obtains the original value of the capacitive signal through ADC (Analog-to-Digital Converter, analog-to-digital converter) sampling to obtain the original data, and then establishes a reference according to the original value to obtain a reference value. The reference value is updated in the process of detecting the touch operation of the capacitive touch device. The capacitive touch screen determines the coordinate value of the touch point by establishing the reference value and subtracting the difference value obtained by subtracting the original value from the reference value. It can be seen that the capacitive touch device needs to maintain a correct reference value to ensure the correct identification of the touch point.
[0038] In the presence of water droplets, hand sweat and other water touch scenarios on the capacitive touch screen, the reference value obtained by the capacitive touch device will be abnormal, resulting in a decrease in the sensitivity of the capacitive touch screen, or the occurrence of false touch point reporting, i.e. the touch IC reports the touch point coordinates without touch operation.
[0039] In the related art, in the case where the environmental temperature changes greater than a change threshold, a preset waterproof mechanism is started to perform waterproof processing on the capacitive signal detected by the capacitive touch screen with water, i.e. by suppressing the suspected touch point, the correct touch point is obtained, thereby reporting the touch event and improving the success rate of the touch operation.
[0040] However, in specific operation scenarios, such as the scenario of operating the photo album, the scenario of unlocking the lock screen interface, the scenario of browsing short videos, etc., the waterproof processing in the related art still has the possibility of failing to correctly identify and respond to the touch point generated by the touch operation of the touch object, resulting in the failure of the touch operation.
[0041] In some specific operation scenarios with water touch, such as operating the photo album in the rain scenario, the suspected touch points generated on the water screen can interrupt the current touch operation of the touch object, resulting in operation failure. For example, during the sliding operation of the user, suspected click operation touch points appear at other positions in the middle of the way, and the touch IC reports the click event, thereby failing to recognize the sliding operation, resulting in failure of the sliding operation. For another example, during the long press operation of the user, suspected click operation touch points appear at other positions of the capacitive touch screen, and the touch IC reports the click event, thereby failing to recognize the long press operation.
[0042] The present application provides a touch event reporting method for waterproof processing of single-finger operation in single-point touch mode. The method can enter single-point touch mode in specific operation scenarios, and then obtain a single touch point through a series of touch point suppression strategies, thereby ensuring the correctness of the reported touch event and improving the success rate of single-finger touch operation.
[0043] Please refer to Figure 1 which shows a flowchart of the touch event reporting method provided by an exemplary embodiment of the present application. The method comprises the following steps.
[0044] Step 101, obtaining touch scenario information.
[0045] In some embodiments, the touch scenario refers to the application scenario of the touch operation, and the touch scenario information is used to represent the current touch scenario of the capacitive touch device. The touch operation in the touch scenario has the same characteristics and can correspond to a specific touch mode. The capacitive touch module determines the current touch scenario according to the touch scenario information, thereby entering the corresponding touch mode to correctly recognize the touch operation.
[0046] Optionally, the touch scenario information can be a notification message sent by other modules to the touch module.
[0047] In a possible implementation, the capacitive touch device sends an interface entering notification to the capacitive touch module when entering a specific interface, and the capacitive touch module determines the current touch scenario according to the interface entering notification. For example, when entering the lock screen interface, the capacitive touch module receives the lock screen interface notification and determines that the current touch scenario is the lock screen touch scenario.
[0048] Optionally, the touch scenario information can also be the control information on the display interface of the capacitive touch device.
[0049] In a possible implementation, the capacitive touch module receives control information of a control included in a display interface, and determines a current touch scenario in a case where it is determined that the display interface includes a series of key controls in a specific scenario. For example, a photo album interface includes a large number of selectable pictures or picture sets, and controls for operating the pictures, corresponding to a photo album touch scenario; for another example, a short video touch scenario, a short video browsing interface includes a video playing control, an appreciation control, a reposting control, and the like, corresponding to a short video touch scenario; for another example, a lock screen touch scenario, a lock screen interface includes a numerical password input control, or a graphical password input control, or a fingerprint input control, corresponding to a lock screen touch scenario.
[0050] Optionally, the touch scenario information can also be other touch information determined by identifying display content of the capacitive touch device interface. For example, by means of AI (Artificial Intelligence) image recognition, it is determined that the current interface includes a digital input region and a prompt text "password", and thus it is determined that the current touch scenario is a lock screen scenario.
[0051] In a case where the touch scenario represented by the touch scenario information belongs to a target touch scenario, it is determined that the touch mode is a single-point touch mode, and a touch operation supported in the target touch scenario is a single-finger touch operation.
[0052] In some embodiments, the target touch scenario refers to a series of specific touch scenarios preset by the capacitive touch device, and in the target touch scenario, a user realizes touch operation on the capacitive touch device by single-finger operation, without the need for multi-finger touch operation on the capacitive touch device.
[0053] In some embodiments, the touch point is used to represent a touch position of a user touch operation, so as to facilitate the capacitive touch module to determine a corresponding touch event according to the touch point position (coordinates of the touch point) and report the touch event. For example, the touch point of a sliding operation has a linear and continuous feature, and the capacitive touch module reports a touch event corresponding to the sliding operation.
[0054] In some possible application scenarios, in a case where it is determined that the touch scenario belongs to a target touch scenario, and the capacitive touch module is capable of responding to multi-point touch, the capacitive touch module can also identify a suspected touch point generated by a water screen when identifying a touch point generated by a touch object operation, resulting in that the capacitive touch module reports a touch event corresponding to the suspected touch point, and fails to identify a touch point corresponding to the touch object operation, and thus causing the touch event of the touch object operation to fail to be reported.
[0055] To avoid the foregoing problems, the capacitive touch module enters a single-point touch mode in a target touch scenario, i.e., a touch mode in which only one touch point is determined for reporting, in which other suspected touch points in the target touch scenario are suppressed to prevent the suspected touch points from interrupting the recognition process of the capacitive touch module for the single-finger operation of the user.
[0056] In step 103, in a case where a touch point is scanned and the capacitive touch module is in a water state, touch point suppression is performed in the single-point touch mode based on a touch point suppression strategy. The water state refers to a state entered after the screen is recognized to be wet.
[0057] In some embodiments, the touch point suppression strategy refers to a strategy for suppressing suspected touch points by using some preset rules to obtain a single touch point for reporting. The touch point suppression strategy mainly suppresses touch points that do not conform to the operation intention of the user in the target touch scenario. For example, in a target touch scenario in which the user does not need to use a click operation, the click operation does not conform to the operation intention of the user, and the capacitive touch module suppresses all click operations in this scenario.
[0058] In some embodiments, the scanning manner of the capacitive touch module for the touch point can include common scanning manners such as self-capacitance scanning, mutual-capacitance scanning, and self-capacitance and mutual-capacitance alternating scanning, which are not limited in the embodiments of the present application.
[0059] In some embodiments, the capacitive touch module can recognize that the screen is wet according to the difference between the water contact and the touch of the touch object in the above-mentioned scanning manners, and then enter the water state. For example, a finger can cause the mutual capacitance to decrease, and a water droplet can cause the mutual capacitance to increase. Therefore, it can be determined that the screen is wet and enter the water state according to the mutual capacitance signal exceeding a threshold. Alternatively, the capacitive touch module can also determine whether to enter the water state according to the scanning result of the self-capacitance and mutual-capacitance alternating scanning. Alternatively, the capacitive touch module can also enter the water state according to other common manners, which are not limited in the embodiments of the present application.
[0060] In the embodiments of the present application, in a case where a touch point is scanned and the capacitive touch module is not in a water state, the capacitive touch module determines that the screen is not wet, and does not need to suppress the touch point, and then reports the touch event. In a case where a touch point is scanned and the capacitive touch module is in a water state, the capacitive touch module determines that the screen is wet, and then performs touch point suppression according to the touch point suppression strategy, so as to accurately report a single touch point generated by a single-finger operation.
[0061] In step 104, the touch event is reported based on the suppressed touch point. The touch event reported in the single-point touch mode includes a single touch point.
[0062] In some embodiments, the capacitive touch module obtains at most one touch point according to a touch point suppression strategy, wherein if a single touch point is obtained after suppression, a touch event is reported; if no touch point is obtained after suppression, no touch event is reported.
[0063] In summary, in the embodiment of the present application, the capacitive touch module enters the single-point touch mode by determining the current touch scene, so as to suppress other touch points generated in the single-finger control scene. When the capacitive touch module is in a water state, determining that the screen is wet can easily interfere with the correct identification of the touch point. Therefore, the capacitive touch module adopts a touch point suppression strategy, and performs touch point suppression in the single-point touch mode. When reporting a touch event, only a single touch point is reported, so as to avoid other touch points appearing on the wet screen interrupting the reporting of the touch event corresponding to the single-finger operation, causing the operation to fail, thereby improving the success rate of the single-finger operation in the single-finger control scene.
[0064] In some single-finger control scenarios, the user's touch operation intention depends on the controls on the interface of the capacitive touch device. For example, the user performs a touch operation by clicking a button control. The control has a certain control area, so the capacitive touch module can suppress touch points outside the control area.
[0065] In other single-finger control scenarios, specific touch operations are more likely to occur, or specific touch operations are easily interrupted by other touch operations, resulting in operation failure. Capacitive touch devices can increase the success rate of touch operations that are more likely or easily interrupted by setting touch operation priorities for the capacitive touch module.
[0066] In other single-finger manipulation scenarios, the suspected touch point on the water-soaked screen is stationary, while the touch point generated by single-finger manipulation has the characteristic of dynamic change. Capacitive touch devices can suppress the stationary touch point. It should be noted that the above-mentioned stationary does not only mean that the touch point remains at a fixed coordinate position for a period of time, but also means that the touch point remains within a fixed range for a period of time. Because this fixed range is small, the touch point does not have obvious position changes, which is similar to a stationary state.
[0067] Based on the above reasoning, it can be seen that in the target touch scenario, the touch point suppression strategy adopted by the capacitive touch device may include at least one of the following:
[0068] 1. Touch point suppression is performed based on suppression area information, where the suppression area information is used to indicate the screen area where touch point suppression is performed.
[0069] 2. Touch point suppression is performed based on operation response priority information, where the operation response priority information is used to indicate the response priority of different types of touch operations.
[0070] 3. Touch point suppression based on historical touch point based touch information.
[0071] Please refer to Figure 2 which shows a flowchart of a touch event reporting method provided by another example embodiment of the present application. The method comprises the following steps.
[0072] Step 201: Obtain touch scene information.
[0073] Step 202: In the case where the touch scene represented by the touch scene information belongs to a target touch scene, determine that the touch mode is a single-point touch mode, and the touch operation supported in the target touch scene is a single-finger touch operation.
[0074] It should be noted that the implementation of steps 201 to 202 can refer to steps 101 to 102, and the embodiments of the present application will not be described here.
[0075] Step 203: Perform touch point suppression based on suppression region information, which is used to indicate the screen region where touch point suppression is performed.
[0076] In some embodiments, the suppression region refers to a region where the user does not need to perform touch operation, i.e., a screen region outside the touch control. The suppression region information is used to represent the suppression region, so that the capacitive touch module performs touch point suppression in the case where the touch point is in the suppression region.
[0077] In some embodiments, the user's touch operation can be an operation on a control on the interface, such as a click operation on an interface button, or a touch operation without a control, such as an up-sweep operation in a short video browsing process.
[0078] Optionally, the suppression region information can determine a control region by representing the position information of each control in the interface displayed on the screen, and determine the screen region outside the control region as the suppression region, i.e., suppress the touch point in the case where the touch point does not belong to the control region.
[0079] Optionally, the suppression region information can also represent a blank region where the user does not need to perform touch operation. For example, in the case where the touch operation required by the user is concentrated in the middle of the screen, the blank region around the screen interface can be determined as the suppression region, and the suppression region information only represents the blank region.
[0080] Step 204: Perform touch point suppression based on operation response priority information, which is used to indicate the response priority of different types of touch operations.
[0081] In some embodiments, the operation response priority information is used to represent the correspondence between different types of touch operations and response priorities. The capacitive touch module reads the operation response priority information, and in the case of multiple touch operations, the capacitive touch device responds to the touch operation with a high response priority.
[0082] In one possible implementation, the capacitive touch device determines the type of touch operation according to the position of the touch point in consecutive touch frames, and then in the case of two types of touch operations (two different touch points in the touch frame), the touch operation with a high priority is responded to by querying the response priority information of the touch operation, and the touch operation with a low priority is not responded to.
[0083] Step 205: suppress the touch point based on the touch information of the historical touch point.
[0084] In some embodiments, the historical touch point refers to the touch point in the touch frame in the past period of time. In the case of a long time of the same touch point in the fixed touch range, the touch point is suppressed. The area of the fixed touch range is less than or equal to the touch area when the touch object is touched, and the long time of the historical touch point in the fixed touch range means that the touch point of the historical touch point is not the touch point generated by the touch operation, and therefore the touch point is suppressed.
[0085] It should be noted that in the embodiments of the present application, at least one of steps 203 to 205 is executed, and the execution timing is not limited.
[0086] Step 206: report the touch event based on the suppressed touch point, and the touch event reported in the single-point touch mode includes a single touch point.
[0087] It should be noted that the implementation of step 206 can refer to step 104, and the embodiments of the present application will not be described here.
[0088] In the embodiments of the present application, the capacitive touch module adopts at least one of the suppression methods of suppression according to the suppression region, suppression according to the operation response priority, and suppression according to the historical touch point to suppress the touch point that does not meet the user's single-finger touch operation intention in the target touch scenario, thereby improving the success rate of single-finger touch operation.
[0089] In some embodiments, as shown in Figure 3 The suppression process of suppressing the touch point based on the suppression region information can specifically include the following steps.
[0090] Step 203A: determine the suppression region information corresponding to the target touch scenario.
[0091] In some embodiments, the suppression region can be different in different target touch scenarios, and the suppression region information can configure different suppression regions for different target touch scenarios, thereby improving the accuracy of touch point suppression in the target touch scenario.
[0092] In one possible implementation, the touch system sends the control information on the screen interface to the capacitive touch module, and the capacitive touch module determines the suppression region information according to the control information, i.e., determines the screen region other than the control region as the suppression region.
[0093] In another possible implementation, the touch system determines a blank region without controls as the suppression region, and determines information representing the screen position of the region as the suppression region information.
[0094] Optionally, the target touch scenario can be a lock screen interface touch scenario, or a touch scenario of other interfaces. The following mainly describes the suppression region information in the lock screen interface touch scenario.
[0095] Since the unlocking operation on the screen in the lock screen interface touch scenario is concentrated in the center of the interface, the touch point appearing at the edge of the screen is not used for touch control on the lock screen interface, and is likely to interrupt the touch operation of the touch object in the center of the interface.
[0096] In one exemplary example, as shown in Figure 4 When a finger touches the lock screen interface and performs a sliding operation from the bottom to the top, a touch point 400 is generated, and a suspected touch point 401 appears at the edge of the screen, which interrupts the recognition of the sliding operation by the capacitive touch module. Since the sliding distance of the touch point 400 is not enough, the capacitive touch module cannot respond to the sliding operation, resulting in a failed sliding operation.
[0097] In some possible implementations, in order to prevent the touch point at the edge of the screen from interfering with the unlocking process under the lock screen interface, when the target touch scenario is the lock screen interface touch scenario, the capacitive touch module first determines the first suppression region information, and the screen region indicated by the first suppression region information is the edge touch region.
[0098] As shown in Figure 4 In the lock screen interface touch scenario, the first suppression region information represents the edge touch region 402, and the capacitive touch module suppresses the touch point when the touch point is in the edge touch region 402.
[0099] Further, in order to improve the success rate of the password input operation process, the capacitive touch module can expand the range of the suppression region to suppress the touch points of the screen region other than the password input control under the lock screen interface. Since in the password input scenario, the user realizes password input through single-finger click operation, the capacitive touch module can determine that the user is performing password input when receiving the click operation, and then determine the suppression region as the screen region other than the password input region, so as to suppress more suspected touch points caused by water contact and obtain a single touch point generated by the user during password input.
[0100] In some possible embodiments, in the case that the target touch scenario is a lock screen interface touch scenario, and the touch event corresponding to the current touch point is a click operation, the second suppression region information is determined, the screen region indicated by the second suppression region information is a screen region other than the display password input control, and the screen region indicated by the second suppression region information is greater than the screen region indicated by the first suppression region information.
[0101] For example, as shown in FIG. 5, the screen region 500 displays the password input control, and the screen region other than the screen region 500 is a second suppression region 501, and the second suppression region 501 includes the edge touch region. Figure 5
[0102] It should be noted that in the graphical password input scenario, the capacitive touch device can realize touch point suppression of the lock screen interface through other touch point suppression strategies.
[0103] In step 203B, in the case that the current touch point is located in the screen region indicated by the suppression region information, the current touch point is suppressed.
[0104] In one possible embodiment, in the case that the current touch point is located in the screen region indicated by the suppression region information, the capacitive touch module determines that the current touch point is not a valid touch point, and does not report the touch point.
[0105] In another embodiment, in the case that the current touch point is located in the screen region indicated by the suppression region information, the capacitive touch module reports the touch point, but the capacitive touch device does not respond to the touch point.
[0106] In the embodiments of the present application, the capacitive touch module suppresses the touch points in the suppression region according to the suppression region information, which avoids the touch operation process of the user being interrupted by the touch points in the suppression region, improves the accuracy of single-finger control touch point recognition, and thus improves the success rate of single-finger control.
[0107] In some embodiments, as shown in FIG. 6, the screen region 600 displays the password input control, and the screen region other than the screen region 600 is a second suppression region 601, and the second suppression region 601 includes the edge touch region. Figure 6 As shown, the suppression process of touch point suppression based on operation response priority information can specifically include the following steps.
[0108] In step 204A, operation response priority information corresponding to the target touch scenario is determined.
[0109] In some embodiments, the priority of touch operation is different in different target touch scenarios. By determining the corresponding operation response priority information for different target touch scenarios, the success rate of specific touch operation in the target touch scenario can be improved.
[0110] In some embodiments, the capacitive touch device can receive multiple touch points of multiple touch operations. Since only a single touch point contained in the touch event is reported in the single-point touch mode, the capacitive touch device responds to the touch operation with high priority and suppresses the touch point generated by the touch operation with low priority after identifying the touch operation according to the priority of the touch operation.
[0111] Optionally, in the target touch scenario, the capacitive touch device can set a high priority for the touch operation with high possibility of use and set a low priority for the touch operation with low possibility of use or invalid.
[0112] Optionally, in the target touch scenario, the capacitive touch device can also set a high priority for the touch operation that realizes the key function in the current scenario and set a low priority for the touch operation that realizes the non-key function or does not realize any function.
[0113] In a possible implementation, the capacitive touch device is internally configured with a correspondence table of target touch scenarios and operation response priority information, and the capacitive touch module obtains the corresponding operation response priority information by querying the target touch scenario. For example, the first operation response priority information corresponds to the lock screen scenario, and the second operation response priority information corresponds to the album scenario.
[0114] In the case that the target touch scenario is a lock screen interface touch scenario, the sliding operation unlocking process of the lock screen interface is easily interrupted by the suspected touch point, the touch distance represented by the continuous touch points does not reach the touch distance required for implementing the sliding operation, resulting in the failure of the sliding operation recognition, thereby causing the failure of the sliding unlocking. In addition, the click operation in the lock screen interface touch scenario is generally used for inputting a digital password, and it can be determined that the click operation occurring in the sliding unlocking process is the suspected touch point generated by the water screen, rather than the click operation actually performed by the user. In summary, in the lock screen interface touch scenario, the operation response priority information indicates that the response priority of the sliding operation is higher than that of the click operation, thereby avoiding the interruption of the recognition process of the sliding unlocking operation due to the response to the click operation in scenarios other than the password input scenario, and ensuring the effective recognition of the sliding operation by the capacitive touch module.
[0115] In some embodiments, in the lock screen interface touch scenario, in the case that there are at least two touch points, one of which belongs to the sliding operation and the other of which belongs to the click operation, according to the fact that the current is not in the password input scenario, the operation response priority information, i.e., the priority of the sliding operation is higher than that of the click operation, is used to suppress the touch point belonging to the click operation.
[0116] Step 204B, in the case that there are at least two touch points, the touch point suppression is performed based on the touch operation types of the at least two touch points and the operation response priority information.
[0117] Regarding the suppression mode of the touch point, in one possible embodiment, the capacitive touch module determines that the touch point with low priority is not an effective touch point, and does not report the touch point. In another possible embodiment, the capacitive touch module reports the touch point with low priority, but the capacitive touch device does not respond to the touch operation of the touch point, and only responds to the touch operation with the highest priority among the touch operations of the at least two touch points.
[0118] In the embodiments of the present application, the capacitive touch module responds to the touch operation according to the operation response priority, which can prevent the touch operation meeting the user's manipulation intention from failing due to being interrupted by other invalid touch operations in the target touch scenario, thereby improving the success rate of the specific touch operation in the target touch scenario.
[0119] Furthermore, from the above reasoning, it can be seen that in the lock screen interface, the reasons for the failure of the sliding operation to unlock include the occurrence of the click operation, which interrupts the sliding operation process, causing the touch distance of the sliding operation to be too short, which is not enough for the capacitive touch module to recognize. Therefore, the capacitive touch module can also shorten the distance threshold of the touch distance in the water state to improve the sensitivity of the capacitive touch module to recognize the sliding operation in the water state, thereby improving the success rate of the sliding operation.
[0120] In some possible embodiments, when n consecutive touch points correspond to the same touch object identifier and the touch distance represented by the n touch points is greater than a first distance threshold, the operation type of the touch point with the touch object identifier is a sliding operation, where n is less than m, the first distance threshold is less than the second distance threshold, and m and the second distance threshold are used to identify sliding operations in other touch scenarios outside the target touch scenario.
[0121] In some embodiments, the touch object identifier is used to identify the touch points generated by the same touch object. The capacitive touch screen obtains multiple frames of touch points by scanning, where each touch frame has a single touch point corresponding to the same touch object. Multiple consecutive touch frames can obtain multiple consecutive touch points.
[0122] In one possible implementation, the capacitive touch device determines touch points in adjacent frames whose touch distance is less than the operation distance threshold as continuous touch points and uses the same touch object identifier, and determines touch points whose touch distance is greater than the operation distance threshold as discontinuous touch points and uses different touch object identifiers.
[0123] In some embodiments, the first distance threshold is used to represent the distance threshold for a slide operation in the lock screen touch scenario, and the second distance threshold is used to represent the distance threshold for a slide operation in touch scenarios other than the lock screen touch scenario. n is less than m, indicating that the number of consecutive touch points required to trigger a slide operation in the lock screen touch scenario is lower than the number of consecutive touch points required in other touch scenarios, thereby increasing the sensitivity of slide operation recognition and, therefore, the success rate of slide operations.
[0124] Optionally, the first distance threshold may be smaller than the third distance threshold, and the number of touch points n is smaller than q. The q and the third distance threshold are used to perform a sliding recognition operation in a lock screen touch scenario when the capacitive touch module is not in a submerged state.
[0125] For example, Figure 7 As shown, in other touch scenarios outside the target touch scenario, when there are more than m continuous touch points 721 in the screen area 720 and the distance corresponding to the continuous touch points 721 is greater than the second distance threshold, the continuous touch points 721 are recognized as a sliding operation.
[0126] In the target touch scenario, if there are less than m continuous touch points 711 in the screen region 710, and the interference touch point 712 appears when the distance corresponding to the continuous touch points 711 is less than the second distance threshold, the terminal cannot suppress the interference touch point 712 based on the operation response priority (the sliding operation is higher than the clicking operation) because the continuous touch points 711 do not meet the sliding operation recognition condition.
[0127] In the target touch scenario, if there are less than m and more than n continuous touch points 711 in the screen region 710, and the interference touch point 712 appears when the distance corresponding to the continuous touch points 711 is less than the second distance threshold but greater than the second distance threshold, the terminal can suppress the interference touch point 712 based on the operation response priority (the sliding operation is higher than the clicking operation) because the continuous touch points 711 meet the sliding operation recognition condition.
[0128] In one illustrative example, n = 5, m = 10, the first distance threshold is 100px, and the second distance threshold is 200px. In the case that the number of continuous touch points in the screen region 700 exceeds 5 but does not exceed 10, and the touch distance exceeds 100px but does not exceed 200px, the capacitive touch device can still recognize the sliding operation and respond.
[0129] In the above embodiment, the ghost point appears during the sliding operation process, which easily interrupts the recognition process of the sliding operation, causes the touch distance detected by the capacitive touch module to be too short, and the capacitive touch device does not respond to the sliding operation. Therefore, the capacitive touch device improves the sensitivity of the capacitive touch device in recognizing the sliding operation by reducing the distance threshold for recognizing the sliding operation and reducing the number of continuous touch points required for recognizing the sliding operation, which helps to improve the success rate of suppressing the interference touch point in the target touch scenario.
[0130] In some possible touch scenarios, such as a rain scenario, water droplets flow down along the capacitive touch screen and contact the metal frame, such as the middle frame of a mobile device, so that the metal frame is in conductive connection with the capacitive touch screen. Since the metal frame of the capacitive touch device has conductivity and grounding effect, the conductive connection between the metal frame and the capacitive touch screen will generate a suspected touch point similar to the finger touch signal on the capacitive touch screen, which will interrupt the user's touch operation and cause touch failure. The embodiments of the present application suppress the touch point based on the touch information of the historical touch point to solve the above problem.
[0131] In some embodiments, as Figure 8As shown, the suppression process of the touch point suppression based on the touch information of the historical touch point can specifically include the following execution steps.
[0132] Step 205A, determining the historical touch point with the same touch object identification as the current touch point.
[0133] In a possible implementation, in the case that there is a touch point in the previous historical frame with a touch distance to the touch point of the current historical frame less than the operation distance threshold, the capacitive touch module determines that the two touch points are continuous, and then determines the continuous touch points in the two adjacent historical frames as the historical touch points with the same touch object identification.
[0134] Step 205B, determining the touch operation type and the touch duration based on the touch information of the historical touch point.
[0135] Optionally, the touch information of the historical touch point can include the touch distance and the number of continuous frames of the historical touch point with the same touch object identification.
[0136] In a possible implementation, in the case that the touch distance of the historical touch point is less than the touch distance threshold and the number of continuous frames exceeds the frame number threshold, the current touch operation is determined as a long press operation. For another example, in the case that the touch distance of the historical touch point is less than the touch distance threshold and the number of continuous frames does not exceed the frame number threshold, the current touch operation is determined as a click operation. For another example, in the case that the touch distance of the historical touch point is greater than or equal to the touch distance threshold, the current touch operation is determined as a sliding operation.
[0137] Step 205C, performing touch point suppression on the current touch point in the case that the touch operation type is a long press operation and the touch duration is greater than the duration threshold.
[0138] In some embodiments, the suspected touch point formed by the conductive connection between the metal frame and the capacitive touch screen has the feature of long-time static, and the capacitive touch module is easy to recognize the touch operation of the suspected touch point as a long press operation, and the touch duration is obviously greater than the touch duration of the user's long press operation. It can be seen that the capacitive touch terminal can distinguish the suspected touch point generated by the conductive connection and the touch point generated by the user's operation through the preset time threshold.
[0139] Among them, if the touch operation type is a long press operation and the touch duration is greater than the duration threshold, the current touch point is determined to be a suspected touch point (ghost point) generated by the conductive connection, and the current touch point is touch point suppression. If the touch operation type is a long press operation and the touch duration is not greater than the duration threshold, the current touch point is determined to be a touch point generated by the user operation, and the touch event is then reported. For example, if the time threshold is 3s, and the touch duration of the long press operation exceeds 3s, the capacitive touch device determines that the current touch point is a ghost point.
[0140] Furthermore, in the lock screen interface touch scenario, the capacitive touch device can determine the area of the long press response function. Therefore, for the area in the lock screen interface where there is no long press response function, the capacitive touch device can determine that the touch point of the long press operation is a ghost point, thereby suppressing the current touch point.
[0141] In some embodiments, when the touch operation type is a long press, the touch duration is greater than a duration threshold, and the current touch point is located in a target area, touch point suppression is performed on the current touch point to accurately suppress ghost points. This prevents the touch point corresponding to the user's long press operation from being identified as a ghost point in the lock screen touch scenario, thereby improving the success rate of touch operations. The target area is an area of the lock screen interface where there is no long press response function, such as the top or bottom edge of a capacitive touch interface.
[0142] For example, Figure 9 The target area schematic diagram shown shows that in the lock screen interface touch scenario, when the touch operation type is a long press operation, the touch duration is greater than 3s, and the current touch point 901 is located in the bottom or top target area 902, the current touch point is touch point suppressed.
[0143] In an embodiment of the present application, a capacitive touch device determines the touch operation type and touch duration corresponding to the current touch point based on touch information from historical touch points. Because ghost points, generated by the conductive connection between the metal frame of the capacitive touch device and the capacitive touch screen, tend to remain stationary for extended periods of time, the capacitive touch device suppresses the current touch point if the current touch point corresponds to a long press operation and the touch duration exceeds a time threshold. This prevents the capacitive touch device from responding to the long press operation generated by the ghost point, potentially causing the user's touch operation to fail, thereby improving the success rate of touch operations.
[0144] In some embodiments, the preset touch configuration information for implementing the touch point suppression strategy in the capacitive touch device can no longer be applicable in the case that the touch interface or touch function in the target touch scenario changes. For example, after system update, the original suppression region information can not represent the suppression region after system update due to the change of the position of the touch control.
[0145] Optionally, the capacitive touch device can acquire the touch scenario information without updating the touch configuration information, or acquire the touch scenario information with the updated touch configuration information.
[0146] In some embodiments, the touch configuration information is provided by a system layer, which can perform touch configuration on the capacitive touch module. The touch configuration information refers to the configuration information required by the capacitive touch module to implement the touch point suppression strategy in the target touch scenario, including at least one of the suppression region information (first suppression region information, second suppression region), operation response priority information, and touch information of the historical touch point, and can further include the distance threshold and the time threshold.
[0147] For example, in the case that the range of the password entry region changes after the update of the control in the lock screen interface touch scenario, the system layer updates the suppression region information according to the screen region information of the password entry region after the update of the control, and then sends the touch configuration information containing the updated suppression region information to the capacitive touch module.
[0148] Optionally, the touch configuration information can further include other configuration information, including the control information of the touch interface and the touch history information representing the touch habit of the user, wherein the capacitive touch module can update the operation response priority information according to the touch history information, and update the suppression region information according to the control information of the touch interface.
[0149] In some possible embodiments, after the capacitive touch device performs system update, the capacitive touch device sends the updated touch configuration information to the capacitive touch module, and sends the touch scenario information to the capacitive touch module, and then performs suppression processing according to the touch point suppression strategy in the single-point touch mode.
[0150] In the embodiments of the present application, the capacitive touch device can dynamically update the touch configuration information according to the system condition, so as to update the touch point suppression strategy, improve the accuracy of the reported touch event, and further improve the success rate of single-finger operation.
[0151] Please refer to Figure 10 , Figure 10 is a flowchart of the touch event reporting process provided by an exemplary embodiment of the present application.
[0152] Step 1001, obtaining touch scene information.
[0153] The capacitive touch module receives the touch scene information sent by the system layer. The touch scene information can be a system interface notification sent by the system layer, such as a lock screen interface notification, or can be control information, so as to determine the screen area where the user performs the touch operation.
[0154] In the case where the touch point suppression strategy needs to be updated, the system layer sends touch configuration information to the capacitive touch module. The touch configuration information contains information required for implementing the touch point suppression strategy, including at least one of suppression region information, operation response priority information, and touch information of historical touch points, and also contains parameters required for the touch point suppression strategy, including distance threshold and time threshold.
[0155] The capacitive touch device updates the parameters and information required for the touch point suppression strategy according to the touch configuration information. The touch configuration information can also include control information and touch history information, which are used to update the suppression region information and the operation response priority information.
[0156] Step 1002, determining whether it is a target touch scene.
[0157] The capacitive touch module determines the current touch scene according to the touch scene information and determines whether the current touch scene is a target touch scene. The target touch scene refers to a touch scene in which the user performs a single-finger operation. The following describes the target touch scene as a lock screen interface touch scene.
[0158] If it is in the target touch scene, step 1003 is executed, otherwise the process ends.
[0159] Step 1003, entering single-point touch mode.
[0160] In single-point touch mode, the capacitive touch module reports touch events containing a single touch point, and the capacitive touch device responds to single touch operations.
[0161] Step 1004, scanning a touch point.
[0162] If there is no touch point, the process ends.
[0163] Step 1005, determining whether it is in a water state.
[0164] If it is in the water state, step 1006 is executed, otherwise the process ends.
[0165] Step 1006, performing touch suppression based on the touch point suppression strategy.
[0166] The touch point suppression strategy mainly suppresses touch points that do not conform to the user's touch operation intention in a target touch scene.
[0167] The step includes at least one of step 1007, step 1008 and step 1009, and then step 1010 is performed.
[0168] In step 1007, touch point suppression is performed based on the suppression region information.
[0169] The capacitive touch module suppresses touch points in a screen region represented by the suppression region information. The suppression region information is determined according to a target touch scene, and the suppression region information is different for different target touch scenes.
[0170] In the lock screen interface touch scene, the touch operation is concentrated in the middle region of the screen, and the screen region represented by the suppression region information is the edge touch region. The capacitive touch module suppresses touch points in the edge touch region. In the password entry interface in the lock screen interface touch scene, the suppression region information represents a screen region other than the password entry region, and the capacitive touch module suppresses touch points in the screen region other than the password entry region.
[0171] In step 1008, touch point suppression is performed based on operation response priority information.
[0172] In the case where there are at least two touch points, the capacitive touch module determines the priority of the touch operation type corresponding to the at least two touch points according to the operation response priority information, and the capacitive touch device responds to the touch operation with high priority. Among them, the operation response priority information is different for different target touch scenes, and the capacitive touch module needs to first obtain the operation response priority information according to the target touch scene, and then determine the priority of the current touch operation according to the operation response priority information.
[0173] In the lock screen interface touch scene, since the click operation may be caused by a ghost point, it is easy to interrupt the process of identifying the sliding operation by the capacitive touch module. Therefore, in the lock screen interface, especially in the sliding unlocking interface, the priority of the sliding operation is higher than that of the click operation, so that the capacitive touch device responds to the sliding operation and improves the success rate of the sliding operation.
[0174] Further, the capacitive touch device sets a first distance threshold according to the touch distance required for the sliding operation in the lock screen interface touch scene, and the first distance threshold is smaller than the distance threshold in other touch scenes. Reducing the distance threshold can improve the success rate of identifying the sliding operation in the lock screen scene, thereby improving the success rate of the sliding operation.
[0175] In step 1009, touch point suppression is performed based on touch information of historical touch points.
[0176] The capacitive touch module determines the touch operation type and touch duration of a current touch point according to touch information of a historical touch point, and suppresses a ghost point that is long-time stationary on the capacitive touch screen by recognizing a long-press operation with a duration exceeding a threshold.
[0177] Further, in a lock screen interface touch scenario, the capacitive touch device can determine an area (target area) without long-press response function according to the lock screen interface, and then suppress a ghost point that is long-time stationary in the target area.
[0178] In step 1010, a touch event is reported based on the suppressed touch point.
[0179] After the capacitive touch module suppresses the touch point according to the touch point suppression strategy in the single-point touch mode, a touch event containing a single touch point is reported.
[0180] Please refer to Figure 11 , Figure 11 A structural block diagram of a touch point processing apparatus provided by an example embodiment of the present application is shown. The apparatus includes the following modules.
[0181] A scenario acquisition module 1101 is configured to acquire touch scenario information.
[0182] A mode determination module 1102 is configured to determine that the touch mode is a single-point touch mode if the touch scenario represented by the touch scenario information is a target touch scenario, and the touch operation supported in the target touch scenario is a single-finger touch operation.
[0183] A suppression module 1103 is configured to suppress a touch point in the single-point touch mode based on a touch point suppression strategy if a touch point is scanned and a water state is entered, where the water state refers to a state entered after a water screen is recognized.
[0184] A reporting module 1104 is configured to report a touch event based on the suppressed touch point, and the touch event reported in the single-point touch mode contains a single touch point.
[0185] Optionally, the suppression module 1103 is further configured to:
[0186] suppress the touch point based on suppression area information, where the suppression area information is used to indicate a screen area in which the touch point is suppressed;
[0187] suppress the touch point based on operation response priority information, where the operation response priority information is used to indicate the response priority of different types of touch operations;
[0188] suppress the touch point based on touch information of a historical touch point.
[0189] Optionally, the inhibiting module 1103 is further configured to:
[0190] determine the inhibition region information corresponding to the target touch scenario;
[0191] in a case where the current touch point is located in a screen region indicated by the inhibition region information, inhibit the current touch point.
[0192] Optionally, the inhibiting module 1103 is further configured to:
[0193] in a case where the target touch scenario is a lock screen interface touch scenario, determine first inhibition region information, the screen region indicated by the first inhibition region information being an edge touch region.
[0194] Optionally, the inhibiting module 1103 is further configured to:
[0195] in a case where the target touch scenario is the lock screen interface touch scenario and the touch event corresponding to the current touch point is a click operation, determine second inhibition region information, the screen region indicated by the second inhibition region information being used to display a password input control, and the screen region indicated by the second inhibition region information being smaller than the screen region indicated by the first inhibition region information.
[0196] Optionally, the inhibiting module 1103 is further configured to:
[0197] determine the operation response priority information corresponding to the target touch scenario;
[0198] in a case where there are at least two touch points, perform touch point inhibition based on the touch operation types of the at least two touch points respectively and the operation response priority information.
[0199] Optionally, the inhibiting module 1103 is further configured to:
[0200] in a case where there are touch points belonging to a sliding operation and touch points belonging to a click operation in the at least two touch points, perform touch point inhibition on the touch points belonging to the click operation based on the operation response priority information.
[0201] Optionally, in a case where the same touch object identifier corresponds to consecutive n touch points, and a touch distance represented by the n touch points is greater than a first distance threshold, the operation type of the touch point with the touch object identifier is a sliding operation, where n is less than m, the first distance threshold is less than a second distance threshold, and m and the second distance threshold are used to identify a sliding operation in other touch scenarios outside the target touch scenario.
[0202] Optionally, the inhibiting module 1103 is further configured to:
[0203] determine the history touch point with the same touch object identification as the current touch point;
[0204] determine a touch operation type and a touch duration based on the touch information of the history touch point;
[0205] in a case where the touch operation type is a long press operation and the touch duration is greater than a duration threshold, perform touch point suppression on the current touch point.
[0206] Optionally, the suppression module 1103 is further configured to:
[0207] in a case where the touch operation type is a long press operation and the touch duration is greater than a duration threshold, and the current touch point is located in a target region, perform touch point suppression on the current touch point, the target region being a region in the lock screen interface where there is no long press response function.
[0208] Optionally, the scene acquisition module 1101 is further configured to:
[0209] receive the touch scene information sent by the system layer;
[0210] The apparatus further includes a configuration information acquisition module configured to:
[0211] receive touch configuration information sent by the system layer, the touch configuration information being used to configure a touch mode adopted in different touch scenes and a touch point suppression strategy adopted in different touch scenes.
[0212] In summary, in the embodiments of the present application, the capacitive touch module enters a single-point touch mode by determining the current touch scene, so as to suppress other touch points generated in a single-finger control scene. In a case where the capacitive touch module is in a wet state, it is determined that the screen is wet, which is easy to interfere with the correct identification of the touch point. Therefore, the capacitive touch module adopts a touch point suppression strategy to perform touch point suppression in the single-point touch mode, and only report a single touch point when reporting a touch event, so as to avoid other touch points appearing on the wet screen from interrupting the reporting of the touch event corresponding to the single-finger operation, causing operation failure, and improving the success rate of single-finger operation in a single-finger control scene.
[0213] It should be noted that the apparatus provided in the above embodiments is only exemplified by the division of the above functional modules. In actual applications, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the implementation process is detailed in the method embodiments, which will not be repeated here.
[0214] Referring to Figure 12 , Figure 12 A structure diagram of a capacitive touch module is shown. The capacitive touch module can include a capacitive touch screen 1201 and a touch IC 1202.
[0215] The capacitive touch screen 1201 is configured to detect node capacitance signals, and to sense a touch operation by sensing a change in the node capacitance signals generated by a touch object, and to implement picture control.
[0216] The touch IC 1202 has an operation and storage function, and is configured to obtain a touch point by scanning node capacitance signals, and to report a touch event corresponding to the touch point to a processor. In some embodiments, the touch IC 1202 is configured to implement the touch event reporting method provided in the above embodiments.
[0217] Referring to Figure 13 , Figure 13 A structure block diagram of a capacitive touch device is shown. The capacitive touch device can include one or more of the following components: a processor 1301, a memory 1302, and a capacitive touch module 1303.
[0218] Optionally, the processor 1301 utilizes various interfaces and lines to connect various parts within the entire electronic device, and performs various functions of the electronic device and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 1302, and calling data stored in the memory 1302. Optionally, the processor 1301 can be implemented in at least one of a hardware form of a digital signal processing (DSP), a field-programmable gate array (FPGA), a programmable logic array (PLA). The processor 1301 can be integrated with one or several combinations of a central processing unit (CPU), a graphics processing unit (GPU), a neural-network processing unit (NPU), and a baseband chip, and the like. Among them, the CPU is mainly used to process operating systems, user interfaces, and application programs, and the like; the GPU is used to render and draw the content to be displayed on the touch display screen; the NPU is used to implement artificial intelligence (AI) functions; and the baseband chip is used to process wireless communication. It can be understood that the above baseband chip can also not be integrated into the processor 1301, but can be implemented by a separate chip.
[0219] The memory 1302 can include a random access memory (RAM) and can also include a read-only memory (ROM). Optionally, the memory 1302 includes a non-transitory computer-readable storage medium. The memory 1302 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 1302 can include a program storage area and a data storage area, wherein the program storage area can store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, and the like), instructions for implementing various method embodiments described below, and the like; and the data storage area can store data created according to the use of the electronic device (such as audio data, a phone book), and the like.
[0220] The capacitive touch module 1303 is used to detect the change of node capacitance signal, and calculate the related information of touch event by the internal touch IC, 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.
[0221] In addition, those skilled in the art can understand that the structure of the capacitive touch device shown in the above-mentioned drawings does not constitute a limitation on the capacitive touch device, and the capacitive touch device can include more or less components than the drawings, or combine certain components, or different component arrangements.
[0222] The embodiments of the present application also provide a computer readable storage medium, which stores at least one instruction, and the at least one instruction is used to be executed by the touch IC to implement the touch event reporting method as described in the above embodiments.
[0223] The embodiments of the present application provide a computer program product or 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 the touch IC executes the computer instructions, so that the capacitive touch device executes the touch event reporting method provided in the above embodiments.
[0224] The above only describes the optional embodiments of the present application, and does not limit the present application. Any modification, equivalent replacement, improvement, etc. within the spirit and principle 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 comprises: acquiring touch scene information; in a case where the touch scene represented by the touch scene information belongs to a target touch scene, determining that a touch mode is a single-point touch mode, and a touch operation supported in the target touch scene is a single-finger touch operation; in a case where a touch point is scanned and a water state is present, performing touch point suppression in the single-point touch mode based on a touch point suppression strategy, the water state being a state entered after a water screen is identified; reporting a touch event based on the suppressed touch point, the touch event reported in the single-point touch mode containing a single touch point.
2. The method according to claim 1, characterized in that The touch point suppression in the single-point touch mode based on the touch point suppression strategy comprises at least one of the following: performing touch point suppression based on suppression region information, the suppression region information being used to indicate a screen region in which touch point suppression is performed; performing touch point suppression based on operation response priority information, the operation response priority information being used to indicate response priorities of different types of touch operations; performing touch point suppression based on touch information of a historical touch point.
3. The method of claim 2, wherein, The touch point suppression based on the suppression region information comprises: determining the suppression region information corresponding to the target touch scene; in a case where a current touch point is located in a screen region indicated by the suppression region information, suppressing the current touch point.
4. The method of claim 3, wherein, The determination of the suppression region information corresponding to the target touch scene comprises: in a case where the target touch scene is a lock screen interface touch scene, determining first suppression region information, the screen region indicated by the first suppression region information being an edge touch region.
5. The method of claim 4, wherein, The determination of the suppression region information corresponding to the target touch scene further comprises: in a case where the target touch scene is the lock screen interface touch scene and a touch event corresponding to the current touch point is a click operation, determining second suppression region information, the screen region indicated by the second suppression region information being a screen region excluding a password entry control, and the screen region indicated by the second suppression region information being larger than the screen region indicated by the first suppression region information.
6. The method of claim 2, wherein, The touch point suppression based on the operation response priority information comprises: determining the operation response priority information corresponding to the target touch scene; in a case where there are at least two touch points, performing touch point suppression based on touch operation types of the at least two touch points and the operation response priority information.
7. The method of claim 6, wherein, in a case where the target touch scene is a lock screen interface touch scene, the operation response priority information indicating that a response priority of a sliding operation is higher than a response priority of a click operation; The touch point suppression based on the touch operation types of the at least two touch points and the operation response priority information comprises: in a case where there are touch points belonging to a sliding operation and touch points belonging to a click operation in the at least two touch points, performing touch point suppression on the touch points belonging to the click operation based on the operation response priority information.
8. The method of claim 7, wherein, In a case where the continuous n touch points correspond to the same touch object identifier and a touch distance represented by the n touch points is greater than a first distance threshold, the operation type of the touch point with the touch object identifier is a sliding operation, where n is less than m, the first distance threshold is less than a second distance threshold, and m and the second distance threshold are used to identify a sliding operation in other touch scenes outside the target touch scene.
9. The method of claim 2, wherein, The touch point suppression based on the touch information of the historical touch point includes: determining the historical touch point with the same touch object identifier as the current touch point; determining a touch operation type and a touch duration based on the touch information of the historical touch point; in a case where the touch operation type is a long press operation and the touch duration is greater than a duration threshold, suppressing the current touch point.
10. The method according to claim 9, characterized in that The target touch scene is a lock screen interface touch scene. The touch point suppression in a case where the touch operation type is a long press operation and the touch duration is greater than a duration threshold includes: in a case where the touch operation type is a long press operation, the touch duration is greater than a duration threshold, and the current touch point is located in a target region, suppressing the current touch point, where the target region is a region in the lock screen interface where there is no long press response function.
11. The method according to any one of claims 1 to 9, characterized in that, The obtaining of the touch scene information includes: receiving the touch scene information sent by a system layer. The method further includes: receiving touch configuration information sent by the system layer, where the touch configuration information is used to configure a touch mode adopted in different touch scenes and a touch point suppression strategy adopted in different touch scenes.
12. A touch point processing apparatus, characterized by comprising: The apparatus includes: a scene obtaining module configured to obtain touch scene information; a mode determining module configured to determine that a touch mode is a single-point touch mode in a case where the touch scene represented by the touch scene information is a target touch scene, where a touch operation supported in the target touch scene is a single-finger touch operation; a suppression module configured to perform touch point suppression in the single-point touch mode based on a touch point suppression strategy in a case where a touch point is scanned and a water state is entered, where the water state refers to a state entered after a water screen is identified; a reporting module configured to report a touch event based on the suppressed touch point, where the touch event reported in the single-point touch mode includes a single touch point.
13. 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 configured to implement the touch event reporting method according to any one of claims 1 to 11.
14. A capacitive touch device, comprising: The capacitive touch device is provided with the capacitive touch module according to claim 13.
15. 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 configured to be executed by a touch IC to implement the touch event reporting method according to any one of claims 1 to 11.
16. A computer program product, characterised in that, The computer program product comprises 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 to implement the touch event reporting method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Method and method for preventing misoperation
CN105867789A
Method of responding to touch operations, terminals and computer-readable storage medium
CN107562262A
Control touch position reporting method and device
CN108334234A
Abnormity detection method and device, storage medium and terminal equipment
CN110703937A
False touch prevention method and device, terminal and storage medium
CN117806478A