CN107423338B - Railway comprehensive detection data display method and device - Google Patents

Railway comprehensive detection data display method and device Download PDF

Info

Publication number
CN107423338B
CN107423338B CN201710292892.0A CN201710292892A CN107423338B CN 107423338 B CN107423338 B CN 107423338B CN 201710292892 A CN201710292892 A CN 201710292892A CN 107423338 B CN107423338 B CN 107423338B
Authority
CN
China
Prior art keywords
detection
mileage
file
sensor
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710292892.0A
Other languages
Chinese (zh)
Other versions
CN107423338A (en
Inventor
陶凯
徐贵红
田新宇
杨飞
代春平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Academy of Railway Sciences Corp Ltd CARS
Infrastructure Inspection Institute of CARS
Beijing IMAP Technology Co Ltd
Original Assignee
China Academy of Railway Sciences Corp Ltd CARS
Infrastructure Inspection Institute of CARS
Beijing IMAP Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Academy of Railway Sciences Corp Ltd CARS, Infrastructure Inspection Institute of CARS, Beijing IMAP Technology Co Ltd filed Critical China Academy of Railway Sciences Corp Ltd CARS
Priority to CN201710292892.0A priority Critical patent/CN107423338B/en
Publication of CN107423338A publication Critical patent/CN107423338A/en
Application granted granted Critical
Publication of CN107423338B publication Critical patent/CN107423338B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9038Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Abstract

The invention relates to a method and a device for displaying railway comprehensive detection data, wherein the method comprises the following steps: acquiring a detection file; the format of the detection file is as follows: a file header detection information block, a file header channel definition block and a file body; the file header detection information block is used for recording the basic condition of the detection; the file header channel definition block is used for recording information of each sensor for acquiring detection data, and the file body is used for recording the detection data of each sensor at each sampling point; analyzing the file body of the detection file according to the file header detection information block and the file header channel definition block to obtain the mileage of each sensor and the corresponding actual detection value; the mileage of each sensor is taken as an X-axis coordinate value in a two-dimensional coordinate system of the display area, the actual detection value of each sensor is taken as a Y-axis coordinate value in the two-dimensional coordinate system of the display area, and the coordinates of each sensor are obtained; in the display area, the same mileage is used as a reference, and corresponding data waveforms are obtained from the coordinates of the sensors.

Description

Railway comprehensive detection data display method and device
Technical Field
The invention relates to the technical field of railway infrastructure detection, in particular to a method and a device for displaying railway comprehensive detection data.
Background
In the aspect of high-speed railway infrastructure maintenance, comprehensive analysis needs to be performed on detection data in all aspects, comprehensive evaluation needs to be performed on equipment states and change trends, a change rule and an evolution mechanism of the high-speed railway infrastructure states are researched, and an auxiliary decision support is provided for maintenance and maintenance of the equipment, so that analysis and research needs to be performed on the relevance between the track geometric states and train dynamic responses and between the track geometric states and contact network states.
At present, the track geometry, train dynamics response (wheel-rail dynamics and acceleration response) and the contact network state respectively have own professional analysis display software, and detection data waveforms in corresponding fields can be independently displayed. When data analysts of a railway head office and each road bureau perform comprehensive analysis, the following problems exist:
(1) the data in the field can be read only by using professional waveform analysis software corresponding to each field, and the detection data which show the same detection line, track geometry of other lines, train dynamics response (wheel-rail dynamics and acceleration response) and a contact network cannot be directly read on the same software interface;
(2) the method of freely combining detection channels of different specialties together and synchronously and comprehensively showing according to mileage is lacked, and the correlation influence among different professional data cannot be directly shown;
(3) and the invalid data section cannot be marked and displayed.
These problems lead to an increase in cost in the detection analysis process and a reduction in the accuracy of the comprehensive analysis in the situation where each professional waveform analysis software is dedicated.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a method and a device for displaying comprehensive railway detection data, wherein each detection professional system stores detection data in a binary file according to mileage records in a detection process, an integrated analysis and waveform display technology needs to be developed, and unified format conversion, data splitting, synchronous positioning and invalid section identification processing are carried out on the detection data of track geometry, wheel-track dynamics, vehicle acceleration and a contact network, so that integrated analysis and display of multi-professional detection data are realized.
In order to achieve the purpose, the invention provides a railway comprehensive detection data display method, which comprises the following steps:
acquiring a detection file; the format of the detection file is as follows: a file header detection information block, a file header channel definition block and a file body; the file header detection information block is used for recording the basic conditions of the detection, and comprises the type code of detection data in the detection file, a detection circuit, a detection line, a detection vehicle number, a detection date, a sampling type, a detection starting and stopping mileage and an increase and decrease mark; the file header channel definition block is used for recording information of each sensor for acquiring detection data, and comprises a channel code, a sampling point accumulated value, a channel proportion, a channel base line value, a mileage label and a sampling point speed of the sensor; the file body is used for recording detection data of each sensor at each sampling point;
analyzing the file body of the detection file according to the file header detection information block and the file header channel definition block to obtain mileage display values of each sensor and corresponding detection display values;
the mileage display value of each sensor is used as an X-axis coordinate value in a two-dimensional coordinate system of the display area, the detection display value of each sensor is used as a Y-axis coordinate value in the two-dimensional coordinate system of the display area, and the coordinate of each sensor is (X, Y); in the display area, the corresponding data waveform is obtained from the coordinates (x, y) of each sensor with the same mileage as a reference.
Preferably, the method further comprises the following steps:
and acquiring data waveforms of the sensors in different time periods by taking the same mileage as a reference, and comparing and displaying the data waveforms of the sensors in different time periods in a display area.
Preferably, the method further comprises the following steps:
acquiring a configuration table of long and short chains corresponding to the detection file, and correcting the mileage of a corresponding sampling point according to the configuration table of long and short chains; wherein the configuration table of the long chain and the short chain comprises: detecting a line, detecting a line type, mileage of a current sampling point, the number of meters of a chain of the current sampling point, and the type of the chain of the current sampling point.
Preferably, the step of obtaining the mileage display value of each sensor includes:
if the sampling type is distance sampling, acquiring the mileage of each sensor according to the channel code, sampling point accumulated value and mileage label in the file header channel definition block and the type code, detection line, detection vehicle number, detection date, start and stop mileage detection and increase and decrease marks used for recording detection data in the file header detection information block;
and if the sampling type is time sampling, acquiring the mileage interval of each sensor according to the channel code and the speed of the sampling point in the file header channel definition block and the type code, the detection circuit, the detection line, the detection vehicle number, the detection date, the detection start-stop mileage and the increase and decrease marks for recording detection data in the file header detection information block.
Preferably, the step of obtaining the detected display value of each sensor comprises:
and each data byte of the file body is subjected to exclusive OR with a binary value of 128, the exclusive OR result of every two bytes is divided by the channel proportion of the corresponding sensor, and then the channel baseline value of the corresponding sensor is added to obtain the detection data display value of each sensor.
Preferably, the step of correcting the mileage of the corresponding sampling point according to the configuration table of the long chain and the short chain comprises:
marking at least two points on a detection line, and acquiring a target line between any two marked points;
acquiring the actual mileage of the target line according to the configuration table of the long and short chains of the target line; wherein, length (ab) ═ B mileage-a mileage + Extra _ long chain absolute value-Extra _ short chain absolute value; the point B and the point A are two marking points on the target line respectively; if the type of the chain of the current sampling point is a long chain, the Extra _ long chain is equal to the number of meters of the chain of the current sampling point, which is-1000; if the type of the chain of the current sampling point is short chain, then Extra _ short chain is the meter number of the chain of the current sampling point;
determining the number of sampling points in the target line, and obtaining the sampling interval between any two marked points according to the number of the sampling points and the actual mileage of the target line;
determining the average value of the sampling intervals according to the sampling intervals between any two marked points;
acquiring the mileage of a starting point, the mileage of an ending point, the mileage interval between the starting point and the ending point, the number of sampling bytes of the starting point, the number of sampling bytes of the ending point and the number of sampling points of the starting point and the ending point according to the average value of the sampling intervals;
and correcting the mileage of each sampling point on the detection line according to the mileage of the starting point, the mileage of the ending point, the mileage distance between the starting point and the ending point, the number of sampling bytes of the starting point, the number of sampling bytes of the ending point and the number of sampling points of the starting point and the ending point.
In order to achieve the above object, the present invention further provides a railway comprehensive testing data display device, comprising:
a memory for storing application program instructions;
a processor coupled with the memory, the processor configured to execute application program instructions stored in the memory, wherein the processor is configured with an application program to:
acquiring a detection file; the format of the detection file is as follows: a file header detection information block, a file header channel definition block and a file body; the file header detection information block is used for recording the basic conditions of the detection, and comprises the type code of detection data in the detection file, a detection circuit, a detection line, a detection vehicle number, a detection date, a sampling type, a detection starting and stopping mileage and an increase and decrease mark; the file header channel definition block is used for recording information of each sensor for acquiring detection data, and comprises a channel code, a sampling point accumulated value, a channel proportion, a channel base line value, a mileage label and a sampling point speed of the sensor; the file body is used for recording detection data of each sensor at each sampling point;
analyzing the file body of the detection file according to the file header detection information block and the file header channel definition block to obtain mileage display values of each sensor and corresponding detection display values;
the mileage display value of each sensor is used as an X-axis coordinate value in a two-dimensional coordinate system of the display area, the detection display value of each sensor is used as a Y-axis coordinate value in the two-dimensional coordinate system of the display area, and the coordinate of each sensor is (X, Y); in the display area, the corresponding data waveform is obtained from the coordinates (x, y) of each sensor with the same mileage as a reference.
Preferably, the processor is configured with the application program further for:
and acquiring data waveforms of the sensors in different time periods by taking the same mileage as a reference, and comparing and displaying the data waveforms of the sensors in different time periods in a display area.
Preferably, the processor is configured with the application program further for:
acquiring a configuration table of long and short chains corresponding to the detection file, and correcting the mileage of a corresponding sampling point according to the configuration table of long and short chains; wherein the configuration table of the long chain and the short chain comprises: detecting a line, detecting a line type, mileage of a current sampling point, the number of meters of a chain of the current sampling point, and the type of the chain of the current sampling point.
The technical scheme has the following beneficial effects:
according to the technical scheme, through unified processing and multi-channel data parallel display of the detection files, correlation display analysis of multi-professional detection data of track geometry, a contact network, vehicle dynamics and vehicle acceleration is achieved, flexible channel setting and user customization are achieved, an important means is provided for high-speed railway infrastructure disease identification, disease cause diagnosis, maintenance decision support and operation quality evaluation, and the method is an important tool facing a maintenance site in high-speed railway maintenance.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for displaying comprehensive railway inspection data according to an embodiment of the present invention;
fig. 2 is a second flowchart of a method for displaying comprehensive railway inspection data according to an embodiment of the present invention;
FIG. 3 is a schematic view of the integrated display of the present embodiment;
FIG. 4 is a second schematic view of the integrated display of the present embodiment;
FIG. 5 is a third exemplary schematic view of the integrated display of the present embodiment;
FIG. 6 is a schematic illustration of a long chain in the present embodiment;
fig. 7 is a schematic diagram of a railway comprehensive detection data display device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flow chart of a method for displaying comprehensive railway inspection data according to an embodiment of the present invention. The method comprises the following steps:
step 101): acquiring a detection file; the format of the detection file is as follows: a file header detection information block, a file header channel definition block and a file body; the file header detection information block is used for recording the basic conditions of the detection, and comprises the type code of detection data in the detection file, a detection circuit, a detection line, a detection vehicle number, a detection date, a sampling type, a detection starting and stopping mileage and an increase and decrease mark; the file header channel definition block is used for recording information of each sensor for acquiring detection data, and comprises a channel name, a sampling point accumulated value, a channel proportion, a channel base line value, a mileage label and a sampling point speed of the sensor; the file body is used for recording detection data of each sensor at each sampling point;
in the technical scheme, the detection files comprise a track geometry detection file, a train dynamics detection file, a vehicle acceleration detection file and a contact network detection file. The detection file is stored in a binary data file, and the sampling modes of detection data contained in the detection file are divided into two types: one is data sampled by distance; one is data sampled in time. In actual analysis, data of each sensor needs to be synchronously displayed according to mileage on the same line and the same row, storage formats of detection data of each professional system are not consistent, and an analysis program is difficult to synchronously display original detection data of each professional system according to mileage during analysis. Therefore, a plurality of detection specialties are arranged on a train, each detection speciality needs time, speed and mileage information, the technical scheme adopts a unified clock, a distance sampling control reference and unified time, speed and mileage labels, data of the plurality of specialties can be ensured to be relatively consistent for one-time detection of a line, synchronous display can be carried out according to mileage in synchronous processing, and synchronous positioning processing of detection data of different specialties is realized.
The technical scheme uniformly requires that the format of each professional detection file is converted into a CIT format, and the format is mainly defined as:
and the file header detection information block is used for recording basic information of the detection, the basic information can help an analyst to know basic conditions of the detection, and if the rail is detected to be in a problem, the analyst can immediately know information such as time, place, date and the like of the problem according to the basic conditions. Wherein, the file header detection information block includes:
the type code of the detection data is used for explaining which detection professional data is recorded in the detection file, such as: acceleration data, orbit geometry data, and other professional data. Different detection data types have different analysis operations;
detect the line, the number is used to indicate which line is detected, is the kyoto line? Jingshen line? If the information is not recorded, if a problem is found, how to know which section of iron has the problem; the detection line corresponds to the industry code, the national line is uniformly defined with 5-bit ASCII code length, a reserved part of the length is set, and the detection line uniformly adopts the industry code.
The detection line is used for explaining whether the direction of the train running is detected from Beijing to Guangzhou (descending) or from Guangzhou to Beijing (ascending), and the detection line is used for positioning the specific position of the small section of the steel rail with the problem.
And detecting the train number and recording which detected train is detected.
And the detection date is used for recording the time when the detection occurs.
The sampling type is used for indicating the sampling type of the sensor, such as: sampled at time intervals (say 2000 samples in a second) or at distance intervals (say 4 samples per meter).
The starting and stopping mileage is detected, and in the technical scheme, the whole section of steel rail is not necessarily tested once by the train. For example, the length of the steel rail is 0 meter to 100 meters, but the detection train can only select to detect a section from 30 meters to 80 meters, and the starting and stopping mileage is 30 and 80).
Increase and decrease flags, which are associated with the detection rows, specify: the upward words are mileage increment, and the downward words are mileage decrement. To locate the specific location of the rail where the problem occurred.
The file header channel definition block is characterized in that in the technical scheme, a plurality of sensors are arranged on a detection train, each sensor acquires one type of data, and if 8 sensors exist, 8 types of data are acquired, namely 8 channels exist; with 100 sensors, 100 data are collected, i.e. there are 100 channels. The header channel definition block is used for explaining basic information of the sensor. Wherein the basic information includes: the channel code of the sensor, the cumulative value of the sampling points, the channel proportion, the channel base line value, the mileage label and the speed of the sampling points. In this embodiment, codes are uniformly defined according to detection channels of four specialties of track geometry, dynamics, vehicle acceleration and catenary detection, namely, the channels are defined in a certain range according to the principle of proper reservation of each speciality within the range of 1-10000. For example: codes within 1-2500 are all channel codes of track geometry speciality, and a file header channel definition block describes basic information of each sensor, such as: sampling point accumulated value, channel proportion, channel baseline value, mileage label and speed of sampling point. The specific data of the sensor is stored in the file body of the CIT file. How can one know that the channel data are stored in the yarn sequence, how big the sampled data is, for all sensors at each sampling point, have collected their own data? This information can be calculated from the header channel definition block.
And the file body is used for recording the mileage of each sensor and correspondingly detecting data. Whether the data are sampled according to the distance or the time, the detection data are recorded according to the actual data corresponding to each channel, the speed of each sampling point is recorded at the same time, and the detection data of each sensor in the file body can be interpreted according to the definition of the channel block in the file header.
Step 102): analyzing the file body of the detection file according to the file header detection information block and the file header channel definition block to obtain mileage display values of each sensor and corresponding detection display values;
for the technical scheme, a uniform coding format is adopted, and detection data in different specialties can be analyzed uniformly according to a file header detection information block and a file header channel definition block. According to the file header channel definition block, the number of the sensors is known, and if 3 sensors exist, data collected by the sensors are stored according to sampling points, namely three kinds of data are recorded by one sampling point. Therefore, the data is stored as follows: sample 1, sample 2, sample 3, sample 4, sample 5, etc., and each sample recorded three types of data, so the data was stored as follows: 1-2-3, etc., each sensor is represented by 2 bytes, and then each sampling point is 3 × 2 — 6 bytes, so that each 6 bytes read in the file body is a sampling point (containing 3 sensors), and the data byte of each sensor is 2. The two bytes are taken out and decrypted, and the real data of a certain sensor of any sampling point is obtained.
And if the sampling type is distance sampling, acquiring the mileage of each sensor according to the channel name, the sampling point accumulated value and the mileage label in the file header channel definition block and the type code, the detection line, the detection vehicle number, the detection date, the detection start-stop mileage and the increase-decrease mark for recording detection data in the file header detection information block. Such as: any detection file is provided with 2 mileage sensors, one is a kilometer mileage sensor, and the other is a kilometer mileage sensor, and the 2 mileage sensors are used for recording the mileage generated by sampling points. For example, at the 1980 sample point, with km and m channels 123 and 456, respectively, we know that this 1980 point occurs at the 123.456km location. According to the detection line, if the detection line is downward, 123.456km is calculated from Beijing, and the other way is from Guangzhou.
And if the sampling type is time sampling, acquiring the mileage interval of each sensor according to the channel name and the speed of the sampling point in the file header channel definition block and the type code, the detection circuit, the detection line, the detection vehicle number, the detection date, the detection start-stop mileage and the increase and decrease marks for recording detection data in the file header detection information block. Assuming that the starting distance is 30 and the ending distance is 100, the distance is 100-30 ═ 70, and if the distance has 100 sampling points, the distance between the sampling points is: 70 divided by 99. 100 samples equally divide this distance into 99.
Therefore, unified analysis and processing of multi-professional data can be realized by adopting the same algorithm, and finally, data sampled by different professionals and sampled by different specialties can be displayed according to the unified distance and mileage benchmark, so that the complex processing of files with different formats is avoided, the program is optimized, and the development workload is reduced.
In addition, in the present embodiment, the detection data stored in the file is sampled according to the distance, and displayed as discrete data points on the computer screen, and these discrete data points are connected by a line to form a data waveform, and it is necessary to convert the mileage of each sampling point recorded in the detection data into a numerical value on the X-axis coordinate, and to convert the data collected by the sensor of each sampling point into a numerical value on the Y-axis coordinate in proportion.The computer screen displays the X-axis coordinate in the width direction and displays the Y-axis coordinate in the height direction. In practice, the sensors of different specialties are various, the data collected by each sensor is of a floating point type, and the data collected by the sensors in the file body of the detection file is converted into an integer type. For floating-point data, the amplitude variation range is complex, and the existing detection value fluctuates widely in positive and negative floating-point numbers (for example, in-10)n~10nIn the range of n being 1 to 5), and also has a detection value fluctuating in a very small range (e.g., -10)-n~+10-nN is 1 to 5); since the data units of the sensors are different from each other, it is difficult to display the detection values at the same height in parallel, and therefore, a storage method is required to store the detection values in a file. The essence of the detection is that the deviation of the detection value from the standard needs to be recorded, the actual detection value of each sensor is firstly subtracted from the channel standard value of the corresponding sensor to obtain the deviation, and then the deviation value of all channels can be converted into integer values which can change between-2,147,483,648 and +2,147,483,647 according to the range of the change amplitude of each deviation multiplied by a proper scale factor (enlarged or reduced according to the change range). That is, for each sensor, the collected data is converted from floating point type to integer type data and stored in the file body, and each sensor has basic parameter information in the file header channel definition block: the channel proportion fcale and the channel baseline value foffset assume that the data actually acquired by a certain sensor is a, and when the data a actually acquired is converted into integer data, the process is as follows: and (a-foffset) fcale b, and performing exclusive-or operation on each byte in b and 128 to store the operation result in the file body. The process of converting the integer data into actually acquired data a is as follows: and (3) XOR-ing each data byte in the file body with 128, setting the XOR result of every two bytes as b, and then restoring the actual data by b/fcale + foffset as a. Therefore, the structural body order of the detected data file is ensured, the phenomenon that a large number of bytes are required to be stored for recording complex floating point numbers is avoided, the file capacity is reduced, the file reading speed is improved, the reference values and the proportionality coefficients of all the sensors are arranged in the configuration file header channel definition block during analysis, and only the read integer values are required to be divided by the channel of the corresponding sensor during analysisThe proportion and the channel baseline value can be used for calculating the detected original value; when the data waveform is displayed, the detection data stored in the file body can be converted into the Y-axis coordinate corresponding to the screen, for the data waveform with small change amplitude, the amplification scale factor can be manually set through the interface, and the waveform display scale of each sensor is adjusted to be approximately the same.
Step 103): the mileage display value of each sensor is used as an X-axis coordinate value in a two-dimensional coordinate system of the display area, the detection display value of each sensor is used as a Y-axis coordinate value in the two-dimensional coordinate system of the display area, and the coordinate of each sensor is (X, Y); in the display area, the corresponding data waveform is obtained from the coordinates (x, y) of each sensor with the same mileage as a reference.
In order to read the detection data of a plurality of sensors in different specialties simultaneously, a plurality of detection files need to be managed in order, wherein one detection file is opened first, then the other detection file is opened, and the like, and the read detection files are managed by the background through writing a software program. When the detection files are read from the memory to the memory, a data label is marked on each read detection file to indicate which is the main display data and which is the secondary display data. The number of data points of one frame is displayed at present, and the data of the memory is read dynamically so as to adapt to the dynamic change of the number of points displayed on each screen under the condition of different display proportions. In the actual display operation, when a user moves a mouse on a screen and drags the mouse according to mileage, the system automatically compares the mileage data to be read newly from the memory data, and if the mileage data is already in the memory queue, the detection file is not read from the memory, but the corresponding detection file is obtained from the memory. Refreshing the memory data after reading the current nonexistent region data from the memory each time; and simultaneously, reading a new detection file from the memory into the memory, reading large data as much as possible at one time without frequently reading small data when the detection file is read and the memory exchanges data, reducing the access times of the file and improving the I/O throughput efficiency.
When a detection file is read, establishing a Hash index in a memory, searching a data position in the Hash index when reading data, and then reading the content at a specified position to realize quick random reading; when the system reads data, the dynamic cycle array is set in the memory according to the maximum channel number display, and the data is displayed in the corresponding channel when the detection data waveforms of the sensors are displayed. The mileage display area is treated as a basic display area, and the detection data of the plurality of sensors are displayed in a wave curve form by using the same mileage as a display reference. I/O operation is not performed during display, and the refreshing rate of the screen is reduced by using double-memory queue cache; if the coordinates of a plurality of points correspond to the same pixel point, the coordinates are combined and then displayed, the display channel and the detection data on the screen are associated, the display position of each displayed file channel can be determined, and the channel translation operation processing with the detection files of the sensors in different specialties as a unit, namely the processing operation with the file layer as the identifier, is realized.
As shown in fig. 3, is one of the comprehensive display diagrams of the present embodiment. In fig. 3, the data collected by different sensors are shown with the same mileage as a benchmark. Such as: the mileage is K3+200, and the detection data of 7 sensors with different specialties, namely a speed sensor, a track gauge sensor, a horizontal sensor, a hard point sensor, an impact sensor, a right-axis vertical 1 sensor and a left-axis vertical 1 sensor, are shown. The detection data at different mileage respectively constitute seven data waveforms. The technical scheme realizes comprehensive display and analysis of multi-professional detection data of track geometry, contact networks, vehicle dynamics and vehicle acceleration, is applied to CRH380A-001 and CRH380B-002 comprehensive detection trains, railway infrastructure detection data centers and various railway bureaus, and provides an effective means for comprehensive analysis of detection engineers.
Fig. 4 is a second schematic view of the integrated display of the present embodiment. As can be seen from FIG. 4, by combining automatic and manual analysis, various invalid sections such as data loss, sunlight interference, station entrance and exit, widening of turnouts, other reasons and the like can be marked, and an intuitive tool is provided for accurate judgment and on-site analysis of analysis engineers.
Fig. 2 shows a second flowchart of a method for displaying comprehensive railway inspection data according to an embodiment of the present invention. On the basis of FIG. 1, the method comprises the following steps:
step 104): and acquiring data waveforms of the sensors in different time periods by taking the same mileage as a reference, and comparing and displaying the data waveforms of the sensors in different time periods in a display area.
Fig. 5 is a third schematic view of the comprehensive display of the present embodiment. In fig. 5, there are two data waveforms for each display channel, with different data waveforms corresponding to different time periods. By comparing the data acquired by the same sensor at different time periods, important means are provided for disease identification, disease cause diagnosis, maintenance suggestion providing and operation quality evaluation of the high-speed railway infrastructure. Meanwhile, the mouse is moved to the position where the mileage needs to be measured on the software interface, and a 'measurement result' window is popped up by clicking to display all channel values of the mileage section, so that the measurement function is realized.
In the technical scheme, the actual mileage of the railway has a long-short chain condition, that is, the mileage jumps among the continuously increased mileage, and the mileage recorded in the file body also jumps, as shown in fig. 6. Let a, B be kilometers, a 35km and B36 km, and in a normal state, B is a +1000m, i.e. 36km is 35km +1000 m. But now for some reason the actual distance between the AB is no longer 1000m, possibly longer than 1000m (e.g. a straight section of rail between the AB is transformed into a curved section of rail), then there is a long chain between the AB. At this time, all the engineering drawings originally involved can be modified, the mileage is measured again and marked correctly on the drawings, and the on-site mileage mark (a post which is buried) is also adjusted again. However, the workload is too large, so that the long and short linked lists are arranged, the original engineering drawings do not need to be moved, and the on-site manufactured milestones do not need to be modified. The long and short linked lists are only required to be taken into account when certain calculation is carried out.
Based on the above, now if the AB segment is long (longer than 1000 meters), say 1890 meters, then: b is a +1890m, i.e. 36km is 35km +1890 m. Mathematically, it is not correct, but in practice, on a train line, at a location of 35km +1890m, the target is 36km (with a post, 36km above), and the field personnel will only use this post as a reference point to find the relative position. In a waveform diagram displayed by waveform software, a mile marker is marked for 35km when 35km is marked, 35km +1000m when 1000m is marked after 35km,35 km +1400m when 1400m is marked after 35km, and 36km when 35km +1890m is marked.
In the waveform software, there is a configuration table of long and short chains, the following table is taken as an example, and the sampling interval of the sampling points is 1000m, as shown in the following table 1:
TABLE 1
Figure BDA0001282340550000101
The configuration table of the long and short chains comprises: detecting a line, detecting a line type, mileage of a current sampling point, the number of meters of a chain of the current sampling point, and the type of the chain of the current sampling point. The meaning of this table is as follows:
for example, the first row, at the point 275km, has a long chain with a length (the actual length of the line) of 1900 meters, i.e., 276km, the milestone is located: 275km +1900 m.
For example, in the third row, at 336km, there is a short chain, which is 105 meters shorter than 1000 meters, and the length of the chain (the actual length of the line) is 1000-: 336km +895 m.
And recording the operation of the user and storing the operation into an IndexOri table. This table records user actions in order, without sorting.
TABLE 2
Figure BDA0001282340550000102
In table 2 above, IndexPoint is the number of sampling bytes of a certain sampling point in the detection file. IndexMeter is a new mileage annotated by the user.
Marking at least two points on a detection line, and acquiring a target line between any two marked points; the user needs to mark at least 2 points to operate the mileage correction algorithm, and the mileage correction algorithm is not operated when the number of the points is less than 2.
For the user marked points, reading the long and short chain table and analyzing the long and short chain table (assuming two points AB), and seeing whether long and short chains exist between the AB, the actual mileage length between the AB is as follows:
when there is no long or short chain between AB, length (AB) ═ B mileage-A mileage
As can be seen from table 1, for a long chain point, the mileage is given by:
extra long-chain-1000 m
For a short chain point, the missing mileage is:
extra short-chain ═ m number
Therefore, the actual mileage between AB is: length (ab) ═ B mileage-a mileage + Extra _ long chain absolute value-Extra _ short chain absolute value; the point B and the point A are two marking points on the target line respectively; if the type of the chain of the current sampling point is a long chain, the Extra _ long chain is equal to the number of meters of the chain of the current sampling point, which is-1000; if the type of the chain of the current sampling point is short chain, then Extra _ short chain is the meter number of the chain of the current sampling point;
the number M of points on the target mileage between the points labeled by the user can also be calculated, and then the sampling interval of the sampling points between the points labeled by the user is: and setting the actual mileage among certain user labeling points as L, and the sampling interval as L/(M-1).
Based on the above description, the sampling intervals between any two marked points have been calculated and averaged.
And (3) sequencing the points marked by the users from small to large (if the route is mileage increment) or from large to small (if the route is mileage decrement), counting the sampling points from the first point marked by the users to the starting point, and calculating the mileage of the starting point according to the average value of the sampling intervals. And similarly, counting sampling points backwards from the last user marked point until the line termination point, and calculating the mileage of the termination point according to the average value of the sampling intervals.
Thus, a starting point, a user marking point and an end point are obtained. These points are stored in table 3 below.
TABLE 3
Figure BDA0001282340550000111
The contents of table 3 above are used for mileage correction. StartPoint, EndPoint in the table is the number of sample bytes of the sample point in the file body. StartMeter is the number of miles of the starting sample point, EndMeter is the number of miles of the ending sample point, ContainsPoint is the number of sample points between StartPoint and EndPoint, ContainsMeter is the distance between the starting sample point and the ending sample point, and ContainsMeter/(ContainsPoint-1) is the new sample distance.
Based on the above table, the mileage of each sample point can be deduced.
And when the oscillogram is displayed, the mile indicator is displayed according to the distance of the estimated sampling point. However, it is noted that long short chains, for example 35km with a long chain, are 1890 meters, then 35km +1km is marked as "35 km +1 km", and 35km +1890m is marked as 36 km.
Therefore, according to the technical scheme, the detection file is analyzed, the configuration table of the long chain and the short chain corresponding to the detection file is obtained, the meter 3 mileage correction table is obtained according to the configuration table of the long chain and the short chain, the mileage of the corresponding sampling point is corrected by using the meter 3 mileage correction table, and the reading efficiency is greatly improved.
It should be noted that while the operations of the method of the present invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
Fig. 7 is a schematic diagram of a device for displaying various railway inspection data according to an embodiment of the present invention. The method comprises the following steps:
a memory a for storing instructions of each application program;
a processor b coupled with the memory, the processor configured to execute application program instructions stored in the memory, wherein the processor is configured with an application program to:
acquiring a detection file; the format of the detection file is as follows: a file header detection information block, a file header channel definition block and a file body; the file header detection information block is used for recording the basic conditions of the detection, and comprises the type code of detection data in the detection file, a detection circuit, a detection line, a detection vehicle number, a detection date, a sampling type, a detection starting and stopping mileage and an increase and decrease mark; the file header channel definition block is used for recording information of each sensor for acquiring detection data, and comprises a channel code, a sampling point accumulated value, a channel proportion, a channel base line value, a mileage label and a sampling point speed of the sensor; the file body is used for recording detection data of each sensor at each sampling point;
analyzing the file body of the detection file according to the file header detection information block and the file header channel definition block to obtain mileage display values of each sensor and corresponding detection display values;
the mileage display value of each sensor is used as an X-axis coordinate value in a two-dimensional coordinate system of the display area, the detection display value of each sensor is used as a Y-axis coordinate value in the two-dimensional coordinate system of the display area, and the coordinate of each sensor is (X, Y); in the display area, the corresponding data waveform is obtained from the coordinates (x, y) of each sensor with the same mileage as a reference.
Further, the application configured by the processor b is further configured to:
and acquiring data waveforms of the sensors in different time periods by taking the same mileage as a reference, and comparing and displaying the data waveforms of the sensors in different time periods in a display area.
Further, the application configured by the processor b is further configured to:
acquiring a configuration table of long and short chains corresponding to the detection file, and correcting the mileage of a corresponding sampling point according to the configuration table of long and short chains; wherein the configuration table of the long chain and the short chain comprises: detecting a line, detecting a line type, mileage of a current sampling point, the number of meters of a chain of the current sampling point, and the type of the chain of the current sampling point.
An embodiment of the present invention further provides a computer-readable program, where when the program is executed in an electronic device, the program causes a computer to execute the railway comprehensive testing data display method as shown in fig. 1 and fig. 2 in the electronic device.
The embodiment of the invention also provides a storage medium storing a computer readable program, wherein the computer readable program enables a computer to execute the railway comprehensive detection data display method as shown in fig. 1 and fig. 2 in an electronic device.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (9)

1. A railway comprehensive detection data display method is characterized by comprising the following steps:
acquiring a detection file; the format of the detection file is as follows: a file header detection information block, a file header channel definition block and a file body; the file header detection information block is used for recording the basic conditions of the detection, and comprises the type code of detection data in the detection file, a detection circuit, a detection line, a detection vehicle number, a detection date, a sampling type, a detection starting and stopping mileage and an increase and decrease mark; the file header channel definition block is used for recording information of each sensor for acquiring detection data, and comprises a channel code of the sensor, a sampling point accumulated value, a channel proportion, a channel base line value, a mileage label and a sampling point speed, wherein the file header channel definition block is also used for determining the storage sequence of channel data in the file body and the size of sampling data of each sampling point; the file body is used for recording detection data of each sensor at each sampling point;
analyzing the file body of the detection file according to the file header detection information block and the file header channel definition block to obtain mileage display values of each sensor and corresponding detection display values;
the mileage display value of each sensor is used as an X-axis coordinate value in a two-dimensional coordinate system of the display area, the detection display value of each sensor is used as a Y-axis coordinate value in the two-dimensional coordinate system of the display area, and the coordinate of each sensor is (X, Y); in the display area, the corresponding data waveform is obtained from the coordinates (x, y) of each sensor with the same mileage as a reference.
2. The method of claim 1, further comprising:
and acquiring data waveforms of the sensors in different time periods by taking the same mileage as a reference, and comparing and displaying the data waveforms of the sensors in different time periods in a display area.
3. The method of claim 1 or 2, further comprising:
acquiring a configuration table of long and short chains corresponding to the detection file, and correcting the mileage of a corresponding sampling point according to the configuration table of long and short chains; wherein the configuration table of the long chain and the short chain comprises: detecting a line, detecting a line type, mileage of a current sampling point, the number of meters of a chain of the current sampling point, and the type of the chain of the current sampling point.
4. The method of claim 1 or 2, wherein the step of obtaining the mileage-indicating value for each sensor comprises:
if the sampling type is distance sampling, acquiring the mileage of each sensor according to the channel code, sampling point accumulated value and mileage label in the file header channel definition block and the type code, detection line, detection vehicle number, detection date, start and stop mileage detection and increase and decrease marks used for recording detection data in the file header detection information block;
and if the sampling type is time sampling, acquiring the mileage interval of each sensor according to the channel code and the speed of the sampling point in the file header channel definition block and the type code, the detection circuit, the detection line, the detection vehicle number, the detection date, the detection start-stop mileage and the increase and decrease marks for recording detection data in the file header detection information block.
5. The method of claim 1 or 2, wherein the step of obtaining the sensed display value of each sensor is:
and each data byte of the file body is subjected to exclusive OR with a binary value of 128, the exclusive OR result of every two bytes is divided by the channel proportion of the corresponding sensor, and then the channel baseline value of the corresponding sensor is added to obtain the detection data display value of each sensor.
6. The method as claimed in claim 3, wherein the step of correcting the mileage of the corresponding sampling point according to the configuration table of the long and short chains comprises:
marking at least two points on a detection line, and acquiring a target line between any two marked points;
acquiring the actual mileage of the target line according to the configuration table of the long and short chains of the target line; wherein, length (ab) ═ B mileage-a mileage + Extra _ long chain absolute value-Extra _ short chain absolute value; the point B and the point A are two marking points on the target line respectively; if the type of the chain of the current sampling point is a long chain, the Extra _ long chain is equal to the number of meters of the chain of the current sampling point, which is-1000; if the type of the chain of the current sampling point is short chain, then Extra _ short chain is the meter number of the chain of the current sampling point;
determining the number of sampling points in the target line, and obtaining the sampling interval between any two marked points according to the number of the sampling points and the actual mileage of the target line;
determining the average value of the sampling intervals according to the sampling intervals between any two marked points;
acquiring the mileage of a starting point, the mileage of an ending point, the mileage interval between the starting point and the ending point, the number of sampling bytes of the starting point, the number of sampling bytes of the ending point and the number of sampling points of the starting point and the ending point according to the average value of the sampling intervals;
and correcting the mileage of each sampling point on the detection line according to the mileage of the starting point, the mileage of the ending point, the mileage distance between the starting point and the ending point, the number of sampling bytes of the starting point, the number of sampling bytes of the ending point and the number of sampling points of the starting point and the ending point.
7. A railway comprehensive detection data display device is characterized by comprising:
a memory for storing application program instructions;
a processor coupled with the memory, the processor configured to execute application program instructions stored in the memory, wherein the processor is configured with an application program to:
acquiring a detection file; the format of the detection file is as follows: a file header detection information block, a file header channel definition block and a file body; the file header detection information block is used for recording the basic conditions of the detection, and comprises the type code of detection data in the detection file, a detection circuit, a detection line, a detection vehicle number, a detection date, a sampling type, a detection starting and stopping mileage and an increase and decrease mark; the file header channel definition block is used for recording information of each sensor for acquiring detection data, and comprises a channel code of the sensor, a sampling point accumulated value, a channel proportion, a channel base line value, a mileage label and a sampling point speed, wherein the file header channel definition block is also used for determining the storage sequence of channel data in the file body and the size of sampling data of each sampling point; the file body is used for recording detection data of each sensor at each sampling point;
analyzing the file body of the detection file according to the file header detection information block and the file header channel definition block to obtain mileage display values of each sensor and corresponding detection display values;
the mileage display value of each sensor is used as an X-axis coordinate value in a two-dimensional coordinate system of the display area, the detection display value of each sensor is used as a Y-axis coordinate value in the two-dimensional coordinate system of the display area, and the coordinate of each sensor is (X, Y); in the display area, the corresponding data waveform is obtained from the coordinates (x, y) of each sensor with the same mileage as a reference.
8. The apparatus of claim 7, wherein the processor configured application is further to:
and acquiring data waveforms of the sensors in different time periods by taking the same mileage as a reference, and comparing and displaying the data waveforms of the sensors in different time periods in a display area.
9. The apparatus of claim 7 or 8, wherein the processor-configured application is further to:
acquiring a configuration table of long and short chains corresponding to the detection file, and correcting the mileage of a corresponding sampling point according to the configuration table of long and short chains; wherein the configuration table of the long chain and the short chain comprises: detecting a line, detecting a line type, mileage of a current sampling point, the number of meters of a chain of the current sampling point, and the type of the chain of the current sampling point.
CN201710292892.0A 2017-04-28 2017-04-28 Railway comprehensive detection data display method and device Active CN107423338B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710292892.0A CN107423338B (en) 2017-04-28 2017-04-28 Railway comprehensive detection data display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710292892.0A CN107423338B (en) 2017-04-28 2017-04-28 Railway comprehensive detection data display method and device

Publications (2)

Publication Number Publication Date
CN107423338A CN107423338A (en) 2017-12-01
CN107423338B true CN107423338B (en) 2020-12-25

Family

ID=60424806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710292892.0A Active CN107423338B (en) 2017-04-28 2017-04-28 Railway comprehensive detection data display method and device

Country Status (1)

Country Link
CN (1) CN107423338B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109557856A (en) * 2018-12-08 2019-04-02 深圳科安达电子科技股份有限公司 A kind of acclerating road switch operation data visual presentation system
CN110197133B (en) * 2019-05-13 2021-06-25 中国铁路总公司 Method and apparatus for aligning detected waveforms
CN113625264A (en) * 2021-06-16 2021-11-09 中国铁道科学研究院集团有限公司铁道建筑研究所 Method and system for parallel processing of railway detection big data
CN114880533B (en) * 2022-07-12 2022-09-13 济南致通华铁测量技术有限公司 System and method for realizing railway mileage mark display

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101590862A (en) * 2008-05-28 2009-12-02 北京人和路通科技有限公司 A kind of real-time monitoring method of track circuit
CN102842103A (en) * 2012-07-17 2012-12-26 北京交通大学 Two-dimensional holographic visualization system and method of high-speed comprehensive detecting train
CN102855659A (en) * 2012-07-17 2013-01-02 北京交通大学 Three-dimensional holographic visualization system and method for high-speed comprehensively detecting train
CN103419815A (en) * 2013-05-30 2013-12-04 北京全路通信信号研究设计院有限公司 Determination method and device for railway information in railway lines

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19532104C1 (en) * 1995-08-30 1997-01-16 Daimler Benz Ag Method and device for determining the position of at least one location of a track-guided vehicle
CN101216828B (en) * 2007-12-27 2012-01-11 北大方正集团有限公司 Image file conversion method and apparatus
CN103617378B (en) * 2013-11-01 2017-07-14 北京创世泰克科技股份有限公司 DRM content protection system and method based on mobile intelligent terminal
CN103984773B (en) * 2014-06-05 2018-06-19 南京信息工程大学 A kind of multi-format weather radar base datum file turns NetCDF document methods
CN104268820A (en) * 2014-09-30 2015-01-07 中国神华能源股份有限公司 Railway detection van detected data processing method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101590862A (en) * 2008-05-28 2009-12-02 北京人和路通科技有限公司 A kind of real-time monitoring method of track circuit
CN102842103A (en) * 2012-07-17 2012-12-26 北京交通大学 Two-dimensional holographic visualization system and method of high-speed comprehensive detecting train
CN102855659A (en) * 2012-07-17 2013-01-02 北京交通大学 Three-dimensional holographic visualization system and method for high-speed comprehensively detecting train
CN103419815A (en) * 2013-05-30 2013-12-04 北京全路通信信号研究设计院有限公司 Determination method and device for railway information in railway lines

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
车载数据综合分析处理系统;赵钢 等;《铁路技术创新》;20120229(第2012年第1期);23-27 *

Also Published As

Publication number Publication date
CN107423338A (en) 2017-12-01

Similar Documents

Publication Publication Date Title
CN107423338B (en) Railway comprehensive detection data display method and device
US20120203402A1 (en) Intelligent Railway System for Preventing Accidents at Railway Passing Points and Damage to the Rail Track
CN108583624B (en) Train running state visualization method and device
JP2014044096A (en) Orbital position data giving system, and orbital position data giving method
JP2010181949A (en) Gauge drift detection device and gauge drift detection method
CN110046212B (en) Road condition change information determining method and device, computer equipment and storage medium
CN113032380B (en) Method, system and equipment for aligning internal and external detection data of pipeline
CN106327866A (en) Vehicle travel OD dividing method and system based on RFID
CN109606430B (en) Automatic positioning method, automatic positioning system and automatic driving device for rail car
CN106651731A (en) Historical-data-based communication tower to-be-solved problem set generation method and system
CN113935158B (en) Traffic detector optimal layout method for multiple points of expressway accident
CN102521475A (en) Motion track describing method of motion equipment
CN106679627B (en) A kind of communication iron tower verticality Problem judgment method and system based on Internet of Things
CN111309791A (en) Automatic data acquisition method for detection instrument
KR100866613B1 (en) Apparatus and method of setting up wheel diameter
CN108665723B (en) Information acquisition method and device
CN112040433A (en) Data processing method and device
KR101048804B1 (en) Rail cumulative tonnage measurement device
KR101791947B1 (en) Driving evaluation method and apparatus based on fractal dimension analysis
JP2003329431A (en) Contact wire abrasion state analyzer
JP2007248341A (en) Method and system for detecting position of supporting point of trolley wire
CN112829797B (en) Method, device, equipment and storage medium for acquiring parameters of line points
JP6617221B1 (en) Data processing apparatus, program, and recording medium
CN105547932B (en) A kind of signal demodulator method of motor oil metallic particles on-line monitoring
JP2013122459A (en) Pq measurement processing device and pq measurement processing program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant