Address management method and device, address acquisition method and device, equipment and system

By specifying a DNS server in the ETBN device, the domain name and IP address of the terminal device are automatically managed, which solves the problems of low efficiency and easy error in manual query in the existing technology, and realizes automated address management and efficient communication of terminal devices in the train network system.

CN116366543BActive Publication Date: 2026-03-17KYLAND TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-29
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

In existing technologies, terminal devices in train network systems need to manually query the subnet identifier of the peer device before conducting end-to-end communication, which leads to low efficiency and is prone to errors.

Method used

By specifying a DNS server in the ETBN device, the domain names and IP addresses of terminal devices are automatically collected and managed. Status notification and address notification messages are used to achieve automated management and avoid manual intervention.

Benefits of technology

It enables automatic management of terminal device domain names and IP addresses without manual assistance after ETBN grouping and reconnection, improving communication efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116366543B_ABST
    Figure CN116366543B_ABST
Patent Text Reader

Abstract

This invention discloses an address management method and apparatus, an address acquisition method and apparatus, a device, and a system. In this scheme, a terminal device receives a status notification message sent by the ETBN side. The status notification message carries ETBN device operating status indication information and the ECN subnet identifier. If the ETBN device operating status indication information indicates a normal state, the terminal device determines its converted IP address based on the ECN subnet identifier. It then sends a first message to a pre-configured first ETBN device, the first message carrying the terminal device's domain name and IP address. Correspondingly, the first ETBN device receives the first message sent by the terminal device, parses the first message, and provides the domain name and IP address to all terminal devices based on the parsing result. Using this invention, after ETBN grouping and reconnection, the management of terminal device domain names and IP addresses can be automatically completed without manual assistance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of train formation network technology, specifically to an address management method and apparatus, an address acquisition method and apparatus, and a device and system. Background Technology

[0002] The train network system is divided into two levels: train control level and vehicle control level. The train control level bus consists of ETB (Ethernet Train Backbone), while the vehicle control level bus consists of ECN (Ethernet Consist Network). The ETB-level addressing method differs from the ECN-level addressing method. To achieve secure communication between different levels of networks on the train and to facilitate train decoupling and reconnection, and to avoid IP (Internet Protocol) address conflicts between terminal devices in different ECNs, when terminal devices within different ECNs need to communicate with each other, the R-NAT (Railway-Network Address Translation) algorithm is used at the ETBN (Ethernet Train Backbone Node) switch to achieve address translation between the ECN-level marshalling network and the ETB-level backbone network.

[0003] Before engaging in end-to-end communication, terminal devices need to obtain the subnet identifier (SubnetId) of the ECN to which the peer device belongs. Based on this subnet identifier, the IP address of the peer device after R-NAT translation is calculated. In existing technology, this is typically done manually by querying the train network directory on the ETBN device or directly on the peer device to obtain the subnet identifier of the peer device's ECN. Furthermore, after ETBN devices reconnect to train sets, the subnet identifier of the peer device's ECN needs to be obtained again to calculate the IP address of the peer device after R-NAT translation. Clearly, this manual query method is not only inefficient but also prone to errors. Summary of the Invention

[0004] This invention provides an address management method and apparatus, an address acquisition method and apparatus, a device and system, which can automatically manage the domain name and IP address of terminal devices after ETBN grouping and reconnection without manual assistance.

[0005] On one hand, embodiments of the present invention provide an address management method, the method comprising:

[0006] The first ETBN device receives a first message sent by the terminal device. The first message carries the domain name and IP address of the terminal device. The IP address is the IP address of the terminal device after conversion according to the subnet identifier of its ECN. The first ETBN device is an ETBN device designated as a DNS server.

[0007] The first message is parsed to obtain the parsing result;

[0008] Based on the resolution results, the domain name and IP address are provided to all terminal devices.

[0009] Optionally, the method further includes: when all ETBN devices enter the initial operating state, sending a status notification message to the attached ECN, wherein the status notification message carries ETBN device operating status indication information and ECN subnet identifier.

[0010] Optionally, all ETBN devices send status notification messages to the attached ECN at a first set period.

[0011] Optionally, the status notification message is a TRDP message.

[0012] Optionally, providing the domain name and IP address to all terminal devices based on the resolution result includes: the first ETBN device configuring the resolution result into the DNS database so that terminal devices can request and obtain the domain name and IP address of a specified terminal device.

[0013] Optionally, providing domain names and IP addresses to all terminal devices based on the resolution result further includes: the first ETBN device sending an address notification message to all ECNs, the address notification message including the domain names and IP addresses of all terminal devices in the DNS database.

[0014] Optionally, the first ETBN device sends address notification messages to all ECNs according to a second preset period.

[0015] On the other hand, embodiments of the present invention also provide an address acquisition method, the method comprising:

[0016] The terminal device receives a status notification message sent by the ETBN side, the status notification message carrying ETBN device operating status indication information and ECN subnet identifier;

[0017] Parse the status notification message to obtain the ETBN device operating status indication information and the ECN subnet identifier;

[0018] If the ETBN device operation status indication information indicates a normal state, then the converted IP address is determined according to the ECN subnet identifier;

[0019] Send a first message to a pre-configured first ETBN device, the first message carrying the domain name and IP address of the terminal device.

[0020] Optionally, the first message is a TRDP message.

[0021] Optionally, the method further includes: the terminal device requesting the domain name and IP address of the specified terminal from the first ETBN device.

[0022] Optionally, the method further includes:

[0023] The terminal device receives an address notification message sent by the first ETBN device, the address notification message including the domain names and IP addresses of all terminal devices in the DNS database;

[0024] Parse the address notification message to obtain the domain names and IP addresses of all terminal devices.

[0025] On the other hand, embodiments of the present invention also provide an address management device, the device comprising:

[0026] The message receiving module is used to receive a first message sent by the terminal device. The first message carries the domain name and IP address of the terminal device. The IP address is the IP address of the terminal device after conversion according to the subnet identifier of its ECN.

[0027] The message parsing module is used to parse the first message and obtain the parsing result;

[0028] The DNS service module is used to provide domain names and IP addresses to all terminal devices based on the resolution results.

[0029] Optionally, the device further includes: a message sending module, used to send a status notification message to the mounted ECN when entering the initial operating state, the status notification message carrying ETBN device operating status indication information and ECN subnet identifier.

[0030] Optionally, the DNS service module is specifically used to configure the resolution result into the DNS database so that the terminal device can request and obtain the domain name and IP address of the specified terminal device.

[0031] Optionally, the message sending module is further configured to send an address notification message to all ECNs, the address notification message including the domain names and IP addresses of all terminal devices in the DNS database.

[0032] On the other hand, embodiments of the present invention also provide an address acquisition device, the device comprising:

[0033] The receiving module is used to receive status notification messages sent by the ETBN side, wherein the status notification messages carry ETBN device operating status indication information and ECN subnet identifier;

[0034] The parsing module is used to parse the status notification message to obtain the ETBN device operating status indication information and the ECN subnet identifier;

[0035] The address translation module is used to determine its translated IP address based on the subnet identifier of the ECN when the ETBN device operation status indication information indicates that it is in a normal state.

[0036] The sending module is used to send a first message to a pre-configured first ETBN device, wherein the first message carries the domain name and IP address of the terminal device.

[0037] Optionally, the device further includes a query module for querying the DNS database on the first ETBN device to obtain the domain name and IP address of the specified terminal.

[0038] Optionally, the receiving module is further configured to receive an address notification message sent by the first ETBN device, the address notification message including the domain names and IP addresses of all terminal devices in the DNS database; the resolving module is further configured to parse the address notification message to obtain the domain names and IP addresses of all terminal devices.

[0039] On the other hand, embodiments of the present invention also provide an ETBN device, including the address management device as described above.

[0040] On the other hand, embodiments of the present invention also provide a terminal device, including the address acquisition device as described above.

[0041] On the other hand, embodiments of the present invention also provide a train formation 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 connected to 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, wherein the IP address is the IP address of the peer device after conversion based on the subnet identifier of the ECN to which it belongs;

[0042] The first ETBN device includes the address management device as described above, and the other ETBN devices include the address management device as described above;

[0043] The terminal device includes the address acquisition device as described above.

[0044] The address management method and apparatus, as well as the address acquisition method and apparatus provided in this invention embodiment, designate one of the ETBN devices (i.e., the first ETBN device) as a DNS server. The first ETBN device collects the domain names and IP addresses of the terminal devices based on the first message reported by the terminal devices, and provides the collected domain names and IP addresses of the terminal devices to all terminal devices in the network. Furthermore, since the first ETBN device acts as a DNS server, the domain names and IP addresses of the terminal devices collected from the first message can be configured in the DNS database. Thus, if a terminal device supports DNS, it can directly request the domain name and IP address of the specified terminal device from the DNS server. Further, considering that some terminal devices may not support DNS, the first ETBN device sends an address notification message carrying the domain names and IP addresses of all terminal devices in the DNS database to all ECNs; correspondingly, the terminal devices can obtain the domain names and IP addresses of all terminal devices through this address notification message. As can be seen, by using the solution of this invention, after ETBN grouping and reconnection, the management of terminal device domain names and IP addresses can be automatically completed without manual assistance, so that each terminal device can easily and conveniently obtain the domain name and IP address of the peer device that needs to communicate, and there is no need to calculate based on the subnet identifier of the ECN to which the peer device belongs, making communication between terminal devices more convenient. Attached Figure Description

[0045] Figure 1 This is a schematic diagram of the communication process between existing ECN terminal devices;

[0046] Figure 2 This is a flowchart of an address management method according to an embodiment of the present invention;

[0047] Figure 3 This is a flowchart of the address acquisition method according to an embodiment of the present invention;

[0048] Figure 4 This is a schematic diagram of the address management device according to an embodiment of the present invention;

[0049] Figure 5 This is another structural schematic diagram of the address management device according to an embodiment of the present invention;

[0050] Figure 6 This is a schematic diagram of the address acquisition device according to an embodiment of the present invention;

[0051] Figure 7 This is a schematic diagram of the interaction between ETBN devices and terminal devices in the train formation network system of this embodiment of the invention. Detailed Implementation

[0052] To enable those skilled in the art to better understand the embodiments of the present invention, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings and implementation methods.

[0053] During initial startup, ETBN devices run TTDP (Train Topology Discovery Protocol) to discover all ETBN devices on the ETB and establish a train network directory. The train network directory mainly includes the following information: CstUUID, CNId, Subnet Id, ETBNId, and CstOrientation. Among these:

[0054] CstUUID is a universally unique identifier for train formations, used to identify different train formations;

[0055] CNId is the identifier for the marshalling network;

[0056] SubnetId is the subnet identifier, used to identify each train formation subnet;

[0057] ETBNId is the ETBN identifier;

[0058] CstOrientation refers to the direction of train formation.

[0059] As an ETBN device, after completing topology discovery and forming a train network directory, the switch performs network configuration based on the train network directory information. The network configuration work mainly includes: issuing IP addresses to the ETB side and ECN side, establishing routing tables and multicast tables for ETB and ECN communication, and configuring the ECN side DHCP (Dynamic Host Configuration Protocol) server, etc.

[0060] R-NAT translates IP addresses by having the switch acting as an ETBN (Electronic Network Protocol) map the source IP address of a terminal device to the IP address segment of its ECN gateway. The terminal device's IP address is divided into a network segment and a host segment. During R-NAT address translation, the network segment is mapped, while the host segment is retained. For example, if the terminal device's source IP address is 10.0.0.6 / 18 and its ECN gateway's IP address is 10.128.64.1 / 18, the R-NAT-translated IP address for the terminal device will be 10.128.64.6 / 18. When two terminal devices communicate, they need to use the R-NAT-translated IP address of the other device to complete the communication. Figure 1As shown, the source IP address of terminal device ED2 is 10.0.0.2, and the IP address after R-NAT translation 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 translation is 10.128.192.5. When terminal device ED2 communicates with terminal device ED5, it sends an Ethernet packet to the destination address DA: 10.128.192.5. After receiving the Ethernet packet, the ECN gateway to which terminal device ED5 belongs forwards the Ethernet packet 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 packet to terminal device ED2 is similar to the above and will not be described again.

[0061] After an ETBN performs a train network reconnection, the train network directory is re-established, the ECN subnet identifiers are reassigned, and the R-NAT mapping relationships need to be modified accordingly. Whether it's the initial train network connection of the ETBN or a reconnection, when two terminal devices need to communicate, they 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 translation based on this subnet identifier. Current technologies use manual querying to obtain the subnet identifier. For example, they might query the train network directory on the local ETBN based on the other device's UUID, ETBN, and CN to obtain the subnet identifier (SubnetId) of the ECN to which the other device belongs, or directly query the train network directory on the ETBN to which the other device belongs, or directly query the ECN subnet identifier of the ECN to which the other device belongs.

[0062] Regardless of the query method mentioned above, there are problems of low efficiency and easy error. To address this, this invention provides a method, device and system for obtaining the address of a train formation network terminal device. Instead of manual inspection, the ETBN device and the terminal device work together to automatically complete the configuration of the terminal device's domain name and IP address.

[0063] like Figure 2 The diagram shown is a flowchart of an address management method according to an embodiment of the present invention. This method is used in train formation networks and includes the following steps:

[0064] Step 201: The first ETBN device receives a first message sent by the terminal device. The first message carries the domain name and IP address of the terminal device. The IP address is the IP address converted by the terminal device according to the subnet identifier of its ECN. The first ETBN device is an ETBN device designated as a DNS server.

[0065] It should be noted that in this embodiment of the invention, the domain name of the terminal device will not change due to grouping and reconnection, while The IP addresses of terminal devices may change after grouping and reconnection. Identifying the specific terminal device requires checking its domain name. This is determined by the specific requirements. Therefore, the terminal device needs to report its domain name and IP address together to the first ETBN device.

[0066] Step 202: Parse the first message to obtain the parsing result.

[0067] Step 203: Provide the domain name and IP address to all terminal devices based on the resolution result.

[0068] It should be noted that when all ETBN devices enter the initial operating state, they need to send a status notification message to the ECNs they are connected to. Specifically, this status notification message can be sent via multicast, and the message can use TRDP (Train Real-time Data Protocol). This ensures that the terminal devices in each connected ECN receive the status notification message.

[0069] The status notification message carries ETBN device operating status indication information and ECN subnet identifier. Accordingly, after receiving the status notification message, the terminal device can calculate the IP address after R-NAT translation based on the subnet identifier of its ECN.

[0070] ETBN terminal devices can send the status notification messages according to a first set period, which can be configured as needed, for example, it can be set to 10 seconds by default.

[0071] Since the first ETBN device is designated as a DNS server, it can configure the domain names and IP addresses of each terminal device obtained from parsing the first message into the DNS database. When a terminal device requests the domain name and IP address of a specified terminal device from the first ETBN device, the first ETBN device queries the DNS database to obtain the domain name and IP address of the specified terminal device and sends them to the terminal device.

[0072] Furthermore, considering that some terminal devices may not support DNS, in order to enable these terminal devices to easily obtain the domain names and IP addresses of other terminal devices, the first ETBN device can also send an address notification message to all ECNs. Specifically, this can be done via broadcast, for example, through the TRDP (Train Real-time Data Protocol). The address notification message includes the domain names and IP addresses of all terminal devices in the DNS database, thus allowing each terminal device to obtain the domain names and IP addresses of all terminal devices carried in the address notification message.

[0073] It should be noted that, in order to ensure that each terminal device correctly receives the above address notification message, it can be sent according to the second set period. The second set period can be configured as needed, for example, it can be set to 30 seconds by default.

[0074] Accordingly, this embodiment of the invention also provides an address acquisition method. Using this method, terminal devices in a train formation network can easily and conveniently obtain the domain name and IP address of a specified terminal device, thereby facilitating communication between terminal devices in different ECNs.

[0075] like Figure 3 The diagram shown is a flowchart of an address acquisition method according to an embodiment of the present invention, including the following steps:

[0076] Step 301: The terminal device receives a status notification message sent by the ETBN side. The status notification message carries ETBN device operating status indication information and ECN subnet identifier.

[0077] Step 302: Parse the status notification message to obtain the ETBN device operating status indication information and the ECN subnet identifier.

[0078] Step 303: If the ETBN device operation status indication information indicates a normal state, then determine its converted IP address based on the ECN subnet identifier.

[0079] Step 304: Send a first message to the pre-configured first ETBN device, the first message carrying the domain name and IP address of the terminal device.

[0080] In practical applications, the first message can be a TRDP message. To ensure the correct transmission of the first message, the terminal device can resend the first message, for example, 2-3 times.

[0081] Since the first ETBN device is configured as a DNS server, in a non-limiting embodiment, when the terminal device needs to obtain the domain name and IP address of other terminal devices, if the terminal device supports DNS, it can send a request message to the first ETBN device to obtain the domain name and IP address of the specified terminal device from the DNS database of the first ETBN device.

[0082] In another non-limiting embodiment, the first ETBN device can also proactively send all terminal devices and their IP addresses from the DNS database to each terminal device, i.e., the first ETBN device sends an address notification message as described above. Accordingly, after receiving the address notification message, each terminal device parses it to obtain the domain names and IP addresses of all terminal devices. This allows it to select the peer device to communicate with and send communication messages to its corresponding IP address, thus achieving communication with the peer device.

[0083] It should be noted that, for the sake of standardization and ease of use, the above messages can be named as follows:

[0084] Status notification message: Comid1000;

[0085] First message: Comid1001;

[0086] Address notification message: Comid1002.

[0087] Accordingly, embodiments of the present invention also provide an address management device, such as... Figure 4 The diagram shown is a structural schematic of the device.

[0088] The address management device 400 provided in this embodiment includes the following modules:

[0089] The message receiving module 401 is used to receive a first message sent by the terminal device. The first message carries the domain name and IP address of the terminal device. The IP address is the IP address of the terminal device after conversion according to the subnet identifier of its ECN.

[0090] The message parsing module 402 is used to parse the first message and obtain the parsing result;

[0091] DNS service module 403 is used to provide domain names and IP addresses to all terminal devices based on the resolution results. Specifically, the resolution results are configured in the DNS database so that terminal devices can request and obtain the domain name and IP address of a specified terminal device.

[0092] like Figure 5 As shown, in another embodiment of the address management device of the present invention, the address management device 400 further includes: a message sending module 404, used to send a status notification message to the mounted ECN when entering the initial operating state, wherein the status notification message carries ETBN device operating status indication information and ECN subnet identifier.

[0093] Furthermore, in order to enable terminal devices that do not support DNS to obtain the IP addresses of other terminal devices, the message sending module 404 is also used to send address notification messages to all ECNs, the address notification messages including the domain names and IP addresses of all terminal devices in the DNS database.

[0094] Accordingly, embodiments of the present invention also provide an address acquisition device, such as... Figure 6 The diagram shown is a structural schematic of the device. The address acquisition device 600 includes the following modules:

[0095] The receiving module 601 is used to receive a status notification message sent by the ETBN side, wherein the status notification message carries ETBN device operating status indication information and ECN subnet identifier;

[0096] The parsing module 602 is used to parse the status notification message to obtain the ETBN device operating status indication information and the ECN subnet identifier;

[0097] The address translation module 603 is used to determine its translated IP address based on the subnet identifier of the ECN when the ETBN device operation status indication information indicates that it is in a normal state.

[0098] The sending module 604 is used to send a first message to a pre-configured first ETBN device, wherein the first message carries the domain name and IP address of the terminal device.

[0099] In one non-limiting embodiment, the apparatus further includes a query module (not shown) for querying the DNS database on the first ETBN device to obtain the domain name and IP address of the specified terminal.

[0100] In another non-limiting embodiment, the receiving module 601 is further configured to receive an address notification message sent by the first ETBN device, the address notification message including the domain names and IP addresses of all terminal devices in the DNS database; correspondingly, the parsing module 602 is further configured to parse the address notification message to obtain the domain names and IP addresses of all terminal devices.

[0101] It should be noted that the address management device in the above embodiments can be applied to ETBN devices; that is, the embodiments of the present invention also provide an ETBN device including the above-described address management device. The address acquisition device in the above embodiments can be applied to terminal devices; that is, the embodiments of the present invention also provide a terminal device including the above-described address acquisition device.

[0102] Accordingly, this embodiment of the invention also provides a train formation network system, which includes: one or more ETBN devices, wherein a first ETBN device is designated as a DNS server, one or more ECNs are connected to the ETBN device, and each ECN has one or more terminal devices, wherein 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, wherein the IP address is the IP address of the peer device after conversion according to the subnet identifier of the ECN to which it belongs.

[0103] Figure 7 The interaction process between ETBN devices and terminal devices in the train formation network system according to an embodiment of the present invention is illustrated.

[0104] Configure ETBN2 as the DNS server with its IP address 10.128.0.2. If the terminal device supports DNS services, configure the DNS server address to 10.128.0.2.

[0105] All ETBN devices are running TTDP and entering the initial operational state. Each ETBN device sends a TRDP message with Comid1000 to its respective ECN, announcing that it has entered the initial operational state and carrying the ECN's subnet identifier (Subnetid). Figure 7 As shown, the Subnetid in the Comid1000 message sent by ETBN1 is 1, and the Subnetid in the Comid1000 message sent by ETBN3 is 3.

[0106] After receiving the Comid1000 message, the terminal device ED parses and obtains the Subnetid, binds its own DNS domain name address with the address converted according to the Subnetid, and sends it to the ETBN2 device via TRDP Comid1001.

[0107] After receiving the Comid1001 message, ETBN2 resolves and obtains the domain name address and IP address, and configures them in the DNS server database.

[0108] Furthermore, ETBN2 announces the domain names and IP addresses in the database to all ECNs via TRDPComid1002;

[0109] When the terminal device ED receives the TRDPComid1002 message, it can obtain the IP addresses of all terminal devices in the subnet.

[0110] The technical solution provided by this invention allows for the automatic management of terminal device domain names and IP addresses through message interaction between ETBN devices and terminal devices after ETBN grouping and reconnection, without manual assistance. This enables each terminal device to easily and conveniently obtain the domain names and IP addresses of the peer devices that need to communicate, and also eliminates the need to calculate based on the subnet identifier of the ECN to which the peer device belongs, making communication between terminal devices more convenient.

[0111] It should be noted that the terms "comprising" and "having" and any variations thereof in the specification, claims and accompanying drawings of this invention are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such processes, methods, products or devices.

[0112] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on its differences from other embodiments. Furthermore, the system embodiments described above are merely illustrative. The modules and units described as separate components may or may not be physically separate; that is, they may be located on a single network unit or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0113] The embodiments of the present invention have been described in detail above. Specific implementation methods have been used to illustrate the present invention. The descriptions of the embodiments above are merely for the purpose of helping to understand the method and apparatus of the present invention, and are only a part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention, and the content of this specification should not be construed as a limitation of the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. An address management method characterized by comprising: The method comprises: When all ETBN devices enter an initial running state, a state notification message is sent to a mounted ECN, wherein the state notification message carries ETBN device running state indication information and a subnet identifier of the ECN; A first ETBN device receives a first message sent by a terminal device, wherein the first message carries a domain name and an IP address of the terminal device, and the IP address is an IP address converted by the terminal device according to a subnet identifier of the ECN to which the terminal device belongs; the first ETBN device is an ETBN device designated as a DNS server; The first message is parsed to obtain a parsing result; A domain name and an IP address are provided to all terminal devices according to the parsing result, including that the first ETBN device configures the parsing result into a DNS database, so that a terminal device can request to obtain a domain name and an IP address of a designated terminal device.

2. The method of claim 1, wherein, All ETBN devices send a state notification message to a mounted ECN according to a first set period.

3. The method of claim 1, wherein, The state notification message is a TRDP message.

4. The method of claim 1, wherein, The domain name and the IP address provided to all terminal devices according to the parsing result further comprise: The first ETBN device sends an address notification message to all ECNs, wherein the address notification message includes domain names and IP addresses of all terminal devices in the DNS database.

5. The method of claim 4, wherein, The first ETBN device sends an address notification message to all ECNs according to a second set period.

6. An address acquisition method characterized by comprising: The method comprises: A terminal device receives a state notification message sent by an ETBN side, wherein the state notification message carries ETBN device running state indication information and a subnet identifier of an ECN; The state notification message is parsed to obtain the ETBN device running state indication information and the subnet identifier of the ECN; If the ETBN device running state indication information indicates a normal state, a converted IP address of the terminal device is determined according to the subnet identifier of the ECN; A first message is sent to a pre-configured first ETBN device, wherein the first message carries a domain name and an IP address of the terminal device, and the first ETBN device is an ETBN device designated as a DNS server; When the terminal device supports DNS query, a domain name and an IP address of a designated terminal are requested from the first ETBN device.

7. The method of claim 6, wherein, The first message is a TRDP message.

8. The method of claim 6, wherein, The method further comprises: The terminal device receives an address notification message sent by the first ETBN device, wherein the address notification message includes domain names and IP addresses of all terminal devices in a DNS database; The address notification message is parsed to obtain the domain names and the IP addresses of all terminal devices.

9. An address management apparatus characterized by comprising: The apparatus comprises: A message sending module is configured to send, by all ETBN devices, a state notification message to a mounted ECN when the ETBN devices enter an initial running state, wherein the state notification message carries ETBN device running state indication information and a subnet identifier of the ECN; The message receiving module is configured to receive a first message sent by a terminal device by the first ETBN device, the first message carrying a domain name and an IP address of the terminal device, the IP address being an IP address converted by the terminal device according to a subnet identification of the ECN to which the terminal device belongs; and the first ETBN device is an ETBN device designated as a DNS server. The message analyzing module is configured to analyze the first message to obtain an analysis result. The DNS service module is configured to provide the domain name and the IP address to all terminal devices according to the analysis result, including: the first ETBN device configuring the analysis result into a DNS database, so that the terminal devices request to obtain the domain name and the IP address of the designated terminal device.

10. An address acquisition apparatus characterized by comprising: The device comprises: The receiving module is configured to receive a state notification message sent by an ETBN side, the state notification message carrying ETBN device running state indication information and a subnet identification of an ECN. The analyzing module is configured to analyze the state notification message to obtain the ETBN device running state indication information and the subnet identification of the ECN. The address converting module is configured to determine an IP address converted by itself according to the subnet identification of the ECN when the ETBN device running state indication information indicates a normal state. The sending module is configured to send a first message to a first ETBN device pre-configured, the first message carrying a domain name and an IP address of a terminal device; and the first ETBN device is an ETBN device designated as a DNS server. The querying module is configured to query a DNS database on the first ETBN device to obtain the domain name and the IP address of the designated terminal device when the terminal device supports a DNS function, the DNS database including the domain name and the IP address sent by each terminal device.

11. An ETBN device, characterized by The address management device of claim 9 is included.

12. A terminal device, comprising: The address acquisition device of claim 10 is included.

13. A train consist network system, comprising: The system comprises: One or more ETBN devices, a first ETBN device of which is designated as a DNS server, the ETBN devices being hung with one or more ECNs, each ECN having one or more terminal devices, the terminal devices being pre-configured with an IP address of the first ETBN device; different terminal devices communicating according to IP addresses of opposite terminal devices, the IP addresses being IP addresses converted by the opposite terminal devices according to subnet identifications of ECNs to which the opposite terminal devices belong. The first ETBN device comprises the address management device of claim 9. The terminal device comprises the address acquisition device of claim 10.

Citation Information

Patent Citations

  • Vehicle-mounted equipment real-time addressing method and system based on Ethernet

    CN103561131A