CN105611449B - 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
CN105611449B
CN105611449B CN201610066102.2A CN201610066102A CN105611449B CN 105611449 B CN105611449 B CN 105611449B CN 201610066102 A CN201610066102 A CN 201610066102A CN 105611449 B CN105611449 B CN 105611449B
Authority
CN
China
Prior art keywords
self
external equipment
shooting bar
mic
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
Application number
CN201610066102.2A
Other languages
Chinese (zh)
Other versions
CN105611449A (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 CN201610066102.2A priority Critical patent/CN105611449B/en
Publication of CN105611449A publication Critical patent/CN105611449A/en
Application granted granted Critical
Publication of CN105611449B publication Critical patent/CN105611449B/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)
  • Telephone Set Structure (AREA)
  • Circuit For Audible Band Transducer (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 headset plug that the earphone interface of mobile terminal has external equipment inserts, open MIC and recorded;Determine whether the external equipment is self-shooting bar according to the voice signal of recording.Technical scheme provided in an embodiment of the present invention, the voice signal that can be recorded according to MIC, self-shooting bar is efficiently identified, and automatically turn on camera after self-shooting bar is identified 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.
In a first aspect, the embodiments of the invention provide a kind of method for identifying self-shooting bar, including:
When the headset plug that the earphone interface of mobile terminal has external equipment inserts, open MIC and recorded;
Determine whether the external equipment is self-shooting bar according to the voice signal of recording.
Second aspect, the embodiment of the present invention additionally provide a kind of device for identifying self-shooting bar, including:
Record opening unit, for have when the earphone interface of mobile terminal the headset plug of external equipment insertion when, open MIC is recorded;
Self-shooting bar determining unit, for determining whether the external equipment is self-shooting bar according to the voice signal of recording.
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 ear of mobile terminal is inserted in the headset plug for detecting external equipment During machine interface, open MIC and recorded, determine whether external equipment is self-shooting bar according to the voice signal of recording, due to self-timer The structure of the headset plug of bar is different from the structure of other equipment headset plug, and different sound letters can be recorded to by MIC Number identify 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 schematic flow sheet of the method for identification self-shooting bar that the embodiment of the present invention four provides;
Fig. 5 is a kind of schematic flow sheet of the method for identification self-shooting bar that the embodiment of the present invention five provides;
Fig. 6 is a kind of structural representation of the device for identification self-shooting bar that the embodiment of the present invention six 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 the earphone interface of mobile terminal have external equipment headset plug insert when, open MIC recorded;
In existing application, headset plug usually is configured on line traffic control self-shooting bar, it is mobile whole by the way that headset plug is inserted The earphone interface at end connects mobile terminal, and controls mobile terminal to be taken pictures.When the earphone interface of mobile terminal has outside During the headset plug insertion of equipment, an interruption can be produced on mobile terminal, MIC can be now opened and be recorded.Specifically, may be used Main MIC and/or earphone MIC is opened to be recorded.Wherein main MIC recording, to use the recording that main MIC is connected on mobile terminal Path is recorded, i.e., intrinsic main MIC is recorded in using terminal;Earphone MIC recording connect to open on mobile terminal Earphone MIC recording chain is recorded, i.e., is recorded using the ear speaker device with MIC of connection mobile terminal.Due to The general recording chain for having two, can open main MIC and earphone MIC simultaneously and be recorded in mobile terminal.
It should be noted that even if do not have on mobile terminal connection with MIC ear speaker device, or connection equipment do not have There is MIC, mobile terminal can also open earphone MIC and be recorded, and now, record the voice signal less than outside, that is, record Signal is not outside voice signal.
Wherein, the headset plug of the self-shooting bar is preferably four-section type headset plug.In the prior art, most commonly used ear Machine transplanting of rice head is three-section earphone plug and four-section type headset plug, when the earphone that the earphone interface of mobile terminal has external equipment is inserted During head insertion, the type of headset plug can be first judged.
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, the MIC ends being considered as 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 for four-section type headset There is certain resistance for equipment between MIC ends and low side, and the resistance is within the scope of certain.Therefore inspection can be passed through Survey headset plug MIC ends and ground terminal resistance whether within a preset range come determine insert mobile terminal headset plug It is 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, it is mobile L channel end, R channel end, MIC ends and ground terminal on terminal earphone socket and the L channel end on four-section type headset plug, R channel end, MIC ends and ground terminal connect one to one.
It should be noted that the description in the present embodiment for the type of headset plug is not the headset plug to using Limitation, for example, plug on self-shooting bar also includes with the class such as the development of headset plug, the five-part form headset plug of appearance Type, these earphones can equally use on self-shooting bar.
S120, according to the voice signal of recording determine whether the external equipment is self-shooting bar.
After MIC recording are opened in control, voice signal can be recorded to, due to the ear on self-timer bar apparatus and other external equipments Machine transplanting of rice header structure is different, such as the headset plug circuit structure from being used on ear speaker device is different.Connected and moved using self-shooting bar Opened after terminal after the voice signal that MIC is recorded is connected mobile terminal with other external equipments and open the voice signal that MIC is recorded Can be otherwise varied, it can identify whether external equipment is self-shooting bar by the voice signal of recording.For example, can be according to the sound of recording The feature or content of sound signal determine whether external equipment is self-shooting bar.
The present embodiment provides technical scheme, and the earphone interface of mobile terminal is inserted in the headset plug for detecting external equipment When, open MIC and recorded, determine whether external equipment is self-shooting bar according to the voice signal of recording, due to the ear of self-shooting bar The structure of machine transplanting of rice head is different from the structure of other equipment headset plug, and different voice signal identification can be recorded to by MIC Go out 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 It is optimized on the basis of above-described embodiment one, referring to Fig. 2, the method for the identification self-shooting bar that the present embodiment provides specifically is wrapped Include:
S210, when the earphone interface of mobile terminal have external equipment headset plug insert when, open main MIC and/or ear Machine MIC is recorded;
S220, voice recognition processing is carried out to the voice signal that the main MIC and/or earphone MIC is recorded, identified described The content of voice signal;
Further, when the headset plug for having external equipment when the earphone interface of mobile terminal inserts, master is opened Before MIC and/or earphone MIC is recorded, in addition to:When the earphone interface of mobile terminal has the headset plug of external equipment During insertion, play cuing information reminding user carries out phonetic entry.
If the content of S230, the voice signal is the first preset content, it is determined that the external equipment is self-shooting bar;
For example, when the headset plug that the earphone interface of mobile terminal has external equipment inserts, voice message letter can play Breath prompting user carries out phonetic entry.Now, user can carry out phonetic entry, for example, saying " self-shooting bar ", mobile terminal can lead to Cross main MIC and/or earphone MIC to be recorded, voice recognition processing then is carried out to the voice signal of recording, if identifying record The voice signal of system is " self-shooting bar ", then can determine that the external equipment is self-shooting bar.
S240, the external equipment is determined after self-shooting bar, to control the mobile terminal to open camera, and open preposition 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 open camera, and open front camera, now, user can be straight The camera function key connect on operation self-shooting bar is taken pictures, convenient and swift.
The technical scheme that the present embodiment provides, when the headset plug that the earphone interface of mobile terminal has external equipment inserts When, open main MIC and/or earphone MIC and recorded, language is carried out to the voice signal that the main MIC and/or earphone MIC is recorded Sound identifying processing, the content of the voice signal is identified, self-timer can be gone out by identifying the content recognition of external voice signal Bar, it is easy to operate.
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 one, referring to Fig. 3, the method for the identification self-shooting bar that the present embodiment provides specifically is wrapped Include:
S310, when the headset plug that the earphone interface of mobile terminal has external equipment inserts, open earphone MIC and carry out Recording;
S320, the volume and/or frequency for calculating the voice signal that the earphone MIC is recorded;
For example, usable wave volume algorithm calculates the volume value of the voice signal of recording, to the voice signal of recording Make Fourier transformation, the frequency for the voice signal recorded.
If S330, the volume are in the first preset range and/or the frequency is in the second preset range, it is determined that institute It is self-shooting bar to state external equipment.
MIC is not provided with the headset plug of general self-shooting bar, when self-shooting bar connects mobile terminal by headset plug, Zero is generally by the volume of the voice signal of earphone MIC typings, and certain rule is presented in frequency, can be according to earphone The volume value of the voice signal of MIC typings and/or frequency are come whether identify the external equipment of current connection mobile terminal be self-timer Bar.
Wherein, first preset range and the second preset range can obtain in the following manner:
Connect different mobile terminals respectively using multiple self-shooting bars, and recorded by the earphone MIC of each mobile terminal The volume and frequency of corresponding voice signal, each mobile terminal can be recorded to voice signal during different self-shooting bar accesses, Then the volume value and frequency of multiple voice signals is calculated;
Volume value and frequency according to multiple voice signals are calculated determine the first preset range and the second preset range. Wherein, the first preset range of setting includes the volume value scope for the multiple voice signals recorded, the second preset range of setting The frequency range of multiple voice signals including recording.
S340, the external equipment is determined after self-shooting bar, to control the mobile terminal to open camera, and open preposition Camera.
The technical scheme that the present embodiment provides, when the headset plug that the earphone interface of mobile terminal has external equipment inserts When, open earphone MIC and recorded, calculate the volume and/or frequency for the voice signal that the earphone MIC is recorded;According to recording Voice signal volume and/or frequency identification external equipment whether be self-shooting bar, due to self-shooting bar access mobile terminal when lead to Certain rule can be presented by crossing the voice signal of earphone MIC recordings, and it is this whether checking external equipment meets when connecting self-shooting bar Default rule, it is possible to achieve the identification of self-shooting bar.
Example IV
Fig. 4 is a kind of schematic flow sheet of the method for identification self-shooting bar that the embodiment of the present invention four provides.The present embodiment is It is optimized on the basis of above-described embodiment one, referring to Fig. 4, the method for the identification self-shooting bar that the present embodiment provides specifically is wrapped Include:
S410, when the headset plug that the earphone interface of mobile terminal has external equipment inserts, open earphone MIC and carry out Recording;
S420, voice recognition processing is carried out to the voice signal that the earphone MIC is recorded, whether identify the voice signal For voice signal;
Further, when the headset plug for having external equipment when the earphone interface of mobile terminal inserts, ear is opened Before machine MIC is recorded, in addition to:When the headset plug that the earphone interface of mobile terminal has external equipment inserts, play Prompt message reminds user to carry out phonetic entry.
At present, on self-shooting bar it is usually no MIC, when external equipment be self-shooting bar, opens earphone MIC and record It is not voice signal that the signal recorded afterwards is general, thus the voice signal that can be recorded according to earphone MIC whether be voice come Determine whether external equipment is self-shooting bar.
If S430, the voice signal are not voice signal, it is determined that the external equipment is self-shooting bar.
S440, the external equipment is determined after self-shooting bar, to control the mobile terminal to open camera, and open preposition Camera.
The technical scheme that the present embodiment provides, when the headset plug that the earphone interface of mobile terminal has external equipment inserts When, open earphone MIC and recorded, whether the voice signal according to earphone MIC recordings is voice signal to identify external equipment Whether it is self-shooting bar, self-shooting bar can be identified.
Embodiment five
Fig. 5 is a kind of schematic flow sheet of the method for identification self-shooting bar that the embodiment of the present invention five provides.The present embodiment is It is optimized on the basis of above-described embodiment one, referring to Fig. 5, the method for the identification self-shooting bar that the present embodiment provides specifically is wrapped Include:
S510, when the earphone interface of mobile terminal have external equipment headset plug insert when, to the earphone interface First sound channel end sends setting audio signal;
S520, unlatching earphone MIC are recorded;
Wherein, the first sound channel end of the headset plug of the self-timer rod end connects with second sound channel end, the mobile terminal Second sound channel end be connected by switching with the MIC ends of the mobile terminal.
In the present embodiment, first the first sound channel end of self-shooting bar headset plug is connected with second sound channel terminal circuit, will The L channel end of headset plug connects with R channel end, and on just conventional ear speaker device the L channel end of headset plug with R channel end disconnects.
After mobile terminal is connected by headset plug on self-shooting bar, the first sound channel end of self-timer headset plug and movement are whole First sound channel end, the second sound channel end of self-shooting bar the headset plug connection corresponding with the second sound channel end of mobile terminal at end.Moving In dynamic terminal, second sound channel end is connected with MIC ends by switch, now, mobile terminal can be recorded by earphone MIC The signal at second sound channel end.
If S530, the voice signal recorded are identical with the setting audio signal, it is determined that the external equipment is self-timer Bar;
Specifically, it can determine whether voice signal and the setting audio signal of recording are identical by following manner:
The setting audio signal is sampled according to preset sample frequency, obtains the first sampled data;
The voice signal of the recording is sampled according to the preset sample frequency, obtains the second sampled data;
Judge whether the difference of each data corresponding to first sampled data and second sampled data is less than setting Threshold value;
If, it is determined that the voice signal of the recording is identical with the setting audio signal.
S540, the external equipment is determined after self-shooting bar, to control the mobile terminal to open camera, and before unlatching Put camera.
The technical scheme that the present embodiment provides, technical scheme provided in an embodiment of the present invention, the circuit on self-shooting bar is entered Row redesigns, and self-shooting bar headset plug circuit is different from the headset plug circuit of existing ear speaker device, and pass through sound channel End sends audio signal, is returned by MIC ends and records the audio 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.
Embodiment six
Fig. 6 is a kind of structural representation of the device for identification self-shooting bar that the embodiment of the present invention six provides.Referring to Fig. 6, institute Stating device includes:
Record opening unit 610, for have when the earphone interface of mobile terminal the headset plug of external equipment insertion when, open MIC is opened to be recorded;
Self-shooting bar determining unit 620, for determining whether the external equipment is self-shooting bar according to the voice signal of recording.
Further, the recording opening unit 610 is specifically used for:When the earphone interface of mobile terminal has external equipment When headset plug inserts, open main MIC and/or earphone MIC and recorded;
The self-shooting bar determining unit 620, specifically for entering to the voice signal of the main MIC and/or earphone MIC recordings Row voice recognition processing, identify the content of the voice signal;Determine that the outside is set according to the content of the voice signal Whether standby be self-shooting bar.
Further, the recording opening unit 610 is specifically used for:When the earphone interface of mobile terminal has external equipment When headset plug inserts, open earphone MIC and recorded;
The self-shooting bar determining unit 620, volume and/or frequency specifically for calculating the voice signal, according to institute State volume and/or frequency determines whether the external equipment is self-shooting bar.
Further, the recording opening unit 610 is specifically used for:When the earphone interface of mobile terminal has external equipment When headset plug inserts, open earphone MIC and recorded;
The self-shooting bar determining unit 620 includes:
Voice signal identifies subelement 621, and the voice signal for being recorded to the earphone MIC is carried out at speech recognition Whether reason, identify whether the voice signal is voice signal, be that voice signal determines the outside according to the voice signal Whether equipment is self-shooting bar;
Self-shooting bar determination subelement 622, if not being voice signal for the voice signal, it is determined that the external equipment For self-shooting bar.
Further, described device also includes:
Audio signal transmitting element 630, for opening before MIC recorded, to the first sound of the earphone interface Road end sends setting audio signal;
The recording opening unit 610, specifically for there is the headset plug of external equipment when the earphone interface of mobile terminal During insertion, open earphone MIC and recorded;
The self-shooting bar determining unit 620, if identical with the setting audio signal specifically for the voice signal recorded, It is self-shooting bar then to determine the external equipment;
Wherein, the first sound channel end of the headset plug of the self-timer rod end connects with second sound channel end, the mobile terminal Second sound channel end be connected by switching with the MIC ends of the mobile terminal.
Further, described device also includes:
First sampled data acquiring unit 640, if for the voice signal in the recording and the setting audio signal It is identical, it is determined that before the external equipment is self-shooting bar, the setting audio signal is adopted according to preset sample frequency Sample, obtain the first sampled data;
Second sampled data acquiring unit 650, for the voice signal according to the preset sample frequency to the recording Sampled, obtain the second sampled data;
Sampled data judging unit 660, for judging corresponding to first sampled data and second sampled data Whether the difference of each data is less than given threshold;
Audio signal determining unit 670, if each corresponding to the first sampled data and second sampled data for stating The difference of data is less than given threshold, it is determined that the voice signal of the recording is identical with the setting audio signal.
Further, the self-shooting bar determining unit 620 is specifically used for:If the content of the voice signal is first default Content, it is determined that the external equipment is self-shooting bar.
Further, the self-shooting bar determining unit 620 is specifically used for:If the volume in the first preset range and/ Or the frequency is in the second preset range, it is determined that the external equipment is self-shooting bar.
Further, described device, in addition to:
Phonetic entry Tip element 680, for being inserted in the earphone for having external equipment when the earphone interface of mobile terminal During head insertion, open before main MIC and/or earphone MIC recorded, when the earphone interface of mobile terminal has external equipment When headset plug inserts, play cuing information reminding user carries out phonetic entry.
Further, the headset plug of the external equipment is four-section type headset plug.
Further, described device also includes:
Self-timer mode opening unit 690, after being self-shooting bar in the determination external equipment, control the shifting Dynamic terminal opens camera, 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-described embodiment six In identification self-shooting bar device.
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 (25)

  1. A kind of 1. method for identifying self-shooting bar, it is characterised in that including:
    When the headset plug that the earphone interface of mobile terminal has external equipment inserts, open MIC and recorded;
    Wherein, the unlatching MIC is recorded, including:Main MIC and/or earphone MIC is opened to be recorded;
    Determine whether the external equipment is self-shooting bar according to the voice signal of recording;
    Wherein, the voice signal according to recording determines whether the external equipment is self-shooting bar, including:To the main MIC And/or the voice signal that earphone MIC is recorded carries out voice recognition processing, identifies the content of the voice signal;According to described The content of voice signal determines whether the external equipment is self-shooting bar;
    After the determination external equipment is self-shooting bar, in addition to:
    Control the mobile terminal to open camera, and open front camera.
  2. 2. according to the method for claim 1, it is characterised in that the content according to the voice signal determines described outer Whether portion's equipment is self-shooting bar, including:If the content of the voice signal is the first preset content, it is determined that the external equipment For self-shooting bar.
  3. 3. according to the method for claim 1, it is characterised in that described when the earphone interface of mobile terminal has external equipment Headset plug insertion when, open before main MIC and/or earphone MIC recorded, in addition to:When the earphone of mobile terminal When the headset plug that interface has external equipment inserts, play cuing information reminding user carries out phonetic entry.
  4. 4. according to the method described in claim any one of 1-3, it is characterised in that the headset plug of the external equipment is four sections Formula headset plug.
  5. A kind of 5. method for identifying self-shooting bar, it is characterised in that including:
    When the headset plug that the earphone interface of mobile terminal has external equipment inserts, open MIC and recorded;
    Wherein, the unlatching MIC is recorded, including:Earphone MIC is opened to be recorded;
    Determine whether the external equipment is self-shooting bar according to the voice signal of recording;
    Wherein, the voice signal according to recording determines whether the external equipment is self-shooting bar, including:Calculate the sound The frequency or frequency and volume of signal, determine whether the external equipment is certainly according to the frequency or frequency and volume Dabber;
    Wherein, it is zero by the volume of the voice signal of earphone MIC typings, and certain rule is presented in frequency, according to earphone Whether the frequency or frequency of the voice signal of MIC typings and volume value identify the external equipment of current connection mobile terminal For self-shooting bar;
    After the determination external equipment is self-shooting bar, in addition to:
    Control the mobile terminal to open camera, and open front camera.
  6. 6. according to the method for claim 5, it is characterised in that described to be determined according to the frequency or frequency and volume Whether the external equipment is self-shooting bar, including:If the volume is in the first preset range and/or the frequency is pre- second If in scope, it is determined that the external equipment is self-shooting bar.
  7. 7. the method according to claim 5 or 6, it is characterised in that the headset plug of the external equipment is four-part form ear Machine transplanting of rice head.
  8. A kind of 8. method for identifying self-shooting bar, it is characterised in that including:
    When the headset plug that the earphone interface of mobile terminal has external equipment inserts, play cuing information reminding user carries out language Sound inputs;
    When the headset plug that the earphone interface of mobile terminal has external equipment inserts, open MIC and recorded;
    Wherein, the unlatching MIC is recorded, including:Earphone MIC is opened to be recorded;
    Determine whether the external equipment is self-shooting bar according to the voice signal of recording;
    Wherein, the voice signal according to recording determines whether the external equipment is self-shooting bar, including:To the earphone The voice signal that MIC is recorded carries out voice recognition processing, identifies whether the voice signal is voice signal, according to the sound Whether signal is that voice signal determines whether the external equipment is self-shooting bar;
    If the voice signal is not voice signal, it is determined that the external equipment is self-shooting bar;
    After the determination external equipment is self-shooting bar, in addition to:
    Control the mobile terminal to open camera, and open front camera.
  9. 9. according to the method for claim 8, it is characterised in that the headset plug of the external equipment is inserted for four-section type headset Head.
  10. A kind of 10. method for identifying self-shooting bar, it is characterised in that including:
    When the headset plug that the earphone interface of mobile terminal has external equipment inserts, open MIC and recorded;
    Wherein, also include before opening MIC and being recorded:Setting audio letter is sent to the first sound channel end of the earphone interface Number;
    The unlatching MIC is recorded, including:Earphone MIC is opened to be recorded;
    Determine whether the external equipment is self-shooting bar according to the voice signal of recording;
    Wherein, the voice signal according to recording determines whether the external equipment is self-shooting bar, including:If the sound recorded Signal is identical with the setting audio signal, it is determined that the external equipment is self-shooting bar;
    Wherein, the first sound channel end of the headset plug of the self-timer rod end connects with second sound channel end, and the of the mobile terminal Two sound channel ends are connected by switching with the MIC ends of the mobile terminal;
    Wherein, after mobile terminal is connected by headset plug on self-shooting bar, the first sound channel end of self-timer headset plug and movement First sound channel end of terminal, the connection corresponding with the second sound channel end of mobile terminal of the second sound channel end of self-shooting bar headset plug; On mobile terminal, second sound channel end and MIC ends are connected by switch, now, mobile terminal records the by earphone MIC The signal at two sound channel ends;
    After the determination external equipment is self-shooting bar, in addition to:
    Control the mobile terminal to open camera, and open front camera.
  11. 11. according to the method for claim 10, it is characterised in that if voice signal and the setting sound in the recording Frequency signal is identical, it is determined that before the external equipment is self-shooting bar, in addition to:
    The setting audio signal is sampled according to preset sample frequency, obtains the first sampled data;
    The voice signal of the recording is sampled according to the preset sample frequency, obtains the second sampled data;
    Judge whether the difference of each data corresponding to first sampled data and second sampled data is less than given threshold;
    If, it is determined that the voice signal of the recording is identical with the setting audio signal.
  12. 12. the method according to claim 10 or 11, it is characterised in that the headset plug of the external equipment is four-part form Headset plug.
  13. A kind of 13. device for identifying self-shooting bar, it is characterised in that including:
    Record opening unit, for have when the earphone interface of mobile terminal the headset plug of external equipment insertion when, open MIC enter Row recording;
    The recording opening unit is specifically used for:When the headset plug that the earphone interface of mobile terminal has external equipment inserts, Main MIC and/or earphone MIC is opened to be recorded;
    Self-shooting bar determining unit, for determining whether the external equipment is self-shooting bar according to the voice signal of recording;
    The self-shooting bar determining unit, is specifically used for:Voice is carried out to the voice signal that the main MIC and/or earphone MIC is recorded Identifying processing, identify the content of the voice signal;Whether the external equipment is determined according to the content of the voice signal For self-shooting bar;
    Described device also includes:
    Self-timer mode opening unit, after being self-shooting bar in the determination external equipment, control the mobile terminal Camera is opened, and opens front camera.
  14. 14. device according to claim 13, it is characterised in that the self-shooting bar determining unit is specifically used for:It is if described The content of voice signal is the first preset content, it is determined that the external equipment is self-shooting bar.
  15. 15. device according to claim 13, it is characterised in that also include:
    Phonetic entry Tip element, for being inserted in the headset plug for having external equipment when the earphone interface of mobile terminal When, open before main MIC and/or earphone MIC recorded, when the earphone that the earphone interface of mobile terminal has external equipment is inserted During head insertion, play cuing information reminding user carries out phonetic entry.
  16. 16. according to the device described in claim any one of 13-15, it is characterised in that the headset plug of the external equipment is Four-section type headset plug.
  17. A kind of 17. device for identifying self-shooting bar, it is characterised in that including:
    Record opening unit, for have when the earphone interface of mobile terminal the headset plug of external equipment insertion when, open MIC enter Row recording;
    The recording opening unit is specifically used for:When the headset plug that the earphone interface of mobile terminal has external equipment inserts, Earphone MIC is opened to be recorded;
    Self-shooting bar determining unit, for determining whether the external equipment is self-shooting bar according to the voice signal of recording;
    The self-shooting bar determining unit, frequency or frequency and volume specifically for calculating the voice signal, according to described Frequency or frequency and volume determine whether the external equipment is self-shooting bar;
    Wherein, it is zero by the volume of the voice signal of earphone MIC typings, and certain rule is presented in frequency, according to earphone Whether the frequency or frequency of the voice signal of MIC typings and volume value identify the external equipment of current connection mobile terminal For self-shooting bar;
    Described device also includes:
    Self-timer mode opening unit, after being self-shooting bar in the determination external equipment, control the mobile terminal Camera is opened, and opens front camera.
  18. 18. device according to claim 17, it is characterised in that the self-shooting bar determining unit is specifically used for:It is if described Volume is in the first preset range and/or the frequency is in the second preset range, it is determined that the external equipment is self-shooting bar.
  19. 19. the device according to claim 17 or 18, it is characterised in that the headset plug of the external equipment is four-part form Headset plug.
  20. A kind of 20. device for identifying self-shooting bar, it is characterised in that including:
    Phonetic entry Tip element, for have when the earphone interface of mobile terminal the headset plug of external equipment insertion when, play Prompt message reminds user to carry out phonetic entry;
    Record opening unit, for have when the earphone interface of mobile terminal the headset plug of external equipment insertion when, open MIC enter Row recording;
    The recording opening unit is specifically used for:When the headset plug that the earphone interface of mobile terminal has external equipment inserts, Earphone MIC is opened to be recorded;
    Self-shooting bar determining unit, for determining whether the external equipment is self-shooting bar according to the voice signal of recording;
    The self-shooting bar determining unit includes:
    Voice signal identifies subelement, and the voice signal for being recorded to the earphone MIC carries out voice recognition processing, identifies institute State whether voice signal is voice signal, according to the voice signal whether be voice signal determine the external equipment whether be Self-shooting bar;
    Self-shooting bar determination subelement, if be not voice signal for the voice signal, it is determined that the external equipment is certainly Dabber;
    Described device also includes:
    Self-timer mode opening unit, after being self-shooting bar in the determination external equipment, control the mobile terminal Camera is opened, and opens front camera.
  21. 21. device according to claim 20, it is characterised in that the headset plug of the external equipment is four-section type headset Plug.
  22. A kind of 22. device for identifying self-shooting bar, it is characterised in that including:
    Record opening unit, for have when the earphone interface of mobile terminal the headset plug of external equipment insertion when, open MIC enter Row recording;
    Also include:Audio signal transmitting element, for opening before MIC recorded, to the first sound of the earphone interface Road end sends setting audio signal;
    The recording opening unit, specifically for have when the earphone interface of mobile terminal the headset plug of external equipment insertion when, Earphone MIC is opened to be recorded;
    Self-shooting bar determining unit, for determining whether the external equipment is self-shooting bar according to the voice signal of recording;
    The self-shooting bar determining unit, if identical with the setting audio signal specifically for the voice signal recorded, it is determined that The external equipment is self-shooting bar;
    Wherein, the first sound channel end of the headset plug of the self-timer rod end connects with second sound channel end, and the of the mobile terminal Two sound channel ends are connected by switching with the MIC ends of the mobile terminal;
    Wherein, after mobile terminal is connected by headset plug on self-shooting bar, the first sound channel end of self-timer headset plug and movement First sound channel end of terminal, the connection corresponding with the second sound channel end of mobile terminal of the second sound channel end of self-shooting bar headset plug; On mobile terminal, second sound channel end and MIC ends are connected by switch, now, mobile terminal records the by earphone MIC The signal at two sound channel ends;
    Described device also includes:
    Self-timer mode opening unit, after being self-shooting bar in the determination external equipment, control the mobile terminal Camera is opened, and opens front camera.
  23. 23. device according to claim 22, it is characterised in that also include:
    First sampled data acquiring unit, if identical with the setting audio signal for the voice signal in the recording, The external equipment is determined before self-shooting bar, to sample, obtaining to the setting audio signal according to preset sample frequency First sampled data;
    Second sampled data acquiring unit, for being adopted according to the preset sample frequency to the voice signal of the recording Sample, obtain the second sampled data;
    Sampled data judging unit, for judging each data corresponding to first sampled data and second sampled data Difference whether be less than given threshold;
    Audio signal determining unit, if the difference for stating each data corresponding to the first sampled data and second sampled data Less than given threshold, it is determined that the voice signal of the recording is identical with the setting audio signal.
  24. 24. the device according to claim 22 or 23, it is characterised in that the headset plug of the external equipment is four-part form Headset plug.
  25. 25. a kind of mobile terminal, it is characterised in that the mobile terminal is integrated with the knowledge described in claim any one of 13-24 The device of other self-shooting bar.
CN201610066102.2A 2016-01-29 2016-01-29 A kind of method, apparatus and mobile terminal for identifying self-shooting bar Active CN105611449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610066102.2A CN105611449B (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
CN201610066102.2A CN105611449B (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
CN105611449A CN105611449A (en) 2016-05-25
CN105611449B true CN105611449B (en) 2018-04-06

Family

ID=55990931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610066102.2A Active CN105611449B (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) CN105611449B (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 (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104113816A (en) * 2013-04-17 2014-10-22 宏碁股份有限公司 Electronic device and earphone detection method
CN204206428U (en) * 2014-08-21 2015-03-11 北京康智乐思网络科技有限公司 Audio interface and audio connector communication system and main equipment thereof and external equipment
CN204498198U (en) * 2015-04-27 2015-07-22 邓舒元 Acoustic control self-shooting bar
US9170473B1 (en) * 2014-09-11 2015-10-27 GoTech LLC Integrated self-photographing apparatus
CN105120388A (en) * 2015-08-12 2015-12-02 青岛海信移动通信技术股份有限公司 Identification method and device of selfie stick
CN105163234A (en) * 2015-08-04 2015-12-16 广东欧珀移动通信有限公司 Selfie stick fitting method, device and corresponding mobile device
CN204967929U (en) * 2015-10-10 2016-01-13 广东欧珀移动通信有限公司 Take microphone from rapping bar

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201869265U (en) * 2010-09-03 2011-06-15 上海华勤通讯技术有限公司 Voice-activated camera cellphone
CN103366744B (en) * 2013-07-04 2015-10-14 三星半导体(中国)研究开发有限公司 Based on the method and apparatus of Voice command portable terminal
CN103873988B (en) * 2014-01-09 2016-06-01 北京奇虎科技有限公司 Based on external equipment identify circuit, the methods, devices and systems of earphone socket
US20150346590A1 (en) * 2015-07-01 2015-12-03 Buztronics Inc. Branded monopod apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104113816A (en) * 2013-04-17 2014-10-22 宏碁股份有限公司 Electronic device and earphone detection method
CN204206428U (en) * 2014-08-21 2015-03-11 北京康智乐思网络科技有限公司 Audio interface and audio connector communication system and main equipment thereof and external equipment
US9170473B1 (en) * 2014-09-11 2015-10-27 GoTech LLC Integrated self-photographing apparatus
CN204498198U (en) * 2015-04-27 2015-07-22 邓舒元 Acoustic control self-shooting bar
CN105163234A (en) * 2015-08-04 2015-12-16 广东欧珀移动通信有限公司 Selfie stick fitting method, device and corresponding mobile device
CN105120388A (en) * 2015-08-12 2015-12-02 青岛海信移动通信技术股份有限公司 Identification method and device of selfie stick
CN204967929U (en) * 2015-10-10 2016-01-13 广东欧珀移动通信有限公司 Take microphone from rapping bar

Also Published As

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

Similar Documents

Publication Publication Date Title
TWI593196B (en) Mic/gnd detection and automatic switch
CN104185132B (en) Channel configuration method, intelligent terminal and corresponding system
US9841452B2 (en) Earphone connection interface and method of operating earphone, and terminal for supporting the same
CN103152546B (en) Based on pattern recognition and the video conference echo suppressing method postponing feedfoward control
CN104202469B (en) Method, device and terminal that management call is connected
CN105741862B (en) A kind of method and apparatus and mobile terminal of audio frequency of mobile terminal typing
US20150208154A1 (en) Apparatus and method for detecting insertion anomaly of an audio jack
US8762138B2 (en) Method of editing a noise-database and computer device
CN104781862B (en) Real-time traffic is detected
EP2973559B1 (en) Audio transmission channel quality assessment
CN106231047A (en) A kind of audio collection method based on intelligent terminal, system and intelligent terminal
CN107172515A (en) Test earphone plug is inserted in mobile terminal detection circuit and mobile terminal
CN108305637A (en) Earphone method of speech processing, terminal device and storage medium
CN105741863B (en) The method and apparatus and mobile terminal that a kind of audio frequency of mobile terminal plays
CN107134277A (en) A kind of voice-activation detecting method based on GMM model
KR20160068554A (en) Method and apparatus for analizing the situation of the called terminal, and program for implementing the same
CN105611449B (en) A kind of method, apparatus and mobile terminal for identifying self-shooting bar
CN112289336A (en) Audio signal processing method and device
CN106569774A (en) Method of eliminating noise, and terminal
CN105744418B (en) A kind of method, apparatus and mobile terminal for identifying self-shooting bar
CN112151038B (en) Voice replay attack detection method and device, readable storage medium and electronic equipment
US20230367543A1 (en) Source-based sound quality adjustment tool
CN106205607A (en) Voice information processing method and speech information processing apparatus
CN207978124U (en) A kind of impedance detection circuit and multimedia equipment
CN102325283B (en) Earphone, user equipment and audio data output method

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

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.

CP01 Change in the name or title of a patent holder