CN107995372B - False touch grounding identification processing method and circuit and mobile terminal - Google Patents
False touch grounding identification processing method and circuit and mobile terminal Download PDFInfo
- Publication number
- CN107995372B CN107995372B CN201711422901.XA CN201711422901A CN107995372B CN 107995372 B CN107995372 B CN 107995372B CN 201711422901 A CN201711422901 A CN 201711422901A CN 107995372 B CN107995372 B CN 107995372B
- Authority
- CN
- China
- Prior art keywords
- grounding
- event
- switch
- detection module
- mobile terminal
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/24—Arrangements for testing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72463—User 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)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Environmental & Geological Engineering (AREA)
- Telephone Function (AREA)
- Telephone Set Structure (AREA)
Abstract
The invention provides a false touch grounding identification processing method, a circuit and a mobile terminal. The method is applied to the mobile terminal, the grounding end of the earphone seat of the mobile terminal is grounded through the grounding detection module, and the method comprises the following steps: detecting whether a microphone signal contact arranged on the earphone generates a grounding event or not under the condition that the earphone is inserted into an earphone insertion port of the earphone seat; switching the working state of the grounding detection module under the condition that a grounding event occurs; after the working state of the grounding detection module is switched, the working parameters of the microphone signal contact are obtained; judging whether the grounding event is a false grounding event or not according to the acquired working parameters; if yes, not responding to the grounding event; if not, responding to the grounding event. Therefore, by utilizing the grounding detection module, the problem that the mobile terminal can respond to the mistaken grounding event of the microphone signal contact is solved.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a method and a circuit for identifying and processing false touch grounding and a mobile terminal.
Background
At present, a metal housing is used for a housing of a mobile terminal, and the metal housing in the mobile terminal is connected with a ground of a main board due to the requirements of an antenna and electrostatic protection. When the earphone is inserted into the mobile terminal, if the insulating coating of the metal shell is damaged, a microphone signal contact arranged on the earphone is likely to be in mistaken contact with the metal shell, and at this time, the mobile terminal can detect that the microphone signal contact generates a grounding event. Since the grounding event is caused by a mis-contact of the microphone signal contact with the metal housing, the grounding event may be considered a mis-touch grounding event. Then, the mobile terminal responds to the false touch event, which may cause abnormal problems such as music stop, call hang-up, etc.
Disclosure of Invention
The embodiment of the invention provides a false touch grounding identification processing method, a circuit and a mobile terminal, and aims to solve the problem that the mobile terminal in the prior art can respond to a false touch grounding event of a microphone signal contact.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for identifying and processing a false touch ground, which is applied to a mobile terminal, a ground terminal of an earphone seat of the mobile terminal is grounded through a ground detection module, the ground detection module has at least two working states, and resistances of the ground detection module in each working state are different from each other, and the method includes:
detecting whether a microphone signal contact arranged on the earphone generates a grounding event or not under the condition that the earphone is inserted into an earphone insertion port of the earphone seat;
switching the working state of the grounding detection module under the condition that the grounding event occurs to the microphone signal contact;
after the working state of the grounding detection module is switched, obtaining the working parameters of the microphone signal contact;
judging whether the grounding event is a false grounding event or not according to the acquired working parameters;
if yes, not responding to the grounding event;
and if not, responding to the grounding event.
In a second aspect, an embodiment of the present invention provides a circuit for identifying and processing a false touch ground, which is applied to a mobile terminal, and the circuit includes: the grounding detection module and the processor are connected with each other; the grounding end of the earphone seat of the mobile terminal is grounded through the grounding detection module, the grounding detection module has at least two working states, and the resistances of the grounding detection modules in the working states are different;
the processor is used for detecting whether a microphone signal contact arranged on the earphone generates a grounding event or not under the condition that the earphone is inserted into the earphone jack of the earphone seat; sending a switching control signal to the ground detection module when the microphone signal contact has the ground event;
the grounding detection module is used for switching the working state according to the received switching control signal;
the processor is further configured to acquire working parameters of the microphone signal contact after the working state of the grounding detection module is switched; judging whether the grounding event is a false grounding event or not according to the acquired working parameters; if yes, not responding to the grounding event; and if not, responding to the grounding event.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including the above false touch ground identification processing circuit.
In a fourth aspect, an embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the above-mentioned false-touch ground identification processing method.
In the embodiment of the invention, the mobile terminal is provided with the grounding detection module. When detecting that a grounding event occurs to a microphone signal contact arranged on the earphone, the mobile terminal does not temporarily respond to the grounding event, but switches the working state of the grounding detection module so as to change the resistance of the grounding detection module. After the resistance of the grounding detection module is changed, the mobile terminal can judge whether the grounding event is a mistaken grounding event according to the working parameters of the microphone signal contact. Under the condition that the grounding event is not the mistaken touch grounding event, the mobile terminal responds to the grounding event so as to respond to the key action of the user; and under the condition that the grounding event is the mistaken grounding event, the mobile terminal does not respond to the grounding event, so that the abnormal problems of music stop, call hang-up and the like are avoided. Therefore, by utilizing the grounding detection module, the embodiment of the invention solves the problem that the mobile terminal can respond to the mistaken grounding event of the microphone signal contact.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the description of the embodiments of the present invention will be briefly introduced 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 to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of a method for identifying and processing a false touch ground according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
FIG. 3 is a circuit diagram of a circuit for recognizing and processing a fault contact ground according to an embodiment of the present invention;
FIG. 4 is a second circuit diagram of the circuit for recognizing and processing the false touch ground according to the embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of another mobile terminal according to an embodiment of the present invention.
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 some, not all, embodiments of the present invention. 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.
First, a method for recognizing a fault contact according to an embodiment of the present invention will be described.
It should be noted that the method for identifying and processing a false touch ground provided by the embodiment of the present invention is applied to a mobile terminal. In particular, the mobile terminal may be any device having a communication function, such as: mobile phones, Tablet personal computers (Tablet personal Computer), Laptop computers (Laptop Computer), Personal Digital Assistants (PDA), Mobile Internet Devices (MID), Wearable devices (Wearable Device), and the like.
Referring to fig. 1, a flowchart of a method for identifying a false touch ground according to an embodiment of the present invention is shown. As shown in fig. 1, the method is applied to a mobile terminal, a ground terminal of an earphone seat of the mobile terminal is grounded through a ground detection module, the ground detection module has at least two (for example, two, three, four, or more) working states, and resistances of the ground detection modules in the working states are different from each other, and the method includes the following steps:
Generally, as shown in fig. 2, the headset 1 includes a headset speaker 11, a headset jack 12, and a headset microphone and key module 13. The earphone speaker 11 is a device for playing sound; the earphone plug-in part 12 is used for being plugged with an earphone plug-in port of the earphone seat 2, and the microphone signal contact is specifically arranged on the earphone plug-in part 12; the earphone microphone and key module 13 is provided with a plurality of switches and a plurality of resistors, which enable combinations of different keys.
In a specific implementation manner of the embodiment of the present invention, detecting whether a grounding event occurs to a microphone signal contact disposed on an earphone includes:
acquiring the working voltage of a microphone signal contact arranged on the earphone;
and if the acquired working voltage is zero, determining that the grounding event occurs on the microphone signal contact.
It can be seen that, by such an embodiment, the mobile terminal can conveniently and quickly detect whether a grounding event occurs on the microphone signal contact.
It should be noted that when a grounding event occurs to the microphone signal contact, the grounding event may be caused by a user performing a key pressing operation on the earphone microphone and the key module 13 in fig. 2, or may be caused by a mis-contact of the microphone signal contact with the metal housing of the mobile terminal. If the mobile terminal directly responds to the grounding event, there is a possibility that an abnormal problem such as music stop or call hang-up may occur, and therefore, when the grounding event occurs in the microphone signal contact, the mobile terminal does not temporarily respond to the grounding event, but first performs step 102.
And 102, switching the working state of the grounding detection module.
It should be noted that, specific implementation forms of switching the working state of the ground fault detection module are various, and examples are described below.
In a specific implementation manner of the embodiment of the present invention, the ground fault detection module has two working states, and the ground fault detection module includes: the circuit comprises a resistor, a first switch and a second switch, wherein one end of the resistor is connected with a grounding end through the first switch, the other end of the resistor is grounded, and the grounding end is grounded through the second switch; before the mobile terminal detects a grounding event, the first switch is in an open state, and the second switch is in a closed state;
at this time, the switching of the working state of the grounding detection module includes:
and controlling the first switch to be closed and controlling the second switch to be opened so as to switch the working state of the grounding detection module.
In specific implementation, as shown in fig. 3 and 4 (fig. 4 is an equivalent circuit diagram of fig. 3), the ground fault detection module 3 includes: a resistor 31, a first switch 32, and a second switch 33; one end of the resistor 31 is connected to the ground terminal 21 of the earphone holder 2 through the first switch 32, the other end of the resistor 31 is grounded, and the ground terminal 21 of the earphone holder 2 is also grounded through the second switch 33. It can be seen that the ground detection module 3 has two operating states: when the first switch 32 is in a closed state and the second switch 33 is in an open state, the ground detection module 3 is in a working state, and the resistance of the ground detection module 3 is zero; when the first switch 32 is in an open state and the second switch 33 is in a closed state, the ground fault detection module 3 is in another working state, and the resistance of the ground fault detection module 3 is the resistance of the resistor 31.
It can be seen that in this embodiment, the structure of the ground detection module 3 is very simple, and the mobile terminal can conveniently and quickly switch the working state of the ground detection module 3.
And 103, acquiring working parameters of the microphone signal contact after the working state of the grounding detection module is switched.
The working parameters of the microphone signal contact may include a working voltage, and of course, the specific type of the working parameters is not limited thereto, and it is only required to ensure that the mobile terminal can determine whether the grounding event of the microphone signal contact is a false grounding event according to the working parameters.
In a specific implementation of the embodiment of the present invention, the operating parameter includes an operating voltage;
according to the obtained working parameters, judging whether the grounding event is a fault grounding event or not, comprising the following steps:
judging whether the obtained working voltage is zero or not;
if the working voltage is zero, determining that the grounding event is a false grounding event;
and if the working voltage is not zero, determining that the grounding event is not a false grounding event.
It can be seen that, by means of the embodiment, the mobile terminal can conveniently and quickly determine whether the grounding event of the microphone signal contact is a false grounding event.
In order to facilitate the understanding of the present solution for those skilled in the art, the following describes a detailed implementation process of the embodiment of the present invention with reference to fig. 3 and 4.
As shown in fig. 3 and 4, the earphone microphone and key module 13 has a microphone resistor R thereinmicIn addition, it is provided with a plurality of switches (S respectively)0、S1、S2、……、SnN may be 7) and a plurality of resistors (R respectively)1、R2、……、Rn,R1、R2、……、RnAre different from each other), R in fig. 40Is zero. S0、S1、S2、……、SnRespectively correspond to different keys, S0Corresponding may be send key, S1The corresponding key can be volume plus-minus key, the key corresponding to other switches can be determined according to the actual situation, and in the working process,S0、S1、……、Snat most one of them is in closed state, and the other switches are all in open state. It should be noted that V in FIG. 40Voltage, R, supplied to the earphone microphone for the power supply unitbIs a preset bias resistor for preventing V0Corresponding to the waveform distortion, Vin, is the voltage at the microphone input of the earphone (i.e., the operating voltage of the microphone signal contact, as described above).
It should be noted that in the case where no grounding event of the microphone signal contact is detected, the first switch 32 is in the open state and the second switch 33 is in the closed state.
Thus, when the earphone is inserted into the earphone jack of the earphone holder 2 and there is no key operation (at this time, S)0To SnAll remain in the off state), Vin may be calculated using the following equation (1):
when the earphone is plugged in the earphone jack of the earphone seat 2 and the key action exists (at this time, S)0To SnOne of them, e.g. SxIn a closed state under the action of the key, and the remaining switches remain in an open state), Vin may be calculated by using the following formula (2):
the calculation formula of Ru in the above formula (2) is shown in the following formula (3):
Ru=∑Rx=R0+……+Rx (3)
it should be noted that the grounding event of the microphone signal contact mainly occurs in the following two cases:
in the first case, the user presses S0Putting the switch in a closed state, keeping the other switches in an open state, obtaining zero Ru according to the formula (3), and substituting the zero Ru into the formula (2)To get Vin to be zero as well, and thus, the mobile terminal determines that a grounding event has occurred on the microphone signal contact. Since the grounding event in the first case is a pair S performed actively by the user0Is caused by a key press action, the grounding event is a normal grounding event.
In the second case, the microphone signal contact makes a false contact with the metal shell of the mobile terminal, and since the metal shell is connected to the ground of the main board, Vin is also zero at this time, so that the mobile terminal determines that the microphone signal contact has a ground event. Since the grounding event in the second case is caused by a mis-contact of the microphone signal contact with the metal housing, the grounding event is not a normal grounding event but a mis-contact grounding event.
Since the grounding event may occur in the above two cases, when the mobile terminal detects that Vin is zero, the mobile terminal does not temporarily respond to the grounding event, but first determines whether the grounding event is a false grounding event. In order to determine whether the grounding event is a false grounding event, the mobile terminal controls the first switch 32 to be closed and controls the second switch 33 to be opened.
If the grounding event is caused by the user's key pressing, Vin will change before and after the on/off states of the first switch 32 and the second switch 33 are switched, and the changed Vin can be calculated by the following formula (4):
it is easy to see that Vin calculated using equation (4) is not zero.
If the grounding event is caused by the erroneous contact between the microphone signal contact and the metal case, Vin will not change before and after the switching of the open/closed states of the first switch 32 and the second switch 33. Thus, Vin remains zero.
In view of this, after the switching of the open and closed states of the first switch 32 and the second switch 33, the mobile terminal acquires Vin again. If the obtained Vin is not zero, which means that Vin changes before and after the on-off states of the first switch 32 and the second switch 33 are switched, a grounding event is caused by a key operation of a user, and the mobile terminal responds to the grounding event. If the obtained Vin is zero, this indicates that Vin does not change before and after the on-off states of the first switch 32 and the second switch 33 are switched, so the grounding event is caused by the erroneous contact between the microphone signal contact and the metal shell, the grounding event is an erroneous contact grounding event, and the mobile terminal does not respond to the grounding event, so as to avoid abnormal problems such as music stop, call hang-up and the like.
In the embodiment of the invention, the mobile terminal is provided with the grounding detection module. When detecting that a grounding event occurs to a microphone signal contact arranged on the earphone, the mobile terminal does not temporarily respond to the grounding event, but switches the working state of the grounding detection module so as to change the resistance of the grounding detection module. After the resistance of the grounding detection module is changed, the mobile terminal can judge whether the grounding event is a mistaken grounding event according to the working parameters of the microphone signal contact. Under the condition that the grounding event is not the mistaken touch grounding event, the mobile terminal responds to the grounding event so as to respond to the key action of the user; and under the condition that the grounding event is the mistaken grounding event, the mobile terminal does not respond to the grounding event, so that the abnormal problems of music stop, call hang-up and the like are avoided. Therefore, by utilizing the grounding detection module, the embodiment of the invention solves the problem that the mobile terminal can respond to the mistaken grounding event of the microphone signal contact.
Optionally, after acquiring the operating parameters of the microphone signal contact, the method further includes:
the first switch is controlled to be opened, and the second switch is controlled to be closed.
As shown in fig. 3 and 4, after the mobile terminal controls the first switch 32 to be closed, controls the second switch 33 to be opened, and acquires Vin again, the mobile terminal may control the first switch 32 to be opened and control the second switch 33 to be closed. Thus, the resistance of the ground fault detection module 3 is restored to zero. Thereafter, when the mobile terminal detects Vin as zero again (i.e. the grounding event occurs again), the mobile terminal may control the first switch 32 to be closed again, control the second switch 33 to be opened, and acquire Vin again, so as to determine whether the grounding event occurring again is a false touch grounding event according to the acquired Vin again.
In summary, by using the grounding detection module, the embodiment of the invention better solves the problem that the mobile terminal can respond to the mistaken grounding event of the microphone signal contact.
The following describes a circuit for recognizing and processing a fault contact ground according to an embodiment of the present invention.
It should be noted that the false touch ground identification processing circuit provided by the embodiment of the present invention is applied to a mobile terminal. Referring to fig. 2 to 4, the false touch ground recognition processing circuit includes: the grounding detection module 3 and the processor 4 are connected with each other; the earthing terminal 21 of the earphone seat 2 of the mobile terminal is earthed through the earthing detection module 3, the earthing detection module 3 has at least two working states, and the earthing detection module 3 is different at the resistance of each working state:
the processor 4 is used for detecting whether a microphone signal contact arranged on the earphone 1 generates a grounding event or not under the condition that the earphone 1 is inserted into the earphone jack of the earphone seat 2; when the signal contact of the microphone generates a grounding event, a switching control signal is sent to the grounding detection module 3;
the grounding detection module 3 is used for switching the working state according to the received switching control signal;
the processor 4 is further configured to obtain working parameters of the microphone signal contact after the grounding detection module 3 switches the working state; judging whether the grounding event is a false grounding event or not according to the acquired working parameters; if yes, not responding to the grounding event; if not, responding to the grounding event.
Optionally, the operating parameter comprises an operating voltage;
the processor 4 is specifically configured to: judging whether the obtained working voltage is zero or not; if the working voltage is zero, determining that the grounding event is a false grounding event; and if the working voltage is not zero, determining that the grounding event is not a false grounding event.
Optionally, the ground fault detection module 3 has two working states, and the ground fault detection module 3 includes: the circuit comprises a resistor 31, a first switch 32 and a second switch 33, wherein one end of the resistor 31 is connected with a ground terminal 21 through the first switch 32, the other end of the resistor 31 is grounded, and the ground terminal 21 is grounded through the second switch 33; before the mobile terminal detects the grounding event, the first switch 32 is in an open state, and the second switch 33 is in a closed state;
the processor 4 is specifically configured to: the first switch 32 is controlled to be closed, and the second switch 33 is controlled to be opened, so as to switch the working state of the grounding detection module 3.
Optionally, the processor 4 is further configured to: after acquiring the operating parameters of the microphone signal contacts, the first switch 32 is controlled to be open, and the second switch 33 is controlled to be closed.
Optionally, the processor 4 is specifically configured to: acquiring the working voltage of a microphone signal contact arranged on the earphone 1; and if the acquired working voltage is zero, determining that the grounding event occurs on the microphone signal contact.
In summary, by using the grounding detection module 3, the embodiment of the invention better solves the problem that the mobile terminal can respond to the mistaken grounding event of the microphone signal contact.
Preferably, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes the above false touch ground identification processing circuit.
The specific implementation process of the false touch ground identification processing circuit may refer to the above description, and the embodiment of the present invention does not limit this.
Since the mis-touch ground identification processing circuit has the above technical effects, the mobile terminal having the mis-touch ground identification processing circuit also has corresponding technical effects, which are not described herein again.
Referring to fig. 5, a hardware structure diagram of a mobile terminal (i.e., mobile terminal 200) implementing various embodiments of the present invention is shown. As shown in fig. 5, the mobile terminal 200 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the mobile terminal structure illustrated in fig. 5 is not intended to be limiting of the mobile terminal 200, and that the mobile terminal 200 may include more or less components than those illustrated, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal 200 includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The grounding end of the earphone seat of the mobile terminal is grounded through the grounding detection module, the grounding detection module has at least two working states, and the resistances of the grounding detection module in the working states are different; a processor 510 for:
detecting whether a microphone signal contact arranged on the earphone generates a grounding event or not under the condition that the earphone is inserted into an earphone insertion port of the earphone seat;
under the condition that a grounding event occurs to a microphone signal contact, switching the working state of a grounding detection module;
after the working state of the grounding detection module is switched, the working parameters of the microphone signal contact are obtained;
judging whether the grounding event is a false grounding event or not according to the acquired working parameters;
if yes, not responding to the grounding event;
if not, responding to the grounding event.
As can be seen, with the grounding detection module, the embodiment of the present invention better solves the problem that the mobile terminal 200 may respond to the mistaken grounding event of the microphone signal contact.
Optionally, the operating parameter comprises an operating voltage;
judging whether the obtained working voltage is zero or not;
if the working voltage is zero, determining that the grounding event is a false grounding event;
and if the working voltage is not zero, determining that the grounding event is not a false grounding event.
Optionally, the ground fault detection module has two working states, and the ground fault detection module includes: the circuit comprises a resistor, a first switch and a second switch, wherein one end of the resistor is connected with a grounding end through the first switch, the other end of the resistor is grounded, and the grounding end is grounded through the second switch; before the mobile terminal detects a grounding event, the first switch is in an open state, and the second switch is in a closed state;
and controlling the first switch to be closed and controlling the second switch to be opened so as to switch the working state of the grounding detection module.
Optionally, the processor 510 is further configured to:
and after the working parameters of the microphone signal contact are acquired, the first switch is controlled to be opened, and the second switch is controlled to be closed.
Optionally, the processor 510 is specifically configured to:
acquiring the working voltage of a microphone signal contact arranged on the earphone;
and if the acquired working voltage is zero, determining that the grounding event occurs on the microphone signal contact.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 200 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The mobile terminal 200 also includes at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 200 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 200. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 200 or may be used to transmit data between the mobile terminal 200 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The mobile terminal 200 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 200 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 510, a memory 509, and a computer program stored in the memory 509 and capable of running on the processor 510, where the computer program, when executed by the processor 510, implements each process of the foregoing false touch ground identification processing method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. The false touch grounding identification processing method is applied to a mobile terminal, a grounding end of an earphone seat of the mobile terminal is grounded through a grounding detection module, the grounding detection module has at least two working states, and the resistances of the grounding detection module in the working states are different from each other, and the method comprises the following steps:
detecting whether a microphone signal contact arranged on the earphone generates a grounding event or not under the condition that the earphone is inserted into an earphone insertion port of the earphone seat;
switching the working state of the grounding detection module under the condition that the grounding event occurs to the microphone signal contact;
after the working state of the grounding detection module is switched, obtaining the working parameters of the microphone signal contact;
judging whether the grounding event is a false grounding event or not according to the acquired working parameters;
if yes, not responding to the grounding event;
if not, responding to the grounding event;
the ground fault detection module has two kinds of operating condition, the ground fault detection module includes: the circuit comprises a resistor, a first switch and a second switch, wherein one end of the resistor is connected with the grounding end through the first switch, the other end of the resistor is grounded, and the grounding end is grounded through the second switch; before the mobile terminal detects the grounding event, the first switch is in an open state, and the second switch is in a closed state;
the switching the working state of the grounding detection module comprises:
and controlling the first switch to be closed and controlling the second switch to be opened so as to switch the working state of the grounding detection module.
2. The method of claim 1, wherein the operating parameter comprises an operating voltage;
the judging whether the grounding event is a fault grounding event or not according to the acquired working parameters comprises the following steps:
judging whether the obtained working voltage is zero or not;
if the working voltage is zero, determining that the grounding event is a false grounding event;
and if the working voltage is not zero, determining that the grounding event is not a false grounding event.
3. The method of claim 1, wherein after obtaining the operating parameters of the microphone signal contacts, the method further comprises:
and controlling the first switch to be opened and the second switch to be closed.
4. The method of any one of claims 1 to 3, wherein said detecting whether a grounding event occurs at a microphone signal contact provided on the headset comprises:
acquiring the working voltage of a microphone signal contact arranged on the earphone;
and under the condition that the working voltage is zero, determining that a grounding event occurs on the microphone signal contact.
5. A false touch grounding identification processing circuit is applied to a mobile terminal, and comprises: the grounding detection module and the processor are connected with each other; the grounding end of the earphone seat of the mobile terminal is grounded through the grounding detection module, the grounding detection module has at least two working states, and the resistances of the grounding detection modules in the working states are different;
the processor is used for detecting whether a microphone signal contact arranged on the earphone generates a grounding event or not under the condition that the earphone is inserted into the earphone jack of the earphone seat; sending a switching control signal to the ground detection module when the microphone signal contact has the ground event;
the grounding detection module is used for switching the working state according to the received switching control signal;
the processor is further configured to acquire working parameters of the microphone signal contact after the working state of the grounding detection module is switched; judging whether the grounding event is a false grounding event or not according to the acquired working parameters; if yes, not responding to the grounding event; if not, responding to the grounding event;
the ground fault detection module has two kinds of operating condition, the ground fault detection module includes: the circuit comprises a resistor, a first switch and a second switch, wherein one end of the resistor is connected with the grounding end through the first switch, the other end of the resistor is grounded, and the grounding end is grounded through the second switch; before the mobile terminal detects the grounding event, the first switch is in an open state, and the second switch is in a closed state;
the processor is specifically configured to: and controlling the first switch to be closed and controlling the second switch to be opened so as to switch the working state of the grounding detection module.
6. The circuit of claim 5, wherein the operating parameter comprises an operating voltage;
the processor is specifically configured to: judging whether the obtained working voltage is zero or not; if the working voltage is zero, determining that the grounding event is a false grounding event; and if the working voltage is not zero, determining that the grounding event is not a false grounding event.
7. The circuit of claim 5, wherein the processor is further configured to: and after the working parameters of the microphone signal contact are acquired, controlling the first switch to be switched off and controlling the second switch to be switched on.
8. The circuit of any of claims 5 to 7, wherein the processor is specifically configured to: acquiring the working voltage of a microphone signal contact arranged on the earphone; and if the acquired working voltage is zero, determining that the grounding event occurs on the microphone signal contact.
9. A mobile terminal characterized by comprising the false touch ground identification processing circuit according to any one of claims 5 to 8.
10. A mobile terminal, characterized in that it comprises a processor, a memory, a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the false touch ground identification processing method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711422901.XA CN107995372B (en) | 2017-12-25 | 2017-12-25 | False touch grounding identification processing method and circuit and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711422901.XA CN107995372B (en) | 2017-12-25 | 2017-12-25 | False touch grounding identification processing method and circuit and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107995372A CN107995372A (en) | 2018-05-04 |
CN107995372B true CN107995372B (en) | 2020-04-07 |
Family
ID=62042915
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711422901.XA Active CN107995372B (en) | 2017-12-25 | 2017-12-25 | False touch grounding identification processing method and circuit and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107995372B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110248264B (en) * | 2019-04-25 | 2021-01-15 | 维沃移动通信有限公司 | Sound transmission control method and terminal equipment |
CN111343334A (en) * | 2020-02-13 | 2020-06-26 | 惠州Tcl移动通信有限公司 | Event processing method and device, terminal equipment and storage medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101778319B (en) * | 2009-12-11 | 2014-05-07 | 宇龙计算机通信科技(深圳)有限公司 | Method, system and mobile terminal for preventing misjudgment of earphone keystroke detection |
KR20120124163A (en) * | 2011-05-03 | 2012-11-13 | 삼성전자주식회사 | Earjack and a portable terminal using the same |
CN102769810B (en) * | 2012-07-25 | 2016-01-13 | 惠州Tcl移动通信有限公司 | A kind of mobile terminal preventing call misoperation |
CN104093114B (en) * | 2014-07-22 | 2018-03-16 | Tcl通讯(宁波)有限公司 | A kind of detection means of earphone keystroke, detecting system and detection method |
CN105187992B (en) * | 2015-09-24 | 2018-09-28 | 青岛歌尔声学科技有限公司 | a kind of microphone switch control circuit and method |
CN106226647B (en) * | 2016-07-29 | 2019-03-05 | 维沃移动通信有限公司 | The earphone socket and electronic equipment of a kind of electronic equipment |
-
2017
- 2017-12-25 CN CN201711422901.XA patent/CN107995372B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN107995372A (en) | 2018-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108459797B (en) | Control method of folding screen and mobile terminal | |
CN109343759B (en) | Screen-turning display control method and terminal | |
CN107835321B (en) | Incoming call processing method and mobile terminal | |
CN108196815B (en) | Method for adjusting call sound and mobile terminal | |
CN107728923B (en) | Operation processing method and mobile terminal | |
CN110012143B (en) | Telephone receiver control method and terminal | |
CN107887947B (en) | Protection method for charging port and mobile terminal | |
CN108287655A (en) | A kind of interface display method, interface display apparatus and mobile terminal | |
CN111651387B (en) | Interface circuit and electronic equipment | |
CN111093137B (en) | Volume control method, volume control equipment and computer readable storage medium | |
CN110442261B (en) | Electronic equipment and touch operation detection method thereof | |
CN110784394A (en) | Prompting method and electronic equipment | |
CN108388459B (en) | Message display processing method and mobile terminal | |
CN107995372B (en) | False touch grounding identification processing method and circuit and mobile terminal | |
CN108093119B (en) | Strange incoming call number marking method and mobile terminal | |
CN108170310B (en) | Touch screen control method and mobile terminal | |
CN111526248B (en) | Audio output mode switching method and electronic equipment | |
CN110471808B (en) | Pressure key detection method and device and mobile terminal | |
CN110673761B (en) | Touch key detection method and terminal equipment thereof | |
CN110209543B (en) | Earphone socket detection method and terminal | |
CN108924319B (en) | Proximity detection method and mobile terminal | |
CN109889942B (en) | Type-C patch cord, control method and terminal equipment | |
CN109491572B (en) | Screen capturing method of mobile terminal and mobile terminal | |
CN109088978B (en) | Terminal and method for controlling terminal | |
CN108459796B (en) | Function key response method 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 |