False touch prevention method and device, electronic equipment and storage medium
By detecting and analyzing the user's grasping operation on the edge area of the touch screen of the electronic device, determining the target grasping area and adjusting the area to be adjusted, the problem of accidental touching edges in the full screen design is solved, and the user's touch experience is improved.
Patent Information
- Application Number
- CN202311402836.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-26
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2043-10-26
AI Technical Summary
In full-screen design, the edges of electronic devices are getting narrower and narrower, which makes users prone to mist touching during use, affecting the user experience.
By detecting the gripping operation in the preset area of the touch screen when the electronic device is in the target posture, the target gripping area is determined based on the gripping parameters of the gripping area, the area to be adjusted is determined from the preset area, and its area is adjusted to distinguish between effective touch and false touch operations.
It effectively improves the touch screen edge touch performance, improves the user's touch experience in lying posture, and reduces the frequency of false triggers.
Smart Images

Figure CN119902637A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communications, and in particular to a method, device, electronic device and storage medium for preventing accidental touches. Background Art
[0002] With the widespread use of touch screens in electronic devices, users' interactive operations on electronic devices have become increasingly convenient. In order to further improve the user's visual experience and the appearance of electronic devices, full-screen designs have become popular. As the screen-to-body ratio increases, the edges of electronic devices become narrower, which makes it easy to accidentally touch when using electronic devices.
[0003] In order to prevent the impact of accidental touches on the use of the edge, the commonly used method to prevent accidental touches is to add a dead zone in the edge area, and any touch signal generated in the dead zone is invalid, thereby preventing accidental touches. However, this method will make the user's normal touch operation in the edge area invalid, affecting the user experience. Summary of the invention
[0004] The present disclosure provides a method, device, electronic device and storage medium for preventing accidental touches, so as to overcome the problem of easy accidental touches in the edge area of a touch screen.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a method for preventing accidental touches, comprising:
[0006] When the electronic device is in a target posture, detecting a gripping operation within a preset area of the touch screen; wherein, in the target posture, the angle between the orientation of the touch screen of the electronic device and the gravity direction of the electronic device is within a preset range; and the gripping operation corresponds to at least two gripping areas;
[0007] In case the grasping operation is detected, determining a target grasping area based on grasping parameters of each of the grasping areas;
[0008] Determine an area to be adjusted from the preset area, and adjust the area of the area to be adjusted; wherein, the area to be adjusted at least includes the target gripping area; in the case that the gripping operation acting in the preset area is an erroneous touch operation, do not respond to the touch data of the gripping operation.
[0009] In some embodiments, the method for preventing accidental touches further includes:
[0010] Acquiring acceleration sensor parameters and gravity sensor parameters of the electronic device;
[0011] The acceleration sensor parameters and the gravity sensor parameters are input into the trained state recognition model to determine the target posture of the electronic device.
[0012] In some embodiments, the detecting a gripping operation within a preset area of the touch screen includes:
[0013] When there is a touch operation in the preset area, acquiring touch data corresponding to the touch operation;
[0014] Determining the gripping operation based on the touch data and / or the touch area on which the touch operation acts;
[0015] There are multiple preset areas, which are respectively located on two opposite sides of the touch screen.
[0016] In some embodiments, determining the gripping operation based on the touch area on which the touch operation acts includes:
[0017] When there is at least one touch area in each of the preset areas located on the two sides, the touch operation corresponding to the at least one touch area is determined as the grasping operation.
[0018] In some embodiments, determining the gripping operation based on the touch area on which the touch operation acts includes:
[0019] In the case where there are at least two touch areas in the preset area located on any side, determining the distance between the touch areas;
[0020] The touch operation corresponding to the touch area whose distance is less than a preset distance threshold is determined as a grasping operation.
[0021] In some embodiments, determining the grasping operation based on the touch data includes:
[0022] Determine a pressure distribution parameter based on the touch data corresponding to the touch operation; wherein the pressure distribution parameter is used to characterize a pressure distribution trend of the touch operation;
[0023] When the pressing force distribution parameter is continuously greater than a preset force distribution threshold within a preset time period, the touch operation is determined to be a grasping operation.
[0024] In some embodiments, the pressing force distribution parameters include: corner pressing force distribution parameters and / or edge pressing force distribution parameters;
[0025] The determining of the pressure intensity distribution parameter based on the touch data corresponding to the touch operation includes:
[0026] If the coordinates corresponding to the maximum value in the touch data are the top corner position of the touch screen, determine 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, and determine the corner pressure intensity distribution parameter based on a ratio between the first sum value and the second sum value; and / or,
[0027] If the coordinates corresponding to the maximum value are non-vertex positions of the touch screen, determine a third sum value between at least one of the touch data in the direction of the straight line where the maximum value is located; and a fourth sum value between at least one sensor touch data in the direction of a straight line adjacent to the straight line where the maximum value is located, and determine the edge pressure intensity distribution parameter based on the ratio between the third sum value and the fourth sum value.
[0028] In some embodiments, the method for preventing accidental touches further includes:
[0029] In a case where it is determined that the touch operation is a sliding operation between the non-preset area and the preset area of the touch screen, it is determined that the touch operation is not the gripping operation.
[0030] In some embodiments, the gripping parameters include: gripping duration and gripping area;
[0031] The determining of the target grasping area based on the grasping parameters corresponding to each of the grasping areas comprises:
[0032] A grasping region whose grasping duration is greater than a preset duration threshold and whose grasping area is greater than a preset area threshold is determined as the target grasping region.
[0033] In some embodiments, the method for preventing accidental touches further includes:
[0034] Marking each of the grasping regions according to the drop time of the operating body corresponding to each of the grasping regions, and determining the label of each of the grasping regions;
[0035] Determine the lifting moment of the operating body corresponding to the grasping area corresponding to each number;
[0036] The grasping duration is determined based on the dropping time and the lifting time.
[0037] In some embodiments, adjusting the area of the region to be adjusted includes:
[0038] Extending the area to be adjusted toward the non-preset area of the touch screen;
[0039] The method further comprises:
[0040] When the preset area extends to a preset position in the touch screen, the adjustment of the area to be adjusted is stopped.
[0041] In some embodiments, adjusting the area of the region to be adjusted includes:
[0042] Determining the area of the target grasping area, the area of the area to be adjusted, and a preset first adjustment parameter;
[0043] The area of the area to be adjusted is adjusted based on the area of the area to be adjusted, the area of the target grasping area and the first adjustment parameter.
[0044] In some embodiments, adjusting the area to be adjusted includes:
[0045] During the process of the gripping operation in the preset area moving to the non-preset area of the touch screen, acquiring a moving area in the non-preset area;
[0046] The area of the region to be adjusted is adjusted based on the moving area and a preset second adjustment parameter.
[0047] According to a second aspect of an embodiment of the present disclosure, there is provided an anti-mistaken touch device, comprising:
[0048] A detection module, configured to detect a grasping operation within a preset area when the electronic device is in a target posture; wherein, in the target posture, an angle between the orientation of the touch screen of the electronic device and the gravity direction of the electronic device is within a preset angle range; and the grasping operation corresponds to at least two grasping areas;
[0049] a determination module, configured to determine a target grasping area based on grasping parameters of each of the grasping areas when the grasping operation is detected;
[0050] The adjustment module is configured to determine the area to be adjusted from the preset area and adjust the area of the area to be adjusted; wherein, the area to be adjusted at least includes the target gripping area; when the gripping operation acting in the preset area is an erroneous touch operation, the touch data of the gripping operation is not responded to.
[0051] In some embodiments, the detection module further includes:
[0052] Acquiring acceleration sensor parameters and gravity sensor parameters of the electronic device;
[0053] The acceleration sensor parameters and the gravity sensor parameters are input into the trained state recognition model to determine the target posture of the electronic device.
[0054] In some embodiments, the detection module is further configured to:
[0055] When there is a touch operation in the preset area, acquiring touch data corresponding to the touch operation;
[0056] Determining the gripping operation based on the touch data and / or the touch area on which the touch operation acts;
[0057] There are multiple preset areas, which are respectively located on two opposite sides of the touch screen.
[0058] In some embodiments, the detection module is further configured to:
[0059] When there is at least one touch area in each of the preset areas located on the two sides, the touch operation corresponding to the at least one touch area is determined as the grasping operation.
[0060] In some embodiments, the detection module is further configured to:
[0061] In the case where there are at least two touch areas in the preset area located on any side, determining the distance between the touch areas;
[0062] The touch operation corresponding to the touch area whose distance is less than a preset distance threshold is determined as a grasping operation.
[0063] In some embodiments, the detection module is further configured to:
[0064] Determine a pressure distribution parameter based on the touch data corresponding to the touch operation; wherein the pressure distribution parameter is used to characterize a pressure distribution trend of the touch operation;
[0065] When the pressing force distribution parameter is continuously greater than a preset force distribution threshold within a preset time period, the touch operation is determined to be a grasping operation.
[0066] In some embodiments, the detection module is further configured to:
[0067] If the coordinates corresponding to the maximum value in the touch data are the top corner position of the touch screen, determine 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, and determine the corner pressure intensity distribution parameter based on a ratio between the first sum value and the second sum value; and / or,
[0068] If the coordinates corresponding to the maximum value are non-vertex positions of the touch screen, determine a third sum value between at least one of the touch data in the direction of the straight line where the maximum value is located; and a fourth sum value between at least one sensor touch data in the direction of a straight line adjacent to the straight line where the maximum value is located, and determine the edge pressure intensity distribution parameter based on the ratio between the third sum value and the fourth sum value.
[0069] In some embodiments, the detection module is further configured to:
[0070] In a case where it is determined that the touch operation is a sliding operation between the non-preset area and the preset area of the touch screen, it is determined that the touch operation is not the gripping operation.
[0071] In some embodiments, the gripping parameters include: gripping duration and gripping area; the determination module is further configured to:
[0072] A grasping region whose grasping duration is greater than a preset duration threshold and whose grasping area is greater than a preset area threshold is determined as the target grasping region.
[0073] In some embodiments, the determination module is further configured to:
[0074] Marking each of the grasping regions according to the drop time of the operating body corresponding to each of the grasping regions, and determining the label of each of the grasping regions;
[0075] Determine the lifting moment of the operating body corresponding to the grasping area corresponding to each number;
[0076] The grasping duration is determined based on the dropping time and the lifting time.
[0077] In some embodiments, the adjustment module is further configured to:
[0078] Extending the area to be adjusted toward the non-preset area of the touch screen;
[0079] When the preset area extends to a preset position in the touch screen, the adjustment of the area to be adjusted is stopped.
[0080] In some embodiments, the adjustment module is further configured to:
[0081] Determining the area of the target grasping area, the area of the area to be adjusted, and a preset first adjustment parameter;
[0082] The area of the area to be adjusted is adjusted based on the area of the area to be adjusted, the area of the target grasping area and the first adjustment parameter.
[0083] In some embodiments, the adjustment module is further configured to:
[0084] During the process of the gripping operation in the preset area moving to the non-preset area of the touch screen, acquiring a moving area in the non-preset area;
[0085] The area of the region to be adjusted is adjusted based on the moving area and a preset second adjustment parameter.
[0086] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0087] processor;
[0088] a memory configured to store processor-executable instructions;
[0089] Wherein, the processor is configured to execute the method for preventing accidental touches described in the first aspect above when calling executable instructions in the memory.
[0090] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary 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 method for preventing accidental touches described in the first aspect above.
[0091] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0092] The anti-mis-touch method disclosed in the present invention detects a gripping operation in a preset area when it is determined based on the sensing parameters of the electronic device that the electronic device is in a target posture and the electronic device is gripped, and there is a preset angle between the extension direction of the touch screen of the electronic device and the gravity direction of the electronic device in the target posture, that is, when the current use state of the electronic device is a lying state, the gripping operation in the preset area is detected; the target gripping area is determined based on the gripping parameters corresponding to the gripping area of the gripping operation, and the area to be adjusted is determined from the preset area based on the target gripping area, and the area of the area to be adjusted is adjusted. The present invention is based on the gripping operation in the lying state as a mis-touch operation, so based on the gripping parameters of the gripping operation, the area to be adjusted is determined from the preset area, and the area to be adjusted is adjusted, thereby improving the edge touch performance of the touch screen and improving the touch experience of the user in the lying state.
[0093] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0094] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0095] Figure 1 The figure is a flowchart of a method for preventing accidental touches according to an exemplary embodiment.
[0096] Figure 2 is a schematic diagram of a target gripping area and an area to be adjusted in a touch screen according to an exemplary embodiment Figure 1 .
[0097] Figure 3 is a schematic diagram of a target gripping area and an area to be adjusted in a touch screen according to an exemplary embodiment Figure 2 .
[0098] Figure 4 is a schematic diagram of a method for preventing accidental touch according to an exemplary embodiment. Figure 2 .
[0099] Figure 5 The diagram is a schematic diagram of a gripping area formed on a touch screen by a gripping operation according to an exemplary embodiment.
[0100] Figure 6 FIG. 1 is a schematic diagram showing the distribution of sensor touch data involved in a pressure intensity distribution parameter in a method for preventing false touches according to an exemplary embodiment. Figure 1 ;
[0101] Figure 7 FIG. 1 is a schematic diagram showing the distribution of sensor touch data involved in a pressure intensity distribution parameter in a method for preventing false touches according to an exemplary embodiment. Figure 2 .
[0102] Figure 8 is a schematic diagram of a method for preventing accidental touch according to an exemplary embodiment. Figure 3 .
[0103] Fig. 9 is a schematic structural diagram of an anti-mistouch device according to an exemplary embodiment.
[0104] Fig.10 The diagram is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0105] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0106] In the specification, unless otherwise clearly stated, the terms "first" and "second" are used only to describe and distinguish constituent elements, and should not be understood as indicating an order. Unless otherwise clearly stated, the terms "connected", "fixed", etc. should be understood as having a broad meaning, including but not limited to directly, indirectly, detachably "connected", "fixed", etc.
[0107] Figure 1 The process of the method for preventing accidental touch according to an exemplary embodiment is shown as follows Figure 1 ,like Figure 1 As shown, the method mainly includes the following steps:
[0108] In step 101, when the electronic device is in a target posture, a grasping operation within a preset area of the touch screen is detected; wherein, in the target posture, the angle between the orientation of the touch screen of the electronic device and the gravity direction of the electronic device is within a preset angle range; and the grasping operation corresponds to at least two grasping areas.
[0109] In this embodiment, the electronic device is a device with a touch screen that is prone to accidental touches during use, such as: mobile phones, tablets, smart watches, smart wearable devices, etc. When the electronic device is in the target posture, that is, the angle between the orientation of the touch screen of the electronic device (that is, the orientation of the display surface of the touch screen used to display the picture) and the gravity direction of the electronic device is within a preset angle range, and the preset angle range is 0-90 degrees. At this time, the user's use state of the electronic device is a lying state. It can be understood that no matter whether the user is in a supine lying state or a side-lying lying state, when using the electronic device, the touch screen of the electronic device is facing the user at a certain angle. Therefore, by judging the angle between the orientation of the touch screen and the gravity direction, it can be determined whether it is a lying state.
[0110] When the electronic device is in the target posture and is grasped, the grasping operation in the preset area of the touch screen is detected. The false touch operation in the preset area will be determined as an invalid touch, and the non-false touch operation in the preset area will be determined as a valid touch. For invalid touch, the processor in the electronic device will not respond to its touch data, and for valid touch, the processor in the electronic device will respond and process its touch data. In the non-preset area, all touch operations will be determined as valid touches. Therefore, by detecting the touch operation in the preset area of the touch screen to determine whether it is a false touch, and suppressing the false touch, the anti-false touch performance of the touch screen can be effectively improved.
[0111] The preset area is generally set at a position on the touch screen where accidental touch operations are prone to occur, such as: the edge positions on both sides of the touch screen, the bottom corner positions of the touch screen, etc. The specific shape, size, and position of the preset area can be adjusted according to the size of the electronic device, the user group, the application scenario, etc.
[0112] In step 102 , when a gripping operation is detected, a target gripping region is determined based on gripping parameters of each gripping region.
[0113] In this embodiment, the grasping operation of the electronic device corresponds to at least two grasping areas, and the target grasping area can be determined based on one or more grasping parameters such as the area of the grasping area, the shape of the grasping area, the grasping duration of the grasping area, and the position of the grasping area. The target grasping area can be understood as the area in the lying state where the possibility of being grasped is the highest and the grasping operation corresponding to the area is the highest possibility of being an accidental touch operation.
[0114] It should be noted that, whether it is a capacitive touch screen, a resistive touch screen, or other types of touch screens, the display module of the electronic device will have multiple sensors arranged in an array. The multiple sensors arranged in an array can be regarded as dividing the touch screen into multiple touch units to detect touch operations at various positions of the touch screen and output touch data. A touch operation of the user's hand will involve multiple touch units, and multiple sensors corresponding to multiple touch units can detect and output touch data. Based on the coordinates of these touch data corresponding to the touch screen, the touch area of this touch operation can be determined. That is, based on the touch data of the grasping operation, the grasping area and the parameters of the grasping area can be determined.
[0115] In step 103, an area to be adjusted is determined from a preset area, and the area of the area to be adjusted is adjusted; wherein the area to be adjusted includes at least a target gripping area; when a gripping operation within the preset area is an erroneous touch operation, no response is given to the touch data of the gripping operation.
[0116] In this embodiment, since the target grasping area is located within the preset area, the area to be adjusted can be determined from within the preset area based on the determined target grasping area. Figure 2 As shown in , the area of the region to be adjusted may be the same as the area of the target grasping area. Figure 3 As shown, the area of the region to be adjusted ( Figure 3 The area of the rectangular area in the middle) may also be larger than the area of the target grasping area ( Figure 3 The area of the ellipse in the figure).
[0117] Of course, there may be only one target grasping area determined based on the grasping parameters of the grasping area, and correspondingly there is only one area to be adjusted; or multiple target grasping areas may be determined, and correspondingly there are multiple areas to be adjusted.
[0118] In this embodiment, the non-response operation to the touch data of the gripping operation may be not reporting the touch data of the gripping operation, or not responding to or executing a touch event corresponding to the touch data of the gripping operation.
[0119] In some embodiments, the method for preventing accidental touches further includes: obtaining acceleration sensor parameters and gravity sensor parameters of the electronic device; inputting the acceleration sensor parameters and gravity sensor parameters into a trained state recognition model to determine the target posture of the electronic device.
[0120] In this embodiment, the acceleration sensor can detect the acceleration and the inclination angle of the electronic device in the process of moving, and the gravity sensor can detect the motion state of the electronic device and the inclination angle relative to the horizontal plane. Therefore, based on the sensing parameters of the acceleration sensor and / or the gravity sensor, it can be determined whether the electronic device is in the target posture. Specifically, the lying state can be determined by inputting the acceleration sensor parameters and the gravity sensor parameters into the trained state recognition model to determine the current user use state of the electronic device. The state recognition model can be any one or more combinations of convolutional neural networks, support vector machines, long short-term memory networks, recursive neural networks, etc.
[0121] In some embodiments, Figure 4 As shown, in step 101, detecting a gripping operation within a preset area of the touch screen includes:
[0122] In step 1011, when there is a touch operation in the preset area, touch data corresponding to the touch operation is acquired.
[0123] In step 1012, a gripping operation is determined based on the touch data and / or the touch area on which the touch operation acts; wherein the preset areas are multiple and are respectively located on two opposite sides of the touch screen.
[0124] In this embodiment, the display module of the electronic device has multiple sensors arranged in an array, and the multiple sensors arranged in an array can be regarded as dividing the touch screen into multiple touch units, and each sensor detects the touch operation of the touch unit corresponding to itself to obtain touch data. The touch area corresponding to the touch operation can be determined based on the coordinates of the touch data corresponding to the touch screen.
[0125] In addition, since the grasping operation in the lying state mostly acts on the edge area of the touch screen and most of them are accidental touch operations, the touch data can be calculated to determine the pressing force and the pressing force distribution trend, and determine whether it is a grasping operation based on the pressing force or the pressing force distribution trend. It can also be determined whether it is a grasping operation based on the position of the touch area, the shape of the touch area, the distribution trend of the touch area, the touch duration of the touch area, etc.
[0126] Since the gripping operation is mostly performed on the edge area of the touch screen, the preset area can be set to two opposite sides of the touch screen, for example, a preset area is set to the left edge area of the touch screen, and a preset area is set to the right edge area of the touch screen. Of course, the shape and area of the left preset area can be the same as or different from the shape and area of the right preset area.
[0127] In some embodiments, step 1012 includes: when there is at least one touch area in each of the preset areas located on the two sides, determining the touch operation corresponding to the at least one touch area as a grasping operation.
[0128] In this embodiment, Figure 5 As shown, a gripping operation will form touch areas within the preset areas (edge areas) on both sides of the touch screen. Therefore, taking the preset areas located in the left area and the right area of the touch screen as an example, if there is at least one touch area in the preset area on the left and there is also at least one touch area in the preset area on the right, then the touch operation within the preset area of the touch screen is determined to be a gripping operation.
[0129] In some embodiments, step 1012 includes: when there are at least two touch areas in the preset area located on any side, determining the distance between the touch areas; and determining the touch operation corresponding to the touch area whose distance is less than the preset distance threshold as a grasping operation.
[0130] In this embodiment, Figure 5 As shown, a gripping operation will form at least two touch areas with a relatively close distance within the preset area (edge area) on either side of the touch screen. Therefore, taking the preset areas being located in the left area and the right area of the touch screen as an example, if there are at least two touch areas in the preset area on the left, and the distance between the two touch areas is less than the preset distance threshold, the touch operation corresponding to the touch area is a gripping operation; or, if there are at least two touch areas in the preset area on the right, and the distance between the two touch areas is less than the preset distance threshold, the touch operation corresponding to the touch area is a gripping operation.
[0131] In some embodiments, step 1012 includes: determining a pressure distribution parameter based on touch data corresponding to the touch operation; wherein the pressure distribution parameter is used to characterize the pressure distribution trend of the touch operation; when the pressure distribution parameter is continuously greater than a preset force distribution threshold within a preset time period, determining that the touch operation is a grasping operation.
[0132] In this embodiment, the pressing force of the touch area formed by the grasping operation in the lying state is not uniform, and mostly acts on the edge area of the touch screen. Therefore, if it is a grasping operation, the pressing center of gravity is biased towards the edge area of the touch screen and the duration is long, that is, the pressing force of the edge area of the touch screen is continuously maintained to be large, and the pressing force of the non-edge area is small. If it is not a grasping operation, the pressing center of gravity is generally in the non-edge area of the touch screen and the duration is short, that is, the pressing force of the non-edge area of the touch screen is large in a short time, and the pressing force of the edge area is small. Therefore, whether the touch operation is a grasping operation can be determined based on whether the pressing force distribution parameter is continuously greater than the preset force distribution threshold within a preset time length.
[0133] Specifically, the pressing force distribution parameter includes: a corner pressing force distribution parameter and / or an edge pressing force distribution parameter;
[0134] If the coordinates corresponding to the maximum value in the sensor touch data are the top corner positions of the touch screen, determining a first sum value between the sensor touch data in a first L-shaped region including the maximum value, and a second sum value between the sensor touch data in a second L-shaped region adjacent to the first L-shaped region, and determining a corner press force distribution parameter based on a ratio between the first sum value and the second sum value; and / or;
[0135] If the coordinates corresponding to the maximum value are non-vertex positions of the touch screen, determine a third sum value between at least one sensor touch data in the direction of the straight line where the maximum value is located; and a fourth sum value between at least one sensor touch data in the direction of a straight line adjacent to the straight line where the maximum value is located, and determine the edge pressure intensity distribution parameter based on the ratio between the third sum value and the fourth sum value.
[0136] In this embodiment, the calculation of the pressure distribution parameters is based on the position of the coordinates corresponding to the maximum value in the sensor touch data on the touch screen, and the specific calculation method of the pressure distribution parameters is determined. It can be understood that there are multiple sensors arranged in an array in the display module of the electronic device. 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 corresponding coordinates in the touch screen. The maximum value in the touch data is the position with the maximum pressure, that is, the center of gravity of the touch operation.
[0137] by Figure 6 For example, when the coordinates of the maximum value are the vertex position of the touch screen, it means that the center of gravity of the touch operation is at the vertex position. At this time, the first L-shaped area containing the maximum value (1148) is calculated (such as: Figure 6The sum of the touch data of the middle dot matrix pattern area) is (142+514+962+1148+905+148) to obtain the first sum value, and then the second L-shaped area adjacent to the first L-shaped area is calculated (such as: Figure 7 The sum of the touch data in the middle grid pattern area (64+247+50) is obtained to obtain a second sum value, and the ratio of the first sum value to the second sum value is calculated to determine the corner pressure intensity distribution parameter.
[0138] by Figure 7 For example, when the coordinates of the maximum value are at non-vertex positions of the touch screen, if the touch data are distributed in the column direction, the sum of the touch data in the column straight line direction where the maximum value is located is calculated (eg: Figure 7 The third sum value (422+1139+1111+292) is obtained, and then the sum of the touch data in the straight line direction adjacent to the column straight line direction where the maximum value is located is calculated (such as: Figure 7 Of course, if the touch data is distributed in the row direction, the calculation is based on the row straight line direction.
[0139] In some embodiments, during detection of a gripping operation within a preset area of the touch screen, if the touch operation is determined to be a sliding operation between a non-preset area and a preset area of the touch screen, it is determined that the touch operation is not a gripping operation.
[0140] In this embodiment, when the touch operation is determined to be a sliding operation between a non-preset area and a preset area of the touch screen, that is, when it is detected that the touch operation moves rapidly within a preset time, or the area with touch data on the edge decreases rapidly, or the area with touch data on the edge increases rapidly, etc., it can be determined that the sliding operation may be a full-screen gesture operation rather than a grasping operation.
[0141] In some embodiments, the grasping parameters include: grasping duration and grasping area; step 102 includes: determining a grasping area with a grasping duration greater than a preset duration threshold and a grasping area greater than a preset area threshold as a target grasping area.
[0142] In this embodiment, the gripping duration and gripping area of the gripping area are obtained. The gripping area greater than the preset area threshold and the gripping duration greater than the preset duration threshold are determined as the target gripping area. It can be understood that the gripping area with a long gripping duration and a large gripping area is the area that is most likely to be gripped by the user in a lying state, and the gripping operation corresponding to the area is most likely to be an accidental touch operation.
[0143] In some embodiments, the grasping duration can be determined by the following method: mark each grasping area according to the falling time of the operating body corresponding to each grasping area, and determine the label of each grasping area; determine the lifting time of the operating body corresponding to the grasping area corresponding to each label; based on the falling time and the lifting time, determine the grasping duration.
[0144] In this embodiment, the grasping duration is determined by marking each grasping area, determining the hand drop time and lift time of the grasping area corresponding to each label, and determining the grasping duration based on the drop time and lift time. The grasping area can be marked to determine the label based on the hand drop time of each grasping area, or based on the detection time of the grasping area, or based on the maximum value of the touch data corresponding to the grasping area.
[0145] Taking the determination of the label at the time when the hand is put down as an example, for example: three touch areas are formed on the touch screen at T1, T2, and T3 respectively, the touch area at T1 is marked as 1 (ID=1), the touch area at T2 is marked as 2 (ID=2), and the touch area at T3 is marked as 3 (ID=3).
[0146] Taking the determination of the label at the detection time of the grasping area as an example, for example: at time T1, two touch areas are formed on the touch screen at the same time, and the detection direction of the touch screen grasping area is set from left to right and from top to bottom, then the touch area detected first is marked as 1 (ID=1), and the touch area detected later is marked as 2 (ID=2).
[0147] Taking the size of the maximum touch data value to determine the label as an example, for example: at a certain moment, three touch areas are formed on the touch screen, and the maximum touch data values in these three touch areas are obtained respectively. The three obtained touch data maximum values are compared, and the corresponding touch areas are marked as 1, 2, and 3 in order from large to small.
[0148] In some embodiments, adjusting the area of the region to be adjusted includes: extending the region to be adjusted toward a non-preset area of the touch screen. In addition, when the preset area extends to a preset position in the touch screen, the area of the region to be adjusted stops being adjusted.
[0149] In this embodiment, once the target gripping area that satisfies the gripping duration and gripping area is determined, the area of the area to be adjusted corresponding to the target gripping area is increased, that is, the area to be adjusted can be extended toward the non-preset area. In this way, in the area where the non-preset area extends, each touch operation in the area will be detected, and the detected false touch operation will be suppressed (that is, the touch operation will not be responded to), so as to achieve the prevention of false touch for deep grip in the lying state.
[0150] Of course, extending the area to be adjusted toward the non-preset area, that is, increasing part of the area in the preset area (no response to accidental touch operations, response to non-accidental touch operations) toward the non-preset area (response to all operations), this increase is not unlimited. When it increases to the preset position in the touch screen, the adjustment will stop.
[0151] In one embodiment, adjusting the area of the region to be adjusted includes: determining the area of the target gripping region, the area of the region to be adjusted, and a preset first adjustment parameter. Based on the area of the region to be adjusted, the area of the target gripping region, and the first adjustment parameter, adjusting the area of the region to be adjusted.
[0152] In this embodiment, the area of the area to be adjusted after adjustment (S1) is the area of the area to be adjusted before adjustment (S0) and the area of the target grasping area (S touch ) and the first adjustment parameter (K1). The calculation formula is as follows:
[0153] S1=S0+S touch ×K1
[0154] The first adjustment parameter K1 can be used to adjust the device based on the size of the touch screen of the electronic device, the touch performance of the electronic device, the applicable population of the electronic device, etc.
[0155] In one embodiment, adjusting the area of the area to be adjusted further includes: obtaining a moving area in the non-preset area during a grip operation in the preset area moving to a non-preset area of the touch screen; and adjusting the area of the area to be adjusted based on the moving area and a preset second adjustment parameter.
[0156] In this embodiment, when the area to be adjusted is determined based on the target gripping area, when it is detected that the gripping operation in the preset area moves to the non-preset area of the touch screen, the moving area (S move ) and the second adjustment parameter (K2) are used to adjust the area of the area to be adjusted. Specifically, the area (S1) of the area to be adjusted after adjustment is the area (S0) of the area to be adjusted before adjustment and the moving area (S move ) and the second adjustment parameter (K2) multiplied together, and the calculation formula is as follows:
[0157] S1=S0+S move ×K2
[0158] The second adjustment parameter (K2) may be different from or the same as the first adjustment parameter. In addition, the above adjustment operation may be a new adjustment operation or a secondary adjustment of the previous adjustment result.
[0159] Based on the above embodiments, the anti-mistouch method of the present invention selects a target gripping area (i.e., the area that the user is most likely to touch and the area that is most likely to cause a mistouch in a lying state) based on the gripping parameters of the gripping area, determines the area to be adjusted from the preset area based on the target gripping area, and increases the area to be adjusted toward the non-preset area, thereby achieving anti-mistouch when deeply gripping in a lying state.
[0160] Figure 8 FIG. 1 is a schematic diagram of the entire process of preventing accidental touches of a touch screen in a lying position according to an exemplary embodiment. Figure 8 As shown, the steps include:
[0161] In step 801, a lying posture is identified based on acceleration sensor data and gravity sensor data (A+G data);
[0162] In step 802, a grasping operation is identified based on left-right symmetrical edge touch data;
[0163] If the gripping operation is recognized, step 804 is executed; if the gripping operation is not recognized, step 803 is executed;
[0164] In step 803, it is determined whether a corner pressing force distribution parameter (corner ratio) and an edge pressing force distribution parameter (edge ratio) are continuously greater than a preset force distribution threshold;
[0165] If the gripping operation is recognized, step 804 is executed; if the gripping operation is not recognized, the process ends.
[0166] In step 804, the gripping region number of the gripping operation is marked;
[0167] In step 805, the grasping time and the area of the grasping region are counted;
[0168] In step 806, the grasping operation is judged to be a rapid movement;
[0169] If the grasping operation involves rapid movement, the process ends; if the grasping operation does not involve rapid movement, the process proceeds to step 807;
[0170] In step 807, a target grasping area is determined based on the grasping time and the area of the grasping area, a region to be adjusted is determined based on the target grasping area, and the size of the region to be adjusted is adjusted;
[0171] In step 808, it is determined whether the gripping operation further includes a touch action to a non-preset area;
[0172] If there is a touch action to a non-preset area, execute step 809, if not, return to step 806;
[0173] In step 809, the size of the preset area is adjusted for a second time.
[0174] Fig. 9 is a device for preventing accidental touch according to an exemplary embodiment. Fig. 9 As shown, the device comprises:
[0175] The detection module 901 is configured to detect a grasping operation within a preset area when the electronic device is in a target posture; wherein, in the target posture, the angle between the orientation of the touch screen of the electronic device and the gravity direction of the electronic device is within a preset angle range; and the grasping operation corresponds to at least two grasping areas;
[0176] A determination module 902, configured to determine a target grasping area based on grasping parameters of each of the grasping areas when the grasping operation is detected;
[0177] The adjustment module 903 is configured to determine the area to be adjusted from the preset area and adjust the area of the area to be adjusted; wherein the area to be adjusted includes at least the target gripping area; when the gripping operation acting in the preset area is a false touch operation, the touch data of the gripping operation is not responded to.
[0178] In some embodiments, the detection module 901 further includes: acquiring acceleration sensor parameters and gravity sensor parameters of the electronic device; inputting the acceleration sensor parameters and the gravity sensor parameters into a trained state recognition model to determine the target posture of the electronic device.
[0179] In some embodiments, the detection module 901 is further configured to: when there is a touch operation within the preset area, obtain touch data corresponding to the touch operation; determine the grasping operation based on the touch data and / or the touch area acted upon by the touch operation; wherein the preset areas are multiple and are respectively located on two opposite sides of the touch screen.
[0180] In some embodiments, the detection module 901 is further configured to: when there is at least one touch area in each of the preset areas located on the two sides, determine the touch operation corresponding to at least one touch area as the grasping operation.
[0181] In some embodiments, the detection module 901 is further configured to: determine the distance between each touch area when there are at least two touch areas within the preset area located on any side; and determine the touch operation corresponding to the touch area whose distance is less than a preset distance threshold as a grasping operation.
[0182] In some embodiments, the detection module 901 is further configured to: determine a pressing force distribution parameter based on the touch data corresponding to the touch operation; wherein the pressing force parameter is used to characterize the pressing force distribution trend of the touch operation; and when the pressing force distribution parameter is continuously greater than a preset force distribution threshold within a preset time period, determine that the touch operation is a grasping operation.
[0183] In some embodiments, the detection module 901 is further configured to: if the coordinates corresponding to the maximum value in the touch data are the top corner position of the touch screen, determine a first sum value between the touch data within a first L-shaped area containing the maximum value, and a second sum value between the touch data within a second L-shaped area adjacent to the first L-shaped area, and determine the corner pressure intensity distribution parameter based on the ratio between the first sum value and the second sum value; and / or, if the coordinates corresponding to the maximum value are non-top corner positions of the touch screen, determine a third sum value between at least one of the touch data in the straight line direction where the maximum value is located; and a fourth sum value between at least one sensor touch data in the straight line direction adjacent to the straight line where the maximum value is located, and determine the edge pressure intensity distribution parameter based on the ratio between the third sum value and the fourth sum value.
[0184] In some embodiments, the detection module 901 is further configured to: when it is determined that the touch operation is a sliding operation between the non-preset area and the preset area of the touch screen, determine that the touch operation is not the grasping operation.
[0185] In some embodiments, the gripping parameters include: gripping duration and gripping area; the determination module is further configured to:
[0186] A grasping region whose grasping duration is greater than a preset duration threshold and whose grasping area is greater than a preset area threshold is determined as the target grasping region.
[0187] In some embodiments, the determination module 902 is further configured to: mark each of the grasping areas according to the falling time of the operating body corresponding to each of the grasping areas, and determine the label of each of the grasping areas; determine the lifting time of the operating body corresponding to the grasping area corresponding to each label; and determine the grasping duration based on the falling time and the lifting time.
[0188] In some embodiments, the adjustment module 903 is further configured to: extend the area to be adjusted toward a non-preset area of the touch screen; and stop adjusting the area to be adjusted when the preset area extends to a preset position in the touch screen.
[0189] In some embodiments, the adjustment module 903 is further configured to: determine the area of the target grasping area, the area of the area to be adjusted and a preset first adjustment parameter; and adjust the area of the area to be adjusted based on the area of the area to be adjusted, the area of the target grasping area and the first adjustment parameter.
[0190] In some embodiments, the adjustment module 903 is further configured to: obtain a moving area in the non-preset area during the movement of the gripping operation in the preset area to the non-preset area of the touch screen; and adjust the area of the area to be adjusted based on the moving area and a preset second adjustment parameter.
[0191] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0192] like Fig.10 As shown, the embodiment of the present disclosure further provides an electronic device 100, including:
[0193] Memory 1004 for storing processor executable instructions;
[0194] A processor 1020 connected to the memory 1004;
[0195] The processor 1020 is configured to execute the method for preventing accidental touches provided by any of the aforementioned technical solutions.
[0196] A block diagram of an electronic device 100 is shown according to an exemplary embodiment. For example, the electronic device 100 may be a smart phone, a tablet computer, a notebook computer, a portable learning machine, and the like.
[0197] refer to Fig.10 , the electronic device 1000 may 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 .
[0198] The processing component 1002 generally controls the overall operation of the electronic device 100, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1002 may include one or more processors 1020 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 1002 may include one or more modules to facilitate the interaction between the processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate the interaction between the multimedia component 1008 and the processing component 1002.
[0199] The memory 1004 is configured to store various types of data to support operations on the electronic device 100. Examples of such data include instructions for any application or method operating on the electronic device 100, contact data, phone book data, messages, pictures, videos, etc. The memory 1004 may be implemented by any type of volatile or non-volatile storage device 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 memory, flash memory, magnetic disk or optical disk.
[0200] The power supply component 1006 provides power to various components of the electronic device 100. The power supply component 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 100.
[0201] The multimedia component 1008 includes a screen that provides an output interface between the electronic device 100 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. 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 shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0202] The audio component 1010 is configured to output and / or input audio signals. For example, the audio component 1010 includes a microphone (MIC), and when the electronic device 100 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1004 or sent via the communication component 1018. In some embodiments, the audio component 1010 also includes a speaker for outputting audio signals.
[0203] I / O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0204] The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the electronic device 100. For example, the sensor assembly 1014 can detect the open / closed state of the electronic device 100, the relative positioning of the components, such as the display and keypad of the electronic device 700, and the sensor assembly 1014 can also detect the position change of the electronic device 100 or a component of the electronic device 100, the presence or absence of user contact with the electronic device 100, the orientation or acceleration / deceleration of the electronic device 100, and the temperature change of the electronic device 100. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 1014 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0205] The communication component 1018 is configured to facilitate wired or wireless communication between the electronic device 100 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 also includes a near field communication (NFC) module to facilitate short-range 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 technologies.
[0206] In an exemplary embodiment, the electronic device 100 may 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, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0207] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1004 including instructions, and the instructions can be executed by the processor 1020 of the electronic device 100 to complete the above method. 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 disk, an optical data storage device, etc.
[0208] An embodiment of the present application provides a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by a processor of a computer, the computer can execute the method for preventing accidental touches described in one or more of the aforementioned technical solutions.
[0209] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0210] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for preventing accidental touch, characterized in that: include: When the electronic device is in a target posture, detecting a grasping operation within a preset area of the touch screen; wherein, in the target posture, the angle between the orientation of the touch screen of the electronic device and the gravity direction of the electronic device is within a preset angle range; and the grasping operation corresponds to at least two grasping areas; In case the grasping operation is detected, determining a target grasping area based on grasping parameters of each of the grasping areas; Determine a region to be adjusted from the preset region, and adjust the area of the region to be adjusted; The area to be adjusted at least includes the target gripping area; when the gripping operation in the preset area is an erroneous touch operation, no response is given to the touch data of the gripping operation.
2. The method according to claim 1, characterized in that The method further comprises: Acquiring acceleration sensor parameters and gravity sensor parameters of the electronic device; The acceleration sensor parameters and the gravity sensor parameters are input into the trained state recognition model to determine the target posture of the electronic device.
3. The method according to claim 1, characterized in that: The detecting a gripping operation within a preset area of the touch screen includes: When there is a touch operation in the preset area, acquiring touch data corresponding to the touch operation; Determining the gripping operation based on the touch data and / or the touch area on which the touch operation acts; There are multiple preset areas, which are respectively located on two opposite sides of the touch screen.
4. The method according to claim 3, characterized in that The determining the gripping operation based on the touch area acted upon by the touch operation includes: When there is at least one touch area in each of the preset areas located on the two sides, the touch operation corresponding to the at least one touch area is determined as the grasping operation.
5. The method according to claim 3, characterized in that: The determining the gripping operation based on the touch area acted upon by the touch operation includes: In the case where there are at least two touch areas in the preset area located on any side, determining the distance between the touch areas; The touch operation corresponding to the touch area whose distance is less than a preset distance threshold is determined as a grasping operation.
6. The method according to claim 3, characterized in that The determining the grasping operation based on the touch data includes: Determine a pressure distribution parameter based on the touch data corresponding to the touch operation; wherein the pressure distribution parameter is used to characterize a pressure distribution trend of the touch operation; When the pressing force distribution parameter is continuously greater than a preset force distribution threshold within a preset time period, the touch operation is determined to be a grasping operation.
7. The method according to claim 6, characterized in that The pressing force distribution parameters include: corner pressing force distribution parameters and / or edge pressing force distribution parameters; The determining of the pressure intensity distribution parameter based on the touch data corresponding to the touch operation includes: If the coordinates corresponding to the maximum value in the touch data are the top corner position of the touch screen, determine 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, and determine the corner pressure intensity distribution parameter based on a ratio between the first sum value and the second sum value; and / or, If the coordinates corresponding to the maximum value are non-vertex positions of the touch screen, determine a third sum value between at least one of the touch data in the direction of the straight line where the maximum value is located; and a fourth sum value between at least one sensor touch data in the direction of a straight line adjacent to the straight line where the maximum value is located, and determine the edge pressure intensity distribution parameter based on the ratio between the third sum value and the fourth sum value.
8. The method according to claim 3, characterized in that The method further comprises: In a case where it is determined that the touch operation is a sliding operation between the non-preset area and the preset area of the touch screen, it is determined that the touch operation is not the gripping operation.
9. The method according to claim 1, characterized in that: The gripping parameters include: gripping duration and gripping area; The determining of the target grasping area based on the grasping parameters corresponding to each of the grasping areas includes: A grasping region whose grasping duration is greater than a preset duration threshold and whose grasping area is greater than a preset area threshold is determined as the target grasping region.
10. The method according to claim 9, characterized in that The method further comprises: Marking each of the grasping regions according to the drop time of the operating body corresponding to each of the grasping regions, and determining the label of each of the grasping regions; Determine the lifting moment of the operating body corresponding to the grasping area corresponding to each number; The grasping duration is determined based on the dropping time and the lifting time.
11. The method according to claim 1, characterized in that: The adjusting the area of the region to be adjusted includes: Extending the area to be adjusted toward the non-preset area of the touch screen; The method further comprises: When the preset area extends to a preset position in the touch screen, the adjustment of the area of the area to be adjusted is stopped.
12. The method according to claim 1, characterized in that The adjusting the area of the region to be adjusted includes: Determining the area of the target grasping area, the area of the area to be adjusted, and a preset first adjustment parameter; The area of the area to be adjusted is adjusted based on the area of the area to be adjusted, the area of the target grasping area and the first adjustment parameter.
13. The method according to any one of claims 1 to 12, characterized in that The adjusting the area of the region to be adjusted comprises: During the process of the gripping operation in the preset area moving to the non-preset area of the touch screen, acquiring a moving area in the non-preset area; The area of the region to be adjusted is adjusted based on the moving area and a preset second adjustment parameter.
14. A device for preventing accidental touch, characterized in that: include: A detection module, configured to detect a gripping operation within a preset area of the touch screen when the electronic device is in a target posture; wherein, in the target posture, an angle between the orientation of the touch screen of the electronic device and the gravity direction of the electronic device is within a preset angle range; and the gripping mistouch operation corresponds to at least two gripping areas; a determination module, configured to determine a target grasping area based on grasping parameters corresponding to each of the grasping areas when the grasping operation is detected; An adjustment module is configured to determine an area to be adjusted from the preset area and adjust the area to be adjusted; wherein the area to be adjusted at least includes the target gripping area; and in the case where a gripping operation acting within the preset area is an erroneous touch operation, no response is given to the touch data of the gripping operation.
15. An electronic device, characterized in that: include: processor; a memory configured to store processor-executable instructions; The processor is configured to execute the false touch prevention method as claimed in any one of claims 1 to 13 when calling the executable instructions in the memory. 16 . A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method for preventing accidental touches according to any one of claims 1 to 13.
Citation Information
Patent Citations
Method and terminal realizing application control
CN106873769A
A response method of a touch screen and electronic equipment
CN109782944A
Display control method and device, mobile terminal and storage medium
CN110275658A
False touch prevention method for curved screen and electronic equipment
CN110456938A
Control method and electronic equipment
CN111665979A