CN105099743B - A kind of train redundancy Dynamic Configuration and system - Google Patents
A kind of train redundancy Dynamic Configuration and system Download PDFInfo
- Publication number
- CN105099743B CN105099743B CN201410212407.0A CN201410212407A CN105099743B CN 105099743 B CN105099743 B CN 105099743B CN 201410212407 A CN201410212407 A CN 201410212407A CN 105099743 B CN105099743 B CN 105099743B
- Authority
- CN
- China
- Prior art keywords
- subnet
- backbone switch
- redundancy
- port
- backbone
- 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.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A kind of train redundancy Dynamic Configuration of offer of the embodiment of the present invention and system, in the method, the first backbone switch judges whether itself is located at train head or tailstock position;When it is to be to judge result, the first backbone switch is identified by subnet redundant line the second backbone switch connected to it;Second backbone switch blocks the second subnet redundancy port of itself according to the first subnet redundancy port being connect with the first backbone switch by subnet redundant line.Due to being attached by subnet redundant line between each backbone switch in embodiments of the present invention, the subnet port of each backbone switch respectively with subnet redundancy first port and second port bypass, by the way that the one of subnet redundancy port obstruction of backbone switch is arranged, complete the mutual backup of adjacent backbone switch, to realize the dynamic redundancy configuration of backbone switch, the reliability that ensure that train Ethernet improves the flexibility of train networking.
Description
Technical field
The present invention relates to train ethernet technology field more particularly to a kind of train redundancy Dynamic Configurations and system.
Background technology
Traditional CAN bus technology cannot fully meet the information communication requirement of train, and fieldbus is logical first
News rate is relatively low, and the information content once transmitted is less, cannot meet the transmission demand of large information capacity;Secondly because equipment is continuous
Update, network topology become increasingly complex, and the networking flexibility of fieldbus is poor;And with train supervision and the hair of detection technique
Exhibition, fieldbus cannot be satisfied the requirement that more equipment need and ground installation is communicated.Therefore, with ethernet technology
Rapid development, Industrial Ethernet be substituted traditional CAN bus be widely used in train communication in.
Currently, industrial Ethernet technology is topological for train using a kind of fairly perfect method in train communication system
It was found that agreement (Train Topology Discovery Protocol, TTDP) technology, the technology mainly define train ether
The topology of net backbone network and discovery.Static redundancy backup has been carried out to backbone switch in its topological mode, it is main to provide
It is as follows:
1. a train is made of at least one vehicle group, there may be more piece compartment in each vehicle group, relative to network, each
Vehicle group possesses at least one backbone switch;
It is cascaded 2. backbone switch polymerize line by 2~4 main lines, composition backbone side network, same
In VLAN, the bypass functions of being provided by trunk port by a plurality of main line polymerization line realize the redundancy of main line;
3. each backbone switch configures a business subnet, composition sub-network side (Consist Network, CN), with bone
Dry net is in the different vlans;
4. when needing to carry out redundancy to backbone switch, by two backbone switch configurations in same subnet, and will
The sub-network side of two backbone switch links together, and realizes the backup functionality of gateway on software by configuring VRRP;
5. system automatically configures the backbone net side IP of each interchanger, the configuration of sub-network side IP, VRRP, road after initialization operation
By generation, dynamic host configuration protocol (Dynamic Host Configuration Protocol, DHCP) and other clothes
Business.
6. when main backbone switch power down, main line polymerize line and starts bypass functions, and the backbone for being directed through power down is handed over
It changes planes, backbone net side can physically restore communication, and sub-network side is physically connected to two backbone switch, directly can be with
Restore, backbone net side and sub-network side realize the switching of gateway all by VRRP agreements on software.
As shown, Fig. 1 is a networking structure schematic diagram of current TTDP technologies, train by vehicle group T1, vehicle group T2 and
Vehicle group T3 is formed, and includes backbone switch S1~S3 in vehicle group T1, and vehicle group T2 includes backbone switch S4, and vehicle group T3 includes backbone
Interchanger S5 and S6, equipment E1~E6 hang over the terminal device of backbone switch S1~S6 under being respectively, wherein dispatch from the factory in vehicle group
The preceding subnet of backbone switch S1 and backbone switch S2 in vehicle group 1 are connected together by static configuration forms VLAN1, real
The mutual backup of two backbone switch is showed.Similarly by static configuration by the backbone switch 5 and backbone in vehicle group T3
Interchanger 6, which forms VLAN4, can also realize mutual backup, but the backbone in the backbone switch S3 and vehicle group T2 in vehicle group T1 is handed over
The VLAN2 and VLAN3 that the S4 that changes planes respectively is formed cannot achieve redundant backup function.
It therefore, can only be in each vehicle of the preceding static configuration of vehicle group manufacture in the prior art due to the regulation on Protocol Design
The redundancy between each backbone switch in group, the port connection that maintenance personnel is only very familiar with each interchanger are closed
System, can accurately just configure the redundancy of each backbone switch, to the more demanding of maintenance personnel, in addition, different vehicle groups it
Between due to belonging to different subnets, and cannot achieve the redundant backup function of backbone switch between vehicle group, but actually using
In the process, the vehicle group of train is because a variety of causes is frequently necessary to be recombinated, and relatively easily occurs in the junction of vehicle group
Failure, therefore, the method for existing static configuration backbone switch redundancy cannot be satisfied the demand of train flexible networking, waste
Human resources, and it is less efficient.
Invention content
A kind of train redundancy Dynamic Configuration of offer of the embodiment of the present invention and system, to solve train in the prior art
Can only before vehicle group is dispatched from the factory static configuration redundancy, the problem of cannot achieve train vehicle networking dynamic configuration redundancy.
The embodiment of the present invention provides a kind of train redundancy Dynamic Configuration, and subnet redundancy is connected between backbone switch
Line, the port that backbone switch is connect with subnet redundant line are respectively subnet redundancy first port and subnet redundancy second port,
The port that backbone switch is connect with terminal device be subnet port, subnet port respectively with subnet redundancy first port and subnet
Redundancy second port bypass, this method include:
First backbone switch judges whether itself is located at train head or tailstock position;
When the first backbone switch judges that itself is located at train head or tailstock position, the identification of the first backbone switch is logical
Cross subnet redundant line the second backbone switch connected to it;
Second backbone switch is according to the first subnet redundant side being connect with the first backbone switch by subnet redundant line
Mouthful, the second subnet redundancy port of itself is blocked.
The embodiment of the present invention provides a kind of train redundancy Dynamic Configuration, and subnet redundancy is connected between backbone switch
Line, the port that backbone switch is connect with subnet redundant line are respectively subnet redundancy first port and subnet redundancy second port,
The port that backbone switch is connect with terminal device be subnet port, subnet port respectively with subnet redundancy first port and subnet
Redundancy second port bypass, this method include:
What the first backbone switch was preserved according to itself carries out the ID of the second backbone switch of redundancy backup with it;
Identify whether the ID of backbone switch adjacent thereto is identical as the ID of the second backbone switch;
When the ID of interchanger backbone switch adjacent thereto is identical as the ID of the second backbone switch, the first bone
Dry interchanger is according to the subnet redundancy port being connect with the second backbone switch by subnet redundant line, by the other side of itself
Subnet redundancy port blocks.
The embodiment of the present invention provides a kind of train redundancy dynamic configuration system, and subnet redundancy is connected between backbone switch
Line, the port that backbone switch is connect with subnet redundant line are respectively subnet redundancy first port and subnet redundancy second port,
The port that backbone switch is connect with terminal device be subnet port, subnet port respectively with subnet redundancy first port and subnet
Redundancy second port bypass, the system include:
First backbone switch, for judging whether itself is located at train head or tailstock position;When judging itself to be located at
When train head or tailstock position, it is identified by subnet redundant line the second backbone switch connected to it;
Second backbone switch, for superfluous according to the first subnet being connect with the first backbone switch by subnet redundant line
The the second subnet redundancy port of itself is blocked in remaining port.
The embodiment of the present invention provides a kind of train redundancy dynamic configuration system, and subnet redundancy is connected between backbone switch
Line, the port that backbone switch is connect with subnet redundant line are respectively subnet redundancy first port and subnet redundancy second port,
The port that backbone switch is connect with terminal device be subnet port, subnet port respectively with subnet redundancy first port and subnet
Redundancy second port bypass, the system include:
First backbone switch carries out the second backbone switch of redundancy backup for being preserved according to itself with it
ID;Identify whether the ID of backbone switch adjacent thereto is identical as the ID of the second backbone switch;When adjacent thereto
When the ID of interchanger backbone switch is identical as the ID of the second backbone switch, the first backbone switch is according to passing through subnet
The subnet redundancy port that redundant line is connect with the second backbone switch blocks the subnet redundancy port of the other side of itself;
Second backbone switch, for sending the ID of itself to the first backbone switch by subnet redundant line.
A kind of train redundancy Dynamic Configuration of offer of the embodiment of the present invention and system, in the method, backbone switch
Between be connected with subnet redundant line, the port that backbone switch is connect with subnet redundant line is respectively subnet redundancy first port and son
Net redundancy second port, the port that backbone switch is connect with terminal device are subnet port, and subnet port is superfluous with subnet respectively
Remaining first port and subnet redundancy second port bypass, this method include:First backbone switch judges whether itself is located at
Train head or tailstock position;When the first backbone switch judges that itself is located at train head or tailstock position, the first backbone
Interchanger is identified by subnet redundant line the second backbone switch connected to it;Second backbone switch is according to superfluous by subnet
The first subnet redundancy port that remaining line is connect with the first backbone switch blocks the second subnet redundancy port of itself.Due to
It is attached in embodiments of the present invention by subnet redundant line between each backbone switch, the subnet end of each backbone switch
Mouth is one of sub by the way that backbone switch is arranged respectively with subnet redundancy first port and subnet redundancy second port bypass
Net redundancy port blocks, and completes the mutual backup of adjacent backbone switch, the dynamic redundancy to realize backbone switch is matched
It sets, ensure that the reliability of train Ethernet, improve the flexibility of train networking.
Description of the drawings
Fig. 1 is the networking structure schematic diagram of train network in the prior art;
Fig. 2 is a kind of train redundant strings Mobile state configuration process schematic diagram provided in an embodiment of the present invention;
Fig. 3 is that a kind of train redundant strings Mobile state provided in an embodiment of the present invention configures detailed process schematic diagram;
Fig. 4 is a kind of parallel Dynamic Configuration Process schematic diagram of train redundancy provided in an embodiment of the present invention;
Fig. 5 is a kind of networking structure schematic diagram of the parallel dynamic configuration of train redundancy provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram that a kind of train redundant strings Mobile state provided in an embodiment of the present invention configures system;
Fig. 7 is a kind of structural schematic diagram of the parallel dynamic configuration system of train redundancy provided in an embodiment of the present invention.
Specific implementation mode
The present invention improves train to solve can to realize the redundancy dynamic configuration of backbone switch in train groups network process
The flexibility of networking ensures the reliability of train communication, provides a kind of train redundancy Dynamic Configuration and system.
With reference to the accompanying drawings of the specification, the present invention is described in detail.
Fig. 2 is a kind of train redundant strings Mobile state configuration process schematic diagram provided in an embodiment of the present invention, which includes
Following steps:
S201:First backbone switch judges whether itself is located at train head or tailstock position.
In embodiments of the present invention in order to realize the dynamic configuration of each backbone switch redundancy of train, the backbone of train exchanges
Be connected with subnet redundant line between machine, the port that backbone switch is connect with subnet redundant line be respectively subnet redundancy first port and
Subnet redundancy second port, the port that backbone switch is connect with terminal device be subnet port, subnet port respectively with subnet
Redundancy first port and subnet redundancy second port bypass.
It, can be from positioned at train head position when adjacent backbone switch carries out serial redundant configuration in train Ethernet
Backbone switch proceed by redundant configuration, redundancy can also be proceeded by from the backbone switch positioned at train tailstock position
Configuration, alternatively, being started simultaneously at positioned at the backbone switch of train head position and the backbone switch positioned at train tailstock position
Carry out redundant configuration, the starting backbone switch of redundant configuration is the first backbone switch, therefore, carry out redundant configuration it
Before, the first backbone switch determines whether itself is located at train head or tailstock position first, wherein first backbone exchanges
Machine judges whether itself is located at train head or tailstock position includes:
First backbone switch judges whether itself is located at train head or tailstock position according to the ID of itself;Or,
First backbone switch judges whether the first subnet redundancy port of itself blocks;
When the first backbone switch judges the first subnet redundancy port obstruction of itself, determine that itself is located at train head
Or tailstock position.
Specifically, in train Ethernet when carrying out the redundancy backup of adjacent backbone switch, each backbone switch root
The ID preserved according to itself determines the position where itself, and judges whether itself is located at train head or tailstock position according to the ID
It sets, wherein the ID is after the completion of train networking, according to the physical connection structure between each vehicle group, oneself is located at train head position
Backbone switch start, system be followed successively by each backbone switch in vehicle group unified distribution ID.
Alternatively, because backbone switch subnet port respectively with subnet redundancy first port and subnet redundancy second port
Bypass, so a subnet redundancy port positioned at the backbone switch of train head position or train tailstock position is not connected
Other backbone switch and be set as blocked state, therefore, when the redundancy for carrying out adjacent backbone switch in train Ethernet
When backup, backbone switch is assured that whether itself is train vehicle by judging whether the subnet redundancy port of itself blocks
Head position or train tailstock position, wherein when the backbone switch from train head position proceeds by redundant configuration, first
Backbone switch determines that the subnet redundancy first port on the left of itself is blocked state;When the backbone exchange from train tailstock position
When machine proceeds by redundant configuration, the first backbone switch determines that the subnet redundancy first port on the right side of itself is obstruction dress shape
State.
S202:When the first backbone switch judges that itself is located at train head or tailstock position, the first backbone switch
It is identified by subnet redundant line the second backbone switch connected to it.
When the first backbone switch, which determines, is located at train head position, which passes through subnet redundant line
It is connected with the backbone switch on right side, it is determined that the backbone switch on the right side of this is the second backbone switch;When the first backbone is handed over
It changes planes and determines when being located at train tailstock position, the backbone switch phase which passes through subnet redundant line and left side
Even, it is determined that the backbone switch on the left of this is the second backbone switch.
S203:Second backbone switch is superfluous according to the first subnet being connect with the first backbone switch by subnet redundant line
The the second subnet redundancy port of itself is blocked in remaining port.
When the first backbone switch is located at train head position, the second backbone switch will pass through subnet on the left of itself
The subnet redundancy port that redundant line is connect with the first backbone switch is determined as the first subnet redundancy port, and will be on the right side of itself
Another subnet redundancy port is determined as the second subnet redundancy port, and sets the second subnet redundancy port to obstruction shape
State;When the first backbone switch is located at train tailstock position, the second backbone switch will pass through subnet redundancy on the right side of itself
The subnet redundancy port that line is connect with the first backbone switch is determined as the first subnet redundancy port, and will be another on the left of itself
A subnet redundancy port is determined as the second subnet redundancy port, and sets the second subnet redundancy port to blocked state.
Be connected with subnet redundant line between backbone switch in embodiments of the present invention, subnet port respectively with subnet redundancy
First port and subnet redundancy second port bypass, the second backbone switch by subnet redundant line with positioned at train head or
The subnet redundancy port of the first interchanger connection of person's tailstock position is determined as subnet redundancy first port, and by itself second
Subnet redundancy port is set as blocked state, backups each other so as to complete with first backbone switch, realizes backbone friendship
The dynamic configuration of redundancy between changing planes, improves the networking flexibility of train Ethernet.
In addition, being located at the first backbone switch of train head or tailstock position and adjacent the in embodiments of the present invention
After two backbone switch complete redundancy backup, in order to realize that the dynamic redundancy configuration of the whole net of train Ethernet, the second backbone exchange
Machine needs the third backbone switch for notifying to be attached thereto by subnet redundant line to continue redundant configuration, and method further includes:
Third backbone switch is identified by subnet redundant line other each backbone switch connected to it;
When third backbone switch recognizes the second subnet redundancy port obstruction of the second backbone switch connected to it
When, third backbone switch, will according to the second subnet redundancy port being connect with the 4th backbone switch by subnet redundant line
The the first subnet redundancy port obstruction of itself;
4th backbone switch is according to the first subnet redundant side being connect with third backbone switch by subnet redundant line
Mouthful, the second subnet redundancy port of itself is blocked.
Specifically, when the first backbone switch is located at train head position, the second backbone switch completes and first
The redundant configuration of backbone switch sets the second subnet redundancy port on the right side of itself to blocked state, and third backbone exchanges
Machine is identified by subnet redundant line the second backbone switch connected to it, the subnet redundant side on the left of third backbone switch
When mouth recognizes the second subnet redundancy port obstruction of the second backbone switch connected to it, the subnet redundancy on the left of this is determined
End is the first subnet redundancy port, another subnet redundancy port on the right side of itself is determined as the second subnet redundancy port, and
Set the first subnet redundancy port to blocked state;4th backbone switch by the left of itself by subnet redundant line with
The subnet redundancy port of third backbone switch connection is determined as the first subnet redundancy port, and by another height on the right side of itself
Net redundancy port is determined as the second subnet redundancy port, and sets the second subnet redundancy port of itself to blocked state.
When the first backbone switch is located at train tailstock position, the second backbone switch is completed to be exchanged with the first backbone
The redundant configuration of machine sets the second subnet redundancy port on the left of itself to blocked state, and the identification of third backbone switch is logical
Subnet redundant line the second backbone switch connected to it is crossed, the subnet redundancy port on the right side of third backbone switch recognizes
When the second subnet redundancy port obstruction of the second backbone switch connected to it, determine that the subnet redundant side on the right side of this is first
Another subnet redundancy port on the left of itself is determined as the second subnet redundancy port by subnet redundancy port, and by itself
First subnet redundancy port is set as blocked state;Itself is passed through subnet redundant line and third by the 4th backbone switch by side
The subnet redundancy port of backbone switch connection is determined as the first subnet redundancy port, and another subnet on the left of itself is superfluous
Remaining port is determined as the second subnet redundancy port, and sets the second subnet redundancy port to blocked state.
Fig. 3 is that a kind of train redundant strings Mobile state provided in an embodiment of the present invention configures detailed process schematic diagram, the process
Include the following steps:
S301:First backbone switch judges whether the first subnet redundancy port of itself blocks.
S302:When the first backbone switch judges the first subnet redundancy port obstruction of itself, determine that itself is located at row
Vehicle headstock or tailstock position.
Wherein, when the backbone switch from train head position proceeds by redundant configuration, the first backbone switch is true
It is blocked state to determine the subnet redundancy first port on the left of itself;When the backbone switch from train tailstock position proceed by it is superfluous
When remaining configuration, the first backbone switch determines that the subnet redundancy first port on the right side of itself is obstruction dress state.
S303:First backbone switch is identified by subnet redundant line the second backbone switch connected to it.
S304:Second backbone switch is superfluous according to the first subnet being connect with the first backbone switch by subnet redundant line
The the second subnet redundancy port of itself is blocked in remaining port.
S305:Third backbone switch is identified by subnet redundant line the second backbone switch connected to it.
S306 third backbone switch judge the second backbone switch connected to it the second subnet redundancy port whether
Obstruction carries out step S307 when it is to be to judge result, otherwise, carries out step S306.
S307:Third backbone switch is superfluous according to the second subnet being connect with the 4th backbone switch by subnet redundant line
The the first subnet redundancy port of itself is blocked in remaining port.
S308:4th backbone switch is superfluous according to the first subnet being connect with third backbone switch by subnet redundant line
The the second subnet redundancy port of itself is blocked in remaining port.
Due to being connected with subnet redundant line between backbone switch in embodiments of the present invention, subnet port respectively with subnet
Redundancy first port and subnet redundancy second port bypass, the second backbone switch is by subnet redundant line and is located at train vehicle
Head or the subnet redundancy port of the first interchanger of tailstock position connection are determined as subnet redundancy first port, and by itself
Second subnet redundancy port obstruction completes the redundancy with the first backbone switch, likewise, third backbone switch recognizes
When the second subnet redundancy port obstruction of the second backbone switch, the first subnet redundancy port of itself is blocked, the 4th backbone
Interchanger is according to the first subnet redundancy port being connect with third backbone switch by subnet redundant line, by the second son of itself
Net redundancy port obstruction completes the redundancy with third backbone switch, other backbone switch in train Ethernet are using upper
The method of stating is sequentially completed the redundancy with adjacent backbone switch, until realizing the dynamic redundancy configuration of whole net, improves row calmly
The flexibility of vehicle networking.
Fig. 4 is a kind of parallel Dynamic Configuration Process schematic diagram of train redundancy provided in an embodiment of the present invention, which includes
Following steps:
S401:What the first backbone switch was preserved according to itself carries out the second backbone switch of redundancy backup with it
ID。
In embodiments of the present invention in order to realize the dynamic configuration of each backbone switch redundancy of train, the backbone of train exchanges
Be connected with subnet redundant line between machine, the port that backbone switch is connect with subnet redundant line be respectively subnet redundancy first port and
Subnet redundancy second port, the port that backbone switch is connect with terminal device be subnet port, subnet port respectively with subnet
Redundancy first port and subnet redundancy second port bypass.
When adjacent backbone switch carries out parallel redundancy configuration in train Ethernet, in order to complete adjacent backbone switch
Mutual redundancy, need in advance to each backbone switch issue redundant configuration rule, son is passed through according to the redundant configuration rule
The first backbone switch and the second backbone switch of net redundant line connection complete redundant configuration, originating party under the redundant configuration rule
Method includes:
Redundant configuration rule is issued to other each backbone switch by the backbone switch positioned at train head, wherein should
Include the ID for the backbone switch that redundant configuration is carried out with other each backbone switch in redundant configuration rule.
Specifically, in train Ethernet when carrying out the redundancy backup of adjacent backbone switch, it is located at train head
Backbone switch distributes ID according to the network topology of train Ethernet, for each backbone switch, and will include with it is each other
The redundant configuration rule that backbone switch carries out the ID of the backbone switch of redundant configuration is issued to other each backbone switch,
The redundant configuration rule that the backbone switch that each backbone switch receives train head issues, and it is saved in local.
S402:First backbone switch identifies whether the ID of backbone switch adjacent thereto exchanges with second backbone
The ID of machine is identical.
First backbone switch obtains the ID of each backbone switch adjacent thereto by subnet redundant line, is matched according to redundancy
The ID with the adjacent backbone switch for itself carrying out redundant configuration preserved in rule is set, is exchanged by each backbone for judging to obtain
Whether the ID of machine and the ID preserved in itself redundant configuration rule are consistent, so that it is determined that carrying out the second bone of redundant configuration with itself
Dry interchanger.
S403:When the ID of interchanger backbone switch adjacent thereto is identical as the ID of the second backbone switch,
First backbone switch is according to the subnet redundancy port being connect with the second backbone switch by subnet redundant line, by the another of itself
The subnet redundancy port of side blocks.
Specifically, when the first backbone switch judges that the ID of the backbone switch obtained by subnet redundant line is superfluous with itself
When the ID preserved in remaining configuration rule is consistent, determines that the backbone switch is the second backbone switch, keep self by subnet
The subnet redundancy port connection that redundant line is connected with second backbone switch, the subnet redundancy port of itself other side is hindered
Plug.
An embodiment of the present invention provides a kind of train redundancy Dynamic Configurations to connect between backbone switch in the method
It is connected to subnet redundant line, the port that backbone switch is connect with subnet redundant line is respectively that subnet redundancy first port and subnet are superfluous
Remaining second port, the port that backbone switch is connect with terminal device are subnet port, subnet port respectively with subnet redundancy the
Single port and subnet redundancy second port bypass, the method includes:It is that first backbone switch is preserved according to itself and its
Carry out the ID of the second backbone switch of redundancy backup;Identify backbone switch adjacent thereto ID whether with second bone
The ID of dry interchanger is identical;When the ID of interchanger backbone switch adjacent thereto is identical as the ID of the second backbone switch
When, the first backbone switch is according to the subnet redundancy port being connect with the second backbone switch by subnet redundant line, by itself
The other side subnet redundancy port obstruction.Due to each backbone switch in embodiments of the present invention according to the redundancy that issues match
Rule is set, the subnet redundancy port by subnet redundant line both sides between two adjacent backbone switch of holding is unimpeded, hinders respectively
The subnet redundancy port for filling in the backbone switch other side, completes the mutual backup of adjacent backbone switch, to realize backbone
The dynamic redundancy of interchanger configures, and ensure that the reliability of train Ethernet, improves the flexibility of train networking.
With reference to specific embodiment, the present invention is described in detail.
Fig. 5 is a kind of networking structure schematic diagram of the parallel dynamic configuration of train redundancy provided in an embodiment of the present invention, is such as schemed
Shown, backbone switch polymerize line by two main lines and is connected with each other, and subnet redundant line is connected between backbone switch, and backbone is handed over
The port being connect with subnet redundant line of changing planes is respectively subnet redundancy first port and subnet redundancy second port, backbone switch
The port being connect with terminal device be subnet port, subnet port respectively with subnet redundancy first port and subnet redundancy second end
Mouth bypass, wherein backbone switch S1, S2 and S3 are in vehicle group T1, and backbone switch S4 is in vehicle group T2, backbone switch
For S5 and S6 in vehicle group T3, equipment E1~E6 is respectively the terminal device hung under backbone switch S1~S6, and solid line indicates main line
It polymerize line, dotted line indicates that subnet redundant line, arrow indicate the travel direction of train.
In the train Ethernet being made of vehicle group T1, vehicle group T2 and vehicle group T3, adjacent backbone switch carries out parallel
When redundant configuration, it is located at the backbone switch S1 of headstock position according to the topology of network, ID, root is distributed for each backbone switch
According to the ID of each backbone switch determine redundant configuration rule, and by the redundant configuration rule be issued to backbone switch S2~
S6, wherein provide that backbone switch S1 and S2 carry out redundancy in redundant configuration rule, backbone switch S3 and S4 carry out redundancy,
Backbone switch S5 and S6 carry out redundancy.Backbone switch S1 searches itself in redundant configuration rule according to the ID of itself and carries out
The ID of the backbone switch of redundant configuration is obtained the ID of adjacent backbone switch S2 by subnet redundant line, judges the ID of S2
It is whether consistent with the ID of the backbone switch for carrying out redundant configuration with itself found, when it is to be to judge result, confirm S2
To carry out the backbone switch of redundancy with itself, keep connecting by the subnet redundancy second port that subnet redundant line is connect with S2
It is logical, the subnet redundancy first port of itself is blocked.
Backbone switch S2 searches the backbone friendship for itself carrying out redundant configuration according to the ID of itself in redundant configuration rule
The ID to change planes obtains the ID of adjacent backbone switch S1 and S3 by subnet redundant line, judges the ID of S1 and S3 and finds
With itself carry out redundant configuration backbone switch ID it is whether consistent, when judgement S1 ID preserved with redundant configuration rule
ID it is consistent when, confirm that S1 is the backbone switch for carrying out redundancy with itself, keep the son being connect with S1 by subnet redundant line
Net redundancy first port is connected to, and the subnet redundancy second port of itself is blocked, and backbone switch S1 and S2 matches according to itself
Confidence ceases, and chooses S2 as host exchange, E1 and E2 are in VLAN1 for equipment, and equipment E1 passes through link E1-S1-P12-P21-S2
Into row data communication, to realize the mutual redundancy backups of S1 and S2, similarly, backbone switch S3 and S4 are mutually redundant, under
In VLAN2, backbone switch S5 and S6 are mutually redundant the equipment E3 and E4 of extension, and the equipment E5 and E6 of lower extension are in VLAN3.
When backbone switch S2 power down, by the way that two main lines of S2 are polymerize line bypass, the logical of backbone side is restored
Letter, backbone switch S1 directly upgrade to host exchange, and the equipment E2 hung under S2 carries out data by E2-S2-P21-P12-S1
Communication, to ensure that the normal communication of sub-network side.
Fig. 6 is the structural schematic diagram that a kind of train redundant strings Mobile state provided in an embodiment of the present invention configures system, backbone
Inter-exchange is connected with subnet redundant line, and the port that backbone switch is connect with subnet redundant line is respectively subnet redundancy first end
Mouthful and subnet redundancy second port, the port that backbone switch is connect with terminal device be subnet port, subnet port respectively with
Subnet redundancy first port and subnet redundancy second port bypass, the system include:
First backbone switch 61, for judging whether itself is located at train head or tailstock position;When judging itself position
When train head or tailstock position, it is identified by subnet redundant line the second backbone switch connected to it;
Second backbone switch 62, for according to the first subnet being connect with the first backbone switch by subnet redundant line
Redundancy port blocks the second subnet redundancy port of itself.
The system further includes:
Third backbone switch 63 passes through subnet redundant line other each backbone switch connected to it for identification;
When recognize the second backbone switch connected to it the second subnet redundancy port block when, according to by subnet redundant line with
Second subnet redundancy port of the 4th backbone switch connection, the first subnet redundancy port of itself is blocked;
4th backbone switch 64, for according to the first subnet being connect with third backbone switch by subnet redundant line
Redundancy port blocks the second subnet redundancy port of itself.
First backbone switch 61 is additionally operable to judge whether itself is located at train head or the tailstock according to the ID of itself
Position;Or, judging whether the first subnet redundancy port of itself blocks;When judge itself the first subnet redundancy port block
When, determine that itself is located at train head or tailstock position.
Fig. 7 is a kind of structural schematic diagram of the parallel dynamic configuration system of train redundancy provided in an embodiment of the present invention, backbone
Inter-exchange is connected with subnet redundant line, and the port that backbone switch is connect with subnet redundant line is respectively subnet redundancy first end
Mouthful and subnet redundancy second port, the port that backbone switch is connect with terminal device be subnet port, subnet port respectively with
Subnet redundancy first port and subnet redundancy second port bypass, the system include:
First backbone switch 71 carries out the second backbone switch of redundancy backup for being preserved according to itself with it
ID;Identify whether the ID of backbone switch adjacent thereto is identical as the ID of the second backbone switch;When adjacent thereto
When the ID of interchanger backbone switch is identical as the ID of the second backbone switch, the first backbone switch is according to passing through subnet
The subnet redundancy port that redundant line is connect with the second backbone switch blocks the subnet redundancy port of the other side of itself;
Second backbone switch 72, for sending the ID of itself to the first backbone switch by subnet redundant line.
The system further includes:
Positioned at the backbone switch 73 of headstock, for redundant configuration rule to be issued to other each backbone switch,
In include the ID of the backbone switch that redundant configuration is carried out with other each backbone switch in the redundant configuration rule.
A kind of train redundancy Dynamic Configuration of offer of the embodiment of the present invention and system, which is characterized in that backbone switch
Between be connected with subnet redundant line, the port that backbone switch is connect with subnet redundant line is respectively subnet redundancy first port and son
Net redundancy second port, the port that backbone switch is connect with terminal device are subnet port, and subnet port is superfluous with subnet respectively
Remaining first port and subnet redundancy second port bypass, this method include:First backbone switch judges whether itself is located at
Train head or tailstock position;When the first backbone switch judges that itself is located at train head or tailstock position, the first backbone
Interchanger is identified by subnet redundant line the second backbone switch connected to it;Second backbone switch is according to superfluous by subnet
The first subnet redundancy port that remaining line is connect with the first backbone switch blocks the second subnet redundancy port of itself.Due to
It is attached in embodiments of the present invention by subnet redundant line between each backbone switch, the subnet end of each backbone switch
Mouth is one of sub by the way that backbone switch is arranged respectively with subnet redundancy first port and subnet redundancy second port bypass
Net redundancy port blocks, and completes the mutual backup of adjacent backbone switch, the dynamic redundancy to realize backbone switch is matched
It sets, ensure that the reliability of train Ethernet, improve the flexibility of train networking.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, the application can be used in one or more wherein include computer usable program code computer
The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The application is with reference to method, the flow of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of the application has been described, created once a person skilled in the art knows basic
Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the application range.
Obviously, those skilled in the art can carry out the application essence of the various modification and variations without departing from the application
God and range.In this way, if these modifications and variations of the application belong to the range of the application claim and its equivalent technologies
Within, then the application is also intended to include these modifications and variations.
Claims (10)
1. a kind of train redundancy Dynamic Configuration, which is characterized in that be connected with subnet redundant line between backbone switch, backbone is handed over
Two subnet redundancy ports being connect with subnet redundant line of changing planes are respectively the first subnet redundancy port and the second subnet redundancy
Port, the port that backbone switch is connect with terminal device be subnet port, subnet port respectively with the first subnet redundancy port
With the second subnet redundancy port bypass, the method includes:
First backbone switch judges whether itself is located at train head or tailstock position;
When the first backbone switch judges that itself is located at train head or tailstock position, the first backbone switch is identified by son
Net redundant line the second backbone switch connected to it;
Second backbone switch, will according to the first subnet redundancy port being connect with the first backbone switch by subnet redundant line
The the second subnet redundancy port obstruction of itself.
2. the method as described in claim 1, which is characterized in that the method further includes:
Third backbone switch is identified by subnet redundant line other each backbone switch connected to it;
When third backbone switch recognizes the second subnet redundancy port obstruction of the second backbone switch connected to it, the
Three backbone switch according to the second subnet redundancy port being connect with the 4th backbone switch by subnet redundant line, by itself
First subnet redundancy port blocks;
4th backbone switch, will according to the first subnet redundancy port being connect with third backbone switch by subnet redundant line
The the second subnet redundancy port obstruction of itself.
3. method as claimed in claim 1 or 2, which is characterized in that first backbone switch judges whether itself is located at
Train head or tailstock position include:
First backbone switch judges whether itself is located at train head or tailstock position according to the ID of itself;Or,
First backbone switch judges whether the subnet redundancy port of itself blocks;
When the first backbone switch judges the subnet redundancy port obstruction of itself, determine that itself is located at train head or vehicle
Tail position.
4. a kind of train redundancy Dynamic Configuration, which is characterized in that be connected with subnet redundant line between backbone switch, backbone is handed over
Two subnet redundancy ports being connect with subnet redundant line of changing planes are respectively the first subnet redundancy port and the second subnet redundant side
Mouthful, the port that backbone switch is connect with terminal device be subnet port, subnet port respectively with the first subnet redundancy port and
Second subnet redundancy port bypass, the method includes:
What the first backbone switch was preserved according to itself carries out the ID of the second backbone switch of redundancy backup with it, identification and its
Whether the ID of adjacent backbone switch is identical as the ID of the second backbone switch;
When the ID of backbone switch adjacent thereto is identical as the ID of the second backbone switch, the first backbone switch root
According to the first subnet redundancy port being connect with the second backbone switch by subnet redundant line, by the second subnet redundant side of itself
Mouth obstruction.
5. method as claimed in claim 4, which is characterized in that it is standby that first backbone switch preserved carries out redundancy with it
Part the ID of the second backbone switch include:
Redundant configuration rule is issued to other each backbone switch, the wherein redundancy by the backbone switch positioned at train head
Include the ID for the backbone switch that redundant configuration is carried out with other each backbone switch in configuration rule.
6. a kind of train redundancy dynamic configuration system, which is characterized in that be connected with subnet redundant line between backbone switch, backbone is handed over
Two subnet redundancy ports being connect with subnet redundant line of changing planes are respectively the first subnet redundancy port and the second subnet redundant side
Mouthful, the port that backbone switch is connect with terminal device be subnet port, subnet port respectively with the first subnet redundancy first end
Mouth and the second subnet redundancy second port bypass, the system comprises:
First backbone switch, for judging whether itself is located at train head or tailstock position;When judging itself to be located at train
When headstock or tailstock position, it is identified by subnet redundant line the second backbone switch connected to it;
Second backbone switch, for according to the first subnet redundant side being connect with the first backbone switch by subnet redundant line
Mouthful, the second subnet redundancy port of itself is blocked.
7. system as claimed in claim 6, which is characterized in that the system also includes:
Third backbone switch passes through subnet redundant line other each backbone switch connected to it for identification;Work as identification
To the second backbone switch connected to it the second subnet redundancy port obstruction when, according to passing through subnet redundant line and the 4th bone
Second subnet redundancy port of dry interchanger connection, the first subnet redundancy port of itself is blocked;
4th backbone switch, for according to the first subnet redundant side being connect with third backbone switch by subnet redundant line
Mouthful, the second subnet redundancy port of itself is blocked.
8. system as claimed in claims 6 or 7, which is characterized in that first backbone switch, be additionally operable to according to itself
ID judges whether itself is located at train head or tailstock position;Or, judging whether the subnet redundancy port of itself blocks;When
When judging the subnet redundancy port obstruction of itself, determine that itself is located at train head or tailstock position.
9. a kind of train redundancy dynamic configuration system, which is characterized in that be connected with subnet redundant line between backbone switch, backbone is handed over
Two subnet redundancy ports being connect with subnet redundant line of changing planes are respectively the first subnet redundancy port and the second subnet redundant side
Mouthful, the port that backbone switch is connect with terminal device be subnet port, subnet port respectively with the first subnet redundancy port and
Second subnet redundancy port bypass, the system comprises:
First backbone switch carries out the ID of the second backbone switch of redundancy backup for being preserved according to itself with it;Know
Whether the ID of backbone switch not adjacent thereto is identical as the ID of the second backbone switch;When backbone adjacent thereto is handed over
When the ID to change planes is identical as the ID of the second backbone switch, the first backbone switch is according to passing through subnet redundant line and second
First subnet redundancy port of backbone switch connection, the second subnet redundancy port of itself is blocked;
Second backbone switch, for sending the ID of itself to the first backbone switch by subnet redundant line.
10. system as claimed in claim 9, which is characterized in that the system also includes:
Positioned at the backbone switch of headstock, for redundant configuration rule to be issued to other each backbone switch, wherein this is superfluous
Include the ID for the backbone switch that redundant configuration is carried out with other each backbone switch in remaining configuration rule.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410212407.0A CN105099743B (en) | 2014-05-20 | 2014-05-20 | A kind of train redundancy Dynamic Configuration and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410212407.0A CN105099743B (en) | 2014-05-20 | 2014-05-20 | A kind of train redundancy Dynamic Configuration and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105099743A CN105099743A (en) | 2015-11-25 |
CN105099743B true CN105099743B (en) | 2018-07-27 |
Family
ID=54579366
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410212407.0A Active CN105099743B (en) | 2014-05-20 | 2014-05-20 | A kind of train redundancy Dynamic Configuration and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105099743B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106685705B (en) * | 2016-12-13 | 2019-10-01 | 中车株洲电力机车研究所有限公司 | A kind of Ethernet train joins the backbone network node sort method of just operation again |
CN106941424B (en) * | 2017-04-26 | 2020-09-01 | 北京东土科技股份有限公司 | Redundancy switching method and device based on TTDP protocol |
CN109981374B (en) | 2019-04-02 | 2023-04-18 | 中磊电子(苏州)有限公司 | Network device capable of automatically adjusting signal transmission path |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202353581U (en) * | 2011-12-26 | 2012-07-25 | 易程(苏州)智能***有限公司 | Bullet train audio-video device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2750333B1 (en) * | 2011-08-24 | 2017-07-19 | Mitsubishi Electric Corporation | Network system |
-
2014
- 2014-05-20 CN CN201410212407.0A patent/CN105099743B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202353581U (en) * | 2011-12-26 | 2012-07-25 | 易程(苏州)智能***有限公司 | Bullet train audio-video device |
Non-Patent Citations (1)
Title |
---|
基于交换式以太网的TCN仿真研究及分析;邢震等;《铁道机车车辆》;20121031;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN105099743A (en) | 2015-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104184608B (en) | Data sending device and data transmission method for uplink | |
CN102710432B (en) | System and method for managing virtual network in cloud computation data center | |
CN102843286B (en) | Implementation method, and system of virtual routers | |
CN105162704B (en) | The method and device of multicast replication in Overlay network | |
CN104426731A (en) | A method and device for computing a spanning tree | |
CN107135134A (en) | Private network cut-in method and system based on virtual switch and SDN technologies | |
CN103346979B (en) | Flow distribution method and equipment in SPBM network | |
CN105308912A (en) | A method and system for synchronizing with a neighbor in a distributed resilient network interconnect (DRNI) link aggregation group | |
CN106254176A (en) | A kind of traffic mirroring method based on openvswitch | |
CN103856398A (en) | Virtual Trunking Over Physical Links | |
CN103476023A (en) | Configuration method of access point equipment, access controller and communication system | |
CN106034052B (en) | The system and method that two laminar flow amounts are monitored a kind of between of virtual machine | |
CN110417665B (en) | EVPN networking system and method for multiple Fabric scenes of data center | |
CN105099743B (en) | A kind of train redundancy Dynamic Configuration and system | |
CN107204907A (en) | Cloud data center interconnected method and device | |
CN108574613A (en) | The double layer intercommunication method and device of SDN data centers | |
CN105763439B (en) | The interconnected method and device of data center in a kind of multilink transparent internet | |
CN105812221B (en) | The device and method of data transmission in virtual expansible Local Area Network | |
CN109756419A (en) | Routing iinformation distribution method, device and RR | |
CN108282462A (en) | A kind of device of isolation service network and management net | |
CN103534995B (en) | A kind of interplate communication method of router cluster, router and router cluster | |
CN103095579B (en) | TRILL network interconnected method, Apparatus and system | |
CN103001886B (en) | A kind of ECT smooth migration method and apparatus | |
CN105515809A (en) | Software definition network realization method and main controller | |
CN104796346B (en) | A kind of method that realizing L3VPN sharing business load, equipment and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |