Anti-misoperation method and electronic device

By obtaining any frame of electrical signals on the electronic device display screen and the attribute parameters of the interface control, we can determine whether the touch operation is a false touch operation, and solve the problem of the electronic device's false touch operation under different interfaces or control layouts, achieving a more efficient anti-fault touch effect.

CN114063806BActive Publication Date: 2025-06-03HUAWEI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010762121.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-31
Publication Date
2025-06-03
Estimated Expiration
2040-07-31

AI Technical Summary

Technical Problem

When using electronic devices, due to the larger screen size, the curved screen to the side, and the rich application types, touch operations vary from each interface to cause errors to occur.

Method used

By obtaining any frame of electrical signals in the life cycle of the touch operation, combining the attribute parameters of the control in the interface, it is determined whether the touch operation is a false touch operation, and blocking the operation when it is determined to be a false touch operation.

Benefits of technology

It realizes accurate judgment and prevention of mistouch operations under different interfaces or different control layouts in the same interface, improving the anti-missive touch effect of electronic devices and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114063806B_ABST
    Figure CN114063806B_ABST
Patent Text Reader

Abstract

The present application provides an anti-mis-touch method and an electronic device. The method includes: the electronic device instructs a display screen connected to the electronic device to display a first interface; the electronic device acquires first touch information, wherein the signal corresponding to the first touch information is any frame of electrical signal in the life cycle of a touch operation, the touch operation occurs when the first interface is displayed on the display screen, and the life cycle of the touch operation is an uninterrupted process from the start of contacting the display screen to not contacting the display screen; the electronic device determines whether the touch operation is a mis-touch operation based on the first touch information and the attribute parameters of the controls in the first interface; the electronic device shields the touch operation when determining that the touch operation is a mis-touch operation; the electronic device reports the touch operation when determining that the touch operation is not a mis-touch operation. Thus, the anti-mis-touch requirements under different interfaces or different control layouts in the same interface are satisfied, and the anti-mis-touch effect of the electronic device is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of terminals, and in particular, to an anti-mis-touch method and an electronic device. Background Art

[0002] During the process of a user using an electronic device such as a mobile phone or a tablet computer, factors such as an enlarged screen size, a screen bent to the side, and an increasing variety of application types, which cause different touch operations in different interfaces, may all lead to the user accidentally touching the electronic device. Therefore, there is an urgent need for an anti-mis-touch method to reduce the user's mis-touch operations. Summary of the Invention

[0003] This application provides an anti-mis-touch method and an electronic device to meet the anti-mis-touch requirements in different interfaces or different control layouts in the same interface, and improve the anti-mis-touch effect of the electronic device.

[0004] In a first aspect, this application provides an anti-mis-touch method, including: an electronic device instructs a display screen connected to the electronic device to display a first interface; the electronic device obtains first touch information, where the signal corresponding to the first touch information is any frame of electrical signal in the life cycle of a touch operation, the touch operation occurs when the first interface is displayed on the display screen, and the life cycle of the touch operation is an uninterrupted process from the start of touching the display screen to not touching the display screen; the electronic device determines whether the touch operation is a mis-touch operation based on the first touch information and the attribute parameters of the controls in the first interface; the electronic device blocks the touch operation when it determines that the touch operation is a mis-touch operation; the electronic device reports the touch operation when it determines that the mis-touch operation is not a mis-touch operation.

[0005] Through the anti-mis-touch method provided in the first aspect, by adjusting the anti-mis-touch strategy corresponding to the anti-mis-touch area in a timely manner based on the layout change of the controls in the interface. Thus, when the user touches the display screen of the electronic device, the electronic device can determine whether the touch operation is a mis-touch operation based on the characteristic information corresponding to the touch operation in any frame of electrical signal and the anti-mis-touch algorithm corresponding to the current interface. Therefore, the anti-mis-touch requirements in different interfaces or different control layouts in the same interface are met, and the user is unaware of the process of adjusting / updating the anti-mis-touch strategy, and the mis-touch judgment is achieved quickly and accurately, maximizing the guarantee that normal operations are not affected, effectively improving the processing resources of the electronic device, and enabling the user to have a better use experience.

[0006] In some embodiments, the electronic device determines whether the touch operation is a mis-touch operation based on the first touch information and the attribute parameters of the control in the first interface, including: the electronic device determines that the touch operation is located in the first area based on the position information corresponding to the touch operation in the first touch information and the position information of the control in the attribute parameters, where the first area is the area in the preset area of the first interface that coincides with the control. Then, based on the position information corresponding to the touch operation in the first touch information, the type of the touch operation in the first touch information, the position information of the control in the first area in the attribute parameters, and the type of touch operation supported by the control in the first area in the attribute parameters, the electronic device determines whether the touch operation is a mis-touch operation; the electronic device determines that the touch operation is located in the second area based on the position information corresponding to the touch operation in the first touch information and the position information of the control in the attribute parameters, where the second area is the area in the preset area except the first area. Then, based on the position information corresponding to the touch operation in the first touch information, the electronic device determines whether the touch operation is a mis-touch operation.

[0007] Thus, based on the position corresponding to the touch operation and the position of the control in the interface, the electronic device can not only distinguish whether the position corresponding to the touch operation is located in the area where mis-touch operations are likely to occur in the interface, but also distinguish whether the position corresponding to the touch operation is located in the overlap of the area where mis-touch operations are likely to occur in the interface and the position of the control in the interface, and timely determine the anti-mis-touch strategy corresponding to the touch operation, reducing the processing volume of the electronic device and saving the power of the electronic device.

[0008] In some embodiments, the electronic device determines whether the touch operation is a mis-touch operation based on the position information corresponding to the touch operation in the first touch information, the type of the touch operation in the first touch information, the position information of the control in the first area in the attribute parameters, and the type of touch operation supported by the control in the first area in the attribute parameters, including: the electronic device determines Formula 1 based on the position information of the control in the first area in the attribute parameters and the type of touch operation supported by the control in the first area in the attribute parameters; the electronic device obtains S through Formula 1 based on the position information corresponding to the touch operation in the first touch information, the type of the touch operation in the first touch information, the actual shape of the touch area corresponding to the touch operation in the first touch information, and the electrical signal magnitude of the touch area corresponding to the touch operation in the first touch information; the electronic device determines that the touch operation is a mis-touch operation when S is greater than or equal to the threshold S0; and determines that the touch operation is not a mis-touch operation when S is less than the threshold S0;

[0009] Among them,

[0010] S = D(Sig cur , Sig ref ) * W sig + D(Shape cur, Shape ref ) * W shape + D(Pos cur , Pos start ) * W Pos + … Formula 1

[0011] Sig cur is the magnitude of the electrical signal of the touch area corresponding to the touch operation in any frame of electrical signal; Sig ref is the reference value of the electrical signal of the touch area formed by the user pressing the display screen normally; D(Sig cur , Sig ref ) is the degree of difference between Sig cur and Sig ref1 ; W sig is the weight of the electrical signal magnitude; Shape cur is the actual shape of the touch area corresponding to the touch operation in any frame of electrical signal; Shape ref is the reference shape of the touch area formed by the user pressing the display screen normally; D(Shape cur , Shape ref ) is the degree of difference between Shape cur and Shape ref ; W shape is the weight of the shape of the touch area; Pos cur is the position information of the touch area corresponding to the touch operation in any frame of electrical signal; Pos start is the starting position of the touch area associated with the touch operation corresponding to any frame of electrical signal in the historical frame of electrical signal; D(Pos cur , Pos start ) is the moving distance between Pos cur and Pos start ; W Pos is the weight of the position change of the touch area.

[0012] Thus, the electronic device optimizes the anti - false - touch strategy corresponding to the touch operation based on multiple parameters such as the magnitude, shape, and position of the electrical signal corresponding to the touch operation, and improves the accuracy of identifying false - touch operations.

[0013] In some embodiments, when in the first application and the second application corresponding to the first interface respectively, the threshold S0 of the first application is greater than the threshold S0 of the second application, and / or, the W sig of the first application is less than the W sig of the second application, and the W shape of the first application is less than the W shape, where the first application is different from the second application. Thus, the present application adjusts the anti-mis-touch policy corresponding to the touch operation in combination with the type of the application, improving the accuracy of identifying mis-touch operations.

[0014] In some embodiments, the threshold S0 of the third region is less than the threshold S0 of the second region, and the W Pos of the third region is less than the W Pos of the second region; the threshold S0 of the fourth region is equal to the threshold S0 of the second region, and the W Pos of the fourth region is greater than the W Pos of the second region; wherein, the third region is the region in the first region that overlaps with the control supporting the touch operation of the sliding type, and the fourth region is the region in the first region that overlaps with the control supporting the touch operation of the type other than the sliding type. Thus, the present application adjusts the anti-mis-touch policy corresponding to the touch operation in combination with the type of the touch operation supported by the control, improving the accuracy of identifying mis-touch operations.

[0015] In addition, the present application jointly adjusts the anti-mis-touch policy corresponding to the touch operation in combination with the type of the application and the type of the touch operation supported by the control, improving the accuracy of identifying mis-touch operations. Thus, the anti-mis-touch requirements under different interfaces or different control layouts in the same interface are satisfied, enhancing the user experience.

[0016] In some embodiments, the method further includes: the electronic device determines the motion trajectory corresponding to the touch operation in the first touch information based on the position information of the touch area corresponding to the touch operation in the first touch information and the initial position corresponding to the touch operation in the historical touch information; the electronic device determines the touch duration corresponding to the touch operation in the first touch information based on the current touch moment corresponding to the touch operation in the first touch information and the initial touch moment corresponding to the touch operation in the historical touch information; the electronic device determines the type of the touch operation in the first touch information based on the motion trajectory corresponding to the touch operation in the first touch information and the touch duration corresponding to the touch operation in the first touch information; wherein, the historical touch information corresponding signal includes the M-frame electrical signals before the first touch information corresponding signal in the life cycle of the touch operation, and M is a positive integer.

[0017] In some embodiments, the method further includes: the electronic device obtains second touch information, wherein the signal corresponding to the second touch information is any one frame of electrical signal other than the first touch information corresponding signal in the life cycle of the touch operation; the electronic device determines whether the touch operation is a mis-touch operation based on the second touch information and the attribute parameters of the control in the second interface; the electronic device reports the touch operation when determining that the mis-touch operation is not a mis-touch operation. Thus, the present application can accurately determine whether the touch operation is a mis-touch operation in combination with multiple frames of electrical signals, improving the accuracy of identifying mis-touch operations.

[0018] In some embodiments, the second touch information corresponding signal is any frame of electrical signal after the first touch information corresponding signal. Thereby, the wrong judgment of the previous frame of electrical signal being a mis-touch operation is prevented, and the influence on normal operations is reduced.

[0019] In some embodiments, the method further includes: when the touch operation is not a mis-touch operation, the electronic device reports the touch operation corresponding to at least one frame of electrical signal after the first touch information corresponding signal until the life cycle of the touch operation ends.

[0020] In a second aspect, the present application provides an electronic device, including: one or more memories and one or more processors connected to each other. When the software program stored in the one or more memories is executed by the one or more processors, the anti-mis-touch method in the first aspect and any possible design of the first aspect is implemented.

[0021] In some embodiments, the electronic device is a chip.

[0022] In some embodiments, the electronic device further includes: a display screen and a touch sensor; the touch sensor is used to receive a user's touch operation and transmit the touch information corresponding to the touch operation to one or more processors; the display screen is used to display content according to the instructions of the one or more processors.

[0023] In a third aspect, the present application provides an electronic device, including: one or more processors; a memory; and one or more computer programs, where the one or more computer programs are stored in the memory, and the one or more computer programs include instructions. When the instructions are executed by the electronic device, the electronic device is caused to execute the anti-mis-touch method in the first aspect and any possible design of the first aspect.

[0024] In some embodiments, the electronic device is a chip.

[0025] In some embodiments, the electronic device further includes: a display screen and a touch sensor; the touch sensor is used to receive a user's touch operation and transmit the touch information corresponding to the touch operation to one or more processors; the display screen is used to display content according to the instructions of the one or more processors.

[0026] In a fourth aspect, the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions are run on an electronic device, the electronic device is caused to execute the anti-mis-touch method in the first aspect and any possible design of the first aspect.

[0027] In a fifth aspect, the present application provides a computer program product including instructions. When the computer program product is run on an electronic device, the electronic device is caused to execute the anti-mis-touch method in the first aspect and any possible design of the first aspect. Description of the Drawings

[0028] Figure 1 Schematic structural diagram of an electronic device provided by an embodiment of the present application;

[0029] Figures 2A - 2B Block diagram including a system software architecture and corresponding hardware components provided by an embodiment of the present application;

[0030] Figures 3A - 3C Schematic diagram of the main screen application scenario of an electronic device provided by an embodiment of the present application;

[0031] Figures 4A - 4C Schematic diagram of the call application scenario of an electronic device provided by an embodiment of the present application;

[0032] Figures 5A - 5D Schematic diagram of the game application scenario of an electronic device provided by an embodiment of the present application;

[0033] Figure 6 Schematic flowchart of an anti - accidental touch method provided by an embodiment of the present application. Detailed Description of the Invention

[0034] In the present application, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after. "At least one (item)" or similar expressions refer to any combination of these items, including any combination of single item (item) or multiple items (items). For example, at least one (item) of a alone, b alone, or c alone can represent: a alone, b alone, c alone, the combination of a and b, the combination of a and c, the combination of b and c, or the combination of a, b, and c, where a, b, and c can be single or multiple. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0035] The present application provides an anti-misoperation method, which can be applied to electronic devices such as mobile phones, tablet computers, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, smart TVs, etc. The present application does not make any limitations in this regard.

[0036] Exemplarily, Figure 1 A schematic structural diagram of the electronic device 100 is shown.

[0037] The electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0038] It can be understood that the structure illustrated in the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than those shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0039] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.

[0040] Among them, the controller may be the nerve center and command center of the electronic device 100. The controller may generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.

[0041] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory may save the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0042] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0043] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be respectively coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K through the I2C interface, enabling the processor 110 and the touch sensor 180K to communicate through the I2C bus interface, thereby implementing the touch function of the electronic device 100.

[0044] The I2S interface can be used for audio communication. In some embodiments, the processor 110 may include multiple groups of I2S buses. The processor 110 may be coupled to the audio module 170 through the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit audio signals to the wireless communication module 160 through the I2S interface, thereby implementing the function of answering phone calls through a Bluetooth headset.

[0045] The PCM interface can also be used for audio communication to sample, quantize, and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through the PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, thereby implementing the function of answering phone calls through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0046] The UART interface is a general-purpose serial data bus for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 may transmit audio signals to the wireless communication module 160 through the UART interface, thereby implementing the function of playing music through a Bluetooth headset.

[0047] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate through the CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.

[0048] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0049] The USB interface 130 is an interface that conforms to the USB standard specification, and can specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. This interface can also be used to connect other electronic devices, such as AR devices, etc.

[0050] It can be understood that the interface connection relationships between the modules illustrated in this application are only illustrative descriptions and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 can also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0051] The charging management module 140 is used to receive a charging input from a charger. Among them, the charger can be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 140 can receive the charging input from a wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 can receive the wireless charging input through the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device through the power management module 141.

[0052] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives the inputs from the battery 142 and / or the charging management module 140 and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, the wireless communication module 160, etc. The power management module 141 can also be used to monitor parameters such as the battery capacity, the number of battery cycles, and the battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be disposed in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be disposed in the same device.

[0053] The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor, etc.

[0054] The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, the antenna 1 can be multiplexed as the diversity antenna of the wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0055] The mobile communication module 150 can provide solutions for wireless communications such as 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 can include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, filter and amplify the received electromagnetic waves, and then transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor and convert it into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least some functional modules of the mobile communication module 150 can be disposed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 can be disposed in the same device.

[0056] The modulation and demodulation processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Subsequently, the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194. In some embodiments, the modulation and demodulation processor may be an independent device. In other embodiments, the modulation and demodulation processor may be independent of the processor 110 and be disposed in the same device as the mobile communication module 150 or other functional modules.

[0057] The wireless communication module 160 may provide solutions for wireless communications applied to the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite systems (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive the signal to be transmitted from the processor 110, perform frequency modulation and amplification on it, and convert it into electromagnetic waves through the antenna 2 and radiate them out.

[0058] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, such that the electronic device 100 can communicate with the network and other devices through wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), and / or satellite based augmentation systems (SBAS).

[0059] The electronic device 100 implements the display function through the GPU, the display screen 194, and the application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to execute mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change the display information.

[0060] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can adopt a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.

[0061] The electronic device 100 can implement the shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, etc.

[0062] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera photosensitive element. The optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also optimize the noise, brightness, and skin color of the image through algorithms. The ISP can also optimize parameters such as the exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

[0063] The camera 193 is used to capture static images or videos. An object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in standard RGB, YUV, etc. formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.

[0064] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.

[0065] The video codec is used to compress or decompress digital videos. The electronic device 100 can support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as: Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0066] The NPU is a neural-network (NN) computing processor. By drawing on the structure of the biological neural network, such as the transmission pattern between human brain neurons, it can quickly process the input information and can also continuously self-learn. Through the NPU, applications such as intelligent cognition of the electronic device 100 can be realized, such as: image recognition, face recognition, speech recognition, text understanding, etc.

[0067] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to achieve the data storage function. For example, files such as music and videos are saved in the external memory card.

[0068] The internal memory 121 can be used to store computer-executable program code, and the executable program code includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 can include a program storage area and a data storage area. Among them, the program storage area can store the operating system, application programs required for at least one function (such as the sound playback function, the image playback function, etc.). The data storage area can store the data created during the use of the electronic device 100 (such as audio data, phone book, etc.). In addition, the internal memory 121 can include high-speed random access memory and can also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0069] The electronic device 100 can implement audio functions through the audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and the application processor, etc. For example, music playback, recording, etc.

[0070] The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 can be disposed in the processor 110, or some functional modules of the audio module 170 can be disposed in the processor 110.

[0071] The speaker 170A, also known as the "loudspeaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or hands-free calls through the speaker 170A.

[0072] The receiver 170B, also known as the "earpiece", is used to convert an audio electrical signal into a sound signal. When the electronic device 100 answers a call or a voice message, the voice can be listened to by bringing the receiver 170B close to the human ear.

[0073] The microphone 170C, also known as the "microphone" or "transmitter", is used to convert a sound signal into an electrical signal. When making a call or sending a voice message, the user can speak by bringing the mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In some other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also implement a noise reduction function. In some other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C, which can collect sound signals, reduce noise, identify the sound source, and implement a directional recording function, etc.

[0074] The headphone jack 170D is used to connect a wired headphone. The headphone jack 170D can be a USB interface 130, or a 3.5 mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0075] The pressure sensor 180A is used to sense pressure signals and can convert pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor may include at least two parallel plates having conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, the instruction to view short messages is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.

[0076] The gyroscope sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., the x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake during shooting. Exemplarily, when the shutter is pressed, the gyroscope sensor 180B detects the angle of jitter of the electronic device 100, calculates the distance that the lens module needs to compensate based on the angle, and enables the lens to offset the jitter of the electronic device 100 through reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenarios.

[0077] The barometric pressure sensor 180C is used to measure barometric pressure. In some embodiments, the electronic device 100 calculates the altitude based on the barometric pressure value measured by the barometric pressure sensor 180C to assist in positioning and navigation.

[0078] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Furthermore, according to the detected opening and closing state of the leather case or the opening and closing state of the flip, features such as automatic flip unlocking can be set.

[0079] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.

[0080] A distance sensor 180F is used to measure distance. The electronic device 100 can measure distance through infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure distance to achieve fast focusing.

[0081] The proximity light sensor 180G may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The light-emitting diode may be an infrared light-emitting diode. The electronic device 100 emits infrared light outward through the light-emitting diode. The electronic device 100 uses the photodiode to detect the infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect when the user holds the electronic device 100 close to the ear for a call, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used for automatic unlocking and locking of the holster mode and pocket mode.

[0082] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the sensed ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touch.

[0083] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint answering calls, etc.

[0084] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 executes a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by low temperature. In still other embodiments, when the temperature is lower than yet another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0085] The touch sensor 180K, also known as the "touch control panel". The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also known as the "touch control screen". The touch sensor 180K is used to detect touch operations acting thereon or nearby. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In some other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, at a different position from that of the display screen 194.

[0086] The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire vibration signals of the vibrating bone mass of the human vocal part. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure pulsation signals. In some embodiments, the bone conduction sensor 180M can also be disposed in the earphone to form a bone conduction earphone. The audio module 170 can parse out voice signals based on the vibration signals of the vibrating bone mass of the human vocal part acquired by the bone conduction sensor 180M to implement the voice function. The application processor can parse out heart rate information based on the blood pressure pulsation signals acquired by the bone conduction sensor 180M to implement the heart rate detection function.

[0087] The keys 190 include a power-on key, volume keys, etc. The keys 190 can be mechanical keys or touch keys. The electronic device 100 can receive key inputs to generate key signal inputs related to the user settings and function control of the electronic device 100.

[0088] The motor 191 can generate vibration prompts. The motor 191 can be used for incoming call vibration prompts and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playing, etc.) can correspond to different vibration feedback effects. Touch operations acting on different regions of the display screen 194 can also correspond to different vibration feedback effects for the motor 191. Different application scenarios (such as time reminder, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0089] The indicator 192 can be an indicator light and can be used to indicate the charging state, power change, and can also be used to indicate messages, missed calls, notifications, etc.

[0090] The SIM card interface 195 is used to connect to a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation from the electronic device 100. The electronic device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 195 simultaneously. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communication. In some embodiments, the electronic device 100 uses an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0091] It can be understood that the structure illustrated in this application does not constitute a specific limitation on the electronic device 100. In other embodiments, the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements.

[0092] Figure 2A and Figure 2B This is a block diagram of a structure including a system software architecture and corresponding hardware components provided in an embodiment of this application. The system software architecture and corresponding hardware components can implement the anti-misoperation method of this application. Among them, the application processor AP in the processor 110 of the electronic device 100 is used to run the system software. For example, the application processor AP is used to run the operating system software. The operating software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. This application does not limit the type of the operating system of the electronic device. For example, Android system, Linux system, Windows system, iOS system, Harmony Operating System (Harmony OS), etc. For the convenience of description, this application takes the Android system with a layered architecture as an example.

[0093] The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into five layers, from top to bottom: the application layer, the application framework layer, Android runtime and system libraries, the hardware abstraction layer (HAL), and the kernel layer.

[0094] The application layer may include a series of application packages.

[0095] The application packages may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, game, shopping, travel, instant messaging (such as short messages), smart home, device control, etc. For the sake of illustration, Figure 2A and Figure 2B in, the application layer is exemplified by including applications such as call, game, desktop, etc. for illustration.

[0096] Among them, the smart home application can be used to control or manage home devices with networking functions. For example, home devices may include electric lights, TVs, and air conditioners. Another example is that home devices may also include anti-theft door locks, speakers, floor-sweeping robots, sockets, body fat scales, table lamps, air purifiers, refrigerators, washing machines, water heaters, microwave ovens, rice cookers, curtains, fans, TVs, set-top boxes, doors and windows, etc. The device control application is used to control or manage a single device.

[0097] In addition, the application packages may also include system applications such as the home screen (i.e., the desktop), the minus one screen, the control center, the notification center, etc.

[0098] Among them, the minus one screen, also known as the "-1 screen", refers to the user interface (UI) obtained by swiping the screen of the main screen of the electronic device to the right until the leftmost split screen is reached. For example, the minus one screen can be used to place some quick service functions and notification messages, such as global search, quick access to a certain page of an application (payment code, WeChat, etc.), instant messages and reminders (express information, expenditure information, commuting road conditions, taxi travel information, schedule information, etc.) and concerned dynamics (football stands, basketball stands, stock information, etc.). The control center is the pull-down message notification bar of the electronic device, that is, the user interface displayed by the electronic device when the user performs a downward operation on the electronic device. The notification center is the pull-up message notification bar of the electronic device, that is, the user interface displayed by the electronic device when the user performs an upward operation on the electronic device.

[0099] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions.

[0100] The application framework layer may include a window manager, a content provider, a view system, a telephone manager, a resource manager, a notification manager, an interface management service, an interface layout service, etc. For the sake of illustration, Figure 2A and Figure 2BAmong them, in the application framework layer, the interface management service and the interface layout service are taken as examples for illustration.

[0101] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0102] The content provider is used to store and obtain data, and make this data accessible to application programs. The data may include videos, images, audio, dialed and answered calls, browsing history and bookmarks, phone books, etc.

[0103] The view system includes visible controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build application programs. The display interface can be composed of one or more views. For example, a display interface including a short message notification icon may include a view for displaying text and a view for displaying pictures.

[0104] The phone manager is used to provide the communication function of the electronic device 100. For example, the management of call states (including connection, disconnection, etc.).

[0105] The resource manager provides various resources for application programs, such as localized strings, icons, pictures, layout files, video files, etc.

[0106] The notification manager enables application programs to display notification information in the status bar. It can be used to convey notification-type messages, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform that the download is completed, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or a scroll bar text, such as the notification of a background-running application program, and can also be a notification that appears on the screen in the form of a dialogue window. For example, prompting text information in the status bar, emitting a prompt sound, vibrating the electronic device, flashing the indicator light, etc.

[0107] The interface management service is used to monitor the attribute parameters of each control in the current interface of the display screen, so as to judge whether the layout of the controls in the interface has changed based on the attribute parameters of the controls. Among them, the attribute parameters of the controls can include one or more, such as the position of the control (i.e., the position of the control on the display screen, which is represented by a coordinate set of the boundary of the control), the type of the control (such as click, slide, long press, etc.) and other attribute parameters.

[0108] The interface management service is also used to send an instruction to the interface layout service when the attribute characteristics of at least one control change. This instruction is used to indicate that the attribute characteristics of at least one control in the current interface have changed. Among them, the specific implementation form of this instruction is not limited in this application. For example, this instruction can be represented in the form of a flag bit.

[0109] In some embodiments, the present application does not limit the specific implementation form of the interface management service. For example, the interface management service can be an accessibility service.

[0110] The interface layout service is used to obtain all the property parameters of all the controls in the current interface when receiving the instruction, and transmit the layout situation of all the controls in the current interface to the touch module. Or, the interface layout service is used to obtain the changed property parameters of the controls corresponding to the changed property parameters in the current interface when receiving the instruction, and transmit the changed property parameters of the controls corresponding to the changed property parameters to the touch module. Among them, the present application does not limit the specific transmission form of the layout situation of the controls. For example, in the form of an XML file, etc.

[0111] Android Runtime( Figure 2A and Figure 2B not shown in the figure) includes a core library and a virtual machine. Androidruntime is responsible for the scheduling and management of the Android system. The core library contains two parts: one part is the functional functions that need to be called by the Java language, and the other part is the core library of Android.

[0112] The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0113] The system library( Figure 2A and Figure 2B not shown in the figure) can include multiple functional modules. For example: surface manager, Media Libraries, 3D graphics processing library (e.g., OpenGL ES), 2D graphics engine (e.g., SGL), etc.

[0114] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0115] The media library supports the playback and recording of various common audio and video formats, as well as static image files, etc. The media library can support various audio and video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0116] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc.

[0117] The 2D graphics engine is a graphics engine for 2D drawing.

[0118] The hardware abstraction layer (HAL layer) is the interface layer between the operating system software and the hardware components, which provides an interface for the interaction between the upper-layer software and the lower-layer hardware. The HAL layer abstracts the underlying hardware into software containing the corresponding hardware interfaces, and the settings of the underlying hardware devices can be achieved by accessing the HAL layer. For example, relevant hardware components can be enabled or disabled in the HAL layer. In some embodiments, the core architecture of the HAL layer is composed of at least one of C++ or C.

[0119] The HAL layer includes multiple services. For example, the touch HIDL service is used for Inter-Process Communication (IPC). Additionally, the touch HIDL service can be replaced by other services. For ease of explanation, Figure 2A and Figure 2B the touch HIDL service is taken as an example for illustration in

[0120] The kernel layer is the layer between the hardware and the software. The kernel layer at least includes a display driver, a camera driver, an audio driver, a sensor driver, a driver for the touch chip, and an input system, etc. For ease of explanation, Figure 2A and Figure 2B the input system and the driver for the touch chip are taken as examples for illustration in

[0121] In this application, the specific implementation manners of the touch module mentioned above can include various ones. For example, the touch module can be integrated in the application chip of the electronic device 100 (such as Figure 2A the touch chip shown). Also, for example, the touch module can be integrated in the hardware abstraction layer of the application processor AP as shown in Figure 2B . It should be noted that the touch module can also be integrated in other layers of the application processor AP.

[0122] Among them, the touch module includes the anti-misoperation algorithm for the anti-misoperation area of this application, which is used to implement the anti-misoperation method of this application. Among them, the anti-misoperation area can be understood as the area on the interface of the display screen where the probability of misoperation is greater than or equal to a preset probability. This application does not limit the value of the preset probability. This application does not limit the specific implementation manner of the anti-misoperation algorithm for the anti-misoperation area. In some embodiments, the anti-misoperation algorithm for the anti-misoperation area can be represented by Formula 1:

[0123] S = D(Sig cur , Sig ref ) * W sig + D(Shape cur , Shape ref ) * W shape+D(Pos cur , Pos start ) * W Pos +… Formula 1

[0124] Where, Sig cur is the magnitude of the electrical signal of the touch area corresponding to the touch operation in the current frame electrical signal. The representation of the magnitude of the electrical signal of the touch area corresponding to the touch operation in the current frame electrical signal may include, but is not limited to: the average value of the electrical signals of all touch points in the touch area corresponding to the touch operation in the current frame electrical signal, or, the maximum value of the electrical signals of all touch points in the touch area corresponding to the touch operation in the current frame electrical signal, or, the minimum value of the electrical signals of all touch points in the touch area corresponding to the touch operation in the current frame electrical signal.

[0125] Sig ref is the reference value of the electrical signal of the touch area formed by the user pressing the display screen of the electronic device normally. Sig cur and Sig ref adopt a unified value-taking specification, that is, when Sig ref is the maximum value of the electrical signals of all touch points in the touch area formed by the user pressing the display screen of the electronic device normally, Sig cur is the maximum value of the electrical signals of all touch points in the touch area corresponding to the touch operation in the current frame electrical signal. D(Sig cur , Sig ref ) is the difference degree between Sig cur and Sig ref1 . W sig is the weight of the feature of the electrical signal magnitude.

[0126] Shape cur is the actual shape of the touch area corresponding to the touch operation in the current frame electrical signal. The representation of the actual shape of the touch area corresponding to the touch operation in the current frame electrical signal may include, but is not limited to: the ratio of the length and width of the touch area corresponding to the touch operation in the current frame electrical signal, the difference between the length and width of the touch area corresponding to the touch operation in the current frame electrical signal, the area of the touch area corresponding to the touch operation in the current frame electrical signal, etc.

[0127] Shape ref is the reference shape of the touch area formed by the user pressing the display screen of the electronic device normally. Shape cur and Shape ref adopt a unified value-taking specification, that is, when Shape ref is the ratio of the length and width of the touch area formed by the user pressing the display screen of the electronic device normally, Shape curris the ratio of the length to the width of the touch area corresponding to the touch operation in the current frame electrical signal. D(Shape cur , Shape ref ) is the degree of difference between Shape cur and Shape ref . W shape is the weight of the feature of the shape of the touch area.

[0128] Pos cur is the position information of the touch area corresponding to the touch operation in the current frame electrical signal. Pos start is the starting position of the touch area associated with the touch operation corresponding to the current frame electrical signal in the historical frame electrical signal. The representation method of the position information of the touch area corresponding to the touch operation in the current frame electrical signal may include but is not limited to: the coordinates corresponding to the center position of the touch area corresponding to the touch operation in the current frame electrical signal, or, the coordinates of the touch point corresponding to the maximum value of the electrical signals of all touch points in the touch area corresponding to the touch operation in the current frame electrical signal, or, the coordinates of the touch point corresponding to the minimum value of the electrical signals of all touch points in the touch area corresponding to the touch operation in the current frame electrical signal, or, the boundary coordinates corresponding to the touch area corresponding to the touch operation in the current frame electrical signal, or, the coordinates of a point 1 in the current frame electrical signal, and the coordinates of this point 1 can be used to represent the center position of the touch area corresponding to the touch operation obtained based on the electrical signal of the touch area corresponding to the touch operation. Generally, the coordinates of this point 1 can be calculated according to a preset weighting algorithm from the electrical signals of each touch point in the touch area corresponding to the touch operation. Among them, the historical frame electrical signal may be the electrical signal of one frame or multiple frames before the current frame electrical signal, and the present application does not limit the specific number of historical frame electrical signals.

[0129] Pos cur and Pos start adopt a unified value-taking specification, that is, when Pos start is the coordinate information corresponding to the maximum value of the electrical signals of all touch points in the touch area corresponding to the touch operation in the current frame electrical signal, Pos cur is the coordinate information corresponding to the maximum value of the electrical signals of all touch points in the touch area formed at the starting moment when the user performs a touch operation on the display screen. D(Pos cur , Pos start ) is the moving distance between Pos cur and Pos start . W Pos is the weight of the feature of the position change.

[0130] In Formula 1, S is the weighted sum of the differences between various features such as the magnitude of the electrical signal corresponding to the current frame, the shape of the touch area, and the position change of the touch area and their weights. It should be noted that in addition to features such as the magnitude of the electrical signal, the shape of the touch area, and the position change, the S value in this application can also be related to other attribute parameters of the controls in the current interface, and this application does not limit this. Generally, when S is greater than or equal to the threshold S0, the touch control module can determine that the user's touch operation is a false touch operation. When S is less than the threshold S0, the touch control module can determine that the user's touch operation is a normal operation.

[0131] Among them, this application does not limit the specific magnitude of the threshold S0. Generally, the touch control module can set the threshold S0 based on the application scenario, the anti-false touch area, and the layout of the controls. In addition, taking the scenario where a user makes a phone call with a mobile phone as an example, the difference between a false touch operation and a normal operation is introduced. When the user's ear is close to the mobile phone earpiece, both the user's cheek and ear may touch the display screen of the mobile phone. If the user needs to end the call, generally, the user will click the hang-up button with a finger to end the call. This contact of the finger touching the touch screen is called a normal touch (i.e., a normal operation). If the cheek and ear touch the hang-up button, it will cause the call to be suddenly interrupted, affecting the user's normal call. The user does not want this to happen. This contact of parts such as the cheek and ear touching the touch screen is called a false touch operation.

[0132] Among them, the application scenario can be understood as the usage scenario where an application is located on the display screen of the electronic device 100. This application can determine the application scenario by using the type of the application. An application can include one or more application scenarios. When an application includes multiple application scenarios, the multiple application scenarios can all be application scenarios with low sensitivity, or can all be application scenarios with high sensitivity, or can also include application scenarios with low sensitivity and application scenarios with high sensitivity at the same time.

[0133] Moreover, this application generally divides the types of application scenarios into application scenarios with low sensitivity and application scenarios with high sensitivity. For example, the game scenario is an application scenario with high sensitivity, and the call scenario is an application scenario with low sensitivity. The sensitivity mentioned in this application can be understood as the response speed. That is, compared with the application scenario with low sensitivity, the application scenario with high sensitivity can respond to the user's touch operation more timely. So that in the application scenario with high sensitivity, the touch sensor 180K of the electronic device reports the electrical signal of the display screen to the touch control chip in the electronic device 100 at a higher frequency, so that the application can obtain the reported point coordinate information faster, which is beneficial to meeting the user's requirement that the electronic device can respond to the touch operation in a timely manner.

[0134] It should be noted that the present application can also perform a fine-grained division of the types of application scenarios, such as the application scenario with the lowest sensitivity, the application scenario with medium-low sensitivity, the application scenario with normal sensitivity, the application scenario with medium-high sensitivity, and the application scenario with the highest sensitivity. In addition, the present application can also divide the types of application scenarios based on other parameters.

[0135] For different types of application scenarios, compared with the application scenario with low sensitivity, in the application scenario with high sensitivity, the threshold S0 becomes larger, and / or, W sig and W shape becomes smaller.

[0136] For any application scenario, the present application can divide the anti-misoperation area into the overlapping area of the anti-misoperation area and the control, and the non-overlapping area of the anti-misoperation area and the control. Among them, the types of the overlapping area of the anti-misoperation area and the control include: the overlapping area of the anti-misoperation area and the control of the sliding type, and the overlapping area of the anti-misoperation area and the control of the click / press type.

[0137] Compared with the non-overlapping area of the anti-misoperation area and the control, in the overlapping area of the anti-misoperation area and the control of the sliding type, the threshold S0 becomes smaller, and W Pos becomes smaller (such as becoming a negative value). In the overlapping area of the anti-misoperation area and the control of the click / press type, the threshold S0 remains unchanged, and W Pos becomes larger (such as becoming a positive value).

[0138] Next, taking the electronic device 100 as a mobile phone, and the three controls included in the interface of the electronic device are control A, control B, and control C respectively as an example, combined with different states of the electronic device, the specific implementation process of the touch module of the electronic device setting the threshold S0 based on the application scenario, the anti-misoperation area, and the layout of the controls is introduced. For the sake of convenience of explanation, Figures 3A - 3C 、 Figures 4A - 4C and Figures 5A - 5C in, when the electronic device is in normal use (i.e., the display screen faces the user), the X direction is used to indicate that the width direction of the electronic device is to the right, and the Y direction is used to indicate the length direction of the electronic device.

[0139] Figures 3A - 3C Shows the main screen application scenario of the electronic device. As Figures 3A - 3B shown, the electronic device is in the portrait state, and the user is likely to hold the two side areas of the electronic device. Then the anti-misoperation area S11 is located in the two side areas of the display screen as shown in Figure 3C shown, the overlapping area of control A and the anti-misoperation area S11 is S121, control B does not overlap with the anti-misoperation area S11, and the overlapping area of control C and the anti-misoperation area S11 is S122.

[0140] For Figure 3CThe main screen application scenario shown, the thresholds S0 and W in regions S121 and S122 Pos have the same value rules. For the convenience of explanation, take the value rules of the threshold S0 and W in region S121 Pos as an example for explanation.

[0141] Assume that the threshold S0 of the other regions in region S11 except regions S121 and S122 is AA1, and W Pos is AA2. Then, when the type of control A is click / press type, the threshold S0 in region S121 is equal to AA1, and W Pos is greater than AA2, such as a positive value. When the type of control A is slide type, the threshold S0 of the threshold S0 in region S121 is less than AA1, and W Pos is less than AA2, such as a negative value.

[0142] Figures 4A - 4C shows the call application scenario of the electronic device. As Figures 4A - 4B shown, the electronic device is in the vertical screen state, and parts of the user's face, head, etc. are likely to touch the central area of the electronic device. Then the anti-misoperation area S21 is located in the central area of the display screen as Figure 4C shown. The overlapping area of control A and the anti-misoperation area S21 is S221, the overlapping area of control B and the anti-misoperation area S21 is S222, and the overlapping area of control C and the anti-misoperation area S21 is S223.

[0143] For Figure 4C the call application scenario shown, the thresholds S0 and W in regions S221, S222, and S223 Pos have the same value rules. For the convenience of explanation, take the value rules of the threshold S0 and W in region S221 Pos as an example for explanation.

[0144] Assume that the threshold S0 of the other regions in region S21 except regions S221, S222, and S223 is AA3, and W Pos is AA4. Then, when the type of control A is click / press type, the threshold S0 in region S221 is equal to AA3, and W Pos is greater than AA4, such as a positive value. When the type of control A is slide type, the threshold S0 of the threshold S0 in region S221 is less than AA3, and W Pos is less than AA4, such as a negative value.

[0145] Figures 5A - 5C shows the game application scenario of the electronic device. As Figures 5A - 5BAs shown, the electronic device is in the landscape screen state, and it is easy for the user to touch the bottom area and the two side areas of the electronic device. Then, the anti-mis-touch area S31 is located in the part of the bottom area of the display screen as shown in Figure 5C and the two side areas of the display screen. The overlapping area between the control A and the anti-mis-touch area S31 is S321, the overlapping area between the control B and the anti-mis-touch area S31 is S322, and the overlapping area between the control C and the anti-mis-touch area S31 is S323.

[0146] For Figure 5C the game application scenario shown, the threshold values S0 and W in the areas S321, S322, and S323 Pos have the same value-taking rules. For the sake of convenience of explanation, the value-taking rules of the threshold values S0 and W in the area S321 Pos are taken as an example for explanation.

[0147] Suppose the threshold value S0 of the other areas in the area S31 except for the areas S321, S322, and S323 is AA5, and W Pos is AA6. Then, when the type of the control A is the click / press type, the threshold value S0 in the area S321 is equal to AA5, and W Pos is larger than AA6, such as a positive value. When the type of the control A is the slide type, the threshold value S0 of the threshold value S0 in the area S321 is less than AA5, and W Pos is smaller than AA6, such as a negative value.

[0148] Figures 5A - 5B , Figure 5D shows the game application scenario of the electronic device. As shown in Figures 5A - 5B , the electronic device is in the landscape screen state, and it is easy for the user to touch the bottom area and the two side areas of the electronic device. Then, the anti-mis-touch area S41 is located in the part of the bottom area of the display screen as shown in Figure 5D and the two side areas of the display screen. The control A does not overlap with the anti-mis-touch area S41, the overlapping area between the control B and the anti-mis-touch area S41 is S421, and the overlapping area between the control C and the anti-mis-touch area S41 is S422.

[0149] For Figure 5D the call application scenario shown, the threshold values S0 and W in the areas S421 and S422 Pos have the same value-taking rules. For the sake of convenience of explanation, the value-taking rules of the threshold values S0 and W in the area S421 Pos are taken as an example for explanation.

[0150] Suppose the threshold value S0 of the other areas in the area S41 except for the areas S421 and S422 is AA7, and W PosIs AA8. Then, when the type of control B is click / press type, the threshold S0 in area S321 is equal to AA7, and W Pos Is larger than AA8, such as being a positive value. When the type of control B is slide type, the threshold S0 of the threshold S0 in area S321 is less than AA7, and W Pos Is smaller than AA8, such as being a negative value. Based on the above description, since the sensitivities of the call application scenario, the home screen application scenario, and the game application scenario increase in sequence, that is, the call application scenario belongs to the application scenario 4C with low sensitivity, the home screen application scenario belongs to the application scenario 3C with medium sensitivity, and the game application scenario belongs to the application scenario 5C5D with high sensitivity. Therefore, Figure 4C The threshold S0 in Figure 3C Is smaller than the threshold S0 in Figure 3C And the threshold S0 in Figure 5C Or Figure 5D The threshold S0 in is smaller, that is, AA3 < AA1 < AA5, or AA3 < AA1 < AA7. And / or, Figure 4C The W in sig And W shape Are larger than the W in Figure 3C And the W in sig And W shape And are larger than the W in Figure 3C And the W in sig And W shape Are larger than the W in Figure 5C Or Figure 5D And the W in sig And W shape .

[0151] It should be noted that the difference degree mentioned in Formula 1 of this application can be replaced with similarity degree. In this way, generally, when S is less than or equal to the threshold S1, the touch control module can determine that the user's touch operation is a mis-touch operation. When S is greater than the threshold S1, the touch control module can determine that the user's touch operation is a normal operation. Among them, the specific size of the threshold S1 in this application is not limited. Generally, the touch control module can set the threshold S1 based on the application scenario, the anti-mis-touch area, and the layout of the control. In addition, the threshold S0 and the threshold S1 can be the same or different.

[0152] For different application scenarios, compared with the application scenario with low sensitivity, in the application scenario with high sensitivity, the threshold S1 becomes smaller, and / or, W sig And W shape Become larger.

[0153] For any application scenario, compared with the non-overlapping area between the anti-mis-touch area and the control, in the overlapping area between the anti-mis-touch area and the slide-type control, the threshold S1 becomes larger, and W PosIncrease (e.g., become a positive value). For the overlapping area between the accidental touch prevention area and the click / press type control, the threshold S1 remains unchanged, and W Pos Decrease (e.g., become a negative value).

[0154] When the touch control module is located in the touch chip, combined with Figure 2A to introduce the specific working principle of implementing the anti-touch control method of this application based on the anti-accidental touch algorithm of the anti-accidental touch area in the touch control module.

[0155] Such as Figure 2A As shown, the interface management service of the application framework layer monitors whether the layout of each control in the current interface has changed. When the interface management service of the application framework layer detects that the layout of at least one control in the current interface has changed, it sends an instruction to the interface layout service of the application framework layer (i.e., execute the Figure 2A step S11 shown), and this instruction is used to indicate that the layout of at least one control in the current interface (i.e., at least one attribute parameter) has changed. When the interface layout service of the application framework layer receives this instruction, it obtains all the attribute parameters of each control in the current interface and sends all the attribute parameters of each control in the current interface to the touch HIDL service of the hardware abstraction layer (i.e., execute the Figure 2A step S12 shown). Or, when the interface layout service of the application framework layer receives this instruction, it obtains the changed attribute parameters of the control corresponding to the changed attribute parameters in the current interface and sends the attribute parameters of the control corresponding to the changed attribute parameters in the current interface to the touch HIDL service of the hardware abstraction layer (i.e., execute the Figure 2A step S12 shown).

[0156] The touch HIDL service of the hardware abstraction layer sends all the attribute parameters of each control in the current interface received or the changed attribute parameters of the control corresponding to the changed attribute parameters in the current interface received to the driver of the touch chip in the kernel layer (i.e., execute the Figure 2A step S13 shown). The driver of the touch chip in the kernel layer sends all the attribute parameters of each control in the current interface received or the changed attribute parameters of the control corresponding to the changed attribute parameters in the current interface received to the touch chip (i.e., execute the Figure 2A step S14 shown). Thus, the touch control module in the touch chip adjusts the anti-accidental touch algorithm corresponding to different touch areas based on all the attribute parameters of each control in the current interface or the attribute parameters of the control corresponding to the changed attribute parameters.

[0157] When a user's finger, cheek, ear, thigh or other body part touches the display screen of the electronic device 100, the touch sensor 180K in the electronic device 100 can detect the user's touch operation and generate an electrical signal. After detecting the touch operation, the touch sensor 180K reports the electrical signal of the display screen to the touch control chip in the electronic device 100 at a preset frequency. For example, the fixed frequency can be 120 frames / s. That is to say, the touch sensor 180K reports an electrical signal every about 8 ms. Each reporting moment can be understood as a frame. The touch control chip can continuously receive the electrical signal of each frame of the display screen (referred to as the electrical signal of each frame in this application).

[0158] Thus, for any frame of the received electrical signal, the touch control chip can determine features such as the actual shape of the touch area corresponding to the touch operation in this frame of electrical signal, the position information of the touch area corresponding to the touch operation in this frame of electrical signal, the current touch moment of the touch area corresponding to the touch operation in this frame of electrical signal, and the magnitude of the electrical signal of the touch area corresponding to the touch operation in this frame of electrical signal.

[0159] Among them, the actual shape of the touch area corresponding to the touch operation in this frame of electrical signal may include, but is not limited to: the ratio of the length to the width of the touch area corresponding to the touch operation in this frame of electrical signal, the difference between the length and the width of the touch area corresponding to the touch operation in this frame of electrical signal, and the area of the touch area corresponding to the touch operation in this frame of electrical signal.

[0160] Among them, the representation method of the position information of the touch area corresponding to the touch operation in this frame of electrical signal may include, but is not limited to: the coordinates corresponding to the center position of the touch area corresponding to the touch operation in this frame of electrical signal, or the coordinates of the touch point corresponding to the maximum value of the electrical signals of all touch points in the touch area corresponding to the touch operation in this frame of electrical signal, or the coordinates of the touch point corresponding to the minimum value of the electrical signals of all touch points in the touch area corresponding to the touch operation in this frame of electrical signal, or the boundary coordinates of the touch area corresponding to the touch operation in this frame of electrical signal, or the coordinates of a point 1 in this frame of electrical signal. The coordinates of the point 1 can be used to represent the center position of the touch area corresponding to the touch operation obtained based on the electrical signal of the touch area corresponding to the touch operation. Generally, the coordinates of the point 1 can be calculated coordinates obtained by the electrical signals of each touch point in the touch area corresponding to the touch operation according to a preset weighting algorithm.

[0161] Among them, the representation method of the magnitude of the electrical signal of the touch area corresponding to the touch operation in this frame of electrical signal may include, but is not limited to: the average value of the electrical signals of all touch points in the touch area corresponding to the touch operation in this frame of electrical signal, or the maximum value of the electrical signals of all touch points in the touch area corresponding to the touch operation in this frame of electrical signal, or the minimum value of the electrical signals of all touch points in the touch area corresponding to the touch operation in this frame of electrical signal.

[0162] Since the electronic device will pre-store the characteristic information corresponding to the touch operation in each frame of electrical signal before this frame of electrical signal, therefore, the touch module in the touch control chip combines the characteristic information corresponding to the touch operation in this frame of electrical signal and the characteristic information corresponding to the touch operation in the historical frame of electrical signal, and can determine the movement trajectory corresponding to the touch operation in this frame of electrical signal, the touch duration corresponding to the touch operation in this frame of electrical signal, the type of the touch operation in this frame of electrical signal, and the reported point coordinates of this frame of electrical signal. Among them, the historical frame of electrical signal is one frame of electrical signal or multiple frames of electrical signals before this frame of electrical signal.

[0163] Among them, the movement trajectory corresponding to the touch operation in this frame of electrical signal may include, but is not limited to: the position information corresponding to the touch operation in this frame of electrical signal and all positions associated with the touch operation corresponding to this frame of electrical signal in the historical frame of electrical signal (such as at least including the starting position).

[0164] Among them, the specific implementation method of the reported point coordinates in this application is not limited. For example, the reported point coordinates may be the coordinates of point 1 in this frame of electrical signal or the coordinates of point 1 after processing such as filtering, or may be the coordinates of a certain point in the historical frame of electrical signal.

[0165] In summary, the characteristic information corresponding to the touch operation in this frame of electrical signal determined by the touch control chip may at least include: the actual shape of the touch area corresponding to the touch operation in this frame of electrical signal, the magnitude of the electrical signal of the touch area corresponding to the touch operation in this frame of electrical signal, the position information corresponding to the touch operation in this frame of electrical signal, the movement trajectory corresponding to the touch operation in this frame of electrical signal, the touch duration corresponding to the touch operation in this frame of electrical signal, the type of the touch operation in this frame of electrical signal, and the reported point coordinates of this frame of electrical signal, etc.

[0166] The touch module in the touch control chip determines whether the user's touch operation is a mis-touch operation based on some or all of the characteristic information corresponding to the touch operation in this frame of electrical signal and the anti-mis-touch algorithm corresponding to the touch area corresponding to the touch operation in this frame of electrical signal.

[0167] Among them, at least a part of the feature information corresponding to the touch operation in the frame of electrical signal may include: the position information corresponding to the touch operation in the frame of electrical signal and the type of the touch operation in the frame of electrical signal, or, the position information corresponding to the touch operation in the frame of electrical signal, the movement track corresponding to the touch operation in the frame of electrical signal, and the touch duration corresponding to the touch operation in the frame of electrical signal. The electronic device can determine the type of the touch operation in the frame of electrical signal based on the movement track corresponding to the touch operation in the frame of electrical signal and the touch duration corresponding to the touch operation in the frame of electrical signal.

[0168] When it is determined that the user's touch operation is a false touch operation, the touch control module in the touch control chip shields the user's touch operation, such as not reporting the reported point coordinates corresponding to the frame of electrical signal to the driver of the touch control chip in the kernel layer. In addition, the touch chip in the touch control chip can store the feature information corresponding to the touch operation in the frame of electrical signal, so as to be used as the data source for whether the touch operation corresponding to any frame of electrical signal after the frame of electrical signal is a false touch operation, that is, the frame of electrical signal becomes the historical frame of electrical signal of any frame of electrical signal after the frame of electrical signal. Among them, any frame of electrical signal after the frame of electrical signal may be the electrical signal with an interval of M frames after the frame of electrical signal, and M is a positive integer.

[0169] When it is determined that the user's touch operation is not a false touch operation, the touch control module in the touch control chip reports the user's touch operation, such as sending the reported point coordinates corresponding to the frame of electrical signal to the driver of the touch control chip in the kernel layer (that is, performing Figure 2A the step S15 shown). The touch control chip in the kernel layer sends the reported point coordinates corresponding to the frame of electrical signal to the input system in the kernel layer (that is, performing Figure 2A the step S16 shown). Thus, the input system in the kernel layer can report the reported point coordinates corresponding to the frame of electrical signal to the upper layer (such as the application framework layer), and the upper layer responds to the user's touch operation based on the reported point coordinates corresponding to the frame of electrical signal.

[0170] Thereby, the touch control module in the touch control chip selectively reports the reported point coordinates corresponding to the frame of electrical signal to the application processor AP, which is beneficial to saving the processing resources of the application processor AP and reducing the processing amount of the application processor AP.

[0171] When the touch control module is in the application processor AP, in combination with Figure 2B , the specific working principle of implementing the anti-touch control method of this application based on the anti-false touch algorithm in the touch control module is introduced.

[0172] Such as Figure 2BAs shown, the interface management service in the application framework layer monitors whether the layout of each control in the current interface has changed. When the interface management service in the application framework layer detects that the layout of at least one control in the current interface (i.e., at least one attribute parameter) has changed, it sends an instruction to the interface layout service in the application framework layer (i.e., execute Figure 2B the step S21 shown), and this instruction is used to indicate that the layout of at least one control in the current interface has changed. When the interface layout service in the application framework layer receives this instruction, it obtains all the attribute parameters of each control in the current interface and sends all the attribute parameters of each control in the current interface to the touch HIDL service in the hardware abstraction layer (i.e., execute Figure 2B the step S22 shown). Or, when the interface layout service in the application framework layer receives this instruction, it obtains the changed attribute parameters of the control corresponding to the changed attribute parameters in the current interface and sends the changed attribute parameters of the control corresponding to the changed attribute parameters in the current interface to the touch HIDL service in the hardware abstraction layer (i.e., execute Figure 2B the step S22 shown).

[0173] The touch HIDL service in the hardware abstraction layer sends all the attribute parameters of each control in the current interface received or the changed attribute parameters of the control corresponding to the changed attribute parameters in the current interface received to the touch module in the hardware abstraction layer (i.e., execute Figure 2B the step S23 shown). Thus, the touch module in the hardware abstraction layer adjusts the anti-mis-touch algorithms corresponding to different touch areas based on all the attribute parameters of each control in the current interface or the changed attribute parameters of the control corresponding to the changed attribute parameters.

[0174] In some embodiments, when parts of the user's finger, cheek, ear, thigh, etc. touch the display screen of the electronic device 100, the touch chip in the electronic device 100 can obtain any frame of electrical signal generated by the user's touch operation through the touch sensor 180K in the electronic device 100. The content involved here can be referred to Figure 2A the description of the embodiment shown, and will not be elaborated here.

[0175] The touch chip sends any frame of electrical signal to the driver of the touch chip in the kernel layer (i.e., execute Figure 2B the step S24 shown). The driver of the touch chip in the kernel layer sends the received any frame of electrical signal to the touch module in the hardware abstraction layer (i.e., execute Figure 2B the step S25 shown).

[0176] For any received frame of electrical signal, the touch module of the hardware abstraction layer determines the actual shape of the touch area corresponding to the touch operation in the frame of electrical signal, the position information of the touch area corresponding to the touch operation in the frame of electrical signal, the current touch time of the touch area corresponding to the touch operation in the frame of electrical signal, the magnitude of the electrical signal of the touch area corresponding to the touch operation in the frame of electrical signal, etc. It should be noted that the implementation process here can be referred to Figure 2A the description of the embodiments shown, which will not be elaborated here.

[0177] In some other embodiments, when parts such as the user's finger, cheek, ear, thigh come into contact with the display screen of the electronic device 100, the touch chip in the electronic device 100 reports the electrical signal of the display screen through the touch sensor 180K in the electronic device 100, and it can be determined that the characteristic information corresponding to the touch operation in any frame of electrical signal can at least include: the actual shape of the touch area corresponding to the touch operation in the frame of electrical signal, the magnitude of the electrical signal of the touch area corresponding to the touch operation in the frame of electrical signal, the position information corresponding to the touch operation in the frame of electrical signal, the movement trajectory corresponding to the touch operation in the frame of electrical signal, the touch duration corresponding to the touch operation in the frame of electrical signal, the type of the touch operation in the frame of electrical signal, and the reported point coordinates of the frame of electrical signal, etc. It should be noted that the implementation process here can be referred to Figure 2A the description of the embodiments shown, which will not be elaborated here. The touch chip sends part or all of the characteristic information corresponding to the touch operation in the frame of electrical signal to the driver of the touch chip in the kernel layer (i.e., execute Figure 2B the step S24 shown). The driver of the touch chip in the kernel layer sends part or all of the characteristic information corresponding to the touch operation in the frame of electrical signal to the touch module of the hardware abstraction layer (i.e., execute Figure 2B the step S25 shown).

[0178] Thus, based on the above multiple implementation methods, the touch module of the hardware abstraction layer determines whether the user's touch operation is a mis-touch operation based on part or all of the characteristic information corresponding to the touch operation in the frame of electrical signal and the anti-mis-touch algorithm corresponding to the touch area corresponding to the touch operation in the frame of electrical signal.

[0179] When it is determined that the user's touch operation is a mis-touch operation, the touch module of the hardware abstraction layer shields the user's touch operation, such as not reporting the reported point coordinates corresponding to the frame of electrical signal to the driver of the touch chip in the kernel layer. In addition, the touchable module of the hardware abstraction layer stores the characteristic information corresponding to the touch operation in the frame of electrical signal to be used as the data source for whether the touch reference corresponding to any subsequent frame of electrical signal is a mis-touch operation, that is, the frame of electrical signal becomes the historical frame of electrical signal for any subsequent frame of electrical signal.

[0180] When it is determined that the user's touch operation is not a false touch operation, the touch module in the hardware abstraction layer reports the user's touch operation. For example, it sends the reported point coordinates corresponding to this frame of electrical signal to the driver of the touch chip in the kernel layer (that is, execute Figure 2B the step S26 shown). The touch chip in the kernel layer sends the reported point coordinates corresponding to this frame of electrical signal to the input system in the kernel layer (that is, execute Figure 2B the step S27 shown). Thus, the input system in the kernel layer can report the reported point coordinates of this frame of electrical signal to the upper layer (such as the application framework layer), and the upper layer responds to the user's touch operation based on the reported point coordinates corresponding to this frame of electrical signal.

[0181] Therefore, the application processor AP can accurately determine whether the user's touch operation is a false touch operation, so as to respond to the user's touch operation in a timely manner.

[0182] It should be noted that after the electronic device starts the anti-false touch function provided by this application, it can execute the implementation process of the embodiments shown in Figure 2A or Figure 2B . Among them, the electronic device can automatically start the anti-false touch function provided by this application, or can provide the user with software buttons or hardware keys corresponding to enabling and disabling the anti-false touch function provided by this application, so that the anti-false touch function provided by this application is started in response to the user's operation. Among them, the configuration of the software button or hardware key mentioned here can be performed in the settings system application of the electronic device.

[0183] In addition, after the electronic device starts the anti-false touch function provided by this application, even if the controls in the current interface do not change, but for the interface management service in the application framework layer, the attribute parameters of each control in the current interface change from none to existing, so that the interface management service in the application framework layer can determine that the attribute parameters of each control in the current interface have changed.

[0184] In this application, when at least one attribute parameter of at least one control in the current interface changes, the touch module can update the anti-false touch algorithm of the anti-false touch area in a timely manner, so that the electronic device meets the anti-false touch requirements corresponding to the same or different interfaces in different application scenarios and the interfaces with different control layouts in the same application scenario.

[0185] Next, taking the Figure 5C and Figure 5D shown game application scenario as an example, the specific implementation process of the touch module updating the anti-false touch algorithm of the anti-false touch area is introduced.

[0186] Such as Figure 5CAs shown, it is assumed that the area S31 supports a sliding operation to move the perspective in the game. The types of control A, control B, and control C are all click / press types. That is, the user can perform a click / press operation at the position of control A to release the skill of control A, the user can perform a click / press operation at the position of control B to release the skill of control B, and the user can perform a click / press operation at the position of control C to release the skill of control C.

[0187] When the current interface is the interface as shown in Figure 5C the electronic device transmits all the attribute parameters of each control in the current interface or the changed attribute parameters of the control corresponding to the changed attribute parameters to the touch module. Since the area S31 in the current interface supports a sliding operation. Therefore, the touch module can reduce the threshold S0 of other areas in the area S31 except for the areas S321, S322, and S323, and reduce W Pos , set W Pos to a negative value, so that the touch module is more inclined to judge the sliding operation acting on the remaining areas as a normal operation, and the click / press operation acting on the remaining areas as a mis-touch operation. The touch module can set the threshold S0 of each of the areas S321, S322, and S323 to remain unchanged, and increase W Pos , set W Pos to a positive value, so that the touch module is more inclined to judge the click / press operation acting on the areas S321, S322, and S323 as a normal operation, and the sliding operation acting on the areas S321, S322, and S323 as a mis-touch operation. Thus, the touch module can update the anti-mis-touch algorithm for the anti-mis-touch area, that is, update Formula 1.

[0188] When the user touches the display screen, the touch module responds to the user's touch operation, collects the frame of electrical signal, and based on this frame of electrical signal, determines that the characteristic information corresponding to the touch operation in this frame of electrical signal at least includes: the actual shape of the touch area corresponding to the touch operation in this frame of electrical signal, the electrical signal magnitude of the touch area corresponding to the touch operation in this frame of electrical signal, the position information corresponding to the touch operation in this frame of electrical signal, the movement trajectory corresponding to the touch operation in this frame of electrical signal, the touch duration corresponding to the touch operation in this frame of electrical signal, the type of the touch operation in this frame of electrical signal, and the reporting point coordinates of this frame of electrical signal, etc.

[0189] Thus, the touch control module substitutes some or all of the characteristic information corresponding to the touch operation in the frame of electrical signals into Formula 1 to determine whether S is greater than or equal to the threshold S0, so as to determine whether the touch operation is a false touch operation. If S is less than the threshold S0, the touch control module determines that the touch operation is a normal operation. If S is greater than or equal to the threshold S0, the touch control module determines that the touch operation is a false touch operation.

[0190] If the user modifies the current interface to the interface as Figure 5D shown, the electronic device transmits the attribute parameters of all the controls in the current interface or the changed attribute parameters of the controls corresponding to the changed attribute parameters to the touch control module. The specific adjustment method is as described above and will not be elaborated here.

[0191] Based on the foregoing description, when the current interface is the interface as Figure 5C shown, there is no area S421. Therefore, the touch control module can determine that the click / press operation on the area S421 is more likely to be determined as a false touch operation. When the current interface is the interface as Figure 5D shown, there is no area S322. Therefore, the touch control module can determine that the click / press operation on the area S322 is more likely to be determined as a false touch operation.

[0192] Thus, when at least one attribute parameter of at least one control in the interface changes, the anti-false touch algorithm in the anti-false touch area of the touch control module is updated synchronously. The updated anti-false touch algorithm can better adapt to the control layout of the current interface, and can accurately identify false touch operations without affecting the normal operation of the controls, avoiding the problem that normal operations cannot be performed due to false touch operations.

[0193] Based on Figure 1 , Figures 2A - 2B , Figures 3A - 3C , Figures 4A - 4C , Figures 5A - 5D the description of the embodiments, combined with Figure 6 , the specific implementation process of the anti-false touch method of this application is introduced.

[0194] Figure 6 is a schematic flowchart of an anti-false touch method provided by an embodiment of this application. As Figure 6 shown, the execution subject of the anti-false touch method of this application can be the touch control module mentioned in the foregoing embodiments, and this touch control module can be set in the touch control chip or the application processor of the electronic device. This method can include:

[0195] S101. The electronic device instructs the display screen connected to the electronic device to display a first interface.

[0196] In this application, when the touch module is set in the touch control chip, the touch control module can drive the display screen to display the first interface. When the touch module is set in the application processor, the touch control module can control the display screen to display the first interface. Among them, the first interface can be the interface corresponding to any application of the electronic device, and this application can be a system application or a third-party application. This application does not limit the specific type of this application.

[0197] S102. After the electronic device activates the anti-mis-touch function provided by this application, it obtains the first touch information. Among them, the signal corresponding to the first touch information is any frame of electrical signal in the life cycle of the touch operation. The touch operation occurs when the first interface is displayed on the display screen. The life cycle of the touch operation is an uninterrupted process from the start of touching the display screen of the electronic device to not touching the display screen of the electronic device, that is, the life cycle of the touch operation is the duration corresponding to a continuous process.

[0198] In this application, the electronic device can combine the application scenario and the actual situation to activate the anti-mis-touch function provided by this application. For example, the anti-mis-touch function provided by this application can be activated after the electronic device is powered on. And / or, the electronic device can respond to the user's operation of enabling the anti-mis-touch function provided by this application to activate the anti-mis-touch function provided by this application, such as the software button or hardware key provided by the electronic device to the user to enable and disable the anti-mis-touch function provided by this application as mentioned above. And / or, the application corresponding to the first interface, in combination with parameters such as the type of the application and the actual situation, can activate the anti-mis-touch function provided by this application. For example, when the first interface of the application is displayed on the electronic device, the application activates the anti-mis-touch function provided by this application.

[0199] Therefore, after the electronic device activates the anti-mis-touch function provided by this application, it can send a detection instruction to the touch sensor of the electronic device. This detection instruction is used to instruct the touch sensor to detect the user's touch operation in real time, so that the electronic device can obtain any frame of electrical signal as the first touch information when obtaining the first touch information.

[0200] S103. The electronic device determines whether the touch operation is a mis-touch operation based on the first touch information and the attribute parameters of the controls in the first interface.

[0201] When the electronic device obtains the first touch information, it can call the interface management service of the application framework layer to monitor in real time whether the attribute parameters of each control in the current interface change, and obtain the attribute parameters of the controls in the first interface. Among them, the attribute parameters of the controls in the first interface include: the position information of the control, or the position information of the control and the type of touch operation supported by the control. In a feasible implementation manner of step S103, its specific implementation process may include: steps S1031 - S1034.

[0202] S1031. The electronic device determines that the feature information corresponding to the touch operation in the first touch information at least includes: the position information corresponding to the touch operation in the first touch information and the type of the touch operation in the first touch information.

[0203] In this application, based on the first touch information, the electronic device can determine the position information of the touch area corresponding to the touch operation in the first touch information, and the current touch moment corresponding to the touch operation in the first touch information.

[0204] Since the feature information corresponding to the touch operation in the historical touch information at least includes: the initial position corresponding to the touch operation, the electronic device can determine the movement trajectory corresponding to the touch operation in the first touch information. Since the feature information corresponding to the touch operation in the historical touch information at least includes: the initial touch moment corresponding to the touch operation, the electronic device can determine the touch duration corresponding to the touch operation in the first touch information, so as to obtain the type of the touch operation in the first touch information. Wherein, the signal corresponding to the historical touch information includes the M-frame electrical signals before the signal corresponding to the first touch information in the life cycle of the touch operation, and M is a positive integer.

[0205] Wherein, in addition to the initial position corresponding to the touch operation and the initial touch moment corresponding to the touch operation in the historical touch information, the feature information corresponding to the touch operation in the historical touch information may further include: the actual shape of the touch area corresponding to the touch operation in the historical touch information, the electrical signal magnitude of the touch area corresponding to the touch operation in the historical touch information, the movement trajectory corresponding to the touch operation in the historical touch information, the touch duration corresponding to the touch operation in the historical touch information, and the reporting point coordinates corresponding to the historical touch information.

[0206] It should be noted that when the first touch information is the first frame electrical signal in the life cycle, since the feature information corresponding to the touch operation in the electrical signals (i.e., historical touch information) before this frame of electrical signal in the electronic device is empty, the electronic device determines the feature information corresponding to the touch operation in the first touch information based on this frame of electrical signal. When the first touch information is not the first frame electrical signal in the life cycle, this application determines the feature information corresponding to the touch operation in the first touch information according to the description of the embodiment shown in step S1031.

[0207] In addition, in addition to the above method, the electronic device can directly determine the feature information corresponding to the touch operation in the first touch information without performing the above process step by step. In this application, the feature information corresponding to the touch operation in the first touch information and the feature information corresponding to the touch operation in the second touch information can both refer to the description of the feature information corresponding to the touch operation in any frame of electrical signal.

[0208] Thus, the electronic device can determine that the characteristic information corresponding to the touch operation in the first touch information at least includes: determining that the characteristic information corresponding to the touch operation in the first touch information at least includes: the position information corresponding to the touch operation in the first touch information and the type of the touch operation in the first touch information.

[0209] In addition, based on the first touch information, the electronic device can also determine that the characteristic information corresponding to the touch operation in the first touch information includes: the actual shape of the touch area corresponding to the touch operation in the first touch information, the magnitude of the electrical signal of the touch area corresponding to the touch operation in the first touch information, and the reporting point coordinates corresponding to the first touch information.

[0210] S1032. The electronic device determines whether the touch operation is in the first area or the second area based on the position information corresponding to the touch operation in the first touch information and the position information of the control in the attribute parameters.

[0211] When the first interface includes one control, the first area is the area in the preset area of the first interface that coincides with the control. When the first interface includes multiple controls, taking control 1 and control 2 as an example, the first area is the area in the preset area of the first interface that coincides with control 1 and the area in the preset area of the first interface that coincides with control 2. The second area is the area in the preset area other than the first area.

[0212] In this application, the electronic device can adopt various implementation manners to determine whether the touch operation is in the first area or the second area.

[0213] In some embodiments, when the reporting point coordinates corresponding to the first touch information are in the first area, the electronic device determines that the touch operation is in the first area. When the reporting point coordinates corresponding to the first touch information are in the second area, the electronic device determines that the touch operation is in the second area. When the reporting point coordinates corresponding to the first touch information are in the area in the first interface other than the preset area, the electronic device determines that the touch operation is in the area in the first interface other than the preset area.

[0214] In other embodiments, when the area of the overlapping area between the touch area corresponding to the touch operation in the first touch information and the first area is the largest, the electronic device determines that the touch operation is in the first area. When the area of the overlapping area between the touch area corresponding to the touch operation in the first touch information and the second area is the largest, the electronic device determines that the touch operation is in the second area. When the area of the overlapping area between the touch area corresponding to the touch operation in the first touch information and the area in the first interface other than the preset area is the largest, the electronic device determines that the touch operation is in the area in the first interface other than the preset area.

[0215] It should be noted that, in this application, it is also possible to first determine whether the touch operation is located in a preset area, and then determine the area of the touch operation in the preset area based on the position information corresponding to the touch operation in the first touch information and the position information of the control in the attribute parameters, so as to determine the anti-mis-touch strategy corresponding to the area of the touch operation in the preset area.

[0216] If the touch area corresponding to the touch operation in the first touch information is located in the first area, the electronic device executes step S1033. If the touch area corresponding to the touch operation in the first touch information is located in the second area, the electronic device executes step S1036.

[0217] S1033. The electronic device determines formula one based on the position information of the control in the first area in the attribute parameters and the type of touch operation supported by the control in the first area.

[0218] S1034. The electronic device obtains S through formula one based on the position information corresponding to the touch operation in the first touch information, the type of touch operation in the first touch information, the actual shape of the touch area corresponding to the touch operation in the first touch information, and the magnitude of the electrical signal of the touch area corresponding to the touch operation in the first touch information.

[0219] S1035. The electronic device determines whether the touch operation is a mis-touch operation based on S and the threshold S0.

[0220] In this application, the electronic device can adopt various implementation methods to determine the anti-mis-touch algorithm corresponding to the touch area corresponding to the touch operation in the first touch information, that is, W in formula one sig1 、W shape1 、W Pos and the threshold S0.

[0221] In some embodiments, due to the different types of applications corresponding to the first interface, W Pos in formula one and the threshold S0 are different. Generally, when the first application and the second application respectively correspond to the first interface, the threshold S0 of the first application is greater than the threshold S0 of the second application, and / or, W sig of the first application is less than W sig of the second application, and W shape of the first application is less than W shape of the second application, where the first application is different from the second application, and the sensitivity of the first application is higher than that of the second application.

[0222] In some embodiments, due to whether the preset area overlaps with the control and the different types of controls overlapping with the preset area, W sig1 、W shape1 in formula one and the threshold S0 are different.

[0223] If the preset area can be divided into a first area and a second area, the first area is divided into a third area and a fourth area. Among them, the third area is the area in the first area that overlaps with the control supporting the touch operation of the sliding type, and the fourth area is the area in the first area that overlaps with the control supporting the touch operation of types other than the sliding type. The other types here may include, but are not limited to, the click type or the long-press type.

[0224] Among them, the threshold S0 of the third area is less than the threshold S0 of the second area, and the W of the third area Pos is less than the W of the second area Pos ; the threshold S0 of the fourth area is equal to the threshold S0 of the second area, and the W of the fourth area Pos is greater than the W of the second area Pos .

[0225] In addition, when the electronic device changes from displaying the first interface to displaying the second interface, the electronic device updates W in Formula 1 based on the attribute parameters of the controls in the second interface. sig1 W shape1 W Pos and the threshold S0. Among them, the types of the applications corresponding to the first interface and the second interface are different, and / or the attribute parameters of the controls in the first interface and the controls in the second interface are different.

[0226] Thus, the electronic device substitutes the feature information corresponding to the touch operation in the first touch information into Formula 1, and can determine whether the touch operation of the user is a mis-touch operation. Among them, when S is greater than or equal to the threshold S0, the electronic device determines that the touch operation is a mis-touch operation; when S is less than the threshold S0, the electronic device determines that the touch operation is not a mis-touch operation.

[0227] If it is determined that the touch operation of the user is a mis-touch operation, the electronic device executes step S104. If it is determined that the touch operation of the user is not a mis-touch operation, the electronic device executes step S105.

[0228] S1036. The electronic device determines whether the touch operation is a mis-touch operation based on the position information corresponding to the touch operation in the first touch information.

[0229] In this application, the electronic device can determine whether the touch operation is a mis-touch operation through Formula 1 or related technologies based on the position information corresponding to the touch operation in the first touch information. In addition, in addition to the position information corresponding to the touch operation in the first touch information, the electronic device can also combine parameters such as the shape and size corresponding to the touch operation in the first touch information and the electrical signal size corresponding to the touch operation in the first touch information, and determine whether the touch operation is a mis-touch operation through Formula 1 or related technologies.

[0230] If it is determined that the user's touch operation is a mis-touch operation, the electronic device executes step S104. If it is determined that the user's touch operation is not a mis-touch operation, the electronic device executes step S105.

[0231] S104. The electronic device shields the touch operation.

[0232] In this application, the electronic device can have multiple implementation manners to shield the touch operation. For example, the electronic device can delete the first touch information, or the electronic device can save the feature information corresponding to the touch operation in the first touch information.

[0233] S105. The electronic device reports the touch operation.

[0234] In this application, the electronic device can have multiple implementation manners to report the touch operation. For example, the electronic device can report the reported point coordinates corresponding to the first touch information, so that the electronic device can respond to the user's touch operation based on the reported point coordinates corresponding to the first touch information, such as displaying a prompt box, implementing the function corresponding to the touch operation, etc.

[0235] After step S104 or S105, the electronic device can further execute step S106.

[0236] S106. The electronic device obtains second touch information, updates the first touch information to the second touch information, updates the attribute parameters of the control in the first interface to the attribute parameters of the control in the second interface, and determines whether the touch operation is a mis-touch operation according to the description of step S103 until the life cycle of the touch operation ends. Wherein, the signal corresponding to the second touch information is any frame of electrical signal in the life cycle of the touch operation except the signal corresponding to the first touch information. The first interface and the second interface can be the same or different, and the control layouts in the first interface and the second interface can be the same or different.

[0237] In this application, the execution process of step S106 can refer to the description of the embodiment shown in step S102, which will not be elaborated here. Wherein, the second touch information can be any frame of electrical signal after the first touch signal, or any frame of electrical signal before the first touch information, and the first touch information and the second touch information can be adjacent or separated by several frames, which is not limited in this application. In addition, the electronic device can also store the feature information corresponding to the touch operation in the second touch information.

[0238] In this application, when the touch operation corresponding to the first touch information is not a false touch operation, before the end of the life cycle of the touch operation, the electronic device can continue to determine whether the user operation is a false operation based on any frame of electrical signal except the first touch information, which improves the accuracy of identifying false touch operations and is also conducive to timely recalling the operations corresponding to the touched operations that have been responded to.

[0239] It should be noted that the electronic device can determine whether a touch operation is a false touch operation based on each frame of electrical signal within the life cycle of the touch operation, or can determine whether a touch operation is a false touch operation based on several frames of electrical signals at intervals within the life cycle of the touch operation. That is, this application does not limit whether to detect whether a touch operation is a false touch operation periodically or aperiodically.

[0240] After S105, in addition to performing step S106, the electronic device can also perform step S107.

[0241] S107: The electronic device reports the touch operations corresponding to at least one frame of electrical signal after reporting the first touch information until the end of the life cycle of the touch operation.

[0242] In this application, when the touch operation corresponding to the first touch information is not a false touch operation, the electronic device can default that during the period from after the first touch information to the end of the life cycle, the user's touch operations are not false touch operations. Therefore, the electronic device can collect at least one frame of electrical signal after the first touch information, and based on at least one frame of electrical signal after the first touch information, report the reported point coordinates corresponding to at least one frame of electrical signal after the first touch information. In addition, the electronic device can also store the characteristic information corresponding to the touch operation in at least one frame of electrical signal after the first touch information.

[0243] The anti-false touch method provided by this application timely adjusts the anti-false touch strategy corresponding to the anti-false touch area based on the layout change of the controls in the interface. Thus, when the user touches the display screen of the electronic device, the electronic device can determine whether the touch operation is a false touch operation based on the characteristic information corresponding to the touch operation in any frame of electrical signal and the anti-false touch algorithm corresponding to the current interface. Therefore, it meets the anti-false touch requirements under different interfaces or different control layouts in the same interface, and the user is unaware of the process of adjusting / updating the anti-false touch strategy, and quickly and accurately realizes false touch judgment, maximally ensuring that normal operations are not affected, effectively improving the processing resources of the electronic device, and enabling the user to have a better use experience.

[0244] Exemplarily, this application provides an electronic device, including: one or more memories and one or more processors connected to each other. When the software program stored in the one or more memories is executed by the one or more processors, the anti-false touch method of the foregoing embodiments is implemented.

[0245] In some embodiments, the electronic device is a chip.

[0246] In some embodiments, the electronic device further includes: a display screen and a touch sensor; the touch sensor is configured to receive a touch operation of a user and transmit touch information corresponding to the touch operation to the one or more processors; the display screen is configured to display content according to an instruction of the one or more processors.

[0247] Exemplarily, the present application provides an electronic device, including: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when executed by the electronic device, cause the electronic device to execute the anti-mis-touch method of the foregoing embodiments.

[0248] In some embodiments, the electronic device is a chip.

[0249] In some embodiments, the electronic device further includes: a display screen and a touch sensor; the touch sensor is configured to receive a touch operation of a user and transmit touch information corresponding to the touch operation to the one or more processors; the display screen is configured to display content according to an instruction of the one or more processors.

[0250] Exemplarily, the present application provides a computer-readable storage medium storing instructions that, when run on an electronic device, cause the electronic device to execute the anti-mis-touch method of the foregoing embodiments.

[0251] Exemplarily, a computer program product of the present application includes instructions that, when the computer program product runs on an electronic device, cause the electronic device to execute the anti-mis-touch method of the foregoing embodiments.

[0252] In the above embodiments, all or part of the functions may be implemented by software, hardware, or a combination of software and hardware. When implemented by software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium. The computer-readable storage medium may be any available medium that the computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)), etc.

[0253] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments may be completed by instructing relevant hardware with a computer program. The program may be stored in a computer-readable storage medium. When the program is executed, it may include the processes of the above method embodiments. The foregoing storage medium includes: various media such as ROM or random access memory RAM, magnetic disk, or optical disc that can store program codes.

Claims

1. A method for preventing accidental touch, characterized in that, it includes: The electronic device instructs the display screen connected to the electronic device to display a first interface; The electronic device obtains first touch information, where the signal corresponding to the first touch information is any frame of electrical signal in the life cycle of the touch operation, the touch operation occurs when the first interface is displayed on the display screen, and the life cycle of the touch operation is the continuous process from the start of touching the display screen to not touching the display screen; The electronic device determines whether the touch operation is an accidental touch operation based on the first touch information and the attribute parameters of the control in the first interface; When the electronic device determines that the touch operation is an accidental touch operation, it blocks the touch operation; When the electronic device determines that the accidental touch operation is not an accidental touch operation, it reports the touch operation; The electronic device determines whether the touch operation is an accidental touch operation based on the first touch information and the attribute parameters of the control in the first interface, including: The electronic device determines that the touch operation is located in a first area based on the position information corresponding to the touch operation in the first touch information and the position information of the control in the attribute parameters. The first area is the area in the preset area of the first interface that coincides with the control. Then, based on the difference degree between the electrical signal size of the touch area corresponding to the touch operation in any frame of electrical signal and the electrical signal reference value of the touch area formed by the user pressing the display screen normally, the difference degree between the actual shape of the touch area corresponding to the touch operation in any frame of electrical signal and the reference shape of the touch area formed by the user pressing the display screen normally, and the moving distance between the position information of the touch area corresponding to the touch operation in any frame of electrical signal and the starting position of the touch area associated with the touch operation corresponding to any frame of electrical signal in the historical frame of electrical signal, S is determined; When S is greater than or equal to the threshold S0, the electronic device determines that the touch operation is an accidental touch operation; when S is less than the threshold S0, the electronic device determines that the touch operation is not an accidental touch operation; where the threshold S0 is set based on the application scenario, the accidental touch prevention area, and the layout of the controls.

2. The method according to claim 1, characterized in that, The electronic device determines whether the touch operation is an accidental touch operation based on the first touch information and the attribute parameters of the control in the first interface, and further includes: The electronic device determines that the touch operation is located in a second area based on the position information corresponding to the touch operation in the first touch information and the position information of the control in the attribute parameters. The second area is the area in the preset area other than the first area. Then, based on the position information corresponding to the touch operation in the first touch information, it is determined whether the touch operation is an accidental touch operation.

3. The method according to claim 1, characterized in that, The electronic device determines S based on the difference between the electrical signal magnitude of the touch area corresponding to the touch operation in any frame of electrical signal and the electrical signal reference value of the touch area formed by the user's normal pressing on the display screen, the difference between the actual shape of the touch area corresponding to the touch operation in any frame of electrical signal and the reference shape of the touch area formed by the user's normal pressing on the display screen, and the moving distance between the position information of the touch area corresponding to the touch operation in any frame of electrical signal and the starting position of the touch area associated with the touch operation corresponding to any frame of electrical signal in the historical frame of electrical signal. Specifically, it includes: The electronic device determines Formula 1 based on the position information of the control in the first area in the attribute parameters and the type of touch operation supported by the control in the first area in the attribute parameters. The electronic device obtains S through Formula 1 based on the position information corresponding to the touch operation in the first touch information, the type of the touch operation in the first touch information, the actual shape of the touch area corresponding to the touch operation in the first touch information, and the electrical signal magnitude of the touch area corresponding to the touch operation in the first touch information. Formula 1 Sig cur is the magnitude of the electrical signal of the touch area corresponding to the touch operation in any frame of electrical signal; Sig ref is the reference value of the electrical signal of the touch area formed by the user's normal pressing on the display screen; D(Sig cur , Sig ref ) is the degree of difference between Sig cur and Sig ref1 ; W sig is the weight of the electrical signal magnitude; Shape cur is the actual shape of the touch area corresponding to the touch operation in any frame of the electrical signal; Shape ref is the reference shape of the touch area formed by the user's normal pressing on the display screen; D(Shape cur , Shape ref ) is the degree of difference between Shape cur and Shape ref ; W shape is the weight of the shape of the touch area; Pos cur is the position information of the touch area corresponding to the touch operation in any frame of the electrical signal; Pos start is the starting position of the touch area associated with the touch operation corresponding to any frame of the electrical signal in the historical frame of electrical signal; D(Pos cur , Pos start ) is the moving distance between Pos cur and Pos start ; W Pos is the weight of the position change of the touch area.

4. The method according to claim 3, wherein, When it comes to the first application and the second application corresponding to the first interface respectively, the threshold S0 of the first application is greater than the threshold S0 of the second application, and / or, the W of the first application sig is less than the W of the second application sig , and the W of the first application shape is less than the W of the second application shape , where the first application is different from the second application.

5. The method according to claim 4, wherein, The threshold S0 of the third region is less than the threshold S0 of the second region, and the W in the third region Pos is less than the W in the second region Pos ; The threshold S0 of the fourth region is equal to the threshold S0 of the second region, and the W of the fourth region Pos is greater than the W of the second region Pos ; The third area is the area in the first area that overlaps with the control supporting the touch operation of the sliding type, and the fourth area is the area in the first area that overlaps with the control supporting the touch operation of the type other than the sliding type.

6. The method according to any one of claims 1-5, wherein, The method further includes: The electronic device determines the motion trajectory corresponding to the touch operation in the first touch information based on the position information of the touch area corresponding to the touch operation in the first touch information and the initial position corresponding to the touch operation in the historical touch information. The electronic device determines the touch duration corresponding to the touch operation in the first touch information based on the current touch moment corresponding to the touch operation in the first touch information and the initial touch moment corresponding to the touch operation in the historical touch information. The electronic device determines the type of the touch operation in the first touch information based on the motion trajectory corresponding to the touch operation in the first touch information and the touch duration corresponding to the touch operation in the first touch information. The historical touch information corresponding signal includes M frames of electrical signals before the first touch information corresponding signal in the life cycle of the touch operation, and M is a positive integer.

7. The method according to any one of claims 1-5, wherein, The method further includes: The electronic device obtains second touch information, where the signal corresponding to the second touch information is any frame of electrical signal other than the first touch information corresponding signal in the life cycle of the touch operation. The electronic device determines whether the touch operation is a mis-touch operation based on the second touch information and the attribute parameters of the control in the second interface; When the electronic device determines that the mis-touch operation is not a mis-touch operation, it reports the touch operation.

8. The method according to claim 7, wherein, The signal corresponding to the second touch information is any frame of electrical signal after the signal corresponding to the first touch information.

9. The method according to any one of claims 1-5, wherein, The method further includes: When the touch operation is not a mis-touch operation, the electronic device reports the touch operation corresponding to at least one frame of electrical signal after the signal corresponding to the first touch information until the life cycle of the touch operation ends.

10. An electronic device, wherein, including: One or more memories and one or more processors connected to each other. When the software program stored in the one or more memories is executed by the one or more processors, the anti-mis-touch method described in any one of claims 1-9 is implemented.

11. The electronic device according to claim 10, wherein, The electronic device is a chip.

12. The electronic device according to claim 10, wherein, The electronic device further includes: a display screen and a touch sensor; The touch sensor is used to receive the touch operation of the user and transmit the touch information corresponding to the touch operation to the one or more processors; The display screen is used to display the content according to the instructions of the one or more processors.

13. A computer-readable storage medium, in which instructions are stored, wherein, When the instructions run on an electronic device, the electronic device is caused to execute the anti-mis-touch method described in any one of claims 1-9.

14. A computer program product containing instructions, wherein, When the computer program product runs on an electronic device, the electronic device is caused to execute the anti-mis-touch method described in any one of claims 1-9.

Citation Information

Patent Citations

  • Game operation method, mobile terminal and computer readable storage medium

    CN109663353A