CN105611445B - Recognition methods, device and the mobile terminal of self-shooting bar and self-shooting bar - Google Patents

Recognition methods, device and the mobile terminal of self-shooting bar and self-shooting bar Download PDF

Info

Publication number
CN105611445B
CN105611445B CN201610064281.6A CN201610064281A CN105611445B CN 105611445 B CN105611445 B CN 105611445B CN 201610064281 A CN201610064281 A CN 201610064281A CN 105611445 B CN105611445 B CN 105611445B
Authority
CN
China
Prior art keywords
self
mobile terminal
shooting bar
resistance value
value indicative
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
CN201610064281.6A
Other languages
Chinese (zh)
Other versions
CN105611445A (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 CN201610064281.6A priority Critical patent/CN105611445B/en
Publication of CN105611445A publication Critical patent/CN105611445A/en
Application granted granted Critical
Publication of CN105611445B publication Critical patent/CN105611445B/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
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • 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

Abstract

The invention discloses the recognition methods of a kind of self-shooting bar and self-shooting bar, device and mobile terminal.Methods described includes, when the four-section type headset plug of external equipment inserts the earphone jack of mobile terminal, starting recording;Resistance value indicative signal is obtained by the default port of the four-section type headset;Judge whether external equipment is self-shooting bar according to the resistance value indicative signal.The present invention is after self-shooting bar is inserted into the earphone jack of mobile terminal by four-section type headset, mobile terminal starts recording, and the dio Output Modules on self-shooting bar can send resistance value indicative signal to mobile terminal, mobile terminal determines whether external equipment is self-shooting bar according to resistance value indicative signal, and then mobile terminal changes to screening-mode when connecting self-shooting bar.Mobile terminal automatic identification self-shooting bar and the mobile terminal automatic start screening-mode after self-shooting bar is recognized are realized, simplifies user's operation, improves Consumer's Experience.

Description

Recognition methods, device and the mobile terminal of self-shooting bar and self-shooting bar
Technical field
The present embodiments relate to self-shooting bar identification technology, more particularly to a kind of self-shooting bar and self-shooting bar recognition methods, Device and mobile terminal.
Background technology
With the development of mobile terminal, mobile terminal is fixed on self-shooting bar and carries out self-timer by increasing people.From The shoot button that dabber includes expansion link, is arranged at the fixed support on expansion link top and is arranged at expansion link bottom, wherein, Gu Fixed rack is used to pick up mobile terminal, the freely adjustable length of expansion link, and the shoot button of expansion link bottom is used to be taken pictures.
In order that mobile terminal can obtain the photographing instruction that user is triggered by shoot button, provide in the prior art It is a kind of four-section type headset plug carry out electric signal transmission by way of.One end of wire is four-part form plug, passes through four-part form Plug is inserted into the earphone jack of terminal, the other end connection shoot button of wire.
However, for mobile phone, no matter insert self-shooting bar or insert four-section type headset, mobile phone terminal is all identified as Four-section type headset.If user thinks self-timer, the camera applications in first opening a terminal manually are needed, then be manually switched to preposition shooting Head, operation is relatively complicated, and Consumer's Experience is bad.
The content of the invention
The present invention provides a kind of recognition methods, device and the mobile terminal of self-shooting bar and self-shooting bar, to realize that terminal is automatic Self-shooting bar is identified, simplifies the warming-up exercise of self-timer, improves Consumer's Experience.
In a first aspect, the embodiments of the invention provide a kind of self-shooting bar, including four-section type headset plug, in addition to communication mould First resistor is provided between the grounding ports and microphone port of block and the four-section type headset plug;
The communication module is used for when the four-section type headset plug is inserted into the earphone jack of mobile terminal, to institute State the resistance value indicative signal that mobile terminal exports the first resistor.
Second aspect, the embodiment of the present invention additionally provide a kind of recognition methods of self-shooting bar, and methods described is applied to movement Terminal, including:
When the four-section type headset plug of external equipment inserts the earphone jack of mobile terminal, start recording;
Resistance value indicative signal is obtained by the default port of the four-section type headset plug;
Judge whether the external equipment is self-shooting bar according to the resistance value indicative signal.
The third aspect, the embodiment of the present invention additionally provide a kind of identification device of self-shooting bar, and described device is positioned at mobile whole End, including:
Record start unit, for when external equipment four-section type headset plug insert mobile terminal earphone jack when, Start recoding unit to be recorded;
The recoding unit, for obtaining resistance value indicative signal by the default port of the four-section type headset plug;
Connection status judging unit, the resistance value indicative signal for being obtained according to the recoding unit judge whether Whether the external equipment is self-shooting bar.
Fourth aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, and the mobile terminal includes third aspect institute The identification device of the self-shooting bar shown.
Mobile terminal can obtain resistance value indicative signal by the default port of four-section type headset jack in the present invention, and Determine whether the external equipment that four-section type headset jack connects is self-shooting bar according to the resistance value indicative signal, and then work as connection certainly Mobile terminal starts screening-mode during dabber.Prior art can not to insertion four-section type headset jack in equipment distinguish, Therefore screening-mode can not be automatically switched to when inserting self-shooting bar.The present invention is inserted into when external equipment by four-section type headset After the earphone jack of mobile terminal, mobile terminal starts recording, and the communication module on self-shooting bar can be sent to mobile terminal Resistance value indicative signal, mobile terminal determine whether external equipment is self-shooting bar according to resistance value indicative signal, and then when connection Mobile terminal changes to screening-mode during self-shooting bar.Realize mobile terminal automatic identification self-shooting bar and moved after self-shooting bar is recognized Dynamic terminal automatic start screening-mode, simplify user's operation, improve Consumer's Experience.
Brief description of the drawings
Fig. 1 is the self-shooting bar structural representation in the embodiment of the present invention one;
Fig. 2 is the self-shooting bar internal circuit schematic diagram in the embodiment of the present invention one;
Fig. 3 is the self-shooting bar internal circuit schematic diagram in the embodiment of the present invention two;
Fig. 4 is the flow chart of the recognition methods of the self-shooting bar in the embodiment of the present invention three;
Fig. 5 is the structural representation of the identification device of the self-shooting bar in the embodiment of the present invention four;
Fig. 6 is the structural representation of the mobile terminal in the embodiment of the present invention five.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is the structural representation for the self-shooting bar that the embodiment of the present invention one provides, and self-shooting bar includes the telescopic body of rod, set The fixed support for being placed in body of rod top and the shoot button for being arranged at body of rod bottom, wherein, fixed support is used to pick up movement eventually End, the telescopic freely adjustable length of the body of rod, the shoot button of expansion link bottom are used to be taken pictures.Shoot button and movement The data transfer of terminal can be able to be by wired mode or wireless mode, wired mode:It will be clapped by four-section type headset jack Mobile terminal is sent to according to the photographing instruction triggered on button.Wireless mode can be:By Bluetooth signal by shoot button The photographing instruction of triggering is sent to mobile terminal.It should be noted that when using communication, can also be inserted by earphone Hole determines whether to be connected with self-shooting bar.
The self-shooting bar that the present embodiment provides, including four-section type headset plug, in addition to communication module and the four-part form ear First resistor is provided between the grounding ports (GND) and microphone port (MIC) of machine transplanting of rice head;The communication module is used for described When four-section type headset plug is inserted into the earphone jack of mobile terminal, the electricity of the first resistor is exported to the mobile terminal Resistance indication signal.
Wherein, mobile terminal can be the mobile devices capable of taking pictures such as smart mobile phone, tablet personal computer (PAD).Optionally, first Resistance and second resistance are connected between grounding ports and microphone bias voltage (MICBISA), there is provided microphone bias voltage (MICBISA) equipment can be sound card chip, or central processing unit (CPU) etc..In microphone bias voltage (MICBISA), in the circuit of first resistor, second resistance, communication module and grounding ports (GND) composition, microphone port (MIC) it is high potential energy end, grounding ports (GND) low potential energy end.
First resistor and communication module can connect also can be in parallel, and Fig. 2 gives one kind and is connected in series mode, now communicates Module is identical with first resistor partial pressure.After communication module partial pressure reaches communication module operating voltage, communication module starts.
The resistance of first resistor and second resistance can be determined according to different types, can ensure first resistor partial pressure Communication module normal work can be made.In one implementation, the resistance of first resistor is more than second resistance, and such as first Resistance is 15-25 kilo-ohms, and second resistance resistance is 0-5 kilo-ohms.Exemplarily, first resistor resistance be 20 kilo-ohms, second Resistance is 5 kilo-ohms, and microphone bias voltage (MICBISA) voltage is 1.8 volts, then the partial pressure of first resistor is 1.44 volts It is special.
After communication module is powered, if reaching the operating voltage of communication module for the partial pressure of communication module, communication module will The resistance value indicative signal of first resistor is output to mobile terminal.Specifically, L channel (L), R channel (R) or Mike can be passed through Resistance value indicative signal is output to mobile terminal by wind port (MIC).Mobile terminal determines to connect according to resistance value indicative signal External equipment whether be self-shooting bar.Optionally, after resistance value indicative signal can be converted to analog signal by communication module, by this Analog signal is sent to mobile terminal.Communication module can also be oscillating circuit.The specific implementation of communication module can root Factually border use demand determines, the type of communication module is not construed as limiting herein, communication module can realize the work of data transfer With.
Resistance value indicative signal can be information of acoustic wave corresponding to the resistance of first resistor.Such as the resistance of first resistor is 15 kilo-ohms, then resistance value indicative signal is 15KHz audio signal.Further, by the resistance of first resistor in preset duration Information of acoustic wave corresponding to value is persistently output to default port.
After the technical scheme self-shooting bar that the present embodiment provides is connected by four-section type headset plug with mobile terminal, by self-timer The resistance value indicative signal of communication module output first resistor in bar, and then enable mobile terminal to indicate to believe according to resistance value Number determine connection external equipment whether be self-shooting bar, and then determine whether start exposal model, simplify user operation, improve use Experience at family.
Embodiment two
The embodiments of the invention provide a kind of self-shooting bar, as the further explanation to self-shooting bar shown in claim 1, such as Shown in Fig. 3, the voltage measurement module in parallel with the first resistor is additionally provided with the body of rod of the self-shooting bar;The voltage measurement Module is used for the partial pressure for measuring the first resistor;The communication module is connected with shown voltage measurement module, the communication mould Block is used for the mobile terminal output voltage value signal, and the voltage value signal is the voltage that the voltage measurement module measures Signal corresponding to value.
By four-section type headset plug obtain mobile terminal electric energy after, voltage measurement module after operating voltage is reached, Measure the partial pressure of the magnitude of voltage, i.e. first resistor of first resistor both sides.Then voltage value signal corresponding to the magnitude of voltage is exported To digital-to-analogue conversion submodule, the magnitude of voltage that communication module measures voltage measurement module is output to default port.
Voltage value signal can be magnitude of voltage, or audio signal corresponding to magnitude of voltage.Such as:Magnitude of voltage is 1 volt, Then audio signal corresponding to the magnitude of voltage is 1KHz.
Further, the partial pressure value of first resistor is persistently output to default port in preset duration, default port is L channel, R channel or microphone port.
After the technical scheme self-shooting bar that the present embodiment provides is connected by four-section type headset plug with mobile terminal, first certainly The partial pressure of voltage measurement module measurement first resistor in dabber, but the measured by communication module output voltage measurement module The partial pressure of one resistance, and then enable mobile terminal to be determined whether to be connected with self-shooting bar according to the partial pressure of first resistor, and then really It is fixed whether to start exposal model, simplify user's operation, improve Consumer's Experience.
Embodiment three
Fig. 4 is a kind of flow chart of the recognition methods of self-shooting bar provided in an embodiment of the present invention, and methods described is applied to move Dynamic terminal, including:
S110, when external equipment four-section type headset plug insert mobile terminal earphone jack when, start recording.
When the earphone jack of four-section type headset plug insertion mobile terminal, mobile terminal triggering headset plugging interrupts.When When triggering headset plugging interruption, mobile terminal starts sound-recording function.
S120, the default port acquisition resistance value indicative signal by four-section type headset plug.
The plug of four-section type headset is divided into four sections, corresponds to L channel port (L), R channel port (R), ground connection respectively Port (GND) and microphone port (MIC).Refer to it should be noted that L channel or R channel can be multiplexed with resistance by the present invention Show the acquisition transmission channel of signal.Therefore, default port can be L channel port (L), R channel port (R) or microphone end Mouth (MIC).
After starting sound-recording function, mobile terminal obtains recording result by the default port in earphone jack.If now The four-section type headset plug inserted in earphone jack is the four-section type headset plug on self-shooting bar wire, then result of recording is self-timer The resistance value indicative signal of the dio Output Modules output of bar.
S130, according to resistance value indicative signal judge whether external equipment is self-shooting bar.
Resistance value indicative signal can be analog signal corresponding to the resistance of first resistor, or first resistor both sides Voltage corresponding to analog signal.Mobile terminal carries out analog-to-digital conversion to resistance value indicative signal, obtains data signal, and according to Data signal judges whether external equipment is self-shooting bar.
In one implementation, S130 can be embodied as:
S131a, judge whether the frequency in preset duration internal resistance value indication signal changes.
Preset duration can be 10-10000 milliseconds, preferably 50-100 milliseconds.
If S132a, do not change in the frequency of preset duration internal resistance value indication signal, it is determined that external equipment is Self-shooting bar.
Because the resistance of first resistor is constant, therefore after the resistance of first resistor, or energization during the partial pressure of first resistor Constant, therefore the frequency-invariant of the resistance value indicative signal of first resistor.According to this characteristic, if preset duration internal resistance value The frequency-invariant of indication signal is constant, then can determine that the equipment inserted in earphone jack is self-shooting bar.
If S133a, change in the frequency of preset duration internal resistance value indication signal, it is determined that external equipment is ear Machine.
If the external equipment of earphone jack insertion is earphone, after sound-recording function is started, mobile terminal passes through default The voice data that port (such as microphone port) obtains is the voice data that microphone obtains, and the voice data can be according to ring around Border it is different and different, cause the frequency for the voice data that mobile terminal gets from default port to change.Therefore, if The frequency of preset duration internal resistance value indication signal changes, then can determine that the external equipment inserted in earphone jack is ear Machine.
Above-mentioned implementation can carry out area according to the frequency situation of change of resistance value indicative signal to self-shooting bar and earphone Point, improve recognition efficiency.
In another implementation, S130 can be embodied as:
S131b, judge whether the frequency of resistance value indicative signal is located at predeterminated frequency section.
The resistance of first resistor in self-shooting bar is constant, and then when the supply voltage of earphone jack is constant, first resistor The resistance value of both sides is constant.Therefore whether can meet predetermined resistance value section by judging the resistance value of first resistor, or sentence Whether the partial pressure of disconnected first resistor meets predeterminated voltage section, and then whether the external equipment for determining to insert in earphone jack is certainly Dabber.
If the frequency of S132b, resistance value indicative signal is located in predeterminated frequency section, it is determined that external equipment is self-timer Bar.
Predeterminated frequency section is corresponding with the resistance or first resistor both sides partial pressure of first resistor.Exemplary, first resistor Resistance be 20 kilo-ohms, in order to reduce False Rate, predeterminated frequency section can be 15-25KHZ.If the frequency of resistance value indicative signal Rate is located in 15-25KHZ, it is determined that external equipment is self-shooting bar.
Optionally, in order to improve accuracy, predeterminated frequency section can be 20KHZ.If the frequency of resistance value indicative signal For 20KHZ, it is determined that self-shooting bar is connected with mobile terminal.
If the frequency of S133b, resistance value indicative signal is located at outside predeterminated frequency section, it is determined that external equipment is ear Machine.
Above-mentioned implementation can make a distinction according to the frequency values of resistance value indicative signal to self-shooting bar and earphone, carry High recognition efficiency.
Further, after step 130, may also include:
If S140, be connected with self-shooting bar, start screening-mode.
Specifically, start application of taking pictures;If front camera be present, start the front camera.
If S130 determines that mobile terminal is connected with self-shooting bar, mobile terminal is switched to screening-mode.It is specifically, mobile Terminal judges whether current state is screening-mode.If screening-mode, then further determine whether to start front camera; Mobile terminal waits user to input photographing instruction if front camera is had been turned on;If it is not actuated it is preposition stretch to head, open Dynamic front camera.If current state is non-exposal model, start application of taking pictures, and start front camera.Wherein, it is non- Exposal model can be the non-exposal model under standby mode and mode of operation.
The technical scheme that the present embodiment provides, mobile terminal can obtain electricity by the default port of four-section type headset jack Resistance indication signal, and determine whether the external equipment that four-section type headset jack connects is self-timer according to the resistance value indicative signal Bar, when external equipment is self-shooting bar, mobile terminal starts screening-mode.Prior art can not be to inserting four-section type headset jack In equipment distinguished, therefore can not automatically switch to screening-mode when inserting self-shooting bar.When outside is set in the present embodiment After the earphone jack of mobile terminal is inserted into by four-section type headset, mobile terminal starts recording, and the audio on self-shooting bar Output module can send resistance value indicative signal to mobile terminal, and mobile terminal determines outside set according to resistance value indicative signal Whether standby be self-shooting bar, and then mobile terminal changes to screening-mode when connecting self-shooting bar.Realize mobile terminal automatic identification certainly Dabber and the mobile terminal automatic start screening-mode after self-shooting bar is recognized, simplify user's operation, improve Consumer's Experience.
Example IV
A kind of structural representation of the identification device for self-shooting bar that Fig. 5 provides for the embodiment of the present invention four, the self-shooting bar Identification device 1 be located in mobile terminal, for realizing the method shown in embodiment three, the identification device 1 of the self-shooting bar wraps Include:
Recording start unit 11, for inserting the earphone jack of mobile terminal when the four-section type headset plug of external equipment When, start recoding unit 12 and recorded;
The recoding unit 12, for obtaining resistance value instruction letter by the default port of the four-section type headset plug Number;
Connection status judging unit 13, the resistance value indicative signal for being obtained according to the recoding unit 12 judge Whether the external equipment is self-shooting bar.
Further, the connection status judging unit 13 is specifically used for, if the resistance value refers in preset duration Show that the frequency of signal does not change, it is determined that the external equipment is self-shooting bar.
Further, the connection status judging unit 13 is specifically used for, if the frequency of the resistance value indicative signal In predeterminated frequency section, it is determined that the external equipment is self-shooting bar.
Further, the identification device 1 of the self-shooting bar also includes mode switching unit 14, the mode switching unit 14 For:
Start application of taking pictures;
If front camera be present, start the front camera.
Embodiment five
Fig. 6 is a kind of structural representation for mobile terminal that the embodiment of the present invention five provides, and the mobile terminal includes Fig. 5 The identification device 1 of shown self-shooting bar, the mobile terminal is for the identification side for the self-shooting bar for implementing to provide in above-described embodiment Method.Mobile terminal 2 can include communication unit 21, include the memory 22, defeated of at least one computer-readable recording medium Enter unit 23, display unit 24, sensor 25, voicefrequency circuit 26, WIFI (Wireless Fidelity, Wireless Fidelity) module 27th, the parts such as processor 28 and the power supply 29 of at least one processing core are included.It will be understood by those skilled in the art that The mobile terminal structure shown in figure does not form the restriction to mobile terminal, can include than illustrating more or less portions Part, either combine some parts or different parts arrangement.Specifically:
Communication unit 21 can be used for receive and send messages or communication process in, the reception and transmission of signal, the communication unit 21 can Think RF (Radio Frequency, radio frequency) circuit, router, modem, etc. network communication equipment.Especially, when logical Unit 21 is believed when be RF circuits, after the downlink information reception of base station, transfers to one or more than one processor 28 is handled;Separately Outside, up data will be related to and is sent to base station.Include but is not limited to antenna, at least usually as the RF circuits of communication unit One amplifier, tuner, one or more oscillators, subscriber identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplexer etc..In addition, communication unit 21 can also pass through radio communication Communicated with network and other equipment.The radio communication can use any communication standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc..Memory 22 can be used for storage software program and module, and processor 28 is stored in the software program and mould of memory 22 by operation Block, so as to perform various function application and data processing.Memory 22 can mainly include storing program area and storage data field, Wherein, storing program area can storage program area, application program (such as sound-playing function, figure needed at least one function As playing function etc.) etc.;Storage data field can store according to mobile terminal use created data (such as voice data, Phone directory etc.) etc..In addition, memory 22 can include high-speed random access memory, nonvolatile memory can also be included, A for example, at least disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 22 is gone back Memory Controller can be included, to provide the access of processor 28 and input block 23 to memory 22.
Input block 23 can be used for the numeral or character information for receiving input, and generation is set with user and function control It is formed with keyboard, mouse, action bars, optics or the input of trace ball signal of pass.Preferably, input block 23 may include touch-sensitive table Face 231 and other input equipments 232.Touch sensitive surface 231, also referred to as touch display screen or Trackpad, collect user and exist On or near it touch operation (such as user using any suitable object or annex such as finger, stylus in touch sensitive surface 231 The upper or operation near touch sensitive surface 231), and corresponding attachment means are driven according to formula set in advance.Optionally, touch Sensitive surfaces 231 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection user's is tactile Orientation is touched, and detects the signal that touch operation is brought, transmits a signal to touch controller;Touch controller fills from touch detection Reception touch information is put, and is converted into contact coordinate, then gives processor 28, and the life that energy reception processing device 28 is sent Make and performed.Furthermore, it is possible to realized using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves touch-sensitive Surface 231.Except touch sensitive surface 231, input block 23 can also include other input equipments 232.Preferably, other inputs are set Standby 232 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse One or more in mark, action bars etc..
Display unit 24 can be used for display by the information of user's input or be supplied to the information and mobile terminal of user Various graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination. Display unit 24 may include display panel 241, optionally, can use LCD (Liquid Crystal Display, liquid crystal Show device), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel 241.Further, touch sensitive surface 231 can cover display panel 241, when touch sensitive surface 231 detects touching on or near it After touching operation, processor 28 is sent to determine the type of touch event, is followed by subsequent processing device 28 and is existed according to the type of touch event Corresponding visual output is provided on display panel 241.Although in Fig. 4, touch sensitive surface 231 and display panel 241 are as two Individual independent part realizes input and input function, but in some embodiments it is possible to by touch sensitive surface 231 and display surface Plate 241 is integrated and realizes input and output function.
Mobile terminal may also include at least one sensor 25, such as optical sensor, motion sensor and other sensings Device.Optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to the bright of ambient light Secretly adjust the brightness of display panel 241, proximity transducer can close display panel 241 when mobile terminal is moved in one's ear And/or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally three axles) and add The size of speed, size and the direction of gravity are can detect that when static, application (such as the horizontal/vertical screen available for identification mobile phone posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Mobile terminal is also The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit 26, loudspeaker 261, microphone 262 can provide the COBBAIF between user and mobile terminal.Audio Electric signal after the voice data received conversion can be transferred to loudspeaker 261, sound is converted to by loudspeaker 261 by circuit 26 Sound signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 262, after being received by voicefrequency circuit 26 Voice data is converted to, then after voice data output processor 28 is handled, through RF circuits 21 to be sent to such as another movement Terminal, or voice data is exported to memory 22 further to handle.Voicefrequency circuit 26 is also possible that earphone jack, To provide the communication of peripheral hardware earphone and mobile terminal.
In order to realize radio communication, wireless communication unit 27 can be configured with the movement mobile terminal, the radio communication Unit 27 can be WIFI module.WIFI belongs to short range wireless transmission technology, and mobile terminal can by wireless communication unit 27 To help user to send and receive e-mail, browse webpage and access streaming video etc., it has provided the user wireless broadband interconnection Net accesses.Although showing wireless communication unit 27 in figure, but it is understood that, it is simultaneously not belonging to the necessary of mobile terminal Form, can be omitted as needed in the scope for not changing disclosed essence completely.
Processor 28 can utilize the various pieces of various interfaces and connection whole mobile phone, by running or performing storage Software program and/or module in memory 22, and the data being stored in memory 22 are called, perform mobile terminal Various functions and processing data, so as to carry out integral monitoring to mobile phone.Optionally, processor 28 may include one or more processing Core;Preferably, processor 28 can integrate application processor and modem processor, wherein, application processor is mainly handled Operating system, user interface and application program etc., modem processor mainly handles radio communication.On it is understood that Stating modem processor can not also be integrated into processor 28.
Mobile terminal also includes the power supply 29 (such as battery) to all parts power supply, it is preferred that power supply can pass through electricity Management system and processor 28 are logically contiguous, so as to realize management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.Power supply 29 can also include one or more direct current or AC power, recharging system, power failure inspection The random component such as slowdown monitoring circuit, power supply changeover device or inverter, power supply status indicator.
It should be noted that mobile terminal can also include camera, bluetooth module etc., will not be repeated here.
In the present embodiment, processor has following function:
When the four-section type headset plug of external equipment inserts the earphone jack of mobile terminal, start recording;
Resistance value indicative signal is obtained by the default port of the four-section type headset plug;
Judge whether the external equipment is self-shooting bar according to the resistance value indicative signal.
Further, it is described to judge whether the external equipment is self-shooting bar according to the resistance value indicative signal, including:
If the frequency of the resistance value indicative signal does not change in preset duration, it is determined that the external equipment For self-shooting bar.
Further, it is described to judge whether the external equipment is self-shooting bar according to the resistance value indicative signal, including:
If the frequency of the resistance value indicative signal is located in predeterminated frequency section, it is determined that the external equipment is certainly Dabber.
Further, after judging whether the external equipment is self-shooting bar according to the resistance value indicative signal, also Including:
Start application of taking pictures;
If front camera be present, start the front camera.
Said apparatus can perform the method that the embodiment of the present invention three is provided, and possesses and performs the corresponding function mould of the above method Block and beneficial effect.Not ins and outs of detailed description in the present embodiment, reference can be made to the side that the embodiment of the present invention three is provided Method.
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 (7)

1. a kind of self-shooting bar, including four-section type headset plug, it is characterised in that also including communication module and the four-section type headset First resistor is provided between the grounding ports and microphone port of plug;
The communication module is used for when the four-section type headset plug is inserted into the earphone jack of mobile terminal, by described Microphone port exports the resistance value indicative signal of the first resistor to the mobile terminal, wherein, the resistance value instruction Signal is information of acoustic wave corresponding to the resistance of first resistor.
2. self-shooting bar according to claim 1, it is characterised in that also include the voltage measurement in parallel with the first resistor Module;
The voltage measurement module is used for the partial pressure for measuring the first resistor;
The communication module is used for the mobile terminal output voltage value signal, and the voltage value signal is the voltage measurement Signal corresponding to the magnitude of voltage that module measures.
A kind of 3. recognition methods of self-shooting bar, it is characterised in that methods described is applied to mobile terminal, including:
When the four-section type headset plug of external equipment inserts the earphone jack of mobile terminal, start recording;
Resistance value indicative signal is obtained by the default port of the four-section type headset plug, wherein, the default port is wheat Gram wind port, the resistance value indicative signal is between the grounding ports of the four-section type headset plug and the microphone port First resistor resistance corresponding to information of acoustic wave;
Judge whether the external equipment is self-shooting bar according to the resistance value indicative signal, if the electricity in preset duration The frequency of resistance indication signal does not change or in predeterminated frequency section, it is determined that the external equipment is self-shooting bar.
4. the recognition methods of self-shooting bar according to claim 3, it is characterised in that according to the resistance value indicative signal After judging whether the external equipment is self-shooting bar, in addition to:
Start application of taking pictures;
If front camera be present, start the front camera.
A kind of 5. identification device of self-shooting bar, it is characterised in that described device is located at mobile terminal, including:
Recording start unit, for when the four-section type headset plug of external equipment inserts the earphone jack of mobile terminal, starting Recoding unit is recorded;
The recoding unit, for obtaining resistance value indicative signal by the default port of the four-section type headset plug, wherein, The default port is microphone port, grounding ports and institute of the resistance value indicative signal for the four-section type headset plug State information of acoustic wave corresponding to the resistance of the first resistor between microphone port;
Connection status judging unit, the resistance value indicative signal for being obtained according to the recoding unit judge the outside Whether equipment is self-shooting bar, if the frequency of the resistance value indicative signal does not change or positioned at default in preset duration In frequency separation, it is determined that the external equipment is self-shooting bar.
6. the identification device of self-shooting bar according to claim 5, it is characterised in that described also including mode switching unit Mode switching unit is used for:
Start application of taking pictures;
If front camera be present, start the front camera.
7. a kind of mobile terminal, it is characterised in that the mobile terminal includes the self-timer any one of claim 5 to 6 The identification device of bar.
CN201610064281.6A 2016-01-29 2016-01-29 Recognition methods, device and the mobile terminal of self-shooting bar and self-shooting bar Active CN105611445B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610064281.6A CN105611445B (en) 2016-01-29 2016-01-29 Recognition methods, device and the mobile terminal of self-shooting bar and self-shooting bar

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610064281.6A CN105611445B (en) 2016-01-29 2016-01-29 Recognition methods, device and the mobile terminal of self-shooting bar and self-shooting bar

Publications (2)

Publication Number Publication Date
CN105611445A CN105611445A (en) 2016-05-25
CN105611445B true CN105611445B (en) 2018-04-03

Family

ID=55990927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610064281.6A Active CN105611445B (en) 2016-01-29 2016-01-29 Recognition methods, device and the mobile terminal of self-shooting bar and self-shooting bar

Country Status (1)

Country Link
CN (1) CN105611445B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106231021A (en) * 2016-07-22 2016-12-14 柳州易旺科技有限公司 A kind of self-shooting bar identification system
CN208707745U (en) * 2018-06-29 2019-04-05 深圳市大疆创新科技有限公司 Picture shooting assembly and attachment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09307980A (en) * 1996-05-14 1997-11-28 Sony Corp Headphone
CN203787317U (en) * 2014-01-22 2014-08-20 哈尔滨艺佳化工有限公司 Mobile phone fast button
CN104113816A (en) * 2013-04-17 2014-10-22 宏碁股份有限公司 Electronic device and earphone detection method
CN105120390A (en) * 2015-08-31 2015-12-02 努比亚技术有限公司 Headphone socket, headphone plug and electronic device
CN105120388A (en) * 2015-08-12 2015-12-02 青岛海信移动通信技术股份有限公司 Identification method and device of selfie stick

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09307980A (en) * 1996-05-14 1997-11-28 Sony Corp Headphone
CN104113816A (en) * 2013-04-17 2014-10-22 宏碁股份有限公司 Electronic device and earphone detection method
CN203787317U (en) * 2014-01-22 2014-08-20 哈尔滨艺佳化工有限公司 Mobile phone fast button
CN105120388A (en) * 2015-08-12 2015-12-02 青岛海信移动通信技术股份有限公司 Identification method and device of selfie stick
CN105120390A (en) * 2015-08-31 2015-12-02 努比亚技术有限公司 Headphone socket, headphone plug and electronic device

Also Published As

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

Similar Documents

Publication Publication Date Title
CN106357897B (en) The acquisition methods and device of drop information
CN103309673B (en) A kind of conversation processing method based on gesture, device
CN103455256B (en) The method and terminal of Rotation screen display picture
CN106412249B (en) The detection method and device of drop information
CN104427083B (en) The method and apparatus for adjusting volume
CN106331359B (en) A kind of speech signal collection method, device and terminal
CN105611446B (en) Self-shooting bar recognition methods, device and mobile terminal
CN103489303A (en) Remote control method and device
CN106791894A (en) A kind of method and apparatus for playing live video
CN107168609A (en) status bar display method, device and terminal
CN106487984B (en) A kind of method and apparatus adjusting volume
CN108196815A (en) A kind of adjusting method and mobile terminal of sound of conversing
CN105045372A (en) Method and equipment controlling wearable device
CN105611445B (en) Recognition methods, device and the mobile terminal of self-shooting bar and self-shooting bar
CN107454270B (en) mobile terminal screen brightness control method, device and terminal
CN106255146B (en) A kind of electricity-saving control method of terminal, device and terminal
CN105611448B (en) A kind of self-shooting bar recognition methods, device and mobile terminal
CN109713746A (en) A kind of charging circuit and charge control method, mobile terminal
CN107528958B (en) Method for controlling mobile terminal, device, readable storage medium storing program for executing and mobile terminal
CN107623785A (en) Mobile terminal and mobile terminal screen control method with automatic extinguishing screen function
CN106254673A (en) Terminal fall detection method and device
CN106817495B (en) Mobile terminal message processing method, device and mobile terminal
CN105321139A (en) Picture processing method and device
CN106658357B (en) A kind of processing method of blue-teeth data, device and terminal
CN106648205B (en) Dormancy control method, device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into 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.