CN101252525A - Method and apparatus for backing up link in PON network - Google Patents

Method and apparatus for backing up link in PON network Download PDF

Info

Publication number
CN101252525A
CN101252525A CNA2008100895139A CN200810089513A CN101252525A CN 101252525 A CN101252525 A CN 101252525A CN A2008100895139 A CNA2008100895139 A CN A2008100895139A CN 200810089513 A CN200810089513 A CN 200810089513A CN 101252525 A CN101252525 A CN 101252525A
Authority
CN
China
Prior art keywords
subcard
port
epon
message
heartbeat
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
CNA2008100895139A
Other languages
Chinese (zh)
Other versions
CN101252525B (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2008100895139A priority Critical patent/CN101252525B/en
Publication of CN101252525A publication Critical patent/CN101252525A/en
Application granted granted Critical
Publication of CN101252525B publication Critical patent/CN101252525B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a link backup method and a device used for the PON network. The method is applied to a switching device which includes at least a first EPON sub card and a second sub card; the switching device is connected with the first EPON sub card through a first port and is connected with the second EPON sub card through a second port. Based on the application of the link backup method and the device for the PON network, the EPON sub cards which are connected with the ports of the switching device interact with each other through the method of message packaging and determine the states of the ports; corresponding to constructing a message channel between the two EPON sub cards so that the link backup and the switching are achieved. The method avoids the large change towards the switch and the support from the uplink OLT, and realizes the link backup and the smooth service switching.

Description

Link backup method and equipment in a kind of PON network
Technical field
The present invention relates to communication technical field, relate in particular to link backup method and equipment in a kind of PON network.
Background technology
Along with the development of Internet technology especially multimedia service, caused people that the demand of bandwidth is day by day increased.Traditional copper cable access technology seems unable to do what one wishes in the face of this situation the time, be difficult to adapt to the demand that bandwidth inserts.Based on the access technology of optical fiber have that high bandwidth, long-distance transmissions ability are strong, advantage such as good confidentiality, antijamming capability are strong, can adapt to the demand of present and following business development to bandwidth, be the main implementation technique of Access Network.In various optical fiber access technologies, PON (Passive Opticalnetwork, EPON) is because advantages such as its easy care, high bandwidth, low cost become the outstanding person in the light access technology.Along with the increase of broadband access network service, the needs of some Very Important Person networkings especially seem extremely important to the protection of PON system.Therefore, be necessary to propose backup method, realize the PON protect networks by a kind of PON network link.
Summary of the invention
The invention provides link backup method and equipment in a kind of PON network, be used for realizing the link backup of PON network.
For achieving the above object, the invention provides the link backup method in a kind of PON network, be applied to comprise at least in the switching equipment of an EPON subcard and the 2nd EPON subcard, described switching equipment is connected with a described EPON subcard by first port, be connected with described the 2nd EPON subcard by second port, comprise:
Described switching equipment sends message by described first port to a described EPON subcard, sends message by described second port to described the 2nd EPON subcard;
A described EPON subcard is encapsulated in the message that receives in the heartbeat plate literary composition and to described the 2nd EPON subcard and sends; Described the 2nd EPON subcard is encapsulated in the message that receives in the heartbeat plate literary composition and to a described EPON subcard and sends;
Content in the described EPON subcard decapsulation heartbeat message also sends to described first port, and the content in described the 2nd EPON subcard decapsulation heartbeat message also sends to described second port;
Described first port and described second port are determined the residing state of self port according to the message that receives.
Wherein, described switching equipment sends in the message to a described EPON subcard by described first port, comprises the port id of described first port; Send in the message to the 2nd EPON subcard by described second port, comprise the port id of described second port.
Wherein,
A described EPON subcard is encapsulated in the message that receives in the heartbeat plate literary composition and the step that sends to described the 2nd EPON subcard is specially: a described EPON subcard is encapsulated in the message that receives in the heartbeat plate literary composition, and by the CPU of described switching equipment described heartbeat message is transmitted to described the 2nd EPON subcard;
Described the 2nd EPON subcard is encapsulated in the message that receives in the heartbeat plate literary composition and the step that sends to a described EPON subcard is specially: described the 2nd EPON subcard is encapsulated in the message that receives in the heartbeat plate literary composition, and by the CPU of described switching equipment described heartbeat message is transmitted to a described EPON subcard.
Wherein, described first port and described second port determine that according to the message that receives the step of the residing state of self port is specially:
The message that the decapsulation heartbeat message that a message and the described EPON subcard to described EPON subcard transmission that described first port relatively receives from described switching equipment sends obtains, according to the port id and the priority preset of described different messages, determine the state that described first port should be located for described message;
The message that the decapsulation heartbeat message that message and described the 2nd EPON subcard to described the 2nd EPON subcard transmission that described second port relatively receives from described switching equipment sends obtains, according to the port id and the priority preset of described different messages, determine the state that described second port should be located for described message.
Wherein, described first port and described second port also comprise step after determining the residing state of self port according to the message that receives:
When described first port determines should to be in blocked state for described message, stop to send message, become the backup port of described second port, and a described EPON subcard stops to send heartbeat message to described the 2nd EPON subcard to a described EPON subcard; When described first port determines should to be in forwarding state for described message, continue to send message to a described EPON subcard;
When described second port determines should to be in blocked state for described message, stop to send message, become the backup port of described second port, and described the 2nd EPON subcard stops to send heartbeat message to a described EPON subcard to described the 2nd EPON subcard; When described second port determines should to be in forwarding state for described message, continue to send message to described the 2nd EPON subcard.
Wherein, first port that is in blocked state not when a described EPON subcard receives content the decapsulation heartbeat message, switches to forwarding state in special time; Second port that is in blocked state not when described the 2nd EPON subcard receives content the decapsulation heartbeat message, switches to forwarding state in special time.
The present invention also provides a kind of switching equipment, comprises an EPON subcard and the 2nd EPON subcard at least, and is connected with a described EPON subcard by first port, be connected with described the 2nd EPON subcard by second port,
Described first port is used for sending message to a described EPON subcard, and determines the residing state of self port according to the message that receives from a described EPON subcard;
Described second port is used for sending message to described the 2nd EPON subcard; And determine the residing state of self port according to the message that receives from described the 2nd EPON subcard;
A described EPON subcard, the message that is used for receiving from described first port are encapsulated in heartbeat plate literary composition and send to described the 2nd EPON subcard, and will carry out from the heartbeat message that described the 2nd EPON subcard sends sending to described first port after the decapsulation;
Described the 2nd EPON subcard, the message that is used for receiving from described second port are encapsulated in heartbeat plate literary composition and send to a described EPON subcard, and will carry out from the heartbeat message that a described EPON subcard sends sending to described second port after the decapsulation.
Wherein:
CPU is used for the heartbeat message that a described EPON subcard sends is transmitted to described the 2nd EPON subcard; And the heartbeat message that described the 2nd EPON subcard is sent is transmitted to a described EPON subcard.
Wherein,
Described first port further comprises:
First comparing unit is used for relatively the message that decapsulation heartbeat message that the message that sends to a described EPON subcard that receives from described switching equipment and a described EPON subcard send obtains, and obtains the port id of described different messages;
First priority is provided with the unit, is used to preestablish priority;
First determining unit is used for the comparative result of determining described first comparing unit according to described, and described first priority is provided with the unit priority preset, determines the state that described first port should be located for described message;
Described second port further comprises:
Second comparing unit is used for relatively the message that decapsulation heartbeat message that the message that sends to described the 2nd EPON subcard that receives from described switching equipment and described the 2nd EPON subcard send obtains, and obtains the port id of described different messages;
Second priority is provided with the unit, is used to preestablish priority;
Second determining unit is used for the comparative result of determining described second comparing unit according to described, and described second priority is provided with the unit priority preset, determines the state that described second port should be located for described message.
Wherein,
Described first port also comprises:
First processing unit is used for stopping to send message to a described EPON subcard when described first determining unit determines should to be in blocked state for described message, becomes the backup port of described second port; When described first determining unit determines should to be in forwarding state for described message, continue to send message to a described EPON subcard;
Described second port also comprises:
Second processing unit is used for stopping to send message to described the 2nd EPON subcard when described second determining unit determines should to be in blocked state for described message, becomes the backup port of described second port; When described second determining unit determines should to be in forwarding state for described message, continue to send message to described the 2nd EPON subcard.
Wherein,
Described first port also comprises:
First switch unit, be used for when first port that is in blocked state in special time not when a described EPON subcard receives the content of decapsulation heartbeat message, described first port is switched to forwarding state;
Described second port also comprises:
Second switch unit, be used for when second port that is in blocked state in special time not when described the 2nd EPON subcard receives the content of decapsulation heartbeat message, described second port is switched to forwarding state.
Compared with prior art, the present invention has the following advantages:
The application of the invention is carried out the mutual state of also determining port by the method for encapsulated message between two EPON subcards that are connected with the port of switching equipment, is equivalent to set up between two EPON subcards a message passage.This method need not switch is done big change, also need not the support of upstream OLT.Can realize that link backup and traffic smoothing switch.
Description of drawings
Fig. 1 is the link backup method flow chart in a kind of PON network among the present invention;
Fig. 2 is the schematic diagram of switch and EPON subcard among the present invention;
Fig. 3 is the link backup method flow chart in the PON network in the application scenarios of the present invention;
Fig. 4 is the structural representation that is used for the equipment of link backup among the present invention in the PON network.
Embodiment
Core concept of the present invention is: the link backup method in a kind of PON network is provided, promptly utilize STP (the Spanning Tree Protocol of switch, Spanning-Tree Protocol) function, carry out the state of mutual and definite port between two EPON subcards that are connected with the port of switching equipment by the method for encapsulated message, be equivalent between two uplink ports, build a virtual link, finish STP and calculate, realize backup of uplink.
Concrete, link backup method in a kind of PON network is provided among the present invention, be applied to comprise at least in the switching equipment of an EPON subcard and the 2nd EPON subcard, this switching equipment is connected with an EPON subcard by first port, be connected with the 2nd EPON subcard by second port, link backup method in this PON network may further comprise the steps as shown in Figure 1:
Step s101, switching equipment send message by first port to an EPON subcard, send message by second port to the 2nd EPON subcard.
Step s102, an EPON subcard are encapsulated in the message that receives in the heartbeat plate literary composition and to the 2nd EPON subcard and send; The 2nd EPON subcard is encapsulated in the message that receives in the heartbeat plate literary composition and to an EPON subcard and sends.
Content in step s103, the EPON subcard decapsulation heartbeat message also sends to first port, and the content in the 2nd EPON subcard decapsulation heartbeat message also sends to second port.
Step s104, first port and second port are determined the residing state of self port according to the message that receives.
Be respectively 31 switches with switching equipment and EPON subcard in the following application scenarios and the EPON subcard is an example, the specific embodiment of the present invention is described.
In 31 switches, use GE (Gigabyte Ethernet, gigabit interface) mouthful to dock with the GE mouth of EPON subcard.The butt joint GE mouth of 31 switches is built a virtual link by the way of encapsulation BPDU message between the up going port of two EPON subcards, finish STP and calculate, and realizes backup of uplink.In the present embodiment, as shown in Figure 2, suppose to be separately installed with EPON subcard A and EPON subcard B on the Shuangzi card slot of 31 switches, wherein the port G1/1/1 of subcard A and 31 switches is connected, and subcard B is connected with the port G1/2/1 of 31 switches.Concrete, the link backup method under this scene among the present invention may further comprise the steps as shown in Figure 3:
Step s301, switch is configured.
Concrete, need carry out following configuration to switch: configuration switch is supported the STP function with the GE mouth that docks of EPON subcard.In addition, 31 switches need detect the information on the throne of EPON subcard, guarantee that at least two subcards are on the throne, beginning message encapsulation process.
Step s302,31 switches outwards send BPDU (Bridge Protocol DataUnit, bridge protocol data unit) message by each port, and subcard A and subcard B receive the BPDU message.
Concrete, after configuration is finished, 31 switches outwards send the BPDU message by each port (comprising port G/1/1/1 and port G/1/2/1 among this embodiment), and then subcard A that is connected with port G/1/1/1 and the subcard B that is connected with port G/1/2/1 receive the BPDU message.
Send heartbeat message between step s303, subcard A and the subcard B mutually.
Concrete, receive the BPDU message of 31 switches transmission as subcard A and subcard B after, can trigger the transmission of heartbeat message between the subcard.With subcard A is example, is keeping under the STP default configuration situation example 0 only being arranged on the switch, and all VLAN (Virtual Local Area Network, VLAN) generate same generation tree all to being mapped to this example 0.So the BPUD content of message that subcard A receives comprises: root bridge ID, root bridge circuit footpath expense, transmission bridge ID (being this bridge ID) and transmit port ID, this transmit port ID is the G1/1/1 port.
After subcard A receives this BPDU message from the G1/1/1 port, need send a heartbeat message to subcard B.Consider that this heartbeat message needs the port of transparent transmission 31 switches, subcard A need at first send heartbeat message to the CPU of 31 switches, and the CPU by 31 switches transmits to subcard B again.The destination address of heartbeat message adopts special multicast MAC Address.Simultaneously, the heartbeat plate literary composition of this subcard A transmission is specially the content that obtains after subcard A encapsulates the BPDU message that receives.
In like manner, subcard B also also transmits to subcard A by the CPU of 31 switches obtaining heartbeat message after this BPDU encapsulation after receiving the BPDU message that the G1/2/1 port sends.The BPDU content of message that subcard B receives is compared with the BPDU content of message that subcard A receives, and first three items is identical, i.e. root bridge ID, and root bridge circuit footpath expense is identical with transmission bridge ID; Unique different be transmit port ID, concrete, for the BPDU message that subcard A receives, transmit port ID is G1/1/1; For the BPDU message that subcard B receives, transmit port ID is G1/2/1.
Step s304, subcard B stop outwards to send the BPDU message after receiving the heartbeat message of subcard A transmission.
Concrete, after subcard B receives the heartbeat message of subcard A transmission from 31 switch CPUs, subcard B carries out decapsulation with the heartbeat message that receives, the BPDU message that takes out is wherein transmitted to the G1/2/1 of switch port, and the message that this decapsulation obtains is the BPDU message that subcard A receives from port G1/1/1.
The port G1/2/1 of switch carries out STP and calculates after receiving the BPDU message that decapsulation that this subcard B sends obtains.Suppose that priority preset is that the more little priority of transmit port ID is high more, then port G1/2/1 compares the transmit port ID of BPDU message, the BPDU message that the decapsulation that sends for subcard B obtains, and its transmit port ID is G1/1/1; For the BPDU message that 31 switches send, its transmit port ID is G1/2/1.Therefore comparative result is less for the transmit port ID from the BPDU message that port G1/1/1 sends, so priority is higher.Then G1/2/1 becomes standby (backup) port automatically, stops outwards to send the BPDU message.
Similar with the situation of above-mentioned subcard B, subcard A also can receive the heartbeat message that subcard B sends from 31 switch CPUs, carries out above-mentioned decapsulation step equally and sends to port G/1/1/1.After port G/1/1/1 carries out priority ratio step, find that the transmit port ID from the BPDU message that self sends is less, so priority is higher, therefore continues outwards to send the BPDU message.
By above-mentioned steps, port G1/2/1 will no longer outwards send the BPDU message after receiving the BPDU message that subcard B obtains by decapsulation in the heartbeat message.Because heartbeat message is triggered by the BPDU message, so subcard B when not receiving the BPDU message, can not send heartbeat message again.Then under the normal condition, subcard B only receives the heartbeat message that subcard A sends, and system is in the stable state of STP.
By above-mentioned steps, just as built a STP tunnel between two GE mouths, this passage is by the CPU connectivity port G1/1/1 and the port G1/2/1 of switch for its effect.Its middle port G1/1/1 is in forwarding (forwarding) state, and port G1/2/1 is in obstruction (blocking) state.
When the transmission link down of subcard A and switch ports themselves or subcard A fault, will cause subcard A no longer to carry out the transmission of heartbeat message, promptly subcard A stops the encapsulation of BPDU message.Under this situation, when port G1/2/1 can't receive subcard B by heartbeat message in time of the BPDU message that obtains of decapsulation when arriving default STP ageing time, state transition can take place in standby port G1/2/1 port, by blocking (blocking) state transition to (forwarding) state of forwarding.In addition, also can realize the migration of port status by the method for manual intervention, be that subcard A goes up when sending link down or subcard A fault, improve the port priority of port G1/2/1, make standby port G1/2/1 port that state transition can take place, by blocking (blocking) state transition to (forwarding) state of forwarding.Afterwards, port G1/2/1 sends the BPDU message to subcard B, and B outwards sends by subcard.
In addition, all describe with VLAN all on the switch in the foregoing description to being mapped to unique example 0.When using method provided by the invention, the method that can also adopt two ascending loads to share.Concrete, at first different VLAN is mapped to different examples.Change the priority of up going port on some example afterwards, as high more for the more little priority of some example transmit port ID, and low more for the more little priority of other example transmit port ID.Can realize that then some VLAN is in forwarding state on G1/1/1, other VLAN are in forwarding state on G1/2/1.Similar for the method that this pair ascending load is shared to above-mentioned flow process shown in Figure 3, be not repeated in this description at this.
The present invention also provides a kind of switching equipment, as shown in Figure 4, comprises an EPON subcard 30 and the 2nd EPON subcard 40 at least, and is connected with an EPON subcard 30 by first port one 0, is connected with the 2nd EPON subcard 40 by second port 20, and is concrete:
First port one 0 is used for sending message to an EPON subcard 30, and determines the residing state of self port according to the message that receives from an EPON subcard 30;
Second port 20 is used for sending message to the 2nd EPON subcard 40; And determine the residing state of self port according to the message that receives from the 2nd EPON subcard 40;
The one EPON subcard 30, the message that is used for receiving from first port one 0 are encapsulated in heartbeat plate literary composition and send to the 2nd EPON subcard 40, and will carry out from the heartbeat message that the 2nd EPON subcard 40 sends sending to first port one 0 after the decapsulation;
The 2nd EPON subcard 40, the message that is used for receiving from second port 20 are encapsulated in heartbeat plate literary composition and send to an EPON subcard 30, and will carry out from the heartbeat message that an EPON subcard 30 sends sending to second port 20 after the decapsulation.
Also comprise:
CPU 50, are used for the heartbeat message that an EPON subcard 30 sends is transmitted to the 2nd EPON subcard 40; And the heartbeat message that the 2nd EPON subcard 40 is sent is transmitted to an EPON subcard 30.
First port one 0 further comprises:
First comparing unit 11 is used for relatively the message that decapsulation heartbeat message that the message that sends to an EPON subcard 30 that receives from switching equipment and an EPON subcard 30 send obtains, and obtains the port id of different messages.
First priority is provided with unit 12, is used to preestablish priority.
First determining unit 13 is used for according to the comparative result of determining first comparing unit 11, and first priority is provided with unit 12 priority preset, determines the state that first port one 0 should be located for message.
First processing unit 14 is used for stopping to send messages to an EPON subcard 30 when first determining unit 13 determines should to be in blocked state for message, becomes the backup port of second port 20; When first determining unit 13 determines should to be in forwarding state for message, continue to send messages to an EPON subcard 30.
First switch unit 15, be used for when first port one 0 that is in blocked state in special time not when an EPON subcard 30 receives the content of decapsulation heartbeat message, first port one 0 is switched to forwarding state.
Second port 20 further comprises:
Second comparing unit 21 is used for relatively the message that decapsulation heartbeat message that the message that sends to the 2nd EPON subcard 40 that receives from switching equipment and the 2nd EPON subcard 40 send obtains, and obtains the port id of different messages.
Second priority is provided with unit 22, is used to preestablish priority.
Second determining unit 23 is used for according to the comparative result of determining second comparing unit 21, and second priority is provided with unit 22 priority preset, determines the state that second port 20 should be located for message.
Second processing unit 24 is used for stopping to send messages to the 2nd EPON subcard 40 when second determining unit determines should to be in blocked state for message, becomes the backup port of second port 20; When second determining unit determines should to be in forwarding state for message, continue to send messages to the 2nd EPON subcard 40.
Second switch unit 25, be used for when second port 20 that is in blocked state in special time not when the 2nd EPON subcard 40 receives the content of decapsulation heartbeat message, second port 20 is switched to forwarding state.
In said method provided by the invention and the equipment, carry out the state of mutual and definite port between two EPON subcards that are connected with the port of switching equipment by the method for encapsulated message, this method is equivalent to set up a message passage between two EPON subcards, finishes link backup and switching.In addition, need not switch is done big change, also need not the support of upstream OLT.Can realize unusual/manual switch and traffic smoothing switches, can also realize that ascending load shares.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprises that some instructions are used so that an equipment is carried out the described method of each embodiment of the present invention.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (11)

1, the link backup method in a kind of PON network, be applied to comprise at least in the switching equipment of an EPON subcard and the 2nd EPON subcard, described switching equipment is connected with a described EPON subcard by first port, be connected with described the 2nd EPON subcard by second port, it is characterized in that, may further comprise the steps:
Described switching equipment sends message by described first port to a described EPON subcard, sends message by described second port to described the 2nd EPON subcard;
A described EPON subcard is encapsulated in the message that receives in the heartbeat plate literary composition and to described the 2nd EPON subcard and sends; Described the 2nd EPON subcard is encapsulated in the message that receives in the heartbeat plate literary composition and to a described EPON subcard and sends;
Content in the described EPON subcard decapsulation heartbeat message also sends to described first port, and the content in described the 2nd EPON subcard decapsulation heartbeat message also sends to described second port;
Described first port and described second port are determined the residing state of self port according to the message that receives.
2, the link backup method in the PON network according to claim 1 is characterized in that described switching equipment sends in the message to a described EPON subcard by described first port, comprises the port id of described first port; Send in the message to the 2nd EPON subcard by described second port, comprise the port id of described second port.
3, the link backup method in the PON network according to claim 1 is characterized in that,
A described EPON subcard is encapsulated in the message that receives in the heartbeat plate literary composition and the step that sends to described the 2nd EPON subcard is specially: a described EPON subcard is encapsulated in the message that receives in the heartbeat plate literary composition, and by the CPU of described switching equipment described heartbeat message is transmitted to described the 2nd EPON subcard;
Described the 2nd EPON subcard is encapsulated in the message that receives in the heartbeat plate literary composition and the step that sends to a described EPON subcard is specially: described the 2nd EPON subcard is encapsulated in the message that receives in the heartbeat plate literary composition, and by the CPU of described switching equipment described heartbeat message is transmitted to a described EPON subcard.
4, the link backup method in the PON network as claimed in claim 1 or 2 is characterized in that described first port and described second port determine that according to the message that receives the step of the residing state of self port is specially:
The message that the decapsulation heartbeat message that a message and the described EPON subcard to described EPON subcard transmission that described first port relatively receives from described switching equipment sends obtains, according to the port id and the priority preset of described different messages, determine the state that described first port should be located for described message;
The message that the decapsulation heartbeat message that message and described the 2nd EPON subcard to described the 2nd EPON subcard transmission that described second port relatively receives from described switching equipment sends obtains, according to the port id and the priority preset of described different messages, determine the state that described second port should be located for described message.
5, the link backup method in the PON network according to claim 1 is characterized in that described first port and described second port also comprise step after determining the residing state of self port according to the message that receives:
When described first port determines should to be in blocked state for described message, stop to send message, become the backup port of described second port, and a described EPON subcard stops to send heartbeat message to described the 2nd EPON subcard to a described EPON subcard; When described first port determines should to be in forwarding state for described message, continue to send message to a described EPON subcard;
When described second port determines should to be in blocked state for described message, stop to send message, become the backup port of described second port, and described the 2nd EPON subcard stops to send heartbeat message to a described EPON subcard to described the 2nd EPON subcard; When described second port determines should to be in forwarding state for described message, continue to send message to described the 2nd EPON subcard.
As the link backup method in the PON network as described in the claim 5, it is characterized in that 6, first port that is in blocked state not when a described EPON subcard receives content the decapsulation heartbeat message, switches to forwarding state in special time; Second port that is in blocked state not when described the 2nd EPON subcard receives content the decapsulation heartbeat message, switches to forwarding state in special time.
7, a kind of switching equipment is characterized in that, comprises an EPON subcard and the 2nd EPON subcard at least, and is connected with a described EPON subcard by first port, be connected with described the 2nd EPON subcard by second port,
Described first port is used for sending message to a described EPON subcard, and determines the residing state of self port according to the message that receives from a described EPON subcard;
Described second port is used for sending message to described the 2nd EPON subcard; And determine the residing state of self port according to the message that receives from described the 2nd EPON subcard;
A described EPON subcard, the message that is used for receiving from described first port are encapsulated in heartbeat plate literary composition and send to described the 2nd EPON subcard, and will carry out from the heartbeat message that described the 2nd EPON subcard sends sending to described first port after the decapsulation;
Described the 2nd EPON subcard, the message that is used for receiving from described second port are encapsulated in heartbeat plate literary composition and send to a described EPON subcard, and will carry out from the heartbeat message that a described EPON subcard sends sending to described second port after the decapsulation.
8, as switching equipment as described in the claim 7, it is characterized in that, also comprise:
CPU is used for the heartbeat message that a described EPON subcard sends is transmitted to described the 2nd EPON subcard; And the heartbeat message that described the 2nd EPON subcard is sent is transmitted to a described EPON subcard.
9, as switching equipment as described in the claim 7, it is characterized in that,
Described first port further comprises:
First comparing unit is used for relatively the message that decapsulation heartbeat message that the message that sends to a described EPON subcard that receives from described switching equipment and a described EPON subcard send obtains, and obtains the port id of described different messages;
First priority is provided with the unit, is used to preestablish priority;
First determining unit is used for the comparative result of determining described first comparing unit according to described, and described first priority is provided with the unit priority preset, determines the state that described first port should be located for described message;
Described second port further comprises:
Second comparing unit is used for relatively the message that decapsulation heartbeat message that the message that sends to described the 2nd EPON subcard that receives from described switching equipment and described the 2nd EPON subcard send obtains, and obtains the port id of described different messages;
Second priority is provided with the unit, is used to preestablish priority;
Second determining unit is used for the comparative result of determining described second comparing unit according to described, and described second priority is provided with the unit priority preset, determines the state that described second port should be located for described message.
10, as switching equipment as described in as described in the claim 9, it is characterized in that,
Described first port also comprises:
First processing unit is used for stopping to send message to a described EPON subcard when described first determining unit determines should to be in blocked state for described message, becomes the backup port of described second port; When described first determining unit determines should to be in forwarding state for described message, continue to send message to a described EPON subcard;
Described second port also comprises:
Second processing unit is used for stopping to send message to described the 2nd EPON subcard when described second determining unit determines should to be in blocked state for described message, becomes the backup port of described second port; When described second determining unit determines should to be in forwarding state for described message, continue to send message to described the 2nd EPON subcard.
11, as switching equipment as described in as described in the claim 10, it is characterized in that,
Described first port also comprises:
First switch unit, be used for when first port that is in blocked state in special time not when a described EPON subcard receives the content of decapsulation heartbeat message, described first port is switched to forwarding state;
Described second port also comprises:
Second switch unit, be used for when second port that is in blocked state in special time not when described the 2nd EPON subcard receives the content of decapsulation heartbeat message, described second port is switched to forwarding state.
CN2008100895139A 2008-04-03 2008-04-03 Method and apparatus for backing up link in PON network Expired - Fee Related CN101252525B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100895139A CN101252525B (en) 2008-04-03 2008-04-03 Method and apparatus for backing up link in PON network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100895139A CN101252525B (en) 2008-04-03 2008-04-03 Method and apparatus for backing up link in PON network

Publications (2)

Publication Number Publication Date
CN101252525A true CN101252525A (en) 2008-08-27
CN101252525B CN101252525B (en) 2010-09-01

Family

ID=39955718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100895139A Expired - Fee Related CN101252525B (en) 2008-04-03 2008-04-03 Method and apparatus for backing up link in PON network

Country Status (1)

Country Link
CN (1) CN101252525B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137009A (en) * 2011-01-31 2011-07-27 华为技术有限公司 Method, system and equipment for processing Dual-layer service in network
CN103259589A (en) * 2013-05-27 2013-08-21 重庆邮电大学 Virtual backup capacity destroy-resistance protection method of energy-saving optical network
CN112822128A (en) * 2020-12-30 2021-05-18 瑞斯康达科技发展股份有限公司 PON system message mirroring method and PON system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100569825B1 (en) * 2003-08-07 2006-04-11 최준국 Media converter and wdm pon system of ring type included the converter
KR100575945B1 (en) * 2003-08-26 2006-05-02 삼성전자주식회사 Gigabit ethernet passive optical network having double link structure and double link setting method using that

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137009A (en) * 2011-01-31 2011-07-27 华为技术有限公司 Method, system and equipment for processing Dual-layer service in network
CN102137009B (en) * 2011-01-31 2015-01-07 华为技术有限公司 Method, system and equipment for processing Dual-layer service in network
CN103259589A (en) * 2013-05-27 2013-08-21 重庆邮电大学 Virtual backup capacity destroy-resistance protection method of energy-saving optical network
CN103259589B (en) * 2013-05-27 2015-12-09 重庆邮电大学 Virtual backup capacity in a kind of energy-saving light network is anti-ruins guard method
CN112822128A (en) * 2020-12-30 2021-05-18 瑞斯康达科技发展股份有限公司 PON system message mirroring method and PON system
CN112822128B (en) * 2020-12-30 2023-04-07 瑞斯康达科技发展股份有限公司 PON system message mirroring method and PON system

Also Published As

Publication number Publication date
CN101252525B (en) 2010-09-01

Similar Documents

Publication Publication Date Title
CN102571426B (en) Double-homing protection method and device
EP2963874B1 (en) Data scheduling and switching method, apparatus, and system
CN1921357A (en) Full optical fibre protecting device and method
CN101645880A (en) Method and device for forwarding data frame based on line bundle
CN104025511A (en) Service protection method, optical line terminal and system in passive optical network
CN102273138A (en) Inter-network carrier Ethernet service protection
US8774628B2 (en) Remote node and network architecture and data transmission method for a fiber-optic network, especially for low bit-rate data transmission
JP2008160227A (en) Network apparatus and communication system
CN103746927B (en) Priority-based fluid control PFC (Power Factor Correction) method, transmitting device and receiving device
CN104518936B (en) Link dynamic aggregation method and apparatus
CN1925371A (en) Trunk optical fibre protection inverting device and method for EPON system
CN101345686B (en) Processing method, apparatus and system of virtual special local area network service loop
CN203883860U (en) Network communication architecture of campus network
CN102239670B (en) A kind of load sharing method and device
CN102223312A (en) Flow control method and equipment based on link status
CN101252525B (en) Method and apparatus for backing up link in PON network
CN102209001A (en) Ethernet linear protection method and device
CN101951303A (en) Method and node equipment for implementing bidirectional linear protection switch of multiplex section
EP2547041B1 (en) Multicast implementation method, access layer equipment and system under ring network architecture
CN104113434A (en) Data center network redundancy control device by adopting multi-chassis cluster system
CN102857423A (en) Service flow transferring method and node in distributed link polymerization system
CN105049316A (en) Communication method and communication device
Zheng et al. Low latency passive optical node for optical access network
JP5305968B2 (en) Redundant system
CN105009512A (en) Method, device, and system for configuring maintenance association (MA)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100901

Termination date: 20200403