Train tail host communication establishment method and device, equipment, storage medium and product
By automatically calculating the distance difference between the tail host and the locomotive and selecting the target tail host, the error problem caused by manual input of the locomotive number is solved, and accurate and fast communication connection between the tail host and the locomotive is achieved, thereby improving the train dispatching efficiency and safety.
Patent Information
- Application Number
- CN202511122022.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-12
- Publication Date
- 2025-09-30
AI Technical Summary
In the existing technology, the communication between the tail host and the on-board radio relies on manual input of the locomotive number, which is prone to errors caused by visual errors and operator fatigue, affecting train scheduling efficiency, and is unable to respond to train composition changes in real time, posing safety risks and high costs.
By receiving the locomotive data of the target locomotive and the position of the tail host, calculating the distance difference, automatically selecting the target tail host, and sending the locomotive identification to establish a communication connection, manual input is avoided and accuracy and efficiency are improved.
It achieves accurate and rapid binding between the tail host and the locomotive, reduces manual intervention time, improves communication establishment efficiency and train dispatching safety, and reduces error risks.
Smart Images

Figure CN120729931A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method, apparatus, device, storage medium and product for establishing communication with a tail host. Background Art
[0002] The tail train safety system (abbreviated as the tail train main unit) is a core component of train safety. It is typically installed on the tail hook or hook lever of the last train car. The tail train main unit's air duct is connected to the rear of the train and establishes two-way communication with the locomotive's onboard radio. It provides functions such as air pressure inspection, auxiliary exhaust braking, and automatic alarms for abnormal main duct air pressure, main unit undervoltage, and faults.
[0003] In related technologies, in order to establish two-way communication between the tail host and the on-board radio, the tail operator needs to use the tail confirmation instrument to manually input the locomotive number of the locomotive into the tail host, and the tail host establishes two-way communication with the corresponding on-board radio based on the locomotive number.
[0004] However, when tail-end operators manually input locomotive numbers, they are prone to input errors due to visual errors, operator fatigue or environmental interference (such as nighttime operations). Once an input error occurs, the tail-end host computer will be unable to establish communication with the onboard radio, thereby delaying the train departure and even causing safety hazards. In addition, the process of tail-end operators inputting the locomotive number for a tail-end host computer takes an average of 5-10 minutes, which is inefficient. In heavy-load railways or high-density transportation scenarios, it directly affects the train dispatching efficiency. Summary of the Invention
[0005] Based on this, it is necessary to provide a communication establishment method, device, equipment, storage medium and program product to address the above technical problems.
[0006] In a first aspect, the present application provides a method for establishing communication with a tail host, comprising:
[0007] receiving locomotive data of a target locomotive and the tail position of each candidate tail host at the station where the target locomotive is parked, wherein the locomotive data includes the locomotive position, locomotive identification, and the total length of each car pulled by the target locomotive;
[0008] respectively determining the distance between the tail position of each candidate tail host and the locomotive position;
[0009] selecting a target tail host from the candidate tail hosts according to the difference between each distance and the total length;
[0010] The locomotive identification is sent to the target train tail host, so that the target train tail host establishes a communication connection with the on-board radio station carried by the target locomotive based on the locomotive identification.
[0011] In one embodiment, selecting a target tail host from each candidate tail host according to the difference between each distance and the total length includes:
[0012] Determine a minimum difference among the differences; and when the minimum difference falls within a preset difference range, use the candidate tail host corresponding to the minimum difference as the target tail host.
[0013] In one embodiment, the method further comprises:
[0014] If the minimum difference does not fall within the preset difference range, the target locomotive is placed in a waiting matching queue; the newly added tail host is obtained as a new candidate tail host; new distance and difference determination operations are continued until it is determined that the new minimum difference falls within the preset difference range; and the candidate tail host corresponding to the new minimum difference is used as the target tail host.
[0015] In one embodiment, the locomotive data further includes vehicle composition data; and the step of sending the locomotive identification to the target train tail host comprises:
[0016] The locomotive identification is sent to the target tail-of-train host when any of the following conditions is met: the vehicle composition data is consistent with the vehicle composition data of any candidate locomotive planned to operate within a preset time period; the distance between the first expected parking position of the target locomotive and the locomotive position is less than a first distance threshold, and the distance between the second expected parking position of the target tail-of-train host and the tail position of the target tail-of-train host is less than a second distance threshold; wherein, the first expected parking position and the second expected parking position are determined based on the track parking area corresponding to the vehicle composition data.
[0017] In one embodiment, the step of sending the locomotive identification to the target train tail host comprises:
[0018] The locomotive identification is sent to the target train tail host at a preset frequency until an acknowledgement message from the target train tail host is received.
[0019] In one embodiment, the method further comprises:
[0020] When it is detected that the locomotive identification is sent to the target tail host a preset number of times and the confirmation information is not received, an alarm message is generated to prompt the target tail host that a communication failure exists.
[0021] In a second aspect, the present application further provides a communication establishment device for a host at the end of a column, comprising:
[0022] a receiving module, configured to receive locomotive data of a target locomotive and the tail position of each candidate tail host at the station where the target locomotive is parked; wherein the locomotive data includes the locomotive position, locomotive identification, and the total length of each carriage pulled by the target locomotive;
[0023] a determination module, configured to respectively determine the distance between the tail position of each candidate tail host and the locomotive position;
[0024] a selection module, configured to select a target tail host from each candidate tail host according to a difference between each distance and the total length;
[0025] The sending module is used to send the locomotive identification to the target train tail host, so that the target train tail host establishes a communication connection with the on-board radio station carried by the target locomotive based on the locomotive identification.
[0026] In a third aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of each method embodiment provided in the first aspect when executing the computer program.
[0027] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the various method embodiments provided in the first aspect above.
[0028] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the various method embodiments provided in the first aspect above.
[0029] The above-mentioned method, apparatus, device, and storage medium for establishing communication with a tail host select a target tail host from each candidate tail host based on the tail position of each candidate tail host at the station where the target locomotive is parked, the distance between the tail host and the locomotive position of the target locomotive, and the difference between the tail host and the total length of the train. The locomotive identification is then sent to the target tail host, so that the target tail host establishes a communication connection with the onboard radio station carried by the target locomotive based on the locomotive identification. In the above-mentioned method, the target tail host is determined from the candidate tail hosts based on the distance between the candidate tail hosts and the target locomotive, ensuring the accuracy of the matching between the target tail host and the target locomotive. Furthermore, the locomotive identification for establishing the communication connection is directly sent to the target tail host, avoiding input errors caused by manual locomotive identification input. This can improve the accuracy of the locomotive identification obtained by the target tail host, and can simultaneously match corresponding target tail hosts for multiple target locomotives without manual intervention, reducing the time spent by the tail host to obtain the locomotive identification, improving the efficiency of establishing communication between the tail host and the locomotive, and thus improving train scheduling efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments of the present application or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying any creative work.
[0031] Figure 1 This is an application environment diagram of the communication establishment device and method for the tail host in the embodiment of the present application;
[0032] Figure 2 Schematic diagram of the flow of the communication establishment device method of the tail host in the embodiment of the present application;
[0033] Figure 3 A flowchart of the steps of sending a locomotive identification to a target train tail host in an embodiment of the present application;
[0034] Figure 4 This is a flow chart of another step of sending a locomotive identification to a target train tail host in an embodiment of the present application;
[0035] Figure 5 Schematic diagram of the overall flow of the communication establishment device and method of the tail host in the embodiment of the present application;
[0036] Figure 6 A logical diagram of a method for establishing communication with a host at the end of a column in an embodiment of the present application;
[0037] Figure 7 Schematic diagram of the three stages of the communication establishment method of the tail host in the embodiment of the present application;
[0038] Figure 8 This is a structural block diagram of a communication establishment device for a host at the end of a column in an embodiment of the present application;
[0039] Figure 9 This is a diagram of the internal structure of a computer device in an embodiment of the present application. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0041] It should be noted that the terms "first", "second", etc. used in this application may 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 "including" and "having" used in this application and any variations thereof are intended to cover non-exclusive inclusions. The term "plurality" used in this application refers to two or more. The term "and / or" used in this application refers to one of the solutions or any combination of multiple solutions.
[0042] The following is an introduction to the design concept of this application:
[0043] The tail train safety system (abbreviated as the tail train main unit) is a core component of train safety. It is typically installed on the tail hook or hook lever of the last train car. The tail train main unit's air duct is connected to the rear of the train and establishes two-way communication with the locomotive's onboard radio. It provides functions such as air pressure inspection, auxiliary exhaust braking, and automatic alarms for abnormal main duct air pressure, main unit undervoltage, and faults.
[0044] In related technologies, in order to establish two-way communication between the tail host and the on-board radio, the tail operator needs to use the tail confirmation instrument to manually input the locomotive number of the locomotive into the tail host, and the tail host establishes two-way communication with the corresponding on-board radio based on the locomotive number.
[0045] However, on the one hand, the locomotive number is usually an 8-digit combination. When the operator at the end of the train manually enters the locomotive number, it is easy to make an input error due to visual errors, operator fatigue or environmental interference (such as night work). Once an input error occurs, the host at the end of the train will be unable to establish communication with the on-board radio, thereby delaying the train departure and even causing safety hazards. If a single line has an average of 5 manual number input errors per year, with a loss of about 50,000 yuan each time, the annual loss will reach 250,000 yuan. If the national railway network covers 100 lines, the potential annual loss will be as high as 25 million yuan.
[0046] Furthermore, manual number entry cannot respond to train composition changes (such as the temporary addition of carriages) in real time, requiring manual re-entry of the locomotive number, which interrupts the process. The communication technology standards (such as communication frequency bands and data formats) between the tail-end host and the locomotive vary across regions. Tail-end hosts using different communication technology standards require customized communication solutions, increasing deployment complexity and costs.
[0047] On the other hand, the process of tail-end operators inputting locomotive numbers into a tail-end mainframe takes an average of 5-10 minutes, which is inefficient and directly impacts train dispatch efficiency in heavy-load or high-density transport scenarios. For example, at busy freight hubs, hundreds of train formations are processed daily, and manual operations become a bottleneck in transport capacity. Furthermore, the railway system requires additional train inspection personnel, making manpower deployment even more difficult, especially in extreme weather or emergency situations.
[0048] The existing manual number input mode can no longer meet the core requirements of modern railways for "efficiency, accuracy, and safety". How to achieve accurate and rapid binding of the tail host and locomotive number without relying on manual operation has become an urgent problem to be solved.
[0049] In view of this, the embodiments of the present application propose a method, device, equipment, storage medium and product for establishing communication of a tail host. According to the tail position of each candidate tail host in the station where the target locomotive is parked, the distance between the tail host and the locomotive position of the target locomotive, and the difference between the tail position and the total length of the train, the target tail host is selected from each candidate tail host, and the locomotive identification is sent to the target tail host, so that the target tail host establishes a communication connection with the on-board radio carried by the target locomotive based on the locomotive identification.
[0050] In the above method, the target tail host is determined from the candidate tail hosts according to the distance between the candidate tail hosts and the target locomotive, ensuring the matching accuracy between the target tail host and the target locomotive, and then directly sending the locomotive identification for establishing a communication connection to the target tail host, avoiding the input error caused by manual input of the locomotive identification, and can improve the accuracy of the locomotive identification obtained by the target tail host. It can also match the corresponding target tail hosts for multiple target locomotives at the same time without manual intervention, reducing the time spent by the tail host to obtain the locomotive identification, improving the efficiency of establishing communication between the tail host and the locomotive, and thus improving the train scheduling efficiency.
[0051] The communication establishment method of the tail host provided in the embodiment of the present application can be applied to Figure 1 The application environment shown includes a server 101, a target train tail host 102, and a target locomotive 103. The server 101 can be an independent physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server providing cloud computing services. The server 101, the target train tail host 102, and the target locomotive 103 communicate via a network. The server 101 selects the candidate train tail hosts ( Figure 1The target locomotive 103 is selected from the candidate locomotives based on the locomotive position (not shown) of the target locomotive 103, the distance between the locomotive position and the target locomotive 103, and the difference between the locomotive position and the total length of the train. The locomotive ID is sent to the target locomotive 103, and the target locomotive 103 establishes a communication connection with the onboard radio of the target locomotive 103 according to the locomotive ID.
[0052] In an exemplary embodiment, Figure 2 As shown, a method for establishing communication with the tail host is provided, and the method is applied to Figure 1 The server 101 in the example is used as an example to illustrate the process, including the following steps S201 to S204.
[0053] S201: Receive locomotive data of a target locomotive and the tail position of each candidate tail host at the station where the target locomotive is parked;
[0054] The locomotive data includes at least the locomotive's position, locomotive identification, and the total length of each carriage pulled by the target locomotive. After the target locomotive's onboard radio is powered on, its built-in positioning receiver module receives the target locomotive's positioning data (consisting of longitude, latitude, and speed) transmitted in real time by satellites (such as Beidou satellites). After receiving the locomotive positioning data, it can directly transmit the locomotive positioning data to the server as the locomotive's position. The locomotive positioning data can also be corrected and then transmitted to the server as the locomotive's position. The onboard radio supports multi-band communication and can acquire and transmit locomotive data.
[0055] Optionally, the locomotive's positioning data is transmitted via the network to a ground-based differential base station. The base station, combined with real-time kinematic (RTK) signals, corrects the locomotive's positioning data and returns it to the vehicle's radio. The radio then transmits the corrected data as the locomotive's position to a server. Typically, the RTK correction service provided by the ground-based differential base station covers a radius of up to 20 kilometers.
[0056] The locomotive ID is a unique identifier for the target locomotive, typically consisting of an 8-digit number. The following description primarily uses the locomotive ID as the locomotive number. The total length of each car can be determined based on the number and length of the cars. For example, if the target locomotive is pulling 16 cars, each 10 meters long, the total length is 160 meters.
[0057] After the candidate tail host is powered on, it also receives the tail positioning data sent by the satellite in real time through the built-in positioning receiving module. The candidate tail host can directly send the tail positioning data as the tail position to the server, or it can correct the tail positioning data through the ground differential base station and then send the corrected tail positioning data as the tail position to the server. No specific restrictions are made here.
[0058] It should be noted that the embodiment of the present application mainly takes the target locomotive as an example to introduce the process of screening out the target tail host corresponding to the target locomotive from the candidate tail hosts. In fact, the server can not only search for the corresponding target tail host for the target locomotive, but also receive locomotive data of other locomotives and search for corresponding tail hosts for other locomotives. The server can search for the corresponding tail hosts for the corresponding locomotives in the order of the received locomotive data. If the computing power of the server allows, it can also search for the corresponding tail hosts for multiple locomotives in parallel.
[0059] S202: Determine the distance between the tail position of each candidate tail host and the locomotive position;
[0060] Specifically, for each candidate tail host, the distance between it and the locomotive is calculated. For example, if the tail position of the candidate tail host is (x1, y1) and the locomotive position is (x2, y2), the distance between the tail position and the locomotive position can be determined by the following formula:
[0061] Distance =
[0062] S203: Selecting a target tail host from each candidate tail host according to the difference between each distance and the total length;
[0063] It can be understood that the tail host is usually installed on the tail hook of the last car of the train, and the locomotive is towing in front of the first car. Therefore, the distance between the target locomotive and the corresponding target tail host in the embodiment of the present application should be close to the total length of each car. Therefore, after determining the distance between each candidate tail host and the target locomotive, the target tail host can be selected from the candidate hosts based on the difference between the distance and the total length.
[0064] For example, the candidate tail host corresponding to the smallest difference is used as the target tail host. Specifically, assuming the total length of each carriage is 100 meters, the distance between candidate tail host 1 and the target locomotive is 200 meters, the distance between candidate tail host 2 and the target locomotive is 300 meters, the distance between candidate tail host 3 and the target locomotive is 110 meters, and the distance between candidate tail host 4 and the target locomotive is 250 meters, then the difference corresponding to candidate tail host 1 is 100 meters, the difference corresponding to candidate tail host 2 is 200 meters, the difference corresponding to candidate tail host 3 is 10 meters, and the difference corresponding to candidate tail host 4 is 150 meters. The smallest difference is 10 meters, so candidate tail host 3 is used as the target tail host.
[0065] S204: Send the locomotive identification to the target train tail host, so that the target train tail host establishes a communication connection with the onboard radio carried by the target locomotive based on the locomotive identification.
[0066] The server sends the locomotive identification to the target train tail host, and the target train tail host establishes a communication connection with the onboard radio of the target locomotive based on a two-way handshake protocol.
[0067] Specifically, taking the locomotive identification as the locomotive number as an example, after the target tail host receives the locomotive number, it sends an encrypted connection request to the on-board radio of the target locomotive according to the locomotive number. The connection request contains the locomotive number of the target locomotive. After the on-board radio determines that the locomotive number in the connection request is consistent with the locomotive number of the target locomotive, it returns a confirmation code containing a timestamp to the target tail host. The timestamp here refers to the timestamp of receiving the connection request. When the target tail host determines that the time interval between the timestamp in the confirmation code and the current time is not greater than the preset time interval, the communication link is established.
[0068] The preset time interval can be set according to actual needs, multiple tests, and experience, and is not specifically limited here.
[0069] For example, after receiving the locomotive number "11111111", the target tail host sends a connection request containing "111111111" to the target locomotive's onboard radio. The onboard radio determines that the locomotive number "11111111" in the connection request matches the locomotive number "11111111" of the target locomotive and returns a confirmation code to the target tail host. The confirmation code contains the timestamp of the onboard radio receiving the connection request, "August 1, 2025, 10:35:15." Based on the timestamp, the target tail host determines that the time interval between the current time "August 1, 2025, 10:35:17" is 2 seconds. If it is no longer than the preset time interval of 3 seconds, the communication link is established.
[0070] In the above-mentioned method for establishing communication with a tail host, a target tail host is selected from each candidate tail host based on the tail position of each candidate tail host at the station where the target locomotive is parked, the distance between the candidate tail host and the locomotive position of the target locomotive, and the difference between the total train length and the train length. The locomotive identification is then sent to the target tail host, so that the target tail host establishes a communication connection with the onboard radio station carried by the target locomotive based on the locomotive identification. In the above-mentioned method, the target tail host is determined from the candidate tail hosts based on the distance between the candidate tail host and the target locomotive, ensuring the accuracy of the matching between the target tail host and the target locomotive. Furthermore, the locomotive identification for establishing the communication connection is directly sent to the target tail host, avoiding input errors caused by manual locomotive identification input. This improves the accuracy of the locomotive identification obtained by the target tail host, and can simultaneously match corresponding target tail hosts for multiple target locomotives without manual intervention. This reduces the time spent by the tail host obtaining locomotive identifications, improves the efficiency of establishing communication between the tail host and the locomotive, and thus improves train dispatching efficiency.
[0071] In the embodiment of the present application, the server is equipped with a multi-threaded parallel computing engine, which can process a peak data volume of 100,000 pieces per second to achieve rapid matching of the target locomotive and the target tail host.
[0072] Furthermore, the tail-end host, onboard radios, servers, and ground differential base stations transmit data via a broadband wireless network. This wireless network utilizes fourth-generation mobile communication technology (4G) slicing to ensure low latency and high-bandwidth transmission. Furthermore, to ensure data security, encrypted transmission protocols such as the Advanced Encryption Standard-256 (AES-256) can be used during data transmission to prevent data tampering and ensure privacy. To acquire and transmit positioning data, the tail-end host must integrate a Beidou positioning module, a 4G communication unit, and a communication encryption algorithm.
[0073] It should be noted that with the development of communication technology, emerging mobile communication technologies such as 5G and 6G can be adopted in the broadband wireless network in the embodiments of this application. The above-mentioned broadband network adopts 4G slicing technology for illustration only and does not constitute a limitation of this application.
[0074] In one embodiment, Figure 3 As shown, the step of sending the locomotive identification to the target train tail host in S204 may include the following steps:
[0075] S301: Determine the minimum difference among the differences;
[0076] S302: When the minimum difference falls within a preset difference range, the candidate tail host corresponding to the minimum difference is used as the target tail host.
[0077] For example, the difference corresponding to candidate tail host a is 80 meters, the difference corresponding to candidate tail host b is 15 meters, and the difference corresponding to candidate tail host c is 90 meters. The smallest difference is 15 meters, and the preset difference range is less than 20 meters. Then candidate tail host 3 is used as the target tail host.
[0078] For another example, the difference corresponding to candidate tail host d is 30 meters, the difference corresponding to candidate tail host e is 40 meters, and the difference corresponding to candidate tail host f is 50 meters. The minimum difference is 30 meters, and the preset difference range is less than 20 meters. Since the minimum difference does not fall within the preset difference range, even if the difference corresponding to candidate tail host d is the minimum difference, candidate tail host 3 cannot be used as the target tail host.
[0079] In the above embodiment, only when the minimum difference falls within the preset difference range is the candidate tail host corresponding to the minimum difference used as the target tail host. By setting the preset difference range, it is avoided that the tail hosts of other trains are connected to the target locomotive, thereby improving the matching accuracy between the target tail host and the target locomotive.
[0080] It can be understood that in the embodiment of the present application, when screening the target tail host corresponding to the target locomotive among the candidate tail hosts, the goal is to find the candidate tail host installed on the train to which the target locomotive belongs (hereinafter referred to as the target train) as the target tail host, and because the server can only add this tail host to the candidate tail hosts for screening after a tail host is powered on and sends its own tail position to the server, and the tail host installed on the target train may not have sent the tail position to the server at this time, that is, at this time, the target tail host corresponding to the target locomotive does not exist among the candidate tail hosts. Therefore, in the embodiment of the present application, when the minimum difference does not fall within the preset difference range, it is considered that the distance between each candidate tail host and the target locomotive is large, and the target tail host does not exist among the candidate tail hosts.
[0081] In the case that the minimum difference does not fall within the preset difference range, such as Figure 4 As shown, in one embodiment, the step of sending the locomotive identification to the target train tail host may include the following steps:
[0082] S401: If the minimum difference does not fall within the preset difference range, the target locomotive is placed in a waiting matching queue;
[0083] S402: Acquire the newly added tail host as a new candidate tail host;
[0084] S403: Continue to perform new distance and difference determination operations until it is determined that the new minimum difference falls within the preset difference range;
[0085] S404: The candidate tail host corresponding to the new minimum difference is used as the target tail host.
[0086] For example, the difference corresponding to the candidate tail host d is 30 meters, the difference corresponding to the candidate tail host e is 40 meters, the difference corresponding to the candidate tail host f is 50 meters, the minimum difference is 30 meters, the preset difference range is less than 20 meters, and the minimum difference of 30 meters is greater than 20 meters, that is, the minimum difference does not belong to the preset difference range, then the target locomotive is placed in the waiting matching queue, the server receives the tail position sent by the newly added tail host j, and takes the tail host j as the new candidate tail host j. The distance between the tail position of the new candidate tail host j and the locomotive position of the target locomotive is 110 meters, the total length of each carriage is 100 meters, and the difference corresponding to the new candidate tail host j is 10 meters. At this time, the difference corresponding to each candidate tail host is 30 meters, 40 meters, 50 meters, and 10 meters respectively, and the minimum difference is 10 meters, which belongs to the preset difference range, and the new candidate tail host j is taken as the target tail host.
[0087] Usually, the target locomotive needs to run to the designated track to connect with the towed carriages. In order to avoid the target locomotive from mistakenly establishing a communication connection with the tail host of other trains during its running to the designated track, the locomotive data of the target locomotive also includes the running speed of the target locomotive. The locomotive identification is sent to the target tail host when the following conditions are met: within 3 consecutive seconds, the difference between the distance between the target locomotive and the target tail host and the total length of each carriage is less than 20 meters, and the running speed of the target locomotive and the running speed of the target tail host are both no more than 0 km / h.
[0088] In the above embodiment, even if the target tail host corresponding to the target locomotive does not exist in the current candidate tail hosts, the target tail host will not be blindly selected from the current candidate tail hosts. Instead, the target locomotive will continue to be matched with the new candidate tail hosts until it is determined that the new minimum difference falls within the preset difference range. The candidate tail host corresponding to the new minimum difference will be used as the target tail host, which can improve the matching accuracy between the target locomotive and the target tail host and ensure railway transportation safety.
[0089] The above embodiments describe a process for finding a target tail host based on the distance between a candidate tail host and a target locomotive, and determining whether to send a locomotive ID based on the speed difference between the target locomotive and the target tail host. In actual applications, to ensure driving safety, in one embodiment, the locomotive data also includes vehicle formation data. The locomotive ID is sent to the target tail host if any of the following conditions are met:
[0090] Condition 1: The vehicle composition data is consistent with the vehicle composition data of any candidate locomotive planned to operate within the preset time period;
[0091] Among them, the vehicle composition data may include the train number, locomotive number, number of cars (the number of towed cars), change length (the length of each car), etc. The preset time period can be set according to demand, for example, 1 day, 1 hour, 12 hours, etc. Taking the preset time period as 1 day, the current "August 4, 2025" as an example, according to the train schedule of the dispatching center, the vehicle composition data of the target locomotive is compared with the vehicle composition data of each candidate locomotive scheduled to operate on August 4, 2025. When the vehicle composition data of the target locomotive is consistent with the vehicle composition data of any candidate locomotive, it is determined that condition 1 is met, thereby ensuring that data such as the train number is completely matched with the plan.
[0092] Condition 2: The distance between the first expected parking position of the target locomotive and the locomotive position is less than a first distance threshold, and the distance between the second expected parking position of the target tail host and the tail position of the target tail host is less than a second distance threshold.
[0093] Among them, the first expected parking position and the second expected parking position are determined based on the track parking area corresponding to the vehicle formation data. The first distance threshold and the second distance threshold can be set according to experience, multiple tests and actual needs. The first distance threshold and the second distance threshold can be the same or different, and no specific limitation is made here.
[0094] In practical applications, all trains parked at a station must be parked at predetermined track locations (track parking areas) to ensure operational and operational safety. Condition 2 is set to ensure that the target train is parked within the corresponding track parking area. For example, based on the vehicle marshaling data, the target train is determined to be a 10,000-ton train, and the track parking area is track 1 CD. Since the target locomotive is located at the front of the target train and the target tail host is located at the rear of the target train, theoretically, the target locomotive should be located at point C, the starting point of track 1 CD, and the target tail host should be located at point D, the ending point of track 1 CD. Furthermore, based on the track location of track 1 in the station track database, the actual location of point C is determined to be (X1, Y1), and the actual location of point D is determined to be (X2, Y2). The distance between the target locomotive's position and (X1, Y1) (referred to as the first distance) and the distance between the target tail host's tail position and (X2, Y2) (referred to as the second distance) are then determined. If the first distance is less than the first distance threshold and the second distance is less than the second distance threshold, Condition 2 is satisfied.
[0095] On the basis of the above embodiments, for the target tail host, since the server has obtained the tail position of the target tail host and the locomotive position of the target locomotive, it can be considered that the target tail host has met the basic conditions for issuing the locomotive number. Furthermore, if the above conditions 1 or 2 can be met, it can be determined that the target tail host and the target locomotive are located in the same train, and the locomotive number of the target locomotive is issued to the target tail host.
[0096] In the above embodiment, conditions 1 and 2 are used to further ensure the dispatch accuracy of the target locomotive and the target tail-end main engine, thereby improving railway transportation safety, reducing accidents, and ensuring the safety of passengers and goods.
[0097] In one embodiment, the step of sending the locomotive identification to the target train tail host comprises:
[0098] The locomotive identification is sent to the target train tail host at a preset frequency until the target train tail host receives the confirmation information.
[0099] The preset frequency can be set as needed, for example, sending the locomotive ID every 0.01 seconds. Optionally, the server continuously sends the locomotive ID to the target tail host via a dedicated communication protocol, such as Message Queuing Telemetry Transport (MQTT), until the tail host responds.
[0100] In the above embodiment, the locomotive identification is continuously sent to the target tail host at a preset frequency to ensure that the target tail host receives the locomotive identification in time, thereby reducing the time spent on establishing a communication connection between the target tail host and the target locomotive, improving the communication establishment efficiency, and thus improving the departure efficiency.
[0101] In one embodiment, after the locomotive identification is sent to the target train tail host at a preset frequency, the following steps may be performed:
[0102] When it is detected that the locomotive identification is sent to the target tail host a preset number of times and no confirmation information is received, an alarm message is generated to prompt the target tail host that a communication failure exists.
[0103] Specifically, the preset number of times can be set according to needs and is not specifically limited here. Optionally, in actual application, taking the preset number of times as 30 times as an example, if it is detected that the locomotive number has been sent to the target tail host 10 times and no confirmation information has been received, the server automatically starts the retry mechanism and continues to send the locomotive number to the target tail host 10 times. If the server again confirms that no confirmation information has been received, it continues to start the retry mechanism and sends the locomotive number to the target tail host 10 times. If the server still does not receive the confirmation information, the server generates an alarm message and pushes the alarm message to the tail dispatch center in real time, so that the tail dispatch center can promptly check whether there is a communication failure with the target tail host.
[0104] In the above embodiment, based on the preset number of times as a measurement standard, an alarm message is generated in a timely manner to prompt the communication failure of the target tail host, so that the communication failure can be eliminated in time, and the communication between the target tail host and the target locomotive can be established, thereby reducing the time spent due to communication failure and improving the communication connection efficiency.
[0105] After the target tail host receives the locomotive number, it establishes a communication connection with the on-board radio of the target locomotive based on the locomotive number. Optionally, the server verifies the communication status with the on-board radio and the target tail host by continuously sending life frames to the on-board radio and the target tail host. If it is detected that the signal delay is ≥ the preset duration or the data packet loss rate is ≥ the preset ratio, an alarm is triggered immediately. The preset duration and the preset ratio can be set according to actual needs and are not specifically limited here.
[0106] Based on the above embodiments, in an exemplary embodiment, Figure 5 As shown, taking the communication connection method of the tail host in the column as an example, the method may include the following steps:
[0107] S501: Receive locomotive data of a target locomotive and the tail position of each candidate tail host at the station where the target locomotive is parked;
[0108] S502: Determine the distance between the tail position of each candidate tail host and the locomotive position;
[0109] S503: Determine the minimum difference among the differences;
[0110] S504: When the minimum difference falls within a preset difference range, the candidate tail host corresponding to the minimum difference is used as the target tail host;
[0111] S505: If the minimum difference does not fall within the preset difference range, the target locomotive is placed in a waiting-for-matching queue; the newly added tail host is obtained as a new candidate tail host; new distance and difference determination operations are continued until it is determined that the new minimum difference falls within the preset difference range; the candidate tail host corresponding to the new minimum difference is used as the target tail host;
[0112] S506: Sending the locomotive identification to the target train tail host if any of the following conditions are met: the vehicle composition data is consistent with the vehicle composition data of any candidate locomotive scheduled to operate within a preset time period; the distance between the first expected parking position of the target locomotive and the locomotive position is less than a first distance threshold, and the distance between the second expected parking position of the target train tail host and the train tail position of the target train tail host is less than a second distance threshold;
[0113] S507: Sending the locomotive identification to the target train tail host at a preset frequency until receiving confirmation information from the target train tail host;
[0114] S508: When it is detected that the locomotive identification is sent to the target tail host a preset number of times and no confirmation information is received, an alarm message is generated to prompt the target tail host that a communication failure exists.
[0115] The specific implementation of S501-S508 is the same as that in the above method embodiments, and will not be repeated here.
[0116] In an exemplary embodiment, Figure 6As shown, it is a logical diagram of the communication establishment method of the tail host in the embodiment of the present application. First, each candidate tail host and the on-board radio carried by the target locomotive are powered on. Then, on the one hand, each candidate tail host sends the tail position of the train after verification by the ground differential base station to the server. On the other hand, the on-board radio sends the locomotive position, vehicle formation data, and running speed after verification by the ground differential base station to the server. The server matches the tail position of each candidate tail host with the locomotive position, vehicle formation data, and running speed of the target locomotive. If the match is successful, the target tail host corresponding to the target locomotive is obtained. Finally, the server sends the locomotive number of the target locomotive to the target tail host. The target tail host sends a connection request to the on-board radio according to the locomotive number. The driver of the target locomotive presses the confirmation button, and the on-board radio returns a confirmation code to complete the communication connection.
[0117] like Figure 7 As shown, taking the last host 1 as an example, the communication establishment method of the last host in the embodiment of the present application can be divided into the following three stages:
[0118] In the first stage, the detected tail host 1 is installed at the rear of the train car in track 1. After the tail host 1 is powered on, it automatically searches for Beidou positioning signals and establishes a 4G connection with the ground differential base station. The tail host 1 sends the received positioning data to the ground differential base station for verification, and sends the verified tail position to the server. At this time, the tail host 1 is in the waiting state for input;
[0119] In the second stage, the target locomotive arrives at the designated track 1. After the on-board radio of the target locomotive is powered on, it automatically searches for Beidou signals and establishes a 4G connection with the ground differential base station. The target locomotive sends the received positioning data to the ground differential base station for verification to obtain the locomotive position. The target locomotive sends the locomotive data including the locomotive position to the server. After receiving the locomotive data, the server determines the tail host 1 as the target tail host from each candidate tail host within 0.5 seconds and sends the locomotive number to the tail host 1.
[0120] In the third stage, the tail host 1 completes the encrypted handshake with the on-board radio according to the locomotive number, establishes a communication connection, and the connection status indicator light turns from red to green.
[0121] If the connection status light of the host at the end of the train remains red, you can check the following in sequence: 4G signal strength, Beidou positioning status light remains green, and grouping information integrity to determine the cause of the connection failure.
[0122] The server can also provide real-time error code query, such as E101 indicating abnormal positioning data and E205 indicating mismatched marshaling information, which are not listed here one by one.
[0123] In this implementation, the server matches the target locomotive with the target train tail host, completely replacing the manual number input process and ensuring a locomotive number binding accuracy rate of ≥99.9%. This system, applied to heavy-load freight lines like the Daqin and Shuohuang lines, can improve marshaling yard transportation efficiency. It can also operate stably in complex environments and areas of electromagnetic interference, thereby improving railway transportation safety, reducing accident rates, and ensuring the safety of passengers and cargo. This promotes the intelligent transformation of railways and provides technical support for the "Strong Transportation Nation" strategy.
[0124] It should be understood that, although the various steps in the flowcharts involved in the above embodiments are displayed in sequence according to the instructions of the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless clearly stated herein, the execution of these steps is not strictly limited in order, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of the steps or stages in other steps or other steps. It is understandable that the various steps in different embodiments can be freely combined as needed, and the various non-contradictory schemes formed by the combination all fall within the scope of protection of this application.
[0125] The following laboratory tests and field verifications demonstrate the effectiveness of the communication establishment method for the tail host in the embodiment of the present application.
[0126] (1) Laboratory testing:
[0127] Positioning accuracy test: In a simulated track environment, when the actual distance between the target rear host and the target locomotive was 15 meters, the average error in the distance between the target rear host and the target locomotive determined by the server was 8.2 cm, meeting the design requirement of an error of ≤ 10 cm.
[0128] Extreme environment test: In a low temperature environment of -30℃, the server runs continuously for 24 hours, and the communication success rate with the host at the end of the train and the on-board radio remains at 99.5%.
[0129] (2) On-site verification:
[0130] Railway marshalling yard verification: Multiple tail-end hosts are installed at the tail of trains on multiple tracks in the marshalling yard. When the locomotive runs to the head of the train, the server accurately completes the automatic number input operation between the locomotive and the corresponding tail-end host, with an average binding time of 28 seconds.
[0131] It can be seen that through the communication connection method of the tail host in the embodiment of the present application, the number input process between the tail host and the locomotive is compressed from the traditional 10 minutes to 30 seconds, which can significantly improve the departure efficiency. When the hub station train uses automatic number input, the efficiency can be increased by 30%, and the transportation capacity is significantly improved. In addition, the number input is fully automated, completely eliminating the errors caused by manual number input, and the binding accuracy rate is ≥99.9%. When manual number input is eliminated, the annual labor cost of a single railway line can be reduced by approximately 2 million yuan.
[0132] Based on the same inventive concept, an embodiment of the present application further provides a device for establishing communication with a tail host in a train, for implementing the aforementioned method for establishing communication with a tail host. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of the embodiments of the device for establishing communication with one or more tail hosts provided below can be found in the aforementioned method for establishing communication with a tail host, and will not be further elaborated here.
[0133] In an exemplary embodiment, Figure 8 As shown, a communication establishment device for the tail host is provided, comprising: a receiving module 801, a determining module 802, a selecting module 803 and a sending module 804, wherein:
[0134] The receiving module 801 is configured to receive locomotive data of a target locomotive and the tail position of each candidate tail host at the station where the target locomotive is parked; wherein the locomotive data includes the locomotive position, locomotive identification, and the total length of each carriage pulled by the target locomotive;
[0135] A determination module 802 is used to determine the distance between the tail position of each candidate tail host and the locomotive position;
[0136] A selection module 803 is configured to select a target tail host from each candidate tail host according to the difference between each distance and the total length;
[0137] The sending module 804 is used to send the locomotive identification to the target train tail host, so that the target train tail host establishes a communication connection with the onboard radio carried by the target locomotive based on the locomotive identification.
[0138] In one embodiment, the selection module 803 is specifically configured to:
[0139] Determine the minimum difference among the differences; if the minimum difference falls within a preset difference range, use the candidate tail host corresponding to the minimum difference as the target tail host.
[0140] In one embodiment, the selection module 803 is further configured to:
[0141] If the minimum difference does not fall within the preset difference range, the target locomotive is placed in a waiting matching queue; the newly added tail host is obtained as a new candidate tail host; new distance and difference determination operations are continued until it is determined that the new minimum difference falls within the preset difference range; the candidate tail host corresponding to the new minimum difference is used as the target tail host.
[0142] In one embodiment, the sending module 804 is specifically configured to:
[0143] The locomotive identification is sent to the target tail host if any of the following conditions is met: the vehicle composition data is consistent with the vehicle composition data of any candidate locomotive planned to operate within a preset time period; the distance between the first expected parking position of the target locomotive and the locomotive position is less than a first distance threshold, and the distance between the second expected parking position of the target tail host and the tail position of the target tail host is less than a second distance threshold; wherein the first expected parking position and the second expected parking position are determined based on the track parking area corresponding to the vehicle composition data.
[0144] In one embodiment, the sending module 804 is specifically configured to:
[0145] The locomotive identification is sent to the target train tail host at a preset frequency until the target train tail host receives the confirmation information.
[0146] In one embodiment, the sending module 804 is further configured to:
[0147] When it is detected that the locomotive identification is sent to the target tail host a preset number of times and no confirmation information is received, an alarm message is generated to prompt the target tail host that a communication failure exists.
[0148] Each module in the aforementioned communication establishment device for the tail host can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a memory in the computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0149] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 9As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O) and a communication interface. The processor, memory and input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store locomotive data and the position of the tail of the train. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a communication establishment method for the tail host is implemented.
[0150] Those skilled in the art will understand that Figure 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0151] In an exemplary embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the steps of each method embodiment of the method for establishing communication with the tail host are implemented.
[0152] In an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of each method embodiment of the method for establishing communication with the tail host are implemented.
[0153] In an exemplary embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the steps of each method embodiment of the method for establishing communication with the tail host.
[0154] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database 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 various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), quantum computing-based data processing logic devices, artificial intelligence (AI) processors, and the like.
[0155] The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, 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.
[0156] The above embodiments merely illustrate several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art may make various modifications and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. A method for establishing communication with a host at the end of a column, characterized in that: The method comprises: receiving locomotive data of a target locomotive and the tail position of each candidate tail host at the station where the target locomotive is parked, wherein the locomotive data includes the locomotive position, locomotive identification, and the total length of each car pulled by the target locomotive; respectively determining the distance between the tail position of each candidate tail host and the locomotive position; selecting a target tail host from the candidate tail hosts according to the difference between each distance and the total length; The locomotive identification is sent to the target train tail host, so that the target train tail host establishes a communication connection with the on-board radio station carried by the target locomotive based on the locomotive identification.
2. The method according to claim 1, characterized in that The step of selecting a target tail host from the candidate tail hosts according to the difference between each distance and the total length includes: determining a minimum difference among the differences; In a case where the minimum difference falls within a preset difference range, the candidate tail host corresponding to the minimum difference is used as the target tail host.
3. The method according to claim 2, characterized in that The method further comprises: If the minimum difference does not fall within the preset difference range, placing the target locomotive into a waiting matching queue; Get the newly added tail host as the new candidate tail host; Continue to perform new distance and difference determination operations until it is determined that the new minimum difference falls within the preset difference range; The candidate tail host corresponding to the new minimum difference is used as the target tail host.
4. The method according to any one of claims 1 to 3, characterized in that The locomotive data also includes vehicle formation data; the step of sending the locomotive identification to the target train tail host comprises: The locomotive identification is sent to the target train tail host when any of the following conditions is met: The vehicle formation data is consistent with the vehicle formation data of any candidate locomotive planned to operate within a preset time period; The distance between the first expected parking position of the target locomotive and the locomotive position is less than a first distance threshold, and the distance between the second expected parking position of the target tail host and the tail position of the target tail host is less than a second distance threshold; wherein, the first expected parking position and the second expected parking position are determined based on the track parking area corresponding to the vehicle formation data.
5. The method according to any one of claims 1 to 3, characterized in that: The step of sending the locomotive identification to the target train tail host comprises: The locomotive identification is sent to the target train tail host at a preset frequency until an acknowledgement message from the target train tail host is received.
6. The method according to claim 5, characterized in that The method further comprises: When it is detected that the locomotive identification is sent to the target tail host a preset number of times and the confirmation information is not received, an alarm message is generated to prompt the target tail host that a communication failure exists.
7. A communication establishment device for a host at the end of a column, characterized in that: The device comprises: a receiving module, configured to receive locomotive data of a target locomotive and the tail position of each candidate tail host at the station where the target locomotive is parked; wherein the locomotive data includes the locomotive position, locomotive identification, and the total length of each carriage pulled by the target locomotive; a determination module, configured to respectively determine the distance between the tail position of each candidate tail host and the locomotive position; a selection module, configured to select a target tail host from each candidate tail host according to a difference between each distance and the total length; The sending module is used to send the locomotive identification to the target train tail host, so that the target train tail host establishes a communication connection with the on-board radio station carried by the target locomotive based on the locomotive identification.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.