CN108881511A - A kind of homogeneous network communication means - Google Patents

A kind of homogeneous network communication means Download PDF

Info

Publication number
CN108881511A
CN108881511A CN201810592915.4A CN201810592915A CN108881511A CN 108881511 A CN108881511 A CN 108881511A CN 201810592915 A CN201810592915 A CN 201810592915A CN 108881511 A CN108881511 A CN 108881511A
Authority
CN
China
Prior art keywords
cabin unit
etbn
address
message
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201810592915.4A
Other languages
Chinese (zh)
Inventor
吕金泉
徐文学
杨国文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Excellent Communication Technology Co Ltd
Original Assignee
Tianjin Excellent Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin Excellent Communication Technology Co Ltd filed Critical Tianjin Excellent Communication Technology Co Ltd
Priority to CN201810592915.4A priority Critical patent/CN108881511A/en
Publication of CN108881511A publication Critical patent/CN108881511A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Abstract

The present invention provides a kind of homogeneous network communication means, including:S1. the connection relationship between the multiple cabin unit ETBN of train is calculated using IEC61375-2-5 agreement, distributes network segment;S2. the communication equipment of cabin unit A sends DNS request message to its ETBN, requests the global ip address of purpose cabin unit B;S3.ETBN gives feedback;S4. cabin unit A sends IP packet to its ETBN, and source IP is private network IP address, and destination IP is the global ip address of the communication equipment of cabin unit B;S5. after the ETBN of cabin unit A receives message, NAT address conversion is carried out, and the message after conversion is sent to the ETBN of cabin unit B;S6. after the ETBN of cabin unit B receives message, NAT address conversion is carried out, cabin unit B is sent to;S7. the communication equipment of cabin unit B receives message.The present invention calculates global ip address using the method for train absolute position, greatlies simplify access rule, and carry out communication optimization.

Description

A kind of homogeneous network communication means
Technical field
The present invention relates to train communication technical fields, more particularly, to a kind of homogeneous network communication means.
Background technique
Currently, the modern means of communication (such as high-speed rail train) are usually spliced by multiple cabin units, each train institute The quantity for the cabin unit for including can be adjusted flexibly according to actual needs.The factory configuration of each cabin unit is identical , from the point of view of producing angle, production difficulty can be reduced in this way, reduce production configuration difficulty;From the point of view of safeguarding angle, train is made For the rapid wear facility that high intensity uses, scene can be extremely important with independent maintenance or replacement, the factory configuration of each cabin unit It is identical, the difficulty of some in field replaceable train or several cabin units can be greatly lowered, to reduce overall maintenance Cost.Realize above-mentioned target, it is desirable that each cabin unit terminal inside train must map to a virtual global I P (Internet Protocol, the agreement interconnected between network) address.
IEC61375 protocol suite defines basic Train Communication Network, describes train Topology Discovery Protocol and DNS (Domain Name System, domain name system) domain name specification, the method for recommending two kinds of mapping global ip address:One is logical DHCP (Dynamic Host Configuration Protocol, dynamic host configuration protocol) mode is crossed, according to train topology Variation dynamically distributes global ip address to terminal;One is be ginseng by the spacing distance between access terminal and accessed terminal The virtual global I P mapping mechanism that number calculates.The shortcomings that first method is for the more demanding of terminal, and major part is whole at present Dynamic DHCP mode configuration of IP is not supported in end;The shortcomings that second method is that the access rule between terminal is complicated, needs basis Relative position calculates global ip address.
The information disclosed in the background technology section is intended only to deepen understanding of the general background technology to the present invention, and It is not construed as recognizing or implying in any form that the information constitutes the prior art known to those skilled in the art.
Summary of the invention
The purpose of the present invention is to provide a kind of homogeneous network communication means, to solve in train existing in the prior art Configure the technical problem of identical cabin unit access rule complexity in network communication.
In order to solve the above technical problems, a kind of homogeneous network communication means provided by the invention, the communication means include:
S1. multiple cabin unit ETBN (the Ethernet Train of train are calculated using IEC61375-2-5 agreement Backbone Node, Ethernet train backbone network node) between connection relationship, according to calculated result, so that each ETBN is successively It arranges and distributes network segment;
S2. wherein the communication equipment of cabin unit A requests purpose cabin unit B's to its ETBN transmission DNS request message The global ip address of communication equipment includes in the global ip address:The network segment of the ETBN of cabin unit B and cabin unit B's The host bit of communication equipment;
S3.ETBN feeds back the global ip address of the communication equipment of cabin unit B;
S4. the communication equipment of cabin unit A sends IP packet to its ETBN, and source IP is the private network IP of the communication equipment Location, destination IP are the global ip address of the communication equipment of cabin unit B;
S5. after the ETBN of cabin unit A receives message, NAT (Network Address Translation, net are carried out Network address conversion) source IP of message, is revised as the global ip address of the communication equipment of cabin unit B, destination IP by address conversion It remains unchanged, and the message after conversion is sent to the ETBN of cabin unit B;
S6. after the ETBN of cabin unit B receives message, NAT address conversion is carried out, the destination IP of message is revised as vehicle The private network IP address of the communication equipment of compartment unit B, source IP remain unchanged, and the message after conversion is sent to cabin unit B's Communication equipment;
S7. the communication equipment of cabin unit B receives message.
Further, the communication equipment of the communication equipment of cabin unit A and cabin unit B private network IP having the same Location.
Further, pass through ASIC (Application Specific Integrated in setting ETBN Circuit, specific integrated circuit) chip ACL (Access Control List, accesses control list) rule, from the end ECN The IP packet that mouth enters asic chip is forwarded to the port F1, and into FPGA, (Field-Programmable Gate Array shows Field programmable gate array) it handles, after FPGA carries out message NAT conversion, enter asic chip from the port F2, asic chip is according to road By list item, determines the port ETB of message forwarding and E-Packet.
By adopting the above technical scheme, the present invention has the advantages that:
Significant improvement is carried out on the basis of IEC61375 protocol suite, the overall situation is calculated using the method for train absolute position IP address greatlies simplify access rule, and carries out communication optimization.
Message NAT due to be related to message content conversion, need to modify message field (MFLD) and recalculate verification and, therefore, mesh Preceding existing NAT conversion is largely using software conversion regime, i.e. CPU receives message, according to the conversion of NAT rule and then The message is issued by CPU.The shortcomings that this mode is that conversion rate is slower, and it is larger to be delayed, and usual software NAT conversion rate exists 10M is hereinafter, convert time delay at 1 millisecond or more.Present invention employs hardware FPGA schemes to carry out NAT address conversion, conversion rate Reach 90M or more, converts time delay in 50 microseconds hereinafter, greatly improving NAT conversion performance.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is that terminal message of the invention passes through switch processes schematic diagram.
Specific embodiment
Technical solution of the present invention is clearly and completely described below in conjunction with attached drawing, it is clear that described implementation Example is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that term " center ", "upper", "lower", "left", "right", "vertical", The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely to Convenient for description the present invention and simplify description, rather than the device or element of indication or suggestion meaning must have a particular orientation, It is constructed and operated in a specific orientation, therefore is not considered as limiting the invention.In addition, term " first ", " second ", " third " is used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance.
In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, term " installation ", " phase Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also can be indirectly connected through an intermediary Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood as the case may be Concrete meaning in the present invention.
Below in conjunction with attached drawing, detailed description of the preferred embodiments.It should be understood that this place is retouched The specific embodiment stated is merely to illustrate and explain the present invention, and is not intended to restrict the invention.
It is carried out specifically by taking the communication process between two cabin units as an example in the present embodiment, cabin unit:Unit one, Unit two calculate the connection relationship between the multiple cabin unit ETBN of train using IEC61375-2-5 agreement, tie according to calculating Fruit, so that each ETBN is arranged successively and distributes network segment, such as a unit ETBN (10.128.64.1), two unit ETBN (10.128.128.1);The IP address of the network equipment of two unit subordinaties is identical, such as the CCU_IP=of two units 10.1.0.100.Assuming that a unit CCU (abbreviation CCU_U1) needs to carry out IP packet communication with two units (abbreviation CCU_U2), lead to Letter process is as follows:
(1) CCU_U1 sends DNS request message to ETBN, requests the IP address of CCU_U2;
(2) it is 10.128.128.100 that ETBN, which returns to the IP address of CCU_U2,;
(3) CCU_U1 sends IP packet, source IP 10.1.0.100, destination IP 10.128.128.100 to ETBN;
After (4) one unit ETBN receive message, NAT address conversion is carried out, source IP is revised as 10.128.128.100, Destination IP remains unchanged;Message after NAT is converted is sent to two unit ETBN;
After (5) two unit ETBN receive message, NAT address conversion is carried out, destination IP is revised as 10.1.0.100, source IP is remained unchanged;Message after NAT is converted is sent to CCU_U2;
(6) after CCU_U2 receives message, if necessary to reply message, the process flow and request message of message are replied Process is similar, and the source IP of returned packet is 10.1.0.100, destination IP 10.128.64.100.
As shown in Figure 1, the specific implementation step of homogeneous network communication means of the invention is as follows:
(1) connection relationship between the multiple unit ETBN of train is calculated using IEC61375-2-5 agreement, is tied according to calculating Fruit makes each ETBN be arranged successively (abbreviation ETBN_TU1, ETBN_TU2...), and wherein ETBN number is TUx;
(2) XML configuration file, initialization terminal private network IP, it is ensured that each terminal has unique private network in this unit are loaded IP;
(3) network segment is distributed to ETBN, network segment allocation rule is as follows:ETBN network segment=10.128.0.0+ (TUx<<18);
(4) VLAN 1 is created, includes the port ETB1, the port ETB2, the port F2;
(5) VLAN 492 is created, includes the port ETB1, the port ETB2;
(6) VLAN 1001 is created, includes the port ECN, cpu port, the port F1
(7) acl rule 1 is created:
If (MuIP &255.255.192.0) is equal to this ETBN network segment, then is forwarded to the port F2;
(8) acl rule 2 is created:
If (MuIP &255.255.192.0) is not equal to this ETBN network segment, then is forwarded to the port F1;
(9) FPGA transformation rule 1:
If (MuIP &255.255.192.0) is equal to this ETBN network segment, then destination IP=10.1.0.0+ message destination IP Low 14;It is forwarded to the port F1 simultaneously;
(10) FPGA transformation rule 2:
If (MuIP &255.255.192.0) is not equal to this ETBN network segment, then source IP=10.128.0.0+ message source IP Low 14;It is forwarded to the port F2 simultaneously.
In Fig. 1 1. -8. characterize is processing sequence that message is sent to ETBN_TU2 from ETBN_TU1.By the way that ETBN is arranged The acl rule of middle asic chip, the IP packet for entering asic chip from the port ECN are forwarded to the port F1, handle into FPGA, After FPGA carries out message NAT conversion, enter asic chip from the port F2, asic chip determines the end message ETB according to route table items Mouthfuls 2 forwardings and E-Packet.
The present invention calculates global ip address using train absolute position method, greatlies simplify access rule.
Message NAT due to be related to message content conversion, need to modify message field (MFLD) and recalculate verification and, therefore, mesh Preceding existing NAT conversion is largely using software conversion regime, i.e. CPU receives message, according to the conversion of NAT rule and then The message is issued by CPU.The shortcomings that this mode is that conversion rate is slower, and it is larger to be delayed, and usual software NAT conversion rate exists 10M is hereinafter, convert time delay at 1 millisecond or more.Present invention employs hardware FPGA schemes to carry out NAT address conversion, conversion rate Reach 90M or more, converts time delay in 50 microseconds hereinafter, greatly improving NAT conversion performance.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Present invention has been described in detail with reference to the aforementioned embodiments for pipe, those skilled in the art should understand that:Its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (3)

1. a kind of homogeneous network communication means, which is characterized in that the communication means includes:
S1. the connection relationship between the multiple cabin unit ETBN of train is calculated using IEC61375-2-5 agreement, is tied according to calculating Fruit, so that each ETBN is arranged successively and distributes network segment;
S2. wherein the communication equipment of cabin unit A requests the communication of purpose cabin unit B to its ETBN transmission DNS request message The global ip address of equipment includes in the global ip address:The communication of the ETBN network segment and cabin unit B of cabin unit B is set Standby host bit;
S3.ETBN feeds back the global ip address of the communication equipment of cabin unit B;
S4. the communication equipment of cabin unit A sends IP packet to its ETBN, and source IP is the private network IP address of the communication equipment, mesh IP be cabin unit B communication equipment global ip address;
S5. after the ETBN of cabin unit A receives message, NAT address conversion is carried out, the source IP of message is revised as cabin unit The global ip address of the communication equipment of B, destination IP remain unchanged, and the message after conversion is sent to the ETBN of cabin unit B;
S6. after the ETBN of cabin unit B receives message, NAT address conversion is carried out, the destination IP of message is revised as compartment list The private network IP address of the communication equipment of first B, source IP remain unchanged, and the message after conversion is sent to the communication of cabin unit B Equipment;
S7. the communication equipment of cabin unit B receives message.
2. communication means as described in claim 1, which is characterized in that the communication equipment of cabin unit A and leading to for cabin unit B Believe equipment private network IP address having the same.
3. communication means as described in claim 1, which is characterized in that by the way that the acl rule of asic chip in ETBN is arranged, from The IP packet that the port ECN enters asic chip is forwarded to the port F1, into FPGA processing, after FPGA carries out message NAT conversion, from The port F2 enters asic chip, and asic chip determines the port ETB of message forwarding and E-Packet according to route table items.
CN201810592915.4A 2018-06-11 2018-06-11 A kind of homogeneous network communication means Withdrawn CN108881511A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810592915.4A CN108881511A (en) 2018-06-11 2018-06-11 A kind of homogeneous network communication means

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810592915.4A CN108881511A (en) 2018-06-11 2018-06-11 A kind of homogeneous network communication means

Publications (1)

Publication Number Publication Date
CN108881511A true CN108881511A (en) 2018-11-23

Family

ID=64338710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810592915.4A Withdrawn CN108881511A (en) 2018-06-11 2018-06-11 A kind of homogeneous network communication means

Country Status (1)

Country Link
CN (1) CN108881511A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109391566A (en) * 2019-01-08 2019-02-26 广州众志诚信息科技有限公司 ETBN backbone switches core board, control method and device
CN111083029A (en) * 2019-11-28 2020-04-28 株洲中车时代软件技术有限公司 Train Ethernet-based cross-marshalling data transmission method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050086373A1 (en) * 2003-10-16 2005-04-21 International Business Machines Corporation Accessing data processing systems behind a NAT enabled network
CN103561131A (en) * 2013-11-11 2014-02-05 南车株洲电力机车研究所有限公司 Vehicle-mounted equipment real-time addressing method and system based on Ethernet
CN103905579A (en) * 2012-12-28 2014-07-02 中国移动通信集团公司 Method and system for communication between platform and terminal, platform and relevant devices
CN106627597A (en) * 2017-01-04 2017-05-10 中车青岛四方机车车辆股份有限公司 Railway vehicle marshalling method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050086373A1 (en) * 2003-10-16 2005-04-21 International Business Machines Corporation Accessing data processing systems behind a NAT enabled network
CN103905579A (en) * 2012-12-28 2014-07-02 中国移动通信集团公司 Method and system for communication between platform and terminal, platform and relevant devices
CN103561131A (en) * 2013-11-11 2014-02-05 南车株洲电力机车研究所有限公司 Vehicle-mounted equipment real-time addressing method and system based on Ethernet
CN106627597A (en) * 2017-01-04 2017-05-10 中车青岛四方机车车辆股份有限公司 Railway vehicle marshalling method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
岳丽全等: "基于ETB的列车通信网编址和寻址方法", 《计算机应用》 *
汪顺德等: "基于ETB列车网络地址转换方法研究", 《铁道机车车辆》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109391566A (en) * 2019-01-08 2019-02-26 广州众志诚信息科技有限公司 ETBN backbone switches core board, control method and device
CN111083029A (en) * 2019-11-28 2020-04-28 株洲中车时代软件技术有限公司 Train Ethernet-based cross-marshalling data transmission method and device

Similar Documents

Publication Publication Date Title
US10615997B2 (en) In-vehicle gateway device
US10110490B2 (en) Method and apparatus for forwarding packet
CN107465590A (en) Network infrastructure system, the method for route network traffic and computer-readable medium
US9565034B2 (en) System and method for scalable inter-domain overlay networking
CN107733795B (en) Ethernet virtual private network EVPN and public network intercommunication method and device
JP6353377B2 (en) Railway vehicle network system
US9900238B2 (en) Overlay network-based original packet flow mapping apparatus and method therefor
US20020184388A1 (en) Layered approach to virtual private routing
EP2596603B1 (en) Ethernet switch and method for routing ethernet data packets
CN109327374B (en) System and method for realizing three-layer VPN network access
CN106921573B (en) NVo3 method and device for issuing tenant route in network
CN108881511A (en) A kind of homogeneous network communication means
CN108512755B (en) Method and device for learning routing information
JP6323444B2 (en) COMMUNICATION SYSTEM, CONTROL DEVICE, COMMUNICATION METHOD, AND PROGRAM
CN105933235B (en) Data communications method and device
US20160127229A1 (en) Packet data routing
CN108696370A (en) A kind of server and business-binding reconciliation binding method, apparatus and system
US10382330B2 (en) System for the routing of data to computer networks
CN103873372B (en) Policy-routing system based on domain name and method to set up
CN106034079B (en) A kind of method for configuring route, service routing method and core router
CN109729010B (en) Method, equipment and system for determining traffic transmission path in network
CN109218191B (en) System and method for enabling multicast packets to traverse non-multicast networks
WO2006098043A1 (en) Network system and network connection device
JP2015231212A (en) Data transfer system, data transfer server, data transfer method, and program
CN108881510A (en) A kind of homogeneous network domain name management method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20181123

WW01 Invention patent application withdrawn after publication