CN101335785A - Telephone data terminal system and data automatic transmission method thereof - Google Patents
Telephone data terminal system and data automatic transmission method thereof Download PDFInfo
- Publication number
- CN101335785A CN101335785A CNA200710028870XA CN200710028870A CN101335785A CN 101335785 A CN101335785 A CN 101335785A CN A200710028870X A CNA200710028870X A CN A200710028870XA CN 200710028870 A CN200710028870 A CN 200710028870A CN 101335785 A CN101335785 A CN 101335785A
- Authority
- CN
- China
- Prior art keywords
- data
- usb
- telephone
- flash disk
- cpu
- 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
Links
Images
Abstract
The present invention provides a telephone data terminal system using USB interface to realize data automatic transmission of manpower dial-up and data automatic transmission method thereof. The system includes a CPU, a USB host computer chip, a static RAM internal memory, an E2ROM modem, a CPLD, a power supply circuit, a USB interface, a keyboard, a display screen, telephone line interfaces, a SD card, a relay, an LED indicating lamp and a buzzer. The data automatic transmission method includes steps of procedure detecting U disk, initiating call by pressing dialing key on the keyboard, sending the data, off-hook , receiving data, and automatically breaking telephone connection. The inventive telephone data terminal system has advantages of simple operation, low professional requirement, convenience and shortcut(automatic data transmit-receive can be completed by dialing the telephone), and high efficiency.
Description
Technical field
The present invention relates to a kind of data transmission set, be specifically related to the automatic transmission technology of a kind of telephone data terminal system and data thereof.
Background technology
Make a phone call from not telephone set, the fax from not facsimile machine, hyper terminal send out data from not computer and Modem.The modern data transmission requirements is growing, but the means of transfer of data still exist many inconvenience.Transmitting data on computers generally has two kinds of approach, and a kind of is by the Internet, requires to possess network connectivity, perhaps surfs the Net with Modem on telephone wire; Another is to utilize the hyper terminal of Windows and Modem at the phone line transmission of data, no matter any method all requires operating personnel to possess certain computer, network operation knowledge and skills.In addition, computer environment hardware and software overhead cost are very big.
Summary of the invention
Purpose of the present invention proposes a kind of self-propagating telephone data terminal system of data of realizing just at the existing in prior technology technological deficiency.
The present invention also aims to provide a kind of data automatic transmission method that carries out transfer of data by telephone data terminal system.
For achieving the above object, the present invention is achieved by the following technical programs: telephone data terminal system, be used for transmitting automatically by USB interface realization manual dial's data, it mainly comprises with the lower part: CPU is used for by the programming of jtag interface realization to Flash, EEPROM, fuse bit and locking bit; The usb host chip, utilize its exchanges data of finishing parallel bus and usb bus and identification inserted from USB device, and with the USB slave unit that is inserted by the usb protocol swap data, be used to visit the USB flash disk that inserts USB interface, realize read-write operation the FAT16 file system; Internal memory, the interim storage when being used for the CPU deal with data; E
2ROM is used to support breakpoint transmission, and when file transfer was interrupted, CPU write E with file transmission information
2ROM is to continue transmission according to this information from breakpoint location next time; Modulator-demodulator is used for CPU and by the RS232 serial ports modulator-demodulator is controlled, and realizes the foundation and the dismounting of communication link, comprises dialing, ring detection and data transmit-receive; CPLD is used to the running status that some required sequential of system is provided and controls LED lamp indication mechanism; Power supply circuits are used for the power supply by the outside input is used for entire circuit after the interior power supply circuit voltage stabilizing; USB interface is used to insert USB flash disk; Keyboard is used to provide the user who comprises dialing, off-hook, on-hook and transfer files operation; Display screen is used for the relevant information that display working condition and user operate; And telephone line interface, be respectively applied for telephone line and be connected, and be connected with phone.
Described telephone data terminal also comprises by interface and is connected to SD card on the CPU, and when USB flash disk did not insert USB interface, this SD card was used to store the file that the other side of receiving sends; And after USB flash disk inserts the usb host chip, will exist document copying on the SD card to USB flash disk.
Described telephone data terminal also comprises and is used to converse and transmit the relay that switches mutually between the data.
Described telephone data terminal also comprises the LED light of indication mechanism running status.
Described telephone data terminal also comprises by the buzzer of the sound with operating states such as expression dialing.
The data automatic transmission method of telephone data terminal system of the present invention, be by USB interface with the automatic transmission data that realize the manual dial, the key step of its transfer of data is:
(1), USB dish is inserted the USB spigot of Tel.DTE, initialization after the system power-up, power supply indicator is bright to show the system reset success;
(2), whether program at first detect USB flash disk by SL811HST and exist, as existing, then the USB flash disk indicator light is bright, as not existing, then the USB flash disk indicator light does not work;
(3) if make a call, then need mail to the telephone number of destination by the keyboard input, press dial key again and realize dialling, by serial ports MODEM is write the process that dialing is finished in the AT order by CPU, after this look into the information among the MODEM, judge whether that the line is busy, just the line is busy for the bright expression of lamp; As the line is busy, and the other side receives off-hook behind the bell signal, and then communication light is bright, and expression both sides circuit is logical, and after this MODEM finishes the foundation of data link automatically by both party, and after this transmission rate of circuit after the pending data link establishment can transmit data;
(4), after both sides connect, calling party or callee begin to send or receive data, if send data, then send key, Tel.DTE sends to the other side with the file in the send catalogue in the current USB flash disk automatically, it is bright to send data light signal at this moment; If when data file was interrupted in transmission course, then CPU write E2ROM with file transmission information automatically, so that can continue transmission from breakpoint location according to this information when transmitting next time.
(5), receive the other side's request signal after, Tel.DTE sends response automatically, set up the communicating to connect of both sides by the off-hook key off-hook this moment, communication light is bright;
(6), after both sides connect, if data are sent out in the other side's request, it is bright that then data light signal is received in the request of this machine, then by receiving key, this moment, transmit leg began to send data, and the recipient receives data, received the signal of " data send and finish " up to the recipient, and the receipt transmit leg, represent that this data transmission procedure finishes; Otherwise the recipient can require transmit leg to retransmit;
(7), when data file all send finish after, Tel.DTE then automatic disconnection phone connects, and recovers holding state.
According to data automatic transmission method of the present invention, the described transmission data of steps d, CPU reads file by usb host by the block form chunk, after reading to put chunk data, CPU carries out framing and adds CRC check it, and the transmission data are by the form transmission of a frame one frame, and the length of each frame is 256,512 bytes, and its frame length is for setting, and data send through the order of pressing a byte of a byte behind the framing again.Its frame consists of: beginning flag 1 byte+control word 2 bytes+frame number 2 bytes+reply 2 bytes+frame length 2 bytes+data 256 bytes+CRC check 2 bytes+end mark 1 byte.
The described reception data of step f receive by self-defining frame format, whenever receive a frame, promptly carry out CRC check, if correct, then by usb host the data of receiving are write in the USB flash disk.
Compared with prior art, the present invention has following obvious improvement and outstanding characteristics:
1, the present invention replaces the hyper terminal of Windows, and does in the telephone set together with Modem, utilizes USB interface to realize that the manual dial transmits the purpose of data automatically, and is convenient and swift, improved efficient.
2, easy and simple to handle, specialty requirement property is low, does not require that operating personnel possess correlation computer knowledge, just can finish the transmitting-receiving of data as long as can dial.
3, do not need computer environment just can realize the automatic transmission of data, can significantly save cost.
Description of drawings
The invention will be further described below in conjunction with accompanying drawing and embodiment.
Fig. 1 is a structural representation of the present invention.
Fig. 2 is the theory diagram of data automatic transmission method of the present invention.
Embodiment
Fig. 1 shows structural representation of the present invention.As shown in Figure 1, the main body of this telephone data terminal system is by CPU, usb host chip, static RAM (SRAM) internal memory, E
2ROM, modulator-demodulator, CPLD, USB interface, keyboard, display screen, telephone line interface, SD card, relay, LED light, buzzer constitute.Singlechip CPU is the core of entire circuit, adopts 8 high-performance, the low-power consumption microprocessor ATMEGA128 of ATMEL, the In-System Programmable Flash with 128K byte.256 general purpose working register+peripheral hardware control registers, performance is up to 16MIPS when working in 16MHz, have non-volatile program and data storage, it realizes in-system programming by SPI, and the interior debugging of the sheet of supporting expansion, by the programming of jtag interface realization to Flash, EEPROM, fuse bit and locking bit.The usb host chip, CPU realizes the read-write operation to the FAT16 file system by usb host chip visit USB flash disk (USB flash disk adopts the FAT16 file system); The static RAM (SRAM) internal memory is used for the interim storage when the CPU deal with data.E
2ROM is used for little terminal and supports breakpoint transmission, guarantees to make CPU that file transmission information is write E under the situation that file transfer is interrupted
2ROM is to continue biography from breakpoint location next time; Modulator-demodulator (MODEM), CPU utilizes AT Command Set that modulator-demodulator (MODEM) is controlled by the RS232 serial ports, realizes the foundation and the dismounting of communication link, comprises dialing, ring detection, transceive data.This modulator-demodulator has the circuit adaptation function, and both sides' modulator-demodulator is being set up the transmission rate that the communication link initial stage can adjust data automatically.CPLD is a programmable logic device, and it provides the running status of the needed sequential of system with control LED lamp indication mechanism; Power supply circuits will be used for entire circuit after the interior power supply circuit voltage stabilizing by the power supply of outside input.Described USB interface then inserts USB flash disk, and keyboard then provides the user to operate, as dialing, off-hook, on-hook and transfer files etc.; The relevant information of display screen display working condition and user operation, to represent operating state such as dialing, LED light is a light-emitting diode to buzzer, is used for the running status of indication mechanism with its sound, as the electricity of sending a telegram here, go, MODEM disconnection or connect first-class.Telephone line interface has two, and one is used to connect telephone line, and another then connects phone; The SD cartoon is crossed the SD card and is connected on the CPU, is used for when USB flash disk does not insert, and stores the file that received the other side sends, insert USB flash disk after, can will exist document copying on the SD card to USB flash disk.Relay is used to converse and transmits mutual switching between the data.
Fig. 2 shows the theory diagram of data automatic transmission method of the present invention.As shown in Figure 2, the data automatic transmission method of this telephone data terminal system mainly constitutes by sending data and receiving data, concrete steps are (1), sent out deposit data in USB dish, this USB dish is inserted the USB spigot of Tel.DTE, initialization after the system power-up, power supply indicator is bright, shows the system reset success simultaneously.(2), whether program at first detect USB flash disk by SL811HST and exist, if exist, then the USB flash disk indicator light is bright, otherwise the USB flash disk indicator light do not work, showing does not have USB flash disk to exist.(3), on keyboard, import destination---the other side's telephone number, press dial key dialing again.By serial ports MODEM is write the process that dialing is finished in the AT order by CPU, after this look into the information among the MODEM, judge whether that the line is busy, just the line is busy for the bright expression of lamp.As the line is busy, and the other side receives off-hook behind the bell signal, and then communication light is bright, and expression both sides circuit is logical and connects, and after this MODEM finishes the foundation of data link automatically by both party.After this transmission rate of circuit after the pending data link establishment can transmit data.(4), after both sides connect, no matter be that calling party or callee can send or receive data.If want to send data, then send key, data file during Tel.DTE can coil USB automatically mails to the destination in the mode of packet, it is bright that send data light signal this moment, simultaneously, CPU reads file by usb host by the block form chunk, after reading to put chunk data, CPU carries out framing and adds CRC check it, the transmission data are by the form transmission of a frame one frame, each frame length is 256,512 bytes, its frame length can be set, and its frame consists of: beginning flag 1 byte (7E)+control word 2 bytes+frame number 2 bytes+reply 2 bytes+frame length 2 bytes+data 256 bytes+CRC check 2 bytes+end mark 1 byte (7E).(E
2ROM is used to write down the record of interrupted biography) data send through the order by a byte of a byte behind the framing.If owing to circuit or other reason, cause file transfer to interrupt in communication, at this moment, CPU writes E with file transmission information
2ROM can continue transmission from breakpoint location according to this information next time.(5), under holding state, if detected people's ring, then Tel.DTE has phone to dial in by buzzer sound prompting, the other side's reception data request signal is received in expression.Set up the communicating to connect of both sides by the off-hook key off-hook this moment, and communication light is bright.(6), when receiving-transmitting sides connect confirm to realize shaking hands after, if data are sent out in the other side's request, it is bright that then data light signal is received in the request of this machine, receives data by receiving keyed jointing.At this moment, transmit leg begins to send data, and the recipient receives data, receives file equally and receives by self-defining frame format, whenever receives a frame, need carry out CRC check and restore data, if correct, can the data of receiving be write in the USB flash disk by usb host.The RAM required owing to transceive data processing in this process is bigger, has therefore also set up a slice RAM in circuit.When the recipient received the signal of " data send and finish ", the expression data received, and the receipt transmit leg was illustrated this secondary data to send and finished this moment.Otherwise the recipient also can require transmit leg retransmission data file.(7), when data file all send finish after, Tel.DTE then automatic disconnection phone connects, and recovers holding state.
The foregoing description is only enumerated for explanation the present invention, is not to be used to limit the present invention, and the structure of any effects equivalent based on the conversion of the technical program institute all belongs to protection scope of the present invention.
Claims (10)
1, a kind of telephone data terminal system is used for transmitting automatically by USB interface realization manual dial's data, it is characterized in that, comprising:
One CPU, it has non-volatile program and data storage, utilizes SPI to realize in-system programming, is used for by the programming of jtag interface realization to Flash, EEPROM, fuse bit and locking bit;
One usb host chip, utilize its exchanges data of finishing parallel bus and usb bus and identification inserted from USB device, and with the USB slave unit that is inserted by the usb protocol swap data, be used to visit the USB flash disk that inserts USB interface, realize read-write operation the FAT16 file system;
One static RAM (SRAM) internal memory, the interim storage when being used for the CPU deal with data;
One E
2ROM is used to support breakpoint transmission, and when file transfer was interrupted, CPU write E with file transmission information
2ROM is to continue transmission according to this information from breakpoint location next time;
One modulator-demodulator is used for CPU and by the RS232 serial ports modulator-demodulator is controlled, and realizes the foundation and the dismounting of communication link, comprises dialing, ring detection and data transmit-receive;
One CPLD is used to the running status that some required sequential of system is provided and controls LED lamp indication mechanism;
One power supply circuits are used for the power supply by the outside input is used for entire circuit after the interior power supply circuit voltage stabilizing;
One USB interface is used to insert USB flash disk;
One keyboard is used to provide the user who comprises dialing, off-hook, on-hook and transfer files operation;
One display screen is used for the relevant information that display working condition and user operate;
And telephone line interface, be respectively applied for the connection telephone line and be connected phone.
2, telephone data terminal system according to claim 1, it is characterized in that, described telephone data terminal comprises that also one is connected to SD card on the CPU by the SD card, be used for when USB flash disk does not insert, store the file that received the other side sends, and can be after USB flash disk inserts the usb host chip, will exist document copying on the SD card to USB flash disk.
3, telephone data terminal system according to claim 1 is characterized in that, described telephone data terminal also comprises a relay, is used to converse and transmits the mutual switching of data.
4, telephone data terminal system according to claim 1 is characterized in that, described telephone data terminal also comprises a LED light, is used for the running status of indication mechanism, and a buzzer, is used for by the sound with operating states such as expression dialing.
5, a kind of data automatic transmission method of telephone data terminal system, it realizes manual dial's automatic transmission data by USB interface, it is characterized in that, comprises the following steps:
A, general be the USB spigot of the USB dish insertion Tel.DTE of store data, initialization after the system power-up, and power supply indicator is bright, shows the system reset success;
Whether b, program at first detect USB flash disk by SL811HST and exist, and as existing, then the USB flash disk indicator light is bright, otherwise the USB flash disk indicator light do not work, and showing does not have USB flash disk to exist;
C then need mail to the telephone number of destination if make a call by the keyboard input, press dial key again and realize dialling, by serial ports MODEM is write the process that dialing is finished in the AT order by CPU, after this look into the information among the MODEM, judge whether that the line is busy, just the line is busy for the bright expression of lamp; As the line is busy, and the other side receives off-hook behind the bell signal, and then communication light is bright, and expression both sides circuit is logical, and after this MODEM finishes the foundation of data link automatically by both party, and after this transmission rate of circuit after the pending data link establishment can transmit data;
D, after both sides connect, calling party or callee begin to send or receive data, as sending data, then send key, Tel.DTE sends to the other side with the file in the send catalogue in the current USB flash disk automatically, it is bright to send data light signal at this moment;
E, receive the other side's request signal after, Tel.DTE sends response automatically, set up the communicating to connect of both sides by the off-hook key off-hook this moment, communication light is bright;
After f, both sides connected, if data are sent out in the other side's request, it is bright that then data light signal is received in the request of this machine, then by receiving key, this moment, the recipient began to receive data, received the signal of " data send and finish " up to the recipient, and the receipt transmit leg, represent that this data transmission procedure finishes; Otherwise the recipient can require transmit leg to retransmit;
After g, data file distributed, Tel.DTE can connect by the automatic disconnection phone, and recovered holding state.
6, data automatic transmission method according to claim 5, it is characterized in that the described transmission data of steps d are when file transfer in the data transmission procedure is interrupted, CPU writes E2ROM with file transmission information, so that continue transmission according to this information from breakpoint location next time.
7, data automatic transmission method according to claim 5, it is characterized in that, the described transmission data of steps d, CPU reads file by usb host by the block form chunk, after reading to put chunk data, CPU carries out framing and adds CRC check it, and the transmission data are by the form transmission of a frame one frame, and data send through the order by a byte of a byte behind the framing.
8, data automatic transmission method according to claim 7 is characterized in that, the length of each frame is 256,512 bytes.
9, according to claim 7 or 8 described data automatic transmission methods, it is characterized in that described frame consists of: beginning flag 1 byte+control word 2 bytes+frame number 2 bytes+reply 2 bytes+frame length 2 bytes+data 256 bytes+CRC check 2 bytes+end mark 1 byte.
10, data automatic transmission method according to claim 5 is characterized in that, the described reception data of step f receive by self-defining frame format, whenever receive a frame, carry out CRC check, as correctly, promptly by usb host the data of receiving are write USB flash disk.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA200710028870XA CN101335785A (en) | 2007-06-28 | 2007-06-28 | Telephone data terminal system and data automatic transmission method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA200710028870XA CN101335785A (en) | 2007-06-28 | 2007-06-28 | Telephone data terminal system and data automatic transmission method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101335785A true CN101335785A (en) | 2008-12-31 |
Family
ID=40198085
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA200710028870XA Pending CN101335785A (en) | 2007-06-28 | 2007-06-28 | Telephone data terminal system and data automatic transmission method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101335785A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102217283A (en) * | 2011-05-25 | 2011-10-12 | 华为技术有限公司 | Method and apparatus for pp file transmission |
CN102508732A (en) * | 2011-10-25 | 2012-06-20 | 深圳芯邦科技股份有限公司 | Method and device for improving one-time programmable memory use performance |
CN105045526A (en) * | 2015-05-08 | 2015-11-11 | 湖南国科微电子有限公司 | Method for improving transmission reliability of PCIe solid-state disk |
CN113094319A (en) * | 2021-03-25 | 2021-07-09 | 成都普沛科技有限公司 | System and method for synchronously controlling one-way data transmission between two hosts |
-
2007
- 2007-06-28 CN CNA200710028870XA patent/CN101335785A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102217283A (en) * | 2011-05-25 | 2011-10-12 | 华为技术有限公司 | Method and apparatus for pp file transmission |
WO2011144077A2 (en) * | 2011-05-25 | 2011-11-24 | 华为技术有限公司 | Method and device for point to point file transmission |
WO2011144077A3 (en) * | 2011-05-25 | 2012-04-26 | 华为技术有限公司 | Method and device for point to point file transmission |
CN102508732A (en) * | 2011-10-25 | 2012-06-20 | 深圳芯邦科技股份有限公司 | Method and device for improving one-time programmable memory use performance |
CN102508732B (en) * | 2011-10-25 | 2015-08-19 | 深圳芯邦科技股份有限公司 | Improve method and the device of disposable programmable memory usability |
CN105045526A (en) * | 2015-05-08 | 2015-11-11 | 湖南国科微电子有限公司 | Method for improving transmission reliability of PCIe solid-state disk |
CN113094319A (en) * | 2021-03-25 | 2021-07-09 | 成都普沛科技有限公司 | System and method for synchronously controlling one-way data transmission between two hosts |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101335785A (en) | Telephone data terminal system and data automatic transmission method thereof | |
CN101393542B (en) | Embedded equipment and method for supporting USB interface by GPIO terminal port | |
GB2343581A (en) | An arrangement for connecting an electronic note card to a digital telephone | |
CN105786734A (en) | Data transmission method, extension device, peripheral equipment and system | |
CN101170443B (en) | GPRS-based digital monitoring and alarm issuing device | |
US6209050B1 (en) | Expansion card | |
CN101150783A (en) | A method and device for automatic mobile phone SMS recording | |
CN201331764Y (en) | Multifunctional handhold terminal | |
CN202750089U (en) | Bluetooth device and integrated peripheral devices | |
CN205608994U (en) | Power consumption information acquisition communication device | |
CN201315667Y (en) | Mobile phone electric utility meter-reading system and terminal | |
US7281246B1 (en) | Method for loading user interface software | |
JPS61167261A (en) | Information transmitting system | |
CN101014049A (en) | Method for managing timer of terminal wireless communication protocol stack sofeware | |
CN1984406B (en) | Linear-controlled system, linear controller and controlling method | |
CN201204616Y (en) | Using telephone voice channel as module of data facsimile communication | |
CN100535877C (en) | Apparatus and method for transmitting computer data documents by telephone | |
CN101771777A (en) | Device and system for recording phone voice and fax | |
JPH11261717A (en) | Information transmitter and information communication system | |
JP3533135B2 (en) | Wireless communication system | |
CN217469983U (en) | Film cutting cloud box convenient for film cutting data transmission | |
CN202907210U (en) | Data transmission terminal based on GPRS/SMS | |
US20020126824A1 (en) | ISDN remote wake-up method | |
KR100369320B1 (en) | Analog fax interface control method of wll terminal equipped analog fax board and wll terminal | |
CN201438331U (en) | Handheld checking and fee collection integrative machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20081231 |