A method, device and system for dynamically collecting railway data using on-board equipment
Through the system of dynamically collecting railway data in vehicle-mounted equipment, the problems of insufficient coordinate acquisition accuracy, large workload and data security in the existing technology are solved, and high-precision, real-time and automated railway data collection and management are achieved.
Patent Information
- Application Number
- CN202411783726.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2044-12-06
AI Technical Summary
The existing railway coordinate acquisition technology has problems such as insufficient standard collection accuracy, difficulty in troubleshooting, difficulty in review, large workload, lack of automation and real-timeness, and insufficient accuracy and security of public network maps.
A system that uses on-board equipment to dynamically collect railway data, including collectors, public network servers and intranet map servers. The collector collects the train's line operation data and positioning data in real time through the Beidou positioning device and communication device, and uploads it to the public network server. The public network server only caches data, does not parse, and is packaged in real time to send it to the intranet map server. The intranet map server combines the intranet railway information database to analyze and integrate data, establish railway map data, and automatically generate and update railway maps.
It improves the accuracy and efficiency of coordinate acquisition, reduces the workload of manual acquisition, realizes real-time updates and automated management, and ensures data security and accuracy.
Smart Images

Figure CN119262003B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of railway coordinate collection, and in particular to a method, device and system for dynamically collecting railway data using vehicle-mounted equipment. Background Art
[0002] To ensure data security, the railway system requires that all data and information services must be transmitted and used in the railway intranet, including some monitoring information systems that require the use of electronic map services, such as inspection personnel positioning systems, construction vehicle positioning systems, dynamic detection equipment operation systems, disaster relief dispatch systems, etc. When providing services, these systems need to accurately locate the railway line and display the information of the monitored personnel or equipment on the electronic map. At present, the railway intranet has transplanted the public network general map and used manual calibration methods to establish the correspondence between railway line mileage and satellite coordinates; its defects are:
[0003] 1. Insufficient accuracy of standard selection
[0004] When recording manually, because it is impossible to access the train signal system to obtain the running mileage, it can only be manually input and manually calibrated. The collected coordinates are not continuous, especially in curved sections. The line trajectory depicted by the manually collected coordinates has a large deviation from the actual line on site. In addition, manual collection work is affected by many factors, such as fatigue, different individuals, etc., which is mainly manifested in the deviation between the actual data and the recorded data. Since the recording work is completed during the operation of the train, the faster the train speed, the greater the deviation. This defect is especially obvious in applications with high precision requirements.
[0005] 2. Difficult to troubleshoot and review
[0006] Manual recording may result in input errors or inconsistent annotation methods, which will affect the reliability of the data. When the recorded data is abnormal, it is very difficult to check and review the accuracy of the data: you need to board the train again and re-record the data, and even then, the data recorded twice will be very different (because it is difficult for humans to do the same operation twice).
[0007] 3. Heavy workload
[0008] Railway lines and mileage marks may change due to railway reconstruction or construction, and manual records need to be updated frequently to maintain data accuracy. To record the data of a section, the recorder needs to follow the train for several or even more than ten hours to get enough reference points, and to obtain high-density coordinates, frequent records are required, which is a lot of work, especially in today's complex railway network environment, and requires more manpower and time costs.
[0009] 4. Lack of automation and real-time performance
[0010] Manual data collection cannot achieve real-time updates, especially in scenarios of high-speed railways or real-time monitoring of trains. It is also easily restricted by the natural environment (such as fog, rain, snow, wind and sand, etc.), making it difficult to collect data around the clock. For applications that require automated trajectory analysis, mileage calculation or real-time scheduling, these data are difficult to meet the needs.
[0011] 5. Public network maps are not accurate enough
[0012] Railway land on the public network Figure 1 Generally, the up and down railways are combined into one for display. In actual cases, the up and down lines are two parallel lines in most cases. However, there are some cases where the up and down lines are far apart due to factors such as mountains, tunnels, and rivers, and the map does not match the site, resulting in large deviations in positioning.
[0013] 6. Using public maps is not safe
[0014] Third-party network maps are now commonly used to implement electronic maps. This type of map needs to be connected to the public network for updating, and the downloaded map data is the private protocol of the map manufacturer. It is impossible to judge the security of the data, which poses a security risk to the railway intranet and may cause damage to the railway intranet system.
[0015] Therefore, researchers in this field urgently need to develop an automated and intelligent railway electronic map recording and management system to solve the defects in the current railway electronic map establishment process. Summary of the invention
[0016] The present invention provides a collector, comprising: a collection mainboard, a connector, a Beidou positioning device and a communication device, wherein the collection mainboard is connected to the connector, the Beidou positioning device and the communication device;
[0017] The collector is inserted into the reserved expansion slot of the train monitoring device by means of a backplane slot through a plug-in connector, and the collection mainboard is built into the train monitoring device (hereinafter referred to as the "TAX box"); the Beidou positioning device includes a Beidou satellite receiving antenna and a Beidou positioning module, the Beidou satellite receiving antenna is installed under the front windshield of the railway train cab, the Beidou positioning module is installed on the collection mainboard, and the Beidou positioning module receives satellite signals through the Beidou satellite receiving antenna; the communication device includes a communication antenna and a communication module, the communication antenna is adsorbed on the TAX box, the communication module is installed on the collection mainboard, and the communication module can send and receive data with the public network server through the communication antenna;
[0018] The central processing unit is integrated on the acquisition main board, and the central processing unit is connected to the locomotive safety information comprehensive monitoring device to receive the line operation data output by the monitoring device; the central processing unit is connected to the Beidou positioning module to receive the train positioning data output by the Beidou positioning module; the central processing unit is connected to the communication module to send the line operation data and train positioning data to the public network server through the communication module, and receive the acquisition parameters sent by the public network server.
[0019] A collector as described above, wherein the line operation data includes line mileage, vehicle speed, date, time, and route information, and the line number, line type, and mileage data are determined based on the line operation data; the train positioning data includes satellite status and longitude and latitude data.
[0020] A collector as described above, wherein, when Beidou positioning is difficult, the communication device communicates with the base station through the mobile network, obtains the current base station number, including the location area code and the base station number, and then sends it to the public network server, calling the third-party database interface to obtain the specific location.
[0021] The present invention also provides a system for dynamically collecting railway data using on-board equipment, including the collector described in any of the above items, and also including a public network server and an intranet map server; the collector collects on-board data and sends the data to the public network server; the public network server is deployed on the public network, communicates data with the collector, receives the collected data, and the public network server only caches the data and does not parse the data; the intranet map server is deployed in the railway intranet, communicates with the public network server through a security platform, receives the collected data sent by the public network server, and establishes railway map data in combination with the intranet railway information database and the collected data.
[0022] In the system for dynamically collecting railway data using on-board equipment as described above, the public network server specifically includes:
[0023] Data receiving module, used to receive data sent by the collector around the clock;
[0024] The data processing module is used to package the received data in real time and send it to the map server on the intranet. To ensure data security, the data is not stored locally, but only cached and cleared regularly. The data does not contain railway information and is all encrypted data. Even if it is attacked and cracked, the railway information cannot be extracted.
[0025] The device management module is used to manage all devices connected to the public network server, including monitoring the status of the device, configuration parameters, firmware upgrades, and statistics of the data collected by the device;
[0026] The exception handling module is used to trigger an alarm or send a notification when the device management module detects an exception.
[0027] As described above, a system for dynamically collecting railway data using on-board equipment, wherein the intranet map server specifically includes:
[0028] The data receiving and storage module is used to receive the vehicle-mounted data sent by the public network server in real time, decode the vehicle-mounted data through the hardware authorization decryption key, and store it in the intranet railway information database;
[0029] The map data parsing module is used to parse the vehicle-mounted data to obtain the route number, route type, route mileage and longitude and latitude data, and to establish the map data of route number-route type-route mileage-longitude and latitude data;
[0030] Map data storage and management module, used for storing and managing map data;
[0031] Data analysis and decision support module, used to analyze data according to set rules, automatically generate new map versions, automatically identify abnormal data, and automatically generate data reports;
[0032] Map service interface, used to provide API interface and authorize other applications in the intranet to call;
[0033] System integration interface, used to integrate with other railway systems to achieve information sharing;
[0034] User access and permission management module, used to provide different access rights for different user roles;
[0035] The automatic update module is used to automatically update map data regularly to ensure the accuracy and timeliness of map data.
[0036] The present invention also provides a method for dynamically collecting railway data using on-board equipment, characterized in that the method is applied to any of the above-mentioned systems, and the method comprises:
[0037] Step 1: The collector collects the current line operation data of the train output by the train monitoring device in real time, and collects the train positioning data of the Beidou positioning device in real time;
[0038] Step 2: The collector processes the train's current line operation data and train positioning data into valid collection data and uploads them to the public network server;
[0039] Step 3: The public network server caches the received valid collected data, and packages and sends it to the intranet map server in the railway intranet in real time;
[0040] Step 4: The intranet map server combines with the intranet railway information database to parse the line number, line type, mileage data and longitude and latitude data from the received valid collected data, and integrates them into map data;
[0041] Step 5. The intranet map server automatically generates and updates the railway map based on the established map data, and automatically generates data reports according to preset rules;
[0042] Step 6. Integrate the intranet map server with other railway intranet systems in the railway intranet, and the intranet map server shares the updated railway map with other railway intranet systems.
[0043] As described above, a method for dynamically collecting railway data using on-board equipment, wherein the collector processes the train's current line operation data and train positioning data into valid collected data and then uploads them to a public network server, is specifically divided into the following sub-steps:
[0044] Calculate the current mileage data based on the train's current line operation data;
[0045] Verify the validity and availability of the train positioning data. If the verification passes, obtain the longitude and latitude data from the train positioning data.
[0046] Integrate the current mileage data with the latitude and longitude data to generate a valid collection data;
[0047] The generated valid collected data is stored in the buffer area and forwarded to the public network server by the communication device.
[0048] In the above-mentioned method for dynamically collecting railway data using on-board equipment, verifying the validity and availability of train positioning data is specifically divided into the following sub-steps:
[0049] Extract the checksum and positioning status from the train positioning data;
[0050] The validity of the train positioning data is judged based on the checksum and positioning status;
[0051] The availability of train positioning data is judged based on the historical data of the Beidou positioning module.
[0052] As described above, a method for dynamically collecting railway data using on-board equipment, wherein the intranet map server combines with the intranet railway information database to parse the line number, line type, mileage data and longitude and latitude data from the received valid collected data, and integrates them into map data, which is specifically divided into the following sub-steps:
[0053] By querying the line boundary table and locomotive intersection table, the effective data collection can be analyzed to obtain the line number and line type;
[0054] Map data is created by combining route number, route type, mileage data and longitude and latitude data;
[0055] Integrate version number mechanism to store established map data.
[0056] The beneficial effects achieved by the present invention are as follows: Compared with the existing coordinate collection method, the automatic collection method proposed by the present invention obtains the line number, line type, and mileage data provided by the vehicle collector in real time, and is obtained by secondary analysis based on the data provided, which can ensure data accuracy, avoid cumbersome manual collection methods, and improve collection efficiency and accuracy. Compared with the existing map display method, the present invention uses open source maps, greatly improves the scalability of the system, and does not rely on external networks, ensuring the security of intranet data. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0058] Figure 1 It is a schematic diagram of the signal system running on the train;
[0059] Figure 2 This is a schematic diagram of a TAX box;
[0060] Figure 3 This is a schematic diagram of a collector provided in Example 1 of the present application;
[0061] Figure 4 This is a schematic diagram of a system for dynamically collecting railway data using on-board equipment provided in Example 2 of the present application;
[0062] Figure 5 This is a flow chart of a method for dynamically collecting railway data using on-board equipment provided in Example 3 of the present application. DETAILED DESCRIPTION
[0063] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the drawings 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 those skilled in the art without creative work are within the scope of protection of the present invention.
[0064] Embodiment 1
[0065] like Figure 1 and Figure 2As shown in the figure, the signal system running on the train includes a signal host, a monitoring host box and a TAX box (train monitoring device, full name locomotive safety information comprehensive monitoring device). The signal host controls the signal light display on the signal rack and receives the mileage information returned by the sensor on the rail; the monitoring host box controls the screen display to display the vehicle operation status and collects the speed of the speed sensor; the TAX box provides a data sharing platform, which provides power and data to other modules deployed on the train through the backplane slot. The data includes basic information of the train operation, such as mileage, speed, date, time, etc. The TAX box specifically includes a basic configuration unit, an application management unit and a reserved unit. The basic configuration unit includes a power supply unit and a communication recording unit. The application management unit includes a TMIS unit, a track detection unit, a bow net detection unit, a DMIS unit, and a wireless train dispatching voice recording unit. The reserved unit includes four reserved expansion slots for the expansion of the spare function unit.
[0066] like Figure 3 As shown, the first embodiment of the present application provides a collector, including: a collection mainboard, a connector, a Beidou positioning device and a communication device, and the collection mainboard is connected to the connector, the Beidou positioning device and the communication device.
[0067] The collector is inserted into the reserved expansion slot of the TAX box by means of a backplane slot through a plug-in connector, and the collection mainboard is built into the TAX box; the Beidou positioning device includes a Beidou satellite receiving antenna and a Beidou positioning module, the Beidou satellite receiving antenna is installed under the front windshield of the railway train cab, the Beidou positioning module is installed on the collection mainboard, and the Beidou positioning module receives satellite signals through the Beidou satellite receiving antenna; the communication device includes a communication antenna and a communication module, the communication antenna is adsorbed on the TAX box, the communication module is installed on the collection mainboard, and the communication module can send and receive data with the public network server through the communication antenna;
[0068] The central processing unit is integrated on the acquisition main board, and the central processing unit is connected to the TAX box of the locomotive safety information comprehensive monitoring device to receive the line operation data output by the monitoring device; the central processing unit is connected to the Beidou positioning module to receive the train positioning data output by the Beidou positioning module; the central processing unit is connected to the communication module to send the line operation data and train positioning data to the public network server through the communication module, and receive the acquisition parameters sent by the public network server.
[0069] Among them, line operation data includes line mileage, vehicle speed, date, time, and route information; train positioning data includes satellite status, date, time, longitude, latitude, and speed information.
[0070] Optionally, the power supply of the collector can be directly provided by the train TAX box, or a power conversion module can be integrated on the collection mainboard. The power conversion module converts the DC 110V power provided by the TAX box into DC 5V and DC 3.3V to power other modules on the collection mainboard.
[0071] In the embodiment of the present application, the collector specifically includes:
[0072] (1) Central Processing Unit (CPU)
[0073] The central processing unit CPU is connected to the locomotive safety information comprehensive monitoring device and receives data output by the monitoring device, such as line mileage, vehicle speed, date, time, route and other information.
[0074] The central processing unit CPU is connected to the Beidou satellite positioning module and receives data output by the Beidou satellite positioning module, such as satellite status, date, time, longitude, latitude, speed and other information.
[0075] The central processing unit CPU is connected to the communication module, downloads Beidou ephemeris data through the communication module, assists in positioning Beidou satellites, connects to the public network server through the communication module, uploads the collected mileage and coordinate data, and receives collection parameters such as collection frequency, data upload format, etc. through the 4G module.
[0076] The central processing unit CPU specifically includes: a mileage data calculation submodule, a positioning data verification submodule, an effective collection data generation submodule, and an effective collection data cache submodule;
[0077] 1. Mileage data calculation submodule, used to calculate the current mileage data according to the data output by the train monitoring device each time;
[0078] Executed in the first thread, the calculation formula for the current mileage data is: , where S is the current mileage, S0 is the previous mileage calculation result, V0 is the speed output by the previous train monitoring device, and Δt is the output interval time.
[0079] 2. The positioning data verification submodule is used to verify whether the output data of the Beidou positioning module is valid and usable. If it is, the latitude and longitude data is extracted and returned, otherwise it is directly discarded;
[0080] Executed in the second thread, checking whether the output data of the Beidou positioning module is valid and available is specifically divided into the following steps:
[0081] ① Extract the checksum and positioning status from the output data of the Beidou positioning module;
[0082] Use regular expressions to extract the check sum in the output data and the positioning status contained in the ddd…ddd part of the data.
[0083] ②Judge the validity of the current output data based on the checksum and positioning status;
[0084] The same algorithm is used to calculate the checksum once and compare it with the extracted checksum. If the two checksums are consistent and the positioning status is A, the data is valid. If the two checksums are inconsistent or the positioning status is V, the data is invalid.
[0085] ③ Judge the availability of current data based on the historical output data of the Beidou positioning module;
[0086] Availability judgment is used to filter out positioning data with poor accuracy. The judgment is based on a discriminant factor. If the newly received horizontal precision factor is lower than the discriminant factor, it is considered available, otherwise it is considered unavailable. The horizontal precision factor is also included in the data ddd...ddd part. The discriminant factor is calculated based on the historical horizontal precision factor array (extracted from the historical output data and arranged in the output order). The calculation formula is: , where H is the calculation result of the discriminant factor, Indicates the horizontal precision factor with subscript i in the historical horizontal precision factor array. i ranges from 0 to n, and n is the number of data items contained in the historical horizontal precision factor array. is the weight coefficient of the horizontal precision factor with subscript i in the historical horizontal precision factor array, and k is the threshold coefficient.
[0087] 3. The effective collection data generation submodule is used to integrate the longitude and latitude data returned by the positioning data verification submodule with the mileage data calculated by the mileage data calculation submodule to generate effective collection data;
[0088] The first thread continuously calculates mileage data. When the second thread returns valid and usable longitude and latitude data, it takes out the current mileage data in the first thread and integrates it with the data, and adds necessary auxiliary information to form a valid collection data.
[0089] 4. The effective collection data cache submodule is used to cache the generated effective collection data.
[0090] (2) Beidou satellite positioning module
[0091] The basic parameters of the Beidou satellite positioning module are shown in Table 1:
[0092] Table 1 Basic parameters
[0093]
[0094] The data receiving protocol of the Beidou satellite positioning module adopts the NMEA-0183 protocol. The content of this protocol is in ASCII plain code format, and there is no risk of technical blockade.
[0095] The data frame format is as follows: $aaccc,ddd,ddd,…,ddd*hh(CR)(LF)
[0096] Among them, "$" is the start bit of the frame command, aaccc is the address field, the first two digits are the identifier BD representing Beidou, the last three digits are the statement name, ddd...ddd is the data, "*" is the checksum prefix (can also be used as a sign of the end of the statement data), hh is the checksum, the checksum of the ASCII codes of all characters between $ and * (each byte is XORed, and after the checksum is obtained, it is converted into ASCII characters in hexadecimal format), (CR)(LF) are the frame terminators, representing carriage return and line feed respectively.
[0097] The key statements used by the Beidou satellite positioning module are shown in Table 2 below:
[0098] Table 2 Key sentence list
[0099]
[0100] (3) Communication module
[0101] The communication module can be a 4G communication module, a 5G communication module, etc., and can be backward compatible with 3G and 2G network modes. The communication module only needs to meet the communication between the CPU and external devices, and is not limited here.
[0102] In the embodiment of the present application, the communication module can select a wireless communication module with diversity reception function, such as LTE-FDD / LTE-TDD / WCDMA / TD-SCDMA / EVDO / CDMA / GSM, supporting LTE-FDD, LTE-TDD, DC-HSDPA, HSPA+, HSDPA, HSUPA, WCDMA, TD-SCDMA, EVDO, CDMA, EDGE and GPRS network data connections.
[0103] The communication module is connected to the central processing unit CPU, downloads ephemeris data from the Beidou satellite positioning module, assists Beidou positioning, and makes the first cold start positioning faster; the communication module communicates with the public network server, receives collection parameters, and uploads the collected data.
[0104] When Beidou positioning is difficult, the communication module can communicate with the base station through the mobile network to obtain the current base station number, including the location area code LAC and the base station number CID, and then send it to the public network server, calling the third-party LBS database interface to obtain the approximate location.
[0105] The communication module specifically includes: a data collection forwarding submodule, a command forwarding submodule and an auxiliary positioning submodule;
[0106] 1. The data collection and forwarding submodule is used to send the data in the buffer area to the public network server in real time and receive the return data from the public network server;
[0107] If the public network server returns data indicating successful upload, the sent data is marked as successfully sent and removed from the buffer; if the public network server returns data indicating an upload exception, the sent data is marked as data that needs to be resent and put back into the buffer for sending.
[0108] 2. Command forwarding submodule, used to forward control commands issued by the public network server to the central processor;
[0109] If the data returned by the public network server is a newly issued control command, the control command will be executed first and the execution result will be returned to the server. The control command is used to remotely adjust the data output rate of the train monitoring device and Beidou positioning module, or the data receiving interval of the central processor, and can also be used to remotely control the train monitoring device and the central processor.
[0110] If you encounter abnormal situations such as long-term satellite positioning failure, failure to receive TAX data, server upload failure, etc., you can also send abnormal messages to the public network server through the 4G communication module to forward and remind maintenance personnel to handle the fault.
[0111] 3. Auxiliary positioning submodule, used to download ephemeris data and provide auxiliary positioning function for Beidou positioning module;
[0112] The current mobile network base station number, including the location area code LAC and the base station number CID, is obtained through the 4G communication module and sent to the public network server. The third-party LBS database interface is called to obtain the approximate longitude and latitude information of the location and then sent back to the Beidou positioning module to save the time of its full-star search.
[0113] Embodiment 2
[0114] like Figure 4 As shown, the first embodiment of the present application provides a system for dynamically collecting railway data using on-board equipment, including the collector as described in the first embodiment, and also including a public network server and an intranet map server. The public network server is deployed on the public network, and performs data communication with the collector to receive the collected data. The public network server only caches the data and does not parse the data; the intranet map server is deployed on the railway intranet. It communicates with the public network server through a security platform, receives the collected data sent by the public network server, and establishes railway map data in combination with the intranet railway information database and the collected data. Among them:
[0115] 1. Public network server
[0116] The public network server is deployed on the public network, communicates with the collection equipment, and receives the collected data. After receiving the uploaded data, the public network server only performs integrity check on the data packet, does not unpack and parse the data, and does not store the collected original data. If the check is successful, it returns the upload success to the central processor, otherwise it returns the upload exception. At the same time, the public network server also provides remote management functions for the collector, including program updates, parameter settings, exception management, alarm information forwarding, etc.
[0117] Public network servers include:
[0118] The data receiving module is used to receive data sent by the acquisition equipment around the clock, providing a strong guarantee for the real-time nature of the data;
[0119] The data processing module is used to package the received data in real time and send it to the map server of the intranet. To ensure data security, the external network data is not stored locally, but only cached and cleared regularly. The data content does not contain railway information data, and all data is encrypted. Even if it is attacked and cracked, the railway information cannot be extracted. The railway information database is established on the intranet map server;
[0120] The device management module is used to manage all acquisition devices, including monitoring device status, configuration parameters, firmware upgrades, and statistical data collected by devices;
[0121] The exception handling module is used to trigger an alarm or send a notification to the public network server when an abnormality occurs in the acquisition device, so that maintenance personnel can handle it in time.
[0122] (II) Intranet map server
[0123] The intranet map server is deployed in the railway intranet, communicates with the public network server through a secure platform, receives the collected data sent by the public network server, and combines the intranet railway information database and the collected data to establish railway map data. The intranet map server is used to combine the intranet railway information database, extract the line number, line type, mileage data and longitude and latitude data from the effective collected data, and integrate them into map data.
[0124] The intranet map server specifically includes:
[0125] Data receiving and storage module: The intranet map server is equipped with a large-capacity hard disk array. The data receiving and storage module receives the original collected data from the vehicle end sent by the public network server in real time, decodes the original collected data sent by the vehicle end through the hardware authorization decryption key, and stores it in the database.
[0126] Map data analysis module: parse the line number and line type of the vehicle-mounted data by querying the line boundary table and locomotive route table; obtain the correspondence between mileage and longitude and latitude by decrypting the original data; then combine the line number to establish the map data of "line number-line type-line mileage-longitude and latitude data".
[0127] Map data storage and management module: The intranet map server can store and manage the collected map data, and manage it according to the version number mechanism to ensure the centralization and standardization of data.
[0128] Data analysis and decision support module: The intranet map server can perform data analysis according to the set rules, automatically generate new map versions, automatically identify abnormal data, automatically generate data reports, etc.
[0129] Map service interface: Provides an API interface and authorizes other applications on the intranet to call it, making it easier to develop more services and functions based on the intranet electronic map.
[0130] System integration interface: can be integrated with other railway systems to achieve information sharing and improve the overall coordination capability of the system.
[0131] User access and permission management module: Provide different access rights for different user roles (such as administrators, operation and maintenance personnel, etc.) to ensure data security and operational specifications.
[0132] Automatic update module: Regularly and automatically update map data to ensure the accuracy and timeliness of map information.
[0133] Embodiment 3
[0134] like Figure 5 As shown, Embodiment 3 of the present invention provides a method for dynamically collecting railway data using a vehicle-mounted device, comprising:
[0135] Step S510: The collector collects the current line operation data of the train output by the train monitoring device in real time, and collects the train positioning data of the Beidou positioning device in real time;
[0136] The full name of the train monitoring device is the locomotive safety information comprehensive monitoring device. The device provides a data sharing platform and provides power and data to other main boards through the backplane slot. The data includes basic information about the train operation, such as train number, speed, route, date, time, etc. In order to achieve rapid positioning of the Beidou positioning device, the communication device also provides the functions of ephemeris data download and auxiliary positioning, that is, the current base station number, including the location area code LAC and the base station number CID, is obtained through the communication device, and sent to the public network server. The approximate location is obtained by calling the third-party LBS database interface and then sent back to the Beidou positioning module to save its full-star search time.
[0137] The Beidou positioning module completes data exchange with the central processor by adopting the universal NMEA-0183 protocol. The content of this protocol is in ASCII plain code format, and there is no risk of technical blockade.
[0138] The data output rate of the train monitoring device and the Beidou positioning module is issued by the public network server through the communication device. In this embodiment, the output rate of the Beidou positioning module is set to 10 times / second, with an interval of 100 milliseconds, and the output rate of the train monitoring device is 20 times / second, with an interval of 50 milliseconds.
[0139] Step S520: The collector processes the train's current line operation data and train positioning data into valid collection data and uploads them to the public network server;
[0140] The interval time for the central processor of the collector to receive output data is also sent by the public network server, and the processed data is uploaded to the public network server by the communication device. Specifically:
[0141] Step S521: starting a first thread for calculation and a second thread for verification;
[0142] Step S522, in the first thread, calculating the current mileage data according to the current line operation data of the train;
[0143] The calculation formula for the current mileage data is: , where S is the current mileage, S0 is the previous mileage calculation result, V0 is the speed output by the previous train monitoring device, and Δt is the output interval time.
[0144] Step S523: Verify the validity and availability of the train positioning data in the second thread. If the verification is successful, obtain the longitude and latitude data from the train positioning data, take out the current mileage data in the first thread and integrate it with the longitude and latitude data of the second thread to generate a valid collection data;
[0145] First, determine whether the output data of the Beidou positioning module is valid and available. If it is, integrate the latitude and longitude data in the data with the current mileage data calculated by the first thread, add necessary auxiliary information, and generate a valid collection data; otherwise, directly discard it. Check whether the output data of the Beidou positioning module is valid and available. It is divided into the following sub-steps:
[0146] 1. Extract the checksum and positioning status from the output data of the Beidou positioning module;
[0147] The format of Beidou output data is:
[0148] $aaccc,ddd,ddd,…,ddd*hh(CR)(LF);
[0149] “$”: frame command start bit;
[0150] aaccc: address domain, the first two digits are the identifier BD representing Beidou, and the last three digits are the statement name;
[0151] ddd…ddd: data;
[0152] “*”: checksum prefix (can also be used as a marker to indicate the end of statement data);
[0153] hh: check sum, the check sum of all the characters between $ and * (each byte is XORed, and after getting the check sum, the ASCII characters in hexadecimal format are converted);
[0154] (CR)(LF): End of frame, carriage return and line feed.
[0155] A regular expression is used to extract the check sum and the positioning status contained in the ddd…ddd part of the data.
[0156] 2. Determine the validity of the train positioning data based on the checksum and positioning status;
[0157] After receiving the output data of the Beidou positioning module, the central processor uses the same algorithm to calculate the checksum and compares it with the extracted checksum. If the two checksums are consistent and the positioning status is A, the data is valid. If the two checksums are inconsistent or the positioning status is V, the data is invalid.
[0158] 3. Determine the availability of train positioning data based on the historical output data of the Beidou positioning module;
[0159] Availability judgment is used to filter out positioning data with poor accuracy. The judgment is based on a discriminant factor. If the newly received horizontal precision factor is lower than the discriminant factor, it is considered available, otherwise it is considered unavailable. The horizontal precision factor is also included in the data ddd...ddd part. The discriminant factor is calculated based on the historical horizontal precision factor array (extracted from the historical output data and arranged in the output order). The calculation formula is: in H is the calculation result of the discriminant factor, Indicates the horizontal precision factor with subscript i in the historical horizontal precision factor array. i ranges from 0 to n, and n is the number of data items contained in the historical horizontal precision factor array. is the weight coefficient of the horizontal precision factor with subscript i in the historical horizontal precision factor array, and k is the threshold coefficient.
[0160] Step S524: storing the generated valid collected data in the buffer area, and forwarding it to the public network server by the communication device, which is specifically divided into the following sub-steps:
[0161] 1. Send the data in the cache to the public network server in real time and receive the return data from the public network server;
[0162] 2. If the public network server returns data indicating that the upload is successful, the sent data is marked as successfully sent and removed from the cache;
[0163] 3. If the public network server returns data indicating an upload exception, the sent data is marked as data that needs to be resent and put back into the buffer for sending;
[0164] 4. If the data returned by the public network server is a newly issued control command, the control command will be executed first and the execution result will be returned to the server;
[0165] The control command is used to remotely adjust the data output rate of the train monitoring device, Beidou positioning module, or the data receiving interval of the central processor. It can also be used to remotely control the train monitoring device and the central processor.
[0166] If you encounter abnormal situations such as long-term satellite positioning failure, failure to receive TAX data, server upload failure, etc., you can also send abnormal messages to the public network server through the 4G communication module to forward and remind maintenance personnel to handle the fault.
[0167] Step S530: the public network server caches the received valid collected data, and packages and sends it to the intranet map server in the railway intranet in real time;
[0168] After receiving the uploaded data, the public network server only performs integrity check on the data packet, does not unpack and parse the data, and does not store the collected original data. If the check is successful, it returns a successful upload to the central processor, otherwise it returns an upload exception. At the same time, the public network server also provides remote management functions for the collection equipment, including program updates, parameter settings, exception management, alarm information forwarding, etc.
[0169] Step S540: The intranet map server combines with the intranet railway information database to parse the line number, line type, mileage data and longitude and latitude data from the received valid collected data, and integrates them into map data;
[0170] The intranet map server is deployed in the railway intranet and can store the raw data collected by the central processor and the map data created based on the raw data. Specifically:
[0171] Step S541: parse the line number and line type of the valid collected data by querying the line boundary table and the locomotive route table;
[0172] Currently, railway maps are basically single-line. For example, the Beijing-Guangzhou Line is divided into two lines, one for up and one for down. However, only one line is displayed on the general map of the external network, without distinguishing between the up and down lines. The display effect is not good when used in applications. Therefore, this embodiment adds line types when establishing map data to distinguish between up and down railway lines. The line number is obtained by querying the boundary markers and intersection tables in the auxiliary information, and the line type is determined according to the direction of the train.
[0173] Step S542: Create map data by combining route number, route type, mileage data and latitude and longitude data;
[0174] Extract the correspondence between mileage and longitude and latitude in the valid collected data, and then combine the route number to create map data of "route number-route type-route mileage-longitude and latitude data".
[0175] Step S543: integrating the version number mechanism to store the established map data;
[0176] Save historical versions of map data to facilitate later troubleshooting and review, and ensure data traceability and reliability.
[0177] Step S550: the intranet map server automatically generates and updates the railway map based on the established map data, and automatically generates a data report according to preset rules;
[0178] The railway map uses open source maps (such as OpenStreetMap) as the base to avoid dependence on external networks. The railway map is then generated and updated based on the map data. There are general technical means in this field, which will not be repeated here; the preset rules are customized by the user according to needs.
[0179] Step S560: Integrate the intranet map server with other railway intranet systems in the railway intranet, and the intranet map server shares the updated railway map with other railway intranet systems.
[0180] The intranet map server provides an API interface, which is authorized to be called by other intranet applications, facilitating the development of more services and functions based on the intranet electronic map; integrating with other railway systems to achieve information sharing and improve the overall coordination ability of the system. At the same time, different access rights are provided for different user roles (such as administrators, operation and maintenance personnel, etc.) to ensure data security and operational specifications.
[0181] Corresponding to the above embodiment, an embodiment of the present invention provides a computer storage medium, including: at least one memory and at least one processor;
[0182] The memory is used to store one or more program instructions;
[0183] The processor is used to run one or more program instructions to execute a method for dynamically collecting railway data using on-board equipment.
[0184] Corresponding to the above-mentioned embodiment, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer storage medium contains one or more program instructions, and the one or more program instructions are used by a processor to execute a method for dynamically collecting railway data using on-board equipment.
[0185] The embodiment disclosed in the present invention provides a computer-readable storage medium, in which computer program instructions are stored. When the computer program instructions are executed on a computer, the computer executes the above-mentioned method for dynamically collecting railway data using on-board equipment.
[0186] In the embodiment of the present invention, the processor may be an integrated circuit chip having the ability to process signals. The processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0187] The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present invention can be directly embodied as a hardware decoding processor for execution, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The processor reads the information in the storage medium and completes the steps of the above method in combination with its hardware.
[0188] The storage medium may be a memory, which may be, for example, a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memory.
[0189] Among them, the non-volatile memory can be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
[0190] The volatile memory may be a random access memory (RAM) which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDRSDRAM), enhanced synchronous DRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus DRAM (DRRAM).
[0191] The storage media described in the embodiments of the present invention are intended to include, but are not limited to, these and any other suitable types of memory.
[0192] Those skilled in the art will appreciate that in one or more of the above examples, the functions described in the present invention can be implemented using a combination of hardware and software. When software is used, the corresponding functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. Storage media can be any available media that can be accessed by general or special-purpose computers.
[0193] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solution of the present invention should be included in the scope of protection of the present invention.
Claims
1. A collector, characterized in that: include: Collect the mainboard, connectors, Beidou positioning device and communication device, collect the mainboard connection connectors, Beidou positioning device and communication device; The collector is inserted into the reserved expansion slot of the train monitoring device by means of a backplane slot through a plug-in connector, and the collection mainboard is built into the train monitoring device; the Beidou positioning device includes a Beidou satellite receiving antenna and a Beidou positioning module, the Beidou satellite receiving antenna is installed below the front windshield of the railway train cab, the Beidou positioning module is installed on the collection mainboard, and the Beidou positioning module receives satellite signals through the Beidou satellite receiving antenna; the communication device includes a communication antenna and a communication module, the communication antenna is adsorbed on the train monitoring device, the communication module is installed on the collection mainboard, and the communication module can send and receive data with a public network server through the communication antenna; The central processor is integrated on the acquisition mainboard, and the central processor is connected to the train monitoring device to receive the line operation data output by the train monitoring device; the central processor is connected to the Beidou positioning module to receive the train positioning data output by the Beidou positioning module; the central processor is connected to the communication module to send the line operation data and train positioning data to the public network server through the communication module, and receive the acquisition parameters sent by the public network server; the public network server caches the received data, and packages and sends it to the intranet map server in the railway intranet in real time; The intranet map server combines the intranet railway information database to parse the line number, line type, mileage data and longitude and latitude data from the received valid collected data, and integrates them into map data, which is specifically divided into the following sub-steps: By querying the line boundary table and locomotive intersection table, the effective data collection can be analyzed to obtain the line number and line type; Map data is created by combining route number, route type, mileage data and longitude and latitude data; Integrated version number mechanism to store established map data; The data output rate of the train monitoring device and the Beidou positioning module is sent by the public network server through the communication device. The output rate of the Beidou positioning module is 10 times / second, with an interval of 100 milliseconds, and the output rate of the train monitoring device is 20 times / second, with an interval of 50 milliseconds.
2. A collector as claimed in claim 1, characterized in that: Line operation data includes line mileage, speed, date, time, and route information. The line number, line type, and mileage data are determined based on the line operation data; train positioning data includes satellite status and longitude and latitude data.
3. A collector as claimed in claim 1, characterized in that: When Beidou positioning is difficult, the communication device communicates with the base station through the mobile network to obtain the current base station number, including the location area code and base station number, and then sends it to the public network server, calling the third-party database interface to obtain the specific location.
4. A system for dynamically collecting railway data using on-board equipment, characterized in that: It comprises the collector as claimed in any one of claims 1 to 3, and further comprises a public network server and an intranet map server; The collector collects the vehicle-mounted data and sends the data to the public network server. The public network server is deployed on the public network, communicates with the collector, and receives the collected data. The public network server only caches the data and does not parse it. The intranet map server is deployed in the railway intranet, communicates with the public network server through a security platform, receives the collected data sent by the public network server, and creates railway map data by combining the intranet railway information database and the collected data.
5. A system for dynamically collecting railway data using vehicle-mounted equipment as claimed in claim 4, characterized in that: Public network servers include: Data receiving module, used to receive data sent by the collector around the clock; The data processing module is used to package the received data in real time and send it to the map server on the intranet. To ensure data security, the data is not stored locally, but only cached and cleared regularly. The data does not contain railway information and is all encrypted data. Even if it is attacked and cracked, the railway information cannot be extracted. The device management module is used to manage all devices connected to the public network server, including monitoring the status of the device, configuration parameters, firmware upgrades, and statistics of the data collected by the device; The exception handling module is used to trigger an alarm or send a notification when the device management module detects an exception.
6. A system for dynamically collecting railway data using vehicle-mounted equipment as claimed in claim 4, characterized in that: The intranet map server specifically includes: The data receiving and storage module is used to receive the vehicle-mounted data sent by the public network server in real time, decode the vehicle-mounted data through the hardware authorization decryption key, and store it in the intranet railway information database; The map data parsing module is used to parse the vehicle-mounted data to obtain the route number, route type, route mileage and longitude and latitude data, and to establish the map data of route number-route type-route mileage-longitude and latitude data; Map data storage and management module, used for storing and managing map data; Data analysis and decision support module, used to analyze data according to set rules, automatically generate new map versions, automatically identify abnormal data, and automatically generate data reports; Map service interface, used to provide API interface and authorize other applications in the intranet to call; System integration interface, used to integrate with other railway systems to achieve information sharing; User access and permission management module, used to provide different access rights for different user roles; The automatic update module is used to automatically update map data regularly to ensure the accuracy and timeliness of map data.
7. A method for dynamically collecting railway data using vehicle-mounted equipment, characterized in that: The method is applied to the system according to any one of claims 4 to 6, and the method comprises: Step 1: The collector collects the current line operation data of the train output by the train monitoring device in real time, and collects the train positioning data of the Beidou positioning device in real time; Step 2: The collector processes the train's current line operation data and train positioning data into valid collection data and uploads them to the public network server; Step 3: The public network server caches the received valid collected data, and packages and sends it to the intranet map server in the railway intranet in real time; Step 4: The intranet map server combines with the intranet railway information database to parse the line number, line type, mileage data and longitude and latitude data from the received valid collected data, and integrates them into map data; Step 5. The intranet map server automatically generates and updates the railway map based on the established map data, and automatically generates data reports according to preset rules; Step 6. Integrate the intranet map server with other railway intranet systems in the railway intranet, and the intranet map server shares the updated railway map with other railway intranet systems.
8. A method for dynamically collecting railway data using vehicle-mounted equipment as claimed in claim 7, characterized in that: The collector processes the train's current line operation data and train positioning data into valid collection data and uploads it to the public network server. It is divided into the following sub-steps: Calculate the current mileage data based on the train's current line operation data; Verify the validity and availability of the train positioning data. If the verification passes, obtain the longitude and latitude data from the train positioning data. Integrate the current mileage data with the latitude and longitude data to generate a valid collection data; The generated valid collected data is stored in the buffer area and forwarded to the public network server by the communication device.
9. A method for dynamically collecting railway data using vehicle-mounted equipment as claimed in claim 7, characterized in that: Verify the validity and availability of train positioning data, which is divided into the following sub-steps: Extract the checksum and positioning status from the train positioning data; The validity of the train positioning data is judged based on the checksum and positioning status; The availability of train positioning data is judged based on the historical data of the Beidou positioning module.
Citation Information
Patent Citations
Method and device for acquiring current accurate position of train
CN116873002A