Automatically the device for mobile communication of detection and receiving and transmitting voice and numerical data
Technical field
The present invention relates to the device for mobile communication of a kind of detection automatically and receiving and transmitting voice and numerical data, particularly relate to and a kind ofly can detect the type of attachment that is connected on the identical earphone socket, receive and send the mobile phone of voice or numerical data and can automatically switch.
Background technology
Traditional device for mobile communication, mobile phone 100 as shown in Figure 1A, can utilize transfer of data/Handless socket 110 to connect the Handless 120 that as shown in Figure 1B, has microphone and earphone, the user need not to hold mobile phone 100 with hand and just can converse with other people by this, and both hands can also lightheartedly be engaged in other activity.On the other hand, also the mobile data line 130 as shown in Fig. 1 C can be connected on transfer of data/Handless socket 110, thus, the user just can be by mobile phone 100 and computer (not showing) or the interconnection of other massaging devices, links and general-purpose computers are browsed world wide web, network function such as send and receive e-mail via the mobile network.
Though traditional device for mobile communication can utilize transfer of data/Handless socket 110 that additional function is provided, but traditional transfer of data/Handless socket 110 has occupied the suitable space of mobile phone 100, not only destroyed the aesthetic feeling of overall appearance, and annex that cooperates such as Handless 120 and mobile data line 130 all must have the plug 122,132 corresponding with transfer of data/Handless socket 110, thereby have increased the cost of product.
Summary of the invention
In view of this, the present invention proposes a kind of can the detection automatically and the device for mobile communication of receiving and transmitting voice and numerical data, with lightly, earphone socket replaces traditional transfer of data/Handless socket 110 cheaply.
The purpose of this invention is to provide the device for mobile communication of a kind of detection automatically and receiving and transmitting voice and numerical data, can detect the type of attachment that is connected on the identical earphone socket, receive and send voice or numerical data and can automatically switch.
Another object of the present invention provides a kind of mobile phone, utilizes earphone socket to connect the annex with corresponding headset plug, and as Handless or mobile data line, using increases the mobile phone overall aesthetic and reduce product cost.
For achieving the above object, the invention provides a kind of device for mobile communication that can detect voice and numerical data automatically, comprise a sequence transmission module, a speech processing module, a connector and a path selection device.Wherein the sequence transmission module is in order to transmitting-receiving numerical data signal, and speech processing module is then in order to the treatment of simulated speech sound signal.Connector such as earphone socket have first end, second end and the 3rd end, and first termination is received first signal, and second end transmits second signal, and the 3rd end then provides the 3rd signal.Processor has an analog-digital conversion module, and processor is used for receiving first signal and the 3rd signal, and provides one to select signal.Processor compartment one given time regularly detects the 3rd signal, and when detected the 3rd signal was a set value, analog-digital conversion module was converted to a magnitude of voltage with first signal, and processor is set the selection signal according to magnitude of voltage.Path selection device responds above-mentioned selection signal, in order between first, second end of connector and sequence transmission module, to set up first transmission path, and between first, second end of connector and speech processing module, set up second transmission path, make win signal and second signal can be transmitted to transmission path among both of first transmission path and second transmission path.
Description of drawings
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, a preferred embodiment cited below particularly, and be described in detail below in conjunction with the accompanying drawings:
Figure 1A is the schematic appearance of traditional mobile phone;
Figure 1B cooperates the schematic diagram of conventional data transmission/Handless socket with the Handless of annex;
Fig. 1 C cooperates the schematic diagram of conventional data transmission/Handless socket with the mobile data line of annex;
Fig. 2 A is according to its schematic appearance of device for mobile communication of the present invention;
Fig. 2 B is according to Handless schematic diagram of the present invention;
Fig. 2 C is according to mobile data line schematic diagram of the present invention;
Fig. 3 A is according to the preferred embodiment block diagram of the present invention and the first transmission path schematic diagram thereof; And
Fig. 3 B is the second transmission path schematic diagram of embodiment shown in Fig. 3 A.
Embodiment
With reference to figure 2A, according to device for mobile communication 200 of the present invention, as mobile phone, it only has one to have the earphone jack 210 of standard aperture 2.5mm in appearance, compared with bigbore conventional data transmission/Handless socket 110, device for mobile communication 200 according to the present invention is more unrestricted in appearance design, and bigger performance space is arranged.For collocation earphone jack 210, must change corresponding headset plug into according to its plug of annex of the present invention, shown in Fig. 2 B, Fig. 2 C, have the Handless 220 and its plug 222 of microphone and earphone, and mobile data line 230 and its plug 232.Because device for mobile communication 200 and its annex adopt earphone socket and plug respectively, therefore generally speaking, can reduce the cost of product.
The present invention utilizes the otherness of speech sound signal and numerical data signal, make device for mobile communication 200 can detect the type of attachment that is connected on the identical earphone jack 210 automatically, and can automatically switch and receive and send voice or numerical data, with reference to figure 3A, the circuit 300 of the preferred embodiment according to the present invention comprises connector, the earphone socket 310 that for example has three links, processor 320 and path selection device 370, and path selection device 370 can be the simulation switching device shifter.Processor 320 comprises analog-digital conversion module 330, speech processing module 340, sequence transmission module 350 and output module 360, any those skilled in the art should understand processor 320 and above-mentioned four modules of nonessential merging, and these modules also can independently be present in the circuit 300 of device for mobile communication 200.Wherein, speech processing module 340 is in order to the treatment of simulated speech sound signal, and 350 of sequence transmission modules are in order to transmitting-receiving numerical data signal.
The 3rd end C of earphone socket 310 is connected to the system power supply Vcc of circuit 300 via a resistance R, therefore when earphone socket 310 did not connect the plug of annex, the 3rd end C of earphone socket 310 provided the 3rd signal INT with logical one to output module 360 via signal line 362.When the plug 390 of annex inserts earphone socket 310, as shown in Figure 3A, receive the earphone socket 310 first end A of the first signal RXD/AUXI and the first 392 of plug 390 and form electrical connection, make the circuit 300 of device for mobile communication 200 to receive the first signal RXD/AUXI from annex, and the second portion 394 formation electrical connections that transmit earphone socket 310 second end B and the plug 390 of the second signal TXD/AUXO make the circuit 300 of device for mobile communication 200 to be sent to annex to the second signal TXD/AUXO.In addition, the third part 396 of plug 390 and earphone socket 310 the 3rd end C, earth terminal G form and are electrically connected, and make conducting between earphone socket 310 the 3rd end C, the earth terminal G and the 3rd signal INT that the 3rd end C provides is transformed into logical zero by logical one.
When the plug 390 of annex inserts earphone socket 310, it is logical zero that the one given time regular processor 320 that detects the 3rd signal INT in interval can detect the 3rd signal INT, analog-digital conversion module 330 will be converted to a magnitude of voltage via the first signal RXD/AUXI that signal line 332 receives this moment, and processor 320 will be set according to this magnitude of voltage and select signal SEL.Because the design characteristics of voice attachment such as Handless 220, the magnitude of voltage that analog-digital conversion module 330 is converted to should be 0.4Vcc~0.85Vcc (that is system power supply Vcc 40%~85%), so present embodiment fixes on 0.9Vcc (that is system power supply Vcc 90%) with critical voltage.If the magnitude of voltage that analog-digital conversion module 330 is converted to is higher than critical voltage 0.9Vcc, the annex that expression is inserted is a mobile data line 230; If the magnitude of voltage subcritical voltage 0.9Vcc that analog-digital conversion module 330 is converted to, the annex that expression is inserted is a Handless 220.
As shown in Figure 3A, when analog-digital conversion module 330 converts the first signal RXD/AUXI magnitude of voltage to and is higher than critical voltage 0.9Vcc, therefore processor 320 judges that the annex that inserts earphone socket 310 belongs to the mobile data line, and will select signal SEL to be set at first state logic " 0 " by output module 360, and offer path selection device 370 via signal line 364, with the first end A, the second end B that select earphone socket 310 and the first transmission path P1 between the sequence transmission module 350.This moment path selection device 370 M-X
0Between the two ends and signal line 314,352 conductings, and the N-Y of path selection device 370
0Between the two ends and signal line 312,354 conductings, therefore sequence transmission module 350 can be via the first signal RXD and the second signal TXD that are transmitted on the first transmission path P1, the numerical data signal that reception is passed into by the mobile data line, and the numerical data signal sent out through the mobile data line.Thus, computer or other massaging devices just can insert the mode of the earphone socket 310 of device for mobile communication 200 with mobile data line 230, connect the internet by wireless telecommunications, and those skilled in the art should understand device for mobile communication 200 can also this mode, the collocation appropriate software, upgrade the database that stores in the device for mobile communication 200, even upgrade system's a piece of wood serving as a brake to halt a carriage spare (firmware) of device for mobile communication 200, reach the purpose of system upgrade.
Shown in Fig. 3 B, when analog-digital conversion is touched group 330 when the first signal RXD/AUXI converted to magnitude of voltage and subcritical voltage 0.9Vcc, processor 320 judges that in view of the above the annex that inserts earphone socket 310 belongs to voice attachment type such as Handless 220, and will select signal SEL to be set at second state logic " 1 " by output module 360, and offer path selection device 370 via signal line 364, with the first end A, the second end B that select earphone socket 310 and the second transmission path P2 between the speech processing module 340.This moment path selection device 370 M-X
1Between the two ends and signal line 314,342 conductings, and the N-Y of path selection device 370
1Between the two ends and signal line 312,344 conductings, therefore speech processing module 340 can be via the first signal AUXI and the second signal AUXO that are transmitted on the second transmission path P2, the analog voice signal that reception is come in by Mike's hearsay of voice attachment, and the earphone that the analog voice signal is sent to voice attachment.Thus, device for mobile communication 200 can detect the type of attachment that is connected on the identical earphone socket 310, and can automatically switch and receive and send voice or numerical data, for example, if being judged as hand-free, the annex that inserts listens letter 220, the user can need not to hold device for mobile communication 200 with hand by Handless 220 and just can converse with other people, and therefore both hands can also lightheartedly be engaged in other activity.
Though the present invention discloses as above with a specific embodiment; so it is only in order to be easy to illustrate technology contents of the present invention; and be not with narrow sense of the present invention be defined in this embodiment; those skilled in the art; under the premise without departing from the spirit and scope of the present invention; can do some changes and retouching, so protection scope of the present invention is looked accompanying Claim and is defined.