CN113327345A - Railway locomotive communication equipment recording device and data storage method thereof - Google Patents
Railway locomotive communication equipment recording device and data storage method thereof Download PDFInfo
- Publication number
- CN113327345A CN113327345A CN202110657422.6A CN202110657422A CN113327345A CN 113327345 A CN113327345 A CN 113327345A CN 202110657422 A CN202110657422 A CN 202110657422A CN 113327345 A CN113327345 A CN 113327345A
- Authority
- CN
- China
- Prior art keywords
- unit
- main control
- control unit
- data
- communication equipment
- 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
- 238000004891 communication Methods 0.000 title claims abstract description 153
- 230000003137 locomotive effect Effects 0.000 title claims abstract description 90
- 238000000034 method Methods 0.000 title claims abstract description 13
- 238000013500 data storage Methods 0.000 title abstract description 14
- 238000006243 chemical reaction Methods 0.000 claims abstract description 38
- 230000006835 compression Effects 0.000 claims abstract description 28
- 238000007906 compression Methods 0.000 claims abstract description 28
- 230000006870 function Effects 0.000 claims description 16
- 230000015654 memory Effects 0.000 claims description 9
- 238000012545 processing Methods 0.000 claims description 6
- 230000005236 sound signal Effects 0.000 claims description 6
- RHGKLRLOHDJJDR-BYPYZUCNSA-N L-citrulline Chemical compound NC(=O)NCCC[C@H]([NH3+])C([O-])=O RHGKLRLOHDJJDR-BYPYZUCNSA-N 0.000 claims 12
- 230000006837 decompression Effects 0.000 abstract 1
- 238000012937 correction Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 239000000470 constituent Substances 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- QSHDDOUJBYECFT-UHFFFAOYSA-N mercury Chemical compound [Hg] QSHDDOUJBYECFT-UHFFFAOYSA-N 0.000 description 1
- 229910052753 mercury Inorganic materials 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0841—Registering performance data
- G07C5/085—Registering performance data using electronic data carriers
- G07C5/0858—Registering performance data using electronic data carriers wherein the data carrier is removable
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L19/00—Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
The invention provides a recording device of communication equipment of a railway locomotive and a data storage method thereof, and the recording device comprises a main control unit, an analog-digital-analog conversion unit, an RS232 data communication unit, an NPN circuit, a storage unit, an LED display unit, a USB data communication unit, a clock unit and a power supply unit, wherein a G.729 voice compression coding and decoding algorithm is arranged in the main control unit. The analog-digital-analog conversion unit is connected with the main control unit by adopting a low-power-consumption and low-voltage audio analog-digital conversion chip UDA1341, the main control unit adopts a low-power-consumption and high-speed AM335x embedded microprocessor, a high-efficiency G.729 voice compression coding and decoding algorithm is arranged in the main control unit, and a high-speed FLASH data storage chip is adopted by combining a storage unit, so that the compression writing, reading and decompression of voice data are realized, the storage requirements of the communication voice and the working state of the CIR of the locomotive comprehensive communication equipment are met, the equipment volume is effectively reduced, and the equipment cost is saved.
Description
Technical Field
The invention relates to the technical field of communication equipment of railway locomotives, in particular to a recording device of the communication equipment of the railway locomotive and a data storage method thereof.
Background
With the rapid development of technology, the demand for communication technology and services on locomotives is increasing, and the communication equipment on locomotives is further developed and perfected. Voice recording devices using magnetic tapes as recording media are gradually eliminated, digital voice recording devices using FLASH memories as recording media are widely applied, and the characteristics of electronization, no mechanical wear, comprehensive functions and the like are favored by users, but if voice data is directly stored or is stored after being compressed and coded with low efficiency, a large storage space is needed, so that the problems of large volume of the storage devices, waste of the storage space, high device cost and the like are caused.
Disclosure of Invention
In order to solve the defects of the prior art, the invention aims to provide a recording device of communication equipment of a railway locomotive and a data storage method thereof so as to overcome the defects in the prior art.
In order to achieve the purpose, the invention provides a railway locomotive communication equipment recording device, which comprises a main control unit, an analog-digital-analog conversion unit, an RS232 data communication unit, an NPN circuit, a storage unit, an LED display unit, a USB data communication unit, a clock unit and a power supply unit, wherein the main control unit is used for controlling the analog-digital-analog conversion unit; the master control unit is connected with the locomotive integrated communication equipment CIR through an analog-digital-analog conversion unit, a G.729 voice compression coding and decoding algorithm is arranged in the master control unit, and the analog-digital conversion unit and the G.729 voice compression coding and decoding algorithm are used for processing voice signals of the locomotive integrated communication equipment CIR so as to realize the recording and playing functions of the locomotive integrated communication equipment CIR; the main control unit is connected with the locomotive integrated communication equipment CIR through an RS232 data communication unit, and the RS232 data communication unit is used for data communication between the locomotive integrated communication equipment CIR and the recording device so as to record the running state information of the locomotive integrated communication equipment CIR in real time; the locomotive integrated communication equipment CIR is connected with an NPN circuit, the NPN circuit is connected with the main control unit, and the NPN circuit is used for receiving a low-level signal of the locomotive integrated communication equipment CIR to control the main control unit to start and stop G.729 voice compression coding and decoding so as to realize the function of controlling the start and the end of recording; the storage unit is connected with the main control unit and is used for storing the communication voice data and the running state data of the CIR; the LED display unit is connected with the main control unit and is used for displaying the working state information of the recording device in real time; the main control unit is connected with the computer special software or the USB flash disk through a USB data communication unit, and the USB data communication unit is used for data communication between the computer special software or the USB flash disk and the recording device; the clock unit is connected with the main control unit and is used for recording the starting time and the ending time of various data; the locomotive integrated communication equipment CIR is connected with a power supply unit, the power supply unit is an DC3.3V stabilized power supply module, so that the locomotive integrated communication equipment CIR provides direct current DC13.8V power for the power supply unit, and the power supply unit provides direct current DC3.3V power for the recording device.
According to the technical scheme, the analog-digital conversion unit is connected with the main control unit through the UDA1341 which is a low-power-consumption and low-voltage audio analog-digital conversion chip, the main control unit adopts a low-power-consumption and high-speed AM335x embedded microprocessor, a high-efficiency G.729 voice compression coding and decoding algorithm is embedded, and a high-speed FLASH data storage chip is adopted in combination with the storage unit, so that the operations of compressing, writing, reading, decompressing and the like of voice data are realized quickly and efficiently, the storage requirements of voice and digital recording information of railway locomotive equipment are met with less data storage space, the equipment volume is effectively reduced, and the equipment cost is saved.
As a further description of the communication device recording apparatus for a railway locomotive according to the present invention, preferably, the main control unit is connected to the analog-to-digital conversion unit through an IIS interface and an L3 interface, the main control unit is connected to the RS232 data communication unit through a UART interface, the main control unit is connected to the NPN circuit through a GPIO interface, the main control unit is connected to the storage unit through an SPI interface, the main control unit is connected to the LED display unit through an SPI interface, the main control unit is connected to the USB data communication unit through a USB interface, and the main control unit is connected to the clock unit through an IIC interface.
As a further explanation of the recording apparatus of the communication device of the railway locomotive according to the present invention, preferably, during recording, an analog audio signal output by the integrated communication device CIR of the locomotive is converted into a 16bit linear PCM digital voice signal by the analog-to-digital conversion unit, and then compressed digital voice data is obtained by a g.729 voice compression coding and decoding algorithm in the main control unit and stored in the storage unit; during playing, the main control unit reads the compressed digital voice data in the storage unit, the compressed digital voice data is decoded by a G.729 voice compression coding and decoding algorithm in the main control unit to obtain a 16-bit linear PCM digital voice signal, and the 16-bit linear PCM digital voice signal is converted into a clear analog audio signal by the analog-digital-analog conversion unit and is sent to the CIR of the locomotive integrated communication equipment.
As a further explanation of the railroad locomotive communication equipment recording device according to the present invention, it is preferable that the USB data communication unit is connected to the computer-dedicated software to read the recorded data, and the USB data communication unit is connected to the USB disk to dump the recorded data.
By the technical scheme, the U disk is supported to read the recorded data, a user can select to be directly connected with the recording device through special software of the computer to read the recorded data or read the recorded data stored in the U disk, and then the recorded data is stored, recorded sound is played, the running state of the CIR equipment is analyzed, and the high-efficiency and accurate daily maintenance and fault repair work of the CIR equipment is supported.
As a further explanation of the communication device recording apparatus for a railroad locomotive according to the present invention, preferably, the clock unit uses a high-precision DS3231 clock chip with an annual error of less than 1 minute, and the clock unit corrects the time by time synchronization in the GPS satellite positioning information or time synchronization of the integrated communication device CIR of the locomotive.
Through the technical scheme, the accurate recording of the starting time and the ending time of various data is realized.
As a further explanation of the recording device of the railroad locomotive communication equipment according to the present invention, it is preferable that the storage unit employs a NandFLASH memory which is a nonvolatile memory having a high data read/write speed and a large capacity.
Through the technical scheme, the storage function of recording data by a large number of devices is realized.
In order to achieve another object of the present invention, the present invention further provides a data storage method using the communication equipment recording apparatus for a railroad locomotive, the data storage method comprising the steps of: when the voice control mode is adopted, the recording device receives an analog voice signal, the analog-digital-analog conversion unit converts the analog voice signal into a digital voice signal and sends the digital voice signal to the main control unit, the main control unit starts a G.729 voice compression coding and decoding algorithm to perform voice compression coding on the digital voice signal, and compressed digital voice data are stored in the storage unit; when the locomotive comprehensive communication equipment CIR is in an electric control mode and needs to record, a low level signal is provided by the locomotive comprehensive communication equipment CIR and is sent to the main control unit through the NPN circuit, the main control unit controls the main control unit to carry out compressed voice coding work in the period of low level validity through detecting the level signal, and the coded digital voice data is stored in the storage unit.
The invention has the following beneficial effects: the analog-digital-analog conversion unit is connected with the main control unit by adopting a low-power-consumption and low-voltage audio analog-digital conversion chip UDA1341, the main control unit adopts a low-power-consumption and high-speed AM335x embedded microprocessor, a high-efficiency G.729 voice compression coding and decoding algorithm is embedded, and a high-speed FLASH data storage chip is adopted in combination with the storage unit, so that the operations of compressing, writing, reading, decompressing and the like of voice data are realized quickly and efficiently, the storage requirements of voice and digital recording information of railway locomotive equipment are met by using less data storage space, the equipment volume is effectively reduced, and the equipment cost is saved.
Drawings
FIG. 1 is a schematic diagram of the configuration of a railroad locomotive communication equipment recording device of the present invention.
Fig. 2 is a schematic structural diagram of a master control unit according to the present invention.
Detailed Description
To further understand the structure, characteristics and other objects of the present invention, the following detailed description is given with reference to the accompanying preferred embodiments, which are only used to illustrate the technical solutions of the present invention and are not to limit the present invention.
As shown in fig. 1, the recording device of the communication equipment of the railway locomotive comprises a main control unit 1, an analog-digital-analog conversion unit 2, an RS232 data communication unit 3, an NPN circuit 4, a storage unit 5, an LED display unit 6, a USB data communication unit 7, a clock unit 8 and a power supply unit 9. The master control unit 1 is connected with the locomotive integrated communication equipment CIR10 through the analog-digital-analog conversion unit 2, the master control unit 1 is internally provided with a G.729 voice coding and decoding algorithm, and the analog-digital conversion unit 2 and the G.729 voice coding and decoding algorithm are used for processing voice signals of the locomotive integrated communication equipment CIR10 so as to realize the recording and playing functions of the locomotive integrated communication equipment CIR 10. The main control unit 1 is connected with the locomotive integrated communication equipment CIR10 through the RS232 data communication unit 3, and the RS232 data communication unit 3 is used for data communication between the locomotive integrated communication equipment CIR10 and the recording device so as to record the running state information of the locomotive integrated communication equipment CIR10 in real time. The locomotive integrated communication equipment CIR10 is connected with the NPN circuit 4, the NPN circuit 4 is connected with the main control unit 1, and the NPN circuit 4 is used for receiving a low-level signal of the locomotive integrated communication equipment CIR10 to control the main control unit 1 to start and stop G.729 voice coding and decoding so as to realize the function of controlling the start and end of recording. The storage unit 5 is connected with the main control unit 1, and the storage unit 5 is used for storing the call voice data and the operation state data of the locomotive integrated communication equipment CIR 10. The LED display unit 6 is connected with the main control unit 1, and the LED display unit 6 is used for displaying the working state information of the recording device in real time. The main control unit 1 is connected with computer-dedicated software or a USB flash disk through a USB data communication unit 7, and the USB data communication unit 7 is used for data communication between the computer-dedicated software or the USB flash disk and the recording device. The clock unit 8 is connected with the main control unit 1, and the clock unit 8 is used for recording the start time and the end time of various data. The locomotive integrated communication equipment CIR10 is connected with the power supply unit 9, the power supply unit 9 adopts a DC3.3V stabilized voltage power supply module with high efficiency and small ripple, so that the locomotive integrated communication equipment CIR10 provides direct current DC13.8V power for the power supply unit 9, and the power supply unit 9 provides stable and reliable direct current DC3.3V power for the recording device.
The main control unit 1 adopts an AM335x embedded microprocessor with high-speed data processing capability, realizes a Linux operating system on the hardware platform, has a running main frequency up to 1GHz, supports the functions of a CAN bus controller, an IIC controller, an SPI controller, a 512M Byte DDR3 large-capacity memory, a USB high-speed data communication interface, a plurality of UART serial ports and the like, and is very suitable for application scenes of low power consumption, high-speed data processing, high-speed data communication and the like. The main control unit 1 communicates with each constituent unit according to a specified protocol interface, analyzes and processes data information transmitted on a communication link, and controls each constituent unit to work according to functional requirements. As shown in fig. 2, the main control unit 1 is connected to the analog-to-digital conversion unit 2 through an IIS interface, so as to implement audio data communication between the main control unit 1 and the analog-to-digital conversion unit 2; the main control unit 1 is connected with the analog-digital-analog conversion unit 2 through an L3 interface, so that data communication between the main control unit 1 and a control register of the analog-digital-analog conversion unit 2 is realized, and the main control unit 1 sets parameters of the analog-digital-analog conversion unit 2 and controls the gain of playback signal amplitude; the main control unit 1 is connected with the RS232 data communication unit 3 through a UART interface, high-speed serial data communication between the main control unit 1 and the RS232 data communication unit 3 is realized, and based on level conversion of communication data by the RS232 data communication unit 3, stable and reliable high-speed serial data communication between the recording device and the locomotive integrated communication equipment CIR10 is further realized; the main control unit 1 is connected with the NPN circuit 4 through the GPIO interface, so that the CIR10 of the locomotive integrated communication device controls the NPN circuit 4 through a low-level signal, and further controls the main control unit 1 to start and stop G.729 voice compression coding and decoding, and the function of controlling the start and stop of recording is realized; the main control unit 1 is connected with the storage unit 5 through the SPI interface, so that data communication between the main control unit 1 and the storage unit 5 is realized, and the storage and reading work of a large amount of voice data and running state data at high speed of the locomotive integrated communication equipment CIR10 is realized; the main control unit 1 is connected with the LED display unit 6 through the SPI interface, so that the communication between the main control unit 1 and the LED display unit 6 is realized, and various working state information of the recording device is displayed in real time; the main control unit 1 is connected with the USB data communication unit 7 through a USB interface, so that data communication between the main control unit 1 and computer special software is realized, high-speed data communication between the main control unit 1 and a USB flash disk is realized, and a function of transferring a large amount of recorded data in a recording device to a computer is realized; the main control unit 1 is connected with the clock unit 8 through an IIC interface, so that data communication between the main control unit 1 and the clock unit 8 is realized, and functions of clock reading, time correction and the like are realized.
The G.729 standard is a rate 8kbit/s conjugate structure algebraic codebook excited linear prediction (CS-ACELP) speech compression coding standard established by the International telecommunication Union (ITU-T). The recording device of the railway locomotive communication equipment adopts a G.729 voice compression coding and decoding algorithm, realizes higher voice compression coding rate, lower algorithm delay and clearer decoding and synthesizing voice, has an MOS value higher than 4.0, and is very suitable for the requirement of the railway locomotive communication real-time communication voice storage.
The analog-digital-analog conversion unit adopts an audio analog-digital-analog conversion chip UDA1341 with low power consumption and low voltage, when recording, an analog audio signal output by the locomotive integrated communication equipment CIR10 is converted into a 16-bit linear PCM digital voice signal through the analog-digital-analog conversion unit 2, and then the digital voice data after compression is obtained through a G.729 voice coding and decoding algorithm in the main control unit 1 and stored in the storage unit 5; during playing, the main control unit 1 reads the compressed digital voice data in the storage unit 5, the compressed digital voice data is decoded by a G.729 voice coding and decoding algorithm in the main control unit 1 to obtain a 16-bit linear PCM digital voice signal, and the 16-bit linear PCM digital voice signal is converted into a clear analog audio signal by the analog-digital conversion unit 2 and is sent to the locomotive integrated communication equipment CIR 10.
The data communication of the RS232 data communication unit 3 comprises that the locomotive integrated communication equipment CIR10 sends the running state information to the recording device in real time and stores the running state information; an operation unit MMI of the locomotive integrated communication equipment CIR10 performs operations such as recording query, recording playing request, running state history information query, clock correction, query and setting of a recording working mode, query of a software version number of a recording device and the like on the recording device; the recording device regularly requests the locomotive integrated communication equipment CIR10 to send CIR equipment time and GPS satellite positioning information, and then automatically corrects the time of the locomotive.
The USB data communication unit 7 adopts a high-speed USB serial data communication chip, supports the USB2.0 standard, and has a communication speed as high as 480 MB/S. The USB data communication unit 7 is connected with the computer special software to read recorded data for inquiring and playing the recorded sound, and the USB data communication unit 7 is connected with the USB flash disk to dump the recorded data. Namely, the USB disk is inserted into the USB interface of the recording apparatus, the recording apparatus detects the insertion of the USB disk, and the main control unit 1 reads the data stored in the storage unit 5 and writes the data into the USB disk. The user inserts the USB flash disk into the USB interface of the computer, reads the data in the USB flash disk through the special software of the computer, converts the voice data in the USB flash disk into WAV format audio files, converts the digital data such as the working state and the like into TXT format files, and stores the TXT format files in the hard disk of the computer. The names of the voice and digital files are named by the recording time. The special software of the computer can effectively manage the stored data of CIR equipment such as conversation voice, running state and the like. Another way of unloading the recorded data is to connect the USB interface of the computer with the USB interface of the recording device, and send a recorded data unloading command through the computer-specific software, to read all the recorded data stored in the recording device, to realize unloading of the recorded data.
The clock unit 8 adopts a high-precision DS3231 clock chip with the annual error less than 1 minute, and the clock unit 8 corrects the time through the time synchronization in the GPS satellite positioning information or the time synchronization of the locomotive integrated communication equipment CIR 10. The clock correction can be realized through three modes, namely, the time of the recording device is manually inquired and recorded through an operation unit MMI of the locomotive integrated communication equipment CIR10, and is corrected; secondly, manually inquiring the time of the recording device through special software of the computer, and correcting; and thirdly, the recording device actively requests the locomotive comprehensive communication equipment CIR10 to send CIR equipment time and current GPS data information at intervals, after receiving the response of the CIR equipment, if the CIR equipment has the GPS information, the time information in the GPS information is taken as the standard for correction, and if the GPS information does not exist, the CIR equipment time is taken as the standard for correction. The accurate recording device clock provides accurate recording time for recording of various information, is favorable for effective analysis and fault judgment of recorded data, and effectively improves the safety of railway transportation. The power supply of the clock unit 8 adopts DC3.3V power supply provided by the power supply unit, when the power supply of the recording device is turned off, the CR1620 coin cell supplies DC3V power supply to the recording device, and the CR1620 coin cell has the advantages of no mercury, environmental protection, stable performance, long service life and the like.
The storage unit 5 adopts a nonvolatile memory NandFLASH memory with high data read-write speed and large capacity to realize the quick storage and reading of information such as CIR voice, data and the like, and meets the requirements of CIR equipment on communication voice and working state recording. The recording device requires that the voice recording accumulated time length is more than or equal to 70 hours, and the data recording accumulated number is more than or equal to 10000.
The G.729 compression encoding algorithm can achieve a speech compression rate of 8Kbit/s (i.e., 1000B/s).
Recording time was 70 hours 3600 seconds/hour 252000 seconds.
Voice recording space-recording time-voice compression rate 252000 seconds 1000 bytes/second 240.3 MB.
The data recording space is 10000 × 512 bytes, 4.9 MB.
The storage capacity of the Flash chip is equal to or more than 240.3MB +4.9MB which is 245.2 MB; generally, FLASH chips exist in the form of 2 raised to the power of N, so that 256MB FLASH chips are adopted. In the scheme, the storage capacity of the Flash chip is 512MB, which is enough to meet the storage requirement of CIR equipment recording data.
The LED display unit 6 adopts a high-quality, high-definition and colorful liquid crystal display screen to realize real-time display of working state information of the recording device, such as power supply, operation, voice recording, data recording, playing, communication, button battery power, local time and the like.
In addition, based on the recording device of the railway locomotive communication equipment, a data storage method is provided, and the voice data of the locomotive comprehensive communication equipment CIR10 are recorded and stored, so that the recording and playing functions are realized. The recording device has two recording modes, one is a sound control mode, and the other is an electric control mode. The user can set the recording mode through the operation unit MMI of the CIR or the special software of the computer. Thus, the data storage method comprises the steps of: when the voice control mode is adopted, the recording device receives an analog voice signal, the analog-digital-analog conversion unit 2 converts the analog voice signal into a digital voice signal and sends the digital voice signal to the main control unit 1, the main control unit 1 starts a G.729 voice coding and decoding algorithm to perform voice compression coding on the digital voice signal, and compressed digital voice data are stored in the storage unit 5; when the vehicle is in the electric control mode and needs to record, the locomotive integrated communication device CIR10 provides a low level signal and sends the low level signal to the main control unit 1 through the NPN circuit 4, the main control unit 1 controls the main control unit 1 to perform compressed voice coding work during the period of low level validity by detecting the level signal, and stores the coded digital voice data in the storage unit 5.
The user can search a certain recording according to the recording time and request to play the recording through the operation unit MMI of the locomotive integrated communication device CIR 10. After the recording device receives the playback request, the main control unit 1 reads corresponding voice data in the storage unit 5, runs a G.729 voice coding and decoding algorithm to perform compressed voice decoding, then sends the decoded data to the analog-digital-analog conversion unit 2, converts the decoded data into an analog voice signal, and sends the analog voice signal to an operation unit MMI of the locomotive integrated communication equipment CIR10 to play.
The user can search a certain recording according to the recording time through special software of the computer. After the recording device receives the request, the main control unit 1 reads the corresponding voice data, and then sends the voice data to the computer, and the special software of the computer converts the voice data format into WAV format and plays the voice.
Based on the high-speed, low-power-consumption and high-efficiency ARM digital processing technology, a high-quality, low-time-delay and high-compression-efficiency G.729 voice compression coding and decoding algorithm is combined to construct a high-efficiency, low-power-consumption and large-capacity railway locomotive communication equipment recording device, wherein the recording device mainly has the functions of sampling, analog-to-digital conversion, voice compression coding, storage and the like of voice signals received and sent by CIR equipment; carrying out serial digital communication with the CIR equipment, and recording the running state information of the CIR equipment in real time; responding requests of an operation unit MMI of the CIR equipment and computer special software for inquiring the recorded data stored in the recording device, playing the recorded data and inquiring, correcting the clock and the working mode of the recording device and the like; the working state of the recording device is displayed in real time by adopting a high-definition liquid crystal display screen; the method has the advantages that the insertion of the USB flash disk is automatically identified, recorded data are written into the USB flash disk and other functions, the real-time recording of communication voice of a locomotive comprehensive wireless communication device CIR under the conditions of railway transportation running operation and the like, the real-time recording of running states of the CIR device such as starting up, GSM-R network registration/cancellation, function number registration/cancellation, signal strength, operation, mode switching, service carrying, detection, alarm information, shutdown, power supply state and the like is realized, and timely and effective data support is provided for daily maintenance and fault maintenance work of the CIR device.
It should be noted that the above summary and the detailed description are intended to demonstrate the practical application of the technical solutions provided by the present invention, and should not be construed as limiting the scope of the present invention. Various modifications, equivalent substitutions, or improvements may be made by those skilled in the art within the spirit and principles of the invention. The scope of the invention is to be determined by the appended claims.
Claims (7)
1. The recording device of the communication equipment of the railway locomotive is characterized by comprising a main control unit (1), an analog-digital-analog conversion unit (2), an RS232 data communication unit (3), an NPN circuit (4), a storage unit (5), an LED display unit (6), a USB data communication unit (7), a clock unit (8) and a power supply unit (9); wherein,
the master control unit (1) is connected with the locomotive integrated communication equipment CIR (10) through an analog-digital-analog conversion unit (2), a G.729 voice coding and decoding algorithm is arranged in the master control unit (1), and the analog-digital conversion unit (2) and the G.729 voice compression coding and decoding algorithm are used for processing voice signals of the locomotive integrated communication equipment CIR (10) so as to realize the recording and playing functions of the locomotive integrated communication equipment CIR (10);
the main control unit (1) is connected with the locomotive integrated communication equipment CIR (10) through the RS232 data communication unit (3), and the RS232 data communication unit (3) is used for data communication between the locomotive integrated communication equipment CIR (10) and the recording device so as to record the running state information of the locomotive integrated communication equipment CIR (10) in real time;
the locomotive integrated communication equipment CIR (10) is connected with the NPN circuit (4), the NPN circuit (4) is connected with the main control unit (1), and the NPN circuit (4) is used for receiving a low-level signal of the locomotive integrated communication equipment CIR (10) to control the start and stop of the main control unit (1) to perform G.729 voice coding and decoding so as to realize the function of controlling the start and stop of recording;
the storage unit (5) is connected with the main control unit (1), and the storage unit (5) is used for storing communication voice data and running state data of the locomotive integrated communication equipment CIR (10);
the LED display unit (6) is connected with the main control unit (1), and the LED display unit (6) is used for displaying the working state information of the recording device in real time;
the main control unit (1) is connected with computer special software or a USB flash disk through a USB data communication unit (7), and the USB data communication unit (7) is used for data communication between the computer special software or the USB flash disk and the recording device;
the clock unit (8) is connected with the main control unit (1), and the clock unit (8) is used for recording the starting time and the ending time of various data;
the locomotive integrated communication equipment CIR (10) is connected with a power supply unit (9), the power supply unit (9) is an DC3.3V stabilized power supply module, so that the locomotive integrated communication equipment CIR (10) provides direct current DC13.8V power for the power supply unit (9), and the power supply unit (9) provides direct current DC3.3V power for the recording device.
2. The railroad locomotive communication equipment recording device according to claim 1, wherein the main control unit (1) is connected with the analog-digital-to-digital conversion unit (2) through an IIS interface and an L3 interface, the main control unit (1) is connected with the RS232 data communication unit (3) through a UART interface, the main control unit (1) is connected with the NPN circuit (4) through a GPIO interface, the main control unit (1) is connected with the storage unit (5) through an SPI interface, the main control unit (1) is connected with the LED display unit (6) through an SPI interface, the main control unit (1) is connected with the USB data communication unit (7) through a USB interface, and the main control unit (1) is connected with the clock unit (8) through an IIC interface.
3. A railroad locomotive communication equipment recording device according to claim 1, characterized in that during recording, the analog audio signal outputted by the locomotive integrated communication equipment CIR (10) is converted into a 16bit linear PCM digital voice signal by the analog-to-digital-to-analog conversion unit (2), and then compressed digital voice data is obtained by a g.729 voice compression coding and decoding algorithm in the main control unit (1) and stored in the storage unit (5); during playing, the main control unit (1) reads compressed digital voice data in the storage unit (5), the compressed digital voice data is decoded by a G.729 voice compression coding and decoding algorithm in the main control unit (1) to obtain a 16-bit linear PCM digital voice signal, and the 16-bit linear PCM digital voice signal is converted into a clear analog audio signal by an analog-digital-analog conversion unit (2) and is sent to the locomotive integrated communication equipment CIR (10).
4. A railroad locomotive communication equipment recording device according to claim 1, characterized in that a USB data communication unit (7) is connected to said computer dedicated software for reading recorded data, and a USB data communication unit (7) is connected to said USB disk for unloading recorded data.
5. A railroad locomotive communication equipment recording device according to claim 1, characterized in that the clock unit (8) uses a high precision DS3231 clock chip with a year error of less than 1 minute, and the clock unit (8) corrects the time by time synchronization in the GPS satellite positioning information or time synchronization of the locomotive integrated communication equipment CIR (10).
6. A railroad locomotive communication equipment recording device according to claim 1, characterized in that the memory unit (5) uses NandFLASH memory, a non-volatile memory with high data read-write speed and large capacity.
7. A method of storing data using a railroad locomotive communications equipment recording device according to any one of claims 1-6, wherein said method of storing data comprises the steps of:
when the voice control mode is adopted, the recording device receives an analog voice signal, the analog-digital-analog conversion unit (2) converts the analog voice signal into a digital voice signal and sends the digital voice signal to the main control unit (1), the main control unit (1) starts a G.729 voice compression coding and decoding algorithm to perform voice compression coding on the digital voice signal, and compressed digital voice data are stored in the storage unit (5);
when the locomotive integrated communication equipment CIR (10) is in an electric control mode and needs to record, a low level signal is provided by the locomotive integrated communication equipment CIR (10) and is sent to the main control unit (1) through the NPN circuit (4), the main control unit (1) controls the main control unit (1) to perform compressed voice coding work in a low level effective period through detecting the level signal, and coded digital voice data are stored in the storage unit (5).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110657422.6A CN113327345A (en) | 2021-06-12 | 2021-06-12 | Railway locomotive communication equipment recording device and data storage method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110657422.6A CN113327345A (en) | 2021-06-12 | 2021-06-12 | Railway locomotive communication equipment recording device and data storage method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113327345A true CN113327345A (en) | 2021-08-31 |
Family
ID=77420667
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110657422.6A Pending CN113327345A (en) | 2021-06-12 | 2021-06-12 | Railway locomotive communication equipment recording device and data storage method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113327345A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115134552A (en) * | 2022-08-30 | 2022-09-30 | 天津七一二移动通信有限公司 | Data recording device supporting remote data downloading function and implementation method |
-
2021
- 2021-06-12 CN CN202110657422.6A patent/CN113327345A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115134552A (en) * | 2022-08-30 | 2022-09-30 | 天津七一二移动通信有限公司 | Data recording device supporting remote data downloading function and implementation method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6016472A (en) | System and method for interfacing a digital audio processor to a low-speed serially addressable storage device | |
EP0851423B1 (en) | Audio player and recorder employing semiconductor memory as a recording medium | |
US20090018683A1 (en) | System and method for data transfer optimization in a portable audio device | |
CN113327345A (en) | Railway locomotive communication equipment recording device and data storage method thereof | |
JPH05173897A (en) | Recorder and reproducer | |
CN216053133U (en) | Railway locomotive communication equipment recording device | |
CN201812317U (en) | Locomotive integrated wireless communication recording system | |
CN101105774A (en) | Logic and physical address index conversion management method | |
CN202145381U (en) | Record and playback device used in vehicle-mounted sound and miniature player | |
US20040042768A1 (en) | Apparatus and control method for recording and reproducing audio-video data | |
US5587977A (en) | Recording/reproducing apparatus having means to detect the exchange of an external memory | |
US6754619B1 (en) | Digital recording and playback system with voice recognition capability for concurrent text generation | |
CN204463831U (en) | A kind of digital voice recording instrument of centralized and distributing memory function | |
CN101345929A (en) | Digital sound-recording system of radio station | |
CN102118645B (en) | System and control method for playing MP3 arranged on set top box | |
CN202721729U (en) | Wireless mobile station voice recording instrument for railway track maintenance and electric service | |
CN101587709A (en) | Train voice recording detecting method and device | |
CN2453514Y (en) | Digital centralized speech sound recording device | |
CN208903315U (en) | Double storaged voice data boards with EMMC storage applied to GYK | |
JP2000278142A (en) | Digital data recording and reproducing device | |
CN204680382U (en) | A kind of centralized stores formula digital voice recording instrument | |
EP1113446A1 (en) | Data reproduction device | |
US20020184040A1 (en) | Data reproducing apparatus, data processing apparatus, and data transfer system | |
CN201294100Y (en) | High-definition message source player | |
CN100458683C (en) | Audio-frequency inputting method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |