Terminal reporting event control method and device, electronic equipment and storage medium

By obtaining and analyzing click events and coordinates on the terminal, identifying and deleting repeated point events caused by interference, the click report double-click problem caused by common model interference during charging is solved, ensuring the normal input experience of the user.

CN119311137APending Publication Date: 2025-01-14ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310851803.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-11
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

During the charging process of the terminal, when the interference signal of the power line or charger is the same or close to the working frequency band of the capacitive touch screen of the tablet, it causes common mode interference, and a problem of clicking to report a double-click event will affect the normal input of the terminal.

Method used

When the terminal is in a charged state, obtain continuous click events and point coordinates. By judging the click time interval and coordinate distance, determine the repeated point events, and delete one to avoid false alarm points and ensure that the user enters normally.

Benefits of technology

It effectively eliminates the double-click event caused by interfering signals, ensuring that the user can click normally while charging, and improving the accuracy and reliability of inputs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119311137A_ABST
    Figure CN119311137A_ABST
Patent Text Reader

Abstract

The invention relates to a terminal point reporting event control method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining at least two continuous click events sent by a terminal and point reporting coordinates of each click event under the condition that the terminal is in a charging state; determining a click time interval between two continuous click events according to the click events, and determining a click coordinate distance between the two continuous click events according to the report point coordinates; under the condition that the click time interval is smaller than a preset duration and the click coordinate distance is smaller than a preset distance, determining that the two continuous click events are repeated point reporting events; and deleting any one point reporting event in the repeated point reporting events. The normal input on the terminal is prevented from being influenced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of touch display screens, and in particular to a method, device, electronic device and storage medium for controlling terminal point reporting events. Background Art

[0002] In recent years, remote office and online classes have become a popular way, and people have an increasing demand for terminals (such as mobile phones and tablets). Users often use the terminal while charging it with a charger, so there will be finger touches on the terminal screen. At this time, when the interference signal generated by the power line or charger is the same or close to the working frequency band of the tablet's capacitive touch screen, there will be a large common-mode interference signal, resulting in a single-click reporting double-click event, affecting the normal input of the terminal. Summary of the invention

[0003] The embodiments of the present application provide a method, device, electronic device and storage medium for controlling terminal point reporting events to solve the problem of reporting a double-click event when a single-click occurs.

[0004] In a first aspect, an embodiment of the present application provides a method for controlling a terminal reporting event, the method comprising:

[0005] When the terminal is in a charging state, obtaining at least two consecutive click events sent by the terminal and the reported point coordinates of each click event;

[0006] Determine a click time interval between two consecutive click events according to the click event, and determine a click coordinate distance between the two consecutive click events according to the reported point coordinates;

[0007] When the click time interval is less than a preset time length and the click coordinate distance is less than a preset distance, determining that the two consecutive click events are repeated point reporting events;

[0008] Delete any of the repeated reporting events.

[0009] In a second aspect, a device for controlling a terminal point reporting event is provided, the device comprising:

[0010] An acquisition module, used for acquiring at least two consecutive click events sent by the terminal and the reported point coordinates of each click event when the terminal is in a charging state;

[0011] A first determining module, configured to determine a click time interval between two consecutive click events according to the click event, and determine a click coordinate distance between the two consecutive click events according to the reported point coordinates;

[0012] A second determination module, configured to determine that the two consecutive click events are repeated point reporting events when the click time interval is less than a preset time length and the click coordinate distance is less than a preset distance;

[0013] The deleting module is used to delete any of the repeated reporting events.

[0014] In a third aspect, an embodiment of the present application provides an electronic device comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; and at least one memory connected to the at least one bus.

[0015] In a fourth aspect, an embodiment of the present application further provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the method for controlling terminal point reporting events as described in any one of the above embodiments of the present application.

[0016] The above-mentioned technical scheme provided by the embodiment of the present application has the following advantages compared with the prior art: obtaining the click event sent by the terminal, for continuous single-click events, if the time interval between two consecutive single-click events is small and the coordinate distance is close, then the two consecutive single-click events are considered to be double-click events caused by the same click operation, that is, capacitive pen input and handwriting input, then one of the repeated events is deleted, so that one click operation only generates one point reporting event, ensuring normal user input. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0019] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0020] Figure 1 A flow chart of a method for controlling terminal point reporting events provided in an embodiment of the present application;

[0021] Figure 2A schematic diagram of interference signals of a capacitive screen when there is no finger touch is provided for an embodiment of the present application;

[0022] Figure 3 A schematic diagram of interference signals caused by a finger touching a capacitive screen provided in an embodiment of the present application;

[0023] Figure 4 A schematic diagram of finger input provided in an embodiment of the present application;

[0024] Figure 5 A schematic diagram of finger input and stylus input provided in an embodiment of the present application;

[0025] Figure 6 A schematic diagram of the control flow of terminal reporting events provided in an embodiment of the present application;

[0026] Figure 7 A schematic diagram of the structure of a control device for terminal reporting events provided in an embodiment of the present application;

[0027] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0029] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.

[0030] The present application embodiment proposes a method for controlling terminal reporting events. Figure 1 As shown, the method includes:

[0031] Step 101: when the terminal is in a charging state, obtaining at least two consecutive click events sent by the terminal and the reported point coordinates of each click event.

[0032] The positive and negative lines output by the charger are input into the positive voltage line and reference ground line of the whole machine. The interference signal output by the charger forms a differential signal on the positive and negative poles. The voltage difference between the two signals is basically the same even on the interference signal. Therefore, the interference signal on the differential signal has no interference to the TP (Touch Panel) sensor signal line or other loads. Figure 2 This is a schematic diagram of the interference signal of the capacitive screen when there is no finger touching it. At this time, the values ​​of capacitor cy3 and capacitor cy4 are very small.

[0033] When the charger is charging, when a person's hand touches the touch screen, the person's hand acts as the ground, and the signal on the capacitive screen and the reference ground signal are connected to the ground through capacitive coupling. The interference signal on the capacitive screen and the interference signal on the reference ground of the whole machine are different from the capacitance formed by the ground, resulting in different interference signals on the capacitive screen and the reference ground. A larger interference signal appears on the touch screen signal. Therefore, the above common-mode interference problem occurs: when the whole machine is charging and suspended, and the power supply voltage is unstable, there is a single-click double-point fault caused by common-mode interference. Figure 3 This is a schematic diagram of interference signals when a finger touches the capacitive screen. At this time, the values ​​of capacitor cy1 and capacitor cy2 are very large.

[0034] The reason for common mode interference is that when the finger clicks the screen and lifts the finger, the interference signal causes the capacitive touch screen to collect a pulse signal similar to that of a pen, and the capacitive touch screen switches to the capacitive pen writing mode. At this time, when the finger touches the screen and switches to the stylus writing mode, a finger touches the screen to report a point. Then, after the interference signal disappears, the screen switches back to the finger touch mode. At this time, the finger has not yet left the screen, and the screen collects the finger information. When the finger is lifted away from the screen, another point is reported, resulting in a failure of reporting two points during the single-click process. This phenomenon is easily perceived by users when using the input method to input letters.

[0035] Therefore, when the terminal is in a charging state, if common mode interference occurs, the terminal will send at least two consecutive click events to the central processor of the terminal, and each click event has corresponding reporting point coordinates.

[0036] Step 102: determining the click time interval between two consecutive click events according to the click events, and determining the click coordinate distance between two consecutive click events according to the reported point coordinates.

[0037] A click event includes a press sub-event and a lift sub-event. The central processing unit determines the press timestamp of the press sub-event in the current click event, and determines the lift timestamp of the lift sub-event in the previous continuous click event of the current click event; and takes the timestamp difference between the press timestamp and the lift timestamp as the click time interval.

[0038] At the same time, the central processing unit determines the pressed coordinates of the pressed sub-event in the current click event; determines the lifted coordinates of the lifted sub-event in the previous continuous click event of the current click event; and uses the coordinate distance between the lifted coordinates and the pressed coordinates as the click coordinate distance.

[0039] Step 103: When the click time interval is less than a preset time length and the click coordinate distance is less than a preset distance, determine that two consecutive click events are repeated point reporting events.

[0040] When a person's finger quickly clicks the capacitive screen at the same position, for example, a person clicks 20 times in 1 second. At this time, the event interval between two single-click events is 50 mm, so the time interval between two single-click events is usually greater than 30 milliseconds. However, due to interference, the double-click event is reported very quickly. According to actual multiple measurements, when interference causes a double-click event, the time interval between two single-click events is usually less than 25 milliseconds. The time interval threshold between two single-click events is set to 25 milliseconds. When the time interval between two consecutive click events is less than 25 milliseconds, it is considered that the single-click event caused by interference has formed a double-click or multiple click event.

[0041] However, when different fingers click at different positions, the time interval between click events performed by two different fingers may be less than 25 milliseconds. In order to eliminate the above situation, the central processing unit also needs to identify the position data of the coordinates of two or more click events.

[0042] When two consecutive reported points are at the same position, that is, the coordinate positions of two consecutive single-click events are the same, usually, because the interference disappears instantly, the coordinate positions of the two or consecutive click events caused by the interference are very close, and the coordinate point when the finger click caused by the interference becomes a double click will not exceed 5 mm, so the coordinate distance of the two click events is set to be less than 5 mm. When two fingers really click quickly at different positions, the positions of the two clicks will be larger than the finger area, so the coordinate distance formed by the two click events will be greater than 5 mm.

[0043] When the central processing unit recognizes that the distance between the coordinate points of two or more consecutive click events is less than 5 mm, preferably set to 1 mm, it can more accurately determine that the two reported points are repeated.

[0044] Step 104: Delete any of the repeated reporting events.

[0045] The central processing unit cancels any of the repeated reporting events and does not execute the response action of the single-click event, so that the current click only triggers one reporting event and forms a corresponding single-click event response. In this way, the user can perform a normal single-click operation even in the presence of interference.

[0046] In one implementation, the central processing unit may delete the second reporting event caused by the interference signal.

[0047] In an embodiment of the present application, the central processing unit obtains a single-click event, and then for consecutive single-click events, if the time interval between two consecutive single-click events is small and the coordinate distance is close, it is considered that the two consecutive single-click events are caused by the same click operation and reported double-click events, that is, capacitive pen input and handwriting input, and one of the repeated events is deleted, so that one click operation only generates one reporting event, ensuring normal user input.

[0048] Optionally, obtaining at least two consecutive click events sent by the terminal includes: obtaining at least two consecutive reporting events sent by the terminal and the reporting coordinates of each reporting event, wherein the reporting event includes a pressing sub-event and a lifting sub-event of the terminal capacitive screen; determining the reporting duration of the reporting event based on the pressing sub-event and the lifting sub-event in the same reporting event; and determining that the reporting event is a click event based on the reporting duration.

[0049] The capacitive touch screen uses the sensor to collect changes in capacitance signals to identify whether a finger touches the capacitive touch screen, and collects special pulse signals emitted by the stylus to identify whether the stylus touches the touch screen. When the stylus pulse signal is recognized, the capacitive touch screen collects the stylus pulse signal and reports the stylus coordinate signal to the terminal's central processing unit.

[0050] When a finger clicks the touch screen, the capacitive touch screen integrated chip obtains the information of the change of capacitance collected by the sensor on the capacitive touch screen, and calculates the coordinate position of the finger based on the information of the horizontal and vertical electrode sensors. At this time, the capacitive touch screen integrated chip sends a pressing sub-event to the central processing unit to inform the central processing unit that a finger starts to touch the capacitive touch screen. At the same time, the capacitive touch screen integrated chip sends coordinate information to the central processing unit at a certain time interval. When the finger is lifted from the capacitive touch screen, the capacitive touch screen integrated chip sends a lifting sub-event to the central processing unit, indicating that the finger leaves the touch screen sensor, and the process of the finger touching the capacitive screen ends, and stops sending coordinate information to the central processing unit. Figure 4 Schematic diagram of finger input.

[0051] The stylus input process is the same as the finger input process. After the capacitive touch screen receives the pulse signal from the stylus, the capacitive touch screen integrated circuit will send the pressing sub-event and lifting sub-event as well as the coordinate information to the central processing unit of the terminal. When the stylus touches the capacitive touch screen, the stylus sends a pulse signal outward, and the capacitive touch screen collects the signal sent by the stylus. After receiving the pulse signal sent by the stylus, the capacitive touch screen automatically switches to the stylus input mode under the corresponding protocol and exits the finger input operation mode.

[0052] Figure 5 This is a schematic diagram of finger input and stylus input. If the human hand touches the screen first, the screen will report the coordinate position information of the finger at the position of the hand; when the capacitive pen is close to the screen, the capacitive pen will send a pulse signal to the screen to pair with the capacitive touch screen. After the pairing is successful, it will switch to the stylus input mode. At this time, the position of the human hand is no longer reported, and the capacitive touch screen integrated circuit will report the coordinate position information of the stylus tip.

[0053] The central processing unit receives the pressing sub-event, continuous point coordinates and lifting sub-events sent by the capacitive touch screen integrated chip. According to the duration and position coordinates between the pressing sub-event and the lifting sub-event, it determines whether it is a click event, a long press or a stroke operation.

[0054] The central processing unit determines the pressing timestamp of the pressing sub-event and the lifting timestamp of the lifting sub-event in the point reporting event, and uses the timestamp difference between the lifting timestamp and the pressing timestamp as the reporting duration of the point reporting event. When the timestamp difference between the pressing sub-event and the lifting sub-event is less than the preset duration, it is determined to be a click event.

[0055] When the timestamp difference between the pressing sub-event and the lifting sub-event is greater than the preset duration, and the difference in the coordinates of the consecutive reported points is less than a certain value, it is judged as a long press event; when the timestamp difference between the pressing sub-event and the lifting sub-event is greater than the preset duration, and the difference in the coordinates of the consecutive reported points is greater than a certain value, it is judged as a line-drawing event.

[0056] The present application embodiment also provides a control flow diagram of a terminal reporting event, such as Figure 6 As shown, the following steps are included.

[0057] Step 601: The touch screen integrated circuit provides a pressing sub-event and a lifting sub-event to the central processing unit. After providing the pressing sub-event to the central processing unit, it provides coordinate data to the central processing unit at a certain time interval. The time interval is the time interval between two coordinate points reported under the fixed reporting rate of the touch screen. The lifting time marks the end of this touch event.

[0058] Step 602: The central processing unit determines whether it is a click event, a long press event, or a stroke event based on the time between the pressing sub-event and the lifting sub-event and the distance of the coordinate point change.

[0059] Step 603: If it is a click event, the central processing unit determines the time interval and coordinate distance between two click events.

[0060] Step 604: The central processing unit determines the distance between the coordinates after the pressing sub-event in the current single-click event and the coordinates before the lifting sub-event in the previous single-click event based on the time interval between the pressing sub-event in the current single-click event and the lifting sub-event in the previous single-click event. If the time interval is less than 25 mm, the central processing unit determines the distance between the coordinates after the pressing sub-event in the current single-click event and the coordinates before the lifting sub-event in the previous single-click event. When the distance is less than 5 mm, the judgment condition is met and it is determined that the current single-click event is a false alarm point caused by interference.

[0061] Step 605: The central processing unit removes the second point reporting and does not execute the response action of this single-click event.

[0062] The embodiment of the present application determines the time interval and position between two consecutive click events when performing a click operation on the capacitive screen, identifies whether the click is a normal user click or caused by interference, filters out the second point report caused by interference, ensures that the user performs normal click operation, and performs correct click input.

[0063] The present application also provides a control device for terminal reporting events, such as Figure 7 As shown, the device comprises:

[0064] The acquisition module 701 is used to acquire at least two consecutive click events sent by the terminal and the reported point coordinates of each click event when the terminal is in a charging state;

[0065] The first determination module 702 is used to determine the click time interval between two consecutive click events according to the click events, and determine the click coordinate distance between two consecutive click events according to the reported point coordinates;

[0066] The second determination module 703 is used to determine that two consecutive click events are repeated point reporting events when the click time interval is less than a preset time length and the click coordinate distance is less than a preset distance;

[0067] The deletion module 704 is used to delete any of the repeated reporting events.

[0068] Optionally, the acquisition module 701 is used to:

[0069] Acquire at least two consecutive reporting events sent by the terminal and the reporting coordinates of each reporting event, wherein the reporting event includes a pressing sub-event and a lifting sub-event of the terminal capacitive screen;

[0070] According to the pressing sub-event and the lifting sub-event in the same reporting event, the reporting duration of the reporting event is determined;

[0071] The reporting event is determined as a click event based on the reporting duration.

[0072] Optionally, the acquisition module 701 is used to:

[0073] Get the pressing timestamp of the pressing sub-event and the lifting timestamp of the lifting sub-event in the point reporting event;

[0074] The timestamp difference between the lift-up timestamp and the press-down timestamp is used as the reporting duration of the reporting event.

[0075] Optionally, the acquisition module 701 is used to:

[0076] When the timestamp difference between the lift-up timestamp and the press-down timestamp is less than a preset duration, the point reporting event is determined to be a click event.

[0077] Optionally, the first determining module 702 is used to:

[0078] Determine the press timestamp of the press sub-event in the current click event;

[0079] Determine the lift timestamp of the lift sub-event in the previous continuous click event of the current click event;

[0080] The timestamp difference between the press timestamp and the lift timestamp is taken as the click time interval.

[0081] Optionally, the first determining module 702 is used to:

[0082] Determine the pressed coordinates of the pressed sub-event in the current click event;

[0083] Determine the lift coordinates of the lift sub-event in the previous continuous click event of the current click event;

[0084] The coordinate distance between the lift coordinate and the press coordinate is taken as the click coordinate distance.

[0085] Optionally, the deletion module 704 is used to:

[0086] Delete the second point event in repeated point events.

[0087] like Figure 8 As shown, an embodiment of the present application provides an air conditioner control device, including a processor 801, a communication interface 802, a memory 803 and a communication bus 804, wherein the processor 801, the communication interface 802, and the memory 803 communicate with each other through the communication bus 804.

[0088] The memory 803 is used to store computer programs.

[0089] In one embodiment of the present application, the processor 801 is used to implement the terminal point event control method provided by any one of the aforementioned method embodiments when executing the program stored in the memory 803.

[0090] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method for controlling terminal point reporting events provided in any of the aforementioned method embodiments are implemented.

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

[0092] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0093] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0094] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for controlling terminal reporting events, characterized in that: The method comprises: When the terminal is in a charging state, obtaining at least two consecutive click events sent by the terminal and the reported point coordinates of each click event; Determine a click time interval between two consecutive click events according to the click event, and determine a click coordinate distance between the two consecutive click events according to the reported point coordinates; When the click time interval is less than a preset time length and the click coordinate distance is less than a preset distance, determining that the two consecutive click events are repeated point reporting events; Delete any of the repeated reporting events.

2. The method according to claim 1, characterized in that Acquiring at least two consecutive click events sent by the terminal includes: Acquire at least two consecutive reporting events sent by the terminal and the reporting coordinates of each reporting event, wherein the reporting event includes a pressing sub-event and a lifting sub-event of the terminal capacitive screen; Determining the time duration of the point reporting event according to the pressing sub-event and the lifting sub-event in the same point reporting event; The point reporting event is determined to be the click event according to the point reporting duration.

3. The method according to claim 2, characterized in that The step of determining the time duration of the point reporting event according to the pressing sub-event and the lifting sub-event in the same point reporting event includes: Obtaining a pressing timestamp of a pressing sub-event and a lifting timestamp of a lifting sub-event in the point reporting event; The timestamp difference between the lifting timestamp and the pressing timestamp is used as the reporting duration of the reporting event.

4. The method according to claim 3, characterized in that Determining the point reporting event as a click event according to the point reporting duration includes: When the timestamp difference between the lifting timestamp and the pressing timestamp is less than a preset time length, the reporting event is determined to be a click event.

5. The method according to claim 2, characterized in that: Determining the click time interval between two consecutive click events according to the click event comprises: Determine the press timestamp of the press sub-event in the current click event; Determine the lift timestamp of the lift sub-event in the previous continuous click event of the current click event; The timestamp difference between the pressing timestamp and the lifting timestamp is used as the click time interval.

6. The method according to claim 2, characterized in that Determining the click coordinate distance between two consecutive click events according to the reported point coordinates includes: Determine the pressed coordinates of the pressed sub-event in the current click event; Determine the lift coordinates of the lift sub-event in the previous continuous click event of the current click event; The coordinate distance between the lift coordinate and the press coordinate is used as the click coordinate distance.

7. The method according to claim 1, characterized in that The deleting any one of the repeated reporting events comprises: The second point reporting event in the repeated point reporting events is deleted.

8. A control device for terminal reporting events, characterized in that: The device comprises: An acquisition module, used for acquiring at least two consecutive click events sent by the terminal and the reported point coordinates of each click event when the terminal is in a charging state; A first determining module, configured to determine a click time interval between two consecutive click events according to the click event, and determine a click coordinate distance between the two consecutive click events according to the reported point coordinates; A second determination module, configured to determine that the two consecutive click events are repeated point reporting events when the click time interval is less than a preset time length and the click coordinate distance is less than a preset distance; The deleting module is used to delete any of the repeated reporting events.

9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing any of the methods described in claims 1-7 when executing a program stored in a memory.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.