CN107592252A - Method for processing business and device - Google Patents

Method for processing business and device Download PDF

Info

Publication number
CN107592252A
CN107592252A CN201610539578.3A CN201610539578A CN107592252A CN 107592252 A CN107592252 A CN 107592252A CN 201610539578 A CN201610539578 A CN 201610539578A CN 107592252 A CN107592252 A CN 107592252A
Authority
CN
China
Prior art keywords
state
node port
network
case
ring
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.)
Granted
Application number
CN201610539578.3A
Other languages
Chinese (zh)
Other versions
CN107592252B (en
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610539578.3A priority Critical patent/CN107592252B/en
Priority to PCT/CN2017/089585 priority patent/WO2018006711A1/en
Publication of CN107592252A publication Critical patent/CN107592252A/en
Application granted granted Critical
Publication of CN107592252B publication Critical patent/CN107592252B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a kind of method for processing business and device, wherein, this method includes:The access circuit AC member established on each ring node port on ethernet ring network or pseudo-wire PW member are added in two-layer virtual private network L2VPN;In the case of being broken down on the ethernet ring network, it is determined that the state of AC member or PW member corresponding to each ring node port;According to the state of AC member or PW member corresponding to each ring node port of determination, it is determined that the protection switching result for protecting the ethernet ring network;According to the protection switching result of determination; carry out service traffics forward process and pass through the present invention; solve the problems, such as that Ethernet ring protection agreement present in correlation technique is not fully appropriate for L2VPN scenes; and then effective progress Ethernet ring protection switching, protect the effects of L2VPN service traffics.

Description

Method for processing business and device
Technical field
The present invention relates to the communications field, in particular to a kind of method for processing business and device.
Background technology
Ethernet ring protection switching (Ethernet Ring Protection Switch, referred to as ERPS) is one and answered For the link layer protocol of ether loop network, for protecting VLAN (Virtual Local Area Network, letter Referred to as VLAN) service traffics.When a certain link breaks down, ERPS can recover network communication rapidly, have higher Convergence rate.
Ether loop network is generally joined end to end by multiple nodes and forms ring, and one of node is host node, other sections Point is transmission node.Two ports that loop network is connected on host node are respectively master port and from port, and specify with from end One section of connected annular link of mouth is ring protection link (Ring Protection Link, referred to as RPL).At ethernet ring network When normal condition, master port is opened, and from port block, service traffics is transmitted on master port, block industry on ring protection link Business flow, as shown in Figure 1.When the failure of ethernet ring network link, become to open from port status by blocking, in ring protection link Upper transmission service traffics, as shown in Figure 2.
Two-layer virtual private network (Layer 2Virtual Private Network, referred to as L2VPN) is a kind of base It is special in the two-layer virtual of multiprotocol label switching (Multi-Protocol Label Switching, referred to as MPLS) agreement Network technology.In common MPLS L2VPN network models (as shown in Figure 3), generally by provider edge equipment (Provider Edge device, referred to as PE), tunnel and customer edge (Customer Edge device, abbreviation For CE) these parts composition.L2VPN establishes pseudo-wire (PseudoWire, referred to as PW) between PE equipment, in CE equipment Establish access circuit (Attachment Circuit, referred to as AC).One L2VPN Service Instance include several PW members and AC member.
In the related art, it is proposed that a kind of Ethernet ring protection method and apparatus., can when loop network link breaks down Effectively to protect the service traffics on ethernet ring network.This method needs looped network node being added in VLAN traffic, renewal MAC Location table, to realize the protection to service traffics.
But by the way that looped network node is added in VLAN, mac address table is updated, to realize the protection to service traffics Mode, there can be the problem of following in some scenarios:1) in L2VPN business, PW member can cross over MPLS network, for The Ethernet ring protection handoff technique of VLAN traffic can not be applied on PW;2) in L2VPN business, certain form of L2VPN VLAN and mac address table is not present in business.
Therefore, the problem of Ethernet ring protection agreement is not fully appropriate for L2VPN scenes in correlation technique be present.
The content of the invention
The embodiments of the invention provide a kind of method for processing business and device, with least solve present in correlation technique with Too looped network protection agreement is not fully appropriate for the problem of L2VPN scenes.
According to one embodiment of present invention, there is provided a kind of method for processing business, including:Will be each on ethernet ring network The access circuit AC member established on ring node port or pseudo-wire PW member are added in two-layer virtual private network L2VPN; In the case of being broken down on the ethernet ring network, it is determined that the state of AC member or PW member corresponding to each ring node port; According to the state of AC member or PW member corresponding to each ring node port of determination, it is determined that for protecting the ether ring The protection switching result of net;According to the protection switching result of determination, service traffics forward process is carried out.
Alternatively, in the AC member or the PW that will be established on each ring node port on the ethernet ring network Before member is added in the L2VPN, in addition to:Determine each ring node port on the ethernet ring network establish member into Member's type, wherein, the member type includes:AC member or PW member;Belong to the situation of the L2VPN in ring node port Under, establish AC member on the ring node port;The situation of multiprotocol label switching MPLS network is crossed in ring node port Under, establish PW member on the ring node port.
Alternatively, in the case of being broken down on the ethernet ring network, it is determined that AC corresponding to each ring node port into The state of member or PW member include:In the case where judged result is the AC member or service traffics are not present in PW member, really The state of fixed the AC member or PW member are normal;It is the feelings that the AC member or PW member have service traffics in judged result Under condition, judge whether the AC member or PW member break down;It is that event occurs for the AC member or PW member in judged result In the case of barrier, the abnormal state of the AC member or PW member are determined;Judged result be the AC member or PW member not In the case of breaking down, determine that the state of the AC member or PW member are normal.
Alternatively, in the state of AC member or PW member corresponding to each ring node port according to determination, it is determined that After the protection switching result for protecting the ethernet ring network, in addition to:By described in the protection switching result notice Other link points in ethernet ring network in addition to the link point, for AC member or PW corresponding to other link points settings The state of member.
Alternatively, after the protection switching result according to determination, progress service traffics forward process, in addition to: It is determined that in the case of failure vanishes on the ethernet ring network, the shape of updated AC member or PW member during to breaking down State is recovered.
According to another embodiment of the invention, there is provided a kind of business processing device, including:Module is added, for inciting somebody to action It is special that the access circuit AC member established on each ring node port on ethernet ring network or pseudo-wire PW member add two-layer virtual With in network L2VPN;First determining module, in the case of being broken down on the ethernet ring network, it is determined that each link The state of AC member or PW member corresponding to point port;Second determining module, for each ring node side according to determination The state of AC member or PW member corresponding to mouthful, it is determined that the protection switching result for protecting the ethernet ring network;Processing module, For the protection switching result according to determination, service traffics forward process is carried out.
Alternatively, described device also includes:3rd determining module, for determining each link point on the ethernet ring network The member type of member is established in port, wherein, the member type includes:AC member or PW member;First establishes module, uses In the case of the L2VPN is belonged in ring node port, AC member is established on the ring node port;Second establishes mould Block, in the case of crossing over multiprotocol label switching MPLS network in ring node port, established on the ring node port PW member.
Alternatively, first determining module includes:First judging unit, for judging each ring node port pair The AC member or PW member answered whether there is service traffics;First determining unit, for the judgement in first judging unit As a result in the case of service traffics being not present for the AC member or PW member, the state of the AC member or PW member are being determined just Often;Second judging unit, business be present for the judged result in first judging unit for the AC member or PW member In the case of flow, judge whether the AC member or PW member break down;Second determining unit, for sentencing described second In the case that the judged result of disconnected unit breaks down for the AC member or PW member, the AC member or PW member are determined Abnormal state;3rd determining unit, for second judging unit judged result for the AC member or PW member not In the case of breaking down, determine that the state of the AC member or PW member are normal.
Alternatively, described device also includes:Notification module, for the protection switching result to be notified into the ethernet ring network In other link points in addition to the link point, for other link points set corresponding to the shape of AC member or PW member State.
Alternatively, described device also includes:Recovery module, for it is determined that the feelings of the failure vanishes on the ethernet ring network Under condition, the state of updated AC member or PW member are recovered during to breaking down.
According to still another embodiment of the invention, a kind of storage medium is additionally provided.The storage medium is arranged to storage and used In the program code for performing following steps:By the access circuit AC member established on each ring node port on ethernet ring network or Person's pseudo-wire PW member is added in two-layer virtual private network L2VPN;In the case of being broken down on the ethernet ring network, it is determined that The state of AC member or PW member corresponding to each ring node port;According to AC corresponding to each ring node port of determination Member or the state of PW member, it is determined that the protection switching result for protecting the ethernet ring network;According to the protection of determination Switching result, carry out service traffics forward process.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:By the ether ring Before the AC member or the PW member established on online each ring node port is added in the L2VPN, also wrap Include:Determine that each ring node port on the ethernet ring network establishes the member type of member, wherein, the member type bag Include:AC member or PW member;In the case where ring node port belongs to the L2VPN, established on the ring node port AC member;In the case where ring node port crosses over multiprotocol label switching MPLS network, established on the ring node port PW member.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:In the ethernet ring network In the case of upper failure, it is determined that the state of AC member or PW member corresponding to each ring node port include:Described in judgement AC member or PW member whether there is service traffics corresponding to each ring node port;It is the AC member or PW in judged result In the case that service traffics are not present in member, determine that the state of the AC member or PW member are normal;It is described in judged result In the case that AC member or PW member have service traffics, judge whether the AC member or PW member break down;Judging As a result in the case of being broken down for the AC member or PW member, the abnormal state of the AC member or PW member are determined; Judged result is in the case that the AC member or PW member do not break down, to determine the state of the AC member or PW member just Often.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:In the institute according to determination The state of AC member or PW member corresponding to each ring node port are stated, it is determined that the protection for protecting the ethernet ring network After switching result, in addition to:The protection switching result is notified to its in the ethernet ring network in addition to the link point Its link point, for the state of AC member or PW member corresponding to other link points settings.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:In the institute according to determination Protection switching result is stated, after carrying out service traffics forward process, in addition to:It is determined that failure vanishes on the ethernet ring network In the case of, the state of updated AC member or PW member are recovered during to breaking down.
The AC member established by the present invention on each ring node port on ethernet ring network or PW member add In L2VPN, protection switching result is determined according to the state of AC member or PW member corresponding to each ring node port, carries out business Flow forward, due to the state for using the AC member established on ring node port or PW member carry out protect switching and Service traffics forward process, therefore, can solve Ethernet ring protection agreement present in correlation technique and be not fully appropriate for The problem of L2VPN scenes, reach and effectively carry out Ethernet ring protection switching, protect the effect of L2VPN service traffics.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the topological schematic diagram under Ethernet ring protection normal condition in correlation technique;
Fig. 2 is the topological schematic diagram under Ethernet ring protection malfunction in correlation technique;
Fig. 3 is MPLS L2VPN network models topology schematic diagram in correlation technique;
Fig. 4 is a kind of hardware block diagram of the terminal of method for processing business of the embodiment of the present invention;
Fig. 5 is the flow chart of method for processing business according to embodiments of the present invention;
Fig. 6 is the structured flowchart of the Ethernet ring protection device of preferred embodiment according to embodiments of the present invention;
Fig. 7 is the flow chart of method for processing business according to the preferred embodiment of the invention;
Fig. 8 is that the topology under the Ethernet ring protection normal condition according to the preferred embodiment of the invention based on L2VPN is shown It is intended to;
Fig. 9 is that the topology under the Ethernet ring protection malfunction according to the preferred embodiment of the invention based on L2VPN is shown It is intended to;
Figure 10 is the Ethernet ring protection according to the preferred embodiment of the invention based on the L2VPN not person's of being associated to malfunction Under topological schematic diagram;
Figure 11 is the structured flowchart one of business processing device according to embodiments of the present invention;
Figure 12 is the structured flowchart two of business processing device according to embodiments of the present invention;
Figure 13 is the structured flowchart of the first determining module 114 of business processing device according to embodiments of the present invention;
Figure 14 is the structured flowchart three of business processing device according to embodiments of the present invention;
Figure 15 is the structured flowchart four of business processing device according to embodiments of the present invention.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that do not conflicting In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.
Embodiment 1
The embodiment of the method that the embodiment of the present application one is provided can be in mobile terminal, terminal or similar fortune Calculate and performed in device.Exemplified by operating in terminal, Fig. 4 is a kind of the hard of the terminal of method for processing business of the embodiment of the present invention Part structured flowchart.As shown in figure 4, terminal 40 can include one or more (processors of (one is only shown in figure) processor 402 402 can include but is not limited to Micro-processor MCV or PLD FPGA etc. processing unit), for data storage Memory 404 and transmitting device 406 for communication function.It will appreciated by the skilled person that shown in Fig. 4 Structure be only illustrate, it does not cause to limit to the structure of above-mentioned electronic installation.For example, terminal 40 may also include than in Fig. 4 Shown more either less components have the configuration different from shown in Fig. 4.
Memory 404 can be used for the software program and module of storage application software, such as the business in the embodiment of the present invention Programmed instruction/module corresponding to processing method, processor 402 by operation be stored in software program in memory 404 and Module, so as to perform various function application and data processing, that is, realize above-mentioned method.Memory 404 may include at a high speed with Machine memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or other it is non-easily The property lost solid-state memory.In some instances, memory 404 can further comprise depositing relative to processor 402 is remotely located Reservoir, these remote memories can pass through network connection to terminal 40.The example of above-mentioned network include but is not limited to internet, Intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 406 is used to data are received or sent via a network.Above-mentioned network instantiation may include The wireless network that the communication providerses of terminal 40 provide.In an example, transmitting device 406 includes a network adapter (Network Interface Controller, NIC), its can be connected by base station with other network equipments so as to interconnection Net is communicated.In an example, transmitting device 406 can be radio frequency (Radio Frequency, RF) module, and it is used for Wirelessly communicated with internet.
A kind of method for processing business for running on above-mentioned terminal is provided in the present embodiment, and Fig. 5 is according to of the invention real The flow chart of the method for processing business of example is applied, as shown in figure 5, the flow comprises the following steps:
Step S502, the access circuit AC member or pseudo-wire PW that will be established on each ring node port on ethernet ring network Member is added in two-layer virtual private network L2VPN;
Step S504, in the case of being broken down on link point ethernet ring network, it is determined that corresponding to each ring node port AC member or the state of PW member;
Step S506, according to the state of AC member or PW member corresponding to each ring node port of the link of determination point, really Surely it is used for the protection switching result of protection ring node ethernet ring network;
Step S508, according to the link point protection switching result of determination, carry out service traffics forward process.
The AC member established by above-mentioned steps on each ring node port on ethernet ring network or PW member add In L2VPN, protection switching result is determined according to the state of AC member or PW member corresponding to each ring node port, carries out business Flow forwards, and solves the problems, such as that Ethernet ring protection agreement present in correlation technique is not fully appropriate for L2VPN scenes, Ethernet ring protection switching can be effectively carried out, protects L2VPN service traffics.
Alternatively, the executive agent of above-mentioned steps can be terminal, link point in ethernet ring network etc., but not limited to this.
Alternatively, before step S502, each ring node side on ethernet ring network can also be determined in the following way Mouth establishes the member type of member, wherein, member type includes AC member or PW member:Belong to L2VPN in ring node port In the case of (local network), AC member is established on ring node port;In the case where ring node port crosses over MPLS network, PW member is established on ring node port.And ring node port belongs to L2VP and is also across MPLS network, can be matched somebody with somebody according to network Put and be determined.
By the above-mentioned technical proposal of the embodiment of the present invention, local network is belonged to according to ring node port and is also across MPLS Network determines the member type that each ring node port is established, and can be replaced by each ring node port pair in business processing The member type answered, it ensure that being smoothed out for protection switching.
Alternatively, step S504 can use various ways to realize, for example, it may be determined that corresponding to each ring node port AC member or the state of PW member, it is determined that the state of AC member or PW member corresponding to each ring node port.In another example can be with First determine whether that AC member corresponding to each ring node port or PW member whether there is service traffics, in the absence of service traffics AC member or PW member, determine that the state of the AC member or PW member are normal;For the AC member or PW of service traffics be present Member, whether broken down according to the AC member or PW member and determine whether the AC member or PW member are normal, judge AC member Or whether PW member breaks down, in the event of failure, it is determined that the abnormal state of the AC member or PW member, if do not occurred Failure, it is determined that the state of the AC member or PW member are normal.It is right because ethernet ring network is used to protect the service traffics in VLAN The AC member flowed through in no service traffics or the state of PW member have no effect on the transmission of service traffics, therefore, with determining often The state of AC member or PW member corresponding to individual ring node port, it is determined that AC member or PW member corresponding to each ring node port State compare, only condition adjudgement is carried out to the fault state of the AC member of service traffics or PW member be present, and for not depositing Think that the member condition is normal in the AC member of service traffics or PW member, can reduce and determine corresponding to each ring node port The workload of the state of AC member or PW member, improve the operational efficiency of system.
By the above-mentioned technical proposal of the embodiment of the present invention, only to the failure of the AC member of service traffics or PW member be present Situation carries out condition adjudgement, and thinks that the member condition is normal for the AC member in the absence of service traffics or PW member, can The workload for determining the state of AC member or PW member corresponding to each ring node port is reduced, improves the operational efficiency of system.
Alternatively, after step S506, the ring will can also be removed in the protection switching result notice ethernet ring network of determination Other link points outside node, for the state of AC member or PW member corresponding to the setting of other link points.
By the above-mentioned technical proposal of the embodiment of the present invention, by the protection switching result of determination is notified into other link points, Other link points can according to corresponding to being set switching result the state of AC member or PW member, improve AC member or PW member The efficiency that state is set, it ensure that ethernet ring network middle ring node AC member or the reliability that PW member conditions are set.
Alternatively, after step s 508, can also be it is determined that in the case of failure vanishes on ethernet ring network, to occurring The state of updated AC member or PW member are recovered during failure.
By the above-mentioned technical proposal of the embodiment of the present invention, in the failure vanishes on ethernet ring network, during to breaking down Updated AC member or the state of PW member are recovered, and ensure that the state renewal of the AC member or PW member of link point Promptness, it ensure that the efficiency of service traffics forwarding.
Based on above-described embodiment and optional embodiment, to illustrate that the whole flow process of scheme interacts, in this preferred embodiment In, there is provided a kind of method for processing business, this method may operate in Ethernet ring protection device as shown in Figure 6, the dress Put including:L2VPN management modules 62, L2VPN block of state 64, state notifying module 66, protocol process module 68.Below to this Device illustrates.
L2VPN management modules 62 (act on and establish mould with following addition modules, processing module, the 3rd determining module, first Block, second establish module), for managing AC member and PW member.Each ring node port on ethernet ring network is added into L2VPN If ring node port in the home network, establishes AC member and adds L2VPN on that port in;If ring node port is crossed over MPLS network, then PW member is established on that port and adds L2VPN.In addition, L2VPN management modules 62 can be led to reception state Know the protection switching result of module 66, AC member or PW member are arranged to obstruction or open mode, realize correct business Flow forwards.
L2VPN block of state 64 (is acted on following first determining modules), for perceiving the state of AC member or PW member Change, calculates the end-state of AC member or PW member, end-state is passed into state notifying module 66.L2VPN states Module 64 can choose whether to associate member condition when calculating the end-state of member, if existing business on L2VPN member Flow also has protocol massages flow, then associates member condition;If there was only protocol massages flow on L2VPN member, do not associate Member condition.
State notifying module 66 (is acted on following notification modules), for responding the state of L2VPN block of state 64, by shape State is notified to protocol process module 68.State notifying module 66 is additionally operable to receive the protection switching result of protocol process module 68, Protection switching result is notified to L2VPN management modules 62.
Protocol process module 68 (is acted on following second determining modules), for running ERPS agreements, receipt status notification The status information of module 66, protection switching result is calculated according to status information, protection switching result is passed into state notifying Module 66.
With reference to said apparatus and corresponding module, the method for processing business in this preferred embodiment is illustrated below. Fig. 7 is the flow chart of method for processing business according to the preferred embodiment of the invention, as shown in fig. 7, the flow comprises the following steps:
Step S702, each ring node port on ethernet ring network is added in L2VPN.
Each ring node port on ethernet ring network is added before L2VPN, it is necessary to be configured to ethernet ring network:Configuration The host node and transmission node of Ethernet ring protection, the master port of host node is configured and from port, in the port of each link point Upper operation Ethernet ring protection agreement.
All ring node ports are added in L2VPN business, if ring node port is in the home network, described AC member is established on port and adds L2VPN (example), if ring node port crosses over MPLS network, PW is established on the port Member adds L2VPN (example).
Step S704, AC member or PW member perceive and broken down on ethernet ring network, and L2VPN calculates according to fault message Go out the end-state of AC member and PW member.
When ethernet ring network is in normal condition, AC member or PW member where master port are in open mode, from AC member or PW member where port are in blocked state, transmission services on the AC member or PW member on master port Flow, AC member or PW member's block traffic flow on ring protection link.
When AC member on ethernet ring network or PW member detect central link failure, L2VPN block of state 64 is according to event Barrier status information calculates the end-state of AC member or PW member,.L2VPN block of state 64 is calculating the final shape of member It can choose whether to associate member condition during state, if existing service traffics also have protocol massages flow on L2VPN member, close Join member condition;If there was only protocol massages flow on L2VPN member, not the person's of being associated to state, even if being produced on the member Failure, the result of calculation member is still normal condition.
Step S706, the end-state information of AC member and PW member are notified to protocol process module.
The AC member that L2VPN block of state 64 is calculated and the end-state of PW member, pass through state notifying module 66 Notify that agreement here is ERPS agreements to protocol process module 68.
Step S708, protection switching result is calculated according to status information is received.
After protocol process module 68 receives fault message, protocol status calculating is carried out, by protection switching result warp and state Notification module 66 is notified to L2VPN management modules 62 where current ink.
Step S7010, according to protection switching result, AC member or PW member are arranged to obstruction or open mode.
L2VPN management modules 62, according to the protection switching result received, by AC member or PW member be arranged to obstruction or Person's open mode, so as to realize correct service traffics forwarding.
Protocol process module 68 can also send failure message notice ring network host node, and ring network host node receives failure message Afterwards, protocol status calculating is carried out, the L2VPN business on switching result notice ring network host node will be protected, L2VPN opens looped network master The AC member or PW member being blocked on node.
When AC member on ethernet ring network or PW member detect central link failure vanishes, L2VPN management modules 62 will Failure vanishes message informing is to protocol process module 68.
After protocol process module 68 receives failure vanishes information, protocol status calculating, notice L2VPN management modules 62 are carried out Recover current AC member or PW member condition.
L2VPN management modules 62 can also send failure message notice ring network host node, and ring network host node receives failure and disappeared After losing message, protocol status calculating is carried out, notifies the L2VPN on ring network host node to block again on ring network host node and is closed from port The AC member or PW member of connection.
The L2VPN types of service on ethernet ring network are not limited in this preferred embodiment, can be point-to-point, put to more Point, local exchange business etc..L2VPN business member combination on ethernet ring network is not limited, can be entirely PW member, Or entirely AC member, or any combination of PW member and AC member.
Below by taking the ethernet ring network of four node compositions as an example, the method for processing business of this preferred embodiment is said It is bright.
As shown in figure 8, configuration PE1 equipment is host node, PE2, PE3, PE4 equipment are transmission node.Configure host node Master port and from port.Ethernet ring protection handoff protocol is run in PE1, PE2, PE3, PE4 equipment.
L2VPN examples 1 are established on PE1, L2VPN examples 2 are established on PE2, L2VPN examples 3 are established on PE3, are built on PE4 Vertical L2VPN examples 4.Between PE1 and PE2, MPLS network is crossed between PE3 and PE4, establishes PW connections.Example 1 is by PW12 member It is real by PW34 member and AC32 member compositions by PW21 member and AC23 member compositions, example 3 with AC14 member compositions, example 2 Example 4 is by PW43 member and AC41 member compositions.
When ethernet ring network link is normal, PW12 is in open mode, and AC14 is in blocked state, can be with PW12 member Transmission services flow, block traffic flow on AC14 member.
As shown in figure 9, when detecting link failure between PE3 and PE4 equipment on ethernet ring network, L2VPN calculates PW34 With the end-state of PW43 member, final fault status information is notified to give Ethernet ring protection agreement.L2VPN is calculating member End-state when can choose whether associate member condition, if existing service traffics also have protocol massages on L2VPN member Flow, then associate member condition;If there was only protocol massages flow on L2VPN member, the not person's of being associated to state, even if this into Failure is generated on member, the result of calculation member is still normal condition.As shown in Figure 10, service traffics are from PE1 equipment PW12 enters, and after PE2 equipment, is come out from PE3 equipment.In this case, there is no Business Stream on PW34 and PW43 members Amount, even if link failure occur in PW34 and PW43 members, normal service traffics forwarding is nor affected on, now selects not associate Member condition, that is, the end-state for thinking PW34 and PW43 members are normal conditions.
After Ethernet ring protection device receives fault message, protocol status calculating is carried out, by protection switching result notice L2VPN examples 3 and L2VPN examples 4.L2VPN examples 3 block PW34 member, and L2VPN examples 4 block PW43 member.
Ethernet ring protection device sends failure message notice ring network host node PE1 equipment, after PE1 receives failure message, The L2VPN examples 1 on PE1 are notified, L2VPN examples 1 open the PW12 member being blocked.
When the link failure between PE3 and PE4 equipment on ethernet ring network disappears, L2VPN is by failure vanishes message informing Give Ethernet ring protection agreement.
After Ethernet ring protection device receives failure vanishes information, protocol status calculating is carried out, notice L2VPN examples 3 are extensive PW34 member is blocked again, and L2VPN examples 4 recover to be blocked PW43 member.
Ethernet ring protection device sends failure message notice ring network host node PE1 equipment, and ring network host node PE1 receives event After hindering disappearance message, protocol status calculating is carried out, notice L2VPN examples 1 block AC14 member again.
The above-mentioned technical proposal of this preferred embodiment, using L2VPN AC member and PW member as basic status unit, across More in the environment of MPLS network, Ethernet ring protection switching can be effectively carried out, realizes the protection to L2VPN service traffics. Compared with correlation technique, on the one hand, need not add looped network node in VLAN traffic, directly according to AC member and PW member State carries out protection switching.On the other hand, the scene of MPLS network is crossed over for looped network node, can correctly calculate ERPS State, the service traffics being effectively protected on ethernet ring network.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but a lot In the case of the former be more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing The part that technology contributes can be embodied in the form of software product, and the computer software product is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, calculate Machine, server, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiment 2
A kind of business processing device is additionally provided in the present embodiment, and the device is used to realize above-described embodiment and preferred reality Mode is applied, had carried out repeating no more for explanation.As used below, term " module " can realize the soft of predetermined function The combination of part and/or hardware.Although device described by following examples is preferably realized with software, hardware, or The realization of the combination of software and hardware is also what may and be contemplated.
Figure 11 is the structured flowchart one of business processing device according to embodiments of the present invention, as shown in figure 11, the device bag Include:Add module 112, the first determining module 114, the second determining module 116, processing module 118.The device is said below It is bright.
Add module 112, for the access circuit AC member that will be established on each ring node port on ethernet ring network or Person's pseudo-wire PW member is added in two-layer virtual private network L2VPN;First determining module 114, with the above-mentioned phase of addition module 112 Even, in the case of for being broken down on ethernet ring network, it is determined that AC member corresponding to each ring node port or PW member State;Second determining module 116, it is connected with above-mentioned first determining module 114, for each ring node port pair according to determination The AC member answered or the state of PW member, it is determined that the protection switching result for protecting ethernet ring network;Processing module 118, it is and upper State the second determining module 116 to be connected, for the protection switching result according to determination, carry out service traffics forward process.
Figure 12 is the structured flowchart two of business processing device according to embodiments of the present invention, and as shown in figure 12, the device removes Outside including all modules shown in Figure 11, in addition to:3rd determining module 122, first establish module 124, second establish module 126.The device is illustrated below.
3rd determining module 122, for determining that each ring node port on ethernet ring network establishes the member type of member, Wherein, member type includes:AC member or PW member;First establishes module 124, is connected with above-mentioned 3rd determining module 122, In the case of belonging to L2VPN in ring node port, AC member is established on ring node port;Second establishes module 126, with Above-mentioned 3rd determining module 122 is connected, in the case of crossing over multiprotocol label switching MPLS network in ring node port, PW member is established on ring node port.
Figure 13 is the structured flowchart of the first determining module 114 of business processing device according to embodiments of the present invention, is such as schemed Shown in 13, first determining module 114 includes:First judging unit 132, the first determining unit 134, the second judging unit 136, Second determining unit 138, the 3rd determining unit 1310.First determining module 114 is illustrated below.
First judging unit 132, for judging that AC member corresponding to each ring node port or PW member whether there is industry Business flow;First determining unit 134, it is connected with above-mentioned first judging unit 132, for the judgement in the first judging unit 132 As a result in the case of service traffics being not present for AC member or PW member, determine that the state of AC member or PW member are normal;Second Judging unit 136, it is connected with above-mentioned first judging unit 132, for being AC member in the judged result of the first judging unit 132 Or in the case that PW member has service traffics, judge whether AC member or PW member break down;Second determining unit 138, It is connected with above-mentioned second judging unit 136, occurs for the judged result in the second judging unit 136 for AC member or PW member In the case of failure, the abnormal state of AC member or PW member are determined;3rd determining unit 1310, with above-mentioned second judging unit 136 are connected, for being in the case that AC member or PW member do not break down, really in the judged result of the second judging unit 136 The state for determining AC member or PW member is normal.
Figure 14 is the structured flowchart three of business processing device according to embodiments of the present invention, and as shown in figure 14, the device removes Outside including all modules shown in Figure 11, in addition to:Notification module 142.The device is illustrated below.
Notification module 142, for switching result will to be protected to notify other link points in ethernet ring network outside division ring node, For the state of AC member or PW member corresponding to the setting of other link points.
Figure 15 is the structured flowchart four of business processing device according to embodiments of the present invention, and as shown in figure 15, the device removes Outside including all modules shown in Figure 11, in addition to:Recovery module 152.The device is illustrated below.
Recovery module 152, it is updated during to breaking down for it is determined that in the case of failure vanishes on ethernet ring network AC member or the state of PW member recovered.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong Cross in the following manner realization, but not limited to this:Above-mentioned module is respectively positioned in same processor;Or above-mentioned modules are with any The form of combination is located in different processors respectively.
Embodiment 3
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can The program code for performing following steps to be arranged to storage to be used for:
S1, the access circuit AC member or pseudo-wire PW member that are established on each ring node port on ethernet ring network are added Enter in two-layer virtual private network L2VPN;
S2, in the case of being broken down on ethernet ring network, it is determined that AC member corresponding to each ring node port or PW into The state of member;
S3, according to the state of AC member or PW member corresponding to each ring node port of determination, it is determined that for protect with The too protection switching result of looped network;
S4, according to the protection switching result of determination, carry out service traffics forward process.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:
It in L2VPN is added in the AC member that will be established on each ring node port on ethernet ring network or PW member Before, in addition to:
S1, determine that each ring node port on ethernet ring network establishes the member type of member, wherein, member type bag Include:AC member or PW member;
S2, in the case where ring node port belongs to L2VPN, AC member is established on ring node port;
S3, in the case where ring node port crosses over multiprotocol label switching MPLS network, established on ring node port PW member.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:
In the case of being broken down on ethernet ring network, it is determined that AC member corresponding to each ring node port or PW member State includes:
S1, be in the case that service traffics are not present in AC member or PW member in judged result determine AC member or PW into The state of member is normal;
S2, in the case where judged result is AC member or PW member has service traffics, judge AC member or PW member Whether break down;
S3, in the case where judged result is AC member or PW member breaks down, determine the shape of AC member or PW member State is abnormal;
S4, it is to determine AC member or PW member in the case that AC member or PW member do not break down in judged result State is normal.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:According to determination The state of AC member or PW member corresponding to each ring node port, it is determined that for protect ethernet ring network protection switching result it Afterwards, in addition to:Other link points in switching result notice ethernet ring network outside division ring node will be protected, for other link points AC member corresponding to setting or the state of PW member.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:According to determination Switching result is protected, after carrying out service traffics forward process, in addition to:It is determined that the situation of the failure vanishes on ethernet ring network Under, the state of updated AC member or PW member are recovered during to breaking down.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. is various can be with the medium of store program codes.
Alternatively, in the present embodiment, processor performs according to the program code stored in storage medium:By ether ring The access circuit AC member or pseudo-wire PW member established on online each ring node port adds two-layer virtual private network In L2VPN;In the case of being broken down on ethernet ring network, it is determined that AC member corresponding to each ring node port or PW member State;According to the state of AC member or PW member corresponding to each ring node port of determination, it is determined that for protecting ethernet ring network Protection switching result;According to the protection switching result of determination, service traffics forward process is carried out.
Alternatively, in the present embodiment, processor performs according to the program code stored in storage medium:By ether Before the AC member established on each ring node port on looped network or PW member are added in L2VPN, in addition to:Determine ether Each ring node port on looped network establishes the member type of member, wherein, member type includes:AC member or PW member; In the case where ring node port belongs to L2VPN, AC member is established on ring node port;Multi-protocols are crossed in ring node port In the case of Tag switching MPLS network, PW member is established on ring node port.
Alternatively, in the present embodiment, processor performs according to the program code stored in storage medium:In ether ring In the case of online failure, it is determined that the state of AC member or PW member corresponding to each ring node port include:Judge every AC member corresponding to individual ring node port or PW member whether there is service traffics;Judged result be AC member or PW member not In the case of service traffics being present, determine that the state of AC member or PW member are normal;It is AC member or PW member in judged result In the case of service traffics being present, judge whether AC member or PW member break down;Judged result be AC member or PW into In the case that member breaks down, the abnormal state of AC member or PW member are determined;Judged result be AC member or PW member not In the case of breaking down, determine that the state of AC member or PW member are normal.
Alternatively, in the present embodiment, processor performs according to the program code stored in storage medium:According to really The state of AC member or PW member corresponding to fixed each ring node port, it is determined that for protecting the protection of ethernet ring network to switch knot After fruit, in addition to:Other link points in switching result notice ethernet ring network outside division ring node will be protected, for other rings The state of AC member or PW member corresponding to node setting.
Alternatively, in the present embodiment, processor performs according to the program code stored in storage medium:According to really Fixed protection switching result, after carrying out service traffics forward process, in addition to:It is determined that failure vanishes on ethernet ring network In the case of, the state of updated AC member or PW member are recovered during to breaking down.
Alternatively, the specific example in the present embodiment may be referred to described in above-described embodiment and optional embodiment Example, the present embodiment will not be repeated here.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and formed Network on, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to they are stored Performed in the storage device by computing device, and in some cases, can be with different from shown in order execution herein The step of going out or describing, they are either fabricated to each integrated circuit modules respectively or by multiple modules in them or Step is fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware and software combination.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (10)

  1. A kind of 1. method for processing business, it is characterised in that including:
    The access circuit AC member established on each ring node port on ethernet ring network or pseudo-wire PW member are added two layers In VPN L2VPN;
    In the case of being broken down on the ethernet ring network, it is determined that AC member corresponding to each ring node port or PW member State;
    According to the state of AC member or PW member corresponding to each ring node port of determination, it is determined that for protect it is described with The too protection switching result of looped network;
    According to the protection switching result of determination, service traffics forward process is carried out.
  2. 2. according to the method for claim 1, it is characterised in that by each ring node port on the ethernet ring network Before the AC member or the PW member established is added in the L2VPN, in addition to:
    Determine that each ring node port on the ethernet ring network establishes the member type of member, wherein, the member type bag Include:AC member or PW member;
    In the case where ring node port belongs to the L2VPN, AC member is established on the ring node port;
    Ring node port cross over multiprotocol label switching MPLS network in the case of, established on the ring node port PW into Member.
  3. 3. according to the method for claim 1, it is characterised in that in the case of being broken down on the ethernet ring network, really The state of AC member or PW member corresponding to fixed each ring node port include:
    Judge that AC member or PW member whether there is service traffics corresponding to each ring node port;
    Be in the case that service traffics are not present in the AC member or PW member in judged result determine the AC member or PW into The state of member is normal;
    In the case where judged result is the AC member or PW member has service traffics, the AC member or PW member are judged Whether break down;
    In the case where judged result is the AC member or PW member breaks down, the shape of the AC member or PW member are determined State is abnormal;
    In the case where judged result is the AC member or PW member does not break down, the AC member or PW member are determined State is normal.
  4. 4. according to the method described in claim 1, it is characterised in that corresponding in each ring node port according to determination AC member or PW member state, it is determined that after the protection switching result for protecting the ethernet ring network, in addition to:
    The protection switching result is notified into other link points in the ethernet ring network in addition to the link point, for described The state of AC member or PW member corresponding to other link points settings.
  5. 5. method according to any one of claim 1 to 4, it is characterised in that switch according to the protection of determination As a result, after carrying out service traffics forward process, in addition to:
    It is determined that in the case of failure vanishes on the ethernet ring network, updated AC member or PW member during to breaking down State recovered.
  6. A kind of 6. business processing device, it is characterised in that including:
    Module is added, for the access circuit AC member or pseudo-wire PW that will be established on each ring node port on ethernet ring network Member is added in two-layer virtual private network L2VPN;
    First determining module, in the case of being broken down on the ethernet ring network, it is determined that each ring node port is corresponding AC member or PW member state;
    Second determining module, for the state of AC member or PW member corresponding to each ring node port according to determination, It is determined that the protection switching result for protecting the ethernet ring network;
    Processing module, for the protection switching result according to determination, carry out service traffics forward process.
  7. 7. device according to claim 6, it is characterised in that also include:
    3rd determining module, for determining that each ring node port on the ethernet ring network establishes the member type of member, its In, the member type includes:AC member or PW member;
    First establishes module, in the case of belonging to the L2VPN in ring node port, is established on the ring node port AC member;
    Second establishes module, in the case of crossing over multiprotocol label switching MPLS network in ring node port, in the ring PW member is established on node port.
  8. 8. device according to claim 6, it is characterised in that first determining module includes:
    First judging unit, for judging that AC member or PW member whether there is Business Stream corresponding to each ring node port Amount;
    First determining unit, industry is not present for the AC member or PW member for the judged result in first judging unit It is engaged in the case of flow, determining that the state of the AC member or PW member are normal;
    Second judging unit, business be present for the judged result in first judging unit for the AC member or PW member In the case of flow, judge whether the AC member or PW member break down;
    Second determining unit, broken down for the judged result in second judging unit for the AC member or PW member In the case of, determine the abnormal state of the AC member or PW member;
    3rd determining unit, event does not occur for the AC member or PW member for the judged result in second judging unit In the case of barrier, determine that the state of the AC member or PW member are normal.
  9. 9. according to the device described in claim 6, it is characterised in that also include:
    Notification module, for the protection switching result to be notified to other rings in the ethernet ring network in addition to the link point Node, for the state of AC member or PW member corresponding to other link points settings.
  10. 10. the device according to any one of claim 6 to 9, it is characterised in that also include:
    Recovery module, it is updated during to breaking down for it is determined that in the case of failure vanishes on the ethernet ring network The state of AC member or PW member are recovered.
CN201610539578.3A 2016-07-08 2016-07-08 Service processing method and device Active CN107592252B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610539578.3A CN107592252B (en) 2016-07-08 2016-07-08 Service processing method and device
PCT/CN2017/089585 WO2018006711A1 (en) 2016-07-08 2017-06-22 Service processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610539578.3A CN107592252B (en) 2016-07-08 2016-07-08 Service processing method and device

Publications (2)

Publication Number Publication Date
CN107592252A true CN107592252A (en) 2018-01-16
CN107592252B CN107592252B (en) 2021-06-29

Family

ID=60921575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610539578.3A Active CN107592252B (en) 2016-07-08 2016-07-08 Service processing method and device

Country Status (2)

Country Link
CN (1) CN107592252B (en)
WO (1) WO2018006711A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022390A (en) * 2007-03-21 2007-08-22 华为技术有限公司 Method, system and equipment for protecting double-return switch-in RRPP loop network
CN101719834A (en) * 2009-06-02 2010-06-02 中兴通讯股份有限公司 Method and system for realizing virtual private multicast service protection
CN102035665A (en) * 2009-09-25 2011-04-27 中兴通讯股份有限公司 Protection method and device for point-to-multipoint pseudowires (P2MP PW)
CN102549990A (en) * 2011-07-26 2012-07-04 华为技术有限公司 Method and device for generating forwarding table term of virtual private network
CN103546321A (en) * 2013-10-24 2014-01-29 杭州华三通信技术有限公司 RPR energy-saving management method and device
CN103595626A (en) * 2013-10-15 2014-02-19 苏州拓康自动化技术有限公司 Method for achieving dynamic path planning in ring network
CN104956628A (en) * 2013-01-29 2015-09-30 思科技术公司 Using Ethernet ring protection switching with computer networks

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316212A (en) * 2008-07-07 2008-12-03 华为技术有限公司 Looped network failure processing method, looped network and operator backbone equipment
CN102014035A (en) * 2009-09-04 2011-04-13 中兴通讯股份有限公司 Networking method and device based on Ethernet ring
CN101778031B (en) * 2009-12-31 2012-10-10 中兴通讯股份有限公司 Ethernet and multicast stream processing method based on VPLS
US8644134B2 (en) * 2010-10-28 2014-02-04 Cisco Technology, Inc. Dual-homing for ethernet line services
US9203729B2 (en) * 2013-03-07 2015-12-01 Centurylink Intellectual Property Llc Remote monitoring a layer 2 virtual private network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022390A (en) * 2007-03-21 2007-08-22 华为技术有限公司 Method, system and equipment for protecting double-return switch-in RRPP loop network
CN101719834A (en) * 2009-06-02 2010-06-02 中兴通讯股份有限公司 Method and system for realizing virtual private multicast service protection
CN102035665A (en) * 2009-09-25 2011-04-27 中兴通讯股份有限公司 Protection method and device for point-to-multipoint pseudowires (P2MP PW)
CN102549990A (en) * 2011-07-26 2012-07-04 华为技术有限公司 Method and device for generating forwarding table term of virtual private network
CN104956628A (en) * 2013-01-29 2015-09-30 思科技术公司 Using Ethernet ring protection switching with computer networks
CN103595626A (en) * 2013-10-15 2014-02-19 苏州拓康自动化技术有限公司 Method for achieving dynamic path planning in ring network
CN103546321A (en) * 2013-10-24 2014-01-29 杭州华三通信技术有限公司 RPR energy-saving management method and device

Also Published As

Publication number Publication date
CN107592252B (en) 2021-06-29
WO2018006711A1 (en) 2018-01-11

Similar Documents

Publication Publication Date Title
CN101964746B (en) Routing frames in shortest path computer network for multi-homed legacy bridge node
EP1482694B1 (en) Virtual private network fault tolerance
KR101706008B1 (en) A method and system for supporting distributed relay control protocol operations upon communication failure
US8102760B2 (en) Method for reconvergence after failure in a dual-homing network environment
CN104956628B (en) Computer network is exchanged using Ethernet ring protection switching
CN101924654B (en) Point-to-multipoint service-based path switching method and system
EP2689561B1 (en) Directing traffic in an edge network element operable to perform layer 2 data forwarding and supporting any of various spanning tree protocols
KR20140116476A (en) Expanding network functionalities for openflow based split-architecture networks
CN102104520B (en) Ring network protection method and device based on topology information
CN104539443A (en) Communicating network path and status information in multi-homed networks
CN104767680B (en) It route the method and apparatus being switched fast
CN104639470A (en) Flow label encapsulating method and system
CN105471599B (en) Protection switching method and network equipment
CN101908983B (en) Joint detection method and system for Ethernet local segment protection
US9716639B2 (en) Protection switching method and system
EP2858302B1 (en) Connectivity check method of service stream link, related apparatus and system
CN103248536B (en) A kind of virtual link PW detection methods and equipment
CN111885630B (en) Data transmission method and communication device
CN106161232A (en) A kind of method and apparatus of protecting tunnel switching
CN102014006B (en) Ethernet ring protection switching method for hybrid network
CN103036731B (en) A kind of equipment of the loopback detection based on stream, system and method
CN107592252A (en) Method for processing business and device
CN109450764B (en) Ring network protection method and device and ring network
CN106992929A (en) A kind of pseudo-line service retransmission method and device
CN101997728A (en) Device and method for detecting Ethernet local protection

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
GR01 Patent grant
GR01 Patent grant