CIR automatic data downloading system and method
The CIR automated data download system solves the problems of high reliance on manual labor, untimely data acquisition, limited operation, and difficulty in ensuring data integrity in existing technologies, and achieves efficient and reliable data collection and transmission.
Patent Information
- Application Number
- CN202512025102.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-30
- Publication Date
- 2026-01-30
AI Technical Summary
The existing CIR data download method relies on manual operation, which is inefficient, untimely, restrictive, and makes it difficult to guarantee data integrity.
Design a CIR automated data download system, including CIR equipment and a ground server, to realize automatic data collection, cache management, encapsulation, transmission and storage confirmation through wireless communication links, and to ensure data integrity and reliability by adopting identity authentication, link reconstruction and breakpoint resume mechanisms.
It achieves a high degree of automation in data downloading, improving timeliness and flexibility, reducing dependence on site conditions, and ensuring data integrity and availability.
Smart Images

Figure CN121441902A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of railway communication technology, and in particular to a CIR automatic data download system and method. BACKGROUND
[0002] The locomotive integrated radio communication device (CIR) is the core communication unit in the modern train operation control system, which undertakes the voice and data communication tasks between the train and the ground control center (such as dispatching and station), and between the trains, and has important significance for train safety guarantee and transportation organization efficiency. The CIR device will continuously generate and store a large amount of key operation data during long-term operation, including but not limited to: communication log (call record, call establishment and release information), device state data (self-checking result, module running state, GPS / Beidou positioning information), operation parameter (signal field strength, network switching record), specific business record (train tail air pressure, protection alarm, train number information) and fault and alarm information.
[0003] The existing CIR data download method mainly relies on manual intervention, which has many shortcomings. First, the manual dependence is strong: maintenance personnel usually need to board the locomotive, and manually download through USB, serial port and other physical interfaces to connect special devices or notebook computers, which is low in efficiency, especially in lines with high density of locomotive operation. Second, the timeliness is poor: the data cannot be transmitted back to the ground in real time or near real time, and can only be downloaded after the locomotive returns to the warehouse or reaches a specific maintenance location, which is not conducive to timely fault diagnosis, preventive maintenance and operation state analysis. Third, the operation is inconvenient: the data download depends on specific site conditions, which is greatly affected by locomotive scheduling, device environment and other factors, and the maintenance personnel may be restricted by time and space during operation. Finally, there is a risk of data integrity: manual operation may cause data loss due to omission or misoperation; at the same time, due to the limited local storage space of the device, if the data is not downloaded in time, the old data may be overwritten, further affecting the integrity and usability of the data. SUMMARY
[0004] In view of the problems of high manual dependence, untimely data acquisition, operation limitation and difficulty in ensuring data integrity in the existing CIR data download method, in order to improve the collection efficiency, transmission timeliness and data management reliability of the locomotive operation data, the present application proposes a CIR automatic data download system and method. The system can realize automatic collection, cache management, wireless transmission, analysis processing and storage confirmation of key data during locomotive operation, thereby building a complete, stable and efficient automatic data download mechanism to meet the application requirements of real-time, intelligentization and safety of railway communication devices.
[0005] To achieve the above object, the technical scheme adopted by the present application is: a CIR automatic data downloading system, comprising a CIR device and a ground server, the CIR device and the ground server communicate data through a communication transmission channel, the CIR device internally comprises a recording switching module, a main control module and a wireless transmission module; the recording switching module is used to collect data generated in the running process of the CIR device and output the collected data to the main control module; the main control module is used for data management and transmission control; the wireless transmission module is used to establish a communication link with the ground server after the main control module initiates a connection request, and upload the encapsulated data packet to the ground server; the ground server internally comprises a real-time communication module, a data analysis module and a data storage module; the real-time communication module is used to establish a communication connection with the wireless transmission module, receive data packets, authentication information and state information from the CIR device, and feed back processing result information corresponding to the data packet to the CIR device; the data analysis module is used to perform integrity check, repeatability detection and field analysis on the received data packet, and generate structured data for the data storage module to store; the data storage module is used to store the structured data according to the device identifier, time sequence and service type and establish an index.
[0006] Further, the main control module comprises a configuration management unit, a cache management unit, a trigger judgment unit and a data encapsulation unit; the configuration management unit is used to load the required configuration information for running; the cache management unit is used to manage the writing and occupation of the collected data in the cache area and record the data packet serial number successfully uploaded as breakpoint information; the trigger judgment unit is used to judge whether the condition for starting data transmission is met according to the cache area state, the current network condition and the server instruction; the data encapsulation unit is used to encapsulate the cache data when starting the uploading process.
[0007] Further, the wireless transmission module comprises an identity authentication unit, a channel management unit and a data transmission unit; the identity authentication unit is used to perform two-way identity authentication; the channel management unit is used to establish a communication link and perform link reconstruction after network exception; the data transmission unit is used to upload encapsulated data and receive current data packet receiving confirmation information returned by the server and data retransmission requirements.
[0008] Further, the data analysis module comprises an integrity check unit, a repeatability detection unit and a field analysis unit; the integrity check unit is used to judge the integrity of the data packet according to the CRC check code; the repeatability detection unit is used to judge whether the data packet is repeated according to the serial number and the time stamp; the field analysis unit is used to convert the service data into a structured format.
[0009] An implementation method of a CIR automatic data downloading system, comprising the following steps: A, data collection and cache triggering of CIR device, acquiring running data according to timing collection and event collection conditions and writing into cache area; B, establishment of communication transmission channel between CIR device and ground data server, initiating connection request when transmission conditions are met, performing bidirectional authentication and establishing communication link for data uploading; C, CIR device encapsulates cache data and transmits to ground server through communication link, and records data transmission breakpoint in network abnormal condition; D, ground server performs integrity check, repetition detection and field analysis on received data, and continues to receive subsequent data after breakpoint recovery; E, CIR device manages cache, deletes uploaded data after receiving final confirmation from ground server, and performs corresponding data retransmission operation when there is retransmission requirement.
[0010] Further, the above method step A specifically includes: A01, the main control module loads the collection period, event trigger condition, cache threshold, signal strength threshold and authentication parameters; A02, the main control module generates a trigger signal when the timing collection condition is met, and instructs the recording switching module to write the data collected in the corresponding period into the cache area; A03, the main control module writes the corresponding event data into the cache area when detecting alarm event, communication event or device restart event.
[0011] Further, the above method step B specifically includes: B01, the main control module judges whether the cache area data volume, network coverage condition and ground server instruction meet the data transmission condition; B02, when the transmission condition is met, the wireless transmission module initiates a connection request to the ground server and sends authentication information; B03, receiving authentication information returned by the ground server; B04, the main control module checks the identity of the ground server and returns authentication success information; B05, after the ground server confirms the successful connection, the communication transmission channel for data uploading is established.
[0012] Further, the above method step C specifically includes: C01, encapsulating cache data, adding sequence number, timestamp, device identifier, service type identifier, transmission identifier and CRC check code in the data packet; C02, uploading the encapsulated data packet by packet through the communication transmission channel; C03. When a network anomaly is detected during the uploading of the current data packet, record the sequence number of the successfully uploaded data packet as breakpoint information; C04. After the communication transmission channel is restored, continue uploading subsequent data from the data packet after the breakpoint; C05. After completing this round of data upload, send a transmission end flag to the ground server containing information on the total number of data packets and the size of each data packet.
[0013] Furthermore, step D of the above method specifically includes: D01, Receive data packets uploaded by the CIR device; D02. Perform integrity verification on the received data packets; D03. Perform duplicate checks on data packets that have passed integrity verification; D04. Parse the fields of the non-repeating data packets and generate structured data; D05. In the event of breakpoint recovery, continue receiving data packets after the breakpoint until the current round of data reception is completed, and report the processing result to the CIR device.
[0014] Furthermore, step E of the above method specifically includes: E01. After receiving the final confirmation of successful transmission from the ground server, delete the successfully uploaded data and release the cache space. E02. Upon receiving a retransmission request from the ground server, perform a retransmission operation on the specified data packet until successful confirmation is received.
[0015] This invention addresses the problems of existing CIR data download methods, such as high reliance on manual labor, poor data acquisition timeliness, limited operational conditions, and high risk to data integrity, and has the following beneficial effects: First, this invention achieves a high degree of automation in the data download process. The CIR device can autonomously complete data acquisition, cache management, transmission channel establishment, and data upload operations, significantly reducing reliance on manual online operations and improving the efficiency and stability of maintenance work.
[0016] Secondly, this invention improves the timeliness of data acquisition. By automatically uploading key operational data via wireless communication links during locomotive operation, near real-time or periodic data transmission is achieved, overcoming the delay problem caused by the traditional method of waiting for the locomotive to enter the depot before downloading. This facilitates timely condition monitoring and fault diagnosis.
[0017] Furthermore, this invention reduces the dependence of download operations on site conditions and scheduling environment. Maintenance personnel can remotely acquire data without having to manually connect via a physical interface at a specific location, solving the inconvenience caused by the limited operating scenarios of traditional methods and improving the flexibility of operation and maintenance work.
[0018] Finally, this invention significantly improves the integrity and reliability of data transmission through mechanisms such as data encapsulation verification, repeatability detection, and breakpoint resumption. This mechanism effectively avoids data loss caused by improper manual operation, storage overwriting, or network interruptions, ensuring the continuity and availability of operational data. Attached Figure Description
[0019] Figure 1 This is a system block diagram of the present invention; Figure 2 This is a detailed flowchart of the implementation method of the system of the present invention. Detailed Implementation
[0020] like Figure 1 As shown, a specific embodiment of a CIR automated data download system includes a CIR device on the locomotive side and a ground server. The system achieves automatic data download through the coordinated operation of the functional modules of the locomotive side and the ground server. The two communicate with each other through a communication transmission channel, preferably a 5G transmission channel.
[0021] The CIR device includes a recording and switching module, a main control module, and a wireless transmission module, which are used to complete tasks such as data acquisition, cache management, trigger judgment, data encapsulation, link establishment, and data uploading.
[0022] The recording and switching module is used to collect data generated by the CIR locomotive integrated wireless communication equipment in real time during operation, including communication logs, operating parameters, equipment status information and fault alarms, and output the collected data to the main control module in a preset format.
[0023] The main control module is responsible for data management and transmission control, including a configuration management unit, a cache management unit, a trigger determination unit, and a data encapsulation unit. The configuration management unit loads the necessary configuration information, including the acquisition cycle, event trigger conditions, cache threshold, signal strength threshold, and authentication parameters. The cache management unit manages the writing and occupancy of acquired data in the cache area and records the sequence number (e.g., N) of successfully uploaded data packets during the data upload process, forming breakpoint information. This breakpoint state is maintained in case of network anomalies to support subsequent data transmission resumption. The trigger determination unit determines whether the conditions for starting data transmission are met based on the cache area status, current network conditions, and server instructions. The data encapsulation unit encapsulates the cached data when data upload begins, adding a sequence number, timestamp, device identifier, service type identifier, transmission identifier, and CRC checksum to each data packet. After the link is restored, it continues encapsulation from the data packet after the breakpoint (e.g., N+1) based on the breakpoint information recorded by the cache management unit to meet the requirements for resuming interrupted transmission.
[0024] The wireless transmission module establishes a communication link with the ground server after the main control module initiates a connection request and uploads the encapsulated data packets. The wireless transmission module includes an authentication unit, a channel management unit, and a data transmission unit. The authentication unit performs two-way authentication with the ground server. The channel management unit establishes a communication link with the ground server via the 5G transmission channel and re-establishes a usable link after network interruption recovery, enabling data transmission to continue from the interrupted data packet (e.g., N+1). The data transmission unit uploads the data packets generated by the data encapsulation unit after the communication link is established and receives corresponding information based on the processing results returned by the ground server, including confirmation of receipt of the current data packet (e.g., N) and requests for data retransmission of missing or corrupted data packets.
[0025] The ground server includes a real-time communication module, a data parsing module, and a data storage module.
[0026] The real-time communication module establishes a communication connection with the wireless transmission module to receive authentication information, data packets, and status information uploaded by the CIR device, and returns the processing results to the CIR device based on the parsing results, including confirmation of the reception of the current data packet (e.g., N) and requests for data retransmission for missing or corrupted data packets.
[0027] The data parsing module is used to perform integrity verification, duplicate detection, and field parsing on the received data packets, generate structured data, and provide it to the data storage module for storage; it includes an integrity verification unit, a duplicate detection unit, and a field parsing unit.
[0028] The data storage module categorizes and stores structured data according to device identifier, business type, and time sequence, and creates indexes to support subsequent queries and analysis.
[0029] Through the collaborative work of various modules and internal functional units, the system can automatically collect, cache, encapsulate, transmit, verify and centrally store data during locomotive operation, thereby providing efficient and reliable automated CIR data download capabilities.
[0030] like Figure 2 As shown, an implementation method for a CIR automated data download system includes the following steps: A. Data acquisition and cache triggering of CIR devices, enabling the acquisition of running data and writing to the cache area based on timed acquisition conditions and event acquisition conditions; B. The establishment of a 5G transmission channel between the CIR device and the ground data server enables the initiation of a connection request, the execution of two-way authentication, and the establishment of a data communication link that can be used for uploading when the transmission conditions are met. C. The CIR device encapsulates and transmits CIR data, performs data encapsulation on cached data and uploads it to the ground server through the transmission channel, and records transmission interruptions in the event of network anomalies. D. The ground server receives and processes data, performing integrity checks, duplicate checks, and field parsing on uploaded data, and continues to receive subsequent data packets after the breakpoint is recovered; E and CIR devices manage and confirm the cache, enabling them to delete uploaded data after receiving final confirmation from the ground server and perform retransmission operations when necessary.
[0031] To further illustrate the implementation process of the method of the present invention, the detailed process of each step is further explained below.
[0032] Step A: Perform the following operations: A01. The main control module loads the acquisition cycle, event triggering conditions, buffer threshold, signal strength threshold, and authentication parameters; A02. The main control module runs a timed trigger thread. When the timed period arrives, it generates a trigger signal and instructs the recording and transfer module to write the data collected within the period into the buffer area. A03. The main control module runs an event triggering thread, which writes event data to the buffer when it detects alarms, communication events (start and end), device restarts, and other events.
[0033] Step B performs the following operations: B01. The main control module determines whether the buffer size, network coverage conditions, and server instructions meet the transmission conditions. B02. When the conditions are met, initiate a connection request and send authentication information through the wireless transmission module. B03. The ground server performs an authentication challenge and sends authentication information to the CIR device, which then receives the authentication information. B04. The main control module verifies the server's identity and returns an authentication success message; B05. After the ground server confirms a successful connection, the channel management unit establishes a transmission link for data upload.
[0034] Step C performs the following operations: C01. The data encapsulation unit adds the serial number, timestamp, device identifier, service type identifier, transmission identifier, and CRC checksum to the cached data. C02. The data transmission unit uploads the encapsulated data packets to the ground server one packet at a time through the transmission channel. C03. If a network anomaly (including interruption or link anomaly) is detected during the uploading of the current data packet (e.g., N), the cache management unit records the sequence number of the successfully uploaded data packet (e.g., N) as breakpoint information. C04. After the network is restored, the channel management unit re-establishes the communication link, the data encapsulation unit encapsulates the resumed data starting from the data packet after the breakpoint (e.g., N+1), and the data transmission unit performs the subsequent upload. C05. After the data upload for this round is completed, the main control module generates a transmission end flag containing the total number of packets and the size of each data packet and sends it to the ground server.
[0035] Step D performs the following operations: D01. The real-time communication module receives data packets uploaded by the CIR device; D02. The integrity verification unit performs integrity checks on the data packets based on the CRC checksum to determine whether the data is missing or corrupted. D03. The repeatability detection unit determines whether the data packet is duplicated; D04. Based on the verification results, send the processing results to the CIR device, including the receipt confirmation of the current data packet (e.g., N) and the data retransmission request for missing or corrupt data packets; D05, The field parsing unit parses business data and forms structured data; D06. If in the breakpoint recovery process, the real-time communication module continues to receive the data packets after the breakpoint (e.g., N+1) and their subsequent data packets until the current round of transmission is completed, and writes the parsed data into the data storage module. D07. The ground server sends a final confirmation of successful transmission to the CIR device.
[0036] Step E performs the following operations: E01. After receiving the final confirmation of success from the ground server, the main control module deletes the successfully uploaded data and releases the cache space. E02. If the server returns a resend request, the main control module will perform a resend operation on the specified data packet according to the request until the confirmation is successful.
[0037] Through the above structural configuration and method steps, the present invention can automatically collect, encapsulate, upload, parse and store data during locomotive operation, and resume interrupted transmission in the event of network anomalies, thereby improving the automation and reliability of data download.
Claims
1. A CIR automated data download system, characterized by: The CIR device and the ground server are in data communication through a communication transmission channel, the CIR device internally comprises a recording switching module, a main control module and a wireless transmission module; the recording switching module is used for collecting data generated in the running process of the CIR device and outputting the collected data to the main control module; the main control module is used for data management and transmission control; the wireless transmission module is used for establishing a communication link with the ground server after the main control module initiates a connection request, and uploading the encapsulated data packet to the ground server; the ground server internally comprises a real-time communication module, a data analysis module and a data storage module; the real-time communication module is used for establishing a communication connection with the wireless transmission module, receiving the data packet, authentication information and state information from the CIR device, and feeding back the processing result information corresponding to the data packet to the CIR device; The data analysis module is used for performing integrity check, repeatability detection and field analysis on the received data packet to generate structured data for storage by the data storage module; The data storage module is used for classifying and storing the structured data according to the device identifier, time sequence and service type and establishing an index.
2. The CIR automated data download system of claim 1, wherein, The main control module comprises a configuration management unit, a cache management unit, a trigger judgment unit and a data encapsulation unit; the configuration management unit is used for loading the configuration information required for running; the cache management unit is used for managing the writing and occupation of the collected data in the cache area and recording the data packet serial number successfully uploaded as breakpoint information; The trigger judgment unit is used for judging whether the condition for starting data transmission is met according to the cache area state, the current network condition and the server instruction; the data encapsulation unit is used for encapsulating the cache data when starting the uploading process.
3. The CIR automated data download system of claim 1, wherein, The wireless transmission module comprises an identity authentication unit, a channel management unit and a data transmission unit; the identity authentication unit is used for performing two-way identity authentication; the channel management unit is used for establishing a communication link and performing link reconstruction after network exception; the data transmission unit is used for uploading encapsulated data and receiving the current data packet receiving confirmation information returned by the server and the data retransmission requirement.
4. The CIR automated data download system of claim 1, wherein, The data analysis module comprises an integrity check unit, a repeatability detection unit and a field analysis unit; the integrity check unit is used for judging the data packet integrity according to the CRC check code; the repeatability detection unit is used for judging whether the data packet is repeated according to the serial number and timestamp; the field analysis unit is used for converting the service data into a structured format.
5. A method of implementing the CIR automated data download system according to any one of claims 1 to 4, characterized in that, The steps comprise: A, data collection and cache triggering of the CIR device, acquiring running data according to timing collection and event collection conditions and writing into the cache area; B, establishment of a communication transmission channel between the CIR device and the ground data server, initiating a connection request when the transmission condition is met, performing two-way authentication and establishing a communication link for data uploading; C, the CIR device encapsulates the cache data and transmits it to the ground server through the communication link, and records the data transmission breakpoint in the case of network exception; D, the ground server performs integrity check, repetition detection and field analysis on the received data, and continues to receive subsequent data after breakpoint recovery; E, the CIR device manages the cache, deletes the uploaded data after receiving the final confirmation from the ground server, and performs corresponding data retransmission operation when there is a retransmission requirement.
6. The method of implementing a CIR automated data download system of claim 5, wherein, Step A includes: A01, the main control module loads the collection period, event trigger condition, cache threshold, signal strength threshold and authentication parameters; A02, the main control module generates a trigger signal when the timing collection condition is met, and instructs the recording switching module to write the data collected in the corresponding period to the cache area; A03, the main control module writes the corresponding event data to the cache area when detecting alarm events, communication events or device restart events.
7. The method of implementing a CIR automated data download system of claim 5, wherein, Step B includes: B01, the main control module determines whether the cache data volume, network coverage condition and ground server instruction meet the data transmission condition; B02, when the transmission condition is met, the wireless transmission module initiates a connection request to the ground server and sends authentication information; B03, receive the authentication information returned by the ground server; B04, the main control module checks the identity of the ground server and returns authentication success information; B05, the ground server confirms the successful connection, and establishes a communication transmission channel for data upload.
8. The method of implementing a CIR automated data download system of claim 5, wherein, Step C includes: C01, encapsulate the cache data, and add sequence number, timestamp, device identifier, service type identifier, transmission identifier and CRC check code in the data packet; C02, upload the encapsulated data packet by packet through the communication transmission channel; C03, when network anomaly is detected during the uploading of the current data packet, record the successfully uploaded data packet sequence number as breakpoint information; C04, after the communication transmission channel is restored, continue to upload subsequent data from the data packet after the breakpoint; C05, after completing the current round of data upload, send a transmission end flag containing the total number of data packets and the size information of each data packet to the ground server.
9. The method of implementing the CIR automated data download system of claim 5, wherein, Step D includes: D01, receive the data packet uploaded by the CIR device; D02, perform integrity check on the received data packet; D03, perform repetition detection on the data packet that passes the integrity check; D04, perform field analysis on the non-repeated data packet and generate structured data; D05, continue to receive the data packet after the breakpoint under the condition of breakpoint recovery until the current round of data reception is completed, and feedback the processing result to the CIR device.
10. The method of implementing the CIR automated data download system of claim 5, wherein, Step E includes: E01, after receiving the final transmission success confirmation sent by the ground server, delete the successfully uploaded data and release the cache space; E02, when receiving the retransmission requirement returned by the ground server, perform retransmission operation on the specified data packet until the confirmation is successful.
Citation Information
Patent Citations
Locomotive comprehensive wireless communication equipment dynamic monitoring method and system
CN107547611A
Reliable train-ground data transmission method for urban rail transit
CN120128608A
System for be used for online real -time supervision of mobile unit
CN206879106U
System and method for collecting and analyzing data
WO2017101606A1
Data link service processing system and method for networked encrypted transmission
WO2023216424A1