Dynamic networking method of rail transit wireless vehicle terminals based on 5G
Through the T-GRE tunnel protocol and dynamic networking technology, the problem of insufficient communication bandwidth in the rail transit system is solved, high-speed and reliable communication of 5G vehicle-mounted terminals is realized, high-data rate requirements of smart tracks are met, and operational efficiency is improved.
Patent Information
- Application Number
- CN202211476102.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-23
- Publication Date
- 2024-11-05
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing rail transit communication system cannot meet the high-speed, low latency and high data rate requirements of smart tracks, especially in real-time ultra-high-definition video transmission, secure CCTV and remote maintenance. The bandwidth of traditional LTE-R and GPRS systems is not enough to meet the needs of smart tracks. Inadequate, and existing tunnel protocols have flaws in terms of scalability and security.
A 5G-based rail transit wireless vehicle terminal dynamic networking method is proposed. The T-GRE tunnel protocol is adopted to realize multicast communication of 5G vehicle terminals through the T-GRE server, and the neighbor discovery and topological discovery are used to dynamically adjust it. Network configuration, reducing manual address configuration and marshalling.
It realizes high-speed, high-reliability and low-latency communication of 5G vehicle terminals, meets the communication needs of smart tracks, reduces configuration errors through dynamic networking, and improves operational efficiency.
Smart Images

Figure CN115866558B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of rail transit communications, and specifically relates to a 5G-based rail transit wireless on-board terminal dynamic networking method. Background Art
[0002] The communication function and control system of rail transit need to be realized through the communication network. The current train network is based on the real-time Ethernet train network to ensure data interaction; with the implementation of intelligent rail, the number of sensors and on-board equipment nodes continues to increase, and the wired network will not be able to meet the communication and control needs. For future intelligent rails, the communication system of the Long Term Evolution of Railways (LTE-R) standard is being considered; however, the maximum bandwidth of the LTE-R system is only 20MHz, which can only support Mbps-level data rates, and cannot meet the needs such as real-time ultra-high-definition (UHD) video transmission, security closed-circuit television (CCTV) in train compartments, remote maintenance of trains, and high-data-rate wireless unloading at railway stations; and the wireless data transmission system based on the general packet radio service (GPRS) uses the advantages of GPRS's wide coverage and low cost to achieve wireless data transmission, but its low communication rate cannot meet the needs of future intelligent rails. The 5G network has the characteristics of high speed, low latency, and large connections, which brings new opportunities for wireless communication and can also meet the requirements of rail transit wireless communication systems for high speed and low latency.
[0003] In the rail transit communication network, the onboard terminal is always in motion as the train moves. Its performance determines the quality of the communication status and is a key node. The current transmission of 5G onboard terminal data is mainly based on the tunnel protocol. The 5G onboard Internet of Things consists of 5G terminals, access networks and core networks. The access network and the core network are interconnected using the TCP / IP protocol, and the terminal IP address is independently allocated by the core network. The 5G terminal IP address allocation is independent of the TRDP data packet IP address of the train onboard service terminal and cannot be directly interoperable. Therefore, the tunnel protocol technology is used to encapsulate the TRDP data packet, establish a transmission tunnel between the two train onboard service terminals, and realize the data interaction of the train onboard service terminals.
[0004] At present, the commonly used tunnel protocols include General Routing Encapsulation (GRE), Link Layer Tunneling Protocol (Layer Two Tunneling Protocol, L2TP), Point-to-Point Tunneling Protocol (Point-to-Point Tunneling Protocol, PPTP), IPSec, Multi-Protocol Label Switching (Multi-Protocol Label Switching, MPLS), IPinIP, GTP (GPRS Tunneling Protocol), etc. In the IP multicast transmission model, the sender does not care about the location of the receiver. As long as the data is sent to the agreed destination address, the rest of the work is left to the network to complete. The multicast devices in the network must collect the receiver's information and forward and copy the multicast message according to the correct path. In the development of IP multicast, a complete set of protocols has been formed to complete this task. Common multicast protocols include: Internet Group Management Protocol (IGMP), Protocol Independent Multicast (PIM), Multicast Source Discovery Protocol (MSDP), Multicast Border Gateway Protocol (MBGP), etc.
[0005] Different tunnel protocols have different characteristics in terms of the number of supported data streams, protocol overhead, service quality assurance capabilities, data encryption, etc. If the above protocols are applied to the networking of future intelligent rail vehicle terminals, there are certain problems. PPTP is characterized by fast speed, easy installation and use, and almost all platforms support this protocol, but firewalls can intercept the PPTP protocol, which is one of the most insecure protocols, and this protocol does not support QoS. L2TP is a layer 2 tunnel protocol, a virtual tunnel protocol, usually used in virtual private networks, but L2TP and IPSec use a connection-oriented overlapping model, so there are many problems in scalability; the addition, deletion and change of new user nodes require the resetting of all existing nodes. MPLS is a new technology that uses labels to guide high-speed and efficient transmission of data on an open communication network, but it will require all relevant routers within the public 5G network to support MPLS, so this technology has more special requirements for the network. Summary of the invention
[0006] In view of the above-mentioned defects or deficiencies in the prior art, an embodiment of the present invention provides a 5G-based dynamic networking method for 5G on-board terminals in rail transit, proposes and creates a T-GRE tunnel protocol, realizes 5G multicast communication of 5G on-board terminals, meets the high-speed, high-reliability and low-latency requirements for train communication, and completes neighbor discovery and physical topology discovery of 5G on-board terminals (i.e., 5G on-board terminals) in accordance with the radio signal strength in the wireless communication network, realizes dynamic discovery of on-board terminal nodes, and groups multicast group members according to the dynamic discovery results and completes group testing on the T-GRE server, thereby realizing point-to-multi-multicast communication transmission, and supporting dynamic network perception while realizing intercommunication between service terminals in a multicast, reducing manual address configuration and grouping.
[0007] In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solution:
[0008] A 5G-based rail transit wireless vehicle terminal dynamic networking method includes the following steps:
[0009] Step S1: Based on the standard Ethernet protocol stack, the train real-time data protocol is converted from TDRP to 5G IP protocol to provide secure end-to-end data transmission for process data and message data communication between any two devices in the 5G rail transit network. At the same time, a T-GRE server is installed on the 5G core network side, and a T-GRE tunnel is established between each 5G vehicle terminal and the server and connected to other 5G vehicle terminals. Through the T-GRE server, a layer 2 tunnel is opened between all devices in the current network environment to achieve service intercommunication in a multicast group.
[0010] Step S2: According to the train topology discovery protocol, after the network topology changes, the switch of the 5G rail transit network discovers the changed nodes based on network perception, automatically negotiates with other network devices, and assigns an IP address to the changed 5G on-board terminal according to the instructions of the new train car;
[0011] Step S3, for the discovered nodes, the location information, cell ID, uplink and downlink information, and speed information of the train terminal are uploaded to the T-GRE server in real time;
[0012] In step S4, the server analyzes the uploaded data of all trains, and determines whether the train is in the T-GRE coverage area based on the train location information and 5G coverage area ID for the 5G on-board terminals of all nodes and local nodes found in the current network topology; establishes a logical bus on T-GRE, and deploys logical switches on the T-GRE tunnels and logical buses that connect each train in the coverage area on the server. The marshaling logic determines which trains can communicate with each other, and a virtual broadcast domain is formed for the intercommunication 5G on-board terminals to realize the intercommunication of TTDP / TRDP messages and realize dynamic networking.
[0013] As a preferred embodiment of the present invention, the message structure of the TRDP layer includes four layers, which are, from top to bottom, a version and total length layer, a marking flag and piece offset layer, a TTL and protocol UDP check layer, and a source IP address and destination IP address layer.
[0014] As a preferred embodiment of the present invention, the network topology changes, including initial configuration changes when the train starts and configuration changes caused by the position change of carriages after the train starts.
[0015] As a preferred embodiment of the present invention, the train topology discovery protocol is configured so that the switch of the 5G rail transit network automatically negotiates with other network devices after the network topology structure changes, including:
[0016] Step S21, judging the state of the BN node according to the train topology discovery protocol, if it is UNNAMED, proceeding to step S22; if it is NAMING state, proceeding to step S23; if it is NAMED state, proceeding to step S24;
[0017] Step S22, after the train is powered on or reset, it enters the initial UNNAMED state; in this state, the topology directory has not yet been established, and before entering the NAMING state, the network message is bypassed;
[0018] Step S23, in the NAMING state, the BN is running the startup protocol; when the startup is successfully completed, it enters the NAMED state with a valid train topology directory; if an unrecoverable fault is detected, it returns to the "UNNAMED" state; when starting, each BN node broadcasts a HELLO message, the radio power is set to the minimum initial value, which can cover the length of two cars, and each node collects ACK messages within a certain time range; if the number of received messages is less than 4, the HELLO message with increased radio power is resent; each node repeats this operation until it collects at least 4 ACK packets or the timeout timer Tmax expires;
[0019] Step S24, the topology discovery protocol in the NAMED state is divided into two stages: the first stage is neighbor discovery, which uses the radio signal strength to find neighboring nodes and estimate the relative position of the BN; the second stage is topology discovery, and the topology frame contains the MAC address information of the BN currently discovered by the sending BN; each BN maintains an updated physical and logical topology directory based on the previously received HELLO and topology frames. After receiving the topology frame, the BN updates its physical and logical topology directory to achieve topology discovery.
[0020] As a preferred embodiment of the present invention, the neighbor discovery process is as follows: each BN sends a HELLO frame together with its MAC address to the neighbor node, trying to discover the MAC address of the neighbor node; each BN receives a HELLO frame from the incoming link on its left and / or right side, and the BN at hand learns the MAC address of the neighbor; at this time, the reception of these two frames completes the neighbor discovery stage.
[0021] As a preferred embodiment of the present invention, step S4 specifically includes:
[0022] Step S41, when a new 5G vehicle-mounted terminal joins as a group member, the multicast IP is unified according to the neighbor topology directory. After the grouping is completed, the terminal with the smallest private address in the grouping is selected as the administrator to undertake the grouping communication task between the multicast group and the T-GRE server. The administrator sends a registration request to the T-GRE server; if the administrator fails, other terminals will re-elect a new administrator after the administrator timer expires; when a new node is discovered, the logical topology directory will be updated, and the server will periodically send a query request to the administrator. If the logical topology directory changes, the node network configuration will be updated;
[0023] Step S42: When maintaining group members of 5G vehicle-mounted terminals in the group, group members are maintained using the logical topology directory and the node network configuration directory on the server, and the two directories are kept consistent; when the logical topology directory and the node network configuration directory are different and there is a consistency conflict, the node network configuration is updated based on the logical topology directory;
[0024] Step S43, when a 5G vehicle-mounted terminal leaves the group, the logical topology directory is updated and updated to the new configuration information when T-GRE sends a query request next time; if there is no member in the group and T-GRE sends three query requests without a response, the network configuration of the group is deleted.
[0025] The present invention has the following beneficial effects:
[0026] The 5G-based 5G vehicle-mounted terminal dynamic networking method is based on the standard Ethernet protocol stack. The train real-time data protocol adds a TRDP layer between the transport layer and the application layer to perform TDRP<->IP protocol conversion, which can provide secure end-to-end data transmission for process data and message data communication between any two devices in the 5G rail transit network; at the same time, a T-GRE server is installed on the 5G core network side, and a T-GRE tunnel is established between each 5G vehicle-mounted terminal and the server to establish a connection with other 5G vehicle-mounted terminals. Through the T-GRE server, a second-layer tunnel is opened between all devices in the current network environment to realize service intercommunication in a multicast group; and then according to the train topology discovery protocol, after the network topology structure changes, the switch of the 5G rail transit network discovers the changed nodes based on network perception, and automatically communicates with other network devices Negotiation, and according to the instructions of the new train car, an IP address is assigned to the changed 5G on-board terminal to realize dynamic perception and discovery of nodes; for the discovered nodes, the location information, cell ID, uplink and downlink information, and speed information of the train terminal are uploaded to the T-GRE server in real time; the server analyzes the uploaded data of all trains, and for the 5G on-board terminals of all nodes and local nodes found in the current network topology, it determines whether the train is in the T-GRE coverage area based on the train location information and 5G coverage area ID; a logical bus is established on T-GRE, and logical switches are deployed on the T-GRE tunnels and logical buses that connect each train in the coverage area of the server. The marshaling logic determines which trains can communicate with each other, and a virtual broadcast domain is formed for the intercommunication of train terminals to realize the intercommunication of TTDP / TRDP messages and realize dynamic networking. The present invention proposes a T-GRE tunnel protocol to realize 5G multicast communication of on-board wireless terminals, which meets the high-speed, high-reliability and low-latency requirements for train communication; according to the TTDP protocol, it is proposed to complete the neighbor discovery and physical topology discovery of the on-board terminals according to the radio signal strength in the wireless communication network, and realize the dynamic perception and discovery of the on-board terminal nodes; at the same time, according to the dynamic discovery results of the on-board terminal nodes, the multicast group members are grouped and the group test is completed on the T-GRE server, realizing point-to-multipoint multicast communication transmission and reducing manual address configuration and grouping.
[0027] Of course, it is not necessary to achieve all of the advantages described above at the same time to implement any product or method of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0029] Figure 1 It is a schematic diagram of a 5G-based rail transit wireless vehicle terminal dynamic networking method provided in an embodiment of the present invention;
[0030] Figure 2 It is a schematic diagram of the TRDP message structure in an embodiment of the present invention;
[0031] Figure 3 It is a schematic diagram of the tunnel protocol message structure in an embodiment of the present invention;
[0032] Figure 4 This is a schematic diagram of an existing vehicle-mounted terminal accessing a 5G rail transit network in an embodiment of the present invention;
[0033] Figure 5 is a schematic diagram of point-to-multipoint network environment deployment in an embodiment of the present invention;
[0034] Figure 6 This is a flow chart of train start state transformation in an embodiment of the present invention;
[0035] Figure 7 is a topology discovery flow chart in an embodiment of the present invention;
[0036] Figure 8 is a flow chart of dynamic perception and grouping in an embodiment of the present invention;
[0037] Fig. 9 It is a flow chart of member joining in the grouping process in an embodiment of the present invention. DETAILED DESCRIPTION
[0038] After discovering the above problems, the inventors of this application conducted in-depth research on the existing rail transit communication network, especially the on-board terminal networking technology. The study found that in the existing network architecture, the long transmission distance between the terminal and the core network will lead to backhaul network congestion and fierce resource competition, affecting the transmission quality of delay-sensitive services. The above problems can be well solved by deploying multi-access edge computing (MEC) close to the terminal side as a supplement to the central cloud. At the same time, combined with 5G network slicing technology, secure isolation between services can be achieved, and dedicated network and application resources can be provided to the terminal nearby.
[0039] At the same time, wireless modules based on multi-mode (4G, 5G), WLAN data communication modules, wireless AP hotspot access modules, main control modules and vehicle-mounted wireless communication terminals with external interfaces have been developed. Among them, the wireless module is the information portal for various intelligent terminals to access the Internet of Things, and is also the key component for wireless terminals to locate. According to different technologies, it is subdivided into 2 / 3 / 4 / 5G modules and LPWAN's NB-IOT, e-MTC modules, etc.; Generally speaking, 4G modules refer to modules that can access the operator's 4G network, 2G modules are mainly used in areas such as shared bicycles with low data demand, 3G modules are mainly used in mobile payment fields such as POS machines, 4G modules are mainly used in vehicle-mounted fields and video surveillance fields with high speed requirements, LPWAN modules are widely used in meter reading fields with low power consumption requirements, Wi-Fi, Bluetooth, and ZigBee have short transmission distances and are mostly used in consumer fields such as medical care and smart homes.
[0040] When the 5G network is used to replace the original vehicle-mounted backbone network, the IP address of the 5G vehicle-mounted terminal and the TRDP data packet address IP of the train terminal are independent of each other and cannot communicate with each other. A tunnel is required to encapsulate the TRDP data packet and establish a transmission tunnel between the two vehicle-mounted service terminals to realize the data interaction of the train vehicle-mounted service terminal and realize the intercommunication between the train terminals. The prerequisite for establishing this tunnel protocol is: the online address (i.e., the address assigned by the 5G core network) of the 5G vehicle-mounted terminal is required to be a fixed IP address, and the tunnel destination IP and tunnel source IP of the vehicle-mounted terminal need to be configured on the service. Since the 5G vehicle-mounted terminal will be dynamically grouped according to the change of the physical location, it is not flexible and convenient to adopt the static configuration method. Therefore, this application uses the tunnel protocol to carry out 5G customized transformation of the vehicle-mounted terminal, and proposes that the wireless topology discovery protocol is changed when the vehicle-mounted terminal is changed, and dynamic network perception and node discovery are carried out to enable it to access the 5G network, adapt the existing data, realize the point-to-point and point-to-multipoint communication of the 5G vehicle-mounted terminal, and obtain the high reliability and high data rate service required for train communication.
[0041] Adapt TRDP data in the existing tunnel scheme, open a second-layer tunnel between multiple 5G vehicle terminals, all devices in the current environment are in the same network segment, the terminal does not need to configure a gateway, and all devices in the network environment can communicate with each other. But when TRDP protocol data transmission is required between point to multipoint, if a tunnel is also established between point to point, not only the configuration amount is large but also error-prone. This application proposes a corresponding grouping strategy for dynamic grouping of multicast, and a T-GRE server is installed on the 5G core network side, and a tunnel is established between each 5G vehicle terminal and the server, and the existing vehicle terminal is connected to the 5G rail transit network through the 5G vehicle terminal. The T-GRE server through L2GRE (Layer2GREtunnels) establishes communication with the 5G vehicle terminal, creates a flexible VPN, and allows the same VLAN to be interconnected at multiple locations to achieve business intercommunication in a multicast group.
[0042] In addition, in the current train network, after the existing on-board terminal data is packaged into TRDP data packets, it is sent to other terminals via the train on-board network switch and backbone network router by means of IP multicast, and the terminal IP address generally uses a private network address. On the basis of the tunnel protocol, 5G on-board terminals need to carry out TRDP protocol data transmission between point-to-multipoint. When multiple trains form a grouping, it is necessary to build more than two tunnels per train to form a cross network, and it is necessary to change the configuration of the on-board network and also to perform loop suppression. The present invention proposes a dynamic grouping strategy, and then realizes the business intercommunication in a multicast and reduces manual configuration.
[0043] It should be noted that the defects existing in the solutions in the above-mentioned prior art are the results obtained by the inventors after practice and careful research. Therefore, the discovery process of the above-mentioned problems and the solutions proposed by the embodiments of the present invention for the above-mentioned problems should all be the contributions made by the inventors to the present invention during the process of the present invention.
[0044] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. The components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations. It should be noted that the embodiments of the present invention and the features in the embodiments can also be combined with each other without conflict.
[0045] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. In the description of the present invention, the terms "first", "second", "third", "fourth", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0046] After the above in-depth analysis, this application proposes a dynamic networking method for wireless on-board terminals of rail transit based on 5G. First, through tunnel protocol and multicast group management, it can support multicast communication between 5G on-board terminals. Currently, the equipment that supports 5G terminal multicast communication has not yet been commercialized; secondly, in order to more flexibly support vehicle-to-vehicle communication and unlimited grouping, this application proposes a protocol function that supports wireless node discovery and supports dynamic network perception; thirdly, for newly discovered on-board terminals, the present invention proposes a dynamic grouping strategy through the server on the 5G core network side, which realizes the intercommunication of service terminals in a multicast and reduces manual address configuration and grouping.
[0047] like Figure 1 As shown, the 5G-based rail transit wireless vehicle terminal dynamic networking method provided in an embodiment of the present invention includes the following steps:
[0048] Step S1, based on the standard Ethernet protocol stack, adds a TRDP layer between the transport layer and the application layer of the train real-time data protocol, performs TDRP<->IP protocol conversion, and provides secure end-to-end data transmission for process data and message data communications between any two on-board terminals in the 5G rail transit network; at the same time, install a T-GRE server on the 5G core network side, establish a T-GRE tunnel between each 5G on-board terminal and the server and establish connections with other 5G on-board terminals, and open a Layer 2 tunnel between all 5G on-board terminals in the current network environment through the T-GRE server to achieve service interoperability in a multicast group.
[0049] In this step, the message structure of the TRDP layer is as follows: Figure 2 As shown, it includes four layers, from top to bottom, namely, the version and total length layer, the marking flag and fragment offset layer, the TTL and protocol UDP check layer, and the source IP address and destination IP address layer.
[0050] The TRDP layer is defined by the IEC61375-2-3 standard and is located above the TCP / UDP transport layer. TRDP specifies the communication flow of process data and message data of the Train Control Network (TCN) in the train communication network.
[0051] According to the structure of the 5G network, the 5G vehicle terminal is connected to other 5G vehicle terminals (in the same vehicle or different vehicles) through the core network through the T-GRE server installed on the 5G core network side. Figure 3 As shown, the T-GRE message structure adds a new IP field and a GRE header field to the original TRDP message; Figure 4As shown, the 5G vehicle terminal establishes a T-GRE tunnel with the server and establishes a connection with other 5G vehicle terminals, specifically including: the existing vehicle terminal data is encapsulated through the tunnel protocol, and a logical connection is established through the T-GRE server to realize 5G transmission communication between terminals. Figure 5 As shown, to achieve service intercommunication in a multicast group, the network environment deployment includes: filling a new wireless IP on top of the terminal IP and establishing a connection with the server through a T-GRE tunnel.
[0052] Step S2, according to the train topology discovery protocol, after the network topology structure changes, the switch of the 5G rail transit network discovers the changed nodes based on network perception, and automatically negotiates with other network devices, and assigns an IP address to the changed 5G on-board terminal according to the instructions of the new train car. Network administrators or other operators do not need to manually reconfigure network equipment, which improves operational efficiency and reduces configuration errors.
[0053] In this step, the network topology changes, including the initial configuration change when the train starts and the configuration change caused by the change of the position of the carriage after the train starts. Due to the marshaling, unmarshaling, and hanging of the train, the topology of the train is always dynamic and changes frequently. Every time the carriage changes, the network needs to be reconfigured. If it is a manual operation, this is very time-consuming and prone to errors. The train topology discovery protocol was developed to improve the efficiency of rail transit network configuration and can realize network perception and node discovery.
[0054] The train topology discovery protocol is configured so that the switch of the 5G rail transit network automatically negotiates with other network devices after the network topology changes, including:
[0055] Step S21, determine the state of the BN node according to the train topology discovery protocol. If it is UNNAMED, proceed to step S22; if it is in NAMING state, proceed to step S23; if it is in NAMED state, proceed to step S24.
[0056] like Figure 6 As shown in the figure, when the train starts, the action of configuring the train network topology is defined as train start. The normal start of the train is performed when the train running state changes or the power-on (reset) time. The purpose of initialization is to find the physical network topology, that is, the order and direction of the backbone nodes (Backbone Node, BN) in the linear network topology. The BN here is the 5G vehicle terminal. Each BN node is in one of the following three states: UNNAMED, NAMING, NAMED. Therefore, corresponding to the above three states, the discovery of changes in the network topology structure also includes:
[0057] Step S22, after the train is powered on or reset, it enters the initial UNNAMED state; in this state, the topology directory has not yet been established, so communication cannot be carried out through the BN in this state, and before entering the NAMING state, the network message will be bypassed.
[0058] Step S23, in the NAMING state, the BN is running the startup procedure. When the startup is successfully completed, it will enter the NAMED state with a valid train topology directory; if an unrecoverable fault is detected, it will return to the "UNNAMED" state. Figure 7 As shown in Figure 1, when started, each BN node broadcasts a HELLO message with its radio power set to the minimum initial value that can cover the length of two cars. Each node collects ACK messages within a certain time range. If the number of received messages is less than 4, the HELLO message with increased radio power is resent. Each node repeats this operation until it collects at least 4 ACK packets or the timeout timer Tmax expires.
[0059] Step S24, the topology discovery protocol in the NAMED state is divided into two stages: the first stage, neighbor discovery, uses the radio signal strength to find neighboring nodes and estimate the relative position of the BN. Since the topology discovery protocol is designed on the assumption that each adjacent train carriage (or carriage) is connected by a direct wired cable, it cannot be directly used in a wireless communication environment. In such a wired train communication system, it is very simple to find neighboring nodes. By exchanging the network address of the node (usually represented by the MAC address) with the directly connected neighboring node through the HELLO frame, any backbone node can find the address of its neighboring node, and then find their relative position in the entire network topology. However, in wireless communication, the HELLO frame is broadcast, and multiple non-geographical neighboring BNs can receive the HELLO frame, which affects the judgment of finding geographical neighbors. Therefore, the method of using radio signal strength is adopted to find neighboring nodes. Specifically, each BN sends the HELLO frame together with its MAC address to the neighboring node, trying to discover the MAC address of the neighboring node. Due to the nature of the train, the physical network topology is a linear topology, and it is easy to find neighboring BNs connected by switching Ethernet. Each BN receives HELLO frames from incoming links on its left and / or right. Because each frame carries the MAC address sent to the neighbor, adjacent BNs learn each other's MAC addresses. The reception of these two adjacent frames completes the neighbor discovery phase. The second phase is topology discovery. The physical topology is constructed by sharing neighbor node information using topology frames, which contain MAC address information of the BN currently discovered by the sending BN. Each BN maintains an updated physical and logical topology directory based on previously received HELLO and topology frames. After receiving the topology frame, the BN updates its physical and logical topology directory to achieve topology discovery.
[0060] A BN in the NAMED state is able to join the network, and user data is transmitted through the train core network. During operation, the BN also checks for changes in the train backbone topology. When any changes are detected or forced to start, it will disable the exchange of user data on the train core network and enter the NAMING state through the startup process.
[0061] Step S3: For the discovered nodes, the location information, cell ID, uplink and downlink information, and speed information of the train terminal are uploaded to the T-GRE server in real time.
[0062] In step S4, the server analyzes the uploaded data of all trains, and determines whether the train is in the T-GRE coverage area based on the train location information and 5G coverage area ID for the 5G on-board terminals of all nodes and local nodes found in the current network topology; establishes a logical bus on T-GRE, and deploys logical switches on the T-GRE tunnels and logical buses that connect each train in the coverage area on the server. The marshaling logic determines which trains can communicate with each other, and a virtual broadcast domain is formed for the intercommunication of 5G on-board terminals to realize the intercommunication of TTDP / TRDP messages.
[0063] In this step, if Figure 8 As shown, in order to avoid marshaling redundancy, the scheduling strategy only allows trains within the target range to automatically network. In this embodiment, the train position information and 5G coverage area ID are used to determine whether the train is in the T-GRE coverage area; then, based on the set bus, the marshaling logic (which can be manually specified or automatically configured according to vehicle location, base station information, etc.) determines which trains can communicate with each other, and a virtual broadcast domain is formed for the intercommunication train terminals to realize the intercommunication of TTDP / TRDP messages.
[0064] The nodes with the logical switch turned on are grouped according to the neighbor logical topology directory. The management of multicast group members mainly includes the joining, maintenance and leaving of group members. The group members are 5G vehicle terminals. Based on this, this step specifically includes:
[0065] Step S41: When a new 5G vehicle-mounted terminal joins as a group member, Fig. 9 As shown in the figure, the multicast IP is unified according to the neighbor topology directory. After the grouping is completed, the terminal with the smallest private address in the grouping is selected as the administrator to undertake the grouping communication task between the multicast group and the T-GRE server. The administrator sends a registration request to the T-GRE server. If this administrator fails, other terminals will re-elect a new administrator after the administrator timer expires. When a new node is discovered, the logical topology directory will be updated. The server will periodically (60s) send a query request to the administrator. If the logical topology directory changes, the node network configuration will be updated.
[0066] Step S42: When maintaining group members of 5G vehicle-mounted terminals in the group, group members are maintained based on the logical topology directory and the node network configuration directory on the server, and the two directories need to be consistent. When the logical topology directory and the node network configuration directory are different and there is a consistency conflict, the node network configuration is updated based on the logical topology directory.
[0067] Step S43: When a 5G vehicle-mounted terminal leaves the group, the logical topology directory is updated and updated to the new configuration information when T-GRE sends a query request next time. If there are no members in the group (including administrators), and T-GRE sends three query requests without response, the group network configuration is deleted.
[0068] It can be seen from the above technical solutions that the 5G-based dynamic networking method for rail transit wireless on-board terminals provided in the embodiment of the present invention proposes a T-GRE tunnel protocol to realize 5G multicast communication of wireless on-board terminals, which meets the high-speed, high-reliability and low-latency requirements for train communication; according to the TTDP protocol, it is proposed to complete the neighbor discovery and physical topology discovery of 5G on-board terminals according to the radio signal strength in the wireless communication network, thereby realizing the dynamic perception and discovery of on-board terminal nodes; at the same time, according to the dynamic discovery results of the on-board terminal nodes, multicast group members are grouped and group testing is completed on the T-GRE server, thereby realizing point-to-multipoint multicast communication transmission and reducing manual address configuration and grouping.
[0069] The above description is only a preferred embodiment of the present invention and an explanation of the technical principles used. It is not intended to limit the scope of the invention claimed for protection, but only represents the preferred embodiment of the present invention. Those skilled in the art should understand that the scope of the invention involved in the present invention is not limited to the technical solution formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the inventive concept. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.
Claims
1. A 5G-based rail transit wireless vehicle terminal dynamic networking method, characterized in that: The steps include: Step S1, based on the standard Ethernet protocol stack, the train real-time data protocol is converted from TRDP to 5G IP protocol to provide secure end-to-end data transmission for process data and message data communication between any two devices in the 5G rail transit network; at the same time, a T-GRE server is installed on the 5G core network side, and a T-GRE tunnel is established between each 5G vehicle terminal and the T-GRE server and connected to other 5G vehicle terminals. A layer 2 tunnel is opened between the T-GRE server and the 5G vehicle terminal in the current network environment to achieve service intercommunication in a multicast group; Step S2: According to the train topology discovery protocol, after the network topology changes, the switch of the 5G rail transit network discovers the changed nodes based on network perception, automatically negotiates with other network devices, and assigns an IP address to the changed 5G on-board terminal according to the instructions of the new train car; Step S3, for the discovered nodes, the location information, cell ID, uplink and downlink information, and speed information of the 5G vehicle-mounted terminal are uploaded to the T-GRE server in real time; Step S4, the T-GRE server analyzes the uploaded data of all trains, and determines whether the train is in the T-GRE coverage area based on the train location information and the 5G coverage area ID for all nodes and local nodes found in the current network topology; establishes a logical bus on the T-GRE, and deploys logical switches on the T-GRE tunnels and logical buses that connect each train in the coverage area of the T-GRE server. The marshaling logic determines which trains can communicate with each other, and a virtual broadcast domain is formed for the intercommunication 5G on-board terminals to realize the intercommunication of TTDP / TRDP messages and realize dynamic networking; and specifically includes: Step S41, when a new 5G vehicle-mounted terminal joins as a group member, the multicast IP is unified according to the neighbor topology directory. After the grouping is completed, the 5G vehicle-mounted terminal with the smallest private address in the grouping is selected as the administrator to undertake the grouping communication task between the multicast group and the T-GRE server. The administrator sends a registration request to the T-GRE server; if the administrator fails, other 5G vehicle-mounted terminals will re-elect a new administrator after the administrator timer expires; when a new node is discovered, the logical topology directory will be updated, and the T-GRE server will periodically send a query request to the administrator. If the logical topology directory changes, the node network configuration is updated; Step S42: When maintaining group members of 5G vehicle-mounted terminals in the group, the logical topology directory and the node network configuration directory on the T-GRE server are used to maintain group members, and the two directories are kept consistent; when the logical topology directory and the node network configuration directory are different and there is a consistency conflict, the node network configuration is updated based on the logical topology directory; Step S43, when a 5G vehicle-mounted terminal leaves the group, the logical topology directory is updated, and the new configuration information is updated when the T-GRE server sends a query request next time; if there is no member in the group and the T-GRE server sends three query requests without a response, the network configuration of the group is deleted.
2. The method for dynamic networking of rail transit wireless vehicle terminals based on 5G according to claim 1 is characterized in that: The message structure of the TRDP layer includes four layers, which are, from top to bottom, the version and total length layer, the identification flag and piece offset layer, the TTL and protocol UDP check layer, and the source IP address and destination IP address layer.
3. The method for dynamic networking of rail transit wireless vehicle terminals based on 5G according to claim 1 is characterized in that: The network topology changes include initial configuration changes when the train starts and configuration changes caused by the position change of carriages after the train starts.
4. The method for dynamic networking of rail transit wireless vehicle terminals based on 5G according to claim 3 is characterized in that: The train topology discovery protocol is configured so that the switch of the 5G rail transit network automatically negotiates with other network devices after the network topology changes, including: Step S21, judging the state of BN according to the train topology discovery protocol, if it is UNNAMED, proceeding to step S22; if it is NAMING state, proceeding to step S23; if it is NAMED state, proceeding to step S24; Step S22, after the train is powered on or reset, it enters the initial UNNAMED state; in this state, the topology directory has not yet been established, and before entering the NAMING state, the network message is bypassed; Step S23, in the NAMING state, the BN is running the startup protocol; when the startup is successfully completed, it enters the NAMED state with a valid train topology directory; if an unrecoverable fault is detected, it returns to the "UNNAMED" state; when starting, each BN broadcasts a HELLO message, the radio power is set to the minimum initial value, which can cover the length of two cars, and each BN collects ACK messages within a certain time range; if the number of received messages is less than 4, the HELLO message with increased radio power is resent; each BN repeats this operation until it collects at least 4 ACK packets or the timeout timer Tmax expires; Step S24, the topology discovery protocol in the NAMED state is divided into two stages: the first stage is neighbor discovery, which uses the radio signal strength to find neighboring nodes and estimate the relative position of the BN; the second stage is topology discovery, and the topology frame contains the MAC address information of the BN currently discovered by the sending BN; each BN maintains an updated physical and logical topology directory based on the previously received HELLO message and topology frame. After receiving the topology frame, the BN updates its physical and logical topology directory to achieve topology discovery.
5. The method for dynamic networking of rail transit wireless vehicle terminals based on 5G according to claim 4 is characterized in that: The neighbor node discovery process is as follows: each BN sends a HELLO frame together with its MAC address to the neighbor node, trying to discover the MAC address of the neighbor node; each BN receives a HELLO frame from the incoming link on its left and / or right side, so that the BN learns the MAC address of the neighbor node; at this time, the reception of these two frames completes the neighbor node discovery phase.
