Accidental touch prevention methods, accidental touch prevention devices, terminal equipment and storage media
By detecting the number of touch points and the target value at time points on adjacent touch channels in the edge area of the touchscreen, the problem of accidental touches at the edge of the terminal device is solved, and the user's touch experience is improved.
Patent Information
- Application Number
- CN202311406140.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-26
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2043-10-26
AI Technical Summary
In existing technologies, the problem of accidental touches at the edges of terminal devices has not been effectively solved, affecting the user's touch experience.
By detecting the number of touch points and the target value of the time point on the touch channel adjacent to the edge area of the touch screen, it is determined whether the touch operation is a false touch, including suppressing false touches at the edge and improving the user experience.
It effectively prevents accidental touches at the edges, enhancing the user's touch experience.
Smart Images

Figure CN119902640B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of terminal equipment technology, and in particular to a method, device, terminal equipment, and storage medium for preventing accidental touches. Background Technology
[0002] With the continuous development of science and technology and network technology, the use of touch screens is becoming more and more widespread.
[0003] Currently, terminal devices such as smartphones commonly use touchscreens with a high screen-to-body ratio. Touchscreens, as a very convenient input / output device, facilitate user interaction with terminal devices, and are therefore widely used in various terminal devices. Curved screens, in particular, can extend the displayed content to the sides of the terminal device, providing users with a richer visual experience. With the popularization of full-screen displays, the bezels of terminal devices are becoming increasingly narrow, and the requirements for the touch experience at the edges of terminal devices are also becoming increasingly demanding. Therefore, preventing accidental touches at the edges has become very important. Summary of the Invention
[0004] This disclosure aims to at least partially address one of the technical problems in the related art.
[0005] To this end, this disclosure proposes a method, device, terminal device, and storage medium for preventing accidental touches. When a touch operation is detected, this disclosure detects accidental touches on the terminal device 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 N time points in the previous period. This enables the detection of accidental touches on the terminal device, effectively prevents accidental touches at the edges, and improves the user's touch experience.
[0006] One embodiment of this disclosure proposes a method for preventing accidental touches, including:
[0007] In response to the detection of a touch operation, a first number of first touch points and a second number of second touch points generated by the touchscreen at least N time points are obtained; 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 adjacent touch channels of the touchscreen in the edge region, and N is a positive integer greater than or equal to 3;
[0008] The target value at the same time point is determined based on the first quantity and the second quantity at the same time point;
[0009] Accidental touch detection is performed on the touch operation based on target values at at least N time points.
[0010] Another embodiment of this disclosure provides a device for preventing accidental touches, including:
[0011] The acquisition module is used to acquire, in response to the detection of 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 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 adjacent touch channels of the touch screen in the edge region, and N is a positive integer greater than or equal to 3.
[0012] The determining module is used to determine the target value at the same time point based on the first quantity and the second quantity at the same time point;
[0013] The detection module is used to perform accidental touch detection on the touch operation based on target values at at least N time points.
[0014] Another embodiment of this disclosure 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, it implements the anti-accidental touch method as described in the foregoing aspect.
[0015] Another embodiment of this disclosure provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the anti-accidental touch method as described in the foregoing aspect.
[0016] Another embodiment of this disclosure provides a computer program product having a computer program stored thereon, which, when executed by a processor, implements the anti-accidental touch method as described in the foregoing aspect.
[0017] The present disclosure discloses an anti-mistouch method, anti-mistouch device, terminal device, and storage medium. Upon detecting a touch operation, it acquires a first number and a second number of first touch points and second touch points generated by the touchscreen at least N time points. The first touch point is a touch point on a first touch channel, and the second touch point is a touch point on a second touch channel. The first and second touch channels are adjacent touch channels of the touchscreen in the edge region, and N is a positive integer greater than or equal to 3. Then, based on the first and second numbers at the same time point, a target value is determined for the same time point. Finally, based on the target values at least N time points, mis-touch detection is performed on the touch operation. Therefore, when a touch operation is detected, the present disclosure achieves mis-touch detection of the terminal device by acquiring the number of touch points on the first touch channel and the second touch channel generated by the touchscreen at least N time points, thereby effectively preventing edge mis-touches and improving the user's touch experience.
[0018] Additional aspects and advantages of this disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this disclosure. Attached Figure Description
[0019] The above and / or additional aspects and advantages of this disclosure will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:
[0020] Figure 1 This is a flowchart of an anti-accidental touch method according to an embodiment of the present disclosure;
[0021] Figure 2 This is a schematic diagram of a touch operation on the left edge (excluding the corner) according to an embodiment of the present disclosure;
[0022] Figure 3 This is a schematic diagram of touch operation at an edge corner according to an embodiment of the present disclosure;
[0023] Figure 4 This is a flowchart of a method for preventing accidental touches according to an embodiment of the present disclosure;
[0024] Figure 5 This is a flowchart of a method for preventing accidental touches according to an embodiment of the present disclosure;
[0025] Figure 6 This is a block diagram of an anti-accidental touch device according to an embodiment of the present disclosure;
[0026] Figure 7 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this disclosure. Detailed Implementation
[0027] Embodiments of this disclosure are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this disclosure, and should not be construed as limiting this disclosure.
[0028] The following description, with reference to the accompanying drawings, outlines embodiments of the methods, devices, terminal equipment, and storage media for preventing accidental touches.
[0029] Figure 1 This is a flowchart of an anti-accidental touch method according to an embodiment of the present disclosure.
[0030] It should be noted that the subject of the anti-accidental touch method in this embodiment is an anti-accidental touch device, which can be installed in a terminal device, such as a smartphone, tablet, computer, television, wearable device, etc.
[0031] like Figure 1As shown, the method for preventing accidental touches according to an embodiment of this disclosure includes the following steps:
[0032] S101, in response to detecting a touch operation, obtain a first number of first touch points and a second number of second touch points generated by the touch screen at least N time points; 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 touch channels adjacent to each other in the edge region of the touch screen, and N is a positive integer greater than or equal to 3.
[0033] The terminal device first detects whether there is a touch operation on the touchscreen. For example, the terminal device can collect pressure information on the touchscreen surface through a signal acquisition device and determine whether there is a touch operation based on the pressure information. If the pressure information is greater than a set pressure value, it is determined that there is a touch operation on the touchscreen. Alternatively, the terminal device can use the HTC (Host Touch Computing) reporting scheme to determine whether there is a touch operation on the touchscreen. The HTC reporting scheme is a method for detecting the position and shape of touch points on the touchscreen surface. This scheme works by setting a mutual capacitance raw signal on the touchscreen. The mutual capacitance raw signal is achieved by setting a series of electrodes and sensors on the touchscreen. When a finger or other object touches the screen, it changes the electric field distribution between the electrodes and sensors, thereby affecting the reception and transmission of the mutual capacitance raw signal. By measuring these changes, the position and shape of the touch point can be determined.
[0034] When a terminal device detects a touch operation on the touchscreen, since the touch operation may be a erroneous operation, and erroneous operations usually occur at the edge of the touchscreen, before executing step S101 to obtain the first number of the first touch points and the second number of the second touch points generated by the touchscreen at least in the previous N time points, it can first obtain the touch position of the touch operation, and then determine whether the touch position is an edge area of the touchscreen. If it is an edge area, then first obtain the first number of the first touch points (first touch points) on the first touch channel and the second number of the second touch points (second touch points) generated by the touchscreen at least in the previous N time points, and then perform erroneous touch detection on the touch operation based on the first number and the second number.
[0035] Accidental touches typically occur at the edges of a touchscreen, with the corners being a particularly unique area. Specifically, when the touch operation occurs outside a corner of the edge, for example, when the touch operation is performed at a location such as... Figure 2When the touch operation is at the left edge, the first touch channel is the first column of touch channels from left to right, and 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 ch1, and the second number of touch points on the second column of touch channels is ch2. When the touch operation is at the corner of the edge, for example, when the touch operation is at a corner of the edge... Figure 3 When the left edge corner is shown, the first touch channel is the first column of touch channels from left to right and the first row of touch channels from bottom to top, the second touch channel is the second column of touch channels from left to right and the second row of touch channels from bottom to top, the first number of touch points on the first column of touch channels and the first row of touch channels is cor1, and the second number of touch points on the second column of touch channels and the second row of touch channels is cor2.
[0036] S102, determine the target value at the same time point based on the first and second quantities at the same time point.
[0037] When the touch operation is performed at a non-corner location 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 is performed at a corner location 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, based on target values at at least N time points, performs accidental touch detection on touch operations.
[0039] If the target value at at least N time points is greater than a first preset value, the touch operation is determined to be a false touch. In this case, the terminal device may be gripping or using the palm of the hand for a false touch, requiring the touch operation to be blocked. This means suppressing touch points on each touch channel in the edge region. However, if the target value at at least N time points starts to be less than or equal to the preset target value from the Mth time point (e.g., the 3rd time point), it is impossible to determine whether the touch operation is a false touch. In this case, the touch duration needs to be obtained, and false touch detection is performed based on the touch duration. Here, M is a positive integer less than or equal to N.
[0040] If the touch duration is less than the first set duration (e.g., 200ms), the touch operation is determined to end within the first set duration, i.e., the user's finger is lifted. 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. If 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 area of the finger (the number of touch points) will also enter a stable state. Therefore, based on the area of the finger, it can be determined whether the terminal device is being gripped or covered by a large area of the palm. The process is as follows: after the first set time period, the third number of third touch points (the third touch points are the touch points on all touch channels of the touch screen) generated by the touch screen at multiple (e.g., 3) time points is obtained, and based on the multiple third numbers, accidental touch detection is performed on accidental touch operations.
[0042] If multiple third quantities are all greater than the set quantity, the finger area does not change significantly and remains stable. In this case, if the terminal device is not gripping or touching with the palm heel, the touch operation can be determined to be a normal touch operation, and the touch operation can be reported normally to control the execution of the corresponding operation. If there is a value less than or equal to the set quantity among the multiple third quantities, the finger area changes significantly and is not in a stable state. In this case, if the terminal device is gripping or touching with the palm heel, the touch operation can be determined to be a false touch operation, and the touch points reported by each touch channel in the current edge area can be suppressed.
[0043] To improve the accuracy of determining whether a touch operation is a mistaken touch operation, this disclosure limits the set quantity based on the difference in finger area size as follows: the peak value is obtained from multiple third quantities, and if the peak value is greater than a first set value (e.g., 10), the set quantity is determined to be a second set value (e.g., 4); if the peak value is less than or equal to the first set value (e.g., 10), the set quantity is determined to be a third set value (e.g., 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 accidental touches on the terminal device is achieved 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 N time points in the previous period. This enables the detection of accidental touches on the terminal device, effectively prevents accidental touches at the edges, and improves the user's touch experience.
[0045] To enable those skilled in the art to better understand this disclosure, such as Figure 4 As shown, the method for preventing accidental touches according to an embodiment of this disclosure includes:
[0046] S401, determine whether the target values at the previous 5 time points are all greater than the set target value. If yes, proceed to step S405; if no, proceed to step S402.
[0047] S402, determine if the touch duration is greater than 200ms. If yes, proceed to step S403; if no, proceed to step S406.
[0048] S403, enter long press recognition mode.
[0049] S404, determine whether the area of the finger is stable. If yes, proceed to step S406; if no, repeat step S404 three times. If the area of the finger is still unstable after repeating three times, proceed to step S405.
[0050] S405, suppresses touch points on each touch channel in the current edge area.
[0051] S406 reports the touch operation as normal and controls the execution of the corresponding operation.
[0052] The touch locations described above refer to the edge areas of the touchscreen. The touch locations described below include both the non-edge areas and the edge areas of the touchscreen.
[0053] In this disclosure, if the touch position is determined to include 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 grip state of the terminal device can be identified by gravity sensors and acceleration sensors, and the touch angle can be determined according to the shape of the touch point. If the identification result is a left-hand grip state and the touch angle is within the first set angle range (angles in the first and fourth quadrants, 0-90° and 270°-360°), the touch points on each touch channel in the corner of the left edge area are suppressed. If the identification result is a right-hand grip state and the touch angle is within the second set angle range (angles in the second and third quadrants, 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 detected, the touch points on each touch channel in the corner of the corresponding edge area are suppressed for a second set time. The second set time is less than the first set time. That is, when the finger is lifted, the suppression of the corresponding corner is maintained for 100ms. After 100ms, the above steps S101-S104 are continued. That is, the logic of no touch operation in the non-edge area continues to determine whether there is a mis-touch on the touch screen of the terminal device.
[0056] To enable those skilled in the art to better understand this disclosure, such as Figure 5 As shown, the method for preventing accidental touches disclosed herein also includes:
[0057] S501, touch operation is performed in non-edge areas.
[0058] S502 determines whether the grip is held with the left hand or the right hand.
[0059] S503, obtains the touch angle of the touch operation.
[0060] S504, by combining the grip state and touch angle, suppresses touch points in the corresponding corners.
[0061] S505, suppresses the corresponding corner for 100ms after the finger is lifted.
[0062] S506 executes edge region detection logic after 100ms.
[0063] In summary, the anti-mistouch method according to the embodiments of this disclosure, upon detecting a touch operation, acquires a first number of first touch points and a second number of second touch points generated by the touchscreen at least N time points. The first touch point is a touch point on a first touch channel, and the second touch point is a touch point on a second touch channel. The first and second touch channels are adjacent touch channels of the touchscreen in the edge region, and N is a positive integer greater than or equal to 3. Then, based on the first and second numbers at the same time point, a target value is determined at the same time point. Finally, based on the target values at least N time points, mis-touch detection is performed on the touch operation. Therefore, this disclosure, upon detecting a touch operation, achieves mis-touch detection of the terminal device by acquiring the number of touch points on the first touch channel and the second touch channel generated by the touchscreen at least N time points, thereby effectively preventing edge mis-touches and improving the user's touch experience.
[0064] Figure 6 This is a block diagram of an anti-accidental touch device according to an embodiment of the present disclosure.
[0065] like Figure 6 As shown, the anti-accidental touch device 600 of this embodiment includes:
[0066] The acquisition module 610 is used to acquire, in response to the detection of 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 N time points; 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 region, and N is a positive integer greater than or equal to 3.
[0067] The determination module 620 is used to determine the target value at the same time point based on the first quantity and the second quantity at the same time point;
[0068] The detection module 630 is used to detect accidental touches based on target values at at least N time points.
[0069] In one embodiment of this disclosure, when the determining module 620 determines the target value at the same time point based on a first quantity and a second quantity at the same time point, it includes:
[0070] Calculate the ratio of the first quantity to the second quantity at the same time point;
[0071] The ratio is determined to be the target value at the same time point.
[0072] In one embodiment of this disclosure, when the detection module 630 performs accidental touch detection on a touch operation based on target values at at least N time points, it includes:
[0073] If the target value is greater than the set target value at at least N time points, and the touch operation is determined to be a false touch operation, then the touch points on each touch channel in the edge region are suppressed.
[0074] In response to the target value 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, the touch duration of the touch operation is obtained, and the touch operation is detected for accidental touch based on the touch duration;
[0075] Where M is a positive integer less than or equal to N.
[0076] In one embodiment of this disclosure, when the detection module 630 is used to perform accidental touch detection on a touch operation based on the touch duration, it includes:
[0077] If the touch duration is less than the first set duration, and the touch operation is determined to be a normal touch operation, the touch operation will be reported normally and the corresponding operation will be executed.
[0078] In response to a touch duration greater than or equal to a first set duration, the third number of third touch points generated by the touchscreen at multiple time points after the first set duration is obtained, and the accidental touch operation is detected based on the multiple third numbers; wherein, the third touch point is a touch point on all touch channels of the touchscreen.
[0079] In one embodiment of this disclosure, when the detection module 630 is used to perform accidental touch detection based on a plurality of third quantities, it includes:
[0080] If multiple third quantities are greater than the set quantity, and the touch operation is determined to be a normal touch operation, the touch operation will be reported normally and the corresponding operation will be executed.
[0081] If a value less than or equal to a set number exists among multiple third quantities, and the touch operation is determined to be a false touch, then the touch points in each touch channel in the current edge region are suppressed.
[0082] In one embodiment of this disclosure, before the detection module 630 performs accidental touch detection based on a plurality of third quantities, it is further configured to:
[0083] Obtain the peak value from multiple third quantities;
[0084] In response to a peak value exceeding a first set value, the set quantity is determined to be a second set value;
[0085] In response to a peak value being less than or equal to a first set value, the set quantity is determined to be a third set value;
[0086] Among them, 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 this disclosure, the apparatus further includes:
[0088] The first control module is used to obtain the touch position of the touch operation and determine that the touch position is the edge area of the touch screen.
[0089] In one embodiment of this disclosure, the apparatus 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. Then, based on the identification result and the touch angle, it performs suppression processing on the touch points on each touch channel in the corner of the corresponding edge area.
[0091] In one embodiment of this disclosure, when the second control module performs suppression processing on touch points on each touch channel in a corresponding corner area based on the recognition result and the touch angle, it includes:
[0092] In response to the recognition result that the hand is holding the object with its left hand and the touch angle is within the first set angle range, the touch points on each touch channel in the corner of the left edge area are suppressed.
[0093] In response to the recognition result indicating a right-hand grip and a touch angle within the second preset angle range, the touch points on each touch channel in the corner of the right edge area are suppressed.
[0094] In one embodiment of this disclosure, the apparatus further includes:
[0095] The third control module is used to suppress touch points on each touch channel in the corner of the corresponding edge area for a second set time after the touch operation in the non-edge area ends.
[0096] The second set duration is less than the first set duration.
[0097] It should be noted that the foregoing explanation of the anti-accidental touch method embodiment also applies to the anti-accidental touch device of this embodiment, and will not be repeated here.
[0098] According to the embodiments of the present disclosure, the anti-mistouch device acquires, by means of an acquisition module, a first number of first touch points and a second number of second touch points generated by the touchscreen at least N time points when a touch operation is detected. The first touch point is a touch point on a first touch channel, and the second touch point is a touch point on a second touch channel. The first touch channel and the second touch channel are adjacent touch channels of the touchscreen in the edge region, and N is a positive integer greater than or equal to 3. A determination module determines a target value at the same time point based on the first and second numbers at the same time point. A detection module performs mis-touch detection on the touch operation based on the target value at least N time points. Therefore, when a touch operation is detected, the device judges mis-touches on the terminal device based on the number of voltage values collected at the touch points on the first touch channel and the number of voltage values collected at the touch points on the second touch channel in the voltage matrix generated by the touchscreen at least N time points. This effectively prevents edge mis-touches and improves the user's touch experience.
[0099] To implement the above embodiments, this 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, it implements the anti-accidental touch method as described in the foregoing method embodiments.
[0100] To implement the above embodiments, this disclosure also proposes a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the anti-accidental touch method as described in the foregoing method embodiments.
[0101] To implement the above embodiments, this disclosure also proposes a computer program product having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the anti-accidental touch method as described in the foregoing method embodiments.
[0102] Figure 7 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this disclosure. For example, the terminal device 700 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0103] Reference Figure 7 The terminal device 700 may include one or more of the following components: processing component 702, memory 704, power component 706, multimedia component 708, audio component 710, input / output (I / O) interface 712, sensor component 714, and communication component 716.
[0104] Processing component 702 typically controls the overall operation of terminal device 700, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 702 may include one or more modules to facilitate interaction between processing component 702 and other components. For example, processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702.
[0105] Memory 704 is configured to store various types of data to support operation on terminal device 700. Examples of this data include instructions for any application or method operating on terminal device 700, contact data, phonebook data, messages, pictures, videos, etc. 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 storage, flash memory, magnetic disk, or optical disk.
[0106] Power component 706 provides power to various components of terminal device 700. 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 terminal device 700.
[0107] 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 touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 708 includes a front-facing camera and / or a rear-facing camera. When the terminal device 700 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0108] Audio component 710 is configured to output and / or input audio signals. For example, audio component 710 includes a microphone (MIC) configured to receive external audio signals when terminal device 700 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 704 or transmitted via communication component 716. In some embodiments, 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, home buttons, volume buttons, power buttons, and lock buttons.
[0110] Sensor assembly 714 includes one or more sensors for providing status assessments of various aspects of terminal device 700. For example, sensor assembly 714 can detect the on / off state of terminal device 700, the relative positioning of components such as the display and keypad of terminal device 700, changes in the position of terminal device 700 or a component of terminal device 700, the presence or absence of user contact with terminal device 700, the orientation or acceleration / deceleration of terminal device 700, and temperature changes of terminal device 700. Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 714 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0111] Communication component 716 is configured to facilitate wired or wireless communication between terminal device 700 and other devices. Terminal device 700 can access wireless networks based on communication standards, such as WiFi, 4G, or 5G, or combinations thereof. In one exemplary embodiment, communication component 716 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 716 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may 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 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0113] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, which can be executed by a processor 720 of a terminal device 700 to perform the above-described method. For example, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, or optical data storage device, etc.
[0114] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this disclosure. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0115] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this disclosure, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0116] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of preferred embodiments of this disclosure includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which embodiments of this disclosure pertain.
[0117] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0118] It should be understood that various parts of this disclosure can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0119] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0120] Furthermore, the functional units in the various embodiments of this disclosure can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0121] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present disclosure.
Claims
1. A method for preventing accidental touches, characterized in that, include: In response to the detection of a touch operation, a first number of first touch points and a second number of second touch points generated by the touchscreen at least N time points are obtained; 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 adjacent touch channels of the touchscreen in the edge region, and N is a positive integer greater than or equal to 3; The target value at the same time point is determined based on the first quantity and the second quantity at the same time point; Based on target values at at least N time points, the touch operation is subjected to accidental touch detection; The step of detecting accidental touches based on target values at at least N time points includes: In response to the target values at the at least N time points being less than or equal to a set target value starting from the target value at the Mth time point, the touch duration of the touch operation is obtained, and the touch operation is subjected to accidental touch detection based on the touch duration; where M is a positive integer less than or equal to N; The step of detecting accidental touches based on the touch duration includes: In response to the touch duration being greater than or equal to a first set duration, the third number of third touch points generated by the touchscreen at multiple time points after the first set duration is obtained, and the accidental touch operation is detected based on the multiple third numbers; wherein, the third touch point is a touch point on all touch channels of the touchscreen.
2. The method according to claim 1, characterized in that, Determining the target value at the same time point based on the first quantity and the second quantity 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 the target value at the same time point.
3. The method according to claim 1, characterized in that, The step of detecting accidental touches based on target values at at least N time points further includes: If the target value at at least N time points is greater than the set target value, and the touch operation is determined to be a false touch operation, then the touch points on each touch channel in the edge region are suppressed.
4. The method according to claim 3, characterized in that, The step of detecting accidental touches based on the touch duration further includes: If the touch duration is less than a first set duration, and the touch operation is determined to be a normal touch operation, then the touch operation is reported normally and the corresponding operation is executed.
5. The method according to claim 4, characterized in that, The step of detecting accidental touches based on a plurality of the third quantities includes: If multiple third quantities are greater than a set quantity, and the touch operation is determined to be a normal touch operation, then the touch operation is reported normally and the corresponding operation is executed. If, in response to the presence of a value less than or equal to the set quantity among the plurality of the third quantities, the touch operation is determined to be a false touch operation, then the touch points of each touch channel in the current edge region are suppressed.
6. The method according to claim 5, characterized in that, Before performing accidental touch detection on the accidental touch operation based on a plurality of the third quantities, the method further includes: Obtain the peak value from multiple of the third quantities; In response to the peak value being greater than a first set value, the set quantity is determined to be a second set value; In response to the peak value being less than or equal to the first set value, the set quantity is determined to be a third set value; Wherein, 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 obtaining the first number of first touch points and the second number of second touch points generated by the touchscreen at least N time points, the method further includes: Obtain the touch position of the touch operation; The touch location is determined to be the edge area of the touchscreen.
8. The method according to claim 7, characterized in that, The method further includes: The touch location is defined as including the non-edge area of the touchscreen; Identify the holding state of the terminal device and obtain the touch angle of the touch operation; Based on the recognition results 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 touch points in each touch channel of the corresponding corner area based on the recognition result and the touch angle includes: In response to the recognition result indicating a left-hand grip and the touch angle being within a first set angle range, the touch points of each touch channel in the corner of the left edge region are suppressed. In response to the recognition result indicating a right-hand grip and the touch angle being within a second preset angle range, the touch points of each touch channel in the corner of the right edge region are suppressed.
10. The method according to claim 9, characterized in that, The method further includes: In response to the end of the touch operation in the non-edge area, the touch points of each touch channel in the corner of the edge area on the corresponding side are suppressed for a second set time period. The second set duration is less than the first set duration.
11. A device for preventing accidental touch, characterized in that, include: The acquisition module is used to acquire, in response to the detection of 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 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 adjacent touch channels of the touch screen in the edge region, and N is a positive integer greater than or equal to 3. The determining module is used to determine the target value at the same time point based on the first quantity and the second quantity at the same time point; The detection module is used to perform accidental touch detection on the touch operation based on target values at at least N time points: The detection module is specifically used for: In response to the target values at the at least N time points being less than or equal to a set target value starting from the target value at the Mth time point, the touch duration of the touch operation is obtained, and the touch operation is subjected to accidental touch detection based on the touch duration; where M is a positive integer less than or equal to N; The detection module is specifically used for: In response to the touch duration being greater than or equal to a first set duration, the third number of third touch points generated by the touchscreen at multiple time points after the first set duration is obtained, and the accidental touch operation is detected based on the multiple third numbers; wherein, the third touch point is a touch point on all touch channels of the touchscreen.
12. A terminal device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements the anti-accidental touch method as described in any one of claims 1-10.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the method for preventing accidental touches as described in any one of claims 1-10.
Citation Information
Patent Citations
Touchpad control method and device
CN113157197A
Touch screen mistaken touch prevention processing method and device, equipment and medium
CN113282191A