Nothing Special   »   [go: up one dir, main page]

WO2019119361A1 - 边缘防误触方法、触摸控制设备以及存储介质 - Google Patents

边缘防误触方法、触摸控制设备以及存储介质 Download PDF

Info

Publication number
WO2019119361A1
WO2019119361A1 PCT/CN2017/117805 CN2017117805W WO2019119361A1 WO 2019119361 A1 WO2019119361 A1 WO 2019119361A1 CN 2017117805 W CN2017117805 W CN 2017117805W WO 2019119361 A1 WO2019119361 A1 WO 2019119361A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
edge
frame
touch operation
preset
Prior art date
Application number
PCT/CN2017/117805
Other languages
English (en)
French (fr)
Inventor
陈显朋
Original Assignee
深圳市为通博科技有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市为通博科技有限责任公司 filed Critical 深圳市为通博科技有限责任公司
Priority to CN201780002301.XA priority Critical patent/CN108235747A/zh
Priority to PCT/CN2017/117805 priority patent/WO2019119361A1/zh
Priority to EP17931080.0A priority patent/EP3528099A4/en
Priority to US16/416,135 priority patent/US11093083B2/en
Publication of WO2019119361A1 publication Critical patent/WO2019119361A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • G06F3/04186Touch location disambiguation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present application relates to the field of touch technologies, and in particular, to an edge anti-missing method, a touch control device, and a storage medium.
  • the existing edge anti-missing processing methods mainly include the following two types: one is to divide a narrow and narrow area of the edge into a false contact area by dividing the area in the screen, and detecting that the wrong contact area is directly filtered by clicking, Reporting coordinates; the second is to judge whether the edge touches the finger or the palm according to the data characteristics of each node (such as the length, width, area, etc. of the touch area). If the touch area is at the edge and is large, it is determined that the palm is wrongly touched. Shield the palms from touching and not reporting coordinates, thus avoiding screen error response.
  • the inventors have found that the prior art has at least the following problems: although the above methods can detect and handle most edge misoperations, there are still many limitations. For example, clicking the wrong contact area can't respond, and the line can't be drawn in the wrong contact area (that is, the effective use area of the screen is lowered); the palm edge judgment of different palms in different postures is inaccurate and mis-responsive. Therefore, the existing edge anti-missing method can not meet the anti-missing demand of the narrow-frame mobile phone.
  • the purpose of some embodiments of the present application is to provide an edge anti-missing method, a touch control device, and a storage medium, which improve the accuracy of edge misoperation recognition on the basis of ensuring normal response of the edge region of the screen.
  • the embodiment of the present application provides an edge anti-missing method, including: acquiring touch data of a touch screen in real time; determining whether there is an edge touch operation according to the touch data, and if there is an edge touch operation, calculating the a coordinate point motion trajectory of the edge touch operation; determining whether the edge touch operation is an edge erroneous operation according to the touch data and the coordinate point motion trajectory, and suppressing the edge erroneous operation if the edge is erroneously operated.
  • the embodiment of the present application further provides a touch control device, including: at least one processor; and a memory communicably connected to the at least one processor; wherein the memory is stored and executable by the at least one processor An instruction executed by the at least one processor to enable the at least one processor to perform an edge anti-missing method as previously described.
  • the embodiment of the present application further provides a storage medium storing a computer program, and when the computer program is executed by the processor, implements the edge anti-missing method as described above.
  • the embodiment of the present application uses the touch data of the edge touch operation to make a preliminary distinction between the normal operation of the finger and the accidental touch of the palm and the finger when detecting the edge touch operation.
  • the coordinates are also utilized.
  • the point motion track further detects the motion of the edge touch operation that initially meets the palm and finger mis-touch conditions, thereby determining whether the edge touch operation is an edge misoperation, and thus the embodiment can improve the accuracy of edge misoperation recognition, and Does not affect the normal use of the edge area of the screen.
  • the determining whether the edge touch operation is an edge erroneous operation according to the touch data and the coordinate point motion trajectory specifically includes: determining, according to the touch data, whether a suppression frame is detected within a first preset time period; The suppression frame is used to represent a critical determination condition of the edge mis-touch; if the suppression frame is detected within the first preset duration, it is determined whether the coordinate point motion trajectory satisfies a preset motion condition, and if If the preset motion condition is not satisfied, it is determined that the edge touch operation is an edge misoperation.
  • the edge erroneous operation is initially detected by determining whether the edge touch operation detects the suppression frame, and the edge touch is determined from the initial determination as the edge erroneous operation by detecting whether the initially detected edge erroneous operation satisfies the preset motion condition.
  • the normal operation mode of the user is removed, so that the detection of edge misoperation is accurate and reliable.
  • determining whether the suppression frame is detected according to the touch data in the first preset duration includes: determining, when the edge touch operation is detected, whether the touch frame of the edge touch operation is a suppression frame, if If the touch frame is a suppression frame, it is determined that the touch frame is a suppression frame, and it is determined whether the coordinate point motion track meets a preset motion condition, and if the touch frame is not a suppression frame, the first frame is reached. Before the preset time length, it is determined whether the touch frame of the edge touch operation is a suppression frame, and if the touch frame is detected as a suppression frame before reaching the first preset time length, determining that the touch frame is a suppression frame And enters to determine whether the coordinate point motion trajectory satisfies the preset motion condition. In the embodiment, when the edge touch operation is detected, it is determined whether the touch frame of the edge touch operation is a suppression frame, so that most edge error operations can be quickly detected initially.
  • determining whether the touch frame of the edge touch operation is a suppression frame includes: determining whether the number of touch nodes of the N edge detection channels of the touch frame are greater than a first preset value and the N edge detection channels Whether the number of touch nodes is sequentially decreased from the edge of the touch screen to the center of the touch screen; if the number of touch nodes of the N edge detection channels of the touch frame is greater than the first preset value and the touch of the N edge detection channels The number of nodes is sequentially decreased from the edge of the touch screen to the center of the touch screen, and it is determined that the touch frame is a suppression frame, and N is a natural number greater than or equal to 2. This embodiment can accurately determine the edge misoperation of the palm.
  • the method further includes: determining that the touch frame is a single-channel touch frame or a multi-channel touch frame, and if the touch frame is a multi-channel touch frame, entering the N edge detection channels that determine the touch frame Whether the number of touch nodes is greater than the first preset value and whether the number of touch nodes of the N edge detection channels decreases in order from the edge of the touch screen to the center of the touch screen; if the touch frame is a single-channel touch frame, Determining whether the number of touch nodes included in the single-channel touch frame is greater than a second preset value. If the number of touch nodes is greater than the second preset value, determining that the single-channel touch frame is a suppression frame.
  • This embodiment can also accurately determine the misoperation of the edge
  • the method further includes: if the suppression frame is not detected within the first preset duration, identifying an operation mode of the edge touch operation according to the coordinate point motion track; and outputting the location according to the recognized operation mode The edge touch operation.
  • the embodiment can also detect the normal operation mode in the edge touch operation and output in time, thereby satisfying the real-time performance of the edge touch operation response.
  • the operation mode of identifying the edge touch operation according to the coordinate point motion trajectory includes: determining, according to the coordinate point motion trajectory, whether a moving distance of the edge touch operation is greater than a preset time in the first preset duration If the distance is greater than the preset distance, it is determined that the operation mode of the edge touch operation is sliding. This embodiment can quickly detect the sliding operation in the edge touch operation.
  • the method further includes: if the moving distance of the edge touch operation is not detected to be greater than the preset distance within the first preset duration, determining that the operation mode of the edge touch operation is a click or a long press.
  • This embodiment can also accurately detect a click or long press operation in an edge touch operation.
  • the method further includes: if it is determined that the touch frame of the edge touch operation is not a suppression frame when the edge touch operation is detected, detecting the edge touch operation within the first preset time length Whether to leave the touch screen; if it is detected that the edge touch operation leaves the touch screen within the first preset duration, it is determined that the operation mode of the edge touch operation is a quick click.
  • This embodiment can also accurately detect the quick click operation in the edge touch operation.
  • determining whether the coordinate point motion track meets the preset motion condition specifically includes: determining whether the edge touch operation moves from an edge of the touch screen to a center of the touch screen, from an edge of the touch screen to the touch screen.
  • the central motion determines that the coordinate point motion trajectory satisfies the preset motion condition; or determines whether the edge touch operation is a sliding operation, and if it is a sliding operation, determines that the coordinate point motion trajectory satisfies the preset motion condition.
  • the present embodiment can detect the operation mode away from the edge of the touch screen and the sliding operation at the edge from the edge touch operation which is initially determined to be edge misoperation.
  • the touch frame of the edge touch operation is obtained by acquiring an initial frame of the edge touch operation when the edge touch operation is detected, wherein the difference of the touch nodes in the initial frame is greater than Presetting a node threshold; if the initial frame is a single channel frame, searching for a touch node from the center of the single channel frame to both ends, if the touch node is searched after skipping the preset number of nodes, the search will be performed.
  • the touch node is merged into the single channel frame to obtain an enhanced single channel frame, and the enhanced single channel frame is used as the touch frame of the edge touch operation.
  • by merging a plurality of single-channel frames it is possible to detect an edge misoperation caused by a plurality of finger holding frames.
  • the touch frame of the edge touch operation is obtained by: when the edge touch operation is detected, if the edge touch operation is located at a corner position of the touch screen, the touch frame of the edge touch operation according to a preset compensation manner Add the number of touch nodes.
  • the touch frame of the edge touch operation according to a preset compensation manner Add the number of touch nodes.
  • the touch frame of the touch operation on the touch screen is obtained by extracting a first frame from the touch data of the touch operation when a touch operation on the touch screen is detected; the touch in the first frame
  • the difference between the nodes is greater than the first node threshold; searching, in the adjacent detection channel of the first frame near the edge of the touch screen, whether there is a touch node whose difference is greater than the threshold of the second node, and if present, the difference is a touch node having a value greater than a threshold of the second node is merged into the first frame to obtain an enhanced frame, and the enhanced frame is used as a touch frame of a touch operation on the touch screen; wherein the second node threshold is smaller than the first Node threshold.
  • the edge anti-missing method further includes: determining whether a touch operation occurs in a central area of the touch screen within a third preset time period before detecting the edge touch operation; if a touch operation occurs in a central area of the touch screen, Then, a coordinate point motion track of the edge touch operation is calculated according to the touch data, and if a touch operation occurs in a central area of the touch screen, the edge touch operation is suppressed.
  • the edge touch operation detected within a small time ie, the third preset time length
  • the embodiment is advantageous for quickly suppressing the edge misoperation described above. .
  • FIG. 1 is a flow chart of an edge anti-missing method according to a first embodiment of the present application
  • FIG. 2 is a schematic diagram of a touch frame of an edge anti-missing method according to a first embodiment of the present application
  • FIG. 3 is a schematic diagram of a single-channel touch frame of an edge anti-missing method according to a first embodiment of the present application
  • FIG. 4 is a schematic diagram of a multi-channel touch frame of an edge anti-missing method according to a first embodiment of the present application
  • FIG. 5 is a flowchart of determining whether a touch frame of an edge touch operation is a suppression frame according to a sub-step in step 105 of the first embodiment of the present application;
  • FIG. 6 is a flow chart of an edge anti-missing method according to a second embodiment of the present application.
  • the first embodiment of the present application relates to an edge anti-missing method, which is applied to an electronic device with a touch display screen, and is particularly suitable for a narrow-frame smart phone.
  • the edge anti-missing method of the present embodiment includes: acquiring touch data of the touch screen in real time, determining whether there is an edge touch operation according to the touch data, and if there is an edge touch operation, calculating a coordinate point motion of the edge touch operation according to the touch data acquired in real time.
  • the trajectory determines whether the edge touch operation is an edge erroneous operation according to the touch data and the coordinate point motion trajectory, and suppresses the edge erroneous operation if the edge is erroneously operated.
  • the touch data of the edge touch operation is used to initially distinguish the normal operation of the finger and the case where the palm and the finger are accidentally touched.
  • the coordinate point is also utilized.
  • the motion track further detects the operation mode of the edge touch operation that initially meets the palm and finger mis-touch conditions, thereby determining whether the edge touch operation is an edge misoperation, so the embodiment can improve the accuracy of edge misoperation recognition, and Affects the normal use of the edge area of the screen.
  • edge anti-missing method will be described in detail below through a specific embodiment.
  • the edge anti-missing method of the embodiment includes steps 101 to 107 .
  • Step 101 Acquire touch data of the touch screen in real time.
  • the touch screen is, for example, a capacitive touch screen.
  • the capacitive touch screen includes a capacitive sensing unit arranged in a matrix, and scanning a matrix capacitive sensing unit to obtain one frame of touch data on the touch screen.
  • the touch screen can also be an optical touch screen, an ultrasonic touch screen, etc.
  • the type of the touch screen is not specifically limited in this embodiment, and the capacitive touch screen is taken as an example for description.
  • the touch data in the embodiment uses a rectangular frame to indicate the detection area of each capacitive sensing unit.
  • the capacitance sensing unit is powered.
  • the capacity changes ie, the difference value
  • the difference between each capacitive sensing unit on the touch screen is obtained, that is, one frame of touch data is obtained.
  • the numbers in the respective rectangular boxes in FIG. 2 indicate the magnitude of the difference, and the magnitude of the difference indicates the magnitude of the change in capacitance caused by the touch, and the plurality of rectangular frames of the difference values arranged together form the touch frame of the touch operation.
  • the gray rectangles in FIG. 2 are arranged to form a touch frame.
  • the touch nodes in the touch frame are continuous or do not contain discrete touch nodes (ie, are not connected to any other nodes).
  • the small rectangle in each touch frame is a touch node, and the total number of nodes in the touch frame is the number of touch nodes.
  • one touch node can correspond to one sensing node or detection point.
  • Each column/each row also has its own number of touch nodes.
  • each row/column can be regarded as a detection channel, and one detection channel can be a driving line/induction line on the touch sensor.
  • the number of touch nodes in the touch frame of the touch operation can also be compensated, thereby facilitating more accurate recognition of edge misoperation.
  • the touch frame of the touch operation on the touch screen may be obtained by the touch operation on the touch screen when the touch operation on the touch screen is detected may be an edge touch operation or a non-edge touch operation.
  • the first frame is extracted from the touch data of the touch operation, and the difference between the touch nodes in the first frame is greater than the threshold of the first node, and the threshold of the first node is, for example, 9, adjacent to the edge of the first frame near the touch screen.
  • the second node threshold is smaller than the first node threshold, and the second node threshold is, for example, 3, if there is a touch node whose difference is greater than the second node threshold, Then, the touch node whose difference is greater than the threshold of the second node is merged into the first frame to obtain an enhanced frame, and the enhanced frame is used as a touch frame of the touch operation on the touch screen.
  • the touch position of the touch operation is close to the edge of the touch screen, if the touch position of the touch operation is close to the edge of the touch screen, such as a touch operation.
  • the distance between the touch position and the edge of the touch screen is smaller than the width value of the thumb, and the obtained enhanced frame is used as the touch frame according to the foregoing merge manner, so that the small rectangle with a small difference at the edge position of the touch screen is also merged into the touch frame.
  • the number of touch nodes in the touch frame is increased.
  • the touch frame is acquired in the above manner (detection of the suppression frame) Please refer to the following), so that the edge touch operation can be detected more accurately, or the suppression frame can be detected more accurately, and in other cases, the touch frame of the touch operation can be obtained in the existing manner, that is, the touch in the touch frame.
  • the difference between the nodes is greater than the first node threshold.
  • Step 102 Determine whether there is an edge touch operation according to the touch data. If there is an edge touch operation, execute step 104. If there is no edge touch operation, execute step 103.
  • Step 104 is executed. If the intersection is not performed, the touch operation on the touch screen is determined as a non-edge touch operation. At this time, step 103 is continued.
  • the touch operation on the touch screen does not include the touch node in the detection channel of the edge of the touch screen, it can be determined that the touch operation is not an edge touch operation.
  • a touch operation on the touch screen is detected, for example, when the touch frame of the touch operation includes a touch node of the detection channel of the touch screen edge, it can be determined that the touch operation is an edge touch operation.
  • each touch operation may be detected by a single-finger tracking technology, and an identifier number (ID) is assigned to each touch operation. Therefore, the touch operation of different fingers is distinguished by the mark number, and the single-finger tracking technology is well known to those skilled in the art, and details are not described herein again.
  • ID identifier number
  • Step 103 Output a non-edge touch operation on the touch screen.
  • the touch coordinates on the touch screen are acquired in real time, and when it is determined that the current touch operation is not the edge touch operation, the touch coordinates of the acquired touch operation are reported to the system in real time, thereby The touch screen is made to respond to the user's current touch operation in real time.
  • Step 104 Calculate a coordinate point motion track of the edge touch operation according to the touch data.
  • the center of gravity of the touch frame in each frame of touch data of the edge touch operation may be calculated, and the coordinate point motion track of the edge touch operation is calculated according to the center of gravity of the touch data of each frame, and the calculation manner of the coordinate point motion track is technical in the art. Well known to the personnel, and will not be described here.
  • Step 105 Determine whether the edge touch operation is an edge erroneous operation according to the touch data and the coordinate point motion trajectory. If the edge is erroneously operated, step 107 is performed. If the edge is not erroneously operated, step 106 is performed.
  • the edge detection operation detects the suppression frame within a preset duration, that is, multiple detections by whether the edge touch operation reaches the critical judgment condition of the edge erroneous operation for a period of time, which is equivalent to appropriately extending the edge touch operation to the edge.
  • the detection time of the critical judgment condition of misoperation is beneficial to eliminate the misjudgment problem that may be caused by the same critical judgment condition in different postures.
  • the critical judgment condition can be used to more accurately distinguish the palm touch and the palm touch.
  • the operation mode detection is also performed on the edge touch operation that is initially determined to be edge misoperation, if the edge touch operation that is initially determined to be edge misoperation and the preset operation mode (ie, the normal operation mode of the user) are detected. If the matching is performed, it is determined that the edge touch operation is not an edge erroneous operation. If an edge touch operation that is initially determined to be an edge erroneous operation is not matched with the preset operation mode, it is determined that the edge touch operation is an edge erroneous operation, thereby further It is beneficial to accurately respond to the normal operation mode of the user, and to avoid suppressing the normal operation in the edge touch operation satisfying the critical judgment condition.
  • step 105 includes sub-step 1051 and sub-step 1052.
  • Sub-step 1051 determining, according to the touch data, whether the suppression frame is detected within the first preset time period. If the suppression frame is detected within the first preset time period, the sub-step 1052 is further performed if the first preset time period is not If the suppression box is detected, step 106 is performed.
  • Sub-step 1052 determining whether the coordinate point motion trajectory satisfies the preset motion condition. If it is determined that the coordinate point motion trajectory satisfies the preset motion condition, step 106 is performed, and if it is determined that the coordinate point motion trajectory does not satisfy the preset motion condition, then execution is performed. Step 107.
  • the suppression frame is used to represent a critical determination condition of the edge erroneous touch for distinguishing the normal operation of the touch body and the erroneous operation
  • the touch body includes, for example, a finger and a palm.
  • the normal operation of the touch body includes, for example, finger swipe, quick click, click or long press, etc.
  • the touch body erroneous operation includes, for example, palm accidental touch, finger touching the frame of the mobile phone, and the like. Therefore, the suppression frame can be set according to a situation in which different touch bodies cause an erroneous operation.
  • the preset shape and the area characterization suppression frame can be set according to the shape and the area of the palm, thereby distinguishing between the palm erroneous touch and the finger touch.
  • the node number characterization suppression frame may be preset according to the characteristics of the finger holding the frame. This embodiment does not specifically limit the suppression frame.
  • determining whether the suppression frame is detected according to the touch data during the first preset time period specifically includes: determining whether the touch frame of the edge touch operation is a suppression frame when the edge touch operation is detected; If the touch frame of the edge touch operation is a suppression frame, the sub-step 1052 is further performed. If the touch frame of the edge touch operation is not a suppression frame, whether the touch frame of the edge touch operation is continuously suppressed is determined before reaching the first preset time length. If the touch frame is detected as a suppression frame within the first preset duration (ie, before reaching the first preset duration), the sub-step 1052 is further performed.
  • the first preset duration may be a time required for scanning to obtain multi-frame touch data, for example, 20 frames of touch data. This embodiment does not specifically limit the first preset duration, and may be considered by those skilled in the art.
  • the response speed of the touch operation is based on experience.
  • the touch frame of the edge touch operation is a suppression frame by the following manner.
  • the touch frame that misinterprets the edge caused by the palm and the finger is divided into a single-channel touch frame and a multi-channel touch frame, and the touch frame including two or more detection channels is a multi-channel touch frame, and only one detection is included.
  • the touch frame of the channel is a single-channel touch frame. For example, if the palm touches the edge of the touch screen of the mobile phone slightly or holds the mobile phone or the finger clicks very far, it may appear that only one touch channel edge (ie, the outermost touch screen) has touch data, and at this time, it may detect that there is a single touch frame.
  • FIG. 4 An edge touch operation, wherein the schematic diagram of the single channel touch frame is shown in FIG.
  • a multi-channel touch frame is generally included, and the number of touch nodes of the multi-channel touch frame decreases as the position of the detection channel moves from the edge of the touch screen to the center of the touch screen.
  • FIG. 4 For a schematic diagram of the multi-channel touch frame, please refer to FIG. 4 .
  • a preliminary determination method of the edge erroneous operation is proposed, that is, how to determine whether the touch frame of the edge touch operation is a suppression frame.
  • the multi-channel touch frame can be further classified.
  • the suppression frame is not specifically limited.
  • the sub-step 1051 determines whether the touch frame of the edge touch operation is a suppression frame, and specifically includes the following sub-steps: sub-step 10511 to sub-step 10516 .
  • the determining whether the touch frame of the edge touch operation is a suppression frame may be periodically performed within a first preset time period. For example, two frames of touch data are obtained per scan to determine whether the touch frame is a suppression frame, and the present embodiment determines the edge touch. Whether the touch frame of the operation is a specific execution mode of the suppression frame is not limited.
  • Sub-step 10511 determining whether the touch frame of the edge touch operation is a single-channel touch frame, if it is a single-channel touch frame, performing sub-step 10512, if not a single-channel touch frame, that is, the touch frame of the edge touch operation is a multi-channel touch In the box, sub-step 10513 is performed.
  • Sub-step 10512 Determine whether the number of touch nodes included in the single-channel touch frame is greater than a second preset value. If it is greater than the second preset value, perform sub-step 10514. If it is less than or equal to the second preset value, perform sub-steps. 10516.
  • Sub-step 10513 determining whether the number of touch nodes of the N edge detection channels of the touch frame of the edge touch operation are greater than the first preset value and whether the number of touch nodes of the N edge detection channels is from the edge of the touch screen to the center of the touch screen. If the number of touch nodes of the N edge detection channels is greater than the first preset value and decreases sequentially from the edge of the touch screen to the center of the touch screen, sub-step 10515 is performed, if the number of touch nodes of the N edge detection channels If each is less than or equal to the first preset value and the number of touch nodes of the N edge detection channels is the same or gradually increases from the edge of the touch screen to the center direction of the touch screen, sub-step 10516 is performed.
  • the N edge detection channels are N detection channels in the touch frame near the edge of the touch screen.
  • the value of N is not limited. If the number of touch nodes of the two edge detection channels of the touch frame is greater than the first preset value, the number of touch nodes of the two edge detection channels is If the number of touch nodes of the two edge detection channels of the touch frame is less than or equal to the first preset value and two edge detection channels, the multi-channel touch frame is determined to be a suppression frame. Sub-step 10516 is performed if the number of touch nodes is the same or gradually increases from the edge of the touch screen to the center of the touch screen.
  • Sub-step 10514 Determine that the single-channel touch frame is a suppression frame.
  • Sub-step 10515 Determine that the multi-channel touch frame is a suppression frame.
  • Sub-step 10516 It is determined that the touch frame is not a suppression frame.
  • the sub-step 1052 is continued.
  • the sub-step 10511 to the sub-step 10513 are repeatedly performed until the first pre-arrival is reached. Set the duration or detect that the touch frame is a suppression frame.
  • the single-channel touch frame can be obtained by acquiring an initial frame of the edge touch operation when the edge touch operation is detected.
  • the difference between the touch nodes in the initial frame is greater than the threshold of the preset node, and the threshold of the preset node is equal to the threshold of the second node, for example, the preset threshold is not specifically limited in this embodiment.
  • the touch node is searched from the center of the single channel frame to both ends, and if the touch node is searched after skipping the preset number of nodes, for example, after skipping 3 touch nodes
  • the searched touch node is merged into the single channel frame to obtain the enhanced single channel frame, and the enhanced single channel frame is used as the single channel touch frame for the edge touch operation.
  • the preset number may determine the number of nodes that do not have a difference on the touch screen due to the presence of the finger joints when the plurality of fingers hold the mobile phone frame. The present embodiment does not specifically limit the preset number.
  • the enhanced single-channel frame is, for example, a single-channel touch frame generated by a multi-finger holding a mobile phone frame. Therefore, when the second preset value is determined based on the number of touch nodes of the enhanced single-channel frame, the single-finger or multi-finger can be distinguished from the mobile phone frame. happensing. Specifically, the second preset value is, for example, 1.5 times of the number of touch nodes touched on the touch screen when the single finger holds the frame, so that edge misoperation caused by the plurality of fingers simultaneously holding the mobile phone frame can be detected. This embodiment does not specifically limit the second preset value.
  • the first preset value is determined, for example, according to the situation of the palm touch, for example, for the outermost detection channel of the multi-channel touch frame (ie, the detection channel of the touch screen edge) and the secondary outer detection channel (ie, the detection adjacent to the detection channel of the edge of the touch screen) Channel), the first preset value may be greater than a single finger, such as the number of touch nodes generated by a thumb touch.
  • the touch node threshold may be separately set for the outermost detection channel and the secondary outer detection channel of the multi-channel touch frame. This embodiment does not specifically limit the first preset value.
  • the edge misoperation caused by the palm can be selected by using the first preset value.
  • the touch frame of the edge touch operation is supplemented with the number of touch nodes (ie, the number of small rectangles in the touch frame) according to the preset compensation manner.
  • the touch frame of the edge touch operation is supplemented with the number of touch nodes according to the symmetric compensation manner.
  • the edge touch operation when it is detected that the edge touch operation is located at a corner position of the touch screen, the number of touch nodes of the touch frame of the edge touch operation is obtained, and the number of the touch nodes is doubled, for example, doubled and then used as an edge touch of the corner position.
  • the number of touch nodes of the touch panel of the operation Therefore, it is advantageous to recognize that when the palm touches the corner, the edge misoperation caused by the suppression frame is not detected because the screen data is missing and the number of nodes is too small.
  • the corner position is, for example, the four apex positions of the touch screen, and the manner of determining the edge touch operation at the corner position may be, for example, whether the touch frame of the edge touch operation intersects with two adjacent boundaries of the touch screen at the same time, and details are not described herein. .
  • step 107 is performed, and if the preset motion condition is met, the execution is performed. Step 106.
  • the preset motion condition is used to reflect the operation mode desired by the user in the edge touch operation, and the embodiment does not specifically limit the preset motion condition.
  • sub-step 1052 determining whether the coordinate point motion trajectory satisfies the preset motion condition specifically includes: determining whether the edge touch operation moves from the edge of the touch screen to the center of the touch screen, if the edge touch operation is from the edge of the touch screen to the touch screen. In the center motion, it is determined that the coordinate point motion track of the edge touch operation satisfies the preset motion condition. At this time, step 106 is performed.
  • the sub-step 1052 determining whether the coordinate point motion track satisfies the preset motion condition specifically includes: determining whether the edge touch operation is a sliding operation, and if the edge touch operation is a sliding operation, determining that the coordinate point motion track of the edge touch operation satisfies The motion condition is set, and step 106 is performed at this time.
  • determining whether the edge touch operation is a sliding operation comprises: detecting whether a moving speed of the coordinate point of the edge touch operation is greater than a preset speed threshold within the second preset time period, and detecting the second preset time length When the moving speed of the coordinate point to the edge touch operation is greater than the preset speed threshold, it is determined that the edge touch operation is a sliding operation.
  • the edge touch operation occurs three times according to the coordinate point motion track, and the moving speed of each movement is greater than the preset speed threshold, determining that the edge touch operation is a sliding operation, If the moving speed of one or two times is less than or equal to the preset speed threshold, it is determined that the edge touch operation is an edge misoperation.
  • the second preset duration and the speed threshold can all be set according to experience.
  • the operation mode of the touch operation is determined according to the coordinate point motion track, which is well known to those skilled in the art and will not be described herein.
  • the two methods can be used to determine whether the coordinate point motion track of the edge touch operation that is initially determined to be edge misoperation meets the preset motion condition. For example, whether the edge touch operation is from the edge of the touch screen to the touch screen can be determined first. Center motion, if the edge touch operation does not move from the edge of the touch screen to the center of the touch screen, continue to determine whether the edge touch operation is a slide operation, and does not detect the edge touch operation from the edge of the touch screen to the center of the touch screen, and the edge touch When the operation is not a sliding operation, it is determined that the coordinate point motion trajectory does not satisfy the preset motion condition, and step 107 is performed at this time.
  • the present embodiment does not specifically limit the execution order of the above two methods for determining whether the coordinate point motion track of the edge touch operation satisfies the preset motion condition, and the specific determination manner of the sub-step 1052 is not specifically limited.
  • Step 106 It is determined that the edge touch operation is not an edge misoperation, and an edge touch operation is output.
  • the output mode of the edge touch operation is the same as that of the non-edge touch operation in step 103, and details are not described herein again.
  • Step 107 It is determined that the edge touch operation is an edge misoperation, and the edge misoperation is suppressed.
  • the touch coordinates generated by the edge touch operation on the touch screen are acquired in real time, and if the edge touch operation is edge error operation, the touch coordinates of the current edge touch operation are not reported to the system, thereby Makes the screen not respond to this edge touch operation (ie edge misoperation).
  • the touch coordinates generated by the edge touch operation on the touch screen may also be acquired when it is determined that the edge touch operation is not an edge erroneous operation, so that the calculation step of the edge erroneous touch coordinates may be omitted.
  • the present embodiment improves the detection time of the suppression frame by extending the edge touch operation, thereby facilitating the elimination of the edge misoperation caused by different postures, and at the same time, by initially determining the edge of the edge misoperation
  • the touch operation continues the detection of the operation mode, thereby facilitating the screening of the operation desired by the user, and avoiding directly suppressing the edge touch operation that only initially satisfies the critical determination condition.
  • the second embodiment of the present application relates to an edge mistouching method, and the second embodiment is improved on the basis of the first embodiment.
  • the main improvement is that the second embodiment is directed to the first preset duration inner edge touch operation.
  • the operation mode is further tested, so that the user's operation mode can be detected more flexibly.
  • the edge false touch method of this embodiment includes steps 601 to 607.
  • Steps 601 to 605 are the same as steps 101 to 105 of the first embodiment, and step 607 is the same as step 107, and details are not described herein again.
  • Step 606 specifically includes sub-step 6061 and sub-step 6062.
  • Sub-step 6061 Identify the mode of operation of the edge touch operation based on the coordinate point motion trajectory.
  • Sub-step 6062 Output the edge touch operation according to the identified operation mode.
  • sub-step 6061 it may be determined according to the coordinate point motion trajectory whether the moving distance of the edge touch operation is greater than the preset distance within the first preset duration, and if the preset distance is greater than the preset distance, determining the operation mode of the edge touch operation
  • the operation mode of the edge touch operation is sliding, for example, the edge touch operation is output from the start point of the coordinate point trajectory of the edge touch operation.
  • the preset distance can be used to distinguish different operation modes, for example, to distinguish between sliding and clicking or long pressing.
  • the value of the preset distance can be set in advance according to empirical data. This embodiment does not specifically limit the preset distance.
  • the sub-step 6061 may further determine that the operation mode of the edge touch operation is a click or a long press when it is determined that the moving distance of the edge touch operation is not greater than the preset distance within the first preset duration. For example, when the value of the first preset duration is large, when the moving distance of the edge touch operation is not detected to be greater than the preset distance within the first preset duration, the operation mode of the edge touch operation may be determined to be a long press. The value of the first preset duration is small, and when the moving distance of the edge touch operation is not detected to be greater than the preset distance within the first preset duration, the operation mode of the edge touch operation may be determined to be a click.
  • the first preset duration may be set according to experience, and the embodiment does not specifically limit it.
  • the operation mode of the edge touch operation is click or long press
  • sub-step 6062 the corresponding output is clicked or long pressed.
  • the first preset time period is detected. If the edge touch operation leaves the touch screen within the first preset time period, if the edge touch operation is detected to leave the touch screen, the operation mode of the edge touch operation is determined to be a quick click.
  • the edge anti-missing method can be further supplemented. Specifically, the edge anti-missing method further includes: determining whether a touch operation occurs in a central area of the touch screen within a third preset time period before detecting the edge touch operation, and if the touch operation is not performed in a central area of the touch screen, entering the touch according to the touch The data calculates a coordinate point motion track of the edge touch operation, and if a touch operation occurs in the center area of the touch screen, the edge touch operation is suppressed.
  • the edge touch operation is detected within a small time (ie, within the third preset duration), and the edge touch operation at this time is usually caused by the user's palm erroneously triggering, so This edge touch operation is directly suppressed.
  • the third preset duration may be set according to experience. In this embodiment, the value of the third preset duration is not specifically limited.
  • the present embodiment further detects the edge touch operation according to the operation mode of the user, and can more accurately determine whether the edge touch operation is based on the touch data.
  • Edge misoperation is detected and responds to the user's normal operation in a timely manner.
  • the inventor found through actual verification that the identification of edge misoperation is more accurate and stable in this embodiment, and the success rate of edge misoperation recognition caused by the palm touch error is over 95%, especially for narrow-frame mobile phones, and the palm touch is successfully suppressed. The rate is higher.
  • there is no edge absolute suppression zone in this embodiment and the normal click can respond to each edge of the mobile phone, so the edge sliding and the line drawing operation are not affected.
  • the third embodiment of the present application relates to a touch control device, such as a smart phone, especially a narrow-frame smart phone.
  • the electronic device includes at least one processor and a memory communicatively coupled to the at least one processor.
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the edge anti-missing method as described in the first or second embodiment.
  • the touch data of the edge touch operation is used to initially distinguish the normal operation of the finger and the case where the palm and the finger are accidentally touched.
  • the coordinate point is also utilized.
  • the motion track further detects the operation mode of the edge touch operation that initially meets the palm and finger mis-touch conditions, thereby determining whether the edge touch operation is an edge misoperation, so the embodiment can improve the accuracy of edge misoperation recognition, and Affects the normal use of the edge area of the screen.
  • a fourth embodiment of the present application relates to a storage medium storing a computer program that implements the edge anti-missing method according to the first or second embodiment when executed by a processor.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种边缘防误触方法、触摸控制设备以及存储介质。边缘防误触方法包括:实时获取触摸屏的触摸数据;根据触摸数据判断是否存在边缘触摸操作,若存在边缘触摸操作,则根据触摸数据计算边缘触摸操作的坐标点运动轨迹;根据触摸数据以及坐标点运动轨迹判断边缘触摸操作是否为边缘误操作,若为边缘误操作,则抑制边缘误操作。本方法在保证屏幕边缘区域正常响应的基础上,提高边缘误操作识别的准确性。

Description

边缘防误触方法、触摸控制设备以及存储介质 技术领域
本申请涉及触控技术领域,特别涉及一种边缘防误触方法、触摸控制设备以及存储介质。
背景技术
随着手机的全面屏发展趋势,屏占比越来越高,使得用户的观屏体验明显提高,但边框越来越窄,窄边框导致手握手机时带来的边缘误触问题日益凸显,尤其是单手操作时误触问题严重影响用户的操作体验,因此对边缘防误触的设计要求越来越高。现有的边缘防误触处理方式主要有以下两种:其一是通过屏内划分区域,将边缘一条很窄的狭长区域视为误触区,检测到误触区被点击则直接过滤,不报坐标;其二是根据采样的各节点的数据特征(例如触摸区的长宽、面积等)判断边缘接触的是手指或手掌,如果触摸区在边缘且较大则判定为手掌误触,进而屏蔽手掌误触、不报坐标,从而避免屏幕误响应。
发明人发现现有技术至少存在以下问题:以上方式虽然可检测并处理多数的边缘误操作情况,但仍然有诸多局限。例如点击误触区无法响应、在误触区无法画出线(即屏幕有效利用区域降低了);不同手掌不同姿势单手操作手机边缘判断不准确,误响应。因此,现有的边缘防误触方式已不能满足窄边框手机的防误触需求。
发明内容
本申请部分实施例的目的在于提供一种边缘防误触方法、触摸控制设备以及存储介质,在保证屏幕边缘区域正常响应的基础上,提高边缘误操作识别的准确性。
本申请实施例提供了一种边缘防误触方法,包括:实时获取触摸屏的触摸数据;根据所述触摸数据判断是否存在边缘触摸操作,若存在边缘触摸操作,则根据所述触摸数据计算所述边缘触摸操作的坐标点运动轨迹;根据所述触摸数据以及所述坐标点运动轨迹判断所述边缘触摸操作是否为边缘误操作,若为边缘误操作,则抑制所述边缘误操作。
本申请实施例还提供了一种触摸控制设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如前所述的边缘防误触方法。
本申请实施例还提供了一种存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现如前所述的边缘防误触方法。
本申请实施例相对于现有技术而言,在检测边缘触摸操作时,利用边缘触摸操作的触摸数据对手指正常操作以及手掌、手指误触的情况进行初步区分,在此基础上,还利用坐标点运动轨迹对初步符合手掌、手指误触情况的边缘触摸操作的运动情况进行进一步检测,从而判断出边缘触摸操作是否为边缘误操作,因此本实施例能够提高边缘误操作识别的准确性,并且不影响屏幕边缘区 域的正常使用。
另外,所述根据所述触摸数据以及所述坐标点运动轨迹判断所述边缘触摸操作是否为边缘误操作,具体包括:在第一预设时长内根据所述触摸数据判断是否检测到抑制框;其中,所述抑制框用于表征边缘误触摸的临界判断条件;若在所述第一预设时长内检测到所述抑制框,则判断所述坐标点运动轨迹是否满足预设运动条件,若不满足预设运动条件,则判定所述边缘触摸操作为边缘误操作。本实施例通过判断边缘触摸操作是否检测抑制框来判断是否初步检测到边缘误操作,并通过检测初步检测到的边缘误操作是否满足预设运动条件,从而从初步判定为边缘误操作的边缘触摸操作中剔除用户正常的操作方式,使得边缘误操作的检测准确、可靠。
另外,所述在第一预设时长内根据所述触摸数据判断是否检测到抑制框包括:在检测到所述边缘触摸操作时,判断所述边缘触摸操作的触摸框是否为抑制框,若所述触摸框为抑制框,则判定所述触摸框为抑制框,并进入判断所述坐标点运动轨迹是否满足预设运动条件,若所述触摸框不为抑制框,则在到达所述第一预设时长前,持续判断所述边缘触摸操作的触摸框是否为抑制框,若在到达所述第一预设时长前检测出所述触摸框为抑制框,则判定所述触摸框为抑制框,并进入判断所述坐标点运动轨迹是否满足预设运动条件。本实施例在检测到边缘触摸操作时,即判断边缘触摸操作的触摸框是否为抑制框,从而可以快速初步检测出多数边缘误操作。
另外,所述判断所述边缘触摸操作的触摸框是否为抑制框包括:判断所述触摸框的N个边缘检测通道的触摸节点数是否均大于第一预设值且所述N个边缘检测通道的触摸节点数是否按从触摸屏的边缘至触摸屏的中心方向依次减 少;若所述触摸框的N个边缘检测通道的触摸节点数均大于第一预设值且所述N个边缘检测通道的触摸节点数按从触摸屏的边缘至触摸屏的中心方向依次减少,则判定所述触摸框为抑制框,N为大于或者等于2的自然数。本实施例可以准确判断出手掌的边缘误操作。
另外,在所述判断所述触摸框的N个边缘检测通道的触摸节点数是否均大于第一预设值且所述N个边缘检测通道的触摸节点数是否按从触摸屏的边缘至触摸屏的中心方向依次减少前,还包括:判断所述触摸框为单通道触摸框或者多通道触摸框,若所述触摸框为多通道触摸框,则进入所述判断所述触摸框的N个边缘检测通道的触摸节点数是否均大于第一预设值且所述N个边缘检测通道的触摸节点数是否按从触摸屏的边缘至触摸屏的中心方向依次减少;若所述触摸框为单通道触摸框,则判断所述单通道触摸框包含的触摸节点数是否大于第二预设值,若大于所述第二预设值,则判定所述单通道触摸框为抑制框。本实施例还可以准确地判断出手握设备时手掌的边缘误操作。
另外,所述方法还包括:若在所述第一预设时长内未检测到抑制框,则根据所述坐标点运动轨迹识别所述边缘触摸操作的操作方式;根据识别到的操作方式输出所述边缘触摸操作。本实施例还可以及时检测出边缘触摸操作中的正常的操作方式并输出,从而满足边缘触摸操作响应的实时性。
另外,根据所述坐标点运动轨迹识别所述边缘触摸操作的操作方式包括:根据所述坐标点运动轨迹判断在所述第一预设时长内是否检测到所述边缘触摸操作的移动距离大于预设距离,若大于预设距离,则判定所述边缘触摸操作的操作方式为滑动。本实施例可以快速检测出边缘触摸操作中的滑动操作。
另外,所述方法还包括:若在所述第一预设时长内未检测到所述边缘触 摸操作的移动距离大于预设距离,则判定所述边缘触摸操作的操作方式为点击或者长按。本实施例还可以准确检测出边缘触摸操作中的点击或者长按操作。
所述方法还包括:若在检测到所述边缘触摸操作时,判定出所述边缘触摸操作的触摸框不为抑制框时,则检测在所述第一预设时长内,所述边缘触摸操作是否离开触摸屏;若在所述第一预设时长内,检测到所述边缘触摸操作离开触摸屏,则判定所述边缘触摸操作的操作方式为快速点击。本实施例还可以准确检测出边缘触摸操作中的快速点击操作。
另外,判断所述坐标点运动轨迹是否满足预设运动条件,具体包括:判断所述边缘触摸操作是否从触摸屏的边缘向所述触摸屏的中心运动,若从所述触摸屏的边缘向所述触摸屏的中心运动,则判定所述坐标点运动轨迹满足预设运动条件;或者,判断所述边缘触摸操作是否为滑动操作,若为滑动操作,则判定所述坐标点运动轨迹满足预设运动条件。本实施例可以从初步判定为边缘误操作的边缘触摸操作中检测出离开触摸屏边缘的操作方式以及边缘处的滑动操作。
另外,所述边缘触摸操作的触摸框通过以下方式获得:在检测到所述边缘触摸操作时,获取所述边缘触摸操作的初始框,其中,所述初始框内的触摸节点的差值均大于预设节点阈值;若所述初始框为单通道框,则从所述单通道框的中心向两端搜索触摸节点,若在跳过预设数目的节点后搜索到触摸节点,则将搜索到的触摸节点合并入所述单通道框得到增强单通道框,将所述增强单通道框作为所述边缘触摸操作的触摸框。本实施例通过合并多个单通道框可以检测多个手指握持边框引起的边缘误操作。
所述边缘触摸操作的触摸框通过以下方式获得:在检测到所述边缘触摸 操作时,若所述边缘触摸操作位于触摸屏的角落位置,则按照预设补偿方式对所述边缘触摸操作的触摸框补充触摸节点数。本实施例通过对角落位置处的边缘触摸操作的触摸节点数进行补偿,有利于识别出手掌触摸角落时由于屏体数据缺失、节点数过少而检测不到抑制框所引起的边缘误操作。
另外,所述触摸屏上的触摸操作的触摸框通过以下方式获得:在检测到触摸屏上的触摸操作时,从所述触摸操作的触摸数据中提取出第一框;所述第一框内的触摸节点的差值均大于第一节点阈值;在所述第一框的靠近所述触摸屏的边缘的相邻检测通道内搜索是否存在差值大于第二节点阈值的触摸节点,若存在,则将差值大于第二节点阈值的触摸节点合并入所述第一框得到增强框,将所述增强框作为所述触摸屏上的触摸操作的触摸框;其中,所述第二节点阈值小于所述第一节点阈值。本实施例通过考虑差值较小的触摸节点,从而有利于准确检测出边缘误操作。
所述边缘防误触方法,还包括:判断在检测到所述边缘触摸操作之前的第三预设时长内,触摸屏的中心区域是否发生触摸操作;若所述触摸屏的中心区域未发生触摸操作,则进入根据所述触摸数据计算所述边缘触摸操作的坐标点运动轨迹,若所述触摸屏的中心区域发生触摸操作,则抑制所述边缘触摸操作。当用户的手指触摸触摸屏的中心区域时,在较小的时间(即第三预设时长)内检测到的边缘触摸操作通常为边缘误操作,因此,本实施例有利于快速抑制上述边缘误操作。
附图说明
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些 示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
图1是根据本申请第一实施例边缘防误触方法的流程图;
图2是根据本申请第一实施例边缘防误触方法的触摸框的示意图;
图3是根据本申请第一实施例边缘防误触方法的单通道触摸框的示意图;
图4是根据本申请第一实施例边缘防误触方法的多通道触摸框的示意图;
图5是根据本申请第一实施例步骤105中子步骤判断边缘触摸操作的触摸框是否为抑制框的流程图;
图6是根据本申请第二实施例边缘防误触方法的流程图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请部分实施例进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请第一实施例涉及一种边缘防误触方法,应用于具有触控显示屏的电子设备,尤其适用于窄边框的智能手机。本实施方式的边缘防误触方法包括:实时获取触摸屏的触摸数据,根据该触摸数据判断是否存在边缘触摸操作,若存在边缘触摸操作,则根据实时获取的触摸数据计算边缘触摸操作的坐标点运动轨迹,根据触摸数据以及坐标点运动轨迹判断边缘触摸操作是否为边缘误操作,若为边缘误操作,则抑制边缘误操作。
本实施例相对于现有技术而言,在检测边缘触摸操作时,利用边缘触摸操作的触摸数据对手指正常操作以及手掌、手指误触的情况进行初步区分,在此基础上,还利用坐标点运动轨迹对初步符合手掌、手指误触情况的边缘触摸操作的操作方式进行进一步检测,从而判断出边缘触摸操作是否为边缘误操作,因此本实施例能够提高边缘误操作识别的准确性,并且不影响屏幕边缘区域的正常使用。
下面通过具体实施例对边缘防误触方法进行详细说明。
请参阅图1所示,本实施例的边缘防误触方法包括步骤101至步骤107。
步骤101:实时获取触摸屏的触摸数据。
具体地,触摸屏例如为电容式触摸屏,一般而言,电容式触摸屏包括呈矩阵式排列的电容感应单元,对矩阵式电容感应单元进行扫描即可得到触摸屏上的一帧触摸数据。在实际应用中,触摸屏还可以为光学触摸屏、超声波触摸屏等,本实施例对触摸屏的类型不作具体限制,下面均以电容式触摸屏为例进行说明。
请参考图2所示,为了便于后续计算,本实施例的触摸数据中采用矩形框表示每个电容感应单元的检测区域,当手指或者手掌等触摸主体触摸在触摸屏上时,电容感应单元的电容量发生变化(即起差值),获取触摸屏上各个电容感应单元的差值,即得到一帧触摸数据。图2中各个矩形框内的数字表示差值的大小,差值的大小表示触摸引起的电容量变化的大小,排列在一起的多个起差值的矩形框形成本次触摸操作的触摸框,例如图2中的灰底矩形框排列形成一个触摸框,需要说明的是,触摸框内的触摸节点是连续的,或者说不含有离散触摸节点(即不与其他任何节点相连)。每一个触摸框内的小矩形为一个 触摸节点,该触摸框内的节点总数为触摸节点数,在实际产品中,一个触摸节点可以对应一个感应节点或者检测点。而每一列/每一行也有各自的触摸节点数,对应的,可以把每一行/列看成是一个检测通道,而一个检测通道可以是触摸传感器上的一条驱动线/感应线。
值得一提的是,在一些例子中,还可以对触摸操作的触摸框内的触摸节点数进行补偿,从而有利于更准确地识别出边缘误操作。具体地,在一个例子中,触摸屏上的触摸操作的触摸框可以通过以下方式获得:在检测到触摸屏上的触摸操作时,触摸屏上的触摸操作可以为边缘触摸操作或者非边缘触摸操作。从触摸操作的触摸数据中提取出第一框,第一框内的触摸节点的差值均大于第一节点阈值,第一节点阈值例如为9,在第一框的靠近触摸屏的边缘的相邻检测通道内搜索是否存在差值大于第二节点阈值的触摸节点,其中,第二节点阈值小于第一节点阈值,第二节点阈值例如为3,若存在差值大于第二节点阈值的触摸节点,则将差值大于第二节点阈值的触摸节点合并入第一框得到增强框,将增强框作为触摸屏上的触摸操作的触摸框。值得一提的是,在从触摸操作的触摸数据中提取出第一框前,还可以初步判断触摸操作的触摸位置是否靠近触摸屏的边缘,如果触摸操作的触摸位置靠近触摸屏的边缘,例如触摸操作的触摸位置与触摸屏的边缘的距离小于大拇指的宽度值,则按照前述合并方式,将得到的增强框作为触摸框,从而使得触摸屏的边缘位置处差值较小的小矩形也合并入触摸框中,增加了触摸框内的触摸节点数。这样通过将触摸屏边缘处的差值更小的触摸节点也考虑进来,从而可以采用更高精度的触摸数据对边缘触摸操作进行检测。需要说明的是,可以在判断触摸操作是否为边缘触摸操作(请参考下述步骤102),或者判断边缘触摸操作是否检测到抑制框等的情况下采 用上述方式获取触摸框(关于抑制框的检测请参看后文),从而可以更准确地检测出边缘触摸操作,或者更准确地检测出抑制框,而在其它情况下仍然可以按照现有方式获取触摸操作的触摸框,即触摸框内的触摸节点的差值均大于第一节点阈值。
步骤102:根据触摸数据判断是否存在边缘触摸操作,若存在边缘触摸操作,则执行步骤104,若不存在边缘触摸操作,则执行步骤103。
具体而言,在检测到触摸屏上的触摸操作时,判断触摸屏上的触摸操作的触摸框是否与触摸屏的边界相交,若相交,则将触摸屏上的触摸操作判定为边缘触摸操作,此时,继续执行步骤104,若不相交,则将触摸屏上的触摸操作判定为非边缘触摸操作,此时,继续执行步骤103。在实际应用中,只要触摸屏上的触摸操作的触摸框不包含触摸屏边缘的检测通道内的触摸节点,均可判定为触摸操作不为边缘触摸操作。在检测到触摸屏上的触摸操作时,例如,当触摸操作的触摸框包含触摸屏边缘的检测通道的触摸节点时,即可判定触摸操作为边缘触摸操作。
需要说明的是,在同时检测到多个触摸操作时,为了对不同手指的触摸进行区分,可以采用单指跟踪技术对各个触摸操作进行检测,并为每个触摸操作分配一个标记号(ID),从而通过标记号区分不同手指的触摸操作,单指跟踪技术为本领域技术人员所熟知,此处不再赘述。
步骤103:输出触摸屏上的非边缘触摸操作。
具体地,在检测到触摸屏上的触摸操作时,实时获取触摸屏上的触摸坐标,在判定本次触摸操作不为边缘触摸操作时,实时向系统上报所获取的本次触摸操作的触摸坐标,从而使得触摸屏实时响应用户的本次触摸操作。
步骤104:根据触摸数据计算边缘触摸操作的坐标点运动轨迹。
具体地,可以计算出边缘触摸操作的每帧触摸数据中的触摸框的重心,并根据各帧触摸数据的重心计算边缘触摸操作的坐标点运动轨迹,坐标点运动轨迹的计算方式为本领域技术人员所熟知,此处不再赘述。
步骤105:根据触摸数据以及坐标点运动轨迹判断边缘触摸操作是否为边缘误操作,若为边缘误操作,则执行步骤107,若不为边缘误操作,则执行步骤106。
本实施例中,为了克服不同手指、不同手掌以及不同姿势对边缘误操作的临界判断条件产生的影响,一方面在一段时间内根据触摸数据判断边缘触摸操作是否达到临界判断条件,例如在第一预设时长内判断边缘触摸操作是否检测到抑制框,即通过在一段时间内对边缘触摸操作是否达到边缘误操作的临界判断条件进行多次检测,相当于适当地延长了边缘触摸操作是否达到边缘误操作的临界判断条件的检测时间,从而有利于消除不同姿势下相同临界判断条件可能带来的误判问题。例如,当手掌从边框向触摸屏的中心运动时,在仅有小部分手掌与触摸屏接触时,此时手掌的触摸数据与手指的触摸数据较为接近,因此仅通过临界判断条件难以剔除小部分手掌触摸引起的边缘误操作,而在一段时间内对手掌的触摸操作持续检测时,当较多的手掌触摸在触摸屏上时,此时再通过临界判断条件即可更为准确地初步区分出手掌触摸与手指触摸。另一方面,还通过对初步判定为边缘误操作的边缘触摸操作进行操作方式的检测,如果检测到初步判定为边缘误操作的边缘触摸操作与预设的操作方式(即用户的正常操作方式)匹配,就判定该边缘触摸操作不为边缘误操作,如果检测到初步判定为边缘误操作的边缘触摸操作不与预设的操作方式相匹配,就判定该 边缘触摸操作为边缘误操作,从而更有利于准确响应用户的正常操作方式,避免将满足临界判断条件的边缘触摸操作中的正常操作抑制掉。
具体地,步骤105包括子步骤1051以及子步骤1052。
子步骤1051:在第一预设时长内根据触摸数据判断是否检测到抑制框,若在第一预设时长内检测到抑制框,则进一步执行子步骤1052,若在第一预设时长内未检测到抑制框,则执行步骤106。
子步骤1052:判断坐标点运动轨迹是否满足预设运动条件,如果判断出坐标点运动轨迹满足预设运动条件,则执行步骤106,如果判断出坐标点运动轨迹不满足预设运动条件,则执行步骤107。
其中,抑制框用于表征边缘误触摸的临界判断条件,以用于区分触摸主体正常操作以及误操作,触摸主体例如包括:手指以及手掌。触摸主体正常操作例如包括:手指滑动、快速点击、点击或者长按等,触摸主体误操作例如包括:手掌误触,手指握持手机边框引起的误触等。因此,抑制框可以根据不同触摸主体引起误操作的情况进行设定,例如,针对手掌误触摸,可以根据手掌的形状以及面积设置预设形状以及面积表征抑制框,从而区分手掌误触摸和手指触摸,针对手指握持手机边框引起误触时,可以根据手指握持边框的特点预先设置节点数表征抑制框,本实施方式对于抑制框不作具体限制。当在第一预设时长内检测到边缘触摸操作的触摸数据满足预先设置的形状以及面积或者节点数时,则判定检测到抑制框,否则,判定为未检测到抑制框,或者判定为检测到检测框,检测框是除抑制框之外的触摸框的类型。
为了保证边缘触摸操作响应的实时性,在第一预设时长内根据触摸数据判断是否检测到抑制框具体包括:在检测到边缘触摸操作时,判断边缘触摸操 作的触摸框是否为抑制框,若边缘触摸操作的触摸框为抑制框,则进一步执行子步骤1052,若边缘触摸操作的触摸框不为抑制框,则在到达第一预设时长前,持续判断边缘触摸操作的触摸框是否为抑制框,若在第一预设时长内(即到达第一预设时长前)检测出触摸框为抑制框,则进一步执行子步骤1052。由于大多数情况下,在检测到边缘触摸操作时,即可初步检测出手指或者手掌的误触摸,即触摸主体开始触摸在触摸屏上时,其触摸操作的触摸数据就满足临界判断条件,所以可以快速对边缘误操作进行初步判断。需要说明的是,第一预设时长可以为扫描得到多帧触摸数据,例如20帧触摸数据所需要的时间,本实施方式对于第一预设时长不做具体限制,本领域技术人员可以在考虑触摸操作的响应速度的基础上根据经验设定。
在一个例子中,通过以下方式判断边缘触摸操作的触摸框是否为抑制框。其中,将手掌以及手指等引起的边缘误操作的触摸框分为单通道触摸框以及多通道触摸框,包含两个以及两个以上的检测通道的触摸框为多通道触摸框,仅包含一个检测通道的触摸框为单通道触摸框。例如,手掌轻微接触手机触摸屏边缘或者握住手机或者手指非常靠边点击,都可能出现只有触摸屏边缘(即触摸屏最外)一个检测通道有触摸数据,此时,可能检测到具有单通道触摸框的多个边缘触摸操作,其中,单通道触摸框的示意图请参阅图3所示。对于手掌引起的边缘误操作,一般包含多通道触摸框,且多通道触摸框的触摸节点数随着检测通道的位置从触摸屏的边缘向触摸屏的中心移动时呈减小趋势。其中,多通道触摸框的示意图请参阅图4所示。本实施例基于上述手指以及手掌误触摸的特点,提出了如下边缘误操作的初步判断方式,即如何判断边缘触摸操作的触摸框是否为抑制框。在实际应用中,还可以对多通道触摸框进行进一步分 类,本实施例对于抑制框不作具体限制。
请参阅图5所示,具体地,子步骤1051判断边缘触摸操作的触摸框是否为抑制框具体包括以下子步骤:子步骤10511至子步骤10516。其中,判断边缘触摸操作的触摸框是否为抑制框可以在第一预设时长内周期地进行,例如,每扫描得到两帧触摸数据判断一次触摸框是否为抑制框,本实施方式对于判断边缘触摸操作的触摸框是否为抑制框的具体执行方式不作限制。
子步骤10511:判断边缘触摸操作的触摸框是否为单通道触摸框,若为单通道触摸框,则执行子步骤10512,若不为单通道触摸框,即边缘触摸操作的触摸框为多通道触摸框,则执行子步骤10513。
子步骤10512:判断单通道触摸框包含的触摸节点数是否大于第二预设值,若大于第二预设值,则执行子步骤10514,若小于或者等于第二预设值,则执行子步骤10516。
子步骤10513:判断边缘触摸操作的触摸框的N个边缘检测通道的触摸节点数是否均大于第一预设值且N个边缘检测通道的触摸节点数是否按从触摸屏的边缘至触摸屏的中心方向依次减少,若N个边缘检测通道的触摸节点数均大于第一预设值且按从触摸屏的边缘至触摸屏的中心方向依次减少,则执行子步骤10515,若N个边缘检测通道的触摸节点数均小于或者等于第一预设值且N个边缘检测通道的触摸节点数相同或者按从触摸屏的边缘至触摸屏的中心方向逐渐增加,则执行子步骤10516。
其中,N个边缘检测通道为触摸框中的靠近触摸屏边缘的N个检测通道。N例如为2,本实施例对于N的取值不做具体限制,若触摸框的2个边缘检测通道的触摸节点数均大于第一预设值,且2个边缘检测通道的触摸节点数按从 触摸屏的边缘至触摸屏的中心方向依次减少,则判定多通道触摸框为抑制框,若触摸框的2个边缘检测通道的触摸节点数均小于或者等于第一预设值且2个边缘检测通道的触摸节点数相同或者按从触摸屏的边缘至触摸屏的中心方向逐渐增加,则执行子步骤10516。
子步骤10514:判定单通道触摸框为抑制框。
子步骤10515:判定多通道触摸框为抑制框。
子步骤10516:判定触摸框不为抑制框。
其中,在判定触摸框为抑制框时,继续执行子步骤1052,在判定触摸框不为抑制框且未到达第一预设时长时,重复执行子步骤10511至子步骤10513,直到到达第一预设时长或者检测到触摸框为抑制框。
值得一提的是,本实施例中,单通道触摸框可以通过以下方式获得:在检测到边缘触摸操作时,获取边缘触摸操作的初始框。其中,初始框内的触摸节点的差值均大于预设节点阈值,预设节点阈值例如等于第二节点阈值,本实施方式对于预设节点阈值不作具体限制。若边缘触摸操作的初始框为单通道框,则从单通道框的中心向两端搜索触摸节点,若在跳过预设数目的节点后搜索到触摸节点,例如在跳过3个触摸节点后搜索到触摸节点,则将搜索到的触摸节点合并入单通道框得到增强单通道框,将增强单通道框作为边缘触摸操作的单通道触摸框。其中,预设数目可以根据多个手指握持手机边框时由于指缝的存在而导致触摸屏上存在不起差值的节点数目确定,本实施方式对于预设数目不做具体限制。增强单通道框例如为多手指握持手机边框产生的单通道触摸框,因此,基于增强单通道框的触摸节点数确定第二预设值时,可以区分单手指或者多手指握持手机边框的情况。具体地,第二预设值例如为单手指握持边框时 触摸在触摸屏上的触摸节点数的1.5倍,从而可以检测出多个手指同时握持手机边框引起的边缘误操作。本实施方式对于第二预设值不做具体限制。
第一预设值例如根据手掌触摸的情况确定,例如,针对多通道触摸框的最外侧检测通道(即触摸屏边缘的检测通道)以及次外侧检测通道(即与触摸屏边缘的检测通道相邻的检测通道),第一预设值可以大于单手指,例如大拇指触摸产生的触摸节点数。或者,还可以针对多通道触摸框的最外侧检测通道以及次外侧检测通道分别设置触摸节点阈值。本实施例对于第一预设值不作具体限制。本实施例通过第一预设值可以筛选出手掌引起的边缘误操作。
在实际应用中,为了加强对触摸屏角落位置的边缘触摸操作的检测,在一个例子中,还可以在检测到边缘触摸操作时,判断边缘触摸操作是否位于触摸屏的角落位置,若边缘触摸操作位于触摸屏的角落位置,则按照预设补偿方式对边缘触摸操作的触摸框补充触摸节点数(即触摸框内小矩形的数量),例如按照对称补偿方式对边缘触摸操作的触摸框补充触摸节点数。举例而言,在检测出边缘触摸操作位于触摸屏的角落位置时,得到该边缘触摸操作的触摸框的触摸节点数,并将该触摸节点数加倍后,例如加一倍后作为角落位置的边缘触摸操作的触摸框的触摸节点数。从而有利于识别出手掌触摸角落时由于屏体数据缺失、节点数过少而检测不到抑制框所引起的边缘误操作。角落位置例如是指触摸屏的四个顶角位置,边缘触摸操作位于角落位置的判断方式例如可以是通过判断边缘触摸操作的触摸框是否同时与触摸屏的两个相邻边界相交,此处不再赘述。
在第一预设时长内根据触摸数据检测到抑制框时,判断坐标点运动轨迹是否满足预设运动条件,若不满足预设运动条件,则执行步骤107,若满足预 设运动条件,则执行步骤106。
预设运动条件用于反映边缘触摸操作中用户期望的操作方式,本实施方式对预设运动条件不做具体限制。例如,在一个例子中,子步骤1052判断坐标点运动轨迹是否满足预设运动条件具体包括:判断边缘触摸操作是否从触摸屏的边缘向触摸屏的中心运动,若边缘触摸操作从触摸屏的边缘向触摸屏的中心运动,则判定边缘触摸操作的坐标点运动轨迹满足预设运动条件,此时,执行步骤106。换句话说,当根据坐标点运动轨迹检测到初步判断为边缘误操作的边缘触摸操作从触摸屏的边缘向触摸屏的中心运动时,即可判定该边缘触摸操作为用户期望的操作方式。可替代的,子步骤1052判断坐标点运动轨迹是否满足预设运动条件具体包括:判断边缘触摸操作是否为滑动操作,若边缘触摸操作为滑动操作,则判定边缘触摸操作的坐标点运动轨迹满足预设运动条件,此时执行步骤106。换句话说,当根据坐标点运动轨迹检测出初步判断为边缘误操作的边缘触摸操作为滑动操作时,亦可判定该边缘触摸操作为用户期望的操作方式。在一个例子中,判断边缘触摸操作是否为滑动操作,具体包括:在第二预设时长内检测边缘触摸操作的坐标点的移动速度是否大于预设速度阈值,若在第二预设时长内检测到边缘触摸操作的坐标点的移动速度大于预设速度阈值,则判定边缘触摸操作为滑动操作。例如,在第二预设时长内,根据坐标点运动轨迹检测出本次边缘触摸操作发生3次移动,且每次移动的移动速度均大于预设速度阈值,则判定边缘触摸操作为滑动操作,如果一次或者两次的移动速度小于或者等于预设速度阈值,则判定边缘触摸操作为边缘误操作。其中,第二预设时长以及速度阈值均可以根据经验设定。
根据坐标点运动轨迹判断触摸操作的操作方式,本领域技术人员所熟知, 此处不再赘述。
在实际应用中,可以同时采用上述两种方式判断初步判断为边缘误操作的边缘触摸操作的坐标点运动轨迹是否满足预设运动条件,例如可以先判断边缘触摸操作是否从触摸屏的边缘向触摸屏的中心运动,如果边缘触摸操作未从触摸屏的边缘向触摸屏的中心运动,则继续判断边缘触摸操作是否为滑动操作,并在未检测到边缘触摸操作从触摸屏的边缘向触摸屏的中心运动,且边缘触摸操作不为滑动操作时,判定坐标点运动轨迹不满足预设运动条件,此时执行步骤107。本实施例对于上述两种判断边缘触摸操作的坐标点运动轨迹是否满足预设运动条件的判断方式的执行顺序不作具体限制,对于子步骤1052的具体判断方式亦不作具体限制。
步骤106:判定边缘触摸操作不为边缘误操作,输出边缘触摸操作。
边缘触摸操作的输出方式与步骤103中的非边缘触摸操作的输出方式相同,此处不再赘述。
步骤107:判定边缘触摸操作为边缘误操作,抑制边缘误操作。
具体地,当检测到边缘触摸操作时,实时获取边缘触摸操作在触摸屏上产生的触摸坐标,如果本次边缘触摸操作为边缘误操作,则不向系统上报本次边缘触摸操作的触摸坐标,从而使得屏幕不会响应本次边缘触摸操作(即边缘误操作)。可替代的,边缘触摸操作在触摸屏上产生的触摸坐标也可以在判定边缘触摸操作不为边缘误操作时获取,这样即可省去边缘误操作的触摸坐标的计算步骤。
本实施方式相对于现有技术而言,通过延长边缘触摸操作是否产生抑制框的检测时间,从而有利于消除不同姿势引起的边缘误操作的判断,同时,通 过对初步判定为边缘误操作的边缘触摸操作继续进行操作方式的检测,从而有利于筛选出用户期望的操作,避免直接抑制仅初步满足临界判断条件的边缘触摸操作。
本申请第二实施例涉及一种边缘误触方法,第二实施例在第一实施例的基础上做出改进,主要改进之处在于,第二实施例针对第一预设时长内边缘触摸操作的操作方式做进一步检测,从而可以更灵活地检测出用户的操作方式。
请参阅图6所示,本实施例的边缘误触方法包括步骤601至步骤607。
其中,步骤601至步骤605分别与第一实施例的步骤101至步骤105对应相同,步骤607与步骤107对应相同,此处不再赘述。
步骤606具体包括子步骤6061以及子步骤6062。
子步骤6061:根据坐标点运动轨迹识别边缘触摸操作的操作方式。
子步骤6062:根据识别到的操作方式输出所述边缘触摸操作。
具体地,子步骤6061中,可以根据坐标点运动轨迹判断在第一预设时长内是否检测到边缘触摸操作的移动距离大于预设距离,若大于预设距离,则判定边缘触摸操作的操作方式为滑动,子步骤6062中,当边缘触摸操作的操作方式为滑动时,例如从边缘触摸操作的坐标点轨迹的起点开始输出边缘触摸操作。其中,预设距离可以用于区分不同的操作方式,例如区分滑动以及点击或者长按,预设距离的取值可以根据经验数据预先进行设定,本实施例对于预设距离不作具体限制。在一个例子中,子步骤6061还可以在判断出第一预设时长内未检测到边缘触摸操作的移动距离大于预设距离时,则判定边缘触摸操作的操作方式为点击或者长按。例如,当第一预设时长的取值较大时,在第一预设时长内未检测到边缘触摸操作的移动距离大于预设距离时,可以判定边缘触摸操作 的操作方式为长按,当第一预设时长的取值较小,且在第一预设时长内未检测到边缘触摸操作的移动距离大于预设距离时,可以判定边缘触摸操作的操作方式为点击。第一预设时长可以根据经验设定,本实施方式对其不作具体限制。当子步骤6061中识别出边缘触摸操作的操作方式为点击或者长按时,在子步骤6062中,对应输出点击或者长按。
在一个例子中,作为对滑动、点击以及长按等的操作方式的补充,还可以在检测到边缘触摸操作,且判定边缘触摸操作的触摸框不为抑制框时,检测在第一预设时长内,边缘触摸操作是否离开触摸屏,若在第一预设时长内,检测到边缘触摸操作离开触摸屏,则判定边缘触摸操作的操作方式为快速点击。
在一个例子中,还可以对边缘防误触方法做进一步补充。具体地,边缘防误触方法还包括:判断在检测到边缘触摸操作之前的第三预设时长内,触摸屏的中心区域是否发生触摸操作,若触摸屏的中心区域未发生触摸操作,则进入根据触摸数据计算边缘触摸操作的坐标点运动轨迹,若触摸屏的中心区域发生触摸操作,则抑制边缘触摸操作。例如,当用户手指触摸触摸屏的中心区域后,在较小的时间内(即第三预设时长内)检测到边缘触摸操作,此时的边缘触摸操作通常由用户的手掌误触发引起,因此可以直接抑制掉该边缘触摸操作。需要说明的是,第三预设时长可以根据经验进行设定,本实施例对第三预设时长的取值不做具体限制。
本实施方式相对于现有技术而言,在根据触摸数据对边缘触摸操作是否为边缘误操作进行初步判断的基础上,进一步结合用户的操作方式对边缘触摸操作进行检测,从而可以更为准确地检测出边缘误操作,并及时响应用户的正常操作。发明人通过实际验证发现,本实施例对边缘误操作的识别更加准确和 稳定,对手掌误触摸引起的边缘误操作识别的成功率达到95%以上,尤其是窄边框手机,手掌误触摸抑制成功率更高。同时,本实施例也不存在边缘绝对抑制区,正常点击到手机的各个边缘时都可响应,因此不会影响边缘滑动以及画线操作。
本申请第三实施例涉及一种触摸控制设备,例如为智能手机,尤其是窄边框的智能手机。电子设备包括:至少一个处理器,以及与至少一个处理器通信连接的存储器。其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行如第一或者第二实施例所述的边缘防误触方法。
本实施例相对于现有技术而言,在检测边缘触摸操作时,利用边缘触摸操作的触摸数据对手指正常操作以及手掌、手指误触的情况进行初步区分,在此基础上,还利用坐标点运动轨迹对初步符合手掌、手指误触情况的边缘触摸操作的操作方式进行进一步检测,从而判断出边缘触摸操作是否为边缘误操作,因此本实施例能够提高边缘误操作识别的准确性,并且不影响屏幕边缘区域的正常使用。
本申请第四实施例涉及一种存储介质,存储有计算机程序,计算机程序被处理器执行时实现第一或者第二实施例所述的边缘防误触方法。
本领域的普通技术人员可以理解,上述各实施例是实现本申请的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本申请的精神和范围。

Claims (19)

  1. 一种边缘防误触方法,其特征在于,包括:
    实时获取触摸屏的触摸数据;
    根据所述触摸数据判断是否存在边缘触摸操作,若存在边缘触摸操作,则根据所述触摸数据计算所述边缘触摸操作的坐标点运动轨迹;
    根据所述触摸数据以及所述坐标点运动轨迹判断所述边缘触摸操作是否为边缘误操作,若为边缘误操作,则抑制所述边缘误操作。
  2. 如权利要求1所述的边缘防误触方法,其特征在于,所述根据所述触摸数据以及所述坐标点运动轨迹判断所述边缘触摸操作是否为边缘误操作,具体包括:
    在第一预设时长内根据所述触摸数据判断是否检测到抑制框;其中,所述抑制框用于表征边缘误触摸的临界判断条件;
    若在所述第一预设时长内检测到所述抑制框,则判断所述坐标点运动轨迹是否满足预设运动条件,若不满足预设运动条件,则判定所述边缘触摸操作为边缘误操作。
  3. 如权利要求2所述的边缘防误触方法,其特征在于,所述在第一预设时长内根据所述触摸数据判断是否检测到抑制框包括:
    在检测到所述边缘触摸操作时,判断所述边缘触摸操作的触摸框是否为抑制框,若所述触摸框为抑制框,则判定所述触摸框为抑制框,并进入判断所述坐标点运动轨迹是否满足预设运动条件,若所述触摸框不为抑制框,则在到达所述第一预设时长前,持续判断所述边缘触摸操作的触摸框是否为抑制框,若在到达所述第一预设时长前检测出所述触摸框为抑制框,则判定所述触摸框为 抑制框,并进入判断所述坐标点运动轨迹是否满足预设运动条件。
  4. 如权利要求3所述的边缘防误触方法,其特征在于,判断所述边缘触摸操作的触摸框是否为抑制框包括:
    判断所述触摸框的N个边缘检测通道的触摸节点数是否均大于第一预设值且所述N个边缘检测通道的触摸节点数是否按从触摸屏的边缘至触摸屏的中心方向依次减少;若所述触摸框的N个边缘检测通道的触摸节点数均大于第一预设值且所述N个边缘检测通道的触摸节点数按从触摸屏的边缘至触摸屏的中心方向依次减少,则判定所述触摸框为抑制框,N为大于或者等于2的自然数。
  5. 如权利要求4所述的边缘防误触方法,其特征在于,在所述判断所述触摸框的N个边缘检测通道的触摸节点数是否均大于第一预设值且所述N个边缘检测通道的触摸节点数是否按从触摸屏的边缘至触摸屏的中心方向依次减少前,还包括:
    判断所述触摸框为单通道触摸框或者多通道触摸框,若所述触摸框为多通道触摸框,则进入所述判断所述触摸框的N个边缘检测通道的触摸节点数是否均大于第一预设值且所述N个边缘检测通道的触摸节点数是否按从触摸屏的边缘至触摸屏的中心方向依次减少;
    若所述触摸框为单通道触摸框,则判断所述单通道触摸框包含的触摸节点数是否大于第二预设值,若大于所述第二预设值,则判定所述单通道触摸框为抑制框。
  6. 如权利要求2所述的边缘防误触方法,其特征在于,所述方法还包括:
    若在所述第一预设时长内未检测到抑制框,则根据所述坐标点运动轨迹识别所述边缘触摸操作的操作方式;
    根据识别到的操作方式输出所述边缘触摸操作。
  7. 如权利要求6所述的边缘防误触方法,其特征在于,根据所述坐标点运动轨迹识别所述边缘触摸操作的操作方式包括:
    根据所述坐标点运动轨迹判断在所述第一预设时长内是否检测到所述边缘触摸操作的移动距离大于预设距离,若大于预设距离,则判定所述边缘触摸操作的操作方式为滑动。
  8. 如权利要求7所述的边缘防误触方法,其特征在于,所述方法还包括:
    若在所述第一预设时长内未检测到所述边缘触摸操作的移动距离大于预设距离,则判定所述边缘触摸操作的操作方式为点击或者长按。
  9. 如权利要求3所述的边缘防误触方法,其特征在于,所述方法还包括:若在检测到所述边缘触摸操作时,判定出所述边缘触摸操作的触摸框不为抑制框时,则检测在所述第一预设时长内,所述边缘触摸操作是否离开触摸屏;若在所述第一预设时长内,检测到所述边缘触摸操作离开触摸屏,则判定所述边缘触摸操作的操作方式为快速点击。
  10. 如权利要求2所述的边缘防误触方法,其特征在于,判断所述坐标点运动轨迹是否满足预设运动条件,具体包括:
    判断所述边缘触摸操作是否从触摸屏的边缘向所述触摸屏的中心运动,若从所述触摸屏的边缘向所述触摸屏的中心运动,则判定所述坐标点运动轨迹满足预设运动条件;或者,
    判断所述边缘触摸操作是否为滑动操作,若为滑动操作,则判定所述坐标点运动轨迹满足预设运动条件。
  11. 如权利要求10所述的边缘防误触方法,其特征在于,所述方法还包括:若未检测到所述边缘触摸操作从所述触摸屏的边缘向所述触摸屏的中心运动,且所述边缘触摸操作不为滑动操作,则判定所述坐标点运动轨迹不满足预设运动条件。
  12. 如权利要求10所述的边缘防误触方法,其特征在于,所述判断所述边缘触摸操作是否为滑动操作包括:
    若在第二预设时长内检测到所述边缘触摸操作的坐标点的移动速度大于预设速度阈值,则判定所述边缘触摸操作为滑动操作。
  13. 如权利要求3所述的边缘防误触方法,其特征在于,所述边缘触摸操作的触摸框通过以下方式获得:
    在检测到所述边缘触摸操作时,获取所述边缘触摸操作的初始框,其中,所述初始框内的触摸节点的差值均大于预设节点阈值;
    若所述初始框为单通道框,则从所述单通道框的中心向两端搜索触摸节点,若在跳过预设数目的节点后搜索到触摸节点,则将搜索到的触摸节点合并入所述单通道框得到增强单通道框,将所述增强单通道框作为所述边缘触摸操作的触摸框。
  14. 如权利要求3所述的边缘防误触方法,其特征在于,所述边缘触摸操作的触摸框通过以下方式获得:
    在检测到所述边缘触摸操作时,若所述边缘触摸操作位于触摸屏的角落位置,则按照预设补偿方式对所述边缘触摸操作的触摸框补充触摸节点数。
  15. 如权利要求1所述的边缘防误触方法,其特征在于,所述根据所述触摸数据判断是否存在边缘触摸操作包括:
    在检测到触摸屏上的触摸操作时,判断所述触摸屏上的触摸操作的触摸框是否与所述触摸屏的边界相交,若相交,则将所述触摸屏上的触摸操作,判定为所述边缘触摸操作;
    实时获取所述边缘触摸操作的触摸数据。
  16. 如权利要求1-15任意一项所述的边缘防误触方法,其特征在于,所述触摸屏上的触摸操作的触摸框通过以下方式获得:
    在检测到触摸屏上的触摸操作时,从所述触摸操作的触摸数据中提取出第一框;所述第一框内的触摸节点的差值均大于第一节点阈值;
    在所述第一框的靠近所述触摸屏的边缘的相邻检测通道内搜索是否存在差值大于第二节点阈值的触摸节点,若存在,则将差值大于第二节点阈值的触摸节点合并入所述第一框得到增强框,将所述增强框作为所述触摸屏上的触摸操作的触摸框;其中,所述第二节点阈值小于所述第一节点阈值。
  17. 如权利要求1所述的边缘防误触方法,其特征在于,所述边缘防误触方法还包括:
    判断在检测到所述边缘触摸操作之前的第三预设时长内,触摸屏的中心区域是否发生触摸操作;
    若所述触摸屏的中心区域未发生触摸操作,则进入根据所述触摸数据计算所述边缘触摸操作的坐标点运动轨迹,若所述触摸屏的中心区域发生触摸操作,则抑制所述边缘触摸操作。
  18. 一种触摸控制设备,其特征在于,包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1至17中任一所述的边缘防误触方法。
  19. 一种存储介质,存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至17中任一项所述的边缘防误触方法。
PCT/CN2017/117805 2017-12-21 2017-12-21 边缘防误触方法、触摸控制设备以及存储介质 WO2019119361A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201780002301.XA CN108235747A (zh) 2017-12-21 2017-12-21 边缘防误触方法、触摸控制设备以及存储介质
PCT/CN2017/117805 WO2019119361A1 (zh) 2017-12-21 2017-12-21 边缘防误触方法、触摸控制设备以及存储介质
EP17931080.0A EP3528099A4 (en) 2017-12-21 2017-12-21 METHOD FOR AVOIDING THE IRRADIENT TOUCH OF A EDGE, TOUCH CONTROL DEVICE AND MEMORY MEDIUM
US16/416,135 US11093083B2 (en) 2017-12-21 2019-05-17 Method for preventing an edge from being unintentionally touched, touch control apparatus and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/117805 WO2019119361A1 (zh) 2017-12-21 2017-12-21 边缘防误触方法、触摸控制设备以及存储介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/416,135 Continuation US11093083B2 (en) 2017-12-21 2019-05-17 Method for preventing an edge from being unintentionally touched, touch control apparatus and storage medium

Publications (1)

Publication Number Publication Date
WO2019119361A1 true WO2019119361A1 (zh) 2019-06-27

Family

ID=62645418

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/117805 WO2019119361A1 (zh) 2017-12-21 2017-12-21 边缘防误触方法、触摸控制设备以及存储介质

Country Status (4)

Country Link
US (1) US11093083B2 (zh)
EP (1) EP3528099A4 (zh)
CN (1) CN108235747A (zh)
WO (1) WO2019119361A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112083837A (zh) * 2020-09-25 2020-12-15 Oppo广东移动通信有限公司 触控屏的触控信息处理方法、装置及电子设备

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189266B (zh) * 2018-09-05 2021-10-08 芯海科技(深圳)股份有限公司 握持设备的防误触方法、装置、设备及存储介质
CN109445636B (zh) * 2018-10-31 2020-08-14 上海海栎创微电子有限公司 一种自电容触摸屏边缘触摸坐标补偿方法
CN111506234B (zh) * 2019-01-31 2021-07-23 北京小米移动软件有限公司 触摸屏边缘防误触方法、装置、存储介质及电子设备
CN112462964A (zh) * 2019-09-09 2021-03-09 Oppo(重庆)智能科技有限公司 一种滑动操作的处理方法、终端及计算机存储介质
CN111078046B (zh) 2019-12-05 2022-04-08 北京集创北方科技股份有限公司 检测方法、装置及电子设备
CN113467672A (zh) * 2020-03-31 2021-10-01 Oppo广东移动通信有限公司 侧边栏的动态控制方法、电子设备及计算机可读存储介质
CN113031827A (zh) * 2021-04-19 2021-06-25 深圳市宝能通讯技术有限公司 可折叠屏设备防误触方法、装置、电子设备及存储介质
CN115277938B (zh) * 2021-04-29 2024-08-20 北京小米移动软件有限公司 通话控制方法及装置、电子设备、存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117020A (zh) * 2015-09-23 2015-12-02 努比亚技术有限公司 一种处理边缘交互操作的方法和移动终端
CN105117132A (zh) * 2015-08-31 2015-12-02 广州视源电子科技股份有限公司 一种触摸控制方法及装置
CN105739875A (zh) * 2016-02-16 2016-07-06 惠州Tcl移动通信有限公司 一种基于移动终端的触摸轨迹检测方法及系统
CN106648233A (zh) * 2016-12-16 2017-05-10 广东欧珀移动通信有限公司 一种移动终端的触摸屏控制方法、装置及移动终端
CN106855783A (zh) * 2016-12-16 2017-06-16 广东欧珀移动通信有限公司 一种防误触的方法、装置及移动终端

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090174679A1 (en) * 2008-01-04 2009-07-09 Wayne Carl Westerman Selective Rejection of Touch Contacts in an Edge Region of a Touch Surface
TWI478041B (zh) * 2011-05-17 2015-03-21 Elan Microelectronics Corp 於觸控面板上識別手掌區域方法及其更新方法
US9081450B1 (en) * 2011-06-09 2015-07-14 Maxim Integrated Products, Inc. Identifying hover and/or palm input and rejecting spurious input for a touch panel
KR101392673B1 (ko) * 2012-03-09 2014-05-12 한국과학기술원 베젤 영역을 활용한 터치 제스처에 기초하여 원격기기를 원격제어 하기 위한 터치 감지 시스템 및 방법 그리고 원격제어 시스템 및 방법
JP6155872B2 (ja) * 2013-06-12 2017-07-05 富士通株式会社 端末装置、入力補正プログラム及び入力補正方法
CN104423656B (zh) * 2013-08-20 2018-08-17 南京中兴新软件有限责任公司 误触摸识别方法和装置
CN104007932B (zh) * 2014-06-17 2017-12-29 华为技术有限公司 一种触摸点识别方法及装置
CN104615302B (zh) * 2015-01-30 2016-08-24 努比亚技术有限公司 移动终端防误触控方法、装置及移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117132A (zh) * 2015-08-31 2015-12-02 广州视源电子科技股份有限公司 一种触摸控制方法及装置
CN105117020A (zh) * 2015-09-23 2015-12-02 努比亚技术有限公司 一种处理边缘交互操作的方法和移动终端
CN105739875A (zh) * 2016-02-16 2016-07-06 惠州Tcl移动通信有限公司 一种基于移动终端的触摸轨迹检测方法及系统
CN106648233A (zh) * 2016-12-16 2017-05-10 广东欧珀移动通信有限公司 一种移动终端的触摸屏控制方法、装置及移动终端
CN106855783A (zh) * 2016-12-16 2017-06-16 广东欧珀移动通信有限公司 一种防误触的方法、装置及移动终端

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112083837A (zh) * 2020-09-25 2020-12-15 Oppo广东移动通信有限公司 触控屏的触控信息处理方法、装置及电子设备

Also Published As

Publication number Publication date
EP3528099A1 (en) 2019-08-21
EP3528099A4 (en) 2019-10-30
CN108235747A (zh) 2018-06-29
US20190272077A1 (en) 2019-09-05
US11093083B2 (en) 2021-08-17

Similar Documents

Publication Publication Date Title
WO2019119361A1 (zh) 边缘防误触方法、触摸控制设备以及存储介质
US10386965B2 (en) Finger tracking in wet environment
US9483146B2 (en) Input classification for multi-touch systems
WO2015131675A1 (zh) 滑动断线补偿方法、电子设备和计算机存储介质
US9632605B2 (en) Input classification for multi-touch systems
US20140104191A1 (en) Input Classification for Multi-Touch Systems
JP6005417B2 (ja) 操作装置
US20140104194A1 (en) Input Classification for Multi-Touch Systems
CN104978133A (zh) 一种用于智能终端的截屏方法和装置
CA2481396A1 (en) Gesture recognition method and touch system incorporating the same
WO2019062243A1 (zh) 触摸操作的识别方法、装置及电子设备
WO2019223461A1 (zh) 一种触摸检测方法和计算机可读存储介质
TWI431538B (zh) 基於影像之動作手勢辨識方法及系統
US9430066B2 (en) Input classification for multi-touch systems
WO2016082251A1 (zh) 触摸信号处理方法及设备
US20150253874A1 (en) Touch pad palm detection
CN104679312A (zh) 电子装置及其触控系统、触控方法
Wong et al. Virtual touchpad: Hand gesture recognition for smartphone with depth camera
KR20100010011A (ko) 영상 센서 터치스크린의 이중 터치 판별 방법
US9182873B2 (en) Click disambiguation on a touch-sensitive input device
US8890847B2 (en) Optical touch system and touch point calculation method thereof
WO2023039797A1 (zh) 触摸操作的识别方法及装置
WO2014087751A1 (ja) 情報処理装置、情報処理装置の制御方法、および制御プログラム
CN115145366A (zh) 一种设备的合盖确认方法

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2017931080

Country of ref document: EP

Effective date: 20190514

NENP Non-entry into the national phase

Ref country code: DE