WO2016145873A1 - Accidental operation identification method and device - Google Patents

Accidental operation identification method and device Download PDF

Info

Publication number
WO2016145873A1
WO2016145873A1 PCT/CN2015/093611 CN2015093611W WO2016145873A1 WO 2016145873 A1 WO2016145873 A1 WO 2016145873A1 CN 2015093611 W CN2015093611 W CN 2015093611W WO 2016145873 A1 WO2016145873 A1 WO 2016145873A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
threshold
contact
width
length
Prior art date
Application number
PCT/CN2015/093611
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2016145873A1 publication Critical patent/WO2016145873A1/en

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

Definitions

  • the present invention relates to the field of communications, and in particular to a method and apparatus for erroneous operation identification.
  • the inventor of the present invention found in the research process that if the mobile phone is put into a pocket or a trouser pocket, even if the mobile phone has been locked, due to the constant contact friction between the touch screen of the mobile phone and the human body, there will be a certain probability in the walking process.
  • the user misunderstood the phone, mis-runs the application, accidentally opens, or closes the shortcut setting, etc., causing trouble to the user.
  • the present invention provides a method and apparatus for erroneous operation identification to at least solve the problem that the touch screen misoperation cannot be recognized in the related art.
  • a method for identifying an erroneous operation includes: detecting a first contact on a touch screen; determining whether a length of a minimum circumscribed square of the first contact falls within a preset length threshold, And determining whether the width of the minimum circumscribed square falls within a preset width threshold; determining that the length does not fall within the preset length threshold, or determining that the width does not fall within the preset width threshold
  • the first contact is determined to be a contact generated by an erroneous operation.
  • determining that the first contact is a fault generated by the erroneous operation comprises: determining that the length falls within the preset length threshold, and determining that the width falls within the preset width threshold In the case, it is determined whether the triggering duration of the first contact falls within a preset duration threshold; and if it is determined that the trigger duration does not fall within the preset duration threshold, determining that the first contact is an error The resulting contacts are operated.
  • the method further includes: when the touch screen is in an unlocked state, Detecting a plurality of second contacts on the touch screen; acquiring a length of a minimum circumscribed square of each of the plurality of second contacts and a width of a minimum circumscribed square of each of the contacts; determining the The maximum length of the minimum circumscribed square of each contact is the predetermined length threshold, and the maximum width of the minimum circumscribed square of each contact is determined to be the preset width threshold.
  • determining whether the length of the minimum circumscribed square of the first contact falls within the preset length threshold, and determining whether the width of the minimum circumscribed square falls within the preset width threshold comprises: detecting the a maximum abscissa value of the first contact, a minimum abscissa value of the first contact, a maximum ordinate value of the first contact, and a minimum ordinate value of the first contact; determining the maximum Whether the first difference between the abscissa value and the minimum abscissa value falls within a preset abscissa threshold, and whether the second difference between the maximum ordinate value and the minimum ordinate value falls into a preset vertical Coordinate threshold; among them, When it is determined that the first difference does not fall within the preset abscissa threshold, it is determined that the length does not fall within the preset length threshold, and when it is determined that the second difference does not fall In the case of entering the preset ordinate threshold, it is determined that the width does not fall within the preset width threshold.
  • detecting the first contact on the touch screen comprises: determining whether the touch screen is in a locked state; and detecting that the touch screen is in the locked state, detecting the First contact.
  • the method further includes: not responding to the first contact.
  • the method further includes: determining that the length falls into the location Determining a preset length threshold, and determining that the first contact is a contact generated by a normal operation if it is determined that the width falls within the preset width threshold.
  • a erroneous operation identifying apparatus including: a first detecting module configured to detect a first contact on the touch screen; and a determining module configured to determine the first contact Whether the length of the minimum circumscribed square falls within a preset length threshold, and whether the width of the minimum circumscribed square falls within a preset width threshold; the first determining module is configured to determine that the length does not fall within the pre-determination
  • the length threshold is set, or, in the case that it is determined that the width does not fall within the preset width threshold, the first contact is determined to be a contact generated by an erroneous operation.
  • the first determining module includes: a first determining unit, configured to determine, when the length falls within the preset length threshold, and determine that the width falls within the preset width threshold Determining whether the triggering duration of the first contact falls within a preset duration threshold; the determining unit is configured to determine the first in a case that it is determined that the trigger duration does not fall within the preset duration threshold
  • the contact is a contact resulting from a misoperation.
  • the device further includes: a second detecting module, configured to detect a plurality of second contacts on the touch screen when the touch screen is in an unlocked state; and an acquiring module configured to acquire the plurality of a length of a minimum circumscribed square of each of the two contacts and a width of a minimum circumscribed square of each of the contacts; a second determining module configured to determine a length of the smallest circumscribed square of each of the contacts
  • the maximum length is the predetermined length threshold, and the maximum width of the width of the smallest circumscribed square of each of the contacts is determined to optionally preset a width threshold.
  • the determining module includes: a detecting unit configured to detect a maximum abscissa value of the first contact, a minimum abscissa value of the first contact, and a maximum ordinate of the first contact a value and a minimum ordinate value of the first contact; a second determining unit configured to determine whether the first difference between the maximum abscissa value and the minimum abscissa value falls within a preset abscissa threshold, and Determining whether the second difference between the maximum ordinate value and the minimum ordinate value falls within a preset ordinate threshold; wherein, determining that the first difference does not fall within the preset abscissa threshold In case, it is determined that the length does not fall within the preset length threshold, and if it is determined that the second difference does not fall within the preset ordinate threshold, it is determined that the width does not fall The preset width threshold.
  • detecting the first contact on the touch screen determining whether the length of the minimum circumscribed square of the first contact falls within a preset length threshold, and determining whether the width of the minimum circumscribed square falls within a preset width threshold; Determining the first touch if it is determined that the length does not fall within the preset length threshold, or if it is determined that the width does not fall within the preset width threshold.
  • FIG. 1 is a flow chart of a method for identifying an erroneous operation according to an embodiment of the present invention
  • FIG. 2 is a block diagram showing the structure of an erroneous operation identifying device according to an embodiment of the present invention
  • FIG. 3 is a block diagram 1 of an optional structure of an erroneous operation identifying device according to an embodiment of the present invention
  • FIG. 4 is a block diagram 2 of an optional structure of an erroneous operation identifying device according to an embodiment of the present invention
  • FIG. 5 is a block diagram 3 of an optional structure of an erroneous operation identifying apparatus according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a touch of a erroneous operation recognition method according to an alternative embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a sliding touch of a erroneous operation recognition method according to an alternative embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a touch area of a erroneous operation recognition method according to an alternative embodiment of the present invention.
  • FIG. 9 is a flow chart of a method of erroneous operation identification in accordance with an alternative embodiment of the present invention.
  • FIG. 1 is a flowchart of a erroneous operation identification method according to an embodiment of the present invention. As shown in FIG. 1, the flow includes the following steps:
  • Step S102 detecting a first contact on the touch screen
  • Step S104 determining whether the length of the minimum circumscribed square of the first contact falls within a preset length threshold, and determining whether the width of the minimum circumscribed square falls within a preset width threshold;
  • step S106 if it is determined that the length does not fall within the preset length threshold, or if it is determined that the width does not fall within the preset width threshold, it is determined that the first contact is a contact generated by the erroneous operation.
  • the area of the contact due to the erroneous operation is usually not regular and is larger than the area of the normal operation touch, and therefore, the minimum external square of the area of the contact generated by the erroneous operation is usually larger than the area of the normal operation touch.
  • the minimum circumscribed square has a larger length or a larger width, and can determine whether the length and the width of the smallest circumscribed square of the detected first contact fall within a preset threshold, and determine the length of the minimum circumscribed square of the first contact and In the case where the width does not fall within the preset threshold, the first contact is determined as the contact resulting from the erroneous operation. It can be seen that the above steps solve the problem that the touch screen misoperation cannot be recognized, and the recognition of the touch screen misoperation is realized.
  • step S104 the circumcircle of the minimum circumscribed square may be generated.
  • the duration of the contact due to the erroneous operation is usually much greater than or far less than the duration of the normal operating contact. Therefore, when the minimum circumscribed square of the first contact falls within a preset threshold, Determining whether the first contact is a contact generated by an erroneous operation by determining the duration of the contact, for example, in the above step S106, it is also possible to determine that the length falls within a preset length threshold, and determine that the width falls. In the case of the preset width threshold, it is determined whether the trigger duration of the first contact falls within a preset duration threshold; and when it is determined that the trigger duration does not fall within the preset duration threshold, determining that the first contact is caused by a misoperation Contact.
  • the contacts generated by the erroneous operation are identified according to the contact area and the duration of the touch, which solves the problem that the erroneous operation cannot be recognized after the touch screen is locked, realizes the erroneous operation recognition after the touch screen is locked, and improves the misoperation.
  • the accuracy is the accuracy.
  • the preset length threshold and the preset width threshold may be calculated according to the daily operation habits of the user.
  • the plurality of second contacts on the touch screen may be detected when the touch screen is in the unlocked state; the length of the minimum circumscribed square of each of the plurality of second contacts and each contact may be acquired The minimum circumscribed square width; the maximum length of the minimum circumscribed square of each contact is determined to be a preset length threshold, and the maximum width of the minimum circumscribed square of each contact is determined to be a preset width threshold.
  • the maximum length of the minimum circumscribed square of each contact and the maximum width of the minimum circumscribed square of each contact are obtained, the maximum length and the maximum width are set in a preset range. Within the range, the value outside the preset range will be considered as a value that does not meet the daily operation habits, and will be automatically discarded. Thus, the preset length threshold and the preset width threshold are obtained, and the preset length threshold and the preset width are also ensured. The rationality of the threshold.
  • the minimum circumscribed square of the first contact may be established by making the direction of the coordinate axis of the edge of the minimum circumscribed square, or may be established at any angle.
  • the case of establishing the coordinate axis direction of the edge of the minimum circumscribed square touch screen will be taken as an example.
  • the length and width of the minimum circumscribed square can be calculated by obtaining the coordinate values of the four vertices. Will not repeat them.
  • the maximum abscissa value, the minimum abscissa value, and the maximum ordinate of the first contact may be detected.
  • whether the first contact is detected may be determined by determining whether the touch screen is in a locked state, thereby avoiding a normal operation (such as a palm gesture) performed by the user when the touch screen is not locked. Otherwise, it is considered to be a case of erroneous operation. Therefore, according to the above steps, the first contact on the touch screen can be detected in the case where it is determined that the touch screen is in the locked state.
  • the first contact in the case that the first contact is determined to be a contact generated by the erroneous operation, the first contact may not be responded, and the prompt information of the erroneous operation may be displayed on the touch screen. The user can also be prompted by vibration.
  • step S104 after determining that the length falls within the preset length threshold, and determining that the width falls within the preset width threshold, determining that the first contact is a contact generated by the normal operation, For normal operation of the contacts, you can operate according to the existing process.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
  • an erroneous operation identification device is provided, which is used to implement the above-mentioned embodiments and optional embodiments, and has not been described again.
  • the term “module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the apparatus includes: a first detecting module 22, a determining module 24, and a first determining module 26, wherein the first detecting module 22 And being configured to detect the first contact on the touch screen;
  • the determining module 24 is coupled to the first detecting module 22, configured to determine whether the length of the minimum circumscribed square of the first contact falls within a preset length threshold, and determine the minimum circumscribed square Whether the width falls within the preset width threshold;
  • the first determining module 26 is coupled to the determining module 24, configured to determine that the length does not fall within the preset length threshold, or to determine that the width does not fall within the preset width threshold In the case, it is determined that the first contact is a contact generated by an erroneous operation.
  • FIG. 3 is a block diagram of an optional structure of the erroneous operation identifying apparatus according to the embodiment of the present invention.
  • the first determining module 26 includes: a first determining unit 32 and a determining unit 34, where The first determining unit 32 is configured to determine, when the length falls within the preset length threshold, and determine that the width falls within the preset width threshold, determine whether the trigger duration of the first contact falls within a preset duration threshold;
  • the unit 34 is coupled to the first determining unit 32, and is configured to determine that the first contact is a contact generated by an erroneous operation when it is determined that the triggering duration does not fall within the preset duration threshold.
  • the device further includes: a second detecting module 42, an obtaining module 44 and a second determining module 46, wherein the second detecting module 42 is configured to detect a plurality of second contacts on the touch screen when the touch screen is in an unlocked state;
  • the module 44 is coupled to the second detecting module 42 and configured to obtain a length of a minimum circumscribed square of each of the plurality of second contacts and a width of a minimum circumscribed square of each contact;
  • a second determining module 46 coupled Between the acquisition module 44 and the determination module 24, the maximum length of the minimum circumscribed squares of each contact is determined to be a preset length threshold, and the maximum width of the minimum circumscribed square of each contact is determined.
  • the width threshold is not preset.
  • FIG. 5 is a block diagram 3 of an optional structure of the erroneous operation identifying apparatus according to the embodiment of the present invention.
  • the determining module 24 includes: a detecting unit 52 and a second determining unit 54, wherein the detecting unit 52 And configured to detect a maximum abscissa value of the first contact, a minimum abscissa value of the first contact, a maximum ordinate value of the first contact, and a minimum ordinate value of the first contact; the second determining unit 54, Coupled to the detecting unit 52, configured to determine whether the first difference between the maximum abscissa value and the minimum abscissa value falls within a preset abscissa threshold, and whether the second difference between the maximum ordinate value and the minimum ordinate value is determined to fall Entering a preset ordinate threshold; wherein, in the case that it is determined that the first difference does not fall within the preset abscissa threshold, it is determined that the length does not fall within the preset
  • the first detecting module 22 is further configured to determine whether the touch screen is in a locked state; and when it is determined that the touch screen is in a locked state, detecting the first contact on the touch screen.
  • the apparatus further includes: a non-responsive module coupled to the first determining module 26, configured to not respond to the first contact after determining that the first contact is a contact generated by the erroneous operation.
  • a non-responsive module coupled to the first determining module 26, configured to not respond to the first contact after determining that the first contact is a contact generated by the erroneous operation.
  • the device further includes: a third determining module, coupled to the determining module 24, configured to determine that the length falls within a preset length threshold, and determines that the width falls within a preset width threshold
  • a third determining module coupled to the determining module 24, configured to determine that the length falls within a preset length threshold, and determines that the width falls within a preset width threshold
  • One contact is a contact that is produced by normal operation.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • Embodiments of the present invention also provide a software for performing the technical solutions described in the foregoing embodiments and optional embodiments.
  • Embodiments of the present invention also provide a storage medium.
  • the above storage medium may be configured to store program code for performing the following steps:
  • Step S102 detecting a first contact on the touch screen
  • Step S104 determining whether the length of the minimum circumscribed square of the first contact falls within a preset length threshold, and determining whether the width of the minimum circumscribed square falls within a preset width threshold;
  • step S106 if it is determined that the length does not fall within the preset length threshold, or if it is determined that the width does not fall within the preset width threshold, it is determined that the first contact is a contact generated by the erroneous operation.
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • An alternative embodiment of the present invention provides a erroneous operation recognition method by which it is possible to determine whether a touch is an erroneous operation according to the size of the touch area (corresponding to the first contact) and the length of the touch time.
  • the normal touch unlocking is performed by the user touching the screen with a finger, and the size, shape and duration of the touch when the human finger touches the screen have obvious distinguishing features from the touch generated by the friction of the mobile phone in the pocket of the clothes or the trouser pocket.
  • FIG. 6 is a schematic diagram of a touch operation of a erroneous operation recognition method according to an alternative embodiment of the present invention.
  • the finger touch area is small, has a regular shape, is approximately square, and can be replaced by a larger square, which is called a reference.
  • Square for example: the reference square has a length of Lmax and a width of Wmax; the frictional touch area is much larger than the finger touch area, and the shape is irregular and randomly changes.
  • FIG. 7 is a schematic diagram of a sliding touch of a erroneous operation recognition method according to an alternative embodiment of the present invention.
  • the finger touch area remains unchanged when the button is unlocked; the finger touch area can be regarded as a series of squares when the slide is unlocked. Superposition, the connection of the center can be considered as a straight line, and the touch area is still a square at any sampling time.
  • the touch area at the time of erroneous unlocking caused by the frictional contact may have a large touch area or a plurality of touch areas elsewhere in the screen, in addition to the trajectory that happens to cover the unlocked position or the slide unlocked.
  • the finger touch time is short when unlocking, and does not last too long from pressing to lifting, such as 1-2 seconds, the maximum time the user normally touches is called Tmax.
  • the frictional touch lasts for a long time and will continue as long as it is placed in the pocket and the user's body is in motion.
  • the length Lmax and the width Wmax of the touch area reference square used for the determination of the alternative embodiment of the present invention can be adjusted by different user samples, that is, the finger touch area of the user 1, 2, ..., n can be included in the length L1.
  • the above may also include the case where the user has gloves.
  • the touch area generated by the rubbing touch is much larger than the touch area generated by the user's finger touch, it is always possible to find a reference square that can include different user finger touch areas. Moreover, the reference square size is still much smaller than the touch area produced by the frictional touch.
  • FIG. 8 is a schematic diagram of a touch area of a erroneous operation recognition method according to an alternative embodiment of the present invention.
  • the reference square has a length Lmax and a width Wmax; and the normal operation area is surrounded by X1max, X1min, Y1max, and Y1min. Square area; the misoperation area is the area indicated by X2max, X2min, Y2max, Y2min.
  • FIG. 9 is a flowchart of a method for identifying an erroneous operation according to an alternative embodiment of the present invention. As shown in FIG. 9, the flow includes the following steps:
  • Step S902 when the mobile phone is in the state that the screen is on, when the mobile phone receives the reported touch event
  • Step S904 determining whether the current screen is locked
  • Step S906 if the unlock is not performed, continue to execute according to the original process
  • Step S910 when ⁇ X>Lmax or ⁇ Y>Wmax, it can be considered as an erroneous operation, because the touch area is larger than the reference square at this time, and cannot be included by the reference square;
  • Step S912 when ⁇ X ⁇ Lmax and ⁇ Y ⁇ Wmax are satisfied, the touch area may be included in a reference square having a length Lmax and a width Lmax, and determining whether the touch time is less than Tmax;
  • step S914 when the touch time is not less than Tmax, it is determined to be an erroneous operation, otherwise it is determined to be a normal operation.
  • an erroneous operation recognition mode is added by the above-mentioned embodiment and the optional embodiment of the present invention.
  • the optional embodiment of the present invention provides a erroneous operation recognition method, by determining whether the operation area falls into Refer to the square area and whether the operation duration is less than the preset duration to identify the erroneous operation on the touch screen, and determine that the operation area does not fall into the reference square area, or determine that the operation area falls into the reference square area but the operation duration is not less than
  • the operation is recognized as an erroneous operation, and the problem that the erroneous operation cannot be recognized after the touch screen is locked is solved, and the erroneous operation recognition after the touch screen is locked is realized.
  • the area of the contact that is generated by the erroneous operation of the present invention is generally irregular and larger than the area of the normal operation touch. Therefore, the minimum circumscribed square of the area of the contact generated by the erroneous operation is usually The length of the minimum circumscribed square of the area touched by the normal operation is larger or the width is larger, and the first contact can be judged by judging whether the length and the width of the smallest circumscribed square of the detected first contact fall within a preset threshold. In the case where the length and width of the smallest circumscribed square do not fall within the preset threshold, the first contact is determined as the contact resulting from the erroneous operation. It can be seen that the above steps solve the problem that the touch screen misoperation cannot be recognized, and the recognition of the touch screen misoperation is realized.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described Alternatively, each of them may be fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof may be fabricated into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.

Abstract

Provided in the present invention are an accidental operation identification method and device. The method comprises: detecting a first contact point on a touch screen; determining whether the length of a minimum bounding rectangle of the first contact point falls within a preset length threshold, and determining whether the width of the minimum bounding rectangle falls within a preset width threshold; upon determining that the length does not fall within the preset length threshold, or upon determining that the width does not fall within the preset width threshold, determining the first contact point is a contact point produced by an accidental operation. The present invention addresses the problem in which a touch screen cannot identify an accidental operation, thereby realizing identification of an accidental operation of a touch screen.

Description

误操作识别方法和装置Misoperation identification method and device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种误操作识别方法和装置。The present invention relates to the field of communications, and in particular to a method and apparatus for erroneous operation identification.
背景技术Background technique
本发明的发明人在研究过程中发现,如果将手机放入衣服口袋或者裤兜中,即使手机已经锁屏,由于手机触摸屏和人体的不停接触摩擦,在行走的过程中都会有一定概率的出现手机误拨电话,误运行应用,误打开,或者关闭快捷设置等误操作问题,给用户带来困扰。The inventor of the present invention found in the research process that if the mobile phone is put into a pocket or a trouser pocket, even if the mobile phone has been locked, due to the constant contact friction between the touch screen of the mobile phone and the human body, there will be a certain probability in the walking process. The user misunderstood the phone, mis-runs the application, accidentally opens, or closes the shortcut setting, etc., causing trouble to the user.
针对相关技术中无法识别触摸屏的误操作的问题,目前尚未提出有效的解决方案。In view of the problem of misoperation of the touch panel that cannot be recognized in the related art, an effective solution has not been proposed yet.
发明内容Summary of the invention
本发明提供了一种误操作识别方法和装置,以至少解决相关技术中无法识别触摸屏误操作的问题。The present invention provides a method and apparatus for erroneous operation identification to at least solve the problem that the touch screen misoperation cannot be recognized in the related art.
根据本发明实施例的一个方面,提供了一种误操作识别方法,包括:检测触摸屏上的第一触点;判断所述第一触点的最小外接方形的长度是否落入预设长度阈值,以及判断所述最小外接方形的宽度是否落入预设宽度阈值;在判断到所述长度未落入所述预设长度阈值,或者,在判断到所述宽度未落入所述预设宽度阈值的情况下,确定所述第一触点为误操作产生的触点。According to an aspect of the present invention, a method for identifying an erroneous operation includes: detecting a first contact on a touch screen; determining whether a length of a minimum circumscribed square of the first contact falls within a preset length threshold, And determining whether the width of the minimum circumscribed square falls within a preset width threshold; determining that the length does not fall within the preset length threshold, or determining that the width does not fall within the preset width threshold In case, the first contact is determined to be a contact generated by an erroneous operation.
可选地,确定所述第一触点为误操作产生的触点包括:在判断到所述长度落入所述预设长度阈值,以及判断到所述宽度落入所述预设宽度阈值的情况下,判断所述第一触点的触发时长是否落入预设时长阈值;在判断到所述触发时长未落入所述预设时长阈值的情况下,确定所述第一触点为误操作产生的触点。Optionally, determining that the first contact is a fault generated by the erroneous operation comprises: determining that the length falls within the preset length threshold, and determining that the width falls within the preset width threshold In the case, it is determined whether the triggering duration of the first contact falls within a preset duration threshold; and if it is determined that the trigger duration does not fall within the preset duration threshold, determining that the first contact is an error The resulting contacts are operated.
可选地,在判断所述长度是否落入所述预设长度阈值,以及判断所述宽度是否落入所述预设宽度阈值之前,所述方法还包括:在所述触摸屏处于解锁状态下,检测所述触摸屏上的多个第二触点;获取所述多个第二触点中每个触点的最小外接方形的长度和所述每个触点的最小外接方形的宽度;确定所述每个触点的最小外接方形的长度中的最大长度为所述预设长度阈值,以及确定所述每个触点的最小外接方形的宽度中的最大宽度为所述预设宽度阈值。Optionally, before determining whether the length falls within the preset length threshold, and determining whether the width falls within the preset width threshold, the method further includes: when the touch screen is in an unlocked state, Detecting a plurality of second contacts on the touch screen; acquiring a length of a minimum circumscribed square of each of the plurality of second contacts and a width of a minimum circumscribed square of each of the contacts; determining the The maximum length of the minimum circumscribed square of each contact is the predetermined length threshold, and the maximum width of the minimum circumscribed square of each contact is determined to be the preset width threshold.
可选地,判断所述第一触点的最小外接方形的长度是否落入所述预设长度阈值,以及判断所述最小外接方形的宽度是否落入所述预设宽度阈值包括:检测所述第一触点的最大横坐标值、所述第一触点的最小横坐标值、所述第一触点的最大纵坐标值和所述第一触点的最小纵坐标值;判断所述最大横坐标值和所述最小横坐标值的第一差值是否落入预设横坐标阈值,以及判断所述最大纵坐标值和所述最小纵坐标值的第二差值是否落入预设纵坐标阈值;其中, 在判断到所述第一差值未落入所述预设横坐标阈值的情况下,判断为所述长度未落入所述预设长度阈值,以及在判断到所述第二差值未落入所述预设纵坐标阈值的情况下,判断为所述宽度未落入所述预设宽度阈值。Optionally, determining whether the length of the minimum circumscribed square of the first contact falls within the preset length threshold, and determining whether the width of the minimum circumscribed square falls within the preset width threshold comprises: detecting the a maximum abscissa value of the first contact, a minimum abscissa value of the first contact, a maximum ordinate value of the first contact, and a minimum ordinate value of the first contact; determining the maximum Whether the first difference between the abscissa value and the minimum abscissa value falls within a preset abscissa threshold, and whether the second difference between the maximum ordinate value and the minimum ordinate value falls into a preset vertical Coordinate threshold; among them, When it is determined that the first difference does not fall within the preset abscissa threshold, it is determined that the length does not fall within the preset length threshold, and when it is determined that the second difference does not fall In the case of entering the preset ordinate threshold, it is determined that the width does not fall within the preset width threshold.
可选地,检测所述触摸屏上的所述第一触点包括:判断所述触摸屏是否处于锁定状态;在判断到所述触摸屏处于所述锁定状态的情况下,检测所述触摸屏上的所述第一触点。Optionally, detecting the first contact on the touch screen comprises: determining whether the touch screen is in a locked state; and detecting that the touch screen is in the locked state, detecting the First contact.
可选地,在确定所述第一触点为误操作产生的触点之后,所述方法还包括:对所述第一触点不予响应。Optionally, after determining that the first contact is a contact generated by an erroneous operation, the method further includes: not responding to the first contact.
可选地,在判断所述长度是否落入所述预设长度阈值,以及判断所述宽度是否落入所述预设宽度阈值之后,所述方法还包括:在判断到所述长度落入所述预设长度阈值,以及在判断到所述宽度落入所述预设宽度阈值的情况下,确定所述第一触点为正常操作产生的触点。Optionally, after determining whether the length falls within the preset length threshold, and determining whether the width falls within the preset width threshold, the method further includes: determining that the length falls into the location Determining a preset length threshold, and determining that the first contact is a contact generated by a normal operation if it is determined that the width falls within the preset width threshold.
根据本发明实施例的另一个方面,还提供了一种误操作识别装置,包括:第一检测模块,设置为检测触摸屏上的第一触点;判断模块,设置为判断所述第一触点的最小外接方形的长度是否落入预设长度阈值,以及判断所述最小外接方形的宽度是否落入预设宽度阈值;第一确定模块,设置为在判断到所述长度未落入所述预设长度阈值,或者,在判断到所述宽度未落入所述预设宽度阈值的情况下,确定所述第一触点为误操作产生的触点。According to another aspect of the embodiments of the present invention, a erroneous operation identifying apparatus is provided, including: a first detecting module configured to detect a first contact on the touch screen; and a determining module configured to determine the first contact Whether the length of the minimum circumscribed square falls within a preset length threshold, and whether the width of the minimum circumscribed square falls within a preset width threshold; the first determining module is configured to determine that the length does not fall within the pre-determination The length threshold is set, or, in the case that it is determined that the width does not fall within the preset width threshold, the first contact is determined to be a contact generated by an erroneous operation.
可选地,所述第一确定模块包括:第一判断单元,设置为在判断到所述长度落入所述预设长度阈值,以及判断到所述宽度落入所述预设宽度阈值的情况下,判断所述第一触点的触发时长是否落入预设时长阈值;确定单元,设置为在判断到所述触发时长未落入所述预设时长阈值的情况下,确定所述第一触点为误操作产生的触点。Optionally, the first determining module includes: a first determining unit, configured to determine, when the length falls within the preset length threshold, and determine that the width falls within the preset width threshold Determining whether the triggering duration of the first contact falls within a preset duration threshold; the determining unit is configured to determine the first in a case that it is determined that the trigger duration does not fall within the preset duration threshold The contact is a contact resulting from a misoperation.
可选地,所述装置还包括:第二检测模块,设置为在所述触摸屏处于解锁状态下,检测所述触摸屏上的多个第二触点;获取模块,设置为获取所述多个第二触点中每个触点的最小外接方形的长度和所述每个触点的最小外接方形的宽度;第二确定模块,设置为确定所述每个触点的最小外接方形的长度中的最大长度为所述预设长度阈值,以及确定所述每个触点的最小外接方形的宽度中的最大宽度可选地预设宽度阈值。Optionally, the device further includes: a second detecting module, configured to detect a plurality of second contacts on the touch screen when the touch screen is in an unlocked state; and an acquiring module configured to acquire the plurality of a length of a minimum circumscribed square of each of the two contacts and a width of a minimum circumscribed square of each of the contacts; a second determining module configured to determine a length of the smallest circumscribed square of each of the contacts The maximum length is the predetermined length threshold, and the maximum width of the width of the smallest circumscribed square of each of the contacts is determined to optionally preset a width threshold.
可选地,所述判断模块包括:检测单元,设置为检测所述第一触点的最大横坐标值、所述第一触点的最小横坐标值、所述第一触点的最大纵坐标值和所述第一触点的最小纵坐标值;第二判断单元,设置为判断所述最大横坐标值和所述最小横坐标值的第一差值是否落入预设横坐标阈值,以及判断所述最大纵坐标值和所述最小纵坐标值的第二差值是否落入预设纵坐标阈值;其中,在判断到所述第一差值未落入所述预设横坐标阈值的情况下,判断为所述长度未落入所述预设长度阈值,以及在判断到所述第二差值未落入所述预设纵坐标阈值的情况下,判断为所述宽度未落入所述预设宽度阈值。Optionally, the determining module includes: a detecting unit configured to detect a maximum abscissa value of the first contact, a minimum abscissa value of the first contact, and a maximum ordinate of the first contact a value and a minimum ordinate value of the first contact; a second determining unit configured to determine whether the first difference between the maximum abscissa value and the minimum abscissa value falls within a preset abscissa threshold, and Determining whether the second difference between the maximum ordinate value and the minimum ordinate value falls within a preset ordinate threshold; wherein, determining that the first difference does not fall within the preset abscissa threshold In case, it is determined that the length does not fall within the preset length threshold, and if it is determined that the second difference does not fall within the preset ordinate threshold, it is determined that the width does not fall The preset width threshold.
通过本发明实施例,采用检测触摸屏上的第一触点;判断第一触点的最小外接方形的长度是否落入预设长度阈值,以及判断最小外接方形的宽度是否落入预设宽度阈值;在判断到长度未落入预设长度阈值,或者,在判断到宽度未落入预设宽度阈值的情况下,确定第一触 点为误操作产生的触点的方式,解决了无法识别触摸屏误操作的问题,实现了触摸屏误操作的识别。According to the embodiment of the invention, detecting the first contact on the touch screen; determining whether the length of the minimum circumscribed square of the first contact falls within a preset length threshold, and determining whether the width of the minimum circumscribed square falls within a preset width threshold; Determining the first touch if it is determined that the length does not fall within the preset length threshold, or if it is determined that the width does not fall within the preset width threshold The method of clicking the contact generated by the misoperation solves the problem that the touch screen cannot be recognized by mistake, and realizes the recognition of the touch screen misoperation.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的误操作识别方法的流程图;1 is a flow chart of a method for identifying an erroneous operation according to an embodiment of the present invention;
图2是根据本发明实施例的误操作识别装置的结构框图;2 is a block diagram showing the structure of an erroneous operation identifying device according to an embodiment of the present invention;
图3是根据本发明实施例的误操作识别装置的可选结构框图一;3 is a block diagram 1 of an optional structure of an erroneous operation identifying device according to an embodiment of the present invention;
图4是根据本发明实施例的误操作识别装置的可选结构框图二;4 is a block diagram 2 of an optional structure of an erroneous operation identifying device according to an embodiment of the present invention;
图5是根据本发明实施例的误操作识别装置的可选结构框图三;FIG. 5 is a block diagram 3 of an optional structure of an erroneous operation identifying apparatus according to an embodiment of the present invention; FIG.
图6是根据本发明可选实施例的误操作识别方法的触摸示意图;6 is a schematic diagram of a touch of a erroneous operation recognition method according to an alternative embodiment of the present invention;
图7是根据本发明可选实施例的误操作识别方法的滑动触摸示意图;7 is a schematic diagram of a sliding touch of a erroneous operation recognition method according to an alternative embodiment of the present invention;
图8是根据本发明可选实施例的误操作识别方法的触摸区域示意图;8 is a schematic diagram of a touch area of a erroneous operation recognition method according to an alternative embodiment of the present invention;
图9是根据本发明可选实施例的误操作识别方法的流程图。9 is a flow chart of a method of erroneous operation identification in accordance with an alternative embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种误操作识别方法,图1是根据本发明实施例的误操作识别方法的流程图,如图1所示,该流程包括如下步骤:In the embodiment, a erroneous operation identification method is provided. FIG. 1 is a flowchart of a erroneous operation identification method according to an embodiment of the present invention. As shown in FIG. 1, the flow includes the following steps:
步骤S102,检测触摸屏上的第一触点;Step S102, detecting a first contact on the touch screen;
步骤S104,判断第一触点的最小外接方形的长度是否落入预设长度阈值,以及判断最小外接方形的宽度是否落入预设宽度阈值;Step S104, determining whether the length of the minimum circumscribed square of the first contact falls within a preset length threshold, and determining whether the width of the minimum circumscribed square falls within a preset width threshold;
步骤S106,在判断到长度未落入预设长度阈值,或者,在判断到宽度未落入预设宽度阈值的情况下,确定第一触点为误操作产生的触点。In step S106, if it is determined that the length does not fall within the preset length threshold, or if it is determined that the width does not fall within the preset width threshold, it is determined that the first contact is a contact generated by the erroneous operation.
通过上述步骤,由于误操作产生的触点的区域通常是没有规则并且要大于正常操作触摸的区域的,因此,误操作产生的触点的区域的最小外接方形通常会比正常操作触摸的区域的 最小外接方形长度更大或者宽度更大,可以通过判断检测到的第一触点的最小外接方形的长度和宽度是否落入预设阈值,在判断到第一触点的最小外接方形的长度和宽度未落入预设阈值的情况下,将第一触点确定为误操作产生的触点。可见,采用上述步骤,解决了无法识别触摸屏误操作的问题,实现了触摸屏误操作的识别。Through the above steps, the area of the contact due to the erroneous operation is usually not regular and is larger than the area of the normal operation touch, and therefore, the minimum external square of the area of the contact generated by the erroneous operation is usually larger than the area of the normal operation touch. The minimum circumscribed square has a larger length or a larger width, and can determine whether the length and the width of the smallest circumscribed square of the detected first contact fall within a preset threshold, and determine the length of the minimum circumscribed square of the first contact and In the case where the width does not fall within the preset threshold, the first contact is determined as the contact resulting from the erroneous operation. It can be seen that the above steps solve the problem that the touch screen misoperation cannot be recognized, and the recognition of the touch screen misoperation is realized.
作为一种可选的实施方式,在步骤S104中,可以生成该最小外接方形的外接圆,在步骤S106中,则可以通过判断该外接圆的直径是否落入预设直径阈值内。其中,假设预设直径阈值为2R,预设长度阈值为L,预设宽度阈值为W,则:R2=(L/2)2+(W/2)2As an optional implementation manner, in step S104, the circumcircle of the minimum circumscribed square may be generated. In step S106, it may be determined whether the diameter of the circumscribed circle falls within a preset diameter threshold. Wherein, assuming that the preset diameter threshold is 2R, the preset length threshold is L, and the preset width threshold is W, then: R 2 = (L/2) 2 + (W/2) 2 .
可选地,由于误操作产生的触点的持续时长通常远远大于或者远远小于正常操作触点的持续时长,因此,在第一触点的最小外接方形落入预设阈值时,还可以通过对触点持续时长的判断来确定第一触点是否为误操作产生的触点,例如:在上述步骤S106中,还可以在判断到长度落入预设长度阈值,以及判断到宽度落入预设宽度阈值的情况下,判断第一触点的触发时长是否落入预设时长阈值;在判断到触发时长未落入预设时长阈值的情况下,确定第一触点为误操作产生的触点。通过上述步骤,同时根据触点区域和触摸持续时长来识别误操作产生的触点,解决了触摸屏锁定后误操作无法识别的问题,实现了触摸屏锁定后误操作识别,并且提高了误操作是别的精确度。Optionally, the duration of the contact due to the erroneous operation is usually much greater than or far less than the duration of the normal operating contact. Therefore, when the minimum circumscribed square of the first contact falls within a preset threshold, Determining whether the first contact is a contact generated by an erroneous operation by determining the duration of the contact, for example, in the above step S106, it is also possible to determine that the length falls within a preset length threshold, and determine that the width falls. In the case of the preset width threshold, it is determined whether the trigger duration of the first contact falls within a preset duration threshold; and when it is determined that the trigger duration does not fall within the preset duration threshold, determining that the first contact is caused by a misoperation Contact. Through the above steps, the contacts generated by the erroneous operation are identified according to the contact area and the duration of the touch, which solves the problem that the erroneous operation cannot be recognized after the touch screen is locked, realizes the erroneous operation recognition after the touch screen is locked, and improves the misoperation. The accuracy.
可选地,为了使上述预设长度阈值和预设宽度阈值的设置更加符合用户的操作习惯,提升用户体验,上述预设长度阈值和预设宽度阈值可以根据用户的日常操作习惯统计得出,例如:在上述步骤S104之前,可以在触摸屏处于解锁状态下,检测触摸屏上的多个第二触点;获取多个第二触点中每个触点的最小外接方形的长度和每个触点的最小外接方形的宽度;确定每个触点的最小外接方形的长度中的最大长度为预设长度阈值,以及确定每个触点的最小外接方形的宽度中的最大宽度为预设宽度阈值。需要说明的是,在获取每个触点的最小外接方形的长度中的最大长度和每个触点的最小外接方形的宽度中的最大宽度时,上述最大长度和最大宽度设定在预设范围内,超出预设范围的值将被认为是不符合日常操作习惯的值,自动丢弃,这样,在获得预设长度阈值和预设宽度阈值的同时,也确保了预设长度阈值和预设宽度阈值的合理性。Optionally, in order to make the setting of the preset length threshold and the preset width threshold more in line with the user's operating habits and improve the user experience, the preset length threshold and the preset width threshold may be calculated according to the daily operation habits of the user. For example, before the step S104, the plurality of second contacts on the touch screen may be detected when the touch screen is in the unlocked state; the length of the minimum circumscribed square of each of the plurality of second contacts and each contact may be acquired The minimum circumscribed square width; the maximum length of the minimum circumscribed square of each contact is determined to be a preset length threshold, and the maximum width of the minimum circumscribed square of each contact is determined to be a preset width threshold. It should be noted that, when the maximum length of the minimum circumscribed square of each contact and the maximum width of the minimum circumscribed square of each contact are obtained, the maximum length and the maximum width are set in a preset range. Within the range, the value outside the preset range will be considered as a value that does not meet the daily operation habits, and will be automatically discarded. Thus, the preset length threshold and the preset width threshold are obtained, and the preset length threshold and the preset width are also ensured. The rationality of the threshold.
可选地,上述第一触点的最小外接方形可以是使最小外接方形的边沿触摸屏的坐标轴方向建立的,也可以是任意角度建立的。下面将以使最小外接方形的边沿触摸屏的坐标轴方向建立的情况为例进行说明,对于任意角度建立的情况,最小外接方形的长度和宽度是可以通过获取其四个顶点的坐标值计算出来的,将不再赘述。Optionally, the minimum circumscribed square of the first contact may be established by making the direction of the coordinate axis of the edge of the minimum circumscribed square, or may be established at any angle. In the following, the case of establishing the coordinate axis direction of the edge of the minimum circumscribed square touch screen will be taken as an example. For the case of establishing any angle, the length and width of the minimum circumscribed square can be calculated by obtaining the coordinate values of the four vertices. Will not repeat them.
可选地,在沿触摸屏的坐标轴建立第一触点的最小外接方形的情况下,在上述步骤S104中,可以检测到第一触点的最大横坐标值、最小横坐标值、最大纵坐标值和最小纵坐标值;通过判断最大横坐标值和最小横坐标值的第一差值是否落入预设横坐标阈值来判断最小外接方形的长度是否落入预设长度阈值,以及通过判断最大纵坐标值和最小纵坐标值的第二差值是否落入预设纵坐标阈值来判断最小外接方形的宽度是否落入预设宽度阈值,其中,在判断到第一差值未落入预设横坐标阈值的情况下,判断为长度未落入预设长度阈值,以及在判断到第二差值未落入预设纵坐标阈值的情况下,判断为宽度未落入预设宽度阈值。通过上述步 骤,可以简便的获取最小外接方形的长度和宽度,并与预设值进行比较,避免了复杂的计算过程。Optionally, in the case that the minimum circumscribed square of the first contact is established along the coordinate axis of the touch screen, in the above step S104, the maximum abscissa value, the minimum abscissa value, and the maximum ordinate of the first contact may be detected. a value and a minimum ordinate value; determining whether the length of the minimum circumscribed square falls within a preset length threshold by determining whether the first difference between the maximum horizontal coordinate value and the minimum horizontal coordinate value falls within a preset abscissa threshold, and Whether the second difference between the ordinate value and the minimum ordinate value falls within a preset ordinate threshold to determine whether the width of the minimum circumscribed square falls within a preset width threshold, wherein it is determined that the first difference does not fall into the preset In the case of the abscissa threshold, it is determined that the length does not fall within the preset length threshold, and in the case where it is determined that the second difference does not fall within the preset ordinate threshold, it is determined that the width does not fall within the preset width threshold. Through the above steps The length and width of the minimum circumscribed square can be easily obtained and compared with preset values to avoid complicated calculation process.
可选地,在上述步骤S102中,还可以通过判断触摸屏是否处于锁定状态来决定是否对第一触点进行检测,这样可以避免将用户在触摸屏未锁定的情况下进行的常规操作(例如手掌手势等)误认为是误操作的情况,因此,可以根据上述步骤,在判断到触摸屏处于锁定状态的情况下,检测触摸屏上的第一触点。Optionally, in the foregoing step S102, whether the first contact is detected may be determined by determining whether the touch screen is in a locked state, thereby avoiding a normal operation (such as a palm gesture) performed by the user when the touch screen is not locked. Otherwise, it is considered to be a case of erroneous operation. Therefore, according to the above steps, the first contact on the touch screen can be detected in the case where it is determined that the touch screen is in the locked state.
可选地,在上述步骤S106之后,在确定了第一触点为误操作产生的触点的情况下,可以对第一触点不予响应,也可以在触摸屏上显示误操作的提示信息,还可以通过振动的方式提示用户。Optionally, after the step S106, in the case that the first contact is determined to be a contact generated by the erroneous operation, the first contact may not be responded, and the prompt information of the erroneous operation may be displayed on the touch screen. The user can also be prompted by vibration.
可选地,在上述步骤S104之后,在判断到长度落入预设长度阈值,以及在判断到宽度落入预设宽度阈值的情况下,可以确定第一触点为正常操作产生的触点,对于正常操作的触点,可以根据既有流程进行操作。Optionally, after the step S104, after determining that the length falls within the preset length threshold, and determining that the width falls within the preset width threshold, determining that the first contact is a contact generated by the normal operation, For normal operation of the contacts, you can operate according to the existing process.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
在本实施例中还提供了一种误操作识别装置,该装置用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, an erroneous operation identification device is provided, which is used to implement the above-mentioned embodiments and optional embodiments, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的误操作识别装置的结构框图,如图2所示,该装置包括:第一检测模块22,判断模块24和第一确定模块26,其中,第一检测模块22,设置为检测触摸屏上的第一触点;判断模块24,耦合至第一检测模块22,设置为判断第一触点的最小外接方形的长度是否落入预设长度阈值,以及判断最小外接方形的宽度是否落入预设宽度阈值;第一确定模块26,耦合至判断模块24,设置为在判断到长度未落入预设长度阈值,或者,在判断到宽度未落入预设宽度阈值的情况下,确定第一触点为误操作产生的触点。2 is a structural block diagram of an erroneous operation identifying apparatus according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes: a first detecting module 22, a determining module 24, and a first determining module 26, wherein the first detecting module 22 And being configured to detect the first contact on the touch screen; the determining module 24 is coupled to the first detecting module 22, configured to determine whether the length of the minimum circumscribed square of the first contact falls within a preset length threshold, and determine the minimum circumscribed square Whether the width falls within the preset width threshold; the first determining module 26 is coupled to the determining module 24, configured to determine that the length does not fall within the preset length threshold, or to determine that the width does not fall within the preset width threshold In the case, it is determined that the first contact is a contact generated by an erroneous operation.
图3是根据本发明实施例的误操作识别装置的可选结构框图一,如图3所示,可选地,上述第一确定模块26包括:第一判断单元32和确定单元34,其中,第一判断单元32,设置为在判断到长度落入预设长度阈值,以及判断到宽度落入预设宽度阈值的情况下,判断第一触点的触发时长是否落入预设时长阈值;确定单元34,耦合至第一判断单元32,设置为在判断到触发时长未落入预设时长阈值的情况下,确定第一触点为误操作产生的触点。FIG. 3 is a block diagram of an optional structure of the erroneous operation identifying apparatus according to the embodiment of the present invention. As shown in FIG. 3, the first determining module 26 includes: a first determining unit 32 and a determining unit 34, where The first determining unit 32 is configured to determine, when the length falls within the preset length threshold, and determine that the width falls within the preset width threshold, determine whether the trigger duration of the first contact falls within a preset duration threshold; The unit 34 is coupled to the first determining unit 32, and is configured to determine that the first contact is a contact generated by an erroneous operation when it is determined that the triggering duration does not fall within the preset duration threshold.
图4是根据本发明实施例的误操作识别装置的可选结构框图二,如图4所示,可选地, 该装置还包括:第二检测模块42,获取模块44和第二确定模块46,其中,第二检测模块42,设置为在触摸屏处于解锁状态下,检测触摸屏上的多个第二触点;获取模块44,耦合至第二检测模块42,设置为获取多个第二触点中每个触点的最小外接方形的长度和每个触点的最小外接方形的宽度;第二确定模块46,耦合至获取模块44和判断模块24之间,设置为确定每个触点的最小外接方形的长度中的最大长度为预设长度阈值,以及确定每个触点的最小外接方形的宽度中的最大宽度未预设宽度阈值。4 is a block diagram 2 of an optional structure of an erroneous operation recognition apparatus according to an embodiment of the present invention, as shown in FIG. 4, optionally, The device further includes: a second detecting module 42, an obtaining module 44 and a second determining module 46, wherein the second detecting module 42 is configured to detect a plurality of second contacts on the touch screen when the touch screen is in an unlocked state; The module 44 is coupled to the second detecting module 42 and configured to obtain a length of a minimum circumscribed square of each of the plurality of second contacts and a width of a minimum circumscribed square of each contact; a second determining module 46, coupled Between the acquisition module 44 and the determination module 24, the maximum length of the minimum circumscribed squares of each contact is determined to be a preset length threshold, and the maximum width of the minimum circumscribed square of each contact is determined. The width threshold is not preset.
图5是根据本发明实施例的误操作识别装置的可选结构框图三,如图5所示,可选地,判断模块24包括:检测单元52和第二判断单元54,其中,检测单元52,设置为检测第一触点的最大横坐标值、第一触点的最小横坐标值、第一触点的最大纵坐标值和第一触点的最小纵坐标值;第二判断单元54,耦合至检测单元52,设置为判断最大横坐标值和最小横坐标值的第一差值是否落入预设横坐标阈值,以及判断最大纵坐标值和最小纵坐标值的第二差值是否落入预设纵坐标阈值;其中,在判断到第一差值未落入预设横坐标阈值的情况下,判断为长度未落入预设长度阈值,以及在判断到第二差值未落入预设纵坐标阈值的情况下,判断为宽度未落入预设宽度阈值。FIG. 5 is a block diagram 3 of an optional structure of the erroneous operation identifying apparatus according to the embodiment of the present invention. As shown in FIG. 5, the determining module 24 includes: a detecting unit 52 and a second determining unit 54, wherein the detecting unit 52 And configured to detect a maximum abscissa value of the first contact, a minimum abscissa value of the first contact, a maximum ordinate value of the first contact, and a minimum ordinate value of the first contact; the second determining unit 54, Coupled to the detecting unit 52, configured to determine whether the first difference between the maximum abscissa value and the minimum abscissa value falls within a preset abscissa threshold, and whether the second difference between the maximum ordinate value and the minimum ordinate value is determined to fall Entering a preset ordinate threshold; wherein, in the case that it is determined that the first difference does not fall within the preset abscissa threshold, it is determined that the length does not fall within the preset length threshold, and it is determined that the second difference does not fall In the case where the ordinate threshold is preset, it is determined that the width does not fall within the preset width threshold.
可选地,上述第一检测模块22,还设置为判断触摸屏是否处于锁定状态;在判断到触摸屏处于锁定状态的情况下,检测触摸屏上的第一触点。Optionally, the first detecting module 22 is further configured to determine whether the touch screen is in a locked state; and when it is determined that the touch screen is in a locked state, detecting the first contact on the touch screen.
可选地,该装置还包括:不予响应模块,耦合至第一确定模块26,设置为在确定第一触点为误操作产生的触点之后,对第一触点不予响应。Optionally, the apparatus further includes: a non-responsive module coupled to the first determining module 26, configured to not respond to the first contact after determining that the first contact is a contact generated by the erroneous operation.
可选地,该装置还包括:第三确定模块,耦合至判断模块24,设置为在判断到长度落入预设长度阈值,以及在判断到宽度落入预设宽度阈值的情况下,确定第一触点为正常操作产生的触点。Optionally, the device further includes: a third determining module, coupled to the determining module 24, configured to determine that the length falls within a preset length threshold, and determines that the width falls within a preset width threshold One contact is a contact that is produced by normal operation.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
本发明的实施例还提供了一种软件,该软件用于执行上述实施例及可选实施方式中描述的技术方案。Embodiments of the present invention also provide a software for performing the technical solutions described in the foregoing embodiments and optional embodiments.
本发明的实施例还提供了一种存储介质。在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. In this embodiment, the above storage medium may be configured to store program code for performing the following steps:
步骤S102,检测触摸屏上的第一触点;Step S102, detecting a first contact on the touch screen;
步骤S104,判断第一触点的最小外接方形的长度是否落入预设长度阈值,以及判断最小外接方形的宽度是否落入预设宽度阈值;Step S104, determining whether the length of the minimum circumscribed square of the first contact falls within a preset length threshold, and determining whether the width of the minimum circumscribed square falls within a preset width threshold;
步骤S106,在判断到长度未落入预设长度阈值,或者,在判断到宽度未落入预设宽度阈值的情况下,确定第一触点为误操作产生的触点。 In step S106, if it is determined that the length does not fall within the preset length threshold, or if it is determined that the width does not fall within the preset width threshold, it is determined that the first contact is a contact generated by the erroneous operation.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in the embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM). A variety of media that can store program code, such as a hard disk, a disk, or an optical disk.
为了使本发明实施例的描述更加清楚,下面结合可选实施例进行描述和说明。In order to make the description of the embodiments of the present invention more clear, the following description and description are made in conjunction with the exemplary embodiments.
本发明可选实施例提供了一种误操作识别方法,通过该方法可以根据触摸区域(相当于上述第一触点)的大小和触摸时间的长短判断触摸是否属于误操作。An alternative embodiment of the present invention provides a erroneous operation recognition method by which it is possible to determine whether a touch is an erroneous operation according to the size of the touch area (corresponding to the first contact) and the length of the touch time.
正常的触摸解锁是用户用手指触摸屏幕操作的,而人手指在屏幕上触摸时的区域大小、形状和持续时间都与手机在衣服口袋或者裤兜中摩擦产生的触摸有着明显的特征区别。The normal touch unlocking is performed by the user touching the screen with a finger, and the size, shape and duration of the touch when the human finger touches the screen have obvious distinguishing features from the touch generated by the friction of the mobile phone in the pocket of the clothes or the trouser pocket.
1、触摸区域大小区别:1, the touch area size difference:
图6是根据本发明可选实施例的误操作识别方法的触摸示意图,如图6所示,手指触摸区域小,有规则形状,近似为方形,可以用更大的方形来代替,称为参考方形(例如:参考方形的长度为Lmax,宽度为Wmax);摩擦触摸区域远远大于手指触摸区域,形状不规则,是随机变化的。6 is a schematic diagram of a touch operation of a erroneous operation recognition method according to an alternative embodiment of the present invention. As shown in FIG. 6, the finger touch area is small, has a regular shape, is approximately square, and can be replaced by a larger square, which is called a reference. Square (for example: the reference square has a length of Lmax and a width of Wmax); the frictional touch area is much larger than the finger touch area, and the shape is irregular and randomly changes.
图7是根据本发明可选实施例的误操作识别方法的滑动触摸示意图,如图7所示,按压解锁时手指触摸区域保持不变;滑动解锁时手指触摸区域是可以视为一系列方形的叠加,其中心的连线可以认为近似为一条直线,在任意采样时刻触摸区域还是一个方形。7 is a schematic diagram of a sliding touch of a erroneous operation recognition method according to an alternative embodiment of the present invention. As shown in FIG. 7, the finger touch area remains unchanged when the button is unlocked; the finger touch area can be regarded as a series of squares when the slide is unlocked. Superposition, the connection of the center can be considered as a straight line, and the touch area is still a square at any sampling time.
摩擦接触导致的误解锁时的触摸区域除了碰巧覆盖了按压解锁的位置或者滑动解锁的轨迹,还可能会在屏幕的其他地方有大片的触摸区域,或者多个触摸区域。The touch area at the time of erroneous unlocking caused by the frictional contact may have a large touch area or a plurality of touch areas elsewhere in the screen, in addition to the trajectory that happens to cover the unlocked position or the slide unlocked.
2、触摸时间长短区别:2, the difference between the length of the touch:
解锁时手指触摸时间短,从按下到抬起不会持续太久,比如1-2秒,用户正常触摸的最长时间这里称为Tmax。摩擦触摸持续时间长,只要放置在口袋中且用户身体在运动那么就一直会持续。The finger touch time is short when unlocking, and does not last too long from pressing to lifting, such as 1-2 seconds, the maximum time the user normally touches is called Tmax. The frictional touch lasts for a long time and will continue as long as it is placed in the pocket and the user's body is in motion.
以上述二个区别为依据,一旦当前触摸区域完全位于参考方形内,参考方形外无触摸发生,即可初步认为是正常操作;可选地,还可以再判断触摸持续的时间,就可以提高判断正常解锁的准确性,从而避免误解锁。Based on the above two differences, once the current touch area is completely within the reference square, no touch occurs outside the reference square, which can be initially considered as normal operation; optionally, the touch duration can be further determined, and the judgment can be improved. The accuracy of normal unlocking to avoid accidental unlocking.
下面结合附图对本发明可选实施例进行说明。The optional embodiments of the present invention are described below with reference to the accompanying drawings.
本发明可选实施例用于判断的触摸区域参考方形的长度Lmax和宽度Wmax可以通过不同的用户样本来获取调整,即假设用户1,2,…,n的手指触摸区域可以包括在长度为L1,L2,…,Ln,宽度为W1,W2,…,Wn的n个方形内,那么Lmax=MAX(L1,L2,…,Ln),Wmax=MAX(W1,W2,…,Wn),MAX为在n个数字中取最大值的函数。The length Lmax and the width Wmax of the touch area reference square used for the determination of the alternative embodiment of the present invention can be adjusted by different user samples, that is, the finger touch area of the user 1, 2, ..., n can be included in the length L1. , L2, ..., Ln, width n is W1, W2, ..., Wn within n squares, then Lmax = MAX (L1, L2, ..., Ln), Wmax = MAX (W1, W2, ..., Wn), MAX A function that takes the maximum value among n numbers.
以上还可以包括用户带手套的情况。总之,由于摩擦触摸产生的触摸区域远大于用户手指触摸产生的触摸区域,因此总可以找到既能将不同用户手指触摸区域包括进去的参考方形, 而且该参考方形大小还远小于摩擦触摸产生的触摸区域。The above may also include the case where the user has gloves. In summary, since the touch area generated by the rubbing touch is much larger than the touch area generated by the user's finger touch, it is always possible to find a reference square that can include different user finger touch areas. Moreover, the reference square size is still much smaller than the touch area produced by the frictional touch.
图8是根据本发明可选实施例的误操作识别方法的触摸区域示意图,如图8所示,参考方形的长度为Lmax,宽度为Wmax;正常操作区域为X1max、X1min、Y1max、Y1min包围的方形区域;误操作区域为X2max、X2min、Y2max、Y2min所示的区域。8 is a schematic diagram of a touch area of a erroneous operation recognition method according to an alternative embodiment of the present invention. As shown in FIG. 8, the reference square has a length Lmax and a width Wmax; and the normal operation area is surrounded by X1max, X1min, Y1max, and Y1min. Square area; the misoperation area is the area indicated by X2max, X2min, Y2max, Y2min.
图9是根据本发明可选实施例的误操作识别方法的流程图,如图9所示,该流程包括如下步骤:FIG. 9 is a flowchart of a method for identifying an erroneous operation according to an alternative embodiment of the present invention. As shown in FIG. 9, the flow includes the following steps:
步骤S902,手机在屏幕点亮状态下,当手机收到上报的触摸事件;Step S902, when the mobile phone is in the state that the screen is on, when the mobile phone receives the reported touch event;
步骤S904,判断当前屏幕是否锁定;Step S904, determining whether the current screen is locked;
步骤S906,如果未锁定按照原流程继续执行;Step S906, if the unlock is not performed, continue to execute according to the original process;
步骤S908,如果已经锁定,获取触摸区域上X轴最小值Xmin和最大值Xmax,Y轴最小值Ymin和最大值Ymax,令△X=Xmax-Xmin,△Y=Ymax-Ymin,并判断是否△X<Lmax并且△Y<Wmax;Step S908, if it has been locked, acquire the X-axis minimum value Xmin and the maximum value Xmax, the Y-axis minimum value Ymin and the maximum value Ymax on the touch area, let ΔX=Xmax-Xmin, ΔY=Ymax-Ymin, and judge whether △ X<Lmax and ΔY<Wmax;
步骤S910,当△X>Lmax或者△Y>Wmax时可以认为是误操作,因为此时触摸区域大于参考方形,无法用参考方形包括;Step S910, when ΔX>Lmax or ΔY>Wmax, it can be considered as an erroneous operation, because the touch area is larger than the reference square at this time, and cannot be included by the reference square;
步骤S912,当满足△X<Lmax且△Y<Wmax时触摸区域可以包括在预先设定的长度为Lmax,宽度为Lmax的参考方形内,判断触摸时间是否小于Tmax;Step S912, when ΔX<Lmax and ΔY<Wmax are satisfied, the touch area may be included in a reference square having a length Lmax and a width Lmax, and determining whether the touch time is less than Tmax;
步骤S914,当触摸时间不小于Tmax时,判断为误操作,否则判断为正常操作。In step S914, when the touch time is not less than Tmax, it is determined to be an erroneous operation, otherwise it is determined to be a normal operation.
综上所述,通过本发明的上述实施例和可选实施例,新增了一种误操作识别模式,本发明可选实施例提出了一种误操作识别方法,通过判断操作区域是否落入参考方形区域以及操作时长是否小于预设时长来识别对触摸屏的误操作,在判断到操作区域未落入参考方形区域的情况下,或者在判断到操作区域落入参考方形区域但是操作时长不小于预设时长的情况下,将操作识别为误操作,解决了触摸屏锁定后误操作无法识别的问题,实现了触摸屏锁定后误操作识别。In summary, an erroneous operation recognition mode is added by the above-mentioned embodiment and the optional embodiment of the present invention. The optional embodiment of the present invention provides a erroneous operation recognition method, by determining whether the operation area falls into Refer to the square area and whether the operation duration is less than the preset duration to identify the erroneous operation on the touch screen, and determine that the operation area does not fall into the reference square area, or determine that the operation area falls into the reference square area but the operation duration is not less than In the case of a preset duration, the operation is recognized as an erroneous operation, and the problem that the erroneous operation cannot be recognized after the touch screen is locked is solved, and the erroneous operation recognition after the touch screen is locked is realized.
工业实用性:通过上述描述可知,本发明由于误操作产生的触点的区域通常是没有规则并且要大于正常操作触摸的区域的,因此,误操作产生的触点的区域的最小外接方形通常会比正常操作触摸的区域的最小外接方形长度更大或者宽度更大,可以通过判断检测到的第一触点的最小外接方形的长度和宽度是否落入预设阈值,在判断到第一触点的最小外接方形的长度和宽度未落入预设阈值的情况下,将第一触点确定为误操作产生的触点。可见,采用上述步骤,解决了无法识别触摸屏误操作的问题,实现了触摸屏误操作的识别。Industrial Applicability: As can be seen from the above description, the area of the contact that is generated by the erroneous operation of the present invention is generally irregular and larger than the area of the normal operation touch. Therefore, the minimum circumscribed square of the area of the contact generated by the erroneous operation is usually The length of the minimum circumscribed square of the area touched by the normal operation is larger or the width is larger, and the first contact can be judged by judging whether the length and the width of the smallest circumscribed square of the detected first contact fall within a preset threshold. In the case where the length and width of the smallest circumscribed square do not fall within the preset threshold, the first contact is determined as the contact resulting from the erroneous operation. It can be seen that the above steps solve the problem that the touch screen misoperation cannot be recognized, and the recognition of the touch screen misoperation is realized.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步 骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described Alternatively, each of them may be fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof may be fabricated into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的可选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above description is only an alternative embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims (11)

  1. 一种误操作识别方法,包括:A method for identifying misoperations, including:
    检测触摸屏上的第一触点;Detecting a first contact on the touch screen;
    判断所述第一触点的最小外接方形的长度是否落入预设长度阈值,以及判断所述最小外接方形的宽度是否落入预设宽度阈值;Determining whether the length of the minimum circumscribed square of the first contact falls within a preset length threshold, and determining whether the width of the minimum circumscribed square falls within a preset width threshold;
    在判断到所述长度未落入所述预设长度阈值,或者,在判断到所述宽度未落入所述预设宽度阈值的情况下,确定所述第一触点为误操作产生的触点。When it is determined that the length does not fall within the preset length threshold, or if it is determined that the width does not fall within the preset width threshold, determining that the first contact is a touch generated by an erroneous operation point.
  2. 根据权利要求1所述的方法,其中,确定所述第一触点为误操作产生的触点包括:The method of claim 1 wherein determining that the first contact is a erroneously operated contact comprises:
    在判断到所述长度落入所述预设长度阈值,以及判断到所述宽度落入所述预设宽度阈值的情况下,判断所述第一触点的触发时长是否落入预设时长阈值;When it is determined that the length falls within the preset length threshold, and it is determined that the width falls within the preset width threshold, determining whether the trigger duration of the first contact falls within a preset duration threshold ;
    在判断到所述触发时长未落入所述预设时长阈值的情况下,确定所述第一触点为误操作产生的触点。When it is determined that the trigger duration does not fall within the preset duration threshold, the first contact is determined to be a contact generated by an erroneous operation.
  3. 根据权利要求1所述的方法,其中,在判断所述长度是否落入所述预设长度阈值,以及判断所述宽度是否落入所述预设宽度阈值之前,所述方法还包括:The method of claim 1, wherein the method further comprises: determining whether the length falls within the preset length threshold, and determining whether the width falls within the preset width threshold, the method further comprising:
    在所述触摸屏处于解锁状态下,检测所述触摸屏上的多个第二触点;Detecting a plurality of second contacts on the touch screen when the touch screen is in an unlocked state;
    获取所述多个第二触点中每个触点的最小外接方形的长度和所述每个触点的最小外接方形的宽度;Obtaining a length of a minimum circumscribed square of each of the plurality of second contacts and a width of a minimum circumscribed square of each of the contacts;
    确定所述每个触点的最小外接方形的长度中的最大长度为所述预设长度阈值,以及确定所述每个触点的最小外接方形的宽度中的最大宽度为所述预设宽度阈值。Determining a maximum length of a length of the minimum circumscribed square of each contact is the preset length threshold, and determining a maximum width of a width of the minimum circumscribed square of each contact is the preset width threshold .
  4. 根据权利要求1所述的方法,其中,判断所述第一触点的最小外接方形的长度是否落入所述预设长度阈值,以及判断所述最小外接方形的宽度是否落入所述预设宽度阈值包括:The method according to claim 1, wherein determining whether a length of a minimum circumscribed square of the first contact falls within the preset length threshold, and determining whether a width of the minimum circumscribed square falls within the preset The width thresholds include:
    检测所述第一触点的最大横坐标值、所述第一触点的最小横坐标值、所述第一触点的最大纵坐标值和所述第一触点的最小纵坐标值;Detecting a maximum abscissa value of the first contact, a minimum abscissa value of the first contact, a maximum ordinate value of the first contact, and a minimum ordinate value of the first contact;
    判断所述最大横坐标值和所述最小横坐标值的第一差值是否落入预设横坐标阈值,以及判断所述最大纵坐标值和所述最小纵坐标值的第二差值是否落入预设纵坐标阈值;Determining whether the first difference between the maximum abscissa value and the minimum abscissa value falls within a preset abscissa threshold, and whether the second difference between the maximum ordinate value and the minimum ordinate value is determined to fall Enter the preset ordinate threshold;
    其中,在判断到所述第一差值未落入所述预设横坐标阈值的情况下,判断为所述长度未落入所述预设长度阈值,以及在判断到所述第二差值未落入所述预设纵坐标阈值的情况下,判断为所述宽度未落入所述预设宽度阈值。If it is determined that the first difference does not fall within the preset abscissa threshold, it is determined that the length does not fall within the preset length threshold, and the second difference is determined In the case where the preset ordinate threshold is not dropped, it is determined that the width does not fall within the preset width threshold.
  5. 根据权利要求1所述的方法,其中,检测所述触摸屏上的所述第一触点包括:The method of claim 1 wherein detecting the first contact on the touch screen comprises:
    判断所述触摸屏是否处于锁定状态;Determining whether the touch screen is in a locked state;
    在判断到所述触摸屏处于所述锁定状态的情况下,检测所述触摸屏上的所述第一触 点。Detecting the first touch on the touch screen if it is determined that the touch screen is in the locked state point.
  6. 根据权利要求1所述的方法,其中,在确定所述第一触点为误操作产生的触点之后,所述方法还包括:The method of claim 1 wherein after determining that the first contact is a contact resulting from an erroneous operation, the method further comprises:
    对所述第一触点不予响应。No response is made to the first contact.
  7. 根据权利要求1至6中任一项所述的方法,其中,在判断所述长度是否落入所述预设长度阈值,以及判断所述宽度是否落入所述预设宽度阈值之后,所述方法还包括:The method according to any one of claims 1 to 6, wherein after determining whether the length falls within the preset length threshold and determining whether the width falls within the preset width threshold, The method also includes:
    在判断到所述长度落入所述预设长度阈值,以及在判断到所述宽度落入所述预设宽度阈值的情况下,确定所述第一触点为正常操作产生的触点。When it is determined that the length falls within the preset length threshold, and in the case that it is determined that the width falls within the preset width threshold, determining that the first contact is a contact generated by a normal operation.
  8. 一种误操作识别装置,包括:A misoperation identification device includes:
    第一检测模块,设置为检测触摸屏上的第一触点;a first detecting module configured to detect a first contact on the touch screen;
    判断模块,设置为判断所述第一触点的最小外接方形的长度是否落入预设长度阈值,以及判断所述最小外接方形的宽度是否落入预设宽度阈值;The determining module is configured to determine whether the length of the minimum circumscribed square of the first contact falls within a preset length threshold, and whether the width of the minimum circumscribed square falls within a preset width threshold;
    第一确定模块,设置为在判断到所述长度未落入所述预设长度阈值,或者,在判断到所述宽度未落入所述预设宽度阈值的情况下,确定所述第一触点为误操作产生的触点。The first determining module is configured to determine, when it is determined that the length does not fall within the preset length threshold, or determine that the width does not fall within the preset width threshold, determine the first touch The point is the contact generated by the misoperation.
  9. 根据权利要求8所述的装置,其中,所述第一确定模块包括:The apparatus of claim 8, wherein the first determining module comprises:
    第一判断单元,设置为在判断到所述长度落入所述预设长度阈值,以及判断到所述宽度落入所述预设宽度阈值的情况下,判断所述第一触点的触发时长是否落入预设时长阈值;The first determining unit is configured to determine, when the length of the preset length threshold is determined, and determine that the width falls within the preset width threshold, determine a trigger duration of the first contact Whether it falls within the preset duration threshold;
    确定单元,设置为在判断到所述触发时长未落入所述预设时长阈值的情况下,确定所述第一触点为误操作产生的触点。The determining unit is configured to determine that the first contact is a contact generated by an erroneous operation if it is determined that the trigger duration does not fall within the preset duration threshold.
  10. 根据权利要求8所述的装置,其中,所述装置还包括:The apparatus of claim 8 wherein said apparatus further comprises:
    第二检测模块,设置为在所述触摸屏处于解锁状态下,检测所述触摸屏上的多个第二触点;a second detecting module, configured to detect a plurality of second contacts on the touch screen when the touch screen is in an unlocked state;
    获取模块,设置为获取所述多个第二触点中每个触点的最小外接方形的长度和所述每个触点的最小外接方形的宽度;Obtaining a module, configured to obtain a length of a minimum circumscribed square of each of the plurality of second contacts and a width of a minimum circumscribed square of each of the contacts;
    第二确定模块,设置为确定所述每个触点的最小外接方形的长度中的最大长度为所述预设长度阈值,以及确定所述每个触点的最小外接方形的宽度中的最大宽度可选地预设宽度阈值。a second determining module, configured to determine a maximum length of a minimum circumscribed square of each contact as the preset length threshold, and determine a maximum width of a minimum circumscribed square of each contact The width threshold is optionally preset.
  11. 根据权利要求8所述的装置,其中,所述判断模块包括:The apparatus of claim 8 wherein said determining module comprises:
    检测单元,设置为检测所述第一触点的最大横坐标值、所述第一触点的最小横坐标 值、所述第一触点的最大纵坐标值和所述第一触点的最小纵坐标值;a detecting unit configured to detect a maximum abscissa value of the first contact, a minimum abscissa of the first contact a value, a maximum ordinate value of the first contact, and a minimum ordinate value of the first contact;
    第二判断单元,设置为判断所述最大横坐标值和所述最小横坐标值的第一差值是否落入预设横坐标阈值,以及判断所述最大纵坐标值和所述最小纵坐标值的第二差值是否落入预设纵坐标阈值;a second determining unit, configured to determine whether the first difference between the maximum abscissa value and the minimum abscissa value falls within a preset abscissa threshold, and determine the maximum ordinate value and the minimum ordinate value Whether the second difference falls within a preset ordinate threshold;
    其中,在判断到所述第一差值未落入所述预设横坐标阈值的情况下,判断为所述长度未落入所述预设长度阈值,以及在判断到所述第二差值未落入所述预设纵坐标阈值的情况下,判断为所述宽度未落入所述预设宽度阈值。 If it is determined that the first difference does not fall within the preset abscissa threshold, it is determined that the length does not fall within the preset length threshold, and the second difference is determined In the case where the preset ordinate threshold is not dropped, it is determined that the width does not fall within the preset width threshold.
PCT/CN2015/093611 2015-09-22 2015-11-02 Accidental operation identification method and device WO2016145873A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510605144.4A CN106547380A (en) 2015-09-22 2015-09-22 Maloperation recognition methods and device
CN201510605144.4 2015-09-22

Publications (1)

Publication Number Publication Date
WO2016145873A1 true WO2016145873A1 (en) 2016-09-22

Family

ID=56918376

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/093611 WO2016145873A1 (en) 2015-09-22 2015-11-02 Accidental operation identification method and device

Country Status (2)

Country Link
CN (1) CN106547380A (en)
WO (1) WO2016145873A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108390985A (en) * 2018-01-29 2018-08-10 广东欧珀移动通信有限公司 Electronic device, display screen detection method and related product

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608621A (en) * 2017-10-12 2018-01-19 北京元心科技有限公司 Contact information processing method and device and terminal
CN108769420B (en) * 2018-06-05 2019-10-29 钟嵩然 It is a kind of to prevent phone from missing the method dialled and mobile terminal
CN108415661A (en) * 2018-06-15 2018-08-17 广州华欣电子科技有限公司 Written handwriting generation method, system and associated component based on infrared touch screen
CN111190506A (en) * 2020-03-20 2020-05-22 廖武佐 Touch screen false touch prevention method, touch screen, computing device and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750090A (en) * 2012-06-06 2012-10-24 惠州Tcl移动通信有限公司 Slide unlocking method for touch screenin screen locking state
CN103139390A (en) * 2013-02-27 2013-06-05 Tcl通讯(宁波)有限公司 Method, system of unlocking screen of mobile phone and mobile phone
CN103180808A (en) * 2012-07-27 2013-06-26 华为终端有限公司 Method and apparatus for unlocking screen protection
US8787984B2 (en) * 2011-08-03 2014-07-22 Kyocera Corporation Mobile electronic device and control method for changing setting of locked state on touch screen display
CN103986816A (en) * 2014-05-05 2014-08-13 上海斐讯数据通信技术有限公司 Method and device for unlocking mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289321B (en) * 2011-08-22 2015-04-29 惠州Tcl移动通信有限公司 Handheld device and method for processing mistaken touch on touch screen thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8787984B2 (en) * 2011-08-03 2014-07-22 Kyocera Corporation Mobile electronic device and control method for changing setting of locked state on touch screen display
CN102750090A (en) * 2012-06-06 2012-10-24 惠州Tcl移动通信有限公司 Slide unlocking method for touch screenin screen locking state
CN103180808A (en) * 2012-07-27 2013-06-26 华为终端有限公司 Method and apparatus for unlocking screen protection
CN103139390A (en) * 2013-02-27 2013-06-05 Tcl通讯(宁波)有限公司 Method, system of unlocking screen of mobile phone and mobile phone
CN103986816A (en) * 2014-05-05 2014-08-13 上海斐讯数据通信技术有限公司 Method and device for unlocking mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108390985A (en) * 2018-01-29 2018-08-10 广东欧珀移动通信有限公司 Electronic device, display screen detection method and related product
CN108390985B (en) * 2018-01-29 2020-05-26 Oppo广东移动通信有限公司 Electronic device, display screen detection method and related product

Also Published As

Publication number Publication date
CN106547380A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
WO2016145873A1 (en) Accidental operation identification method and device
CN104571693B (en) Information processing method and electronic equipment
CN108710469B (en) Application program starting method, mobile terminal and medium product
RU2014153895A (en) METHOD AND DEVICE FOR CONTROL OF TOUCH INPUT
WO2018082411A1 (en) Method and terminal for preventing false touch
US20150346864A1 (en) Touch screen control method and device
WO2018103657A1 (en) Touch control method and system, mobile terminal, and storage medium
EP2541452A1 (en) Authentication method of user of electronic device
CN105487809A (en) Terminal control method and device
JP5728629B2 (en) Information processing apparatus, information processing apparatus control method, program, and information storage medium
WO2014131283A1 (en) Touch recognition method and device
JP2019204494A5 (en)
US9846529B2 (en) Method for processing information and electronic device
WO2021213274A1 (en) Method and apparatus for preventing false touch of mobile terminal, and computer device and storage medium
US20200218424A1 (en) Touch detection method and computer-readable storage medium
CN106681636A (en) Method and device capable of preventing wrong touch, and mobile terminal
EP3196738B1 (en) Method for controlling blank screen gesture processing and terminal
CN104679429A (en) Accidental-touch-prevention method and device
WO2018000343A1 (en) Method and device for preventing touch screen edge misoperation
US20150033328A1 (en) Information terminal and execution control method
CN105511758B (en) Information processing method and electronic equipment
US20160342275A1 (en) Method and device for processing touch signal
CN105607844A (en) Touch screen control method, touch screen control device and terminal
KR101952342B1 (en) Off-center sensor target region
TWI662452B (en) Portable electronic device and unlocking method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15885242

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15885242

Country of ref document: EP

Kind code of ref document: A1