The communication device of pluggable personal digital assistant and phone seamless link
Affiliated technical field
The present invention relates to the pluggable communication device of a kind of personal digital assistant PDA (Personal Digital Assistant) and telephone link, can realize the seamless link and the communication of PDA and phone, can guarantee simultaneously the portability of both independence, especially PDA again.This device belongs to communication field.
Background technology
Though the function difference of the different class of personal digital assistant PDA is very big, their most basic function is exactly managing personal information such as business card book, stroke plan etc.; Wherein, the major function of business card book is in order to write down card information at any time, conveniently to call.And PDA and communicating terminal are organically combined, for the user provides bigger convenience.
At present, in the mobile phone communication field, the appearance of Smart Phone (PDA mobile phone) has embodied this demand just; But, in the Fixed Telephony field, on business telephony or smart phone, increase the landline telephone of PDA function though some have occurred by software, satisfied this demand to a certain extent, but they all are inseparable integral body, the function of PDA will rely on the software of landline telephone to realize, has destroyed the property carried of PDA simultaneously.
Therefore,, also do not have a kind of effective communication device landline telephone and portable PDA organically can be integrated at present, realize both seamless links, guarantee the portability of PDA simultaneously again for the huge fixed telephone subscriber of quantity.
Summary of the invention
Disconnection for the communication function of the business card book function that overcomes existing PDA and landline telephone, the invention provides a kind of pluggable communication device of seamless link, this device not only can be realized the seamless link between PDA and the phone, the card information of PDA and the phone information of landline telephone are a bit promptly led to, and PDA can plug with landline telephone and separates, PDA after the separation and landline telephone are that two functions are independently individual, and PDA can carry.When PDA inserts the phone support, from PDA, can call all information that comprise in the phone, as message registration, telephone system setting, short message etc.; When PDA extracts the phone support, can't see the above-mentioned information relevant with phone from PDA.
Technical essential of the present invention is: utilize the interface of PDA and phone, realize Interface status detecting, communication and the power supply control of PDA and phone.When PDA inserts the phone support, produce to insert and interrupt, be based upon line index; When PDA extracts the phone support, produce and extract interruption, set up the off-line sign.Consider versatility, two wires equity communication modes is adopted in the communication of PDA and phone, realizes the both-way communication of PDA and phone.For the energy content of battery and the useful life of saving PDA, when PDA inserted the phone support, the 5V DC power supply of phone provided electric energy for PDA, thereby reaches the purpose of PDA and phone seamless link.
Plug the seamless link of interrupting realizing personal digital assistant PDA and landline telephone by producing, and realize the both-way communication of PDA and phone by the communication modes of two wires equity; The interface relationship of its PDA and landline telephone is: first interface 1 is the DC power supply VDD of phone; Second interface 2 is the clock line INT/CLK of PDA; The 3rd interface 3 is the data wire DATA of PDA; The 4th interface 4 is the indicator light LINK of PDA; The 5th interface 5 is the shared ground wire GND of phone and PDA; The 6th interface 6 is PDA working power VCC; The 7th interface 7 is the data wire DATA of phone; The 8th interface 8 is the clock line INT/CLK of phone; The effect of the DC power supply VDD of phone has two: the one, and for producing plug, PDA interrupts, and the 2nd, for finishing power supply, PDA switches; Concrete annexation is: the data wire DATA in the telephone set, clock line INT/CLK, indicator light LINK are connected with level translator; The ground wire GND of CPU among ground wire GND in the telephone set and the pluggable personal digital assistant PDA is connected, and level translator is connected with clock line INT/CLK, data wire DATA, indicator light LINK and the PDA working power VCC of CPU among the PDA respectively; DC power supply VDD is connected with the insertion down trigger ONLINE of PDA by reverser, and the CPU of PDA is connected with power switcher, among the CPU extract down trigger OFFLINE and power switcher is connected respectively to DC power supply VDD.
At the PDA end, interrupt establishing the plug state of PDA by plug, thereby determine on PDA, whether to show the information relevant with phone; In telephony side, connect indicator light LINK by regularly inquiring about, establish the plug state of phone, finally realize the seamless link of PDA and phone; Interrupt in order to make PDA produce plug, external interrupt according to the CPU of PDA triggers characteristics, can adopt dual mode: a: when the external interrupt of the CPU of PDA is that rising edge triggering/trailing edge is when triggering, the generation circuit that plug is interrupted only needs a middle fracture, fracture is that trailing edge triggers in being provided with when the PDA off-line, is used for producing inserting and interrupts; Fracture is that rising edge triggers in being provided with when PDA is online, is used for producing and extracts interruption, and its concrete circuit connecting relation is: an end of resistance R 5 links to each other with phone DC power supply VDD, and the other end links to each other with the base stage of triode Q5; The grounded emitter of Q5; The collector electrode of Q5 patches and pulls out middle fracture; The collector electrode of one termination Q5 of resistance R 4, another termination PDA working power VCC; B: when the external interrupt of the CPU of PDA is a trailing edge when triggering, the generation circuit that plug is interrupted needs two middle fractures, and inverter output low level when PDA inserts triggers and inserts interruption; When PDA extracted, because the effect output low level of pull down resistor triggers and extracts interruption, its concrete circuit connecting relation is: an end of resistance R 6 linked to each other with phone DC power supply VDD, and the other end links to each other with the base stage of triode Q6; The grounded emitter of Q6; The collector electrode of Q6 patches into middle fracture; The collector electrode of one termination Q6 of resistance R 7, another termination PDA working power VCC; One termination PDA working power VCC of resistance R 8, the other end respectively with an end of resistance R 9 with extract in fracture link to each other; The other end ground connection of R9; In software, increase and go the time of trembling, to guarantee to plug the stability of interruption.
The communication modes of two wires equity is adopted in communication, only uses the clock line INT/CLK of the 8th interface of data wire DATA, phone of the 7th interface of clock line INT/CLK, phone of second interface of data wire DATA, PDA of the 3rd interface of PDA to constitute serial communication line; The byte of the data wire DATA of the data wire DATA of the 7th interface of phone and the 3rd interface of PDA when sending sends the output of request/data and bit synchronization signal output when receiving, the clock line INT/CLK of the clock line INT/CLK of the 8th interface of phone and second interface of PDA when sending when bit synchronization signal input and reception byte accept request/data input pin; PDA and phone are the equity stations in physical layer, and both sides both can make transmit leg also can do the recipient, and carry out all needs channel is asked to determine mutual transmit leg and the recipient of this byte before the byte transmission at every turn; Two wires equity communication sends and receives is base unit with the 8bit bit all, be that data are with byte-aligned, each byte is least significant bit transmission earlier always when sending, and the bit synchronization clock is provided by the recipient, and transmit leg sends bit stream according to recipient's clock frequency; Data wire DATA and clock line INT/CLK line are high level when channel idle, and it is that low level is effective that byte sends interrupt requests.
The operating voltage of PDA and phone is different, with 4 three holding wires of interface 2~interface of PDA, in the enterprising line level conversion of the interface of telephony side, and the reverser that adopts the one-level switching tube to constitute, again by software negate when the communication, the level shifting circuit that also can use the two-stage switching tube to constitute; When PDA inserts the phone support, automatically the power supply of finishing PDA switches, and its concrete circuit connecting relation is: the telephony side level of a:DATA to the annexation of the anti-phase level shifting circuit of the PDA of CLK end level is: the DATA of telephony side links to each other with an end of resistance R 205; The other end of R205 links to each other with the base stage of triode Q201; The grounded emitter of Q201; The collector electrode of Q201 links to each other with the CLK of PDA end; One end of resistance R 207 links to each other with PDA working power VCC, and the other end links to each other with the collector electrode of Q201; The PDA end level of b:DATA to the annexation of the anti-phase level shifting circuit of the telephony side level of CLK is: the CLK of telephony side links to each other with the collector electrode of triode Q200; The grounded emitter of Q200; One end of resistance R 206 links to each other with the collector electrode of Q200, and the other end links to each other with the DC power supply VDD of phone; One end of resistance R 208 links to each other with the base stage of Q200, and the other end links to each other with the DATA of PDA end.
The invention has the beneficial effects as follows, on 26S Proteasome Structure and Function, both can guarantee that PDA and phone were an integral body, also can be two fully independently individualities, simple to operate, convenient and practical, be beneficial to popularization and application.
Description of drawings
The present invention is further described below in conjunction with drawings and Examples.
Fig. 1 is the interface relationship figure of PDA of the present invention and landline telephone.
Interface 1 is the DC power supply VDD of phone; Interface 2 is clock line INT/CLK; Interface 3 is data wire DATA; Interface 4 is for connecting indication LINK; Interface 5 is ground wire GND; Interface 6 is PDA working power VCC.
Fig. 2-a is the anti-phase level shifting circuit figure of the telephony side level of DATA to the PDA of CLK end level.
Fig. 2-b is the anti-phase level shifting circuit figure of the PDA end level of DATA to the telephony side level of CLK.
Fig. 3-a is that the external interrupt of the CPU of PDA is a rising edge triggering/trailing edge when triggering, fracture oscillogram in the plug.
Fig. 3-b is that the external interrupt of the CPU of PDA is a trailing edge when triggering, fracture oscillogram in the plug.
Fig. 4-a is that the external interrupt of the CPU of PDA is a rising edge triggering/trailing edge when triggering, the generation circuit diagram that plug is interrupted.
Fig. 4-b is that the external interrupt of the CPU of PDA is a trailing edge when triggering, the generation circuit diagram that plug is interrupted.
Fig. 5 is a two wires equity communication transmission/reception sequential chart.
Embodiment
In the interface relationship figure of the PDA of Fig. 1 and landline telephone, use 6 root interface lines altogether.The effect of the DC power supply VDD of phone has two: the one, and for producing plug, PDA interrupts, and the 2nd, for finishing power supply, PDA switches.At the PDA end, interrupt establishing the plug state of PDA by plug, thereby determine on PDA, whether to show the information relevant with phone; In telephony side, connect indication LINK by regularly inquiring about, establish the plug state of phone, finally realize the seamless link of PDA and phone; The operating voltage of PDA and phone is different, with 4 three holding wires of interface 2~interface, in the enterprising line level conversion of the interface of telephony side, and the reverser that adopts the one-level switching tube to constitute, again by software negate when the communication, the level shifting circuit that also can use the two-stage switching tube to constitute; Interface need be considered the measure of ESD antistatic protection.
The communication modes of two wires equity is adopted in communication, only use the data wire DATA of interface 3, the clock line INT/CLK of interface 2 to constitute serial communication line, the byte of data wire DATA when sending sends the output of request/data and bit synchronization signal output when receiving, clock line INT/CLK when sending when bit synchronization signal input and reception byte accept request/data input pin; PDA and phone are the equity stations in physical layer, and both sides both can make transmit leg also can do the recipient, and carry out all needs channel is asked to determine mutual transmit leg and the recipient of this byte before the byte transmission at every turn.
In the anti-phase level shifting circuit of the PDA of CLK end level, its concrete circuit connecting relation is: the DATA of the telephony side of Fig. 1 links to each other with an end of resistance R 205 at the telephony side level of the DATA of Fig. 2-a; The other end of R205 links to each other with the base stage of triode Q201; The grounded emitter of Q201; The collector electrode of Q201 links to each other with the CLK of the PDA of Fig. 1 end; One end of resistance R 207 links to each other with the PDA working power VCC of Fig. 1, and the other end links to each other with the collector electrode of Q201.
In the anti-phase level shifting circuit of the telephony side level of CLK, its concrete circuit connecting relation is: the CLK of the telephony side of Fig. 1 links to each other with the collector electrode of triode Q200 at the PDA of the DATA of Fig. 2-b end level; The grounded emitter of Q200; One end of resistance R 206 links to each other with the collector electrode of Q200, and the other end links to each other with the DC power supply VDD of the phone of Fig. 1; One end of resistance R 208 links to each other with the base stage of Q200, and the other end links to each other with the DATA of the PDA end of Fig. 1.
In the external interrupt of the CPU of Fig. 3-aPDA is that rising edge triggering/trailing edge is when triggering, when the external interrupt of the CPU of fracture oscillogram and Fig. 3-bPDA is the trailing edge triggering in the plug, in the plug in the fracture oscillogram, interrupt in order to make PDA produce plug, can trigger characteristics according to the external interrupt of the CPU of PDA, adopt dual mode: can carry out software setting when the external interrupt of CPU is rising edge triggerings/trailing edge when triggering, middle fracture resource of need only, and the interruption waveform of generation is shown in Fig. 3-a; When the external interrupt of CPU is fixed as the trailing edge triggering, then need two middle fracture resources, the interruption waveform of generation is shown in Fig. 3-b.
In the external interrupt of the CPU of PDA is rising edge triggering/trailing edge when triggering, and in the generation circuit that plug is interrupted, only needs a middle fracture, and fracture is that trailing edge triggers in being provided with when the PDA off-line, is used for producing inserting and interrupts; Fracture is that rising edge triggers in being provided with when PDA is online, is used for producing and extracts interruption, and its concrete circuit connects shown in Fig. 4-a: an end of resistance R 5 links to each other with the phone DC power supply VDD of Fig. 1, and the other end links to each other with the base stage of triode Q5; The grounded emitter of Q5; The collector electrode of Q5 patches and pulls out middle fracture; The collector electrode of one termination Q5 of resistance R 4, the PDA working power VCC of other end map interlinking 1.
In the external interrupt of the CPU of PDA is trailing edge when triggering, and in the generation circuit diagram that plug is interrupted, needs two middle fractures, and inverter output low level when PDA inserts triggers and inserts interruption; When PDA extracted, because the effect output low level of pull down resistor triggers and extracts interruption, its concrete circuit connects shown in Fig. 4-b: an end of resistance R 6 linked to each other with the phone DC power supply VDD of Fig. 1, and the other end links to each other with the base stage of triode Q6; The grounded emitter of Q6; The collector electrode of Q6 patches into middle fracture; The collector electrode of one termination Q6 of resistance R 7, the PDA working power VCC of other end map interlinking 1; The PDA working power VCC of termination Fig. 1 of resistance R 8, the other end respectively with an end of resistance R 9 with extract in fracture link to each other; The other end ground connection of R9; In software, increase and go the time of trembling, to guarantee to plug the stability of interruption.
In the two wires of Fig. 5 equity communication transmission/reception sequential chart, two wires equity communication sends and receives is base unit with the 8bit bit all, be that data are with byte-aligned, each byte is least significant bit transmission earlier always when sending, the bit synchronization clock is provided by the recipient, and transmit leg sends bit stream according to recipient's clock frequency; Data wire DATA and clock line INT/CLK line are high level when channel idle, and it is that low level is effective that byte sends interrupt requests.
The present invention organically combines PDA and landline telephone as a whole, has improved whole operating efficiency, and simultaneously, this communication device supports that PDA separates with plugging of landline telephone, and function is independent separately, has especially embodied the portability of PDA, is simple and easy to use.