CN213938049U - Telephone time service server - Google Patents

Telephone time service server Download PDF

Info

Publication number
CN213938049U
CN213938049U CN202120062531.9U CN202120062531U CN213938049U CN 213938049 U CN213938049 U CN 213938049U CN 202120062531 U CN202120062531 U CN 202120062531U CN 213938049 U CN213938049 U CN 213938049U
Authority
CN
China
Prior art keywords
time
signal
telephone
circuit
main control
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.)
Expired - Fee Related
Application number
CN202120062531.9U
Other languages
Chinese (zh)
Inventor
金晓臻
武晓亮
杨莹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
National Time Service Center of CAS
Original Assignee
National Time Service Center of CAS
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by National Time Service Center of CAS filed Critical National Time Service Center of CAS
Priority to CN202120062531.9U priority Critical patent/CN213938049U/en
Application granted granted Critical
Publication of CN213938049U publication Critical patent/CN213938049U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electric Clocks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a telephone time service server, which comprises a clock circuit, a time information processing circuit, a main control circuit, a DA/AD conversion circuit, a voice recording and playing processing circuit and a telephone module, wherein the clock circuit shapes a clock signal and then sends the clock signal to the main control circuit to provide a working clock for the main control circuit; the time information processing circuit receives an external time signal, performs level conversion on the time signal and then sends the time signal to the main control circuit to provide a time source; the main control circuit generates a control signal according to the time source to control the voice recording and playing processing circuit to send a voice time signal, the DA/AD conversion circuit converts a time source digital signal into a time service analog signal, the voice time signal and the time service analog signal are sent to the telephone module, and the telephone module transmits the two signals to the user side. The invention is compatible with the functions of telephone time service and telephone time service, saves cost and can promote the popularization and application of the telephone time service technology.

Description

Telephone time service server
Technical Field
The present invention relates to a telephone signal and time information processing apparatus.
Background
The telephone time signal provides the voice time signal for the user through the telephone network, the user can dial 117 voice time signal stations of various domestic cities to obtain time service, the method has the advantages of convenient and quick time acquisition, no limitation of a receiving device and regions and the like, the user can complete local time synchronization according to the voice time signal, and in addition, the method has better application prospect in occasions where the time cannot be acquired through radio and the Internet, such as tunnels, underground works and the like.
The telephone time service is a wired time service mode, time information can be transmitted to users through a telephone network, the telephone time service has a wide transmission range, time service signals are only transmitted in a telephone line and the telephone network, external interference is small, in addition, the time can be acquired by connecting the telephone time service receiving equipment with the telephone line, and the receiving equipment is simple. Based on the advantages, the telephone time service can better provide time service for users in the occasions where the wireless time service signals are shielded or interfered, and the application of the telephone time service can also be expanded to various fields of national economy along with the coverage range of a telephone network.
The 117 voice time service stations of various domestic cities can provide time service for users without a time service function, the telephone time service server can provide time service for the users without the time service function, the telephone time service server combines the telephone time service function with the time service function, not only can provide voice time service for the users, but also can provide time information such as 1PPS (pulse per second), time codes and the like for the users, the application range of the telephone time service is expanded, and convenience is provided for more users.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides the telephone time service server, the telephone time service and the telephone time service function are integrated in one server, the time service is better provided by utilizing the telephone network transmission, and the telephone time service and the time service user can obtain the time by dialing the telephone number of the server.
The technical scheme adopted by the invention for solving the technical problems is as follows: a telephone time service server comprises a clock circuit, a time information processing circuit, a main control circuit, a DA/AD conversion circuit, a voice recording and playing processing circuit and a telephone module.
The clock circuit shapes the clock signal and then sends the clock signal to the main control circuit to provide a working clock for the main control circuit; the time information processing circuit receives an external time signal, performs level conversion on the time signal and then sends the time signal to the main control circuit to provide a time source; the main control circuit generates a control signal according to the time source to control the voice recording and playing processing circuit to send a voice time signal, the DA/AD conversion circuit converts a time source digital signal into a time service analog signal, the voice time signal and the time service analog signal are sent to the telephone module, and the telephone module transmits the two signals to the user side.
The clock circuit comprises a crystal oscillator and an integer circuit, and is used for integrating sine wave frequency signals output by the crystal oscillator into square wave signals and sending the square wave signals to the main control unit so as to provide a system working clock for the main control unit.
The external time signal comprises a time code and a 1PPS signal.
The main control circuit sends two time signals of telephone time service and telephone time service successively when the user applies for one time service.
The main control circuit establishes local time according to the time source and the working clock, and completes local time keeping through internal timing of the clock.
The invention has the beneficial effects that: the telephone time service device is compatible with the telephone time service function, a user can obtain two signals of voice time service and telephone time service by dialing one number, the requirements of a single time service or time service user can be met, the requirements of the time service user needing time service can be met, the function of telephone time service equipment is added, the cost is saved, and the popularization and application of the telephone time service technology can be promoted.
Drawings
FIG. 1 is a block diagram of a telephone time service server according to the present invention;
FIG. 2 is a schematic circuit diagram of a telephone time service server according to the present invention;
fig. 3 is a flowchart of the main program of the telephone time service server according to the present invention.
Detailed Description
The present invention will be further described with reference to the following drawings and examples, which include, but are not limited to, the following examples.
The invention provides a telephone time service server, which comprises a clock circuit, a time information processing circuit, a main control circuit, a DA/AD conversion circuit, a voice recording and playing processing circuit and a telephone module.
The clock circuit shapes the clock signal and then sends the clock signal to the main control circuit, so as to provide a working clock for the main control circuit and also serve as a frequency source of the server. The time information processing circuit receives external time codes, 1PPS (pulse per second) and other time signals, performs level conversion on the time signals and then sends the time signals to the main control circuit to provide a time source for the server. The main control circuit receives the time signal transmitted by the time information processing circuit, establishes local time by combining the clock signal generated by the clock circuit, and generates a telephone time signal control signal and a telephone time signal. The time source digital signal is converted into an analog signal through a DA/AD conversion circuit and is sent to the telephone module. The voice recording and playing processing circuit records and stores the voice signals containing time in the circuit, and sends the time-telling voice signals to the telephone module according to the application time of the user under the control of the main control circuit. The telephone module couples the time signal generated by the voice recording and playing processing circuit and the time signal input by the DA/AD conversion circuit to the telephone line in sequence to complete the transmission of the time signal, and realizes the functions of ringing detection, off-hook, on-hook and the like.
The main control circuit can successively send two time signals of telephone time service and telephone time service when a user applies for time service.
The main control circuit establishes local time according to a time source and a clock circuit, and can finish local time keeping through internal timing of a clock.
As shown in fig. 1, the embodiment of the present invention includes a clock circuit, a time information processing circuit, a main control circuit, a DA/AD conversion circuit, a voice recording and playing processing circuit, a telephone module, and the like.
The clock circuit comprises a crystal oscillator and an integer circuit, and is used for integrating sine wave frequency signals output by the crystal oscillator into square wave signals and sending the square wave signals to the main control unit so as to provide a system working clock for the main control unit. The time information processing circuit comprises a 1PPS processing circuit and a time code processing circuit, and respectively receives an externally input 1PPS signal and a time code signal, performs level conversion on the signals, and then sends the signals to the main control circuit.
The main control circuit receives the 1PPS and the time code signal output by the time information processing circuit, combines the frequency signal input by the clock circuit to establish local time, controls the voice recording and playing processing unit to send a voice signal when a user applies for time, then sends a telephone time service signal to the DA/AD conversion circuit, and finally completes the sending of the telephone time service signal and the time service signal, and the main control circuit is composed of an FPGA and an ARM.
The DA/AD conversion circuit receives the telephone time service digital signals sent by the main control circuit, converts the digital signals into analog signals and sends the analog signals to the telephone module, and also receives the analog signals transmitted by the user side, converts the analog signals into digital signals and transmits the digital signals to the main control circuit. The voice recording and playing processing circuit records voice signals containing time such as year, month, day, ten seconds and the like in advance and stores the voice signals in a memory of the chip, and when a user makes a call, the voice signals stored locally are sent to the telephone module under the control of the main control circuit.
The telephone module couples the time-telling voice signal sent by the voice recording and playing processing circuit and the time-telling analog signal transmitted by the DA/AD conversion circuit to a telephone line, receives the analog signal from a user terminal through a telephone network, transmits the signal to the DA/AD conversion circuit to complete channel delay measurement, and completes operations such as ringing detection, off-hook, on-hook and the like under the control of the main control circuit.
As shown in fig. 2, the clock circuit of the telephone timing server is composed of a 10MHz crystal oscillator 101 and a comparator chip 102, the time information processing circuit is composed of a 1PPS signal processing chip 105 and a time code processing chip 108, the main control circuit is composed of an FPGA chip 103 and an ARM chip 109, and the voice recording and playing processing circuit is composed of a voice recording and playing chip 106 and an amplifier chip 107. The telephone timing server consists of a 10MHz crystal oscillator 101, a comparator chip 102, a 1PPS signal processing chip 105, a time code processing chip 108, an FPGA chip 103, an ARM chip 109, a voice recording and playing chip 106, an amplifier chip 107, a DA/AD conversion chip 104 and a telephone module 110. The model of the 10MHz crystal oscillator is JKOC36A, the model of the comparator chip is MAX961, the model of the 1PPS signal processing chip is 74SZ04, the model of the time code processing chip is MAX3232, the model of the FPGA chip is EP3C25E144I7, the model of the ARM chip is STM32F103ZE, the model of the voice recording and playing chip is ISD4004, the model of the amplifier chip is LM386, the model of the DA/AD conversion chip is TLV320AIC23, and the model of the telephone module is EC 8513.
The 10MHz high-stability crystal oscillator 101 adopts JKOC36A of Jingke Source general company, and sends 10MHz frequency to a P1 pin of a comparator chip 102 through a P4 pin, the comparator chip 102 adopts MAX961 and MAX961 to shape a sine wave signal input by the crystal oscillator into a square wave signal, and the square wave signal is connected with the FPGA through a P6 pin, and the frequency signal after shaping is sent to the FPGA as a working clock.
The 1PPS signal processing chip 105 adopts 74SZ04, receives an externally input 1PPS signal through a P2 pin, the signal is filtered and reflected by a 74SZ04 chip and then is output to the FPGA through a P4 pin, the time code processing chip 108 adopts MAX3232, the MAX3232 receives an externally input time code signal through the P13 pin, the RS232 level signal is converted into a TTL level signal, the TTL level signal is input to the ARM through a P11 pin, and the TTL level signal and the externally input 1PPS signal form a time source.
The voice recording and playing chip 106 adopts ISD4004 of ISD company, a memory in the chip can store 1200 voice signals of 16 minutes, the signals are connected with the ARM through pins P1-P3, P25, P28 and the like, and when the ARM receives a time application, the voice signals in the memory are controlled to be sent to the outside through the P13 pin through the SPI bus. The amplifier chip 107 is an LM386, and is connected to the voice chip through a P3 pin, receives the voice time signal, amplifies the voice signal, and sends the amplified voice signal to the telephone module through a P5 pin.
The DA/AD conversion chip 104 adopts an audio chip TLV320AIC23 of TI company, and can sample in a low-frequency range of 8 KHz-96 KHz, the invention selects 8KHz frequency to complete the conversion of signals AD and DA, the TLV320AIC23 is connected with FPGA through pins P3-P7 to complete the configuration of the chip and the transmission of digital time service signals, and the TLV320AIC23 is connected with a telephone module through P12 and P20 to complete the output and input of analog signals.
The telephone module 110 uses EC8513 of the enberkang company to receive the voice time signal output by the amplifier chip and the time service analog signal output by the DA/AD conversion chip successively through a pin P29, couple the two signals to the telephone channel through pins P13 and P14, and send the analog signal input by the telephone channel to the DA/AD conversion chip through a pin P16 to complete the sending of the analog signal. The telephone module is connected with the ARM through a serial port, receives an ARM instruction through the P5 and responds to the instruction through a P4 pin, so that functions of ringing detection, off-hook, on-hook and the like are completed.
As shown in fig. 3, the working steps of the telephone time service server according to the embodiment of the present invention are as follows:
1. system initialization
The system initialization mainly comprises the setting of ARM to serial port parameters and the setting of FPGA to DA/AD conversion chip, the setting to serial port mainly comprises the setting of baud rate, data bit and check bit of 3 serial ports such as time code receiving, debugging and telephone module communication, the baud rate of time code receiving and debugging serial port is 15200, the baud rate of telephone communication serial port is 9600, the data bit and check bit are default values, the configuration of FPGA to DA/AD conversion chip includes:
1) left line input channel volume control: write 151 to address 0X00, default input volume control, gain 0 db;
2) left line output volume control: write 1273 to address 0X02, attenuate the left line output volume, gain-10 db;
3) analog audio path control: write 2074 to address 0X04, disable tone-sensing, turn on DAC line input;
4) digital audio path control: write 2566 to address 0X05, not DAC attenuation and stress control;
5) digital audio interface format: writing 3679 to an address 0X07, closing the left-right interchange of the DAC, setting the DSP format for the data format, and setting the input length to be 16 bits;
6) and (3) sampling rate control: 4096 is written to address 0X08, the sampling rate is set to 8KHz, and the clock is set to normal mode;
7) resetting the interface: write 7680 to address 0X15, reset the register.
2. Time establishment
The time establishment means that the main control circuit establishes local time by receiving external time information and combining a clock signal, the ARM reads external time code information, verification is completed by judging the continuity of the time code information, the time of the year, the month, the day, the minute and the second is analyzed and converted into a second value, the FPGA receives an external 1PPS signal and combines the clock signal to count the second value to establish the local time, and the local time can still be maintained through a working clock under the condition that an external time source is lost.
3. Ringing detection
After the local time is established, the telephone module waits for the dialing of the user side in a mode of detecting ringing, if the ringing is detected, the ARM sends an instruction 'AT + VLS ═ 1' to the telephone module, responds to the dialing application of the user side and carries out off-hook, prepares for sending time information to the user side, and if the ringing is not reached, the telephone module continues to wait.
4. Telephone time signal
The time information of the voice time is recorded before the call time, and is stored in an on-chip memory, the ISD4004 can store the voice corresponding to the 16-bit address space, and selects the space corresponding to the lower 5-bit address for storage, and the recording address is shown in Table 1. After receiving the ringing signal, the ARM picks up the telephone, sequentially accesses the corresponding space of the recording address table according to the local time at the moment of picking up the telephone, outputs a voice time signal, and after the output is finished, the ARM sends a STOP instruction to the ISD4004 to STOP the voice time signal, and continues to carry out the telephone time service without hanging up the telephone.
TABLE 1 recording address table
Figure BDA0002892958750000061
5. Telephone time service
The invention adopts PN code to measure the time delay of receiving and transmitting, the FPGA generates PN code with code rate of 1.023KHz, then uses sine wave of 2KHz to make ASK modulation, the modulated signal bandwidth is 0.977 KHz-3.023 KHz, and is in line with the bandwidth requirement of telephone channel, the modulated signal is sent to DA/AD conversion chip and converted into analog signal, and is sent to user end by telephone module, the user end receives the signal and then sends back the same time delay measuring signal to server, and half of the time for sending and receiving the time delay measuring signal by server is the time delay of telephone channel.
After the time delay is measured, time codes and time delay including year, month, day, time minute and second are transmitted to a user side, the user side analyzes the time codes and outputs time information, 1PPS signals are analyzed and time delay output, BCH codes with the code rate of 250Hz (31,11 and 11) are adopted for time code transmission, the BCH codes are modulated in an FSK modulation mode that carrier signals are respectively 1KHz and 2KHz, and time code transmission signals are also generated by an FPGA and then are transmitted to a DA/AD conversion chip and then are transmitted to the user side through a telephone module.
6. Hanging machine
When the time code transmission is finished, the time reporting and the time service of the telephone are finished, the ARM sends an on-hook instruction 'ATH' to the telephone module to finish the time reporting and time service process, and if the user side does not receive the time reporting or time service signal, the user side redials and initiates time reporting and time service application again.

Claims (5)

1. A telephone time service server comprises a clock circuit, a time information processing circuit, a main control circuit, a DA/AD conversion circuit, a voice recording and playing processing circuit and a telephone module, and is characterized in that: the clock circuit shapes the clock signal and then sends the clock signal to the main control circuit to provide a working clock for the main control circuit; the time information processing circuit receives an external time signal, performs level conversion on the time signal and then sends the time signal to the main control circuit to provide a time source; the main control circuit generates a control signal according to the time source to control the voice recording and playing processing circuit to send a voice time signal, the DA/AD conversion circuit converts a time source digital signal into a time service analog signal, the voice time signal and the time service analog signal are sent to the telephone module, and the telephone module transmits the two signals to the user side.
2. A telephone timing server as claimed in claim 1, wherein: the clock circuit comprises a crystal oscillator and an integer circuit, and is used for integrating sine wave frequency signals output by the crystal oscillator into square wave signals and sending the square wave signals to the main control unit so as to provide a system working clock for the main control unit.
3. A telephone timing server as claimed in claim 1, wherein: the external time signal comprises a time code and a 1PPS signal.
4. A telephone timing server as claimed in claim 1, wherein: the main control circuit sends two time signals of telephone time service and telephone time service successively when the user applies for one time service.
5. A telephone timing server as claimed in claim 1, wherein: the main control circuit establishes local time according to the time source and the working clock, and completes local time keeping through internal timing of the clock.
CN202120062531.9U 2021-01-11 2021-01-11 Telephone time service server Expired - Fee Related CN213938049U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202120062531.9U CN213938049U (en) 2021-01-11 2021-01-11 Telephone time service server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202120062531.9U CN213938049U (en) 2021-01-11 2021-01-11 Telephone time service server

Publications (1)

Publication Number Publication Date
CN213938049U true CN213938049U (en) 2021-08-10

Family

ID=77158339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202120062531.9U Expired - Fee Related CN213938049U (en) 2021-01-11 2021-01-11 Telephone time service server

Country Status (1)

Country Link
CN (1) CN213938049U (en)

Similar Documents

Publication Publication Date Title
CN101577986B (en) Mobile communication terminal
CN209014929U (en) A kind of dual-time source network time server
CN102413208A (en) Method for realizing serial port communication by utilizing mobile phone earphone interface
CN206181385U (en) A test system for bluetooth function test and NFC message read -write
CN103927862B (en) G3 data forwarder and meter recording method for same
CN111953629A (en) Qi standard-based FSK demodulator of wireless charging equipment and demodulation method thereof
CN213938049U (en) Telephone time service server
CN209017140U (en) A kind of dual-time source digital telephone time service server
KR101285390B1 (en) Fixed mobile convergence terminal using of dowdownloadable wideband voice codec and its method and method for providing wideband voice codec in call control server
CN213938044U (en) Time service telephone set
CN201893782U (en) Carrier communication device for power line
CN209330406U (en) A kind of test automatic starting device
CN210609246U (en) Cloud thing allies oneself with intelligent stereo set control system
CN108134872A (en) The anti-interference method and Related product of electronic device
CN204270091U (en) A kind of to ring a bell system without wiring based on power line carrier, PLC
CN207572064U (en) A kind of speech recognition circuit and translation system
CN207283646U (en) Can plug-in card communication electronics class board
CN102346957A (en) 3G multi-card multi-mode high speed wireless acquiring and transmitting apparatus
CN206865562U (en) Utilize the mobile phone subordinate machine system of Wi Fi networks
CN211375073U (en) Detection apparatus for positioning terminal
CN209949149U (en) Distribution network signal transmission device
Cheng et al. ET gravimeter data collecting system based on GPRS
CN212322423U (en) System for power station infrared meter reading access cloud platform
CN215871846U (en) Testing device
CN215987565U (en) Microsecond-level precision synchronous data acquisition and high-speed wireless communication data acquisition instrument

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210810

CF01 Termination of patent right due to non-payment of annual fee