CN102662895A - Communication method, device and system of peripheral input/output equipment - Google Patents

Communication method, device and system of peripheral input/output equipment Download PDF

Info

Publication number
CN102662895A
CN102662895A CN2012100829129A CN201210082912A CN102662895A CN 102662895 A CN102662895 A CN 102662895A CN 2012100829129 A CN2012100829129 A CN 2012100829129A CN 201210082912 A CN201210082912 A CN 201210082912A CN 102662895 A CN102662895 A CN 102662895A
Authority
CN
China
Prior art keywords
portable terminal
heat transfer
earphone interface
transfer agent
supply voltage
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
CN2012100829129A
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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN2012100829129A priority Critical patent/CN102662895A/en
Publication of CN102662895A publication Critical patent/CN102662895A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a communication method, device and system of peripheral input/output equipment, belongs to the technical field of communication, and is designed for solving the problem in the prior art that the peripheral equipment of the mobile terminal is higher in cost and lower in diversity. The communication method of the peripheral input/output equipment comprises the steps of: acquiring a power supply voltage output by a sound channel pin of an earphone interface to be used as a power supply for supplying power; and processing the sensor information obtained by a sensing unit; converting the processed sensor information into dual-tone multi-frequency signal, and sending the dual-tone multi-frequency signal to the mobile terminal by a microphone pin of the earphone interface, so that the mobile terminal reduces the sensor information according to the dual-tone multi-frequency signal.

Description

The communication means of external input-output apparatus, device and system
Technical field
The present invention relates to the communications field, relate in particular to a kind of communication means, device and system of external input-output apparatus.
Background technology
Development and progress along with technology; It is intelligent that portable terminal just is being tending towards, but still realize through I/O (Input/Output is hereinafter to be referred as the I/O) device that is integrated on the portable terminal basically for the operation of portable terminal; Keyboard for example, touch-screen and sensor etc.
In the prior art, can also realize control, for example through mouse, keyboard and joystick etc. based on bluetooth or USB (Universal Serial BUS is hereinafter to be referred as USB) through external I/O equipment for portable terminal.
When using the bluetooth external equipment, the bluetooth external equipment needs independently power supply to supply power, and when the electric weight of power supply exhausts, then the bluetooth external equipment then can't work on, and comprises the Bluetooth RF unit in the bluetooth external equipment, and cost is higher.
When using the USB external equipment; Because of the restriction of usb protocol, the USB external equipment must satisfy the standard of human interface device (Human Interface Device is hereinafter to be referred as HID); So be applicable to USB mouse and USB keyboard of standard etc. more, be difficult to expand various external I/O equipment.
Summary of the invention
Embodiments of the invention provide a kind of can be through earphone interface to external I/O equipment supply power and go forward side by side method for communicating, device and the system of external I/O equipment of row data communication.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of communication means of external I/O equipment comprises:
Obtaining the supply voltage of the sound channel pin output of earphone interface supplies power to said external input-output apparatus as power supply;
Heat transfer agent to sensing unit obtained is handled;
Convert the heat transfer agent after handling into dual-tone multifrequency (Dual Tone Multi Frequency is hereinafter to be referred as DTMF) signal, and said dtmf signal is sent to said portable terminal through Mike's pin of said earphone interface.
A kind of communication means of external I/O equipment comprises:
Produce supply voltage, and export supply voltage to the sound channel pin of earphone interface;
Obtain the dtmf signal that the Mike pin of external I/O equipment through said earphone interface sent, parse the heat transfer agent after the said dtmf signal corresponding processing;
Restore said heat transfer agent according to the heat transfer agent after the said processing.
A kind of external I/O equipment comprises:
At least one sensing unit is used to produce heat transfer agent;
The external power supply administrative unit, the supply voltage that is used to obtain the sound channel pin output of earphone interface is supplied power to said external input-output apparatus as power supply;
External main control unit, the heat transfer agent that is used for said sensing unit is obtained is handled;
The DTMF generating unit is used for converting the heat transfer agent after handling into dtmf signal, and through Mike's pin of said earphone interface said dtmf signal is sent to said portable terminal.
A kind of portable terminal comprises:
PMU is used to produce supply voltage, and exports said supply voltage to the sound channel pin of earphone interface;
The audio frequency resolution unit is used to obtain the dtmf signal that the Mike pin of external I/O equipment through said earphone interface sent, and parses the heat transfer agent after the said dtmf signal corresponding processing;
The terminal main control unit is used for restoring said heat transfer agent according to the heat transfer agent after the said processing.
A kind of communication system of external I/O equipment comprises:
External input-output apparatus and portable terminal;
Said external input-output apparatus comprises: at least one sensing unit is used to produce heat transfer agent; The external power supply administrative unit, the supply voltage that is used to obtain the sound channel pin output of earphone interface is supplied power to said external input-output apparatus as power supply; External main control unit, the heat transfer agent that is used for said sensing unit is obtained is handled; The dual-tone multifrequency generating unit is used for converting the heat transfer agent after handling into touch-tone signal, and through Mike's pin of said earphone interface said touch-tone signal is sent to said portable terminal;
Said portable terminal comprises: PMU is used to produce supply voltage, and exports said supply voltage to the sound channel pin of earphone interface; The audio frequency resolution unit is used to obtain the touch-tone signal that the Mike pin of external input-output apparatus through said earphone interface sent, and parses the heat transfer agent after the said touch-tone signal corresponding processing; The terminal main control unit is used for restoring said heat transfer agent according to the heat transfer agent after the said processing;
Said portable terminal exports the supply voltage that produces to the sound channel pin through said PMU, supplies power as power supply so that the said external power supply administrative unit of said external input-output apparatus is obtained said supply voltage;
The said sensing unit of said external input-output apparatus produces heat transfer agent; And said heat transfer agent is handled through said external main control unit; Heat transfer agent after will handling through said dual-tone multifrequency generating unit converts touch-tone signal into; And send to said portable terminal, so that the said audio frequency resolution unit of said portable terminal and said terminal main control unit restore said heat transfer agent according to said touch-tone signal.
Communication means, device and the system of a kind of external I/O equipment that the embodiment of the invention provides; Portable terminal is supplied power to external I/O equipment through the sound channel pin of earphone interface; Need not independently power supply to be set for external I/O equipment; And make the form of the external I/O equipment of the external heat transfer agent of obtaining, this heat transfer agent is transferred to portable terminal through Mike's pin handles, need not to defer to the standard of HID according to DTMF; Thereby reduced the cost of external I/O equipment, expanded the diversity of external I/O equipment.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; The accompanying drawing of required use is done to introduce simply in will describing embodiment below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the process flow diagram of external I/O equipment side in the communication means of the described external I/O equipment of the embodiment of the invention;
Fig. 2 is the process flow diagram of mobile terminal side in the communication means of the described external I/O equipment of the embodiment of the invention;
Supply voltage that Fig. 3 is used to external I/O power devices for mobile terminal side in the communication means of the described external I/O equipment of the embodiment of the invention switches and the process flow diagram that is used for the sound signal of speech play;
Fig. 4 is the structural representation of the described external I/O equipment of the embodiment of the invention;
Fig. 5 is the structural representation of the described portable terminal of the embodiment of the invention;
Fig. 6 is the structural representation of the communication system of the described external I/O equipment of the embodiment of the invention.
Embodiment
Communication means, device and system to a kind of external I/O equipment of the embodiment of the invention is described in detail below in conjunction with accompanying drawing.
Should be clear and definite, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
On portable terminal, generally all can be provided with the earphone interface that is used to connect earphone, be used for the input and output of the sound signal of speech play; In the present invention; Can realize the data transmit-receive of portable terminal and external I/O equipment through this earphone interface; Wherein the headset plug of this external I/O equipment adopts the four-part form headset plug, and said four-part form headset plug comprises the L channel zone, R channel is regional, Mike is regional and ground region; The zones of different of four-part form headset plug is respectively for the L channel pin on the earphone interface of portable terminal, R channel pin, Mike's pin and ground wire pin.Saidly can be the earphone interface on the current terminal, also can realize through increasing earphone interface at current terminal through earphone interface.
On external I/O equipment, a kind of communication means of external I/O equipment, as shown in Figure 1, comprising:
100, the supply voltage that obtains the sound channel pin output of earphone interface is supplied power to said external input-output apparatus as power supply, and said supply voltage is produced by portable terminal.
The external I/O equipment of needs use is connected to the earphone interface of portable terminal; Then the pin of headset plug and earphone interface is corresponding is connected; After the connection, because of the ground wire pin of earphone interface is connected with the ground region of headset plug, the voltage of ground wire pin is dragged down by the voltage of ground region; Become low level, thereby portable terminal can be known earphone interface and exists external I/O equipment to connect; For external I/O equipment; Sound channel zone on the headset plug is an input area; So portable terminal can produce a direct current, 3 volts direct current for example is when portable terminal knows that earphone interface has external I/O equipment insertion; Sound channel pin through earphone interface is supplied power to external I/O equipment, and wherein this sound channel pin can be L channel pin or R channel pin.
101, the heat transfer agent that sensing unit obtained is handled.
For making external I/O equipment obtain needed heat transfer agent; On external I/O equipment, can be provided with sensing unit; This sensing unit can be mouse, keyboard, joystick, temperature sensor and gravity sensor etc.; Said heat transfer agent can be the operation information of mouse, keyboard, joystick, the orientation information that temperature information or gravity sensor obtained that temperature sensor obtained; For example when sensing unit is joystick, can obtain the operation information that the user is produced at the enterprising line operate of joystick, this operation information just belongs to a kind of of heat transfer agent; An external I/O equipment on same external I/O equipment, also a plurality of sensing units can be set, so that can obtain multiple heat transfer agent.
For making description more clear, be that temperature sensor is described with said sensing unit, after earphone interface connected temperature sensor, the temperature sensor that obtains supply voltage was started working, and temperature is on every side gathered; Collect temperature information and can be used as a kind of heat transfer agent; External I/O equipment is handled this heat transfer agent, and this is treated to classification, packing and coding; In external I/O equipment, at first heat transfer agent is classified and pack; The packet that comprises this heat transfer agent with formation; This packet is encoded, so that the transmission of this packet, this coding can be binary coding, octal code or hexadecimal code again.
102, the heat transfer agent after will handling converts dtmf signal into, and through Mike's pin of said earphone interface said dtmf signal is sent to said portable terminal.
The DTMF mode is a kind of method of in voice channel, representing digital signal with tone signal, represents digital signal through the composite signal of two specific single audio signals, and wherein the frequency of two single audio signals is different, and the digital signal of representative is also different; In portable terminal, generally have single audio signals different in 8, as shown in the table.
Figure BDA0000147098590000051
The mapping table of form one dtmf signal and digital signal
Through the combination between line frequency and the row frequency; Then can produce the dtmf signal that comprises 16 kinds of combinations; Wherein the corresponding digital signals of the dtmf signal representative of each combination back formation does not limit; Can stipulate that for example the composite signal that produces of the single frequency signal through 1209 hertz and 697 hertz can be represented " 1 " in the digital signal according to the needs of reality; Dtmf signal can carry out corresponding shown in form one with the corresponding relation of digital signal.
Because of said DTMF mode can be represented 16 kinds of digital signals, preferred, the said hexadecimal code that is encoded to.When being encoded to 16 when encoding; Dtmf signal can carry out corresponding shown in form one with the corresponding relation of digital signal; The digital signal that can represent because of the DTMF mode is 16 kinds at most; When then using sexadecimal, can make the transfer efficiency between portable terminal and the external I/O equipment reach the highest; Wherein, the relation of dtmf signal and digital signal is not limited to the corresponding relation in the form one, corresponding relation is not limited in the present invention.
According to the corresponding relation of dtmf signal and digital signal, convert the packet behind the coding to dtmf signal; Because of saying for portable terminal; Mike's pin on the earphone interface is an input pin; Then external I/O equipment can be transferred to the dtmf signal that generates in the portable terminal through the Mike's pin on the earphone interface; So that portable terminal can obtain dtmf signal, and restore heat transfer agent according to this dtmf signal.
In portable terminal, a kind of communication means of external I/O equipment, as shown in Figure 2, comprising:
200, produce supply voltage, and export supply voltage to the sound channel pin of earphone interface.
When portable terminal know have external I/O equipment to insert earphone interface after; Produce supply voltage; And the sound channel pin that passes through earphone interface is exported this supply voltage to external I/O equipment; So that external I/O equipment is supplied power this supply voltage as power supply, wherein this sound channel pin can be L channel pin or R channel pin, and the embodiment of the invention does not limit this.
201, obtain the dtmf signal that the Mike pin of external I/O equipment through said earphone interface sent, and parse the heat transfer agent after the said dtmf signal corresponding processing.
Portable terminal receives the dtmf signal that external I/O equipment is sent through Mike's pin of earphone interface; Because of this dtmf signal is a sound signal; So can carry out audio decoder to dtmf signal through portable terminal; Thereby parse the heat transfer agent after the pairing processing of dtmf signal, wherein said being treated to classified, packed and encode heat transfer agent; Through heat transfer agent is classified, is packed and encodes; Formation includes the coded data bag of heat transfer agent; Wherein this coding can be scale-of-two, scale-of-eight and sexadecimal, and is for improving the transfer efficiency of data, preferred; The said hexadecimal code that is encoded to, the corresponding relation of dtmf signal and digital signal can be shown in form one.
202, restore said heat transfer agent according to the heat transfer agent after the said processing.
According to the heat transfer agent after the processing that parses, promptly the coded data bag decodes packet, and the heat transfer agent that is comprised in the reduction acquisition packet through portable terminal; In portable terminal; Can store corresponding application; To use this heat transfer agent; And in application, carry out corresponding operation according to this heat transfer agent, and for example portable terminal obtains the temperature information that temperature sensor obtained as sensing unit in the external I/O equipment, and this temperature information is a kind of of heat transfer agent; After this temperature information is obtained in corresponding application, can carry out the record of temperature information and can combine the temperature information that obtains repeatedly to calculate mean value etc., herein, qualification not done in the processing of heat transfer agent for portable terminal.
Optional, the communication process of above-mentioned external I/O equipment also can be realized with another separate earphone interface of the earphone interface that is connected common headphones through on portable terminal, being provided with.
Pass through said process; Portable terminal can be supplied power to external I/O equipment through the sound channel pin of earphone interface, need not, and make the form of the external I/O equipment of the external heat transfer agent of obtaining according to DTMF to external I/O equipment is provided with independently power supply; This heat transfer agent is transferred to portable terminal through Mike's pin to be handled; Need not to defer to the standard of HID, thereby reduced the cost of external I/O equipment, expanded the diversity of external I/O equipment.
On portable terminal, also an earphone interface can only be set; Realize the function of common headphones and the function of external I/O equipment respectively through this earphone interface; Thereby realize the multi-functional expansion of the earphone interface of portable terminal; But because portable terminal can be supplied power to the equipment that connects earphone interface through the sound channel pin of earphone interface, when this equipment was common headphones, then supply voltage may damage common headphones.
For avoiding the problems referred to above, preferred, in external I/O equipment, the communication means of said external I/O, before the said supply voltage that obtains the sound channel pin output of earphone interface was supplied power as power supply, said method also comprised:
Send identification signal to said portable terminal, so that said portable terminal switches to supply voltage with the sound signal of being transmitted on the said sound channel pin.
After the headset plug of equipment being inserted the earphone interface of portable terminal, portable terminal is known has equipment to insert, and earlier this equipment is defaulted as common headphones; When this external equipment is common headphones; The user can control portable terminal through the button that is arranged on the common headphones; Can on Mike's pin, produce Mike's bias current after pushing button; Different key on the corresponding common headphones of different current values; And the current value of Mike's bias current of different key has mated in the corresponding function that realizes of portable terminal, for example time-outs/broadcast button with increase/current value of Mike's bias current that Att button correspondence is different can be 1 milliampere and 1.5 milliamperes.
For the recognition of devices that will insert earphone interface is external I/O equipment, the identification signal transmitting element that is connected with the Mike zone of Earphone joint is set, this identification signal transmitting element can for one contain resistance circuit; When the Earphone joint of external I/O equipment with after the earphone interface of portable terminal is connected; Being connected of Mike's pin through earphone interface and the Mike of Earphone joint zone; On this circuit, produce an identification signal; The current value of this identification signal is different with the current value of Mike's bias current of common headphones; For example the current value of this identification signal can be 3 milliamperes, so that after portable terminal obtains this identification signal, the equipment that can confirm to be connected to earphone interface is external I/O equipment rather than common headphones.
Further; Also can in circuit, switch key be set as the identification signal transmitting element; When pressing switch key set on the external I/O equipment; Identification signal loads on Mike's pin of earphone interface in meeting, can be external I/O equipment through the equipment that this identification signal confirms to be connected in earphone interface thereby make portable terminal, so that portable terminal can know that the equipment that inserts earphone interface is for producing the external I/O equipment of transducing signal.
In addition; Also can in circuit, switching key be set, at this moment, can the voice playing function of common headphones be integrated in the external I/O equipment as the identification signal transmitting element; Through this switching key; Control outputs to the signal of portable terminal, and this signal can be realized the function of common headphones can make external I/O equipment for Mike's bias current of the identification signal or the common headphones of external I/O equipment.
In portable terminal, the communication means of said external I/O equipment, as shown in Figure 3, at said generation supply voltage, and before the sound channel pin output supply voltage of earphone interface, said method also comprises:
300, receive the low level of the ground wire pin input of said earphone interface.
Said generation supply voltage, and to the sound channel pin of earphone interface output supply voltage, also comprise:
301, produce said supply voltage.
302, when obtaining the identification signal that said external I/O equipment sent, then the sound signal of being transmitted on the said sound channel pin that is used for speech play is switched to supply voltage.
When portable terminal knows that the ground wire pin of earphone interface is low level; Then can confirm to have this moment equipment to insert earphone interface; In portable terminal, produce supply voltage; But do not know whether this equipment is external I/O equipment, and then the sound channel pin of earphone interface still transmits the sound signal that is used for speech play this moment yet; When Mike's pin of mobile device earphone interface received the identification signal that the identification signal transmitting element of external I/O equipment produced, the current value of this identification signal was different from common headphones and is used for the current value by Mike's bias current of key control; When portable terminal confirm according to current value to obtain be identification signal after; The equipment of confirming the insertion earphone interface is external I/O equipment; Then stop to be used for the sound signal of speech play, thereby and switch the supply voltage that portable terminal produced exported on the sound channel pin external I/O equipment is supplied power through sound channel pin transmission.
For preventing when extracting external I/O equipment; The sound channel pin of earphone interface continues the transmission supply voltage, thereby damages when inserting the common headphones of earphone interface, further next time; In portable terminal; The communication means of said external I/O, after the low level of the ground of the said earphone interface of said reception wire pin input, said method also comprises:
303, when the ground of earphone interface wire pin is high level, then switch to the said sound signal that is used for speech play of said sound channel pin transmission.
After external I/O equipment is used to complete, extract the headset plug of external I/O equipment, the disconnection that is connected of the ground wire pin of earphone interface and the ground region of headset plug; The ground wire pin of portable terminal reverts to high level; This moment, portable terminal can know that external I/O equipment extracts; Then switch once more, the sound signal that is used in speech play can transfer to the sound channel pin, thereby after preventing that external I/O equipment is used to complete; Continuation is carried out high-tension power supply through the sound channel pin to the common headphones of inserting earphone interface next time, the damage that has been caused when having avoided using common headphones.
Corresponding because of the communication means of above-mentioned a kind of external I/O equipment, the present invention also provides a kind of external I/O equipment, and is as shown in Figure 4, comprising:
At least one sensing unit is used to produce heat transfer agent;
The external power supply administrative unit, the supply voltage that is used to obtain the sound channel pin output of earphone interface is supplied power to said external input-output apparatus as power supply, and said supply voltage is produced by portable terminal;
External main control unit, the heat transfer agent that is used for said sensing unit is obtained is handled;
The DTMF generating unit is used for converting the heat transfer agent after handling into dtmf signal, and through Mike's pin of said earphone interface said dtmf signal is sent to said portable terminal.
Said processing comprises said heat transfer agent is classified, packed and encodes.
Described external I/O equipment also comprises:
The identification signal transmitting element is used for sending the identification push button signalling to said portable terminal, so that said portable terminal switches to supply voltage with the sound signal of being transmitted on the said sound channel pin.
The said hexadecimal code that is encoded to.
Corresponding because of the communication means of above-mentioned a kind of external I/O, the present invention also provides a kind of portable terminal, and is as shown in Figure 5, comprising:
PMU is used to produce supply voltage, and exports supply voltage to the sound channel pin of earphone interface;
The audio frequency resolution unit is used to obtain the dtmf signal that the Mike pin of external I/O equipment through said earphone interface sent, and parses the heat transfer agent after said dtmf signal is handled;
The terminal main control unit is used for restoring said heat transfer agent according to the heat transfer agent after the said processing.
Said processing comprises said heat transfer agent is classified, packed and encodes.Said terminal main control unit also is used for the definite device type that is connected with said earphone interface of state according to the ground wire pin of said earphone interface, and said device type comprises common headphones and external I/O equipment.
Said portable terminal also comprises:
Switch unit is used for switching the signal type that is transmitted on the said sound channel pin according to said definite device type, and said signal type comprises the sound signal that is used for speech play and is used for the supply voltage to external I/O power devices.
The said hexadecimal code that is encoded to.
Corresponding with device with the communication means of above-mentioned a kind of external I/O equipment, the present invention also provides a kind of communication system of external I/O equipment, and is as shown in Figure 6, comprising:
Above-mentioned external I/O equipment and above-mentioned portable terminal;
Said external I/O equipment comprises:
At least one sensing unit is used to produce heat transfer agent;
The external power supply administrative unit, the supply voltage that is used to obtain the sound channel pin output of earphone interface is supplied power as power supply, and said supply voltage is produced by portable terminal;
External main control unit, the heat transfer agent that is used for said sensing unit is obtained is handled;
The DTMF generating unit; Heat transfer agent after being used for handling converts dtmf signal into; And said dtmf signal is sent to said portable terminal through Mike's pin of said earphone interface, so that said portable terminal restores heat transfer agent according to said dtmf signal.
Said processing comprises said heat transfer agent is classified, packed and encodes.
In the communication system of external I/O equipment, sensing unit can be keyboard, mouse, gravity sensor and temperature sensor, the form of sensing unit is not limited in the present invention.
Said portable terminal comprises:
PMU is used to produce supply voltage, and exports said supply voltage to the sound channel pin of earphone interface;
The audio frequency resolution unit is used to obtain the dtmf signal that the Mike pin of external I/O equipment through said earphone interface sent, and parses the heat transfer agent after the said dtmf signal corresponding processing;
The terminal main control unit is used for restoring said heat transfer agent according to the heat transfer agent after the said processing;
The said hexadecimal code that is encoded to.
In the communication system of external I/O equipment, portable terminal can be mobile phone, panel computer and personal digital assistant (Personal Digital Assistant is hereinafter to be referred as PDA) etc., the type of portable terminal is not limited in the present invention.
Above-mentioned sound channel pin can be L channel pin or R channel pin, in the communication system of external I/O equipment shown in Figure 6, with the sound channel pin of R channel pin as the transmission supply voltage.
Said portable terminal exports the supply voltage that produces to the sound channel pin through PMU, supplies power as power supply so that the external power supply administrative unit of external I/O equipment is obtained said supply voltage;
The sensing unit of said external I/O equipment produces heat transfer agent; And said heat transfer agent is handled through external main control unit; Heat transfer agent after will handling through the DTMF generating unit converts dtmf signal into; And send to said portable terminal, so that the said audio frequency resolution unit of said portable terminal and said terminal main control unit restore said heat transfer agent according to said dtmf signal.
Described external I/O equipment also comprises:
The identification signal transmitting element is used for sending identification signal to said portable terminal, so that said portable terminal switches to supply voltage with the sound signal of being transmitted on the said sound channel pin that is used for speech play.
The said terminal main control unit of said portable terminal also is used for the definite device type that is connected with said earphone interface of state according to the ground wire pin of said earphone interface, and said device type comprises common headphones and external I/O equipment;
Said portable terminal also comprises:
Switch unit is used for switching the signal type that is transmitted on the said sound channel pin according to said definite device type, and said signal type comprises sound signal that is used for speech play and the supply voltage that is used for to external equipment I/O power supply;
Said external I/O equipment sends identification signal through the identification signal transmitting element to said portable terminal, is used to the sound signal of playing or is used for the supply voltage to external I/O power devices so that said portable terminal switches through switch unit.
Communication means, device and the system of a kind of external I/O equipment that the embodiment of the invention provides; Portable terminal is supplied power to external I/O equipment through the sound channel pin of earphone interface; Need not independently power supply to be set for external I/O equipment; And make the form of the external I/O equipment of the external heat transfer agent of obtaining, this heat transfer agent is transferred to portable terminal through Mike's pin handles, need not to defer to the standard of HID according to DTMF; Thereby reduced the cost of external I/O equipment, expanded the diversity of external I/O equipment.
Through the description of above embodiment, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential common hardware, can certainly pass through hardware, but the former is better embodiment under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product, and this computer software product is stored in the storage medium that can read, like the floppy disk of computing machine; Hard disk or CD etc.; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technician who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by said protection domain with claim.

Claims (12)

1. the communication means of an external input-output apparatus is characterized in that, comprising:
Obtaining the supply voltage of the sound channel pin output of earphone interface supplies power to said external input-output apparatus as power supply;
Heat transfer agent to sensing unit obtained is handled;
Convert the heat transfer agent after handling into touch-tone signal, and said touch-tone signal is sent to said portable terminal through Mike's pin of said earphone interface.
2. method according to claim 1 is characterized in that, before the said supply voltage that obtains the sound channel pin output of earphone interface was supplied power to said external input-output apparatus as power supply, said method also comprised:
Send identification signal to said portable terminal, so that said portable terminal switches to supply voltage with the sound signal of being transmitted on the said sound channel pin.
3. the communication means of an external input-output apparatus is characterized in that, comprising:
Produce supply voltage, and export supply voltage to the sound channel pin of earphone interface;
Obtain the touch-tone signal that the Mike pin of external input-output apparatus through said earphone interface sent, and parse the heat transfer agent after the said touch-tone signal corresponding processing;
Restore said heat transfer agent according to the heat transfer agent after the said processing.
4. method according to claim 3 is characterized in that, before the sound channel pin output supply voltage of earphone interface, said method also comprises said:
Receive the low level of the ground wire pin input of said earphone interface;
Said sound channel pin output supply voltage to earphone interface comprises:
When obtaining the identification signal that said external input-output apparatus sends, the sound signal of being transmitted on the said sound channel pin that is used for speech play is switched to supply voltage.
5. method according to claim 4 is characterized in that, after the low level of the ground of the said earphone interface of said reception wire pin input, said method also comprises:
When the ground of earphone interface wire pin is high level, then switch to the said sound signal that is used for speech play of said sound channel pin transmission.
6. an external input-output apparatus is characterized in that, comprising:
At least one sensing unit is used to produce heat transfer agent;
The external power supply administrative unit, the supply voltage that is used to obtain the sound channel pin output of earphone interface is supplied power to said external input-output apparatus as power supply;
External main control unit, the heat transfer agent that is used for said sensing unit is obtained is handled;
The dual-tone multifrequency generating unit is used for converting the heat transfer agent after handling into touch-tone signal, and through Mike's pin of said earphone interface said touch-tone signal is sent to said portable terminal.
7. external input-output apparatus according to claim 6 is characterized in that, also comprises:
The identification signal transmitting element is used for sending identification signal to said portable terminal, so that said portable terminal switches to supply voltage with the sound signal of being transmitted on the said sound channel pin that is used for speech play.
8. a portable terminal is characterized in that, comprising:
PMU is used to produce supply voltage, and exports said supply voltage to the sound channel pin of earphone interface;
The audio frequency resolution unit is used to obtain the touch-tone signal that the Mike pin of external input-output apparatus through said earphone interface sent, and parses the heat transfer agent after the said touch-tone signal corresponding processing;
The terminal main control unit is used for restoring said heat transfer agent according to the heat transfer agent after the said processing.
9. portable terminal according to claim 8; It is characterized in that; Said terminal main control unit also is used for the definite device type that is connected with said earphone interface of state according to the ground wire pin of said earphone interface, and said device type comprises common headphones and external input-output apparatus.
10. portable terminal according to claim 9 is characterized in that, also comprises:
Switch unit is used for switching the signal type that is transmitted on the said sound channel pin according to said definite device type, and said signal type comprises sound signal that is used for speech play and the supply voltage that is used for to external input-output apparatus power supply.
11. the communication system of an external input-output apparatus is characterized in that, comprising:
External input-output apparatus and portable terminal;
Said external input-output apparatus comprises:
At least one sensing unit is used to produce heat transfer agent; The external power supply administrative unit, the supply voltage that is used to obtain the sound channel pin output of earphone interface is supplied power to said external input-output apparatus as power supply; External main control unit, the heat transfer agent that is used for said sensing unit is obtained is handled; The dual-tone multifrequency generating unit is used for converting the heat transfer agent after handling into touch-tone signal, and through Mike's pin of said earphone interface said touch-tone signal is sent to said portable terminal;
Said portable terminal comprises:
PMU is used to produce supply voltage, and exports said supply voltage to the sound channel pin of earphone interface; The audio frequency resolution unit is used to obtain the touch-tone signal that the Mike pin of external input-output apparatus through said earphone interface sent, and parses the heat transfer agent after the said touch-tone signal corresponding processing; The terminal main control unit is used for restoring said heat transfer agent according to the heat transfer agent after the said processing;
Said portable terminal exports the supply voltage that produces to the sound channel pin through said PMU, supplies power as power supply so that the said external power supply administrative unit of said external input-output apparatus is obtained said supply voltage;
The said sensing unit of said external input-output apparatus produces heat transfer agent; And said heat transfer agent is handled through said external main control unit; Heat transfer agent after will handling through said dual-tone multifrequency generating unit converts touch-tone signal into; And send to said portable terminal, so that the said audio frequency resolution unit of said portable terminal and said terminal main control unit restore said heat transfer agent according to said touch-tone signal.
12. system according to claim 11 is characterized in that,
Said external input-output apparatus also comprises: the identification signal transmitting element is used for sending identification signal to said portable terminal, so that said portable terminal switches to supply voltage with the sound signal of being transmitted on the said sound channel pin that is used for speech play;
The said terminal main control unit of said portable terminal also is used for the definite device type that is connected with said earphone interface of state according to the ground wire pin of said earphone interface, and said device type comprises common headphones and external input-output apparatus;
Said portable terminal also comprises:
Switch unit is used for the device type definite according to said main control unit, switches the signal type that is transmitted on the said sound channel pin, and said signal type comprises sound signal that is used for speech play and the supply voltage that is used for to external input-output apparatus power supply;
Said external input-output apparatus sends identification signal through said identification signal transmitting element to said portable terminal, is used to the sound signal of playing or is used for the supply voltage to external input-output apparatus power supply so that said portable terminal switches through said switch unit.
CN2012100829129A 2012-03-26 2012-03-26 Communication method, device and system of peripheral input/output equipment Pending CN102662895A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100829129A CN102662895A (en) 2012-03-26 2012-03-26 Communication method, device and system of peripheral input/output equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100829129A CN102662895A (en) 2012-03-26 2012-03-26 Communication method, device and system of peripheral input/output equipment

Publications (1)

Publication Number Publication Date
CN102662895A true CN102662895A (en) 2012-09-12

Family

ID=46772391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100829129A Pending CN102662895A (en) 2012-03-26 2012-03-26 Communication method, device and system of peripheral input/output equipment

Country Status (1)

Country Link
CN (1) CN102662895A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103209251A (en) * 2012-12-11 2013-07-17 深圳市亿思达显示科技有限公司 Universal remote control system
CN103338297A (en) * 2013-05-31 2013-10-02 杭州晟元芯片技术有限公司 Line control mode controlling mobile terminal through earphone interfaces and control method thereof
CN103902247A (en) * 2012-12-25 2014-07-02 联想(北京)有限公司 Method for converting interface mode and electronic devices
CN104048695A (en) * 2013-03-14 2014-09-17 刘力 Intelligent sensor based on intelligent phone
CN104849571A (en) * 2015-05-08 2015-08-19 浙江大学 Smart phone audio port-based portable electromagnetic wave intensity detection device
CN105336152A (en) * 2014-08-11 2016-02-17 Tcl集团股份有限公司 Infrared emitter and infrared remote control method
CN105657613A (en) * 2016-03-29 2016-06-08 广州视源电子科技股份有限公司 Audio output method and device
US10162430B2 (en) 2014-01-31 2018-12-25 Hewlett-Packard Development Company, L.P. Mobile imaging device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1496166A (en) * 2002-09-19 2004-05-12 Lg������ʽ���� USB communication equipment and method using mobile communication terminal earphone jack
CN101853970A (en) * 2010-06-21 2010-10-06 华为终端有限公司 Method and device for charging through universal serial bus (USB) interface
CN201608843U (en) * 2009-12-16 2010-10-13 深圳市朗然数码有限公司 Musical bar
CN101931674A (en) * 2010-09-01 2010-12-29 惠州Tcl移动通信有限公司 Method and device for sharing Micro-USB interface
CN201758417U (en) * 2010-08-25 2011-03-09 华为终端有限公司 Earphone compatible device and mobile terminal
CN102308562A (en) * 2011-07-25 2012-01-04 华为终端有限公司 Mobile terminal and method, device, system for controlling mobile terminal
CN102307258A (en) * 2011-08-18 2012-01-04 华为终端有限公司 Communication method between primary device and accessory device, device thereof and system thereof
CN102325228A (en) * 2011-08-22 2012-01-18 惠州Tcl移动通信有限公司 Mobile phone and method for reducing energy consumption of headset of mobile phone
CN202167034U (en) * 2011-07-19 2012-03-14 深圳市江波龙电子有限公司 Peripheral application device and mobile terminal system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1496166A (en) * 2002-09-19 2004-05-12 Lg������ʽ���� USB communication equipment and method using mobile communication terminal earphone jack
CN201608843U (en) * 2009-12-16 2010-10-13 深圳市朗然数码有限公司 Musical bar
CN101853970A (en) * 2010-06-21 2010-10-06 华为终端有限公司 Method and device for charging through universal serial bus (USB) interface
CN201758417U (en) * 2010-08-25 2011-03-09 华为终端有限公司 Earphone compatible device and mobile terminal
CN101931674A (en) * 2010-09-01 2010-12-29 惠州Tcl移动通信有限公司 Method and device for sharing Micro-USB interface
CN202167034U (en) * 2011-07-19 2012-03-14 深圳市江波龙电子有限公司 Peripheral application device and mobile terminal system
CN102308562A (en) * 2011-07-25 2012-01-04 华为终端有限公司 Mobile terminal and method, device, system for controlling mobile terminal
CN102307258A (en) * 2011-08-18 2012-01-04 华为终端有限公司 Communication method between primary device and accessory device, device thereof and system thereof
CN102325228A (en) * 2011-08-22 2012-01-18 惠州Tcl移动通信有限公司 Mobile phone and method for reducing energy consumption of headset of mobile phone

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103209251A (en) * 2012-12-11 2013-07-17 深圳市亿思达显示科技有限公司 Universal remote control system
CN103902247A (en) * 2012-12-25 2014-07-02 联想(北京)有限公司 Method for converting interface mode and electronic devices
CN104048695A (en) * 2013-03-14 2014-09-17 刘力 Intelligent sensor based on intelligent phone
CN103338297A (en) * 2013-05-31 2013-10-02 杭州晟元芯片技术有限公司 Line control mode controlling mobile terminal through earphone interfaces and control method thereof
US10162430B2 (en) 2014-01-31 2018-12-25 Hewlett-Packard Development Company, L.P. Mobile imaging device
US10579160B2 (en) 2014-01-31 2020-03-03 Hewlett-Packard Development Company, L.P. Mobile imaging device
CN105336152A (en) * 2014-08-11 2016-02-17 Tcl集团股份有限公司 Infrared emitter and infrared remote control method
CN104849571A (en) * 2015-05-08 2015-08-19 浙江大学 Smart phone audio port-based portable electromagnetic wave intensity detection device
CN105657613A (en) * 2016-03-29 2016-06-08 广州视源电子科技股份有限公司 Audio output method and device

Similar Documents

Publication Publication Date Title
CN102662895A (en) Communication method, device and system of peripheral input/output equipment
CN105120404A (en) Audio equipment, terminal equipment and electronic equipment
CN103123678A (en) Magnetic card reader
CN103107880B (en) Safety certification device
CN109195055B (en) Wireless earphone, TWS earphone and Bluetooth connection method
CN102201826B (en) Audio signal switching and receiving device and audio signal transmission system
CN205282794U (en) USBType -C conversion module
CN1881141B (en) Device and method for performing multi-functions using unique port in wireless terminal
CN102377088A (en) Audio signal receiving and transferring device
CN102812653A (en) Digital communications system with variable-bandwidth traffic channels
CN202512578U (en) Magnetic card reader
CN106131732A (en) A kind of earphone
CN102256193B (en) Audio signal receiving device and audio signal transmission system
CN106471434B (en) Host interface, accessory interface and the method for being connect between managing main frame interface and fittings equipment
CN101282223A (en) Two-in-one U disk wireless headline card apparatus
CN203630785U (en) Identity authentication device with audio interface adopted
CN210326393U (en) Data patch cord
CN202231788U (en) Video converting line and video converting system
US10530102B2 (en) Power adapter, socket, and assembly
CN108833708A (en) A kind of incoming information acquisition methods
CN201383560Y (en) Data cable, mobile communication terminal playing system and acoustic system
CN203206353U (en) Adapter and computer phone provided with the same
CN104661081A (en) Audio data transmission method and device
CN218273380U (en) USB debugging circuit
CN204291319U (en) A kind of earphone interface

Legal Events

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

Application publication date: 20120912