Rapid storage and reading device and method for railway navigation data
By using the combination of CPU module, signal isolation module and USB interface module in the railway navigation data storage device, the problem of rapid storage and reading of navigation data is solved, high-speed download and flexible applicability are achieved, and real-time application of railway navigation data is suitable for real-time railway navigation data Storage and offline analysis.
Patent Information
- Application Number
- CN202411194488.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-12-24
AI Technical Summary
Railway navigation data cannot be quickly stored and read, especially real-time storage of multiple navigation data and offline rapid download analysis. The existing technology cannot meet the storage and time synchronization requirements of high-speed railways for large-capacity navigation data.
A device including a CPU module, a signal isolation module and a USB interface module is designed. The navigation data is converted into a CPU acceptable TTL signal through the signal isolation module and stored the data in the storage module. When the USB disk is inserted, the CPU module is Quickly read and copy data to USB drive, adopting a modular design to support multiple navigation modules and high-speed USB3.0 interface.
It realizes fast real-time storage and download of navigation data, and the data for 30 days is not more than 5 minutes. It is suitable for the maintenance of train parking gaps, and is flexible in design for data recording and reading of other serial devices.
Smart Images

Figure CN119179662A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data storage, and in particular to a device and method for quickly storing and reading railway navigation data. Background Art
[0002] The railway industry is an important application area of the Beidou navigation system. The need for position and time synchronization is extensive and urgent. At present, the Beidou system has been widely used in high-speed railways, especially on trains. Beidou navigation can provide accurate position and time information for trains. However, it is impossible to store large-capacity navigation data, nor to analyze the position accuracy and time synchronization of navigation data.
[0003] In order to replay and analyze navigation data offline, a serial port device is needed that can store large-capacity navigation data in real time, store multiple navigation data in real time, and be able to quickly download the data from the storage device via a USB flash drive in an offline maintenance workshop for analysis.
[0004] Therefore, there is an urgent need for a fast storage and reading device for railway navigation data, which can connect multiple (at least 2) serial port data, with a rate of up to 460800bps, and can store navigation data for more than 30 days. At the same time, in order not to affect the operation of the original equipment, it is necessary to be able to quickly download the stored data to a USB flash drive, and the download time of 30 days of data should not exceed 5 minutes.
[0005] How to achieve rapid storage and reading of railway navigation data has become a technical problem that needs to be solved. Summary of the invention
[0006] The purpose of the present invention is to overcome the defects of the prior art and provide a device and method for quickly storing and reading railway navigation data.
[0007] The purpose of the present invention can be achieved by the following technical solutions:
[0008] According to one aspect of the present invention, there is provided a device for fast storage and reading of railway navigation data, the device comprising a CPU module, and a storage module, a signal isolation module and a USB interface module connected to the CPU module;
[0009] The signal isolation module converts the navigation data received from the external navigation module into a TTL signal received by the CPU module and then sends the signal to the CPU module;
[0010] The CPU module stores the collected data into the storage partition corresponding to the storage module;
[0011] When the CPU module detects that a U disk is inserted, the corresponding navigation data stored in the storage module is quickly read into the U disk through the USB interface module.
[0012] Preferably, the signal isolation module comprises a TTL to RS232 chip and an ESD protection chip, wherein the TTL to RS232 chip realizes the conversion of the signal output by the navigation module into a TTL signal, and the ESD protection chip is used for surge protection.
[0013] Preferably, the CPU module implements logic program control of the device.
[0014] More preferably, the CPU frequency of the CPU module is not less than 2.0G, and it has a built-in USB3.0 interface.
[0015] Preferably, the CPU module partitions the storage space of the storage module according to the number of navigation modules, so that data of different navigation modules are stored in corresponding storage partitions.
[0016] Preferably, the CPU module continuously detects whether a USB flash drive is inserted through its own USB interface. When a USB flash drive is inserted, the CPU module reads the configuration file in the root directory of the USB flash drive, determines the navigation module data to be read according to the content of the configuration file, and copies the stored data of the corresponding navigation module to the USB flash drive.
[0017] Preferably, the signal isolation module inputs the converted TTL signal to the CPU module through a UART interface, and the CPU module simultaneously supports multiple UART interfaces to transmit data.
[0018] Preferably, the signal isolation module is connected to the signal sending pin of the RS232 interface of the navigation module through a gate circuit; when multiple navigation modules are connected, the same number of signal isolation modules as the navigation modules are set, and each of the signal isolation modules is connected to multiple navigation modules respectively.
[0019] Preferably, the storage module comprises an EMMC chip, and memories of different sizes are selected according to the number of externally connected navigation modules.
[0020] Preferably, the device further comprises a display module and a power module;
[0021] The power supply module includes a variety of voltage conversion circuits and provides power for the CPU module, storage module, display module, and interface conversion circuits of the signal isolation module and USB interface module;
[0022] The display module is used to indicate the progress of downloading the navigation data to the USB disk.
[0023] According to another aspect of the present invention, a method for fast storage and reading of railway navigation data is provided, the method comprising the following steps:
[0024] Step S1, obtaining navigation data;
[0025] Step S2, converting the acquired navigation data into a TTL signal;
[0026] Step S3, partitioning the storage space according to the number of navigation modules, and storing the TTL signal of step S2 into the corresponding storage partition;
[0027] Step S4, when it is detected that a USB flash drive is inserted, the navigation module data to be read is determined according to the content of the configuration file in the root directory of the USB flash drive, and the stored data of the corresponding navigation module is copied to the USB flash drive.
[0028] Compared with the prior art, the present invention has the following beneficial effects:
[0029] 1) The present invention converts the external navigation module data into a TLL signal acceptable to the CPU. The CPU stores the data of different navigation modules into the corresponding EMMC storage partition, realizes the fast real-time storage of navigation data, and continuously detects the U disk. According to the configuration file in the root directory of the U disk, the data of the corresponding navigation module is automatically downloaded and read through the USB3.0 interface for playback and analysis of the navigation data. The download speed is fast and it is suitable for maintenance operations during train parking intervals.
[0030] 2) The present invention is flexible in design. The signal isolation module and the memory size can be increased or decreased according to the number of external navigation modules. It is also applicable to recording and reading data of other serial port devices and has strong applicability.
[0031] 3) The present invention adopts a modular design, and the chips and other components therein can be replaced and upgraded, which is convenient for maintenance and expansion of functions. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a structural schematic diagram of the fast storage and reading device of the present invention;
[0033] In the accompanying drawings, 1 is a power module, 2 is a signal isolation module, 3 is a CPU module, 4 is a storage module, 5 is a USB interface module, and 6 is a display module. DETAILED DESCRIPTION
[0034] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0035] This embodiment relates to a device for fast storage and reading of railway navigation data, such as Figure 1 The device includes: a power module 1, a signal isolation module 2, a CPU module 3, a storage module 4, a USB interface module 5 and a display module 6.
[0036] Power module 1: provides power supply for CPU module 3, storage module 4, display module 6, and interface conversion circuits of signal isolation module 2 and USB interface module 5. Power module 1 includes voltage conversion circuit and power management chip, wherein the voltage conversion circuit can realize conversion of 5V to 3.3V, 5V to 1.8V, 5V to 1.1V, and 5V to 0.6V.
[0037] Signal isolation module 2: includes a TTL to RS232 chip and an ESD protection chip, wherein the TTL to RS232 chip realizes the conversion of the signal output by the navigation module to a TTL signal, and the ESD protection chip is used for surge protection.
[0038] CPU module 3: includes RK3568 chip and filter capacitor, where RK3568 chip is a 4-core A55 architecture CPU with a frequency of up to 2.0G and built-in USB3.0 interface to realize the logic program control of the device. The chip of CPU module 3 can be adaptively selected and upgraded with the development of technology and the size of navigation data.
[0039] Storage module 4: includes an EMMC chip, which stores the CPU program and navigation data output by the navigation module. The storage space size of the storage module 4 can be set according to the size of the navigation data.
[0040] USB interface module 5: includes a USB power control chip and an ESD protection chip to realize a high-speed USB flash drive interface and surge protection.
[0041] Display module 6: includes multiple LED digital tubes, used to indicate the download progress of multiple navigation data.
[0042] The working principle of the device is as follows: the navigation module sends navigation data of less than 2000 bytes per second to the signal isolation module 2 through the RS232 interface. The signal isolation module 2 is connected to the signal sending pin of the navigation module through the gate circuit, converts the signal output by the navigation module 2 into a TTL signal acceptable to the CPU module 3, and then sends it to the CPU module 3. The CPU module 3 stores the collected data in the EMMC chip of the storage module 4. The EMMC chip can select different sizes of memory according to the number of externally connected navigation modules. For example, when there is a single navigation module, the EMMC chip selects an 8G memory, which can store about 30 days of data.
[0043] When multiple navigation modules are connected, the same number of signal isolation modules 2 as the number of navigation modules is set and connected to the UART interfaces of the CPU modules 3 respectively.
[0044] CPU module 3 supports a maximum of 7 UART interface (serial port) inputs.
[0045] The CPU module 3 partitions the storage space of the EMMC chip according to the number of navigation modules, and stores the data of different navigation modules into corresponding storage partitions.
[0046] The CPU module 3 continuously detects whether a USB flash drive is inserted through the USB3.0 interface. When a USB flash drive is inserted, the CPU module 3 reads the configuration file in the root directory of the USB flash drive, determines a navigation module and the size of the downloaded data according to the content of the configuration file, and copies the stored data of the corresponding navigation module to the USB flash drive. At the same time, the LED light of the display module 6 lights up to indicate that data transmission is in progress. When the transmission is completed, the LED light of the display module 6 goes out.
[0047] The modules of the present invention all adopt a modular design, and the chips and other components therein can be replaced and upgraded, which is convenient for maintenance and expansion of functions; the download speed is fast, and it has been verified that the download time of 30 days of data is no more than 5 minutes; the storage capacity is large, which at least guarantees the storage of a maximum of 30 days of data for a single-channel navigation module, and the storage can also be expanded according to actual conditions.
[0048] The device is also suitable for storing and reading serial port device data, not limited to the railway industry.
[0049] This embodiment also relates to a method for quickly storing and reading railway navigation data, the method comprising the following steps:
[0050] Step S1, obtaining navigation data;
[0051] Step S2, converting the acquired navigation data into a TTL signal;
[0052] Step S3, partitioning the storage space according to the number of navigation modules, and storing the TTL signal of step S2 into the corresponding storage partition;
[0053] Step S4, when it is detected that a USB flash drive is inserted, the navigation module data to be read is determined according to the content of the configuration file in the root directory of the USB flash drive, and the stored data of the corresponding navigation module is copied to the USB flash drive.
[0054] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A fast storage and reading device for railway navigation data, characterized in that: The device comprises a CPU module (3), a storage module (4), a signal isolation module (2) and a USB interface module (5) connected to the CPU module (3); The signal isolation module (2) converts the navigation data obtained from the external navigation module into a TTL signal received by the CPU module (3) and then sends the converted signal to the CPU module (3); The CPU module (3) stores the collected data into a storage partition corresponding to the storage module (4); When the CPU module (3) detects that a USB flash drive has been inserted, the corresponding navigation data stored in the storage module (4) is quickly read into the USB flash drive via the USB interface module (5).
2. A fast storage and reading device for railway navigation data according to claim 1, characterized in that: The signal isolation module (2) comprises a TTL to RS232 chip and an ESD protection chip, wherein the TTL to RS232 chip realizes the conversion of the signal output by the navigation module into a TTL signal, and the ESD protection chip is used for surge protection.
3. A fast storage and reading device for railway navigation data according to claim 1, characterized in that: The CPU module (3) implements the logic program control of the device; the CPU frequency of the CPU module (3) is not less than 2.0G and is provided with a USB3.0 interface.
4. A fast storage and reading device for railway navigation data according to claim 1, characterized in that: The CPU module (3) partitions the storage space of the storage module (4) according to the number of navigation modules, so that data of different navigation modules are stored in corresponding storage partitions.
5. A fast storage and reading device for railway navigation data according to claim 1, characterized in that: The CPU module (3) continuously detects whether a USB flash drive is inserted through its own USB interface. When a USB flash drive is inserted, the CPU module (3) reads the configuration file in the root directory of the USB flash drive, determines the navigation module data to be read according to the content of the configuration file, and simultaneously copies the stored data of the corresponding navigation module to the USB flash drive.
6. A fast storage and reading device for railway navigation data according to claim 1, characterized in that: The signal isolation module (2) inputs the converted TTL signal into the CPU module (3) via a UART interface, and the CPU module (3) simultaneously supports multiple UART interfaces for data transmission.
7. A fast storage and reading device for railway navigation data according to claim 1, characterized in that: The signal isolation module (2) is connected to the signal sending pin of the RS232 interface of the navigation module through a gate circuit; when multiple navigation modules are connected, the same number of signal isolation modules (2) as the number of navigation modules are set, and each of the signal isolation modules (2) is connected to multiple navigation modules respectively.
8. A fast storage and reading device for railway navigation data according to claim 1, characterized in that: The storage module (4) comprises an EMMC chip, and memories of different sizes are selected according to the number of externally connected navigation modules.
9. A fast storage and reading device for railway navigation data according to claim 1, characterized in that: The device further comprises a display module (6) and a power module (1); The power module (1) includes a plurality of voltage conversion circuits and provides power for the CPU module (3), the storage module (4), the display module (6), and the interface conversion circuits of the signal isolation module (2) and the USB interface module (5); The display module (6) is used to indicate the progress of downloading the navigation data to the USB disk.
10. A method for using the device for rapid storage and reading of railway navigation data according to any one of claims 1 to 9, characterized in that: The method comprises the following steps: Step S1, obtaining navigation data; Step S2, converting the acquired navigation data into a TTL signal; Step S3, partitioning the storage space according to the number of navigation modules, and storing the TTL signal of step S2 into the corresponding storage partition; Step S4, when it is detected that a USB flash drive is inserted, the navigation module data to be read is determined according to the content of the configuration file in the root directory of the USB flash drive, and the stored data of the corresponding navigation module is copied to the USB flash drive.
Citation Information
Cited By
Full-automatic testing method and device for railway navigation data storage
CN121709008A
