Anti-mis-touch method and device, electronic equipment and storage medium

By adjusting the preset area of ​​the touchscreen and combining sensor data with ellipse fitting technology, the system can identify and respond to accidental touch operations, thus solving the problem of accidental touches in full-screen designs and improving the user experience.

CN119902641BActive Publication Date: 2025-12-12BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311406145.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-26
Publication Date
2025-12-12
Estimated Expiration
2043-10-26

AI Technical Summary

Technical Problem

With the widespread adoption of full-screen designs, the edges of electronic devices are becoming increasingly narrow, leading to frequent accidental touches. Existing methods for preventing accidental touches negatively impact the user's normal operating experience.

Method used

By adjusting the preset area of ​​the touchscreen, and combining touch input status, sensor data, and ellipse fitting technology, the system can identify and respond to or ignore accidental touch operations, ensuring that normal operation is not affected.

Benefits of technology

It improves the typing performance of the touchscreen, enhances the user's typing experience, and accurately identifies and responds to both normal and accidental touches.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119902641B_ABST
    Figure CN119902641B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method and device for preventing mistaken touch, an electronic device and a storage medium. The method comprises: in response to a touch input of an input area displayed on a touch screen, adjusting a preset area of the touch screen; wherein the input area is used for text response to the received touch input, and the input area at least partially overlaps with the preset area; in a case where a first touch operation is detected in the input area and the first touch operation acts on the adjusted preset area, using a mistaken touch detection strategy corresponding to the touch input to detect the first touch operation for a mistaken touch detection result; and when the mistaken touch detection result meets a preset mistaken touch judgment condition, not responding to the first touch operation. The present disclosure can effectively and accurately identify normal touch operations and mistaken touch operations in the preset area, improve the typing touch performance of the touch screen, and improve the user typing experience.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the field of communication, and particularly relates to a method and device for preventing mistaken touch, an electronic device and a storage medium. BACKGROUND

[0002] With the wide application of touch screens in electronic devices, the interaction operation of users on the electronic devices becomes more and more convenient. In order to further improve the visual experience of users and the value of the electronic devices, the design of full screen is popularized, and with the increasing screen ratio, the edge of the electronic device is getting narrower, which leads to mistaken touch when using the electronic device.

[0003] In order to prevent the influence of edge mistaken touch on use, the commonly used method for preventing mistaken touch is to increase a dead zone in the edge area, and any touch signal generated in the dead zone is invalid, so as to prevent mistaken touch. However, this method will cause the normal touch operation of the user in the edge area to be invalid, which affects the user experience. SUMMARY

[0004] The present disclosure provides a method and device for preventing mistaken touch, an electronic device and a storage medium to overcome the problem of mistaken touch in the edge area of the touch screen.

[0005] According to a first aspect of the embodiments of the present disclosure, a method for preventing mistaken touch is provided, comprising:

[0006] adjusting a preset area of the touch screen in response to a touch input of an input area displayed in the touch screen, wherein the input area is used for text response to the received touch input, and the input area at least partially overlaps with the preset area;

[0007] In a case where a first touch operation is detected to act on the adjusted edge suppression area, a mistaken touch detection strategy corresponding to the touch input is used to detect the first touch operation for mistaken touch, and a mistaken touch detection result is obtained;

[0008] When the mistaken touch detection result meets a preset mistaken touch judgment condition, the first touch operation is not responded.

[0009] In some embodiments, the method for preventing mistaken touch further comprises:

[0010] obtaining touch data corresponding to the touch input, and determining an input state of the touch input based on the touch data; and / or,

[0011] obtaining acceleration sensor parameters and gravity sensor parameters of the electronic device, and inputting the acceleration sensor parameters and the gravity sensor parameters into a state recognition model trained to obtain the input state of the touch input.

[0012] In some embodiments, determining the input state of the touch input based on the touch data comprises:

[0013] Determining the touch area corresponding to the touch input based on the touch data corresponding to the touch input;

[0014] Performing elliptical fitting on the touch area to determine an elliptical area and elliptical parameters corresponding to the elliptical area;

[0015] Determining the input state of the touch input based on the elliptical parameters;

[0016] The elliptical parameters comprise a number of the elliptical areas.

[0017] In some embodiments, determining the input state of the touch input based on the elliptical parameters comprises:

[0018] When the number of the elliptical areas is greater than one, determining that the input state of the touch input is a two-hand input state;

[0019] When the number of the elliptical areas is equal to one, determining that the input state of the touch input is a one-hand input state.

[0020] In some embodiments, adjusting the preset area of the touch screen comprises:

[0021] When the input state of the touch input is the one-hand input state, adjusting the preset area to an edge area on one side of the touch input;

[0022] When the input state of the touch input is the two-hand input state, adjusting the preset area to edge areas on both sides of the touch input;

[0023] The area of the preset area in the one-hand input state is greater than the area of each preset area in the two-hand input state.

[0024] In some embodiments, performing false touch detection on the first touch operation using a false touch detection strategy corresponding to the input state to obtain a false touch detection result comprises:

[0025] When the input state of the touch input is the one-hand input state or the two-hand input state, determining a current pressing force distribution parameter based on sensor touch data corresponding to the first touch operation; the pressing force parameter is used to represent a pressing force distribution trend of the first touch operation;

[0026] When the false touch detection result meets a preset false touch judgment condition, not responding to the first touch operation comprises:

[0027] In a case where the current pressing force distribution parameter is greater than a preset force distribution threshold, the first touch operation is not responded to.

[0028] In some embodiments, the current pressing force distribution parameter is determined based on touch data corresponding to the first touch operation, including:

[0029] In a case where the input state of the touch input is a single-hand input state, the number of touch regions when the first touch operation acts on the preset region is one, and there is no touch operation in the non-pre-set region of the touch screen, the current pressing force distribution parameter is determined based on touch data corresponding to the first touch operation.

[0030] In some embodiments, the pressing force distribution parameter includes a corner pressing force distribution parameter and / or an edge pressing force distribution parameter.

[0031] The current pressing force distribution parameter is determined based on touch data corresponding to the first touch operation, including:

[0032] If the coordinate corresponding to the maximum value in the touch data is located at the top corner position of the touch screen, a first sum of the touch data in a first L-shaped region containing the maximum value and a second sum of the touch data in a second L-shaped region adjacent to the first L-shaped region are determined, and the corner pressing force distribution parameter is determined based on the ratio between the first sum and the second sum; and / or

[0033] If the coordinate corresponding to the maximum value is located at a non-top corner position of the touch screen, a third sum of at least one of the touch data in the direction of the straight line where the maximum value is located and a fourth sum of at least one of the touch data in the direction of the straight line adjacent to the straight line where the maximum value is located are determined, and the edge pressing force distribution parameter is determined based on the ratio between the third sum and the fourth sum.

[0034] In some embodiments, an error touch detection strategy corresponding to the touch input is used to perform error touch detection on the first touch operation to obtain an error touch detection result, including:

[0035] In a case where the input state of the touch input is a single-hand input state, the area of the finger touch region and the area of the palm touch region are determined based on touch data corresponding to the first touch operation.

[0036] In a case where the error touch detection result meets a preset error touch judgment condition, the first touch operation is not responded to, including:

[0037] In a case where the area of the finger touch region is smaller than the area of the palm touch region, the first touch operation is not responded to.

[0038] In some embodiments, the area of the finger touch region and the area of the palm touch region are determined based on touch data corresponding to the first touch operation, including:

[0039] In a case where the first touch operation simultaneously acts on the preset region and a non-preset region of the touch screen, or

[0040] In a case where the number of touch regions when the first touch operation acts on the preset region is multiple, and there is no touch operation in the non-preset region of the touch screen, the area of the finger touch region and the area of the palm touch region are determined based on touch data corresponding to the first touch operation and coordinates of the touch data.

[0041] In some embodiments, the method for preventing accidental touch further includes:

[0042] In a case where the first touch operation simultaneously acts on the preset region and a non-preset region of the touch screen, the region in which the touch data corresponding to the first touch operation in the preset region is located is determined as the palm touch region.

[0043] The region in which the touch data corresponding to the first touch operation in the non-preset region is located is determined as the finger touch region.

[0044] In some embodiments, the method for preventing accidental touch further includes:

[0045] In a case where the number of touch regions when the first touch operation acts on the preset region is multiple, and there is no touch operation in the non-preset region of the touch screen, a plurality of touch regions are determined based on touch data corresponding to the first touch operation and coordinates of the touch data.

[0046] Curve fitting is respectively performed on each of the touch regions to obtain an elliptical region and a non-elliptical region.

[0047] The elliptical region is determined as the finger touch region, and the non-elliptical region is determined as the palm touch region.

[0048] According to a second aspect of the embodiments of the present disclosure, a device for preventing accidental touch is provided, including:

[0049] An adjusting module is configured to respond to touch input of an input region displayed in a touch screen, and adjust a preset region of the touch screen, wherein the input region is used for text response to the received touch input, and the input region at least partially overlaps with the preset region.

[0050] The detection module is configured to, when the first touch operation is detected in the input area and the first touch operation acts on the adjusted preset area, perform false touch detection on the first touch operation by using a false touch detection strategy corresponding to the touch input, to obtain a false touch detection result.

[0051] The determination module is configured to, when the false touch detection result meets a preset false touch judgment condition, not respond to the first touch operation.

[0052] In some embodiments, the adjustment module is further configured to:

[0053] obtain touch data corresponding to the touch input, and determine an input state of the touch input based on the touch data; and / or,

[0054] obtain acceleration sensor parameters and gravity sensor parameters of the electronic device, and input the acceleration sensor parameters and the gravity sensor parameters into a trained state recognition model to obtain the input state of the touch input.

[0055] In some embodiments, the adjustment module is further configured to:

[0056] determine a touch area corresponding to the touch input based on touch data corresponding to the touch input;

[0057] perform ellipse fitting on the touch area to determine an ellipse area and ellipse parameters corresponding to the ellipse area;

[0058] determine the input state of the touch input based on the ellipse parameters;

[0059] The ellipse parameters include a number of the ellipse areas.

[0060] In some embodiments, the adjustment module is further configured to:

[0061] when the number of the ellipse areas is greater than one, determine that the input state of the touch input is a double-hand input state;

[0062] when the number of the ellipse areas is equal to one, determine that the input state of the touch input is a single-hand input state.

[0063] In some embodiments, the adjustment module is further configured to:

[0064] when the input state of the touch input is the single-hand input state, adjust the preset area to an edge area on one side of the touch input;

[0065] adjust the preset area to an edge area of two sides where the touch input acts in a case that the input state of the touch input is a two-hand input state;

[0066] wherein a size of the preset area in the one-hand input state is greater than a size of each of the preset areas in the two-hand input state.

[0067] In some embodiments, the detecting module is further configured to:

[0068] determine a current pressing force distribution parameter based on the touch data corresponding to the first touch operation in a case that the input state of the touch input is a one-hand input state, wherein the pressing force parameter is used to represent a pressing force distribution trend of the first touch operation.

[0069] In some embodiments, the determining module is further configured to:

[0070] not respond to the first touch operation in a case that the current pressing force distribution parameter is greater than a preset force distribution threshold.

[0071] In some embodiments, the detecting module is further configured to:

[0072] determine the current pressing force distribution parameter based on the touch data corresponding to the first touch operation in a case that the touch area where the first touch operation acts on the preset area is one and there is no touch operation in the non-preset area of the touch screen.

[0073] In some embodiments, the detecting module is further configured to:

[0074] determine a first sum of the touch data in a first L-shaped area containing the maximum value and a second sum of the touch data in a second L-shaped area adjacent to the first L-shaped area based on a ratio between the first sum and the second sum, and determine the corner pressing force distribution parameter based on the ratio between the first sum and the second sum in a case that the coordinate corresponding to the maximum value is at a top corner position of the touch screen; and / or

[0075] determine a third sum of at least one of the touch data in a straight line direction of the maximum value and a fourth sum of at least one of the touch data in a straight line direction adjacent to the straight line of the maximum value based on a ratio between the third sum and the fourth sum, and determine the edge pressing force distribution parameter based on the ratio between the third sum and the fourth sum in a case that the coordinate corresponding to the maximum value is at a non-top corner position of the touch screen.

[0076] In some embodiments, the detecting module is further configured to:

[0077] In a case where the input state of the touch input is a single-hand input state, the area of the finger touch region and the area of the palm touch region are determined based on touch data corresponding to the first touch operation.

[0078] In some embodiments, the determining module is further configured to:

[0079] In a case where the area of the finger touch region is smaller than the area of the palm touch region, the first touch operation is not responded to.

[0080] In some embodiments, the detecting module is further configured to:

[0081] In a case where the first touch operation simultaneously acts on the preset region and a non-preset region of the touch screen, or

[0082] In a case where the number of touch regions when the first touch operation acts on the preset region is multiple and there is no touch operation in the non-preset region of the touch screen, the area of the finger touch region and the area of the palm touch region are determined based on touch data corresponding to the first touch operation.

[0083] In some embodiments, the detecting module is further configured to:

[0084] In a case where the first touch operation simultaneously acts on the preset region and a non-preset region of the touch screen, the region in which touch data corresponding to the first touch operation in the preset region is located is determined as the palm touch region.

[0085] The region in which touch data corresponding to the first touch operation in the non-preset region is located is determined as the finger touch region.

[0086] In some embodiments, the detecting module is further configured to:

[0087] In a case where the number of touch regions when the first touch operation acts on the preset region is multiple and there is no touch operation in the non-preset region of the touch screen, a plurality of touch regions are determined based on touch data corresponding to the first touch operation and coordinates of the touch data.

[0088] Curve fitting is respectively performed on each of the touch regions to obtain an elliptical region and a non-elliptical region.

[0089] The elliptical region is determined as the finger touch region, and the non-elliptical region is determined as the palm touch region.

[0090] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, which comprises:

[0091] a processor;

[0092] a memory configured to store processor-executable instructions;

[0093] The processor is configured to execute the anti-mistouch method of the first aspect when calling the executable instructions in the memory.

[0094] According to a fourth aspect of the embodiments of the present disclosure, a non-transitory computer-readable storage medium is provided, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the anti-mistouch method of the first aspect.

[0095] The technical solutions provided by the embodiments of the present disclosure can include the following beneficial effects:

[0096] The anti-mistouch method of the present disclosure adjusts a preset area of the touch screen in response to a touch input of an input area displayed in the touch screen, the input area is used for text response to the received touch input, and at least partially overlaps with the preset area; in the case that a first touch operation is detected in the input area and the first touch operation acts on the adjusted preset area, a mistouch detection strategy corresponding to the touch input is used to detect the first touch operation for a mistouch detection result; when the mistouch detection result meets a preset mistouch judgment condition, the first touch operation is not responded. Since the preset area is determined based on the touch input and the mistouch detection strategy is determined based on the touch input, the normal typing operation and the mistouch operation in the preset area can be effectively and accurately identified in the face of various touch input situations, the typing touch performance of the touch screen is improved, and the user typing experience is improved.

[0097] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS

[0098] The accompanying drawings, which are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure and, together with the specification, serve to explain the principles of the present disclosure.

[0099] Figure 1 is a flowchart of an anti-mistouch method according to an exemplary embodiment.

[0100] Figure 2 is a schematic diagram of a preset area in a touch screen in a single-hand input state according to an exemplary embodiment Figure One .

[0101] Figure 3 is a schematic diagram of a preset area in a touch screen in a single-hand input state according to an exemplary embodiment Figure Two .

[0102] Figure 4is a schematic diagram of preset regions in a touch screen in a single-hand input state according to an example embodiment Figure Three .

[0103] Figure 5 is a schematic diagram of preset regions in a touch screen in a double-hand input state according to an example embodiment Figure One .

[0104] Figure 6 is a schematic diagram of preset regions in a touch screen in a double-hand input state according to an example embodiment Figure Two .

[0105] Figure 7 is a schematic diagram of distribution of touch data involved in a pressing force distribution parameter in a false touch prevention method according to an example embodiment Figure One ;

[0106] Figure 8 is a schematic diagram of distribution of touch data involved in a pressing force distribution parameter in a false touch prevention method according to an example embodiment Figure Two .

[0107] Figure 9 is a schematic diagram of a false touch prevention device according to an example embodiment.

[0108] Figure 10 is a schematic diagram of a false touch prevention device according to an example embodiment. DETAILED DESCRIPTION

[0109] The example embodiments will be described in detail below with reference to the attached drawings. In the following description, the same numbers are used to designate the same elements, unless otherwise indicated. The embodiments described in the example embodiments below do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the present disclosure, as detailed in the appended claims.

[0110] In the specification, unless explicitly stated otherwise, the terms "first" and "second" are used only to describe in order to distinguish the constituent elements, and should not be construed as representing the order. Unless explicitly stated otherwise, the terms "connection", "fixing", and the like should be construed in a broad sense, including but not limited to "connection", "fixing", and the like directly, indirectly, detachably, and the like.

[0111] Figure 1 is a schematic diagram of a false touch prevention method according to an example embodiment Figure One , as shown in the figure, the method mainly includes the following steps: Figure 1

[0112] ​In step 101, in response to a touch input of an input area displayed in the touch screen, a preset area of the touch screen is adjusted; wherein the input area is used for text response to the received touch input, and the input area at least partially overlaps the preset area.

[0113] In this embodiment, the electronic device is a device with a touch screen and prone to false touch during use, such as a mobile phone, a tablet, a smart watch, a smart wearable device, etc. For example, the input area in the touch screen can be a virtual keyboard area or a handwriting input area, etc. which can respond to the input information of the user in text. The preset area in the touch screen is an area previously defined in the touch screen, and the electronic device will detect the touch operation in this area to determine whether the touch operation is a false touch operation. For the false touch operation in the preset area, the processor in the electronic device does not respond to the false touch operation (i.e. does not report the touch data of the false touch operation or does not execute the touch event corresponding to the false touch operation). For the non-false touch operation in the preset area, the processor in the electronic device will respond to the non-false touch operation.

[0114] Corresponding to the preset area, all touch operations in the non-preset area of the touch screen are directly responded by the electronic device without detection.

[0115] Therefore, the preset area is generally set at a position in the touch screen where false touch operation is prone to occur, such as the edge position of the touch screen, the corner position at the bottom of the touch screen, etc. The shape, size and position of the preset area can be adjusted and set according to the size of the electronic device, the user group, the application scenario, etc.

[0116] Since the input area can be a virtual keyboard area or a handwriting input area, etc. which can respond to the input information of the user in text, and the preset area is generally set at a position in the touch screen where false touch operation is prone to occur, therefore, the input area and the preset area will have some overlapping areas, and then based on the virtual keyboard input or handwriting input in the preset area, the preset area can be adjusted when the typing function of the electronic device is turned on (such as virtual keyboard typing input in a game interface, handwriting input in a chat interface, typing when watching a video and sending a barrage, etc.).

[0117] Specifically, the embodiment can determine the area prone to false touch and the typing state prone to false touch during typing based on the input state of the touch input, the position of the touch area of the touch input, the touch duration of the touch input, the area of the touch area of the touch input, etc. and adjust the size, shape, position, etc. of the preset area based on this.

[0118] In step 102, in the case that the first touch operation is detected in the input area and the first touch operation acts on the adjusted preset area, a false touch detection strategy corresponding to the touch input is used to perform false touch detection on the first touch operation, and a false touch detection result is obtained.

[0119] In this embodiment, the false touch detection on the first touch operation is actually false touch detection on the typing input operation acting on the preset area in the typing input process, so as to prevent false touch input in the edge area in the typing process. In the false touch detection, different touch inputs can correspond to different false touch detection strategies. Specifically, the corresponding false touch detection strategy can be determined based on the manner of the touch input (virtual keyboard input, handwriting input), the input state of the touch input (single-hand input, double-hand input), the size of the display area receiving the touch input, the touch duration of the touch input, the area of the touch region of the touch input, etc. For example, the false touch detection strategy corresponding to the virtual keyboard (9-key keyboard, 26-key keyboard) input is different from the false touch detection strategy corresponding to the handwriting input, the false touch detection strategy corresponding to the single-hand input is different from the false touch detection strategy corresponding to the double-hand input, the false touch detection strategy of the touch region located in the middle position of the preset area is different from the false touch detection strategy of the touch region located in the edge or corner position, and so on.

[0120] In step 103, when the false touch detection result meets the preset false touch judgment condition, the first touch operation is not responded.

[0121] In this embodiment, after the preset area is adjusted and the first touch operation is detected acting on the adjusted preset area, false touch detection is performed on the first touch operation, and the false touch detection result is obtained to determine whether the first touch operation is a valid operation (normal touch operation) or an invalid operation (false touch operation). The invalid operation is not responded, and the valid operation is responded. For example, in this embodiment, the non-response operation of the first touch operation can be that the touch data of the first touch operation is not reported, or the first touch operation corresponding touch event is not responded or executed.

[0122] When the first touch operation acts on the touch screen, since the touch screen is divided into a preset area and a non-preset area, there are three cases. The first case is that the first touch operation acts on the preset area and the non-preset area; the second case is that the first touch operation only acts on the preset area; and the third case is that the first touch operation only acts on the non-preset area.

[0123] The anti-mistouch method of the present disclosure can detect mistouch for touch operations in the preset area and determine whether to respond, and any touch operation in the non-pre-set area is considered as a normal touch operation and a touch response is performed. Therefore, the present embodiment can use a mistouch detection strategy corresponding to the touch input to detect mistouch for touch operations in the preset area in the first and second cases. In this way, the calculation amount of touch operations can be reduced, and mistouch operations can be effectively and accurately identified when typing, improving the typing touch performance of the touch screen and improving the user typing experience.

[0124] In some embodiments, the anti-mistouch method further comprises: obtaining touch data corresponding to the touch input, and determining the input state of the touch input based on the touch data; and / or obtaining acceleration sensor parameters and gravity sensor parameters of the electronic device, and inputting the acceleration sensor parameters and the gravity sensor parameters into the trained state recognition model to obtain the input state of the touch input.

[0125] In the present embodiment, the detection method of the input state of the touch input is divided into two types, and one or both can be used according to the application scenario of the anti-mistouch method, the electronic device applied, the user group faced by the electronic device, the requirements for the detection result (such as accuracy, reliability, speed), and other factors.

[0126] When detecting the input state according to the touch data of the touch input, the input state can be determined according to the position of the touch area corresponding to the touch data, the number of touch areas, the shape of the touch area, the tilt direction of the touch area, and other parameters.

[0127] It can be understood that when it is a single-hand input state (left hand or right hand), the touch area is mostly located on the left or right side of the touch screen, the number of touch areas corresponding to a touch operation is mostly one, the shape of the touch area is mostly similar to the shape of the thumb, and the tilt direction of the electronic device is mostly tilted to one side when typing with the left hand or the right hand. When it is a double-hand input state, the touch area mostly exists on the left and right sides of the touch screen at the same time, the number of touch areas corresponding to a touch operation can be multiple, the shape of the touch area includes the shape of other fingers in addition to the shape of the thumb, and the tilt direction of the electronic device generally exists in tilting to the left and tilting to the right at the same time, or keeping balance.

[0128] In the input state detection of the touch input based on the acceleration sensor and the gravity sensor, the parameters of the two sensors are obtained, and the input state can be obtained by inputting the parameters of the two sensors into the trained state recognition model. The tilt angle of the electronic device is different when typing with one hand and typing with two hands, and the acceleration sensor can detect the tilt angle of the electronic device up, down, left and right, and the gravity sensor can detect the motion state of the electronic device and the tilt angle relative to the horizontal plane. Therefore, the input state can be accurately measured based on the parameters of the two sensors. The state recognition model can be any one or a combination of more than one of a convolutional neural network, a support vector machine, a long short-term memory network, and a recurrent neural network.

[0129] Further, determining the input state based on the touch data includes: determining a touch area corresponding to the touch input based on the touch data corresponding to the touch input; performing ellipse fitting on the touch area to determine an ellipse area and ellipse parameters corresponding to the ellipse area; and determining the input state based on the ellipse parameters; wherein the ellipse parameters include the number of the ellipse areas.

[0130] In this embodiment, whether it is a capacitive touch screen, a resistive touch screen, or other types of touch screens, there will be a plurality of sensors arranged in an array in the display module of the electronic device. The plurality of sensors arranged in an array can be regarded as dividing the touch screen into a plurality of touch units to detect touch operations at each position of the touch screen and output touch data.

[0131] A touch operation of a user's hand involves a plurality of touch units, and a plurality of sensors corresponding to the plurality of touch units can detect and output touch data. Based on the coordinates of the touch data on the touch screen, the touch area of the touch operation can be determined. Since the shape of the finger is similar to an ellipse, the touch area is fitted with an ellipse to determine an ellipse area and ellipse parameters. The ellipse parameters can include the number of the ellipse areas, the tilt direction of the ellipse area, the area of the ellipse area, and the like. Based on the ellipse parameters, the input state of the touch input (single-hand input state, double-hand input state) can be determined. Further, based on the ellipse parameters, it can be determined whether to type with the left hand or the right hand, or even based on the ellipse parameters, the finger corresponding to the touch operation can be determined. When the thumb is touched, the area of the touch area is relatively large, and when the other fingers are touched, the area of the touch area is relatively small. Based on the finger corresponding to the touch operation, the size of the preset area can be adjusted to achieve accurate detection and further improve the accuracy of the false touch detection.

[0132] Further, based on the ellipse parameters, the input state of the touch input is determined, including: in the case that the number of the ellipse areas is greater than one, determining that the input state of the touch input is a double-hand input state; and in the case that the number of the ellipse areas is equal to one, determining that the input state of the touch input is a single-hand input state.

[0133] Specifically, in order to reduce the amount of calculation and improve the detection efficiency, it can be determined whether single-hand typing or double-hand typing is based on the number of elliptical regions.

[0134] In an embodiment, step 101 comprises: adjusting the preset region to the edge region of one side where the touch input is performed, when the input state of the touch input is a single-hand input state; adjusting the preset region to the edge region of both sides where the touch input is performed, when the input state of the touch input is a double-hand input state; wherein the size of the preset region in the single-hand input state is greater than the size of each preset region in the double-hand input state.

[0135] In the embodiment, the possibility and region of the touch input in different input states to generate a false touch are different. In the single-hand input state (left-hand input or right-hand input), the preset region is adjusted to the left edge region or the right edge region of the touch screen. In the double-hand input state, the preset region is adjusted to the left edge region and the right edge region. For example, when the user performs double-hand typing in a game interface, it is a double-hand input state, and a false touch is not likely to occur at this time. Therefore, the preset region can be a small-area fan shape and is arranged at the bottom corner position of both sides of the electronic device. For another example, when the user performs single-hand typing in a chat interface, it is a single-hand input state, and a false touch is likely to occur at this time. Therefore, the preset region can be a large-area rectangular shape and is arranged at the bottom corner position and the middle position of the edge of one side of the electronic device.

[0136] In addition, when the preset region is arranged, the size and shape of the electronic device can also be considered. For example, when the electronic device is a small device, the touch screen thereof is small, and the preset region can be arranged at the edge of the touch screen. When the electronic device is a large device, the preset region can be arranged at some positions of the edge of the touch screen according to the user experience and use habit.

[0137] It should be noted that adjusting the preset region of the touch screen can be understood as adjusting and changing the position, shape, and size of the preset region of the touch screen provided with the preset region, or can be understood as arranging a preset region with a certain shape and a certain size at a certain position of the touch screen of the electronic device without the preset region.

[0138] Specifically, when it is a single-hand input state, the preset region is adjusted to the left edge region, taking left-hand typing as an example. Specifically, as shown in FIG. 2, the preset region is adjusted to the left edge region of the touch screen. Figure 2 、 Figure 3 、 Figure 4As shown, the preset area can be the bottom left corner area, or the preset area can include the bottom left corner area and the middle left edge area, or the preset area can include the entire left side of the touchscreen. Of course, when typing with your right hand, the adjustment of the preset area is similar to that when typing with your left hand.

[0139] like Figure 5 , Figure 6 As shown, when typing with both hands, the possibility of accidental touches is relatively small. Therefore, a preset area can be set including a left corner area and a right corner area. The area of ​​the left corner area when typing with both hands is smaller than the area of ​​the left corner area when typing with the left hand, and the area of ​​the right corner area when typing with both hands is smaller than the area of ​​the right corner area when typing with the right hand. To further improve the accuracy of accidental touch detection, the shape of the preset area can also be set to a fan shape or other shapes.

[0140] The positions and shapes of the preset areas mentioned above are for illustrative purposes only. When making specific settings, you can also consider the application scenarios of the accidental touch detection method, the size of the electronic device, the users of the electronic device, and so on.

[0141] In some embodiments, step 102 includes: when the touch input state is a single-handed input state or a two-handed input state, determining the current pressure distribution parameter based on the touch data corresponding to the first touch operation; wherein the pressure parameter is used to characterize the pressure distribution trend of the first touch operation. Step 103 includes: when the current pressure distribution parameter is greater than a preset force distribution threshold, not responding to the first touch operation.

[0142] In this embodiment, accidental touch detection includes calculating pressure distribution parameters when in single-handed or two-handed input mode. It is understood that when a finger performs a touch operation on a touchscreen, the pressure across the entire touch area is not uniform. In the case of an accidental touch, the center of pressure is biased towards the edge of the touchscreen, meaning the pressure is greater at the edges and less in the non-edge areas. In the case of a normal touch operation, the center of pressure is generally not at the edge of the touchscreen, meaning the pressure is greater in the non-edge areas and less in the edge areas. Therefore, by determining whether the pressure distribution parameters are greater than a preset force distribution threshold, it can be determined whether the first touch operation is an accidental touch, and based on this, whether to respond to the first touch operation.

[0143] Furthermore, based on the touch data corresponding to the first touch operation, the current pressure distribution parameters are determined, including: when the touch input state is a single-handed input state, the touch area when the first touch operation is applied to a preset area is one, and there is no touch operation in the non-preset area of ​​the touch screen, the current pressure distribution parameters are determined based on the touch data corresponding to the first touch operation.

[0144] Specifically, when the input state is the single-hand input state, the first touch operation only acts on the preset area, and the number of touch areas in the preset area is one, the calculation of the pressing force distribution parameter is performed.

[0145] In an embodiment, the step 102 comprises: in the case that the input state of the touch input is the single-hand input state, determining the area of the finger touch area and the area of the palm touch area based on the touch data corresponding to the first touch operation; and the step 103 comprises: in the case that the area of the finger touch area is less than the area of the palm touch area, not responding to the first touch operation.

[0146] In the embodiment, the false touch detection comprises: in the single-hand typing, calculating the area of the finger touch area and the area of the palm touch area. It can be understood that, in the single-hand typing, if it is a false touch operation, the area of the finger touch area will be less than the area of the palm touch area; if it is a normal touch operation, the area of the finger touch area will certainly be greater than the area of the palm touch area. In the double-hand typing, the palm is generally not easy to produce a false touch operation, therefore, in the double-hand typing, the calculation of the area of the finger touch area and the area of the palm touch area is not performed.

[0147] Further, the determination of the area of the finger touch area and the area of the palm touch area based on the touch data corresponding to the first touch operation comprises: in the case that the first touch operation simultaneously acts on the preset area and the non-pre-set area of the touch screen, or in the case that the number of touch areas when the first touch operation acts on the preset area is multiple and there is no touch operation in the non-pre-set area of the touch screen, the area of the finger touch area and the area of the palm touch area are determined based on the sensor touch data corresponding to the first touch operation.

[0148] Based on the above embodiments, it can be summarized that, when the input state is the single-hand input state, the contents of the false touch detection in different touch situations are different, it can be determined whether it is a false touch by only calculating the pressing force distribution parameter, or it can be determined whether it is a false touch by calculating the pressing force distribution parameter, the area of the finger touch area and the area of the palm touch area. When the input state is the double-hand input state, it can be determined whether it is a false touch by only calculating the pressing force distribution parameter.

[0149] Specifically, when being the single-hand input state, (1) when the first touch operation acts on both the preset region and the non-preset region, the press intensity distribution parameter of the touch data in the preset region is calculated, and the area of the finger touch region and the area of the palm touch region of the touch data in the preset region and the non-preset region are calculated; (2) when the first touch operation acts on one touch region in the preset region, and there is no touch operation in the non-preset region, the press intensity distribution of the touch data in the preset region is calculated; (3) when the first touch operation acts on multiple touch regions in the preset region, and there is no touch operation in the non-preset region, the press intensity distribution parameter, the area of the finger touch region and the area of the palm touch region of the touch data in the preset region are calculated.

[0150] That is, the calculation of the press intensity distribution parameter is only based on the sensor touch data in the preset region, while the calculation of the area of the finger touch region and the area of the palm touch region may be based only on the touch data in the preset region, or may need to use the touch data in both the preset region and the non-preset region.

[0151] Specifically, the press intensity distribution parameter includes: a corner press intensity distribution parameter and / or an edge press intensity distribution parameter.

[0152] If the coordinate corresponding to the maximum value in the touch data is the top corner position of the touch screen, the first sum of the touch data in the first L-shaped region containing the maximum value and the second sum of the touch data in the second L-shaped region adjacent to the first L-shaped region are determined, and the corner press intensity distribution parameter is determined based on the ratio between the first sum and the second sum; and / or;

[0153] If the coordinate corresponding to the maximum value is a non-top corner position of the touch screen, the third sum of at least one touch data in the direction of the straight line where the maximum value is located and the fourth sum of at least one touch data in the direction of the straight line adjacent to the straight line where the maximum value is located are determined, and the edge press intensity distribution parameter is determined based on the ratio between the third sum and the fourth sum.

[0154] In this embodiment, the calculation of the press intensity distribution parameter determines the specific calculation method of the press intensity distribution parameter according to the position of the coordinate corresponding to the maximum value in the touch data on the touch screen. It can be understood that there are multiple sensors arranged in an array in the display module of the electronic device, and the multiple sensors arranged in an array can be regarded as dividing the touch screen into multiple touch units. Each sensor detects the touch operation of the touch unit corresponding to itself to obtain touch data, so each touch data has a corresponding coordinate in the touch screen. The maximum value in the touch data is the position with the maximum press intensity, i.e., the center of gravity of the touch operation.

[0155] For example, when the first touch operation acts on one touch region in the preset region, and there is no touch operation in the non-preset region, the press intensity distribution of the touch data in the preset region is calculated. Figure 7For example, when the coordinates of the maximum value are at the top corner of the touchscreen, it means that the center of gravity of the touch operation is at the top corner. At this time, the first L-shaped area containing the maximum value (1148) is calculated (e.g.: Figure 7 The sum of touch data for the dot matrix pattern area (142+514+962+1148+905+148) is used to obtain the first sum value. Then, the second L-shaped area adjacent to the first L-shaped area (e.g., ...) is calculated. Figure 7 The sum of touch data within the square grid pattern area (64+247+50) is used to obtain the second sum. The ratio of the first sum to the second sum is then used to determine the corner pressure distribution parameters.

[0156] by Figure 8 For example, when the coordinates of the maximum value are at a non-vertical corner position of the touchscreen, if the touch data is distributed in a column direction, then the sum of the touch data in the straight line direction of the column containing the maximum value is calculated (e.g.: Figure 8 (Midpoint pattern area), obtain the third sum (422+1139+1111+292), then calculate the sum of touch data in the line direction adjacent to the column line direction where the maximum value is located (e.g.: Figure 8 The fourth sum (335+255) is obtained from the square grid pattern area. Of course, if the touch data is distributed in a row direction, the calculation is based on the row straight line direction.

[0157] Furthermore, the methods for determining the finger touch area and palm touch area differ depending on the type of typing touch operation. Specifically, when the first touch operation simultaneously acts on a preset area and a non-preset area of ​​the touchscreen, the area containing the touch data corresponding to the first touch operation within the preset area is designated as the palm touch area; the area containing the touch data corresponding to the first touch operation within the non-preset area is designated as the finger touch area.

[0158] When the number of touch areas is multiple when the first touch operation is applied to the preset area, and there is no touch operation in the non-preset area of ​​the touch screen, multiple touch areas are determined based on the touch data and coordinates of the touch data corresponding to the first touch operation; curve fitting is performed on each touch area to obtain elliptical areas and non-elliptical areas; the elliptical areas are determined as finger touch areas, and the non-elliptical areas are determined as palm touch areas.

[0159] In this embodiment, when it is a one-handed input state, and the first touch operation is applied to both the preset area and the non-preset area, the hand operation is similar to Figure 2 As shown, it is assumed that the touch data applied to areas other than the preset area is the finger, and the touch data applied to the preset area is the palm. Therefore, the area where the sensor touch data is located within the preset area is taken as the palm touch area, and the area where the sensor touch data is located outside the preset area is taken as the finger touch area.

[0160] When the first touch operation only acts on the preset area and the number of touch areas in the preset area is multiple, the hand operation is similar to Figure 3 As shown, the multiple touch areas need to be identified to determine the finger touch area and the palm touch area. Specifically, the shapes of the multiple touch areas are identified by curve fitting, and when the touch area can be fitted as an elliptical area, the touch area is determined as a finger touch area. When the touch area is fitted as a non-elliptical area, the touch area is determined as a palm touch area.

[0161] Based on the above embodiments, the anti-mistouch method of the present disclosure determines the setting adjustment strategy of the preset area based on the input state of the touch input. In the case where the first touch operation acts on the preset area, the specific operation of the mistouch detection is determined according to the input state of the touch input, whether the first touch operation acts on the non-pre-set area, and the number of touch areas in the preset area. The entire method can reduce the amount of touch data calculation while achieving high accuracy in mistouch detection for various typing touch conditions under various input states of touch input.

[0162] Figure 9 An anti-mistouch device is shown according to an exemplary embodiment, as shown in Figure 9 The device includes:

[0163] The adjustment module 901 is configured to adjust a preset area of a touch screen in response to a touch input of an input area displayed in the touch screen, wherein the input area is used for text response to the received touch input, and the input area at least partially overlaps with the preset area.

[0164] The detection module 902 is configured to, in the case where a first touch operation is detected in the input area and the first touch operation acts on the adjusted preset area, use a mistouch detection strategy corresponding to the touch input to perform mistouch detection on the first touch operation, and obtain a mistouch detection result.

[0165] The determination module 903 is configured to, when the mistouch detection result meets a preset mistouch judgment condition, not respond to the first touch operation.

[0166] In some embodiments, the adjustment module 901 is further configured to:

[0167] Obtain touch data corresponding to the touch input, and determine the input state of the touch input based on the touch data; and / or,

[0168] obtain acceleration sensor parameters and gravity sensor parameters of the electronic device, and input the acceleration sensor parameters and the gravity sensor parameters into a trained state recognition model to obtain an input state of the touch input.

[0169] In some embodiments, the adjusting module 901 is further configured to:

[0170] determine a touch area corresponding to the touch input based on touch data corresponding to the touch input;

[0171] perform elliptical fitting on the touch area to determine an elliptical area and elliptical parameters corresponding to the elliptical area;

[0172] determine an input state of the touch input based on the elliptical parameters;

[0173] The elliptical parameters include a number of the elliptical areas.

[0174] In some embodiments, the adjusting module 901 is further configured to:

[0175] when the number of the elliptical areas is greater than one, determine that the input state of the touch input is a two-hand input state;

[0176] when the number of the elliptical areas is equal to one, determine that the input state of the touch input is a one-hand input state.

[0177] In some embodiments, the adjusting module 901 is further configured to:

[0178] when the input state of the touch input is the one-hand input state, adjust the preset area to an edge area on one side on which the touch input acts;

[0179] when the input state of the touch input is the two-hand input state, adjust the preset area to edge areas on two sides on which the touch input acts.

[0180] The size of the preset area in the one-hand input state is greater than the size of each preset area in the two-hand input state.

[0181] In some embodiments, the detecting module 902 is further configured to:

[0182] when the input state of the touch input is the one-hand input state, determine a current pressing force distribution parameter based on touch data corresponding to the first touch operation; the pressing force parameter is used to represent a pressing force distribution trend of the first touch operation.

[0183] In some embodiments, the determining module 903 is further configured to:

[0184] In a case where the current pressing force distribution parameter is greater than a preset force distribution threshold, the first touch operation is not responded to.

[0185] In some embodiments, the detection module 902 is further configured to:

[0186] In a case where the touch area of the first touch operation acting on the preset area is one, and there is no touch operation in the non-preset area of the touch screen, the current pressing force distribution parameter is determined based on the touch data corresponding to the first touch operation.

[0187] In some embodiments, the detection module 902 is further configured to:

[0188] If the coordinate corresponding to the maximum value in the touch data is at the top corner position of the touch screen, a first sum value between the touch data in a first L-shaped area containing the maximum value and a second sum value between the touch data in a second L-shaped area adjacent to the first L-shaped area are determined, and the corner pressing force distribution parameter is determined based on a ratio between the first sum value and the second sum value; and / or

[0189] If the coordinate corresponding to the maximum value is at a non-top corner position of the touch screen, a third sum value between at least one of the touch data in a straight line direction of the maximum value and a fourth sum value between at least one of the touch data in a straight line direction adjacent to the straight line of the maximum value are determined, and the edge pressing force distribution parameter is determined based on a ratio between the third sum value and the fourth sum value.

[0190] In some embodiments, the detection module 902 is further configured to:

[0191] In a case where the input state of the touch input is a single-hand input state, the area of the finger touch area and the area of the palm touch area are determined based on the touch data corresponding to the first touch operation.

[0192] In some embodiments, the determination module 903 is further configured to:

[0193] In a case where the area of the finger touch area is less than the area of the palm touch area, the first touch operation is not responded to.

[0194] In some embodiments, the detection module 902 is further configured to:

[0195] In a case where the first touch operation simultaneously acts on the preset area and the non-preset area of the touch screen; or,

[0196] When the first touch operation is applied to the preset area, there are multiple touch areas, and there is no touch operation in the non-preset area of ​​the touch screen, the area of ​​the finger touch area and the area of ​​the palm touch area are determined based on the touch data corresponding to the first touch operation.

[0197] In some embodiments, the detection module 902 is further configured to:

[0198] When the first touch operation is applied to both the preset area and the non-preset area of ​​the touch screen, the area where the touch data corresponding to the first touch operation is located in the preset area is taken as the palm touch area.

[0199] The area containing the touch data corresponding to the first touch operation within the non-preset area is designated as the finger touch area.

[0200] In some embodiments, the detection module 902 is further configured to:

[0201] When the number of touch areas is multiple when the first touch operation is applied to the preset area, and there is no touch operation in the non-preset area of ​​the touch screen, multiple touch areas are determined based on the touch data corresponding to the first touch operation and the coordinates of the touch data;

[0202] Curve fitting is performed on each of the touch areas to obtain elliptical and non-elliptical regions;

[0203] The elliptical region is defined as the finger touch area, and the non-elliptical region is defined as the palm touch area.

[0204] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0205] like Figure 10 As shown, this disclosure also provides an electronic device 100, including:

[0206] Memory 1004 is used to store processor-executable instructions;

[0207] Processor 1020 is connected to memory 1004;

[0208] The processor 1020 is configured to execute the anti-accidental touch method provided by any of the aforementioned technical solutions.

[0209] A block diagram of an electronic device 100 is shown according to an exemplary embodiment. For example, the electronic device 100 may be a smartphone, tablet computer, laptop computer, and portable learning machine, etc.

[0210] Referring to Figure 10 The electronic device 100 can include one or more of the following components: a processing component 1002, a memory 1004, a power component 1006, a multimedia component 1008, an audio component 1010, an input / output (I / O) interface 1012, a sensor component 1014, and a communication component 1018.

[0211] The processing component 1002 generally controls the overall operations of the electronic device 100, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1002 can include one or more processors 1020 to execute instructions to complete all or part of steps of the above methods. In addition, the processing component 1002 can include one or more modules to facilitate the interaction between the processing component 1002 and other components. For example, the processing component 1002 can include a multimedia module to facilitate the interaction between the multimedia component 1008 and the processing component 1002.

[0212] The memory 1004 is configured to store various types of data to support operations of the electronic device 100. Examples of these data include instructions for any application or method operating on the electronic device 100, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1004 can be implemented by any type of volatile or non-volatile storage devices or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0213] The power component 1006 provides power to the various components of the electronic device 100. The power component 1006 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 100.

[0214] The multimedia component 1008 includes a screen to provide an output interface between the electronic device 100 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide and gesture on the touch panel. The touch sensor can not only sense a boundary of a touching or sliding action, but also detect duration and pressure related to the touching or sliding action. In some embodiments, the multimedia component 1008 includes a front camera and / or a rear camera. When the electronic device 100 is in an operating mode, such as a camera mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.

[0215] The audio component 1010 is configured to output and / or input audio signals. For example, the audio component 1010 includes a microphone (MIC) to receive an external audio signal when the electronic device 100 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 1004 or transmitted via the communication component 1018. In some embodiments, the audio component 1010 further includes a speaker to output audio signals.

[0216] The I / O interface 1012 provides an interface between the processing component 1002 and peripheral interface modules, which can be a keypad, a click wheel, buttons, and the like. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.

[0217] The sensor component 1014 includes one or more sensors to provide various state assessments for the electronic device 100. For example, the sensor component 1014 can detect an open / closed state of the electronic device 100, relative positioning of components, such as a display and a keypad of the electronic device 700, a change in position of the electronic device 100 or a component of the electronic device 100, presence or absence of user contact with the electronic device 100, orientation or acceleration / deceleration of the electronic device 100, and a temperature change of the electronic device 100. The sensor component 1014 can include a proximity sensor configured to detect presence of a nearby object without any physical touch. The sensor component 1014 can further include a light sensor such as a CMOS or CCD image sensor for use in an imaging application. In some embodiments, the sensor component 1014 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0218] The communication component 1018 is configured to facilitate wired or wireless communication between the electronic device 700 and other devices. The electronic device 100 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1018 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1018 further includes a Near Field Communication (NFC) module to facilitate close proximity communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra wideband (UWB) technology, Bluetooth (BT) technology and other technology.

[0219] In an exemplary embodiment, the electronic device 100 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic elements, for performing the above-described methods.

[0220] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as the memory 1004 including instructions, is also provided, which can be executed by the processor 1020 of the electronic device 100 to complete the above-described methods. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disc, and an optical data storage device, etc.

[0221] The embodiment of the present application provides a non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the computer, the computer can execute the touch screen anti-mis-touch method of the foregoing one or more technical solutions.

[0222] Other embodiments of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the application following the general principles thereof and including such departures from the present disclosure as come within known use or custom in the art. The specification and examples are to be regarded as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0223] It should be understood that the present disclosure is not limited to the precise structures herein described and illustrated in the drawings, and that various modifications and changes can be made therein without departing from the scope thereof. The scope of the present disclosure is indicated by the appended claims, rather than by the description.

Claims

1. A method for preventing a mistaken touch, characterized by, The method comprises: adjusting a preset area of a touch screen in response to a touch input of an input area displayed in the touch screen, wherein the input area is used for text response to the received touch input, and the input area at least partially overlaps with the preset area; detecting a first touch operation in the input area, and performing false touch detection on the first touch operation by using a false touch detection strategy corresponding to the touch input to obtain a false touch detection result, when the first touch operation is applied to the adjusted preset area; not responding to the first touch operation when the false touch detection result meets a preset false touch judgment condition; wherein the false touch detection on the first touch operation by using the false touch detection strategy corresponding to the touch input to obtain the false touch detection result comprises: determining a current pressing force distribution parameter based on touch data corresponding to the first touch operation, when the input state of the touch input is a single-hand input state or a double-hand input state, wherein the pressing force parameter is used to represent the pressing force distribution trend of the first touch operation; the not responding to the first touch operation when the false touch detection result meets the preset false touch judgment condition comprises: not responding to the first touch operation when it is determined that the pressing force of the edge area of the touch screen is larger and the pressing force of the non-edge area is smaller based on the pressing force distribution parameter.

2. The method of claim 1, wherein, The method is applied to an electronic device, and further comprises: obtaining touch data corresponding to the touch input, and determining the input state of the touch input based on the touch data; and / or obtaining acceleration sensor parameters and gravity sensor parameters of the electronic device, and inputting the acceleration sensor parameters and the gravity sensor parameters into a trained state recognition model to obtain the input state of the touch input.

3. The method of claim 2, wherein, The determination of the input state of the touch input based on the touch data comprises: determining a touch area corresponding to the touch input based on the touch data corresponding to the touch input; performing ellipse fitting on the touch area to determine an ellipse area and ellipse parameters corresponding to the ellipse area; determining the input state of the touch input based on the ellipse parameters; wherein the ellipse parameters comprise the number of the ellipse areas.

4. The method of claim 3, wherein, The determination of the input state of the touch input based on the ellipse parameters comprises: determining that the input state of the touch input is a double-hand input state when the number of the ellipse areas is greater than one; determining that the input state of the touch input is a single-hand input state when the number of the ellipse areas is equal to one.

5. The method of claim 1, wherein, The adjustment of the preset area of the touch screen comprises: adjusting the preset area to an edge area on one side of the touch input when the input state of the touch input is a single-hand input state, and adjusting the preset area to edge areas on both sides of the touch input when the input state of the touch input is a double-hand input state. The area of the preset region in the single-hand input state is greater than the area of each preset region in a double-hand input state.

6. The method of claim 1, wherein, The method further comprises: The method further comprises:

7. The method according to any one of claims 1 to 6, characterized in that, The pressing force distribution parameter comprises a corner pressing force distribution parameter and / or an edge pressing force distribution parameter. The method further comprises: If the coordinate corresponding to the maximum value in the touch control data is a top corner position of the touch screen, a first sum of the touch control data in a first L-shaped region containing the maximum value and a second sum of the touch control data in a second L-shaped region adjacent to the first L-shaped region are determined, and the corner pressing force distribution parameter is determined based on a ratio between the first sum and the second sum; and / or If the coordinate corresponding to the maximum value is a non-top corner position of the touch screen, a third sum of at least one of the touch control data in a straight line direction of the maximum value and a fourth sum of at least one of the touch control data in a straight line direction adjacent to the straight line direction of the maximum value are determined, and the edge pressing force distribution parameter is determined based on a ratio between the third sum and the fourth sum.

8. The method of claim 1, wherein, The method further comprises: In a case where the input state of the touch control input is a single-hand input state, the area of the finger touch control region and the area of the palm touch control region are determined based on the touch control data corresponding to the first touch control operation. The method further comprises: In a case where the area of the finger touch control region is less than the area of the palm touch control region, the first touch control operation is not responded to.

9. The method of claim 8, wherein, The method further comprises: In a case where the first touch control operation simultaneously acts on the preset region and the non-preset region of the touch screen, a region in which the touch control data corresponding to the first touch control operation in the preset region is located is taken as the palm touch control region. The method further comprises:

10. The method of claim 9, wherein, In a case where the first touch control operation simultaneously acts on the preset region and the non-preset region of the touch screen, a region in which the touch control data corresponding to the first touch control operation in the preset region is located is taken as the palm touch control region. ​ Corresponding to the touch data of the first touch operation in the non-pre-set area as a finger touch area.

11. The method of claim 9, wherein, The method further comprises: In the case that the number of touch areas when the first touch operation acts on the pre-set area is multiple, and there is no touch operation in the non-pre-set area of the touch screen, multiple touch areas are determined based on the touch data corresponding to the first touch operation and the coordinates of the touch data; Each of the touch areas is respectively subjected to curve fitting to obtain an elliptical area and a non-elliptical area; The elliptical area is determined as the finger touch area, and the non-elliptical area is determined as the palm touch area.

12. A mis-touch prevention device, characterized by, Comprise: An adjusting module configured to adjust a pre-set area of a touch screen in response to a touch input of an input area displayed in the touch screen; wherein the input area is used for text response to the received touch input, and the input area at least partially overlaps with the pre-set area; A detection module configured to, in the case that a first touch operation is detected in the input area and the first touch operation acts on the adjusted pre-set area, adopt a false touch detection strategy corresponding to the touch input to perform false touch detection on the first touch operation to obtain a false touch detection result; A determination module configured to, when the false touch detection result meets a pre-set false touch judgment condition, not respond to the first touch operation; The detection module is further configured to: In the case that an input state of the touch input is a single-hand input state or a double-hand input state, a current pressing force distribution parameter is determined based on touch data corresponding to the first touch operation; wherein the pressing force parameter is used to represent a pressing force distribution trend of the first touch operation; The determination module is further configured to: In the case that it is determined based on the pressing force distribution parameter that the pressing force of the edge area of the touch screen is larger and the pressing force of the non-edge area is smaller, the first touch operation is not responded.

13. An electronic device, comprising: Comprise: A processor; A memory configured to store executable instructions of the processor; The processor is configured to, when calling the executable instructions in the memory, execute the false touch prevention method in any one of claims 1 to 11.

14. A non-transitory computer-readable storage medium, comprising: When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the false touch prevention method in any one of claims 1 to 11.

Citation Information

Patent Citations

  • Input control method and device

    CN106980409A

  • Touch signal processing method and device

    CN112987958A

  • False touch prevention method and device, equipment and storage medium

    CN115033121A