CN100562160C - The switching device and the method that are used for mobile phone TTY test - Google Patents
The switching device and the method that are used for mobile phone TTY test Download PDFInfo
- Publication number
- CN100562160C CN100562160C CNB2007101374948A CN200710137494A CN100562160C CN 100562160 C CN100562160 C CN 100562160C CN B2007101374948 A CNB2007101374948 A CN B2007101374948A CN 200710137494 A CN200710137494 A CN 200710137494A CN 100562160 C CN100562160 C CN 100562160C
- Authority
- CN
- China
- Prior art keywords
- unit
- tty
- switching device
- code
- signal
- 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
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention discloses a kind of switching device that is used for mobile phone TTY test, comprising: decoding unit is used for decoding from the signal of TTY equipment input; Transcoder unit is connected to decoding unit, is used to receive the decoded signal from decoding unit, and decoded signal is converted to the code that PC can be discerned; Level conversion unit is connected to transcoder unit, is used for the code that PC can be discerned is sent to PC; And matching unit, be used for signal is carried out impedance matching, and it is inputed to mobile phone.The present invention is simple in structure, and cost is low.
Description
Technical field
The present invention relates to mobile phone test, particularly relate to mobile phone TTY (Teletypewriter, teletype writer) performance automatic test.
Background technology
TTY equipment mainly is to supply the people of deafness, hard of hearing or language performance obstacle by the equipment of typewriting or kbhit replaces listening and speaking to carry out information interchange.The mobile phone TTY function is FCC (Federal Communications Commission, FCC) forcible authentication and CDG (CDMA Development Group, the CDMA development group) phase III is tested desired function, by this function, the user of TTY equipment TTY equipment can be inserted that mobile phone be realized between them and they with the regular handset user between intercommunication mutually.
It mainly is the test of error rate aspect that current techniques is tested automatically to the mobile phone TTY performance.This test generally need be by means of TTY modem device, this device has two data ports, can connect PC and mobile phone (thereby by mobile phone 2.5mm earphone socket or be connected to the TTY adapter that the mobile phone tail inserts be connected to mobile phone) simultaneously, like this by installed software on the PC just can monitoring cell-phone TTY call mode under the situation of the TTY error rate.
Therefore but general T TY equipment has only a data port, can't connect PC and mobile phone simultaneously, can't be used for above-mentioned automatic test, and it is more expensive to have a TTYmodem device of Double Data port, and to use be not very extensive.
Therefore, need a kind of solution of mobile phone TTY test cheaply, can solve the problem in the above-mentioned correlation technique.
Summary of the invention
Can't connect problems such as PC and mobile phone simultaneously at above-mentioned general T TY equipment and propose the present invention.
According to an aspect of the present invention, provide a kind of switching device that is used for mobile phone TTY test, having comprised: decoding unit is used for decoding from the signal of TTY equipment input; Transcoder unit is connected to decoding unit, is used to receive the decoded signal from decoding unit, and decoded signal is converted to the code that PC can be discerned; Level conversion unit is connected to transcoder unit, is used for the code that PC can be discerned is sent to PC; And matching unit, be used for the signal from the input of TTY equipment is carried out impedance matching, and it is inputed to mobile phone.
The switching device that is used for mobile phone TTY test also comprises: analog switch, be used for the signal from the input of TTY equipment is divided into two paths of signals, and road signal wherein inputs to decoding unit, and another road inputs to matching unit.
Transcoder unit comprises: the data latching module, be connected to decoding unit, and be used to latch decoded signal from decoding unit; The code conversion module is connected to the data latching module, is used for the decoded signal from the data latching module is converted to the code that PC can be discerned; And the data buffering module, be connected to level conversion unit, be used for buffer memory from the discernible code of the PC of code conversion module, and the discernible code of described PC is sent to described level conversion unit.
Wherein, matching unit comprises filter circuit and disturbs buffer circuit; Transcoder unit is a single-chip microcomputer; Decoding unit is FSK (Frequency-shift keying, a frequency shift keying) decoder, and being used for signal decoding is the Baudot sign indicating number; The discernible code of PC is an ASCII character; And level conversion unit has standard RS232 nine core serial ports.
According to another aspect of the present invention, provide a kind of forwarding method that is used for above-mentioned switching device, may further comprise the steps: to decoding from the signal of TTY equipment input; Decoded signal is converted to the code that PC can be discerned; The code that PC can be discerned is sent to PC; And the signal from TTY equipment input carried out impedance matching, and it is inputed to mobile phone.
Only have at TTY equipment under the situation of common forms data port, the present invention is convenient to be used for the TTY performance automatic test of mobile phone, and saves cost.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 illustrates the block diagram that is used for the switching device of mobile phone TTY test according to of the present invention;
Fig. 2 is the flow chart that illustrates according to the forwarding method of the switching device that is used for mobile phone TTY test of the present invention;
Fig. 3 illustrates mobile phone TTY test annexation schematic diagram of the prior art;
Fig. 4 illustrates the annexation schematic diagram that is used for the switching device of mobile phone TTY test according to the use of the embodiment of the invention; And
Fig. 5 is the program flow diagram that illustrates according to the switching device that is used for the mobile phone TTY performance test of the embodiment of the invention.
Embodiment
Describe embodiments of the invention in detail below in conjunction with accompanying drawing.
Fig. 1 illustrates the block diagram that is used for the switching device of mobile phone TTY test according to of the present invention.With reference to Fig. 1, the switching device 100 that is used for mobile phone TTY test according to the present invention comprises: decoding unit 102 is used for decoding from the signal of TTY equipment input; Transcoder unit 104 is connected to decoding unit, is used to receive the decoded signal from decoding unit, and decoded signal is converted to the code that PC can be discerned; Level conversion unit 106 is connected to transcoder unit, is used for the code that PC can be discerned is sent to PC; And matching unit 108, be used for signal is carried out impedance matching, and it is inputed to mobile phone.
The switching device that is used for mobile phone TTY test also comprises: analog switch 110, be used for the signal from the input of TTY equipment is divided into two paths of signals, and road signal wherein inputs to decoding unit 102, and another road inputs to matching unit 108.
Wherein, transcoder unit 104 comprises: data latching module 104-2, be connected to decoding unit, and be used to latch decoded signal from decoding unit; Code conversion module 104-4 is connected to the data latching module, is used for the decoded signal from the data latching module is converted to the code that PC can be discerned; And data buffering module 104-6, be connected to level conversion unit, be used for buffer memory from the discernible code of the PC of code conversion module, and the discernible code of described PC is sent to described level conversion unit 106.
Wherein, matching unit 108 comprises filter circuit and disturbs buffer circuit; Transcoder unit 104 is single-chip microcomputers; Decoding unit 102 is FSK decoders, and being used for signal decoding is the Baudot sign indicating number; The discernible code of PC is an ASCII character; And level conversion unit 106 has standard RS232 nine core serial ports.
Fig. 2 is the flow chart that illustrates according to the forwarding method of the switching device that is used for mobile phone TTY test of the present invention.With reference to Fig. 2, the forwarding method that is used for the switching device of mobile phone TTY test according to the present invention may further comprise the steps: step S202, to decoding from the signal of TTY equipment input; Step S204 is converted to the code that PC can be discerned with decoded signal; And step S206, the code that PC can be discerned is sent to PC.
Said method is further comprising the steps of: the signal from the input of TTY equipment is carried out impedance matching, and it is inputed to mobile phone.
Describe one embodiment of the present of invention in detail with reference to Fig. 3~Fig. 5 below.
Fig. 3 illustrates mobile phone TTY test annexation schematic diagram of the prior art.Basic annexation when as shown in Figure 3, general mobile phone TTY is tested automatically is exactly that the bilateral TTY modem with Double Data port that adopts is connected between PC and the mobile phone.TTY modem links the normally serial ports of PC of PC side, and that links the mobile phone side is the 2.5mm earphone socket of mobile phone or links the TTY adapter with 2.5mm earphone socket that the mobile phone tail is inserted.During test, the TTY function of starting hand-set works under the TTY pattern TTY; Configure the automatic testing software of PC side, both sides' mobile phone cdma network (IS-95 or IS-856) environment is set up conversation down, then the performance index of coming testing mobile phone TTY by test approach such as operation PC batter presents carry out that text is received and dispatched automatically.
Here it is to be noted, this test need be carried out under cdma network (IS-95 or the IS-856) environment of supporting the TTY function, domestic UNICOM's public network is not support TTY's at present, state's build-in test need carry out under the try net condition of supporting TTY usually, but external cdma network environment such as America and Europe is to support the TTY function.
Fig. 4 illustrates the annexation schematic diagram that is used for the switching device of mobile phone TTY test according to the use of the embodiment of the invention.As shown in Figure 4, when adopting apparatus of the present invention, the basic annexation when mobile phone TTY is tested automatically is: common forms data port TTY equipment is connected to PC and mobile phone by the switching device that inserts present embodiment.The switching device of present embodiment is divided into two the data of common forms data port TTY equipment, delivers to the 2.5mm earphone socket of the serial ports of PC and mobile phone respectively or links the TTY adapter with 2.5mm earphone socket that the mobile phone tail is inserted.Concrete test process still as previously mentioned.
Still with reference to Fig. 1, also comprise unshowned power supply, indicator light and crystal oscillator etc. according to switching device of the present invention.
The data input pin of this switching device inserts the data cable of TTY equipment (forms data port).Because the cable that TTY equipment carries has the 2.5mm headset plug, so in fact the data input pin physical structure of this device is a 2.5mm earphone socket.The data cable of TTY equipment generally is made up of three lines: data are sent out (MIC, that is, but lug machine microphone channel realizes that TTY sends data to mobile phone), and data are received (SPKR, that is, but lug machine loudspeaker channel realizes that TTY receives data from mobile phone) and ground.The internal data of cable is not the digital signal on the ordinary meaning, but the carrier free binary FSK audio signal of Baudot sign indicating number coding.
The audio wave of above-mentioned Baudot sign indicating number has 45.45bps and two kinds of specifications of 50bps.With 45.45bps Baudot sign indicating number is example, and the 1400Hz tone is used for presentation logic " 1 ", and the 1800Hz tone is used for presentation logic " 0 ".A TTY character bit duration is 22 ± 0.4ms.A character comprises 1 start bit, 5 data bit and 1.5-2 position of rest.When transmission character not, transmit background noise quiet or that be equal to.
The signal that sends from TTY equipment is the FSK audio signal, and it at first enters analog switch 110, in fact herein also can be without analog switch, and adding analog switch is compatible design, makes things convenient on the software concrete application model programming Control.Be divided into two after (two-way separately respectively and separately is on all four from physical characteristic and content information) through analog switch, the one tunnel carries out being sent to the handset earphone socket or being connected to the TTY adapter with 2.5mm earphone socket that the mobile phone tail is inserted after the Circuit Matching.Why to carry out Circuit Matching, because amended TSB121 standard has certain impedance matching requirement for guaranteeing the TTY transmission quality to transmission line, original TTY equipment itself has generally met this impedance matching, but it is because middle through analog switch, for the purpose of reliable, still increase impedance matching unit 108 at this.Be aided with filtering simultaneously and disturb quarantine measures.Draw a cable with 2.5mm headset plug on the output of impedance matching unit 108, the voice data output line cable structure characteristic of this cable structure characteristic and input TTY equipment is consistent.
The decoded unit 102 of another road signal that is sent to the FSK decoder is decoded as the Baudot sign indicating number, arrives the core transcoder unit 104 of this switching device then.The Baudot sign indicating number that transcoder unit 104 is responsible for TTY equipment is sent is converted to the ASCII character that PC can be discerned.ASCII character digital information is sent via level conversion unit 106, and then realization is communicated by letter with PC.RS232 level conversion unit 106 has standard RS232 nine core serial ports.
The work relative complex that transcoder unit 104 is finished at first detects classification (distinguish non-TTY, TTY is quiet, logical zero and logical one information) to the TTY character that receives, and then TTY information is carried out Baudot and ASCII character conversion.Transcoder unit 104 is realized with single-chip microcomputer herein, and is provided with latch at data input pin respectively, and is provided with buffer at data output end.
Fig. 5 is the program flow diagram that illustrates according to the switching device that is used for the mobile phone TTY performance test of the embodiment of the invention.In this embodiment, the Baudot sign indicating number uses character of 5 (bit) coded representation, and case-insensitive has only 2
5Therefore=32 kinds of possible combinations are far from being enough when representing 26 letters, 10 ten's digits, punctuation mark and space with it.In order to remedy this defective, the Baudot sign indicating number has to increase by two escape character (ESC).Definition 11111 be " letter shift " (LTRS), definition 11011 (FIGS) comes definite five follow-up codes of how explaining for " figure shift ".64 kinds of different codings have so just been produced effectively.In case receive a LTRS, receiving equipment is used as follow-up code as letter, up to receiving a FIGS, ensuing code will be interpreted as numeral or other additional characters.
7 ASCII ASCII character were the national standard of an information exchange coding originally, were accepted by International Standards Organization afterwards, became international standard ISO 646, were called international 5 numbers again.Therefore, it is used to the computer ISN, also is the coding standard in the data communication.26 lowercases are arranged, 26 capitalizations, 10 numerals, 32 symbols, 33 command characters and a space are 128 codings altogether.Afterwards, utilized 128 extra characters to expand ASCII character again.
Two kinds of sign indicating numbers all are international sign indicating numbers, and the expression formula of setting up two kinds of sign indicating numbers converts then and gets final product (character, the concrete reduction formula between numeral and the additional character is not quite similar).
Because the single-chip microcomputer handling procedure takies certain hour, the baud rate that therefore receives the audio-frequency information of TTY is less than the baud rate with compunication, and baud rate needs twice adjustment of priority like this.
In this embodiment, concrete switch code flow process may further comprise the steps:
Step S502 carries out initialization to the data unit;
Step S504, control FSK decoder is accepted the data from TTY equipment, and makes signal transmission indicator light bright;
Step S506 is provided with the baud rate that receives data from the FSK decoder, and prepares to receive data;
Step S508 judges the whether end of transmission of TTY character, if, execution in step S510 then, otherwise continue execution in step S508;
Step S510, the control codan lamp goes out;
Step S512 adjusts the baud rate to computer transmission data, and preparation and computer communicate;
Step S514 detects classification and carries out code conversion the TTY character;
Step S516 is sent to computer with the data after the conversion; And
Step S518, whether judgment data sends, if return execution in step S504, otherwise return step S516.
Apparatus of the present invention analog switch, buffer latch are selected common common device 74 series respectively for use, the RS232 level translator adopts the good device of antistatic property of MAXIM company, device that other are important relatively such as single-chip microcomputer are with common 51 series monolithics, and the FSK decoder is selected AT2211 series for use.
This device can further be optimized by parts selection, also can carry out further function expansion.
In sum, switching device of the present invention is simple in structure, and cost is very low.When carrying out the mobile phone TTY functional development, only have at one's fingertips under the situation of common forms data port TTY equipment, apply the present invention to the TTY performance automatic test of mobile phone, need not the more expensive TTY modem equipment of purchasing price.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (9)
1. a switching device that is used for mobile phone TTY test is characterized in that, comprising:
Decoding unit is used for decoding from the signal of TTY equipment input;
Transcoder unit is connected to described decoding unit, is used to receive the decoded signal from described decoding unit, and described decoded signal is converted to the code that PC can be discerned;
Level conversion unit is connected to described transcoder unit, is used for the code that described PC can be discerned is sent to described PC; And
Matching unit is used for described signal from the input of TTY equipment is carried out impedance matching, and it is inputed to mobile phone.
2. switching device according to claim 1 is characterized in that, also comprises:
Analog switch is used for the signal from the input of TTY equipment is divided into two paths of signals,
Road signal wherein inputs to described decoding unit, and another road inputs to described matching unit.
3. switching device according to claim 2 is characterized in that, described transcoder unit comprises:
The data latching module is connected to described decoding unit, is used to latch the described decoded signal from described decoding unit;
Described code conversion module is connected to described data latching module, is used for the described decoded signal from described data latching module is converted to the code that described PC can be discerned; And
The data buffering module is connected to described level conversion unit, is used for the described PC discernible code of buffer memory from described code conversion module, and the discernible code of described PC is sent to described level conversion unit.
4. switching device according to claim 1 is characterized in that, described matching unit comprises filter circuit and disturbs buffer circuit.
5. switching device according to claim 2 is characterized in that described transcoder unit is a single-chip microcomputer.
6. switching device according to claim 3 is characterized in that described decoding unit is the frequency shift keying decoder, and being used for described signal decoding is the Baudot sign indicating number.
7. switching device according to claim 2 is characterized in that, the discernible code of described PC is an ASCII character.
8. switching device according to claim 1 is characterized in that, described level conversion unit has standard RS232 nine core serial ports.
9. a forwarding method that is used for switching device according to claim 1 is characterized in that, may further comprise the steps:
To decoding from the signal of TTY equipment input;
Described decoded signal is converted to the code that PC can be discerned;
The code that described PC can be discerned is sent to described PC; And
Described signal from the input of TTY equipment is carried out impedance matching, and it is inputed to mobile phone.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007101374948A CN100562160C (en) | 2007-07-16 | 2007-07-16 | The switching device and the method that are used for mobile phone TTY test |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007101374948A CN100562160C (en) | 2007-07-16 | 2007-07-16 | The switching device and the method that are used for mobile phone TTY test |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101090554A CN101090554A (en) | 2007-12-19 |
CN100562160C true CN100562160C (en) | 2009-11-18 |
Family
ID=38943665
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2007101374948A Active CN100562160C (en) | 2007-07-16 | 2007-07-16 | The switching device and the method that are used for mobile phone TTY test |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100562160C (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102223452B (en) * | 2011-06-16 | 2016-12-07 | 中兴通讯股份有限公司 | The TTY method of testing of mobile terminal and system |
-
2007
- 2007-07-16 CN CNB2007101374948A patent/CN100562160C/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN101090554A (en) | 2007-12-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6052576A (en) | Radiocommunications equipment with a security calls mode, and extension unit forming part of such equipment | |
CN1333603A (en) | Earphone with short distance mobile system | |
CN108009159A (en) | A kind of simultaneous interpretation method and mobile terminal | |
CN103024139A (en) | Information display apparatus and method for mobile phone | |
CN102307258A (en) | Communication method between primary device and accessory device, device thereof and system thereof | |
CN108964997B (en) | Wireless frequency writing method for interphone | |
CN104184499A (en) | Bluetooth device control method, device and system | |
KR100771256B1 (en) | A mobile communication terminal and it's radio communication module | |
KR100654566B1 (en) | Mobile phone supporting tty devices for deaf person or dumb person and method of communicating therefor | |
US20050119014A1 (en) | Home cellular phone system | |
CN100562160C (en) | The switching device and the method that are used for mobile phone TTY test | |
CN103580844A (en) | Mobile phone software and method for conducting full-duplex digital communication through peripheral based on standard Bluetooth headset jack | |
CN101102334B (en) | Method and device for establishing information transmission between terminal device and mobile terminal | |
CN101500028A (en) | Communication terminal using read-write mode and method for implementing read-write mode communication | |
CN100356359C (en) | Connector between processor and user recognition card | |
KR20050041742A (en) | System and method for servicing change short message into a voice | |
CN104468955A (en) | Information processing method and electronic equipment | |
CN102256193B (en) | Audio signal receiving device and audio signal transmission system | |
KR100577049B1 (en) | mobile phone for operating in computer operating system and calling method thereof | |
CN102158832A (en) | Method and device for self-adaptively coding short message | |
KR20010047406A (en) | Communication device using infrared ray for mobile communication system | |
CN102098184A (en) | Network access method and device | |
JP6176829B2 (en) | Communication device and wireless communication module | |
CN101420779B (en) | Double-mode double-standby mobile communication equipment and method for sensing call reception | |
CN107343086A (en) | A kind of communication means of multimode device, multi-mode device and communication terminal |
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 |