CN105611450B - A kind of method, apparatus and mobile terminal for identifying self-shooting bar - Google Patents

A kind of method, apparatus and mobile terminal for identifying self-shooting bar Download PDF

Info

Publication number
CN105611450B
CN105611450B CN201610066878.4A CN201610066878A CN105611450B CN 105611450 B CN105611450 B CN 105611450B CN 201610066878 A CN201610066878 A CN 201610066878A CN 105611450 B CN105611450 B CN 105611450B
Authority
CN
China
Prior art keywords
self
audio signal
signal
shooting bar
headset plug
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
Application number
CN201610066878.4A
Other languages
Chinese (zh)
Other versions
CN105611450A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610066878.4A priority Critical patent/CN105611450B/en
Publication of CN105611450A publication Critical patent/CN105611450A/en
Application granted granted Critical
Publication of CN105611450B publication Critical patent/CN105611450B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/05Detection of connection of loudspeakers or headphones to amplifiers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Telephone Set Structure (AREA)

Abstract

The embodiment of the invention discloses a kind of method, apparatus and mobile terminal for identifying self-shooting bar, methods described includes:When the plug of external equipment inserts the external apparatus interface of mobile terminal, the first signal is sent to the signal output part of the external apparatus interface;Gather the secondary signal of the signal input part of the external apparatus interface;Judge whether first signal and the secondary signal are identical;If, it is determined that the external equipment is self-shooting bar;Wherein, each signal input part and signal output part of the plug of the self-shooting bar are connected with each other.Technical scheme provided in an embodiment of the present invention, self-shooting bar can be efficiently identified, and automatically turn on camera and enter self-timer mode.

Description

A kind of method, apparatus and mobile terminal for identifying self-shooting bar
Technical field
The present embodiments relate to self-shooting bar technical field, more particularly to a kind of method, apparatus for identifying self-shooting bar and shifting Dynamic terminal.
Background technology
Self-shooting bar is the self-timer emperorship in the fashionable world, can arbitrarily be stretched, easy to use.When being shot using self-shooting bar, use The terminal device with camera such as mobile phone, tablet personal computer, idiot camera need to be only fixed on self-shooting bar by family, by triggering certainly Multi-angle self-timer can be achieved in shooting key on dabber.
Existing line traffic control self-shooting bar, four-section type headset plug is configured typically on self-shooting bar.User can be by self-timer Four-section type headset plug insertion terminal earphone jack on bar, connection terminal are taken pictures.Either in terminal earphone jack Insertion self-shooting bar still inserts four-section type headset, and it is all uniformly identified as four-section type headset by terminal (has microphone (microphone, MIC)).
Self-shooting bar is connected after terminal, it is necessary to user's manually opened camera in terminal, then is manually switched to preposition shooting Head is to enter self-shooting bar pattern, and cumbersome, Consumer's Experience is bad.
The content of the invention
The embodiment of the present invention provides a kind of method, apparatus and mobile terminal for identifying self-shooting bar, to be connected eventually in self-shooting bar Behind end, automatic identification self-shooting bar simultaneously enters self-shooting bar pattern.
In a first aspect, the embodiments of the invention provide a kind of method for identifying self-shooting bar, including:
When the plug of external equipment inserts the external apparatus interface of mobile terminal, to the signal of the external apparatus interface Output end sends the first signal;
Gather the secondary signal of the signal input part of the external apparatus interface;
Judge whether first signal and the secondary signal are identical;
If, it is determined that the external equipment is self-shooting bar;
Wherein, each signal input part and signal output part of the headset plug of the self-shooting bar are connected with each other.
Second aspect, the embodiment of the present invention additionally provide a kind of device for identifying self-shooting bar, including:
Signal transmitting unit, for when the plug of external equipment inserts the external apparatus interface of mobile terminal, to described The signal output part of external apparatus interface sends the first signal;
Signal gathering unit, the secondary signal of the signal input part for gathering the external apparatus interface;
Signal judging unit, for judging whether first signal and the secondary signal are identical;
Self-shooting bar determining unit, if whether identical for first signal and the secondary signal, it is determined that described outer Portion's equipment is self-shooting bar;
Wherein, each signal input part and signal output part of the headset plug of the self-shooting bar are connected with each other.
The third aspect, the embodiments of the invention provide a kind of mobile terminal, it is characterised in that the mobile terminal is integrated with The device of identification self-shooting bar described in second aspect.
Technical scheme provided in an embodiment of the present invention, the circuit on self-shooting bar is redesigned, make to insert on self-shooting bar Head circuit is different from the plug circuit of other existing external equipments, and passes through the signal of the external apparatus interface to mobile terminal Output end sends signal, is returned by signal input part and records the signal, is handled by corresponding judgement, can identify that connection is mobile eventually Whether the external equipment at end is self-shooting bar, realizes the automatic identification of self-shooting bar.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to do one and simply introduce, it should be apparent that, drawings in the following description are this hairs Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the method for identification self-shooting bar that the embodiment of the present invention one provides;
Fig. 2 is a kind of schematic flow sheet of the method for identification self-shooting bar that the embodiment of the present invention two provides;
Fig. 3 is a kind of schematic flow sheet of the method for identification self-shooting bar that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural representation of the device for identification self-shooting bar that the embodiment of the present invention four provides.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, hereinafter with reference to attached in the embodiment of the present invention Figure, technical scheme is clearly and completely described by embodiment, it is clear that described embodiment is the present invention one Section Example, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out under the premise of creative work the every other embodiment obtained, belong to the scope of protection of the invention.
Embodiment one
Fig. 1 is a kind of schematic flow sheet of the method for identification self-shooting bar that the embodiment of the present invention one provides.This method is applicable In the situation that user is taken pictures using self-shooting bar, can be performed by the device for the identification self-shooting bar being configured in mobile terminal, Described device can be realized by software and/or hardware.Referring to Fig. 1, the method for the identification self-shooting bar that the present embodiment provides specifically includes:
S110, when external equipment plug insert mobile terminal external apparatus interface when, to the external apparatus interface Signal output part send the first signal;
In the prior art, line traffic control self-shooting bar is typically all to connect mobile terminal by headset plug, and control mobile terminal enters Row is taken pictures.It is also to connect mobile terminal by Earphone joint to carry out signal transmission, such as earphone to have a lot of other external equipments Equipment.Each signal input part of the joint used on self-shooting bar can be connected with signal output part.Due to self-shooting bar Typically only need a port to carry out transmission of control signals, the signal input part of plug on self-shooting bar is connected it with signal output part Afterwards, the use of self-shooting bar can't be influenceed.For example, when using three-section earphone plug on self-shooting bar, three-section earphone plug Including L channel end, R channel end and ground terminal, one of sound channel end (such as L channel end) can be used to be used as headset plug Signal input part, signal output part of another sound channel end (R channel end) as headset plug, R channel end produce control letter Number control mobile terminal taken pictures.When using four-section type headset plug on self-shooting bar, four-section type headset plug includes left sound Road end, R channel end, MIC ends and ground terminal, L channel end and R channel end can as the signal input part of four-section type headset plug, Signal output part of the MIC ends as headset plug, MIC ends produce control signal control mobile terminal and taken pictures.
When the plug of external equipment inserts the external apparatus interface of mobile terminal, external apparatus interface on mobile terminal The signal output part of signal input part and plug connects, the signal output part of external apparatus interface and the letter of plug on mobile terminal The connection of number input.Now, the first signal can be sent to the signal output part of external apparatus interface.
Foregoing description is used simply using headset plug as an example, be not the limitation to the plug of external equipment As long as plug use on self-shooting bar.For example, the plug of the connection mobile terminal used on external equipment can also be USB public affairs Female.In addition, also it is not restricted for the type of headset plug, for example, the plug on self-shooting bar also includes with headset plug The type such as development, the five-part form headset plug of appearance.
S120, the collection external apparatus interface signal input part secondary signal;
S130, judge whether first signal and the secondary signal are identical;
Then after the external apparatus interface of the plug insertion mobile terminal of external equipment, to the signal output of external apparatus interface End sends the first signal, if the first signal collected is identical with secondary signal, illustrating can be by the signal of external apparatus interface Input returns record to the first signal, because the signal input part of the plug on self-shooting bar is connected with signal output part, it may be determined that even The external equipment for connecing mobile terminal is self-shooting bar.
If S140, it is determined that the external equipment are self-shooting bar.
The technical scheme that the present embodiment provides, the circuit on self-shooting bar is redesigned, and makes plug electricity on self-shooting bar Road is different from the plug circuit of other existing external equipments, and passes through the signal output of the external apparatus interface to mobile terminal End sends signal, is returned by signal input part and records the signal, is handled by corresponding judgement, can identify connection mobile terminal Whether external equipment is self-shooting bar, realizes the automatic identification of self-shooting bar.
Embodiment two
Fig. 2 is a kind of schematic flow sheet of the method for identification self-shooting bar that the embodiment of the present invention two provides.The present embodiment is On the basis of embodiment one, it is preferable to carry out on self-shooting bar using in the case of four-section type headset plug connection mobile terminal Example, referring to Fig. 2, the method for the identification self-shooting bar that the present embodiment provides specifically includes:
S210, when external equipment four-section type headset plug insert mobile terminal earphone interface when, connect to the earphone First sound channel end of mouth sends the first audio signal;
In the prior art, headset plug mainly has three-stage and four-part form two types.Line traffic control self-shooting bar and four-part form ear What is typically configured on machine equipment is four-section type headset plug.The circuit of four-section type headset plug on self-shooting bar can be set Meter, to distinguish the circuit of the headset plug of four-section type headset equipment.By the MIC ends of self-shooting bar headset plug and L channel end or R channel terminal circuit connects, i.e. the MIC ends of headset plug and L channel end or R channel terminal shortcircuit.And just conventional four-part form The MIC ends of the plug of earphone and L channel end and R channel end all disconnect on ear speaker device.
At work, mobile terminal can first detect whether the headset plug insertion earphone interface of external equipment;If so, Judge whether the headset plug is four-section type headset plug.Specifically, when the earphone interface of mobile terminal has external equipment When headset plug inserts, headset plug insertion can be produced on mobile terminal and is interrupted, then, mobile terminal continues to judge the ear of insertion Machine transplanting of rice head is three-stage or four-part form.
Wherein it is possible to judge whether headset plug is four-section type headset plug in the following manner:
Detect the headset plug MIC ends and ground terminal resistance whether within a preset range;If, it is determined that institute It is four-section type headset plug to state headset plug.
If headset plug is three-stage, the only ground terminal of the headset plug, be considered as MIC ends on headset plug with Ground terminal shortcircuit, ground terminal is collectively constituted, then the MIC ends of three-section earphone and the resistance of ground terminal are zero.And set for four-section type headset There is certain resistance for standby between MIC ends and low side, and the resistance is within the scope of certain.Therefore detection can be passed through Whether the MIC ends of headset plug and the resistance of ground terminal determine that the headset plug for inserting mobile terminal is within a preset range Four-section type headset plug or three-section earphone plug.
It is determined that when the headset plug of insertion is four-section type headset plug, L channel end, the right side on mobile terminal earphone socket L channel end, R channel end, MIC ends on sound channel end, MIC ends and ground terminal and four-section type headset plug and a pair of ground terminal 1 It should connect.The first audio signal can be sent to the first sound channel end of headset plug.Wherein, the first sound channel end of headset plug is The L channel end or R channel end of headset plug, and the sound channel end is connected through pre-setting with earphone MIC terminal circuits.
S220, sound-recording function is opened, gather second audio signal at the MIC ends of the earphone interface;
After the headset plug insertion terminal earphone interface of external equipment, the MIC ends of headset plug and earphone interface MIC ends realize circuit connection, can record the first sound back and forth by second audio signal at the MIC ends for gathering the earphone interface The audio signal that road end is sent, that is, gather second audio signal at the MIC ends of earphone interface.
S230, judge whether first audio signal and second audio signal are identical;
If S240, it is determined that the external equipment are self-shooting bar.
When the first audio signal is identical with the second audio signal, illustrate that return record by MIC ends sends out to the first sound channel end The first audio signal sent, it may be determined that the first sound channel end and the MIC ends of the headset plug of external equipment are realized on hardware circuit Connection, then to can determine that external equipment be self-shooting bar.
Wherein, the first sound channel end of the headset plug of the self-shooting bar connects with MIC ends.
In the present embodiment, when the first sound channel end of headset plug is connected with MIC, one can be used inside self-shooting bar Individual contactor realizes the connection at the first sound channel end and MIC ends.Before using self-shooting bar connection mobile terminal, circuit can control First sound channel end is attached by switch with MIC ends;Mobile terminal is being connected using self-shooting bar, it is determined that insertion mobile terminal is outer Portion's equipment is after self-shooting bar, controllable contactor disconnects the first sound channel end on self-shooting bar and MIC ends.Due in self-shooting bar The upper button mainly connected using MIC terminal circuits is taken pictures to control, flexibly controlled using contactor the first sound channel end with The connection and disconnection at MIC ends, effective identification of self-shooting bar was both may insure, and can also reduce by the first sound channel circuit to MIC ends electricity The interference on road, user is set preferably to carry out self-timer.
The technical scheme that the present embodiment provides, the circuit on self-shooting bar is redesigned, makes self-shooting bar headset plug Circuit is different from the headset plug circuit of existing four-section type headset equipment, and by the sound channel of the headset plug on self-shooting bar End sends audio signal, is returned by earphone interface MIC ends and records the audio signal, is handled by corresponding judgement, can the company of identification The external equipment for connecing mobile terminal is self-shooting bar or ear speaker device, realizes the automatic identification of self-shooting bar.
Embodiment three
Fig. 3 is a kind of schematic flow sheet of the method for identification self-shooting bar that the embodiment of the present invention three provides.The present embodiment is It is optimized on the basis of above-described embodiment two, referring to Fig. 3, the method for the identification self-shooting bar that the present embodiment provides includes:
S310, when external equipment four-section type headset plug insert mobile terminal earphone interface when, connect to the earphone First sound channel end of mouth sends the first audio signal;
S320, sound-recording function is opened, gather second audio signal at the MIC ends of the earphone interface;
S330, judge whether the difference of average value of amplitude of first audio signal and second audio signal is less than First given threshold;Or judge whether the difference of the frequency values of first audio signal and second audio signal is less than Second given threshold;
When judging whether the first audio signal and the second audio signal identical, can by judge the first audio signal with The difference of the average value of the good amplitude of second audio is no to be less than the determination of the first given threshold.For example, the first audio signal is V (t), V (t) can be the signals such as sine wave, square wave or triangular wave, the duration of the first audio signal is T, then the first audio signal The average value of amplitude beThe mean value calculation of the amplitude of second audio signal is similar, then judges the two Whether the difference of the average value of amplitude is less than the first given threshold.
When external equipment is earphone, second audio signal at the MIC ends of the earphone interface collected is generally clutter letter Number, the amplitude or frequency of the frequency of the noise signal and the first audio signal are very different.And for self-shooting bar, due to certainly The MIC ends of dabber are connected with the first sound channel terminal circuit, by the first frequency signal got to signal transacting and the second audio Signal is identical or close.
Therefore the frequency of the first audio signal and the second audio signal can be compared, judge whether external equipment equipment is certainly Dabber.For example, settable the first audio signal sent is periodic signal, the first audio signal and the second audio signal are distinguished Make FFT (fast Fourier) conversion, the frequency of the first audio signal and the frequency of the second audio signal can be obtained, then by this For the difference of two frequencies compared with the second given threshold, whether the difference of determination frequency is less than the second given threshold.
Wherein, first given threshold and the second given threshold can be set according to actual conditions.For example, by first Given threshold or the second given threshold are arranged to one close to zero numerical value;
If S340, it is determined that first audio signal are identical with second audio signal;
If S350, first audio signal are identical with second audio signal, it is determined that the external equipment is certainly Dabber;
S360, it is determined that the external equipment be self-shooting bar after, control the mobile terminal to enter camera mode, and open Open front camera.
It is determined that external equipment be self-shooting bar after, illustrate user using line traffic control self-shooting bar connect mobile terminal, it is necessary to Taken pictures using self-shooting bar.Mobile terminal can be controlled to enter camera mode, and open front camera, now, Yong Huke Taken pictures with the camera function key directly operated on self-shooting bar, it is convenient and swift.
The present embodiment provide technical scheme, by judge the signal characteristic of the first audio signal and the second audio signal come Determine whether external equipment is self-shooting bar, can accurately and efficiently identify self-shooting bar, and it is determined that external equipment is self-shooting bar Afterwards, control mobile terminal enters camera mode, and opens front camera, facilitates user to carry out self-timer operation.
Example IV
Fig. 4 is a kind of structural representation of the device for identification self-shooting bar that the embodiment of the present invention four provides.Referring to Fig. 4, institute Stating device includes:
Signal transmitting unit 410, for when external equipment plug insert mobile terminal external apparatus interface when, to institute The signal output part for stating external apparatus interface sends the first signal;
Signal gathering unit 420, the secondary signal of the signal input part for gathering the external apparatus interface;
Signal judging unit 430, for judging whether first signal and the secondary signal are identical;
Self-shooting bar determining unit 440, if whether identical for first signal and the secondary signal, it is determined that described External equipment is self-shooting bar;
Wherein, each signal input part and signal output part of the headset plug of the self-shooting bar are connected with each other.
Further, the signal transmitting unit 410 is specifically used for:
When it is four-section type headset plug to insert the headset plug of external equipment of earphone interface of mobile terminal, to described First sound channel end of headset plug sends the first audio signal;
The signal gathering unit 420, specifically for opening sound-recording function, gather the of the MIC ends of the earphone interface Two audio signals;
The signal judging unit 430, specifically for judging that first audio signal is with second audio signal It is no identical;
The self-shooting bar determining unit 440, if specifically for first audio signal and the second audio signal phase Together, it is determined that the external equipment is self-shooting bar;
Wherein, the first sound channel end of the headset plug of the self-shooting bar connects with MIC ends.
Further, described device also includes:
Headset plug detection unit 450, for detecting whether there is the headset plug insertion earphone interface of external equipment;
Headset plug type judging unit 460, if for there is the headset plug of external equipment to insert earphone interface, judge institute State whether headset plug is four-section type headset plug.
Further, the headset plug type judging unit 460, including:
Earphone MIC resistance detections subelement 461, for detecting MIC ends and the resistance of ground terminal of the headset plug Whether within a preset range;
Four-section type headset plug determination subelement 462, if for the MIC ends of the headset plug and the resistance of ground terminal Within a preset range, it is determined that the headset plug is four-section type headset plug.
Further, the signal judging unit 430, including:
First audio signal judgment sub-unit 431, for judging first audio signal and second audio signal The difference of average value of amplitude whether be less than the first given threshold;
Second audio signal judgment sub-unit 432, for judging first audio signal and second audio signal The differences of frequency values whether be less than the second given threshold;
Judged result determination subelement 433, if for first audio signal and the amplitude of second audio signal Average value difference be less than the first given threshold or first audio signal and second audio signal frequency values it Difference is less than the second given threshold, it is determined that first audio signal is identical with second audio signal.
Further, described device also includes:
Self-timer mode opening unit 470, for after it is determined that the external equipment is self-shooting bar, control it is described it is mobile eventually End enters camera mode, and opens front camera.
The method that said apparatus can perform the identification self-shooting bar that any embodiment of the present invention is provided, possesses execution method phase The functional module and beneficial effect answered.
In addition, the embodiment of the present invention additionally provides a kind of mobile terminal, the mobile terminal is integrated with above-mentioned identification certainly The device of dabber.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (9)

  1. A kind of 1. method for identifying self-shooting bar, it is characterised in that including:
    When the plug of external equipment inserts the external apparatus interface of mobile terminal, to the signal output of the external apparatus interface End sends the first signal, including:When the four-section type headset plug of external equipment inserts the earphone interface of mobile terminal, to described First sound channel end of earphone interface sends the first audio signal;
    The secondary signal of the signal input part of the external apparatus interface is gathered, including:Sound-recording function is opened, gathers the earphone Second audio signal at the microphone MIC ends of interface;
    Judge whether first signal and the secondary signal are identical, including:Judge first audio signal and described the Whether two audio signals are identical;
    If, it is determined that the external equipment is self-shooting bar;
    Wherein, each signal input part and signal output part of the headset plug of the self-shooting bar are connected with each other, including:It is described from First sound channel end of the headset plug of dabber connects with MIC ends, wherein, the self-shooting bar realizes the first sound channel by contactor The connection at end and MIC ends;Before using self-shooting bar connection mobile terminal, contactor carries out the first sound channel end and MIC ends Connection, mobile terminal is being connected using self-shooting bar, it is determined that the external equipment of insertion mobile terminal is after self-shooting bar, contactor First sound channel end on self-shooting bar and MIC ends are disconnected;
    It is described to judge whether first audio signal and second audio signal are identical, including:
    Judge whether the difference of the average value of the amplitude of first audio signal and second audio signal is less than the first setting Threshold value;Or judge whether the difference of the frequency values of first audio signal and second audio signal is less than the second setting Threshold value;
    If, it is determined that first audio signal is identical with second audio signal.
  2. 2. according to the method for claim 1, it is characterised in that described when the four-section type headset plug of external equipment inserts During the earphone interface of mobile terminal, before sending the first audio signal to the first sound channel end of the headset plug, in addition to:
    Detect whether the headset plug insertion earphone interface of external equipment;
    If so, judging whether the headset plug is four-section type headset plug.
  3. 3. according to the method for claim 2, it is characterised in that described to judge whether the headset plug is four-section type headset Plug, including:
    Detect the headset plug MIC ends and ground terminal resistance whether within a preset range;
    If, it is determined that the headset plug is four-section type headset plug.
  4. 4. according to the method any one of claim 1-3, it is characterised in that determine that the external equipment is certainly described After dabber, in addition to:
    Control the mobile terminal to enter camera mode, and open front camera.
  5. A kind of 5. device for identifying self-shooting bar, it is characterised in that including:
    Signal transmitting unit, for when external equipment plug insert mobile terminal external apparatus interface when, to the outside The signal output part of equipment interface sends the first signal, specifically for inserting movement eventually when the four-section type headset plug of external equipment During the earphone interface at end, the first audio signal is sent to the first sound channel end of the earphone interface;
    Signal gathering unit, the secondary signal of the signal input part for gathering the external apparatus interface, specifically for opening Sound-recording function, gather second audio signal at the MIC ends of the earphone interface;
    Signal judging unit, for judging whether first signal and the secondary signal are identical, specifically for described in judgement Whether the first audio signal and second audio signal are identical;
    Self-shooting bar determining unit, if whether identical for first signal and the secondary signal, it is determined that the outside is set Standby is self-shooting bar, if identical with second audio signal specifically for first audio signal, it is determined that the outside is set Standby is self-shooting bar;
    Wherein, each signal input part and signal output part of the headset plug of the self-shooting bar are connected with each other, and are specially described First sound channel end of the headset plug of self-shooting bar connects with MIC ends;Wherein, the self-shooting bar realizes the first sound by contactor The connection at road end and MIC ends;Before using self-shooting bar connection mobile terminal, contactor enters at the first sound channel end with MIC ends Go and connect, mobile terminal is being connected using self-shooting bar, it is determined that the external equipment of insertion mobile terminal is after self-shooting bar, circuit is opened Close and disconnect the first sound channel end on self-shooting bar and MIC ends;
    The signal judging unit includes:
    First audio signal judgment sub-unit, for judging first audio signal and the amplitude of second audio signal Whether the difference of average value is less than the first given threshold;
    Second audio signal judgment sub-unit, for judging the frequency values of first audio signal and second audio signal Difference whether be less than the second given threshold;
    Judged result determination subelement, if the average value for first audio signal and the amplitude of second audio signal Difference be less than the differences of the first given threshold or the frequency values of first audio signal and second audio signal less than the Two given thresholds, it is determined that first audio signal is identical with second audio signal.
  6. 6. device according to claim 5, it is characterised in that also include:
    Headset plug detection unit, for detecting whether there is the headset plug insertion earphone interface of external equipment;
    Headset plug type judging unit, if for there is the headset plug of external equipment to insert earphone interface, judge the earphone Whether plug is four-section type headset plug.
  7. 7. device according to claim 5, it is characterised in that the headset plug type judging unit, including:
    Earphone MIC resistance detection subelements, for whether detecting the MIC ends of the headset plug and the resistance of ground terminal pre- If in scope;
    Four-section type headset plug determination subelement, if for the MIC ends of the headset plug and the resistance of ground terminal default In the range of, it is determined that the headset plug is four-section type headset plug.
  8. 8. according to the device any one of claim 5-7, it is characterised in that also include:
    Self-timer mode opening unit, for after it is determined that the external equipment is self-shooting bar, controlling the mobile terminal to enter Camera mode, and open front camera.
  9. A kind of 9. mobile terminal, it is characterised in that the mobile terminal be integrated with identification described in claim any one of 5-8 from The device of dabber.
CN201610066878.4A 2016-01-29 2016-01-29 A kind of method, apparatus and mobile terminal for identifying self-shooting bar Active CN105611450B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610066878.4A CN105611450B (en) 2016-01-29 2016-01-29 A kind of method, apparatus and mobile terminal for identifying self-shooting bar

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610066878.4A CN105611450B (en) 2016-01-29 2016-01-29 A kind of method, apparatus and mobile terminal for identifying self-shooting bar

Publications (2)

Publication Number Publication Date
CN105611450A CN105611450A (en) 2016-05-25
CN105611450B true CN105611450B (en) 2018-03-09

Family

ID=55990932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610066878.4A Active CN105611450B (en) 2016-01-29 2016-01-29 A kind of method, apparatus and mobile terminal for identifying self-shooting bar

Country Status (1)

Country Link
CN (1) CN105611450B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114710583A (en) * 2022-04-08 2022-07-05 维沃移动通信有限公司 Microphone calling method and device, electronic equipment and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104066028A (en) * 2014-06-19 2014-09-24 深圳市中兴移动通信有限公司 Communication method based on headset jack and terminal device
CN105163234A (en) * 2015-08-04 2015-12-16 广东欧珀移动通信有限公司 Selfie stick fitting method, device and corresponding mobile device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4310463B2 (en) * 2003-10-14 2009-08-12 キンポ エレクトロニクス インコーポレイテッド Commonly used detection device for video / audio interface outlet and earphone line outlet
CN202695907U (en) * 2012-01-11 2013-01-23 天地融科技股份有限公司 Audio signal transferring and receiving device and audio signal transmission system
CN204206428U (en) * 2014-08-21 2015-03-11 北京康智乐思网络科技有限公司 Audio interface and audio connector communication system and main equipment thereof and external equipment
CN105120388B (en) * 2015-08-12 2018-09-07 青岛海信移动通信技术股份有限公司 The recognition methods of self-shooting bar and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104066028A (en) * 2014-06-19 2014-09-24 深圳市中兴移动通信有限公司 Communication method based on headset jack and terminal device
CN105163234A (en) * 2015-08-04 2015-12-16 广东欧珀移动通信有限公司 Selfie stick fitting method, device and corresponding mobile device

Also Published As

Publication number Publication date
CN105611450A (en) 2016-05-25

Similar Documents

Publication Publication Date Title
CN103634724B (en) Earphone connection interface, earphone operating method and the terminal for supporting the interface and method
CN201657320U (en) Earphone plug-pull detecting circuit for mobile phone
CN201509235U (en) Headphone detection circuit of mobile terminal and mobile terminal thereof
CN101431708A (en) Terminal and method for recognizing headphone type
CN105100330A (en) Method and mobile terminal for optimizing equipment sound effect
CN107172515A (en) Test earphone plug is inserted in mobile terminal detection circuit and mobile terminal
CN104093114B (en) A kind of detection means of earphone keystroke, detecting system and detection method
CN104144237B (en) Communication terminal audio frequency production line test method and test device
CN105100368B (en) Information processing method and device
CN102035924B (en) Detection circuit and detection method for four-section coaxial earphone interface of mobile phone
CN105611450B (en) A kind of method, apparatus and mobile terminal for identifying self-shooting bar
CN102457790B (en) Active noise reduction earphone and earphone detection device
CN105404600B (en) Take into account the method and device of USB eye patterns performance and OTG functions
CN109918041A (en) A kind of voicefrequency circuit, relevant device and control method
CN104459376B (en) A kind of interface circuit and peripherals detecting method, outer sensor based on the circuit
CN207995366U (en) A kind of earphone compatible circuit and electric terminal
CN101184284A (en) Control method for judging insertion type of earphone by mobile phone
CN107635171A (en) A kind of circuit for improving earphone compatible
CN105744418B (en) A kind of method, apparatus and mobile terminal for identifying self-shooting bar
CN104093104A (en) Circuit and method for eliminating POP sound of earphone
CN105677603B (en) A kind of method, apparatus and mobile terminal for identifying self-shooting bar
CN101540644B (en) Adaptation method for audio device, device and system
CN105611449B (en) A kind of method, apparatus and mobile terminal for identifying self-shooting bar
CN104469347A (en) Detection circuit of video transmission cable and video output chip
CN211557438U (en) Audio signal passback device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.