False touch prevention detection method and device, electronic equipment and storage medium
By detecting the grip state of electronic devices, configuring touch suppression areas, and training a grip detection model, the problem of low accuracy in detecting accidental touches at the edges of electronic devices is solved, achieving higher accuracy in accidental touch detection and a better user experience.
Patent Information
- Application Number
- CN202311405671.1
- 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
In existing technologies, the accuracy of edge touch detection in electronic devices under the concept of full-screen displays is not high, which can easily lead to misidentification of user touch operations and a decline in touch performance.
By detecting the holding state of electronic devices, configuring touch suppression zones corresponding to different holding states, and judging accidental touches based on touch operation signals within the touch suppression zones, the holding detection model is trained using posture data and touch compatibility data, and the model parameters are adjusted to improve detection accuracy.
It effectively reduces the risk of normal user touch operations being misjudged as accidental touches, and improves the accuracy of accidental touch detection and the user's touch experience.
Smart Images

Figure CN119902639B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of electronic devices, and particularly relates to a false touch detection method and device, an electronic device, and a storage medium. BACKGROUND
[0002] With the popularization of the full-screen concept, the screen ratio of electronic devices such as mobile phones is getting higher and higher, the frame is getting narrower and narrower, and the device screen is getting larger and larger. In the process of using the device, false touch is prone to occur at the edge position.
[0003] In the related art, a touch inhibition zone is generally added at the edge of the electronic device, and a corresponding false touch prevention algorithm is combined to reduce the occurrence of edge false touch. However, the false touch prevention algorithm in the related art is prone to misidentification, resulting in the loss of user touch operations on the edge, which affects the touch performance of the device. SUMMARY
[0004] To improve the false touch detection accuracy of the electronic device, the present disclosure provides a false touch detection method and device, an electronic device, and a storage medium.
[0005] In a first aspect, the present disclosure provides a false touch detection method, comprising:
[0006] detecting a current holding state of an electronic device;
[0007] based on the holding state, determining a target touch inhibition zone corresponding to the holding state from a plurality of pre-configured touch inhibition zones; wherein different touch inhibition zones occupy different positions on the screen of the electronic device, and the touch inhibition zone is used for false touch identification of touch signals generated therein;
[0008] based on the touch signal of a touch operation in the target touch inhibition zone, determining a false touch identification result of the touch operation.
[0009] In some embodiments, the detection of the current holding state of the electronic device comprises:
[0010] obtaining current posture data and touch mutual capacitance data of the electronic device;
[0011] inputting the posture data and the touch mutual capacitance data into a pre-trained holding detection model to obtain the current holding state of the electronic device output by the holding detection model.
[0012] In some embodiments, the holding state includes a left-hand holding state and a right-hand holding state; and the plurality of touch inhibition zones include a first touch inhibition zone corresponding to the left-hand holding state and a second touch inhibition zone corresponding to the right-hand holding state.
[0013] The first touch inhibition area includes a first region at a left side edge of the electronic device and a second region at a right side edge of the electronic device, the length of the first region is greater than the second region; the first touch inhibition area further includes a third region at a lower left corner edge of the electronic device and a fourth region at a lower right corner edge of the electronic device, the area of the third region is greater than the fourth region.
[0014] The second touch inhibition area includes a fifth region at a left side edge of the electronic device and a sixth region at a right side edge of the electronic device, the length of the fifth region is less than the sixth region; the second touch inhibition area further includes a seventh region at a lower left corner edge of the electronic device and an eighth region at a lower right corner edge of the electronic device, the area of the seventh region is less than the eighth region.
[0015] In some embodiments, the determining, based on the touch signal generated in the target touch inhibition area, the false touch identification result of the touch operation corresponding to the touch signal comprises:
[0016] obtaining control channel data generated in the target touch inhibition area, the control channel data comprising response data when a control channel in the target touch inhibition area is touched;
[0017] determining, according to the control channel data, a touch signal of each touch operation generated in the target touch inhibition area;
[0018] determining, according to the touch signal corresponding to each touch operation, the false touch identification result corresponding to the touch operation.
[0019] In some embodiments, the determining, according to the touch signal corresponding to each touch operation, the false touch identification result corresponding to the touch operation comprises:
[0020] determining, based on the touch signal, a first number of response data of an edge channel and a second number of response data of a sub-edge channel, and determining a ratio of the first number and the second number;
[0021] in response to the ratio being greater than a preset ratio threshold, determining that the false touch identification result of the touch operation corresponding to the touch signal is a false touch.
[0022] In some embodiments, the determining, according to the touch signal corresponding to each touch operation, the false touch identification result corresponding to the touch operation comprises:
[0023] in response to the number of response data included in the touch signal being greater than or equal to a preset number threshold, determining that the false touch identification result of the touch operation corresponding to the touch signal is a false touch.
[0024] In some embodiments, the training process of the holding detection model comprises:
[0025] obtaining a training data set comprising a plurality of sample data, each sample data comprising posture data, touch mutual capacitance data, and holding state label data;
[0026] inputting the sample data into the holding detection model to be trained to obtain an output result of the holding detection model;
[0027] adjusting model parameters of the holding detection model based on a difference between the output result and the holding state label data until a convergence condition is met, to obtain a trained holding detection model.
[0028] In a second aspect, the embodiments of the present disclosure provide a false touch detection apparatus, comprising:
[0029] a state detection module configured to detect a current holding state of an electronic device;
[0030] a suppression region determination module configured to determine, based on the holding state, a target touch suppression region corresponding to the holding state from a plurality of preconfigured touch suppression regions; wherein different touch suppression regions occupy different positions on a screen of the electronic device, and the touch suppression region is used for false touch identification of a touch signal generated therein;
[0031] a false touch identification module configured to determine a false touch identification result of a touch operation based on a touch signal of the touch operation in the target touch suppression region.
[0032] In some embodiments, the state detection module is configured to:
[0033] obtain current posture data and touch mutual capacitance data of the electronic device;
[0034] input the posture data and the touch mutual capacitance data into a pre-trained holding detection model to obtain a current holding state of the electronic device output by the holding detection model.
[0035] In some embodiments, the holding state comprises a left-hand holding state and a right-hand holding state; and the plurality of touch suppression regions comprises a first touch suppression region corresponding to the left-hand holding state and a second touch suppression region corresponding to the right-hand holding state.
[0036] The first touch inhibition area includes a first region at a left side edge of the electronic device and a second region at a right side edge of the electronic device, the length of the first region being greater than the second region; the first touch inhibition area further includes a third region at a lower left corner edge of the electronic device and a fourth region at a lower right corner edge of the electronic device, the area of the third region being greater than the fourth region.
[0037] The second touch inhibition area includes a fifth region at a left side edge of the electronic device and a sixth region at a right side edge of the electronic device, the length of the fifth region being less than the sixth region; the second touch inhibition area further includes a seventh region at a lower left corner edge of the electronic device and an eighth region at a lower right corner edge of the electronic device, the area of the seventh region being less than the eighth region.
[0038] In some embodiments, the false touch identification module is configured to:
[0039] acquire control channel data generated in the target touch inhibition area, the control channel data including response data when a control channel in the target touch inhibition area is touched;
[0040] determine, according to the control channel data, a touch signal of each touch operation generated in the target touch inhibition area;
[0041] determine, according to the touch signal corresponding to each touch operation, the false touch identification result corresponding to the touch operation.
[0042] In some embodiments, the false touch identification module is configured to:
[0043] determine a first number of response data of an edge channel and a second number of response data of a sub-edge channel based on the touch signal, and determine a ratio of the first number to the second number;
[0044] in response to the ratio being greater than a preset ratio threshold, determine that the false touch identification result of the touch operation corresponding to the touch signal is a false touch.
[0045] In some embodiments, the false touch identification module is configured to:
[0046] in response to the number of response data included in the touch signal being greater than or equal to a preset number threshold, determine that the false touch identification result of the touch operation corresponding to the touch signal is a false touch.
[0047] In some embodiments, the state detection module is configured to:
[0048] Obtain a training dataset, which includes multiple sample data, each of which includes posture data, touch compatibility data, and grip state label data;
[0049] The sample data is input into the grip detection model to be trained, and the output result of the grip detection model is obtained;
[0050] Based on the difference between the output result and the grip state label data, the model parameters of the grip detection model are adjusted until the convergence condition is met, and the trained grip detection model is obtained.
[0051] Thirdly, embodiments of this disclosure provide an electronic device, including:
[0052] processor; and
[0053] A memory storing computer instructions for causing a processor to perform the method according to any embodiment of the first aspect.
[0054] Fourthly, embodiments of this disclosure provide a storage medium storing computer instructions for causing a computer to perform the method described according to any embodiment of the first aspect.
[0055] The accidental touch detection method of this disclosure includes detecting the current holding state of the electronic device, determining a target touch suppression area from a pre-configured set of touch suppression areas based on the holding state, and determining the accidental touch recognition result of the touch operation based on the touch signal of the touch operation within the target touch suppression area. In this disclosure, different touch suppression areas are configured for different holding states of the electronic device, which allows the touch suppression areas to effectively adapt to actual usage scenarios, reducing the risk of normal user touch operations being misjudged as accidental touch operations, leading to missed touches, and improving the accuracy of accidental touch detection and the user's touch experience. Attached Figure Description
[0056] To more clearly illustrate the technical solutions in the specific embodiments of this disclosure or the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0057] Figure 1 This is a schematic diagram of the touch suppression area in related technologies.
[0058] Figure 2 This is a schematic diagram of the holding state of an electronic device according to some embodiments of the present disclosure.
[0059] Figure 3 is a schematic diagram of touch inhibition areas corresponding to different holding states according to some embodiments of the present disclosure.
[0060] Figure 4 is a flowchart of a method for preventing accidental touch according to some embodiments of the present disclosure.
[0061] Figure 5 is a schematic diagram of a method for preventing accidental touch according to some embodiments of the present disclosure.
[0062] Figure 6 is a flowchart of a method for preventing accidental touch according to some embodiments of the present disclosure.
[0063] Figure 7 is a schematic diagram of a method for preventing accidental touch according to some embodiments of the present disclosure.
[0064] Figure 8 is a flowchart of a method for preventing accidental touch according to some embodiments of the present disclosure.
[0065] Figure 9 is a flowchart of a method for preventing accidental touch according to some embodiments of the present disclosure.
[0066] Figure 10 is a schematic diagram of a method for preventing accidental touch according to some embodiments of the present disclosure.
[0067] Figure 11 is a structural block diagram of a device for preventing accidental touch according to some embodiments of the present disclosure.
[0068] Figure 12 is a structural block diagram of an electronic device according to some embodiments of the present disclosure. DETAILED DESCRIPTION
[0069] The technical solutions of the present disclosure will be described clearly and completely below with reference to the drawings. Obviously, the described embodiments are only some of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present disclosure. In addition, the technical features involved in different embodiments of the present disclosure described below can be combined with each other as long as there is no conflict.
[0070] With the popularization of the concept of full screen, the screen ratio of electronic devices such as mobile phones is getting higher and higher, the frame is getting narrower and narrower, and the device screen is getting larger and larger. In the process of using the device, accidental touch is likely to occur at the edge position. Taking a smart phone as an example, when a user operates the phone with one hand, the edge position of the screen held by the palm is likely to cause accidental touch, affecting the user experience.
[0071] In the related art, in order to reduce the risk of accidental touch, one solution is to increase the dead zone at the edge of the screen, so that the screen touch in the dead zone is invalid, thereby avoiding accidental touch at the edge of the screen, but this way causes the click to be lost at the edge of the screen, affecting the screen touch performance.
[0072] Another solution is to increase the inhibition zone at the edge of the screen, and for the touch operation generated in the inhibition zone, the touch operation characteristics are identified by algorithm, so as to confirm whether the touch operation is accidental touch, but the accuracy of accidental touch detection in the related art is not high, and it is easy to misidentify, causing the touch operation to be lost, and problems such as touch failure and accidental touch, affecting the user experience.
[0073] Based on the defects of the above-mentioned related art, the present disclosure provides a method and device for preventing accidental touch detection, an electronic device and a storage medium, aiming to improve the accuracy of accidental touch detection of the electronic device and reduce the risk of accidental touch of the device.
[0074] In the present disclosure, the electronic device needs to detect the current holding state in real time, and the holding state refers to the holding manner of the user when using the electronic device, for example, the holding state can include left-hand holding state, right-hand holding state, etc. Different touch inhibition zones need to be configured in advance for different holding states, and the touch inhibition zone refers to the area where the edge of the screen of the electronic device is prone to accidental touch.
[0075] It is worth noting that the inventors found through research on different holding states that the area where the edge of the screen of the electronic device is prone to accidental touch is not the same when the electronic device is in different holding states. Therefore, if a fixed touch inhibition zone is used, it will not be able to adapt to different holding states, resulting in poor accuracy of the accidental touch detection algorithm. Therefore, in the present disclosure, different touch inhibition zones are set for different holding states, and each touch inhibition zone occupies a different position on the screen of the electronic device.
[0076] For example Figure 1 The structure of the touch inhibition zone in the related art accidental touch detection algorithm is shown in the figure, as Figure 1 As shown in the figure, the touch inhibition zone in the related art mainly includes inhibition zones a and b located at the left and right edges of the screen, and inhibition zones c and d located at the lower left and lower right edges of the screen, and the touch inhibition zone is a left-right symmetrical structure. However, when the electronic device is in different holding states, the area prone to accidental touch is not the same, so the position and size of the corresponding touch inhibition zone should also be different.
[0077] For example Figure 2 In the example scenario, Figure 2 In (a), the electronic device is in a left-hand holding state, Figure 2 In (b), the electronic device is in a right-hand holding state.
[0078] Referring toFigure 2 As shown in (a), when a user holds the electronic device with their left hand, the left side of the screen contacts the base of the user's left palm and thumb, while the right side contacts the user's four fingers. Therefore, the left side of the screen is more prone to accidental touches than the right side. See also Figure 2 As shown in (b), when a user holds the electronic device with their right hand, the left side of the screen contacts the user's four fingers, and the right side of the screen contacts the user's palm and thumb, making the right side of the screen more prone to accidental touches than the left side.
[0079] Therefore, in some embodiments of this disclosure, corresponding touch suppression areas are pre-configured for different electronic device holding states, for example... Figure 3 The image shows the first touch suppression area corresponding to the left-hand holding state of the electronic device, and the second touch suppression area corresponding to the right-hand holding state.
[0080] See Figure 3 As shown in (a), combined with Figure 2 As shown in (a), the first touch suppression area corresponding to the left-hand holding state includes a first area 101 located on the left side of the screen and a second area 102 located on the right side of the screen. Since the left side of the screen is more prone to accidental touches than the right side of the screen when the left hand is holding the screen, the length of the first area 101 is greater than the length of the second area 102.
[0081] In addition, the first touch suppression area also includes a third area 103 located in the lower left corner of the screen and a fourth area 104 located in the lower right corner of the screen. Since the user's palm is located in the lower left corner area when holding the device with the left hand, the area of the third area 103 is larger than the area of the fourth area 104.
[0082] See Figure 3 As shown in (b), combined with Figure 2 As shown in (b), the second touch suppression area corresponding to the right-hand grip state includes a fifth area 105 located on the left side of the screen and a sixth area 106 located on the right side of the screen. Since the right side of the screen is more prone to touch than the left side of the screen when the right hand is gripping the screen, the length of the fifth area 105 is less than the length of the sixth area 106.
[0083] In addition, the second touch suppression area also includes a seventh area 107 located in the lower left corner of the screen and an eighth area 108 located in the lower right corner of the screen. Since the user's palm is located in the lower right corner area when holding the device with the right hand, the area of the seventh area 107 is smaller than the area of the eighth area 108.
[0084] It can be understood that, in the embodiments of the present disclosure, different touch control inhibition zones are configured for different holding states, so that the edge region of touch control detection is more consistent with the actual use scenario, thereby reducing the risk that the normal touch operation of the user is misjudged as a false touch operation, causing the touch operation of the user to lose points, and improving the touch detection accuracy.
[0085] For example, as shown in (a), the left-hand holding state is taken as an example. In this scenario, the upper half of the right edge of the electronic device is not prone to false touch, and therefore the touch control inhibition zone is no longer set for the upper half of the right edge. Similarly, the lower right corner edge of the screen is not prone to false touch, and therefore the area of the touch control inhibition zone for the lower right corner edge is reduced. Figure 2
[0086] In comparison with the touch control inhibition zone range in the related art shown in (a), when the user operates the upper right edge, Figure 1 Figure 1 In the example, since this region is a touch control inhibition zone, the touch operation of the user is easily misjudged as a false touch, thereby filtering out the normal touch operation of the user, causing the touch of the user to have no response, and causing the problem of touch operation losing points. In the embodiments of the present disclosure, when the user operates the upper right edge, since this region is not a touch control inhibition zone, the normal touch operation of the user is not subjected to false touch prevention judgment, and the touch operation can be normally responded to, thereby avoiding the situation that the touch operation of the user loses points.
[0087] Therefore, as known from the above, in the embodiments of the present disclosure, different touch control inhibition zones are configured for different holding states of the electronic device, so that the touch control inhibition zone is effectively adapted to the actual use scenario, thereby reducing the risk that the normal touch operation of the user is misjudged as a false touch operation, causing the touch operation of the user to lose points, and improving the false touch detection accuracy.
[0088] After the touch control inhibition zones are configured for different holding states, the false touch prevention detection method described below in the present disclosure can be implemented by using the preconfigured touch control inhibition zones. The following will be described in combination with Figure 4 .
[0089] As shown in (a), in some embodiments, the false touch prevention detection method of the present disclosure includes: Figure 4
[0090] S410, detecting the current holding state of the electronic device.
[0091] In the embodiments of the present disclosure, the holding state of the electronic device refers to the holding manner of the user when the user currently uses the electronic device. For example, in some embodiments, the holding state includes a left-hand holding state and a right-hand holding state. It can be understood that the user may hold the electronic device with the left hand or the right hand during use. In the embodiments of the present disclosure, the current holding state of the electronic device can be detected in real time.
[0092] In some implementations, the electronic device can periodically detect its current grip status according to a preset time period. The value of the preset time period can be selected according to specific scenario requirements. For example, in one example, the preset time period can be 10ms, meaning the electronic device checks its current grip status every 10ms. Of course, those skilled in the art will understand that the value of the preset time period is not limited to this example.
[0093] In some embodiments of this disclosure, the gripping state of the electronic device can be detected using attitude data and touch compatibility data. Attitude data refers to data detected using the electronic device's own inertial measurement unit (IMU), which may include, for example, an accelerometer and a gyroscope. The electronic device can use the inertial sensor to detect its current attitude in real time, thereby obtaining attitude data. Touch compatibility data refers to touch signals detected through the touchscreen's control channel.
[0094] After obtaining the electronic device's posture data and touch compatibility data, the current grip state of the electronic device can be determined based on these data. In some embodiments, the posture data and touch compatibility data can be input into a pre-trained grip detection model based on deep neural networks (DNNs) to obtain the grip state of the electronic device predicted by the model. This will be described in the embodiments below and will not be detailed here.
[0095] S420: Based on the holding state, determine the target touch suppression area corresponding to the holding state from a variety of pre-configured touch suppression areas.
[0096] In this embodiment of the disclosure, after determining the current holding state of the electronic device, the touch suppression area corresponding to the current holding state, i.e. the target touch suppression area, can be determined from the aforementioned pre-configured multiple touch suppression areas.
[0097] For example, in some implementations, the holding state of the electronic device includes a left-hand holding state and a right-hand holding state, and the pre-configured touch suppression area includes, for example... Figure 3 The first touch suppression area and the second touch suppression area are shown.
[0098] For example, if it is determined that the electronic device is held in a left-handed position, then one can select, for example... Figure 3 The second touch suppression area shown in (a) is used as the target touch suppression area; when it is determined that the electronic device is held in a right-hand grip state, for example, the following can be selected.Figure 3 The first touch inhibition region shown in (b) is taken as the target touch inhibition region.
[0099] S430, based on the touch signal of the touch operation in the target touch inhibition region, determining a false touch identification result of the touch operation.
[0100] It can be understood that the target touch inhibition region refers to a screen region that is prone to false touch in the current holding state, and therefore after the target touch inhibition region is determined, the touch operation generated in the target touch inhibition region needs to be judged to determine whether the touch operation is a user click operation or a false touch operation.
[0101] In some embodiments, the response data of all control channels in the target touch inhibition region can be detected, and the touch signal of the touch operation is determined based on the response data of the control channels.
[0102] Based on the working principle of the touch screen, it can be understood that the touch screen detects the touch operation by two layers of horizontal and vertical electrodes to form self-capacitance, and each electrode includes a plurality of capacitive plates, and each capacitive plate is a control channel.
[0103] For example Figure 5 A structural schematic diagram of an electrode layer of a touch screen is shown, and in Figure 5 In the example, the electrode layer of the touch screen is composed of M rows of horizontal electrodes and N rows of vertical electrodes, so that the electrode layer of the touch screen includes M*N control channels. When a user's finger electrode touches a certain region of the touch screen, the control channels in the region can sense the change in capacitance, thereby generating response data.
[0104] Therefore, when a touch operation is generated in the target touch inhibition region, the control channels in the touched region can detect the response data, and the control channels in the untouehed region have no response data generated. Therefore, based on the response data of the control channels in the target touch inhibition region, the region generated by the touch operation can be determined, and the response data of the control channels triggered by the touch operation is the touch signal of the touch operation according to the present disclosure.
[0105] In the embodiments of the present disclosure, after the touch signal of the touch operation is determined, it can be determined whether the touch operation is a false touch through the touch signal.
[0106] In some embodiments, the corresponding detection condition can be set in combination with the characteristics of the false touch, and whether the touch operation is a false touch can be determined by judging whether the touch signal of the touch operation meets the detection condition.
[0107] For example, in one example, when a user's palm root is mis-touched, the range of the palm root contacting the edge of the screen is larger, and the range of the palm root contacting the sub-edge of the screen is smaller. Therefore, the ratio of the number of edge channels to the number of sub-edge channels can be determined according to the touch signal, and whether it is a palm root mis-touch can be determined according to the ratio.
[0108] For example, in another example, when a user actually performs a click operation, the contact area of the finger tip with the screen is small, and the number of control channels triggered is also small. Therefore, the number of control channels triggered can be determined according to the touch signal, and whether it is a mis-touch operation can be determined according to the number of control channels triggered.
[0109] The process of determining the mis-touch recognition result in the embodiments of the present disclosure is described below.
[0110] In the embodiments of the present disclosure, the mis-touch recognition result can include both mis-touch and non-mis-touch. For example, when the mis-touch recognition result of a certain touch operation is determined to be mis-touch, the touch operation can be filtered, that is, the event corresponding to the touch operation is not responded to, thereby achieving the effect of preventing mis-touch. When the mis-touch recognition result of a certain touch operation is non-mis-touch, the event corresponding to the touch operation can be normally responded to, without affecting the normal touch operation of the user.
[0111] As described above, in the embodiments of the present disclosure, different touch control inhibition zones are configured for different holding states of the electronic device, so that the touch control inhibition zone can be effectively adapted to the actual use scenario, the risk of the normal touch operation of the user being misjudged as a mis-touch operation and causing the user's touch operation to be lost is reduced, and the mis-touch detection accuracy and the user touch experience are improved.
[0112] In some embodiments, the current holding state of the electronic device can be detected by a holding detection model based on a deep neural network. The holding detection model based on a deep neural network will be described below in conjunction with Figure 6 the embodiments.
[0113] As shown in Figure 6 some embodiments, the mis-touch prevention detection method of the present disclosure includes the following steps.
[0114] S610, obtaining current posture data and touch mutual capacitance data of the electronic device.
[0115] S620, inputting the posture data and the touch mutual capacitance data into a pre-trained holding detection model to obtain the current holding state of the electronic device output by the holding detection model.
[0116] Referring to Figure 7As shown, in the embodiments of the present disclosure, the holding detection model can be constructed and trained in advance, and the model structure of the holding detection model can adopt a classifier network structure, which can be understood and fully implemented by those skilled in the art with reference to related technologies, and the present disclosure will not repeat it. The input of the holding detection model includes the current posture data and the touch mutual capacitance data of the electronic device, and the output is the holding state of the electronic device.
[0117] The posture data refers to the data used to represent the posture of the electronic device detected by the IMU sensor of the electronic device, for example, the posture data can include accelerometer data and gyroscope data. It can be understood that when the user holds the electronic device with different hands, the posture of the electronic device will also have certain differences. For example, when the user operates the mobile phone with the left hand, the posture of the mobile phone will often tilt to the left side, and vice versa, when the user operates the mobile phone with the right hand, the posture of the mobile phone will often tilt to the right side. Therefore, the current holding state of the electronic device can be reflected to a certain extent through the posture data.
[0118] The touch mutual capacitance data refers to the contact condition of the user's palm and the control channel on the screen, which includes the contact condition of the user's palm and the control channel on the touch screen. In combination with the above Figure 2 and Figure 5 It can be known that when the user holds the electronic device with different hands, the control channel on the touch screen is also triggered differently. Therefore, the current holding state of the electronic device can be reflected to a certain extent through the touch mutual capacitance data.
[0119] Therefore, in the embodiments of the present disclosure, the current posture data of the electronic device can be obtained through the IMU sensor of the electronic device, and the current touch mutual capacitance data of the electronic device can be obtained through the touch screen. The posture data and the touch mutual capacitance data can be used as the input data of the holding detection model.
[0120] Then the posture data and the touch mutual capacitance data are input into the pre-trained holding detection model, and the holding state predicted by the holding detection model is obtained, for example Figure 7 In the example, the holding detection model is a two-class classifier model, and the current holding state of the electronic device as a left-hand holding state or a right-hand holding state can be output through the holding detection model.
[0121] Figure 8 The method process for model training of the holding detection model is shown, and the following will be described in combination with Figure 8 .
[0122] As Figure 8 shown, in some embodiments, the training process of the foregoing holding detection model in the anti-mis-touch detection method of the present disclosure includes:
[0123] S810, obtaining a training data set.
[0124] S820. Input the sample data into the grip detection model to be trained, and obtain the output result of the grip detection model.
[0125] S830. Based on the difference between the output results and the grip state label data, the model parameters of the grip detection model are adjusted until the convergence condition is met, and the trained grip detection model is obtained.
[0126] In this embodiment of the disclosure, the training dataset refers to the sample dataset used to train the grip detection model. The training dataset includes multiple sample data, each of which includes the posture data of the electronic device, touch compatibility data, and corresponding grip state label data. For example, a sample data can be represented as {posture data, touch compatibility data | grip state label data}.
[0127] For the iterative training process of the grip detection model, taking a sample data as an example, the posture data and touch compatibility data included in the sample data can be input into the grip detection model to be trained, and the output result of the grip detection model can be obtained.
[0128] It can be understood that the output of the grip detection model represents the predicted value, while the grip state label data included in the sample data represents the ground truth (GT). Therefore, the difference between the output of the grip detection model and the grip state label data represents the loss value during the training process of the grip detection model. Based on this loss value, the model parameters of the grip detection model are adjusted through backpropagation to complete one iteration of training.
[0129] The above example uses only one sample data to illustrate the iterative training process of the grip detection model. For multiple sample data included in the training dataset, the above process is repeated to continuously iterate and optimize the model parameters of the grip detection model until the model meets the convergence condition, at which point the model training process can be stopped, and the trained grip detection model is obtained.
[0130] After training the grip detection model, the trained grip detection model can be used to realize the grip state detection process for electronic devices. Those skilled in the art can refer to the foregoing, and this disclosure will not repeat it.
[0131] like Figure 9 As shown, in some embodiments, the process of determining the accidental touch recognition result in the accidental touch detection method of this disclosure includes:
[0132] S910: Acquire control channel data generated within the target touch suppression area.
[0133] In combination with the foregoing Figure 5 As shown in the principle of the touch screen, when a touch operation is generated in the target touch inhibition area, the control channel in the touched area can detect response data, and the control channel in the untouched area has no response data. Thus, the control channel data generated in the target touch inhibition area can be obtained, which includes the response data when the control channel in the target touch inhibition area is triggered.
[0134] S920, determining a touch signal of each touch operation generated in the target touch inhibition area according to the control channel data.
[0135] It is worth noting that the control channel data generated in the target touch inhibition area obtained in S910 does not necessarily include the touch signal generated by only one touch operation, but can include the touch signal generated by one or more touch operations.
[0136] For example Figure 10 In the example, the electronic device in the left-hand holding state obtains the control channel data by collecting the response data of all control channels in the target touch inhibition area, and the control channel data includes the touch signals of three touch operations, i.e., touch operation A, touch operation B, and touch operation C. That is, the response data of the control channel is detected in the three black areas shown in Figure 10
[0137] Therefore, in the embodiments of the present disclosure, it is necessary to first divide the touch signal of each touch operation according to the control channel data. For example, in some embodiments, the response data of adjacent control channels can be clustered according to the control channel data, and the clustering result obtained is the touch signal of the divided multiple touch operations. For example Figure 10 In the example, the touch signals corresponding to the three touch operations shown in Figure 10 are obtained by clustering the control channel data, that is, the black areas shown in the figure.
[0138] S930, determining a touch operation corresponding to a false touch identification result according to the touch signal corresponding to each touch operation.
[0139] In the embodiments of the present disclosure, for each touch operation, false touch identification can be performed according to the touch signal of the touch operation, so as to obtain the corresponding false touch identification result.
[0140] For example, in some embodiments, the user's palm edge false touch is taken as an example. In this scenario, the number of triggered edge channels is large, and the number of triggered sub-edge channels is small. Therefore, whether it is a false touch can be judged based on the proportion of the edge channel to the sub-edge channel.
[0141] For example, in the example shown in Figure 10 Taking touch operation A as an example, the first number of response data of the edge channel, that is, the first number S1 of the control channel of the outermost edge being triggered, and the second number of response data of the second edge channel, that is, the second number S2 of the control channel of the second edge being triggered, can be determined based on the touch signal of touch operation A.
[0142] Then, the ratio S1 / S2 of the first quantity S1 to the second quantity S2 is calculated to obtain the ratio S1 / S2 of the first quantity S1 to the second quantity S2. After that, the ratio S1 / S2 can be compared with the preset ratio threshold.
[0143] If the ratio is greater than the preset ratio threshold, it means that the number of edge channels triggered is much greater than the number of secondary edge channels triggered, which is consistent with the scenario characteristics of the user accidentally touching the edge of the screen with the palm of their hand. Therefore, it can be determined that the touch operation corresponding to the touch signal is a mis-touch.
[0144] Conversely, if the ratio is less than or equal to the preset ratio threshold, it means that the ratio of the number of edge channels triggered to the number of secondary edge channels triggered is within the preset range, thus not meeting the scenario characteristics of the user accidentally touching the screen edge with the palm of their hand. Therefore, it can be determined that the accidental touch recognition result of the touch operation corresponding to the touch signal is not an accidental touch, that is, a normal touch operation by the user.
[0145] In this embodiment, the specific area of the preset ratio threshold can be selected according to the needs of the scenario. For example, in an exemplary implementation, the preset ratio threshold can be set to 200, and this disclosure does not limit it.
[0146] For example, in other implementations, taking a user click operation as an example, when a user clicks the touch screen, the contact area between the fingertip and the touch screen is small, so the number of control channels triggered is also small. Therefore, it can be determined whether there is a mis-touch operation based on the number of response data of the control channels included in the touch signal of the touch operation.
[0147] For example, with Figure 10 Taking touch operation B as an example, we can first obtain the number of response data included in the touch signal corresponding to touch operation B, that is, the number of control channels T triggered by touch operation B.
[0148] Then, the quantity T can be compared with a preset quantity threshold. If the quantity T is greater than or equal to the preset quantity threshold, it means that the contact area between the touch operation and the touch screen exceeds the maximum contact area of the user's fingertip click. Therefore, the touch operation is likely not a normal click operation by the user, but a mis-touch operation. Thus, the mis-touch recognition result of the touch operation corresponding to the touch signal can be determined as a mis-touch.
[0149] Conversely, if the number T is less than the preset number threshold, it indicates that the contact area of the touch operation with the touch screen does not exceed the maximum contact area of the user's fingertip click, so that the touch operation is likely to be a normal motor operation of the user, and therefore the mis-touch identification result of the touch operation corresponding to the touch signal can be determined as a normal click operation rather than a mis-touch operation.
[0150] In the embodiment, the specific area of the preset number threshold can be selected according to scene requirements. For example, in an exemplary implementation, the preset number threshold can be set to 100, and the present disclosure does not limit this.
[0151] In the embodiment of the present disclosure, in the case where it is determined that the mis-touch identification result of a certain touch operation is a mis-touch, the touch operation can be filtered, that is, the event corresponding to the touch operation is not responded to, thereby achieving the effect of preventing mis-touch.
[0152] As known from the above, in the embodiment of the present disclosure, different touch control inhibition zones are configured for different holding states of the electronic device, which can make the touch control inhibition zone effectively adapt to the actual use scene, reduce the risk that the normal touch operation of the user is misjudged as a mis-touch operation and causes the touch operation of the user to be lost, and improve the mis-touch detection accuracy and the user touch control experience. Moreover, by combining the foregoing software algorithm to determine whether the touch operation is a mis-touch operation, the actual mis-touch operation characteristics are more in line with, and the accuracy of the mis-touch detection is improved.
[0153] As shown in FIG. Figure 11 In some embodiments, the present disclosure provides a mis-touch detection device, which comprises:
[0154] The state detection module 10 is configured to detect the current holding state of the electronic device;
[0155] The inhibition zone determination module 20 is configured to determine, based on the holding state, a target touch control inhibition zone corresponding to the holding state from a plurality of preconfigured touch control inhibition zones; different touch control inhibition zones occupy different positions on the screen of the electronic device;
[0156] The mis-touch identification module 30 is configured to determine, based on the touch signal of a touch operation in the target touch control inhibition zone, a mis-touch identification result of the touch operation.
[0157] In some embodiments, the state detection module 10 is configured to:
[0158] obtain the current posture data and touch mutual capacitance data of the electronic device;
[0159] input the posture data and the touch mutual capacitance data into a pre-trained holding detection model to obtain the current holding state of the electronic device output by the holding detection model.
[0160] In some embodiments, the holding state includes a left-hand holding state and a right-hand holding state; the plurality of touch inhibition zones includes a first touch inhibition zone corresponding to the left-hand holding state, and a second touch inhibition zone corresponding to the right-hand holding state;
[0161] The first touch inhibition zone includes a first area located at a left side edge of the electronic device, and a second area located at a right side edge of the electronic device, a length of the first area being greater than that of the second area; the first touch inhibition zone further includes a third area located at a lower left corner edge of the electronic device, and a fourth area located at a lower right corner edge of the electronic device, an area of the third area being greater than that of the fourth area;
[0162] The second touch inhibition zone includes a fifth area located at a left side edge of the electronic device, and a sixth area located at a right side edge of the electronic device, a length of the fifth area being less than that of the sixth area; the second touch inhibition zone further includes a seventh area located at a lower left corner edge of the electronic device, and an eighth area located at a lower right corner edge of the electronic device, an area of the seventh area being less than that of the eighth area.
[0163] In some embodiments, the false touch identification module 30 is configured to:
[0164] acquire control channel data generated in the target touch inhibition zone, the control channel data including response data when a control channel in the target touch inhibition zone is touched;
[0165] determine, according to the control channel data, a touch signal of each touch operation generated in the target touch inhibition zone;
[0166] determine, according to the touch signal corresponding to each touch operation, the false touch identification result corresponding to the touch operation.
[0167] In some embodiments, the false touch identification module 30 is configured to:
[0168] determine a first number of response data of an edge channel and a second number of response data of a sub-edge channel based on the touch signal, and determine a ratio of the first number to the second number;
[0169] in response to the ratio being greater than a preset ratio threshold, determine that the false touch identification result of the touch operation corresponding to the touch signal is a false touch.
[0170] In some embodiments, the false touch identification module 30 is configured to:
[0171] In response to the number of response data included in the touch signal being greater than or equal to a preset number threshold, it is determined that the false touch identification result of the touch operation corresponding to the touch signal is a false touch.
[0172] In some embodiments, the state detection module 10 is configured to:
[0173] obtain a training data set, the training data set including a plurality of sample data, each sample data including gesture data, touch mutual capacitance data, and holding state label data;
[0174] input the sample data into a holding detection model to be trained to obtain an output result of the holding detection model;
[0175] adjust model parameters of the holding detection model based on a difference between the output result and the holding state label data until a convergence condition is met, to obtain a trained holding detection model.
[0176] As can be seen from the above, in the embodiments of the present disclosure, different touch control inhibition zones are configured for different holding states of the electronic device, which can make the touch control inhibition zones effectively adapt to actual use scenarios, reduce the risk of normal touch operations of the user being misjudged as false touch operations and causing the user touch operation to lose points, improve the false touch detection accuracy and the user touch experience. Moreover, by combining the aforementioned software algorithm to determine whether the touch operation is a false touch operation, the actual false touch operation characteristics are more in line with, and the accuracy of false touch detection is improved.
[0177] In some embodiments, the present disclosure provides an electronic device, comprising:
[0178] a processor; and
[0179] a memory storing computer instructions for causing the processor to execute the method described in any of the above embodiments.
[0180] In some embodiments, the present disclosure provides a storage medium storing computer instructions for causing a computer to execute the method described in any of the above embodiments.
[0181] Figure 12 The electronic device structure in some embodiments of the present disclosure is shown in FIG. 1, and the following describes the electronic device in some embodiments of the present disclosure in combination with Figure 12 The electronic device in some embodiments of the present disclosure is described.
[0182] Reference is made to Figure 12The electronic device 1800 can include one or more of the following components: a processing component 1802, a memory 1804, a power component 1806, a multimedia component 1808, an audio component 1810, an input / output (I / O) interface 1812, a sensor component 1816, and a communication component 1818.
[0183] The processing component 1802 usually controls overall operations of the electronic device 1800, such as operations associated with display, phone call, data communication, camera operation and recording operation. The processing component 1802 can include one or more processors 1820 to execute instructions. Moreover, the processing component 1802 can include one or more modules to facilitate interaction between the processing component 1802 and other components. For example, the processing component 1802 can include a multimedia module to facilitate the interaction between the multimedia component 1808 and the processing component 1802. For another example, the processing component 1802 can read executable instructions from the memory to implement electronic device related functions.
[0184] The memory 1804 is configured to store various types of data to support operations of the electronic device 1800. Examples of these data include instructions for any application or method operating on the electronic device 1800, contact data, phonebook data, messages, pictures, videos, and so on. The memory 1804 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.
[0185] The power component 1806 provides power to various components of the electronic device 1800. The power component 1806 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 1800.
[0186] The multimedia component 1808 includes a display screen providing an output interface between the electronic device 1800 and a user. In some embodiments, the multimedia component 1808 includes a front-facing camera and / or a rear-facing camera. The front-facing camera and / or the rear-facing camera can receive external multimedia data when the electronic device 1800 is in an operation mode, such as a shooting mode or a video mode. Each of the front-facing camera and the rear-facing camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
[0187] The audio component 1810 is configured to output and / or input audio signals. For example, the audio component 1810 includes a microphone (MIC) that is configured to receive an external audio signal when the electronic device 1800 is in a 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 1804 or transmitted via the communication component 1818. In some embodiments, the audio component 1810 also includes a speaker for outputting audio signals.
[0188] The I / O interface 1812 provides an interface between the processing component 1802 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.
[0189] The sensor component 1816 includes one or more sensors for providing various state assessments for the electronic device 1800. For example, the sensor component 1816 can detect an open / closed state of the electronic device 1800, relative positioning of components, such as a display and a keypad of the electronic device 1800, a change in position of the electronic device 1800 or a component of the electronic device 1800, presence or absence of user contact with the electronic device 1800, an orientation or acceleration / deceleration of the electronic device 1800, and a temperature change of the electronic device 1800. The sensor component 1816 can include a proximity sensor configured to detect presence of a nearby object without any physical touch. The sensor component 1816 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 1816 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0190] The communication component 1818 is configured to facilitate wired or wireless communication between the electronic device 1800 and other devices. The electronic device 1800 can access a wireless network based on a communication standard, such as Wi-Fi, 2G, 3G, 4G, 5G, or 6G, or a combination thereof. In an example embodiment, the communication component 1818 receives broadcast signals or broadcast-related information from an external broadcasting management system via a broadcast channel. In an example embodiment, the communication component 1818 further 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 technology.
[0191] In an exemplary embodiment, the electronic device 1800 can be implemented with 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.
[0192] Obviously, the above-described embodiments are merely exemplary and are not intended to limit the embodiments. It will be apparent to those of ordinary skill in the art that other changes or modifications can be made to the embodiments based on the above description. It is not necessary to recite all the embodiments here. The obvious changes or modifications made from the embodiments still fall within the scope of the disclosure created.
Claims
1. A method for preventing a false touch detection, the method comprising: The method comprises: detecting a current holding state of the electronic device, the holding state comprising a left-hand holding state and a right-hand holding state; based on the holding state, determining a target touch control inhibition zone corresponding to the holding state from a plurality of preconfigured touch control inhibition zones; wherein the plurality of touch control inhibition zones comprises a first touch control inhibition zone corresponding to the left-hand holding state, and a second touch control inhibition zone corresponding to the right-hand holding state, the first touch control inhibition zone comprises a first area located at a left edge of the electronic device and a second area located at a right edge of the electronic device, a length of the first area is greater than that of the second area; the first touch control inhibition zone further comprises a third area located at a lower left corner edge of the electronic device and a fourth area located at a lower right corner edge of the electronic device, an area of the third area is greater than that of the fourth area; the second touch control inhibition zone comprises a fifth area located at a left edge of the electronic device and a sixth area located at a right edge of the electronic device, a length of the fifth area is less than that of the sixth area; the second touch control inhibition zone further comprises a seventh area located at a lower left corner edge of the electronic device and an eighth area located at a lower right corner edge of the electronic device, an area of the seventh area is less than that of the eighth area; the touch control inhibition zone is used for false touch identification of a touch signal generated therein; based on a touch signal of a touch operation in the target touch control inhibition zone, determining a false touch identification result of the touch operation.
2. The method of claim 1, wherein, The detection of the current holding state of the electronic device comprises: obtaining current posture data and touch mutual capacitance data of the electronic device; inputting the posture data and the touch mutual capacitance data into a pre-trained holding detection model to obtain a current holding state of the electronic device output by the holding detection model.
3. The method of claim 1, wherein, The determination of the false touch identification result of the touch signal corresponding to the touch operation based on the touch signal generated in the target touch control inhibition zone comprises: obtaining control channel data generated in the target touch control inhibition zone, the control channel data comprising response data when a control channel in the target touch control inhibition zone is touched; determining a touch signal of each touch operation generated in the target touch control inhibition zone according to the control channel data; determining the false touch identification result corresponding to the touch operation according to the touch signal corresponding to each touch operation.
4. The method of claim 3, wherein, The determination of the false touch identification result corresponding to the touch operation according to the touch signal corresponding to each touch operation comprises: determining a first number of response data of an edge channel and a second number of response data of a sub-edge channel based on the touch signal, and determining a ratio of the first number to the second number; in response to the ratio being greater than a preset ratio threshold, determining that the false touch identification result of the touch operation corresponding to the touch signal is false touch.
5. The method of claim 3, wherein, The determination of the false touch identification result corresponding to the touch operation according to the touch signal corresponding to each touch operation comprises: in response to a number of response data included in the touch signal being greater than or equal to a preset number threshold, determining that the false touch identification result of the touch operation corresponding to the touch signal is false touch.
6. The method of claim 2, wherein, The training process of the holding detection model comprises: obtaining a training data set comprising a plurality of sample data, each sample data comprising posture data, touch mutual capacitance data and holding state label data; inputting the sample data into the holding detection model to be trained to obtain an output result of the holding detection model; adjusting model parameters of the holding detection model based on a difference between the output result and the holding state label data until a convergence condition is met to obtain a trained holding detection model.
7. An unintended touch prevention detection device characterized by comprising: comprise: a state detection module configured to detect a current holding state of an electronic device; a suppression region determination module configured to determine a target touch suppression region corresponding to the holding state from a plurality of preconfigured touch suppression regions based on the holding state; wherein the plurality of touch suppression regions comprise a first touch suppression region corresponding to a left-hand holding state and a second touch suppression region corresponding to a right-hand holding state, the first touch suppression region comprises a first area located at a left edge of the electronic device and a second area located at a right edge of the electronic device, a length of the first area is greater than that of the second area; the first touch suppression region further comprises a third area located at a lower left corner edge of the electronic device and a fourth area located at a lower right corner edge of the electronic device, an area of the third area is greater than that of the fourth area; the second touch suppression region comprises a fifth area located at a left edge of the electronic device and a sixth area located at a right edge of the electronic device, a length of the fifth area is less than that of the sixth area; the second touch suppression region further comprises a seventh area located at a lower left corner edge of the electronic device and an eighth area located at a lower right corner edge of the electronic device, an area of the seventh area is less than that of the eighth area, and the touch suppression region is used for false touch identification of a touch signal generated therein; a false touch identification module configured to determine a false touch identification result of a touch operation based on a touch signal of the touch operation in the target touch suppression region.
8. An electronic device, comprising: comprise: a processor; and a memory storing computer instructions for causing the processor to execute the method according to any one of claims 1 to 6.
9. A storage medium, characterized by a memory storing computer instructions for causing the computer to execute the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Mistaken-touch preventing method and apparatus for touch screen of mobile terminal and mobile terminal
CN106775405A
Touch display device and mistaken touch prevention method of touch display device
CN113110762A
Touch screen mistaken touch prevention processing method and device, equipment and medium
CN113282191A
Mobile terminal mistaken touch prevention method and device, computer equipment and storage medium
CN113552995A
Touch Operation Method and Device
US20230075464A1