Summary of the invention
The objective of the invention is for overcoming the weak point of prior art; A kind of voice terminal of the emergency communication system based on wired telephone network is proposed; The present invention adopts data communication method; Have higher communication speed than the traditional voice communication, stronger stability can add coding simultaneously and strengthen confidentiality, fail safe.And self has feedback function the terminal, in system, can monitor notify status in real time.
A kind of communication system voice terminal that the present invention proposes based on wired telephone network; It is characterized in that; This terminal comprises the main control unit that is used for carrying out with cable telephone network exchanges data, and the function selecting push-button unit, power supply and fresh information state led display unit, loudspeaker unit, sound volume regulation unit and the AC/DC power supply that link to each other with this main control unit respectively; Wherein:
The function selecting push-button unit is used to scan user's key-input operation, and input signal is sent to main control unit;
Power supply and fresh information state led display unit are used for the display terminal power supply and accept the state of fresh information;
Loudspeaker unit is used for audio electrical signal and converts voice signal output into;
Sound volume regulation unit is used to adjust the audio electrical signal input variable;
The AC/DC power supply is used for from outside input ac power, for each unit, terminal power supply is provided after converting DC power supply into;
Main control unit is used for carrying out exchanges data through wired telephone network and outside; The text data that receives is stored; And point out through power supply and fresh information state led display unit; After the user carries out input operation through the function selecting push-button unit, text data is synthesized audio signal through loudspeaker unit output.
Said main control unit comprises single-chip microcomputer, and the linear stabilized power supply that links to each other with single-chip microcomputer respectively, microcomputer monitoring circuit, information data store, embedded modem, VODER, audio power amplifier; Wherein:
Linear stabilized power supply is used to import direct current 5V/2A power supply; Output direct current 3.3V/800mA power supply, the power output end of source of stable pressure U1 are that single-chip microcomputer, information data memory cell, embedded modem cellular system members, text synthetic speech unit provide D.C. regulated power supply;
The microcomputer monitoring circuit is used to monitor the 3.3V direct-flow voltage regulation source in the main control unit, when source of stable pressure voltage is lower than the threshold value that presets, sends reset signal to single-chip microcomputer, embedded modem system end element, VODER;
Single-chip microcomputer is used to control embedded modem and carries out exchanges data through wired telephone network and outside; With the text data store that receives in information data store; Concurrent feed signals is given power supply and fresh information state led display unit prompting user; Single-chip microcomputer is read and is sent to VODER with the text data in the flash memory and carry out the operation of text synthetic speech after receiving the user key-press operation signal;
Information data store is used to store the effective text message that receives through embedded modem; Carry out exchanges data with single-chip microcomputer;
Embedded modem has adopted double-chip structure, is respectively system end chip and line end chip; The system end chip is used to receive the AT instruction that single-chip microcomputer issues and responds; Receive digital signal that single-chip microcomputer sends and be modulated into analog signal then and send the line end chip to, and the analog signal that the line end chip receives is modulated to digital signal sends single-chip microcomputer to; So the line end chip with the communication network potential circuit of safe ELV circuit and high-tension circuit is isolated, links to each other with the system end chip and carries out the modulator-demodulator internal exchange of data, and link to each other with fixed telephone network and to carry out external data and exchange;
VODER is used to receive the instruction of single-chip microcomputer transmission and respective feedback is carried out in instruction;
Audio-frequency power amplifier is used for the weak audio signal of telecommunication from the signal source VODER amplified to drive the paper film loudspeaker sounds;
Linear stabilized power supply is used to the DC source from AC/DC power supply input 5V/2A, and output 3.3V/800mA DC source is given each device in the main control unit.
Characteristics of the present invention and beneficial effect:
Text data is sent through wired telephone network in the terminal that the present invention designed; Sending the text time sends the speech data time and significantly shortens; Because transmit leg can be accomplished by professional's operational computations machine; As long as but multidiameter delay is issued a notice under the situation that capacity of trunk allows, the terminal receives and is stored in it in flash memory behind the text data and points out the user, and the user can listen to as required and issue a notice and make answer.
The present invention can significantly improve emergency information security of communication system, stability; The emergent notice of tradition need of work personnel go forward side by side to work through audio call notified party person and know the work that issues; Possibly cause the information content wrong running under the unsettled situation of circuit, and under the situation that notified party person can't answer, can cause situation such as notice failure.And utilize terminal that the present invention designs effectively to improve above problem; Can reduce communication speed assurance Content of Communication integrality automatically in case of circuit is unstable; After normal reception information, also can store; Treat to listen to after the user sees prompting, and can after the user confirms, confirm operation from trend notice transmit leg.
Embodiment
A kind of communication system voice terminal based on wired telephone network that the present invention proposes combines accompanying drawing and embodiment to specify as follows:
General structure of the present invention is as shown in Figure 1; Comprise the main control unit that is used for carrying out exchanges data with cable telephone network, and the function selecting push-button unit, power supply and fresh information state led display unit, loudspeaker unit, sound volume regulation unit and the AC/DC power supply that link to each other with this main control unit respectively; Wherein the function of each assembly of elements and concrete implementation are explained respectively as follows:
The function selecting push-button unit is used to scan user's key-input operation, and input signal is sent to main control unit.
Power supply and fresh information state led display unit are used for the display terminal power supply and accept the state of fresh information.
Loudspeaker unit is used for audio electrical signal and converts voice signal output into.
Sound volume regulation unit is used to adjust the audio electrical signal input variable.
The AC/DC power supply is used for from outside input ac power, for each unit, terminal power supply is provided after converting DC power supply into.
Main control unit is used for carrying out exchanges data through wired telephone network and outside; The text data that receives is stored; And point out through power supply and fresh information state led display unit; After the user carries out input operation through the function selecting push-button unit, text data is synthesized audio signal through loudspeaker unit output.
The specific embodiment structure of above-mentioned each unit of the present invention is explained respectively as follows:
The concrete structure of main control unit is as shown in Figure 2; Said main control unit comprises single-chip microcomputer, and the linear stabilized power supply that links to each other with single-chip microcomputer respectively, microcomputer monitoring circuit, information data store, embedded modem, VODER, audio power amplifier.
Its physical circuit implementation structure and function; As shown in Figure 3; Linear stabilized power supply U1 adopts low pressure difference linearity source of stable pressure chip SPX1117-3.3; Act as input direct current 5V/2A power supply, output direct current 3.3V/800mA power supply, the power output end of source of stable pressure U1 are that single-chip microcomputer U3, information data memory cell U4, embedded modem cellular system members U5, text synthetic speech unit U8 provide D.C. regulated power supply.
Microcomputer monitoring circuit U 2 adopts chip CAT811-T; As the 3.3V direct-flow voltage regulation source in the monitoring main control unit; When source of stable pressure voltage is lower than the threshold value that presets, send reset signal to single-chip microcomputer, embedded modem system end element U5, VODER U8.
Single-chip microcomputer U3 adopts LPC2134 type single-chip microcomputer, and it has 128kB program storage and 16kB random asccess memory based on 16/32 ARM7TDMI-S kernel, and operating rate reaches as high as 60MHz.Working procedure control embedded modem in the single-chip microcomputer carries out exchanges data through wired telephone network and outside; With the text data store that receives in information data store; Concurrent feed signals is given power supply and fresh information state led display unit prompting user; Single-chip microcomputer is read and is sent to VODER with the text data in the flash memory and carry out the operation of text synthetic speech after receiving the user key-press operation signal.The working procedure of single-chip microcomputer is based on the uVision4 development environment of Keil company and writes, and the compiler of employing is RealView MDK Professional Version 4.12.
Information data store U4 adopts flash memory (FLASH MEMORY) AT26DF161A, and it act as effective text message that storage receives through embedded modem.Information data store links to each other with four mouth line P0.4-P0.7 of SPI0 (Serial Peripheral Interface (SPI) 0) (SCK0, MISO0, MOSI0, SSEL0) of single-chip microcomputer U3 through SCK, SO, SI, CS (P6, P2, P5, P1) and carries out exchanges data.Embedded modem has adopted double-chip structure, and the twin-core sheet is respectively system end (system-side) U5 chip Si2457 and line end (line-side) U6 chip Si3018 in this structure.The major function of system end chip Si2457 comprises the AT instruction that reception single-chip microcomputer U3 issues and responds; The digital signal that receives the single-chip microcomputer transmission is modulated into analog signal then and sends the line end chip to; And the analog signal that the line end chip receives is modulated to digital signal sends single-chip microcomputer to, embedded modem system end chip links to each other and carries out communication with seven mouth line P0.8 of UART1 (universal asynchronous reception/transmission bus 1), P0.9, P0.10, P0.11, P0.12, P0.14, the P0.15 (TXD1, RXD1, RTS1, CTS1, ESC, DCD1, RI1) of single-chip microcomputer band standard modem interface (Standard modeminterface) through TXD, RXD, RTS, CTS, ESC, DCD, RI (P10, P9, P8, P11, P22, P23, P17).Line end chip Si3018 is the line end chip that adopts DAA (Direct Access Arrangement direct access agreement) technology; The main effect of line end chip U6 is with safety ELV circuit (Safety Extra Low Voltage; Be called for short SELV; Safe ELV circuit is a secondary circuit of having done suitable design and protection, makes under normal operation or under the single failure condition, between any two palp parts; And can touch the voltage between the protective earthing terminal of parts and equipment arbitrarily, all can not surpass safety value.Generally speaking, safe ELV is 25Vac.) with communication network potential circuit (the Telephone Network Voltage of high-tension circuit; Be called for short TNV; The communication network potential circuit is the circuit that can touch in the equipment that contact area is restricted; This circuit has been done suitable design and protection, make in normal working conditions with the single failure condition under, its voltage all can not surpass the limit value of regulation.) isolate; It links to each other and carries out the modulator-demodulator internal exchange of data with C1A, the C2A (14 pin, 13 pin) of system end chip U5 through C1B, C2B (5 pin, 6 pin), and (through its peripheral rectification circuit) links to each other with the electrode line and the negative line (Tip and Ring) of fixed telephone network and carry out external data exchange.
VODER U8 adopts chip TDWX-105; It act as the instruction of reception single-chip microcomputer U3 transmission and respective feedback is carried out in instruction; When wherein if single-chip microcomputer issues synthetic instruction and text data, this chip gets started and carries out text synthetic operation and simulated audio signal being exported through built-in D/A (digital-to-analog conversion).VODER links to each other and carries out data communication with two mouth line P0.2, the P0.3 (SCL0, SDA0) of single-chip microcomputer I2C0 (twin wire serial bus interface 0) through pin SCL, SDA (P1, P2); And link to each other with single-chip microcomputer P0.30 to single-chip microcomputer feedback VODER work at present state through #RDY/BSY (P6), the phonetic synthesis back simulated audio signal AOUTN (P10) through VODER that finishes exports sound volume regulation unit to.
Audio-frequency power amplifier U9 adopts chip LM4871, and it mainly acts on is the weak audio signal of telecommunication from the signal source VODER to be amplified to drive the paper film loudspeaker sound.Its input-IN (4 pin) links to each other with 2 pin of sound volume regulation unit to receive audio electrical signal through isolation capacitance and filter resistance, and output VO1, VO2 (5 pin, 8 pin) link to each other with loudspeaker unit and carry out audio frequency output.
Linear stabilized power supply adopts low pressure difference linearity source of stable pressure chip SPX1117-3.3, and it act as the DC source from AC/DC power supply input 5V/2A, and output 3.3V/800mA DC source is given each device in the main control unit.
The function selecting push-button unit is shown in Fig. 4 (a); Form by 4 OMRON (Omron) DPST (double-pole single-throw (D.P.S.T.)) switch; Wherein S1 is that " last one " button, S2 are that " next bar " button, S3 are that " playing/stop " button, S4 are " answer " button; The input pin of 4 buttons links to each other with the GND (digitally) of main control unit through 5 core interfaces (MBD), and output pin then links to each other with P0.25, P0.26, P0.27, the P0.28 of single-chip microcomputer U3 in the main control unit through 5 core interfaces (MBD) respectively.Its function is that single-chip microcomputer U3 corresponding pin produces the shorted to earth signal after the user presses respective keys, and single-chip microcomputer U3 makes corresponding operating after scanning short-circuit signal.
Power supply, fresh information state led display unit shown in Fig. 4 (b), mainly are made up of power supply indicator (PWR), fresh information indicator light (INF) and auxiliary circuit, and it links to each other with main control unit through 4 core interfaces (MBD).Its function comprise the terminal power on the back main control unit light power supply indicator to the power supply indicator circuit sending signal; Main control unit sends the flicker of pulse enable signal fresh information indicator light in acceptance and after storing effective text message to the fresh information indicator light, after the user listens to and confirms all fresh informations, sends signal at stop fresh information indicator light to the fresh information indicator light.
Sound volume regulation unit is an adjustable rheostat of 10K Ω (VOL), and shown in Fig. 4 (c), it links to each other with main control unit through 3 core interfaces.Audio frequency output AOUTN (pin 10) input audio signal that links to each other of adjustable rheostat 1 pin and text synthetic speech unit, signal input pin-IN (pin 4) output audio signal that links to each other of 2 pin and simulated audio signal power amplifier unit, 3 pin with simulate (AGND) link to each other.Its function is user's turn rheostat knob, is 0 Ω like rheostat pin 1 and 2 resistances of pin, and when 3 resistances of pin 2 and pin were 10K Ω, then input signal was directly exported to the simulated audio signal power amplifier unit; Like rheostat pin 1 and 2 resistances of pin is 10K Ω, and when 3 resistances of pin 2 and pin were 0 Ω, the output signal is short circuit over the ground, does not then export signal.
Loudspeaker unit adopts the paper film loudspeaker of resistance 8 Ω power 1W, and it links to each other with simulated audio signal power amplifier unit in the main control unit.
The AC/DC power supply adopts the input of 220V50Hz alternating current, and the high-frequency ac that 5V2A exchanges output becomes DC power supply.
The overall work flow process of present embodiment, as shown in Figure 5, may further comprise the steps:
This voice terminal is connected and connects power supply with cable telephone network; This voice terminal is started working; Waiting for server is dialled through cable telephone network and is termination number, if, then receive calls and wait for carrier wave (since ordinary telephone line on can only transmit voice signal; Therefore the embedded modem of this voice terminal will convert the digital signal on the computer into voice signal after the telephone wire transmission.Carrier wave in fact also is a kind of voice signal, and it is carrying the digital information on the computer.) set up; If not, then default conditions are got back at the terminal;
Server is judged terminal authentication information, and (terminal to server sends authentication information " MCT-100 (terminal models) "; With other embedded modem equipment of distinguishing user's wired telephone network and connecing); If; Then server sends down and sends instructions (instruction of photos and sending messages to terminal is " 101 " under the server, and server is uploaded the read message numbering and instructed " 102 ") to the terminal; If not, the then server operation of breaking, default conditions are got back at the terminal.
The instruction that the terminal judges server sends; As for issuing information command, then the terminal receives information encoding and message text text and storage, and confirmation is sent to server in the back that finishes; The server broken string, the terminal is got back to default conditions and is lighted the fresh information warning light and glimmers; As for uploading the instruction of read message numbering, then terminal to server is uploaded the information encoding that the user has read and confirmed, the back server broken string that finishes, and default conditions are got back at the terminal.
User's operating process of present embodiment is as shown in Figure 6, may further comprise the steps:
Read the user key-press operation according to " fresh information " led status.
Judges button operation when the fresh information indicator light does not glimmer if play button is then play and issued time and text message, returns the terminal default conditions after finishing; If the answer key is then play not return information prompting, back and return the terminal default conditions finishes.
Judges button operation during the flicker of fresh information indicator light is if play button is then play and issued time and text message, as then points out the user to press play button and get into next step after finishing; If the answer key is then play people of unread information quantity and prompting such as is listened to by play button, and returns the terminal default conditions.
Whether judges presses the answer key, if then get into next step; If not, then default conditions are got back at the terminal.
Other people of unread information have been judged whether, if then point out the user to remain people of unread information quantity and point out the user to listen to; If not, then play confirmation, the backstage, terminal is dialled the server number through wired telephone network and is cried.