Rail detection method, device and computer equipment
Patent Information
- Application Number
- CN202611041705.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-14
- Publication Date
- 2026-10-27
AI Technical Summary
[0004]基于此,有必要针对上述技术问题,提供一种钢轨检测方法、装置和计算机设备,能够通过单一显示界面同时呈现探测点的位置信息与损伤程度差异,以满足钢轨探伤现场对损伤检测实时性与高效性的需求
[0023]上述钢轨检测方法、装置和计算机设备,获取探测设备在对待测钢轨的探测过程中采集的各组目标数据;其中,每组目标数据包括待测钢轨中一个探测点的探测位置和探测点的探测数据;不同探测数据所表征的对应探测点的损伤程度不同;探测设备包括超声探测设备,探测数据包括回波幅度;针对每一探测点,根据探测点的探测数据,确定探测点对应的显示方式;以及,按照显示方式,在指定显示界面中探测点的探测位置对应的显示位置处显示探测点。这样,打破无法同时显示损伤的实际位置和当量信息的技术壁垒,根据探测点的探测数据,确定探测点对应的显示方式,以按照显示方式,在指定显示界面中探测点的探测位置对应的显示位置处显示探测点,实现了位置信息与损伤程度在同一指定显示界面中的同步融合呈现,因此无需频繁切换显示界面以及人工读取回波幅值并进行当量换算,大幅简化了操作流程,并且,由于人眼对显示图案差异的辨识能力远高于对数值的读取精度,因此通过指定显示界面直观呈现损伤程度信息,降低了视觉差异带来的识别误差,减少对损伤的漏检、误检概率,从而能够在提升探伤结果准确性的同时提升高危损伤的识别效率,进而有利于满足钢轨探伤现场对损伤检测实时性与高效性的需求。
Smart Images

Figure CN122983203A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of railway operation and maintenance technology, and in particular to a rail inspection method, device and computer equipment. Background Technology
[0002] As the core load-bearing component of railway transportation, the timely detection and accurate assessment of internal damage to rails are directly related to train operation safety. In the field of rail inspection, ultrasonic testing is one of the most widely used methods for detecting internal defects.
[0003] Therefore, how to intuitively display the internal defect detection results of rails so that staff can clearly understand the internal damage of rails and meet the needs of rail flaw detection sites for real-time and efficient damage detection is a technical problem that urgently needs to be solved. Summary of the Invention
[0004] Therefore, it is necessary to provide a rail inspection method, device, and computer equipment to address the above-mentioned technical problems. This equipment can simultaneously display the location information of the detection points and the differences in the degree of damage through a single display interface, so as to meet the needs of rail flaw detection sites for real-time and efficient damage detection.
[0005] Firstly, this application provides a rail inspection method, including:
[0006] The detection equipment collects various sets of target data during the detection process of the rail under test; each set of target data includes the detection location and detection data of a detection point in the rail under test; different detection data represent different degrees of damage to the corresponding detection point; the detection equipment includes ultrasonic detection equipment, and the detection data includes echo amplitude;
[0007] For each detection point, based on the detection data at that point, determine the corresponding display method; and,
[0008] According to the display method, the detection point is displayed at the display position corresponding to the detection position of the detection point in the specified display interface.
[0009] In one embodiment, determining the display mode corresponding to the detection point based on the detection data of the detection point includes: determining the target display size corresponding to the detection point based on preset maximum detection data, minimum detection data, maximum display size, minimum display size, and detection data of the detection point; and determining the display mode corresponding to the detection point as a specified shape of the target display size.
[0010] In one embodiment, determining the display mode corresponding to the detection point based on the detection data of the detection point includes: determining the target amplitude range to which the detection data of the detection point belongs based on a preset mapping relationship; wherein, the preset mapping relationship includes different display modes corresponding to different amplitude ranges; the colors and / or shapes displayed by different display modes are different; and determining the target display mode corresponding to the target amplitude range in the preset mapping relationship as the display mode corresponding to the detection point.
[0011] In one embodiment, determining the display method corresponding to the detection point based on the detection data of the detection point includes: determining that the display method corresponding to the detection point is the detection data marked on the detection point.
[0012] In one embodiment, displaying a probe point at the display position corresponding to the probe point's detection position in a specified display interface, according to the display method, includes: for different probe points whose corresponding display positions overlap in the specified display interface, determining the display layer to which different probe points belong based on the size relationship between the probe data of different probe points; and for each probe point among the different probe points, displaying the probe point at the display position corresponding to the probe point in the specified display interface in the display layer to which the probe point belongs, according to the display method of the probe point.
[0013] In one embodiment, the designated display interface is the B-type display interface of the ultrasonic detection device.
[0014] In one embodiment, acquiring each set of collected data by the detection device during the detection of the rail under test includes: acquiring each set of raw data collected by the detection device during the detection of the rail under test; for each set of raw data, determining whether there is damage at the detection points in the raw data based on the detection data in the raw data; and, if there is damage, determining the raw data as target data.
[0015] In one embodiment, for each detection point, the display method corresponding to the detection point is determined based on the detection data of the detection point, including: for each detection point, determining whether the detection point is damaged based on the detection data of the detection point, and, if damage exists, determining the display method corresponding to the detection point based on the detection data of the detection point.
[0016] Secondly, this application also provides a rail inspection device, comprising:
[0017] The acquisition module is used to acquire various sets of target data collected by the detection equipment during the detection process of the rail under test. Each set of target data includes the detection location and detection data of a detection point in the rail under test. Different detection data represent different degrees of damage to the corresponding detection points. The detection equipment includes an ultrasonic detection device, and the detection data includes echo amplitude.
[0018] The determination module is used to determine the display method corresponding to each detection point based on the detection data at that point; and,
[0019] The display module is used to display the detection point at the corresponding display position in the specified display interface, according to the display method.
[0020] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the various method embodiments of the first aspect described above.
[0021] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the method embodiments of the first aspect described above.
[0022] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps in the method embodiments of the first aspect described above.
[0023] The aforementioned rail inspection method, apparatus, and computer equipment acquire various sets of target data collected by the detection equipment during the detection process of the rail under test. Each set of target data includes the detection position and detection data of a detection point on the rail under test. Different detection data represent different degrees of damage to the corresponding detection point. The detection equipment includes an ultrasonic detection device, and the detection data includes echo amplitude. For each detection point, the display method corresponding to the detection point is determined based on the detection data. Furthermore, according to the display method, the detection point is displayed at the corresponding display position on the designated display interface. This approach breaks down the technical barrier of simultaneously displaying the actual location and equivalent information of damage. Based on the detection data from the detection points, the corresponding display method for each detection point is determined. The detection point is then displayed at its corresponding location on the designated display interface, achieving synchronous integration of location information and damage severity on the same interface. This eliminates the need for frequent switching of display interfaces and manual reading of echo amplitude values and equivalent conversion, significantly simplifying the operation process. Furthermore, since the human eye's ability to distinguish differences in displayed patterns is far superior to its accuracy in reading numerical values, presenting damage severity information intuitively through a designated display interface reduces recognition errors caused by visual differences, decreasing the probability of missed or false detections. This improves both the accuracy of flaw detection results and the efficiency of identifying high-risk damage, ultimately meeting the real-time and efficient damage detection requirements at rail flaw detection sites. Attached Figure Description
[0024] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0025] Figure 1 This is a diagram illustrating the application environment of a rail inspection method in one embodiment.
[0026] Figure 2 This is a flowchart illustrating a rail inspection method in one embodiment;
[0027] Figure 3 This is a schematic diagram of the process of acquiring various sets of data collected by the detection device during the detection of the rail under test in one embodiment;
[0028] Figure 4 This is a flowchart illustrating the process of determining the display method corresponding to a detection point in one embodiment;
[0029] Figure 5a This is a schematic diagram of a type A display interface in one embodiment.
[0030] Figure 5b This is a schematic diagram specifying a display interface in one embodiment.
[0031] Figure 6 This is a flowchart illustrating the process of determining the display method corresponding to a detection point in another embodiment;
[0032] Figure 7 This is a schematic diagram illustrating the process of displaying a probe point at the display position corresponding to the probe position of a probe point in a specified display interface, as shown in one embodiment.
[0033] Figure 8 This is a flowchart illustrating the rail inspection method in another embodiment;
[0034] Figure 9 This is a structural block diagram of a rail inspection device in one embodiment;
[0035] Figure 10 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0036] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0037] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.
[0038] The rail inspection method provided in this application can be applied to, for example... Figure 1 In the application environment shown, the detection device 102 communicates with the server 104 via a network. A data storage system can store the data that the server 104 needs to process. The data storage system can be integrated onto the server 104 or placed in the cloud or on another network server. As the detection device 102 moves along the rail to be tested, it simultaneously collects multiple sets of target data. Each set of target data includes the detection position and detection data of a detection point on the rail. The collected target data is sent to the server 104 or temporarily stored in the data storage system. The server 104 performs rail detection based on the received target data and displays the detection point at the corresponding display position on a designated display interface. The detection device 102 can be, but is not limited to, an ultrasonic detection device. The server 104 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0039] In one exemplary embodiment, such as Figure 2 As shown, a rail inspection method is provided, which is applied to... Figure 1 Taking server 104 as an example, the explanation includes the following steps: S201~S203. Among them:
[0040] S201, Acquire the target data collected by the detection equipment during the detection process of the rail to be tested.
[0041] Each set of target data includes the detection location and detection data of a detection point in the rail to be tested; different detection data represent different degrees of damage to the corresponding detection point; the detection equipment includes ultrasonic detection equipment, and the detection data includes echo amplitude.
[0042] For example, the detection device can be a trolley equipped with a multi-channel ultrasonic probe. As the trolley moves along the rail to be tested, it continuously emits ultrasonic waves and receives reflected echoes through the multi-channel ultrasonic probe to simultaneously collect data from each set of targets.
[0043] Optionally, the detection position of the detection point can characterize the spatial coordinates of the detection point in the rail to be tested. Specifically, the detection position of the detection point can be represented as (X, Y), where X can be the scanning position of the probe of the detection device along the longitudinal direction of the rail to be tested, and the unit can be millimeters (mm). Y can be the propagation depth of the ultrasonic wave inside the rail to be tested, corresponding to the burial depth of the damage in the cross section of the rail to be tested, and the unit can be millimeters (mm).
[0044] Optionally, the magnitude of the echo amplitude at the detection point is positively correlated with the equivalent size of the damage at that detection point; that is, the larger the magnitude of the echo amplitude, the more severe the damage at that detection point.
[0045] It should be noted that the target data for each group can be the raw data collected by the detection equipment during the detection process or the data obtained after preprocessing the raw data.
[0046] S202, for each detection point, determine the corresponding display method based on the detection data of the detection point.
[0047] The display method corresponding to the detection point can represent the visual presentation of the detection point in the specified display interface. Different display methods are used to distinguish detection points with different degrees of damage.
[0048] Specifically, the display method of the detection points may include, but is not limited to, the size of the display, the color of the display, the shape of the display (such as circle, square, rhombus, etc.), and whether the numerical value of the detection data is marked.
[0049] Optionally, for each set of target data acquired, the display method of the detection point in the specified display interface can be determined based on the detection data of each detection point in each set of target data and the preset mapping rules.
[0050] For example, detection points with large echo amplitudes use larger display sizes, while detection points with small echo amplitudes use smaller display sizes.
[0051] S203, according to the display method, display the detection point at the display position corresponding to the detection position of the detection point in the specified display interface.
[0052] Currently, the mainstream ultrasonic signal display methods include three types: A-mode display, B-mode display, and C-mode display. Among them, B-mode display integrates multiple sets of A-mode scanning signals obtained by the probe of the detection equipment scanning along the longitudinal direction of the rail. The horizontal axis represents the scanning position of the probe along the rail, and the vertical axis represents the propagation depth of the ultrasonic wave inside the rail (corresponding to the damage burial depth). Finally, a two-dimensional tomographic image of the rail parallel to the direction of the sound beam is generated to show the spatial location of the damage within the cross-section of the rail.
[0053] Optionally, the specified display interface is a display screen used to present the detection results. The specified display interface can be the B-type display interface of the ultrasonic detection equipment, that is, to present the internal damage of the rail under test in a two-dimensional image manner.
[0054] Optionally, in the designated display interface, each detection point can be drawn on the coordinate position corresponding to its detection location according to its corresponding display method. Thus, in the final display screen generated in the designated display interface, the pattern at the display position of each detection point can not only reflect the actual spatial location of the damage in the rail under test, but also reflect the severity of the damage.
[0055] The aforementioned rail inspection method acquires various sets of target data collected by the detection equipment during the detection process of the rail under test. Each set of target data includes the detection position and detection data of a detection point in the rail under test. Different detection data represent different degrees of damage to the corresponding detection points. The detection equipment includes an ultrasonic detection device, and the detection data includes echo amplitude. For each detection point, the display method corresponding to the detection point is determined based on the detection data of the detection point. And, according to the display method, the detection point is displayed at the display position corresponding to the detection position of the detection point in the specified display interface. This approach breaks down the technical barrier of simultaneously displaying the actual location and equivalent information of damage. Based on the detection data of the detection points, the display method corresponding to each detection point is determined. The detection point is then displayed at its corresponding location on the designated display interface, achieving synchronous integration of location information and damage severity on the same interface. This eliminates the need for frequent switching of display interfaces and manual reading of echo amplitude values and equivalent conversion, significantly simplifying the operation process. Furthermore, since the human eye's ability to distinguish differences in displayed patterns is far superior to its accuracy in reading numerical values, presenting damage severity information intuitively through a designated display interface reduces recognition errors caused by visual differences, decreasing the probability of missed or false detections. This improves the accuracy of flaw detection results while enhancing the efficiency of identifying high-risk damage, ultimately meeting the real-time and efficient damage detection requirements at rail flaw detection sites.
[0056] Based on the above embodiments, in an exemplary embodiment, such as Figure 3 As shown, S201 above, acquiring the various sets of data collected by the detection device during the detection process of the rail to be tested, may include the following S301~S303.
[0057] S301, Acquire the raw data collected by the detection equipment during the detection process of the rail to be tested.
[0058] Optionally, the raw data may refer to the A-type display echo data directly collected by the detection device without damage identification and screening, which may include the location information of the corresponding detection point and the echo amplitude.
[0059] The raw data can include effective echoes from actual damage, as well as a large number of inherent reflected echoes from the geometry of the rail under test (such as rail base angles and bolt holes) and noise clutter from grain scattering.
[0060] S302, for each set of raw data, determine whether there is damage at the probe points in the raw data based on the probe data in the raw data.
[0061] Optionally, a damage assessment threshold can be preset. For each detection point in each set of raw data, the presence of damage at the corresponding detection point can be determined by comparing the detection data with the damage assessment threshold. Specifically, if the detection data is less than the damage assessment threshold, the detection data at that point can be determined to be noise or clutter, meaning the detection point is not damaged, and the corresponding raw data can be classified as non-target data. Conversely, if the detection data is not less than the damage assessment threshold, the detection point can be determined to be damaged, and the following step S303 can be executed.
[0062] The damage assessment threshold can be preset according to the actual detection scenario and signal-to-noise ratio. For example, it can be set to 30% to 50% of the full scale of the echo amplitude. The lower the damage assessment threshold is set, the more lenient the screening is, and more detection points are retained (but clutter interference increases); the higher the damage assessment threshold is set, the more stringent the screening is, and fewer detection points are retained.
[0063] S303, in the presence of damage, the original data is identified as the target data.
[0064] If the raw data is not filtered, all detection points (including clutter points) will be displayed on the designated display interface, resulting in a large number of scattered points unrelated to the damage on the designated display interface. This causes the echo signal corresponding to the real damage to be submerged in the clutter background, severely interfering with the interpretation.
[0065] In this embodiment, on the one hand, the amount of data to be processed in the subsequent display method determination process is greatly reduced from the data source, effectively reducing the computational overhead of data processing and graphics rendering, and improving the overall processing efficiency; on the other hand, since non-target data corresponding to clutter or noise is filtered in advance, it is ensured that each visible point finally presented in the designated display interface corresponds to the real damage, enabling the flaw detector to focus on the effective damage, significantly reducing the probability of false detection due to clutter interference, thereby improving the efficiency of damage interpretation while ensuring the comprehensiveness of damage detection.
[0066] Based on the above embodiments, in an exemplary embodiment, S202, for each detection point, determining the display mode corresponding to the detection point based on the detection data of the detection point, may include: for each detection point, determining whether the detection point is damaged based on the detection data of the detection point; and if damage exists, determining the display mode corresponding to the detection point based on the detection data of the detection point.
[0067] Optionally, a damage assessment threshold can be preset. For each detection point, the presence of damage at that point can be determined by comparing the detection data with the damage assessment threshold. Specifically, if the detection data is less than the damage assessment threshold, it can be determined that the detection point is not damaged, and the corresponding display method for that detection point does not need to be considered. Conversely, if the detection data is not less than the damage assessment threshold, it can be determined that the detection point is damaged, and the corresponding display method for that detection point can be determined based on the detection data.
[0068] It should be noted that the basis for setting the damage assessment threshold can be found in the corresponding descriptions in the above embodiments, and will not be repeated here.
[0069] In this embodiment, only detection points determined to have damage are further processed in terms of display mode and displayed on the designated display interface. Detection points determined not to have damage are directly discarded at this stage and do not enter any subsequent display processing flow. This avoids the waste of computing power caused by determining invalid display modes for clutter points and ensures that each visible point in the final designated display interface corresponds to real and valid damage. This allows flaw detectors to focus all their attention on the interpretation of valid damage signals, thereby reducing the probability of false detections caused by clutter interference. In this way, data processing efficiency is improved while ensuring the accuracy of flaw detection results and the intuitiveness of the display screen.
[0070] Based on the above embodiments, in an exemplary embodiment, such as Figure 4 As shown, S202 above, determining the display method corresponding to the detection point based on the detection data of the detection point, may include the following S401~S402. Wherein:
[0071] S401, based on the preset maximum and minimum values of detection data, maximum and minimum display sizes, and the detection data of the detection point, determine the target display size corresponding to the detection point.
[0072] Preset maximum detection data value A maxThis can be a preset upper limit for the echo amplitude, typically corresponding to 100% full scale, which is the maximum effective echo amplitude that the detection device can recognize (echo amplitudes exceeding this value are also treated as the maximum value). The preset minimum detection data value A... min A preset lower limit for the effective echo amplitude can be set. Detection points with echo amplitudes below this value are considered noise or clutter and are not included in the target display size calculation. The preset maximum display size S... max This allows you to define the maximum display size (in pixels) that a pre-set Type B display can achieve, corresponding to the maximum effective echo amplitude, used to characterize the most severe degree of damage. The preset minimum display size is S. min The minimum display size (also in pixels) of the effective B-type display can be set to correspond to the minimum effective echo amplitude, which is used to characterize the slightest but still noteworthy degree of damage.
[0073] Optionally, the target display size S corresponding to the detection point can be determined according to the following formula (1).
[0074] (1)
[0075] S402, Determine the display mode corresponding to the detection point as the specified shape of the target display size.
[0076] Optionally, a shape can be specified to represent the geometric pattern of the probe point on the specified display interface. Specifically, the specified shape can include, but is not limited to, circles, rectangles, rhombuses, triangles, etc. Here, the specified shape is the same for all probe points, only the display size is different.
[0077] The more severe the damage at a detection point, the larger the target size displayed; conversely, the less severe the damage at a detection point, the smaller the target size displayed.
[0078] like Figure 5a The A-type display interface shown depicts the ultrasonic wave propagation depth within the rail under test on the horizontal axis, and the echo amplitude representing the percentage of the measurement range on the vertical axis. From... Figure 5a It can be seen that the echo amplitude of the detection point with a propagation depth of 2mm is about 55% of the range, the echo amplitude of the detection point with a propagation depth of 4mm is about 62% of the range, the echo amplitude of the detection point with a propagation depth of 6mm is about 78% of the range, and the echo amplitude of the detection point with a propagation depth of 8mm is about 92% of the range. That is, the overall pattern is that as the propagation depth increases, the echo amplitude of the corresponding detection point is higher, and the degree of damage is more and more serious.
[0079] like Figure 5b The specified display interface shown has a horizontal axis and... Figure 5a The x-axis corresponds, and Figure 5bEach visible point corresponds to a detection point, thus allowing for intuitive identification of the target display size at the detection point with a propagation depth of 8mm, which means that the damage to this detection point is the most severe.
[0080] In this embodiment, on the one hand, by introducing preset maximum and minimum display sizes, the size variation range of the detection points in the specified display interface is effectively limited, avoiding the situation where the display size is too large due to individual extreme echo amplitudes, thus obscuring surrounding detection points, or the display size is too small, making it visually indistinguishable, thereby ensuring the reliability of the presented display image. On the other hand, all detection points are presented with the same specified shape and only differ in size, so that relevant personnel only need to focus on the single visual dimension of the target display size when interpreting the image to intuitively distinguish the differences in the degree of damage between each detection point, without the need for complex diagram comparisons or secondary conversions, thereby effectively improving the identification efficiency of the damage to the rail under test.
[0081] Based on the above embodiments, in an exemplary embodiment, such as Figure 6 As shown, S202 above, determining the display method corresponding to the detection point based on the detection data of the detection point, may include the following S601~S602. Wherein:
[0082] S601, determine the target amplitude range to which the detection data of the detection point belongs according to the preset mapping relationship.
[0083] The preset mapping relationship includes different display modes corresponding to different amplitude ranges; different display modes display different colors and / or shapes, but the same size.
[0084] The preset mapping relationship can be a rule table / library that pre-defines and stores the amplitude range of the probe data in the data storage system, associating it with the actual mode. It should be noted that the amplitude range in the preset mapping relationship can be flexibly divided according to industry damage assessment standards or on-site testing requirements.
[0085] Optionally, the detection data of the detection point can be matched sequentially with different amplitude ranges in the preset mapping relationship to determine the target amplitude range to which the detection data of the detection point belongs.
[0086] S602, determine the target display mode corresponding to the target amplitude range in the preset mapping relationship as the display mode corresponding to the detection point.
[0087] For example, the preset mapping relationship may include: a first amplitude range - a first color, a second amplitude range - a second color, and a third amplitude range - a third color, wherein the values of the first amplitude range, the second amplitude range, and the third amplitude range increase sequentially, and the lower boundary of the first amplitude range corresponds to a preset minimum detection data value A. minThe upper boundary of the third amplitude interval corresponds to the preset maximum value A of the detected data. max The first, second, and third colors can be different hues, or they can be the same hue but with different brightness / saturation.
[0088] Alternatively, the preset mapping relationship can include: first amplitude range - first shape, second amplitude range - second shape, and third amplitude range - third shape. The first shape, second shape, and third shape can correspond to different types of shapes, for example, the first shape is a prototype, the second shape is a heart shape, and the third shape is a pentagram shape.
[0089] In this embodiment, on the one hand, staff can quickly locate the approximate area of high-risk damage by the difference in color and / or shape categories the moment they scan the entire designated display interface, without having to compare the size one by one to complete the initial screening, which greatly shortens the time from viewing to identification; on the other hand, since the display mode corresponding to each amplitude range can be configured as needed, this solution can adaptively adapt to the differentiated requirements of different types of rails to be tested and different flaw detection processes for damage classification and identification.
[0090] Based on the above embodiments, in an exemplary embodiment, determining the display method corresponding to the detection point according to the detection data of the detection point includes: determining that the display method corresponding to the detection point is the detection data of the detection point marked on the detection point.
[0091] Optionally, the method of annotating the detection data of the detection point may include attaching the value of the detection data as a text label near the display position of the detection point, for example, it may be close to the corresponding detection point or directly superimposed inside the detection point graphic.
[0092] It should be noted that the display size and color of the detection data can be determined according to the size and color of the graphic displayed at the corresponding detection point, to ensure that the detection data can be displayed clearly and vividly.
[0093] In this embodiment, when staff view the designated display interface, they can not only obtain the two-dimensional coordinate information of the damage through the detection of the detection points, but also directly read the precise detection data value at that location. There is no need to switch to the A-type display interface to find the corresponding points one by one and read them manually. This eliminates the cost of interface switching operations and data searching and conversion caused by the separate display of location information and equivalent information in traditional technology.
[0094] Based on the above embodiments, in an exemplary embodiment, such as Figure 7 As shown, the above-mentioned S203, according to the display method, displays the detection point at the display position corresponding to the detection position of the detection point in the specified display interface, which may include the following S701~S702.
[0095] S701, for different detection points that overlap in corresponding display positions in a specified display interface, determine the display layer to which the different detection points belong based on the size relationship between the detection data of the different detection points.
[0096] Different detection points with overlapping display positions can be two or more detection points in a specified display interface whose detection positions are extremely close, resulting in partial or complete visual overlap after being drawn according to their respective display methods.
[0097] Optionally, since the magnitude of the detection data is used to reflect the degree of damage of the corresponding detection point, for different detection points that overlap in the corresponding display position, the display layer to which the different detection points belong can be determined according to the magnitude relationship between the detection data of the different detection points. That is, the display layer can reflect the coverage relationship of the visible points corresponding to the different detection points.
[0098] Specifically, the display layer for detection points with higher detection data values is prioritized over detection points with lower detection data values.
[0099] S702, for each detection point among different detection points, in the display layer to which the detection point belongs, the detection point is displayed at the corresponding display position in the specified display interface according to the display method of the detection point.
[0100] Optionally, the drawing order of the visible points corresponding to each detection point in the specified display interface is as follows: starting from the bottommost display layer, drawing layer by layer upwards, and finally drawing the topmost display layer. Since the content of the upper display layer will cover the pixels at the same position in the lower display layer, when the display positions of multiple detection points overlap, the final display area will show the entire content of the detection point with the largest detection data.
[0101] In this embodiment, different display layers can ensure that high-risk damage is not completely or partially obscured due to overlapping display positions of detection points. This allows staff to quickly locate the high-risk damage and perform targeted verification when rapidly scanning the designated display interface, significantly improving the accuracy and efficiency of identification in overlapping scenarios. Consequently, in complex flaw detection conditions where multiple damages coexist, the integrity of the information presented on the designated display interface can be fully guaranteed, effectively reducing the probability of missed or misjudged cases due to display overlap.
[0102] When multiple damages are located at similar or identical detection positions (e.g., multiple damages at different depths at the same scanning position, or multiple damages at very close scanning positions at the same depth), the B-point corresponding to the damage with the highest degree of damage is always on top and fully visible, while damages with lower degree of damage are only visible in uncovered areas. This ensures that high-risk severe damages are not obscured or submerged by the display graphics of low-risk damages in overlapping areas, effectively avoiding the risk of high-risk damages being missed due to display overlap. On the other hand, the determination of the coverage relationship strictly follows the objective logic of "the higher the degree of damage, the higher the display priority," making the layering order of the display screen naturally correspond to the danger level of the damage. When facing overlapping areas, flaw detectors can directly see the most severe damage information at that location without manually adjusting the viewing angle or performing complex operations, greatly improving the efficiency and accuracy of interpretation in overlapping scenarios. Thus, in complex detection scenarios where multiple damages coexist, the integrity of the information displayed and the reliability of damage risk identification are fully guaranteed.
[0103] Based on the above embodiments, in an exemplary embodiment, such as Figure 8 As shown, an optional rail flaw detection method is provided. Wherein:
[0104] It should be noted that the specific implementation methods of S801-S809 are the same as those in the above method embodiments, and will not be repeated here.
[0105] S801, acquires various sets of target data collected by the detection equipment during the detection process of the rail to be tested.
[0106] Each set of target data includes the detection location and detection data of a detection point in the rail to be tested; different detection data represent different degrees of damage to the corresponding detection point; the detection equipment includes ultrasonic detection equipment, and the detection data includes echo amplitude.
[0107] S802, for each detection point, determines the target display size corresponding to the detection point based on the preset maximum and minimum detection data values, maximum and minimum display size values, and the detection data of the detection point.
[0108] S803, determine the display mode corresponding to the detection point as the specified shape of the target display size.
[0109] S804, based on the preset mapping relationship, determines the target amplitude range to which the detection data of the detection point belongs.
[0110] The preset mapping relationship includes different display modes corresponding to different amplitude ranges; the colors and / or shapes displayed by different display modes are different.
[0111] S805, determine the target display mode corresponding to the target amplitude range in the preset mapping relationship as the display mode corresponding to the detection point.
[0112] S806, according to the display method, display the detection point at the display position corresponding to the detection position of the detection point in the specified display interface.
[0113] Specifically, for different detection points that overlap in their corresponding display positions on the specified display interface, the display layer to which the different detection points belong is determined based on the size relationship between the detection data of the different detection points; and for each detection point among the different detection points, the detection point is displayed at the corresponding display position on the specified display interface in the display layer to which the detection point belongs, according to the display method of the detection point.
[0114] It should be noted that the specific implementation methods of S801-S806 are the same as those in the above method embodiments, and will not be repeated here.
[0115] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.
[0116] Based on the same inventive concept, this application also provides a rail inspection device for implementing the rail inspection method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more rail inspection device embodiments provided below can be found in the limitations of the rail inspection method described above, and will not be repeated here.
[0117] In one exemplary embodiment, such as Figure 9 As shown, a rail inspection device is provided, comprising: an acquisition module 910, a determination module 920, and a display module 930, wherein:
[0118] The acquisition module 910 is used to acquire various sets of target data collected by the detection equipment during the detection process of the rail under test; wherein, each set of target data includes the detection position of a detection point in the rail under test and the detection data of the detection point; different detection data represent different degrees of damage to the corresponding detection point; the detection equipment includes an ultrasonic detection device, and the detection data includes echo amplitude.
[0119] The determination module 920 is used to determine the display method corresponding to each detection point based on the detection data of the detection point.
[0120] Display module 930 is used to display the detection point at the display position corresponding to the detection position of the detection point in the specified display interface according to the display method.
[0121] In one embodiment, the acquisition module 910 is specifically used to acquire each set of raw data collected by the detection device during the detection process of the rail to be tested; for each set of raw data, it determines whether there is damage at the detection points in the raw data based on the detection data in the raw data; and, if there is damage, it determines the raw data as target data.
[0122] In one embodiment, the determining module 920 may include:
[0123] The first determining unit is used to determine the target display size corresponding to the detection point based on the preset maximum value of detection data, minimum value of detection data, maximum value of display size, minimum value of display size, and detection data of the detection point.
[0124] The second determining unit is used to determine the shape of the target display size corresponding to the detection point.
[0125] In one embodiment, the determining module 920 may further include:
[0126] The third determining unit is used to determine the target amplitude range to which the detection data of the detection point belongs according to the preset mapping relationship; wherein, the preset mapping relationship includes different display modes corresponding to different amplitude ranges; the colors and / or shapes displayed by different display modes are different.
[0127] The fourth determining unit is used to determine the target display mode corresponding to the target amplitude range in the preset mapping relationship as the display mode corresponding to the detection point.
[0128] In one embodiment, the determining module 920 may further include:
[0129] The fifth determining unit is used to determine whether there is damage to each detection point based on the detection data of the detection point, and if there is damage, to determine the corresponding display method of the detection point based on the detection data of the detection point.
[0130] In one embodiment, the determining module 920 can be specifically used to determine the display method corresponding to the detection point as the detection data marked on the detection point.
[0131] In one embodiment, the display module 930 is specifically used to determine the display layer to which different detection points belong based on the size relationship between the detection data of different detection points that overlap in the corresponding display positions in the specified display interface; and, for each of the different detection points, to display the detection point at the display position corresponding to the detection point in the specified display interface according to the display method of the detection point in the display layer to which the detection point belongs.
[0132] Each module in the aforementioned rail inspection device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0133] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 10 As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a rail inspection method. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0134] Those skilled in the art will understand that Figure 10The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0135] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.
[0136] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.
[0137] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0138] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0139] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0140] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for inspecting rails, characterized in that, The method includes: The detection equipment acquires various sets of target data during the detection process of the rail under test; each set of target data includes the detection position of a detection point in the rail under test and the detection data of the detection point; different detection data represent different degrees of damage to the corresponding detection points; the detection equipment includes an ultrasonic detection device, and the detection data includes echo amplitude; For each detection point, based on the detection data of that point, determine the corresponding display method; and, According to the display method, the detection point is displayed at the display position corresponding to the detection position of the detection point in the specified display interface.
2. The method according to claim 1, characterized in that, The step of determining the display mode corresponding to the detection point based on the detection data of the detection point includes: Based on the preset maximum and minimum values of detection data, maximum and minimum display sizes, and the detection data of the detection point, the target display size corresponding to the detection point is determined. The display mode corresponding to the detection point is determined to be the specified shape of the target display size.
3. The method according to claim 1, characterized in that, The step of determining the display mode corresponding to the detection point based on the detection data of the detection point includes: According to a preset mapping relationship, the target amplitude range to which the detection data of the detection point belongs is determined; wherein, the preset mapping relationship includes different display modes corresponding to different amplitude ranges; the different display modes display different colors and / or shapes; The target display mode corresponding to the target amplitude range in the preset mapping relationship is determined as the display mode corresponding to the detection point.
4. The method according to claim 1, characterized in that, The step of determining the display mode corresponding to the detection point based on the detection data of the detection point includes: The display method corresponding to the detection point is determined to be the detection data that is marked on the detection point.
5. The method according to any one of claims 1 to 4, characterized in that, Displaying the detection point at the corresponding display position in the designated display interface according to the display method includes: For different detection points that overlap in corresponding display positions within the specified display interface, the display layer to which the different detection points belong is determined based on the magnitude relationship between the detection data of the different detection points; and, For each of the different detection points, in the display layer to which the detection point belongs, the detection point is displayed at the corresponding display position in the specified display interface according to the display method of the detection point.
6. The method according to claim 1, characterized in that, The designated display interface is the B-type display interface of the ultrasonic detection device.
7. The method according to claim 1, characterized in that, Acquire the various sets of data collected by the detection equipment during the detection process of the rail under test, including: Acquire the raw data collected by the detection equipment during the detection process of the rail to be tested; For each set of raw data, based on the probe data in the raw data, determine whether there is damage at the probe points in the raw data; and, In the presence of damage, the original data is identified as the target data.
8. The method according to claim 1, characterized in that, For each detection point, based on the detection data of that point, the corresponding display method is determined, including: For each detection point, based on the detection data at that point, determine whether the detection point is damaged, and... In the event of damage, the display method corresponding to the detection point is determined based on the detection data of the detection point.
9. A rail inspection device, characterized in that, The device includes: The acquisition module is used to acquire various sets of target data collected by the detection equipment during the detection process of the rail under test; wherein, each set of target data includes the detection position of a detection point in the rail under test and the detection data of the detection point; different detection data represent different degrees of damage to the corresponding detection points; the detection equipment includes an ultrasonic detection device, and the detection data includes echo amplitude; The determination module is used to determine the display method corresponding to each detection point based on the detection data of the detection point; and, The display module is used to display the detection point at the display position corresponding to the detection position of the detection point in the specified display interface, according to the display method.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 8.