POTN business repeater system and business forwarding, configuration distributing, guard method
Technical field
The present invention relates to POTN transmission technique fields, and in particular to a kind of POTN business repeater system and business are forwarded, matched somebody with somebody
Put issue, guard method.
Background technology
POTN has merged photosphere (WDM), OTN and SDH layers, the network function of packet transport layer (MPLS-TP, ETH), has
To TDM (ODUk), the exchange dispatching of packet (MPLS-TP, ETH), the system to all kinds of business such as packet, OTN, SDH is realized
One and flexible transmitting function.
Traditional POTN equipment is based on TDM (ODUk)/design of Packet biplanes architecture for exchanging, i.e. packet and TDM
(ODUk) business is forwarded by different swapdisks.Although the design of biplane exchange system is simple, it is easy to accomplish, due to that need to pass through
Very inflexible, poor expandability is dispatched in different exchange planes, work organization, there is the defects such as equipment power dissipation is big, OPEX is high.
For centralized POTN equipment, the factors such as exchange board density, power consumption and cost are limited by, often
The forwarding of POTN business can only be completed using i.e. single-swap disk, i.e. monoplane architecture for exchanging.
Therefore, need badly a kind of using monoplane architecture for exchanging completion POTN business forwarding implementations.
The content of the invention
For defect present in prior art, being of Way out of the invention provides a kind of POTN business forwarding system
System and business forwarding, configuration distributing, guard method, realize that completing POTN business by monoplane architecture for exchanging forwards, and improve
Running efficiency of system and stability.
To reach above Way out, the present invention is adopted the technical scheme that:A kind of POTN business repeater system, including
Ethernet branch road disk, swapdisk and OTN circuit disks;
Ethernet branch road disk, the Ethernet branch road disk is used to pass the Packet Service received from Ethernet in upper words direction
Swapdisk is handed to, the packet received from swapdisk is transferred to Ethernet in lower words direction;
Swapdisk, the swapdisk is used to realize the data interaction between Ethernet branch road disk and OTN circuit disks;It is described to hand over
Change branch road paranotum mouthful and at least four connection OTN circuit disks of the disk including at least two connection Ethernet branch road disks
Circuit paranotum mouthful;One MPLS business forwarding channel of the wherein one branch road paranotum mouthful connection, another branch
Trackside backboard mouthful one Ethernet service forwarding channel of connection;The MPLS business forwarding channel be also connected with two it is virtual bridged
Mouthful, each virtual bridge interface connects two circuit paranotums mouthful;The Ethernet service forwarding channel connects two
One of described virtual bridge interface;
Multiple OTN circuits disks, multiple OTN circuits disks lead to for Packet Service to be mapped into ODUK in upper words direction
Road, in lower words direction from ODUK passage demapping Packet Services.
On the basis of above-mentioned technical proposal, the first AC logics that the MPLS business forwarding channel includes being sequentially connected connect
Mouth, the first Virtual Switch Instance, PW logic interfacings and a pair of active and standby LSP interfaces being connected with the PW logic interfacings, it is described
Active and standby LSP interfaces respectively connect a virtual bridge interface;
The Ethernet service forwarding channel include be sequentially connected the 2nd AC logic interfacings, the second Virtual Switch Instance and
3rd AC logic interfacings, the 3rd AC logic interfacings connect one of two described virtual bridge interfaces.
The invention also discloses a kind of business retransmission method of use POTN business repeater systems, the business retransmission method
Business forwarding including upper words direction, the detailed process of the business forwarding in the upper words direction includes:
A1, Packet Service is received by branch road paranotum mouthful, according to the branch road paranotum mouthful that Packet Service passed through and
The feature of Packet Service is worth to the AC logic interfacings of Packet Service matching;
A2, the AC logic interfacings obtained by step A1 obtain the Virtual Switch Instance of its binding;
A3, patrolling for Way out is worth to according to the Virtual Switch Instance and the feature of Packet Service that are obtained in step A2
Collect interface;If Ethernet service, into step A4, if MPLS business, into step A8;
A4, the logic interfacing of the Way out is that the AC logics being connected with the Virtual Switch Instance obtained in step A2 connect
Mouthful;
A5, checks the corresponding physics list item information of AC logic interfacings that step A4 is obtained, determines the virtual bridge of Way out
The packaging information of interface and AC logic interfacings;
A6, checks the corresponding main broadcaster's list item information of virtual bridge interface that step A5 is obtained, determines the line side of Way out
Backboard mouthful;
Packet Service is forwarded to ODUK passages by A7, the circuit paranotum mouthful obtained by step A6, is terminated;
A8, the logic interfacing of the Way out is that the PW logics being connected with the Virtual Switch Instance obtained in step A2 connect
Mouthful;
A9, checks the corresponding physics list item information of PW logic interfacings that step A8 is obtained, determine its binding LSP interfaces with
And PW packaging information;
A10, checks the corresponding physics list item information of LSP interfaces that step A9 is obtained, and determines the line side back of the body of Way out
The packaging information of plate mouthful and LSP;
Packet Service is forwarded to ODUK passages by A11, the circuit paranotum mouthful obtained by step A10, is terminated.
On the basis of above-mentioned technical proposal, the business of the business retransmission method including lower words direction is forwarded, it is described under
The detailed process of the business forwarding in words direction includes:
B1, by the virtual bridge interface received data packet, according to the corresponding circuit paranotum mouthful of the virtual bridge interface
The VLANDOMAIN of configuration and the feature of packet are worth to the logic interfacing with the virtual bridge Interface Matching;If Ethernet
Business, into step B2, if MPLS business, into step B8;
B2, is the AC logics that are connected with virtual bridge interface described in step B1 with the logic interfacing of the virtual bridge Interface Matching
Interface;
B3, its Virtual Switch Instance bound is determined by the AC logic interfacings obtained in step B2;
B4, show that the AC of Way out is patrolled by the Virtual Switch Instance and the characteristic value of packet that are obtained in step B3
Collect interface and branch road paranotum mouthful;
OTN business is forwarded to Ethernet branch road by B5, the AC logic interfacings obtained by step B4 and branch road paranotum mouthful
Disk, terminates;
B6, is to be connect with the LSP that virtual bridge interface is connected described in step B1 with the logic interfacing of the virtual bridge Interface Matching
Mouthful;
B7, by the LSP interfaces obtained in step B6, successively parses virtual turn that itself LSP and PW label obtains its binding
Send out example;
B8, show that the AC of Way out is patrolled by the Virtual Switch Instance and the characteristic value of packet that are obtained in step B7
Collect interface and branch road paranotum mouthful;
OTN business is forwarded to Ethernet branch road by B9, the AC logic interfacings obtained by step B8 and branch road paranotum mouthful
Disk, terminates.
The invention also discloses a kind of configuration distributing method of use POTN business repeater systems, the configuration distributing method
Include the configuration distributing in upper words direction, the detailed process of the configuration distributing in the upper words direction includes:
C1, the swapdisk receives configuration, is handled respectively according to Configuration Type, if MPLS business configurations then enter step
C2, if Ethernet service configuration then enters step C7, if OTN business configurations then enter step C12;
C2, obtains the virtual bridge interface ID of Way out from the configuration of LSP interfaces;
C3, multicast ID is converted into according to default mapping ruler by virtual bridge interface ID, and calls driving interface function, wound
Build multicast;
C4, judges whether the multicast has created according to multicast ID, if so, being directly entered step C6;If it is not, into step
C5;
C5, creates multicast, and now its member is sky;
C6, is multicast by the destination interface type configuration of LSP interfaces, and calls corresponding driving interface function to configure,
MPLS business configurations are completed, and are terminated;
The virtual bridge interface ID of Way out is obtained in C7, the configuration received from AC logic interfacings;
C8, multicast ID is converted into according to default mapping ruler by virtual bridge interface ID, and calls driving interface function, wound
Build multicast;
C9, judges whether the multicast has created according to multicast ID, if so, being directly entered step C11;If it is not, entering step
Rapid C10;
C10, creates multicast, and now its member is sky;
C11, is multicast by the destination interface type configuration of AC logic interfacings, and call corresponding driving interface function to match somebody with somebody
Put, MPLS business configurations are completed, terminate;
C12, obtains the virtual bridge interface ID and corresponding active and standby circuit paranotum of Way in from OTN business configurations
Message ceases;
C13, multicast ID is converted into according to default mapping ruler by virtual bridge interface ID, and calls driving interface function,
Create multicast;
C14, judges whether the multicast has created according to multicast ID, if so, into step C15;If it is not, into step
C18;
C15, judges that the front and rear configuration of OTN business configurations whether there is difference;If so, into step S16, if it is not, into
Step S17;
C16, it is the virtual bridge interface and its corresponding active and standby circuit paranotum mouthful to update multicast member information, is terminated;
C17, keeps current multicast information about firms, terminates;
C18, newly-built multicast, and virtual bridge interface and corresponding active and standby circuit paranotum mouthful are added to multicast;OTN industry
Business configuration is completed, and is terminated.
On the basis of above-mentioned technical proposal, the configuration distributing method includes the configuration distributing in lower words direction, it is described under
Talking about the detailed process of the configuration distributing in direction includes:
D1, the swapdisk receives configuration, is handled respectively according to Configuration Type, if MPLS business configurations then enter step
D2, if Ethernet service configuration then enters step D3, if OTN business configurations then enter step D6;
D2, is issued according to normal MPLS business configurations handling process;
The virtual bridge interface ID of Way in is obtained in D3, the configuration received from AC logic interfacings;
D4, VLANDOMAIN ID are converted into according to default mapping ruler by virtual bridge interface ID;
D5, the inbound port configuration rule of configuration AC logic interfacings is VLANDOMAIN and sets its ID, calls driving interface
Function completes Ethernet service configuration, terminates;
D6, obtains the virtual bridge interface ID and corresponding active and standby circuit paranotum mouthful of Way out from OTN business configurations
Information;
D7, is converted into VLANDOMAIN ID by virtual bridge interface ID according to default mapping ruler, calls driving interface letter
Number updates the VLANDOMAIN domains of the corresponding active and standby circuit paranotum mouthful of virtual bridge interface;OTN business configurations are completed, and are terminated.
The invention also discloses a kind of guard method of use POTN business repeater systems, the guard method includes upper words
The protection processing in direction, the detailed process of the protection processing in the upper words direction includes:
E1, detects whether there is channel failure, is handled respectively according to fault type;If LSP channel failures, into step
E2;If ODUK channel failures, terminate;
E2, performs LSP masterslave switchover logics, and call driving interface function to perform masterslave switchover;
E3, service switchover forward-path switches completion, terminates.
On the basis of above-mentioned technical proposal, the protection that the guard method includes lower words direction is handled, the lower words side
To protection processing detailed process include:
F1, detects whether there is channel failure, is handled respectively according to fault type;If ODUK channel failures, into step
Rapid E2;If LSP channel failures, terminate;
F2, performs ODUK masterslave switchover logics, and call driving interface function to perform masterslave switchover;
F3, judgement switch direction, if be switched to it is primary if enter step F4, otherwise into step F5;
F4, the virtual bridge interface is updated to by the VLANDOMAIN of the corresponding primary circuit paranotum mouthful of virtual bridge interface
VLANDOMAIN values, the VLANDOMAIN of extension wire paranotum mouthful is updated to invalid value, terminates;
F5, invalid value, siding are updated to by the VLANDOMAIN of the corresponding primary circuit paranotum mouthful of virtual bridge interface
The VLANDOMAIN of trackside backboard mouthful is updated to the VLANDOMAIN values of the virtual bridge interface, terminates.
Compared with prior art, the advantage of the invention is that:
(1) talk about direction in the present invention POVE is instantiated as into multicast to realize bridge joint, Packet Service is using the multicast as upper
The outlet of direction service channel is talked about, OTN business regard the multicast as the source port interacted with ODUK passages;Lower words direction is by POVE
VLANDOMAIN is instantiated as to realize bridge joint, OTN business will be mapped to this with ODUK channel attached circuit paranotums mouthful
At VLANDOMAIN, classification of the Packet Service using the VLANDOMIAN as common physical port to complete access Packet Service
Reason.
(2) present invention increases a kind of new port Configuration Type for Packet Service --- virtual bridge interface, other configurations
It is constant;For OTN business, increase virtual bridge interface corresponding with active and standby ODUK, complete OTN repeat in work and ODUK main-apparatus protections
Function.Pass through identical virtual bridge interface conjunctionn between Packet Service and OTN repeat in work groups.Match somebody with somebody when needing renewal OTN business
When putting, it is only necessary to the corresponding circuit paranotum mouthful of virtual bridge interface is changed by incremental distribution OTN business configurations, due to virtual bridged
Mouth ID is constant, and Packet Service configuration is without with renewal;When need update Packet Service configuration when, due to OTN business configurations without
The content of Packet Service configuration need to be received, therefore without modification.Packet Service is realized by this business configuration management method
Configuration with OTN business is decoupled, and the sequence problem that business configuration incremental distribution is brought is solved well.
(3) business forwarding process of the present invention is that single treatment is completed, without traditional loop back processing being, thus high system operation
Efficiency and stability.Completed simultaneously for the POVE multicasts instantiated by entrance multicast, do not influence QOS functions to realize.
Brief description of the drawings
Fig. 1 is the structural representation of POTN business repeater systems in the embodiment of the present invention;
Fig. 2 is the structural representation of the swapdisk of POTN business repeater systems in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the business retransmission method in upper words direction in the embodiment of the present invention;
Fig. 4 is the schematic flow sheet of the business retransmission method in lower words direction in the embodiment of the present invention;
Fig. 5 is the schematic flow sheet of the configuration distributing method in upper words direction in the embodiment of the present invention;
Fig. 6 is the schematic flow sheet of the configuration distributing method in lower words direction in the embodiment of the present invention;
Fig. 7 is the schematic flow sheet of the guard method in upper words direction in the embodiment of the present invention;
Fig. 8 is the schematic flow sheet of the guard method in lower words direction in the embodiment of the present invention.
Embodiment
The present invention is described in further detail below in conjunction with drawings and Examples.
Shown in Figure 1, the embodiment of the present invention provides a kind of POTN business repeater system, including Ethernet branch road disk, hands over
Change disk and OTN circuit disks;
Ethernet branch road disk, the Ethernet branch road disk is used to pass the Packet Service received from Ethernet in upper words direction
Swapdisk is handed to, the packet received from swapdisk is transferred to Ethernet in lower words direction;
Swapdisk, the swapdisk is used to realize the data interaction between Ethernet branch road disk and OTN circuit disks;It is described to hand over
Change branch road paranotum mouthful and at least four connection OTN circuit disks of the disk including at least two connection Ethernet branch road disks
Circuit paranotum mouthful;One MPLS business forwarding channel of the wherein one branch road paranotum mouthful connection, another branch
Trackside backboard mouthful one Ethernet service forwarding channel of connection;The MPLS business forwarding channel be also connected with two it is virtual bridged
Mouthful, each virtual bridge interface connects two circuit paranotums mouthful;The Ethernet service forwarding channel connects two
One of described virtual bridge interface;
Multiple OTN circuits disks, multiple OTN circuits disks lead to for Packet Service to be mapped into ODUK in upper words direction
Road, in lower words direction from ODUK passage demapping Packet Services.
It is shown in Figure 2, it is the first AC logic interfacings that the MPLS business forwarding channel includes being sequentially connected, first virtual
Forwarding instance, PW logic interfacings and a pair of active and standby LSP interfaces being connected with the PW logic interfacings, the active and standby LSP interfaces
Respectively connect a virtual bridge interface;
The Ethernet service forwarding channel include be sequentially connected the 2nd AC logic interfacings, the second Virtual Switch Instance and
3rd AC logic interfacings, the 3rd AC logic interfacings connect one of two described virtual bridge interfaces.
Shown in Figure 3, the embodiment of the invention also discloses a kind of business retransmission method of POTN business repeater system:Institute
State business of the business retransmission method including upper words direction to forward, the detailed process of the business forwarding in the upper words direction includes:
A1, Packet Service is received by branch road paranotum mouthful, according to the branch road paranotum mouthful that Packet Service passed through and
The feature of Packet Service is worth to the AC logic interfacings of Packet Service matching;
A2, the AC logic interfacings obtained by step A1 obtain the Virtual Switch Instance of its binding;
A3, patrolling for Way out is worth to according to the Virtual Switch Instance and the feature of Packet Service that are obtained in step A2
Collect interface;If Ethernet service, into step A4, if MPLS business, into step A8;
A4, the logic interfacing of the Way out is that the AC logics being connected with the Virtual Switch Instance obtained in step A2 connect
Mouthful;
A5, checks the corresponding physics list item information of AC logic interfacings that step A4 is obtained, determines the virtual bridge of Way out
The packaging information of interface and AC logic interfacings;
A6, checks the corresponding main broadcaster's list item information of virtual bridge interface that step A5 is obtained, determines the line side of Way out
Backboard mouthful;
Packet Service is forwarded to ODUK passages by A7, the circuit paranotum mouthful obtained by step A6, is terminated;
A8, the logic interfacing of the Way out is that the PW logics being connected with the Virtual Switch Instance obtained in step A2 connect
Mouthful;
A9, checks the corresponding physics list item information of PW logic interfacings that step A8 is obtained, determine its binding LSP interfaces with
And PW packaging information;
A10, checks the corresponding physics list item information of LSP interfaces that step A9 is obtained, and determines the line side back of the body of Way out
The packaging information of plate mouthful and LSP;
Packet Service is forwarded to ODUK passages by A11, the circuit paranotum mouthful obtained by step A10, is terminated.
Shown in Figure 4, the business that the business retransmission method includes lower words direction is forwarded, the business in the lower words direction
The detailed process of forwarding includes:
B1, by the virtual bridge interface received data packet, according to the corresponding circuit paranotum mouthful of the virtual bridge interface
The VLANDOMAIN of configuration and the feature of packet are worth to the logic interfacing with the virtual bridge Interface Matching;If Ethernet
Business, into step B2, if MPLS business, into step B8;
B2, is the AC logics that are connected with virtual bridge interface described in step B1 with the logic interfacing of the virtual bridge Interface Matching
Interface;
B3, its Virtual Switch Instance bound is determined by the AC logic interfacings obtained in step B2;
B4, show that the AC of Way out is patrolled by the Virtual Switch Instance and the characteristic value of packet that are obtained in step B3
Collect interface and branch road paranotum mouthful;
OTN business is forwarded to Ethernet branch road by B5, the AC logic interfacings obtained by step B4 and branch road paranotum mouthful
Disk, terminates;
B6, is to be connect with the LSP that virtual bridge interface is connected described in step B1 with the logic interfacing of the virtual bridge Interface Matching
Mouthful;
B7, by the LSP interfaces obtained in step B6, successively parses virtual turn that itself LSP and PW label obtains its binding
Send out example;
B8, show that the AC of Way out is patrolled by the Virtual Switch Instance and the characteristic value of packet that are obtained in step B7
Collect interface and branch road paranotum mouthful;
OTN business is forwarded to Ethernet branch road by B9, the AC logic interfacings obtained by step B8 and branch road paranotum mouthful
Disk, terminates.
Shown in Figure 5, the embodiment of the invention also discloses a kind of configuration distributing side of use POTN business repeater systems
Method:The configuration distributing method includes the configuration distributing in upper words direction, the detailed process bag of the configuration distributing in the upper words direction
Include:
C1, the swapdisk receives configuration, is handled respectively according to Configuration Type, if MPLS business configurations then enter step
C2, if Ethernet service configuration then enters step C7, if OTN business configurations then enter step C12;
C2, obtains the virtual bridge interface ID of Way out from the configuration of LSP interfaces;
C3, multicast ID is converted into according to default mapping ruler by virtual bridge interface ID, and calls driving interface function, wound
Build multicast;
C4, judges whether the multicast has created according to multicast ID, if so, being directly entered step C6;If it is not, into step
C5;
C5, creates multicast, and now its member is sky;
C6, is multicast by the destination interface type configuration of LSP interfaces, and calls corresponding driving interface function to configure,
MPLS business configurations are completed, and are terminated;
The virtual bridge interface ID of Way out is obtained in C7, the configuration received from AC logic interfacings;
C8, multicast ID is converted into according to default mapping ruler by virtual bridge interface ID, and calls driving interface function, wound
Build multicast;
C9, judges whether the multicast has created according to multicast ID, if so, being directly entered step C11;If it is not, entering step
Rapid C10;
C10, creates multicast, and now its member is sky;
C11, is multicast by the destination interface type configuration of AC logic interfacings, and call corresponding driving interface function to match somebody with somebody
Put, MPLS business configurations are completed, terminate;
C12, obtains the virtual bridge interface ID and corresponding active and standby circuit paranotum of Way in from OTN business configurations
Message ceases;
C13, multicast ID is converted into according to default mapping ruler by virtual bridge interface ID, and calls driving interface function,
Create multicast;
C14, judges whether the multicast has created according to multicast ID, if so, into step C15;If it is not, into step
C18;
C15, judges that the front and rear configuration of OTN business configurations whether there is difference;If so, into step S16, if it is not, into
Step S17;
C16, it is the virtual bridge interface and its corresponding active and standby circuit paranotum mouthful to update multicast member information, is terminated;
C17, keeps current multicast information about firms, terminates;
C18, newly-built multicast, and virtual bridge interface and corresponding active and standby circuit paranotum mouthful are added to multicast;OTN industry
Business configuration is completed, and is terminated.
Shown in Figure 6, the configuration distributing method includes the configuration distributing in lower words direction, the configuration in the lower words direction
The detailed process issued includes:
D1, the swapdisk receives configuration, is handled respectively according to Configuration Type, if MPLS business configurations then enter step
D2, if Ethernet service configuration then enters step D3, if OTN business configurations then enter step D6;
D2, is issued according to normal MPLS business configurations handling process;
The virtual bridge interface ID of Way in is obtained in D3, the configuration received from AC logic interfacings;
D4, VLANDOMAIN ID are converted into according to default mapping ruler by virtual bridge interface ID;
D5, the inbound port configuration rule of configuration AC logic interfacings is VLANDOMAIN and sets its ID, calls driving interface
Function completes Ethernet service configuration, terminates;
D6, obtains the virtual bridge interface ID and corresponding active and standby circuit paranotum mouthful of Way out from OTN business configurations
Information;
D7, is converted into VLANDOMAIN ID by virtual bridge interface ID according to default mapping ruler, calls driving interface letter
Number updates the VLANDOMAIN domains of the corresponding active and standby circuit paranotum mouthful of virtual bridge interface;OTN business configurations are completed, and are terminated.
Shown in Figure 7, the embodiment of the invention also discloses a kind of guard method of use POTN business repeater systems, institute
State protection of the guard method including upper words direction to handle, the detailed process of the protection processing in the upper words direction includes:
E1, detects whether there is channel failure, is handled respectively according to fault type;If LSP channel failures, into step
E2;If ODUK channel failures, terminate;
E2, performs LSP masterslave switchover logics, and call driving interface function to perform masterslave switchover;
E3, writes FRR tables, and flip chip service switchover forward-path switches completion, terminates.
Shown in Figure 8, the protection that the guard method includes lower words direction is handled, the protection processing in the lower words direction
Detailed process include:
F1, detects whether there is channel failure, is handled respectively according to fault type;If ODUK channel failures, into step
Rapid E2;If LSP channel failures, terminate;
F2, performs ODUK masterslave switchover logics, and call driving interface function to perform masterslave switchover;
F3, judgement switch direction, if be switched to it is primary if enter step F4, otherwise into step F5;
F4, the virtual bridge interface is updated to by the VLANDOMAIN of the corresponding primary circuit paranotum mouthful of virtual bridge interface
VLANDOMAIN values, the VLANDOMAIN of extension wire paranotum mouthful is updated to invalid value, terminates;
F5, invalid value, siding are updated to by the VLANDOMAIN of the corresponding primary circuit paranotum mouthful of virtual bridge interface
The VLANDOMAIN of trackside backboard mouthful is updated to the VLANDOMAIN values of the virtual bridge interface, terminates.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from
On the premise of the principle of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as the protection of the present invention
Within the scope of.The content not being described in detail in this specification belongs to prior art known to professional and technical personnel in the field.