CN102026419B - Electronic device and system, as well as method for identifying electronic components and controlling electronic device thereof - Google Patents

Electronic device and system, as well as method for identifying electronic components and controlling electronic device thereof Download PDF

Info

Publication number
CN102026419B
CN102026419B CN200910169056.9A CN200910169056A CN102026419B CN 102026419 B CN102026419 B CN 102026419B CN 200910169056 A CN200910169056 A CN 200910169056A CN 102026419 B CN102026419 B CN 102026419B
Authority
CN
China
Prior art keywords
electronic components
plug
contact
contact jaw
socket
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
CN200910169056.9A
Other languages
Chinese (zh)
Other versions
CN102026419A (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.)
HTC Corp
Original Assignee
High Tech Computer Corp
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 High Tech Computer Corp filed Critical High Tech Computer Corp
Priority to CN200910169056.9A priority Critical patent/CN102026419B/en
Publication of CN102026419A publication Critical patent/CN102026419A/en
Application granted granted Critical
Publication of CN102026419B publication Critical patent/CN102026419B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Headphones And Earphones (AREA)

Abstract

The present invention discloses an electronic device and a system, as well as a method for identifying electronic components and controlling electronic device thereof. The electronic device can be externally connected with electronic components, and the electronic device comprises: a socket, used for receiving the inserting of a plug of the electronic components, and having a first contact end used for contacting the first contact of the plug; a data signal transceiver unit, used for receiving data signals from the electron components or sending the data signals to the electronic components through the first contact end of the socket; a measuring unit, used for measuring a parameter value generated by the contact between the first contact end and the first contact through the first contact end of the socket when the socket receives the inserting of the plug of the electronic components; a switching element, used for selectively and electrically connecting the first contact end to the data signal transceiver unit or the measuring unit; and a processing unit, used for performing corresponding functions according to the parameter value when the parameter value is within the first predetermined number range. By adopting the electronic device of the invention, users can perform operations on electronic device directly by the electronic components, thereby bringing convenience to users.

Description

The method of electronic installation and system and identification electronic components thereof and control electronic installation
Technical field
The present invention relates to a kind of electronic installation and system, and relate in particular to the method for a kind of electronic installation and system and identification electronic components and control electronic installation.
Background technology
Many portable electric device now, for example mobile phone, personal digital aid (PDA) etc., all dispose the audio sockets (audio jack) of 2.5mm or the 3.5mm of standard, with with voice output to earphone or loudspeaker, the user also can utilize the appended microphone of earphone that sound is inputed to electronic installation.And mobile phone now is except can also can be used for playing music for calling.The user if will adjust volume or choose song, must touch button on the mobile phone or Touch Screen in the process of listening to the music.But the user might not take mobile phone in the process of listening to the music, and for example may be placed in the handbag, only earphone is stretched out.Therefore, when the user will adjust volume or choose song, must open handbag taking-up mobile phone and can operate.Concerning the user, be suitable inconvenience so.
Summary of the invention
The invention provides the method for a kind of electronic installation and system and identification electronic components thereof and control electronic installation.
In one embodiment, electronic installation energy external connected electronic accessory of the present invention, described electronic installation comprises socket, data-signal Transmit-Receive Unit, measuring unit, switching device and processing unit.The socket of electronic installation is used for the insertion of the plug of reception electronic components, and it has first contact jaw, is used for first contact of contact plug; The data-signal Transmit-Receive Unit is used for when socket receives the insertion of plug of electronic components, by first contact jaw of socket, from electronic components reception data-signal or data signal to electronic components; Measuring unit is used for when the insertion of the plug of socket reception electronic components, by first contact jaw of socket, and the parameter value that first contact jaw of measurement socket produces when contacting with first contact of plug; Switching device is used for optionally first contact jaw of socket is electrically connected to data-signal Transmit-Receive Unit or measuring unit; Processing unit then is electrically connected to measuring unit, and when parameter value is in the first predetermined value scope, carries out corresponding function according to described parameter value.
According to electronic installation of the present invention, electronic components have at least one key switch, and measuring unit measured parameter value when key switch is pressed.
According to electronic installation of the present invention, this electronic installation also comprises the insertion checkout gear, be electrically connected at processing unit, whether the plug for detection of electronic components inserts socket, wherein when the insertion checkout gear detects the plug insertion socket of electronic components, produce control signal, and be sent to processing unit; And processing unit controls switching device according to control signal, is electrically connected to measuring unit with first contact jaw with socket.
According to electronic installation of the present invention, this electronic installation also comprises audio output unit, is used for the outputting audio data signal, and wherein socket also has second contact jaw, is used for second contact of contact plug; And second contact jaw of audio output unit by socket exports voiceband data signal to electronic components.
According to electronic installation of the present invention, the data-signal that the data-signal Transmit-Receive Unit receives or transmits is speech data signal, music data signal or image data signal.
According to electronic installation of the present invention, the measured parameter value of measuring unit is magnitude of voltage, resistance value or current value, and measuring unit also is used for described parameter value is converted to digital value, and processing unit is then carried out corresponding function according to described digital value.
According to electronic installation of the present invention, the performed corresponding function of processing unit is for finishing to play music, quiet, locking switch, reduction volume, increase volume, fall back, F.F., broadcast, suspending, receive calls or hang up the telephone.
According to electronic installation of the present invention, wherein socket is the standard audio socket of 2.5mm or 3.5mm.
The present invention also provides a kind of electronic system, and this electronic system comprises above-mentioned electronic installation and the electronic components that are used for this electronic installation, and wherein these electronic components have plug, phonation unit, microphone and control element.Plug has first contact and second contact, and wherein control element is electrically connected at first contact, and has at least one key switch, and microphone is then for generation of speech data signal.
The present invention also provides a kind of method for electronic installation identification electronic components and control electronic installation, and wherein said electronic installation has measuring unit, data-signal Transmit-Receive Unit, processing unit and socket, and this socket has first contact jaw.Method of the present invention comprises the following steps: whether the plug that detects described electronic components inserts described socket; When the plug that detects described electronic components inserts described socket, described first contact jaw is electrically connected to described measuring unit; Measure the parameter value that produces when described first contact jaw contacts with described plug by this measuring unit; When this parameter value was in the first predetermined value scope, described processing unit was carried out corresponding function according to described parameter value; And when described parameter value is in the second predetermined value scope, described first contact jaw switched and is electrically connected to described data-signal Transmit-Receive Unit, and receive data-signal or data signal to described electronic components from described electronic components.
In order to allow above-mentioned and other purposes of the present invention, feature and the advantage can be more obvious, hereinafter will cooperate appended diagram, be described in detail below.
Description of drawings
Fig. 1 a is three contact audio jack of standard;
Fig. 1 b is four contact audio jack of standard;
Fig. 2 is according to electronic installation of the present invention;
Fig. 3 is the electronic components that are used on the electronic installation of the present invention;
Fig. 4 is switch on the control element of electronic components of Fig. 3 and the allocation plan of resistance; And
Fig. 5 is for identification electronic components of the present invention and carry out its corresponding function and control the flow chart of the method for electronic installation with these electronic components.
The main element symbol description
110 audio jack, 112 contacts
114 contacts, 116 contacts
118 contacts, 120 audio jack
200 electronic installations, 210 audio sockets
212 contact jaws, 214 contact jaws
216 contact jaws, 218 contact jaws
221 insert checkout gear 223 audio output units
226 data-signal Transmit-Receive Units, 227 measuring units
240 processing units, 252 switching devices
260 control units, 300 electronic components
310 phonation units, 320 control elements
322 switches, 512 steps
514 step 516 steps
518 step 520 steps
522 step 524 steps
530 steps
Embodiment
The external connected electronic accessory of electronic installation, for example earphone or microphone generally include the standard plug (plug) of a 2.5mm or 3.5mm diameter, are used for being inserted in the audio sockets (audio jack) on the electronic installation.With reference to figure 1a and Fig. 1 b, the audio jack 110,120 of standard includes three or four contacts (contact), each other insulation.After plug 110,120 inserted audio sockets on the electronic installations, these contacts can contact with corresponding contact jaw in the socket.With common earphone, its plug 110 includes three contacts, by beginning foremost of plug, is contact 112,114 and 116 in regular turn, and wherein contact 112 is the output of L channel, and contact 114 is the output of R channel, and contact 116 then is used for ground connection.In addition, with regard to the earphone with microphone function, its plug 120 includes four contacts 112,114,116 and 118, and the contact 118 that has more is the input of sound.
With reference to figure 2, electronic installation 200 of the present invention comprises audio sockets 210, when three contacts shown in Fig. 1 a or Fig. 1 b or four contact plug 110,120 are inserted sockets 210, the contact 112,114,116 of four contact plug 120,118 can contact with the contact jaw 212,214,216,218 of socket 210 respectively, reaches the purpose of electric connection.In addition, when the plug 110 of three contacts inserted in the socket 210, its contact 112,114 can electrically contact with the contact jaw 212,214 of socket 210 respectively, and contact 116 then can electrically contact with contact jaw 216 and 218.Electronic installation 200 also comprises insertion checkout gear 221, audio output unit 223, data-signal Transmit-Receive Unit 226, processing unit 240 and switching device 252, for example multiplexer, the wherein contact jaw 212 of audio output unit 223 and audio sockets 210,214 electric connections.In the present embodiment, data-signal Transmit-Receive Unit 226 can be the audio frequency receiving element, be used for receiving speech data signal or music data signal, and perhaps can be image output/input unit, be used for output or input image data signal.Switching device 252 has input IN and two output Q0 and Q1, and wherein the contact jaw 218 of input IN and audio sockets 210 electrically connects, and output Q0 and measuring unit 227 electrically connect, and output Q1 then electrically connects with data-signal Transmit-Receive Unit 226.
After three contacts shown in Fig. 1 a or Fig. 1 b or four contact plug 110,120 are inserted audio sockets 210, because contact jaw 216 ground connection of audio sockets 210, contact 116 also can form ground connection, and contact 118 then is electrically connected to the input IN of switching device 252 by contact jaw 218.In addition, because plug 110,120 contact 112,114 can contact with the contact jaw 212,214 of audio sockets 210 respectively, contact 112,114 can be therefore and audio output unit 223 electric connections.Therefore, make its output switch to Q0 for switching device 252 if control unit 260 is sent signal, then input IN and output Q0 can form conducting, and the contact 118 of plug 120 and the contact of plug 110 116 can be connected with measuring unit 227.In like manner, if when control unit 260 is sent signal and made its output switch to Q1 for switching device 252, then the contact 116 of the contact 118 of plug 120 and plug 110 can be connected with data-signal Transmit-Receive Unit 226.
Please refer to Fig. 3, it has shown a kind of electronic components 300 that use on electronic installation 200 of the present invention.Electronic components 300 comprise at least one phonation unit 310, for example are plug 120, control element 320 and the microphones 330 of earphone or loud speaker, Fig. 1 b, and microphone 330 is located on the control element 320.In other embodiments, microphone 330 can be independent of outside the control element 320.Control element 320 is connected with 118 with the contact 116 of plug 120, and includes a plurality of switches 322, touch-tone switch for example, and described a plurality of switches 322 are connected with resistance, and it disposes as shown in Figure 4.When certain switch 322 is pressed and during conducting, when for example the SW10 switch was pressed, current path can not pass through any resistance, and when for example the SW7 switch was pressed, current path only can pass through resistance R 7, R8 and R9, can be through other resistance.
Please refer to Fig. 2 again, in order to judge which kind of electronic components inserts audio sockets 210 and be which switch 322 on the electronic components 300 is pressed that the contact jaw 218 of socket 210 is connected with resistance R SIn the present invention, measuring unit 227 uses analog/digital conversion unit (analog-to-digitalconverter; ADC) measure and be applied to resistance R SOn the voltage to earth (being the voltage on the contact jaw 218 of socket 210) of terminal A, and voltage signal is converted to digital signal, this digital signal again with the memory that is stored in electronic installation 200 in the numerical value (not shown) that compares, which kind of electronic components what can judge insertion audio sockets 210 is, and which switch 322 that is confirmed to be on the electronic components 300 is pressed, and therefore electronic installation 200 carries out corresponding application program or function again.Easily it according to the dividing potential drop theorem, is measured and is applied to resistance R SOn the voltage to earth (being the voltage on the contact jaw 218 of socket 210) of terminal A, the voltage that for example measures is Vs, and the voltage that line end measures is V DD, then be (R between plug connector 118 to the impedance on the path between the contact 116 S* Vs)/(V DD* Vs).Measuring unit 227 used in the present invention can be one 12 analog/digital conversion unit, that is its output area is 0x000 to 0xFFF.Hereinafter will describe identification electronic components of the present invention in detail and carry out its corresponding function and with the method for this electronic components control electronic installation by electronic components.
The insertion checkout gear 221 of electronic installation 200 electrically connects processing unit 240.Insert checkout gear 221 every the scheduled time, for example 100ms just can detect the plug whether any electronic components are arranged and insert in the audio sockets 210.If when insertion checkout gear 221 detects plug insertion audio sockets 210, then produce control signal, and send processing unit 240 to.Processing unit 240 can remove to control switching device 252 by control unit 260 according to described control signal, is electrically connected to measuring unit 227 with the contact jaw 218 with audio sockets 210.Described insertion checkout gear 221 also can be the interruption reaction unit, namely need not detect once every special time.When insertion checkout gear 221 had detected plug insertion audio sockets 210, control unit 260 just can be sent signal and give switching device 252, made its output switch to the Q0 end, and this moment, contact jaw 218 meetings of audio sockets 210 be connected with measuring unit 227.Then, voltage on the contact jaw 218 contacted plug connectors of measurement and audio sockets 210, which kind of electronic components with judgement insertion audio sockets 210 are, or which switch 322 on the electronic components 300 is pressed, that is electronic installation 200 can be carried out corresponding function according to the numerical value of measuring unit 227 outputs.When if the numerical value that measuring unit 227 is exported drops in the first predetermined value scope that comprises the second to the 12 predetermined value scope, carry out surface function down.
Situation one: the numerical value of measuring unit 227 outputs is 0x000
When the numerical value of measuring unit 227 output is 0x000, that is when measuring short circuit (short) state, can judge it is that three contact plug 110 shown in Fig. 1 a are inserted in the audio sockets 210.Owing to do not have the electronic components of microphone to have three contact plug 110, can judge that therefore the electronic components that insert audio sockets 210 are electronic components that do not have microphone.With voiceband data signal, for example speech data signal or music data signal export electronic components to then with audio output unit 223 startups, and by contact jaw 212,214.
Situation two: the numerical value of measuring unit 227 outputs is in the second predetermined value scope
When the numerical value of measuring unit 227 output is in the second predetermined value scope, processing unit 240 can judge that the electronic components that insert audio sockets 210 are the electronic components with microphone function, electronic components 300 shown in Figure 3 for example, its plug is four contact plug 120 shown in Fig. 1 b.Then, processing unit 240 switches to Q1 end by control unit 260 with the output of switching device 252 according to the second predetermined value scope, so that the contact jaw 218 of audio sockets 210 is connected with data-signal Transmit-Receive Unit 226.At this moment, audio output unit 223 and data-signal Transmit-Receive Unit 226 are started, and by contact jaw 212,214 with voiceband data signal, for example speech data signal or music data signal, export phonation unit 310 to, and the user can utilize also microphone 330 by contact jaw 218 speech data signal or music data signal to be inputed to data-signal Transmit-Receive Unit 226.
Situation three: the numerical value of measuring unit 227 output is in other predetermined value scopes the time
When the electronic components that insert audio sockets 210 are electronic components 300 shown in Figure 3, if certain switch on the control element 320 is pressed and conducting, for example be that the SW7 switch is pressed, at this moment current path only can pass through resistance R 7, R8 and R9, can be through other resistance, so contact jaw 218 on plug connector 118 the measured magnitude of voltage of measuring unit 227 by socket 210 is that resistance R 7, R8 and R9 produce.In like manner, if the SW5 switch is pressed, current path only can pass through resistance R 5, R6, R7, R8 and R9, and can not pass through other resistance, that is measuring unit 227 measured magnitudes of voltage are that resistance R 5, R6, R7, R8 and R9 produce.Therefore, when different switch 322 was pressed, measuring unit 227 will be exported different numerical value, by with the memory that is stored in electronic installation 200 in numerical value compare, can judge which switch 322 is pressed.Therefore, if the numerical value of measuring unit 227 output is in the 3rd, the 4th, the 5th, the 6th, the 7th, the 8th, the 9th, the tenth, the 11 and the 12 predetermined value scope the time, can judge that SW10, SW9, SW8, SW7, SW6, SW5, SW4, SW3, SW2 and the SW1 switch on the control element 320 is pressed respectively.Then, processing unit 240 can be carried out corresponding function according to the numerical value that measuring unit 227 is exported.In the time of will illustrating switch 322 below and be pressed, which type of function processing unit 240 can carry out.
When electronic installation 200 was being carried out the music program and play music, voiceband data signal can export on the phonation unit 310 of electronic components 300 from audio output unit 223.When (1) output that causes measuring unit 227 if the user presses the SW10 switch was in the 3rd predetermined value scope, this song was play in processing unit 240 meeting " end (End) ".When (2) output that causes measuring unit 227 if the user presses the SW9 switch is in the 4th predetermined value scope, processing unit 240 can be carried out the function of " quiet (Mute) ", so that audio output unit 223 suspends voiceband data signal is sent on the phonation unit 310.When (3) output that causes measuring unit 227 if the user presses the SW8 switch is in the 5th predetermined value scope, processing unit 240 can be carried out the function of " locking (Hold) " to keep present broadcast state, this moment, other switches 322 can temporarily fail, and changed broadcast state to avoid user's false touch switch 322.When (4) output that causes measuring unit 227 if the user presses the SW7 switch was in the 6th predetermined value scope, processing unit 240 can be carried out the function of " reducing volume (VolumeDown) ", to reduce the broadcast sound volume of phonation unit 310.When (5) output that causes measuring unit 227 if the user presses the SW6 switch was in the 7th predetermined value scope, processing unit 240 can be carried out the function of " increasing volume (VolumeUp) ", to increase the broadcast sound volume of phonation unit 310.When (6) output that causes measuring unit 227 if the user presses the SW5 switch was in the 8th predetermined value scope, processing unit 240 can be carried out the function of " (Reverse) falls back ", allow the music program play before a piece of music.When (7) output that causes measuring unit 227 if the user presses the SW4 switch was in the 9th predetermined value scope, processing unit 240 can be carried out the function of " F.F. (Forward) ", allows the music program play next music.When (8) output that causes measuring unit 227 if the user presses the SW3 switch was in the tenth predetermined value scope, processing unit 240 can be carried out the function of " playing (Play) " or " suspending (Pause) ", allowed the music program begin or suspended the broadcast music.
It should be noted, the configuration of Fig. 4 according to the present invention, if there is plural switch 322 to be pressed simultaneously during conducting, according to Ohm's law, electric current will only can be through the path of impedance minimum.For instance, if SW5 and SW7 switch are pressed simultaneously, electric current only can pass through SW7 switch, resistance R 7, R8 and R9, can't pass through SW5 switch, resistance R 5 and R6.In other words, the numerical value of measuring unit 227 outputs can be in the 6th predetermined value scope.Therefore, pressed simultaneously when SW5 and SW7 switch, processing unit 240 only can be carried out the corresponding function of SW7 switch, that is carries out the function of " reduction volume ".
Please refer to Fig. 5, it shows the flow chart of the method for identification electronic components of the present invention and control electronic installation.Whether at first, insertion checkout gear 221 just can detect every the scheduled time has any plug to insert in the audio sockets 210 (step 512).When having detected plug when inserting audio sockets 210, the output of switching device 252 is switched to Q0 end (step 514), with the voltage on the contact jaw 218 of measuring audio sockets 210.Then, judge the numerical value (step 516) of measuring unit 227 outputs,
1) when the numerical value of measuring unit 227 output is 0x000, can judge that the electronic components that insert audio sockets 210 are one and do not have microphone and only have the electronic components of earphone.Then, start the audio output unit 223 of electronic installation 200, play (step 518) with the earphone that voiceband data signal is exported to electronic components.
2) when the numerical value of measuring unit 227 output is in the second predetermined value scope, can judge that the electronic components that insert audio sockets 210 are the electronic components with microphone and earphone.Then, the output of switching device 252 is switched to Q1 end (step 520), and start audio output unit 223 and data-signal Transmit-Receive Unit 226, play with outputting audio data signal to the earphone of electronic components, and receive the voiceband data signal (step 522) that produces from microphone.
3) when the numerical value of measuring unit 227 outputs drops in the 3rd to the 12 predetermined value scope, can judge it is the electronic components 300 insertion audio sockets 210 of Fig. 3, and SW10, SW9 on its control element 320, SW8, SW7, SW6, SW5, SW4, SW3, SW2 or SW1 switch are pressed.Then, processing unit 240 is just carried out corresponding function (step 524) according to the numerical value that measuring unit 227 is exported.
It should be noted, insert checkout gear 221 after plug inserts audio sockets 210, still can test plug whether extract audio sockets 210 (step 530).Do not detect plug and extract audio sockets 210 if insert checkout gear 221, then skip to tie point A, the output of switching device 252 is switched to the Q0 end, to judge the numerical value of measuring unit 227 outputs.
It should be noted that electronic installation of the present invention can be mobile phone, smart mobile phone, personal digital assistant, MP3 player and other any electronic installation with standard 2.5mm or 3.5mm audio sockets (audiojack).In addition, the corresponding function of the switch on the control element 320 can be done setting according to actual needs, and not limiting is disclosed function in the embodiment of the present invention.For example, switch SW 10 can be set for be used to answering or hanging up the telephone, and can receive calls when pressing switch SW 10, presses 10 of switch SW again and can hang up the telephone.
Though the present invention as the foundation of carrying out corresponding function, but still can measure other parameters with the magnitude of voltage on the contact jaw 218 of measuring audio sockets 210, for example resistance value or current value are with the foundation as the corresponding function of execution.No matter measured parameter value is voltage, electric current or resistance value on the contact jaw 218 of audio sockets 210, it is all relevant with the resistance value of the switch of the impedance of the plug of electronic components and control element 320.Specifically, in the plug insertion audio sockets 210 of different electronic components, when perhaps the different switches on the control element 320 were pressed, parameter values such as voltage, electric current or impedance measured on the contact jaw 218 were all inequality, were used as carrying out the foundation of corresponding function by this.
The method according to this invention, by the parameters of measuring on the contact jaw of audio sockets such as voltage, electric current or impedance, which kind of electronic components what come identification insertion audio sockets is, therefore only need utilize an audio sockets, can reach the purpose of using multiple electronic components function.In addition, according to electronic components of the present invention, after the switch on its control element is pressed, can cause the impedance on the plug connector to produce change, by the parameter value of measuring on this contact, can judge which switch is pressed, electronic installation is carried out the function corresponding with the switch that is pressed according to described parameter value again.
Though the present invention is disclosed by above-described embodiment, yet above-described embodiment is not that any the technical staff in the technical field of the invention without departing from the spirit and scope of the present invention, should make various variations and modification for restriction the present invention.Therefore protection scope of the present invention should be as the criterion with the scope that appended claims was defined.

Claims (22)

1. electronic installation, this electronic installation can external connected electronic accessories, and these electronic components have plug, and described electronic installation comprises:
Socket is used for the insertion of the plug of the described electronic components of reception, and described socket has first contact jaw, is used for first contact of the described plug of contact;
The data-signal Transmit-Receive Unit is used for when described socket receives the insertion of plug of described electronic components, by first contact jaw of described socket, receives extremely described electronic components of data-signal or data signal from described electronic components;
Measuring unit is used for when described socket receives the insertion of plug of described electronic components, by first contact jaw of described socket, and the parameter value that first contact jaw of measuring described socket produces when contacting with first contact of described plug;
Switching device is used for first contact jaw of described socket is electrically connected to described data-signal Transmit-Receive Unit or measuring unit; And
Processing unit is electrically connected to described measuring unit, and wherein when described parameter value was in the first predetermined value scope, described processing unit was carried out corresponding function according to described parameter value.
2. electronic installation according to claim 1, wherein, described electronic components have at least one key switch, and described measuring unit is measured described parameter value when described key switch is pressed.
3. electronic installation according to claim 1, wherein, when described parameter value was in the second predetermined value scope, described processing unit was controlled described switching device according to described parameter value, was electrically connected to described data-signal Transmit-Receive Unit with first contact jaw with described socket.
4. electronic installation according to claim 1, this electronic installation also comprises:
Insert checkout gear, be electrically connected at described processing unit, whether insert described socket for detection of the plug of described electronic components;
Wherein, when the plug that detects described electronic components when described insertion checkout gear inserts described socket, produce control signal, and this control signal is sent to described processing unit; And this processing unit is controlled described switching device according to described control signal, is electrically connected to described measuring unit with first contact jaw with described socket.
5. electronic installation according to claim 1, this electronic installation also comprises:
Audio output unit is used for the outputting audio data signal;
Wherein, described socket also has second contact jaw, is used for second contact of the described plug of contact; And described audio output unit exports described voiceband data signal to described electronic components by second contact jaw of described socket.
6. electronic installation according to claim 5, wherein, described electronic components have at least one phonation unit, are used for the playing audio data signal, and described phonation unit is earphone or loud speaker.
7. electronic installation according to claim 1, wherein, described data-signal Transmit-Receive Unit is the audio frequency receiving element, is used for receiving speech data signal by first contact jaw of described socket from described electronic components; Wherein, described electronic components have microphone, for generation of described speech data signal.
8. electronic installation according to claim 1, wherein, the data-signal that described data-signal Transmit-Receive Unit receives or transmits is speech data signal, music data signal or image data signal.
9. electronic installation according to claim 1, wherein, described parameter value is magnitude of voltage, resistance value or current value.
10. electronic installation according to claim 1, wherein, described measuring unit also is used for described parameter value is converted to digital value, and described processing unit is carried out corresponding function according to described digital value.
11. an electronic installation, this electronic installation energy external connected electronic accessory, these electronic components have plug, and described electronic installation comprises:
Audio sockets is used for the insertion of the plug of the described electronic components of reception, and described audio sockets has first contact jaw and second contact jaw, is used for contacting respectively first contact and second contact of described plug;
Audio output unit is used for the outputting audio data signal, and exports described voiceband data signal to described electronic components by second contact jaw of described audio sockets;
The audio frequency receiving element is used for receiving speech data signal by first contact jaw of described audio sockets from described electronic components;
Measuring unit is used for when described audio sockets receives the insertion of plug of described electronic components, by first contact jaw of described audio sockets, and the parameter value that first contact jaw of measuring described audio sockets produces when contacting with first contact of described plug;
Switching device is used for first contact jaw of described audio sockets is electrically connected to described audio frequency receiving element or measuring unit; And
Processing unit is electrically connected to described measuring unit, and wherein when described parameter value was in the first predetermined value scope, described processing unit was carried out corresponding function according to described parameter value.
12. electronic installation according to claim 11, this electronic installation also comprises:
Insert checkout gear, be electrically connected at described processing unit, whether insert described audio sockets for detection of the plug of described electronic components;
Wherein, when the plug that detects described electronic components when described insertion checkout gear inserts described audio sockets, produce control signal, and this control signal is sent to described processing unit; Described processing unit is controlled described switching device according to described control signal, is electrically connected to described measuring unit with first contact jaw with described audio sockets.
13. electronic installation according to claim 11, wherein, when described parameter value was in the second predetermined value scope, described processing unit was controlled described switching device according to described parameter value, was electrically connected to described audio frequency receiving element with first contact jaw with described audio sockets.
14. electronic installation according to claim 11, wherein, described audio sockets is the standard audio socket of 2.5mm or 3.5mm.
15. an electronic system, this electronic system comprises:
First electronic components have plug, phonation unit and control element, and described plug has first contact and second contact, and wherein said control element is electrically connected at described first contact, and have at least one key switch;
Electronic installation can electrically connect with described first electronic components, and comprise:
Audio sockets is used for the insertion of the plug of described first electronic components of reception, and described audio sockets has first contact jaw and second contact jaw, is used for contacting respectively first contact and second contact of described plug;
Audio output unit is used for the outputting audio data signal, and described voiceband data signal is exported to the phonation unit of described first electronic components by second contact jaw of described audio sockets;
The audio frequency receiving element is used for receiving speech data signal by first contact jaw of described audio sockets;
Measuring unit, be used for when described audio sockets receives the insertion of plug of described first electronic components, by first contact jaw of described audio sockets, the parameter value that first contact jaw of measuring described audio sockets produces when contacting with first contact of described plug;
Switching device is used for first contact jaw of described audio sockets is electrically connected to described audio frequency receiving element or measuring unit; And
Processing unit is electrically connected to described measuring unit, and wherein when described parameter value was in the first predetermined value scope, described processing unit was carried out corresponding function according to described parameter value.
16. electronic system according to claim 15, wherein, when described parameter value was in the second predetermined value scope, described processing unit was controlled described switching device according to described parameter value, was electrically connected to described audio frequency receiving element with first contact jaw with described audio sockets.
17. electronic system according to claim 15, wherein, described first electronic components have microphone, for generation of first speech data signal, and described audio frequency receiving element is used for receiving described first speech data signal by first contact jaw of described audio sockets from described first electronic components.
18. electronic system according to claim 15, this electronic system also comprises:
Second electronic components have plug, phonation unit and microphone, and this microphone is for generation of the second speech data signal, and the plug of described second electronic components has first contact and second contact;
Wherein, described audio sockets also is used for contacting respectively first contact and second contact of the plug of described second electronic components, and described audio output unit also is used for by second contact jaw of described audio sockets described voiceband data signal being exported to the phonation unit of described second electronic components; And
Wherein, described audio frequency receiving element is used for receiving described second speech data signal by first contact jaw of described audio sockets from described second electronic components.
19. one kind is used at electronic installation identification electronic components and controls the method for this electronic installation, described electronic installation has measuring unit, data-signal Transmit-Receive Unit, processing unit and socket, and this socket has first contact jaw, and described method comprises:
Whether the plug that detects described electronic components inserts described socket;
When the plug that detects described electronic components inserts described socket, described first contact jaw is electrically connected to described measuring unit;
Measure the parameter value that produces when described first contact jaw contacts with described plug by described measuring unit;
When described parameter value was in the first predetermined value scope, described processing unit was carried out corresponding function according to described parameter value; And
When described parameter value is in the second predetermined value scope, described first contact jaw switched and is electrically connected to described data-signal Transmit-Receive Unit, and receive data-signal or data signal to described electronic components from described electronic components.
20. method according to claim 19, wherein, when the plug that detects described electronic components inserted described socket, the step that described first contact jaw is electrically connected to described measuring unit comprised:
Produce control signal; And
According to described control signal, first contact jaw of described socket is electrically connected to described measuring unit.
21. method according to claim 19, wherein, described electronic installation also has audio output unit, and described socket also has second contact jaw, and described method also comprises:
When the plug that detects described electronic components inserted described socket, described audio output unit exported voiceband data signal to described electronic components by second contact jaw of described socket.
22. method according to claim 19, wherein, described data-signal Transmit-Receive Unit is the audio frequency receiving element, and described method also comprises:
By described audio frequency receiving element, first contact jaw by described socket receives speech data signal from described electronic components.
CN200910169056.9A 2009-09-17 2009-09-17 Electronic device and system, as well as method for identifying electronic components and controlling electronic device thereof Active CN102026419B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910169056.9A CN102026419B (en) 2009-09-17 2009-09-17 Electronic device and system, as well as method for identifying electronic components and controlling electronic device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910169056.9A CN102026419B (en) 2009-09-17 2009-09-17 Electronic device and system, as well as method for identifying electronic components and controlling electronic device thereof

Publications (2)

Publication Number Publication Date
CN102026419A CN102026419A (en) 2011-04-20
CN102026419B true CN102026419B (en) 2013-07-17

Family

ID=43867086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910169056.9A Active CN102026419B (en) 2009-09-17 2009-09-17 Electronic device and system, as well as method for identifying electronic components and controlling electronic device thereof

Country Status (1)

Country Link
CN (1) CN102026419B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2501114B1 (en) * 2011-03-16 2013-09-25 BlackBerry Limited Electronic device and audio accessory having a plurality of passive switches for controlling the audio device
CN105247887A (en) * 2013-06-07 2016-01-13 索尼公司 Input device and transmission method; host device and reception method, and signal processing system and transmission/reception method
SE1451301A1 (en) * 2014-10-30 2016-04-05 Zound Ind Int Ab An audio interface arrangement and a handheld device comprising the audio interface arrangement
CN105204817B (en) * 2015-09-30 2019-04-26 联想(北京)有限公司 A kind of information processing method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200700995A (en) * 2005-06-29 2007-01-01 High Tech Comp Corp Cradle for connecting to portable electronic apparatus
CN1980488A (en) * 2005-12-09 2007-06-13 金宝电子工业股份有限公司 Method for controlling sound output
CN101137211A (en) * 2006-08-29 2008-03-05 英业达股份有限公司 Incoming signal processing equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200700995A (en) * 2005-06-29 2007-01-01 High Tech Comp Corp Cradle for connecting to portable electronic apparatus
CN1980488A (en) * 2005-12-09 2007-06-13 金宝电子工业股份有限公司 Method for controlling sound output
CN101137211A (en) * 2006-08-29 2008-03-05 英业达股份有限公司 Incoming signal processing equipment

Also Published As

Publication number Publication date
CN102026419A (en) 2011-04-20

Similar Documents

Publication Publication Date Title
TWI405990B (en) Electronic device and method thereof for identifying electronic accessory
EP2299669B1 (en) Electronic device and system and method thereof for identifying electronic accessory and controlling electronic device
US9680980B2 (en) Electronic device accessory
US8412268B2 (en) Detection, identification and operation of pheripherals connected via an audio/video-plug to an electronic device
TWI250439B (en) Identification system and method for recognizing any one of a number of different types of devices
WO2012009984A1 (en) Method and device for sharing micro-usb interface between earphone and usb
CN103118191A (en) Using control method and mobile terminal for iPhone wire control earphone
CN101739374A (en) Signal transmission path selecting circuit and electronic device applying same
CN102026419B (en) Electronic device and system, as well as method for identifying electronic components and controlling electronic device thereof
EP3133834B1 (en) Method, apparatus and system for supplying power to active noise cancelling earphone
CN101924835A (en) Mobile telephone communication method and mobile telephone
CN102053932B (en) Electronic device and method for identifying electronic accessory therein
EP2645741A1 (en) Corded audio device with wireless data exchange
CN201781517U (en) Mobile phone device
CN105578345A (en) An audio interface arrangement and a handheld device comprising the audio interface arrangement
KR101721524B1 (en) Portable Sound Device including Common Earphone Connector for Connecting Charger Plug and Earphone Plug
JP2936934B2 (en) Telephone
CN113630679A (en) Wireless earphone charging device
KR20070081586A (en) Apparatus and method for discriminating earphone/speaker plug in mobile communication terminal
KR20040016052A (en) Remote communication and control apparatus for mobile phone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant