Train communication method, train communication device, and electronic device

By dynamically configuring the global IP of the on-board signal equipment, the problem of limited communication after short-group trains is solved, and flexible adaptation of mid-span-vehicle communication in long-group trains and support for multiple marshalling types is realized.

CN115892123BActive Publication Date: 2025-07-25CRSC URBAN RAIL TRANSIT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211370789.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-03
Publication Date
2025-07-25
Estimated Expiration
2042-11-03

AI Technical Summary

Technical Problem

In the prior art, after the short-form train is joined to the long-form train, the cross-vehicle communication method of the on-board signal equipment is limited and cannot flexibly adapt to different marshalling types, resulting in inflexible communication.

Method used

By determining the vehicle attribute information of the train, dynamically configure the global IP of the on-board signal equipment to realize cross-vehicle communication and support multiple marshalling types of joint communication.

Benefits of technology

It realizes flexible configuration of cross-vehicle communication, supports cross-vehicle communication of on-vehicle signal equipment in long-combined trains composed of two short-combined or above, and improves communication flexibility and adaptability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115892123B_ABST
    Figure CN115892123B_ABST
Patent Text Reader

Abstract

The present invention provides a train communication method, a train communication device, and an electronic device. The method includes determining vehicle attribute information of a first formation train, where the first formation train is any short formation train in a long formation train, and the vehicle attribute information is used to indicate the relative position of the first formation train in the long formation train; based on the vehicle attribute information, determining a first global IP corresponding to the on-vehicle signal equipment of the first formation train and a second global IP corresponding to the on-vehicle signal equipment of a second formation train, where the second formation train is a short formation train coupled with the first formation train; and controlling communication between each formation train in the long formation train based on the first global IP and the second global IP. The train communication method, train communication device, and electronic device provided by the present invention can complete the cross-car communication function based on the on-vehicle signal equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of rail transit, and in particular, to a train communication method, a train communication device, and an electronic device. Background Art

[0002] With the gradual extension of the network of urban rail transit lines in major cities, urban tidal passenger flow has become a major feature of big cities in China. In order to better solve the operation problems brought about by this phenomenon and fully coordinate the matching of vehicle capacity and energy consumption, the flexible formation technology has emerged. Currently, it is gradually being explored and implemented in the rail transit fields of major cities. According to its implementation characteristics, the flexible formation technology is divided into physical coupling and decoupling technology and virtual coupling and decoupling technology. From the implementation at home and abroad, the physical coupling and decoupling technology is still the main implementation method at present. After a short formation train is coupled to form a long formation train, the vehicles achieve the physical and electrical connection of the entire formation train. How the on-vehicle signal devices at each vehicle end obtain the information of their respective coupled vehicle ends requires the establishment of cross-vehicle communication connections. With the help of cross-vehicle communication, the on-vehicle signal devices at the head and tail of the long formation train achieve information intertransmission, so as to realize functions such as turning back and changing ends.

[0003] After a short formation train is coupled to form a long formation train, the vehicle network is connected, providing a physical channel for cross-vehicle communication of on-vehicle signal devices. The on-vehicle signal devices communicate with the devices at their coupled vehicle ends by accessing the vehicle network. As the initiator and receiver of communication, the on-vehicle signal devices usually have restrictions on the coupled vehicle ends, the fixed local Internet Protocol Address (IP), and the formation type and quantity in the existing solutions, and the implementation is not flexible enough. Summary of the Invention

[0004] The present invention provides a train communication method, a train communication device, and an electronic device to solve the technical problem that the communication method between coupled short formation trains in the prior art is limited.

[0005] The present invention provides a train communication method, including:

[0006] Determine the vehicle attribute information of a first formation train, where the first formation train is any short formation train in a long formation train, and the vehicle attribute information is used to indicate the relative position of the first formation train in the long formation train;

[0007] Based on the vehicle attribute information, determine a first global IP corresponding to the on-vehicle signal device of the first formation train and a second global IP corresponding to the on-vehicle signal device of a second formation train, where the second formation train is a short formation train coupled to the first formation train;

[0008] Based on the first global IP and the second global IP, control the communication between the formation trains in the long formation train.

[0009] In some embodiments, the determining the first global IP corresponding to the on-vehicle signal device of the first formation train and the second global IP corresponding to the on-vehicle signal device of the second formation train based on the vehicle attribute information includes:

[0010] Based on the vehicle attribute information, determine the first formation serial number N of the first formation train in the long formation train, where N is a positive integer;

[0011] Based on the first formation serial number N, the first local IP, and the second local IP, determine the first global IP and the second global IP;

[0012] Wherein, the first local IP is the local IP corresponding to the on-vehicle signal device of the first formation train, and the second local IP is the local IP corresponding to the on-vehicle signal device of the second formation train.

[0013] In some embodiments, the second global IP includes any one of the following:

[0014] In the case where the first formation train is an intermediate formation train, the global IPs of the on-vehicle signal devices corresponding to the subsequent formation serial number N + 1 and the preceding formation serial number N - 1 determined;

[0015] In the case where the first formation train is a non-intermediate formation train and the first formation serial number N is equal to 1, the global IP of the on-vehicle signal device corresponding to the subsequent formation serial number N + 1 determined;

[0016] In the case where the first formation train is a non-intermediate formation train and the first formation serial number N is not equal to 1, the global IP of the on-vehicle signal device corresponding to the preceding formation serial number N - 1 determined.

[0017] In some embodiments, the controlling the communication between the formation trains in the long formation train based on the first global IP and the second global IP includes:

[0018] Based on the first global IP and the second global IP, open the communication connection channels corresponding to the on-vehicle signal devices of the first formation train and the second formation train respectively;

[0019] Based on the communication connection channels, transmit application information between the on-vehicle signal devices of different formation trains;

[0020] Based on the application information, control the communication between the formation trains in the long formation train.

[0021] In some embodiments, controlling the communication between the formation trains in the long formation train based on the application information includes:

[0022] Based on the application information, determining the formation numbers respectively corresponding to the formation trains;

[0023] When the sum of the formation numbers is equal to the total number of formations of the long formation train, opening the communication connection channel between the leading car and the trailing car in the long formation train, and closing the communication connection channels established by the non-leading cars and non-trailing cars in the long formation train.

[0024] In some embodiments, the method further includes:

[0025] When there is an intermediate formation train in the long formation train and the intermediate formation train fails to obtain the target application information of the corresponding communication train within the time threshold, closing the communication connection channel between the intermediate formation train and the corresponding communication train.

[0026] The present invention also provides a train communication device, including:

[0027] A first determination module, configured to determine the vehicle attribute information of a first formation train, where the first formation train is any short formation train in the long formation train, and the vehicle attribute information is used to indicate the relative position of the first formation train in the long formation train;

[0028] A second determination module, configured to determine a first global IP corresponding to the on-vehicle signal device of the first formation train and a second global IP corresponding to the on-vehicle signal device of a second formation train based on the vehicle attribute information, where the second formation train is a short formation train coupled with the first formation train;

[0029] A first communication module, configured to control the communication between the formation trains in the long formation train based on the first global IP and the second global IP.

[0030] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where when the processor executes the program, the train communication method as described in any one of the above is implemented.

[0031] The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the train communication method as described in any one of the above is implemented.

[0032] The present invention also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the train communication method as described in any one of the above is implemented.

[0033] The train communication method, train communication device, and electronic device provided by the present invention can complete cross-car communication through on-vehicle signal devices, without restricting the on-vehicle signal devices after any car ends are coupled, flexibly configuring the global IP support for the on-vehicle signal devices that achieve cross-car communication, and at the same time supporting cross-car communication of on-vehicle signal devices in long-formation trains composed of two short formations or more. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0035] Figure 1 is a schematic flowchart of the train communication method provided by the present invention;

[0036] Figure 2 is a schematic diagram of the communication model of the train communication method provided by the present invention;

[0037] Figure 3 is a schematic diagram of the communication connection mechanism of the train communication method provided by the present invention;

[0038] Figure 4 is a schematic diagram of the preset local IP data structure of the train communication method provided by the present invention;

[0039] Figure 5 is a schematic flowchart of the process of applying the train communication method provided by the present invention;

[0040] Figure 6 is a schematic diagram of the structure of the train communication device provided by the present invention;

[0041] Figure 7 is a schematic diagram of the structure of the electronic device provided by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0042] To make the objectives, technical solutions, and advantages of the present invention clearer, the following will clearly and completely describe the technical solutions in the present invention in conjunction with the drawings in the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0043] It should be noted that the execution subject of the train communication method provided by the present invention can be an electronic device, a component in the electronic device, an integrated circuit, or a chip. The electronic device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a Network Attached Storage (NAS), a personal computer (PC), etc. The present invention does not make specific limitations.

[0044] Taking a computer executing the train communication method provided by the present invention as an example, the technical solution of the present invention will be described in detail below.

[0045] Figure 1 It is a schematic flowchart of the train communication method provided by the present invention. Referring to Figure 1 the train communication method provided by the present invention includes: step 110, step 120, and step 130.

[0046] Step 110: Determine the vehicle attribute information of the first formation train. The first formation train is any short formation train in the long formation train, and the vehicle attribute information is used to indicate the relative position of the first formation train in the long formation train;

[0047] Step 120: Based on the vehicle attribute information, determine the first global IP corresponding to the on-vehicle signal device of the first formation train and the second global IP corresponding to the on-vehicle signal device of the second formation train. The second formation train is a short formation train coupled with the first formation train;

[0048] Step 130: Control the communication between each formation train in the long formation train based on the first global IP and the second global IP.

[0049] In actual execution, the formation trains can be coupled into groups according to the train formation plan, the train operation diagram, and other relevant regulations. The long formation train and the short formation train are relative concepts, and the present invention does not make specific limitations on the number of carriages included in the long formation train or the short formation train. For example: The long formation train generally has 16 carriages, and the short formation train can be composed of 8 carriages; or the long formation train can include 10 to 20 carriages, and the short formation train can be composed of 2 to 9 carriages, etc.

[0050] The flexible formation of trains generally adopts the method of physical coupling. Short-formation trains are combined into long-formation trains through fully automatic couplers. The couplers to be coupled need to support reliable coupling within a certain speed, a certain slope, and a certain curve range. After coupling, the electrical circuits and networks required for signal control need to be correctly connected, and the identification of the coupling end needs to be supported.

[0051] After the short-formation trains complete the coupling operation to form a long-formation train, the train-level network (Ethernet Train Backbone, ETB) of each formation train can be connected.

[0052] As Figure 2 shown, based on the ETB network, a communication model of on-vehicle signal equipment across car ends can be established. Among them, Figure 2 ETBN 1 and ETBN n in it can be used to indicate the train backbone network node equipment (Ethernet Train Backbone Node, ETBN) in the train-level network ETB. For example, it can include: on-vehicle signal equipment. The on-vehicle signal equipment is connected to it with redundant network hardware to realize access to the train-level network ETB, and a communication protocol layer is added from the perspective of realized security. Specifically, the railway signal security protocol can be referred to.

[0053] After the short-formation trains complete the coupling, the on-vehicle signal equipment of the short-formation trains can judge its own coupling car end and non-coupling car end by collecting the connection states of the mechanical and electrical couplers of the vehicle.

[0054] In actual implementation, if more than two short-formation trains are coupled, the on-vehicle signal equipment of the short-formation trains can also judge whether it is an intermediate formation train by collecting the mechanical and electrical coupler states of the head and tail ends of its own vehicle, and according to the communication connection mechanism as Figure 3 shown, according to the running direction, a communication mechanism in which the head ends and tail ends of each short-formation train are connected is adopted.

[0055] In the embodiment of the present invention, the first formation train is any short-formation train in the long-formation train, and the second formation train is the short-formation train coupled with the first formation train.

[0056] In step 110, after the first formation train completes the coupling, the on-vehicle signal equipment of the first formation train can collect the connection states of the mechanical and electrical couplers at the head or tail end of the vehicle, judge whether the head or tail end of the vehicle is the coupling car end or the non-coupling car end, and determine the vehicle attribute information of the first formation train. The vehicle attribute information is used to indicate the relative position of the first formation train in the long-formation train, that is, according to the relative position, it is determined whether the first formation train is one of the intermediate formation train, the head-end formation train, or the tail-end formation train.

[0057] The intermediate formation train is a formation train in which the mechanical and electrical couplers at the head or tail end of the first formation train are both in a connected state. The head-end formation train or the tail-end formation train is a formation train in which only the mechanical and electrical couplers at one car end are in a connected state.

[0058] It can be understood that the connected state of the mechanical and electrical couplers of the vehicle can also be collected by the on-vehicle signal equipment of the second formation train to determine its own coupled car end and non-coupled car end.

[0059] In the embodiment provided by the present invention, the Internet Protocol Address (IP) corresponding to the on-vehicle signal equipment of the short formation train can be preset first.

[0060] For the long formation train after coupling, the IPs used by the on-vehicle signal equipment corresponding to each car end for cross-car communication are global IPs, and the global IPs need to be generated by combining the formation serial number of the current short formation train in the coupled train and the local IP. In order to flexibly adapt to the on-vehicle signal equipment at any coupled car end, the local IPs of each on-vehicle signal equipment are preset, and the data structure design for presetting the local IPs can refer to Figure 4 as shown.

[0061] In step 120, when the short formation train performs a coupling operation in a specified area of the line, the on-vehicle signal equipment at the active end of each short formation car obtains the equipment identity document (ID) of the on-vehicle signal equipment at each end (including the coupled end and the non-coupled end) of the train to be coupled with this car from the control center in the Traffic Control Integrated Automation System (TIAS). The active end notifies the non-active end of this car of the device ID to be connected, and each end completes the search for the corresponding locally preset IP.

[0062] In actual execution, after the first formation train and the second formation train are coupled, it is determined whether communication has been established between the coupled formation trains. Both the first formation train and the second formation train can obtain the device ID of the on-vehicle signal equipment at each car end of the train coupled with this car from the TIAS system. And according to the device ID, the corresponding preset local IP data is obtained. Then, based on the local IP, the first global IP of the first formation train and the second global IP of the second formation train are determined.

[0063] In some embodiments, based on the vehicle attribute information, determining the first global IP corresponding to the on-vehicle signal equipment of the first formation train and the second global IP corresponding to the on-vehicle signal equipment of the second formation train includes:

[0064] Based on the vehicle attribute information, determine the first formation serial number N of the first formation train in the long formation train, where N is a positive integer;

[0065] Based on the first formation serial number N, the first local IP, and the second local IP, determine the first global IP and the second global IP;

[0066] Among them, the first local IP is the local IP corresponding to the on-vehicle signal equipment of the first formation train, and the second local IP is the local IP corresponding to the on-vehicle signal equipment of the second formation train.

[0067] In actual execution, after the coupling operation is completed, the vehicle network is connected, and each vehicle-end on-vehicle signal equipment obtains the total number of formations Sum of the long formation train after coupling and the formation serial number of this short formation train in the entire long formation train from the vehicle (Train Control and Monitor System, TCMS) system, that is, determine the first formation serial number N of the first formation train in the long formation train, N is a positive integer, that is, N = 1, 2, 3,....

[0068] Based on the vehicle attribute information of the first formation train, determine whether the first formation train belongs to an intermediate formation train, a head-end formation train, or a tail-end formation train.

[0069] When it is determined that the first formation train is one of an intermediate formation train, a head-end formation train, or a tail-end formation train, based on the local IP of each vehicle-end on-vehicle signal equipment and the first formation serial number N, determine the first global IP and the second global IP

[0070] The local IP of each vehicle-end on-vehicle signal equipment may include the first local IP corresponding to the on-vehicle signal equipment of the first formation train and the second local IP corresponding to the on-vehicle signal equipment of the second formation train.

[0071] The train communication method provided by the present invention can flexibly adapt to the on-vehicle signal equipment of any coupled vehicle-end by setting the global IP.

[0072] In some embodiments, the second global IP includes any one of the following:

[0073] In the case where the first formation train is an intermediate formation train, the global IPs of the on-vehicle signal equipment corresponding to the determined formation serial numbers N + 1 of the subsequent formation train and N - 1 of the previous formation train respectively;

[0074] In the case where the first formation train is a non-intermediate formation train and the first formation serial number N is equal to 1, the global IP of the on-vehicle signal equipment corresponding to the determined formation serial number N + 1 of the subsequent formation train;

[0075] When the first formation train is not an intermediate formation train and the first formation sequence number N is not equal to 1, the global IP of the on-vehicle signal device corresponding to the previous formation sequence number N - 1 is determined.

[0076] In actual execution, if the on-vehicle signal device of the first formation train determines that the first formation train is an intermediate formation train, then the global IPs of the on-vehicle signal devices corresponding to the next formation sequence number N + 1 and the previous formation sequence number N - 1 to be connected are calculated. Among them, the device ID corresponding to the previous formation sequence number N - 1 of the current intermediate formation vehicle can be obtained from the coupled car-end data sent by TIAS in the same running direction as this vehicle. Similarly, the device ID corresponding to the next formation sequence number N + 1 of the current intermediate formation vehicle can be obtained from the coupled car-end data sent by TIAS in the opposite running direction to this vehicle.

[0077] If the on-vehicle signal device of the first formation train determines that the first formation train is not an intermediate formation vehicle, then the first formation train is the head or tail of the entire long formation train. By judging whether the first formation sequence number N is 1, if N is 1, the global IP of the device corresponding to the next formation sequence number N + 1 to be connected is calculated by the on-vehicle signal device at this car-end; if N is not 1, the global IP of the device corresponding to the previous formation sequence number N - 1 is calculated by the on-vehicle signal device at this car-end.

[0078] In step 130, after determining the first global IP and the second global IP, the communication between the formation trains in the long formation train can be controlled.

[0079] The train communication method provided by the present invention can complete cross-car communication through the on-vehicle signal device, without restrictions on the on-vehicle signal devices after any car-end connection, supports flexible configuration of the global IP of the on-vehicle signal devices for cross-car communication, and at the same time supports cross-car communication of the on-vehicle signal devices in a long formation train composed of two short formations or more.

[0080] In some embodiments, controlling the communication between the formation trains in the long formation train based on the first global IP and the second global IP includes:

[0081] Based on the first global IP and the second global IP, open the communication connection channels corresponding to the on-vehicle signal devices of the first formation train and the second formation train respectively;

[0082] Based on the communication connection channels, transmit application information between the on-vehicle signal devices of different formation trains;

[0083] Based on the application information, control the communication between the formation trains in the long formation train.

[0084] In an embodiment of the present invention, after the long formation train after coupling obtains the global IP data of itself and the device to be connected from each vehicle end, it opens the corresponding communication connection channel.

[0085] In actual execution, if the on-vehicle signal device of the first formation train determines that the first formation train is an intermediate formation train, according to the formation number N, the first global IP, and the second global IP obtained from the TCMS, it matches the communication connection channels of the on-vehicle signal devices corresponding to the formation number N + 1 of the following formation train and the formation number N - 1 of the preceding formation train for the on-vehicle signal device of the first formation train.

[0086] If the on-vehicle signal device of the first formation train determines that the first formation train is not an intermediate formation vehicle, according to the formation number N, the first global IP, and the second global IP obtained from the TCMS, it judges whether N is equal to 1. If it is judged that N is 1, then it matches the communication connection channel of the on-vehicle signal device corresponding to the formation number N + 1 of the following formation train for the on-vehicle signal device of the first formation train. If it is judged that N is not 1, then it matches the communication connection channel of the on-vehicle signal device corresponding to the formation number N - 1 of the preceding formation train for the on-vehicle signal device of the first formation train.

[0087] After the on-vehicle signal devices at each vehicle end open the completed and matched communication connection channels, they send application information to each other. The application information can be application interface information, and can include the on-vehicle signal device ID, the formation number N where it is located, and the formation number Num of the train where it is located. Each vehicle end accumulatively stores the above application information received by itself and sends it to the opposite end communicating with it. Then, the communication connection channels established between the formation trains can be controlled according to the received application information.

[0088] In some embodiments, controlling the communication between the formation trains in the long formation train based on the application information includes:

[0089] Based on the application information, determining the formation numbers respectively corresponding to the formation trains;

[0090] When the sum of the formation numbers is equal to the total formation number of the long formation train, opening the communication connection channel between the leading vehicle and the trailing vehicle in the long formation train, and closing the communication connection channels established by the non-leading vehicles and non-trailing vehicles in the long formation train.

[0091] In actual implementation, when the non-middle formation trains in a long formation train receive application information, it may include the on-vehicle signal equipment IDs of each formation train, the formation sequence numbers where they are located, and the total number of formations Num of the train where they are located. According to the formation sequence numbers of each formation train, the corresponding total number of formations Num of each formation train can be determined. When the sum of the total numbers of formations Num of each formation train is equal to the total number of formations Sum of the long formation train, at this time, the leading car in the long formation train obtains the information of the trailing car, and at the same time, the trailing car also obtains the information of the leading car, and respectively opens the communication connection channels between the leading car and the trailing car, and actively closes the cross-car communication connection channels between the non-leading cars and non-trailing cars that are currently connected in the long formation train.

[0092] In some embodiments, the train communication method further includes:

[0093] When there are middle formation trains in the long formation train, and the middle formation trains do not obtain the target application information of the corresponding communication trains within the time threshold, close the communication connection channels between the middle formation trains and the corresponding communication trains.

[0094] For the situation where there are middle formation trains in the long formation train, when the middle formation trains do not obtain the target application information of the corresponding communication trains within the time threshold, that is, after not obtaining the data of the opposite end with the communication connection channel opened after exceeding the time threshold T, also close the communication connection channels between the middle formation trains and the corresponding communication trains, so that the information between the leading car and the trailing car of the entire long formation train is directly transmitted to each other. Since the middle formation vehicles are all follower cars and do not participate in the control output, it will not have other impacts on the entire long formation train.

[0095] In some embodiments, if each vehicle-end on-vehicle signal equipment actively closes all the opened cross-car communication connection channels after judging that the uncoupling is completed according to the coupler state of its own vehicle.

[0096] Figure 5 It is a schematic flowchart of the train communication method provided by the present invention. Refer to Figure 5 , the train communication method provided by the present invention includes:

[0097] First, judge whether the current formation train is in the coupled working condition.

[0098] If the current formation train is not in the coupled working condition, then judge whether it is in the uncoupling working condition. If it is not in the uncoupling working condition, end this process. If it is in the uncoupling working condition, judge whether the current vehicle is uncoupled completed according to the coupler states at the head end and the tail end of the current short formation vehicle. If the uncoupling is completed, close the opened cross-car communication connection channels. If the uncoupling is not completed, perform a status variable reset.

[0099] If the current formation train is in the coupled condition, determine whether communication connections have been established at both the head and tail ends of the current short formation train. If communication connections have been established, perform relevant data processing.

[0100] If communication connections have not been established, the current formation train obtains the on-vehicle equipment IDs of each vehicle end of the vehicle coupled to it from TIAS, obtains the corresponding pre-set local IP data, and then determines the global IP data. Based on the coupler states at the head and tail ends of the current short formation vehicle, the on-vehicle signal equipment of the current short formation vehicle determines its own vehicle attribute information.

[0101] If the current formation train is an intermediate formation vehicle, according to the formation sequence number N obtained from TCMS, match the communication connection channels corresponding to the equipment with formation sequence numbers N + 1 and N - 1.

[0102] If the current formation train is a head vehicle or a tail vehicle, according to the formation sequence number N obtained from TCMS, if it is determined that N is 1, match the communication connection channel corresponding to the equipment with formation sequence number N + 1; if N is not 1, match the communication connection channel corresponding to N - 1.

[0103] The on-vehicle signal equipment of the current formation train opens the communication connection channels it has matched and sends application information.

[0104] After the head vehicle and the tail vehicle in the long formation train obtain their respective opposite-end information, if the corresponding communication connection channels of the head vehicle and the tail vehicle have not been opened at this time, open the communication connection channels corresponding to the head vehicle and the tail vehicle, and actively close the cross-car communication connection channels related to non-head and non-tail vehicles respectively, and set the head and tail communication connection identifiers of the coupled vehicles.

[0105] The present invention designs a complete implementation scheme for cross-car communication of on-vehicle signal equipment of coupled trains. Through this scheme, it can be used for the specific implementation of the cross-car communication function of on-vehicle signal equipment. In this cross-car communication scheme, there are no restrictions on the on-vehicle signal equipment after any vehicle end is coupled. The IP of the on-vehicle signal equipment for cross-car communication supports flexible configuration. At the same time, it can support cross-car communication of on-vehicle signal equipment in long formation trains composed of two or more short formation trains.

[0106] The train communication method provided by the present invention has the following advantages:

[0107] 1. Support cross-car communication after coupling of multiple formation types;

[0108] 2. The scheme is reasonably designed and flexible to implement;

[0109] 3. Relevant data can be configured.

[0110] Next, the train communication device provided by the present invention will be described. The train communication device described below can be mutually corresponding and referenced with the train communication method described above.

[0111] Figure 6 This is a schematic structural diagram of the train communication device provided by the present invention. Referring to Figure 6 , the train communication device provided by the present invention includes: a first determination module 610, a second determination module 620, and a first communication module 630.

[0112] The first determination module 610 is configured to determine the vehicle attribute information of the first formation train, where the first formation train is any short formation train in the long formation train, and the vehicle attribute information is used to indicate the relative position of the first formation train in the long formation train;

[0113] The second determination module 620 is configured to determine a first global IP corresponding to the on-vehicle signal device of the first formation train and a second global IP corresponding to the on-vehicle signal device of the second formation train based on the vehicle attribute information, where the second formation train is a short formation train coupled with the first formation train;

[0114] The first communication module 630 is configured to control the communication between the formation trains in the long formation train based on the first global IP and the second global IP.

[0115] The train communication device provided by the present invention can complete cross-car communication through on-vehicle signal devices, without restrictions on the on-vehicle signal devices after any car-end coupling, flexibly configure the global IP of the on-vehicle signal devices for cross-car communication, and at the same time support cross-car communication of on-vehicle signal devices in a long formation train composed of two or more short formation trains.

[0116] In some embodiments, the second determination module 620 is specifically configured to:

[0117] Determine a first formation serial number N of the first formation train in the long formation train based on the vehicle attribute information, where N is a positive integer;

[0118] Determine the first global IP and the second global IP based on the first formation serial number N, a first local IP, and a second local IP;

[0119] where the first local IP is the local IP corresponding to the on-vehicle signal device of the first formation train, and the second local IP is the local IP corresponding to the on-vehicle signal device of the second formation train.

[0120] In some embodiments, the second global IP includes any one of the following:

[0121] In the case where the first formation train is an intermediate formation train, the global IPs corresponding to the on-vehicle signal devices of the determined subsequent formation serial number N + 1 and the previous formation serial number N - 1 respectively;

[0122] When the first formation train is a non - intermediate formation train and the first formation serial number N is equal to 1, the global IP of the on - vehicle signal device corresponding to the following train formation serial number N + 1 is determined;

[0123] When the first formation train is a non - intermediate formation train and the first formation serial number N is not equal to 1, the global IP of the on - vehicle signal device corresponding to the preceding train formation serial number N - 1 is determined.

[0124] In some embodiments, the first communication module 630 is specifically configured to:

[0125] Based on the first global IP and the second global IP, open the communication connection channels corresponding to the on - vehicle signal devices of the first formation train and the second formation train respectively;

[0126] Based on the communication connection channels, transmit application information between the on - vehicle signal devices of different formation trains;

[0127] Based on the application information, control the communication between the formation trains in the long formation train.

[0128] In some embodiments, the first communication module 630 is specifically configured to:

[0129] Based on the application information, determine the number of formations corresponding to each formation train;

[0130] When the sum of the numbers of formations is equal to the total number of formations of the long formation train, open the communication connection channel between the leading car and the trailing car in the long formation train, and close the communication connection channels established by non - leading cars and non - trailing cars in the long formation train.

[0131] In some embodiments, the device further includes:

[0132] The second communication module is specifically configured to:

[0133] When there is an intermediate formation train in the long formation train and the intermediate formation train does not obtain the target application information of the corresponding communication train within the time threshold, close the communication connection channel between the intermediate formation train and the corresponding communication train.

[0134] Figure 7 Illustrates a schematic diagram of the physical structure of an electronic device, such as Figure 7As shown in the figure, the electronic device may include: a processor 710, a communications interface 720, a memory 730, and a communication bus 740. Among them, the processor 710, the communications interface 720, and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call the logical instructions in the memory 730 to execute the train communication method, and this method includes:

[0135] Determine the vehicle attribute information of the first formation train, where the first formation train is any short formation train in the long formation train, and the vehicle attribute information is used to indicate the relative position of the first formation train in the long formation train;

[0136] Based on the vehicle attribute information, determine the first global IP corresponding to the on-vehicle signal device of the first formation train and the second global IP corresponding to the on-vehicle signal device of the second formation train, where the second formation train is a short formation train coupled with the first formation train;

[0137] Based on the first global IP and the second global IP, control the communication between each formation train in the long formation train.

[0138] In addition, when the logical instructions in the above-mentioned memory 730 are implemented in the form of software functional units and sold or used as an independent product, they may be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, may be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention.

[0139] The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical discs that can store program codes.

[0140] On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the train communication method provided by the above-mentioned various methods, and this method includes:

[0141] Determine the vehicle attribute information of the first formation train, where the first formation train is any short formation train in the long formation train, and the vehicle attribute information is used to indicate the relative position of the first formation train in the long formation train;

[0142] Based on the vehicle attribute information, determine the first global IP corresponding to the on-vehicle signal device of the first formation train and the second global IP corresponding to the on-vehicle signal device of the second formation train, where the second formation train is a short formation train coupled with the first formation train;

[0143] Based on the first global IP and the second global IP, control the communication between the formation trains in the long formation train.

[0144] In another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is configured to execute the train communication method provided by the above methods. The method includes:

[0145] Determine the vehicle attribute information of the first formation train, where the first formation train is any short formation train in the long formation train, and the vehicle attribute information is used to indicate the relative position of the first formation train in the long formation train;

[0146] Based on the vehicle attribute information, determine the first global IP corresponding to the on-vehicle signal device of the first formation train and the second global IP corresponding to the on-vehicle signal device of the second formation train, where the second formation train is a short formation train coupled with the first formation train;

[0147] Based on the first global IP and the second global IP, control the communication between the formation trains in the long formation train.

[0148] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative efforts.

[0149] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the essence of the above technical solution, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0150] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A train communication method, characterized in that, Including: Determine the vehicle attribute information of the first formation train, where the first formation train is any short formation train in the long formation train, and the vehicle attribute information is used to indicate the relative position of the first formation train in the long formation train; Based on the vehicle attribute information, determine the first global IP corresponding to the on-vehicle signal device of the first formation train and the second global IP corresponding to the on-vehicle signal device of the second formation train, where the second formation train is a short formation train coupled with the first formation train; Based on the first global IP and the second global IP, control the communication between each formation train in the long formation train; The controlling the communication between each formation train in the long formation train based on the first global IP and the second global IP includes: Based on the first global IP and the second global IP, open the communication connection channels respectively corresponding to the on-vehicle signal devices of the first formation train and the second formation train; Based on the communication connection channels, transmit application information between the on-vehicle signal devices of different formation trains; Based on the application information, control the communication between each formation train in the long formation train; The controlling the communication between each formation train in the long formation train based on the application information includes: Based on the application information, determine the formation numbers respectively corresponding to each formation train; When the sum of the formation numbers is equal to the total number of formations of the long formation train, open the communication connection channel between the head car and the tail car in the long formation train, and close the communication connection channels established by non-head cars and non-tail cars in the long formation train.

2. The train communication method according to claim 1, characterized in that, The determining the first global IP corresponding to the on-vehicle signal device of the first formation train and the second global IP corresponding to the on-vehicle signal device of the second formation train based on the vehicle attribute information includes: Based on the vehicle attribute information, determine the first formation serial number N of the first formation train in the long formation train, where N is a positive integer; Based on the first formation serial number N, the first local IP, and the second local IP, determine the first global IP and the second global IP; Wherein, the first local IP is the local IP corresponding to the on-vehicle signal device of the first formation train, and the second local IP is the local IP corresponding to the on-vehicle signal device of the second formation train.

3. The train communication method according to claim 2, wherein The second global IP includes any one of the following: In the case where the first formation train is an intermediate formation train, the global IPs of the on-vehicle signal devices corresponding to the subsequent formation serial number N + 1 and the previous formation serial number N - 1 determined; In the case where the first formation train is a non-intermediate formation train and the first formation serial number N is equal to 1, the global IP of the on-vehicle signal device corresponding to the subsequent formation serial number N + 1 determined; In the case where the first formation train is a non-intermediate formation train and the first formation serial number N is not equal to 1, the global IP of the on-vehicle signal device corresponding to the previous formation serial number N - 1 determined.

4. The train communication method according to any one of claims 1-3, characterized in that, The method further includes: When there is an intermediate formation train in the long formation train and the intermediate formation train fails to obtain the target application information of the corresponding communication train within the time threshold, the communication connection channel between the intermediate formation train and the corresponding communication train is closed.

5. A train communication device, characterized in that, Including: A first determination module, configured to determine the vehicle attribute information of a first formation train, where the first formation train is any short formation train in the long formation train, and the vehicle attribute information is used to indicate the relative position of the first formation train in the long formation train; A second determination module, configured to determine a first global IP corresponding to the on-vehicle signal device of the first formation train and a second global IP corresponding to the on-vehicle signal device of a second formation train based on the vehicle attribute information, where the second formation train is a short formation train coupled with the first formation train; A first communication module, configured to control the communication between each formation train in the long formation train based on the first global IP and the second global IP; The first communication module is specifically configured to: Based on the first global IP and the second global IP, open the communication connection channels respectively corresponding to the on-vehicle signal devices of the first formation train and the second formation train; Based on the communication connection channels, transmit application information between the on-vehicle signal devices of different formation trains; Based on the application information, control the communication between each formation train in the long formation train; The first communication module is specifically configured to: Based on the application information, determine the formation numbers respectively corresponding to each formation train; When the sum of the formation numbers is equal to the total number of formations of the long formation train, open the communication connection channel between the head car and the tail car in the long formation train, and close the communication connection channels established by non-head cars and non-tail cars in the long formation train.

6. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the train communication method according to any one of claims 1 to 4.

7. A non-transitory computer-readable storage medium storing a computer program thereon, characterized in that, When the computer program is executed by the processor, it implements the train communication method according to any one of claims 1 to 4.

8. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the train communication method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Head-to-tail redundancy system of vehicle-mounted signal equipment and execution method thereof

    CN112660203A

  • Signal system of coupled train and coupled train communication method based on network convergence

    CN113824770A