Touch screen control method and device, electronic equipment and computer readable medium

By turning on the filtering mode in the electronic device, using the device parameters to judge and filter the false contacts caused by noise interference, the problem of data abnormalities in the touch screen system under noise interference is solved, and input accuracy and stability are improved.

CN119620910AActive Publication Date: 2025-03-14GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202311185391.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-13
Publication Date
2025-03-14
Estimated Expiration
2043-09-13

AI Technical Summary

Technical Problem

When touch screen systems are disturbed by noise or radio frequency, data abnormalities are prone to occur, resulting in the problem of ghost points and screen jumping randomly.

Method used

By obtaining the device parameters of the electronic device, including the noise signal detected by the touch screen and the charging state, if the preset interference conditions are met, the filtering mode is turned on. In filtering mode, determine the target touch point that meets the specified conditions as the valid touch point.

Benefits of technology

It effectively reduces the miscontact interference caused by noise interference, and improves the input accuracy and stability of the touch screen.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119620910A_ABST
    Figure CN119620910A_ABST
Patent Text Reader

Abstract

The invention discloses a touch screen control method and device, electronic equipment and a computer readable medium, and relates to the technical field of touch screens, the method comprises the steps that equipment parameters of the electronic equipment are acquired, and the equipment parameters comprise at least one of noise signals detected by a touch screen and the charging state of the electronic equipment; if the equipment parameter meets a preset interference condition, starting a filtering mode; and in the filtering mode, determining a target touch point which is sampled by the touch screen and meets a specified condition as an effective touch point. Therefore, the filtering mode is started through the equipment parameters of the electronic equipment, so that the target touch point meeting the specified condition can be determined as the effective touch point, and the touch points which do not meet the specified condition are filtered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of touch screen technology, and more specifically, to a touch screen control method, device, electronic device and computer-readable medium. Background Art

[0002] At present, touch screens are an important channel for human-computer interaction. Touch screens are important components in mobile phones and handheld devices. The basic principle of touch screens is capacitive sensing. When human fingers or objects touch the sensing material on the touch screen surface, the capacitance changes, and the touch screen calculates the number of fingers or objects currently pressed on the touch screen surface through an algorithm. However, the self-capacitance / mutual-capacitance data of the touch screen system is easily interfered and lacks the necessary filtering function. Summary of the invention

[0003] The present application proposes a touch screen control method, device, electronic device and computer-readable medium to improve the above-mentioned defects.

[0004] In a first aspect, the present application provides a touch screen control method, which is applied to an electronic device, wherein the electronic device includes a touch screen, and the method includes: obtaining device parameters of the electronic device, wherein the device parameters include at least one of a noise signal detected by the touch screen and a charging status of the electronic device; if the device parameters meet preset interference conditions, a filtering mode is turned on; in the filtering mode, a target touch point sampled by the touch screen that meets specified conditions is determined as a valid touch point.

[0005] In a second aspect, the present application also provides a touch screen control device, which is applied to an electronic device, wherein the electronic device includes a touch screen, and the device includes: an acquisition unit, an activation unit, and a determination unit. The acquisition unit is used to acquire device parameters of the electronic device, wherein the device parameters include at least one of a noise signal detected by the touch screen and a charging state of the electronic device; the activation unit is used to activate a filtering mode if the device parameters meet a preset interference condition; and the determination unit is used to determine, in the filtering mode, a target touch point sampled by the touch screen that meets a specified condition as a valid touch point.

[0006] In a third aspect, the present application also provides an electronic device comprising: one or more processors; a memory; and one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the above method.

[0007] In a fourth aspect, the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a program code executable by a processor, and when the program code is executed by the processor, the processor executes the above method.

[0008] The touch screen control method, device, electronic device and computer-readable medium provided by the present application can use at least one of the noise signal detected by the touch screen of the electronic device and the charging state of the electronic device as the device parameter of the electronic device. If the device parameter meets the preset interference condition, the filtering mode is turned on; in the filtering mode, the target touch point sampled by the touch screen that meets the specified condition is determined as a valid touch point. Therefore, by turning on the filtering mode through the device parameter of the electronic device, the target touch point that meets the specified condition can be determined as a valid touch point, thereby filtering those touch points that do not meet the specified condition.

[0009] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0011] Figure 1 A method flow chart of a touch screen control method provided by an embodiment of the present application is shown;

[0012] Figure 2 A method flow chart of a touch screen control method provided by another embodiment of the present application is shown;

[0013] Figure 3 A method flow chart of a touch screen control method provided by another embodiment of the present application is shown;

[0014] Figure 4 A module block diagram of a touch screen control device provided by an embodiment of the present application is shown;

[0015] Figure 5 A structural block diagram of an electronic device provided in an embodiment of the present application is shown;

[0016] Figure 6 A storage unit for storing or carrying a program code for implementing a touch screen control method according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0017] In order to make those skilled in the art better understand the present application scheme, the technical scheme in the present application embodiment will be clearly and completely described below in conjunction with the drawings in the present application embodiment. Obviously, the described embodiment is only a part of the present application embodiment, rather than all the embodiments. The components of the present application embodiment usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the present application for protection, but merely represents the selected embodiment of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0018] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0019] At present, touch screens serve as an important channel for human-computer interaction. Touch screens are important components in mobile phones and handheld devices. The basic principle of touch screens is capacitive sensing. When human fingers or objects touch the sensing material on the touch screen surface, the capacitance changes, and the touch screen calculates the number of fingers or objects currently pressed on the touch screen surface through an algorithm. The working principle of the touch screen is to periodically trigger a scanning signal of a certain frequency to detect whether an object, including a finger, is pressed on the terminal touch screen surface, and calculate the coordinates based on the capacitive signal and report them.

[0020] Touch screens can be classified according to different technical principles and working methods. The following are several common touch screen classifications: resistive touch screen, capacitive touch screen, surface acoustic wave touch screen, surface capacitive touch screen and surface acoustic wave touch screen. Among them, the capacitive sensing function of the touch screen uses the capacitive sensing principle of the touch screen to determine whether the object is in contact with the touch screen and then report the state of the object, mainly referring to the finger contacting the pen and other objects. The state is mainly divided into pressing and lifting and moving after pressing. Using the capacitive sensing principle of the touch screen, the touch screen recognizes the coordinates of the object by calculating the capacitance difference between the current object in contact with the touch screen and not in contact with the touch screen, and by calculating the area of ​​the capacitance difference, find the peak difference value of the area, and determine whether it is within a certain preset reporting threshold, so as to send the reporting point coordinates from the terminal system. The capacitive touch screen is mainly composed of a transmitting channel and a receiving channel, wherein the capacitance data collected from the transmitting channel and the receiving channel to the ground is self-capacitance data, and the data collected from the transmitting channel and the receiving channel is mutual capacitance data. At present, mutual capacitance data is used to determine whether the finger is in a pressed, moving or lifted state. The self-capacitance data is used to realize the judgment of other auxiliary functions, such as proximity sensing function, waterproof judgment, etc. Specifically, the capacitive touch screen is divided into mutual capacitance touch screen and self capacitance touch screen.

[0021] However, the inventors discovered during their research that, in the presence of display noise or radio frequency interference, or white noise interference, the self-capacitance / mutual-capacitance data of the touch screen system is easily disturbed, resulting in data abnormalities in some frames and the formation of ghost points (automatically triggered touch points or finger trajectories that appear on the screen without user touch or operation), causing random screen jumps.

[0022] Therefore, in order to overcome the above-mentioned defects, an embodiment of the present application provides a touch screen control method, which can filter the touch points of the touch screen of the electronic device to reduce the possibility of false triggering.

[0023] See also Figure 1 , Figure 1 A touch screen control method provided in an embodiment of the present application is shown, which is applied to an electronic device, wherein the electronic device includes a touch screen, and the method includes: S101 to S103.

[0024] S101: Acquire device parameters of the electronic device, where the device parameters include at least one of a noise signal detected by a touch screen and a charging state of the electronic device.

[0025] It should be noted that the noise signal of the touch screen usually refers to the unintentional touch signal or false touch signal generated when the touch screen is working. These noise signals may cause the touch screen to misjudge and inaccurate input. Usually, the reasons that may cause the noise signal of the touch screen are: electromagnetic interference, that is, other nearby electronic devices, power lines, radio equipment, etc. may generate electromagnetic interference, which is transmitted to the touch screen and causes noise signals; physical vibration, that is, mechanical vibration and the looseness of the touch screen itself may cause the touch screen to report false touches or generate noise signals; temperature and humidity changes, that is, the touch screen is sensitive to changes in temperature and humidity, which may cause the appearance of noise signals; touch screen driver or firmware problems, that is, problems with the touch screen driver or firmware may cause noise signals.

[0026] In other words, the above factors that may trigger noise signals may trigger the touch screen to sense capacitance changes, that is, generate noise signals. Usually, the touch screen corresponds to a module specifically used to detect noise signals. The module uses an independent channel for scanning, that is, this channel is not connected to the ITO sensing material, and finger pressing does not affect its capacitance data, that is, when a finger presses the channel, it will not affect the capacitance change of the channel. When external noise interferes, the channel can collect the capacitance change caused by the noise, that is, it can collect noise independently.

[0027] In addition, it is understandable that the touch screen is a technology that relies on capacitive sensing to detect touch and is easily affected by electromagnetic interference. Therefore, when the electronic device is charging, the electromagnetic waves emitted by the charger may be transmitted to the touch screen of the electronic device, causing the touch screen to accidentally touch or fail to respond normally.

[0028] Therefore, at least one of the noise signal detected by the touch screen and the charging state of the electronic device is used as a device parameter of the electronic device, and is used as a reference for whether to subsequently start the filtering mode.

[0029] It should be noted that the charging state of the electronic device may include a charging state and an uncharging state. Although the electronic device may also generate noise signals when charging, using the charging state as a device parameter of the electronic device can make it unnecessary for the electronic device to collect noise signals when determining whether to turn on the filtering mode. Therefore, compared with the noise signal detected by the touch screen, the charging state is used as another reference for turning on the filtering mode. Among them, the charging state of the electronic device can be determined by the insertion state of the charging interface or the charging current, etc. Please refer to the subsequent embodiments for details.

[0030] S102: If the device parameters meet the preset interference conditions, the filtering mode is turned on.

[0031] As an implementation mode, the device parameter includes at least one of a noise signal detected by the touch screen and a charging status of the electronic device. That is, the device parameter may be the noise signal detected by the touch screen, the charging status of the electronic device, or the noise signal and the charging status.

[0032] It should be noted that the preset interference condition is used as a reference standard for opening the filtering mode, that is, when the device parameters of the electronic device meet the preset interference condition, the touch screen of the electronic device may be at risk of being interfered with, so the filtering mode can be turned on to reduce the possibility of the touch signal of the touch screen being interfered with. Exemplarily, the noise signal and the charging state each correspond to their own conditions, that is, the preset interference condition includes the first condition and the second condition, and the conditions for opening the filtering mode will be described separately for different device parameters later.

[0033] S103: In the filtering mode, target touch points sampled by the touch screen and meeting specified conditions are determined as valid touch points.

[0034] It is understandable that when the device parameters of the electronic device meet the preset conditions, the filtering mode is turned on, and then, in the filtering mode, the touch screen system will filter the detected touch points to determine the valid touch points, and the valid touch points will be reported, and the invalid touch points will be filtered out, that is, not reported. If the device parameters of the electronic device do not meet the preset conditions, the electronic device will not turn on the filtering mode, that is, the electronic device will not filter the touch points detected by the touch screen, and will report the touch points when they are collected.

[0035] It should be noted that the filtering method may be to determine the target touch points that meet the specified conditions sampled by the touch screen as valid touch points. The specified conditions may be touch points that match the specified identifier or preset frame number filtering, that is, setting a specific frame number threshold within which no touch points are generated. In the embodiment of the present application, the specified condition may be at least one of identity matching and preset frame number filtering, and this is not limited.

[0036] Therefore, at least one of the noise signal detected by the touch screen of the electronic device and the charging state of the electronic device can be used as the device parameter of the electronic device. If the device parameter meets the preset interference condition, the filtering mode is turned on; in the filtering mode, the target touch point that meets the specified condition sampled by the touch screen is determined as a valid touch point. Therefore, by turning on the filtering mode through the device parameter of the electronic device, the target touch point that meets the specified condition can be determined as a valid touch point, thereby filtering those touch points that do not meet the specified condition.

[0037] See also Figure 2 , Figure 2 A touch screen control method provided in an embodiment of the present application is shown, which is applied to an electronic device, wherein the electronic device includes a touch screen. In the embodiment of the present application, the device parameters include a noise signal detected by the touch screen, and the method includes: S201 to S203.

[0038] S201: Acquire a noise signal detected by a touch screen of the electronic device.

[0039] S202: If the noise signal is greater than a preset threshold, start filtering mode.

[0040] That is to say, in the embodiment of the present application, the aforementioned implementation of if the device parameter satisfies the preset interference condition is if the noise signal is greater than the preset threshold. It can be understood that, as mentioned above, in the case where the device parameter of the electronic device is the noise signal detected by the touch screen, the aforementioned preset interference condition is the first condition, and the implementation of the noise signal satisfying the first condition is that the noise signal is greater than the preset threshold.

[0041] As an implementation mode, the touch screen of the electronic device corresponds to a sampling operation, and the sampling operation is used to collect touch points on the touch screen. The sampling operation corresponds to a sampling rate. The sampling rate of the touch screen refers to the number of times the touch screen samples the touch input per second, which indicates the frequency at which the touch screen obtains touch information from the user. A sampling cycle can be used as a frame of the touch screen sampling operation. For example, the sampling rate of the touch screen of the electronic device is 120Hz, that is, 120 samples are collected per second, and a frame, i.e., a sampling cycle, is 1 / 120=8ms. Usually, within a sampling cycle, i.e., a frame, the electronic device can sample multiple touch points acting on the touch screen, and there may be noise signals in the touch points. Therefore, in the embodiment of the present application, the noise signal can be collected. If the collected noise signal is greater than the preset threshold, it is determined that in the current environment of the electronic device, there is a large noise that will interfere with the normal reporting of the touch points of the touch screen, and then the filtering mode will be turned on.

[0042] S203: In the filtering mode, target touch points sampled by the touch screen and meeting specified conditions are determined as valid touch points.

[0043] It should be noted that, in the filtering mode, after the touch screen detects a touch point, it will determine whether the touch point meets the specified conditions. Only when the specified conditions are met will the target touch point that meets the specified conditions be determined as a valid touch point, and then the valid touch point will be reported. For touch points that do not meet the specified conditions, they are determined as invalid touch points and will not be reported. That is to say, in the filtering mode, other touch points sampled by the touch screen that do not meet the specified conditions are determined as invalid touch points.

[0044] It can be understood that each touch point corresponds to attribute information, and the attribute information may include an identity and duration, wherein the identity is used to characterize the identity of the touch point, and the identity may be determined based on at least one of the touch area, touch profile, and other information of the touch point, and the other information may be the fingerprint information of the finger. For example, the touch point is a pressing point of the user's hand on the touch screen, and the identity information of the touch point may be called a finger ID. The touch screen usually uses multi-touch technology to identify and track multiple fingers. When multiple fingers touch the touch screen at the same time, each finger is assigned a unique finger ID so that the system can distinguish and track their positions. In most cases, the identification and tracking of finger IDs is completed by the operating system or device driver, and the application does not need to directly process the finger ID. Different operating systems may provide different finger ID identification methods. For the Android system, the Android operating system usually detects and tracks finger touch events through MotionEvent objects. In each touch event, the getPointerId(int pointerIndex) method can be used to obtain the unique ID of the finger. The parameter pointerIndex of this method represents the index of the finger, 0 represents the first finger, 1 represents the second finger, and so on.

[0045] In addition, the above duration can represent the number of scanning cycles in which the touch point of the user on the touch screen is continuously detected. For example, if a scanning cycle is 8ms, then if the touch point is detected for 4 consecutive scanning cycles, it can be determined that the duration is not less than 32ms.

[0046] Therefore, corresponding filtering methods can be set for the two attributes of the touch point identity and duration.

[0047] The first filtering mode, that is, in this filtering mode, the electronic device filters the identity identifiers of the touch points collected by the touch screen, and the implementation method of S203 is: in the filtering mode, the target touch point sampled by the touch screen is detected; if the identity identifier of the target touch point is the first designated identifier, the target touch point is determined to be a valid touch point. Among them, the identity identifier of the target touch point is the finger ID corresponding to the target touch point, that is, the target finger ID, and the first designated identifier can be a pre-set identity identifier. As mentioned above, different fingers correspond to different IDs. Through the finger ID, it can be known whether the finger corresponding to the touch point currently acting on the touch screen is the left thumb, the right thumb, or other fingers. Therefore, by setting the first designated identifier, the touch screen of the electronic device can only respond to the touch of a specific finger.

[0048] It should be noted that the first designated identifier can be set based on actual usage needs and is not limited here. As a way, the first designated identifier can be determined based on the current application scenario of the electronic device. The application scenario includes the application currently running in the foreground of the electronic device, and then the finger ID that the user frequently uses in the application scenario is determined, and the frequently used finger ID is used as the first designated identifier, wherein the frequently used finger ID can be a finger ID that is used more than the specified frequency within a preset time period.

[0049] Therefore, after determining that the device parameters of the electronic device meet the preset interference conditions and turning on the filtering mode, the application scenario of the electronic device is obtained, the first designated identifier corresponding to the application scenario is determined, and then the above-mentioned first filtering mode is used to determine the valid touch points and filter out the invalid touch points.

[0050] As another embodiment, since the user may use different holding methods to hold the mobile phone, the fingers that touch the touch screen may be different, so the first designated identifier may be determined according to the holding method of the electronic device, wherein the holding method may include left-hand single holding, right-hand single holding and dual holding. For example, when the holding method of the electronic device is right-hand single holding, the fingers other than the thumb of the right hand are usually not used to touch the touch screen of the electronic device, and the user usually uses the thumb of the right hand and the thumb, index finger and middle finger of the left hand to touch the touch screen, so for the electronic device in the right-hand single holding state, the first designated identifier set is the identity identifier of the thumb of the right hand and the thumb, index finger and middle finger of the left hand. For another example, when the holding method of the electronic device is left-hand single holding, the fingers other than the thumb of the left hand are usually not used to touch the touch screen of the electronic device, and the user usually uses the thumb of the left hand and the thumb, index finger and middle finger of the right hand to touch the touch screen, so for the electronic device in the left-hand single holding state, the first designated identifier set is the identity identifier of the thumb of the left hand and the thumb, index finger and middle finger of the right hand. For another example, when the electronic device is held in dual-holding mode, the user usually uses the left thumb and the right thumb to touch the touch screen. Therefore, for the electronic device in dual-holding mode, the first designated identifier set is the identity identifier of the left thumb and the right thumb.

[0051] For example, the way an electronic device is held can be detected by a gravity sensor or an acceleration sensor of the electronic device. For example, if the electronic device is a mobile phone, the gravity sensor in the mobile phone can detect the direction and tilt angle of the mobile phone in space. By monitoring the tilt angle of the mobile phone, the way the mobile phone is held can be inferred. Alternatively, the acceleration sensor of the mobile phone can detect the acceleration or linear acceleration change of the mobile phone. Depending on the different holding methods, the dynamic characteristics of the mobile phone in the hand will be different. By analyzing the acceleration sensor data, the holding method of the mobile phone can be identified.

[0052] Therefore, after determining that the device parameters of the electronic device meet the preset interference conditions and turning on the filtering mode, the holding state of the electronic device is obtained, the first designated identifier corresponding to the holding state is determined, and then the above-mentioned first filtering mode is used to determine the valid touch points and filter out the invalid touch points.

[0053] The second filtering mode is that in this filtering mode, the electronic device filters the duration of the touch points collected by the touch screen, and the implementation method of S203 is: in the filtering mode, the target touch points sampled by the touch screen are detected; if it is determined that the target touch points are collected in a continuous specified number of touch screen sampling operations, the target touch points are determined as valid touch points, wherein the specified number is greater than or equal to the preset number.

[0054] Exemplarily, as mentioned above, the touch screen of the electronic device collects the touch points generated in a sampling cycle according to the sampling rate. After detecting the existence of the touch point, the touch point continues to be detected. If the touch point is collected in the next specified number of sampling cycles, the touch point can be determined to be a valid touch point. If the touch point is collected before the specified number of times, it will not be determined as a valid touch point, that is, the touch point will not be reported. If the continuous number of sampling cycles in which the touch point is continuously collected is not the specified number of times, that is, the continuous number of times is less than the preset number of times, the touch point is determined to be an invalid touch point and the reporting operation is not performed. Therefore, through the second filtering mode, the touch point whose touch duration is less than the preset number of sampling cycles can be determined as a false touch point, that is, it will not be determined as a valid touch point. Among them, the preset number of times can be determined based on actual usage needs and is not limited here.

[0055] The third filtering mode, that is, in this filtering mode, the electronic device filters the duration and identity of the touch points collected by the touch screen at the same time, and the implementation method of S203 is: in the filtering mode, the target touch point sampled by the touch screen is detected; if the identity of the target touch point is the second designated identifier, and it is determined that the target touch point is collected in the touch screen sampling operations for a continuous designated number of times, the target touch point is determined to be a valid touch point, wherein the designated number of times is greater than or equal to the preset number of times.

[0056] As an implementation mode, the preset number of times is pre-set for the identity of the target touch point. Exemplarily, a first correspondence table of identity and number of times can be pre-set, and the first correspondence table includes multiple identity (such as finger ID) and the number of times corresponding to each identity. The number of times corresponding to each identity can be understood as the minimum number of times the touch point corresponding to the identity needs to be continuously collected to be determined as a valid touch. Taking the touch point as a finger touch as an example, the number of times corresponding to the finger ID of each touch point can be different, and the setting of the specific number of times can be set based on the actual usage scenario. For example, the number of times corresponding to the touch points with finger IDs of 1, 2, and 3 can be 1.

[0057] In addition, for the third filtering mode, it is also possible to set a preset number of filtering times for certain fingers, while not setting a preset number of filtering times for other fingers, that is, to determine whether the identity identifier of the target touch point is the second designated identifier. If it is the second designated identifier, it is determined whether the target touch point is collected in the touch screen sampling operations for the consecutive specified number of times. If the target touch point is collected in the touch screen sampling operations for the consecutive specified number of times, the target touch point is determined to be a valid touch point. If the identity identifier of the target touch point is not the second designated identifier, the operation of determining whether the target touch point is collected in the touch screen sampling operations for the consecutive specified number of times will not be performed. It can be directly determined as a valid touch point, or other filtering methods can be used.

[0058] It should be noted that the second designated identifier may be the same as the aforementioned first designated identifier, or may be different. As an implementation mode, the second designated identifier is the same as the aforementioned first designated identifier, and the purpose of the third filtering mode is: not only to verify the identity of the touch point, but also to verify the number of times the touch point has been continuously sampled. A touch point will only be determined as a valid touch point if the identity of the target touch point passes and the duration passes. In this case, if at least one of the following conditions is met: the identity identifier is not the second designated identifier and has not been collected in the touch screen sampling operations for a continuous specified number of times, the touch point is determined to be an invalid touch point and is not reported.

[0059] As another implementation manner, the second designated identifier is different from the aforementioned first designated identifier. The purpose of the third filtering mode is: considering that a preset number of filtering can be set for some fingers, while a preset number of filtering is not set for some fingers, the ID of the finger that needs to perform the preset number of filtering can be set as the second designated identifier. Then, in this case, the purpose of determining whether the identity identifier of the target touch point is the second designated identifier is to determine whether the touch point needs to perform a subsequent duration verification operation, wherein the duration verification operation is to determine whether the target touch point is collected in the touch screen sampling operations for a continuous specified number of times. If the identity identifier of the target touch point is the second designated identifier, the duration verification operation is performed. If the identity identifier of the target touch point is not the second designated identifier, the touch point can be directly determined to be a valid touch point, or it can be determined to be an invalid touch point. Of course, it is also possible to determine whether the identity identifier of the target touch point is the first designated identifier when it is determined that the identity identifier of the target touch point is not the second designated identifier. If it is the first designated identifier, the target touch point is determined to be a valid touch point. If the target touch point is not the first designated identifier, the target touch point is determined to be an invalid touch point. That is, for the target touch point within the second designated mark, a duration verification operation is performed, and for the target touch point outside the second designated mark, an identity verification operation is performed based on the first designated mark.

[0060] Therefore, in the embodiment of the present application, when the noise signal is greater than a preset threshold, the filtering mode is turned on, so that the electronic device enters the noise mode. By determining the touch points under specified conditions, the interference of the false touch points on the touch operation of the touch screen can be effectively reduced.

[0061] See also Figure 3 , Figure 3 A touch screen control method provided in an embodiment of the present application is shown, which is applied to an electronic device, wherein the electronic device includes a touch screen. In the embodiment of the present application, the device parameter includes a charging status of the electronic device, and the method includes: S301 to S303.

[0062] S301: Acquire the charging status of the electronic device.

[0063] It should be noted that the charging state may include a charging state and an uncharged state, wherein the charging state indicates that the electronic device believes that there is an external power source that is or is about to charge the electronic device, while the uncharged state indicates that the electronic device believes that there is no external power source that is or is about to charge the electronic device. It can be understood that the charging state is a subjective determination result of the electronic device, and does not depend on whether there is an objective charging device charging the electronic device. For example, the current electronic device is connected to a charging device, but the charging device does not charge the electronic device. As long as the electronic device meets the preset conditions, the electronic device will subjectively believe that the charging device is about to charge the electronic device. The electronic device can set the charging state to the charging state, so that it can enter the filtering mode in advance before charging. Therefore, the electronic device can obtain the insertion state of the charging interface, and can determine the charging state in combination with the electrical signal of the charging interface, or it can determine the charging state not based on the electrical signal of the charging interface.

[0064] Exemplarily, the electronic device obtains the usage status of the charging interface of the electronic device, and the usage status may include the charger insertion status and the charger uninserted status. Typically, an electronic device (e.g., a smart phone) will have a charging detection chip or integrated circuit, which can monitor whether a USB port or a Type-C port is plugged into a charger. These chips usually send information about the insertion and removal of the charger to the main processor, which is then processed by the operating system. The operating system usually provides a corresponding interface or API to capture interrupt events generated by the insertion and removal of the USB port or Type-C port. By monitoring these interrupt events, the usage status of the charging interface can be determined. Exemplarily, the monitoring method can be implemented through a related API or system call. For example, in the Android system, the API provided by the Android Development Kit (SDK) can be used to read the usage status of the charging interface. By registering a broadcast receiver to monitor changes in the charging status, information such as the connection status of the charging port and the battery level can be obtained.

[0065] As an implementation mode, when the electronic device determines that the use state of the charging interface is the charger plugged in state, it directly determines that the charging state of the electronic device is the charging state. In this case, the electronic device can enter the filtering mode in advance before the electronic device is charged.

[0066] In addition, considering that users usually charge electronic devices in some time periods, for example, the time period when the electronic device is charged when it is in use, i.e., the charging time period, can be counted in advance. The charging time period is the time period when the number of times the electronic device is charged when it is in use is greater than the specified number of times, i.e., in this time period, the electronic device is more likely to be charged. Therefore, if the electronic device detects that the use state of the charging interface is the inserted state, and the current time period is the charging time period, the charging state of the electronic device is determined to be the charging state, otherwise, it is determined to be the uncharged state.

[0067] Furthermore, when the electronic device detects that the charging interface is in the inserted state, the remaining power of the electronic device can be obtained. If the remaining power is less than the specified power threshold, the charging state of the electronic device is determined to be the charging state, otherwise, it is determined to be the uncharged state. The specified power threshold can be pre-statisticed, that is, based on the historical charging operation records of the electronic device, the remaining power of the electronic device before each charging operation is counted, named as the charging power, and the specified power threshold is obtained based on each charging power in the historical charging operation records. For example, the minimum charging power can be used as the specified power threshold, the maximum charging power can be used as the specified power threshold, the average value of all charging powers can be used as the specified power threshold, and the charging power with the most occurrences can be used as the specified power threshold. The specifics are not limited here.

[0068] As another implementation, when the electronic device determines that the use state of the charging interface is the charger inserted state, it is also necessary to determine the charging state of the electronic device in combination with the electrical signal of the charging interface. Exemplarily, the use state of the charging interface of the electronic device is obtained; if the use state is the charger inserted state, the electrical signal of the charging interface is obtained; if the electrical signal meets the preset conditions, the charging state of the electronic device is determined to be the charging state. Wherein, the electrical signal may be a voltage value or a current value, and the electrical signal may meet the preset conditions that the voltage value is greater than the specified voltage value, or the current value is greater than the specified current value. Usually, when an external power source charges the electronic device through the charging interface, the charging device is at a high potential, the mobile phone is at a low potential, and the voltage value and current value of the charging signal are usually greater than a certain value. The charging voltage and charging current of the charging interface can be obtained through the BatteryManager class of the Android system.

[0069] In addition, if the electrical signal does not meet the preset condition, the charging state of the electronic device can be directly determined to be an uncharged state, or the charging state of the electronic device can be determined in combination with other information of the electronic device.

[0070] The following describes an implementation method for determining the charging state of the electronic device in combination with other information of the electronic device when the electrical signal does not meet the preset condition.

[0071] In the first way, considering that the charging interface of the electronic device is in the inserted state, if a charging device is connected, the charging device may not be connected to an external power source. For example, when the user inserts the charger into the charging interface of the mobile phone, the charger is not plugged into the socket, that is, connected to the mains. In order to make the electronic device enter the filtering mode in advance before the user subsequently connects the charger to the external power source, the location information of the electronic device can be combined to determine whether the electronic device is in the charging state. In other words, the aforementioned other information can be the location information of the electronic device, so that when the charging interface of the electronic device is in the inserted state and the electrical signal of the charging interface does not meet the preset conditions, the location information of the electronic device is obtained. If the location information is within the preset position range, the charging state of the electronic device is determined to be the charging state, otherwise, the charging state of the electronic device is determined to be the uncharged state. Among them, the preset position range is the position where the user frequently charges, that is, the historical charging positions of the electronic device each time the electronic device is charged within a preset historical time period are counted to obtain the number of each historical charging position, and the preset position range is determined based on the cumulative number of each historical charging position. Exemplarily, the historical charging positions can be sorted according to the cumulative number, the top N positions in the sort are used as target positions, and the preset range of each target position is used as the preset position range of the target position, wherein N can be an integer not less than 1.

[0072] It is understandable that users usually charge their electronic devices at their permanent address or office location. Therefore, the preset location range determined by the cumulative number of historical charging locations mentioned above is likely to include the permanent address or office location. When the user plugs the electronic device into the charger at the permanent address or office location, there is a great demand or willingness to charge. Although there may be some reasons that cause the electrical signal of the charging interface to fail to meet the preset conditions, this failure to meet the preset conditions may only be temporary. Therefore, in this case, it is still determined that the charging interface is in a charging state. Not only can the filtering mode be entered in advance, but also the reporting operation of the touch point of the touch screen can be avoided from being interfered with due to untimely detection of the electronic device when the subsequent charging signal meets the preset conditions.

[0073] The second way is that considering that the charging interface of an electronic device is often integrated with the headphone interface into one interface, the interface is usually a multi-function interface, that is, it integrates a charging pin and a headphone pin, and has at least the functions of charging and audio transmission. For example, the multi-function interface is a USB port or a Type C port. In the embodiments of the present application, for the convenience of description, the multi-function interface is named as a charging interface, but it is not limited to being used only for charging.

[0074] When the charging port of the electronic device is in the inserted state, if the charging port of the electronic device is connected to a wired headset, the electrical signal of the charging port may not meet the preset conditions. This is because, when the charging device charges the electronic device through the charging port, the charging current of the charging port is generally between several hundred milliamperes (mA) and several amperes (A), and when the charging port is connected to the headset, the current of the port is usually very small, generally in the range of several milliamperes (mA) to tens of milliamperes (mA). Therefore, when the headset is connected, although the charging port is in the inserted state, its electrical signal does not meet the preset conditions.

[0075] Therefore, in the second method, when the charging interface is in the inserted state, if the electrical signal of the charging interface does not meet the preset conditions, it can be determined whether the data line connected to the charging interface is a charging line or a headphone line. For example, for the Android system, in the onReceive() method, by judging the values ​​of connected and audioAccessoryConnected, it can be determined whether the connection is a charging line or a headphone line. If the data line connected to the charging interface is a charging line, then when the electrical signal of the charging interface does not meet the preset conditions, it is still determined that the charging state of the electronic device is in the charging state. If it is determined that the data line connected to the charging interface is a headphone line, then the charging state of the electronic device is determined to be in the uncharged state.

[0076] It should be noted that, after determining that the use state of the charging interface is the charger plugged in state, it is also possible to determine whether the data line connected to the charging interface is a charging line or a headphone line. In this way, it is not necessary to obtain the electrical signal of the charging interface, but the charging state of the electronic device is directly determined by whether the data line connected to the charging interface is a charging line or a headphone line. Specifically, when determining that the use state of the charging interface is the charger plugged in state, it is determined whether the data line connected to the charging interface is a charging line or a headphone line. If the data line connected to the charging interface is a charging line, the charging state of the electronic device is determined to be a charging state. If it is determined that the data line connected to the charging interface is a headphone line, the charging state of the electronic device is determined to be an uncharged state. Of course, it is also possible to obtain the electrical signal of the charging interface when determining that the data line connected to the charging interface is a charging line. If the electrical signal meets the preset condition, the charging state of the electronic device is determined to be a charging state. If the preset condition is not met, the charging state can be directly determined to be an uncharged state, or the charging state can be determined in combination with the first method mentioned above, which will not be described in detail.

[0077] S302: If the charging state of the electronic device is charging, start the filtering mode.

[0078] That is to say, in the embodiment of the present application, the aforementioned implementation method of if the device parameter satisfies the preset interference condition is if the charging state of the electronic device is in the charging state. After determining the charging state of the electronic device in the above manner, if the determined charging state is in the charging state, the filtering mode is turned on.

[0079] The embodiments of the present application take into account that after the charger is inserted, the noise interference caused by the charger will cause the capacitance data of the touch screen system to be interfered by the noise, thereby causing the coordinates to jitter, resulting in the same technique, clicking the screen, and the probability of the click becoming a sliding operation increases. Therefore, when the battery management system service of the electronic device determines that the electronic device is in a charging state, it can notify the touch screen driver of the electronic device to start the filtering mode. Specifically, the battery management system service of the electronic device obtains the charging state. If the charging state is a charging state, the system service sets the first mode instruction function to the touch screen driver. If the charging state is an uncharged state, the system service sets the second mode instruction function to the touch screen driver.

[0080] When the touch screen driver receives the corresponding instruction, it sets and sends the corresponding opening or closing instruction to the touch screen hardware system. Among them, the Android system is divided into different software layers. The battery management system service is responsible for monitoring the judgment of the insertion and removal status of the charger, that is, determining the charging status, and then judging whether the filtering function needs to be turned on. The touch screen driver is responsible for receiving the instructions issued by the upper system service (for example, the battery management system service) and communicating data with the hardware device touch device, that is, the touch screen system. The touch screen system receives the instructions issued by the terminal system (for example, the battery management system service) and sets the register of the touch screen system through the interface. The touch screen system usually uses registers to record and manage the relevant information of touch events. Usually including data registers (Data Register), control registers (Control Register), status registers (Status Register) and interrupt registers (Interrupt Register). Among them, the touch screen controller stores the coordinates, pressure and other data of the touch event in the data register; the control register is used to configure and control various parameters and working modes of the touch screen controller. It contains various control bits, and by setting different bits, touch detection can be enabled or disabled, touch sensitivity can be set, touch mode can be set, etc. The status register is used to reflect the current state of the touch screen controller. It records information such as whether the touch screen is touched and whether the touch state changes. The interrupt register is used to send an interrupt signal to the processor to notify the occurrence of a touch event. When a touch event meets certain specific conditions, the touch screen controller will write the interrupt signal to the interrupt register, thereby waking up the processor to execute the corresponding interrupt handler.

[0081] The terminal system sets the touch screen system, that is, the interaction between the terminal system and the touch screen system is mainly through the I2C interface, the SPI interface or the I3C interface, so as to set the registers in the touch screen system. The touch screen system turns off the filter mode of the touch screen according to the second mode instruction issued by the terminal system, and turns on the filter mode of the touch screen according to the first mode instruction issued by the terminal system.

[0082] S303: In the filtering mode, target touch points sampled by the touch screen and meeting specified conditions are determined as valid touch points.

[0083] In this filtering mode, the specific filtering operation refers to the above-mentioned embodiment and will not be described in detail here.

[0084] It should be noted that in the filtering mode, not only the touch points are filtered, but also the device parameters of the electronic device can be monitored in real time. If the device of the electronic device meets or does not meet the preset interference condition, the filtering mode is exited.

[0085] It should be noted that, in some cases, although the device parameters of the electronic device meet the preset interference conditions, the filtering mode may not be turned on. Exemplarily, when it is determined that the device parameters meet the preset interference conditions, the display interface of the electronic device is obtained. If the display interface meets the first condition, the filtering mode is turned off. If the display interface does not meet the first condition, the filtering mode is turned on. Among them, the display interface meets the first condition may be that the total area of ​​the touch area of ​​the display interface is relatively small. Exemplarily, all touch areas of the display interface are obtained, and the sum of the areas of all touch areas is determined as the total area of ​​the touch area of ​​the display interface. If the total area is less than the specified area, it is determined that the total area of ​​the touch area of ​​the display interface is relatively small, that is, the display interface meets the first condition. Otherwise, it is determined that the display interface does not meet the first condition. Therefore, when the area of ​​the total touch area of ​​the current display interface is relatively small, it indicates that most areas of the display interface are not touchable. At this time, it is not necessary to turn on the filtering mode, thereby reducing the power consumption of the electronic device. In another exemplary embodiment, when it is determined that the device parameters meet the preset interference conditions, the current time period is obtained, and it is determined whether the current time period is a preset time period. If the current time period is a preset time period, the filtering mode is turned off, and if the current time period is not a preset time period, the filtering mode is turned on. The preset time period may be a time period in which the user does not use the electronic device for a long time and is in a charging state, which is pre-counted. For example, the preset time period may be a user's nighttime sleeping time period, for example, from 23:00 to 8:00 the next day.

[0086] Therefore, the embodiment of the present application determines whether to turn on the filtering mode according to the charging state of the electronic device, so that in the charging state, the interference of the charging signal of the charging device on the touch point is reduced through the filtering mode.

[0087] It can be understood that the above-mentioned device parameters satisfying the preset interference condition may be that the noise signal is greater than the preset threshold, or that the charging state of the electronic device is in the charging state, or that the noise signal is greater than the preset threshold and the charging state is in the charging state, and there is no limitation on this.

[0088] See also Figure 4 , which shows a structural block diagram of a touch screen control device 400 provided in an embodiment of the present application. The device is applied to an electronic device, and the electronic device includes a touch screen. The device may include: an acquisition unit 401, an opening unit 402 and a determination unit 403.

[0089] The acquisition unit 401 is configured to acquire a device parameter of the electronic device, where the device parameter includes at least one of a noise signal detected by the touch screen and a charging state of the electronic device.

[0090] The activation unit 402 is configured to activate a filtering mode if the device parameters meet a preset interference condition.

[0091] Furthermore, the device parameters include a noise signal detected by the touch screen, and the activation unit 402 is further configured to activate a filtering mode if the noise signal is greater than a preset threshold.

[0092] Furthermore, the device parameter includes a charging state of the electronic device, and the activation unit 402 is further configured to activate the filtering mode if the charging state of the electronic device is a charging state.

[0093] Furthermore, the opening unit 402 is also used to obtain the usage status of the charging interface of the electronic device; if the usage status is the charger plugged in status, the charging status of the electronic device is determined to be the charging status; if not, the charging status of the electronic device is determined to be the uncharged status.

[0094] Furthermore, the opening unit 402 is also used to obtain the electrical signal of the charging interface if the usage state is the charger plugged in state; if the electrical signal meets a preset condition, it is determined that the charging state of the electronic device is the charging state.

[0095] The determination unit 403 is configured to determine, in the filtering mode, target touch points sampled by the touch screen and meeting a specified condition as valid touch points.

[0096] Furthermore, the determination unit 403 is further configured to detect a target touch point sampled by the touch screen in the filtering mode; if the identity identifier of the target touch point is a first designated identifier, determine that the target touch point is a valid touch point.

[0097] Furthermore, the determination unit 403 is also used to detect the target touch point sampled by the touch screen in the filtering mode; if it is determined that the target touch point is collected in the touch screen sampling operations for a consecutive specified number of times, the target touch point is determined as a valid touch point, wherein the specified number of times is greater than or equal to the preset number of times.

[0098] Furthermore, the determination unit 403 is also used to detect the target touch point sampled by the touch screen in the filtering mode; if the identity identifier of the target touch point is the second specified identifier, and it is determined that the target touch point is collected in the touch screen sampling operations for a consecutive specified number of times, then the target touch point is determined to be a valid touch point, wherein the specified number of times is greater than or equal to the preset number of times.

[0099] Furthermore, the preset number of times is pre-set for the identity of the target touch point.

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

[0101] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.

[0102] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0103] Please refer to Figure 5 , which shows a structural block diagram of an electronic device provided in an embodiment of the present application. The electronic device 100 may be an electronic device capable of running applications, such as a smart phone, a tablet computer, an e-book, etc. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, a touch screen 130, and one or more applications, wherein one or more applications may be stored in the memory 120 and configured to be executed by one or more processors 110, and one or more programs are configured to execute the method as described in the aforementioned method embodiment.

[0104] The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 110 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.

[0105] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the electronic device 100 during use.

[0106] Please refer to Figure 6 , which shows a structural block diagram of a computer-readable medium provided in an embodiment of the present application. The computer-readable medium 600 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.

[0107] The computer readable medium 600 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable medium 600 includes a non-transitory computer-readable storage medium. The computer readable medium 600 has storage space for program code 610 that performs any method steps in the above method. These program codes can be read from or written to one or more computer program products. The program code 610 can be compressed, for example, in an appropriate form.

[0108] In summary, the embodiment of the present application can use at least one of the noise signal detected by the touch screen of the electronic device and the charging state of the electronic device as the device parameter of the electronic device. If the device parameter meets the preset interference condition, the filtering mode is turned on; in the filtering mode, the target touch point that meets the specified condition sampled by the touch screen is determined as a valid touch point. Therefore, by turning on the filtering mode through the device parameter of the electronic device, the target touch point that meets the specified condition can be determined as a valid touch point, thereby filtering those touch points that do not meet the specified condition.

[0109] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A touch screen control method, characterized in that: Applied to an electronic device, the electronic device includes a touch screen, and the method includes: Acquiring device parameters of the electronic device, where the device parameters include at least one of a noise signal detected by the touch screen and a charging state of the electronic device; If the device parameters meet the preset interference conditions, the filtering mode is turned on; In the filtering mode, target touch points that meet specified conditions and are sampled by the touch screen are determined as valid touch points.

2. The method according to claim 1, characterized in that The device parameters include noise signals detected by the touch screen, and if the device parameters meet the preset interference conditions, the filtering mode is turned on, including: If the noise signal is greater than a preset threshold, the filtering mode is turned on.

3. The method according to claim 1, characterized in that The device parameter includes a charging state of the electronic device, and if the device parameter meets a preset interference condition, the filtering mode is turned on, including: If the charging state of the electronic device is in a charging state, the filtering mode is turned on.

4. The method according to claim 3, characterized in that Acquiring device parameters of the electronic device includes: Acquire the usage status of the charging interface of the electronic device; If the usage state is a charger plugged in state, determining that the charging state of the electronic device is a charging state; If not, it is determined that the charging state of the electronic device is an uncharged state.

5. The method according to claim 4, characterized in that If the usage state is a charger plugged in state, determining the charging state of the electronic device is a charging state includes: If the usage state is a charger plugged in state, obtaining an electrical signal from the charging interface; If the electrical signal meets a preset condition, it is determined that the charging state of the electronic device is a charging state.

6. The method according to any one of claims 1 to 5, characterized in that: In the filtering mode, determining the target touch points that meet the specified conditions and are sampled by the touch screen as valid touch points includes: In the filtering mode, a target touch point sampled by the touch screen is detected; If the identity identifier of the target touch point is the first designated identifier, the target touch point is determined to be a valid touch point.

7. The method according to any one of claims 1 to 5, characterized in that: In the filtering mode, determining the target touch points that meet the specified conditions and are sampled by the touch screen as valid touch points includes: In the filtering mode, a target touch point sampled by the touch screen is detected; If it is determined that the target touch point is collected in the touch screen sampling operations for a specified number of times continuously, the target touch point is determined as a valid touch point, wherein the specified number of times is greater than or equal to a preset number of times.

8. The method according to any one of claims 1 to 5, characterized in that: In the filtering mode, determining the target touch points that meet the specified conditions and are sampled by the touch screen as valid touch points includes: In the filtering mode, a target touch point sampled by the touch screen is detected; If the identity of the target touch point is the second designated identifier and it is determined that the target touch point is collected in the touch screen sampling operations for a continuous designated number of times, the target touch point is determined as a valid touch point, wherein the designated number of times is greater than or equal to the preset number of times.

9. The method according to claim 8, characterized in that The preset number of times is set in advance for the identity of the target touch point.

10. A touch screen control device, characterized in that: Applied to an electronic device, the electronic device includes a touch screen, and the device includes: an acquisition unit, configured to acquire a device parameter of the electronic device, wherein the device parameter includes at least one of a noise signal detected by the touch screen and a charging state of the electronic device; An activation unit, configured to activate a filtering mode if the device parameters meet a preset interference condition; The determination unit is used to determine, in the filtering mode, the target touch points sampled by the touch screen and meeting the specified conditions as valid touch points.

11. An electronic device, characterized in that: include: one or more processors; Memory; touchscreen; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the method according to any one of claims 1-9.

12. A computer readable medium, characterized in that The computer-readable medium stores a program code executable by a processor, and when the program code is executed by the processor, the processor executes the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Capacitive touch sensor and touch control terminal and anti-interference method and system thereof

    CN102841715A

  • Signal-interference-resisting method and device

    CN103995624A

  • Touch positioning method of touch display device and touch display device

    CN104199572A

  • Anti-interference method and device for detection of touch screen, touch sensor and touch terminal

    CN104808847A

  • Touch control method, user equipment, input processing method and mobile terminal

    CN105335007A