Method, device, equipment and system for providing address service
By configuring address profiles and automatically obtaining subnet identifiers on ETBN devices, the problem of low efficiency in manually querying subnet identifiers on terminal devices is solved, achieving efficient and accurate address mapping and communication services.
Patent Information
- Application Number
- CN202211041538.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-29
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2042-08-29
AI Technical Summary
In existing technologies, terminal devices need to manually query and obtain the subnet identifier of the peer device, which is inefficient and prone to errors, resulting in inaccurate address mapping processing.
Configure the original address configuration file on the ETBN device, and after the initial operation of the train formation, the ETBN device automatically obtains the domain name of the terminal device and the subnet identifier of its ECN, performs address mapping, and configures the domain name and the mapped IP address into the DNS database to provide unified address services.
It improves the efficiency of address mapping, avoids errors caused by manual queries, and ensures more convenient and reliable communication between terminal devices.
Smart Images

Figure CN115604224B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of train marshaling network, and in particular to a method and device, equipment and system for providing address services. Background Art
[0002] The train network system is divided into two levels: train control level and vehicle control level. The train control level bus is composed of ETB (Ethernet Train Backbone), and the vehicle control level bus is composed of ECN (EtherneteConsist Network). The ETB-level addressing method is different from the ECN-level addressing method. In order to achieve secure communication between networks at all levels on the train and facilitate the de-marshalling and reconnection of the train, and avoid IP (Internet Protocol) address conflicts of terminal devices in different ECNs, when terminal devices in different ECNs need to communicate with each other, it is necessary to use the R-NAT (Railway-Network Address Translation) algorithm at the ETBN (Ethernet Train Backbone Node, ETB node) switch to achieve address conversion between the ECN-level marshalling network and the ETB-level backbone network.
[0003] Before end-to-end communication, the terminal device needs to obtain the subnet identifier (SubnetId) of the ECN to which the peer device belongs, and calculate the IP address of the peer device after R-NAT conversion based on the subnet identifier. In the prior art, the subnet identifier of the ECN to which the peer device belongs is usually obtained by manual query, and the terminal device performs address mapping processing by itself, which is inefficient and prone to errors. Summary of the invention
[0004] The embodiment of the present invention provides a method and apparatus, device and system for providing address services, so as to solve the problem that the subnet identifier of ECN is obtained by manual query in the prior art, and the terminal device performs address mapping processing by itself, which is inefficient and prone to errors.
[0005] To this end, the present invention provides the following technical solutions:
[0006] In one aspect, an embodiment of the present invention provides a method for providing an address service, the method comprising:
[0007] Pre-configure the original address configuration file on the first ETBN device that serves as the DNS server;
[0008] After each train marshaling performs initial operation, the first ETBN device obtains the domain name of each terminal device and the subnet identifier of the ECN to which it belongs;
[0009] Performing address mapping on the local IP address of the terminal device in the original address configuration file according to the subnet identifier to obtain a mapped IP address;
[0010] The domain name and the mapped IP address of the terminal device are configured into the mapping address table of the DNS database.
[0011] Optionally, the method further comprises:
[0012] After each initial run of the train formation, each ETBN device discovers all ETBN devices on the ETB through TTDP and establishes a train network directory;
[0013] The first ETBN device obtains the domain name of each terminal device and the subnet identifier of the ECN to which it belongs, including:
[0014] The first ETBN device queries the train network directory to obtain the domain name of each terminal device and the subnet identifier of the ECN to which it belongs.
[0015] Optionally, the original address configuration file includes: the marshaling universal unique identifier CstUUID, CN identifier, domain name, and local IP address; the train network directory includes: the marshaling universal unique identifier CstUUID, the marshaling network identifier CN Id, the subnet identifier, and the ETBN identifier.
[0016] Optionally, the method further comprises:
[0017] The first ETBN device receives an address request message sent by a terminal device, wherein the address request message carries a domain name of a designated terminal;
[0018] Query the mapping address table according to the domain name to obtain the IP address of the designated terminal;
[0019] The domain name and IP address of the designated terminal are returned to the terminal device.
[0020] Optionally, the method further includes: the first ETBN device sending an address notification message to all ECNs, where the address notification message carries the domain names and IP addresses of all terminal devices in the address mapping table.
[0021] Optionally, the first ETBN device sends an address notification message to all ECNs according to a set period.
[0022] Optionally, the address notification message is a TRDP message.
[0023] On the other hand, an embodiment of the present invention further provides a device for providing address services, the device comprising: a configuration module, a subnet identification acquisition module, a mapping module, and a DNS database;
[0024] The configuration module is used to pre-configure the original address configuration file;
[0025] The subnet identification acquisition module is used to obtain the domain name of each terminal device and the subnet identification of the ECN to which it belongs after each train marshaling performs initial operation;
[0026] The mapping module is used to perform address mapping on the local IP address of the terminal device in the original address configuration file according to the subnet identifier to obtain a mapped IP address; and configure the domain name of the terminal device and the mapped IP address into the mapping address table of the DNS database.
[0027] Optionally, the device further comprises:
[0028] The discovery module is used to discover all ETBN devices on the ETB through TTDP after each initial operation of the train formation and establish a train network directory;
[0029] The subnet identification acquisition module is specifically used to query the train network directory to obtain the domain name of each terminal device and the subnet identification of the ECN to which it belongs.
[0030] Optionally, the device further comprises:
[0031] The DNS service module is used to receive an address request message sent by a terminal device, wherein the address request message carries a domain name of a specified terminal; query the mapping address table according to the domain name to obtain the IP address of the specified terminal; and return the domain name and IP address of the specified terminal to the terminal device.
[0032] Optionally, the device further comprises:
[0033] The sending module is used to send an address notification message to all ECNs, wherein the address notification message includes the domain names and IP addresses of all terminal devices in the address mapping table.
[0034] On the other hand, an embodiment of the present invention further provides an ETBN device, wherein the ETBN device includes the above-mentioned apparatus for providing address services.
[0035] On the other hand, an embodiment of the present invention further provides a train marshaling network system, the system comprising: one or more ETBN devices, wherein a first ETBN device is designated as a DNS server, one or more ECNs are mounted under the ETBN device, each ECN has one or more terminal devices, and the IP address of the first ETBN device is pre-configured on the terminal device; different terminal devices communicate with each other according to the IP address of the opposite device, and the IP address is the IP address converted by the opposite device according to the subnet identifier of the ECN to which it belongs;
[0036] The first ETBN device includes the device for providing address services as described above.
[0037] The method, device, equipment and system for providing address services provided by the embodiments of the present invention configure an original address configuration file on the designated ETBN device as a DNS server. After each train formation performs initial operation, the ETBN device obtains the domain name of each terminal device and the subnet identifier of the ECN to which it belongs, completes the mapping process of the IP address of each terminal device, and then writes the domain name of each terminal device and the mapped IP address into the DNS database, thereby providing address services for each terminal device. The terminal device does not need to obtain the subnet identifier of the ECN to which the opposite terminal device to be communicated belongs, nor does the terminal device need to perform address mapping processing by itself. Instead, the DNS server manages the addresses of all terminal devices in a unified manner, which can greatly improve efficiency and avoid the problem of manual query errors.
[0038] Furthermore, the ETBN device acting as a DNS server can provide the IP address of a specified terminal device according to the request of the terminal device, or actively send the IP address of each terminal device in the DNS database to all terminal devices, thereby facilitating the use of terminal devices with different capabilities and making communication between terminal devices more convenient. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a schematic diagram of the communication process of the existing ECN terminal equipment;
[0040] Figure 2 is a flow chart of a method for providing address services according to an embodiment of the present invention;
[0041] Figure 3 is another flow chart of a method for providing address services according to an embodiment of the present invention;
[0042] Figure 4 is another flow chart of a method for providing address services according to an embodiment of the present invention;
[0043] Figure 5is a structural diagram of a device for providing address services according to an embodiment of the present invention;
[0044] Figure 6 It is a schematic diagram of the interaction between the ETBN device and the terminal device in the train marshaling network system of an embodiment of the present invention. DETAILED DESCRIPTION
[0045] In order to enable persons skilled in the art to better understand the solutions of the embodiments of the present invention, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings and implementation modes.
[0046] During the initial operation, ETBN equipment will run TTDP (Train Topology Discovery Protocol) to discover all ETBN equipment on the ETB and establish a train network directory. The train network directory mainly includes the following information: CstUUID, CN Id, Subnet Id, ETBN Id, and CstOrientation. Among them:
[0047] CstUUID is the universal unique identification code for train sets, which is used to identify different train sets;
[0048] CN Id is the marshaling network identifier;
[0049] Subnet Id is the subnet identifier, which is used to identify each marshaling network subnet of the train;
[0050] ETBN Id is the ETBN identifier;
[0051] CstOrientation is the train marshaling direction.
[0052] As an ETBN device, after completing topology discovery and forming a train network directory, the switch performs network configuration according to the train network directory information. The network configuration work mainly includes: issuing IP addresses on the ETB side and the ECN side, establishing routing tables and multicast tables for ETB and ECN communication, and configuring the DHCP (Dynamic Host Configuration Protocol) server on the ECN side.
[0053] The rule for R-NAT to convert IP addresses is that the switch, which is an ETBN device, maps the source IP address of the terminal device to the IP address segment of the ECN gateway to which the terminal device belongs. The IP address of the terminal device is divided into a network segment and a host segment. When R-NAT performs address conversion, the network segment is mapped and the host segment is retained. For example, the source IP address of the terminal device is 10.0.0.6 / 18, and the IP address of the ECN gateway to which it belongs is 10.128.64.1 / 18. The IP address of the terminal device after R-NAT conversion is 10.128.64.6 / 18. When two terminal devices communicate, they need to complete the communication based on the IP address of the other device after R-NAT conversion, such as Figure 1 As shown, the source IP address of terminal device ED2 is: 10.0.0.2, and the IP address after R-NAT conversion is 10.128.64.2; the source IP address of terminal device ED5 is: 10.0.0.5, and the IP address after R-NAT conversion is 10.128.192.5. When terminal device ED2 communicates with terminal device ED5, it sends an Ethernet message to the destination address DA: 10.128.192.5. After receiving the Ethernet message, the ECN gateway to which terminal device ED5 belongs forwards the Ethernet message to the destination address DA: 10.0.0.5 according to the address mapping relationship in the routing table. The process of terminal device ED5 sending an Ethernet message to terminal device ED2 is similar to the above and will not be repeated.
[0054] After the ETBN is reorganized and reconnected, the train network directory will be re-established, the subnet identifier of the ECN will be reallocated, and the R-NAT mapping relationship also needs to be modified accordingly. Whether it is after the ETBN is first organized and connected, or after reorganization and reconnection, the two terminal devices that need to communicate must first obtain the subnet identifier of the ECN to which the other device belongs, and then calculate the IP address of the other device after R-NAT conversion based on the subnet identifier. The existing technology uses manual query to obtain the subnet identifier, such as querying the train network directory on the local ETBN according to the UUID, ETBN, and CN of the other device to obtain the subnet identifier (Subnet Id) of the ECN where the other device is located, or directly querying the train network directory on the ETBN to which the other device belongs to obtain the subnet identifier of the ECN where the other device is located, or directly querying the subnet identifier of the ECN where the other device is located on the other device.
[0055] Regardless of which of the above query methods is used, there are problems of low efficiency and prone to errors. For this reason, an embodiment of the present invention provides a method, device and system for obtaining the address of a train marshaling network terminal device. Instead of manual viewing, the ETBN device and the terminal device cooperate to automatically complete the configuration of the terminal device domain name and IP address.
[0056] like Figure 2 FIG. 1 is a flow chart of a method for providing address services according to an embodiment of the present invention. The method is used in a train marshaling network and includes the following steps:
[0057] Step 201: pre-configure an original address configuration file on a first ETBN device that serves as a DNS server.
[0058] The original address configuration file may include but is not limited to the following items: a group universal unique identifier CstUUID, a CN identifier, a domain name, and a local IP address.
[0059] Step 202: After each train formation performs initial operation, the first ETBN device obtains the domain name of each terminal device and the subnet identifier of the ECN to which it belongs.
[0060] In the prior art, after each initial operation of a train formation, each ETBN device discovers all ETBN devices on the ETB through TTDP and establishes a train network directory, which includes: a formation universal unique identification code CstUUID, a formation network identifier CN Id, a subnet identifier, and an ETBN identifier.
[0061] Accordingly, in this embodiment, the first ETBN device can query the train network directory established by itself to obtain the domain name of each terminal device and the subnet identifier of the ECN to which it belongs.
[0062] Step 203: perform address mapping on the local IP address of the terminal device in the original address configuration file according to the subnet identifier to obtain a mapped IP address.
[0063] The specific calculation method of address mapping can be processed according to the existing technology, which will not be described in detail.
[0064] Step 204: configure the domain name and the mapped IP address of the terminal device into a mapping address table of a DNS database.
[0065] It should be noted that, in the embodiment of the present invention, the domain name of the terminal device will not change due to the reconnection of the train, but the IP address of the terminal device may change after the reconnection of the train, and the specific terminal device needs to be determined based on its domain name. To this end, the first ETBN device configures the domain name and mapped IP address of each terminal device into the mapping address table of the DNS database. In this way, the first ETBN device acts as a DNS server, and the DNS server can provide address services for all terminal devices without the participation of the terminal device. Moreover, after each train re-formation, the first ETBN device can automatically re-map the IP addresses of all terminals according to the new formation, and configure the mapped IP addresses into the mapping address table, which greatly facilitates the use of terminal devices, improves efficiency, and avoids the problem of easy errors in manual queries.
[0066] In specific applications, considering that different terminal devices may have different capability configurations, the first ETBN device as a DNS server may also provide address services for the terminal devices in a variety of different ways.
[0067] For example, in a non-limiting embodiment, the address of the first ETBN device may be preconfigured on a terminal device with DNS capability, so that when the terminal device needs the IP address of another terminal device, it may query the first ETBN device to obtain it.
[0068] Accordingly, refer to Figure 3 As shown, in this embodiment, steps 301 to 304 are Figure 2 Steps 201 to 204 are the same as in the above, and will not be described in detail.
[0069] After step 304, the following steps are also included:
[0070] Step 305: Receive an address request message sent by the terminal device, wherein the address request message carries the domain name of the designated terminal.
[0071] Step 306: query the mapping address table according to the domain name to obtain the IP address of the designated terminal.
[0072] Step 307: Return the domain name and IP address of the designated terminal to the terminal device.
[0073] For another example, in another non-limiting embodiment, the first ETBN device proactively sends the domain names and IP addresses of all terminal devices in the address mapping table to all ECNs, so that each terminal device can obtain the domain names and IP addresses of all terminal devices.
[0074] Accordingly, refer to Figure 4As shown, in this embodiment, steps 401 to 404 are Figure 2 Steps 201 to 204 are the same as in the above, and will not be described in detail.
[0075] After step 404, the method further includes step 405 of sending an address notification message to all ECNs, wherein the address notification message carries the domain names and IP addresses of all terminal devices in the address mapping table.
[0076] The address notification message may be a TRDP message, and may be sent to all ECNs according to a set period, for example, a default period may be set to 30 seconds.
[0077] In addition, in order to standardize and facilitate the application of the above messages, the above messages can be named as follows:
[0078] Address notification message: COMID 1002.
[0079] It should be noted that, in actual applications, the first ETBN device may only use the latter active method to provide address services to the terminal device. In this method, there is no need to configure the DNS server address on the terminal device. It may also use the above two methods at the same time to provide address services to the terminal device, which is not limited in this embodiment of the present invention.
[0080] Accordingly, an embodiment of the present invention further provides an address management device, such as Figure 5 Shown is a structural schematic diagram of the device.
[0081] The device 500 for providing address services in this embodiment includes: a configuration module 501, a subnet identification acquisition module 502, a mapping module 503, and a DNS database 504. Among them:
[0082] The configuration module 501 is used to pre-configure the original address configuration file 600;
[0083] The subnet identification acquisition module 502 is used to obtain the domain name of each terminal device and the subnet identification of the ECN to which it belongs after each train marshaling performs initial operation;
[0084] The mapping module 503 is used to perform address mapping on the local IP address of the terminal device in the original address configuration file according to the subnet identifier to obtain a mapped IP address; and configure the domain name of the terminal device and the mapped IP address into the mapping address table of the DNS database 504.
[0085] Furthermore, if Figure 5As shown, the device 500 for providing address services may also include: a discovery module 601, which is used to discover all ETBN devices on the ETB through TTDP after each initial operation of the train formation, and establish a train network directory 700. Accordingly, the subnet identification acquisition module 502 can obtain the domain name of each terminal device and the subnet identification of the ECN to which it belongs by querying the train network directory.
[0086] The device for providing address services provided by the embodiment of the present invention can automatically provide address services for all terminal devices without the participation of terminal devices. Moreover, after each train reorganization, the IP addresses of all terminals can be automatically remapped according to the new organization, and the mapped IP addresses can be configured in the mapping address table, which greatly facilitates the use of terminal devices, improves efficiency, and avoids the problem of easy errors in manual query.
[0087] Furthermore, in a non-limiting embodiment, the device also includes: a DNS service module (not shown), which is used to receive an address request message sent by a terminal device, the address request message carrying a domain name of a specified terminal; querying the mapping address table according to the domain name to obtain the IP address of the specified terminal; and returning the domain name and IP address of the specified terminal to the terminal device.
[0088] By using the device for providing address services of this embodiment, the terminal device can obtain the required IP address of the terminal device by querying. It should be noted that the terminal device needs to have DNS capability.
[0089] Furthermore, in another non-limiting embodiment, the apparatus further comprises: a sending module (not shown) for sending an address notification message to all ECNs, wherein the address notification message comprises domain names and IP addresses of all terminal devices in the address mapping table.
[0090] By using the device for providing address services of this embodiment, the network side can actively send the domain names and IP addresses of all terminal devices in the address mapping table to all ECNs, so that each terminal device can obtain the domain names and IP addresses of all terminal devices.
[0091] Correspondingly, an embodiment of the present invention further provides an ETBN device, including the apparatus for providing address services in the above embodiments.
[0092] Correspondingly, an embodiment of the present invention further provides a train marshaling network system, which includes: one or more ETBN devices, wherein the first ETBN device is designated as a DNS server, one or more ECNs are mounted under the ETBN device, each ECN has one or more terminal devices, and the IP address of the first ETBN device is pre-configured on the terminal device; different terminal devices communicate with each other based on the IP address of the opposite device, and the IP address is the IP address of the opposite device converted according to the subnet identifier of the ECN to which it belongs.
[0093] Figure 6 The interactive process between the ETBN device and the terminal device in the train marshaling network system according to the embodiment of the present invention is shown.
[0094] Among them, ETBN2 is configured as a DNS server, and its IP address is 10.128.0.2. Import the configuration file in ETBN2, that is, the original address configuration file mentioned above. The original address configuration file is shown in Table 1 below:
[0095] Table 1 Original address configuration file
[0096]
[0097] During the initial operation, each ETBN device runs TTDP, enters the initial operation state, and establishes a train network directory. The train network directory is shown in Table 1 below:
[0098] Table 1 Train network directory
[0099]
[0100] By parsing the configuration file, you can obtain the original configuration information of the terminal device.
[0101] By querying the train network directory through the parameters CstUUID and CN id, the corresponding Subnet id can be obtained. Based on this parameter, the IP address of the terminal device after mapping can be calculated, as shown in Table 3 below:
[0102] Table 3 Terminal device address mapping table
[0103] Subnetid Domain LocalIP R-natIP (mapped IP address) 1 www.cst1.ed2.com 10.0.0.2 10.128.64.2 2 www.cst2.ed3.com 10.0.0.3 10.128.128.3 3 www.cst3.ed5.com 10.0.0.5 10.128.192.5
[0104] Configure the domain name and the mapped IP address into the DNS database.
[0105] ETBN2 sends a message of COMID1002 to all ECNs via TRDP, carrying all domain names and IP addresses in the database;
[0106] The terminal devices ED2, ED3, and ED5 in the ECN subnet can obtain the IP addresses of the terminal devices in other subnets for communication.
[0107] If the train is re-formed, the existing domain name and IP address mapping relationship will be cleared. When entering the initial operation state again, the subnet identifier is obtained again and a new domain name and IP address mapping relationship is calculated.
[0108] According to the technical solution provided by the embodiment of the present invention, after the ETBN group is reconnected, the ETBN device acting as a DNS server can reacquire the subnet identifier, convert the IP address of the terminal device, obtain a new domain name and IP address mapping relationship, and send it to all ECNs, so that each terminal device can obtain the IP address of other terminal devices, thereby making communication between terminal devices more convenient.
[0109] It should be noted that the terms "including" and "having" and any variations thereof in the specification and claims of the present invention and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or apparatus.
[0110] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. Moreover, the system embodiments described above are merely schematic, in which the modules and units described as separate components may or may not be physically separated, that is, they may be located on one network unit, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.
[0111] The embodiments of the present invention are described in detail above. The present invention is described in detail using specific implementation methods herein. The description of the above embodiments is only used to help understand the method and device of the present invention. It is only a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should belong to the scope of protection of the present invention, and the content of this specification should not be understood as limiting the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for providing address services, characterized in that: The method comprises: Pre-configure an original address configuration file on the first ETBN device that serves as a DNS server, wherein the original address configuration file includes the domain name of each terminal device on the train, and the domain name remains unchanged when the train is reconnected; After each train formation performs initial operation, each ETBN device discovers all ETBN devices on the ETB through TTDP and establishes a train network directory; The first ETBN device queries the train network directory to obtain the domain name of each terminal device and the subnet identifier of the ECN to which it belongs; Performing address mapping on the local IP address of the terminal device in the original address configuration file according to the subnet identifier to obtain a mapped IP address; The domain name and the mapped IP address of the terminal device are configured into the mapping address table of the DNS database.
2. The method according to claim 1, characterized in that The original address configuration file includes: the marshaling universal unique identification code CstUUID, N identifier, domain name, and local IP address; the train network directory includes: the marshaling universal unique identification code CstUUID, the marshaling network identifier CNId, the subnet identifier, and the ETBN identifier.
3. The method according to any one of claims 1 or 2, characterized in that: The method further comprises: The first ETBN device receives an address request message sent by a terminal device, wherein the address request message carries a domain name of a designated terminal; Query the mapping address table according to the domain name to obtain the IP address of the designated terminal; The domain name and IP address of the designated terminal are returned to the terminal device.
4. The method according to any one of claims 1 or 2, characterized in that: The method further comprises: The first ETBN device sends an address notification message to all ECNs, where the address notification message carries the domain names and IP addresses of all terminal devices in the address mapping table.
5. The method according to claim 4, characterized in that The first ETBN device sends an address notification message to all ECNs according to a set period.
6. The method according to claim 4, characterized in that The address notification message is a TRDP message.
7. A device for providing address services, characterized in that: The device comprises: a configuration module, a discovery module, a subnet identification acquisition module, a mapping module, and an NS database; The configuration module is used to pre-configure an original address configuration file, wherein the original address configuration file includes a domain name of each terminal device on the train, and the domain name remains unchanged when the train is marshaled and reconnected; The discovery module is used to discover all ETBN devices on the ETB through TTDP after each initial operation of the train formation and establish a train network directory; The subnet identification acquisition module is used to query the train network directory after each train marshaling performs initial operation, and obtain the domain name of each terminal device and the subnet identification of the ECN to which it belongs; The mapping module is used to perform address mapping on the local IP address of the terminal device in the original address configuration file according to the subnet identifier to obtain a mapped IP address; and configure the domain name of the terminal device and the mapped IP address into the mapping address table of the DNS database.
8. An ETBN device, characterized in that: The ETBN device comprises the apparatus for providing address services as claimed in claim 7.
9. A train marshaling network system, characterized in that: The system comprises: one or more ETBN devices, wherein a first ETBN device is designated as a DNS server, one or more ECNs are mounted under the ETBN device, each ECN has one or more terminal devices, and the IP address of the first ETBN device is pre-configured on the terminal device; Different terminal devices communicate with each other based on the IP address of the peer device, where the IP address is the IP address converted by the peer device based on the subnet identifier of the ECN to which it belongs; The first ETBN device comprises the apparatus for providing address services as claimed in claim 7.
