Coupled train communication system and method
By using Ethernet marshalling network and train backbone network nodes in the tandem train communication system, dynamic IP address calculation and transmission between train marshallings is realized, which solves the problem of insufficient real-time and reliability of cross-marshalling communication of terminal equipment in the traditional system. , improving the communication efficiency and safety between train groups.
Patent Information
- Application Number
- CN202410619980.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2024-08-23
AI Technical Summary
In the traditional fully automatic train coupling system, the vehicle system and signaling system are networked separately before and after coupling, which makes it difficult to meet the real-time and reliability requirements for cross-group communication of terminal equipment.
A coupled train communication system composed of Ethernet marshalling network (ECN) and Ethernet train backbone network (ETBN) nodes is used to transmit the marshalling numbers to each other through the main central control units (CCU) of the two train marshallings to determine the coupling status and Calculate the dynamic global IP address based on the static IP address and group number to achieve cross-group communication.
It improves the real-time and reliability of cross-group communication of terminal equipment, ensures that target terminal equipment between train groups can be connected and communicated normally, and improves the safety and efficiency of railway operations.
Smart Images

Figure CN118529095A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of rail transit technology, and in particular to a coupled train communication system and method. Background Art
[0002] After years of development, the domestic urban rail transit has become more and more diversified in operation scenarios, and some projects requiring fully automatic coupling have emerged, which has put forward new requirements for the coupled train communication system. In traditional fully automatic train coupling projects, the vehicle system and signal system are networked separately before and after coupling, which makes it difficult to meet the real-time and reliability requirements of cross-train communication of terminal equipment. Summary of the invention
[0003] The present invention provides a coupled train communication system and method, which are used to solve the defect in the prior art that in a fully automatic train coupling scenario, the vehicle system and the signal system are networked separately before and after the coupling, which makes it difficult to meet the real-time and reliability requirements of cross-train communication of terminal devices.
[0004] In a first aspect, the present invention provides a coupled train communication system, the coupled train communication system comprising a marshaling network composed of Ethernet Consist Network (ECN) nodes and a backbone network composed of Ethernet Train Backbone Node (ETBN), wherein each TMc car and MP car of each train marshaling comprises two ECN nodes belonging to different ECN networks, the terminal equipment in each TMc car is simultaneously connected to the two ECN nodes of the TMc car, the terminal equipment comprises a central control unit (CCU), the CCUs of the two TMc cars in each train marshaling constitute active-standby redundancy, wherein each TMc car of each train marshaling comprises two ETBNs belonging to different Ethernet Train Backbone (ETB) networks, the two ETBNs of each TMc car are connected to the two ECN nodes in a one-to-one correspondence, and the ETBNs of the two TMc cars in each train marshaling constitute active-standby redundancy;
[0005] The main CCU of the first train formation is used to send the first formation number of the first train formation to the main CCU of the second train formation;
[0006] The main CCU of the second train set is used to send the second set number of the second train set to the main CCU of the first train set;
[0007] The main CCU of the first train marshaling is further used to receive the second marshaling number sent by the main CCU of the second train marshaling, and send the coupling state of the first train marshaling and the second train marshaling, the first marshaling number and the second marshaling number to the target terminal device of the first train marshaling;
[0008] The target terminal device of the first train marshaling is used to receive the coupling state, the first marshaling number and the second marshaling number sent by the main CCU of the first train marshaling, determine the second dynamic global Internet Protocol (IP) address of the target terminal device of the second train marshaling, and perform cross-marshaling communication with the target terminal device of the second train marshaling based on the second dynamic global IP address;
[0009] The main CCU of the second train marshaling is further used to receive the first marshaling number sent by the main CCU of the first train marshaling, and send the coupling state of the first train marshaling and the second train marshaling, the first marshaling number and the second marshaling number to the target terminal device of the second train marshaling;
[0010] The target terminal device of the second train formation is used to receive the coupling status, the first formation number and the second formation number sent by the main CCU of the second train formation, determine the first dynamic global IP address of the target terminal device of the first train formation, and based on the first dynamic global IP address, perform cross-formation communication with the target terminal device of the first train formation.
[0011] In some embodiments, the master ETBN of the first train formation is used to obtain the coupling state in real time, calculate the first formation number, and periodically send the coupling state and the first formation number to the master CCU of the first train formation;
[0012] The main CCU of the first train formation is further used to receive the coupling status and the first formation number sent by the main ETBN of the first train formation;
[0013] The main ETBN of the second train formation is used to obtain the coupling state in real time, calculate the second formation number, and periodically send the coupling state and the second formation number to the main CCU of the second train formation;
[0014] The main CCU of the second train formation is also used to receive the coupling status and the second formation number sent by the main ETBN of the second train formation.
[0015] In some embodiments, determining the second dynamic global IP address of the target terminal device of the second train formation includes:
[0016] Based on the coupling state, determine whether the first train marshaling and the second train marshaling are normally coupled, and if it is determined that the first train marshaling and the second train marshaling are normally coupled, determine a second dynamic global IP address of the target terminal device of the second train marshaling based on the static IP address of the target terminal device of the second train marshaling, the first marshaling number, and the second marshaling number;
[0017] Determining the first dynamic global IP address of the target terminal device of the first train formation includes:
[0018] Based on the coupling status, it is determined whether the first train formation and the second train formation are normally coupled. When it is determined that the first train formation and the second train formation are normally coupled, the first dynamic global IP address of the target terminal device of the first train formation is determined based on the static IP address of the target terminal device of the first train formation, the first formation number and the second formation number.
[0019] In some embodiments, the ETBN of the first train formation and the ETBN of the second train formation are configured with Universally Unique Identifiers (UUIDs) of different sizes;
[0020] The primary ETBN of the first train marshaling is used to obtain the first UUID of the ETBN of the first train marshaling and the second UUID of the ETBN of the second train marshaling, and calculate the first marshaling number according to the first UUID and the second UUID;
[0021] The main ETBN of the second train formation is used to obtain the first UUID and the second UUID, and the second formation number is calculated based on the first UUID and the second UUID.
[0022] In a second aspect, the present invention further provides a coupled train communication method, which is applied to a first train formation of a coupled train communication system as described in any one of the above, and the method comprises:
[0023] The master ETBN of the first train marshaling obtains the coupling state of the first train marshaling and the second train marshaling of the coupled train communication system in real time, calculates the first marshaling number of the first train marshaling, and periodically sends the coupling state and the first marshaling number to the master CCU of the first train marshaling;
[0024] The main CCU of the first train formation receives the coupling state and the first formation number sent by the main ETBN of the first train formation, sends the first formation number to the main CCU of the second train formation, and receives the second formation number of the second train formation sent by the main CCU of the second train formation;
[0025] The main CCU of the first train formation sends the coupling state, the first formation number and the second formation number to the target terminal device of the first train formation;
[0026] The target terminal device of the first train formation receives the coupling status, the first formation number and the second formation number sent by the main CCU of the first train formation, and when determining that the coupling status is normal, determines the second dynamic global IP address of the target terminal device of the second train formation based on the static IP address of the target terminal device of the second train formation, the first formation number and the second formation number, and performs cross-formation communication with the target terminal device of the second train formation based on the second dynamic global IP address.
[0027] In some embodiments, before calculating the first marshaling number of the first train marshaling, the method further includes:
[0028] Obtain a first UUID of the ETBN of the first train formation and a second UUID of the ETBN of the second train formation, where the first UUID and the second UUID have different sizes;
[0029] The calculating the first marshaling number of the first train marshaling comprises:
[0030] The first grouping number is calculated according to the first UUID and the second UUID.
[0031] In some embodiments, determining the second dynamic global IP address of the target terminal device of the second train marshaling based on the static IP address of the target terminal device of the second train marshaling, the first marshaling number, and the second marshaling number includes:
[0032] Determine the subnet number of the first train marshaling according to the first marshaling number, and determine the subnet number of the second train marshaling according to the second marshaling number;
[0033] Based on the static IP address of the target terminal device of the second train formation, the subnet number of the first train formation and the subnet number of the second train formation, and a preset mapping rule, obtain a mapped IP address of the target terminal device of the second train formation;
[0034] Converting the mapped IP address of the target terminal device of the second train formation to obtain a second dynamic global IP address of the target terminal device of the second train formation;
[0035] Among them, the preset mapping rules include: mapping the static IP address of the target terminal device based on the static IP address of the target terminal device, the subnet number of the train formation where the target terminal device is located and the subnet number of the corresponding train formation to obtain the mapped IP address of the target terminal device.
[0036] In a third aspect, the present invention further provides a coupled train communication method, which is applied to a second train formation of the coupled train communication system as described in any one of the above, and the method comprises:
[0037] The main ETBN of the second train marshaling obtains the coupling status of the first train marshaling and the second train marshaling of the coupled train communication system in real time, calculates the second marshaling number of the second train marshaling, and periodically sends the coupling status and the second marshaling number to the main CCU of the second train marshaling;
[0038] The main CCU of the second train formation receives the coupling status and the second formation number sent by the main ETBN of the second train formation, sends the second formation number to the main CCU of the first train formation, and receives the first formation number of the first train formation sent by the main CCU of the first train formation;
[0039] The main CCU of the second train formation sends the coupling state, the first train formation number and the second train formation number to the target terminal device of the second train formation;
[0040] The target terminal device of the second train formation receives the coupling status, the first formation number and the second formation number sent by the main CCU of the second train formation, and when determining that the coupling status is normal, determines the first dynamic global IP address of the target terminal device of the first train formation based on the static IP address of the target terminal device of the first train formation, the first formation number and the second formation number, and performs cross-formation communication with the target terminal device of the first train formation based on the first dynamic global IP address.
[0041] In some embodiments, before calculating the second train marshaling number, the method further includes:
[0042] Obtain a first UUID of the ETBN of the first train formation and a second UUID of the ETBN of the second train formation, where the first UUID and the second UUID have different sizes;
[0043] The calculating the second marshaling number of the second train marshaling comprises:
[0044] The second grouping number is calculated according to the first UUID and the second UUID.
[0045] In some embodiments, determining the first dynamic global IP address of the target terminal device of the first train marshaling based on the static IP address of the target terminal device of the first train marshaling, the first marshaling number, and the second marshaling number includes:
[0046] Determine the subnet number of the first train marshaling according to the first marshaling number, and determine the subnet number of the second train marshaling according to the second marshaling number;
[0047] Based on the static IP address of the target terminal device of the first train marshaling, the subnet number of the first train marshaling, the subnet number of the second train marshaling, and a preset mapping rule, obtaining a mapped IP address of the target terminal device of the first train marshaling;
[0048] Converting the mapped IP address of the target terminal device of the first train formation to obtain a first dynamic global IP address of the target terminal device of the first train formation;
[0049] Among them, the preset mapping rules include: mapping the static IP address of the target terminal device based on the static IP address of the target terminal device, the subnet number of the train formation where the target terminal device is located and the subnet number of the corresponding train formation to obtain the mapped IP address of the target terminal device.
[0050] The present invention provides a coupled train communication system and method, in which the main CCUs of two train marshalings transmit their train marshaling numbers to each other to determine the coupled status of the two train marshalings. The main CCU of each train marshaling sends the coupled status and the marshaling numbers of the two train marshalings to the target terminal device of the marshaling. The target terminal device of each train marshaling determines the dynamic global IP address of the target terminal device of the marshaling according to the static IP address of the target terminal device of the marshaling and the marshaling numbers of the two train marshalings, thereby realizing cross-marshaling communication of target terminal devices of different train marshalings, and improving the real-time and reliability of cross-marshaling communication of terminal devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0052] Figure 1 is a schematic diagram of the structure of a coupled train communication system provided by an embodiment of the present invention;
[0053] Figure 2 This is one of the flow charts of the coupled train communication method provided in an embodiment of the present invention;
[0054] Figure 3 This is the second flow chart of the coupled train communication method provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0056] The terms "first", "second", etc. in the description of the present invention are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more.
[0057] Figure 1 The structure diagram of the train-coupled communication system provided by the embodiment of the present invention is shown in FIG. Figure 1 As shown, a coupled train communication system is provided, the coupled train communication system includes a marshaling network composed of Ethernet marshaling network ECN nodes and a backbone network composed of Ethernet train backbone network nodes ETBN, wherein each TMc car and MP car of each train marshaling includes two ECN nodes belonging to different ECN networks, the terminal equipment in each TMc car is simultaneously connected to the two ECN nodes of the TMc car, the terminal equipment includes a central control unit CCU, the CCUs of the two TMc cars in each train marshaling form a primary and standby redundancy, wherein each TMc car of each train marshaling includes two ETBNs belonging to different Ethernet train backbone networks ETB networks, the two ETBNs of each TMc car are connected to the two ECN nodes in a one-to-one correspondence, and the ETBNs of the two TMc cars in each train marshaling form a primary and standby redundancy;
[0058] The main CCU of the first train formation is used to send the first formation number of the first train formation to the main CCU of the second train formation;
[0059] The main CCU of the second train set is used to send the second set number of the second train set to the main CCU of the first train set;
[0060] The main CCU of the first train set is also used to receive the second train set number sent by the main CCU of the second train set, and send the coupling state of the first train set and the second train set, the first train set number and the second train set number to the target terminal device of the first train set;
[0061] The target terminal device of the first train marshaling is used to receive the coupling state, the first marshaling number and the second marshaling number sent by the main CCU of the first train marshaling, determine the second dynamic global IP address of the target terminal device of the second train marshaling, and perform cross-marshaling communication with the target terminal device of the second train marshaling based on the second dynamic global IP address;
[0062] The main CCU of the second train set is also used to receive the first train set number sent by the main CCU of the first train set, and send the coupling state of the first train set and the second train set, the first train set number and the second train set number to the target terminal device of the second train set;
[0063] The target terminal device of the second train formation is used to receive the coupling status, the first formation number and the second formation number sent by the main CCU of the second train formation, determine the first dynamic global IP address of the target terminal device of the first train formation, and based on the first dynamic global IP address, perform cross-formation communication with the target terminal device of the first train formation.
[0064] Optionally, each train formation includes a TMc1 car and a TMc2 car, the ETBN of the TMc1 car is configured as a smaller static id, such as 1, and the ETBN of the TMc2 car is configured as a larger static id, such as 2.
[0065] It should be noted that the first ECN nodes of two TMC cars and multiple MP cars in each train formation constitute the first ECN network, and the second ECN nodes of two TMC cars and multiple MP cars in each train formation constitute the second ECN network. The first ECN network and the second ECN network constitute dual network redundancy.
[0066] It should be noted that the first ETBN of each TMC car in each train formation is electrically connected to the corresponding first ECN node, and each first ETBN constitutes a first ETBN network. The second ETBN of each TMC car in each train formation is electrically connected to the corresponding second ECN node, and each second ETBN constitutes a second ETBN network. The first ETBN network and the second ETBN network constitute dual network redundancy.
[0067] Optionally, the terminal equipment of each TMC car includes a controller of the automatic train protection system (Automatic Train Protection, ATP), a controller of the automatic train operation system (Automatic Train Operation, ATO), a CCU, etc.
[0068] Optionally, the target terminal device may be a controller of an ATP or an ATO.
[0069] Among them, CCU is a very important component of the train system, which can realize multiple functions such as train control, system monitoring, data storage, communication functions and safety management.
[0070] It should be noted that the marshaling number is an identifier used to identify the train marshaling. Each train marshaling number is usually composed of a string of numbers or letters and is used to distinguish different trains. Through the train marshaling number, the railway department can track and manage the operation of the train.
[0071] Among them, the coupling status includes the network connection status between train formations. The coupling status can be normal coupling or abnormal coupling. The coupling status between train formations can be determined by obtaining the operating data of the train formations.
[0072] In an embodiment of the present invention, the main CCUs of two train formations transmit their train formation numbers to each other to determine the coupling status of the two train formations. The main CCU of each train formation sends the coupling status and the formation numbers of the two train formations to the target terminal device of the formation. The target terminal device of each train formation determines the dynamic global IP address of the target terminal device of the formation based on the static IP address of the target terminal device of the formation and the formation numbers of the two train formations, thereby realizing cross-formation communication of target terminal devices of different train formations, and improving the real-time and reliability of cross-formation communication of terminal devices.
[0073] In some embodiments, the master ETBN of the first train formation is used to obtain the coupling status in real time, calculate the first formation number, and periodically send the coupling status and the first formation number to the master CCU of the first train formation;
[0074] The main CCU of the first train formation is also used to receive the coupling status and the first formation number sent by the main ETBN of the first train formation;
[0075] The main ETBN of the second train set is used to obtain the coupling status in real time, calculate the second train set number, and periodically send the coupling status and the second train set number to the main CCU of the second train set;
[0076] The main CCU of the second train formation is also used to receive the coupling status and the second formation number sent by the main ETBN of the second train formation.
[0077] Optionally, the first group number and the second group number can be calculated based on multiple factors such as vehicle type, connection method and sequence.
[0078] Optionally, a specific grouping algorithm or rule may be used to calculate the first grouping number and the second grouping number.
[0079] It can be understood that in each train formation, through the interaction between the main ETBN and the main CCU, the acquisition and transmission of the coupling status and the train formation number are realized, which can effectively manage the coupling status and formation number of the train formation, promote communication and collaboration between trains, and improve the safety, efficiency and reliability of railway operations.
[0080] In some embodiments, determining the second dynamic global IP address of the target terminal device of the second train consist includes:
[0081] Determine whether the first train set is normally coupled with the second train set based on the coupling state, and if it is determined that the first train set is normally coupled with the second train set, determine the second dynamic global IP address of the target terminal device of the second train set based on the static IP address of the target terminal device of the second train set, the first train set number, and the second train set number;
[0082] Determining a first dynamic global IP address of a target terminal device of a first train formation includes:
[0083] Based on the coupling status, it is determined whether the first train formation and the second train formation are coupled normally. When it is determined that the first train formation and the second train formation are coupled normally, the first dynamic global IP address of the target terminal device of the first train formation is determined based on the static IP address of the target terminal device of the first train formation, the first formation number and the second formation number.
[0084] Among them, a static IP address refers to a fixed, unchanging IP address, which is usually manually configured and managed by a network administrator; a dynamic global IP address is usually dynamically allocated and is suitable for target terminal devices that need to be connected to the Internet at any time.
[0085] It should be noted that by combining information such as coupling status and marshaling number, the correspondence between train marshaling and target terminal equipment can be determined more accurately; by automatically calculating the dynamic global IP address of the target terminal equipment, manual intervention and management can be reduced, thereby improving the efficiency of cross-marshaling communication of the target terminal equipment.
[0086] In some embodiments, determining the second dynamic global IP address of the target terminal device of the second train formation based on the static IP address of the target terminal device of the second train formation, the first formation number, and the second formation number includes:
[0087] Determine the subnet number of the first train marshaling according to the first marshaling number, and determine the subnet number of the second train marshaling according to the second marshaling number;
[0088] Based on the static IP address of the target terminal device of the second train formation, the subnet number of the first train formation and the subnet number of the second train formation, and the preset mapping rule, obtain the mapped IP address of the target terminal device of the second train formation;
[0089] Converting the mapped IP address of the target terminal device of the second train formation to obtain a second dynamic global IP address of the target terminal device of the second train formation;
[0090] Among them, the preset mapping rules include: mapping the static IP address of the target terminal device based on the static IP address of the target terminal device, the subnet number of the train formation where the target terminal device is located and the subnet number of the corresponding train formation to obtain the mapped IP address of the target terminal device.
[0091] In some embodiments, determining a first dynamic global IP address of a target terminal device of the first train formation based on a static IP address of the target terminal device of the first train formation, a first formation number, and a second formation number includes:
[0092] Determine the subnet number of the first train marshaling according to the first marshaling number, and determine the subnet number of the second train marshaling according to the second marshaling number;
[0093] Based on the static IP address of the target terminal device of the first train formation, the subnet number of the first train formation and the subnet number of the second train formation, and a preset mapping rule, obtain the mapped IP address of the target terminal device of the first train formation;
[0094] The mapped IP address of the target terminal device of the first train formation is converted to obtain a first dynamic global IP address of the target terminal device of the first train formation.
[0095] It can be understood that by judging whether the train set is coupled normally based on the coupling status, and combining the information of the static IP address and the set number, determining the dynamic global IP address of the target terminal device of the train set, it helps to improve the reliability and stability of the cross-set communication of the target terminal device.
[0096] In some embodiments, the ETBN of the first train formation and the ETBN of the second train formation are configured with universal unique identifiers UUIDs of different sizes;
[0097] The main ETBN of the first train formation is used to obtain the first UUID of the ETBN of the first train formation and the second UUID of the ETBN of the second train formation, and calculate the first formation number according to the first UUID and the second UUID;
[0098] The main ETBN of the second train formation is used to obtain the first UUID and the second UUID, and the second formation number is calculated based on the first UUID and the second UUID.
[0099] It should be noted that the four ETBNs of the first train formation are all configured with a first UUID, and the four UUIDs of the second train formation are all configured with a second UUID. By comparing the sizes of the first UUID and the second UUID, the first formation number and the second formation number can be calculated.
[0100] For example, if the first UUID is smaller than the second UUID, the first group number is "1" and the second group number is "2".
[0101] It can be understood that by obtaining the first UUID of the ETBN of the first train formation and the second UUID of the ETBN of the second train formation, and calculating the first formation number and the second formation number according to the size of the first UUID and the second UUID, the calculation efficiency of the formation number can be improved, ensuring that the formation number of each train formation is unique, and avoiding duplication or confusion.
[0102] Figure 2 This is a flow chart of a method for communicating with coupled trains provided in an embodiment of the present invention. Figure 2 As shown, a train-coupled communication method is provided, and the train-coupled communication method is applied to Figure 1 The first train marshaling of the coupled train communication system in FIG. 1 is taken as an example to illustrate the method, which includes the following steps: step 210, step 220, step 230 and step 240. The method flow steps are only a possible implementation mode of the present invention.
[0103] Step 210: The main ETBN of the first train set obtains the coupling status of the first train set and the second train set of the coupled train communication system in real time, calculates the first train set number, and periodically sends the coupling status and the first train set number to the main CCU of the first train set;
[0104] Step 220: The main CCU of the first train marshaling receives the coupling status and the first marshaling number sent by the main ETBN of the first train marshaling, sends the first marshaling number to the main CCU of the second train marshaling, and receives the second marshaling number of the second train marshaling sent by the main CCU of the second train marshaling;
[0105] Step 230: The main CCU of the first train set sends the coupling state, the first set number and the second set number to the target terminal device of the first train set;
[0106] Step 240, the target terminal device of the first train formation receives the coupling status, the first formation number and the second formation number sent by the main CCU of the first train formation, and when it is determined that the coupling status is normal, determines the second dynamic global IP address of the target terminal device of the second train formation based on the static IP address, the first formation number and the second formation number of the target terminal device of the second train formation, and performs cross-formation communication with the target terminal device of the second train formation based on the second dynamic global IP address.
[0107] It should be noted that the main CCU of the first train formation and the main CCU of the second train formation can communicate across formations, forward the formation numbers of the own formations to each other, and receive the formation numbers of the opposite formations.
[0108] In some embodiments, before calculating the first train set number, the method further includes:
[0109] Obtain a first UUID of the ETBN of the first train formation and a second UUID of the ETBN of the second train formation, where the first UUID and the second UUID have different sizes;
[0110] Calculating the first train set number of the first train set, including:
[0111] A first group number is calculated according to the first UUID and the second UUID.
[0112] In some embodiments, determining the second dynamic global IP address of the target terminal device of the second train formation based on the static IP address of the target terminal device of the second train formation, the first formation number, and the second formation number includes:
[0113] Determine the subnet number of the first train marshaling according to the first marshaling number, and determine the subnet number of the second train marshaling according to the second marshaling number;
[0114] Based on the static IP address of the target terminal device of the second train formation, the subnet number of the first train formation and the subnet number of the second train formation, and the preset mapping rule, obtain the mapped IP address of the target terminal device of the second train formation;
[0115] Converting the mapped IP address of the target terminal device of the second train formation to obtain a second dynamic global IP address of the target terminal device of the second train formation;
[0116] Among them, the preset mapping rules include: mapping the static IP address of the target terminal device based on the static IP address of the target terminal device, the subnet number of the train formation where the target terminal device is located and the subnet number of the corresponding train formation to obtain the mapped IP address of the target terminal device.
[0117] In an embodiment of the present invention, the coupling status of the first train formation and the second train formation is obtained in real time through the main ETBN of the first train formation, and the first formation number of the first train formation is calculated, so that the connection status between the two formations can be timely known; the coupling status and the first formation number are periodically sent to the main CCU of the first train formation through the main ETBN of the first train formation, so as to ensure the real-time transmission and update of relevant information; the second formation number sent by the main CCU of the second train formation is received by the main CCU of the first train formation, and the coupling status, the first formation number and the second formation number are sent to the target terminal device of the first train formation. The target terminal device of the first train formation determines the second dynamic global IP address of the target terminal device of the second train formation according to the coupling status, the first formation number and the second formation number, thereby realizing cross-formation communication of terminal devices, facilitating information exchange between terminal devices of different train formations, and improving the real-time and reliability of cross-formation communication of terminal devices.
[0118] Figure 3 The second flow chart of the coupled train communication method provided by the embodiment of the present invention. Figure 3 As shown, a train-coupled communication method is provided, and the train-coupled communication method is applied to Figure 1 The second train marshaling of the coupled train communication system in FIG. 1 is used as an example to illustrate the method, which includes the following steps: step 310, step 320, step 330 and step 340. The method flow steps are only a possible implementation mode of the present invention.
[0119] Step 310: The main ETBN of the second train set obtains the coupling status of the first train set and the second train set of the coupling train communication system in real time, calculates the second train set number, and periodically sends the coupling status and the second train set number to the main CCU of the second train set;
[0120] Step 320: The main CCU of the second train set receives the coupling status and the second set number sent by the main ETBN of the second train set, sends the second set number to the main CCU of the first train set, and receives the first set number of the first train set sent by the main CCU of the first train set.
[0121] Step 330: The main CCU of the second train set sends the coupling state, the first train set number and the second train set number to the target terminal device of the second train set;
[0122] Step 340, the target terminal device of the second train formation receives the coupling status, the first formation number and the second formation number sent by the main CCU of the second train formation, and when it is determined that the coupling status is normal, determines the first dynamic global IP address of the target terminal device of the first train formation based on the static IP address, the first formation number and the second formation number of the target terminal device of the first train formation, and performs cross-formation communication with the target terminal device of the first train formation based on the first dynamic global IP address.
[0123] In some embodiments, before calculating the second train set number, the method further includes:
[0124] Obtain a first UUID of the ETBN of the first train formation and a second UUID of the ETBN of the second train formation, where the first UUID and the second UUID have different sizes;
[0125] Calculating the second train set number of the second train set includes:
[0126] A second group number is calculated according to the first UUID and the second UUID.
[0127] In some embodiments, determining a first dynamic global IP address of a target terminal device of the first train formation based on a static IP address of the target terminal device of the first train formation, a first formation number, and a second formation number includes:
[0128] Determine the subnet number of the first train marshaling according to the first marshaling number, and determine the subnet number of the second train marshaling according to the second marshaling number;
[0129] Based on the static IP address of the target terminal device of the first train formation, the subnet number of the first train formation and the subnet number of the second train formation, and a preset mapping rule, obtain the mapped IP address of the target terminal device of the first train formation;
[0130] Converting the mapped IP address of the target terminal device of the first train formation to obtain a first dynamic global IP address of the target terminal device of the first train formation;
[0131] Among them, the preset mapping rules include: mapping the static IP address of the target terminal device based on the static IP address of the target terminal device, the subnet number of the train formation where the target terminal device is located and the subnet number of the corresponding train formation to obtain the mapped IP address of the target terminal device.
[0132] In an embodiment of the present invention, the coupling status of the first train formation and the second train formation is obtained in real time through the main ETBN of the second train formation, and the second formation number of the second train formation is calculated, so that the connection status between the two formations can be timely known; the coupling status and the second formation number are periodically sent to the main CCU of the second train formation through the main ETBN of the second train formation, so as to ensure the real-time transmission and update of relevant information; the first formation number sent by the main CCU of the first train formation is received by the main CCU of the second train formation, and the coupling status, the first formation number and the second formation number are sent to the target terminal device of the second train formation. The target terminal device of the second train formation determines the first dynamic global IP address of the target terminal device of the first train formation according to the coupling status, the first formation number and the second formation number, thereby realizing cross-formation communication of terminal devices, facilitating information exchange between terminal devices of different train formations, and improving the real-time and reliability of cross-formation communication of terminal devices.
[0133] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0134] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method 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 this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for 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.
[0135] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A train-coupled communication system, characterized in that: The coupled train communication system includes a marshaling network composed of Ethernet marshaling network ECN nodes and a backbone network composed of Ethernet train backbone network nodes ETBN, wherein each TMc car and MP car of each train marshaling includes two ECN nodes belonging to different ECN networks, and the terminal equipment in each TMc car is simultaneously connected to the two ECN nodes of the TMc car, and the terminal equipment includes a central control unit CCU, and the CCUs of the two TMc cars in each train marshaling constitute active-standby redundancy, wherein each TMc car of each train marshaling includes two ETBNs belonging to different Ethernet train backbone networks ETB networks, and the two ETBNs of each TMc car are connected to the two ECN nodes in a one-to-one correspondence, and the ETBNs of the two TMc cars in each train marshaling constitute active-standby redundancy; The main CCU of the first train formation is used to send the first formation number of the first train formation to the main CCU of the second train formation; The main CCU of the second train set is used to send the second set number of the second train set to the main CCU of the first train set; The main CCU of the first train marshaling is further used to receive the second marshaling number sent by the main CCU of the second train marshaling, and send the coupling state of the first train marshaling and the second train marshaling, the first marshaling number and the second marshaling number to the target terminal device of the first train marshaling; The target terminal device of the first train marshaling is used to receive the coupling state, the first marshaling number and the second marshaling number sent by the main CCU of the first train marshaling, determine the second dynamic global Internet Protocol IP address of the target terminal device of the second train marshaling, and perform cross-marshaling communication with the target terminal device of the second train marshaling based on the second dynamic global IP address; The main CCU of the second train marshaling is further used to receive the first marshaling number sent by the main CCU of the first train marshaling, and send the coupling state of the first train marshaling and the second train marshaling, the first marshaling number and the second marshaling number to the target terminal device of the second train marshaling; The target terminal device of the second train formation is used to receive the coupling status, the first formation number and the second formation number sent by the main CCU of the second train formation, determine the first dynamic global IP address of the target terminal device of the first train formation, and based on the first dynamic global IP address, perform cross-formation communication with the target terminal device of the first train formation.
2. The train-coupled communication system according to claim 1, characterized in that: The master ETBN of the first train formation is used to obtain the coupling state in real time, calculate the first formation number, and periodically send the coupling state and the first formation number to the master CCU of the first train formation; The main CCU of the first train formation is further used to receive the coupling status and the first formation number sent by the main ETBN of the first train formation; The main ETBN of the second train formation is used to obtain the coupling state in real time, calculate the second formation number, and periodically send the coupling state and the second formation number to the main CCU of the second train formation; The main CCU of the second train formation is also used to receive the coupling status and the second formation number sent by the main ETBN of the second train formation.
3. The train-coupled communication system according to claim 2, characterized in that: Determining the second dynamic global IP address of the target terminal device of the second train formation includes: Based on the coupling state, determine whether the first train marshaling and the second train marshaling are normally coupled, and if it is determined that the first train marshaling and the second train marshaling are normally coupled, determine a second dynamic global IP address of the target terminal device of the second train marshaling based on the static IP address of the target terminal device of the second train marshaling, the first marshaling number, and the second marshaling number; Determining the first dynamic global IP address of the target terminal device of the first train formation includes: Based on the coupling status, it is determined whether the first train formation and the second train formation are normally coupled. When it is determined that the first train formation and the second train formation are normally coupled, the first dynamic global IP address of the target terminal device of the first train formation is determined based on the static IP address of the target terminal device of the first train formation, the first formation number and the second formation number.
4. The train-coupled communication system according to claim 2, characterized in that: The ETBN of the first train formation and the ETBN of the second train formation are configured with universal unique identifiers UUIDs of different sizes; The primary ETBN of the first train marshaling is used to obtain the first UUID of the ETBN of the first train marshaling and the second UUID of the ETBN of the second train marshaling, and calculate the first marshaling number according to the first UUID and the second UUID; The main ETBN of the second train formation is used to obtain the first UUID and the second UUID, and the second formation number is calculated based on the first UUID and the second UUID.
5. A method for communicating with coupled trains, characterized in that: Applied to the first train formation of the coupled train communication system according to any one of claims 1 to 4, the method comprising: The main ETBN of the first train marshaling obtains the coupling state of the first train marshaling and the second train marshaling of the coupled train communication system in real time, calculates the first marshaling number of the first train marshaling, and periodically sends the coupling state and the first marshaling number to the main CCU of the first train marshaling; The main CCU of the first train formation receives the coupling state and the first formation number sent by the main ETBN of the first train formation, sends the first formation number to the main CCU of the second train formation, and receives the second formation number of the second train formation sent by the main CCU of the second train formation; The main CCU of the first train formation sends the coupling state, the first formation number and the second formation number to the target terminal device of the first train formation; The target terminal device of the first train formation receives the coupling status, the first formation number and the second formation number sent by the main CCU of the first train formation, and when determining that the coupling status is normal, determines the second dynamic global IP address of the target terminal device of the second train formation based on the static IP address of the target terminal device of the second train formation, the first formation number and the second formation number, and performs cross-formation communication with the target terminal device of the second train formation based on the second dynamic global IP address.
6. The train-coupled communication method according to claim 5, characterized in that: Before calculating the first marshaling number of the first train marshaling, the method further includes: Obtain a first UUID of the ETBN of the first train formation and a second UUID of the ETBN of the second train formation, where the first UUID and the second UUID have different sizes; The calculating the first marshaling number of the first train marshaling comprises: The first grouping number is calculated according to the first UUID and the second UUID.
7. The train-coupled communication method according to claim 5, characterized in that: The determining, based on the static IP address of the target terminal device of the second train marshaling, the first marshaling number and the second marshaling number, the second dynamic global IP address of the target terminal device of the second train marshaling comprises: Determine the subnet number of the first train marshaling according to the first marshaling number, and determine the subnet number of the second train marshaling according to the second marshaling number; Based on the static IP address of the target terminal device of the second train formation, the subnet number of the first train formation and the subnet number of the second train formation, and a preset mapping rule, obtain a mapped IP address of the target terminal device of the second train formation; Converting the mapped IP address of the target terminal device of the second train formation to obtain a second dynamic global IP address of the target terminal device of the second train formation; Among them, the preset mapping rules include: mapping the static IP address of the target terminal device based on the static IP address of the target terminal device, the subnet number of the train formation where the target terminal device is located and the subnet number of the corresponding train formation to obtain the mapped IP address of the target terminal device.
8. A method for communicating with coupled trains, characterized in that: Applied to the second train formation of the coupled train communication system according to any one of claims 1 to 4, the method comprising: The main ETBN of the second train marshaling obtains the coupling status of the first train marshaling and the second train marshaling of the coupled train communication system in real time, calculates the second marshaling number of the second train marshaling, and periodically sends the coupling status and the second marshaling number to the main CCU of the second train marshaling; The main CCU of the second train formation receives the coupling status and the second formation number sent by the main ETBN of the second train formation, sends the second formation number to the main CCU of the first train formation, and receives the first formation number of the first train formation sent by the main CCU of the first train formation; The main CCU of the second train formation sends the coupling state, the first train formation number and the second train formation number to the target terminal device of the second train formation; The target terminal device of the second train formation receives the coupling status, the first formation number and the second formation number sent by the main CCU of the second train formation, and when determining that the coupling status is normal, determines the first dynamic global IP address of the target terminal device of the first train formation based on the static IP address of the target terminal device of the first train formation, the first formation number and the second formation number, and performs cross-formation communication with the target terminal device of the first train formation based on the first dynamic global IP address.
9. The train-coupled communication method according to claim 8, characterized in that: Before calculating the second marshaling number of the second train marshaling, the method further includes: Obtain a first UUID of the ETBN of the first train formation and a second UUID of the ETBN of the second train formation, where the first UUID and the second UUID have different sizes; The calculating the second marshaling number of the second train marshaling comprises: The second grouping number is calculated according to the first UUID and the second UUID.
10. The train-coupled communication method according to claim 8, characterized in that: The determining, based on the static IP address of the target terminal device of the first train marshaling, the first marshaling number, and the second marshaling number, of the first dynamic global IP address of the target terminal device of the first train marshaling comprises: Determine the subnet number of the first train marshaling according to the first marshaling number, and determine the subnet number of the second train marshaling according to the second marshaling number; Based on the static IP address of the target terminal device of the first train marshaling, the subnet number of the first train marshaling, the subnet number of the second train marshaling, and a preset mapping rule, obtaining a mapped IP address of the target terminal device of the first train marshaling; Converting the mapped IP address of the target terminal device of the first train formation to obtain a first dynamic global IP address of the target terminal device of the first train formation; Among them, the preset mapping rules include: mapping the static IP address of the target terminal device based on the static IP address of the target terminal device, the subnet number of the train formation where the target terminal device is located and the subnet number of the corresponding train formation to obtain the mapped IP address of the target terminal device.
Citation Information
Patent Citations
Data forwarding method, gateway equipment and train reconnection system
CN104158746A
Cross-marshalling data transmission method and device based on train Ethernet
CN111083029A
Multiple unit train communication network topology framework based on Ethernet
CN112141165A
Train network, communication method, train, electronic equipment and storage medium
CN113242273A
Train communication method, train communication device and electronic equipment
CN115892123A
