False touch prevention method, false touch prevention device, terminal equipment and storage medium

By detecting the number of touch points and target values ​​during touch operation in the terminal device, detecting and preventing edge error touching is achieved, solving the problem of error touching on the edge under the full screen and improving the user experience.

CN119902640AActive Publication Date: 2025-04-29BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202311406140.4
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

Technical Problem

With the popularity of full screens, the borders of terminal devices are becoming narrower and narrower, and the requirements for touch experience on the edges of terminal devices are becoming higher and higher, resulting in preventing edges from touching mistakenly.

Method used

When detecting the touch operation, the number of touch points on the first touch channel and the second touch channel generated by the touch screen at least the first N time points is obtained, and the target value is determined based on the number of the same time points, and finally the false touch detection is performed according to the target value of the multiple time points to prevent the edge from being accidentally touched.

Benefits of technology

Effectively detect and prevent the edge of the terminal device from accidentally touching, and improve the user's touch experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119902640A_ABST
    Figure CN119902640A_ABST
Patent Text Reader

Abstract

The invention provides a mistaken touch prevention method and device, terminal equipment and a storage medium, and the method comprises the steps: obtaining a first number of first touch points and a second number of second touch points generated by a touch screen at least first N time points in response to a detected touch operation; wherein the first touch point is a touch point on the first touch channel, the second touch point is a touch point on the second touch channel, the first touch channel and the second touch channel are adjacent touch channels of the touch screen in the edge area, and N is a positive integer greater than or equal to 3; determining a target value of the same time point according to the first number and the second number of the same time point; and according to the target values of the at least N time points, false touch detection is performed on the touch operation, so that edge false touch can be effectively prevented, and the touch experience feeling of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of terminal devices, and in particular to an anti-mistaken-touch method, an anti-mistaken-touch device, a terminal device, and a storage medium. Background Art

[0002] With the continuous development of science and technology and network technology, the use of touch screens is becoming more and more popular.

[0003] At present, terminal devices such as smart phones generally use touch screens with a high screen-to-body ratio. As a very convenient input and output device, the touch screen facilitates the interaction between users and terminal devices, so touch screens are widely used in various terminal devices. In particular, curved screens can extend the displayed content further to the side of the terminal device, bringing users a rich visual experience. With the popularization of full-screen devices, the borders of terminal devices are getting narrower and narrower, and the requirements for touch experience at the edge of terminal devices are getting higher and higher. Therefore, it becomes very important to prevent accidental touches on the edges. Summary of the invention

[0004] The present disclosure aims to solve one of the technical problems in the related art at least to some extent.

[0005] To this end, the present disclosure proposes an anti-mistouch method, an anti-mistouch device, a terminal device and a storage medium. When the present disclosure detects a touch operation, it realizes the detection of false touches of the terminal device according to the number of touch points on the first touch channel and the number of touch points on the second touch channel generated by the touch screen at least at the first N time points, thereby realizing the detection of false touches of the terminal device, effectively preventing edge false touches, and improving the user's touch experience.

[0006] In one aspect, an embodiment of the present disclosure provides a method for preventing accidental touches, including:

[0007] In response to detecting a touch operation, obtaining a first number of first touch points and a second number of second touch points generated by the touch screen at least at the first N time points; wherein the first touch point is a touch point on a first touch channel, the second touch point is a touch point on a second touch channel, the first touch channel and the second touch channel are touch channels adjacent to each other in an edge area of ​​the touch screen, and N is a positive integer greater than or equal to 3;

[0008] Determining a target value at the same time point according to the first quantity and the second quantity at the same time point;

[0009] Perform false touch detection on the touch operation according to target values ​​at at least N time points.

[0010] Another aspect of the present disclosure provides an anti-mistaken touch device, including:

[0011] an acquisition module, configured to acquire, in response to detecting a touch operation, a first number of first touch points and a second number of second touch points generated by the touch screen at least at the first N time points; wherein the first touch point is a touch point on a first touch channel, the second touch point is a touch point on a second touch channel, the first touch channel and the second touch channel are touch channels adjacent to each other in an edge area of ​​the touch screen, and N is a positive integer greater than or equal to 3;

[0012] A determination module, configured to determine a target value at the same time point according to the first quantity and the second quantity at the same time point;

[0013] The detection module is used to perform false touch detection on the touch operation according to target values ​​at least at N time points.

[0014] Another aspect of the present disclosure provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for preventing accidental touch as described in the aforementioned aspect is implemented.

[0015] Another aspect of the present disclosure provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for preventing accidental touches as described in the aforementioned aspect is implemented.

[0016] Another aspect of the present disclosure provides a computer program product on which a computer program is stored. When the program is executed by a processor, the method for preventing accidental touches as described in the above aspect is implemented.

[0017] The anti-false touch method, anti-false touch device, terminal device and storage medium proposed in the present disclosure, when a touch operation is detected, obtains the first number of first touch points and the second number of second touch points generated by the touch screen at least at the first N time points, the first touch point is a touch point on the first touch channel, the second touch point is a touch point on the second touch channel, the first touch channel and the second touch channel are touch channels adjacent to each other in the edge area of ​​the touch screen, N is a positive integer greater than or equal to 3, and then determines the target value at the same time point according to the first number and the second number at the same time point, and finally performs false touch detection on the touch operation according to the target value at least at N time points. Therefore, when the present disclosure detects a touch operation, it realizes the detection of false touches of the terminal device according to the number of touch points on the first touch channel and the number of touch points on the second touch channel generated by the touch screen at least at the first N time points, so that it can realize the detection of false touches of the terminal device, effectively prevent false touches on the edge, and enhance the user's touch experience.

[0018] Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will be obvious from the following description or learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The above and / or additional aspects and advantages of the present disclosure will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0020] Figure 1 is a flow chart of a method for preventing accidental touch according to an embodiment of the present disclosure;

[0021] Figure 2 is a schematic diagram of a touch operation at a non-corner of the left edge according to an embodiment of the present disclosure;

[0022] Figure 3 is a schematic diagram of a touch operation at an edge corner according to an embodiment of the present disclosure;

[0023] Figure 4 is a flow chart of a method for preventing accidental touch according to an embodiment of the present disclosure;

[0024] Figure 5 is a flow chart of a method for preventing accidental touch according to an embodiment of the present disclosure;

[0025] Figure 6 is a block diagram of an anti-mistouch device according to an embodiment of the present disclosure;

[0026] Figure 7 It is a structural diagram of a terminal device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0027] Embodiments of the present disclosure are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.

[0028] The following describes the accidental touch prevention method, the accidental touch prevention device, the terminal device and the storage medium according to the embodiments of the present disclosure with reference to the accompanying drawings.

[0029] Figure 1 is a flow chart of a method for preventing accidental touches according to an embodiment of the present disclosure.

[0030] It should be noted that the executor of the anti-accidental touch method of the embodiment of the present disclosure is an anti-accidental touch device, which can be set in a terminal device, and the terminal device can be a device such as a smart phone, tablet, computer, TV, wearable device, etc.

[0031] like Figure 1As shown, the method for preventing accidental touches in the embodiment of the present disclosure includes the following steps:

[0032] S101, in response to detecting a touch operation, obtaining a first number of first touch points and a second number of second touch points generated by the touch screen at least at the first N time points; wherein the first touch point is a touch point on a first touch channel, the second touch point is a touch point on a second touch channel, the first touch channel and the second touch channel are touch channels adjacent to each other in an edge area of ​​the touch screen, and N is a positive integer greater than or equal to 3.

[0033] The terminal device first detects whether the touch screen has been touched. For example, the terminal device can collect pressure information on the surface of the touch screen through a signal acquisition device, and determine whether there is a touch operation based on the pressure information on the surface of the touch screen. For example, when the pressure information is greater than the set pressure value, it is determined that the touch screen has been touched. For another example, the terminal device can use the HTC (Host Touch Computing) reporting scheme to determine whether the touch screen has been touched. The HTC reporting scheme is a method for detecting the position and shape of touch points on the surface of the touch screen. The working principle of the scheme is to set a mutual capacitance original signal on the touch screen. The mutual capacitance original signal is realized by setting a series of electrodes and sensors on the touch screen. When a finger or other object touches the screen, the electric field distribution between the electrode and the sensor will be changed, thereby affecting the reception and transmission of the mutual capacitance original signal. By measuring these changes, the position and shape of the touch point can be determined.

[0034] When the terminal device detects that there is a touch operation on the touch screen, since the touch operation may be an erroneous operation, which usually occurs at the edge of the touch screen, before executing step S101 to obtain the first number of first touch points and the second number of second touch points generated by the touch screen at least at the first N time points, the touch position of the touch operation can be obtained first, and then a determination can be made as to whether the touch position is an edge area of ​​the touch screen. If it is an edge area, the first number of contact points (first touch points) on the first touch channel and the second number of contact points (second touch points) on the second touch channel generated by the touch screen at least at the first N time points are obtained first, and then false touch detection is performed on the touch operation based on the first number and the second number.

[0035] Usually, false touches occur at the edge of the touch screen, and the corners of the edge are more special. Figure 2When the touch operation is at the left edge as shown, the first touch channel is the first column of touch channels from left to right, the second touch channel is the second column of touch channels from left to right, the first number of touch points on the first column of touch channels is obtained as ch1, and the second number of touch points on the second column of touch channels is obtained as ch2; when the touch operation position is at the corner of the edge, for example, the touch operation is as follows Figure 3 When the left edge corner is shown, the first touch channel is the first column touch channel from left to right and the first row touch channel from bottom to top, the second touch channel is the second column touch channel from left to right and the second row touch channel from bottom to top, the first number of touch points on the first column touch channel and the first row touch channel is cor1, and the second number of touch points on the second column touch channel and the second row touch channel is cor2.

[0036] S102: Determine a target value at the same time point according to the first quantity and the second quantity at the same time point.

[0037] When the touch operation position is at a non-corner of the edge area, the target value at the same time point is the ratio of the first quantity ch1 to the second quantity ch2 at the same time point; when the touch operation position is at a corner of the edge area, the target value at the same time point is the ratio of the first quantity cor1 to the second quantity cor2 at the same time point.

[0038] S103: Perform false touch detection on the touch operation according to the target values ​​at least at N time points.

[0039] When the target values ​​of at least N time points are greater than the first set value, the terminal device determines that the touch operation is a false touch operation. At this time, the terminal device may be in a grasping or palm-root false touch, and the touch operation needs to be shielded, that is, the touch points on each touch channel in the edge area need to be suppressed. When the target values ​​of at least N time points are less than or equal to the set target value starting from the target value of the Mth (such as the third) time point, it is impossible to determine whether the touch operation is a false touch operation. At this time, it is necessary to obtain the touch duration of the touch operation, and then perform false touch detection on the touch operation based on the touch duration. Wherein, M is a positive integer less than or equal to N.

[0040] When the touch duration is less than the first set duration (such as 200ms), it is determined that the touch operation ends within the first set duration, that is, the user's finger is lifted up. At this time, the touch operation is determined to be a normal touch operation, and the touch operation is reported normally and the corresponding operation is controlled to be executed. When the touch duration is greater than or equal to the first set duration, the long press recognition state is entered.

[0041] In the long press recognition state, since the finger is already in a stable state, the current finger area (number of touch points) will also enter a stable state. Therefore, based on the finger area, it is possible to determine whether the terminal device is in a grasping or large-area palm coverage. The implementation process is as follows: obtain the third number of third touch points (the third touch point is the touch point on all touch channels of the touch screen) generated by the touch screen at multiple (such as 3) time points after the first set time length, and perform false touch detection on the false touch operation based on multiple third numbers.

[0042] If multiple third numbers are all greater than the set number, the finger area has not changed significantly and is in a stable state. At this time, the terminal device is identified as not grasping or touching the base of the palm, and the touch operation can be determined to be a normal touch operation, and the touch operation is reported normally to control the execution of the corresponding operation; if there is a value less than or equal to the set number among the multiple third numbers, the finger area has changed significantly and is not in a stable state. At this time, the terminal device is identified as grasping or touching the base of the palm, and the touch operation can be determined to be a false touch operation, and the touch points currently reported by each touch channel in the edge area are suppressed.

[0043] In order to improve the accuracy of determining whether a touch operation is a false touch operation, the present disclosure defines the set number as follows based on the difference in finger area size: a peak value is obtained from multiple third numbers, and if the peak value is greater than a first set value (such as 10), the set number is determined to be a second set value (such as 4); if the peak value is less than or equal to the first set value (such as 10), the set number is determined to be a third set value (such as 3); wherein the first set value is greater than the second set value, and the second set value is greater than the third set value.

[0044] Therefore, when a touch operation is detected, the detection of false touches of the terminal device is realized based on the number of touch points on the first touch channel and the number of touch points on the second touch channel generated by the touch screen at least at the first N time points, thereby realizing the detection of false touches of the terminal device, effectively preventing false touches on the edges, and improving the user's touch experience.

[0045] In order to make those skilled in the art understand the present disclosure more clearly, Figure 4 As shown, the method for preventing accidental touches in the embodiment of the present disclosure includes:

[0046] S401, determine whether the target values ​​at the first five time points are all greater than the set target value. If yes, execute step S405; if not, execute step S402.

[0047] S402, determine whether the touch duration is greater than 200ms. If yes, execute step S403; if not, execute step S406.

[0048] S403, entering the long press recognition state.

[0049] S404, determine whether the area of ​​the finger is stable. If yes, execute step S406; if no, repeat step S404 three times, and if the area of ​​the finger is still unstable after repeating three times, execute step S405.

[0050] S405: Suppress the touch points on each touch channel currently in the edge area.

[0051] S406, reporting the touch operation normally and controlling the execution of the corresponding operation.

[0052] The touch position described above is the edge area of ​​the touch screen, and the touch position described below includes the non-edge area and the edge area of ​​the touch screen.

[0053] In the present disclosure, if it is determined that the touch position includes the non-edge area of ​​the touch screen, it is necessary to identify the holding state of the terminal device and obtain the touch angle of the touch operation. Then, based on the identification result and the touch angle, the touch points on each touch channel in the corner of the corresponding edge area are suppressed.

[0054] For example, the holding state of the terminal device can be identified through the gravity sensor and the acceleration sensor, and the touch angle can be determined according to the shape of the touch point. If the recognition result is the left-hand holding state and the touch angle is in the first set angle range (the angles of the first quadrant and the fourth quadrant, 0-90° and 270°-360°), the touch points on each touch channel in the corner of the left edge area are suppressed; if the recognition result is the right-hand holding state, and the touch angle is in the second set angle range (the scheduling of the second quadrant and the third quadrant, 90°-270°), the touch points on each touch channel in the corner of the right edge area are suppressed.

[0055] In addition, after the touch operation in the non-edge area is recognized to be completed, the touch points on each touch channel in the corner of the edge area on the corresponding side are suppressed within a second set time period; wherein the second set time period is less than the first set time period, that is, when the finger is lifted, the corresponding corner is suppressed for 100ms, and after 100ms, the above steps S101-S104 are continued to be executed, that is, the logic of no touch operation in the non-edge area is used to continue to determine whether there is a false touch on the touch screen of the terminal device.

[0056] In order to make those skilled in the art understand the present disclosure more clearly, Figure 5 As shown, the method for preventing accidental touch of the present disclosure further includes:

[0057] S501: Touch operation is performed in a non-edge area.

[0058] S502, determining whether the holding state is left-hand holding or right-hand holding.

[0059] S503: Acquire a touch angle of the touch operation.

[0060] S504: Suppress the touch points at the corresponding corners in combination with the holding state and the touch angle.

[0061] S505, after the finger is lifted, the corresponding corner is suppressed for 100ms.

[0062] S506, executing edge area detection logic after 100ms.

[0063] In summary, according to the anti-false touch method of the embodiment of the present disclosure, when a touch operation is detected, the first number of first touch points and the second number of second touch points generated by the touch screen at least at the first N time points are obtained, the first touch point is a touch point on the first touch channel, the second touch point is a touch point on the second touch channel, the first touch channel and the second touch channel are touch channels adjacent to each other in the edge area of ​​the touch screen, and N is a positive integer greater than or equal to 3, and then according to the first number and the second number at the same time point, the target value at the same time point is determined, and finally, according to the target value at least N time points, false touch detection is performed on the touch operation. Therefore, when the present disclosure detects a touch operation, it realizes the detection of false touches of the terminal device according to the number of touch points on the first touch channel and the number of touch points on the second touch channel generated by the touch screen at least at the first N time points, so that the detection of false touches of the terminal device can be realized, and false touches of the edge can be effectively prevented, and the user's touch experience can be improved.

[0064] Figure 6 is a block diagram of an anti-mistouch device according to an embodiment of the present disclosure.

[0065] like Figure 6 As shown, the anti-mistouch device 600 of the embodiment of the present disclosure includes:

[0066] An acquisition module 610 is configured to acquire, in response to detecting a touch operation, a first number of first touch points and a second number of second touch points generated by the touch screen at least at the first N time points; wherein the first touch point is a touch point on a first touch channel, the second touch point is a touch point on a second touch channel, the first touch channel and the second touch channel are touch channels adjacent to each other in an edge area of ​​the touch screen, and N is a positive integer greater than or equal to 3;

[0067] A determination module 620, configured to determine a target value at the same time point according to the first quantity and the second quantity at the same time point;

[0068] The detection module 630 is used to perform false touch detection on the touch operation according to the target values ​​at least at N time points.

[0069] In one embodiment of the present disclosure, the determination module 620 is used to determine the target value at the same time point according to the first quantity and the second quantity at the same time point, including:

[0070] Calculate the ratio of the first quantity to the second quantity at the same time point;

[0071] Determine the ratio as the target value at the same time point.

[0072] In one embodiment of the present disclosure, the detection module 630 is used to perform false touch detection on the touch operation according to the target values ​​at least at N time points, including:

[0073] In response to the target values ​​at least at N time points being greater than the set target values, it is determined that the touch operation is an erroneous touch operation, and a suppression process is performed on the touch points on each touch channel currently in the edge area;

[0074] In response to the target values ​​at at least N time points being less than or equal to the set target value starting from the target value at the Mth time point, acquiring a touch duration of the touch operation, and performing false touch detection on the touch operation according to the touch duration;

[0075] Wherein, M is a positive integer less than or equal to N.

[0076] In one embodiment of the present disclosure, the detection module 630 is used to detect false touches of touch operations according to the touch duration, including:

[0077] In response to the touch duration being less than the first set duration, determining that the touch operation is a normal touch operation, reporting the touch operation normally and controlling execution of a corresponding operation;

[0078] In response to a touch duration being greater than or equal to a first set duration, a third number of third touch points generated by the touch screen at multiple time points after the first set duration is obtained, and false touch detection is performed on the false touch operation based on the multiple third numbers; wherein the third touch points are touch points on all touch channels of the touch screen.

[0079] In one embodiment of the present disclosure, the detection module 630 is used to perform false touch detection on the false touch operation according to the plurality of third quantities, including:

[0080] In response to the plurality of third numbers being greater than the set number, it is determined that the touch operation is a normal touch operation, the touch operation is reported normally and the corresponding operation is controlled to be executed;

[0081] In response to the presence of a value less than or equal to the set number among the plurality of third numbers, it is determined that the touch operation is an erroneous touch operation, and a suppression process is performed on the touch points of each touch channel currently in the edge area.

[0082] In one embodiment of the present disclosure, the detection module 630 is used to, before performing false touch detection on the false touch operation according to the plurality of third quantities, further be used to:

[0083] obtaining peak values ​​from a plurality of third quantities;

[0084] In response to the peak value being greater than the first set value, determining the set quantity to be a second set value;

[0085] In response to the peak value being less than or equal to the first set value, determining the set quantity to be a third set value;

[0086] The first setting value is greater than the second setting value, and the second setting value is greater than the third setting value.

[0087] In one embodiment of the present disclosure, the above-mentioned device further includes:

[0088] The first control module is used to obtain a touch position of a touch operation and determine that the touch position is an edge area of ​​the touch screen.

[0089] In one embodiment of the present disclosure, the above-mentioned device further includes:

[0090] The second control module is used to determine the touch position including the non-edge area of ​​the touch screen, identify the holding state of the terminal device, and obtain the touch angle of the touch operation, and then suppress the touch points on each touch channel in the corner of the corresponding edge area based on the recognition result and the touch angle.

[0091] In one embodiment of the present disclosure, the second control module is used to suppress the touch points on each touch channel of the corresponding corner area according to the recognition result and the touch angle, including:

[0092] In response to the recognition result that the user is in the left-hand holding state and the touch angle is within the first set angle range, suppressing the touch points on each touch channel in the corner of the left edge area;

[0093] In response to the recognition result that the user is in the right-hand holding state and the touch angle is within the second set angle range, the touch points on the touch channels in the corners of the right edge region are suppressed.

[0094] In one embodiment of the present disclosure, the above-mentioned device further includes:

[0095] A third control module is used for suppressing the touch points on each touch channel in the corner of the edge area of ​​the corresponding side within a second set time period in response to the end of the touch operation on the non-edge area;

[0096] The second set time length is shorter than the first set time length.

[0097] It should be noted that the above explanation of the embodiment of the method for preventing accidental touch is also applicable to the device for preventing accidental touch of this embodiment, and will not be repeated here.

[0098] According to the anti-mis-touch device of the embodiment of the present disclosure, the acquisition module acquires the first number of first touch points and the second number of second touch points generated by the touch screen at least at the first N time points when a touch operation is detected, the first touch point is a touch point on the first touch channel, the second touch point is a touch point on the second touch channel, the first touch channel and the second touch channel are touch channels adjacent to each other in the edge area of ​​the touch screen, and N is a positive integer greater than or equal to 3, the determination module determines the target value at the same time point according to the first number and the second number at the same time point, and the detection module performs mis-touch detection on the touch operation according to the target value at least at N time points. Therefore, when the device detects a touch operation, the number of voltage values ​​collected at the touch point on the first touch channel and the number of voltage values ​​collected at the touch point on the second touch channel in the voltage matrix generated by the touch screen at least at the first N time points are used to determine the mis-touch of the terminal device, thereby being able to determine the mis-touch of the terminal device, effectively preventing edge mis-touch, and improving the user's touch experience.

[0099] In order to implement the above embodiments, the present disclosure also proposes a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the anti-mistouch method as described in the above method embodiments is implemented.

[0100] In order to implement the above embodiments, the present disclosure further proposes a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method for preventing accidental touch as described in the above method embodiments is implemented.

[0101] In order to implement the above embodiments, the present disclosure further proposes a computer program product on which a computer program is stored. When the computer program is executed by a processor, the method for preventing accidental touch as described in the above method embodiments is implemented.

[0102] Figure 7 700 is a schematic diagram of a terminal device provided by an embodiment of the present disclosure. For example, the terminal device 700 may be a mobile phone, a computer, a digital broadcast terminal, a message transceiver device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0103] Reference Figure 7 The terminal device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power component 706 , a multimedia component 708 , an audio component 710 , an input / output (I / O) interface 712 , a sensor component 714 , and a communication component 716 .

[0104] The processing component 702 generally controls the overall operation of the terminal device 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate the interaction between the multimedia component 708 and the processing component 702.

[0105] The memory 704 is configured to store various types of data to support operations on the terminal device 700. Examples of such data include instructions for any application or method operating on the terminal device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 can 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.

[0106] The power component 706 provides power to various components of the terminal device 700. The power component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the terminal device 700.

[0107] The multimedia component 708 includes a screen that provides an output interface between the terminal device 700 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 708 includes a front camera and / or a rear camera. When the terminal device 700 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 the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0108] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), and when the terminal device 700 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 704 or sent via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.

[0109] I / O interface 712 provides an interface between processing component 702 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0110] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the terminal device 700. For example, the sensor assembly 714 can detect the open / closed state of the terminal device 700, the relative positioning of the components, such as the display and keypad of the terminal device 700, and the sensor assembly 714 can also detect the position change of the terminal device 700 or a component of the terminal device 700, the presence or absence of contact between the user and the terminal device 700, the orientation or acceleration / deceleration of the terminal device 700, and the temperature change of the terminal device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 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 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0111] The communication component 716 is configured to facilitate wired or wireless communication between the terminal device 700 and other devices. The terminal device 700 can access a wireless network based on a communication standard, such as WiFi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 716 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 716 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.

[0112] In an exemplary embodiment, the terminal device 700 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above methods.

[0113] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, and the instructions can be executed by a processor 720 of a terminal device 700 to complete the above method. For example, the 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.

[0114] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and features of different embodiments or examples without contradiction.

[0115] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, "plurality" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0116] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present disclosure includes additional implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present disclosure belong.

[0117] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0118] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0119] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0120] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0121] The storage medium mentioned above may be a read-only memory, a disk or an optical disk, etc. Although the embodiments of the present disclosure have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations of the present disclosure. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present disclosure.

Claims

1. A method for preventing accidental touch, characterized in that: include: In response to detecting a touch operation, obtaining a first number of first touch points and a second number of second touch points generated by the touch screen at least at the first N time points; wherein the first touch point is a touch point on a first touch channel, the second touch point is a touch point on a second touch channel, the first touch channel and the second touch channel are touch channels adjacent to each other in an edge area of ​​the touch screen, and N is a positive integer greater than or equal to 3; Determining a target value at the same time point according to the first quantity and the second quantity at the same time point; Perform false touch detection on the touch operation according to target values ​​at at least N time points.

2. The method according to claim 1, characterized in that The determining, according to the first quantity and the second quantity at the same time point, a target value at the same time point includes: Calculate the ratio of the first quantity to the second quantity at the same time point; The ratio is determined to be a target value at the same time point.

3. The method according to claim 1, characterized in that The performing false touch detection on the touch operation according to the target values ​​at least at N time points includes: In response to the target values ​​of the at least N time points being greater than the set target values, it is determined that the touch operation is an erroneous touch operation, and a suppression process is performed on the touch points currently on each touch channel in the edge area; In response to the target values ​​of the at least N time points being less than or equal to the set target value starting from the target value at the Mth time point, acquiring a touch duration of the touch operation, and performing false touch detection on the touch operation according to the touch duration; Wherein, M is a positive integer less than or equal to N.

4. The method according to claim 3, characterized in that The performing false touch detection on the touch operation according to the touch duration includes: In response to the touch duration being less than a first set duration, determining that the touch operation is a normal touch operation, reporting the touch operation normally and controlling execution of a corresponding operation; In response to the touch duration being greater than or equal to the first set duration, a third number of third touch points generated by the touch screen at multiple time points after the first set duration is obtained, and false touch detection is performed on the false touch operation based on the multiple third numbers; wherein the third touch points are touch points on all touch channels of the touch screen.

5. The method according to claim 4, characterized in that The performing false touch detection on the false touch operation according to the plurality of third numbers includes: In response to the third numbers being greater than the set number, determining that the touch operation is a normal touch operation, reporting the touch operation as normal and controlling the execution of a corresponding operation; In response to the presence of a value less than or equal to the set number among the plurality of third numbers, the touch operation is determined to be the false touch operation, and a suppression process is performed on the touch points of each touch channel currently in the edge area.

6. The method according to claim 5, characterized in that Before performing false touch detection on the false touch operation according to the plurality of third quantities, the method further includes: Obtaining a peak value from a plurality of said third quantities; In response to the peak value being greater than the first set value, determining the set number to be a second set value; In response to the peak value being less than or equal to the first set value, determining the set number to be a third set value; The first setting value is greater than the second setting value, and the second setting value is greater than the third setting value.

7. The method according to claim 1, characterized in that Before acquiring the first number of first touch points and the second number of second touch points generated by the touch screen at least at the first N time points, the method further includes: Acquire a touch position of the touch operation; The touch position is determined to be an edge area of ​​the touch screen.

8. The method according to claim 7, characterized in that The method further comprises: Determining that the touch position includes a non-edge area of ​​the touch screen; Identifying a holding state of the terminal device and acquiring a touch angle of the touch operation; According to the recognition result and the touch angle, the touch points of each touch channel in the corner of the corresponding edge area are suppressed.

9. The method according to claim 8, characterized in that The step of suppressing the touch points of each touch channel in the corresponding corner area according to the recognition result and the touch angle includes: In response to the recognition result being a left-hand holding state and the touch angle being in a first set angle range, suppressing touch points of each touch channel in a corner of the edge area on the left side; In response to the recognition result that the holding state is right-handed and the touch angle is in a second set angle range, the touch points of each touch channel in the corner of the edge area on the right are suppressed.

10. The method according to claim 9, characterized in that The method further comprises: In response to the touch operation on the non-edge area being ended, suppressing the touch points of each touch channel in the corner of the edge area on the corresponding side for a second set time period; The second set time length is shorter than the first set time length.

11. A device for preventing accidental touch, characterized in that: include: an acquisition module, configured to acquire, in response to detecting a touch operation, a first number of first touch points and a second number of second touch points generated by the touch screen at least at the first N time points; wherein the first touch point is a touch point on a first touch channel, the second touch point is a touch point on a second touch channel, the first touch channel and the second touch channel are touch channels adjacent to each other in an edge area of ​​the touch screen, and N is a positive integer greater than or equal to 3; A determination module, configured to determine a target value at the same time point according to the first quantity and the second quantity at the same time point; The detection module is used to perform false touch detection on the touch operation according to target values ​​at least at N time points.

12. A terminal device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method for preventing accidental touch as claimed in any one of claims 1 to 10 is implemented.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for preventing accidental touches according to any one of claims 1 to 10 is implemented.

Citation Information

Patent Citations

  • Recognition method and device of long-pressing operation of touch operation area

    CN104750418A

  • Touch screen edge error touch prevention method and device and mobile terminal

    CN106406633A

  • Mistaken touch prevention method, mobile terminal and computer readable storage medium

    CN109992156A

  • Touchpad control method and device

    CN113157197A

  • Touch screen mistaken touch prevention processing method and device, equipment and medium

    CN113282191A