CN103581798A - Method and device for outputting information - Google Patents

Method and device for outputting information Download PDF

Info

Publication number
CN103581798A
CN103581798A CN201310389523.5A CN201310389523A CN103581798A CN 103581798 A CN103581798 A CN 103581798A CN 201310389523 A CN201310389523 A CN 201310389523A CN 103581798 A CN103581798 A CN 103581798A
Authority
CN
China
Prior art keywords
kilo
audio interface
ohms
external equipment
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.)
Pending
Application number
CN201310389523.5A
Other languages
Chinese (zh)
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.)
Tendyron Technology Co Ltd
Original Assignee
Tendyron Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tendyron Technology Co Ltd filed Critical Tendyron Technology Co Ltd
Priority to CN201310389523.5A priority Critical patent/CN103581798A/en
Publication of CN103581798A publication Critical patent/CN103581798A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method and device for outputting information. The method for outputting information comprises the steps that a terminal detects the resistance between a microphone pin and a grounding line pin of an audio interface of the terminal and obtains a detection result; if the detection result is larger than 0 and smaller than or equal to 50 kilo-ohms, the information of external equipment inserted through the audio interface is output. According to the method and device for outputting information, the terminal detects the resistance between the microphone pin and the grounding line pin of the audio interface, if the detection result is larger than 0 and smaller than or equal to 50 kilo-ohms, the information of the external equipment inserted through the audio interface is output, namely the recognizable resistance range of the terminal is from 0 to 50 kilo-ohms, and relative to the existing recognizable resistance range of 3-30 kilo-ohms, 0-75 kilo-ohms and 0-100 kilo-ohms, the recognizable resistance range of 0-50 kilo-ohms can be compatible with most terminals, and the terminals can use the method of detecting resistance to determine whether the external equipment is inserted through the audio interface.

Description

A kind of method of output information and device
Technical field
The present invention relates to a kind of electronic technology field, relate in particular to a kind of method and device of output information.
Background technology
Support the terminal (for example, mobile phone, PC, panel computer etc.) of audio transmission to be provided with audio jack, its effect is: when earphone inserts, the sound in terminal is switched on earphone; For example, when other equipment (, audio frequency key) with audio jack insert, terminal can be carried out with this equipment the transmission of audio signal.
At present, terminal all possesses the function whether automatic detection has external equipment to insert by audio interface, for determine whether the situation that external equipment inserts by audio interface by detected resistance, the Standard resistance range of the audio interface that existing terminal can be identified is generally 3 to 30 kilo-ohms, 0 to 75 kilo-ohm or 0 to 100 kilo-ohm, be terminal when Mike's pin of its audio interface and the resistance between ground wire pin being detected and being above-mentioned scope, terminal is thought has external equipment to insert by audio interface.For different terminals, its Standard resistance range that can identify differs larger, therefore, is necessary to provide the compatible most of terminal of a kind of energy to determine whether by detected resistance method and the device that external equipment inserts by audio interface.
Summary of the invention
The invention provides a kind of method and device of output information, at least to solve the discernible Standard resistance range of existing terminal, differ larger, can not compatible most of terminal determine whether by detected resistance the problem that external equipment inserts by audio interface.
According to an aspect of the present invention, provide a kind of method of output information, having comprised: terminal has detected the resistance between Mike's pin of the audio interface of terminal and ground wire pin, obtains testing result; If described testing result is greater than 0 and be less than or equal to 50 kilo-ohms, the information that output has external equipment to insert by described audio interface.
In addition, described external equipment is earphone or with the electronic signature token of audio jack.
According to another aspect of the present invention, provide a kind of device of output information, having comprised: detection module, for the Mike's pin to the audio interface of terminal and the resistance between ground wire pin, detect, obtain testing result; Output module, for being greater than 0 and be less than or equal to 50 kilo-ohms in the situation that, the information that output has external equipment to insert by described audio interface in described testing result.
In addition, described external equipment is earphone or audio electronics signed tokens.
As seen from the above technical solution provided by the invention, the invention provides a kind of method and device of output information, by Mike's pin of sense terminals audio interface and the resistance between ground wire pin, if testing result is greater than 0 and be less than or equal to 50 kilo-ohms, the information that output has external equipment to insert by audio interface, be that the Standard resistance range that terminal can be identified is 0 to 50 kilo-ohm, with respect to existing 3 to 30 kilo-ohms, 0 to 75 kilo-ohm and 0 to 100 kilo-ohm, 0 to 50 kilo-ohm of this recognizable set can compatible most of terminal (especially mobile phone) be used the method for detected resistance to determine whether that external equipment inserts by audio interface.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is the flow chart of the method for the output information that provides of the embodiment of the present invention 1;
Fig. 2 is the structural representation of the device of the output information that provides of the embodiment of the present invention 2.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on embodiments of the invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to protection scope of the present invention.
In description of the invention, it will be appreciated that, term " " center ", " longitudinally ", " laterally ", " on ", D score, " front ", " afterwards ", " left side ", " right side ", " vertically ", " level ", " top ", " end ", " interior ", orientation or the position relationship of indications such as " outward " are based on orientation shown in the drawings or position relationship, only the present invention for convenience of description and simplified characterization, rather than device or the element of indication or hint indication must have specific orientation, with specific orientation structure and operation, therefore can not be interpreted as limitation of the present invention.In addition, term " first ", " second " be only for describing object, and can not be interpreted as indication or hint relative importance or quantity or position.
In description of the invention, it should be noted that, unless otherwise clearly defined and limited, term " installation ", " being connected ", " connection " should be interpreted broadly, and for example, can be to be fixedly connected with, and can be also to removably connect, or connect integratedly; Can be mechanical connection, can be to be also electrically connected to; Can be to be directly connected, also can indirectly be connected by intermediary, can be the connection of two element internals.For the ordinary skill in the art, can concrete condition understand above-mentioned term concrete meaning in the present invention.
Below in conjunction with accompanying drawing, the embodiment of the present invention is described in further detail.
Embodiment 1
The present embodiment provides a kind of method of output information, and Fig. 1 is the flow chart of the method for the output information that provides of the embodiment of the present invention 1, as shown in Figure 1, comprises the following steps:
Step S101, terminal detects the resistance between Mike's pin of the audio interface of terminal and ground wire pin, obtains testing result;
Step S102, if testing result is greater than 0 and be less than or equal to 50 kilo-ohms, the information that output has external equipment to insert by audio interface.
In addition, external equipment is earphone or with the electronic signature token of audio jack.
The discernible Standard resistance range of existing terminal differs larger, can not compatible most of terminal determine whether that by detected resistance external equipment inserts by audio interface.In the present embodiment, Mike's pin of sense terminals audio interface and the resistance between ground wire pin, if testing result is greater than 0 and be less than or equal to 50 kilo-ohms, the information that output has external equipment to insert by audio interface, be that the Standard resistance range that terminal can be identified is 0 to 50 kilo-ohm, with respect to existing 3 to 30 kilo-ohms, 0 to 75 kilo-ohm and 0 to 100 kilo-ohm, 0 to 50 kilo-ohm of this recognizable set can compatible most of terminal (especially mobile phone) be used the method for detected resistance to determine whether that external equipment inserts by audio interface.
In actual applications, the discernible Standard resistance range of measuring terminals can pass through outer meeting resistance, changes resistance, and whether sense terminals exports the information that external equipment inserts by audio interface.
Embodiment 2
The present embodiment provides a kind of device of output information, can be for realizing the method for embodiment 1 described output information, and as shown in Figure 2, this device comprises: detection module 21 and output module 22.
Detection module 21, detects for the Mike's pin to the audio interface of terminal and the resistance between ground wire pin, obtains testing result; Output module 22, is connected to detection module 21, for being greater than 0 and be less than or equal to 50 kilo-ohms in the situation that in testing result, the information that output has external equipment to insert by audio interface.
In addition, external equipment is earphone or audio electronics signed tokens.
In the present embodiment, Mike's pin of detection module 21 sense terminals audio interface and the resistance between ground wire pin, if testing result is greater than 0 and be less than or equal to 50 kilo-ohms, the information that output module 22 outputs have external equipment to insert by audio interface, be that the Standard resistance range that terminal can be identified is 0 to 50 kilo-ohm, with respect to existing 3 to 30 kilo-ohms, 0 to 75 kilo-ohm and 0 to 100 kilo-ohm, 0 to 50 kilo-ohm of this recognizable set can compatible most of terminal (especially mobile phone) be used the method for detected resistance to determine whether that external equipment inserts by audio interface.
In flow chart or any process of otherwise describing at this or method describe and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of the step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, a plurality of steps or method can realize with being stored in memory and by software or the firmware of suitable instruction execution system execution.For example, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: have for data-signal being realized to the discrete logic of the logic gates of logic function, the application-specific integrated circuit (ASIC) with suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is to come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, this program, when carrying out, comprises step of embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can be also that the independent physics of unit exists, and also can be integrated in a module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.If described integrated module usings that the form of software function module realizes and during as production marketing independently or use, also can be stored in a computer read/write memory medium.
The above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
In the description of this specification, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, the schematic statement of above-mentioned term is not necessarily referred to identical embodiment or example.And the specific features of description, structure, material or feature can be with suitable mode combinations in any one or more embodiment or example.
Although illustrated and described embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, those of ordinary skill in the art can change above-described embodiment within the scope of the invention in the situation that not departing from principle of the present invention and aim, modification, replacement and modification.Scope of the present invention is by claims and be equal to and limit.

Claims (4)

1. a method for output information, is characterized in that, comprising:
Terminal detects the resistance between Mike's pin of the audio interface of terminal and ground wire pin, obtains testing result;
If described testing result is greater than 0 and be less than or equal to 50 kilo-ohms, the information that output has external equipment to insert by described audio interface.
2. method according to claim 1, is characterized in that, described external equipment is earphone or with the electronic signature token of audio jack.
3. a device for output information, is characterized in that, comprising:
Detection module, detects for the Mike's pin to the audio interface of terminal and the resistance between ground wire pin, obtains testing result;
Output module, for being greater than 0 and be less than or equal to 50 kilo-ohms in the situation that, the information that output has external equipment to insert by described audio interface in described testing result.
4. device according to claim 3, is characterized in that, described external equipment is earphone or audio electronics signed tokens.
CN201310389523.5A 2013-08-30 2013-08-30 Method and device for outputting information Pending CN103581798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310389523.5A CN103581798A (en) 2013-08-30 2013-08-30 Method and device for outputting information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310389523.5A CN103581798A (en) 2013-08-30 2013-08-30 Method and device for outputting information

Publications (1)

Publication Number Publication Date
CN103581798A true CN103581798A (en) 2014-02-12

Family

ID=50052543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310389523.5A Pending CN103581798A (en) 2013-08-30 2013-08-30 Method and device for outputting information

Country Status (1)

Country Link
CN (1) CN103581798A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255731A (en) * 2011-07-14 2011-11-23 深圳市星龙基电子技术有限公司 Intelligent key device based on wired earphone interface
CN202177904U (en) * 2011-07-08 2012-03-28 国民技术股份有限公司 Intelligent encrypted key based on audio interface
CN102572645A (en) * 2010-12-31 2012-07-11 富泰华工业(深圳)有限公司 Audio equipment and method for controlling to automatically close same
CN102739183A (en) * 2012-06-13 2012-10-17 天地融科技股份有限公司 Audio interface matching identification method and device for mobile terminal, and electronic signature tool
CN102761804A (en) * 2012-06-14 2012-10-31 天地融科技股份有限公司 Self-adaptive method and self-adaptive device of voice frequency interface, and electronic signature tool
CN202841070U (en) * 2012-06-28 2013-03-27 天地融科技股份有限公司 Audio interface matching identification device for mobile terminal, and electronic signing tool
CN202841469U (en) * 2012-09-27 2013-03-27 飞天诚信科技股份有限公司 Headset shield
CN202856753U (en) * 2012-08-29 2013-04-03 北京同方微电子有限公司 Self-adaptive audio frequency intelligent cipher key

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572645A (en) * 2010-12-31 2012-07-11 富泰华工业(深圳)有限公司 Audio equipment and method for controlling to automatically close same
CN202177904U (en) * 2011-07-08 2012-03-28 国民技术股份有限公司 Intelligent encrypted key based on audio interface
CN102255731A (en) * 2011-07-14 2011-11-23 深圳市星龙基电子技术有限公司 Intelligent key device based on wired earphone interface
CN102739183A (en) * 2012-06-13 2012-10-17 天地融科技股份有限公司 Audio interface matching identification method and device for mobile terminal, and electronic signature tool
CN102761804A (en) * 2012-06-14 2012-10-31 天地融科技股份有限公司 Self-adaptive method and self-adaptive device of voice frequency interface, and electronic signature tool
CN202841070U (en) * 2012-06-28 2013-03-27 天地融科技股份有限公司 Audio interface matching identification device for mobile terminal, and electronic signing tool
CN202856753U (en) * 2012-08-29 2013-04-03 北京同方微电子有限公司 Self-adaptive audio frequency intelligent cipher key
CN202841469U (en) * 2012-09-27 2013-03-27 飞天诚信科技股份有限公司 Headset shield

Similar Documents

Publication Publication Date Title
US8601173B2 (en) Detection of cable connections for electronic devices
US9749748B2 (en) Electronic device and method for detecting plug type of audio device inserted into electronic device
US10237658B2 (en) Plug type detection
CN100495377C (en) Method for inspecting type of connected peripheral apparatus and terminal interface
CN203466944U (en) Self configuration device
US20130179603A1 (en) Apparatus and method of identifying a usb or an mhl device
CN103414981A (en) Device, method and terminal for recognizing audio interface pins
CN104466470B (en) Anti-jitter SD card base, terminal and method for identifying inserting and pulling state of SD card
CN103760451A (en) Method and device for detecting interface access modes of intelligent secret key device
CN109298266A (en) Test macro, test method, test device and storage medium
CN104320738A (en) Digital microphone circuit
CN102751602A (en) E1 cable connector, cable type detection circuit board and method
TWI540908B (en) Multimedia output device and audio output method thereof
US8780514B2 (en) Data cable and electronic device using same
CN204350272U (en) Universal audio adaptive device and electronic equipment
CN102421056A (en) Method and device for detecting speaker
CN104459376B (en) A kind of interface circuit and peripherals detecting method, outer sensor based on the circuit
CN106226647A (en) The earphone socket of a kind of electronic equipment and electronic equipment
CN109147861A (en) A kind of hard disk is in level detecting apparatus and method
CN103581798A (en) Method and device for outputting information
CN104581527B (en) A kind of interface circuit and peripherals detecting method, outer sensor based on the circuit
CN203734838U (en) Earphone plugging detection apparatus
CN103874006A (en) Fault detection method and electronic device
CN203466964U (en) Terminal identification resistance range measurement device and system
CN104754461A (en) Matched headset recognizing method and device and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140212

RJ01 Rejection of invention patent application after publication