CN107040657B - Method and device for preventing touch screen from being triggered mistakenly - Google Patents

Method and device for preventing touch screen from being triggered mistakenly Download PDF

Info

Publication number
CN107040657B
CN107040657B CN201710221712.XA CN201710221712A CN107040657B CN 107040657 B CN107040657 B CN 107040657B CN 201710221712 A CN201710221712 A CN 201710221712A CN 107040657 B CN107040657 B CN 107040657B
Authority
CN
China
Prior art keywords
touch
terminal
state
touch screen
control unit
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN201710221712.XA
Other languages
Chinese (zh)
Other versions
CN107040657A (en
Inventor
李成钢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TP Link Technologies Co Ltd
Original Assignee
TP Link Technologies Co Ltd
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 TP Link Technologies Co Ltd filed Critical TP Link Technologies Co Ltd
Priority to CN201710221712.XA priority Critical patent/CN107040657B/en
Publication of CN107040657A publication Critical patent/CN107040657A/en
Application granted granted Critical
Publication of CN107040657B publication Critical patent/CN107040657B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

The invention discloses a method and a device for preventing a touch screen from being triggered by mistake, wherein the method comprises the following steps: detecting whether the earphone interface is in an insertion state; when detecting that the earphone interface is in an insertion state, judging whether the terminal is in a user operation state; when the terminal is in a non-user operation state, prohibiting touch response processing on touch data detected by the touch screen control unit; when the terminal is in a user operation state, judging whether the data characteristics of the touch data detected by the touch screen control unit are matched with the earphone cord touch data characteristics; when the data characteristics of the touch data are matched with the touch data characteristics of the earphone cable, the touch response processing of the touch data detected by the touch screen control unit is forbidden; and when the data characteristics of the touch data are not matched with the earphone cord touch data characteristics, performing touch response processing on the touch data detected by the touch screen control unit. By the method, the touch screen is effectively prevented from being triggered by the earphone cable by mistake.

Description

Method and device for preventing touch screen from being triggered mistakenly
Technical Field
The invention relates to the field of human-computer interaction, in particular to a method and a device for preventing a touch screen from being triggered by mistake.
Background
The touch screen is the simplest and most convenient man-machine interaction mode at present as the latest input and display equipment, and is widely applied to the field of mobile terminals. However, because the touch screen is convenient and easy to operate, users often happen to report touch data and perform relevant response processing due to careless operation or touch of the touch screen during use, for example, when receiving a call, the face of the user easily touches the touch screen, and when inadvertently touching a functional area, a false trigger occurs, for example, when the face touches an on-hook functional area, a call is hung up, and the trigger response processing caused by the false trigger is not needed or desired by the user, which brings unnecessary trouble to the user.
Disclosure of Invention
The inventor finds that when part of smart phones play audio through earphones, the earphone cable slides on the screen to cause false triggering, and the screen jumps.
The invention aims to provide a method and a device for preventing a touch screen from being triggered by an earphone cord.
In order to achieve the above object, an aspect of the present invention provides a method for preventing a touch screen from being triggered by mistake, including:
detecting whether the earphone interface is in an insertion state;
when detecting that the earphone interface is in an insertion state, judging whether the terminal is in a user operation state;
when the terminal is in a non-user operation state, prohibiting touch response processing on touch data detected by the touch screen control unit;
when the terminal is in a user operation state, judging whether the data characteristics of the touch data detected by the touch screen control unit are matched with the earphone cord touch data characteristics;
when the data characteristics of the touch data are matched with the touch data characteristics of the earphone cable, the touch response processing of the touch data detected by the touch screen control unit is forbidden;
and when the data characteristics of the touch data are not matched with the earphone cord touch data characteristics, performing touch response processing on the touch data detected by the touch screen control unit.
In an optional implementation manner, the determining whether the terminal is in the user operation state when the earphone interface is detected to be in the insertion state includes:
when the earphone interface is detected to be in the inserting state, whether the terminal is in the shielding state or not is judged through the receiving sensor, and whether the terminal is in the low-light environment or not is judged through the ambient light sensor;
and when the terminal is in a shielding state and in a low-light environment, judging that the terminal is in a non-user operation state.
In an optional implementation manner, when it is detected that the earphone interface is in the inserted state, determining whether the terminal is in a user operation state further includes:
when the terminal is in a non-shielding state or in a non-weak light environment, judging whether the terminal is in a motion state or not through an acceleration sensor;
when the terminal is in a non-motion state, judging that the terminal is in a non-user operation state;
and when the terminal is in the motion state, judging that the terminal is in the user operation state.
In an alternative embodiment, the method further comprises:
when the terminal is in a non-user operation state, judging whether a display screen is in a bright screen state;
when the display screen is in a bright screen state, controlling the touch screen control unit to work in a mode capable of detecting touch data;
when the display screen is in a screen-off state, controlling the touch screen control unit to work in a low-power-consumption working mode; and in the low power consumption mode, the touch screen control unit is forbidden to detect the touch data.
In an alternative embodiment, the method further comprises:
when the terminal is in a user operation state, acquiring the capacitance value change condition of the touch data within a preset time threshold value through a touch screen control unit, and calculating the capacitance average change value of the touch data;
and updating the firmware threshold of the touch screen control unit according to the capacitance average change value so as to update the sensitivity of the touch screen.
In order to achieve the same object, another aspect of the present invention provides an apparatus for preventing a touch screen from being triggered by mistake, the apparatus being configured in a terminal and comprising:
earphone interface detection module: the earphone interface is used for detecting whether the earphone interface is in an insertion state or not;
an operation state judgment module: the earphone interface is used for judging whether the terminal is in a user operation state or not when the earphone interface is detected to be in the insertion state;
the first inhibit response module: the touch response processing unit is used for forbidding to perform touch response processing on the touch data detected by the touch screen control unit when the terminal is in a non-user operation state;
a data characteristic judgment module: the earphone line touch data processing device is used for judging whether the data characteristics of the touch data detected by the touch screen control unit are matched with the earphone line touch data characteristics or not when the terminal is in a user operation state;
a second inhibit response module: the earphone line touch data processing unit is used for forbidding touch response processing on the touch data detected by the touch screen control unit when the data characteristics of the touch data are matched with the earphone line touch data characteristics;
a touch response processing module: and the touch response processing unit is used for performing touch response processing on the touch data detected by the touch screen control unit when the data characteristics of the touch data are not matched with the earphone cord touch data characteristics.
In an optional implementation, the operation state determining module includes:
an environmental state determination unit: the receiving sensor is used for judging whether the terminal is in a shielded state or not and judging whether the terminal is in a low-light environment or not through the ambient light sensor when the earphone interface is detected to be in an inserted state;
a first determination unit: and the method is used for judging that the terminal is in a non-user operation state when the terminal is in a shielding state and in a low-light environment.
In an optional implementation manner, the operation state determining module further includes:
a motion state determination unit: the device is used for judging whether the terminal is in a motion state or not through the acceleration sensor when the terminal is in a non-shielding state or in a non-weak light environment;
a second determination unit: the terminal is used for judging that the terminal is in a non-user operation state when the terminal is in a non-motion state;
a third determination unit: and the terminal is judged to be in the user operation state when the terminal is in the motion state.
In an alternative embodiment, the apparatus further comprises:
the screen state judging module: the terminal is used for judging whether the display screen is in a bright screen state or not when the terminal is in a non-user operation state;
a detection and holding module: the touch screen control unit is used for controlling the touch screen control unit to work in a mode capable of detecting touch data when the display screen is in a bright screen state;
a detection stopping module: the touch screen control unit is used for controlling the touch screen control unit to work in a low-power-consumption working mode when the display screen is in a screen-off state; and in the low power consumption mode, the touch screen control unit is forbidden to detect the touch data.
In an alternative embodiment, the apparatus further comprises:
a capacitance average value calculation module: the touch screen control unit is used for acquiring the capacitance value change condition of the touch data within a preset time threshold value and calculating the capacitance average change value of the touch data when the terminal is in a user operation state;
a firmware threshold update module: and the firmware threshold value of the touch screen control unit is updated according to the capacitance average change value so as to update the sensitivity of the touch screen.
Compared with the prior art, the embodiment of the invention has the beneficial effects that: the embodiment of the invention provides a method and a device for preventing a touch screen from being triggered mistakenly, wherein the method comprises the following steps: detecting whether the earphone interface is in an insertion state; when detecting that the earphone interface is in an insertion state, judging whether the terminal is in a user operation state; when the terminal is in a non-user operation state, prohibiting touch response processing on touch data detected by the touch screen control unit; when the terminal is in a user operation state, judging whether the data characteristics of the touch data detected by the touch screen control unit are matched with the earphone cord touch data characteristics; when the data characteristics of the touch data are matched with the touch data characteristics of the earphone cable, the touch response processing of the touch data detected by the touch screen control unit is forbidden; and when the data characteristics of the touch data are not matched with the earphone cord touch data characteristics, performing touch response processing on the touch data detected by the touch screen control unit. When the terminal detects that the earphone interface is in the insertion state, whether touch response processing needs to be carried out on the touch data is judged according to the current operation state of a user and the data characteristics of the touch data, and when the terminal is in the non-user operation state or the touch data is matched with the earphone line touch data, the touch response processing on the touch data is forbidden, so that the touch data which is not operated by the user is not subjected to the touch response processing, and the touch screen is effectively prevented from being triggered by the earphone line in error.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for preventing a touch screen from being triggered by mistake according to an embodiment of the present invention;
FIG. 2 is a detailed flowchart of step S2 in FIG. 1;
FIG. 3 is a schematic structural diagram of an apparatus for preventing false triggering of a touch screen according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of the operation state determination module 2 in fig. 3.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Please refer to fig. 1 and fig. 2, wherein fig. 1 is a flowchart illustrating a method for preventing a touch screen from being triggered by mistake according to an embodiment of the present invention, and fig. 2 is a flowchart illustrating a specific flowchart of step S2 in fig. 1. The method for preventing the touch screen from being triggered mistakenly provided by the embodiment of the invention comprises the following steps:
s1, detecting whether the earphone interface is in the insertion state;
s2, when detecting that the earphone interface is in the insertion state, judging whether the terminal is in the user operation state;
s3, when the terminal is in the non-user operation state, forbidding the touch response processing to the touch data detected by the touch screen control unit;
s4, when the terminal is in the user operation state, judging whether the data characteristics of the touch data detected by the touch screen control unit are matched with the earphone cord touch data characteristics;
s5, when the data characteristic of the touch data is matched with the earphone cord touch data characteristic, prohibiting touch response processing on the touch data detected by the touch screen control unit;
and S6, when the data characteristic of the touch data is not matched with the earphone cord touch data characteristic, performing touch response processing on the touch data detected by the touch screen control unit.
It should be noted that, when the earphone cord touches the touch screen, the data characteristic of the touch data detected by the touch screen control unit is a curve or is similar to a straight line, and when the touch screen is touched by a finger, the data characteristic of the touch data detected by the touch screen control unit is an ellipsoid, so that it can be determined whether the touch data is triggered by the earphone cord according to the data characteristic of the touch data detected by the touch screen control unit. The data characteristics of the touch data are well known to those skilled in the art and are therefore not described in detail in this application.
In this embodiment, when it is detected that the earphone interface is in the insertion state, the operation state of the terminal is determined first, the touch response processing on the touch data detected by the touch screen control unit in the non-user operation state is prohibited, then the characteristics of the touch data in the user operation state are determined, and the touch response processing on the touch data matched with the characteristics of the earphone line touch data detected by the touch screen control unit is prohibited. By the method, the earphone wire is prevented from triggering the touch screen by mistake so that the terminal can make relevant touch response processing, only touch data which are detected in the user operation state and have unmatched characteristics with the earphone wire touch data are subjected to touch response processing, and the touch screen is effectively prevented from being triggered by the earphone wire by mistake.
In an alternative embodiment, the step S2 includes:
s21, when the earphone interface is detected to be in the inserting state, judging whether the terminal is in the shielding state through the receiving sensor and judging whether the terminal is in the weak light environment through the ambient light sensor;
and S22, when the terminal is in the shielding state and in the low-light environment, judging that the terminal is in the non-user operation state.
When the receiving sensor detects that a shielding object exists in the detection range and the ambient light sensor detects that the current ambient light is weak, namely the current environment of the terminal does not reach the condition suitable for the user to operate the terminal, the user does not operate the terminal, and therefore the terminal is judged to be in a non-user operation state. Therefore, touch data detected by the touch screen control unit cannot be subjected to touch response processing, and the touch screen is prevented from being triggered by the earphone cable by mistake.
In an alternative embodiment, the step S2 further includes:
s23, when the terminal is in a non-shielding state or in a non-weak light environment, judging whether the terminal is in a motion state through the acceleration sensor;
s24, when the terminal is in the non-motion state, judging that the terminal is in the non-user operation state;
and S25, when the terminal is in the motion state, judging that the terminal is in the user operation state.
When the receiving sensor does not detect a blocking object in the detection range or the ambient light sensor detects that the current ambient light is strong, whether the current user is operating the terminal cannot be directly judged, so that the motion state of the current terminal needs to be judged through the acceleration sensor. The acceleration sensor detects whether the coordinate information in the three directions changes within a certain time threshold value by acquiring the coordinate information in the x direction, the y direction and the z direction, and when the coordinate information in the three directions does not change within the certain time threshold value, the position of the terminal is not changed, namely, the terminal is not operated by a current user, so that the terminal is judged to be in a non-user operation state; when the coordinate information in the three directions changes within a certain time threshold, the terminal position changes, namely the current user operates the terminal, so that the terminal is judged to be in the user operation state. Therefore, when the current environment meets the condition that the user is suitable for operating the terminal, if the terminal is in a non-motion state, touch data detected by the touch screen control unit cannot be subjected to touch response processing; if the terminal is in a motion state, data matching needs to be carried out on the data characteristics of the touch data detected by the touch screen control unit, touch response processing needs to be carried out on the touch data which is not matched with the earphone cord touch data characteristics, touch response processing needs to be forbidden to be carried out on the touch data matched with the earphone cord touch data characteristics, and therefore the touch screen is effectively prevented from being triggered by the earphone cord in a false mode.
The following will illustrate embodiments of the invention in different use scenarios:
scenario one: the user places the terminal in a bag or a pocket and plays audio through the earphone at the same time. At this time, the receiving sensor determines that the receiving sensor is currently in a shielding state and the ambient light sensor determines that the receiving sensor is currently in a low-light environment, that is, the current state of the terminal is determined to be a non-user operation state, and at this time, the touch response processing on the touch data detected by the touch screen control unit is prohibited. Therefore, in the first scenario, the touch data detected by the touch screen control unit will not be processed by touch response, which not only prevents the touch screen from being triggered by the earphone cord, but also prevents the touch screen from being triggered by other objects in the bag or the pocket.
Scenario two: the user places the terminal fixedly and does not operate the terminal, and there is not the shelter in proximity sensor's response region simultaneously to play the audio frequency through the earphone. At this time, the proximity sensor judges that the terminal is currently in a non-shielding state, and judges the current motion state through the acceleration sensor, at this time, because the user fixedly places the terminal and does not operate the terminal, the acceleration sensor judges that the terminal is currently in the non-motion state, the current state of the terminal is judged to be in the non-user operation state, and touch response processing on touch data detected by the touch screen control unit is forbidden. Therefore, in the second scenario, the touch data detected by the touch screen control unit will not be processed by touch response, so that the touch screen is prevented from being triggered by the earphone cord by mistake.
Scenario three: the user is operating the terminal while inserting headphones to play audio. At this time, the receiving sensor judges that the receiving sensor is currently in a non-shielding state or the ambient light sensor judges that the receiving sensor is currently in a non-weak light environment, the current motion state is judged through the acceleration sensor, the acceleration sensor judges that the receiving sensor is currently in a motion state because a user operates the terminal, the current state of the terminal is judged to be the user operation state, if the touch data is judged to be detected by the touch screen control unit at this time, whether the data characteristics of the touch data detected by the touch screen control unit are matched with the earphone wire touch data characteristics is judged, touch response processing is carried out on the touch data which is not matched with the earphone wire touch data characteristics, and touch response processing is forbidden to the touch data which is matched with the earphone wire touch data characteristics. Therefore, in scenario three, that is, in the user operation state, it is further necessary to determine the data characteristics of the touch data detected by the touch screen control unit, perform touch response processing on the touch data that does not match the touch data characteristics of the earphone cord, and not perform touch response processing on the touch data that matches the touch data characteristics of the earphone cord, thereby avoiding the false triggering of the touch screen by the earphone cord.
The above three usage scenarios are three usage scenarios listed for better illustrating the implementation of the embodiment of the present invention, and are not all usage scenarios of the embodiment of the present invention.
In an alternative embodiment, the method further comprises:
when the terminal is in a non-user operation state, judging whether a display screen is in a bright screen state;
when the display screen is in a bright screen state, controlling the touch screen control unit to work in a mode capable of detecting touch data;
when the display screen is in a screen-off state, controlling the touch screen control unit to work in a low-power-consumption working mode; and in the low power consumption mode, the touch screen control unit is forbidden to detect the touch data.
When the display screen is in a bright screen state, the terminal displays current state information through the display screen, the touch screen control unit works in a mode capable of detecting touch data, and at the moment, if the touch data is detected, the terminal enters a user operation state; otherwise, the terminal maintains the non-user operation state. It should be noted that the mode capable of detecting touch data is used to change the user operation state of the terminal, specifically, when touch data is detected in the mode capable of detecting touch data, the terminal enters the user operation state; if the touch data is not detected in the mode in which the touch data can be detected, the terminal maintains a non-user operation state.
When the display screen is in the screen rest state, the terminal does not display the current state information, which also indicates that the user does not need to input touch data at this time, so that the touch screen control unit is controlled to work in the low power consumption working mode, and the touch screen control unit is prohibited from detecting the touch data, namely the touch screen control unit does not have the function of detecting the touch data, so that the power consumption of the terminal can be reduced, and the endurance time of the terminal can be prolonged.
In an optional implementation mode, the switching between the screen-on state and the screen-off state of the display screen is realized by pressing a power key of the terminal.
In an alternative embodiment, the method further comprises:
when the terminal is in a user operation state, acquiring the capacitance value change condition of the touch data within a preset time threshold value through a touch screen control unit, and calculating the capacitance average change value of the touch data;
and updating the firmware threshold of the touch screen control unit according to the capacitance average change value so as to update the sensitivity of the touch screen.
Acquiring a capacitance value change condition and calculating an average capacitance change value in a user operation state, updating a firmware threshold value of a touch screen control unit by using the average capacitance change value, detecting a capacitance change value caused by touch when the touch occurs, and forbidding touch response processing on touch data if the capacitance change value caused by the touch is smaller than the firmware threshold value; and if the capacitance change value caused by the touch is larger than or equal to the firmware threshold, performing touch response processing on the touch data. Through the method, the personalized touch screen sensitivity can be set for different users, and the probability of false triggering can be reduced.
Compared with the prior art, the embodiment of the invention has the beneficial effects that: the embodiment of the invention provides a method for preventing a touch screen from being triggered mistakenly, which comprises the following steps: detecting whether the earphone interface is in an insertion state; when detecting that the earphone interface is in an insertion state, judging whether the terminal is in a user operation state; when the terminal is in a non-user operation state, prohibiting touch response processing on touch data detected by the touch screen control unit; when the terminal is in a user operation state, judging whether the data characteristics of the touch data detected by the touch screen control unit are matched with the earphone cord touch data characteristics; when the data characteristics of the touch data are matched with the touch data characteristics of the earphone cable, the touch response processing of the touch data detected by the touch screen control unit is forbidden; and when the data characteristics of the touch data are not matched with the earphone cord touch data characteristics, performing touch response processing on the touch data detected by the touch screen control unit. When the terminal detects that the earphone interface is in the insertion state, whether touch response processing needs to be carried out on the touch data is judged according to the current operation state of a user and the data characteristics of the touch data, and when the terminal is in the non-user operation state or the touch data is matched with the earphone line touch data, the touch response processing on the touch data is forbidden, so that the touch data which is not operated by the user is not subjected to the touch response processing, and the touch screen is effectively prevented from being triggered by the earphone line in error.
In order to achieve the same object, another aspect of the present invention provides an apparatus for preventing a touch screen from being triggered by mistake, the apparatus being configured in a terminal. Please refer to fig. 3 and fig. 4, wherein fig. 3 is a schematic structural diagram of a device for preventing a touch screen from being triggered by mistake in an embodiment of the present invention, and fig. 4 is a schematic structural diagram of the operation state determining module 2 in fig. 3. The device for preventing the false triggering of the touch screen provided by the embodiment of the invention comprises:
earphone interface detection module 1: the earphone interface is used for detecting whether the earphone interface is in an insertion state or not;
the operation state judgment module 2: the earphone interface is used for judging whether the terminal is in a user operation state or not when the earphone interface is detected to be in the insertion state;
the first prohibition response module 3: the touch response processing unit is used for forbidding to perform touch response processing on the touch data detected by the touch screen control unit when the terminal is in a non-user operation state;
the data characteristic judging module 4: the earphone line touch data processing device is used for judging whether the data characteristics of the touch data detected by the touch screen control unit are matched with the earphone line touch data characteristics or not when the terminal is in a user operation state;
the second prohibition response module 5: the earphone line touch data processing unit is used for forbidding touch response processing on the touch data detected by the touch screen control unit when the data characteristics of the touch data are matched with the earphone line touch data characteristics;
the touch response processing module 6: and the touch response processing unit is used for performing touch response processing on the touch data detected by the touch screen control unit when the data characteristics of the touch data are not matched with the earphone cord touch data characteristics.
In an alternative embodiment, the operation state determining module 2 includes:
the environmental state determination unit 21: the receiving sensor is used for judging whether the terminal is in a shielded state or not and judging whether the terminal is in a low-light environment or not through the ambient light sensor when the earphone interface is detected to be in an inserted state;
first determination unit 22: and the method is used for judging that the terminal is in a non-user operation state when the terminal is in a shielding state and in a low-light environment.
In an optional implementation, the operation state determining module 2 further includes:
the motion state determination unit 23: the device is used for judging whether the terminal is in a motion state or not through the acceleration sensor when the terminal is in a non-shielding state or in a non-weak light environment;
second determination unit 24: the terminal is used for judging that the terminal is in a non-user operation state when the terminal is in a non-motion state;
third determination unit 25: and the terminal is judged to be in the user operation state when the terminal is in the motion state.
In an alternative embodiment, the apparatus further comprises:
the screen state judging module: the terminal is used for judging whether the touch screen is in a bright screen state or not when the terminal is in a non-user operation state;
a detection and holding module: the touch screen control unit is used for controlling the touch screen control unit to work in a mode capable of detecting touch data when the touch screen is in a bright screen state;
a detection stopping module: the touch screen control unit is used for controlling the touch screen control unit to work in a low-power-consumption working mode when the touch screen is in a screen-off state; and in the low power consumption mode, the touch screen control unit is forbidden to detect the touch data.
In an alternative embodiment, the apparatus further comprises:
a capacitance average value calculation module: the touch screen control unit is used for acquiring the capacitance value change condition of the touch data within a preset time threshold value and calculating the capacitance average change value of the touch data when the terminal is in a user operation state;
a firmware threshold update module: and the firmware threshold value of the touch screen control unit is updated according to the capacitance average change value so as to update the sensitivity of the touch screen.
It should be noted that, the device for preventing touch screen false triggering provided by the embodiment of the present invention is used in the method for preventing touch screen false triggering, and the working principle and the beneficial effects thereof correspond to the method for preventing touch screen false triggering one by one, and thus are not described in detail.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.

Claims (10)

1. A method for preventing false triggering of a touch screen is characterized by comprising the following steps:
detecting whether the earphone interface is in an insertion state;
when detecting that the earphone interface is in an insertion state, judging whether the terminal is in a user operation state;
when the terminal is in a non-user operation state, prohibiting touch response processing on touch data detected by the touch screen control unit;
when the terminal is in a user operation state, judging whether the data characteristics of the touch data detected by the touch screen control unit are matched with the earphone cord touch data characteristics;
when the data characteristics of the touch data are matched with the touch data characteristics of the earphone cable, the touch response processing of the touch data detected by the touch screen control unit is forbidden;
and when the data characteristics of the touch data are not matched with the earphone cord touch data characteristics, performing touch response processing on the touch data detected by the touch screen control unit.
2. The method for preventing the touch screen from being triggered by mistake as claimed in claim 1, wherein the judging whether the terminal is in the user operation state when the earphone interface is detected to be in the insertion state comprises:
when the earphone interface is detected to be in the inserting state, whether the terminal is in the shielding state or not is judged through the receiving sensor, and whether the terminal is in the low-light environment or not is judged through the ambient light sensor;
and when the terminal is in a shielding state and in a low-light environment, judging that the terminal is in a non-user operation state.
3. The method for preventing the touch screen from being triggered by mistake as claimed in claim 2, wherein when the earphone interface is detected to be in the insertion state, whether the terminal is in the user operation state is judged, further comprising:
when the terminal is in a non-shielding state or in a non-weak light environment, judging whether the terminal is in a motion state or not through an acceleration sensor;
when the terminal is in a non-motion state, judging that the terminal is in a non-user operation state;
and when the terminal is in the motion state, judging that the terminal is in the user operation state.
4. The method of claim 1, wherein the method further comprises:
when the terminal is in a non-user operation state, judging whether a display screen is in a bright screen state;
when the display screen is in a bright screen state, controlling the touch screen control unit to work in a mode capable of detecting touch data;
when the display screen is in a screen-off state, controlling the touch screen control unit to work in a low-power-consumption working mode; and in the low power consumption mode, the touch screen control unit is forbidden to detect the touch data.
5. The method of claim 1, wherein the method further comprises:
when the terminal is in a user operation state, acquiring the capacitance value change condition of the touch data within a preset time threshold value through a touch screen control unit, and calculating the capacitance average change value of the touch data;
and updating the firmware threshold of the touch screen control unit according to the capacitance average change value so as to update the sensitivity of the touch screen.
6. An apparatus for preventing false triggering of a touch screen, the apparatus being configured in a terminal, comprising:
earphone interface detection module: the earphone interface is used for detecting whether the earphone interface is in an insertion state or not;
an operation state judgment module: the earphone interface is used for judging whether the terminal is in a user operation state or not when the earphone interface is detected to be in the insertion state;
the first inhibit response module: the touch response processing unit is used for forbidding to perform touch response processing on the touch data detected by the touch screen control unit when the terminal is in a non-user operation state;
a data characteristic judgment module: the earphone line touch data processing device is used for judging whether the data characteristics of the touch data detected by the touch screen control unit are matched with the earphone line touch data characteristics or not when the terminal is in a user operation state;
a second inhibit response module: the earphone line touch data processing unit is used for forbidding touch response processing on the touch data detected by the touch screen control unit when the data characteristics of the touch data are matched with the earphone line touch data characteristics;
a touch response processing module: and the touch response processing unit is used for performing touch response processing on the touch data detected by the touch screen control unit when the data characteristics of the touch data are not matched with the earphone cord touch data characteristics.
7. The apparatus for preventing the false triggering of the touch screen according to claim 6, wherein the operation state determining module comprises:
an environmental state determination unit: the receiving sensor is used for judging whether the terminal is in a shielded state or not and judging whether the terminal is in a low-light environment or not through the ambient light sensor when the earphone interface is detected to be in an inserted state;
a first determination unit: and the method is used for judging that the terminal is in a non-user operation state when the terminal is in a shielding state and in a low-light environment.
8. The apparatus for preventing false triggering of a touch screen according to claim 7, wherein the operation state determining module further comprises:
a motion state determination unit: the device is used for judging whether the terminal is in a motion state or not through the acceleration sensor when the terminal is in a non-shielding state or in a non-weak light environment;
a second determination unit: the terminal is used for judging that the terminal is in a non-user operation state when the terminal is in a non-motion state;
a third determination unit: and the terminal is judged to be in the user operation state when the terminal is in the motion state.
9. The apparatus for preventing false triggering of a touch screen according to claim 6, wherein the apparatus further comprises:
the screen state judging module: the terminal is used for judging whether the display screen is in a bright screen state or not when the terminal is in a non-user operation state;
a detection and holding module: the touch screen control unit is used for controlling the touch screen control unit to work in a mode capable of detecting touch data when the display screen is in a bright screen state;
a detection stopping module: the touch screen control unit is used for controlling the touch screen control unit to work in a low-power-consumption working mode when the display screen is in a screen-off state; and in the low power consumption mode, the touch screen control unit is forbidden to detect the touch data.
10. The apparatus for preventing false triggering of a touch screen according to claim 6, wherein the apparatus further comprises:
a capacitance average value calculation module: the touch screen control unit is used for acquiring the capacitance value change condition of the touch data within a preset time threshold value and calculating the capacitance average change value of the touch data when the terminal is in a user operation state;
a firmware threshold update module: and the firmware threshold value of the touch screen control unit is updated according to the capacitance average change value so as to update the sensitivity of the touch screen.
CN201710221712.XA 2017-04-06 2017-04-06 Method and device for preventing touch screen from being triggered mistakenly Expired - Fee Related CN107040657B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710221712.XA CN107040657B (en) 2017-04-06 2017-04-06 Method and device for preventing touch screen from being triggered mistakenly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710221712.XA CN107040657B (en) 2017-04-06 2017-04-06 Method and device for preventing touch screen from being triggered mistakenly

Publications (2)

Publication Number Publication Date
CN107040657A CN107040657A (en) 2017-08-11
CN107040657B true CN107040657B (en) 2020-04-14

Family

ID=59533419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710221712.XA Expired - Fee Related CN107040657B (en) 2017-04-06 2017-04-06 Method and device for preventing touch screen from being triggered mistakenly

Country Status (1)

Country Link
CN (1) CN107040657B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189256B (en) * 2018-07-16 2022-02-08 青岛海信移动通信技术股份有限公司 Touch data processing method and device, mobile terminal and storage medium
CN110191209B (en) * 2019-05-20 2021-06-22 维沃移动通信有限公司 Screen switching control method and terminal
CN110324746B (en) * 2019-07-23 2020-11-24 奇酷互联网络科技(深圳)有限公司 Earphone false touch prevention method and device, storage medium and earphone
CN110822515B (en) * 2019-11-06 2022-08-26 宁波方太厨具有限公司 Kitchen appliance false touch prevention touch panel, range hood and touch prevention method of touch panel

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902478A (en) * 2012-09-10 2013-01-30 北京小米科技有限责任公司 Method, device and equipment for preventing false triggering
CN103870181A (en) * 2012-12-14 2014-06-18 联想(北京)有限公司 Handheld device control method, handheld device control device and handheld device
CN104375761A (en) * 2014-11-07 2015-02-25 惠州Tcl移动通信有限公司 Method and system for preventing misoperation of touch screen mobile phone
CN104571922A (en) * 2015-01-13 2015-04-29 小米科技有限责任公司 Touch response method, touch response device and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101794197B (en) * 2010-04-06 2012-11-07 华为终端有限公司 Triggering method of touch screen, touch device and handheld device
CN102221925B (en) * 2011-04-22 2013-04-17 惠州Tcl移动通信有限公司 Movable terminal and touch input recognition method thereof
CN103064548A (en) * 2011-10-24 2013-04-24 联咏科技股份有限公司 Gesture judgment method capable of filtering mistouched panel out
EP3196752B1 (en) * 2012-02-09 2020-05-06 Sony Corporation Capacitive touch panel device, corresponding touch input detection method and computer program product
CN102983869B (en) * 2012-11-07 2015-04-08 广东欧珀移动通信有限公司 Method capable of eliminating radio interference
CN105243345B (en) * 2015-10-30 2018-08-17 维沃移动通信有限公司 The method and electronic equipment of a kind of electronic equipment false-touch prevention

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902478A (en) * 2012-09-10 2013-01-30 北京小米科技有限责任公司 Method, device and equipment for preventing false triggering
CN103870181A (en) * 2012-12-14 2014-06-18 联想(北京)有限公司 Handheld device control method, handheld device control device and handheld device
CN104375761A (en) * 2014-11-07 2015-02-25 惠州Tcl移动通信有限公司 Method and system for preventing misoperation of touch screen mobile phone
CN104571922A (en) * 2015-01-13 2015-04-29 小米科技有限责任公司 Touch response method, touch response device and terminal

Also Published As

Publication number Publication date
CN107040657A (en) 2017-08-11

Similar Documents

Publication Publication Date Title
CN108710469B (en) Application program starting method, mobile terminal and medium product
US10955980B2 (en) Terminal and method for touchscreen input correction
CN107040657B (en) Method and device for preventing touch screen from being triggered mistakenly
US9703386B2 (en) Method for controlling terminal device by using headset wire and the terminal device thereof
KR101572071B1 (en) / apparatus and method for controlling on/off of liquid crystal display in a portable terminal
US8716941B2 (en) Terminal and brightness control method thereof
US20180203568A1 (en) Method for Enabling Function Module of Terminal, and Terminal Device
KR20100012321A (en) Mobile terminal having touch screen and method for displaying cursor thereof
US10191645B2 (en) Controlling a touch panel display during scrolling operations
CN109669566B (en) Method and device for controlling report point output
US10159046B2 (en) Mobile terminal device
CN107967418B (en) Face recognition method and mobile terminal
KR101952342B1 (en) Off-center sensor target region
CN110244849B (en) Proximity recognition method and device, mobile terminal and storage medium
CN111104001B (en) Method and device for preventing screen from being touched mistakenly, mobile terminal and storage medium
CN108388400B (en) Operation processing method and mobile terminal
CN111176529B (en) Key display method and electronic equipment
CN110851014B (en) Touch recognition method and device, storage medium and terminal equipment
CN110958345B (en) Method and device for detecting rear cover of mobile terminal and computer readable storage medium
CN108304123A (en) Page display control method and related product
CN109600514B (en) Unlocking control method and device, mobile terminal and storage medium
CN105320316A (en) Method and device for debouncing of touch screen and terminal
CN108287658B (en) Mobile terminal control touch processing method, storage device and mobile terminal
CN111064847A (en) False touch prevention method and device, storage medium and electronic equipment
CN107741826B (en) Browsing history information calling method and device and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200414

CF01 Termination of patent right due to non-payment of annual fee