Train initial operation control method, device, network equipment and train system
By acquiring and utilizing the train's initial running topology latching information, the communication anomaly problem caused by topology anomaly during train reconnection is solved, and more stable train communication is achieved.
Patent Information
- Application Number
- CN202210001665.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-04
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2042-01-04
AI Technical Summary
In the prior art, when trains are reconnected, initial operation errors lead to abnormal equipment communication and poor communication stability.
By obtaining the initial operation topology latch information, when detecting the abnormality of the train backbone network topology, the latch information is used to decide whether to re-trigger the initial operation. The next round of initial operation is allowed only when the topology latch is not latched, avoiding triggering the wrong initial operation when the topology is abnormal.
The stability of train communication is improved, and equipment communication abnormalities caused by incorrect initial operation are avoided.
Smart Images

Figure CN116424400B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of train communication technology, and in particular to a train initial operation control method, device, network equipment and train system. Background Art
[0002] In the rail transit industry, two or more trains are sometimes connected to increase carrying capacity. The processes of connecting and disconnecting are called reconnecting and unconnecting, respectively. When trains of the same model are reconnected, IP conflicts may occur because the equipment and network topology on the reconnected trains are identical.
[0003] Reconnected trains utilize a marshaling network and a backbone network. The marshaling network enables intra-train communication, while the backbone network facilitates cross-marshaling communication after the trains are reconnected. Initial train operation, through the ETBN (Train Backbone Network Switch Node) on the ETB (Train Backbone Network), reestablishes the network topology and routing tables on the train backbone network, ensuring that devices on the reconnected trains can communicate with each other and avoid IP conflicts.
[0004] During the initial operation of the train, in order to immediately detect the reconnected trains, the train is constantly checking whether there are new or subtracted trains (ETBN). Therefore, during the operation after the train is reconnected, if there are abnormal changes in the network topology, such as electromagnetic pulse interference or loose connectors on the cables, interference on the couplers between the reconnected trains, poor contact, or pulling on the couplers during the acceleration and deceleration of the train, resulting in instantaneous loss of the reconnected train ETBN, ETBN failure to send incorrect network topology information or ETBN power failure, the erroneous initial operation will be re-triggered, resulting in abnormal communication of equipment on the train. Summary of the Invention
[0005] The technical problem to be solved by the present invention is that in the prior art, an erroneous initial operation triggering causes abnormal communication of equipment on the train, resulting in poor communication stability.
[0006] In order to solve the above technical problems, the present invention provides a train initial operation control method, device, network equipment and train system.
[0007] A train initial operation control method, comprising:
[0008] Acquire initial operation topology latch information; the initial operation topology latch information includes latched and non-latched types;
[0009] After completing the previous initial operation, when a network topology anomaly of the train backbone network is detected, reading the initial operation topology latch information;
[0010] If the initial operation topology latch information is latched, the state of the previous initial operation is maintained;
[0011] If the initial operation topology latch information is non-latched, the next round of initial operation is executed.
[0012] In one embodiment, obtaining the initial operation topology latch information includes:
[0013] Obtaining and storing local initial operation topology latch information, and sending the local initial operation topology latch information to other switch nodes on the train backbone network;
[0014] Receiving initial operation topology latching information sent by other switch nodes on the train backbone network to obtain remote initial operation topology latching information;
[0015] The local initial operation topology latch information is consistent with the remote initial operation topology latch information.
[0016] In one embodiment, the obtaining and storing of local initial operation topology latch information includes:
[0017] Receive and store the local initial operation topology latch information sent by the terminal;
[0018] or
[0019] Receive the local initial operation topology latch information sent by the terminal, store it and forward it to other switch nodes in the same group;
[0020] or
[0021] Receive and store the local initial operation topology latch information forwarded by the switch node in the same group.
[0022] In one embodiment, the obtaining and storing of local initial operation topology latch information includes:
[0023] When it is detected that the preset latching condition is met, the local initial operation topology latching information is set to latch and stored;
[0024] When it is detected that the preset latching condition is not met, the local initial operation topology latching information is set to non-latching and stored.
[0025] In one embodiment, the initial operation state includes a non-initial operation stage, a preparation stage for initial operation, and a completion stage for initial operation;
[0026] The maintaining of the state of the previous initial operation includes: maintaining the state of the previous initial operation at the completion initial operation stage;
[0027] The executing the next round of initial operation includes: entering the non-initial operation stage of the next round of initial operation;
[0028] In the non-initial operation stage, network topology information is calculated, the calculated network topology information is sent to other switch nodes on the train backbone network, and network topology information sent by other switch nodes is received; whether the network topology of the train backbone network is normal is detected based on the calculated network topology information and the received network topology information, and when the network topology of the train backbone network is normal, the preparation for initial operation stage is entered;
[0029] In the initial operation phase, a routing table for Ethernet communication between train marshalling networks is established, and the network topology of the train backbone network is continuously checked to see if it is normal.
[0030] In one embodiment, during the initial operation preparation phase, the network topology of the train backbone network is continuously detected to see if it is normal;
[0031] If the network topology of the train backbone network is normal and the initial operation topology latch information is non-latched, then entering the initial operation completion phase;
[0032] If the network topology of the train backbone network is normal and the initial operation topology latch information is latched, then the process remains in the initial operation preparation phase and continuously detects whether the network topology of the train backbone network is normal;
[0033] If the network topology of the train backbone network is abnormal, the system returns to the pre-initial operation stage.
[0034] A train initial operation control device, comprising:
[0035] An information acquisition module is used to acquire initial operation topology latch information; the initial operation topology latch information includes latched and non-latched types;
[0036] An abnormality detection module is used to read the initial operation topology latch information when a network topology abnormality of the train backbone network is detected after the previous initial operation is completed;
[0037] A latch processing module, configured to maintain the state of the previous initial operation when the initial operation topology latch information is latched;
[0038] The non-latch processing module is used to execute the next round of initial operation when the initial operation topology latch information is non-latch.
[0039] A network device includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0040] Acquire initial operation topology latch information; the initial operation topology latch information includes latched and non-latched types;
[0041] After completing the previous initial operation, when a network topology anomaly of the train backbone network is detected, reading the initial operation topology latch information;
[0042] If the initial operation topology latch information is latched, the state of the previous initial operation is maintained;
[0043] If the initial operation topology latch information is non-latched, the next round of initial operation is executed.
[0044] A train system includes multiple terminals and multiple network devices mentioned above, wherein the multiple network devices are connected to the same train backbone network; the network devices are communicatively connected to the terminals in the marshalling network.
[0045] In one embodiment, each terminal in the marshaling network synchronizes initial operation topology latch information, and each terminal sends the synchronized initial operation topology latch information to a corresponding network device.
[0046] In one embodiment, two or more network devices belong to the same marshaling network;
[0047] The terminal sends the synchronized initial operation topology latch information to a single or multiple network devices in the marshalling network, and the network devices receive and store the information as local initial operation topology latch information; or
[0048] The terminal sends the synchronized initial operation topology latch information to the network device with the highest sequence number in the marshalling network, and the network device with the highest sequence number receives and stores the information as the local initial operation topology latch information and forwards it to other network devices in the marshalling network; or
[0049] The terminal sends the synchronized initial operation topology latch information to the master network device in the marshalling network. The master network device receives and stores the initial operation topology latch information locally and forwards it to other network devices in the marshalling network.
[0050] Compared with the prior art, one or more embodiments of the above solutions may have the following advantages or beneficial effects:
[0051] By adopting the initial operation topology latching information, when the network topology abnormality of the train backbone network is detected, it is decided whether to re-trigger the initial operation based on the current initial operation topology latching information. Only when the initial operation topology latching information is not latched, the next round of initial operation is allowed to be executed. When the initial operation topology latching information is latched, the state of the previous initial operation is maintained to prohibit triggering a new initial operation, avoiding re-triggering the initial operation when the network topology is abnormal to generate an erroneous network topology and cause equipment communication abnormality, which can improve the stability of train communication. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] The scope of the present disclosure may be better understood by reading the following detailed description of exemplary embodiments in conjunction with the accompanying drawings, which include:
[0053] Figure 1 shows a network block diagram of a multiplex train;
[0054] Figure 2 A schematic diagram of a network topology abnormality of a multiple train is shown;
[0055] Figure 3 A schematic diagram showing another abnormal network topology situation of a multiple train connection;
[0056] Figure 4 1 is a flow chart of a method for controlling the initial operation of a train in one embodiment;
[0057] Figure 5 A schematic diagram showing an abnormal situation after latching the network topology information of the initial operation;
[0058] Figure 6 A schematic diagram showing another abnormal situation after latching the network topology information of the initial operation;
[0059] Figure 7 is a flow diagram of local initial operation topology latch information in one embodiment;
[0060] Figure 8 A schematic diagram of local initial operation topology latching information between the terminals in one embodiment;
[0061] Figure 9 Schematic diagram of the initial operation state machine in one embodiment;
[0062] Figure 10 A schematic diagram of recovering lost marshaling network information in one embodiment;
[0063] Figure 11 A schematic diagram of an abnormal cable connection between marshaling groups in one embodiment;
[0064] Figure 12 1 is a structural block diagram of a train initial operation control method in one embodiment. DETAILED DESCRIPTION
[0065] In order to make the objectives, technical solutions and advantages of the present invention clearer, the implementation method of the present invention will be described in detail below with reference to the accompanying drawings and embodiments, so that the implementation process of how the present invention applies technical means to solve technical problems and achieve technical effects can be fully understood and implemented accordingly.
[0066] For better understanding, the relevant terms are defined as follows:
[0067] ETBN: Train Ethernet Backbone Network Node, refers to the equipment used for data exchange, train initial operation, and route establishment on the train Ethernet backbone network.
[0068] Local IP: refers to the IP address actually stored in the device and used in the marshaling network. The local IP of each device in different marshaling networks can be the same. Multiple devices in the same marshaling network cannot use the same local IP address.
[0069] Global IP: refers to the IP address of the device that is not actually stored in the device and can be accessed by other devices in the marshalling network. The IP address is allocated and calculated based on the initial operation results of the train and the local IP address. In the same train network topology, there are no two identical global IP addresses.
[0070] Marshalling network: refers to a network composed of a series of train equipment and marshaling network switches. Usually one car is a marshaling network. Equipment within the marshaling network can communicate with each other, but communication between marshaling networks must go through the backbone network.
[0071] like Figure 1 As shown in Figure 1, the train is divided into two levels of networks: the marshaling network and the backbone network. The marshaling network realizes intra-vehicle communication, and the backbone network realizes cross-marshaling network communication after the train is reconnected. Figure 1 The network consists of three marshaling networks (which can be one, two, or three trains): from left to right, marshaling network 1, marshaling network 2, and marshaling network 3. Each marshaling network has two redundant ETBNs. As long as any one or more ETBNs exist within a marshaling network, the network topology is considered unchanged. Terminal 1, Terminal 2, and Terminal 3 are the same device within all three marshaling networks and therefore have the same local IP address, 10.0.1.1. When they need to communicate across marshaling networks through the backbone network, the trains initially run through the ETBN on the backbone network and their global IPs are mapped to 10.1.1.1, 10.2.1.1, and 10.3.1.1 respectively to distinguish each other (the local IP and global IP here are only examples, the local IP may also be 110.0.2.1, etc., and the global IP mapping relationship may also be 10.128.65.1, 10.128.129.1, 10.128.193.1, etc.).
[0072] ETBN periodically sends its own status and the network topology formed by itself and other ETBNs it has discovered. When it finds that the network topology information calculated by any ETBN on the backbone network is inconsistent with its own, it enters the initial operation stage. When all ETBNs on the backbone network believe that the network topology information calculated by other ETBNs is consistent with their own, it is considered that the network topology is stable and enters the initial operation stage. Figure 2 and Figure 3 As shown, if all ETBNs in a marshalling network are lost or a cable failure occurs, causing the network topology to change, the ETBN will be re-initialized to generate new network topology information.
[0073] For example Figure 2 As shown in the figure, when all ETBNs in the intermediate marshalling network are powered off, a new network topology will be formed when the network is restarted. At this time, the original marshalling network 3 on the right is identified as marshalling network 2, and the global IP of terminal 3 is 10.2.1.1, which is the global IP of terminal 2 in the original intermediate marshalling network, forming an incorrect mapping relationship. Figure 3 When a problem occurs in the cables between the marshaling networks, the backbone network is divided into two sections. The left side and the middle and right sides are re-initialized to form two incorrect network topologies. Similarly, there are errors in the IP mapping relationship.
[0074] Based on this, the present invention provides a train initial operation control method that can avoid the problem of abnormal communication of equipment on the train caused by triggering an erroneous initial operation, and can be applied to network equipment on the train backbone network, such as ETBN.
[0075] In one embodiment, Figure 4 As shown, taking ETBN as an example, the train initial operation control method includes the following steps:
[0076] S110: Acquire initial operation topology latch information.
[0077] Initial topology latch information indicates the latching status of network topology information, including latched and unlatched. Initial topology latch information indicating latched status indicates that the network topology information is latched, while unlatched status indicates that the network topology information is not latched. For ETBN, if the initial topology latch information indicates latched status, the network topology information obtained during the initial run is latched.
[0078] S130: After completing the previous initial operation, when a network topology anomaly of the train backbone network is detected, read the initial operation topology latch information.
[0079] After completing the previous initial run, the ETBN can detect whether the network topology of the train backbone network is normal. The judgment criteria for whether the network topology is normal can be set according to actual needs. When an abnormality in the network topology of the train backbone network is detected, the initial run topology latch information is read to specifically determine whether the initial run topology latch information is latched or not latched.
[0080] S150: If the initial operation topology latch information is latched, the state of the previous initial operation is maintained.
[0081] When the initial run topology latch information is latched, ETBN latches the network topology information obtained in the previous initial run, maintains the state of the previous initial run, and does not allow a new initial run to be triggered.
[0082] S170: If the initial operation topology latch information is non-latched, the next round of initial operation is executed.
[0083] When the initial run topology latch information is non-latched, the next round of initial run is executed to trigger a new initial run.
[0084] The above-mentioned train initial operation control method adopts the initial operation topology latching information. When the network topology abnormality of the train backbone network is detected, it decides whether to re-trigger the initial operation based on the current initial operation topology latching information. Only when the initial operation topology latching information is not latched, the next round of initial operation is allowed to be executed. When the initial operation topology latching information is latched, the state of the previous initial operation is maintained to prohibit triggering a new initial operation, avoid re-triggering the initial operation when the network topology is abnormal to generate an erroneous network topology and cause equipment communication abnormality, and can improve the stability of train communication.
[0085] The initial operation network topology information is locked, which can save and lock the normal initial operation calculation results of the train. Globally, when an abnormality occurs in the ETBN or cable, the network topology does not change, and the network topology and routing table are kept in normal state to ensure the normal operation of the train. Figure 5 and Figure 6 As shown, Figure 2 and Figure 3 The situation shown is different. When the two ETBNs in the middle marshaling network are lost, the marshaling on the right remains as marshaling network 3, and the global IP of the terminals in the marshaling network remains unchanged. When the data link on the backbone network is lost, the left, middle and right marshaling numbers will not be re-sequenced, the marshaling network order and numbering, and the global IP of the terminals in the marshaling network will not change.
[0086] In one embodiment, step S110 includes: obtaining and storing local initial operation topology latching information, and sending the local initial operation topology latching information to other switch nodes on the train backbone network; receiving the initial operation topology latching information sent by other switch nodes on the train backbone network, and obtaining the remote initial operation topology latching information.
[0087] ETBN receives the initial operation topology latching information sent by other devices in the marshalling network and stores it as local initial operation topology latching information. For example, it can receive the initial operation topology latching information sent by the train control terminal in the marshalling network where the ETBN is located to obtain the local initial operation topology latching information. ETBN sends the local initial operation topology latching information to other switch nodes on the train backbone network, that is, to other ETBNs, as the remote initial operation topology latching information of other ETBNs. ETBN receives the initial operation topology latching information sent by other switch nodes on the train backbone network and obtains the remote initial operation topology latching information. That is, the initial operation topology latching information obtained by the ETBN includes the local initial operation topology latching information and the remote initial operation topology latching information. From a global perspective, the local initial operation topology latching information is stored by each ETBN on the local storage medium. Such as Figure 7 As shown, ETBN2 can modify the local initial operation topology latch information after receiving the command from other software or equipment, and the local initial operation topology latch information will be sent to all other ETBNs in real time. The remote initial operation topology latch information is the local initial operation topology latch information sent by other ETBNs in real time, such as Figure 7 As shown, after receiving the command from terminal 1, ETBN2 sends the local initial operation topology latch information to all other ETBNs. Taking ETBN6 as an example, the initial operation topology latch information of ETBN2 received by it is the remote initial operation topology latch information.
[0088] The local initial operation topology latch information and the remote initial operation topology latch information are consistent. Specifically, the local initial operation topology latch information and the remote initial operation topology latch information are synchronized information, and the information content is consistent.
[0089] For example, taking other devices as control software, such as Figure 8 As shown, after the initial run is completed, the master control terminal (terminal 1) sends the initial run latch trigger or release information to all other control terminals in the train, maintaining the consistency of the initial run topology latch information at each control terminal. When the control terminals are synchronized, they can send the synchronized initial run topology latch information to the ETBNs within the marshaling network, thereby achieving synchronization of the initial run topology latch information between marshaling networks.
[0090] The initial operation topology latch is executed by ETBN. The triggering and releasing of the initial operation topology latch can be performed by the application layer or other devices. For example, other software determines that the current network topology is stable and the train is in operation and needs to perform the initial operation topology latch, or it can be triggered or released manually by pressing buttons or inputting commands. The initial operation topology latch is triggered and released by sending the initial operation topology latch information.
[0091] In one embodiment, the step of obtaining and storing local initial operation topology latching information includes: receiving and storing local initial operation topology latching information sent by a terminal; or, receiving, storing and forwarding local initial operation topology latching information sent by a terminal to other switch nodes in the same group; or, receiving and storing local initial operation topology latching information forwarded by a switch node in the same group.
[0092] Use any of the three methods to synchronize the local initial topology latch information:
[0093] (1) Forwarding by a high-numbered ETBN: The terminal sends the local initial operation topology latch information to the ETBN with a higher number in the marshalling network, and the high-numbered ETBN then sends the information to the remaining ETBNs in the marshalling network.
[0094] In this method, the high-numbered ETBN receives the local initial topology latch information sent by the terminal, stores it, and forwards it to other switch nodes in the same marshaling network. Other ETBNs receive and store the local initial topology latch information forwarded by the high-numbered ETBN. This method of forwarding by the high-numbered ETBN synchronizes the initial topology latch information within the marshaling network.
[0095] (2) Master ETBN forwarding: The terminal sends the local initial operation topology latch information to the master ETBN in the marshalling network, and the master ETBN then sends the information to the remaining ETBNs in the marshalling network.
[0096] In this approach, the master ETBN receives the local initial topology latch information sent by the terminal, stores it, and forwards it to other switch nodes within the same marshaling group. Other ETBNs outside the master ETBN receive and store the local initial topology latch information forwarded by the master ETBN within the same marshaling group. This master ETBN forwarding method synchronizes the initial topology latch information within the marshaling network.
[0097] (3) Notify all ETBNs in the marshalling network: The control terminal directly sends the local initial operation topology latch information to all ETBNs in the marshalling network.
[0098] In this mode, the ETBN receives the initial operation topology latch information sent by the terminal and stores it as the local initial operation topology latch information. The terminal notifies all ETBNs in the marshalling network to synchronize the initial operation topology latch information in the marshalling network.
[0099] In another embodiment, the step of obtaining and storing local initial operation topology latching information includes: when it is detected that the preset latching condition is met, setting the local initial operation topology latching information to latching and storing; when it is detected that the preset latching condition is not met, setting the local initial operation topology latching information to non-latching and storing.
[0100] The preset latching conditions can be pre-set based on actual needs. For example, the preset latching condition could be that the current network topology is normal and the train is in operation. Through conditional analysis, local initial operation topology latching information can be independently set, allowing the initial operation latching to be fully determined by the ETBN.
[0101] In one embodiment, the initial operation state includes a pre-initial operation stage, a pre-initial operation stage, and a completed initial operation stage. Specifically, in step S150, maintaining the state of the previous initial operation includes maintaining the completed initial operation stage of the previous initial operation; in step S170, executing the next round of initial operation includes entering the pre-initial operation stage of the next round of initial operation.
[0102] Among them, in the pre-initial operation stage, the network topology information is calculated, the calculated network topology information is sent to other switch nodes on the train backbone network, and the network topology information sent by other switch nodes is received; based on the calculated network topology information and the received network topology information, it is detected whether the network topology of the train backbone network is normal, and when the network topology of the train backbone network is normal, the preparation for initial operation stage is entered.
[0103] Among them, after completing the initial operation phase, a routing table for Ethernet communication between train marshalling networks is established, and the network topology of the train backbone network is continuously checked to see if it is normal.
[0104] Specifically, detecting whether the network topology of the train backbone network is normal based on the calculated network topology information and the received network topology information can include: judging whether the calculated network topology information and all received network topology information are consistent. If they are consistent, the network topology is normal; if they are inconsistent, the network topology is abnormal.
[0105] In one of the embodiments, during the preparation for initial operation stage, the network topology of the train backbone network is continuously checked to see if it is normal; if the network topology of the train backbone network is normal and the initial operation topology latch information is non-latched, the initial operation completion stage is entered; if the network topology of the train backbone network is normal and the initial operation topology latch information is latched, the stage of preparation for initial operation is maintained and the network topology of the train backbone network is continuously checked to see if it is normal; if the network topology of the train backbone network is abnormal, the stage of not yet in initial operation is returned to.
[0106] The initial operation process of each ETBN can be controlled by a state machine. Specifically, the first initial operation after the ETBN is powered on includes an initialization phase before the initial operation phase, such as Figure 9 As shown, it is divided into 4 states, as follows:
[0107] 1. Initialization phase
[0108] The ETBN is in the stage of configuring its own parameters when it is powered on. After the configuration is completed, it enters the pre-initial operation stage.
[0109] 2. Before initial operation
[0110] At this stage, ETBN starts sending network topology information data packets and compares whether the network topology information calculated by itself is consistent with the network topology information calculated and sent by other ETBNs. When the network topology information calculated by itself is consistent with the network topology information calculated by all other ETBNs, it enters the initial operation preparation stage.
[0111] 3. Prepare for the initial operation stage
[0112] During this phase, ETBN continuously determines whether the network topology information is consistent. If it is consistent and initial operation is allowed, it enters the initial operation completion phase. If the network topology information is no longer consistent, it enters the initial operation pre-operation phase. If the network topology information is consistent but initial operation is not allowed, it remains in the initial operation preparation phase and continuously determines whether the network topology information is consistent.
[0113] 4. Complete the initial operation phase
[0114] During this phase, the ETBN establishes a routing table for Ethernet communication between train marshaling networks. Onboard terminal devices can now communicate across train marshaling networks via the ETBN. The ETBN also continuously checks the consistency of network topology information during this phase. If the network topology information is consistent, the current phase is maintained. If the network topology information is inconsistent but initial operation is permitted, the phase enters the pre-initial operation phase. If the network topology information is inconsistent and initial operation is not permitted, the current phase remains.
[0115] Whether the initial run is allowed is determined by the initial run topology latch information. If the initial run topology latch information is latched, the initial run is not allowed. If the initial run topology latch information is non-latched, the initial run is allowed. The specific rules are as follows:
[0116] 1. If either the local initial operation topology latch information or the remote initial operation topology latch information is latched, it is determined that the initial operation is not allowed.
[0117] 2. Before any ETBN enters the initial operation phase for the first time, it does not determine the status of the initial operation topology latch and allows the initial operation by default.
[0118] 3. There is a timeout mechanism for the remote initial operation topology latch information. If the remote initial operation topology latch information is not received within a period of time, the remote initial operation topology latch information is no longer valid.
[0119] 4. The local initial operation topology latch information is always valid until it is modified.
[0120] 5. After completing the initial operation phase, if the network topology changes and initial operation is not allowed, the network topology information and routing information before the change must be retained. This information includes but is not limited to the number of ETBNs and corresponding MACs, train formations, train formations and ETBN directions, and the connection relationship between each node.
[0121] Using the train initial operation control method of the present invention, the abnormal situation of the initial operation topology latch is handled as follows:
[0122] 1. Recovery of marshalling network information loss:
[0123] When the train network topology is stable and the entire train is in the initial running topology lock state, if not all ETBNs forming a redundant relationship in the marshaling network have abnormalities, it is determined that the network topology information has not changed. Figure 10 As shown in the figure, after ETBN3 and ETBN4 both lose power, all redundant ETBNs in marshalling network 2 experience anomalies. This changes the network topology, and information about intermediate marshalling network 2 is lost. ETBN1, ETBN2, ETBN5, and ETBN6, which have both local and remote initial run topology latches, are not allowed to initiate an initial run. Although the network topology has changed, the pre-change topology remains. Upon powering back on, ETBN3 recovers, and its calculated network topology remains consistent with that calculated by the other ETBNs. Although ETBN3 may have received a remote prohibition initial run message or a local prohibition initial run command, it has not yet completed an initial run. Therefore, it can rejoin the network topology, establish routes and tables, and enter the initial run completion phase. At this point, train network communication returns to normal.
[0124] 2. Abnormal cable connection between marshalling groups:
[0125] like Figure 11As shown in the figure, when the network topology is normal and locked, ETBN 1 experiences an abnormal power outage and cannot be restored. At this time, all cable connections between marshaling network 1 and marshaling network 2 are abnormal, and the network topology information changes. Marshaling network 1 is a separate marshaling network, and marshaling network 2 and marshaling network 3 are re-formed into two marshaling network topologies, marshaling network 1 and marshaling network 2. However, due to the initial operation latch, all ETBNs at this time maintain the network topology information before the change and will not re-enter the pre-initial operation phase due to the initial operation latch. At this time, if the communication between marshaling network 1 and marshaling network 2 is restored, the network topology information will be restored to its original state.
[0126] It's worth noting that if not all ETBNs have their local initial topology latch information set and synchronization is achieved within the marshaling group, then if initial latching is initiated by a terminal within marshaling network 3, and only ETBN 5 stores and transmits this information to all other ETBNs, then if ETBN 1 loses power and its cable is disconnected, ETBN 2 will trigger a re-initialization due to the timeout and loss of the remote initial topology latch information, resulting in a network topology consisting only of marshaling network 1. Later, after communication between marshaling network 1 and marshaling network 2 is restored, ETBN 2 will receive the remote initial topology latch information and will be unable to complete the initialization or will be locked in a single marshaling network state, preventing marshaling network 1 from reestablishing communication with marshaling network 2 or marshaling network 3. If there is no synchronization within the marshaling group, and only one ETBN in each marshaling group stores the local initial topology latch information, then the information will no longer be effective if an abnormality occurs on that ETBN, and the network will ultimately be unable to recover. The present invention avoids this situation by synchronizing local initial operation latch information between and within the marshaling groups.
[0127] It should be understood that although Figure 4 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. In addition, Figure 4 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The order of execution of these steps or stages is not necessarily one by one, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0128] In one embodiment, a train initial operation control device is provided, such as Figure 12 As shown, the device includes an information acquisition module 110 , an abnormality detection module 130 , a latch processing module 150 and a non-latch processing module 170 .
[0129] The information acquisition module 110 is used to obtain the initial operation topology latch information; the initial operation topology latch information includes latched and non-latched types; the abnormality detection module 130 is used to read the initial operation topology latch information when the network topology abnormality of the train backbone network is detected after the previous initial operation is completed; the latch processing module 150 is used to maintain the state of the previous initial operation when the initial operation topology latch information is latched; the non-latched processing module 170 is used to execute the next round of initial operation when the initial operation topology latch information is non-latched.
[0130] The above-mentioned train initial operation control device adopts the initial operation topology latching information. When the network topology abnormality of the train backbone network is detected, it decides whether to re-trigger the initial operation based on the current initial operation topology latching information. Only when the initial operation topology latching information is not latched, the next round of initial operation is allowed to be executed. When the initial operation topology latching information is latched, it remains in the state of the previous initial operation to prohibit triggering a new initial operation, avoids re-triggering the initial operation when the network topology is abnormal to generate an erroneous network topology and cause equipment communication abnormality, and can improve the stability of train communication.
[0131] For the specific definition of the train initial operation control device, please refer to the definition of the train initial operation control device method above, which will not be repeated here. The various modules in the above-mentioned train initial operation control device can be implemented in whole or in part by software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the network device in the form of hardware, or can be stored in the memory in the network device in the form of software, so that the processor can call and execute the operations corresponding to the above modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0132] In one embodiment, a network device is provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps of the method in the above embodiments when executing the computer program.
[0133] The network device may be an ETBN.
[0134] The above-mentioned network equipment can implement the steps of the methods in the aforementioned embodiments. Similarly, it can avoid re-triggering the initial operation when the network topology is abnormal to generate an erroneous network topology and cause device communication abnormalities, and can improve the stability of train communication.
[0135] In one embodiment, a train system is provided, comprising a plurality of terminals and a plurality of network devices according to the above embodiments, wherein the plurality of network devices are connected to the same train backbone network; the network devices are communicatively connected to the terminals in the marshalling network in which they are located.
[0136] The above train system, due to the use of the aforementioned network equipment, similarly has high communication stability.
[0137] In one embodiment, each terminal in the marshaling network synchronizes initial operation topology latch information, and each terminal sends the synchronized initial operation topology latch information to a corresponding network device.
[0138] For example, Figure 8 As shown, after the initial run is completed, the master control terminal (terminal 1) sends the initial run latch trigger or release information to all other control terminals in the train, maintaining the consistency of the initial run topology latch information at each control terminal. When the control terminals are synchronized, they can send the synchronized initial run topology latch information to the ETBNs within the marshaling network, thereby achieving synchronization of the initial run topology latch information between marshaling networks.
[0139] In one embodiment, two or more network devices belong to the same marshaling network. The number "two or more" can be two or more than two. As long as at least one network device in a marshaling network is functioning properly, the network topology of the train system remains unchanged.
[0140] Specifically, there are three ways to synchronize the initial running topology latch information in the marshalling network:
[0141] 1. The terminal sends the synchronized initial operation topology latch information to one or more network devices in the marshalling network, and the network device receives and stores it as the local initial operation topology latch information.
[0142] Taking the ETBN as an example, in this mode, the ETBN receives the initial operation topology latch information sent by the terminal and stores it locally. The terminal notifies all ETBNs in the marshaling network to synchronize the initial operation topology latch information within the marshaling network.
[0143] 2. The terminal sends the synchronized initial operation topology latch information to the network device with the highest sequence number in the marshalling network. The network device with the highest sequence number receives and stores the initial operation topology latch information locally and forwards it to other network devices in the marshalling network.
[0144] Network devices within a marshaling network are numbered by sequence number. For example, if the network devices are ETBNs and there are two ETBNs within a marshaling network, in this method, the ETBN with the higher sequence number receives the local initial topology latch information sent by the terminal, stores it, and forwards it to other switch nodes within the same marshaling network. Other ETBNs receive and store the local initial topology latch information forwarded by the higher sequence number ETBN. This forwarding method by the higher sequence number ETBN synchronizes the initial topology latch information within the marshaling network.
[0145] 3. The terminal sends the synchronized initial operation topology latch information to the master network device in the marshalling network. The master network device receives and stores the initial operation topology latch information locally and forwards it to other network devices in the marshalling network.
[0146] Network devices within a marshaling network are divided into primary network devices and secondary network devices. For example, using an ETBN as an example, in this approach, the primary ETBN receives local initial topology lock information sent by the terminal, stores it, and forwards it to other switch nodes within the same marshaling network. Other ETBNs receive and store local initial topology lock information forwarded by the primary ETBN within the same marshaling network. This forwarding by the primary ETBN synchronizes initial topology lock information within the marshaling network.
[0147] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0148] Although the embodiments disclosed herein are as described above, the contents described herein are merely embodiments for facilitating understanding of the present invention and are not intended to limit the present invention. Any person skilled in the art may make any modifications and variations in the form and details of the embodiments without departing from the spirit and scope of the present invention. However, the scope of protection of the present invention shall remain subject to the scope defined by the appended claims.
Claims
1. A train initial operation control method, characterized in that: The method is applied to an ETBN device of an inter-marshaling network system of a train, wherein the inter-marshaling network system includes a plurality of marshaling networks and a backbone network connecting two adjacent marshaling networks, wherein each marshaling network is provided with a terminal, including: Acquire initial operation topology latch information; the initial operation topology latch information includes latched and non-latched types; After completing the previous initial operation, when a network topology anomaly of the train backbone network is detected, reading the initial operation topology latch information; If the initial operation topology latch information is latched, the state of the previous initial operation is maintained; If the initial operation topology latch information is non-latched, the next round of initial operation is executed; The obtaining of the initial operation topology latch information includes: Obtaining and storing local initial operation topology latch information, and sending the local initial operation topology latch information to other switch nodes on the train backbone network; Receiving initial operation topology latching information sent by other switch nodes on the train backbone network to obtain remote initial operation topology latching information; The local initial operation topology latch information is consistent with the remote initial operation topology latch information; The obtaining and storing of the local initial operation topology latch information includes: receiving the local initial operation topology latch information sent by a terminal in the same marshaling network, storing and forwarding the local initial operation topology latch information to other switch nodes in the same marshaling network, and the topology latch information on each terminal is consistent; If the initial operation topology latch information is latched, the state of the previous initial operation is maintained, including: if either the local initial operation topology latch information or the remote initial operation topology latch information is latched, it is determined that the initial operation is not allowed; the remote initial operation topology latch information has a timeout mechanism, if the remote initial operation topology latch information is not received within a preset period of time, the remote initial operation topology latch information is no longer valid.
2. The method according to claim 1, characterized in that The obtaining and storing of the local initial operation topology latch information includes: When it is detected that the preset latching condition is met, the local initial operation topology latching information is set to latch and stored; When it is detected that the preset latching condition is not met, the local initial operation topology latching information is set to non-latching and stored.
3. The method according to any one of claims 1 to 2, characterized in that The initial operation status includes the stage of not yet in operation, the stage of preparing for initial operation and the stage of completing initial operation; The maintaining of the state of the previous initial operation includes: maintaining the state of the previous initial operation at the completion initial operation stage; The executing the next round of initial operation includes: entering the non-initial operation stage of the next round of initial operation; In the non-initial operation stage, network topology information is calculated, the calculated network topology information is sent to other switch nodes on the train backbone network, and network topology information sent by other switch nodes is received; whether the network topology of the train backbone network is normal is detected based on the calculated network topology information and the received network topology information, and when the network topology of the train backbone network is normal, the preparation for initial operation stage is entered; In the initial operation phase, a routing table for Ethernet communication between train marshalling networks is established, and the network topology of the train backbone network is continuously checked to see if it is normal.
4. The method according to claim 3, characterized in that During the initial operation preparation phase, continuously detecting whether the network topology of the train backbone network is normal; If the network topology of the train backbone network is normal and the initial operation topology latch information is non-latched, then entering the initial operation completion phase; If the network topology of the train backbone network is normal and the initial operation topology latch information is latched, then the process remains in the initial operation preparation phase and continuously detects whether the network topology of the train backbone network is normal; If the network topology of the train backbone network is abnormal, the system returns to the pre-initial operation stage.
5. A train initial operation control device, characterized in that: A train initial operation control method according to any one of claims 1 to 4 is applied, and the method is applied to an ETBN device of a train inter-marshaling network system, wherein the inter-marshaling network system includes three or more marshaling networks and a backbone network connecting two adjacent marshaling networks, and each of the marshaling networks is provided with a terminal, including: An information acquisition module is used to acquire initial operation topology latch information; the initial operation topology latch information includes latched and non-latched types; An abnormality detection module is used to read the initial operation topology latch information when a network topology abnormality of the train backbone network is detected after the previous initial operation is completed; A latch processing module, configured to maintain the state of the previous initial operation when the initial operation topology latch information is latched; a non-latch processing module, configured to execute the next round of initial operation when the initial operation topology latch information is non-latch; The information acquisition module is used to: Obtaining and storing local initial operation topology latch information, and sending the local initial operation topology latch information to other switch nodes on the train backbone network; Receiving initial operation topology latching information sent by other switch nodes on the train backbone network to obtain remote initial operation topology latching information; The local initial operation topology latch information is consistent with the remote initial operation topology latch information; The device is also used for: Receive local initial operation topology latch information sent by terminals in the same marshaling network, store and forward it to other switch nodes in the same marshaling network, and ensure that the topology latch information on each terminal is consistent; If the initial operation topology latch information is latched, the state of the previous initial operation is maintained, including: if either the local initial operation topology latch information or the remote initial operation topology latch information is latched, it is determined that the initial operation is not allowed; the remote initial operation topology latch information has a timeout mechanism, if the remote initial operation topology latch information is not received within a preset period of time, the remote initial operation topology latch information is no longer valid.
6. A network device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.
7. A train system, characterized in that: It comprises a plurality of terminals and a plurality of network devices as claimed in claim 6, wherein the plurality of network devices are connected to the same train backbone network; the network devices are communicatively connected with the terminals in the marshalling network.
8. The train system according to claim 7, characterized in that The terminals in each marshaling network synchronize the initial operation topology latch information, and each terminal sends the synchronized initial operation topology latch information to the corresponding network device.
9. The train system according to claim 8, characterized in that Two or more network devices belong to the same group network; The terminal sends the synchronized initial operation topology latch information to a single or multiple network devices in the marshalling network, and the network devices receive and store the information as local initial operation topology latch information; or The terminal sends the synchronized initial operation topology latch information to the network device with the highest sequence number in the marshalling network, and the network device with the highest sequence number receives and stores the information as the local initial operation topology latch information and forwards it to other network devices in the marshalling network; or The terminal sends the synchronized initial operation topology latch information to the master network device in the marshalling network. The master network device receives and stores the initial operation topology latch information locally and forwards it to other network devices in the marshalling network.
Citation Information
Patent Citations
Train and communication control method and system thereof
CN112714418A