CN107423338A - A kind of railway combined detection data display method and device - Google Patents
A kind of railway combined detection data display method and device Download PDFInfo
- Publication number
- CN107423338A CN107423338A CN201710292892.0A CN201710292892A CN107423338A CN 107423338 A CN107423338 A CN 107423338A CN 201710292892 A CN201710292892 A CN 201710292892A CN 107423338 A CN107423338 A CN 107423338A
- Authority
- CN
- China
- Prior art keywords
- detection
- mileage
- sensor
- point
- file
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/9038—Presentation of query results
Abstract
The present invention relates to a kind of railway combined detection data display method and device, method to include:Obtain detection file;It is described detection file form be:File header detection information block, file header passage definition block, file body;Wherein, file header detection information block is used for the basic condition for recording this detection;File header passage definition block is used for the information for recording each sensor for obtaining detection data, and file body is used for the detection data for recording each sensor of each sample point;The file body for detecting file is parsed according to file header detection information block, file header passage definition block, obtains the mileage and accordingly actually detected value of each sensor;For the mileage of each sensor as X-axis coordinate value in the two-dimensional coordinate system of viewing area, the actually detected value of each sensor obtains the coordinate of each sensor as Y-axis coordinate value in the two-dimensional coordinate system of viewing area;In viewing area, using identical mileage as benchmark, the data waveform according to corresponding to obtaining the coordinate of each sensor.
Description
Technical field
The present invention relates to railway infrastructure detection technique field, more particularly to a kind of railway combined detection data display side
Method and device.
Background technology
, it is necessary to which each side detection data carry out comprehensive analysis, to equipment state in terms of high speed railway foundation facility maintenance
And variation tendency carries out comprehensive assessment, high speed railway foundation frastructure state changing rule and evolution mechanism are studied, is the dimension of equipment
Repair maintenance provide aid decision support, then it is necessary to track geometry status and train dynamics response, track geometry status with
The relevance of contact net state is analyzed and researched.
At present, track geometry, train dynamics response (wheel rail dynamicses, acceleration responsive), contact net state each have
The analysis displaying software of specialty itself, it can individually show the detection data waveform in corresponding field.Railway parent company, each road bureau
Problems be present when carrying out comprehensive analysis in data analyst:
(1), can only using each field, professional waveform analysis software reads the data of this area accordingly, it is impossible to same soft
Part interface directly reads the same detection circuit of displaying, the other track geometry of row, train dynamics response (wheel rail dynamicses, acceleration
Degree response), the detection data of contact net;
(2) means for showing the sense channel independent assortment of different majors by mileage simultaneous synthesis together, are lacked, no
The association that can directly show between different majors data influences;
(3) display invalid data section can not, be marked.
Problems above, form each professional waveform analysis software and be respectively the situation sought, cause in detection and analysis process
The raising of middle cost input and the accuracy of comprehensive analysis be not high.
The content of the invention
To solve problem of the prior art, the present invention proposes a kind of railway combined detection data display method and device, respectively
Detect professional system in detection process by mileage record with binary file store detection data, it is necessary to develop integrated analysis with
Waveform display technique, unified form turn is carried out to the detection data of track geometry, wheel rail dynamicses, vehicle acceleration, contact net
Change, data partition, synchronously positioning and the processing of invalid zone id, realize multi-specialized detection data integrated analysis displaying.
To achieve the above object, the invention provides a kind of railway combined detection data display method, including:
Obtain detection file;It is described detection file form be:File header detection information block, file header passage definition block,
File body;Wherein, the file header detection information block is used in the basic condition for recording this detection, including the detection file
Detect the type coding, detection circuit, detection row of data not, detection license number, the detection date, sample types, detection start-stop mileage,
Increase and decrease mark;The file header passage definition block is used for the information for recording each sensor for obtaining detection data, including described
The channel coding of sensor, sampled point aggregate-value, passage ratio, passage baseline value, mileage label, the speed of sampled point;It is described
File body is used for the detection data for recording each sensor of each sample point;
The file body of the detection file is entered according to the file header detection information block, the file header passage definition block
Row parsing, obtains the mileage show value of each sensor and accordingly detects show value;
The mileage show value of each sensor is as X-axis coordinate value in the two-dimensional coordinate system of viewing area, the inspection of each sensor
Show value is surveyed as Y-axis coordinate value in the two-dimensional coordinate system of viewing area, the coordinate for obtaining each sensor is (x, y);Showing
Region, using identical mileage as benchmark, the data waveform according to corresponding to obtaining the coordinate (x, y) of each sensor.
Preferably, in addition to:
Using identical mileage as benchmark, the data waveform of each sensor of different time sections is obtained, will in viewing area
The data waveform of each sensor of different time sections compares display.
Preferably, in addition to:
The allocation list of long short chain corresponding to the detection file is obtained, is sampled according to the allocation list of the long short chain by corresponding
The mileage of point is corrected;Wherein, the allocation list of the long short chain includes:Detect circuit, detection is gone not, in current sampling point
Journey, the rice number of chain of current sampling point, current sampling point chain type.
Preferably, the step of mileage show value of each sensor of acquisition includes:
If the sample types are distance samples, channel coding, sampling in the file header passage definition block
Be used in point aggregate-value, mileage label and the file header detection information block type coding of recording detection data, detection circuit,
Detection row not, detection license number, detection date, detection start-stop mileage, increase and decrease mark obtain the mileage of each sensor;
If the sample types are time sampling, channel coding, sampling in the file header passage definition block
Point speed and the file header detection information block in be used for recording detection data type coding, detection circuit, detection row not,
License number, detection date are detected, start-stop mileage is detected, increases and decreases the mileage spacing that mark obtains each sensor.
Preferably, the step of detection show value of each sensor of acquisition is:
Each data byte of the file body and the XOR of binary numeral 128, by the result of the XOR of each two byte
Divided by passage ratio and then the passage baseline value plus respective sensor of respective sensor, obtain the inspection of each sensor
Survey data show value.
Preferably, the mileage of corresponding sampled point is corrected step and included by the allocation list according to the long short chain:
Remember at 1 points in detection circuit subscript, obtain the target line between any two marks point;
According to the allocation list of the long short chain of the target line, the actual mileage of the target line is obtained;Wherein,
The absolute value of the absolute value-Extra_ short chains of length (AB)=B point mileage-A point mileage+Extra_ long-chains;B points, A points difference
For two mark points in target line;The type of the chain of current sampling point is long-chain, then Extra_ long-chains=current sampling point
Chain rice number -1000;The type of the chain of current sampling point is the rice of short chain, the then chain of Extra_ short chains=current sampling point
Number;
The sampled point number in the target line is determined, according to the sampled point number and the reality of the target line
Border mileage obtains the sampling interval between any two marks point;
Sampling interval average value is determined according to the sampling interval between any two mark points;
Obtained according to sampling interval average value between the mileage of starting point, the mileage of terminating point, starting point and terminating point
Mileage spacing, the sample bytes number of starting point, the number of the sample bytes number of terminating point and the sampled point of starting point and terminating point
Mesh;
Adopted according to mileage spacing between the mileage of starting point, the mileage of terminating point, starting point and terminating point, starting point
It is every on the number correct detection circuit of sample byte number, the sample bytes number of terminating point and the sampled point of starting point and terminating point
The mileage of individual sampled point.
To achieve the above object, present invention also offers a kind of railway combined detection data presentation device, including:
Memory, for storing each application program instructions;
Processor, it is coupled with the memory, and the processor is configured as performing and is stored in the memory
Application program instructions, wherein, the application program that the processor is configured is used for:
Obtain detection file;It is described detection file form be:File header detection information block, file header passage definition block,
File body;Wherein, the file header detection information block is used in the basic condition for recording this detection, including the detection file
Detect the type coding, detection circuit, detection row of data not, detection license number, the detection date, sample types, detection start-stop mileage,
Increase and decrease mark;The file header passage definition block is used for the information for recording each sensor for obtaining detection data, including described
The channel coding of sensor, sampled point aggregate-value, passage ratio, passage baseline value, mileage label, the speed of sampled point;It is described
File body is used for the detection data for recording each sensor of each sample point;
The file body of the detection file is entered according to the file header detection information block, the file header passage definition block
Row parsing, obtains the mileage show value of each sensor and accordingly detects show value;
The mileage show value of each sensor is as X-axis coordinate value in the two-dimensional coordinate system of viewing area, the inspection of each sensor
Show value is surveyed as Y-axis coordinate value in the two-dimensional coordinate system of viewing area, the coordinate for obtaining each sensor is (x, y);Showing
Region, using identical mileage as benchmark, the data waveform according to corresponding to obtaining the coordinate (x, y) of each sensor.
Preferably, the application program that the processor is configured is additionally operable to:
Using identical mileage as benchmark, the data waveform of each sensor of different time sections is obtained, will in viewing area
The data waveform of each sensor of different time sections compares display.
Preferably, the application program that the processor is configured is additionally operable to:
The allocation list of long short chain corresponding to the detection file is obtained, is sampled according to the allocation list of the long short chain by corresponding
The mileage of point is corrected;Wherein, the allocation list of the long short chain includes:Detect circuit, detection is gone not, in current sampling point
Journey, the rice number of chain of current sampling point, current sampling point chain type.
Above-mentioned technical proposal has the advantages that:
The technical program is by the processing of detection file consolidation and multi-channel data shown in parallel, realizing track geometry, connecing
The multi-specialized detection data correlation display analysis of net-fault, dynamics of vehicle, vehicle acceleration, and realize flexible passage set and
User customizes, and is supported for high speed railway foundation facility disease recognition, disease causes diagnosis, maintenance decision and operation quality evaluation carries
Important means has been supplied, has been the important tool at oriented for maintenance scene in high-speed railway maintenance.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of one of railway combined detection data display method flow chart that the embodiment of the present invention proposes;
Fig. 2 is the two of a kind of railway combined detection data display method flow chart that the embodiment of the present invention proposes;
Fig. 3 is one of synthesis display schematic diagram of the present embodiment;
Fig. 4 is the two of the synthesis display schematic diagram of the present embodiment;
Fig. 5 is the three of the synthesis display schematic diagram of the present embodiment;
Fig. 6 is long-chain schematic diagram in the technical program;
Fig. 7 is a kind of railway combined detection data presentation device schematic diagram that the embodiment of the present invention proposes.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
A kind of as shown in figure 1, one of railway combined detection data display method flow chart proposed for the embodiment of the present invention.
Including:
Step 101):Obtain detection file;It is described detection file form be:File header detection information block, file header lead to
Road definition block, file body;Wherein, the file header detection information block is used for the basic condition for recording this detection, including described
The type coding of data is detected in detection file, other circuit, detection row, detection license number is detected, detects date, sample types, inspection
Survey start-stop mileage, increase and decrease mark;The file header passage definition block is used for the letter for recording each sensor for obtaining detection data
Breath, including the tunnel name of the sensor, sampled point aggregate-value, passage ratio, passage baseline value, mileage label, sampled point
Speed;The file body is used for the detection data for recording each sensor of each sample point;
In the technical program, detection file includes track geometry detection file, train dynamics detection file, vehicle and added
Velocity measuring file, Contact Line Detection file.Detection file is stored in binary data file, detects the inspection included in file
The sample mode for surveying data is divided into two kinds:A kind of is the data by distance samples;A kind of is the data temporally sampled.In reality
During analysis, it is necessary to same circuit, row not on press each sensor of mileage simultaneous display data, the testing number of each professional system
According to preserving, form is not consistent, and analysis program is difficult to synchronously show by mileage in each professional raw sensor data of parsing.Therefore, one
There are multiple detection specialties on train, each specialty that detects is required for time, speed and mileage information, and the technical program is using unified
Clock, distance samples control benchmark, the unified time, speed and mileage label, it can be ensured that multi-specialized data are for one
The one-time detection of bar circuit is relatively uniform, and different majors testing number can be realized by mileage simultaneous display in synchronization process
According to synchronous localization process.
The form of each professional detection file is converted to CIT forms by the technical program uniform requirement, and its form is mainly fixed
Justice is:
File header detection information block, for recording the Back ground Information of this detection, these Back ground Informations can help to analyze
Personnel understand the basic condition of this detection, if detection finds that rail is problematic, can just be obtained at once according to these basic conditions
Know the information such as the time that problem occurs, place, date.Wherein, file header detection information block includes:
The type coding of data is detected, for illustrating which kind of detection expert data of this detection file record, such as:Accelerate
The data of degree, track geometry data, or other professional data.The different detection data class analytic operations to be done are not
With;
Circuit is detected, which bar circuit what the numbering was used for representing to detect is, is Beijing-Guangzhou RailwayBeijing-Shenyang lineIf do not record this
Individual information, if it find that how problem, can know that it is which lengths of rail has gone wrong;Wherein, detection circuit corresponds to SIC code
The bit ASCII code length of circuit unified definition 5 in the whole nation and reserved part length are configured, detection row is not used uniformly industry
Interior coding.
Detection row is other, is to reach Guangzhou (descending) from Beijing for illustrating to detect the direction of train vibration influence, or from Guangzhou
Beijing (up) is reached, this is used for the particular location for positioning that a bit of rail of generation problem.
License number is detected, is which detection train detects for recording.
The date is detected, for recording the time that detection occurs.
Sample types, for representing the sample types of sensor, such as:According to the sampling of time spacing (such as in one second
Sampling 2000 times), also according to (such as one meter sample 4 times) sampled apart from spacing.
Start-stop mileage is detected, in the technical program, detection train is not necessarily all tested whole section of rail one time.Such as steel
Rail length is 0 meter to 100 meters, but detect train can select only detection from 30 meters to 80 meters, this section, start-stop mileage are exactly
30 and 80).
Increase and decrease mark, this with detection row it is not relevant, it is specified that:It is to subtract mileage if descending to increase mileage if up.With
Carry out the particular location of the rail of orientation problem generation.
File header passage definition block, in the technical program, detecting has multiple sensors on train, each sensor collection
A kind of data, if 8 sensors, that just gathers 8 kinds of data, that is, has 8 passages;There are 100 sensors, just gather
100 kinds of data, that is, have 100 passages.File header passage definition block is exactly the essential information for illustrating sensor.Wherein,
Essential information includes:Channel coding, sampled point aggregate-value, passage ratio, passage baseline value, mileage label, the sampling of sensor
The speed of point.In the present embodiment, lead to by four track geometry, dynamics, vehicle acceleration, Contact Line Detection professional detections
Road unified definition coding, i.e., in the range of 1~10000, it is defined according to the suitably reserved principle division certain limit of each specialty
Passage.Such as:The code within 1~2500 is defined all to say for the channel code of track geometry specialty, file header passage definition block
Understand the essential information of each sensor, such as:Sampled point aggregate-value, passage ratio, passage baseline value, mileage label, sampled point
Speed.The specific data storage of sensor is in the file body of CIT file.How that knows that these channel datas are according to what
Sequential storage, the sensor all to each sampled point acquires the data of oneself, that this time sampled data have it is much
These information can be calculated by file header passage definition block.
File body, for recording the mileage of each sensor and accordingly detecting data.Either press distance samples data
Still temporally sampled data, detection data are that the real data as corresponding to each passage is recorded, while record each sampling
The speed of point, passage block defines the detection data that each sensor in file body can be explained out from file header.
Step 102):According to the file header detection information block, the file header passage definition block to the detection file
File body parsed, obtain the mileage show value of each sensor and accordingly detect show value;
For the technical program, using Unified coding form, being in the detection data of parsing different majors can be by text
Part head detection information block, file header passage definition block carry out analytic uniform.According to file header passage definition block it is understood that sensor
Number, it is assumed that have 3 sensors, the data of sensor collection are deposited according to sampled point, i.e., a sampled point just have recorded
Three kinds of data.So data storage is as follows:Sampled point 1, sampled point 2, sampled point 3, sampled point 4, sampled point 5 etc., and it is each
Sampled point all have recorded three kinds of data, so data storage is as follows:1-2-3,1-2-3,1-2-3,1-2-3 etc., each sensing
2 byte representations of device, then each sampled point is exactly 3*2=6 byte, so often reading 6 bytes in file body just
It it is a sampled point (containing 3 sensors), the data byte of each sensor is 2.The two bytes are taken out, solved
It is close, just obtain the True Data of some sensor of any sampled point.
If the sample types are distance samples, tunnel name, sampling in the file header passage definition block
Be used in point aggregate-value, mileage label and the file header detection information block type coding of recording detection data, detection circuit,
Detection row not, detection license number, detection date, detection start-stop mileage, increase and decrease mark obtain the mileage of each sensor.Such as:It is any
There are 2 odometer sensors in detection file, one is kilometage sensor, and another is a meter odometer sensor, for remembering
Record the mileage that sampled point occurs.For example, the 1980th sampled point, itself km and m passage is respectively 123 and 456, that we know that
This 1980th point occurs in 123.456km opening positions.Other according to detection row, if descending, this 123.456km is from north
Capital starts to calculate, otherwise is from Guangzhou.
If the sample types are time sampling, tunnel name, sampling in the file header passage definition block
Point speed and the file header detection information block in be used for recording detection data type coding, detection circuit, detection row not,
License number, detection date are detected, start-stop mileage is detected, increases and decreases the mileage spacing that mark obtains each sensor.Assuming that starting mileage is
30, it is 100 to terminate mileage, then this segment distance is exactly 100-30=70, if this segment distance has 100 sampled points, then adopt
Sampling point spacing:70 divided by 99.This segment distance is divided into 99 parts by 100 sampled points.
Can thus identical algorithm be used to realize analytic uniform to multi-specialized data and processing, most different majors at last
The data of difference sampling can avoid and different-format file is answered by unified distance and the displaying of mileage benchmark is converted to
The work of reason is lived together, optimizes program, reduces development amount.
In addition, in the technical program, the detection data being stored in file body are by distance samples, in computer screen
Upper display turns into discrete data point, turns into data waveform after these discrete data points are connected with line, it is necessary to by testing number
The numerical value being converted into according to the mileage of each sampled point of middle record on X-axis coordinate, the data of the sensor collection of each sampled point are pressed
Ratio is converted into the numerical value on Y-axis coordinate.Computer screen is wide to display X-axis coordinate, high to display Y-axis coordinate.In practice
The kind of sensor of different majors is numerous, and the data of each sensor collection are floating type, are passed in the file body of detection file
The data of sensor collection are converted to integer.For real-coded GA, its amplitude excursion is complicated, existing positive and negative
Floating number wide fluctuations detected value is (such as -10n~10nIn the range of, n is 1~5), also have and to be fluctuated in very low range very much
Detected value is (such as -10-n~+10-n, n is 1~5);The data unit of each sensor is not quite similar, it is difficult to by detected value by identical
Highly-parallel is shown, needs consideration storage mode during storage detected value in file body for this.The essence of detection is to need to record
The deviation of detected value and standard, the actually detected value of each sensor is subtracted to the channel standard value of corresponding sensor first, obtained
To deviation, appropriate proportionality coefficient is then multiplied by according to the change amplitude range of each deviation and (is amplified according to excursion or contracted
It is small), the deviation of whole passages can be converted into the integer changed between -2,147,483,648~+2,147,483,647
Numerical value.That is, for each sensor, the data of collection are converted into integer data by floating type, and be stored in text
In part body, each sensor has basic parameter information in file header passage definition block:Passage ratio fcale and passage baseline value
Foffset, it is assumed that the data of some sensor actual acquisition are a, when the data a of actual acquisition is converted into integer data, mistake
Cheng Wei:(a-foffset) each byte is stored to file body with 128 xor operations and then operating result again in * fcale=b, b
In.The process that integer data is converted to the data a of actual acquisition is:Each data byte, will first with 128 XORs in file body
The result of the XOR of each two byte is b, and then b/fcale+foffset=a, just restores real data.So,
Both the structure order of detection data file is ensure that, avoids the complicated floating number of record to need a large amount of byte storages to reduce again
File size, improve and read file speed, all a reference value of each sensors and proportionality coefficient are arranged at and matched somebody with somebody in parsing
Put in file header passage definition block, the passage ratio by the integer value of reading divided by respective sensor is only needed when parsing, then
Plus passage baseline value with regard to the raw value of detection can be calculated;In display data waveform, will can be stored in file body
Detection data are converted into Y-axis coordinate corresponding with screen, for the small data waveform of amplitude of variation, can set amplification manually by interface
Proportionality coefficient, adjusting the waveform displaying ratio of each sensor tends to be identical.
Step 103):The mileage show value of each sensor is each to pass as X-axis coordinate value in the two-dimensional coordinate system of viewing area
Sensor detection show value be used as Y-axis coordinate value in the two-dimensional coordinate system of viewing area, obtain each sensor coordinate be (x,
y);In viewing area, using identical mileage as benchmark, the data waveform according to corresponding to obtaining the coordinate (x, y) of each sensor.
To read the detection data of the sensor of multiple different majors simultaneously, it is necessary to be carried out against multiple detection files orderly
Management, which detection file be first opened, then again open which detection file, subsequently again open which detection file
Deng from the background by writing detection file management of the software program reading.When detection file to internal memory is read from memory,
Data label is stamped to the detection file of each reading, it is main display data which, which is represented, and which is time display data.It is current aobvious
Show the data points of a frame, dynamic reads the data of internal memory, to adapt to often shield the points of display in the case of different displaying ratios
Dynamic change.In actually displaying operation, for user when mobile mouse is dragged by mileage on screen, system is automatically from internal storage data
The middle mileage that newly read, if the mileage in memory queue, is not gone from memory
Detection file is read, but detection file corresponding to being obtained from internal memory.Every time from internal memory read currently without number of regions
Refresh internal storage data again after;Simultaneously new detection file is read from memory into internal memory, read detection file with
When internal memory exchanges data, once read chunk data as far as possible and infrequently read small block data, reduce the access times to file, carry
High I/O throughput efficiencies.
When detecting file reading, Hash indexes are established in internal memory, when reading data, the first searching data position in Hash indexes
Put, then to specified location reading of content, realize quick random read take;When system reads data, set by display largest passages number
In memory setting dynamic circulation array, shown in the detection data waveform displaying of multiple sensors in respective channel.Wherein, it is inner
The journey viewing area viewing area most basic as one is individually handled, and the detection data of multiple sensors are all with identical mileage
Wavy curve is carried out as display benchmark to show.I/O operation is not done in display, being cached using double memory queues reduces screen brush
New rate;If multiple point coordinates correspond to same pixel, first merge and show again, associate display channel and testing number on screen
According to, it may be determined that the file approach display location each shown, realize in units of the detection file of the sensor of different majors
Passage translation processing, i.e., using file figure layer for mark processing operation.
As shown in figure 3, one of synthesis display schematic diagram for the present embodiment.In figure 3, data using identical mileage as
Benchmark, the data that different sensors gather are shown.Such as:Mileage is at K3+200, illustrates velocity sensor, gauge
Hang down 1 sensor, left axle of sensor, horizon sensor, hard spot sensor, shock transducer, right axle is hung down 1 sensor this 7 kinds of differences
The detection data of the sensor of specialty.Detection data at different mileages have respectively constituted seven data waveforms.The technical program
To realizing the multi-specialized detection data overview display analysis of track geometry, contact net, dynamics of vehicle, vehicle acceleration, apply
On CRH380A-001, CRH380B-002 comprehensive detection train and railway infrastructure detects data center, each Railway Bureau, for inspection
Survey engineer's progress comprehensive analysis and provide effective means.
As shown in figure 4, two of synthesis display schematic diagram for the present embodiment.As shown in Figure 4, by automatically and manually analyzing
Be combined, can mark out shortage of data, sunlight interference, it is out of the station, widen a variety of invalid sections such as track switch, other reasonses, for point
Analysis engineer accurately judges and field assay provides intuitively instrument.
As shown in Fig. 2 the two of a kind of railway combined detection data display method flow chart proposed for the embodiment of the present invention.
On the basis of Fig. 1, including:
Step 104):Using identical mileage as benchmark, the data waveform of each sensor of different time sections is obtained, aobvious
Show region, the data waveform of each sensor of different time sections is compared into display.
As shown in figure 5, three of synthesis display schematic diagram for the present embodiment.In Figure 5, each display channel has two numbers
According to wavy curve, different data waveform curves corresponds to the different periods.Adopted by comparing the identical sensor of different time sections
The data of collection, suggest for high speed railway foundation facility disease recognition, disease causes diagnosis, offer maintenance and operation quality evaluation carries
Important means is supplied.Meanwhile mouse is moved to and needs to measure mileage position on software interface, clicks ejection " measurement result " window
Mouth shows mileage section whole channel value, realizes measurement function.
In the technical program, be present long short chain situation in the actual mileage of railway, i.e., occur in the mileage increased continuously
Mileage saltus step situation, the mileage recorded in file body is there is also saltus step situation, as shown in Figure 6.Assuming that A, B are kilometer posts, A is
35km, B 36km, in normal state, B=A+1000 rice, that is, 36km=35km+1000 rice.But now as certain
Kind of reason so that the actual range between AB is no longer 1000 meters, may be longer than 1000 meters (such as one section of straight line iron between AB
Rail has been transformed into curved rail length), then, just there is a long-chain between AB.At this point it is possible to change all works being originally related to
Journey drawing, marked correctly mileage rechain and on drawing, while also the milepost at scene, (one has been buried
Pillar) readjust.But such words workload is too big, therefore, just length chained list, so, original engineering are provided with
Drawing does not have to move, and the live milepost being ready for is without transformation.Only needed long short chain when doing certain calculating
Table is taken into account.
Based on situation above, if AB sections are long-chain (longer than 1000 meters) now, it is assumed that be 1890 meters, then:B=A+
1890 meters, that is, 36km=35km+1890 rice.It is mathematically and incorrect, but among reality, on rail link, position
At 35km+1890 rice, target is exactly 36km (having a pillar, mark 36km above), Field Force only can using this with pillar as ginseng
Relative position is gone for according to point.In the oscillogram that waveform software is shown, milepost is marked, 35km just marks 35km, and 35 kilometers past
1000 meters are indicated as 35km+1400m for 1400 meters backward, to be marked at 35km+1890 rice with regard to mark into 35km+1000m, 35km afterwards
Form 36km.
There is the allocation list of a long short chain in waveform software, exemplified by following table, the sampling interval of sampled point is 1000m, such as
Table 1 below:
Table 1
The allocation list of the long short chain includes:Detection circuit, detection row are other, the mileage of current sampling point, current sampling point
The rice number of chain, current sampling point chain type.The implication of this table is as follows:
Such as the first row, in this point of 275km, there is individual long-chain, the length (physical length of circuit) of chain is 1900 meters,
That is the position of this milepost of 276km exists:275km+1900m.
Such as in the third line, at 336km, there is individual short chain, this short chain is shorter than 1000 meters 105 meters, the length (line of chain
The physical length on road) it is 1000-105=895 rice, that is to say, that and the position of this milepost of 337km exists:336km+895m.
The operation of user is recorded, is stored in IndexOri tables.This table is sequentially recorded the operation of user, without row
Sequence.
Table 2
In upper table 2, IndexPoint is sample bytes number of some sampled point in file is detected.IndexMeter is to use
The new mileage of family mark.
Remember at 1 points in detection circuit subscript, obtain the target line between any two marks point;User needs to mark
Note at least two point, ability distance travelled correction algorithm, less than 2 points then not distance travelled correction algorithm.
For the point of user's mark, between any two (assuming that 2 points of AB), read length chained list and simultaneously analyze, look at be between AB
No long short chain to be present, then the actual mileage length between AB is as follows:
When there is no long short chain between AB, length (AB)=B point mileage-A point mileages
As shown in Table 1, for a long-chain point, the mileage grown is:
Extra_ long-chains=rice number -1000
For a short chain point, the mileage lacked is:
Extra_ short chains=rice number
So actual mileage is between AB:The absolute value of length (AB)=B point mileage-A point mileage+Extra_ long-chains-
The absolute value of Extra_ short chains;B points, A points are respectively two mark points in target line;The type of the chain of current sampling point is
The rice number -1000 of long-chain, the then chain of Extra_ long-chains=current sampling point;The type of the chain of current sampling point is short chain, then
The rice number of the chain of Extra_ short chains=current sampling point;
The number M of the point on target mileage between the point of user annotation can also be calculated, then, user annotation
The sampling interval of sampled point between point is just:If the actual mileage between certain section of user annotation point is L, sampling interval=L/
(M-1)。
Described based on previous step, the sampling interval between any two marks point has all calculated, between these are sampled
Away from averaging.
Mileage (if circuit be increase mileage) or from big to small (if circuit is from small to large is pressed to user annotation
Subtract mileage) sequence, sampled point is then counted forward from the point of first user annotation, starting point is counted to always, according to sampling interval
Mean value calculation goes out the mileage of starting point.Similarly, sampled point is counted backward from the point of last user annotation, count to circuit always
Terminating point, according to sampling interval average value, calculate the mileage of terminating point.
So, we have just obtained starting point, user annotation point, terminating point.Table 3 below is arrived into these point storages.
Table 3
Content in upper table 3 is used for doing mileage correction.StartPoint in table, EndPoint are sampled points in file body
In sample bytes number.StartMeter is the mileage number of starting sample point, and EndMeter is the mileage number for terminating sampled point,
ContainsPoint is the number of the sampled point between StartPoint and EndPoint, and ContainsMeter is starting sample
Mileage spacing between point and termination sampled point, ContainsMeter/ (ContainsPoint-1) is exactly new sampling interval.
Based on table above, it is possible to extrapolate the mileage of each sampled point.
When display waveform figure, milepost is shown according to the mileage of the sampled point calculated.It is but it is noted that long
Short chain, such as 35km have individual long-chain, be 1890 meters, then 35km+1km just marks into " 35km+1km ", and 35km+1890m, it is necessary to
Mark into 36km.
From the foregoing, the technical program obtains length corresponding to the detection file while resolved detection file
The allocation list of chain, the mileage checking list of table 3 is obtained according to the allocation list of the long short chain, will be corresponding using the mileage checking list of table 3
The mileage of sampled point is corrected, and greatly improves reading efficiency.
It should be noted that although describing the operation of the inventive method with particular order in the accompanying drawings, still, this is not required that
Or imply and must perform these operations according to the particular order, or the operation having to carry out shown in whole could realize the phase
The result of prestige.Additionally or alternatively, it is convenient to omit some steps, multiple steps are merged into a step and performed, and/or will
One step is decomposed into execution of multiple steps.
As shown in fig. 7, detect data presentation device schematic diagram for a kind of railway each side that the embodiment of the present invention proposes.Bag
Include:
Memory a, for storing each application program instructions;
Processor b, it is coupled with the memory, and the processor is configured as performing and is stored in the memory
Application program instructions, wherein, the application program that the processor is configured is used for:
Obtain detection file;It is described detection file form be:File header detection information block, file header passage definition block,
File body;Wherein, the file header detection information block is used in the basic condition for recording this detection, including the detection file
Detect the type coding, detection circuit, detection row of data not, detection license number, the detection date, sample types, detection start-stop mileage,
Increase and decrease mark;The file header passage definition block is used for the information for recording each sensor for obtaining detection data, including described
The channel coding of sensor, sampled point aggregate-value, passage ratio, passage baseline value, mileage label, the speed of sampled point;It is described
File body is used for the detection data for recording each sensor of each sample point;
The file body of the detection file is entered according to the file header detection information block, the file header passage definition block
Row parsing, obtains the mileage show value of each sensor and accordingly detects show value;
The mileage show value of each sensor is as X-axis coordinate value in the two-dimensional coordinate system of viewing area, the inspection of each sensor
Show value is surveyed as Y-axis coordinate value in the two-dimensional coordinate system of viewing area, the coordinate for obtaining each sensor is (x, y);Showing
Region, using identical mileage as benchmark, the data waveform according to corresponding to obtaining the coordinate (x, y) of each sensor.
Further, the application program that the processor b is configured is additionally operable to:
Using identical mileage as benchmark, the data waveform of each sensor of different time sections is obtained, will in viewing area
The data waveform of each sensor of different time sections compares display.
Further, the application program that the processor b is configured is additionally operable to:
The allocation list of long short chain corresponding to the detection file is obtained, is sampled according to the allocation list of the long short chain by corresponding
The mileage of point is corrected;Wherein, the allocation list of the long short chain includes:Detect circuit, detection is gone not, in current sampling point
Journey, the rice number of chain of current sampling point, current sampling point chain type.
The embodiment of the present invention also provides a kind of computer-readable program, wherein when performing described program in the electronic device
When, described program causes computer to perform railway combined detection data described as shown in Figure 1, Figure 2 in the electronic equipment and show
Method.
The embodiment of the present invention also provides a kind of storage medium for being stored with computer-readable program, wherein the computer can
Reader causes computer to perform railway combined detection data display method described as shown in Figure 1, Figure 2 in the electronic device.
Above-described embodiment, the purpose of the present invention, technical scheme and beneficial effect are carried out further
Describe in detail, should be understood that the embodiment that the foregoing is only the present invention, be not intended to limit the present invention
Protection domain, within the spirit and principles of the invention, any modification, equivalent substitution and improvements done etc., all should include
Within protection scope of the present invention.
Claims (9)
- A kind of 1. railway combined detection data display method, it is characterised in that including:Obtain detection file;It is described detection file form be:File header detection information block, file header passage definition block, file Body;Wherein, the file header detection information block is used in the basic condition for recording this detection, including the detection file detect The type coding of data, detect other circuit, detection row, detection license number, detect date, sample types, detection start-stop mileage, increase and decrease Mark;The file header passage definition block is used for the information for recording each sensor for obtaining detection data, including the sensing The channel coding of device, sampled point aggregate-value, passage ratio, passage baseline value, mileage label, the speed of sampled point;The file Body is used for the detection data for recording each sensor of each sample point;The file body of the detection file is solved according to the file header detection information block, the file header passage definition block Analysis, obtains the mileage show value of each sensor and accordingly detects show value;The mileage show value of each sensor shows as X-axis coordinate value in the two-dimensional coordinate system of viewing area, the detection of each sensor For indicating value as Y-axis coordinate value in the two-dimensional coordinate system of viewing area, the coordinate for obtaining each sensor is (x, y);In viewing area, Using identical mileage as benchmark, the data waveform according to corresponding to obtaining the coordinate (x, y) of each sensor.
- 2. the method as described in claim 1, it is characterised in that also include:Using identical mileage as benchmark, the data waveform of each sensor of different time sections is obtained, in viewing area, by difference The data waveform of each sensor of period compares display.
- 3. method as claimed in claim 1 or 2, it is characterised in that also include:The allocation list of long short chain corresponding to the detection file is obtained, sampled point will be corresponded to according to the allocation list of the long short chain Mileage is corrected;Wherein, the allocation list of the long short chain includes:Detect circuit, detection row not, the mileage of current sampling point, The type of the rice number of the chain of current sampling point, the chain of current sampling point.
- 4. method as claimed in claim 1 or 2, it is characterised in that it is described obtain each sensor mileage show value the step of Including:If the sample types are distance samples, channel coding, sampled point in the file header passage definition block are tired out Type coding, detection circuit, detection in evaluation, mileage label and the file header detection information block for recording detection data Row is other, detect license number, detect the date, detect start-stop mileage, increase and decrease indicates the mileage of each sensor of acquisition;If the sample types are time sampling, channel coding, sampled point in the file header passage definition block In speed and the file header detection information block for recording detection data type coding, detection circuit, detection row not, detection License number, detection date, detection start-stop mileage, the mileage spacing of each sensor of increase and decrease mark acquisition.
- 5. method as claimed in claim 1 or 2, it is characterised in that it is described obtain each sensor detection show value the step of For:Each data byte of the file body and the XOR of binary numeral 128, by the result of the XOR of each two byte divided by The passage ratio of respective sensor and then the passage baseline value plus respective sensor, obtain the testing number of each sensor According to show value.
- 6. method as claimed in claim 3, it is characterised in that the allocation list according to the long short chain will corresponding sampled point Mileage be corrected step and include:Remember at 1 points in detection circuit subscript, obtain the target line between any two marks point;According to the allocation list of the long short chain of the target line, the actual mileage of the target line is obtained;Wherein, length (AB) absolute value of the absolute value-Extra_ short chains of=B point mileage-A point mileage+Extra_ long-chains;B points, A points are respectively target Two mark points on circuit;The type of the chain of current sampling point is long-chain, then the chain of Extra_ long-chains=current sampling point Rice number -1000;The type of the chain of current sampling point is the rice number of short chain, the then chain of Extra_ short chains=current sampling point;The sampled point number in the target line is determined, according in the reality of the sampled point number and the target line Journey obtains the sampling interval between any two marks point;Sampling interval average value is determined according to the sampling interval between any two mark points;Mileage between the mileage of starting point, the mileage of terminating point, starting point and terminating point is obtained according to sampling interval average value Spacing, the sample bytes number of starting point, the number of the sample bytes number of terminating point and the sampled point of starting point and terminating point;According to the mileage spacing between the mileage of starting point, the mileage of terminating point, starting point and terminating point, the sampling word of starting point Each adopting on the number correct detection circuit of joint number, the sample bytes number of terminating point and the sampled point of starting point and terminating point The mileage of sampling point.
- A kind of 7. railway combined detection data presentation device, it is characterised in that including:Memory, for storing each application program instructions;Processor, it is coupled with the memory, and the processor is configured as performing the application being stored in the memory Programmed instruction, wherein, the application program that the processor is configured is used for:Obtain detection file;It is described detection file form be:File header detection information block, file header passage definition block, file Body;Wherein, the file header detection information block is used in the basic condition for recording this detection, including the detection file detect The type coding of data, detect other circuit, detection row, detection license number, detect date, sample types, detection start-stop mileage, increase and decrease Mark;The file header passage definition block is used for the information for recording each sensor for obtaining detection data, including the sensing The channel coding of device, sampled point aggregate-value, passage ratio, passage baseline value, mileage label, the speed of sampled point;The file Body is used for the detection data for recording each sensor of each sample point;The file body of the detection file is solved according to the file header detection information block, the file header passage definition block Analysis, obtains the mileage show value of each sensor and accordingly detects show value;The mileage show value of each sensor shows as X-axis coordinate value in the two-dimensional coordinate system of viewing area, the detection of each sensor For indicating value as Y-axis coordinate value in the two-dimensional coordinate system of viewing area, the coordinate for obtaining each sensor is (x, y);In viewing area, Using identical mileage as benchmark, the data waveform according to corresponding to obtaining the coordinate (x, y) of each sensor.
- 8. device as claimed in claim 7, it is characterised in that the application program that the processor is configured is additionally operable to:Using identical mileage as benchmark, the data waveform of each sensor of different time sections is obtained, in viewing area, by difference The data waveform of each sensor of period compares display.
- 9. device as claimed in claim 7 or 8, it is characterised in that the application program that the processor is configured is additionally operable to:The allocation list of long short chain corresponding to the detection file is obtained, sampled point will be corresponded to according to the allocation list of the long short chain Mileage is corrected;Wherein, the allocation list of the long short chain includes:Detect circuit, detection row not, the mileage of current sampling point, The type of the rice number of the chain of current sampling point, the chain of current sampling point.
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 true CN107423338A (en) | 2017-12-01 |
CN107423338B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110197133A (en) * | 2019-05-13 | 2019-09-03 | 中国铁路总公司 | It will test the method and apparatus that waveform is aligned |
CN113625264A (en) * | 2021-06-16 | 2021-11-09 | 中国铁道科学研究院集团有限公司铁道建筑研究所 | Method and system for parallel processing of railway detection big data |
CN114880533A (en) * | 2022-07-12 | 2022-08-09 | 济南致通华铁测量技术有限公司 | System and method for realizing railway mileage mark display |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5893043A (en) * | 1995-08-30 | 1999-04-06 | Daimler-Benz Ag | Process and arrangement for determining the position of at least one point of a track-guided vehicle |
CN101216828A (en) * | 2007-12-27 | 2008-07-09 | 北大方正集团有限公司 | Image file conversion method and apparatus |
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 |
CN103617378A (en) * | 2013-11-01 | 2014-03-05 | 北京鹏宇成软件技术有限公司 | DRM content protection system and method based on mobile intelligent terminal |
CN103984773A (en) * | 2014-06-05 | 2014-08-13 | 南京信息工程大学 | Method for converting multi-format weather radar base data file into NetCDF file |
CN104268820A (en) * | 2014-09-30 | 2015-01-07 | 中国神华能源股份有限公司 | Railway detection van detected data processing method and system |
-
2017
- 2017-04-28 CN CN201710292892.0A patent/CN107423338B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5893043A (en) * | 1995-08-30 | 1999-04-06 | Daimler-Benz Ag | Process and arrangement for determining the position of at least one point of a track-guided vehicle |
CN101216828A (en) * | 2007-12-27 | 2008-07-09 | 北大方正集团有限公司 | Image file conversion method and apparatus |
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 |
CN103617378A (en) * | 2013-11-01 | 2014-03-05 | 北京鹏宇成软件技术有限公司 | DRM content protection system and method based on mobile intelligent terminal |
CN103984773A (en) * | 2014-06-05 | 2014-08-13 | 南京信息工程大学 | Method for converting multi-format weather radar base data file into NetCDF file |
CN104268820A (en) * | 2014-09-30 | 2015-01-07 | 中国神华能源股份有限公司 | Railway detection van detected data processing method and system |
Non-Patent Citations (1)
Title |
---|
赵钢 等: "车载数据综合分析处理系统", 《铁路技术创新》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110197133A (en) * | 2019-05-13 | 2019-09-03 | 中国铁路总公司 | It will test the method and apparatus that waveform is aligned |
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 |
CN114880533A (en) * | 2022-07-12 | 2022-08-09 | 济南致通华铁测量技术有限公司 | System and method for realizing railway mileage mark display |
CN114880533B (en) * | 2022-07-12 | 2022-09-13 | 济南致通华铁测量技术有限公司 | System and method for realizing railway mileage mark display |
Also Published As
Publication number | Publication date |
---|---|
CN107423338B (en) | 2020-12-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107423338A (en) | A kind of railway combined detection data display method and device | |
CN109632940B (en) | Non-contact identification and positioning method for circumferential weld of pipeline in mountainous region | |
EP2119264A4 (en) | System and method for generating a location estimate using a method of intersections | |
CN102323391A (en) | Gas distribution detection method in coal mine underground goaf | |
CN106777060A (en) | Node type seismic detector data file management system and method | |
JP2014044096A (en) | Orbital position data giving system, and orbital position data giving method | |
CN106885846A (en) | Trees defect detecting device and detection method | |
CN102906554A (en) | Apparatus and method for measuring air quality | |
CN113032380A (en) | Method, system and equipment for aligning internal and external detection data of pipeline | |
CN105545284A (en) | While-drilling gamma imaging data processing method | |
CN102183794A (en) | Tri-component magnetic survey system in borehole | |
CN104897873A (en) | Open soil carbon flux monitoring instrument and monitoring method | |
CN102564307A (en) | Automatic detection device for precision in cycle of grating scale | |
CN202300367U (en) | Guide system of horizontal communication well based on Labview display | |
CN206573097U (en) | Gathering line deformation nondestructive testing instrument | |
CN107300587A (en) | Trees defect inspection method | |
CN207163370U (en) | The general length detection tool of stabiliser bar, torsion bar | |
CN114969897B (en) | Surrounding environment detection method in TBM construction | |
CN108592949B (en) | Azimuth drilling tool magnetic interference correction method and system | |
CN107632137B (en) | Method for correcting soil radon gas instantaneous measurement data in uranium mine exploration | |
Parker et al. | Building local biostratigraphic models for the Upper Triassic of western North America: Methods and considerations | |
CN108382421A (en) | A kind of railway switch digital display measuring appliance | |
CN110873896B (en) | Method and system for intelligently analyzing seismic trace head information | |
CN102305064A (en) | Horizontal communication well guiding system based on Labview display | |
CN112161672A (en) | Precise adjustment method and tool for static pressure type liquid level meter |
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 |