Locomotive position correction method and device, electronic equipment and storage medium
By collecting and processing the location information of the railway locomotive on the railway electronic map, the problem of the inability to accurately display the true driving status of the railway locomotive in the existing technology is solved, and the rational display of the positioning position and the stable driving of the locomotive on the track are realized.
Patent Information
- Application Number
- CN202411543590.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-11
AI Technical Summary
The existing technology cannot accurately display the true driving status of a railway locomotive, resulting in offset or loss of the positioning position, and the locomotive may deviate from the track or derail, resulting in unreasonable driving.
By collecting locomotive position information, the corresponding mileage value on the railway electronic map and the coordinate value of the computer vehicle mileage point on the railway electronic map route are obtained to obtain the locomotive latitude and longitude coordinates to achieve correction of the positioning position.
The locomotive position is reasonably displayed on the railway electronic map, ensuring that the train is driving stably on the track, and avoiding the unreasonable display of large deviations in positioning data.
Smart Images

Figure CN119414440A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of railway locomotive positioning, and in particular to a railway locomotive position correction method, device, electronic equipment and storage medium. Background Art
[0002] The existing technology directly displays the satellite positioning data of locomotives on the railway electronic map without processing. Once the satellite positioning data is deviated, such as due to interference from the electromagnetic environment, poor signal quality of the communication network, bad weather or mountain obstruction, the satellite positioning position often deviates, is lost, and other errors appear on the real-time display of the railway electronic map, which is manifested as the unreasonable phenomenon that the locomotive deviates from the track or even runs off the track. In fact, it is impossible for a normal train to deviate from the track and run off the track.
[0003] Therefore, it is necessary to provide a method for correcting the position of a railway locomotive to solve the problem that the existing technology cannot accurately display the actual driving status of the railway locomotive and realize the rational display of the positioning position. Summary of the invention
[0004] The main purpose of the present invention is to provide a method, device, electronic equipment and storage medium for correcting the position of a railway locomotive, so as to solve the problem in the prior art that the actual driving state of the railway locomotive cannot be accurately displayed, and to realize the rational display of the positioning position.
[0005] In a first aspect, the present invention provides a method for correcting the position of a railway locomotive, comprising:
[0006] Collecting target locomotive location information;
[0007] Acquire the corresponding target locomotive mileage value on the target railway electronic map according to the target locomotive position information;
[0008] Obtaining the target locomotive mileage point coordinate value according to the target locomotive mileage value;
[0009] The longitude and latitude of the target locomotive mileage point are obtained according to the coordinate value of the target locomotive mileage point.
[0010] Optionally, the step of acquiring the corresponding target locomotive mileage value on the target railway electronic map according to the target locomotive position information includes:
[0011] Determining whether the latitude and longitude coordinates of the target locomotive are located in the target operating route of the target railway electronic map;
[0012] If the longitude and latitude coordinates of the target locomotive are not located in the target running route of the target railway electronic map, obtaining a target projection point of the longitude and latitude coordinates of the target locomotive in the target running route of the target railway electronic map;
[0013] The corresponding target locomotive mileage value on the target railway electronic map is obtained according to the target projection point.
[0014] Optionally, the step of obtaining the latitude and longitude coordinates of the target locomotive at a target projection point in the target operating route of the target railway electronic map includes:
[0015] The position where the latitude and longitude coordinates of the target locomotive are closest to the target running line of the target railway electronic map is obtained as the target projection point.
[0016] Optionally, the step of obtaining the position where the latitude and longitude coordinates of the target locomotive are closest to the target running line of the target railway electronic map as the target projection point includes:
[0017] Cutting the target running route of the target railway electronic map according to a preset distance to obtain target running route sections;
[0018] A perpendicular line is drawn to the target running line section based on the latitude and longitude coordinates of the target locomotive, and the foot of the perpendicular line closest to the target projection point is the target projection point.
[0019] Optionally, the step of acquiring the corresponding target locomotive mileage value on the target railway electronic map according to the target projection point includes:
[0020] The target locomotive mileage value is obtained based on the distance between the starting position of the target running route section and the target projection point.
[0021] Optionally, the step of obtaining the longitude and latitude of the target locomotive mileage point according to the coordinate value of the target locomotive mileage point includes:
[0022] The longitude and latitude of the target locomotive mileage point are calculated through the mapping relationship between the coordinate value of the target locomotive mileage point and the geodetic coordinates.
[0023] According to a second aspect of an embodiment of the present invention, the present invention provides a railway locomotive position correction device, comprising:
[0024] Acquisition module: used to collect the location information of the target locomotive;
[0025] Mileage value acquisition module: acquires the corresponding target locomotive mileage value on the target railway electronic map according to the target locomotive position information;
[0026] Mileage point coordinate value acquisition module: acquires the target locomotive mileage point coordinate value according to the target locomotive mileage value;
[0027] Mileage point longitude and latitude acquisition module: obtains the longitude and latitude of the target locomotive mileage point according to the target locomotive mileage point coordinate value.
[0028] Optionally, the mileage point longitude and latitude acquisition module further includes a geodetic coordinate calculation unit: configured to calculate the longitude and latitude of the target locomotive mileage point through a mapping relationship between the target locomotive mileage point coordinate value and the geodetic coordinate.
[0029] According to a third aspect of an embodiment of the present invention, the present invention provides an electronic device comprising a memory and a processor, wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement the railway locomotive position correction method described in any one of the first aspects above.
[0030] According to a fourth aspect of an embodiment of the present invention, the present invention provides a storage medium storing a program, wherein the program, when executed by a computer, implements the railway locomotive position correction method described in any one of the first aspects above.
[0031] Compared with the prior art, one or more embodiments of the above scheme may have the following advantages or beneficial effects:
[0032] The present invention solves the problem in the prior art that the actual running status of the railway locomotive cannot be accurately displayed by mapping the locomotive coordinates to the railway electronic map route, and realizes the rational display of the positioning position. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the embodiments are briefly introduced below. Obviously, for non-specialized technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0034] Figure 1 A schematic diagram of a flow chart of a method for correcting the position of a railway locomotive provided by an embodiment of the present invention;
[0035] Figure 2 A schematic diagram of a railway locomotive position correction device provided by an embodiment of the present invention;
[0036] Figure 3 A schematic diagram of a railway locomotive position correction computer device provided by an embodiment of the present invention;
[0037] Figure 4 A schematic diagram of a railway locomotive and a vertical line of a railway electronic map provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0038] The following will describe the implementation methods of the present invention in detail with reference to the accompanying drawings and embodiments, so that the implementation process of how the present invention applies technical means to solve technical problems and achieve corresponding technical effects can be fully understood and implemented accordingly. The embodiments of the present invention and the various features in the embodiments can be combined with each other without conflict, and the technical solutions formed are all within the protection scope of the present invention.
[0039] Embodiment 1
[0040] like Figure 1 As shown, an embodiment of the present invention provides a method for correcting the position of a railway locomotive, comprising the following steps S101 to S104:
[0041] Step S101: Collecting target locomotive position information.
[0042] For example, the longitude and latitude coordinate information of the locomotive's current position is obtained through the Beidou system.
[0043] Step S102: acquiring the corresponding target locomotive mileage value on the target railway electronic map according to the target locomotive position information.
[0044] For example, determining whether the latitude and longitude coordinates of the target locomotive are located in the target operating route of the target railway electronic map;
[0045] If the longitude and latitude coordinates of the target locomotive are not located in the target running route of the target railway electronic map, obtaining a target projection point of the longitude and latitude coordinates of the target locomotive in the target running route of the target railway electronic map;
[0046] For example, the position where the latitude and longitude coordinates of the target locomotive are closest to the target running line of the target railway electronic map is obtained as the target projection point.
[0047] For example, the target running route of the target railway electronic map is cut according to a preset distance to obtain target running route segments;
[0048] Based on the latitude and longitude coordinates of the target locomotive, a perpendicular line is drawn to the target running line section, and the foot of the perpendicular line closest to the target projection point is the target projection point. Figure 4As shown, the satellite signal is received by the Beidou satellite receiver to obtain the longitude and latitude coordinates of the current position of the locomotive. According to the precise coordinates of the locomotive position point after the solution, the corresponding line segment is found on the railway electronic map, and the locomotive position point is perpendicular to the line segment. The perpendicular point is the projection position of the locomotive position point on the railway line. Through the data information of the railway electronic map itself, the corresponding mileage information of the locomotive projection position point on the line is found. The target projection point calculation process is as follows: the line data is divided into n segments, and the start and end of each segment are k0~k1, k1~k2,..., and so on, and each segment is 1 kilometer long. Determine whether the longitude and latitude point is on the line. If not, calculate the nearest point from the longitude and latitude point to the line data, that is, draw a perpendicular line from the longitude and latitude point to the line to obtain the foot of the perpendicular. Get the interval of the line segment where the foot of the perpendicular is located, for example: k1~k2, and calculate the distance from the start k1 of the interval to the foot of the perpendicular, and you can get the mileage point.
[0049] The target locomotive mileage value corresponding to the target railway electronic map is obtained according to the target projection point. For example, the target locomotive mileage value is obtained based on the distance between the starting position of the target running line section and the target projection point. For example, the starting position of the target running line section is K98, and the distance from the target projection point is 350, then the target locomotive mileage value is K98+350.
[0050] Step S103: Obtain the target locomotive mileage point coordinate value according to the target locomotive mileage value.
[0051] For example, based on the mileage information of the locomotive's projected position point on the line, the actual coordinates of the locomotive's mileage point are calculated through the mapping relationship between the mileage point on the railway electronic map and the geodetic coordinates; the locomotive's icon position on the railway electronic map is displayed in real time based on the obtained coordinate data of the mileage point on the corresponding line of the locomotive, thereby completing the position correction of the locomotive displayed in real time on the railway electronic map.
[0052] For example, the input mileage value is K98+350, and the output is the corrected longitude 3901.456789 and the corrected latitude 11102.567845.
[0053] The positioning and deviation correction method proposed in the present invention can reasonably display the locomotive position on the railway electronic map, and more accurately display the actual driving status of the railway locomotive. After a series of technical means such as point-to-point mileage and mileage-to-point mileage are used to locate the positioning data, a reasonable display of the positioning position is achieved, and the normal train can be ensured to run stably on the track on the real-time railway electronic map.
[0054] The present invention can more reasonably display the real-time position of the locomotive on the railway electronic map, and to a large extent avoid the unreasonable display of the locomotive position when the position data of the on-board satellite positioning terminal has a large deviation.
[0055] Step S104: Obtain the longitude and latitude of the target locomotive mileage point according to the coordinate value of the target locomotive mileage point.
[0056] For example, the longitude and latitude of the target locomotive mileage point are calculated through the mapping relationship between the coordinate value of the target locomotive mileage point and the geodetic coordinates.
[0057] Embodiment 2
[0058] like Figure 2 As shown, an embodiment of the present invention provides a railway locomotive position correction device, comprising:
[0059] Acquisition module: used to collect the location information of the target locomotive;
[0060] Mileage value acquisition module: acquires the corresponding target locomotive mileage value on the target railway electronic map according to the target locomotive position information;
[0061] Mileage point coordinate value acquisition module: acquires the target locomotive mileage point coordinate value according to the target locomotive mileage value;
[0062] Mileage point longitude and latitude acquisition module: obtains the longitude and latitude of the target locomotive mileage point according to the target locomotive mileage point coordinate value.
[0063] Optionally, the mileage point longitude and latitude acquisition module further includes a geodetic coordinate calculation unit: configured to calculate the longitude and latitude of the target locomotive mileage point through a mapping relationship between the target locomotive mileage point coordinate value and the geodetic coordinate.
[0064] Embodiment 3
[0065] Figure 3 A schematic diagram of the structure of a computer device provided by an exemplary embodiment of the present application is shown, and the computer device includes:
[0066] The processor 301 includes one or more processing cores. The processor 301 executes various functional applications and data processing by running software programs and modules.
[0067] The receiver 302 and the transmitter 303 can be implemented as a communication component, and the communication component can be a communication chip. Optionally, the communication component can be implemented to include a signal transmission function. That is, the transmitter 303 can be used to transmit a control signal to the image acquisition device and the scanning device, and the receiver 302 can be used to receive the corresponding feedback instruction.
[0068] The memory 304 is connected to the processor 301 via a bus 305 .
[0069] The memory 304 may be used to store at least one instruction, and the processor 301 may be used to execute the at least one instruction to implement steps S101 to S104 in the above control method embodiment.
[0070] Those skilled in the art will understand that Figure 3 It is only an example of a computer device and does not constitute a limitation of the computer device. The computer device may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the computer device may also include a network access device, etc.
[0071] The processor 301 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0072] The memory 304 may be an internal storage unit of the computer device, such as a hard disk or memory of the computer device. The memory 304 may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (SmartMediaCard, SMC), a secure digital (SecureDigital, SD) card, a flash card (FlashCard), etc. equipped on the computer device. Further, the memory 304 may also include both an internal storage unit of the computer device and an external storage device. The memory 304 is used to store the computer program and other programs and data required by the terminal device. The memory 304 may also be used to temporarily store data that has been output or is to be output.
[0073] Embodiment 4
[0074] An embodiment of the present application also provides a computer-readable storage medium, which stores at least one instruction, at least one program, code set or instruction set, which is loaded and executed by a processor to implement the above-mentioned railway locomotive position correction method.
[0075] Optionally, the computer readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a solid state drive (SSD) or an optical disk, etc. Among them, the random access memory may include a resistance random access memory (ReRAM) and a dynamic random access memory (DRAM).
[0076] Embodiment 5
[0077] The present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the railway locomotive position correction method described in any of the above embodiments.
[0078] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the pros and cons of the implementation.
[0079] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned embodiments can be completed by hardware, or by instructing the relevant hardware to complete the steps through a program. The program can be stored in a computer-readable storage medium, and the storage medium mentioned above can be a read-only memory, a disk or an optical disk, etc. Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0080] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0081] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0082] The computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0083] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for correcting the position of a railway locomotive, characterized in that: include: Collecting target locomotive location information; Acquire the corresponding target locomotive mileage value on the target railway electronic map according to the target locomotive position information; Obtaining the target locomotive mileage point coordinate value according to the target locomotive mileage value; The longitude and latitude of the target locomotive mileage point are obtained according to the coordinate value of the target locomotive mileage point.
2. The method according to claim 1, characterized in that: The step of obtaining the corresponding target locomotive mileage value on the target railway electronic map according to the target locomotive position information includes: Determining whether the latitude and longitude coordinates of the target locomotive are located in the target operating route of the target railway electronic map; If the longitude and latitude coordinates of the target locomotive are not located in the target running route of the target railway electronic map, obtaining a target projection point of the longitude and latitude coordinates of the target locomotive in the target running route of the target railway electronic map; The corresponding target locomotive mileage value on the target railway electronic map is obtained according to the target projection point.
3. The method according to claim 2, characterized in that The step of obtaining the latitude and longitude coordinates of the target locomotive at the target projection point in the target running route of the target railway electronic map includes: The position where the latitude and longitude coordinates of the target locomotive are closest to the target running line of the target railway electronic map is obtained as the target projection point.
4. The method according to claim 3, characterized in that: The step of obtaining the position of the target locomotive whose latitude and longitude coordinates are closest to the target running line of the target railway electronic map as the target projection point includes: Cutting the target running route of the target railway electronic map according to a preset distance to obtain target running route sections; A perpendicular line is drawn to the target running line section based on the latitude and longitude coordinates of the target locomotive, and the foot of the perpendicular line closest to the target projection point is the target projection point.
5. The method according to claim 4, characterized in that The step of obtaining the corresponding target locomotive mileage value on the target railway electronic map according to the target projection point includes: The target locomotive mileage value is obtained based on the distance between the starting position of the target running route section and the target projection point.
6. The method according to claim 1, characterized in that The step of obtaining the longitude and latitude of the target locomotive mileage point according to the coordinate value of the target locomotive mileage point includes: The longitude and latitude of the target locomotive mileage point are calculated through the mapping relationship between the coordinate value of the target locomotive mileage point and the geodetic coordinates.
7. A railway locomotive position correction device, characterized in that: include: Acquisition module: used to collect the location information of the target locomotive; Mileage value acquisition module: acquires the corresponding target locomotive mileage value on the target railway electronic map according to the target locomotive position information; Mileage point coordinate value acquisition module: acquires the target locomotive mileage point coordinate value according to the target locomotive mileage value; Mileage point longitude and latitude acquisition module: obtains the longitude and latitude of the target locomotive mileage point according to the target locomotive mileage point coordinate value.
8. The device according to claim 7, characterized in that The mileage point longitude and latitude acquisition module also includes a geodetic coordinate calculation unit: used to calculate the longitude and latitude of the target locomotive mileage point through the mapping relationship between the target locomotive mileage point coordinate value and the geodetic coordinate.
9. An electronic device, characterized in that: It comprises a memory and a processor, wherein the memory is used to store one or more computer instructions, wherein when the one or more computer instructions are executed by the processor, the railway locomotive position correction method according to any one of claims 1 to 6 is implemented.
10. A computer-readable storage medium storing a program, characterized in that: When the program is executed by a computer, the method for correcting the position of a railway locomotive according to any one of claims 1 to 6 is implemented.